- Timestamp:
- 2012-02-28T14:11:14+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2/common-src/indexers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers
-
Property svn:mergeinfo
set to
/main/branches/64_bit_Greenstone/greenstone2/common-src/indexers merged eligible
-
Property svn:mergeinfo
set to
-
main/trunk/greenstone2/common-src/indexers/mgpp/configure
r25147 r25148 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.65. 4 # 3 # Generated by GNU Autoconf 2.63. 5 4 # 6 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 11 7 # This configure script is free software; the Free Software Foundation 12 8 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ##14 ## M4sh Initialization. ##15 ## -------------------- ##9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 16 12 17 13 # Be more Bourne compatible 18 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 16 emulate sh 21 17 NULLCMD=: … … 25 21 setopt NO_GLOB_SUBST 26 22 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 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 35 39 36 40 as_nl=' … … 41 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 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, 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 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 48 as_echo='printf %s\n' 51 49 as_echo_n='printf %s' … … 58 56 as_echo_n_body='eval 59 57 arg=$1; 60 case $arg in #(58 case $arg in 61 59 *"$as_nl"*) 62 60 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 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 89 # IFS … … 90 95 91 96 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #((97 case $0 in 93 98 *[\\/]* ) as_myself=$0 ;; 94 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 97 102 IFS=$as_save_IFS 98 103 test -z "$as_dir" && as_dir=. 99 100 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105 done 101 106 IFS=$as_save_IFS 102 107 … … 110 115 if test ! -f "$as_myself"; then 111 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 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 || : 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 122 123 done 123 124 PS1='$ ' … … 131 132 export LANGUAGE 132 133 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 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 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 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 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 186 do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 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;; 203 esac 204 as_found=false 205 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 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 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 [email protected] 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 239 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 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 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 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 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 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 134 # Required to use basename. 375 135 if expr a : '\(a\)' >/dev/null 2>&1 && 376 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 386 146 fi 387 147 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 148 149 # Name of the executable. 394 150 as_me=`$as_basename -- "$0" || 395 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 411 167 s/.*/./; q'` 412 168 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 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 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 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 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. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 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 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 242 do 243 IFS=$as_save_IFS 244 test -z "$as_dir" && as_dir=. 245 case $as_dir in 246 /*) 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 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 270 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 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 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 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 347 as_lineno_1=$LINENO 348 as_lineno_2=$LINENO 349 test "x$as_lineno_1" != "x$as_lineno_2" && 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 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 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 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 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 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 458 sed -n ' 427 459 p … … 440 472 ' >$as_me.lineno && 441 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 477 # Don't try to exec as it changes $[0], causing all sort of problems … … 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 492 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #(((((493 case `echo -n x` in 454 494 -n*) 455 case `echo 'x y\c'` in495 case `echo 'x\c'` in 456 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 497 *) ECHO_C='\c';; 460 498 esac;; 461 499 *) 462 500 ECHO_N='-n';; 463 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 509 rm -f conf$$ conf$$.exe conf$$.file … … 491 535 492 536 if mkdir -p . 2>/dev/null; then 493 as_mkdir_p= 'mkdir -p "$as_dir"'537 as_mkdir_p=: 494 538 else 495 539 test -d ./-p && rmdir ./-p … … 510 554 test -d "$1/."; 511 555 else 512 case $1 in #(556 case $1 in 513 557 -*)set "./$1";; 514 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 560 ???[sx]*):;;*)false;;esac;fi 517 561 '\'' sh … … 527 571 528 572 529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1573 574 exec 7<&0 </dev/null 6>&1 531 575 532 576 # Name of the host. … … 546 590 MFLAGS= 547 591 MAKEFLAGS= 592 SHELL=${CONFIG_SHELL-/bin/sh} 548 593 549 594 # Identity of this package. … … 553 598 PACKAGE_STRING= 554 599 PACKAGE_BUGREPORT= 555 PACKAGE_URL=556 600 557 601 ac_unique_file="text/MGQuery.cpp" … … 673 717 prefix 674 718 exec_prefix 675 PACKAGE_URL676 719 PACKAGE_BUGREPORT 677 720 PACKAGE_STRING … … 814 857 # Reject names that are not valid shell variable names. 815 858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 816 as_fn_error "invalid feature name: $ac_useropt" 859 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 860 { (exit 1); exit 1; }; } 817 861 ac_useropt_orig=$ac_useropt 818 862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 840 884 # Reject names that are not valid shell variable names. 841 885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 842 as_fn_error "invalid feature name: $ac_useropt" 886 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 887 { (exit 1); exit 1; }; } 843 888 ac_useropt_orig=$ac_useropt 844 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1044 1089 # Reject names that are not valid shell variable names. 1045 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1046 as_fn_error "invalid package name: $ac_useropt" 1091 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1092 { (exit 1); exit 1; }; } 1047 1093 ac_useropt_orig=$ac_useropt 1048 1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1060 1106 # Reject names that are not valid shell variable names. 1061 1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1062 as_fn_error "invalid package name: $ac_useropt" 1108 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1109 { (exit 1); exit 1; }; } 1063 1110 ac_useropt_orig=$ac_useropt 1064 1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1090 1137 x_libraries=$ac_optarg ;; 1091 1138 1092 -*) as_fn_error "unrecognized option: \`$ac_option' 1093 Try \`$0 --help' for more information." 1139 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1140 Try \`$0 --help' for more information." >&2 1141 { (exit 1); exit 1; }; } 1094 1142 ;; 1095 1143 … … 1097 1145 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1098 1146 # Reject names that are not valid shell variable names. 1099 case $ac_envvar in #( 1100 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1101 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1102 esac 1147 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1148 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1149 { (exit 1); exit 1; }; } 1103 1150 eval $ac_envvar=\$ac_optarg 1104 1151 export $ac_envvar ;; … … 1117 1164 if test -n "$ac_prev"; then 1118 1165 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1119 as_fn_error "missing argument to $ac_option" 1166 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1167 { (exit 1); exit 1; }; } 1120 1168 fi 1121 1169 … … 1123 1171 case $enable_option_checking in 1124 1172 no) ;; 1125 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1173 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1174 { (exit 1); exit 1; }; } ;; 1126 1175 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1127 1176 esac … … 1146 1195 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1147 1196 esac 1148 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1197 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1198 { (exit 1); exit 1; }; } 1149 1199 done 1150 1200 … … 1176 1226 ac_ls_di=`ls -di .` && 1177 1227 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1178 as_fn_error "working directory cannot be determined" 1228 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1229 { (exit 1); exit 1; }; } 1179 1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1180 as_fn_error "pwd does not report name of working directory" 1231 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1232 { (exit 1); exit 1; }; } 1181 1233 1182 1234 … … 1217 1269 if test ! -r "$srcdir/$ac_unique_file"; then 1218 1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1219 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1271 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1272 { (exit 1); exit 1; }; } 1220 1273 fi 1221 1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1222 1275 ac_abs_confdir=`( 1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1276 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1277 { (exit 1); exit 1; }; } 1224 1278 pwd)` 1225 1279 # When building in place, set srcdir=. … … 1344 1398 nonstandard directory <lib dir> 1345 1399 LIBS libraries to pass to the linker, e.g. -l<library> 1346 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1400 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1347 1401 you have headers in a nonstandard directory <include dir> 1348 1402 YACC The `Yet Another C Compiler' implementation to use. Defaults to … … 1358 1412 it to find libraries and programs with nonstandard names/locations. 1359 1413 1360 Report bugs to the package provider.1361 1414 _ACEOF 1362 1415 ac_status=$? … … 1422 1475 cat <<\_ACEOF 1423 1476 configure 1424 generated by GNU Autoconf 2.65 1425 1426 Copyright (C) 2009 Free Software Foundation, Inc. 1477 generated by GNU Autoconf 2.63 1478 1479 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1480 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1427 1481 This configure script is free software; the Free Software Foundation 1428 1482 gives unlimited permission to copy, distribute and modify it. … … 1430 1484 exit 1431 1485 fi 1432 1433 ## ------------------------ ##1434 ## Autoconf initialization. ##1435 ## ------------------------ ##1436 1437 # ac_fn_cxx_try_compile LINENO1438 # ----------------------------1439 # Try to compile conftest.$ac_ext, and return whether this succeeded.1440 ac_fn_cxx_try_compile ()1441 {1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1443 rm -f conftest.$ac_objext1444 if { { ac_try="$ac_compile"1445 case "(($ac_try" in1446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1447 *) ac_try_echo=$ac_try;;1448 esac1449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1450 $as_echo "$ac_try_echo"; } >&51451 (eval "$ac_compile") 2>conftest.err1452 ac_status=$?1453 if test -s conftest.err; then1454 grep -v '^ *+' conftest.err >conftest.er11455 cat conftest.er1 >&51456 mv -f conftest.er1 conftest.err1457 fi1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51459 test $ac_status = 0; } && {1460 test -z "$ac_cxx_werror_flag" ||1461 test ! -s conftest.err1462 } && test -s conftest.$ac_objext; then :1463 ac_retval=01464 else1465 $as_echo "$as_me: failed program was:" >&51466 sed 's/^/| /' conftest.$ac_ext >&51467 1468 ac_retval=11469 fi1470 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1471 as_fn_set_status $ac_retval1472 1473 } # ac_fn_cxx_try_compile1474 1475 # ac_fn_c_try_compile LINENO1476 # --------------------------1477 # Try to compile conftest.$ac_ext, and return whether this succeeded.1478 ac_fn_c_try_compile ()1479 {1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1481 rm -f conftest.$ac_objext1482 if { { ac_try="$ac_compile"1483 case "(($ac_try" in1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1485 *) ac_try_echo=$ac_try;;1486 esac1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1488 $as_echo "$ac_try_echo"; } >&51489 (eval "$ac_compile") 2>conftest.err1490 ac_status=$?1491 if test -s conftest.err; then1492 grep -v '^ *+' conftest.err >conftest.er11493 cat conftest.er1 >&51494 mv -f conftest.er1 conftest.err1495 fi1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51497 test $ac_status = 0; } && {1498 test -z "$ac_c_werror_flag" ||1499 test ! -s conftest.err1500 } && test -s conftest.$ac_objext; then :1501 ac_retval=01502 else1503 $as_echo "$as_me: failed program was:" >&51504 sed 's/^/| /' conftest.$ac_ext >&51505 1506 ac_retval=11507 fi1508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1509 as_fn_set_status $ac_retval1510 1511 } # ac_fn_c_try_compile1512 1513 # ac_fn_c_try_cpp LINENO1514 # ----------------------1515 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1516 ac_fn_c_try_cpp ()1517 {1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1519 if { { ac_try="$ac_cpp conftest.$ac_ext"1520 case "(($ac_try" in1521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1522 *) ac_try_echo=$ac_try;;1523 esac1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1525 $as_echo "$ac_try_echo"; } >&51526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1527 ac_status=$?1528 if test -s conftest.err; then1529 grep -v '^ *+' conftest.err >conftest.er11530 cat conftest.er1 >&51531 mv -f conftest.er1 conftest.err1532 fi1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51534 test $ac_status = 0; } >/dev/null && {1535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1536 test ! -s conftest.err1537 }; then :1538 ac_retval=01539 else1540 $as_echo "$as_me: failed program was:" >&51541 sed 's/^/| /' conftest.$ac_ext >&51542 1543 ac_retval=11544 fi1545 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1546 as_fn_set_status $ac_retval1547 1548 } # ac_fn_c_try_cpp1549 1550 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1551 # -------------------------------------------------------1552 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1553 # the include files in INCLUDES and setting the cache variable VAR1554 # accordingly.1555 ac_fn_c_check_header_mongrel ()1556 {1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1558 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51560 $as_echo_n "checking for $2... " >&6; }1561 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1562 $as_echo_n "(cached) " >&61563 fi1564 eval ac_res=\$$31565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51566 $as_echo "$ac_res" >&6; }1567 else1568 # Is the header compilable?1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51570 $as_echo_n "checking $2 usability... " >&6; }1571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1572 /* end confdefs.h. */1573 $41574 #include <$2>1575 _ACEOF1576 if ac_fn_c_try_compile "$LINENO"; then :1577 ac_header_compiler=yes1578 else1579 ac_header_compiler=no1580 fi1581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51583 $as_echo "$ac_header_compiler" >&6; }1584 1585 # Is the header present?1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51587 $as_echo_n "checking $2 presence... " >&6; }1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1589 /* end confdefs.h. */1590 #include <$2>1591 _ACEOF1592 if ac_fn_c_try_cpp "$LINENO"; then :1593 ac_header_preproc=yes1594 else1595 ac_header_preproc=no1596 fi1597 rm -f conftest.err conftest.$ac_ext1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51599 $as_echo "$ac_header_preproc" >&6; }1600 1601 # So? What about this header?1602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1603 yes:no: )1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51605 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51607 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1608 ;;1609 no:yes:* )1610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51611 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51613 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51615 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51617 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51619 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1620 ;;1621 esac1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51623 $as_echo_n "checking for $2... " >&6; }1624 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1625 $as_echo_n "(cached) " >&61626 else1627 eval "$3=\$ac_header_compiler"1628 fi1629 eval ac_res=\$$31630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51631 $as_echo "$ac_res" >&6; }1632 fi1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1634 1635 } # ac_fn_c_check_header_mongrel1636 1637 # ac_fn_c_try_run LINENO1638 # ----------------------1639 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1640 # that executables *can* be run.1641 ac_fn_c_try_run ()1642 {1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1644 if { { ac_try="$ac_link"1645 case "(($ac_try" in1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1647 *) ac_try_echo=$ac_try;;1648 esac1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1650 $as_echo "$ac_try_echo"; } >&51651 (eval "$ac_link") 2>&51652 ac_status=$?1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51654 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1655 { { case "(($ac_try" in1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1657 *) ac_try_echo=$ac_try;;1658 esac1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1660 $as_echo "$ac_try_echo"; } >&51661 (eval "$ac_try") 2>&51662 ac_status=$?1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51664 test $ac_status = 0; }; }; then :1665 ac_retval=01666 else1667 $as_echo "$as_me: program exited with status $ac_status" >&51668 $as_echo "$as_me: failed program was:" >&51669 sed 's/^/| /' conftest.$ac_ext >&51670 1671 ac_retval=$ac_status1672 fi1673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1675 as_fn_set_status $ac_retval1676 1677 } # ac_fn_c_try_run1678 1679 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1680 # -------------------------------------------------------1681 # Tests whether HEADER exists and can be compiled using the include files in1682 # INCLUDES, setting the cache variable VAR accordingly.1683 ac_fn_c_check_header_compile ()1684 {1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51687 $as_echo_n "checking for $2... " >&6; }1688 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1689 $as_echo_n "(cached) " >&61690 else1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1692 /* end confdefs.h. */1693 $41694 #include <$2>1695 _ACEOF1696 if ac_fn_c_try_compile "$LINENO"; then :1697 eval "$3=yes"1698 else1699 eval "$3=no"1700 fi1701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1702 fi1703 eval ac_res=\$$31704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51705 $as_echo "$ac_res" >&6; }1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1707 1708 } # ac_fn_c_check_header_compile1709 1710 # ac_fn_c_try_link LINENO1711 # -----------------------1712 # Try to link conftest.$ac_ext, and return whether this succeeded.1713 ac_fn_c_try_link ()1714 {1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1716 rm -f conftest.$ac_objext conftest$ac_exeext1717 if { { ac_try="$ac_link"1718 case "(($ac_try" in1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1720 *) ac_try_echo=$ac_try;;1721 esac1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1723 $as_echo "$ac_try_echo"; } >&51724 (eval "$ac_link") 2>conftest.err1725 ac_status=$?1726 if test -s conftest.err; then1727 grep -v '^ *+' conftest.err >conftest.er11728 cat conftest.er1 >&51729 mv -f conftest.er1 conftest.err1730 fi1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51732 test $ac_status = 0; } && {1733 test -z "$ac_c_werror_flag" ||1734 test ! -s conftest.err1735 } && test -s conftest$ac_exeext && {1736 test "$cross_compiling" = yes ||1737 $as_test_x conftest$ac_exeext1738 }; then :1739 ac_retval=01740 else1741 $as_echo "$as_me: failed program was:" >&51742 sed 's/^/| /' conftest.$ac_ext >&51743 1744 ac_retval=11745 fi1746 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1747 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1748 # interfere with the next link command; also delete a directory that is1749 # left behind by Apple's compiler. We do this before executing the actions.1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1752 as_fn_set_status $ac_retval1753 1754 } # ac_fn_c_try_link1755 1756 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES1757 # -------------------------------------------1758 # Tests whether TYPE exists after having included INCLUDES, setting cache1759 # variable VAR accordingly.1760 ac_fn_c_check_type ()1761 {1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51764 $as_echo_n "checking for $2... " >&6; }1765 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1766 $as_echo_n "(cached) " >&61767 else1768 eval "$3=no"1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1770 /* end confdefs.h. */1771 $41772 int1773 main ()1774 {1775 if (sizeof ($2))1776 return 0;1777 ;1778 return 0;1779 }1780 _ACEOF1781 if ac_fn_c_try_compile "$LINENO"; then :1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1783 /* end confdefs.h. */1784 $41785 int1786 main ()1787 {1788 if (sizeof (($2)))1789 return 0;1790 ;1791 return 0;1792 }1793 _ACEOF1794 if ac_fn_c_try_compile "$LINENO"; then :1795 1796 else1797 eval "$3=yes"1798 fi1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1800 fi1801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1802 fi1803 eval ac_res=\$$31804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51805 $as_echo "$ac_res" >&6; }1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1807 1808 } # ac_fn_c_check_type1809 1810 # ac_fn_c_check_func LINENO FUNC VAR1811 # ----------------------------------1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly1813 ac_fn_c_check_func ()1814 {1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51817 $as_echo_n "checking for $2... " >&6; }1818 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1819 $as_echo_n "(cached) " >&61820 else1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1822 /* end confdefs.h. */1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1824 For example, HP-UX 11i <limits.h> declares gettimeofday. */1825 #define $2 innocuous_$21826 1827 /* System header to define __stub macros and hopefully few prototypes,1828 which can conflict with char $2 (); below.1829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1830 <limits.h> exists even on freestanding compilers. */1831 1832 #ifdef __STDC__1833 # include <limits.h>1834 #else1835 # include <assert.h>1836 #endif1837 1838 #undef $21839 1840 /* Override any GCC internal prototype to avoid an error.1841 Use char because int might match the return type of a GCC1842 builtin and then its argument prototype would still apply. */1843 #ifdef __cplusplus1844 extern "C"1845 #endif1846 char $2 ();1847 /* The GNU C library defines this for functions which it implements1848 to always fail with ENOSYS. Some functions are actually named1849 something starting with __ and the normal name is an alias. */1850 #if defined __stub_$2 || defined __stub___$21851 choke me1852 #endif1853 1854 int1855 main ()1856 {1857 return $2 ();1858 ;1859 return 0;1860 }1861 _ACEOF1862 if ac_fn_c_try_link "$LINENO"; then :1863 eval "$3=yes"1864 else1865 eval "$3=no"1866 fi1867 rm -f core conftest.err conftest.$ac_objext \1868 conftest$ac_exeext conftest.$ac_ext1869 fi1870 eval ac_res=\$$31871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51872 $as_echo "$ac_res" >&6; }1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1874 1875 } # ac_fn_c_check_func1876 1877 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES1878 # --------------------------------------------1879 # Tries to find the compile-time value of EXPR in a program that includes1880 # INCLUDES, setting VAR accordingly. Returns whether the value could be1881 # computed1882 ac_fn_c_compute_int ()1883 {1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1885 if test "$cross_compiling" = yes; then1886 # Depending upon the size, compute the lo and hi bounds.1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1888 /* end confdefs.h. */1889 $41890 int1891 main ()1892 {1893 static int test_array [1 - 2 * !(($2) >= 0)];1894 test_array [0] = 01895 1896 ;1897 return 0;1898 }1899 _ACEOF1900 if ac_fn_c_try_compile "$LINENO"; then :1901 ac_lo=0 ac_mid=01902 while :; do1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1904 /* end confdefs.h. */1905 $41906 int1907 main ()1908 {1909 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1910 test_array [0] = 01911 1912 ;1913 return 0;1914 }1915 _ACEOF1916 if ac_fn_c_try_compile "$LINENO"; then :1917 ac_hi=$ac_mid; break1918 else1919 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1920 if test $ac_lo -le $ac_mid; then1921 ac_lo= ac_hi=1922 break1923 fi1924 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1925 fi1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1927 done1928 else1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1930 /* end confdefs.h. */1931 $41932 int1933 main ()1934 {1935 static int test_array [1 - 2 * !(($2) < 0)];1936 test_array [0] = 01937 1938 ;1939 return 0;1940 }1941 _ACEOF1942 if ac_fn_c_try_compile "$LINENO"; then :1943 ac_hi=-1 ac_mid=-11944 while :; do1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1946 /* end confdefs.h. */1947 $41948 int1949 main ()1950 {1951 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1952 test_array [0] = 01953 1954 ;1955 return 0;1956 }1957 _ACEOF1958 if ac_fn_c_try_compile "$LINENO"; then :1959 ac_lo=$ac_mid; break1960 else1961 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1962 if test $ac_mid -le $ac_hi; then1963 ac_lo= ac_hi=1964 break1965 fi1966 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1967 fi1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1969 done1970 else1971 ac_lo= ac_hi=1972 fi1973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1974 fi1975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1976 # Binary search between lo and hi bounds.1977 while test "x$ac_lo" != "x$ac_hi"; do1978 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1980 /* end confdefs.h. */1981 $41982 int1983 main ()1984 {1985 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1986 test_array [0] = 01987 1988 ;1989 return 0;1990 }1991 _ACEOF1992 if ac_fn_c_try_compile "$LINENO"; then :1993 ac_hi=$ac_mid1994 else1995 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val1996 fi1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1998 done1999 case $ac_lo in #((2000 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;2001 '') ac_retval=1 ;;2002 esac2003 else2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2005 /* end confdefs.h. */2006 $42007 static long int longval () { return $2; }2008 static unsigned long int ulongval () { return $2; }2009 #include <stdio.h>2010 #include <stdlib.h>2011 int2012 main ()2013 {2014 2015 FILE *f = fopen ("conftest.val", "w");2016 if (! f)2017 return 1;2018 if (($2) < 0)2019 {2020 long int i = longval ();2021 if (i != ($2))2022 return 1;2023 fprintf (f, "%ld", i);2024 }2025 else2026 {2027 unsigned long int i = ulongval ();2028 if (i != ($2))2029 return 1;2030 fprintf (f, "%lu", i);2031 }2032 /* Do not output a trailing newline, as this causes \r\n confusion2033 on some platforms. */2034 return ferror (f) || fclose (f) != 0;2035 2036 ;2037 return 0;2038 }2039 _ACEOF2040 if ac_fn_c_try_run "$LINENO"; then :2041 echo >>conftest.val; read $3 <conftest.val; ac_retval=02042 else2043 ac_retval=12044 fi2045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2046 conftest.$ac_objext conftest.beam conftest.$ac_ext2047 rm -f conftest.val2048 2049 fi2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2051 as_fn_set_status $ac_retval2052 2053 } # ac_fn_c_compute_int2054 1486 cat >config.log <<_ACEOF 2055 1487 This file contains any messages produced by compilers while … … 2057 1489 2058 1490 It was created by $as_me, which was 2059 generated by GNU Autoconf 2.6 5. Invocation command line was1491 generated by GNU Autoconf 2.63. Invocation command line was 2060 1492 2061 1493 $ $0 $@ … … 2093 1525 IFS=$as_save_IFS 2094 1526 test -z "$as_dir" && as_dir=. 2095 2096 1527 $as_echo "PATH: $as_dir" 1528 done 2097 1529 IFS=$as_save_IFS 2098 1530 … … 2131 1563 esac 2132 1564 case $ac_pass in 2133 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1565 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2134 1566 2) 2135 a s_fn_append ac_configure_args1 "'$ac_arg'"1567 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2136 1568 if test $ac_must_keep_next = true; then 2137 1569 ac_must_keep_next=false # Got value, back to normal. … … 2149 1581 esac 2150 1582 fi 2151 a s_fn_append ac_configure_args "'$ac_arg'"1583 ac_configure_args="$ac_configure_args '$ac_arg'" 2152 1584 ;; 2153 1585 esac 2154 1586 done 2155 1587 done 2156 { ac_configure_args0=; unset ac_configure_args0;}2157 { ac_configure_args1=; unset ac_configure_args1;}1588 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1589 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2158 1590 2159 1591 # When interrupted or exit'd, cleanup temporary files, and complete … … 2180 1612 *${as_nl}*) 2181 1613 case $ac_var in #( 2182 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51614 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2183 1615 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2184 1616 esac … … 2186 1618 _ | IFS | as_nl) ;; #( 2187 1619 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2188 *) { eval $ac_var=; unset $ac_var;};;1620 *) $as_unset $ac_var ;; 2189 1621 esac ;; 2190 1622 esac … … 2258 1690 ' 0 2259 1691 for ac_signal in 1 2 13 15; do 2260 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1692 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2261 1693 done 2262 1694 ac_signal=0 … … 2265 1697 rm -f -r conftest* confdefs.h 2266 1698 2267 $as_echo "/* confdefs.h */" > confdefs.h2268 2269 1699 # Predefined preprocessor variables. 2270 1700 … … 2273 1703 _ACEOF 2274 1704 1705 2275 1706 cat >>confdefs.h <<_ACEOF 2276 1707 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2277 1708 _ACEOF 2278 1709 1710 2279 1711 cat >>confdefs.h <<_ACEOF 2280 1712 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2281 1713 _ACEOF 2282 1714 1715 2283 1716 cat >>confdefs.h <<_ACEOF 2284 1717 #define PACKAGE_STRING "$PACKAGE_STRING" 2285 1718 _ACEOF 2286 1719 1720 2287 1721 cat >>confdefs.h <<_ACEOF 2288 1722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2289 _ACEOF2290 2291 cat >>confdefs.h <<_ACEOF2292 #define PACKAGE_URL "$PACKAGE_URL"2293 1723 _ACEOF 2294 1724 … … 2310 1740 do 2311 1741 test "x$ac_site_file" = xNONE && continue 2312 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2313 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51742 if test -r "$ac_site_file"; then 1743 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2314 1744 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2315 1745 sed 's/^/| /' "$ac_site_file" >&5 … … 2319 1749 2320 1750 if test -r "$cache_file"; then 2321 # Some versions of bash will fail to source /dev/null (special files2322 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2323 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2324 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51751 # Some versions of bash will fail to source /dev/null (special 1752 # files actually), so we avoid doing that. 1753 if test -f "$cache_file"; then 1754 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2325 1755 $as_echo "$as_me: loading cache $cache_file" >&6;} 2326 1756 case $cache_file in … … 2330 1760 fi 2331 1761 else 2332 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51762 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2333 1763 $as_echo "$as_me: creating cache $cache_file" >&6;} 2334 1764 >$cache_file … … 2345 1775 case $ac_old_set,$ac_new_set in 2346 1776 set,) 2347 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51777 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2348 1778 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2349 1779 ac_cache_corrupted=: ;; 2350 1780 ,set) 2351 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51781 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2352 1782 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2353 1783 ac_cache_corrupted=: ;; … … 2359 1789 ac_new_val_w=`echo x $ac_new_val` 2360 1790 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2361 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51791 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2362 1792 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2363 1793 ac_cache_corrupted=: 2364 1794 else 2365 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51795 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2366 1796 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2367 1797 eval $ac_var=\$ac_old_val 2368 1798 fi 2369 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51799 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2370 1800 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2371 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51801 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2372 1802 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2373 1803 fi;; … … 2381 1811 case " $ac_configure_args " in 2382 1812 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2383 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1813 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2384 1814 esac 2385 1815 fi 2386 1816 done 2387 1817 if $ac_cache_corrupted; then 2388 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51818 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2389 1819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2390 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51820 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2391 1821 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2392 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2393 fi 2394 ## -------------------- ## 2395 ## Main body of script. ## 2396 ## -------------------- ## 1822 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1823 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1824 { (exit 1); exit 1; }; } 1825 fi 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 2397 1842 2398 1843 ac_ext=c … … 2408 1853 ac_aux_dir= 2409 1854 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2410 for ac_t in install-sh install.sh shtool; do 2411 if test -f "$ac_dir/$ac_t"; then 2412 ac_aux_dir=$ac_dir 2413 ac_install_sh="$ac_aux_dir/$ac_t -c" 2414 break 2 2415 fi 2416 done 1855 if test -f "$ac_dir/install-sh"; then 1856 ac_aux_dir=$ac_dir 1857 ac_install_sh="$ac_aux_dir/install-sh -c" 1858 break 1859 elif test -f "$ac_dir/install.sh"; then 1860 ac_aux_dir=$ac_dir 1861 ac_install_sh="$ac_aux_dir/install.sh -c" 1862 break 1863 elif test -f "$ac_dir/shtool"; then 1864 ac_aux_dir=$ac_dir 1865 ac_install_sh="$ac_aux_dir/shtool install -c" 1866 break 1867 fi 2417 1868 done 2418 1869 if test -z "$ac_aux_dir"; then 2419 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1870 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1871 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1872 { (exit 1); exit 1; }; } 2420 1873 fi 2421 1874 … … 2431 1884 # Make sure we can run config.sub. 2432 1885 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2433 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2434 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1886 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1887 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1888 { (exit 1); exit 1; }; } 1889 1890 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2436 1891 $as_echo_n "checking build system type... " >&6; } 2437 if test "${ac_cv_build+set}" = set; then :1892 if test "${ac_cv_build+set}" = set; then 2438 1893 $as_echo_n "(cached) " >&6 2439 1894 else … … 2442 1897 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2443 1898 test "x$ac_build_alias" = x && 2444 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1899 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1900 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1901 { (exit 1); exit 1; }; } 2445 1902 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2446 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2447 2448 fi 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1903 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1904 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1905 { (exit 1); exit 1; }; } 1906 1907 fi 1908 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2450 1909 $as_echo "$ac_cv_build" >&6; } 2451 1910 case $ac_cv_build in 2452 1911 *-*-*) ;; 2453 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1912 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1913 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 1914 { (exit 1); exit 1; }; };; 2454 1915 esac 2455 1916 build=$ac_cv_build … … 2467 1928 2468 1929 2469 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking host system type" >&51930 { $as_echo "$as_me:$LINENO: checking host system type" >&5 2470 1931 $as_echo_n "checking host system type... " >&6; } 2471 if test "${ac_cv_host+set}" = set; then :1932 if test "${ac_cv_host+set}" = set; then 2472 1933 $as_echo_n "(cached) " >&6 2473 1934 else … … 2476 1937 else 2477 1938 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2478 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2479 fi 2480 2481 fi 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1939 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1940 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1941 { (exit 1); exit 1; }; } 1942 fi 1943 1944 fi 1945 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2483 1946 $as_echo "$ac_cv_host" >&6; } 2484 1947 case $ac_cv_host in 2485 1948 *-*-*) ;; 2486 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1949 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1950 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 1951 { (exit 1); exit 1; }; };; 2487 1952 esac 2488 1953 host=$ac_cv_host … … 2500 1965 2501 1966 2502 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking target system type" >&51967 { $as_echo "$as_me:$LINENO: checking target system type" >&5 2503 1968 $as_echo_n "checking target system type... " >&6; } 2504 if test "${ac_cv_target+set}" = set; then :1969 if test "${ac_cv_target+set}" = set; then 2505 1970 $as_echo_n "(cached) " >&6 2506 1971 else … … 2509 1974 else 2510 1975 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2511 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2512 fi 2513 2514 fi 2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 1976 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1977 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1978 { (exit 1); exit 1; }; } 1979 fi 1980 1981 fi 1982 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2516 1983 $as_echo "$ac_cv_target" >&6; } 2517 1984 case $ac_cv_target in 2518 1985 *-*-*) ;; 2519 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1986 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1987 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 1988 { (exit 1); exit 1; }; };; 2520 1989 esac 2521 1990 target=$ac_cv_target … … 2539 2008 NONENONEs,x,x, && 2540 2009 program_prefix=${target_alias}- 2541 2542 2010 test "$program_prefix" != NONE && 2543 2011 program_transform_name="s&^&$program_prefix&;$program_transform_name" … … 2566 2034 2567 2035 # Check whether --enable-java was given. 2568 if test "${enable_java+set}" = set; then :2036 if test "${enable_java+set}" = set; then 2569 2037 enableval=$enable_java; ENABLE_JAVA=$enableval 2570 2038 else … … 2585 2053 2586 2054 2587 2588 2055 # Check whether --enable-accentfold was given. 2589 if test "${enable_accentfold+set}" = set; then :2056 if test "${enable_accentfold+set}" = set; then 2590 2057 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 2591 2058 else … … 2595 2062 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 2596 2063 ENABLE_ACCENTFOLD=1 2597 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 2064 cat >>confdefs.h <<\_ACEOF 2065 #define ENABLE_ACCENTFOLD /**/ 2066 _ACEOF 2598 2067 2599 2068 else … … 2617 2086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2618 2087 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2620 2089 $as_echo_n "checking for $ac_word... " >&6; } 2621 if test "${ac_cv_prog_CXX+set}" = set; then :2090 if test "${ac_cv_prog_CXX+set}" = set; then 2622 2091 $as_echo_n "(cached) " >&6 2623 2092 else … … 2630 2099 IFS=$as_save_IFS 2631 2100 test -z "$as_dir" && as_dir=. 2632 2101 for ac_exec_ext in '' $ac_executable_extensions; do 2633 2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2634 2103 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2635 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2636 2105 break 2 2637 2106 fi 2638 2107 done 2639 2108 done 2640 2109 IFS=$as_save_IFS 2641 2110 … … 2644 2113 CXX=$ac_cv_prog_CXX 2645 2114 if test -n "$CXX"; then 2646 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&52115 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 2647 2116 $as_echo "$CXX" >&6; } 2648 2117 else 2649 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52118 { $as_echo "$as_me:$LINENO: result: no" >&5 2650 2119 $as_echo "no" >&6; } 2651 2120 fi … … 2661 2130 # Extract the first word of "$ac_prog", so it can be a program name with args. 2662 2131 set dummy $ac_prog; ac_word=$2 2663 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52132 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2664 2133 $as_echo_n "checking for $ac_word... " >&6; } 2665 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :2134 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2666 2135 $as_echo_n "(cached) " >&6 2667 2136 else … … 2674 2143 IFS=$as_save_IFS 2675 2144 test -z "$as_dir" && as_dir=. 2676 2145 for ac_exec_ext in '' $ac_executable_extensions; do 2677 2146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2678 2147 ac_cv_prog_ac_ct_CXX="$ac_prog" 2679 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52148 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2680 2149 break 2 2681 2150 fi 2682 2151 done 2683 2152 done 2684 2153 IFS=$as_save_IFS 2685 2154 … … 2688 2157 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2689 2158 if test -n "$ac_ct_CXX"; then 2690 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&52159 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2691 2160 $as_echo "$ac_ct_CXX" >&6; } 2692 2161 else 2693 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52162 { $as_echo "$as_me:$LINENO: result: no" >&5 2694 2163 $as_echo "no" >&6; } 2695 2164 fi … … 2704 2173 case $cross_compiling:$ac_tool_warned in 2705 2174 yes:) 2706 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52175 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2707 2176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2708 2177 ac_tool_warned=yes ;; … … 2715 2184 fi 2716 2185 # Provide some information about the compiler. 2717 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&52186 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2718 2187 set X $ac_compile 2719 2188 ac_compiler=$2 2720 for ac_option in --version -v -V -qversion; do 2721 { { ac_try="$ac_compiler $ac_option >&5" 2189 { (ac_try="$ac_compiler --version >&5" 2722 2190 case "(($ac_try" in 2723 2191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2724 2192 *) ac_try_echo=$ac_try;; 2725 2193 esac 2726 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2727 $as_echo "$ac_try_echo" ; }>&52728 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2195 $as_echo "$ac_try_echo") >&5 2196 (eval "$ac_compiler --version >&5") 2>&5 2729 2197 ac_status=$? 2730 if test -s conftest.err; then 2731 sed '10a\ 2732 ... rest of stderr output deleted ... 2733 10q' conftest.err >conftest.er1 2734 cat conftest.er1 >&5 2735 fi 2736 rm -f conftest.er1 conftest.err 2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2738 test $ac_status = 0; } 2739 done 2740 2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2199 (exit $ac_status); } 2200 { (ac_try="$ac_compiler -v >&5" 2201 case "(($ac_try" in 2202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2203 *) ac_try_echo=$ac_try;; 2204 esac 2205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2206 $as_echo "$ac_try_echo") >&5 2207 (eval "$ac_compiler -v >&5") 2>&5 2208 ac_status=$? 2209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2210 (exit $ac_status); } 2211 { (ac_try="$ac_compiler -V >&5" 2212 case "(($ac_try" in 2213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2214 *) ac_try_echo=$ac_try;; 2215 esac 2216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2217 $as_echo "$ac_try_echo") >&5 2218 (eval "$ac_compiler -V >&5") 2>&5 2219 ac_status=$? 2220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2221 (exit $ac_status); } 2222 2223 cat >conftest.$ac_ext <<_ACEOF 2224 /* confdefs.h. */ 2225 _ACEOF 2226 cat confdefs.h >>conftest.$ac_ext 2227 cat >>conftest.$ac_ext <<_ACEOF 2742 2228 /* end confdefs.h. */ 2743 2229 … … 2755 2241 # It will help us diagnose broken compilers, and finding out an intuition 2756 2242 # of exeext. 2757 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C++ compiler works" >&52758 $as_echo_n "checking whether the C++ compiler works... " >&6; }2243 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 2244 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 2759 2245 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2760 2246 … … 2772 2258 rm -f $ac_rmfiles 2773 2259 2774 if { {ac_try="$ac_link_default"2260 if { (ac_try="$ac_link_default" 2775 2261 case "(($ac_try" in 2776 2262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2777 2263 *) ac_try_echo=$ac_try;; 2778 2264 esac 2779 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2780 $as_echo "$ac_try_echo" ; }>&52265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2266 $as_echo "$ac_try_echo") >&5 2781 2267 (eval "$ac_link_default") 2>&5 2782 2268 ac_status=$? 2783 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52784 test $ac_status = 0; }; then :2269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2270 (exit $ac_status); }; then 2785 2271 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2786 2272 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2799 2285 break;; 2800 2286 *.* ) 2801 2287 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2802 2288 then :; else 2803 2289 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2818 2304 ac_file='' 2819 2305 fi 2820 if test -z "$ac_file"; then : 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2822 $as_echo "no" >&6; } 2823 $as_echo "$as_me: failed program was:" >&5 2306 2307 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2308 $as_echo "$ac_file" >&6; } 2309 if test -z "$ac_file"; then 2310 $as_echo "$as_me: failed program was:" >&5 2824 2311 sed 's/^/| /' conftest.$ac_ext >&5 2825 2312 2826 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52313 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2827 2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2828 { as_fn_set_status 77 2829 as_fn_error "C++ compiler cannot create executables 2830 See \`config.log' for more details." "$LINENO" 5; }; } 2831 else 2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2315 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables 2316 See \`config.log' for more details." >&5 2317 $as_echo "$as_me: error: C++ compiler cannot create executables 2318 See \`config.log' for more details." >&2;} 2319 { (exit 77); exit 77; }; }; } 2320 fi 2321 2322 ac_exeext=$ac_cv_exeext 2323 2324 # Check that the compiler produces executables we can run. If not, either 2325 # the compiler is broken, or we cross compile. 2326 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 2327 $as_echo_n "checking whether the C++ compiler works... " >&6; } 2328 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2329 # If not cross compiling, check that we can run a simple program. 2330 if test "$cross_compiling" != yes; then 2331 if { ac_try='./$ac_file' 2332 { (case "(($ac_try" in 2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2334 *) ac_try_echo=$ac_try;; 2335 esac 2336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2337 $as_echo "$ac_try_echo") >&5 2338 (eval "$ac_try") 2>&5 2339 ac_status=$? 2340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2341 (exit $ac_status); }; }; then 2342 cross_compiling=no 2343 else 2344 if test "$cross_compiling" = maybe; then 2345 cross_compiling=yes 2346 else 2347 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2349 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 2350 If you meant to cross compile, use \`--host'. 2351 See \`config.log' for more details." >&5 2352 $as_echo "$as_me: error: cannot run C++ compiled programs. 2353 If you meant to cross compile, use \`--host'. 2354 See \`config.log' for more details." >&2;} 2355 { (exit 1); exit 1; }; }; } 2356 fi 2357 fi 2358 fi 2359 { $as_echo "$as_me:$LINENO: result: yes" >&5 2833 2360 $as_echo "yes" >&6; } 2834 fi2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&52836 $as_echo_n "checking for C++ compiler default output file name... " >&6; }2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&52838 $as_echo "$ac_file" >&6; }2839 ac_exeext=$ac_cv_exeext2840 2361 2841 2362 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2842 2363 ac_clean_files=$ac_clean_files_save 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2364 # Check that the compiler produces executables we can run. If not, either 2365 # the compiler is broken, or we cross compile. 2366 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2367 $as_echo_n "checking whether we are cross compiling... " >&6; } 2368 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2369 $as_echo "$cross_compiling" >&6; } 2370 2371 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2844 2372 $as_echo_n "checking for suffix of executables... " >&6; } 2845 if { {ac_try="$ac_link"2373 if { (ac_try="$ac_link" 2846 2374 case "(($ac_try" in 2847 2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2848 2376 *) ac_try_echo=$ac_try;; 2849 2377 esac 2850 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2851 $as_echo "$ac_try_echo" ; }>&52378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2379 $as_echo "$ac_try_echo") >&5 2852 2380 (eval "$ac_link") 2>&5 2853 2381 ac_status=$? 2854 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52855 test $ac_status = 0; }; then :2382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2383 (exit $ac_status); }; then 2856 2384 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2857 2385 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2868 2396 done 2869 2397 else 2870 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52398 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2871 2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2872 as_fn_error "cannot compute suffix of executables: cannot compile and link 2873 See \`config.log' for more details." "$LINENO" 5; } 2874 fi 2875 rm -f conftest conftest$ac_cv_exeext 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2400 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2401 See \`config.log' for more details." >&5 2402 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2403 See \`config.log' for more details." >&2;} 2404 { (exit 1); exit 1; }; }; } 2405 fi 2406 2407 rm -f conftest$ac_cv_exeext 2408 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2877 2409 $as_echo "$ac_cv_exeext" >&6; } 2878 2410 … … 2880 2412 EXEEXT=$ac_cv_exeext 2881 2413 ac_exeext=$EXEEXT 2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2414 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2415 $as_echo_n "checking for suffix of object files... " >&6; } 2416 if test "${ac_cv_objext+set}" = set; then 2417 $as_echo_n "(cached) " >&6 2418 else 2419 cat >conftest.$ac_ext <<_ACEOF 2420 /* confdefs.h. */ 2421 _ACEOF 2422 cat confdefs.h >>conftest.$ac_ext 2423 cat >>conftest.$ac_ext <<_ACEOF 2883 2424 /* end confdefs.h. */ 2884 #include <stdio.h> 2425 2885 2426 int 2886 2427 main () 2887 2428 { 2888 FILE *f = fopen ("conftest.out", "w");2889 return ferror (f) || fclose (f) != 0;2890 2429 2891 2430 ; … … 2893 2432 } 2894 2433 _ACEOF 2895 ac_clean_files="$ac_clean_files conftest.out" 2896 # Check that the compiler produces executables we can run. If not, either 2897 # the compiler is broken, or we cross compile. 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2899 $as_echo_n "checking whether we are cross compiling... " >&6; } 2900 if test "$cross_compiling" != yes; then 2901 { { ac_try="$ac_link" 2434 rm -f conftest.o conftest.obj 2435 if { (ac_try="$ac_compile" 2902 2436 case "(($ac_try" in 2903 2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2904 2438 *) ac_try_echo=$ac_try;; 2905 2439 esac 2906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2907 $as_echo "$ac_try_echo"; } >&5 2908 (eval "$ac_link") 2>&5 2909 ac_status=$? 2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2911 test $ac_status = 0; } 2912 if { ac_try='./conftest$ac_cv_exeext' 2913 { { case "(($ac_try" in 2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2915 *) ac_try_echo=$ac_try;; 2916 esac 2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2918 $as_echo "$ac_try_echo"; } >&5 2919 (eval "$ac_try") 2>&5 2920 ac_status=$? 2921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2922 test $ac_status = 0; }; }; then 2923 cross_compiling=no 2924 else 2925 if test "$cross_compiling" = maybe; then 2926 cross_compiling=yes 2927 else 2928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2930 as_fn_error "cannot run C++ compiled programs. 2931 If you meant to cross compile, use \`--host'. 2932 See \`config.log' for more details." "$LINENO" 5; } 2933 fi 2934 fi 2935 fi 2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2937 $as_echo "$cross_compiling" >&6; } 2938 2939 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2940 ac_clean_files=$ac_clean_files_save 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2942 $as_echo_n "checking for suffix of object files... " >&6; } 2943 if test "${ac_cv_objext+set}" = set; then : 2944 $as_echo_n "(cached) " >&6 2945 else 2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2947 /* end confdefs.h. */ 2948 2949 int 2950 main () 2951 { 2952 2953 ; 2954 return 0; 2955 } 2956 _ACEOF 2957 rm -f conftest.o conftest.obj 2958 if { { ac_try="$ac_compile" 2959 case "(($ac_try" in 2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2961 *) ac_try_echo=$ac_try;; 2962 esac 2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2964 $as_echo "$ac_try_echo"; } >&5 2440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2441 $as_echo "$ac_try_echo") >&5 2965 2442 (eval "$ac_compile") 2>&5 2966 2443 ac_status=$? 2967 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52968 test $ac_status = 0; }; then :2444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2445 (exit $ac_status); }; then 2969 2446 for ac_file in conftest.o conftest.obj conftest.*; do 2970 2447 test -f "$ac_file" || continue; … … 2979 2456 sed 's/^/| /' conftest.$ac_ext >&5 2980 2457 2981 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52458 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2982 2459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2983 as_fn_error "cannot compute suffix of object files: cannot compile 2984 See \`config.log' for more details." "$LINENO" 5; } 2985 fi 2460 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2461 See \`config.log' for more details." >&5 2462 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2463 See \`config.log' for more details." >&2;} 2464 { (exit 1); exit 1; }; }; } 2465 fi 2466 2986 2467 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2987 2468 fi 2988 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52469 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2989 2470 $as_echo "$ac_cv_objext" >&6; } 2990 2471 OBJEXT=$ac_cv_objext 2991 2472 ac_objext=$OBJEXT 2992 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&52473 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2993 2474 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2994 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :2475 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2995 2476 $as_echo_n "(cached) " >&6 2996 2477 else 2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2478 cat >conftest.$ac_ext <<_ACEOF 2479 /* confdefs.h. */ 2480 _ACEOF 2481 cat confdefs.h >>conftest.$ac_ext 2482 cat >>conftest.$ac_ext <<_ACEOF 2998 2483 /* end confdefs.h. */ 2999 2484 … … 3009 2494 } 3010 2495 _ACEOF 3011 if ac_fn_cxx_try_compile "$LINENO"; then : 2496 rm -f conftest.$ac_objext 2497 if { (ac_try="$ac_compile" 2498 case "(($ac_try" in 2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2500 *) ac_try_echo=$ac_try;; 2501 esac 2502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2503 $as_echo "$ac_try_echo") >&5 2504 (eval "$ac_compile") 2>conftest.er1 2505 ac_status=$? 2506 grep -v '^ *+' conftest.er1 >conftest.err 2507 rm -f conftest.er1 2508 cat conftest.err >&5 2509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2510 (exit $ac_status); } && { 2511 test -z "$ac_cxx_werror_flag" || 2512 test ! -s conftest.err 2513 } && test -s conftest.$ac_objext; then 3012 2514 ac_compiler_gnu=yes 3013 2515 else 3014 ac_compiler_gnu=no 3015 fi 2516 $as_echo "$as_me: failed program was:" >&5 2517 sed 's/^/| /' conftest.$ac_ext >&5 2518 2519 ac_compiler_gnu=no 2520 fi 2521 3016 2522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3017 2523 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3018 2524 3019 2525 fi 3020 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&52526 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3021 2527 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3022 2528 if test $ac_compiler_gnu = yes; then … … 3027 2533 ac_test_CXXFLAGS=${CXXFLAGS+set} 3028 2534 ac_save_CXXFLAGS=$CXXFLAGS 3029 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&52535 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3030 2536 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3031 if test "${ac_cv_prog_cxx_g+set}" = set; then :2537 if test "${ac_cv_prog_cxx_g+set}" = set; then 3032 2538 $as_echo_n "(cached) " >&6 3033 2539 else … … 3036 2542 ac_cv_prog_cxx_g=no 3037 2543 CXXFLAGS="-g" 3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2544 cat >conftest.$ac_ext <<_ACEOF 2545 /* confdefs.h. */ 2546 _ACEOF 2547 cat confdefs.h >>conftest.$ac_ext 2548 cat >>conftest.$ac_ext <<_ACEOF 3039 2549 /* end confdefs.h. */ 3040 2550 … … 3047 2557 } 3048 2558 _ACEOF 3049 if ac_fn_cxx_try_compile "$LINENO"; then : 2559 rm -f conftest.$ac_objext 2560 if { (ac_try="$ac_compile" 2561 case "(($ac_try" in 2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2563 *) ac_try_echo=$ac_try;; 2564 esac 2565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2566 $as_echo "$ac_try_echo") >&5 2567 (eval "$ac_compile") 2>conftest.er1 2568 ac_status=$? 2569 grep -v '^ *+' conftest.er1 >conftest.err 2570 rm -f conftest.er1 2571 cat conftest.err >&5 2572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2573 (exit $ac_status); } && { 2574 test -z "$ac_cxx_werror_flag" || 2575 test ! -s conftest.err 2576 } && test -s conftest.$ac_objext; then 3050 2577 ac_cv_prog_cxx_g=yes 3051 2578 else 3052 CXXFLAGS="" 3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2579 $as_echo "$as_me: failed program was:" >&5 2580 sed 's/^/| /' conftest.$ac_ext >&5 2581 2582 CXXFLAGS="" 2583 cat >conftest.$ac_ext <<_ACEOF 2584 /* confdefs.h. */ 2585 _ACEOF 2586 cat confdefs.h >>conftest.$ac_ext 2587 cat >>conftest.$ac_ext <<_ACEOF 3054 2588 /* end confdefs.h. */ 3055 2589 … … 3062 2596 } 3063 2597 _ACEOF 3064 if ac_fn_cxx_try_compile "$LINENO"; then : 3065 3066 else 3067 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2598 rm -f conftest.$ac_objext 2599 if { (ac_try="$ac_compile" 2600 case "(($ac_try" in 2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2602 *) ac_try_echo=$ac_try;; 2603 esac 2604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2605 $as_echo "$ac_try_echo") >&5 2606 (eval "$ac_compile") 2>conftest.er1 2607 ac_status=$? 2608 grep -v '^ *+' conftest.er1 >conftest.err 2609 rm -f conftest.er1 2610 cat conftest.err >&5 2611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2612 (exit $ac_status); } && { 2613 test -z "$ac_cxx_werror_flag" || 2614 test ! -s conftest.err 2615 } && test -s conftest.$ac_objext; then 2616 : 2617 else 2618 $as_echo "$as_me: failed program was:" >&5 2619 sed 's/^/| /' conftest.$ac_ext >&5 2620 2621 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3068 2622 CXXFLAGS="-g" 3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2623 cat >conftest.$ac_ext <<_ACEOF 2624 /* confdefs.h. */ 2625 _ACEOF 2626 cat confdefs.h >>conftest.$ac_ext 2627 cat >>conftest.$ac_ext <<_ACEOF 3070 2628 /* end confdefs.h. */ 3071 2629 … … 3078 2636 } 3079 2637 _ACEOF 3080 if ac_fn_cxx_try_compile "$LINENO"; then : 2638 rm -f conftest.$ac_objext 2639 if { (ac_try="$ac_compile" 2640 case "(($ac_try" in 2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2642 *) ac_try_echo=$ac_try;; 2643 esac 2644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2645 $as_echo "$ac_try_echo") >&5 2646 (eval "$ac_compile") 2>conftest.er1 2647 ac_status=$? 2648 grep -v '^ *+' conftest.er1 >conftest.err 2649 rm -f conftest.er1 2650 cat conftest.err >&5 2651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2652 (exit $ac_status); } && { 2653 test -z "$ac_cxx_werror_flag" || 2654 test ! -s conftest.err 2655 } && test -s conftest.$ac_objext; then 3081 2656 ac_cv_prog_cxx_g=yes 3082 fi 2657 else 2658 $as_echo "$as_me: failed program was:" >&5 2659 sed 's/^/| /' conftest.$ac_ext >&5 2660 2661 2662 fi 2663 3083 2664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3084 2665 fi 2666 3085 2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3086 2668 fi 2669 3087 2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3088 2671 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3089 2672 fi 3090 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&52673 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3091 2674 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3092 2675 if test "$ac_test_CXXFLAGS" = set; then … … 3115 2698 # Extract the first word of "$ac_prog", so it can be a program name with args. 3116 2699 set dummy $ac_prog; ac_word=$2 3117 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3118 2701 $as_echo_n "checking for $ac_word... " >&6; } 3119 if test "${ac_cv_prog_AWK+set}" = set; then :2702 if test "${ac_cv_prog_AWK+set}" = set; then 3120 2703 $as_echo_n "(cached) " >&6 3121 2704 else … … 3128 2711 IFS=$as_save_IFS 3129 2712 test -z "$as_dir" && as_dir=. 3130 2713 for ac_exec_ext in '' $ac_executable_extensions; do 3131 2714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3132 2715 ac_cv_prog_AWK="$ac_prog" 3133 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3134 2717 break 2 3135 2718 fi 3136 2719 done 3137 2720 done 3138 2721 IFS=$as_save_IFS 3139 2722 … … 3142 2725 AWK=$ac_cv_prog_AWK 3143 2726 if test -n "$AWK"; then 3144 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AWK" >&52727 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 3145 2728 $as_echo "$AWK" >&6; } 3146 2729 else 3147 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52730 { $as_echo "$as_me:$LINENO: result: no" >&5 3148 2731 $as_echo "no" >&6; } 3149 2732 fi … … 3157 2740 # Extract the first word of "$ac_prog", so it can be a program name with args. 3158 2741 set dummy $ac_prog; ac_word=$2 3159 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3160 2743 $as_echo_n "checking for $ac_word... " >&6; } 3161 if test "${ac_cv_prog_YACC+set}" = set; then :2744 if test "${ac_cv_prog_YACC+set}" = set; then 3162 2745 $as_echo_n "(cached) " >&6 3163 2746 else … … 3170 2753 IFS=$as_save_IFS 3171 2754 test -z "$as_dir" && as_dir=. 3172 2755 for ac_exec_ext in '' $ac_executable_extensions; do 3173 2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3174 2757 ac_cv_prog_YACC="$ac_prog" 3175 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52758 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3176 2759 break 2 3177 2760 fi 3178 2761 done 3179 2762 done 3180 2763 IFS=$as_save_IFS 3181 2764 … … 3184 2767 YACC=$ac_cv_prog_YACC 3185 2768 if test -n "$YACC"; then 3186 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $YACC" >&52769 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 3187 2770 $as_echo "$YACC" >&6; } 3188 2771 else 3189 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52772 { $as_echo "$as_me:$LINENO: result: no" >&5 3190 2773 $as_echo "no" >&6; } 3191 2774 fi … … 3204 2787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3205 2788 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3206 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52789 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3207 2790 $as_echo_n "checking for $ac_word... " >&6; } 3208 if test "${ac_cv_prog_CC+set}" = set; then :2791 if test "${ac_cv_prog_CC+set}" = set; then 3209 2792 $as_echo_n "(cached) " >&6 3210 2793 else … … 3217 2800 IFS=$as_save_IFS 3218 2801 test -z "$as_dir" && as_dir=. 3219 2802 for ac_exec_ext in '' $ac_executable_extensions; do 3220 2803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3221 2804 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3222 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52805 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3223 2806 break 2 3224 2807 fi 3225 2808 done 3226 2809 done 3227 2810 IFS=$as_save_IFS 3228 2811 … … 3231 2814 CC=$ac_cv_prog_CC 3232 2815 if test -n "$CC"; then 3233 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52816 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3234 2817 $as_echo "$CC" >&6; } 3235 2818 else 3236 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52819 { $as_echo "$as_me:$LINENO: result: no" >&5 3237 2820 $as_echo "no" >&6; } 3238 2821 fi … … 3244 2827 # Extract the first word of "gcc", so it can be a program name with args. 3245 2828 set dummy gcc; ac_word=$2 3246 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52829 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3247 2830 $as_echo_n "checking for $ac_word... " >&6; } 3248 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2831 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3249 2832 $as_echo_n "(cached) " >&6 3250 2833 else … … 3257 2840 IFS=$as_save_IFS 3258 2841 test -z "$as_dir" && as_dir=. 3259 2842 for ac_exec_ext in '' $ac_executable_extensions; do 3260 2843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3261 2844 ac_cv_prog_ac_ct_CC="gcc" 3262 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52845 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3263 2846 break 2 3264 2847 fi 3265 2848 done 3266 2849 done 3267 2850 IFS=$as_save_IFS 3268 2851 … … 3271 2854 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3272 2855 if test -n "$ac_ct_CC"; then 3273 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52856 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3274 2857 $as_echo "$ac_ct_CC" >&6; } 3275 2858 else 3276 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52859 { $as_echo "$as_me:$LINENO: result: no" >&5 3277 2860 $as_echo "no" >&6; } 3278 2861 fi … … 3283 2866 case $cross_compiling:$ac_tool_warned in 3284 2867 yes:) 3285 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52868 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3286 2869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3287 2870 ac_tool_warned=yes ;; … … 3297 2880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3298 2881 set dummy ${ac_tool_prefix}cc; ac_word=$2 3299 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3300 2883 $as_echo_n "checking for $ac_word... " >&6; } 3301 if test "${ac_cv_prog_CC+set}" = set; then :2884 if test "${ac_cv_prog_CC+set}" = set; then 3302 2885 $as_echo_n "(cached) " >&6 3303 2886 else … … 3310 2893 IFS=$as_save_IFS 3311 2894 test -z "$as_dir" && as_dir=. 3312 2895 for ac_exec_ext in '' $ac_executable_extensions; do 3313 2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3314 2897 ac_cv_prog_CC="${ac_tool_prefix}cc" 3315 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52898 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3316 2899 break 2 3317 2900 fi 3318 2901 done 3319 2902 done 3320 2903 IFS=$as_save_IFS 3321 2904 … … 3324 2907 CC=$ac_cv_prog_CC 3325 2908 if test -n "$CC"; then 3326 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52909 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3327 2910 $as_echo "$CC" >&6; } 3328 2911 else 3329 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52912 { $as_echo "$as_me:$LINENO: result: no" >&5 3330 2913 $as_echo "no" >&6; } 3331 2914 fi … … 3337 2920 # Extract the first word of "cc", so it can be a program name with args. 3338 2921 set dummy cc; ac_word=$2 3339 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52922 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3340 2923 $as_echo_n "checking for $ac_word... " >&6; } 3341 if test "${ac_cv_prog_CC+set}" = set; then :2924 if test "${ac_cv_prog_CC+set}" = set; then 3342 2925 $as_echo_n "(cached) " >&6 3343 2926 else … … 3351 2934 IFS=$as_save_IFS 3352 2935 test -z "$as_dir" && as_dir=. 3353 2936 for ac_exec_ext in '' $ac_executable_extensions; do 3354 2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3355 2938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 3358 2941 fi 3359 2942 ac_cv_prog_CC="cc" 3360 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52943 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3361 2944 break 2 3362 2945 fi 3363 2946 done 3364 2947 done 3365 2948 IFS=$as_save_IFS 3366 2949 … … 3381 2964 CC=$ac_cv_prog_CC 3382 2965 if test -n "$CC"; then 3383 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52966 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3384 2967 $as_echo "$CC" >&6; } 3385 2968 else 3386 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52969 { $as_echo "$as_me:$LINENO: result: no" >&5 3387 2970 $as_echo "no" >&6; } 3388 2971 fi … … 3396 2979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3397 2980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3398 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52981 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3399 2982 $as_echo_n "checking for $ac_word... " >&6; } 3400 if test "${ac_cv_prog_CC+set}" = set; then :2983 if test "${ac_cv_prog_CC+set}" = set; then 3401 2984 $as_echo_n "(cached) " >&6 3402 2985 else … … 3409 2992 IFS=$as_save_IFS 3410 2993 test -z "$as_dir" && as_dir=. 3411 2994 for ac_exec_ext in '' $ac_executable_extensions; do 3412 2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3413 2996 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3414 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52997 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3415 2998 break 2 3416 2999 fi 3417 3000 done 3418 3001 done 3419 3002 IFS=$as_save_IFS 3420 3003 … … 3423 3006 CC=$ac_cv_prog_CC 3424 3007 if test -n "$CC"; then 3425 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&53008 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3426 3009 $as_echo "$CC" >&6; } 3427 3010 else 3428 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53011 { $as_echo "$as_me:$LINENO: result: no" >&5 3429 3012 $as_echo "no" >&6; } 3430 3013 fi … … 3440 3023 # Extract the first word of "$ac_prog", so it can be a program name with args. 3441 3024 set dummy $ac_prog; ac_word=$2 3442 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3443 3026 $as_echo_n "checking for $ac_word... " >&6; } 3444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :3027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3445 3028 $as_echo_n "(cached) " >&6 3446 3029 else … … 3453 3036 IFS=$as_save_IFS 3454 3037 test -z "$as_dir" && as_dir=. 3455 3038 for ac_exec_ext in '' $ac_executable_extensions; do 3456 3039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3457 3040 ac_cv_prog_ac_ct_CC="$ac_prog" 3458 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53041 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3459 3042 break 2 3460 3043 fi 3461 3044 done 3462 3045 done 3463 3046 IFS=$as_save_IFS 3464 3047 … … 3467 3050 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3468 3051 if test -n "$ac_ct_CC"; then 3469 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&53052 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3470 3053 $as_echo "$ac_ct_CC" >&6; } 3471 3054 else 3472 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53055 { $as_echo "$as_me:$LINENO: result: no" >&5 3473 3056 $as_echo "no" >&6; } 3474 3057 fi … … 3483 3066 case $cross_compiling:$ac_tool_warned in 3484 3067 yes:) 3485 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53068 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3486 3069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3487 3070 ac_tool_warned=yes ;; … … 3494 3077 3495 3078 3496 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53079 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3497 3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3498 as_fn_error "no acceptable C compiler found in \$PATH 3499 See \`config.log' for more details." "$LINENO" 5; } 3081 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3082 See \`config.log' for more details." >&5 3083 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3084 See \`config.log' for more details." >&2;} 3085 { (exit 1); exit 1; }; }; } 3500 3086 3501 3087 # Provide some information about the compiler. 3502 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&53088 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3503 3089 set X $ac_compile 3504 3090 ac_compiler=$2 3505 for ac_option in --version -v -V -qversion; do 3506 { { ac_try="$ac_compiler $ac_option >&5" 3091 { (ac_try="$ac_compiler --version >&5" 3507 3092 case "(($ac_try" in 3508 3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3509 3094 *) ac_try_echo=$ac_try;; 3510 3095 esac 3511 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3512 $as_echo "$ac_try_echo" ; }>&53513 (eval "$ac_compiler $ac_option >&5") 2>conftest.err3096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3097 $as_echo "$ac_try_echo") >&5 3098 (eval "$ac_compiler --version >&5") 2>&5 3514 3099 ac_status=$? 3515 if test -s conftest.err; then 3516 sed '10a\ 3517 ... rest of stderr output deleted ... 3518 10q' conftest.err >conftest.er1 3519 cat conftest.er1 >&5 3520 fi 3521 rm -f conftest.er1 conftest.err 3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3523 test $ac_status = 0; } 3524 done 3525 3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3101 (exit $ac_status); } 3102 { (ac_try="$ac_compiler -v >&5" 3103 case "(($ac_try" in 3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3105 *) ac_try_echo=$ac_try;; 3106 esac 3107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3108 $as_echo "$ac_try_echo") >&5 3109 (eval "$ac_compiler -v >&5") 2>&5 3110 ac_status=$? 3111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3112 (exit $ac_status); } 3113 { (ac_try="$ac_compiler -V >&5" 3114 case "(($ac_try" in 3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3116 *) ac_try_echo=$ac_try;; 3117 esac 3118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3119 $as_echo "$ac_try_echo") >&5 3120 (eval "$ac_compiler -V >&5") 2>&5 3121 ac_status=$? 3122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3123 (exit $ac_status); } 3124 3125 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3527 3126 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3528 if test "${ac_cv_c_compiler_gnu+set}" = set; then :3127 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3529 3128 $as_echo_n "(cached) " >&6 3530 3129 else 3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3130 cat >conftest.$ac_ext <<_ACEOF 3131 /* confdefs.h. */ 3132 _ACEOF 3133 cat confdefs.h >>conftest.$ac_ext 3134 cat >>conftest.$ac_ext <<_ACEOF 3532 3135 /* end confdefs.h. */ 3533 3136 … … 3543 3146 } 3544 3147 _ACEOF 3545 if ac_fn_c_try_compile "$LINENO"; then : 3148 rm -f conftest.$ac_objext 3149 if { (ac_try="$ac_compile" 3150 case "(($ac_try" in 3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3152 *) ac_try_echo=$ac_try;; 3153 esac 3154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3155 $as_echo "$ac_try_echo") >&5 3156 (eval "$ac_compile") 2>conftest.er1 3157 ac_status=$? 3158 grep -v '^ *+' conftest.er1 >conftest.err 3159 rm -f conftest.er1 3160 cat conftest.err >&5 3161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3162 (exit $ac_status); } && { 3163 test -z "$ac_c_werror_flag" || 3164 test ! -s conftest.err 3165 } && test -s conftest.$ac_objext; then 3546 3166 ac_compiler_gnu=yes 3547 3167 else 3548 ac_compiler_gnu=no 3549 fi 3168 $as_echo "$as_me: failed program was:" >&5 3169 sed 's/^/| /' conftest.$ac_ext >&5 3170 3171 ac_compiler_gnu=no 3172 fi 3173 3550 3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3551 3175 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3552 3176 3553 3177 fi 3554 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&53178 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3555 3179 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3556 3180 if test $ac_compiler_gnu = yes; then … … 3561 3185 ac_test_CFLAGS=${CFLAGS+set} 3562 3186 ac_save_CFLAGS=$CFLAGS 3563 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&53187 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3564 3188 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3565 if test "${ac_cv_prog_cc_g+set}" = set; then :3189 if test "${ac_cv_prog_cc_g+set}" = set; then 3566 3190 $as_echo_n "(cached) " >&6 3567 3191 else … … 3570 3194 ac_cv_prog_cc_g=no 3571 3195 CFLAGS="-g" 3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3196 cat >conftest.$ac_ext <<_ACEOF 3197 /* confdefs.h. */ 3198 _ACEOF 3199 cat confdefs.h >>conftest.$ac_ext 3200 cat >>conftest.$ac_ext <<_ACEOF 3573 3201 /* end confdefs.h. */ 3574 3202 … … 3581 3209 } 3582 3210 _ACEOF 3583 if ac_fn_c_try_compile "$LINENO"; then : 3211 rm -f conftest.$ac_objext 3212 if { (ac_try="$ac_compile" 3213 case "(($ac_try" in 3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3215 *) ac_try_echo=$ac_try;; 3216 esac 3217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3218 $as_echo "$ac_try_echo") >&5 3219 (eval "$ac_compile") 2>conftest.er1 3220 ac_status=$? 3221 grep -v '^ *+' conftest.er1 >conftest.err 3222 rm -f conftest.er1 3223 cat conftest.err >&5 3224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3225 (exit $ac_status); } && { 3226 test -z "$ac_c_werror_flag" || 3227 test ! -s conftest.err 3228 } && test -s conftest.$ac_objext; then 3584 3229 ac_cv_prog_cc_g=yes 3585 3230 else 3586 CFLAGS="" 3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3231 $as_echo "$as_me: failed program was:" >&5 3232 sed 's/^/| /' conftest.$ac_ext >&5 3233 3234 CFLAGS="" 3235 cat >conftest.$ac_ext <<_ACEOF 3236 /* confdefs.h. */ 3237 _ACEOF 3238 cat confdefs.h >>conftest.$ac_ext 3239 cat >>conftest.$ac_ext <<_ACEOF 3588 3240 /* end confdefs.h. */ 3589 3241 … … 3596 3248 } 3597 3249 _ACEOF 3598 if ac_fn_c_try_compile "$LINENO"; then : 3599 3600 else 3601 ac_c_werror_flag=$ac_save_c_werror_flag 3250 rm -f conftest.$ac_objext 3251 if { (ac_try="$ac_compile" 3252 case "(($ac_try" in 3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3254 *) ac_try_echo=$ac_try;; 3255 esac 3256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3257 $as_echo "$ac_try_echo") >&5 3258 (eval "$ac_compile") 2>conftest.er1 3259 ac_status=$? 3260 grep -v '^ *+' conftest.er1 >conftest.err 3261 rm -f conftest.er1 3262 cat conftest.err >&5 3263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3264 (exit $ac_status); } && { 3265 test -z "$ac_c_werror_flag" || 3266 test ! -s conftest.err 3267 } && test -s conftest.$ac_objext; then 3268 : 3269 else 3270 $as_echo "$as_me: failed program was:" >&5 3271 sed 's/^/| /' conftest.$ac_ext >&5 3272 3273 ac_c_werror_flag=$ac_save_c_werror_flag 3602 3274 CFLAGS="-g" 3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3275 cat >conftest.$ac_ext <<_ACEOF 3276 /* confdefs.h. */ 3277 _ACEOF 3278 cat confdefs.h >>conftest.$ac_ext 3279 cat >>conftest.$ac_ext <<_ACEOF 3604 3280 /* end confdefs.h. */ 3605 3281 … … 3612 3288 } 3613 3289 _ACEOF 3614 if ac_fn_c_try_compile "$LINENO"; then : 3290 rm -f conftest.$ac_objext 3291 if { (ac_try="$ac_compile" 3292 case "(($ac_try" in 3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3294 *) ac_try_echo=$ac_try;; 3295 esac 3296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3297 $as_echo "$ac_try_echo") >&5 3298 (eval "$ac_compile") 2>conftest.er1 3299 ac_status=$? 3300 grep -v '^ *+' conftest.er1 >conftest.err 3301 rm -f conftest.er1 3302 cat conftest.err >&5 3303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3304 (exit $ac_status); } && { 3305 test -z "$ac_c_werror_flag" || 3306 test ! -s conftest.err 3307 } && test -s conftest.$ac_objext; then 3615 3308 ac_cv_prog_cc_g=yes 3616 fi 3309 else 3310 $as_echo "$as_me: failed program was:" >&5 3311 sed 's/^/| /' conftest.$ac_ext >&5 3312 3313 3314 fi 3315 3617 3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3618 3317 fi 3318 3619 3319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3620 3320 fi 3321 3621 3322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3622 3323 ac_c_werror_flag=$ac_save_c_werror_flag 3623 3324 fi 3624 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53325 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3625 3326 $as_echo "$ac_cv_prog_cc_g" >&6; } 3626 3327 if test "$ac_test_CFLAGS" = set; then … … 3639 3340 fi 3640 3341 fi 3641 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53342 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3642 3343 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3643 if test "${ac_cv_prog_cc_c89+set}" = set; then :3344 if test "${ac_cv_prog_cc_c89+set}" = set; then 3644 3345 $as_echo_n "(cached) " >&6 3645 3346 else 3646 3347 ac_cv_prog_cc_c89=no 3647 3348 ac_save_CC=$CC 3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3349 cat >conftest.$ac_ext <<_ACEOF 3350 /* confdefs.h. */ 3351 _ACEOF 3352 cat confdefs.h >>conftest.$ac_ext 3353 cat >>conftest.$ac_ext <<_ACEOF 3649 3354 /* end confdefs.h. */ 3650 3355 #include <stdarg.h> … … 3703 3408 do 3704 3409 CC="$ac_save_CC $ac_arg" 3705 if ac_fn_c_try_compile "$LINENO"; then : 3410 rm -f conftest.$ac_objext 3411 if { (ac_try="$ac_compile" 3412 case "(($ac_try" in 3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3414 *) ac_try_echo=$ac_try;; 3415 esac 3416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3417 $as_echo "$ac_try_echo") >&5 3418 (eval "$ac_compile") 2>conftest.er1 3419 ac_status=$? 3420 grep -v '^ *+' conftest.er1 >conftest.err 3421 rm -f conftest.er1 3422 cat conftest.err >&5 3423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3424 (exit $ac_status); } && { 3425 test -z "$ac_c_werror_flag" || 3426 test ! -s conftest.err 3427 } && test -s conftest.$ac_objext; then 3706 3428 ac_cv_prog_cc_c89=$ac_arg 3707 fi 3429 else 3430 $as_echo "$as_me: failed program was:" >&5 3431 sed 's/^/| /' conftest.$ac_ext >&5 3432 3433 3434 fi 3435 3708 3436 rm -f core conftest.err conftest.$ac_objext 3709 3437 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3716 3444 case "x$ac_cv_prog_cc_c89" in 3717 3445 x) 3718 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&53446 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3719 3447 $as_echo "none needed" >&6; } ;; 3720 3448 xno) 3721 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&53449 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3722 3450 $as_echo "unsupported" >&6; } ;; 3723 3451 *) 3724 3452 CC="$CC $ac_cv_prog_cc_c89" 3725 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&53453 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3726 3454 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3727 3455 esac 3728 if test "x$ac_cv_prog_cc_c89" != xno; then : 3729 3730 fi 3456 3731 3457 3732 3458 ac_ext=c … … 3750 3476 # ./install, which can be erroneously created by make from ./install.sh. 3751 3477 # Reject install programs that cannot install multiple files. 3752 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&53478 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3753 3479 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3754 3480 if test -z "$INSTALL"; then 3755 if test "${ac_cv_path_install+set}" = set; then :3481 if test "${ac_cv_path_install+set}" = set; then 3756 3482 $as_echo_n "(cached) " >&6 3757 3483 else … … 3761 3487 IFS=$as_save_IFS 3762 3488 test -z "$as_dir" && as_dir=. 3763 3764 case $as_dir/ in #((3765 ./ | .// | / [cC]/* | \3489 # Account for people who put trailing slashes in PATH elements. 3490 case $as_dir/ in 3491 ./ | .// | /cC/* | \ 3766 3492 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3767 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \3493 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3768 3494 /usr/ucb/* ) ;; 3769 3495 *) … … 3802 3528 esac 3803 3529 3804 3530 done 3805 3531 IFS=$as_save_IFS 3806 3532 … … 3818 3544 fi 3819 3545 fi 3820 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&53546 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3821 3547 $as_echo "$INSTALL" >&6; } 3822 3548 … … 3829 3555 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3830 3556 3831 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&53557 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3832 3558 $as_echo_n "checking whether ln -s works... " >&6; } 3833 3559 LN_S=$as_ln_s 3834 3560 if test "$LN_S" = "ln -s"; then 3835 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&53561 { $as_echo "$as_me:$LINENO: result: yes" >&5 3836 3562 $as_echo "yes" >&6; } 3837 3563 else 3838 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&53564 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3839 3565 $as_echo "no, using $LN_S" >&6; } 3840 3566 fi 3841 3567 3842 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&53568 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3843 3569 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3844 3570 set x ${MAKE-make} 3845 3571 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3846 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :3572 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3847 3573 $as_echo_n "(cached) " >&6 3848 3574 else … … 3862 3588 fi 3863 3589 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3864 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&53590 { $as_echo "$as_me:$LINENO: result: yes" >&5 3865 3591 $as_echo "yes" >&6; } 3866 3592 SET_MAKE= 3867 3593 else 3868 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53594 { $as_echo "$as_me:$LINENO: result: no" >&5 3869 3595 $as_echo "no" >&6; } 3870 3596 SET_MAKE="MAKE=${MAKE-make}" … … 3874 3600 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3875 3601 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3876 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53602 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3877 3603 $as_echo_n "checking for $ac_word... " >&6; } 3878 if test "${ac_cv_prog_RANLIB+set}" = set; then :3604 if test "${ac_cv_prog_RANLIB+set}" = set; then 3879 3605 $as_echo_n "(cached) " >&6 3880 3606 else … … 3887 3613 IFS=$as_save_IFS 3888 3614 test -z "$as_dir" && as_dir=. 3889 3615 for ac_exec_ext in '' $ac_executable_extensions; do 3890 3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3891 3617 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3892 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3893 3619 break 2 3894 3620 fi 3895 3621 done 3896 3622 done 3897 3623 IFS=$as_save_IFS 3898 3624 … … 3901 3627 RANLIB=$ac_cv_prog_RANLIB 3902 3628 if test -n "$RANLIB"; then 3903 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&53629 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3904 3630 $as_echo "$RANLIB" >&6; } 3905 3631 else 3906 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53632 { $as_echo "$as_me:$LINENO: result: no" >&5 3907 3633 $as_echo "no" >&6; } 3908 3634 fi … … 3914 3640 # Extract the first word of "ranlib", so it can be a program name with args. 3915 3641 set dummy ranlib; ac_word=$2 3916 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53642 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3917 3643 $as_echo_n "checking for $ac_word... " >&6; } 3918 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :3644 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3919 3645 $as_echo_n "(cached) " >&6 3920 3646 else … … 3927 3653 IFS=$as_save_IFS 3928 3654 test -z "$as_dir" && as_dir=. 3929 3655 for ac_exec_ext in '' $ac_executable_extensions; do 3930 3656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3931 3657 ac_cv_prog_ac_ct_RANLIB="ranlib" 3932 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53658 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3933 3659 break 2 3934 3660 fi 3935 3661 done 3936 3662 done 3937 3663 IFS=$as_save_IFS 3938 3664 … … 3941 3667 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3942 3668 if test -n "$ac_ct_RANLIB"; then 3943 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&53669 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3944 3670 $as_echo "$ac_ct_RANLIB" >&6; } 3945 3671 else 3946 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53672 { $as_echo "$as_me:$LINENO: result: no" >&5 3947 3673 $as_echo "no" >&6; } 3948 3674 fi … … 3953 3679 case $cross_compiling:$ac_tool_warned in 3954 3680 yes:) 3955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53681 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3956 3682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3957 3683 ac_tool_warned=yes ;; … … 3972 3698 # Extract the first word of "$ac_prog", so it can be a program name with args. 3973 3699 set dummy $ac_prog; ac_word=$2 3974 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3975 3701 $as_echo_n "checking for $ac_word... " >&6; } 3976 if test "${ac_cv_prog_JAVA+set}" = set; then :3702 if test "${ac_cv_prog_JAVA+set}" = set; then 3977 3703 $as_echo_n "(cached) " >&6 3978 3704 else … … 3985 3711 IFS=$as_save_IFS 3986 3712 test -z "$as_dir" && as_dir=. 3987 3713 for ac_exec_ext in '' $ac_executable_extensions; do 3988 3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3989 3715 ac_cv_prog_JAVA="$ac_prog" 3990 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3991 3717 break 2 3992 3718 fi 3993 3719 done 3994 3720 done 3995 3721 IFS=$as_save_IFS 3996 3722 … … 3999 3725 JAVA=$ac_cv_prog_JAVA 4000 3726 if test -n "$JAVA"; then 4001 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&53727 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 4002 3728 $as_echo "$JAVA" >&6; } 4003 3729 else 4004 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53730 { $as_echo "$as_me:$LINENO: result: no" >&5 4005 3731 $as_echo "no" >&6; } 4006 3732 fi … … 4015 3741 # Extract the first word of "$ac_prog", so it can be a program name with args. 4016 3742 set dummy $ac_prog; ac_word=$2 4017 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53743 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4018 3744 $as_echo_n "checking for $ac_word... " >&6; } 4019 if test "${ac_cv_prog_JAVA+set}" = set; then :3745 if test "${ac_cv_prog_JAVA+set}" = set; then 4020 3746 $as_echo_n "(cached) " >&6 4021 3747 else … … 4028 3754 IFS=$as_save_IFS 4029 3755 test -z "$as_dir" && as_dir=. 4030 3756 for ac_exec_ext in '' $ac_executable_extensions; do 4031 3757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4032 3758 ac_cv_prog_JAVA="$ac_prog" 4033 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53759 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4034 3760 break 2 4035 3761 fi 4036 3762 done 4037 3763 done 4038 3764 IFS=$as_save_IFS 4039 3765 … … 4042 3768 JAVA=$ac_cv_prog_JAVA 4043 3769 if test -n "$JAVA"; then 4044 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&53770 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 4045 3771 $as_echo "$JAVA" >&6; } 4046 3772 else 4047 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53773 { $as_echo "$as_me:$LINENO: result: no" >&5 4048 3774 $as_echo "no" >&6; } 4049 3775 fi … … 4055 3781 4056 3782 fi 4057 test x$JAVA = x && as_fn_error "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3783 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3784 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3785 { (exit 1); exit 1; }; } 4058 3786 fi 4059 3787 … … 4061 3789 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 4062 3790 set dummy uudecode$EXEEXT; ac_word=$2 4063 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53791 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4064 3792 $as_echo_n "checking for $ac_word... " >&6; } 4065 if test "${ac_cv_prog_uudecode+set}" = set; then :3793 if test "${ac_cv_prog_uudecode+set}" = set; then 4066 3794 $as_echo_n "(cached) " >&6 4067 3795 else … … 4074 3802 IFS=$as_save_IFS 4075 3803 test -z "$as_dir" && as_dir=. 4076 3804 for ac_exec_ext in '' $ac_executable_extensions; do 4077 3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4078 3806 ac_cv_prog_uudecode="yes" 4079 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53807 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4080 3808 break 2 4081 3809 fi 4082 3810 done 4083 3811 done 4084 3812 IFS=$as_save_IFS 4085 3813 … … 4088 3816 uudecode=$ac_cv_prog_uudecode 4089 3817 if test -n "$uudecode"; then 4090 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $uudecode" >&53818 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 4091 3819 $as_echo "$uudecode" >&6; } 4092 3820 else 4093 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53821 { $as_echo "$as_me:$LINENO: result: no" >&5 4094 3822 $as_echo "no" >&6; } 4095 3823 fi … … 4097 3825 4098 3826 if test x$uudecode = xyes; then 4099 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&53827 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 4100 3828 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 4101 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :3829 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 4102 3830 $as_echo_n "(cached) " >&6 4103 3831 else … … 4117 3845 ac_cv_prog_uudecode_base64=yes 4118 3846 else 4119 echo "configure: 4119: uudecode had trouble decoding base 64 file 'Test.uue'" >&53847 echo "configure: 3847: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 4120 3848 echo "configure: failed file was:" >&5 4121 3849 cat Test.uue >&5 … … 4124 3852 rm -f Test.uue 4125 3853 fi 4126 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&53854 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 4127 3855 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 4128 3856 fi 4129 3857 if test x$ac_cv_prog_uudecode_base64 != xyes; then 4130 3858 rm -f Test.class 4131 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&53859 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 4132 3860 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 4133 3861 if test x$ac_cv_prog_javac_works = xno; then 4134 as_fn_error "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3862 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3863 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3864 { (exit 1); exit 1; }; } 4135 3865 fi 4136 3866 if test x$ac_cv_prog_javac_works = x; then … … 4142 3872 # Extract the first word of "$ac_prog", so it can be a program name with args. 4143 3873 set dummy $ac_prog; ac_word=$2 4144 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53874 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4145 3875 $as_echo_n "checking for $ac_word... " >&6; } 4146 if test "${ac_cv_prog_JAVAC+set}" = set; then :3876 if test "${ac_cv_prog_JAVAC+set}" = set; then 4147 3877 $as_echo_n "(cached) " >&6 4148 3878 else … … 4155 3885 IFS=$as_save_IFS 4156 3886 test -z "$as_dir" && as_dir=. 4157 3887 for ac_exec_ext in '' $ac_executable_extensions; do 4158 3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4159 3889 ac_cv_prog_JAVAC="$ac_prog" 4160 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53890 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4161 3891 break 2 4162 3892 fi 4163 3893 done 4164 3894 done 4165 3895 IFS=$as_save_IFS 4166 3896 … … 4169 3899 JAVAC=$ac_cv_prog_JAVAC 4170 3900 if test -n "$JAVAC"; then 4171 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&53901 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 4172 3902 $as_echo "$JAVAC" >&6; } 4173 3903 else 4174 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53904 { $as_echo "$as_me:$LINENO: result: no" >&5 4175 3905 $as_echo "no" >&6; } 4176 3906 fi … … 4185 3915 # Extract the first word of "$ac_prog", so it can be a program name with args. 4186 3916 set dummy $ac_prog; ac_word=$2 4187 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53917 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4188 3918 $as_echo_n "checking for $ac_word... " >&6; } 4189 if test "${ac_cv_prog_JAVAC+set}" = set; then :3919 if test "${ac_cv_prog_JAVAC+set}" = set; then 4190 3920 $as_echo_n "(cached) " >&6 4191 3921 else … … 4198 3928 IFS=$as_save_IFS 4199 3929 test -z "$as_dir" && as_dir=. 4200 3930 for ac_exec_ext in '' $ac_executable_extensions; do 4201 3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4202 3932 ac_cv_prog_JAVAC="$ac_prog" 4203 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53933 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4204 3934 break 2 4205 3935 fi 4206 3936 done 4207 3937 done 4208 3938 IFS=$as_save_IFS 4209 3939 … … 4212 3942 JAVAC=$ac_cv_prog_JAVAC 4213 3943 if test -n "$JAVAC"; then 4214 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&53944 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 4215 3945 $as_echo "$JAVAC" >&6; } 4216 3946 else 4217 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53947 { $as_echo "$as_me:$LINENO: result: no" >&5 4218 3948 $as_echo "no" >&6; } 4219 3949 fi … … 4225 3955 4226 3956 fi 4227 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3957 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3958 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3959 { (exit 1); exit 1; }; } 4228 3960 else 4229 3961 echo "Checking for javac... $JAVAC" … … 4231 3963 4232 3964 4233 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVAC works" >&53965 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 4234 3966 $as_echo_n "checking if $JAVAC works... " >&6; } 4235 if test "${ac_cv_prog_javac_works+set}" = set; then :3967 if test "${ac_cv_prog_javac_works+set}" = set; then 4236 3968 $as_echo_n "(cached) " >&6 4237 3969 else … … 4240 3972 CLASS_TEST=Test.class 4241 3973 cat << \EOF > $JAVA_TEST 4242 /* #line 4242"configure" */3974 /* #line 3974 "configure" */ 4243 3975 public class Test { 4244 3976 } 4245 3977 EOF 4246 3978 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4247 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4248 3980 (eval $ac_try) 2>&5 4249 3981 ac_status=$? 4250 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54251 test $ac_status = 0; }; } >/dev/null 2>&1; then3982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3983 (exit $ac_status); }; } >/dev/null 2>&1; then 4252 3984 ac_cv_prog_javac_works=yes 4253 3985 else 4254 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3986 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3987 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3988 { (exit 1); exit 1; }; } 4255 3989 echo "configure: failed program was:" >&5 4256 3990 cat $JAVA_TEST >&5 … … 4259 3993 4260 3994 fi 4261 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&53995 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 4262 3996 $as_echo "$ac_cv_prog_javac_works" >&6; } 4263 3997 if test "x$JAVACFLAGS" = x ; then … … 4269 4003 fi 4270 4004 fi 4271 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVA works" >&54005 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 4272 4006 $as_echo_n "checking if $JAVA works... " >&6; } 4273 if test "${ac_cv_prog_java_works+set}" = set; then :4007 if test "${ac_cv_prog_java_works+set}" = set; then 4274 4008 $as_echo_n "(cached) " >&6 4275 4009 else … … 4279 4013 TEST=Test 4280 4014 cat << \EOF > $JAVA_TEST 4281 /* [#]line 4 281"configure" */4015 /* [#]line 4015 "configure" */ 4282 4016 public class Test { 4283 4017 public static void main (String args[]) { … … 4287 4021 if test x$ac_cv_prog_uudecode_base64 != xyes; then 4288 4022 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4289 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4290 4024 (eval $ac_try) 2>&5 4291 4025 ac_status=$? 4292 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54293 test $ac_status = 0; }; } && test -s $CLASS_TEST; then4026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4027 (exit $ac_status); }; } && test -s $CLASS_TEST; then 4294 4028 : 4295 4029 else 4296 4030 echo "configure: failed program was:" >&5 4297 4031 cat $JAVA_TEST >&5 4298 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4032 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 4033 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 4034 { (exit 1); exit 1; }; } 4299 4035 fi 4300 4036 fi 4301 4037 if { ac_try='$JAVA $JAVAFLAGS $TEST' 4302 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4303 4039 (eval $ac_try) 2>&5 4304 4040 ac_status=$? 4305 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54306 test $ac_status = 0; }; } >/dev/null 2>&1; then4041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4042 (exit $ac_status); }; } >/dev/null 2>&1; then 4307 4043 ac_cv_prog_java_works=yes 4308 4044 else 4309 4045 echo "configure: failed program was:" >&5 4310 4046 cat $JAVA_TEST >&5 4311 as_fn_error "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4047 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 4048 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 4049 { (exit 1); exit 1; }; } 4312 4050 fi 4313 4051 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 4314 4052 4315 4053 fi 4316 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&54054 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 4317 4055 $as_echo "$ac_cv_prog_java_works" >&6; } 4318 4056 … … 4326 4064 # Extract the first word of "$ac_prog", so it can be a program name with args. 4327 4065 set dummy $ac_prog; ac_word=$2 4328 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54066 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4329 4067 $as_echo_n "checking for $ac_word... " >&6; } 4330 if test "${ac_cv_prog_JAVAC+set}" = set; then :4068 if test "${ac_cv_prog_JAVAC+set}" = set; then 4331 4069 $as_echo_n "(cached) " >&6 4332 4070 else … … 4339 4077 IFS=$as_save_IFS 4340 4078 test -z "$as_dir" && as_dir=. 4341 4079 for ac_exec_ext in '' $ac_executable_extensions; do 4342 4080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4343 4081 ac_cv_prog_JAVAC="$ac_prog" 4344 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54082 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4345 4083 break 2 4346 4084 fi 4347 4085 done 4348 4086 done 4349 4087 IFS=$as_save_IFS 4350 4088 … … 4353 4091 JAVAC=$ac_cv_prog_JAVAC 4354 4092 if test -n "$JAVAC"; then 4355 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&54093 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 4356 4094 $as_echo "$JAVAC" >&6; } 4357 4095 else 4358 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54096 { $as_echo "$as_me:$LINENO: result: no" >&5 4359 4097 $as_echo "no" >&6; } 4360 4098 fi … … 4369 4107 # Extract the first word of "$ac_prog", so it can be a program name with args. 4370 4108 set dummy $ac_prog; ac_word=$2 4371 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54109 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4372 4110 $as_echo_n "checking for $ac_word... " >&6; } 4373 if test "${ac_cv_prog_JAVAC+set}" = set; then :4111 if test "${ac_cv_prog_JAVAC+set}" = set; then 4374 4112 $as_echo_n "(cached) " >&6 4375 4113 else … … 4382 4120 IFS=$as_save_IFS 4383 4121 test -z "$as_dir" && as_dir=. 4384 4122 for ac_exec_ext in '' $ac_executable_extensions; do 4385 4123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4386 4124 ac_cv_prog_JAVAC="$ac_prog" 4387 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54125 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4388 4126 break 2 4389 4127 fi 4390 4128 done 4391 4129 done 4392 4130 IFS=$as_save_IFS 4393 4131 … … 4396 4134 JAVAC=$ac_cv_prog_JAVAC 4397 4135 if test -n "$JAVAC"; then 4398 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&54136 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 4399 4137 $as_echo "$JAVAC" >&6; } 4400 4138 else 4401 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54139 { $as_echo "$as_me:$LINENO: result: no" >&5 4402 4140 $as_echo "no" >&6; } 4403 4141 fi … … 4409 4147 4410 4148 fi 4411 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5 4149 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 4150 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 4151 { (exit 1); exit 1; }; } 4412 4152 else 4413 4153 echo "Checking for javac... $JAVAC" … … 4415 4155 4416 4156 4417 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVAC works" >&54157 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 4418 4158 $as_echo_n "checking if $JAVAC works... " >&6; } 4419 if test "${ac_cv_prog_javac_works+set}" = set; then :4159 if test "${ac_cv_prog_javac_works+set}" = set; then 4420 4160 $as_echo_n "(cached) " >&6 4421 4161 else … … 4424 4164 CLASS_TEST=Test.class 4425 4165 cat << \EOF > $JAVA_TEST 4426 /* #line 4 426 "configure" */4166 /* #line 4166 "configure" */ 4427 4167 public class Test { 4428 4168 } 4429 4169 EOF 4430 4170 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4431 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4432 4172 (eval $ac_try) 2>&5 4433 4173 ac_status=$? 4434 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54435 test $ac_status = 0; }; } >/dev/null 2>&1; then4174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4175 (exit $ac_status); }; } >/dev/null 2>&1; then 4436 4176 ac_cv_prog_javac_works=yes 4437 4177 else 4438 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4178 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 4179 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 4180 { (exit 1); exit 1; }; } 4439 4181 echo "configure: failed program was:" >&5 4440 4182 cat $JAVA_TEST >&5 … … 4443 4185 4444 4186 fi 4445 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&54187 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 4446 4188 $as_echo "$ac_cv_prog_javac_works" >&6; } 4447 4189 if test "x$JAVACFLAGS" = x ; then … … 4459 4201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4460 4202 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4461 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&54203 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4462 4204 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4463 4205 # On Suns, sometimes $CPP names a directory. … … 4466 4208 fi 4467 4209 if test -z "$CPP"; then 4468 if test "${ac_cv_prog_CPP+set}" = set; then :4210 if test "${ac_cv_prog_CPP+set}" = set; then 4469 4211 $as_echo_n "(cached) " >&6 4470 4212 else … … 4481 4223 # On the NeXT, cc -E runs the code through the compiler's parser, 4482 4224 # not just through cpp. "Syntax error" is here to catch this case. 4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4225 cat >conftest.$ac_ext <<_ACEOF 4226 /* confdefs.h. */ 4227 _ACEOF 4228 cat confdefs.h >>conftest.$ac_ext 4229 cat >>conftest.$ac_ext <<_ACEOF 4484 4230 /* end confdefs.h. */ 4485 4231 #ifdef __STDC__ … … 4490 4236 Syntax error 4491 4237 _ACEOF 4492 if ac_fn_c_try_cpp "$LINENO"; then : 4493 4494 else 4238 if { (ac_try="$ac_cpp conftest.$ac_ext" 4239 case "(($ac_try" in 4240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4241 *) ac_try_echo=$ac_try;; 4242 esac 4243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4244 $as_echo "$ac_try_echo") >&5 4245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4246 ac_status=$? 4247 grep -v '^ *+' conftest.er1 >conftest.err 4248 rm -f conftest.er1 4249 cat conftest.err >&5 4250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4251 (exit $ac_status); } >/dev/null && { 4252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4253 test ! -s conftest.err 4254 }; then 4255 : 4256 else 4257 $as_echo "$as_me: failed program was:" >&5 4258 sed 's/^/| /' conftest.$ac_ext >&5 4259 4495 4260 # Broken: fails on valid input. 4496 4261 continue 4497 4262 fi 4263 4498 4264 rm -f conftest.err conftest.$ac_ext 4499 4265 4500 4266 # OK, works on sane cases. Now check whether nonexistent headers 4501 4267 # can be detected and how. 4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4268 cat >conftest.$ac_ext <<_ACEOF 4269 /* confdefs.h. */ 4270 _ACEOF 4271 cat confdefs.h >>conftest.$ac_ext 4272 cat >>conftest.$ac_ext <<_ACEOF 4503 4273 /* end confdefs.h. */ 4504 4274 #include <ac_nonexistent.h> 4505 4275 _ACEOF 4506 if ac_fn_c_try_cpp "$LINENO"; then : 4276 if { (ac_try="$ac_cpp conftest.$ac_ext" 4277 case "(($ac_try" in 4278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4279 *) ac_try_echo=$ac_try;; 4280 esac 4281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4282 $as_echo "$ac_try_echo") >&5 4283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4284 ac_status=$? 4285 grep -v '^ *+' conftest.er1 >conftest.err 4286 rm -f conftest.er1 4287 cat conftest.err >&5 4288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 (exit $ac_status); } >/dev/null && { 4290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4291 test ! -s conftest.err 4292 }; then 4507 4293 # Broken: success on invalid input. 4508 4294 continue 4509 4295 else 4296 $as_echo "$as_me: failed program was:" >&5 4297 sed 's/^/| /' conftest.$ac_ext >&5 4298 4510 4299 # Passes both tests. 4511 4300 ac_preproc_ok=: 4512 4301 break 4513 4302 fi 4303 4514 4304 rm -f conftest.err conftest.$ac_ext 4515 4305 … … 4517 4307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4518 4308 rm -f conftest.err conftest.$ac_ext 4519 if $ac_preproc_ok; then :4309 if $ac_preproc_ok; then 4520 4310 break 4521 4311 fi … … 4529 4319 ac_cv_prog_CPP=$CPP 4530 4320 fi 4531 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&54321 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4532 4322 $as_echo "$CPP" >&6; } 4533 4323 ac_preproc_ok=false … … 4540 4330 # On the NeXT, cc -E runs the code through the compiler's parser, 4541 4331 # not just through cpp. "Syntax error" is here to catch this case. 4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4332 cat >conftest.$ac_ext <<_ACEOF 4333 /* confdefs.h. */ 4334 _ACEOF 4335 cat confdefs.h >>conftest.$ac_ext 4336 cat >>conftest.$ac_ext <<_ACEOF 4543 4337 /* end confdefs.h. */ 4544 4338 #ifdef __STDC__ … … 4549 4343 Syntax error 4550 4344 _ACEOF 4551 if ac_fn_c_try_cpp "$LINENO"; then : 4552 4553 else 4345 if { (ac_try="$ac_cpp conftest.$ac_ext" 4346 case "(($ac_try" in 4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4348 *) ac_try_echo=$ac_try;; 4349 esac 4350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4351 $as_echo "$ac_try_echo") >&5 4352 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4353 ac_status=$? 4354 grep -v '^ *+' conftest.er1 >conftest.err 4355 rm -f conftest.er1 4356 cat conftest.err >&5 4357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4358 (exit $ac_status); } >/dev/null && { 4359 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4360 test ! -s conftest.err 4361 }; then 4362 : 4363 else 4364 $as_echo "$as_me: failed program was:" >&5 4365 sed 's/^/| /' conftest.$ac_ext >&5 4366 4554 4367 # Broken: fails on valid input. 4555 4368 continue 4556 4369 fi 4370 4557 4371 rm -f conftest.err conftest.$ac_ext 4558 4372 4559 4373 # OK, works on sane cases. Now check whether nonexistent headers 4560 4374 # can be detected and how. 4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4375 cat >conftest.$ac_ext <<_ACEOF 4376 /* confdefs.h. */ 4377 _ACEOF 4378 cat confdefs.h >>conftest.$ac_ext 4379 cat >>conftest.$ac_ext <<_ACEOF 4562 4380 /* end confdefs.h. */ 4563 4381 #include <ac_nonexistent.h> 4564 4382 _ACEOF 4565 if ac_fn_c_try_cpp "$LINENO"; then : 4383 if { (ac_try="$ac_cpp conftest.$ac_ext" 4384 case "(($ac_try" in 4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4386 *) ac_try_echo=$ac_try;; 4387 esac 4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4389 $as_echo "$ac_try_echo") >&5 4390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4391 ac_status=$? 4392 grep -v '^ *+' conftest.er1 >conftest.err 4393 rm -f conftest.er1 4394 cat conftest.err >&5 4395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4396 (exit $ac_status); } >/dev/null && { 4397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4398 test ! -s conftest.err 4399 }; then 4566 4400 # Broken: success on invalid input. 4567 4401 continue 4568 4402 else 4403 $as_echo "$as_me: failed program was:" >&5 4404 sed 's/^/| /' conftest.$ac_ext >&5 4405 4569 4406 # Passes both tests. 4570 4407 ac_preproc_ok=: 4571 4408 break 4572 4409 fi 4410 4573 4411 rm -f conftest.err conftest.$ac_ext 4574 4412 … … 4576 4414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4577 4415 rm -f conftest.err conftest.$ac_ext 4578 if $ac_preproc_ok; then :4579 4580 else 4581 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&54416 if $ac_preproc_ok; then 4417 : 4418 else 4419 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4582 4420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4583 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4584 See \`config.log' for more details." "$LINENO" 5; } 4421 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4422 See \`config.log' for more details." >&5 4423 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4424 See \`config.log' for more details." >&2;} 4425 { (exit 1); exit 1; }; }; } 4585 4426 fi 4586 4427 … … 4592 4433 4593 4434 4594 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&54435 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4595 4436 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4596 if test "${ac_cv_path_GREP+set}" = set; then :4437 if test "${ac_cv_path_GREP+set}" = set; then 4597 4438 $as_echo_n "(cached) " >&6 4598 4439 else … … 4605 4446 IFS=$as_save_IFS 4606 4447 test -z "$as_dir" && as_dir=. 4607 4448 for ac_prog in grep ggrep; do 4608 4449 for ac_exec_ext in '' $ac_executable_extensions; do 4609 4450 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 4625 4466 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4626 4467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4627 a s_fn_arith $ac_count + 1 && ac_count=$as_val4468 ac_count=`expr $ac_count + 1` 4628 4469 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4629 4470 # Best one so far, save it but keep looking for a better one … … 4640 4481 done 4641 4482 done 4642 4483 done 4643 4484 IFS=$as_save_IFS 4644 4485 if test -z "$ac_cv_path_GREP"; then 4645 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4486 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4487 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4488 { (exit 1); exit 1; }; } 4646 4489 fi 4647 4490 else … … 4650 4493 4651 4494 fi 4652 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&54495 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4653 4496 $as_echo "$ac_cv_path_GREP" >&6; } 4654 4497 GREP="$ac_cv_path_GREP" 4655 4498 4656 4499 4657 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&54500 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4658 4501 $as_echo_n "checking for egrep... " >&6; } 4659 if test "${ac_cv_path_EGREP+set}" = set; then :4502 if test "${ac_cv_path_EGREP+set}" = set; then 4660 4503 $as_echo_n "(cached) " >&6 4661 4504 else … … 4671 4514 IFS=$as_save_IFS 4672 4515 test -z "$as_dir" && as_dir=. 4673 4516 for ac_prog in egrep; do 4674 4517 for ac_exec_ext in '' $ac_executable_extensions; do 4675 4518 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 4691 4534 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4692 4535 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4693 a s_fn_arith $ac_count + 1 && ac_count=$as_val4536 ac_count=`expr $ac_count + 1` 4694 4537 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4695 4538 # Best one so far, save it but keep looking for a better one … … 4706 4549 done 4707 4550 done 4708 4551 done 4709 4552 IFS=$as_save_IFS 4710 4553 if test -z "$ac_cv_path_EGREP"; then 4711 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4554 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4555 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4556 { (exit 1); exit 1; }; } 4712 4557 fi 4713 4558 else … … 4717 4562 fi 4718 4563 fi 4719 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54564 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4720 4565 $as_echo "$ac_cv_path_EGREP" >&6; } 4721 4566 EGREP="$ac_cv_path_EGREP" 4722 4567 4723 4568 4724 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&54569 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4725 4570 $as_echo_n "checking for ANSI C header files... " >&6; } 4726 if test "${ac_cv_header_stdc+set}" = set; then :4571 if test "${ac_cv_header_stdc+set}" = set; then 4727 4572 $as_echo_n "(cached) " >&6 4728 4573 else 4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4574 cat >conftest.$ac_ext <<_ACEOF 4575 /* confdefs.h. */ 4576 _ACEOF 4577 cat confdefs.h >>conftest.$ac_ext 4578 cat >>conftest.$ac_ext <<_ACEOF 4730 4579 /* end confdefs.h. */ 4731 4580 #include <stdlib.h> … … 4742 4591 } 4743 4592 _ACEOF 4744 if ac_fn_c_try_compile "$LINENO"; then : 4593 rm -f conftest.$ac_objext 4594 if { (ac_try="$ac_compile" 4595 case "(($ac_try" in 4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4597 *) ac_try_echo=$ac_try;; 4598 esac 4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4600 $as_echo "$ac_try_echo") >&5 4601 (eval "$ac_compile") 2>conftest.er1 4602 ac_status=$? 4603 grep -v '^ *+' conftest.er1 >conftest.err 4604 rm -f conftest.er1 4605 cat conftest.err >&5 4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 (exit $ac_status); } && { 4608 test -z "$ac_c_werror_flag" || 4609 test ! -s conftest.err 4610 } && test -s conftest.$ac_objext; then 4745 4611 ac_cv_header_stdc=yes 4746 4612 else 4747 ac_cv_header_stdc=no 4748 fi 4613 $as_echo "$as_me: failed program was:" >&5 4614 sed 's/^/| /' conftest.$ac_ext >&5 4615 4616 ac_cv_header_stdc=no 4617 fi 4618 4749 4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4750 4620 4751 4621 if test $ac_cv_header_stdc = yes; then 4752 4622 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4623 cat >conftest.$ac_ext <<_ACEOF 4624 /* confdefs.h. */ 4625 _ACEOF 4626 cat confdefs.h >>conftest.$ac_ext 4627 cat >>conftest.$ac_ext <<_ACEOF 4754 4628 /* end confdefs.h. */ 4755 4629 #include <string.h> … … 4757 4631 _ACEOF 4758 4632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4759 $EGREP "memchr" >/dev/null 2>&1; then :4760 4633 $EGREP "memchr" >/dev/null 2>&1; then 4634 : 4761 4635 else 4762 4636 ac_cv_header_stdc=no … … 4768 4642 if test $ac_cv_header_stdc = yes; then 4769 4643 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4644 cat >conftest.$ac_ext <<_ACEOF 4645 /* confdefs.h. */ 4646 _ACEOF 4647 cat confdefs.h >>conftest.$ac_ext 4648 cat >>conftest.$ac_ext <<_ACEOF 4771 4649 /* end confdefs.h. */ 4772 4650 #include <stdlib.h> … … 4774 4652 _ACEOF 4775 4653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4776 $EGREP "free" >/dev/null 2>&1; then :4777 4654 $EGREP "free" >/dev/null 2>&1; then 4655 : 4778 4656 else 4779 4657 ac_cv_header_stdc=no … … 4785 4663 if test $ac_cv_header_stdc = yes; then 4786 4664 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4787 if test "$cross_compiling" = yes; then :4665 if test "$cross_compiling" = yes; then 4788 4666 : 4789 4667 else 4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4668 cat >conftest.$ac_ext <<_ACEOF 4669 /* confdefs.h. */ 4670 _ACEOF 4671 cat confdefs.h >>conftest.$ac_ext 4672 cat >>conftest.$ac_ext <<_ACEOF 4791 4673 /* end confdefs.h. */ 4792 4674 #include <ctype.h> … … 4815 4697 } 4816 4698 _ACEOF 4817 if ac_fn_c_try_run "$LINENO"; then : 4818 4819 else 4820 ac_cv_header_stdc=no 4821 fi 4822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4823 conftest.$ac_objext conftest.beam conftest.$ac_ext 4824 fi 4825 4826 fi 4827 fi 4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4699 rm -f conftest$ac_exeext 4700 if { (ac_try="$ac_link" 4701 case "(($ac_try" in 4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4703 *) ac_try_echo=$ac_try;; 4704 esac 4705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4706 $as_echo "$ac_try_echo") >&5 4707 (eval "$ac_link") 2>&5 4708 ac_status=$? 4709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4711 { (case "(($ac_try" in 4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4713 *) ac_try_echo=$ac_try;; 4714 esac 4715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4716 $as_echo "$ac_try_echo") >&5 4717 (eval "$ac_try") 2>&5 4718 ac_status=$? 4719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4720 (exit $ac_status); }; }; then 4721 : 4722 else 4723 $as_echo "$as_me: program exited with status $ac_status" >&5 4724 $as_echo "$as_me: failed program was:" >&5 4725 sed 's/^/| /' conftest.$ac_ext >&5 4726 4727 ( exit $ac_status ) 4728 ac_cv_header_stdc=no 4729 fi 4730 rm -rf conftest.dSYM 4731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4732 fi 4733 4734 4735 fi 4736 fi 4737 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4829 4738 $as_echo "$ac_cv_header_stdc" >&6; } 4830 4739 if test $ac_cv_header_stdc = yes; then 4831 4740 4832 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4741 cat >>confdefs.h <<\_ACEOF 4742 #define STDC_HEADERS 1 4743 _ACEOF 4833 4744 4834 4745 fi 4835 4746 4836 4747 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4748 4749 4750 4751 4752 4753 4754 4755 4756 4837 4757 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4838 4758 inttypes.h stdint.h unistd.h 4839 do : 4840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4841 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4842 " 4843 eval as_val=\$$as_ac_Header 4844 if test "x$as_val" = x""yes; then : 4759 do 4760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4761 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4762 $as_echo_n "checking for $ac_header... " >&6; } 4763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4764 $as_echo_n "(cached) " >&6 4765 else 4766 cat >conftest.$ac_ext <<_ACEOF 4767 /* confdefs.h. */ 4768 _ACEOF 4769 cat confdefs.h >>conftest.$ac_ext 4770 cat >>conftest.$ac_ext <<_ACEOF 4771 /* end confdefs.h. */ 4772 $ac_includes_default 4773 4774 #include <$ac_header> 4775 _ACEOF 4776 rm -f conftest.$ac_objext 4777 if { (ac_try="$ac_compile" 4778 case "(($ac_try" in 4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4780 *) ac_try_echo=$ac_try;; 4781 esac 4782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4783 $as_echo "$ac_try_echo") >&5 4784 (eval "$ac_compile") 2>conftest.er1 4785 ac_status=$? 4786 grep -v '^ *+' conftest.er1 >conftest.err 4787 rm -f conftest.er1 4788 cat conftest.err >&5 4789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4790 (exit $ac_status); } && { 4791 test -z "$ac_c_werror_flag" || 4792 test ! -s conftest.err 4793 } && test -s conftest.$ac_objext; then 4794 eval "$as_ac_Header=yes" 4795 else 4796 $as_echo "$as_me: failed program was:" >&5 4797 sed 's/^/| /' conftest.$ac_ext >&5 4798 4799 eval "$as_ac_Header=no" 4800 fi 4801 4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4803 fi 4804 ac_res=`eval 'as_val=${'$as_ac_Header'} 4805 $as_echo "$as_val"'` 4806 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4807 $as_echo "$ac_res" >&6; } 4808 as_val=`eval 'as_val=${'$as_ac_Header'} 4809 $as_echo "$as_val"'` 4810 if test "x$as_val" = x""yes; then 4845 4811 cat >>confdefs.h <<_ACEOF 4846 4812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 4853 4819 4854 4820 4855 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4856 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4821 if test "${ac_cv_header_minix_config_h+set}" = set; then 4822 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4823 $as_echo_n "checking for minix/config.h... " >&6; } 4824 if test "${ac_cv_header_minix_config_h+set}" = set; then 4825 $as_echo_n "(cached) " >&6 4826 fi 4827 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4828 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4829 else 4830 # Is the header compilable? 4831 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4832 $as_echo_n "checking minix/config.h usability... " >&6; } 4833 cat >conftest.$ac_ext <<_ACEOF 4834 /* confdefs.h. */ 4835 _ACEOF 4836 cat confdefs.h >>conftest.$ac_ext 4837 cat >>conftest.$ac_ext <<_ACEOF 4838 /* end confdefs.h. */ 4839 $ac_includes_default 4840 #include <minix/config.h> 4841 _ACEOF 4842 rm -f conftest.$ac_objext 4843 if { (ac_try="$ac_compile" 4844 case "(($ac_try" in 4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4846 *) ac_try_echo=$ac_try;; 4847 esac 4848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4849 $as_echo "$ac_try_echo") >&5 4850 (eval "$ac_compile") 2>conftest.er1 4851 ac_status=$? 4852 grep -v '^ *+' conftest.er1 >conftest.err 4853 rm -f conftest.er1 4854 cat conftest.err >&5 4855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4856 (exit $ac_status); } && { 4857 test -z "$ac_c_werror_flag" || 4858 test ! -s conftest.err 4859 } && test -s conftest.$ac_objext; then 4860 ac_header_compiler=yes 4861 else 4862 $as_echo "$as_me: failed program was:" >&5 4863 sed 's/^/| /' conftest.$ac_ext >&5 4864 4865 ac_header_compiler=no 4866 fi 4867 4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4869 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4870 $as_echo "$ac_header_compiler" >&6; } 4871 4872 # Is the header present? 4873 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4874 $as_echo_n "checking minix/config.h presence... " >&6; } 4875 cat >conftest.$ac_ext <<_ACEOF 4876 /* confdefs.h. */ 4877 _ACEOF 4878 cat confdefs.h >>conftest.$ac_ext 4879 cat >>conftest.$ac_ext <<_ACEOF 4880 /* end confdefs.h. */ 4881 #include <minix/config.h> 4882 _ACEOF 4883 if { (ac_try="$ac_cpp conftest.$ac_ext" 4884 case "(($ac_try" in 4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4886 *) ac_try_echo=$ac_try;; 4887 esac 4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4889 $as_echo "$ac_try_echo") >&5 4890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4891 ac_status=$? 4892 grep -v '^ *+' conftest.er1 >conftest.err 4893 rm -f conftest.er1 4894 cat conftest.err >&5 4895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 (exit $ac_status); } >/dev/null && { 4897 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4898 test ! -s conftest.err 4899 }; then 4900 ac_header_preproc=yes 4901 else 4902 $as_echo "$as_me: failed program was:" >&5 4903 sed 's/^/| /' conftest.$ac_ext >&5 4904 4905 ac_header_preproc=no 4906 fi 4907 4908 rm -f conftest.err conftest.$ac_ext 4909 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4910 $as_echo "$ac_header_preproc" >&6; } 4911 4912 # So? What about this header? 4913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4914 yes:no: ) 4915 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4916 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4917 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4918 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4919 ac_header_preproc=yes 4920 ;; 4921 no:yes:* ) 4922 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4923 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4924 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4925 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4926 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4927 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4928 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4929 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4930 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4931 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4932 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4933 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4934 4935 ;; 4936 esac 4937 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4938 $as_echo_n "checking for minix/config.h... " >&6; } 4939 if test "${ac_cv_header_minix_config_h+set}" = set; then 4940 $as_echo_n "(cached) " >&6 4941 else 4942 ac_cv_header_minix_config_h=$ac_header_preproc 4943 fi 4944 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4945 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4946 4947 fi 4948 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4857 4949 MINIX=yes 4858 4950 else … … 4863 4955 if test "$MINIX" = yes; then 4864 4956 4865 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4866 4867 4868 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4869 4870 4871 $as_echo "#define _MINIX 1" >>confdefs.h 4957 cat >>confdefs.h <<\_ACEOF 4958 #define _POSIX_SOURCE 1 4959 _ACEOF 4960 4961 4962 cat >>confdefs.h <<\_ACEOF 4963 #define _POSIX_1_SOURCE 2 4964 _ACEOF 4965 4966 4967 cat >>confdefs.h <<\_ACEOF 4968 #define _MINIX 1 4969 _ACEOF 4872 4970 4873 4971 fi 4874 4972 4875 4973 4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4974 4975 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4877 4976 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4878 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :4977 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4879 4978 $as_echo_n "(cached) " >&6 4880 4979 else 4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4980 cat >conftest.$ac_ext <<_ACEOF 4981 /* confdefs.h. */ 4982 _ACEOF 4983 cat confdefs.h >>conftest.$ac_ext 4984 cat >>conftest.$ac_ext <<_ACEOF 4882 4985 /* end confdefs.h. */ 4883 4986 … … 4892 4995 } 4893 4996 _ACEOF 4894 if ac_fn_c_try_compile "$LINENO"; then : 4997 rm -f conftest.$ac_objext 4998 if { (ac_try="$ac_compile" 4999 case "(($ac_try" in 5000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5001 *) ac_try_echo=$ac_try;; 5002 esac 5003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5004 $as_echo "$ac_try_echo") >&5 5005 (eval "$ac_compile") 2>conftest.er1 5006 ac_status=$? 5007 grep -v '^ *+' conftest.er1 >conftest.err 5008 rm -f conftest.er1 5009 cat conftest.err >&5 5010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5011 (exit $ac_status); } && { 5012 test -z "$ac_c_werror_flag" || 5013 test ! -s conftest.err 5014 } && test -s conftest.$ac_objext; then 4895 5015 ac_cv_safe_to_define___extensions__=yes 4896 5016 else 4897 ac_cv_safe_to_define___extensions__=no 4898 fi 5017 $as_echo "$as_me: failed program was:" >&5 5018 sed 's/^/| /' conftest.$ac_ext >&5 5019 5020 ac_cv_safe_to_define___extensions__=no 5021 fi 5022 4899 5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4900 5024 fi 4901 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&55025 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4902 5026 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4903 5027 test $ac_cv_safe_to_define___extensions__ = yes && 4904 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4905 4906 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4907 4908 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4909 4910 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4911 4912 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4913 4914 4915 4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 5028 cat >>confdefs.h <<\_ACEOF 5029 #define __EXTENSIONS__ 1 5030 _ACEOF 5031 5032 cat >>confdefs.h <<\_ACEOF 5033 #define _ALL_SOURCE 1 5034 _ACEOF 5035 5036 cat >>confdefs.h <<\_ACEOF 5037 #define _GNU_SOURCE 1 5038 _ACEOF 5039 5040 cat >>confdefs.h <<\_ACEOF 5041 #define _POSIX_PTHREAD_SEMANTICS 1 5042 _ACEOF 5043 5044 cat >>confdefs.h <<\_ACEOF 5045 #define _TANDEM_SOURCE 1 5046 _ACEOF 5047 5048 5049 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 4917 5050 $as_echo_n "checking for library containing strerror... " >&6; } 4918 if test "${ac_cv_search_strerror+set}" = set; then :5051 if test "${ac_cv_search_strerror+set}" = set; then 4919 5052 $as_echo_n "(cached) " >&6 4920 5053 else 4921 5054 ac_func_search_save_LIBS=$LIBS 4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5055 cat >conftest.$ac_ext <<_ACEOF 5056 /* confdefs.h. */ 5057 _ACEOF 5058 cat confdefs.h >>conftest.$ac_ext 5059 cat >>conftest.$ac_ext <<_ACEOF 4923 5060 /* end confdefs.h. */ 4924 5061 … … 4945 5082 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4946 5083 fi 4947 if ac_fn_c_try_link "$LINENO"; then : 5084 rm -f conftest.$ac_objext conftest$ac_exeext 5085 if { (ac_try="$ac_link" 5086 case "(($ac_try" in 5087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5088 *) ac_try_echo=$ac_try;; 5089 esac 5090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5091 $as_echo "$ac_try_echo") >&5 5092 (eval "$ac_link") 2>conftest.er1 5093 ac_status=$? 5094 grep -v '^ *+' conftest.er1 >conftest.err 5095 rm -f conftest.er1 5096 cat conftest.err >&5 5097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5098 (exit $ac_status); } && { 5099 test -z "$ac_c_werror_flag" || 5100 test ! -s conftest.err 5101 } && test -s conftest$ac_exeext && { 5102 test "$cross_compiling" = yes || 5103 $as_test_x conftest$ac_exeext 5104 }; then 4948 5105 ac_cv_search_strerror=$ac_res 4949 fi 4950 rm -f core conftest.err conftest.$ac_objext \ 4951 conftest$ac_exeext 4952 if test "${ac_cv_search_strerror+set}" = set; then : 5106 else 5107 $as_echo "$as_me: failed program was:" >&5 5108 sed 's/^/| /' conftest.$ac_ext >&5 5109 5110 5111 fi 5112 5113 rm -rf conftest.dSYM 5114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5115 conftest$ac_exeext 5116 if test "${ac_cv_search_strerror+set}" = set; then 4953 5117 break 4954 5118 fi 4955 5119 done 4956 if test "${ac_cv_search_strerror+set}" = set; then :4957 5120 if test "${ac_cv_search_strerror+set}" = set; then 5121 : 4958 5122 else 4959 5123 ac_cv_search_strerror=no … … 4962 5126 LIBS=$ac_func_search_save_LIBS 4963 5127 fi 4964 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&55128 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4965 5129 $as_echo "$ac_cv_search_strerror" >&6; } 4966 5130 ac_res=$ac_cv_search_strerror 4967 if test "$ac_res" != no; then :5131 if test "$ac_res" != no; then 4968 5132 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4969 5133 … … 4971 5135 4972 5136 4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5137 if test "${ac_cv_header_minix_config_h+set}" = set; then 5138 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5139 $as_echo_n "checking for minix/config.h... " >&6; } 5140 if test "${ac_cv_header_minix_config_h+set}" = set; then 5141 $as_echo_n "(cached) " >&6 5142 fi 5143 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5144 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5145 else 5146 # Is the header compilable? 5147 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5148 $as_echo_n "checking minix/config.h usability... " >&6; } 5149 cat >conftest.$ac_ext <<_ACEOF 5150 /* confdefs.h. */ 5151 _ACEOF 5152 cat confdefs.h >>conftest.$ac_ext 5153 cat >>conftest.$ac_ext <<_ACEOF 5154 /* end confdefs.h. */ 5155 $ac_includes_default 5156 #include <minix/config.h> 5157 _ACEOF 5158 rm -f conftest.$ac_objext 5159 if { (ac_try="$ac_compile" 5160 case "(($ac_try" in 5161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5162 *) ac_try_echo=$ac_try;; 5163 esac 5164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5165 $as_echo "$ac_try_echo") >&5 5166 (eval "$ac_compile") 2>conftest.er1 5167 ac_status=$? 5168 grep -v '^ *+' conftest.er1 >conftest.err 5169 rm -f conftest.er1 5170 cat conftest.err >&5 5171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5172 (exit $ac_status); } && { 5173 test -z "$ac_c_werror_flag" || 5174 test ! -s conftest.err 5175 } && test -s conftest.$ac_objext; then 5176 ac_header_compiler=yes 5177 else 5178 $as_echo "$as_me: failed program was:" >&5 5179 sed 's/^/| /' conftest.$ac_ext >&5 5180 5181 ac_header_compiler=no 5182 fi 5183 5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5185 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5186 $as_echo "$ac_header_compiler" >&6; } 5187 5188 # Is the header present? 5189 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5190 $as_echo_n "checking minix/config.h presence... " >&6; } 5191 cat >conftest.$ac_ext <<_ACEOF 5192 /* confdefs.h. */ 5193 _ACEOF 5194 cat confdefs.h >>conftest.$ac_ext 5195 cat >>conftest.$ac_ext <<_ACEOF 5196 /* end confdefs.h. */ 5197 #include <minix/config.h> 5198 _ACEOF 5199 if { (ac_try="$ac_cpp conftest.$ac_ext" 5200 case "(($ac_try" in 5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5202 *) ac_try_echo=$ac_try;; 5203 esac 5204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5205 $as_echo "$ac_try_echo") >&5 5206 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5207 ac_status=$? 5208 grep -v '^ *+' conftest.er1 >conftest.err 5209 rm -f conftest.er1 5210 cat conftest.err >&5 5211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5212 (exit $ac_status); } >/dev/null && { 5213 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5214 test ! -s conftest.err 5215 }; then 5216 ac_header_preproc=yes 5217 else 5218 $as_echo "$as_me: failed program was:" >&5 5219 sed 's/^/| /' conftest.$ac_ext >&5 5220 5221 ac_header_preproc=no 5222 fi 5223 5224 rm -f conftest.err conftest.$ac_ext 5225 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5226 $as_echo "$ac_header_preproc" >&6; } 5227 5228 # So? What about this header? 5229 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5230 yes:no: ) 5231 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5232 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5233 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5234 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5235 ac_header_preproc=yes 5236 ;; 5237 no:yes:* ) 5238 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5239 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5240 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5241 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5242 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5243 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5244 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5245 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5246 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5247 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5248 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5249 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5250 5251 ;; 5252 esac 5253 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5254 $as_echo_n "checking for minix/config.h... " >&6; } 5255 if test "${ac_cv_header_minix_config_h+set}" = set; then 5256 $as_echo_n "(cached) " >&6 5257 else 5258 ac_cv_header_minix_config_h=$ac_header_preproc 5259 fi 5260 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5261 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5262 5263 fi 5264 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5265 MINIX=yes 5266 else 5267 MINIX= 5268 fi 5269 5270 5271 if test "$MINIX" = yes; then 5272 5273 cat >>confdefs.h <<\_ACEOF 5274 #define _POSIX_SOURCE 1 5275 _ACEOF 5276 5277 5278 cat >>confdefs.h <<\_ACEOF 5279 #define _POSIX_1_SOURCE 2 5280 _ACEOF 5281 5282 5283 cat >>confdefs.h <<\_ACEOF 5284 #define _MINIX 1 5285 _ACEOF 5286 5287 fi 5288 5289 5290 5291 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5292 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5293 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5294 $as_echo_n "(cached) " >&6 5295 else 5296 cat >conftest.$ac_ext <<_ACEOF 5297 /* confdefs.h. */ 5298 _ACEOF 5299 cat confdefs.h >>conftest.$ac_ext 5300 cat >>conftest.$ac_ext <<_ACEOF 5301 /* end confdefs.h. */ 5302 5303 # define __EXTENSIONS__ 1 5304 $ac_includes_default 5305 int 5306 main () 5307 { 5308 5309 ; 5310 return 0; 5311 } 5312 _ACEOF 5313 rm -f conftest.$ac_objext 5314 if { (ac_try="$ac_compile" 5315 case "(($ac_try" in 5316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5317 *) ac_try_echo=$ac_try;; 5318 esac 5319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5320 $as_echo "$ac_try_echo") >&5 5321 (eval "$ac_compile") 2>conftest.er1 5322 ac_status=$? 5323 grep -v '^ *+' conftest.er1 >conftest.err 5324 rm -f conftest.er1 5325 cat conftest.err >&5 5326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5327 (exit $ac_status); } && { 5328 test -z "$ac_c_werror_flag" || 5329 test ! -s conftest.err 5330 } && test -s conftest.$ac_objext; then 5331 ac_cv_safe_to_define___extensions__=yes 5332 else 5333 $as_echo "$as_me: failed program was:" >&5 5334 sed 's/^/| /' conftest.$ac_ext >&5 5335 5336 ac_cv_safe_to_define___extensions__=no 5337 fi 5338 5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5340 fi 5341 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5342 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5343 test $ac_cv_safe_to_define___extensions__ = yes && 5344 cat >>confdefs.h <<\_ACEOF 5345 #define __EXTENSIONS__ 1 5346 _ACEOF 5347 5348 cat >>confdefs.h <<\_ACEOF 5349 #define _ALL_SOURCE 1 5350 _ACEOF 5351 5352 cat >>confdefs.h <<\_ACEOF 5353 #define _GNU_SOURCE 1 5354 _ACEOF 5355 5356 cat >>confdefs.h <<\_ACEOF 5357 #define _POSIX_PTHREAD_SEMANTICS 1 5358 _ACEOF 5359 5360 cat >>confdefs.h <<\_ACEOF 5361 #define _TANDEM_SOURCE 1 5362 _ACEOF 5363 5364 5365 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4974 5366 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4975 if test "${ac_cv_prog_cc_stdc+set}" = set; then :5367 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4976 5368 $as_echo_n "(cached) " >&6 4977 5369 else … … 4987 5379 do 4988 5380 CFLAGS="$ac_save_CFLAGS $ac_arg" 4989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5381 cat >conftest.$ac_ext <<_ACEOF 5382 /* confdefs.h. */ 5383 _ACEOF 5384 cat confdefs.h >>conftest.$ac_ext 5385 cat >>conftest.$ac_ext <<_ACEOF 4990 5386 /* end confdefs.h. */ 4991 5387 #if !defined(__STDC__) || __STDC__ != 1 … … 5003 5399 } 5004 5400 _ACEOF 5005 if ac_fn_c_try_compile "$LINENO"; then : 5401 rm -f conftest.$ac_objext 5402 if { (ac_try="$ac_compile" 5403 case "(($ac_try" in 5404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5405 *) ac_try_echo=$ac_try;; 5406 esac 5407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5408 $as_echo "$ac_try_echo") >&5 5409 (eval "$ac_compile") 2>conftest.er1 5410 ac_status=$? 5411 grep -v '^ *+' conftest.er1 >conftest.err 5412 rm -f conftest.er1 5413 cat conftest.err >&5 5414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5415 (exit $ac_status); } && { 5416 test -z "$ac_c_werror_flag" || 5417 test ! -s conftest.err 5418 } && test -s conftest.$ac_objext; then 5006 5419 ac_cv_prog_cc_stdc="$ac_arg"; break 5007 fi 5420 else 5421 $as_echo "$as_me: failed program was:" >&5 5422 sed 's/^/| /' conftest.$ac_ext >&5 5423 5424 5425 fi 5426 5008 5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5009 5428 done … … 5012 5431 fi 5013 5432 5014 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&55433 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5015 5434 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 5016 5435 case "x$ac_cv_prog_cc_stdc" in … … 5020 5439 5021 5440 5022 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for function prototypes" >&55441 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5023 5442 $as_echo_n "checking for function prototypes... " >&6; } 5024 5443 if test "$ac_cv_prog_cc_stdc" != no; then 5025 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&55444 { $as_echo "$as_me:$LINENO: result: yes" >&5 5026 5445 $as_echo "yes" >&6; } 5027 $as_echo "#define PROTOTYPES 1" >>confdefs.h 5446 cat >>confdefs.h <<\_ACEOF 5447 #define PROTOTYPES 1 5448 _ACEOF 5028 5449 5029 5450 U= ANSI2KNR= 5030 5451 else 5031 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&55452 { $as_echo "$as_me:$LINENO: result: no" >&5 5032 5453 $as_echo "no" >&6; } 5033 5454 U=_ ANSI2KNR=ansi2knr 5034 5455 fi 5035 5456 5036 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&55457 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5037 5458 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5038 if test "${ac_cv_c_const+set}" = set; then :5459 if test "${ac_cv_c_const+set}" = set; then 5039 5460 $as_echo_n "(cached) " >&6 5040 5461 else 5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5462 cat >conftest.$ac_ext <<_ACEOF 5463 /* confdefs.h. */ 5464 _ACEOF 5465 cat confdefs.h >>conftest.$ac_ext 5466 cat >>conftest.$ac_ext <<_ACEOF 5042 5467 /* end confdefs.h. */ 5043 5468 … … 5099 5524 } 5100 5525 _ACEOF 5101 if ac_fn_c_try_compile "$LINENO"; then : 5526 rm -f conftest.$ac_objext 5527 if { (ac_try="$ac_compile" 5528 case "(($ac_try" in 5529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5530 *) ac_try_echo=$ac_try;; 5531 esac 5532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5533 $as_echo "$ac_try_echo") >&5 5534 (eval "$ac_compile") 2>conftest.er1 5535 ac_status=$? 5536 grep -v '^ *+' conftest.er1 >conftest.err 5537 rm -f conftest.er1 5538 cat conftest.err >&5 5539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5540 (exit $ac_status); } && { 5541 test -z "$ac_c_werror_flag" || 5542 test ! -s conftest.err 5543 } && test -s conftest.$ac_objext; then 5102 5544 ac_cv_c_const=yes 5103 5545 else 5104 ac_cv_c_const=no 5105 fi 5546 $as_echo "$as_me: failed program was:" >&5 5547 sed 's/^/| /' conftest.$ac_ext >&5 5548 5549 ac_cv_c_const=no 5550 fi 5551 5106 5552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5107 5553 fi 5108 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_const" >&55554 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5109 5555 $as_echo "$ac_cv_c_const" >&6; } 5110 5556 if test $ac_cv_c_const = no; then 5111 5557 5112 $as_echo "#define const /**/" >>confdefs.h 5113 5114 fi 5115 5116 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5117 if test "x$ac_cv_type_off_t" = x""yes; then : 5118 5558 cat >>confdefs.h <<\_ACEOF 5559 #define const /**/ 5560 _ACEOF 5561 5562 fi 5563 5564 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5565 $as_echo_n "checking for off_t... " >&6; } 5566 if test "${ac_cv_type_off_t+set}" = set; then 5567 $as_echo_n "(cached) " >&6 5568 else 5569 ac_cv_type_off_t=no 5570 cat >conftest.$ac_ext <<_ACEOF 5571 /* confdefs.h. */ 5572 _ACEOF 5573 cat confdefs.h >>conftest.$ac_ext 5574 cat >>conftest.$ac_ext <<_ACEOF 5575 /* end confdefs.h. */ 5576 $ac_includes_default 5577 int 5578 main () 5579 { 5580 if (sizeof (off_t)) 5581 return 0; 5582 ; 5583 return 0; 5584 } 5585 _ACEOF 5586 rm -f conftest.$ac_objext 5587 if { (ac_try="$ac_compile" 5588 case "(($ac_try" in 5589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5590 *) ac_try_echo=$ac_try;; 5591 esac 5592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5593 $as_echo "$ac_try_echo") >&5 5594 (eval "$ac_compile") 2>conftest.er1 5595 ac_status=$? 5596 grep -v '^ *+' conftest.er1 >conftest.err 5597 rm -f conftest.er1 5598 cat conftest.err >&5 5599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5600 (exit $ac_status); } && { 5601 test -z "$ac_c_werror_flag" || 5602 test ! -s conftest.err 5603 } && test -s conftest.$ac_objext; then 5604 cat >conftest.$ac_ext <<_ACEOF 5605 /* confdefs.h. */ 5606 _ACEOF 5607 cat confdefs.h >>conftest.$ac_ext 5608 cat >>conftest.$ac_ext <<_ACEOF 5609 /* end confdefs.h. */ 5610 $ac_includes_default 5611 int 5612 main () 5613 { 5614 if (sizeof ((off_t))) 5615 return 0; 5616 ; 5617 return 0; 5618 } 5619 _ACEOF 5620 rm -f conftest.$ac_objext 5621 if { (ac_try="$ac_compile" 5622 case "(($ac_try" in 5623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5624 *) ac_try_echo=$ac_try;; 5625 esac 5626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5627 $as_echo "$ac_try_echo") >&5 5628 (eval "$ac_compile") 2>conftest.er1 5629 ac_status=$? 5630 grep -v '^ *+' conftest.er1 >conftest.err 5631 rm -f conftest.er1 5632 cat conftest.err >&5 5633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5634 (exit $ac_status); } && { 5635 test -z "$ac_c_werror_flag" || 5636 test ! -s conftest.err 5637 } && test -s conftest.$ac_objext; then 5638 : 5639 else 5640 $as_echo "$as_me: failed program was:" >&5 5641 sed 's/^/| /' conftest.$ac_ext >&5 5642 5643 ac_cv_type_off_t=yes 5644 fi 5645 5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5647 else 5648 $as_echo "$as_me: failed program was:" >&5 5649 sed 's/^/| /' conftest.$ac_ext >&5 5650 5651 5652 fi 5653 5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5655 fi 5656 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5657 $as_echo "$ac_cv_type_off_t" >&6; } 5658 if test "x$ac_cv_type_off_t" = x""yes; then 5659 : 5119 5660 else 5120 5661 … … 5125 5666 fi 5126 5667 5127 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5128 if test "x$ac_cv_type_size_t" = x""yes; then : 5129 5668 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5669 $as_echo_n "checking for size_t... " >&6; } 5670 if test "${ac_cv_type_size_t+set}" = set; then 5671 $as_echo_n "(cached) " >&6 5672 else 5673 ac_cv_type_size_t=no 5674 cat >conftest.$ac_ext <<_ACEOF 5675 /* confdefs.h. */ 5676 _ACEOF 5677 cat confdefs.h >>conftest.$ac_ext 5678 cat >>conftest.$ac_ext <<_ACEOF 5679 /* end confdefs.h. */ 5680 $ac_includes_default 5681 int 5682 main () 5683 { 5684 if (sizeof (size_t)) 5685 return 0; 5686 ; 5687 return 0; 5688 } 5689 _ACEOF 5690 rm -f conftest.$ac_objext 5691 if { (ac_try="$ac_compile" 5692 case "(($ac_try" in 5693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5694 *) ac_try_echo=$ac_try;; 5695 esac 5696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5697 $as_echo "$ac_try_echo") >&5 5698 (eval "$ac_compile") 2>conftest.er1 5699 ac_status=$? 5700 grep -v '^ *+' conftest.er1 >conftest.err 5701 rm -f conftest.er1 5702 cat conftest.err >&5 5703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5704 (exit $ac_status); } && { 5705 test -z "$ac_c_werror_flag" || 5706 test ! -s conftest.err 5707 } && test -s conftest.$ac_objext; then 5708 cat >conftest.$ac_ext <<_ACEOF 5709 /* confdefs.h. */ 5710 _ACEOF 5711 cat confdefs.h >>conftest.$ac_ext 5712 cat >>conftest.$ac_ext <<_ACEOF 5713 /* end confdefs.h. */ 5714 $ac_includes_default 5715 int 5716 main () 5717 { 5718 if (sizeof ((size_t))) 5719 return 0; 5720 ; 5721 return 0; 5722 } 5723 _ACEOF 5724 rm -f conftest.$ac_objext 5725 if { (ac_try="$ac_compile" 5726 case "(($ac_try" in 5727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5728 *) ac_try_echo=$ac_try;; 5729 esac 5730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5731 $as_echo "$ac_try_echo") >&5 5732 (eval "$ac_compile") 2>conftest.er1 5733 ac_status=$? 5734 grep -v '^ *+' conftest.er1 >conftest.err 5735 rm -f conftest.er1 5736 cat conftest.err >&5 5737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5738 (exit $ac_status); } && { 5739 test -z "$ac_c_werror_flag" || 5740 test ! -s conftest.err 5741 } && test -s conftest.$ac_objext; then 5742 : 5743 else 5744 $as_echo "$as_me: failed program was:" >&5 5745 sed 's/^/| /' conftest.$ac_ext >&5 5746 5747 ac_cv_type_size_t=yes 5748 fi 5749 5750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5751 else 5752 $as_echo "$as_me: failed program was:" >&5 5753 sed 's/^/| /' conftest.$ac_ext >&5 5754 5755 5756 fi 5757 5758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5759 fi 5760 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5761 $as_echo "$ac_cv_type_size_t" >&6; } 5762 if test "x$ac_cv_type_size_t" = x""yes; then 5763 : 5130 5764 else 5131 5765 … … 5136 5770 fi 5137 5771 5138 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&55772 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5139 5773 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 5140 if test "${ac_cv_header_time+set}" = set; then :5774 if test "${ac_cv_header_time+set}" = set; then 5141 5775 $as_echo_n "(cached) " >&6 5142 5776 else 5143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5777 cat >conftest.$ac_ext <<_ACEOF 5778 /* confdefs.h. */ 5779 _ACEOF 5780 cat confdefs.h >>conftest.$ac_ext 5781 cat >>conftest.$ac_ext <<_ACEOF 5144 5782 /* end confdefs.h. */ 5145 5783 #include <sys/types.h> … … 5156 5794 } 5157 5795 _ACEOF 5158 if ac_fn_c_try_compile "$LINENO"; then : 5796 rm -f conftest.$ac_objext 5797 if { (ac_try="$ac_compile" 5798 case "(($ac_try" in 5799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5800 *) ac_try_echo=$ac_try;; 5801 esac 5802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5803 $as_echo "$ac_try_echo") >&5 5804 (eval "$ac_compile") 2>conftest.er1 5805 ac_status=$? 5806 grep -v '^ *+' conftest.er1 >conftest.err 5807 rm -f conftest.er1 5808 cat conftest.err >&5 5809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5810 (exit $ac_status); } && { 5811 test -z "$ac_c_werror_flag" || 5812 test ! -s conftest.err 5813 } && test -s conftest.$ac_objext; then 5159 5814 ac_cv_header_time=yes 5160 5815 else 5161 ac_cv_header_time=no 5162 fi 5816 $as_echo "$as_me: failed program was:" >&5 5817 sed 's/^/| /' conftest.$ac_ext >&5 5818 5819 ac_cv_header_time=no 5820 fi 5821 5163 5822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5164 5823 fi 5165 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_header_time" >&55824 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5166 5825 $as_echo "$ac_cv_header_time" >&6; } 5167 5826 if test $ac_cv_header_time = yes; then 5168 5827 5169 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5170 5171 fi 5172 5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 5828 cat >>confdefs.h <<\_ACEOF 5829 #define TIME_WITH_SYS_TIME 1 5830 _ACEOF 5831 5832 fi 5833 5834 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5174 5835 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5175 if test "${ac_cv_struct_tm+set}" = set; then :5836 if test "${ac_cv_struct_tm+set}" = set; then 5176 5837 $as_echo_n "(cached) " >&6 5177 5838 else 5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5839 cat >conftest.$ac_ext <<_ACEOF 5840 /* confdefs.h. */ 5841 _ACEOF 5842 cat confdefs.h >>conftest.$ac_ext 5843 cat >>conftest.$ac_ext <<_ACEOF 5179 5844 /* end confdefs.h. */ 5180 5845 #include <sys/types.h> … … 5191 5856 } 5192 5857 _ACEOF 5193 if ac_fn_c_try_compile "$LINENO"; then : 5858 rm -f conftest.$ac_objext 5859 if { (ac_try="$ac_compile" 5860 case "(($ac_try" in 5861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5862 *) ac_try_echo=$ac_try;; 5863 esac 5864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5865 $as_echo "$ac_try_echo") >&5 5866 (eval "$ac_compile") 2>conftest.er1 5867 ac_status=$? 5868 grep -v '^ *+' conftest.er1 >conftest.err 5869 rm -f conftest.er1 5870 cat conftest.err >&5 5871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5872 (exit $ac_status); } && { 5873 test -z "$ac_c_werror_flag" || 5874 test ! -s conftest.err 5875 } && test -s conftest.$ac_objext; then 5194 5876 ac_cv_struct_tm=time.h 5195 5877 else 5196 ac_cv_struct_tm=sys/time.h 5197 fi 5878 $as_echo "$as_me: failed program was:" >&5 5879 sed 's/^/| /' conftest.$ac_ext >&5 5880 5881 ac_cv_struct_tm=sys/time.h 5882 fi 5883 5198 5884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5199 5885 fi 5200 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&55886 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5201 5887 $as_echo "$ac_cv_struct_tm" >&6; } 5202 5888 if test $ac_cv_struct_tm = sys/time.h; then 5203 5889 5204 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5890 cat >>confdefs.h <<\_ACEOF 5891 #define TM_IN_SYS_TIME 1 5892 _ACEOF 5205 5893 5206 5894 fi … … 5209 5897 5210 5898 # Check whether --with-unac was given. 5211 if test "${with_unac+set}" = set; then :5899 if test "${with_unac+set}" = set; then 5212 5900 withval=$with_unac; UNAC_DIR=$withval 5213 5901 else … … 5227 5915 5228 5916 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5917 cat >conftest.$ac_ext <<_ACEOF 5918 /* confdefs.h. */ 5919 _ACEOF 5920 cat confdefs.h >>conftest.$ac_ext 5921 cat >>conftest.$ac_ext <<_ACEOF 5230 5922 /* end confdefs.h. */ 5231 5923 #include <stdio.h> … … 5239 5931 } 5240 5932 _ACEOF 5241 if ac_fn_c_try_compile "$LINENO"; then : 5242 5243 else 5244 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5245 fi 5933 rm -f conftest.$ac_objext 5934 if { (ac_try="$ac_compile" 5935 case "(($ac_try" in 5936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5937 *) ac_try_echo=$ac_try;; 5938 esac 5939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5940 $as_echo "$ac_try_echo") >&5 5941 (eval "$ac_compile") 2>conftest.er1 5942 ac_status=$? 5943 grep -v '^ *+' conftest.er1 >conftest.err 5944 rm -f conftest.er1 5945 cat conftest.err >&5 5946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5947 (exit $ac_status); } && { 5948 test -z "$ac_c_werror_flag" || 5949 test ! -s conftest.err 5950 } && test -s conftest.$ac_objext; then 5951 : 5952 else 5953 $as_echo "$as_me: failed program was:" >&5 5954 sed 's/^/| /' conftest.$ac_ext >&5 5955 5956 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5957 fi 5958 5246 5959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5247 5960 fi 5248 5961 5249 5962 5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 5963 5964 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 5251 5965 $as_echo_n "checking for main in -lg... " >&6; } 5252 if test "${ac_cv_lib_g_main+set}" = set; then :5966 if test "${ac_cv_lib_g_main+set}" = set; then 5253 5967 $as_echo_n "(cached) " >&6 5254 5968 else 5255 5969 ac_check_lib_save_LIBS=$LIBS 5256 5970 LIBS="-lg $LIBS" 5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5971 cat >conftest.$ac_ext <<_ACEOF 5972 /* confdefs.h. */ 5973 _ACEOF 5974 cat confdefs.h >>conftest.$ac_ext 5975 cat >>conftest.$ac_ext <<_ACEOF 5258 5976 /* end confdefs.h. */ 5259 5977 … … 5267 5985 } 5268 5986 _ACEOF 5269 if ac_fn_c_try_link "$LINENO"; then : 5987 rm -f conftest.$ac_objext conftest$ac_exeext 5988 if { (ac_try="$ac_link" 5989 case "(($ac_try" in 5990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5991 *) ac_try_echo=$ac_try;; 5992 esac 5993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5994 $as_echo "$ac_try_echo") >&5 5995 (eval "$ac_link") 2>conftest.er1 5996 ac_status=$? 5997 grep -v '^ *+' conftest.er1 >conftest.err 5998 rm -f conftest.er1 5999 cat conftest.err >&5 6000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6001 (exit $ac_status); } && { 6002 test -z "$ac_c_werror_flag" || 6003 test ! -s conftest.err 6004 } && test -s conftest$ac_exeext && { 6005 test "$cross_compiling" = yes || 6006 $as_test_x conftest$ac_exeext 6007 }; then 5270 6008 ac_cv_lib_g_main=yes 5271 6009 else 5272 ac_cv_lib_g_main=no 5273 fi 5274 rm -f core conftest.err conftest.$ac_objext \ 5275 conftest$ac_exeext conftest.$ac_ext 6010 $as_echo "$as_me: failed program was:" >&5 6011 sed 's/^/| /' conftest.$ac_ext >&5 6012 6013 ac_cv_lib_g_main=no 6014 fi 6015 6016 rm -rf conftest.dSYM 6017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6018 conftest$ac_exeext conftest.$ac_ext 5276 6019 LIBS=$ac_check_lib_save_LIBS 5277 6020 fi 5278 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&56021 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5279 6022 $as_echo "$ac_cv_lib_g_main" >&6; } 5280 if test "x$ac_cv_lib_g_main" = x""yes; then :6023 if test "x$ac_cv_lib_g_main" = x""yes; then 5281 6024 cat >>confdefs.h <<_ACEOF 5282 6025 #define HAVE_LIBG 1 … … 5287 6030 fi 5288 6031 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 6032 6033 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5290 6034 $as_echo_n "checking for main in -lm... " >&6; } 5291 if test "${ac_cv_lib_m_main+set}" = set; then :6035 if test "${ac_cv_lib_m_main+set}" = set; then 5292 6036 $as_echo_n "(cached) " >&6 5293 6037 else 5294 6038 ac_check_lib_save_LIBS=$LIBS 5295 6039 LIBS="-lm $LIBS" 5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6040 cat >conftest.$ac_ext <<_ACEOF 6041 /* confdefs.h. */ 6042 _ACEOF 6043 cat confdefs.h >>conftest.$ac_ext 6044 cat >>conftest.$ac_ext <<_ACEOF 5297 6045 /* end confdefs.h. */ 5298 6046 … … 5306 6054 } 5307 6055 _ACEOF 5308 if ac_fn_c_try_link "$LINENO"; then : 6056 rm -f conftest.$ac_objext conftest$ac_exeext 6057 if { (ac_try="$ac_link" 6058 case "(($ac_try" in 6059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6060 *) ac_try_echo=$ac_try;; 6061 esac 6062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6063 $as_echo "$ac_try_echo") >&5 6064 (eval "$ac_link") 2>conftest.er1 6065 ac_status=$? 6066 grep -v '^ *+' conftest.er1 >conftest.err 6067 rm -f conftest.er1 6068 cat conftest.err >&5 6069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6070 (exit $ac_status); } && { 6071 test -z "$ac_c_werror_flag" || 6072 test ! -s conftest.err 6073 } && test -s conftest$ac_exeext && { 6074 test "$cross_compiling" = yes || 6075 $as_test_x conftest$ac_exeext 6076 }; then 5309 6077 ac_cv_lib_m_main=yes 5310 6078 else 5311 ac_cv_lib_m_main=no 5312 fi 5313 rm -f core conftest.err conftest.$ac_objext \ 5314 conftest$ac_exeext conftest.$ac_ext 6079 $as_echo "$as_me: failed program was:" >&5 6080 sed 's/^/| /' conftest.$ac_ext >&5 6081 6082 ac_cv_lib_m_main=no 6083 fi 6084 6085 rm -rf conftest.dSYM 6086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6087 conftest$ac_exeext conftest.$ac_ext 5315 6088 LIBS=$ac_check_lib_save_LIBS 5316 6089 fi 5317 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&56090 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5318 6091 $as_echo "$ac_cv_lib_m_main" >&6; } 5319 if test "x$ac_cv_lib_m_main" = x""yes; then :6092 if test "x$ac_cv_lib_m_main" = x""yes; then 5320 6093 cat >>confdefs.h <<_ACEOF 5321 6094 #define HAVE_LIBM 1 … … 5326 6099 fi 5327 6100 5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 6101 6102 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5329 6103 $as_echo_n "checking for main in -lstdc++... " >&6; } 5330 if test "${ac_cv_lib_stdcpp_main+set}" = set; then :6104 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5331 6105 $as_echo_n "(cached) " >&6 5332 6106 else 5333 6107 ac_check_lib_save_LIBS=$LIBS 5334 6108 LIBS="-lstdc++ $LIBS" 5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6109 cat >conftest.$ac_ext <<_ACEOF 6110 /* confdefs.h. */ 6111 _ACEOF 6112 cat confdefs.h >>conftest.$ac_ext 6113 cat >>conftest.$ac_ext <<_ACEOF 5336 6114 /* end confdefs.h. */ 5337 6115 … … 5345 6123 } 5346 6124 _ACEOF 5347 if ac_fn_c_try_link "$LINENO"; then : 6125 rm -f conftest.$ac_objext conftest$ac_exeext 6126 if { (ac_try="$ac_link" 6127 case "(($ac_try" in 6128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6129 *) ac_try_echo=$ac_try;; 6130 esac 6131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6132 $as_echo "$ac_try_echo") >&5 6133 (eval "$ac_link") 2>conftest.er1 6134 ac_status=$? 6135 grep -v '^ *+' conftest.er1 >conftest.err 6136 rm -f conftest.er1 6137 cat conftest.err >&5 6138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6139 (exit $ac_status); } && { 6140 test -z "$ac_c_werror_flag" || 6141 test ! -s conftest.err 6142 } && test -s conftest$ac_exeext && { 6143 test "$cross_compiling" = yes || 6144 $as_test_x conftest$ac_exeext 6145 }; then 5348 6146 ac_cv_lib_stdcpp_main=yes 5349 6147 else 5350 ac_cv_lib_stdcpp_main=no 5351 fi 5352 rm -f core conftest.err conftest.$ac_objext \ 5353 conftest$ac_exeext conftest.$ac_ext 6148 $as_echo "$as_me: failed program was:" >&5 6149 sed 's/^/| /' conftest.$ac_ext >&5 6150 6151 ac_cv_lib_stdcpp_main=no 6152 fi 6153 6154 rm -rf conftest.dSYM 6155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6156 conftest$ac_exeext conftest.$ac_ext 5354 6157 LIBS=$ac_check_lib_save_LIBS 5355 6158 fi 5356 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&56159 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 5357 6160 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 5358 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then :6161 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then 5359 6162 cat >>confdefs.h <<_ACEOF 5360 6163 #define HAVE_LIBSTDC__ 1 … … 5365 6168 fi 5366 6169 5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 6170 6171 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5368 6172 $as_echo_n "checking for main in -lcrypt... " >&6; } 5369 if test "${ac_cv_lib_crypt_main+set}" = set; then :6173 if test "${ac_cv_lib_crypt_main+set}" = set; then 5370 6174 $as_echo_n "(cached) " >&6 5371 6175 else 5372 6176 ac_check_lib_save_LIBS=$LIBS 5373 6177 LIBS="-lcrypt $LIBS" 5374 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 5375 6183 /* end confdefs.h. */ 5376 6184 … … 5384 6192 } 5385 6193 _ACEOF 5386 if ac_fn_c_try_link "$LINENO"; then : 6194 rm -f conftest.$ac_objext conftest$ac_exeext 6195 if { (ac_try="$ac_link" 6196 case "(($ac_try" in 6197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6198 *) ac_try_echo=$ac_try;; 6199 esac 6200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6201 $as_echo "$ac_try_echo") >&5 6202 (eval "$ac_link") 2>conftest.er1 6203 ac_status=$? 6204 grep -v '^ *+' conftest.er1 >conftest.err 6205 rm -f conftest.er1 6206 cat conftest.err >&5 6207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6208 (exit $ac_status); } && { 6209 test -z "$ac_c_werror_flag" || 6210 test ! -s conftest.err 6211 } && test -s conftest$ac_exeext && { 6212 test "$cross_compiling" = yes || 6213 $as_test_x conftest$ac_exeext 6214 }; then 5387 6215 ac_cv_lib_crypt_main=yes 5388 6216 else 5389 ac_cv_lib_crypt_main=no 5390 fi 5391 rm -f core conftest.err conftest.$ac_objext \ 5392 conftest$ac_exeext conftest.$ac_ext 6217 $as_echo "$as_me: failed program was:" >&5 6218 sed 's/^/| /' conftest.$ac_ext >&5 6219 6220 ac_cv_lib_crypt_main=no 6221 fi 6222 6223 rm -rf conftest.dSYM 6224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6225 conftest$ac_exeext conftest.$ac_ext 5393 6226 LIBS=$ac_check_lib_save_LIBS 5394 6227 fi 5395 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&56228 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5396 6229 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5397 if test "x$ac_cv_lib_crypt_main" = x""yes; then :6230 if test "x$ac_cv_lib_crypt_main" = x""yes; then 5398 6231 cat >>confdefs.h <<_ACEOF 5399 6232 #define HAVE_LIBCRYPT 1 … … 5409 6242 5410 6243 6244 6245 6246 6247 6248 5411 6249 ac_header_dirent=no 5412 6250 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5413 6251 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5414 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&56252 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5415 6253 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :6254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5417 6255 $as_echo_n "(cached) " >&6 5418 6256 else 5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6257 cat >conftest.$ac_ext <<_ACEOF 6258 /* confdefs.h. */ 6259 _ACEOF 6260 cat confdefs.h >>conftest.$ac_ext 6261 cat >>conftest.$ac_ext <<_ACEOF 5420 6262 /* end confdefs.h. */ 5421 6263 #include <sys/types.h> … … 5431 6273 } 5432 6274 _ACEOF 5433 if ac_fn_c_try_compile "$LINENO"; then : 6275 rm -f conftest.$ac_objext 6276 if { (ac_try="$ac_compile" 6277 case "(($ac_try" in 6278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6279 *) ac_try_echo=$ac_try;; 6280 esac 6281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6282 $as_echo "$ac_try_echo") >&5 6283 (eval "$ac_compile") 2>conftest.er1 6284 ac_status=$? 6285 grep -v '^ *+' conftest.er1 >conftest.err 6286 rm -f conftest.er1 6287 cat conftest.err >&5 6288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6289 (exit $ac_status); } && { 6290 test -z "$ac_c_werror_flag" || 6291 test ! -s conftest.err 6292 } && test -s conftest.$ac_objext; then 5434 6293 eval "$as_ac_Header=yes" 5435 6294 else 5436 eval "$as_ac_Header=no" 5437 fi 6295 $as_echo "$as_me: failed program was:" >&5 6296 sed 's/^/| /' conftest.$ac_ext >&5 6297 6298 eval "$as_ac_Header=no" 6299 fi 6300 5438 6301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5439 6302 fi 5440 eval ac_res=\$$as_ac_Header 5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6303 ac_res=`eval 'as_val=${'$as_ac_Header'} 6304 $as_echo "$as_val"'` 6305 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5442 6306 $as_echo "$ac_res" >&6; } 5443 eval as_val=\$$as_ac_Header 5444 if test "x$as_val" = x""yes; then : 6307 as_val=`eval 'as_val=${'$as_ac_Header'} 6308 $as_echo "$as_val"'` 6309 if test "x$as_val" = x""yes; then 5445 6310 cat >>confdefs.h <<_ACEOF 5446 6311 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 … … 5453 6318 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5454 6319 if test $ac_header_dirent = dirent.h; then 5455 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for library containing opendir" >&56320 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5456 6321 $as_echo_n "checking for library containing opendir... " >&6; } 5457 if test "${ac_cv_search_opendir+set}" = set; then :6322 if test "${ac_cv_search_opendir+set}" = set; then 5458 6323 $as_echo_n "(cached) " >&6 5459 6324 else 5460 6325 ac_func_search_save_LIBS=$LIBS 5461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6326 cat >conftest.$ac_ext <<_ACEOF 6327 /* confdefs.h. */ 6328 _ACEOF 6329 cat confdefs.h >>conftest.$ac_ext 6330 cat >>conftest.$ac_ext <<_ACEOF 5462 6331 /* end confdefs.h. */ 5463 6332 … … 5484 6353 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5485 6354 fi 5486 if ac_fn_c_try_link "$LINENO"; then : 6355 rm -f conftest.$ac_objext conftest$ac_exeext 6356 if { (ac_try="$ac_link" 6357 case "(($ac_try" in 6358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6359 *) ac_try_echo=$ac_try;; 6360 esac 6361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6362 $as_echo "$ac_try_echo") >&5 6363 (eval "$ac_link") 2>conftest.er1 6364 ac_status=$? 6365 grep -v '^ *+' conftest.er1 >conftest.err 6366 rm -f conftest.er1 6367 cat conftest.err >&5 6368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6369 (exit $ac_status); } && { 6370 test -z "$ac_c_werror_flag" || 6371 test ! -s conftest.err 6372 } && test -s conftest$ac_exeext && { 6373 test "$cross_compiling" = yes || 6374 $as_test_x conftest$ac_exeext 6375 }; then 5487 6376 ac_cv_search_opendir=$ac_res 5488 fi 5489 rm -f core conftest.err conftest.$ac_objext \ 5490 conftest$ac_exeext 5491 if test "${ac_cv_search_opendir+set}" = set; then : 6377 else 6378 $as_echo "$as_me: failed program was:" >&5 6379 sed 's/^/| /' conftest.$ac_ext >&5 6380 6381 6382 fi 6383 6384 rm -rf conftest.dSYM 6385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6386 conftest$ac_exeext 6387 if test "${ac_cv_search_opendir+set}" = set; then 5492 6388 break 5493 6389 fi 5494 6390 done 5495 if test "${ac_cv_search_opendir+set}" = set; then :5496 6391 if test "${ac_cv_search_opendir+set}" = set; then 6392 : 5497 6393 else 5498 6394 ac_cv_search_opendir=no … … 5501 6397 LIBS=$ac_func_search_save_LIBS 5502 6398 fi 5503 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&56399 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5504 6400 $as_echo "$ac_cv_search_opendir" >&6; } 5505 6401 ac_res=$ac_cv_search_opendir 5506 if test "$ac_res" != no; then :6402 if test "$ac_res" != no; then 5507 6403 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5508 6404 … … 5510 6406 5511 6407 else 5512 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for library containing opendir" >&56408 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5513 6409 $as_echo_n "checking for library containing opendir... " >&6; } 5514 if test "${ac_cv_search_opendir+set}" = set; then :6410 if test "${ac_cv_search_opendir+set}" = set; then 5515 6411 $as_echo_n "(cached) " >&6 5516 6412 else 5517 6413 ac_func_search_save_LIBS=$LIBS 5518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6414 cat >conftest.$ac_ext <<_ACEOF 6415 /* confdefs.h. */ 6416 _ACEOF 6417 cat confdefs.h >>conftest.$ac_ext 6418 cat >>conftest.$ac_ext <<_ACEOF 5519 6419 /* end confdefs.h. */ 5520 6420 … … 5541 6441 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5542 6442 fi 5543 if ac_fn_c_try_link "$LINENO"; then : 6443 rm -f conftest.$ac_objext conftest$ac_exeext 6444 if { (ac_try="$ac_link" 6445 case "(($ac_try" in 6446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6447 *) ac_try_echo=$ac_try;; 6448 esac 6449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6450 $as_echo "$ac_try_echo") >&5 6451 (eval "$ac_link") 2>conftest.er1 6452 ac_status=$? 6453 grep -v '^ *+' conftest.er1 >conftest.err 6454 rm -f conftest.er1 6455 cat conftest.err >&5 6456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6457 (exit $ac_status); } && { 6458 test -z "$ac_c_werror_flag" || 6459 test ! -s conftest.err 6460 } && test -s conftest$ac_exeext && { 6461 test "$cross_compiling" = yes || 6462 $as_test_x conftest$ac_exeext 6463 }; then 5544 6464 ac_cv_search_opendir=$ac_res 5545 fi 5546 rm -f core conftest.err conftest.$ac_objext \ 5547 conftest$ac_exeext 5548 if test "${ac_cv_search_opendir+set}" = set; then : 6465 else 6466 $as_echo "$as_me: failed program was:" >&5 6467 sed 's/^/| /' conftest.$ac_ext >&5 6468 6469 6470 fi 6471 6472 rm -rf conftest.dSYM 6473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6474 conftest$ac_exeext 6475 if test "${ac_cv_search_opendir+set}" = set; then 5549 6476 break 5550 6477 fi 5551 6478 done 5552 if test "${ac_cv_search_opendir+set}" = set; then :5553 6479 if test "${ac_cv_search_opendir+set}" = set; then 6480 : 5554 6481 else 5555 6482 ac_cv_search_opendir=no … … 5558 6485 LIBS=$ac_func_search_save_LIBS 5559 6486 fi 5560 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&56487 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5561 6488 $as_echo "$ac_cv_search_opendir" >&6; } 5562 6489 ac_res=$ac_cv_search_opendir 5563 if test "$ac_res" != no; then :6490 if test "$ac_res" != no; then 5564 6491 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5565 6492 … … 5568 6495 fi 5569 6496 5570 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&56497 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5571 6498 $as_echo_n "checking for ANSI C header files... " >&6; } 5572 if test "${ac_cv_header_stdc+set}" = set; then :6499 if test "${ac_cv_header_stdc+set}" = set; then 5573 6500 $as_echo_n "(cached) " >&6 5574 6501 else 5575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6502 cat >conftest.$ac_ext <<_ACEOF 6503 /* confdefs.h. */ 6504 _ACEOF 6505 cat confdefs.h >>conftest.$ac_ext 6506 cat >>conftest.$ac_ext <<_ACEOF 5576 6507 /* end confdefs.h. */ 5577 6508 #include <stdlib.h> … … 5588 6519 } 5589 6520 _ACEOF 5590 if ac_fn_c_try_compile "$LINENO"; then : 6521 rm -f conftest.$ac_objext 6522 if { (ac_try="$ac_compile" 6523 case "(($ac_try" in 6524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6525 *) ac_try_echo=$ac_try;; 6526 esac 6527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6528 $as_echo "$ac_try_echo") >&5 6529 (eval "$ac_compile") 2>conftest.er1 6530 ac_status=$? 6531 grep -v '^ *+' conftest.er1 >conftest.err 6532 rm -f conftest.er1 6533 cat conftest.err >&5 6534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6535 (exit $ac_status); } && { 6536 test -z "$ac_c_werror_flag" || 6537 test ! -s conftest.err 6538 } && test -s conftest.$ac_objext; then 5591 6539 ac_cv_header_stdc=yes 5592 6540 else 5593 ac_cv_header_stdc=no 5594 fi 6541 $as_echo "$as_me: failed program was:" >&5 6542 sed 's/^/| /' conftest.$ac_ext >&5 6543 6544 ac_cv_header_stdc=no 6545 fi 6546 5595 6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5596 6548 5597 6549 if test $ac_cv_header_stdc = yes; then 5598 6550 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6551 cat >conftest.$ac_ext <<_ACEOF 6552 /* confdefs.h. */ 6553 _ACEOF 6554 cat confdefs.h >>conftest.$ac_ext 6555 cat >>conftest.$ac_ext <<_ACEOF 5600 6556 /* end confdefs.h. */ 5601 6557 #include <string.h> … … 5603 6559 _ACEOF 5604 6560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5605 $EGREP "memchr" >/dev/null 2>&1; then :5606 6561 $EGREP "memchr" >/dev/null 2>&1; then 6562 : 5607 6563 else 5608 6564 ac_cv_header_stdc=no … … 5614 6570 if test $ac_cv_header_stdc = yes; then 5615 6571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6572 cat >conftest.$ac_ext <<_ACEOF 6573 /* confdefs.h. */ 6574 _ACEOF 6575 cat confdefs.h >>conftest.$ac_ext 6576 cat >>conftest.$ac_ext <<_ACEOF 5617 6577 /* end confdefs.h. */ 5618 6578 #include <stdlib.h> … … 5620 6580 _ACEOF 5621 6581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5622 $EGREP "free" >/dev/null 2>&1; then :5623 6582 $EGREP "free" >/dev/null 2>&1; then 6583 : 5624 6584 else 5625 6585 ac_cv_header_stdc=no … … 5631 6591 if test $ac_cv_header_stdc = yes; then 5632 6592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5633 if test "$cross_compiling" = yes; then :6593 if test "$cross_compiling" = yes; then 5634 6594 : 5635 6595 else 5636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6596 cat >conftest.$ac_ext <<_ACEOF 6597 /* confdefs.h. */ 6598 _ACEOF 6599 cat confdefs.h >>conftest.$ac_ext 6600 cat >>conftest.$ac_ext <<_ACEOF 5637 6601 /* end confdefs.h. */ 5638 6602 #include <ctype.h> … … 5661 6625 } 5662 6626 _ACEOF 5663 if ac_fn_c_try_run "$LINENO"; then : 5664 5665 else 5666 ac_cv_header_stdc=no 5667 fi 5668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5669 conftest.$ac_objext conftest.beam conftest.$ac_ext 5670 fi 5671 5672 fi 5673 fi 5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6627 rm -f conftest$ac_exeext 6628 if { (ac_try="$ac_link" 6629 case "(($ac_try" in 6630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6631 *) ac_try_echo=$ac_try;; 6632 esac 6633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6634 $as_echo "$ac_try_echo") >&5 6635 (eval "$ac_link") 2>&5 6636 ac_status=$? 6637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6639 { (case "(($ac_try" in 6640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6641 *) ac_try_echo=$ac_try;; 6642 esac 6643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6644 $as_echo "$ac_try_echo") >&5 6645 (eval "$ac_try") 2>&5 6646 ac_status=$? 6647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6648 (exit $ac_status); }; }; then 6649 : 6650 else 6651 $as_echo "$as_me: program exited with status $ac_status" >&5 6652 $as_echo "$as_me: failed program was:" >&5 6653 sed 's/^/| /' conftest.$ac_ext >&5 6654 6655 ( exit $ac_status ) 6656 ac_cv_header_stdc=no 6657 fi 6658 rm -rf conftest.dSYM 6659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6660 fi 6661 6662 6663 fi 6664 fi 6665 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5675 6666 $as_echo "$ac_cv_header_stdc" >&6; } 5676 6667 if test $ac_cv_header_stdc = yes; then 5677 6668 5678 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5679 5680 fi 6669 cat >>confdefs.h <<\_ACEOF 6670 #define STDC_HEADERS 1 6671 _ACEOF 6672 6673 fi 6674 6675 6676 6677 6678 6679 6680 6681 5681 6682 5682 6683 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h 5683 do : 5684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5685 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5686 eval as_val=\$$as_ac_Header 5687 if test "x$as_val" = x""yes; then : 6684 do 6685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6687 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6688 $as_echo_n "checking for $ac_header... " >&6; } 6689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6690 $as_echo_n "(cached) " >&6 6691 fi 6692 ac_res=`eval 'as_val=${'$as_ac_Header'} 6693 $as_echo "$as_val"'` 6694 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6695 $as_echo "$ac_res" >&6; } 6696 else 6697 # Is the header compilable? 6698 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6699 $as_echo_n "checking $ac_header usability... " >&6; } 6700 cat >conftest.$ac_ext <<_ACEOF 6701 /* confdefs.h. */ 6702 _ACEOF 6703 cat confdefs.h >>conftest.$ac_ext 6704 cat >>conftest.$ac_ext <<_ACEOF 6705 /* end confdefs.h. */ 6706 $ac_includes_default 6707 #include <$ac_header> 6708 _ACEOF 6709 rm -f conftest.$ac_objext 6710 if { (ac_try="$ac_compile" 6711 case "(($ac_try" in 6712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6713 *) ac_try_echo=$ac_try;; 6714 esac 6715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6716 $as_echo "$ac_try_echo") >&5 6717 (eval "$ac_compile") 2>conftest.er1 6718 ac_status=$? 6719 grep -v '^ *+' conftest.er1 >conftest.err 6720 rm -f conftest.er1 6721 cat conftest.err >&5 6722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6723 (exit $ac_status); } && { 6724 test -z "$ac_c_werror_flag" || 6725 test ! -s conftest.err 6726 } && test -s conftest.$ac_objext; then 6727 ac_header_compiler=yes 6728 else 6729 $as_echo "$as_me: failed program was:" >&5 6730 sed 's/^/| /' conftest.$ac_ext >&5 6731 6732 ac_header_compiler=no 6733 fi 6734 6735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6736 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6737 $as_echo "$ac_header_compiler" >&6; } 6738 6739 # Is the header present? 6740 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6741 $as_echo_n "checking $ac_header presence... " >&6; } 6742 cat >conftest.$ac_ext <<_ACEOF 6743 /* confdefs.h. */ 6744 _ACEOF 6745 cat confdefs.h >>conftest.$ac_ext 6746 cat >>conftest.$ac_ext <<_ACEOF 6747 /* end confdefs.h. */ 6748 #include <$ac_header> 6749 _ACEOF 6750 if { (ac_try="$ac_cpp conftest.$ac_ext" 6751 case "(($ac_try" in 6752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6753 *) ac_try_echo=$ac_try;; 6754 esac 6755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6756 $as_echo "$ac_try_echo") >&5 6757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6758 ac_status=$? 6759 grep -v '^ *+' conftest.er1 >conftest.err 6760 rm -f conftest.er1 6761 cat conftest.err >&5 6762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6763 (exit $ac_status); } >/dev/null && { 6764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6765 test ! -s conftest.err 6766 }; then 6767 ac_header_preproc=yes 6768 else 6769 $as_echo "$as_me: failed program was:" >&5 6770 sed 's/^/| /' conftest.$ac_ext >&5 6771 6772 ac_header_preproc=no 6773 fi 6774 6775 rm -f conftest.err conftest.$ac_ext 6776 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6777 $as_echo "$ac_header_preproc" >&6; } 6778 6779 # So? What about this header? 6780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6781 yes:no: ) 6782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6783 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6784 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6785 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6786 ac_header_preproc=yes 6787 ;; 6788 no:yes:* ) 6789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6790 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6792 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6794 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6795 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6796 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6797 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6798 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6800 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6801 6802 ;; 6803 esac 6804 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6805 $as_echo_n "checking for $ac_header... " >&6; } 6806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6807 $as_echo_n "(cached) " >&6 6808 else 6809 eval "$as_ac_Header=\$ac_header_preproc" 6810 fi 6811 ac_res=`eval 'as_val=${'$as_ac_Header'} 6812 $as_echo "$as_val"'` 6813 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6814 $as_echo "$ac_res" >&6; } 6815 6816 fi 6817 as_val=`eval 'as_val=${'$as_ac_Header'} 6818 $as_echo "$as_val"'` 6819 if test "x$as_val" = x""yes; then 5688 6820 cat >>confdefs.h <<_ACEOF 5689 6821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5694 6826 done 5695 6827 5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6828 cat >conftest.$ac_ext <<_ACEOF 6829 /* confdefs.h. */ 6830 _ACEOF 6831 cat confdefs.h >>conftest.$ac_ext 6832 cat >>conftest.$ac_ext <<_ACEOF 5697 6833 /* end confdefs.h. */ 5698 6834 #include <stdio.h> … … 5700 6836 _ACEOF 5701 6837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5702 $EGREP "fread" >/dev/null 2>&1; then : 5703 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 6838 $EGREP "fread" >/dev/null 2>&1; then 6839 cat >>confdefs.h <<\_ACEOF 6840 #define HAVE_FREAD_DECL 1 6841 _ACEOF 5704 6842 5705 6843 fi 5706 6844 rm -f conftest* 5707 6845 5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6846 cat >conftest.$ac_ext <<_ACEOF 6847 /* confdefs.h. */ 6848 _ACEOF 6849 cat confdefs.h >>conftest.$ac_ext 6850 cat >>conftest.$ac_ext <<_ACEOF 5709 6851 /* end confdefs.h. */ 5710 6852 #include <stdio.h> … … 5712 6854 _ACEOF 5713 6855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5714 $EGREP "fgetc" >/dev/null 2>&1; then : 5715 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 6856 $EGREP "fgetc" >/dev/null 2>&1; then 6857 cat >>confdefs.h <<\_ACEOF 6858 #define HAVE_FGETC_DECL 1 6859 _ACEOF 5716 6860 5717 6861 fi 5718 6862 rm -f conftest* 5719 6863 5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6864 cat >conftest.$ac_ext <<_ACEOF 6865 /* confdefs.h. */ 6866 _ACEOF 6867 cat confdefs.h >>conftest.$ac_ext 6868 cat >>conftest.$ac_ext <<_ACEOF 5721 6869 /* end confdefs.h. */ 5722 6870 #include <sys/procfs.h> … … 5724 6872 _ACEOF 5725 6873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5726 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5727 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 6874 $EGREP "pr_brksize" >/dev/null 2>&1; then 6875 cat >>confdefs.h <<\_ACEOF 6876 #define HAVE_PR_BRKSIZE 1 6877 _ACEOF 5728 6878 5729 6879 fi … … 5733 6883 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5734 6884 # for constant arguments. Useless! 5735 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for working alloca.h" >&56885 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 5736 6886 $as_echo_n "checking for working alloca.h... " >&6; } 5737 if test "${ac_cv_working_alloca_h+set}" = set; then :6887 if test "${ac_cv_working_alloca_h+set}" = set; then 5738 6888 $as_echo_n "(cached) " >&6 5739 6889 else 5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6890 cat >conftest.$ac_ext <<_ACEOF 6891 /* confdefs.h. */ 6892 _ACEOF 6893 cat confdefs.h >>conftest.$ac_ext 6894 cat >>conftest.$ac_ext <<_ACEOF 5741 6895 /* end confdefs.h. */ 5742 6896 #include <alloca.h> … … 5750 6904 } 5751 6905 _ACEOF 5752 if ac_fn_c_try_link "$LINENO"; then : 6906 rm -f conftest.$ac_objext conftest$ac_exeext 6907 if { (ac_try="$ac_link" 6908 case "(($ac_try" in 6909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6910 *) ac_try_echo=$ac_try;; 6911 esac 6912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6913 $as_echo "$ac_try_echo") >&5 6914 (eval "$ac_link") 2>conftest.er1 6915 ac_status=$? 6916 grep -v '^ *+' conftest.er1 >conftest.err 6917 rm -f conftest.er1 6918 cat conftest.err >&5 6919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6920 (exit $ac_status); } && { 6921 test -z "$ac_c_werror_flag" || 6922 test ! -s conftest.err 6923 } && test -s conftest$ac_exeext && { 6924 test "$cross_compiling" = yes || 6925 $as_test_x conftest$ac_exeext 6926 }; then 5753 6927 ac_cv_working_alloca_h=yes 5754 6928 else 5755 ac_cv_working_alloca_h=no 5756 fi 5757 rm -f core conftest.err conftest.$ac_objext \ 5758 conftest$ac_exeext conftest.$ac_ext 5759 fi 5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 6929 $as_echo "$as_me: failed program was:" >&5 6930 sed 's/^/| /' conftest.$ac_ext >&5 6931 6932 ac_cv_working_alloca_h=no 6933 fi 6934 6935 rm -rf conftest.dSYM 6936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6937 conftest$ac_exeext conftest.$ac_ext 6938 fi 6939 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5761 6940 $as_echo "$ac_cv_working_alloca_h" >&6; } 5762 6941 if test $ac_cv_working_alloca_h = yes; then 5763 6942 5764 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5765 5766 fi 5767 5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 6943 cat >>confdefs.h <<\_ACEOF 6944 #define HAVE_ALLOCA_H 1 6945 _ACEOF 6946 6947 fi 6948 6949 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 5769 6950 $as_echo_n "checking for alloca... " >&6; } 5770 if test "${ac_cv_func_alloca_works+set}" = set; then :6951 if test "${ac_cv_func_alloca_works+set}" = set; then 5771 6952 $as_echo_n "(cached) " >&6 5772 6953 else 5773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6954 cat >conftest.$ac_ext <<_ACEOF 6955 /* confdefs.h. */ 6956 _ACEOF 6957 cat confdefs.h >>conftest.$ac_ext 6958 cat >>conftest.$ac_ext <<_ACEOF 5774 6959 /* end confdefs.h. */ 5775 6960 #ifdef __GNUC__ … … 5803 6988 } 5804 6989 _ACEOF 5805 if ac_fn_c_try_link "$LINENO"; then : 6990 rm -f conftest.$ac_objext conftest$ac_exeext 6991 if { (ac_try="$ac_link" 6992 case "(($ac_try" in 6993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6994 *) ac_try_echo=$ac_try;; 6995 esac 6996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6997 $as_echo "$ac_try_echo") >&5 6998 (eval "$ac_link") 2>conftest.er1 6999 ac_status=$? 7000 grep -v '^ *+' conftest.er1 >conftest.err 7001 rm -f conftest.er1 7002 cat conftest.err >&5 7003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7004 (exit $ac_status); } && { 7005 test -z "$ac_c_werror_flag" || 7006 test ! -s conftest.err 7007 } && test -s conftest$ac_exeext && { 7008 test "$cross_compiling" = yes || 7009 $as_test_x conftest$ac_exeext 7010 }; then 5806 7011 ac_cv_func_alloca_works=yes 5807 7012 else 5808 ac_cv_func_alloca_works=no 5809 fi 5810 rm -f core conftest.err conftest.$ac_objext \ 5811 conftest$ac_exeext conftest.$ac_ext 5812 fi 5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 7013 $as_echo "$as_me: failed program was:" >&5 7014 sed 's/^/| /' conftest.$ac_ext >&5 7015 7016 ac_cv_func_alloca_works=no 7017 fi 7018 7019 rm -rf conftest.dSYM 7020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7021 conftest$ac_exeext conftest.$ac_ext 7022 fi 7023 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5814 7024 $as_echo "$ac_cv_func_alloca_works" >&6; } 5815 7025 5816 7026 if test $ac_cv_func_alloca_works = yes; then 5817 7027 5818 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 7028 cat >>confdefs.h <<\_ACEOF 7029 #define HAVE_ALLOCA 1 7030 _ACEOF 5819 7031 5820 7032 else … … 5826 7038 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5827 7039 5828 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5829 5830 5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 7040 cat >>confdefs.h <<\_ACEOF 7041 #define C_ALLOCA 1 7042 _ACEOF 7043 7044 7045 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5832 7046 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5833 if test "${ac_cv_os_cray+set}" = set; then :7047 if test "${ac_cv_os_cray+set}" = set; then 5834 7048 $as_echo_n "(cached) " >&6 5835 7049 else 5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7050 cat >conftest.$ac_ext <<_ACEOF 7051 /* confdefs.h. */ 7052 _ACEOF 7053 cat confdefs.h >>conftest.$ac_ext 7054 cat >>conftest.$ac_ext <<_ACEOF 5837 7055 /* end confdefs.h. */ 5838 7056 #if defined CRAY && ! defined CRAY2 … … 5844 7062 _ACEOF 5845 7063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5846 $EGREP "webecray" >/dev/null 2>&1; then :7064 $EGREP "webecray" >/dev/null 2>&1; then 5847 7065 ac_cv_os_cray=yes 5848 7066 else … … 5852 7070 5853 7071 fi 5854 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_os_cray" >&57072 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 5855 7073 $as_echo "$ac_cv_os_cray" >&6; } 5856 7074 if test $ac_cv_os_cray = yes; then 5857 7075 for ac_func in _getb67 GETB67 getb67; do 5858 7076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5860 eval as_val=\$$as_ac_var 5861 if test "x$as_val" = x""yes; then : 7077 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7078 $as_echo_n "checking for $ac_func... " >&6; } 7079 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7080 $as_echo_n "(cached) " >&6 7081 else 7082 cat >conftest.$ac_ext <<_ACEOF 7083 /* confdefs.h. */ 7084 _ACEOF 7085 cat confdefs.h >>conftest.$ac_ext 7086 cat >>conftest.$ac_ext <<_ACEOF 7087 /* end confdefs.h. */ 7088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7089 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7090 #define $ac_func innocuous_$ac_func 7091 7092 /* System header to define __stub macros and hopefully few prototypes, 7093 which can conflict with char $ac_func (); below. 7094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7095 <limits.h> exists even on freestanding compilers. */ 7096 7097 #ifdef __STDC__ 7098 # include <limits.h> 7099 #else 7100 # include <assert.h> 7101 #endif 7102 7103 #undef $ac_func 7104 7105 /* Override any GCC internal prototype to avoid an error. 7106 Use char because int might match the return type of a GCC 7107 builtin and then its argument prototype would still apply. */ 7108 #ifdef __cplusplus 7109 extern "C" 7110 #endif 7111 char $ac_func (); 7112 /* The GNU C library defines this for functions which it implements 7113 to always fail with ENOSYS. Some functions are actually named 7114 something starting with __ and the normal name is an alias. */ 7115 #if defined __stub_$ac_func || defined __stub___$ac_func 7116 choke me 7117 #endif 7118 7119 int 7120 main () 7121 { 7122 return $ac_func (); 7123 ; 7124 return 0; 7125 } 7126 _ACEOF 7127 rm -f conftest.$ac_objext conftest$ac_exeext 7128 if { (ac_try="$ac_link" 7129 case "(($ac_try" in 7130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7131 *) ac_try_echo=$ac_try;; 7132 esac 7133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7134 $as_echo "$ac_try_echo") >&5 7135 (eval "$ac_link") 2>conftest.er1 7136 ac_status=$? 7137 grep -v '^ *+' conftest.er1 >conftest.err 7138 rm -f conftest.er1 7139 cat conftest.err >&5 7140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7141 (exit $ac_status); } && { 7142 test -z "$ac_c_werror_flag" || 7143 test ! -s conftest.err 7144 } && test -s conftest$ac_exeext && { 7145 test "$cross_compiling" = yes || 7146 $as_test_x conftest$ac_exeext 7147 }; then 7148 eval "$as_ac_var=yes" 7149 else 7150 $as_echo "$as_me: failed program was:" >&5 7151 sed 's/^/| /' conftest.$ac_ext >&5 7152 7153 eval "$as_ac_var=no" 7154 fi 7155 7156 rm -rf conftest.dSYM 7157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7158 conftest$ac_exeext conftest.$ac_ext 7159 fi 7160 ac_res=`eval 'as_val=${'$as_ac_var'} 7161 $as_echo "$as_val"'` 7162 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7163 $as_echo "$ac_res" >&6; } 7164 as_val=`eval 'as_val=${'$as_ac_var'} 7165 $as_echo "$as_val"'` 7166 if test "x$as_val" = x""yes; then 5862 7167 5863 7168 cat >>confdefs.h <<_ACEOF … … 5871 7176 fi 5872 7177 5873 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking stack direction for C alloca" >&57178 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 5874 7179 $as_echo_n "checking stack direction for C alloca... " >&6; } 5875 if test "${ac_cv_c_stack_direction+set}" = set; then :7180 if test "${ac_cv_c_stack_direction+set}" = set; then 5876 7181 $as_echo_n "(cached) " >&6 5877 7182 else 5878 if test "$cross_compiling" = yes; then :7183 if test "$cross_compiling" = yes; then 5879 7184 ac_cv_c_stack_direction=0 5880 7185 else 5881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7186 cat >conftest.$ac_ext <<_ACEOF 7187 /* confdefs.h. */ 7188 _ACEOF 7189 cat confdefs.h >>conftest.$ac_ext 7190 cat >>conftest.$ac_ext <<_ACEOF 5882 7191 /* end confdefs.h. */ 5883 7192 $ac_includes_default … … 5902 7211 } 5903 7212 _ACEOF 5904 if ac_fn_c_try_run "$LINENO"; then : 7213 rm -f conftest$ac_exeext 7214 if { (ac_try="$ac_link" 7215 case "(($ac_try" in 7216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7217 *) ac_try_echo=$ac_try;; 7218 esac 7219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7220 $as_echo "$ac_try_echo") >&5 7221 (eval "$ac_link") 2>&5 7222 ac_status=$? 7223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7225 { (case "(($ac_try" in 7226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7227 *) ac_try_echo=$ac_try;; 7228 esac 7229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7230 $as_echo "$ac_try_echo") >&5 7231 (eval "$ac_try") 2>&5 7232 ac_status=$? 7233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7234 (exit $ac_status); }; }; then 5905 7235 ac_cv_c_stack_direction=1 5906 7236 else 5907 ac_cv_c_stack_direction=-1 5908 fi 5909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5910 conftest.$ac_objext conftest.beam conftest.$ac_ext 5911 fi 5912 5913 fi 5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 7237 $as_echo "$as_me: program exited with status $ac_status" >&5 7238 $as_echo "$as_me: failed program was:" >&5 7239 sed 's/^/| /' conftest.$ac_ext >&5 7240 7241 ( exit $ac_status ) 7242 ac_cv_c_stack_direction=-1 7243 fi 7244 rm -rf conftest.dSYM 7245 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7246 fi 7247 7248 7249 fi 7250 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5915 7251 $as_echo "$ac_cv_c_stack_direction" >&6; } 7252 5916 7253 cat >>confdefs.h <<_ACEOF 5917 7254 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 5922 7259 5923 7260 if test $ac_cv_c_compiler_gnu = yes; then 5924 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC needs -traditional" >&57261 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 5925 7262 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 5926 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :7263 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5927 7264 $as_echo_n "(cached) " >&6 5928 7265 else 5929 7266 ac_pattern="Autoconf.*'x'" 5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7267 cat >conftest.$ac_ext <<_ACEOF 7268 /* confdefs.h. */ 7269 _ACEOF 7270 cat confdefs.h >>conftest.$ac_ext 7271 cat >>conftest.$ac_ext <<_ACEOF 5931 7272 /* end confdefs.h. */ 5932 7273 #include <sgtty.h> … … 5934 7275 _ACEOF 5935 7276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5936 $EGREP "$ac_pattern" >/dev/null 2>&1; then :7277 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5937 7278 ac_cv_prog_gcc_traditional=yes 5938 7279 else … … 5943 7284 5944 7285 if test $ac_cv_prog_gcc_traditional = no; then 5945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7286 cat >conftest.$ac_ext <<_ACEOF 7287 /* confdefs.h. */ 7288 _ACEOF 7289 cat confdefs.h >>conftest.$ac_ext 7290 cat >>conftest.$ac_ext <<_ACEOF 5946 7291 /* end confdefs.h. */ 5947 7292 #include <termio.h> … … 5949 7294 _ACEOF 5950 7295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5951 $EGREP "$ac_pattern" >/dev/null 2>&1; then :7296 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5952 7297 ac_cv_prog_gcc_traditional=yes 5953 7298 fi … … 5956 7301 fi 5957 7302 fi 5958 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&57303 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 5959 7304 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5960 7305 if test $ac_cv_prog_gcc_traditional = yes; then … … 5963 7308 fi 5964 7309 5965 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking return type of signal handlers" >&57310 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 5966 7311 $as_echo_n "checking return type of signal handlers... " >&6; } 5967 if test "${ac_cv_type_signal+set}" = set; then :7312 if test "${ac_cv_type_signal+set}" = set; then 5968 7313 $as_echo_n "(cached) " >&6 5969 7314 else 5970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7315 cat >conftest.$ac_ext <<_ACEOF 7316 /* confdefs.h. */ 7317 _ACEOF 7318 cat confdefs.h >>conftest.$ac_ext 7319 cat >>conftest.$ac_ext <<_ACEOF 5971 7320 /* end confdefs.h. */ 5972 7321 #include <sys/types.h> … … 5981 7330 } 5982 7331 _ACEOF 5983 if ac_fn_c_try_compile "$LINENO"; then : 7332 rm -f conftest.$ac_objext 7333 if { (ac_try="$ac_compile" 7334 case "(($ac_try" in 7335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7336 *) ac_try_echo=$ac_try;; 7337 esac 7338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7339 $as_echo "$ac_try_echo") >&5 7340 (eval "$ac_compile") 2>conftest.er1 7341 ac_status=$? 7342 grep -v '^ *+' conftest.er1 >conftest.err 7343 rm -f conftest.er1 7344 cat conftest.err >&5 7345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7346 (exit $ac_status); } && { 7347 test -z "$ac_c_werror_flag" || 7348 test ! -s conftest.err 7349 } && test -s conftest.$ac_objext; then 5984 7350 ac_cv_type_signal=int 5985 7351 else 5986 ac_cv_type_signal=void 5987 fi 7352 $as_echo "$as_me: failed program was:" >&5 7353 sed 's/^/| /' conftest.$ac_ext >&5 7354 7355 ac_cv_type_signal=void 7356 fi 7357 5988 7358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5989 7359 fi 5990 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_type_signal" >&57360 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5991 7361 $as_echo "$ac_cv_type_signal" >&6; } 5992 7362 … … 5996 7366 5997 7367 7368 5998 7369 for ac_func in vprintf 5999 do : 6000 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 6001 if test "x$ac_cv_func_vprintf" = x""yes; then : 6002 cat >>confdefs.h <<_ACEOF 6003 #define HAVE_VPRINTF 1 6004 _ACEOF 6005 6006 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 6007 if test "x$ac_cv_func__doprnt" = x""yes; then : 6008 6009 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 6010 6011 fi 6012 6013 fi 6014 done 6015 6016 6017 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6018 do : 6019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6021 eval as_val=\$$as_ac_var 6022 if test "x$as_val" = x""yes; then : 7370 do 7371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7372 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7373 $as_echo_n "checking for $ac_func... " >&6; } 7374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7375 $as_echo_n "(cached) " >&6 7376 else 7377 cat >conftest.$ac_ext <<_ACEOF 7378 /* confdefs.h. */ 7379 _ACEOF 7380 cat confdefs.h >>conftest.$ac_ext 7381 cat >>conftest.$ac_ext <<_ACEOF 7382 /* end confdefs.h. */ 7383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7384 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7385 #define $ac_func innocuous_$ac_func 7386 7387 /* System header to define __stub macros and hopefully few prototypes, 7388 which can conflict with char $ac_func (); below. 7389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7390 <limits.h> exists even on freestanding compilers. */ 7391 7392 #ifdef __STDC__ 7393 # include <limits.h> 7394 #else 7395 # include <assert.h> 7396 #endif 7397 7398 #undef $ac_func 7399 7400 /* Override any GCC internal prototype to avoid an error. 7401 Use char because int might match the return type of a GCC 7402 builtin and then its argument prototype would still apply. */ 7403 #ifdef __cplusplus 7404 extern "C" 7405 #endif 7406 char $ac_func (); 7407 /* The GNU C library defines this for functions which it implements 7408 to always fail with ENOSYS. Some functions are actually named 7409 something starting with __ and the normal name is an alias. */ 7410 #if defined __stub_$ac_func || defined __stub___$ac_func 7411 choke me 7412 #endif 7413 7414 int 7415 main () 7416 { 7417 return $ac_func (); 7418 ; 7419 return 0; 7420 } 7421 _ACEOF 7422 rm -f conftest.$ac_objext conftest$ac_exeext 7423 if { (ac_try="$ac_link" 7424 case "(($ac_try" in 7425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7426 *) ac_try_echo=$ac_try;; 7427 esac 7428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7429 $as_echo "$ac_try_echo") >&5 7430 (eval "$ac_link") 2>conftest.er1 7431 ac_status=$? 7432 grep -v '^ *+' conftest.er1 >conftest.err 7433 rm -f conftest.er1 7434 cat conftest.err >&5 7435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7436 (exit $ac_status); } && { 7437 test -z "$ac_c_werror_flag" || 7438 test ! -s conftest.err 7439 } && test -s conftest$ac_exeext && { 7440 test "$cross_compiling" = yes || 7441 $as_test_x conftest$ac_exeext 7442 }; then 7443 eval "$as_ac_var=yes" 7444 else 7445 $as_echo "$as_me: failed program was:" >&5 7446 sed 's/^/| /' conftest.$ac_ext >&5 7447 7448 eval "$as_ac_var=no" 7449 fi 7450 7451 rm -rf conftest.dSYM 7452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7453 conftest$ac_exeext conftest.$ac_ext 7454 fi 7455 ac_res=`eval 'as_val=${'$as_ac_var'} 7456 $as_echo "$as_val"'` 7457 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7458 $as_echo "$ac_res" >&6; } 7459 as_val=`eval 'as_val=${'$as_ac_var'} 7460 $as_echo "$as_val"'` 7461 if test "x$as_val" = x""yes; then 6023 7462 cat >>confdefs.h <<_ACEOF 6024 7463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6025 7464 _ACEOF 6026 7465 7466 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7467 $as_echo_n "checking for _doprnt... " >&6; } 7468 if test "${ac_cv_func__doprnt+set}" = set; then 7469 $as_echo_n "(cached) " >&6 7470 else 7471 cat >conftest.$ac_ext <<_ACEOF 7472 /* confdefs.h. */ 7473 _ACEOF 7474 cat confdefs.h >>conftest.$ac_ext 7475 cat >>conftest.$ac_ext <<_ACEOF 7476 /* end confdefs.h. */ 7477 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 7478 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7479 #define _doprnt innocuous__doprnt 7480 7481 /* System header to define __stub macros and hopefully few prototypes, 7482 which can conflict with char _doprnt (); below. 7483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7484 <limits.h> exists even on freestanding compilers. */ 7485 7486 #ifdef __STDC__ 7487 # include <limits.h> 7488 #else 7489 # include <assert.h> 7490 #endif 7491 7492 #undef _doprnt 7493 7494 /* Override any GCC internal prototype to avoid an error. 7495 Use char because int might match the return type of a GCC 7496 builtin and then its argument prototype would still apply. */ 7497 #ifdef __cplusplus 7498 extern "C" 7499 #endif 7500 char _doprnt (); 7501 /* The GNU C library defines this for functions which it implements 7502 to always fail with ENOSYS. Some functions are actually named 7503 something starting with __ and the normal name is an alias. */ 7504 #if defined __stub__doprnt || defined __stub____doprnt 7505 choke me 7506 #endif 7507 7508 int 7509 main () 7510 { 7511 return _doprnt (); 7512 ; 7513 return 0; 7514 } 7515 _ACEOF 7516 rm -f conftest.$ac_objext conftest$ac_exeext 7517 if { (ac_try="$ac_link" 7518 case "(($ac_try" in 7519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7520 *) ac_try_echo=$ac_try;; 7521 esac 7522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7523 $as_echo "$ac_try_echo") >&5 7524 (eval "$ac_link") 2>conftest.er1 7525 ac_status=$? 7526 grep -v '^ *+' conftest.er1 >conftest.err 7527 rm -f conftest.er1 7528 cat conftest.err >&5 7529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7530 (exit $ac_status); } && { 7531 test -z "$ac_c_werror_flag" || 7532 test ! -s conftest.err 7533 } && test -s conftest$ac_exeext && { 7534 test "$cross_compiling" = yes || 7535 $as_test_x conftest$ac_exeext 7536 }; then 7537 ac_cv_func__doprnt=yes 7538 else 7539 $as_echo "$as_me: failed program was:" >&5 7540 sed 's/^/| /' conftest.$ac_ext >&5 7541 7542 ac_cv_func__doprnt=no 7543 fi 7544 7545 rm -rf conftest.dSYM 7546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7547 conftest$ac_exeext conftest.$ac_ext 7548 fi 7549 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7550 $as_echo "$ac_cv_func__doprnt" >&6; } 7551 if test "x$ac_cv_func__doprnt" = x""yes; then 7552 7553 cat >>confdefs.h <<\_ACEOF 7554 #define HAVE_DOPRNT 1 7555 _ACEOF 7556 7557 fi 7558 6027 7559 fi 6028 7560 done 6029 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 7574 do 7575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7576 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7577 $as_echo_n "checking for $ac_func... " >&6; } 7578 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7579 $as_echo_n "(cached) " >&6 7580 else 7581 cat >conftest.$ac_ext <<_ACEOF 7582 /* confdefs.h. */ 7583 _ACEOF 7584 cat confdefs.h >>conftest.$ac_ext 7585 cat >>conftest.$ac_ext <<_ACEOF 7586 /* end confdefs.h. */ 7587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7588 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7589 #define $ac_func innocuous_$ac_func 7590 7591 /* System header to define __stub macros and hopefully few prototypes, 7592 which can conflict with char $ac_func (); below. 7593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7594 <limits.h> exists even on freestanding compilers. */ 7595 7596 #ifdef __STDC__ 7597 # include <limits.h> 7598 #else 7599 # include <assert.h> 7600 #endif 7601 7602 #undef $ac_func 7603 7604 /* Override any GCC internal prototype to avoid an error. 7605 Use char because int might match the return type of a GCC 7606 builtin and then its argument prototype would still apply. */ 7607 #ifdef __cplusplus 7608 extern "C" 7609 #endif 7610 char $ac_func (); 7611 /* The GNU C library defines this for functions which it implements 7612 to always fail with ENOSYS. Some functions are actually named 7613 something starting with __ and the normal name is an alias. */ 7614 #if defined __stub_$ac_func || defined __stub___$ac_func 7615 choke me 7616 #endif 7617 7618 int 7619 main () 7620 { 7621 return $ac_func (); 7622 ; 7623 return 0; 7624 } 7625 _ACEOF 7626 rm -f conftest.$ac_objext conftest$ac_exeext 7627 if { (ac_try="$ac_link" 7628 case "(($ac_try" in 7629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7630 *) ac_try_echo=$ac_try;; 7631 esac 7632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7633 $as_echo "$ac_try_echo") >&5 7634 (eval "$ac_link") 2>conftest.er1 7635 ac_status=$? 7636 grep -v '^ *+' conftest.er1 >conftest.err 7637 rm -f conftest.er1 7638 cat conftest.err >&5 7639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7640 (exit $ac_status); } && { 7641 test -z "$ac_c_werror_flag" || 7642 test ! -s conftest.err 7643 } && test -s conftest$ac_exeext && { 7644 test "$cross_compiling" = yes || 7645 $as_test_x conftest$ac_exeext 7646 }; then 7647 eval "$as_ac_var=yes" 7648 else 7649 $as_echo "$as_me: failed program was:" >&5 7650 sed 's/^/| /' conftest.$ac_ext >&5 7651 7652 eval "$as_ac_var=no" 7653 fi 7654 7655 rm -rf conftest.dSYM 7656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7657 conftest$ac_exeext conftest.$ac_ext 7658 fi 7659 ac_res=`eval 'as_val=${'$as_ac_var'} 7660 $as_echo "$as_val"'` 7661 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7662 $as_echo "$ac_res" >&6; } 7663 as_val=`eval 'as_val=${'$as_ac_var'} 7664 $as_echo "$as_val"'` 7665 if test "x$as_val" = x""yes; then 7666 cat >>confdefs.h <<_ACEOF 7667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7668 _ACEOF 7669 7670 fi 7671 done 7672 7673 7674 7675 6030 7676 for ac_func in ftruncate strstr strcasecmp 6031 do : 6032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6034 eval as_val=\$$as_ac_var 6035 if test "x$as_val" = x""yes; then : 7677 do 7678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7679 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7680 $as_echo_n "checking for $ac_func... " >&6; } 7681 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7682 $as_echo_n "(cached) " >&6 7683 else 7684 cat >conftest.$ac_ext <<_ACEOF 7685 /* confdefs.h. */ 7686 _ACEOF 7687 cat confdefs.h >>conftest.$ac_ext 7688 cat >>conftest.$ac_ext <<_ACEOF 7689 /* end confdefs.h. */ 7690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7691 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7692 #define $ac_func innocuous_$ac_func 7693 7694 /* System header to define __stub macros and hopefully few prototypes, 7695 which can conflict with char $ac_func (); below. 7696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7697 <limits.h> exists even on freestanding compilers. */ 7698 7699 #ifdef __STDC__ 7700 # include <limits.h> 7701 #else 7702 # include <assert.h> 7703 #endif 7704 7705 #undef $ac_func 7706 7707 /* Override any GCC internal prototype to avoid an error. 7708 Use char because int might match the return type of a GCC 7709 builtin and then its argument prototype would still apply. */ 7710 #ifdef __cplusplus 7711 extern "C" 7712 #endif 7713 char $ac_func (); 7714 /* The GNU C library defines this for functions which it implements 7715 to always fail with ENOSYS. Some functions are actually named 7716 something starting with __ and the normal name is an alias. */ 7717 #if defined __stub_$ac_func || defined __stub___$ac_func 7718 choke me 7719 #endif 7720 7721 int 7722 main () 7723 { 7724 return $ac_func (); 7725 ; 7726 return 0; 7727 } 7728 _ACEOF 7729 rm -f conftest.$ac_objext conftest$ac_exeext 7730 if { (ac_try="$ac_link" 7731 case "(($ac_try" in 7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7733 *) ac_try_echo=$ac_try;; 7734 esac 7735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7736 $as_echo "$ac_try_echo") >&5 7737 (eval "$ac_link") 2>conftest.er1 7738 ac_status=$? 7739 grep -v '^ *+' conftest.er1 >conftest.err 7740 rm -f conftest.er1 7741 cat conftest.err >&5 7742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 (exit $ac_status); } && { 7744 test -z "$ac_c_werror_flag" || 7745 test ! -s conftest.err 7746 } && test -s conftest$ac_exeext && { 7747 test "$cross_compiling" = yes || 7748 $as_test_x conftest$ac_exeext 7749 }; then 7750 eval "$as_ac_var=yes" 7751 else 7752 $as_echo "$as_me: failed program was:" >&5 7753 sed 's/^/| /' conftest.$ac_ext >&5 7754 7755 eval "$as_ac_var=no" 7756 fi 7757 7758 rm -rf conftest.dSYM 7759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7760 conftest$ac_exeext conftest.$ac_ext 7761 fi 7762 ac_res=`eval 'as_val=${'$as_ac_var'} 7763 $as_echo "$as_val"'` 7764 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7765 $as_echo "$ac_res" >&6; } 7766 as_val=`eval 'as_val=${'$as_ac_var'} 7767 $as_echo "$as_val"'` 7768 if test "x$as_val" = x""yes; then 6036 7769 cat >>confdefs.h <<_ACEOF 6037 7770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 … … 6051 7784 6052 7785 6053 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain" 6054 if test "x$ac_cv_func_textdomain" = x""yes; then : 6055 $as_echo "#define ENABLE_NLS 1" >>confdefs.h 7786 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7787 $as_echo_n "checking for textdomain... " >&6; } 7788 if test "${ac_cv_func_textdomain+set}" = set; then 7789 $as_echo_n "(cached) " >&6 7790 else 7791 cat >conftest.$ac_ext <<_ACEOF 7792 /* confdefs.h. */ 7793 _ACEOF 7794 cat confdefs.h >>conftest.$ac_ext 7795 cat >>conftest.$ac_ext <<_ACEOF 7796 /* end confdefs.h. */ 7797 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain. 7798 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7799 #define textdomain innocuous_textdomain 7800 7801 /* System header to define __stub macros and hopefully few prototypes, 7802 which can conflict with char textdomain (); below. 7803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7804 <limits.h> exists even on freestanding compilers. */ 7805 7806 #ifdef __STDC__ 7807 # include <limits.h> 7808 #else 7809 # include <assert.h> 7810 #endif 7811 7812 #undef textdomain 7813 7814 /* Override any GCC internal prototype to avoid an error. 7815 Use char because int might match the return type of a GCC 7816 builtin and then its argument prototype would still apply. */ 7817 #ifdef __cplusplus 7818 extern "C" 7819 #endif 7820 char textdomain (); 7821 /* The GNU C library defines this for functions which it implements 7822 to always fail with ENOSYS. Some functions are actually named 7823 something starting with __ and the normal name is an alias. */ 7824 #if defined __stub_textdomain || defined __stub___textdomain 7825 choke me 7826 #endif 7827 7828 int 7829 main () 7830 { 7831 return textdomain (); 7832 ; 7833 return 0; 7834 } 7835 _ACEOF 7836 rm -f conftest.$ac_objext conftest$ac_exeext 7837 if { (ac_try="$ac_link" 7838 case "(($ac_try" in 7839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7840 *) ac_try_echo=$ac_try;; 7841 esac 7842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7843 $as_echo "$ac_try_echo") >&5 7844 (eval "$ac_link") 2>conftest.er1 7845 ac_status=$? 7846 grep -v '^ *+' conftest.er1 >conftest.err 7847 rm -f conftest.er1 7848 cat conftest.err >&5 7849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7850 (exit $ac_status); } && { 7851 test -z "$ac_c_werror_flag" || 7852 test ! -s conftest.err 7853 } && test -s conftest$ac_exeext && { 7854 test "$cross_compiling" = yes || 7855 $as_test_x conftest$ac_exeext 7856 }; then 7857 ac_cv_func_textdomain=yes 7858 else 7859 $as_echo "$as_me: failed program was:" >&5 7860 sed 's/^/| /' conftest.$ac_ext >&5 7861 7862 ac_cv_func_textdomain=no 7863 fi 7864 7865 rm -rf conftest.dSYM 7866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7867 conftest$ac_exeext conftest.$ac_ext 7868 fi 7869 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 7870 $as_echo "$ac_cv_func_textdomain" >&6; } 7871 if test "x$ac_cv_func_textdomain" = x""yes; then 7872 cat >>confdefs.h <<\_ACEOF 7873 #define ENABLE_NLS 1 7874 _ACEOF 6056 7875 6057 7876 fi … … 6061 7880 # a non-standard Path 6062 7881 # is there a better way to do this?? 6063 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for OS to set JNI options" >&57882 { $as_echo "$as_me:$LINENO: checking for OS to set JNI options" >&5 6064 7883 $as_echo_n "checking for OS to set JNI options... " >&6; } 6065 7884 # set defaults … … 6069 7888 6070 7889 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6071 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Darwin" >&57890 { $as_echo "$as_me:$LINENO: result: Darwin" >&5 6072 7891 $as_echo "Darwin" >&6; } 6073 7892 JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ " … … 6076 7895 fi 6077 7896 if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then 6078 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Solaris" >&57897 { $as_echo "$as_me:$LINENO: result: Solaris" >&5 6079 7898 $as_echo "Solaris" >&6; } 6080 7899 JNIINC="-I\$(JAVA_HOME)/include/solaris " 6081 7900 fi 6082 7901 if test "`(uname -s) 2> /dev/null`" = 'Linux'; then 6083 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Linux" >&57902 { $as_echo "$as_me:$LINENO: result: Linux" >&5 6084 7903 $as_echo "Linux" >&6; } 6085 7904 JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include " … … 6092 7911 # *** Custom checking (based on GNU tar configure.in) *** 6093 7912 # --------------------------------------------------------------------------- 6094 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&57913 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 6095 7914 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 6096 7915 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6097 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&57916 { $as_echo "$as_me:$LINENO: result: yes" >&5 6098 7917 $as_echo "yes" >&6; } 6099 7918 case " $LIBOBJS " in … … 6103 7922 esac 6104 7923 6105 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 6106 6107 else 6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7924 cat >>confdefs.h <<\_ACEOF 7925 #define HAVE_VALLOC 1 7926 _ACEOF 7927 7928 else 7929 { $as_echo "$as_me:$LINENO: result: no" >&5 6109 7930 $as_echo "no" >&6; } 6110 for ac_func in valloc 6111 do : 6112 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 6113 if test "x$ac_cv_func_valloc" = x""yes; then : 7931 7932 for ac_func in valloc 7933 do 7934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7935 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7936 $as_echo_n "checking for $ac_func... " >&6; } 7937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7938 $as_echo_n "(cached) " >&6 7939 else 7940 cat >conftest.$ac_ext <<_ACEOF 7941 /* confdefs.h. */ 7942 _ACEOF 7943 cat confdefs.h >>conftest.$ac_ext 7944 cat >>conftest.$ac_ext <<_ACEOF 7945 /* end confdefs.h. */ 7946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7947 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7948 #define $ac_func innocuous_$ac_func 7949 7950 /* System header to define __stub macros and hopefully few prototypes, 7951 which can conflict with char $ac_func (); below. 7952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7953 <limits.h> exists even on freestanding compilers. */ 7954 7955 #ifdef __STDC__ 7956 # include <limits.h> 7957 #else 7958 # include <assert.h> 7959 #endif 7960 7961 #undef $ac_func 7962 7963 /* Override any GCC internal prototype to avoid an error. 7964 Use char because int might match the return type of a GCC 7965 builtin and then its argument prototype would still apply. */ 7966 #ifdef __cplusplus 7967 extern "C" 7968 #endif 7969 char $ac_func (); 7970 /* The GNU C library defines this for functions which it implements 7971 to always fail with ENOSYS. Some functions are actually named 7972 something starting with __ and the normal name is an alias. */ 7973 #if defined __stub_$ac_func || defined __stub___$ac_func 7974 choke me 7975 #endif 7976 7977 int 7978 main () 7979 { 7980 return $ac_func (); 7981 ; 7982 return 0; 7983 } 7984 _ACEOF 7985 rm -f conftest.$ac_objext conftest$ac_exeext 7986 if { (ac_try="$ac_link" 7987 case "(($ac_try" in 7988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7989 *) ac_try_echo=$ac_try;; 7990 esac 7991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7992 $as_echo "$ac_try_echo") >&5 7993 (eval "$ac_link") 2>conftest.er1 7994 ac_status=$? 7995 grep -v '^ *+' conftest.er1 >conftest.err 7996 rm -f conftest.er1 7997 cat conftest.err >&5 7998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7999 (exit $ac_status); } && { 8000 test -z "$ac_c_werror_flag" || 8001 test ! -s conftest.err 8002 } && test -s conftest$ac_exeext && { 8003 test "$cross_compiling" = yes || 8004 $as_test_x conftest$ac_exeext 8005 }; then 8006 eval "$as_ac_var=yes" 8007 else 8008 $as_echo "$as_me: failed program was:" >&5 8009 sed 's/^/| /' conftest.$ac_ext >&5 8010 8011 eval "$as_ac_var=no" 8012 fi 8013 8014 rm -rf conftest.dSYM 8015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8016 conftest$ac_exeext conftest.$ac_ext 8017 fi 8018 ac_res=`eval 'as_val=${'$as_ac_var'} 8019 $as_echo "$as_val"'` 8020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8021 $as_echo "$ac_res" >&6; } 8022 as_val=`eval 'as_val=${'$as_ac_var'} 8023 $as_echo "$as_val"'` 8024 if test "x$as_val" = x""yes; then 6114 8025 cat >>confdefs.h <<_ACEOF 6115 #define HAVE_VALLOC18026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6116 8027 _ACEOF 6117 8028 … … 6121 8032 fi 6122 8033 6123 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if malloc debugging is wanted" >&58034 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6124 8035 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 6125 8036 6126 8037 # Check whether --with-dmalloc was given. 6127 if test "${with_dmalloc+set}" = set; then :8038 if test "${with_dmalloc+set}" = set; then 6128 8039 withval=$with_dmalloc; if test "$withval" = yes; then 6129 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&58040 { $as_echo "$as_me:$LINENO: result: yes" >&5 6130 8041 $as_echo "yes" >&6; } 6131 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 8042 cat >>confdefs.h <<\_ACEOF 8043 #define WITH_DMALLOC 1 8044 _ACEOF 6132 8045 6133 8046 LIBS="$LIBS -ldmalloc" 6134 8047 LDFLAGS="$LDFLAGS -g" 6135 8048 else 6136 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58049 { $as_echo "$as_me:$LINENO: result: no" >&5 6137 8050 $as_echo "no" >&6; } 6138 8051 fi 6139 8052 else 6140 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58053 { $as_echo "$as_me:$LINENO: result: no" >&5 6141 8054 $as_echo "no" >&6; } 6142 8055 fi 6143 8056 6144 8057 6145 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking which of rx or regex is wanted" >&58058 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6146 8059 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 6147 8060 6148 8061 # Check whether --with-regex was given. 6149 if test "${with_regex+set}" = set; then :8062 if test "${with_regex+set}" = set; then 6150 8063 withval=$with_regex; if test "$withval" = yes; then 6151 8064 ac_with_regex=1 6152 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: regex" >&58065 { $as_echo "$as_me:$LINENO: result: regex" >&5 6153 8066 $as_echo "regex" >&6; } 6154 $as_echo "#define WITH_REGEX 1" >>confdefs.h 8067 cat >>confdefs.h <<\_ACEOF 8068 #define WITH_REGEX 1 8069 _ACEOF 6155 8070 6156 8071 case " $LIBOBJS " in … … 6164 8079 6165 8080 if test -z "$ac_with_regex"; then 6166 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: rx" >&58081 { $as_echo "$as_me:$LINENO: result: rx" >&5 6167 8082 $as_echo "rx" >&6; } 6168 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 6169 if test "x$ac_cv_func_re_rx_search" = x""yes; then : 6170 8083 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8084 $as_echo_n "checking for re_rx_search... " >&6; } 8085 if test "${ac_cv_func_re_rx_search+set}" = set; then 8086 $as_echo_n "(cached) " >&6 8087 else 8088 cat >conftest.$ac_ext <<_ACEOF 8089 /* confdefs.h. */ 8090 _ACEOF 8091 cat confdefs.h >>conftest.$ac_ext 8092 cat >>conftest.$ac_ext <<_ACEOF 8093 /* end confdefs.h. */ 8094 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 8095 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8096 #define re_rx_search innocuous_re_rx_search 8097 8098 /* System header to define __stub macros and hopefully few prototypes, 8099 which can conflict with char re_rx_search (); below. 8100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8101 <limits.h> exists even on freestanding compilers. */ 8102 8103 #ifdef __STDC__ 8104 # include <limits.h> 8105 #else 8106 # include <assert.h> 8107 #endif 8108 8109 #undef re_rx_search 8110 8111 /* Override any GCC internal prototype to avoid an error. 8112 Use char because int might match the return type of a GCC 8113 builtin and then its argument prototype would still apply. */ 8114 #ifdef __cplusplus 8115 extern "C" 8116 #endif 8117 char re_rx_search (); 8118 /* The GNU C library defines this for functions which it implements 8119 to always fail with ENOSYS. Some functions are actually named 8120 something starting with __ and the normal name is an alias. */ 8121 #if defined __stub_re_rx_search || defined __stub___re_rx_search 8122 choke me 8123 #endif 8124 8125 int 8126 main () 8127 { 8128 return re_rx_search (); 8129 ; 8130 return 0; 8131 } 8132 _ACEOF 8133 rm -f conftest.$ac_objext conftest$ac_exeext 8134 if { (ac_try="$ac_link" 8135 case "(($ac_try" in 8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8137 *) ac_try_echo=$ac_try;; 8138 esac 8139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8140 $as_echo "$ac_try_echo") >&5 8141 (eval "$ac_link") 2>conftest.er1 8142 ac_status=$? 8143 grep -v '^ *+' conftest.er1 >conftest.err 8144 rm -f conftest.er1 8145 cat conftest.err >&5 8146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8147 (exit $ac_status); } && { 8148 test -z "$ac_c_werror_flag" || 8149 test ! -s conftest.err 8150 } && test -s conftest$ac_exeext && { 8151 test "$cross_compiling" = yes || 8152 $as_test_x conftest$ac_exeext 8153 }; then 8154 ac_cv_func_re_rx_search=yes 8155 else 8156 $as_echo "$as_me: failed program was:" >&5 8157 sed 's/^/| /' conftest.$ac_ext >&5 8158 8159 ac_cv_func_re_rx_search=no 8160 fi 8161 8162 rm -rf conftest.dSYM 8163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8164 conftest$ac_exeext conftest.$ac_ext 8165 fi 8166 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8167 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8168 if test "x$ac_cv_func_re_rx_search" = x""yes; then 8169 : 6171 8170 else 6172 8171 # The cast to long int works around a bug in the HP C Compiler … … 6174 8173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6175 8174 # This bug is HP SR number 8606223364. 6176 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of unsigned char *" >&58175 { $as_echo "$as_me:$LINENO: checking size of unsigned char *" >&5 6177 8176 $as_echo_n "checking size of unsigned char *... " >&6; } 6178 if test "${ac_cv_sizeof_unsigned_char_p+set}" = set; then :8177 if test "${ac_cv_sizeof_unsigned_char_p+set}" = set; then 6179 8178 $as_echo_n "(cached) " >&6 6180 8179 else 6181 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char *))" "ac_cv_sizeof_unsigned_char_p" "$ac_includes_default"; then : 6182 6183 else 6184 if test "$ac_cv_type_unsigned_char_p" = yes; then 6185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8180 if test "$cross_compiling" = yes; then 8181 # Depending upon the size, compute the lo and hi bounds. 8182 cat >conftest.$ac_ext <<_ACEOF 8183 /* confdefs.h. */ 8184 _ACEOF 8185 cat confdefs.h >>conftest.$ac_ext 8186 cat >>conftest.$ac_ext <<_ACEOF 8187 /* end confdefs.h. */ 8188 $ac_includes_default 8189 int 8190 main () 8191 { 8192 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned char *))) >= 0)]; 8193 test_array [0] = 0 8194 8195 ; 8196 return 0; 8197 } 8198 _ACEOF 8199 rm -f conftest.$ac_objext 8200 if { (ac_try="$ac_compile" 8201 case "(($ac_try" in 8202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8203 *) ac_try_echo=$ac_try;; 8204 esac 8205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8206 $as_echo "$ac_try_echo") >&5 8207 (eval "$ac_compile") 2>conftest.er1 8208 ac_status=$? 8209 grep -v '^ *+' conftest.er1 >conftest.err 8210 rm -f conftest.er1 8211 cat conftest.err >&5 8212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8213 (exit $ac_status); } && { 8214 test -z "$ac_c_werror_flag" || 8215 test ! -s conftest.err 8216 } && test -s conftest.$ac_objext; then 8217 ac_lo=0 ac_mid=0 8218 while :; do 8219 cat >conftest.$ac_ext <<_ACEOF 8220 /* confdefs.h. */ 8221 _ACEOF 8222 cat confdefs.h >>conftest.$ac_ext 8223 cat >>conftest.$ac_ext <<_ACEOF 8224 /* end confdefs.h. */ 8225 $ac_includes_default 8226 int 8227 main () 8228 { 8229 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned char *))) <= $ac_mid)]; 8230 test_array [0] = 0 8231 8232 ; 8233 return 0; 8234 } 8235 _ACEOF 8236 rm -f conftest.$ac_objext 8237 if { (ac_try="$ac_compile" 8238 case "(($ac_try" in 8239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8240 *) ac_try_echo=$ac_try;; 8241 esac 8242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8243 $as_echo "$ac_try_echo") >&5 8244 (eval "$ac_compile") 2>conftest.er1 8245 ac_status=$? 8246 grep -v '^ *+' conftest.er1 >conftest.err 8247 rm -f conftest.er1 8248 cat conftest.err >&5 8249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8250 (exit $ac_status); } && { 8251 test -z "$ac_c_werror_flag" || 8252 test ! -s conftest.err 8253 } && test -s conftest.$ac_objext; then 8254 ac_hi=$ac_mid; break 8255 else 8256 $as_echo "$as_me: failed program was:" >&5 8257 sed 's/^/| /' conftest.$ac_ext >&5 8258 8259 ac_lo=`expr $ac_mid + 1` 8260 if test $ac_lo -le $ac_mid; then 8261 ac_lo= ac_hi= 8262 break 8263 fi 8264 ac_mid=`expr 2 '*' $ac_mid + 1` 8265 fi 8266 8267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8268 done 8269 else 8270 $as_echo "$as_me: failed program was:" >&5 8271 sed 's/^/| /' conftest.$ac_ext >&5 8272 8273 cat >conftest.$ac_ext <<_ACEOF 8274 /* confdefs.h. */ 8275 _ACEOF 8276 cat confdefs.h >>conftest.$ac_ext 8277 cat >>conftest.$ac_ext <<_ACEOF 8278 /* end confdefs.h. */ 8279 $ac_includes_default 8280 int 8281 main () 8282 { 8283 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned char *))) < 0)]; 8284 test_array [0] = 0 8285 8286 ; 8287 return 0; 8288 } 8289 _ACEOF 8290 rm -f conftest.$ac_objext 8291 if { (ac_try="$ac_compile" 8292 case "(($ac_try" in 8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8294 *) ac_try_echo=$ac_try;; 8295 esac 8296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8297 $as_echo "$ac_try_echo") >&5 8298 (eval "$ac_compile") 2>conftest.er1 8299 ac_status=$? 8300 grep -v '^ *+' conftest.er1 >conftest.err 8301 rm -f conftest.er1 8302 cat conftest.err >&5 8303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8304 (exit $ac_status); } && { 8305 test -z "$ac_c_werror_flag" || 8306 test ! -s conftest.err 8307 } && test -s conftest.$ac_objext; then 8308 ac_hi=-1 ac_mid=-1 8309 while :; do 8310 cat >conftest.$ac_ext <<_ACEOF 8311 /* confdefs.h. */ 8312 _ACEOF 8313 cat confdefs.h >>conftest.$ac_ext 8314 cat >>conftest.$ac_ext <<_ACEOF 8315 /* end confdefs.h. */ 8316 $ac_includes_default 8317 int 8318 main () 8319 { 8320 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned char *))) >= $ac_mid)]; 8321 test_array [0] = 0 8322 8323 ; 8324 return 0; 8325 } 8326 _ACEOF 8327 rm -f conftest.$ac_objext 8328 if { (ac_try="$ac_compile" 8329 case "(($ac_try" in 8330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8331 *) ac_try_echo=$ac_try;; 8332 esac 8333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8334 $as_echo "$ac_try_echo") >&5 8335 (eval "$ac_compile") 2>conftest.er1 8336 ac_status=$? 8337 grep -v '^ *+' conftest.er1 >conftest.err 8338 rm -f conftest.er1 8339 cat conftest.err >&5 8340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8341 (exit $ac_status); } && { 8342 test -z "$ac_c_werror_flag" || 8343 test ! -s conftest.err 8344 } && test -s conftest.$ac_objext; then 8345 ac_lo=$ac_mid; break 8346 else 8347 $as_echo "$as_me: failed program was:" >&5 8348 sed 's/^/| /' conftest.$ac_ext >&5 8349 8350 ac_hi=`expr '(' $ac_mid ')' - 1` 8351 if test $ac_mid -le $ac_hi; then 8352 ac_lo= ac_hi= 8353 break 8354 fi 8355 ac_mid=`expr 2 '*' $ac_mid` 8356 fi 8357 8358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8359 done 8360 else 8361 $as_echo "$as_me: failed program was:" >&5 8362 sed 's/^/| /' conftest.$ac_ext >&5 8363 8364 ac_lo= ac_hi= 8365 fi 8366 8367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8368 fi 8369 8370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8371 # Binary search between lo and hi bounds. 8372 while test "x$ac_lo" != "x$ac_hi"; do 8373 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 8374 cat >conftest.$ac_ext <<_ACEOF 8375 /* confdefs.h. */ 8376 _ACEOF 8377 cat confdefs.h >>conftest.$ac_ext 8378 cat >>conftest.$ac_ext <<_ACEOF 8379 /* end confdefs.h. */ 8380 $ac_includes_default 8381 int 8382 main () 8383 { 8384 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned char *))) <= $ac_mid)]; 8385 test_array [0] = 0 8386 8387 ; 8388 return 0; 8389 } 8390 _ACEOF 8391 rm -f conftest.$ac_objext 8392 if { (ac_try="$ac_compile" 8393 case "(($ac_try" in 8394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8395 *) ac_try_echo=$ac_try;; 8396 esac 8397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8398 $as_echo "$ac_try_echo") >&5 8399 (eval "$ac_compile") 2>conftest.er1 8400 ac_status=$? 8401 grep -v '^ *+' conftest.er1 >conftest.err 8402 rm -f conftest.er1 8403 cat conftest.err >&5 8404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8405 (exit $ac_status); } && { 8406 test -z "$ac_c_werror_flag" || 8407 test ! -s conftest.err 8408 } && test -s conftest.$ac_objext; then 8409 ac_hi=$ac_mid 8410 else 8411 $as_echo "$as_me: failed program was:" >&5 8412 sed 's/^/| /' conftest.$ac_ext >&5 8413 8414 ac_lo=`expr '(' $ac_mid ')' + 1` 8415 fi 8416 8417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8418 done 8419 case $ac_lo in 8420 ?*) ac_cv_sizeof_unsigned_char_p=$ac_lo;; 8421 '') if test "$ac_cv_type_unsigned_char_p" = yes; then 8422 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6186 8423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6187 { as_fn_set_status 77 6188 as_fn_error "cannot compute sizeof (unsigned char *) 6189 See \`config.log' for more details." "$LINENO" 5; }; } 8424 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *) 8425 See \`config.log' for more details." >&5 8426 $as_echo "$as_me: error: cannot compute sizeof (unsigned char *) 8427 See \`config.log' for more details." >&2;} 8428 { (exit 77); exit 77; }; }; } 8429 else 8430 ac_cv_sizeof_unsigned_char_p=0 8431 fi ;; 8432 esac 8433 else 8434 cat >conftest.$ac_ext <<_ACEOF 8435 /* confdefs.h. */ 8436 _ACEOF 8437 cat confdefs.h >>conftest.$ac_ext 8438 cat >>conftest.$ac_ext <<_ACEOF 8439 /* end confdefs.h. */ 8440 $ac_includes_default 8441 static long int longval () { return (long int) (sizeof (unsigned char *)); } 8442 static unsigned long int ulongval () { return (long int) (sizeof (unsigned char *)); } 8443 #include <stdio.h> 8444 #include <stdlib.h> 8445 int 8446 main () 8447 { 8448 8449 FILE *f = fopen ("conftest.val", "w"); 8450 if (! f) 8451 return 1; 8452 if (((long int) (sizeof (unsigned char *))) < 0) 8453 { 8454 long int i = longval (); 8455 if (i != ((long int) (sizeof (unsigned char *)))) 8456 return 1; 8457 fprintf (f, "%ld", i); 8458 } 8459 else 8460 { 8461 unsigned long int i = ulongval (); 8462 if (i != ((long int) (sizeof (unsigned char *)))) 8463 return 1; 8464 fprintf (f, "%lu", i); 8465 } 8466 /* Do not output a trailing newline, as this causes \r\n confusion 8467 on some platforms. */ 8468 return ferror (f) || fclose (f) != 0; 8469 8470 ; 8471 return 0; 8472 } 8473 _ACEOF 8474 rm -f conftest$ac_exeext 8475 if { (ac_try="$ac_link" 8476 case "(($ac_try" in 8477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8478 *) ac_try_echo=$ac_try;; 8479 esac 8480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8481 $as_echo "$ac_try_echo") >&5 8482 (eval "$ac_link") 2>&5 8483 ac_status=$? 8484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8486 { (case "(($ac_try" in 8487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8488 *) ac_try_echo=$ac_try;; 8489 esac 8490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8491 $as_echo "$ac_try_echo") >&5 8492 (eval "$ac_try") 2>&5 8493 ac_status=$? 8494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8495 (exit $ac_status); }; }; then 8496 ac_cv_sizeof_unsigned_char_p=`cat conftest.val` 8497 else 8498 $as_echo "$as_me: program exited with status $ac_status" >&5 8499 $as_echo "$as_me: failed program was:" >&5 8500 sed 's/^/| /' conftest.$ac_ext >&5 8501 8502 ( exit $ac_status ) 8503 if test "$ac_cv_type_unsigned_char_p" = yes; then 8504 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8506 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *) 8507 See \`config.log' for more details." >&5 8508 $as_echo "$as_me: error: cannot compute sizeof (unsigned char *) 8509 See \`config.log' for more details." >&2;} 8510 { (exit 77); exit 77; }; }; } 6190 8511 else 6191 8512 ac_cv_sizeof_unsigned_char_p=0 6192 8513 fi 6193 8514 fi 6194 6195 fi 6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char_p" >&5 8515 rm -rf conftest.dSYM 8516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8517 fi 8518 rm -f conftest.val 8519 fi 8520 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5 6197 8521 $as_echo "$ac_cv_sizeof_unsigned_char_p" >&6; } 6198 8522 … … 6206 8530 if test "$ac_cv_sizeof_unsigned_char_p" = 8 6207 8531 then 6208 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: I'm forcing you to use regex because I can't8532 { $as_echo "$as_me:$LINENO: WARNING: I'm forcing you to use regex because I can't 6209 8533 find a local rx library and the one included with this 6210 8534 distribution doesn't work on 64-bit machines like yours" >&5 … … 6231 8555 fi 6232 8556 6233 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether GNU readline requested" >&58557 { $as_echo "$as_me:$LINENO: checking whether GNU readline requested" >&5 6234 8558 $as_echo_n "checking whether GNU readline requested... " >&6; } 6235 8559 6236 8560 # Check whether --with-gnu_readline was given. 6237 if test "${with_gnu_readline+set}" = set; then :8561 if test "${with_gnu_readline+set}" = set; then 6238 8562 withval=$with_gnu_readline; if test "$withval" = yes; then 6239 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&58563 { $as_echo "$as_me:$LINENO: result: yes" >&5 6240 8564 $as_echo "yes" >&6; } 6241 8565 ac_with_gnu_readline=1 6242 8566 else 6243 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58567 { $as_echo "$as_me:$LINENO: result: no" >&5 6244 8568 $as_echo "no" >&6; } 6245 8569 fi 6246 8570 else 6247 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58571 { $as_echo "$as_me:$LINENO: result: no" >&5 6248 8572 $as_echo "no" >&6; } 6249 8573 fi … … 6251 8575 6252 8576 if test -n "$ac_with_gnu_readline"; then 6253 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" 6254 if test "x$ac_cv_header_readline_readline_h" = x""yes; then : 8577 if test "${ac_cv_header_readline_readline_h+set}" = set; then 8578 { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5 8579 $as_echo_n "checking for readline/readline.h... " >&6; } 8580 if test "${ac_cv_header_readline_readline_h+set}" = set; then 8581 $as_echo_n "(cached) " >&6 8582 fi 8583 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 8584 $as_echo "$ac_cv_header_readline_readline_h" >&6; } 8585 else 8586 # Is the header compilable? 8587 { $as_echo "$as_me:$LINENO: checking readline/readline.h usability" >&5 8588 $as_echo_n "checking readline/readline.h usability... " >&6; } 8589 cat >conftest.$ac_ext <<_ACEOF 8590 /* confdefs.h. */ 8591 _ACEOF 8592 cat confdefs.h >>conftest.$ac_ext 8593 cat >>conftest.$ac_ext <<_ACEOF 8594 /* end confdefs.h. */ 8595 $ac_includes_default 8596 #include <readline/readline.h> 8597 _ACEOF 8598 rm -f conftest.$ac_objext 8599 if { (ac_try="$ac_compile" 8600 case "(($ac_try" in 8601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8602 *) ac_try_echo=$ac_try;; 8603 esac 8604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8605 $as_echo "$ac_try_echo") >&5 8606 (eval "$ac_compile") 2>conftest.er1 8607 ac_status=$? 8608 grep -v '^ *+' conftest.er1 >conftest.err 8609 rm -f conftest.er1 8610 cat conftest.err >&5 8611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8612 (exit $ac_status); } && { 8613 test -z "$ac_c_werror_flag" || 8614 test ! -s conftest.err 8615 } && test -s conftest.$ac_objext; then 8616 ac_header_compiler=yes 8617 else 8618 $as_echo "$as_me: failed program was:" >&5 8619 sed 's/^/| /' conftest.$ac_ext >&5 8620 8621 ac_header_compiler=no 8622 fi 8623 8624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8625 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8626 $as_echo "$ac_header_compiler" >&6; } 8627 8628 # Is the header present? 8629 { $as_echo "$as_me:$LINENO: checking readline/readline.h presence" >&5 8630 $as_echo_n "checking readline/readline.h presence... " >&6; } 8631 cat >conftest.$ac_ext <<_ACEOF 8632 /* confdefs.h. */ 8633 _ACEOF 8634 cat confdefs.h >>conftest.$ac_ext 8635 cat >>conftest.$ac_ext <<_ACEOF 8636 /* end confdefs.h. */ 8637 #include <readline/readline.h> 8638 _ACEOF 8639 if { (ac_try="$ac_cpp conftest.$ac_ext" 8640 case "(($ac_try" in 8641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8642 *) ac_try_echo=$ac_try;; 8643 esac 8644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8645 $as_echo "$ac_try_echo") >&5 8646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8647 ac_status=$? 8648 grep -v '^ *+' conftest.er1 >conftest.err 8649 rm -f conftest.er1 8650 cat conftest.err >&5 8651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8652 (exit $ac_status); } >/dev/null && { 8653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8654 test ! -s conftest.err 8655 }; then 8656 ac_header_preproc=yes 8657 else 8658 $as_echo "$as_me: failed program was:" >&5 8659 sed 's/^/| /' conftest.$ac_ext >&5 8660 8661 ac_header_preproc=no 8662 fi 8663 8664 rm -f conftest.err conftest.$ac_ext 8665 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8666 $as_echo "$ac_header_preproc" >&6; } 8667 8668 # So? What about this header? 8669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8670 yes:no: ) 8671 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5 8672 $as_echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8673 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5 8674 $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;} 8675 ac_header_preproc=yes 8676 ;; 8677 no:yes:* ) 8678 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5 8679 $as_echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;} 8680 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5 8681 $as_echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;} 8682 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5 8683 $as_echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;} 8684 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5 8685 $as_echo "$as_me: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;} 8686 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5 8687 $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;} 8688 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5 8689 $as_echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;} 8690 8691 ;; 8692 esac 8693 { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5 8694 $as_echo_n "checking for readline/readline.h... " >&6; } 8695 if test "${ac_cv_header_readline_readline_h+set}" = set; then 8696 $as_echo_n "(cached) " >&6 8697 else 8698 ac_cv_header_readline_readline_h=$ac_header_preproc 8699 fi 8700 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 8701 $as_echo "$ac_cv_header_readline_readline_h" >&6; } 8702 8703 fi 8704 if test "x$ac_cv_header_readline_readline_h" = x""yes; then 6255 8705 ac_mg_readline_header_found=1 6256 8706 else 6257 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Can't find GNU readline headers; configuring without \8707 { $as_echo "$as_me:$LINENO: WARNING: Can't find GNU readline headers; configuring without \ 6258 8708 GNU readline support" >&5 6259 8709 $as_echo "$as_me: WARNING: Can't find GNU readline headers; configuring without \ … … 6264 8714 if test -n "$ac_mg_readline_header_found"; then 6265 8715 # first check whether we can find the readline library itself 6266 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for main in -lreadline" >&58716 { $as_echo "$as_me:$LINENO: checking for main in -lreadline" >&5 6267 8717 $as_echo_n "checking for main in -lreadline... " >&6; } 6268 if test "${ac_cv_lib_readline_main+set}" = set; then :8718 if test "${ac_cv_lib_readline_main+set}" = set; then 6269 8719 $as_echo_n "(cached) " >&6 6270 8720 else 6271 8721 ac_check_lib_save_LIBS=$LIBS 6272 8722 LIBS="-lreadline $LIBS" 6273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8723 cat >conftest.$ac_ext <<_ACEOF 8724 /* confdefs.h. */ 8725 _ACEOF 8726 cat confdefs.h >>conftest.$ac_ext 8727 cat >>conftest.$ac_ext <<_ACEOF 6274 8728 /* end confdefs.h. */ 6275 8729 … … 6283 8737 } 6284 8738 _ACEOF 6285 if ac_fn_c_try_link "$LINENO"; then : 8739 rm -f conftest.$ac_objext conftest$ac_exeext 8740 if { (ac_try="$ac_link" 8741 case "(($ac_try" in 8742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8743 *) ac_try_echo=$ac_try;; 8744 esac 8745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8746 $as_echo "$ac_try_echo") >&5 8747 (eval "$ac_link") 2>conftest.er1 8748 ac_status=$? 8749 grep -v '^ *+' conftest.er1 >conftest.err 8750 rm -f conftest.er1 8751 cat conftest.err >&5 8752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8753 (exit $ac_status); } && { 8754 test -z "$ac_c_werror_flag" || 8755 test ! -s conftest.err 8756 } && test -s conftest$ac_exeext && { 8757 test "$cross_compiling" = yes || 8758 $as_test_x conftest$ac_exeext 8759 }; then 6286 8760 ac_cv_lib_readline_main=yes 6287 8761 else 6288 ac_cv_lib_readline_main=no 6289 fi 6290 rm -f core conftest.err conftest.$ac_objext \ 6291 conftest$ac_exeext conftest.$ac_ext 8762 $as_echo "$as_me: failed program was:" >&5 8763 sed 's/^/| /' conftest.$ac_ext >&5 8764 8765 ac_cv_lib_readline_main=no 8766 fi 8767 8768 rm -rf conftest.dSYM 8769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8770 conftest$ac_exeext conftest.$ac_ext 6292 8771 LIBS=$ac_check_lib_save_LIBS 6293 8772 fi 6294 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&58773 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5 6295 8774 $as_echo "$ac_cv_lib_readline_main" >&6; } 6296 if test "x$ac_cv_lib_readline_main" = x""yes; then :8775 if test "x$ac_cv_lib_readline_main" = x""yes; then 6297 8776 ac_mg_readline_lib_found=1 6298 $as_echo "#define WITH_GNU_READLINE 1" >>confdefs.h 8777 cat >>confdefs.h <<\_ACEOF 8778 #define WITH_GNU_READLINE 1 8779 _ACEOF 6299 8780 6300 8781 LIBS="$LIBS -lreadline" 6301 8782 else 6302 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Can't find GNU readline library; configuring without \8783 { $as_echo "$as_me:$LINENO: WARNING: Can't find GNU readline library; configuring without \ 6303 8784 GNU readline support" >&5 6304 8785 $as_echo "$as_me: WARNING: Can't find GNU readline library; configuring without \ … … 6313 8794 # by mg itself (e.g. xmalloc, xrealloc). So, if we find libcurses, 6314 8795 # we just bung it on and hope for the best. 6315 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for main in -lcurses" >&58796 { $as_echo "$as_me:$LINENO: checking for main in -lcurses" >&5 6316 8797 $as_echo_n "checking for main in -lcurses... " >&6; } 6317 if test "${ac_cv_lib_curses_main+set}" = set; then :8798 if test "${ac_cv_lib_curses_main+set}" = set; then 6318 8799 $as_echo_n "(cached) " >&6 6319 8800 else 6320 8801 ac_check_lib_save_LIBS=$LIBS 6321 8802 LIBS="-lcurses $LIBS" 6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8803 cat >conftest.$ac_ext <<_ACEOF 8804 /* confdefs.h. */ 8805 _ACEOF 8806 cat confdefs.h >>conftest.$ac_ext 8807 cat >>conftest.$ac_ext <<_ACEOF 6323 8808 /* end confdefs.h. */ 6324 8809 … … 6332 8817 } 6333 8818 _ACEOF 6334 if ac_fn_c_try_link "$LINENO"; then : 8819 rm -f conftest.$ac_objext conftest$ac_exeext 8820 if { (ac_try="$ac_link" 8821 case "(($ac_try" in 8822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8823 *) ac_try_echo=$ac_try;; 8824 esac 8825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8826 $as_echo "$ac_try_echo") >&5 8827 (eval "$ac_link") 2>conftest.er1 8828 ac_status=$? 8829 grep -v '^ *+' conftest.er1 >conftest.err 8830 rm -f conftest.er1 8831 cat conftest.err >&5 8832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8833 (exit $ac_status); } && { 8834 test -z "$ac_c_werror_flag" || 8835 test ! -s conftest.err 8836 } && test -s conftest$ac_exeext && { 8837 test "$cross_compiling" = yes || 8838 $as_test_x conftest$ac_exeext 8839 }; then 6335 8840 ac_cv_lib_curses_main=yes 6336 8841 else 6337 ac_cv_lib_curses_main=no 6338 fi 6339 rm -f core conftest.err conftest.$ac_objext \ 6340 conftest$ac_exeext conftest.$ac_ext 8842 $as_echo "$as_me: failed program was:" >&5 8843 sed 's/^/| /' conftest.$ac_ext >&5 8844 8845 ac_cv_lib_curses_main=no 8846 fi 8847 8848 rm -rf conftest.dSYM 8849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8850 conftest$ac_exeext conftest.$ac_ext 6341 8851 LIBS=$ac_check_lib_save_LIBS 6342 8852 fi 6343 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_curses_main" >&58853 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5 6344 8854 $as_echo "$ac_cv_lib_curses_main" >&6; } 6345 if test "x$ac_cv_lib_curses_main" = x""yes; then :8855 if test "x$ac_cv_lib_curses_main" = x""yes; then 6346 8856 LIBS="$LIBS -lcurses" 6347 8857 fi … … 6353 8863 6354 8864 # text for endianness 6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8865 8866 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 6356 8867 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6357 if test "${ac_cv_c_bigendian+set}" = set; then :8868 if test "${ac_cv_c_bigendian+set}" = set; then 6358 8869 $as_echo_n "(cached) " >&6 6359 8870 else 6360 8871 ac_cv_c_bigendian=unknown 6361 8872 # See if we're dealing with a universal compiler. 6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8873 cat >conftest.$ac_ext <<_ACEOF 8874 /* confdefs.h. */ 8875 _ACEOF 8876 cat confdefs.h >>conftest.$ac_ext 8877 cat >>conftest.$ac_ext <<_ACEOF 6363 8878 /* end confdefs.h. */ 6364 8879 #ifndef __APPLE_CC__ … … 6368 8883 6369 8884 _ACEOF 6370 if ac_fn_c_try_compile "$LINENO"; then : 8885 rm -f conftest.$ac_objext 8886 if { (ac_try="$ac_compile" 8887 case "(($ac_try" in 8888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8889 *) ac_try_echo=$ac_try;; 8890 esac 8891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8892 $as_echo "$ac_try_echo") >&5 8893 (eval "$ac_compile") 2>conftest.er1 8894 ac_status=$? 8895 grep -v '^ *+' conftest.er1 >conftest.err 8896 rm -f conftest.er1 8897 cat conftest.err >&5 8898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8899 (exit $ac_status); } && { 8900 test -z "$ac_c_werror_flag" || 8901 test ! -s conftest.err 8902 } && test -s conftest.$ac_objext; then 6371 8903 6372 8904 # Check for potential -arch flags. It is not universal unless 6373 # there are at least two -arch flags with different values. 6374 ac_arch= 6375 ac_prev= 6376 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6377 if test -n "$ac_prev"; then 6378 case $ac_word in 6379 i?86 | x86_64 | ppc | ppc64) 6380 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6381 ac_arch=$ac_word 6382 else 6383 ac_cv_c_bigendian=universal 6384 break 6385 fi 6386 ;; 6387 esac 6388 ac_prev= 6389 elif test "x$ac_word" = "x-arch"; then 6390 ac_prev=arch 6391 fi 6392 done 6393 fi 8905 # there are some -arch flags. Note that *ppc* also matches 8906 # ppc64. This check is also rather less than ideal. 8907 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8908 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8909 esac 8910 else 8911 $as_echo "$as_me: failed program was:" >&5 8912 sed 's/^/| /' conftest.$ac_ext >&5 8913 8914 8915 fi 8916 6394 8917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6395 8918 if test $ac_cv_c_bigendian = unknown; then 6396 8919 # See if sys/param.h defines the BYTE_ORDER macro. 6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8920 cat >conftest.$ac_ext <<_ACEOF 8921 /* confdefs.h. */ 8922 _ACEOF 8923 cat confdefs.h >>conftest.$ac_ext 8924 cat >>conftest.$ac_ext <<_ACEOF 6398 8925 /* end confdefs.h. */ 6399 8926 #include <sys/types.h> … … 6413 8940 } 6414 8941 _ACEOF 6415 if ac_fn_c_try_compile "$LINENO"; then : 8942 rm -f conftest.$ac_objext 8943 if { (ac_try="$ac_compile" 8944 case "(($ac_try" in 8945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8946 *) ac_try_echo=$ac_try;; 8947 esac 8948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8949 $as_echo "$ac_try_echo") >&5 8950 (eval "$ac_compile") 2>conftest.er1 8951 ac_status=$? 8952 grep -v '^ *+' conftest.er1 >conftest.err 8953 rm -f conftest.er1 8954 cat conftest.err >&5 8955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8956 (exit $ac_status); } && { 8957 test -z "$ac_c_werror_flag" || 8958 test ! -s conftest.err 8959 } && test -s conftest.$ac_objext; then 6416 8960 # It does; now see whether it defined to BIG_ENDIAN or not. 6417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8961 cat >conftest.$ac_ext <<_ACEOF 8962 /* confdefs.h. */ 8963 _ACEOF 8964 cat confdefs.h >>conftest.$ac_ext 8965 cat >>conftest.$ac_ext <<_ACEOF 6418 8966 /* end confdefs.h. */ 6419 8967 #include <sys/types.h> … … 6431 8979 } 6432 8980 _ACEOF 6433 if ac_fn_c_try_compile "$LINENO"; then : 8981 rm -f conftest.$ac_objext 8982 if { (ac_try="$ac_compile" 8983 case "(($ac_try" in 8984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8985 *) ac_try_echo=$ac_try;; 8986 esac 8987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8988 $as_echo "$ac_try_echo") >&5 8989 (eval "$ac_compile") 2>conftest.er1 8990 ac_status=$? 8991 grep -v '^ *+' conftest.er1 >conftest.err 8992 rm -f conftest.er1 8993 cat conftest.err >&5 8994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8995 (exit $ac_status); } && { 8996 test -z "$ac_c_werror_flag" || 8997 test ! -s conftest.err 8998 } && test -s conftest.$ac_objext; then 6434 8999 ac_cv_c_bigendian=yes 6435 9000 else 6436 ac_cv_c_bigendian=no 6437 fi 9001 $as_echo "$as_me: failed program was:" >&5 9002 sed 's/^/| /' conftest.$ac_ext >&5 9003 9004 ac_cv_c_bigendian=no 9005 fi 9006 6438 9007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6439 fi 9008 else 9009 $as_echo "$as_me: failed program was:" >&5 9010 sed 's/^/| /' conftest.$ac_ext >&5 9011 9012 9013 fi 9014 6440 9015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6441 9016 fi 6442 9017 if test $ac_cv_c_bigendian = unknown; then 6443 9018 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9019 cat >conftest.$ac_ext <<_ACEOF 9020 /* confdefs.h. */ 9021 _ACEOF 9022 cat confdefs.h >>conftest.$ac_ext 9023 cat >>conftest.$ac_ext <<_ACEOF 6445 9024 /* end confdefs.h. */ 6446 9025 #include <limits.h> … … 6457 9036 } 6458 9037 _ACEOF 6459 if ac_fn_c_try_compile "$LINENO"; then : 9038 rm -f conftest.$ac_objext 9039 if { (ac_try="$ac_compile" 9040 case "(($ac_try" in 9041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9042 *) ac_try_echo=$ac_try;; 9043 esac 9044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9045 $as_echo "$ac_try_echo") >&5 9046 (eval "$ac_compile") 2>conftest.er1 9047 ac_status=$? 9048 grep -v '^ *+' conftest.er1 >conftest.err 9049 rm -f conftest.er1 9050 cat conftest.err >&5 9051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9052 (exit $ac_status); } && { 9053 test -z "$ac_c_werror_flag" || 9054 test ! -s conftest.err 9055 } && test -s conftest.$ac_objext; then 6460 9056 # It does; now see whether it defined to _BIG_ENDIAN or not. 6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9057 cat >conftest.$ac_ext <<_ACEOF 9058 /* confdefs.h. */ 9059 _ACEOF 9060 cat confdefs.h >>conftest.$ac_ext 9061 cat >>conftest.$ac_ext <<_ACEOF 6462 9062 /* end confdefs.h. */ 6463 9063 #include <limits.h> … … 6474 9074 } 6475 9075 _ACEOF 6476 if ac_fn_c_try_compile "$LINENO"; then : 9076 rm -f conftest.$ac_objext 9077 if { (ac_try="$ac_compile" 9078 case "(($ac_try" in 9079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9080 *) ac_try_echo=$ac_try;; 9081 esac 9082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9083 $as_echo "$ac_try_echo") >&5 9084 (eval "$ac_compile") 2>conftest.er1 9085 ac_status=$? 9086 grep -v '^ *+' conftest.er1 >conftest.err 9087 rm -f conftest.er1 9088 cat conftest.err >&5 9089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9090 (exit $ac_status); } && { 9091 test -z "$ac_c_werror_flag" || 9092 test ! -s conftest.err 9093 } && test -s conftest.$ac_objext; then 6477 9094 ac_cv_c_bigendian=yes 6478 9095 else 6479 ac_cv_c_bigendian=no 6480 fi 9096 $as_echo "$as_me: failed program was:" >&5 9097 sed 's/^/| /' conftest.$ac_ext >&5 9098 9099 ac_cv_c_bigendian=no 9100 fi 9101 6481 9102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6482 fi 9103 else 9104 $as_echo "$as_me: failed program was:" >&5 9105 sed 's/^/| /' conftest.$ac_ext >&5 9106 9107 9108 fi 9109 6483 9110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6484 9111 fi 6485 9112 if test $ac_cv_c_bigendian = unknown; then 6486 9113 # Compile a test program. 6487 if test "$cross_compiling" = yes; then :9114 if test "$cross_compiling" = yes; then 6488 9115 # Try to guess by grepping values from an object file. 6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9116 cat >conftest.$ac_ext <<_ACEOF 9117 /* confdefs.h. */ 9118 _ACEOF 9119 cat confdefs.h >>conftest.$ac_ext 9120 cat >>conftest.$ac_ext <<_ACEOF 6490 9121 /* end confdefs.h. */ 6491 9122 short int ascii_mm[] = … … 6513 9144 } 6514 9145 _ACEOF 6515 if ac_fn_c_try_compile "$LINENO"; then : 9146 rm -f conftest.$ac_objext 9147 if { (ac_try="$ac_compile" 9148 case "(($ac_try" in 9149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9150 *) ac_try_echo=$ac_try;; 9151 esac 9152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9153 $as_echo "$ac_try_echo") >&5 9154 (eval "$ac_compile") 2>conftest.er1 9155 ac_status=$? 9156 grep -v '^ *+' conftest.er1 >conftest.err 9157 rm -f conftest.er1 9158 cat conftest.err >&5 9159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9160 (exit $ac_status); } && { 9161 test -z "$ac_c_werror_flag" || 9162 test ! -s conftest.err 9163 } && test -s conftest.$ac_objext; then 6516 9164 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6517 9165 ac_cv_c_bigendian=yes … … 6525 9173 fi 6526 9174 fi 6527 fi 9175 else 9176 $as_echo "$as_me: failed program was:" >&5 9177 sed 's/^/| /' conftest.$ac_ext >&5 9178 9179 9180 fi 9181 6528 9182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6529 9183 else 6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9184 cat >conftest.$ac_ext <<_ACEOF 9185 /* confdefs.h. */ 9186 _ACEOF 9187 cat confdefs.h >>conftest.$ac_ext 9188 cat >>conftest.$ac_ext <<_ACEOF 6531 9189 /* end confdefs.h. */ 6532 9190 $ac_includes_default … … 6548 9206 } 6549 9207 _ACEOF 6550 if ac_fn_c_try_run "$LINENO"; then : 9208 rm -f conftest$ac_exeext 9209 if { (ac_try="$ac_link" 9210 case "(($ac_try" in 9211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9212 *) ac_try_echo=$ac_try;; 9213 esac 9214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9215 $as_echo "$ac_try_echo") >&5 9216 (eval "$ac_link") 2>&5 9217 ac_status=$? 9218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9220 { (case "(($ac_try" in 9221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9222 *) ac_try_echo=$ac_try;; 9223 esac 9224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9225 $as_echo "$ac_try_echo") >&5 9226 (eval "$ac_try") 2>&5 9227 ac_status=$? 9228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9229 (exit $ac_status); }; }; then 6551 9230 ac_cv_c_bigendian=no 6552 9231 else 6553 ac_cv_c_bigendian=yes 6554 fi 6555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6556 conftest.$ac_objext conftest.beam conftest.$ac_ext 6557 fi 9232 $as_echo "$as_me: program exited with status $ac_status" >&5 9233 $as_echo "$as_me: failed program was:" >&5 9234 sed 's/^/| /' conftest.$ac_ext >&5 9235 9236 ( exit $ac_status ) 9237 ac_cv_c_bigendian=yes 9238 fi 9239 rm -rf conftest.dSYM 9240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9241 fi 9242 6558 9243 6559 9244 fi 6560 9245 fi 6561 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&59246 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 6562 9247 $as_echo "$ac_cv_c_bigendian" >&6; } 6563 9248 case $ac_cv_c_bigendian in #( 6564 9249 yes) 6565 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9250 cat >>confdefs.h <<\_ACEOF 9251 #define WORDS_BIGENDIAN 1 9252 _ACEOF 6566 9253 ;; #( 6567 9254 no) … … 6569 9256 universal) 6570 9257 6571 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9258 cat >>confdefs.h <<\_ACEOF 9259 #define AC_APPLE_UNIVERSAL_BUILD 1 9260 _ACEOF 6572 9261 6573 9262 ;; #( 6574 9263 *) 6575 as_fn_error "unknown endianness 6576 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9264 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9265 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9266 $as_echo "$as_me: error: unknown endianness 9267 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9268 { (exit 1); exit 1; }; } ;; 6577 9269 esac 6578 9270 … … 6598 9290 # see if the user wants to override use of long long 6599 9291 # Check whether --enable-override-longlong was given. 6600 if test "${enable_override_longlong+set}" = set; then : 6601 enableval=$enable_override_longlong; $as_echo "#define DISABLE_LONG_LONG 1" >>confdefs.h 9292 if test "${enable_override_longlong+set}" = set; then 9293 enableval=$enable_override_longlong; cat >>confdefs.h <<\_ACEOF 9294 #define DISABLE_LONG_LONG 1 9295 _ACEOF 6602 9296 6603 9297 fi … … 6638 9332 *${as_nl}*) 6639 9333 case $ac_var in #( 6640 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&59334 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 6641 9335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6642 9336 esac … … 6644 9338 _ | IFS | as_nl) ;; #( 6645 9339 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6646 *) { eval $ac_var=; unset $ac_var;};;9340 *) $as_unset $ac_var ;; 6647 9341 esac ;; 6648 9342 esac … … 6652 9346 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6653 9347 *${as_nl}ac_space=\ *) 6654 # `set' does not quote correctly, so add quotes :double-quote6655 # substitution turns \\\\ into \\, and sed turns \\ into \ .9348 # `set' does not quote correctly, so add quotes (double-quote 9349 # substitution turns \\\\ into \\, and sed turns \\ into \). 6656 9350 sed -n \ 6657 9351 "s/'/'\\\\''/g; … … 6676 9370 if test -w "$cache_file"; then 6677 9371 test "x$cache_file" != "x/dev/null" && 6678 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&59372 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 6679 9373 $as_echo "$as_me: updating cache $cache_file" >&6;} 6680 9374 cat confcache >$cache_file 6681 9375 else 6682 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&59376 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6683 9377 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6684 9378 fi … … 6700 9394 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6701 9395 # will be set to the directory where LIBOBJS objects are built. 6702 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"6703 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'9396 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9397 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 6704 9398 done 6705 9399 LIBOBJS=$ac_libobjs … … 6714 9408 ac_clean_files_save=$ac_clean_files 6715 9409 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6716 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&59410 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6717 9411 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6718 as_write_fail=0 6719 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 9412 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6720 9413 #! $SHELL 6721 9414 # Generated by $as_me. … … 6727 9420 ac_cs_recheck=false 6728 9421 ac_cs_silent=false 6729 6730 9422 SHELL=\${CONFIG_SHELL-$SHELL} 6731 export SHELL 6732 _ASEOF 6733 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=16734 ## -------------------- ##6735 ## M4sh Initialization. ##6736 ## -------------------- ##9423 _ACEOF 9424 9425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9426 ## --------------------- ## 9427 ## M4sh Initialization. ## 9428 ## --------------------- ## 6737 9429 6738 9430 # Be more Bourne compatible 6739 9431 DUALCASE=1; export DUALCASE # for MKS sh 6740 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :9432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6741 9433 emulate sh 6742 9434 NULLCMD=: … … 6746 9438 setopt NO_GLOB_SUBST 6747 9439 else 6748 case `(set -o) 2>/dev/null` in #( 6749 *posix*) : 6750 set -o posix ;; #( 6751 *) : 6752 ;; 6753 esac 6754 fi 6755 9440 case `(set -o) 2>/dev/null` in 9441 *posix*) set -o posix ;; 9442 esac 9443 9444 fi 9445 9446 9447 9448 9449 # PATH needs CR 9450 # Avoid depending upon Character Ranges. 9451 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9454 as_cr_digits='0123456789' 9455 as_cr_alnum=$as_cr_Letters$as_cr_digits 6756 9456 6757 9457 as_nl=' … … 6762 9462 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6763 9463 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6764 # Prefer a ksh shell builtin over an external printf program on Solaris, 6765 # but without wasting forks for bash or zsh. 6766 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6767 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6768 as_echo='print -r --' 6769 as_echo_n='print -rn --' 6770 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9464 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6771 9465 as_echo='printf %s\n' 6772 9466 as_echo_n='printf %s' … … 6779 9473 as_echo_n_body='eval 6780 9474 arg=$1; 6781 case $arg in #(9475 case $arg in 6782 9476 *"$as_nl"*) 6783 9477 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 6802 9496 fi 6803 9497 9498 # Support unset when possible. 9499 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9500 as_unset=unset 9501 else 9502 as_unset=false 9503 fi 9504 6804 9505 6805 9506 # IFS … … 6811 9512 6812 9513 # Find who we are. Look in the path if we contain no directory separator. 6813 case $0 in #((9514 case $0 in 6814 9515 *[\\/]* ) as_myself=$0 ;; 6815 9516 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 6818 9519 IFS=$as_save_IFS 6819 9520 test -z "$as_dir" && as_dir=. 6820 6821 9521 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9522 done 6822 9523 IFS=$as_save_IFS 6823 9524 … … 6831 9532 if test ! -f "$as_myself"; then 6832 9533 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6833 exit 1 6834 fi 6835 6836 # Unset variables that we do not need and which cause bugs (e.g. in 6837 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6838 # suppresses any "Segmentation fault" message there. '((' could 6839 # trigger a bug in pdksh 5.2.14. 6840 for as_var in BASH_ENV ENV MAIL MAILPATH 6841 do eval test x\${$as_var+set} = xset \ 6842 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 9534 { (exit 1); exit 1; } 9535 fi 9536 9537 # Work around bugs in pre-3.0 UWIN ksh. 9538 for as_var in ENV MAIL MAILPATH 9539 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6843 9540 done 6844 9541 PS1='$ ' … … 6852 9549 export LANGUAGE 6853 9550 6854 # CDPATH. 6855 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6856 6857 6858 # as_fn_error ERROR [LINENO LOG_FD] 6859 # --------------------------------- 6860 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6861 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6862 # script with status $?, using 1 if that was 0. 6863 as_fn_error () 6864 { 6865 as_status=$?; test $as_status -eq 0 && as_status=1 6866 if test "$3"; then 6867 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6868 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 6869 fi 6870 $as_echo "$as_me: error: $1" >&2 6871 as_fn_exit $as_status 6872 } # as_fn_error 6873 6874 6875 # as_fn_set_status STATUS 6876 # ----------------------- 6877 # Set $? to STATUS, without forking. 6878 as_fn_set_status () 6879 { 6880 return $1 6881 } # as_fn_set_status 6882 6883 # as_fn_exit STATUS 6884 # ----------------- 6885 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6886 as_fn_exit () 6887 { 6888 set +e 6889 as_fn_set_status $1 6890 exit $1 6891 } # as_fn_exit 6892 6893 # as_fn_unset VAR 6894 # --------------- 6895 # Portably unset VAR. 6896 as_fn_unset () 6897 { 6898 { eval $1=; unset $1;} 6899 } 6900 as_unset=as_fn_unset 6901 # as_fn_append VAR VALUE 6902 # ---------------------- 6903 # Append the text in VALUE to the end of the definition contained in VAR. Take 6904 # advantage of any shell optimizations that allow amortized linear growth over 6905 # repeated appends, instead of the typical quadratic growth present in naive 6906 # implementations. 6907 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6908 eval 'as_fn_append () 6909 { 6910 eval $1+=\$2 6911 }' 6912 else 6913 as_fn_append () 6914 { 6915 eval $1=\$$1\$2 6916 } 6917 fi # as_fn_append 6918 6919 # as_fn_arith ARG... 6920 # ------------------ 6921 # Perform arithmetic evaluation on the ARGs, and store the result in the 6922 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6923 # must be portable across $(()) and expr. 6924 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6925 eval 'as_fn_arith () 6926 { 6927 as_val=$(( $* )) 6928 }' 6929 else 6930 as_fn_arith () 6931 { 6932 as_val=`expr "$@" || test $? -eq 1` 6933 } 6934 fi # as_fn_arith 6935 6936 9551 # Required to use basename. 6937 9552 if expr a : '\(a\)' >/dev/null 2>&1 && 6938 9553 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 6948 9563 fi 6949 9564 6950 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6951 as_dirname=dirname 6952 else 6953 as_dirname=false 6954 fi 6955 9565 9566 # Name of the executable. 6956 9567 as_me=`$as_basename -- "$0" || 6957 9568 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 6973 9584 s/.*/./; q'` 6974 9585 6975 # Avoid depending upon Character Ranges. 6976 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6977 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6978 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6979 as_cr_digits='0123456789' 6980 as_cr_alnum=$as_cr_Letters$as_cr_digits 9586 # CDPATH. 9587 $as_unset CDPATH 9588 9589 9590 9591 as_lineno_1=$LINENO 9592 as_lineno_2=$LINENO 9593 test "x$as_lineno_1" != "x$as_lineno_2" && 9594 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 9595 9596 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 9597 # uniformly replaced by the line number. The first 'sed' inserts a 9598 # line-number line after each line using $LINENO; the second 'sed' 9599 # does the real work. The second script uses 'N' to pair each 9600 # line-number line with the line containing $LINENO, and appends 9601 # trailing '-' during substitution so that $LINENO is not a special 9602 # case at line end. 9603 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 9604 # scripts with optimization help from Paolo Bonzini. Blame Lee 9605 # E. McMahon (1931-1989) for sed's syntax. :-) 9606 sed -n ' 9607 p 9608 /[$]LINENO/= 9609 ' <$as_myself | 9610 sed ' 9611 s/[$]LINENO.*/&-/ 9612 t lineno 9613 b 9614 :lineno 9615 N 9616 :loop 9617 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 9618 t loop 9619 s/-\n.*// 9620 ' >$as_me.lineno && 9621 chmod +x "$as_me.lineno" || 9622 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 9623 { (exit 1); exit 1; }; } 9624 9625 # Don't try to exec as it changes $[0], causing all sort of problems 9626 # (the dirname of $[0] is not the place where we might find the 9627 # original and so on. Autoconf is especially sensitive to this). 9628 . "./$as_me.lineno" 9629 # Exit status is that of the last command. 9630 exit 9631 } 9632 9633 9634 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9635 as_dirname=dirname 9636 else 9637 as_dirname=false 9638 fi 6981 9639 6982 9640 ECHO_C= ECHO_N= ECHO_T= 6983 case `echo -n x` in #(((((9641 case `echo -n x` in 6984 9642 -n*) 6985 case `echo 'x y\c'` in9643 case `echo 'x\c'` in 6986 9644 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6987 xy) ECHO_C='\c';; 6988 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6989 ECHO_T=' ';; 9645 *) ECHO_C='\c';; 6990 9646 esac;; 6991 9647 *) 6992 9648 ECHO_N='-n';; 6993 9649 esac 9650 if expr a : '\(a\)' >/dev/null 2>&1 && 9651 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9652 as_expr=expr 9653 else 9654 as_expr=false 9655 fi 6994 9656 6995 9657 rm -f conf$$ conf$$.exe conf$$.file … … 7020 9682 rmdir conf$$.dir 2>/dev/null 7021 9683 7022 7023 # as_fn_mkdir_p7024 # -------------7025 # Create "$as_dir" as a directory, including parents if necessary.7026 as_fn_mkdir_p ()7027 {7028 7029 case $as_dir in #(7030 -*) as_dir=./$as_dir;;7031 esac7032 test -d "$as_dir" || eval $as_mkdir_p || {7033 as_dirs=7034 while :; do7035 case $as_dir in #(7036 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(7037 *) as_qdir=$as_dir;;7038 esac7039 as_dirs="'$as_qdir' $as_dirs"7040 as_dir=`$as_dirname -- "$as_dir" ||7041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \7042 X"$as_dir" : 'X\(//\)[^/]' \| \7043 X"$as_dir" : 'X\(//\)$' \| \7044 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||7045 $as_echo X"$as_dir" |7046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{7047 s//\1/7048 q7049 }7050 /^X\(\/\/\)[^/].*/{7051 s//\1/7052 q7053 }7054 /^X\(\/\/\)$/{7055 s//\1/7056 q7057 }7058 /^X\(\/\).*/{7059 s//\1/7060 q7061 }7062 s/.*/./; q'`7063 test -d "$as_dir" && break7064 done7065 test -z "$as_dirs" || eval "mkdir $as_dirs"7066 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"7067 7068 7069 } # as_fn_mkdir_p7070 9684 if mkdir -p . 2>/dev/null; then 7071 as_mkdir_p= 'mkdir -p "$as_dir"'9685 as_mkdir_p=: 7072 9686 else 7073 9687 test -d ./-p && rmdir ./-p … … 7088 9702 test -d "$1/."; 7089 9703 else 7090 case $1 in #(9704 case $1 in 7091 9705 -*)set "./$1";; 7092 9706 esac; 7093 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((9707 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 7094 9708 ???[sx]*):;;*)false;;esac;fi 7095 9709 '\'' sh … … 7106 9720 7107 9721 exec 6>&1 7108 ## ----------------------------------- ## 7109 ## Main body of $CONFIG_STATUS script. ## 7110 ## ----------------------------------- ## 7111 _ASEOF 7112 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7113 7114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7115 # Save the log message, to keep $0 and so on meaningful, and to 9722 9723 # Save the log message, to keep $[0] and so on meaningful, and to 7116 9724 # report actual input values of CONFIG_FILES etc. instead of their 7117 9725 # values after options handling. 7118 9726 ac_log=" 7119 9727 This file was extended by $as_me, which was 7120 generated by GNU Autoconf 2.6 5. Invocation command line was9728 generated by GNU Autoconf 2.63. Invocation command line was 7121 9729 7122 9730 CONFIG_FILES = $CONFIG_FILES … … 7150 9758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7151 9759 ac_cs_usage="\ 7152 \`$as_me' instantiates files and other configuration actions 7153 from templates according to the current configuration. Unless the files 7154 and actions are specified as TAGs, all are instantiated by default. 7155 7156 Usage: $0 [OPTION]... [TAG]... 9760 \`$as_me' instantiates files from templates according to the 9761 current configuration. 9762 9763 Usage: $0 [OPTION]... [FILE]... 7157 9764 7158 9765 -h, --help print this help, then exit 7159 9766 -V, --version print version number and configuration settings, then exit 7160 --config print configuration, then exit7161 9767 -q, --quiet, --silent 7162 9768 do not print progress messages … … 7177 9783 $config_commands 7178 9784 7179 Report bugs to the package provider."9785 Report bugs to <[email protected]>." 7180 9786 7181 9787 _ACEOF 7182 9788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7183 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"7184 9789 ac_cs_version="\\ 7185 9790 config.status 7186 configured by $0, generated by GNU Autoconf 2.6 5,7187 with options \\" \$ac_cs_config\\"7188 7189 Copyright (C) 200 9Free Software Foundation, Inc.9791 configured by $0, generated by GNU Autoconf 2.63, 9792 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9793 9794 Copyright (C) 2008 Free Software Foundation, Inc. 7190 9795 This config.status script is free software; the Free Software Foundation 7191 9796 gives unlimited permission to copy, distribute and modify it." … … 7222 9827 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7223 9828 $as_echo "$ac_cs_version"; exit ;; 7224 --config | --confi | --conf | --con | --co | --c )7225 $as_echo "$ac_cs_config"; exit ;;7226 9829 --debug | --debu | --deb | --de | --d | -d ) 7227 9830 debug=: ;; … … 7231 9834 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7232 9835 esac 7233 as_fn_append CONFIG_FILES "'$ac_optarg'"9836 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 7234 9837 ac_need_defaults=false;; 7235 9838 --header | --heade | --head | --hea ) … … 7238 9841 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7239 9842 esac 7240 as_fn_append CONFIG_HEADERS "'$ac_optarg'"9843 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 7241 9844 ac_need_defaults=false;; 7242 9845 --he | --h) 7243 9846 # Conflict between --help and --header 7244 as_fn_error "ambiguous option: \`$1' 7245 Try \`$0 --help' for more information.";; 9847 { $as_echo "$as_me: error: ambiguous option: $1 9848 Try \`$0 --help' for more information." >&2 9849 { (exit 1); exit 1; }; };; 7246 9850 --help | --hel | -h ) 7247 9851 $as_echo "$ac_cs_usage"; exit ;; … … 7251 9855 7252 9856 # This is an error. 7253 -*) as_fn_error "unrecognized option: \`$1' 7254 Try \`$0 --help' for more information." ;; 7255 7256 *) as_fn_append ac_config_targets " $1" 9857 -*) { $as_echo "$as_me: error: unrecognized option: $1 9858 Try \`$0 --help' for more information." >&2 9859 { (exit 1); exit 1; }; } ;; 9860 9861 *) ac_config_targets="$ac_config_targets $1" 7257 9862 ac_need_defaults=false ;; 7258 9863 … … 7308 9913 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 7309 9914 7310 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 9915 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9916 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9917 { (exit 1); exit 1; }; };; 7311 9918 esac 7312 9919 done … … 7335 9942 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7336 9943 ' 0 7337 trap ' as_fn_exit 1' 1 2 13 159944 trap '{ (exit 1); exit 1; }' 1 2 13 15 7338 9945 } 7339 9946 # Create a (secure) tmp directory for tmp files. … … 7346 9953 tmp=./conf$$-$RANDOM 7347 9954 (umask 077 && mkdir "$tmp") 7348 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 9955 } || 9956 { 9957 $as_echo "$as_me: cannot create a temporary directory in ." >&2 9958 { (exit 1); exit 1; } 9959 } 7349 9960 7350 9961 # Set up the scripts for CONFIG_FILES section. … … 7354 9965 7355 9966 7356 ac_cr=`echo X | tr X '\015'` 7357 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7358 # But we know of no other shell where ac_cr would be empty at this 7359 # point, so we can use a bashism as a fallback. 7360 if test "x$ac_cr" = x; then 7361 eval ac_cr=\$\'\\r\' 7362 fi 9967 ac_cr=' 9968 ' 7363 9969 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7364 9970 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7365 ac_cs_awk_cr='\ r'9971 ac_cs_awk_cr='\\r' 7366 9972 else 7367 9973 ac_cs_awk_cr=$ac_cr … … 7377 9983 echo "_ACEOF" 7378 9984 } >conf$$subs.sh || 7379 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9985 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9986 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9987 { (exit 1); exit 1; }; } 7380 9988 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7381 9989 ac_delim='%!_!# ' 7382 9990 for ac_last_try in false false false false false :; do 7383 9991 . ./conf$$subs.sh || 7384 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9992 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9993 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9994 { (exit 1); exit 1; }; } 7385 9995 7386 9996 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 7388 9998 break 7389 9999 elif $ac_last_try; then 7390 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 10000 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10001 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10002 { (exit 1); exit 1; }; } 7391 10003 else 7392 10004 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 7410 10022 :nl 7411 10023 h 7412 s/\(.\{148\}\). .*/\1/10024 s/\(.\{148\}\).*/\1/ 7413 10025 t more1 7414 10026 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 7424 10036 :delim 7425 10037 h 7426 s/\(.\{148\}\). .*/\1/10038 s/\(.\{148\}\).*/\1/ 7427 10039 t more2 7428 10040 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 7477 10089 cat 7478 10090 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7479 || as_fn_error "could not setup config files machinery" "$LINENO" 5 10091 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 10092 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 10093 { (exit 1); exit 1; }; } 7480 10094 _ACEOF 7481 10095 … … 7518 10132 break 7519 10133 elif $ac_last_try; then 7520 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 10134 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 10135 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 10136 { (exit 1); exit 1; }; } 7521 10137 else 7522 10138 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 7603 10219 _ACEOF 7604 10220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7605 as_fn_error "could not setup config headers machinery" "$LINENO" 5 10221 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 10222 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 10223 { (exit 1); exit 1; }; } 7606 10224 fi # test -n "$CONFIG_HEADERS" 7607 10225 … … 7616 10234 case $ac_mode$ac_tag in 7617 10235 :[FHL]*:*);; 7618 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 10236 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 10237 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 10238 { (exit 1); exit 1; }; };; 7619 10239 :[FH]-) ac_tag=-:-;; 7620 10240 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 7644 10264 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7645 10265 esac || 7646 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 10266 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10267 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10268 { (exit 1); exit 1; }; };; 7647 10269 esac 7648 10270 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7649 a s_fn_append ac_file_inputs "'$ac_f'"10271 ac_file_inputs="$ac_file_inputs '$ac_f'" 7650 10272 done 7651 10273 … … 7658 10280 if test x"$ac_file" != x-; then 7659 10281 configure_input="$ac_file. $configure_input" 7660 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&510282 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 7661 10283 $as_echo "$as_me: creating $ac_file" >&6;} 7662 10284 fi … … 7671 10293 case $ac_tag in 7672 10294 *:-:* | *:-) cat >"$tmp/stdin" \ 7673 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 10295 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10296 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10297 { (exit 1); exit 1; }; } ;; 7674 10298 esac 7675 10299 ;; … … 7699 10323 } 7700 10324 s/.*/./; q'` 7701 as_dir="$ac_dir"; as_fn_mkdir_p 10325 { as_dir="$ac_dir" 10326 case $as_dir in #( 10327 -*) as_dir=./$as_dir;; 10328 esac 10329 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10330 as_dirs= 10331 while :; do 10332 case $as_dir in #( 10333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10334 *) as_qdir=$as_dir;; 10335 esac 10336 as_dirs="'$as_qdir' $as_dirs" 10337 as_dir=`$as_dirname -- "$as_dir" || 10338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10339 X"$as_dir" : 'X\(//\)[^/]' \| \ 10340 X"$as_dir" : 'X\(//\)$' \| \ 10341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10342 $as_echo X"$as_dir" | 10343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10344 s//\1/ 10345 q 10346 } 10347 /^X\(\/\/\)[^/].*/{ 10348 s//\1/ 10349 q 10350 } 10351 /^X\(\/\/\)$/{ 10352 s//\1/ 10353 q 10354 } 10355 /^X\(\/\).*/{ 10356 s//\1/ 10357 q 10358 } 10359 s/.*/./; q'` 10360 test -d "$as_dir" && break 10361 done 10362 test -z "$as_dirs" || eval "mkdir $as_dirs" 10363 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10364 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 10365 { (exit 1); exit 1; }; }; } 7702 10366 ac_builddir=. 7703 10367 … … 7751 10415 # FIXME: This hack should be removed a few years after 2.60. 7752 10416 ac_datarootdir_hack=; ac_datarootdir_seen= 10417 7753 10418 ac_sed_dataroot=' 7754 10419 /datarootdir/ { … … 7760 10425 /@infodir@/p 7761 10426 /@localedir@/p 7762 /@mandir@/p' 10427 /@mandir@/p 10428 ' 7763 10429 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7764 10430 *datarootdir*) ac_datarootdir_seen=yes;; 7765 10431 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7766 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&510432 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7767 10433 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7768 10434 _ACEOF … … 7774 10440 s&@localedir@&$localedir&g 7775 10441 s&@mandir@&$mandir&g 7776 s&\\\${datarootdir}&$datarootdir&g' ;;10442 s&\\\${datarootdir}&$datarootdir&g' ;; 7777 10443 esac 7778 10444 _ACEOF … … 7802 10468 " 7803 10469 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7804 || as_fn_error "could not create $ac_file" "$LINENO" 5 10470 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10471 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10472 { (exit 1); exit 1; }; } 7805 10473 7806 10474 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7807 10475 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7808 10476 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7809 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'10477 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7810 10478 which seems to be undefined. Please make sure it is defined." >&5 7811 10479 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' … … 7817 10485 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7818 10486 esac \ 7819 || as_fn_error "could not create $ac_file" "$LINENO" 5 10487 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10488 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10489 { (exit 1); exit 1; }; } 7820 10490 ;; 7821 10491 :H) … … 7828 10498 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7829 10499 } >"$tmp/config.h" \ 7830 || as_fn_error "could not create $ac_file" "$LINENO" 5 10500 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10501 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10502 { (exit 1); exit 1; }; } 7831 10503 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7832 { $as_echo "$as_me:$ {as_lineno-$LINENO}: $ac_file is unchanged" >&510504 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7833 10505 $as_echo "$as_me: $ac_file is unchanged" >&6;} 7834 10506 else 7835 10507 rm -f "$ac_file" 7836 10508 mv "$tmp/config.h" "$ac_file" \ 7837 || as_fn_error "could not create $ac_file" "$LINENO" 5 10509 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10510 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10511 { (exit 1); exit 1; }; } 7838 10512 fi 7839 10513 else 7840 10514 $as_echo "/* $configure_input */" \ 7841 10515 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7842 || as_fn_error "could not create -" "$LINENO" 5 10516 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10517 $as_echo "$as_me: error: could not create -" >&2;} 10518 { (exit 1); exit 1; }; } 7843 10519 fi 7844 10520 ;; 7845 10521 7846 :C) { $as_echo "$as_me:$ {as_lineno-$LINENO}: executing $ac_file commands" >&510522 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 7847 10523 $as_echo "$as_me: executing $ac_file commands" >&6;} 7848 10524 ;; … … 7857 10533 7858 10534 7859 as_fn_exit 0 7860 _ACEOF 10535 { (exit 0); exit 0; } 10536 _ACEOF 10537 chmod +x $CONFIG_STATUS 7861 10538 ac_clean_files=$ac_clean_files_save 7862 10539 7863 10540 test $ac_write_fail = 0 || 7864 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 10541 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10542 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10543 { (exit 1); exit 1; }; } 7865 10544 7866 10545 … … 7883 10562 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7884 10563 # would make configure fail if this is the last instruction. 7885 $ac_cs_success || as_fn_exit $?10564 $ac_cs_success || { (exit 1); exit 1; } 7886 10565 fi 7887 10566 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7888 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&510567 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7889 10568 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7890 10569 fi
Note:
See TracChangeset
for help on using the changeset viewer.