- Timestamp:
- 2012-02-28T14:11:14+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2/common-src/indexers
- Files:
-
- 9 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/configure
r23356 r25148 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.67. 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, 2010 Free Software 8 # Foundation, 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 ;; 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 32 25 esac 33 fi 34 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 if (eval "$as_required") 2>/dev/null; then : 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 180 181 else 182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 183 as_found=false 184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 185 do 186 IFS=$as_save_IFS 187 test -z "$as_dir" && as_dir=. 188 as_found=: 189 case $as_dir in #( 190 /*) 191 for as_base in sh bash ksh sh5; do 192 # Try only shells that exist, to save several forks. 193 as_shell=$as_dir/$as_base 194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 196 CONFIG_SHELL=$as_shell as_have_required=yes 197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 198 break 2 199 fi 200 fi 201 done;; 202 esac 203 as_found=false 204 done 205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 207 CONFIG_SHELL=$SHELL as_have_required=yes 208 fi; } 209 IFS=$as_save_IFS 210 211 212 if test "x$CONFIG_SHELL" != x; then : 213 # We cannot yet assume a decent shell, so we have to provide a 214 # neutralization value for shells without unset; and this also 215 # works around shells that cannot unset nonexistent variables. 216 BASH_ENV=/dev/null 217 ENV=/dev/null 218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 219 export CONFIG_SHELL 220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 221 fi 222 223 if test x$as_have_required = xno; then : 224 $as_echo "$0: This script requires a shell more modern than all" 225 $as_echo "$0: the shells that I found on your system." 226 if test x${ZSH_VERSION+set} = xset ; then 227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 228 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 229 else 230 $as_echo "$0: Please tell [email protected] about your system, 231 $0: including any error possibly output before this 232 $0: message. Then install a modern shell, or manually run 233 $0: the script under such a shell if you do have one." 234 fi 235 exit 1 236 fi 237 fi 238 fi 239 SHELL=${CONFIG_SHELL-/bin/sh} 240 export SHELL 241 # Unset more variables known to interfere with behavior of common tools. 242 CLICOLOR_FORCE= GREP_OPTIONS= 243 unset CLICOLOR_FORCE GREP_OPTIONS 244 245 ## --------------------- ## 246 ## M4sh Shell Functions. ## 247 ## --------------------- ## 248 # as_fn_unset VAR 249 # --------------- 250 # Portably unset VAR. 251 as_fn_unset () 252 { 253 { eval $1=; unset $1;} 254 } 255 as_unset=as_fn_unset 256 257 # as_fn_set_status STATUS 258 # ----------------------- 259 # Set $? to STATUS, without forking. 260 as_fn_set_status () 261 { 262 return $1 263 } # as_fn_set_status 264 265 # as_fn_exit STATUS 266 # ----------------- 267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 268 as_fn_exit () 269 { 270 set +e 271 as_fn_set_status $1 272 exit $1 273 } # as_fn_exit 274 275 # as_fn_mkdir_p 276 # ------------- 277 # Create "$as_dir" as a directory, including parents if necessary. 278 as_fn_mkdir_p () 279 { 280 281 case $as_dir in #( 282 -*) as_dir=./$as_dir;; 283 esac 284 test -d "$as_dir" || eval $as_mkdir_p || { 285 as_dirs= 286 while :; do 287 case $as_dir in #( 288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 289 *) as_qdir=$as_dir;; 290 esac 291 as_dirs="'$as_qdir' $as_dirs" 292 as_dir=`$as_dirname -- "$as_dir" || 293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 294 X"$as_dir" : 'X\(//\)[^/]' \| \ 295 X"$as_dir" : 'X\(//\)$' \| \ 296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 297 $as_echo X"$as_dir" | 298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 299 s//\1/ 300 q 301 } 302 /^X\(\/\/\)[^/].*/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)$/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\).*/{ 311 s//\1/ 312 q 313 } 314 s/.*/./; q'` 315 test -d "$as_dir" && break 316 done 317 test -z "$as_dirs" || eval "mkdir $as_dirs" 318 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 319 320 321 } # as_fn_mkdir_p 322 # as_fn_append VAR VALUE 323 # ---------------------- 324 # Append the text in VALUE to the end of the definition contained in VAR. Take 325 # advantage of any shell optimizations that allow amortized linear growth over 326 # repeated appends, instead of the typical quadratic growth present in naive 327 # implementations. 328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 329 eval 'as_fn_append () 330 { 331 eval $1+=\$2 332 }' 333 else 334 as_fn_append () 335 { 336 eval $1=\$$1\$2 337 } 338 fi # as_fn_append 339 340 # as_fn_arith ARG... 341 # ------------------ 342 # Perform arithmetic evaluation on the ARGs, and store the result in the 343 # global $as_val. Take advantage of shells that can avoid forks. The arguments 344 # must be portable across $(()) and expr. 345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 346 eval 'as_fn_arith () 347 { 348 as_val=$(( $* )) 349 }' 350 else 351 as_fn_arith () 352 { 353 as_val=`expr "$@" || test $? -eq 1` 354 } 355 fi # as_fn_arith 356 357 358 # as_fn_error STATUS ERROR [LINENO LOG_FD] 359 # ---------------------------------------- 360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 362 # script with STATUS, using 1 if that was 0. 363 as_fn_error () 364 { 365 as_status=$1; test $as_status -eq 0 && as_status=1 366 if test "$4"; then 367 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 369 fi 370 $as_echo "$as_me: error: $2" >&2 371 as_fn_exit $as_status 372 } # as_fn_error 373 134 # Required to use basename. 374 135 if expr a : '\(a\)' >/dev/null 2>&1 && 375 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 385 146 fi 386 147 387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 388 as_dirname=dirname 389 else 390 as_dirname=false 391 fi 392 148 149 # Name of the executable. 393 150 as_me=`$as_basename -- "$0" || 394 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 410 167 s/.*/./; q'` 411 168 412 # Avoid depending upon Character Ranges. 413 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 416 as_cr_digits='0123456789' 417 as_cr_alnum=$as_cr_Letters$as_cr_digits 418 419 420 as_lineno_1=$LINENO as_lineno_1a=$LINENO 421 as_lineno_2=$LINENO as_lineno_2a=$LINENO 422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 424 # 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. :-) 425 458 sed -n ' 426 459 p … … 439 472 ' >$as_me.lineno && 440 473 chmod +x "$as_me.lineno" || 441 { $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; }; } 442 476 443 477 # Don't try to exec as it changes $[0], causing all sort of problems … … 449 483 } 450 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 451 492 ECHO_C= ECHO_N= ECHO_T= 452 case `echo -n x` in #(((((493 case `echo -n x` in 453 494 -n*) 454 case `echo 'x y\c'` in495 case `echo 'x\c'` in 455 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 456 xy) ECHO_C='\c';; 457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 458 ECHO_T=' ';; 497 *) ECHO_C='\c';; 459 498 esac;; 460 499 *) 461 500 ECHO_N='-n';; 462 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 463 508 464 509 rm -f conf$$ conf$$.exe conf$$.file … … 490 535 491 536 if mkdir -p . 2>/dev/null; then 492 as_mkdir_p= 'mkdir -p "$as_dir"'537 as_mkdir_p=: 493 538 else 494 539 test -d ./-p && rmdir ./-p … … 509 554 test -d "$1/."; 510 555 else 511 case $1 in #(556 case $1 in 512 557 -*)set "./$1";; 513 558 esac; 514 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 515 560 ???[sx]*):;;*)false;;esac;fi 516 561 '\'' sh … … 526 571 527 572 528 test -n "$DJDIR" || exec 7<&0 </dev/null 529 exec 6>&1573 574 exec 7<&0 </dev/null 6>&1 530 575 531 576 # Name of the host. 532 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 533 578 # so uname gets run too. 534 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 545 590 MFLAGS= 546 591 MAKEFLAGS= 592 SHELL=${CONFIG_SHELL-/bin/sh} 547 593 548 594 # Identity of this package. … … 552 598 PACKAGE_STRING= 553 599 PACKAGE_BUGREPORT= 554 PACKAGE_URL=555 600 556 601 enable_option_checking=no … … 562 607 JAVACFLAGS 563 608 JAVAC 564 COMPAT32BITFLAGS565 609 ENABLE_LUCENE 566 610 ENABLE_MGPP … … 599 643 prefix 600 644 exec_prefix 601 PACKAGE_URL602 645 PACKAGE_BUGREPORT 603 646 PACKAGE_STRING … … 686 729 687 730 case $ac_option in 688 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 689 *=) ac_optarg= ;; 690 *) ac_optarg=yes ;; 731 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 732 *) ac_optarg=yes ;; 691 733 esac 692 734 … … 733 775 # Reject names that are not valid shell variable names. 734 776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 735 as_fn_error $? "invalid feature name: $ac_useropt" 777 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 778 { (exit 1); exit 1; }; } 736 779 ac_useropt_orig=$ac_useropt 737 780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 759 802 # Reject names that are not valid shell variable names. 760 803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 761 as_fn_error $? "invalid feature name: $ac_useropt" 804 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 805 { (exit 1); exit 1; }; } 762 806 ac_useropt_orig=$ac_useropt 763 807 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 963 1007 # Reject names that are not valid shell variable names. 964 1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 965 as_fn_error $? "invalid package name: $ac_useropt" 1009 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1010 { (exit 1); exit 1; }; } 966 1011 ac_useropt_orig=$ac_useropt 967 1012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 979 1024 # Reject names that are not valid shell variable names. 980 1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 981 as_fn_error $? "invalid package name: $ac_useropt" 1026 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1027 { (exit 1); exit 1; }; } 982 1028 ac_useropt_orig=$ac_useropt 983 1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1009 1055 x_libraries=$ac_optarg ;; 1010 1056 1011 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1012 Try \`$0 --help' for more information" 1057 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1058 Try \`$0 --help' for more information." >&2 1059 { (exit 1); exit 1; }; } 1013 1060 ;; 1014 1061 … … 1016 1063 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1017 1064 # Reject names that are not valid shell variable names. 1018 case $ac_envvar in #( 1019 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1020 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1021 esac 1065 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1066 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1067 { (exit 1); exit 1; }; } 1022 1068 eval $ac_envvar=\$ac_optarg 1023 1069 export $ac_envvar ;; … … 1036 1082 if test -n "$ac_prev"; then 1037 1083 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1038 as_fn_error $? "missing argument to $ac_option" 1084 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1085 { (exit 1); exit 1; }; } 1039 1086 fi 1040 1087 … … 1042 1089 case $enable_option_checking in 1043 1090 no) ;; 1044 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1091 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1092 { (exit 1); exit 1; }; } ;; 1045 1093 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1046 1094 esac … … 1065 1113 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1066 1114 esac 1067 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1115 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1116 { (exit 1); exit 1; }; } 1068 1117 done 1069 1118 … … 1079 1128 if test "x$build_alias" = x; then 1080 1129 cross_compiling=maybe 1081 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1082 If a cross compiler is detected then cross compile mode will be used " >&21130 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1131 If a cross compiler is detected then cross compile mode will be used." >&2 1083 1132 elif test "x$build_alias" != "x$host_alias"; then 1084 1133 cross_compiling=yes … … 1095 1144 ac_ls_di=`ls -di .` && 1096 1145 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1097 as_fn_error $? "working directory cannot be determined" 1146 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1147 { (exit 1); exit 1; }; } 1098 1148 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1099 as_fn_error $? "pwd does not report name of working directory" 1149 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1150 { (exit 1); exit 1; }; } 1100 1151 1101 1152 … … 1136 1187 if test ! -r "$srcdir/$ac_unique_file"; then 1137 1188 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1138 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1189 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1190 { (exit 1); exit 1; }; } 1139 1191 fi 1140 1192 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1141 1193 ac_abs_confdir=`( 1142 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1194 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1195 { (exit 1); exit 1; }; } 1143 1196 pwd)` 1144 1197 # When building in place, set srcdir=. … … 1180 1233 --help=recursive display the short help of all the included packages 1181 1234 -V, --version display version information and exit 1182 -q, --quiet, --silent do not print \`checking 1235 -q, --quiet, --silent do not print \`checking...' messages 1183 1236 --cache-file=FILE cache test results in FILE [disabled] 1184 1237 -C, --config-cache alias for \`--cache-file=config.cache' … … 1246 1299 --with-libiconv-prefix=dir Use specified libiconv directory 1247 1300 1248 Report bugs to the package provider.1249 1301 _ACEOF 1250 1302 ac_status=$? … … 1310 1362 cat <<\_ACEOF 1311 1363 configure 1312 generated by GNU Autoconf 2.67 1313 1314 Copyright (C) 2010 Free Software Foundation, Inc. 1364 generated by GNU Autoconf 2.63 1365 1366 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1367 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1315 1368 This configure script is free software; the Free Software Foundation 1316 1369 gives unlimited permission to copy, distribute and modify it. … … 1318 1371 exit 1319 1372 fi 1320 1321 ## ------------------------ ##1322 ## Autoconf initialization. ##1323 ## ------------------------ ##1324 1373 cat >config.log <<_ACEOF 1325 1374 This file contains any messages produced by compilers while … … 1327 1376 1328 1377 It was created by $as_me, which was 1329 generated by GNU Autoconf 2.6 7. Invocation command line was1378 generated by GNU Autoconf 2.63. Invocation command line was 1330 1379 1331 1380 $ $0 $@ … … 1363 1412 IFS=$as_save_IFS 1364 1413 test -z "$as_dir" && as_dir=. 1365 1366 1414 $as_echo "PATH: $as_dir" 1415 done 1367 1416 IFS=$as_save_IFS 1368 1417 … … 1401 1450 esac 1402 1451 case $ac_pass in 1403 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1452 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1404 1453 2) 1405 a s_fn_append ac_configure_args1 "'$ac_arg'"1454 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1406 1455 if test $ac_must_keep_next = true; then 1407 1456 ac_must_keep_next=false # Got value, back to normal. … … 1419 1468 esac 1420 1469 fi 1421 a s_fn_append ac_configure_args "'$ac_arg'"1470 ac_configure_args="$ac_configure_args '$ac_arg'" 1422 1471 ;; 1423 1472 esac 1424 1473 done 1425 1474 done 1426 { ac_configure_args0=; unset ac_configure_args0;}1427 { ac_configure_args1=; unset ac_configure_args1;}1475 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1476 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1428 1477 1429 1478 # When interrupted or exit'd, cleanup temporary files, and complete … … 1437 1486 echo 1438 1487 1439 $as_echo "## ---------------- ## 1488 cat <<\_ASBOX 1489 ## ---------------- ## 1440 1490 ## Cache variables. ## 1441 ## ---------------- ##" 1491 ## ---------------- ## 1492 _ASBOX 1442 1493 echo 1443 1494 # The following way of writing the cache mishandles newlines in values, … … 1448 1499 *${as_nl}*) 1449 1500 case $ac_var in #( 1450 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51501 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1451 1502 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1452 1503 esac … … 1454 1505 _ | IFS | as_nl) ;; #( 1455 1506 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1456 *) { eval $ac_var=; unset $ac_var;};;1507 *) $as_unset $ac_var ;; 1457 1508 esac ;; 1458 1509 esac … … 1473 1524 echo 1474 1525 1475 $as_echo "## ----------------- ## 1526 cat <<\_ASBOX 1527 ## ----------------- ## 1476 1528 ## Output variables. ## 1477 ## ----------------- ##" 1529 ## ----------------- ## 1530 _ASBOX 1478 1531 echo 1479 1532 for ac_var in $ac_subst_vars … … 1488 1541 1489 1542 if test -n "$ac_subst_files"; then 1490 $as_echo "## ------------------- ## 1543 cat <<\_ASBOX 1544 ## ------------------- ## 1491 1545 ## File substitutions. ## 1492 ## ------------------- ##" 1546 ## ------------------- ## 1547 _ASBOX 1493 1548 echo 1494 1549 for ac_var in $ac_subst_files … … 1504 1559 1505 1560 if test -s confdefs.h; then 1506 $as_echo "## ----------- ## 1561 cat <<\_ASBOX 1562 ## ----------- ## 1507 1563 ## confdefs.h. ## 1508 ## ----------- ##" 1564 ## ----------- ## 1565 _ASBOX 1509 1566 echo 1510 1567 cat confdefs.h … … 1520 1577 ' 0 1521 1578 for ac_signal in 1 2 13 15; do 1522 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1579 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1523 1580 done 1524 1581 ac_signal=0 … … 1526 1583 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1527 1584 rm -f -r conftest* confdefs.h 1528 1529 $as_echo "/* confdefs.h */" > confdefs.h1530 1585 1531 1586 # Predefined preprocessor variables. … … 1535 1590 _ACEOF 1536 1591 1592 1537 1593 cat >>confdefs.h <<_ACEOF 1538 1594 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1539 1595 _ACEOF 1540 1596 1597 1541 1598 cat >>confdefs.h <<_ACEOF 1542 1599 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1543 1600 _ACEOF 1544 1601 1602 1545 1603 cat >>confdefs.h <<_ACEOF 1546 1604 #define PACKAGE_STRING "$PACKAGE_STRING" 1547 1605 _ACEOF 1548 1606 1607 1549 1608 cat >>confdefs.h <<_ACEOF 1550 1609 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1551 _ACEOF1552 1553 cat >>confdefs.h <<_ACEOF1554 #define PACKAGE_URL "$PACKAGE_URL"1555 1610 _ACEOF 1556 1611 … … 1561 1616 ac_site_file2=NONE 1562 1617 if test -n "$CONFIG_SITE"; then 1563 # We do not want a PATH search for config.site. 1564 case $CONFIG_SITE in #(( 1565 -*) ac_site_file1=./$CONFIG_SITE;; 1566 */*) ac_site_file1=$CONFIG_SITE;; 1567 *) ac_site_file1=./$CONFIG_SITE;; 1568 esac 1618 ac_site_file1=$CONFIG_SITE 1569 1619 elif test "x$prefix" != xNONE; then 1570 1620 ac_site_file1=$prefix/share/config.site … … 1577 1627 do 1578 1628 test "x$ac_site_file" = xNONE && continue 1579 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then1580 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51629 if test -r "$ac_site_file"; then 1630 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1581 1631 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1582 1632 sed 's/^/| /' "$ac_site_file" >&5 1583 . "$ac_site_file" \ 1584 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1586 as_fn_error $? "failed to load site script $ac_site_file 1587 See \`config.log' for more details" "$LINENO" 5 ; } 1633 . "$ac_site_file" 1588 1634 fi 1589 1635 done 1590 1636 1591 1637 if test -r "$cache_file"; then 1592 # Some versions of bash will fail to source /dev/null (special files1593 # actually), so we avoid doing that. DJGPP emulates it as a regular file.1594 if test /dev/null != "$cache_file" && test-f "$cache_file"; then1595 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51638 # Some versions of bash will fail to source /dev/null (special 1639 # files actually), so we avoid doing that. 1640 if test -f "$cache_file"; then 1641 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1596 1642 $as_echo "$as_me: loading cache $cache_file" >&6;} 1597 1643 case $cache_file in … … 1601 1647 fi 1602 1648 else 1603 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51649 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1604 1650 $as_echo "$as_me: creating cache $cache_file" >&6;} 1605 1651 >$cache_file … … 1616 1662 case $ac_old_set,$ac_new_set in 1617 1663 set,) 1618 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51664 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1619 1665 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1620 1666 ac_cache_corrupted=: ;; 1621 1667 ,set) 1622 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51668 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1623 1669 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1624 1670 ac_cache_corrupted=: ;; … … 1630 1676 ac_new_val_w=`echo x $ac_new_val` 1631 1677 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1632 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51678 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1633 1679 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1634 1680 ac_cache_corrupted=: 1635 1681 else 1636 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51682 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1637 1683 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1638 1684 eval $ac_var=\$ac_old_val 1639 1685 fi 1640 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51686 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1641 1687 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1642 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51688 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1643 1689 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1644 1690 fi;; … … 1652 1698 case " $ac_configure_args " in 1653 1699 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1654 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1700 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1655 1701 esac 1656 1702 fi 1657 1703 done 1658 1704 if $ac_cache_corrupted; then 1659 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51705 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1660 1706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1661 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51707 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1662 1708 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1663 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1664 fi 1665 ## -------------------- ## 1666 ## Main body of script. ## 1667 ## -------------------- ## 1709 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1710 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1711 { (exit 1); exit 1; }; } 1712 fi 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1668 1729 1669 1730 ac_ext=c … … 1676 1737 1677 1738 # Check whether --enable-java was given. 1678 if test "${enable_java+set}" = set; then :1739 if test "${enable_java+set}" = set; then 1679 1740 enableval=$enable_java; ENABLE_JAVA=$enableval 1680 1741 else … … 1696 1757 1697 1758 # Check whether --enable-accentfold was given. 1698 if test "${enable_accentfold+set}" = set; then :1759 if test "${enable_accentfold+set}" = set; then 1699 1760 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1700 1761 else … … 1704 1765 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1705 1766 ENABLE_ACCENTFOLD=1 1706 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1767 cat >>confdefs.h <<\_ACEOF 1768 #define ENABLE_ACCENTFOLD /**/ 1769 _ACEOF 1707 1770 1708 1771 else … … 1713 1776 1714 1777 # Check whether --enable-jni was given. 1715 if test "${enable_jni+set}" = set; then :1778 if test "${enable_jni+set}" = set; then 1716 1779 enableval=$enable_jni; ENABLE_JNI=$enableval 1717 1780 else … … 1721 1784 if test $ENABLE_JAVA -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 1722 1785 ENABLE_JNI=1 1723 $as_echo "#define ENABLE_JNI /**/" >>confdefs.h 1786 cat >>confdefs.h <<\_ACEOF 1787 #define ENABLE_JNI /**/ 1788 _ACEOF 1724 1789 1725 1790 else … … 1730 1795 1731 1796 # Check whether --enable-mg was given. 1732 if test "${enable_mg+set}" = set; then :1797 if test "${enable_mg+set}" = set; then 1733 1798 enableval=$enable_mg; ENABLE_MG=$enableval 1734 1799 else … … 1738 1803 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1739 1804 ENABLE_MG=1 1740 $as_echo "#define ENABLE_MG /**/" >>confdefs.h 1805 cat >>confdefs.h <<\_ACEOF 1806 #define ENABLE_MG /**/ 1807 _ACEOF 1741 1808 1742 1809 else … … 1747 1814 1748 1815 # Check whether --enable-mgpp was given. 1749 if test "${enable_mgpp+set}" = set; then :1816 if test "${enable_mgpp+set}" = set; then 1750 1817 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1751 1818 else … … 1755 1822 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1756 1823 ENABLE_MGPP=1 1757 $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h 1824 cat >>confdefs.h <<\_ACEOF 1825 #define ENABLE_MGPP /**/ 1826 _ACEOF 1758 1827 1759 1828 else … … 1763 1832 1764 1833 # Check whether --enable-lucene was given. 1765 if test "${enable_lucene+set}" = set; then :1834 if test "${enable_lucene+set}" = set; then 1766 1835 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1767 1836 else … … 1771 1840 if test $ENABLE_JAVA -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1772 1841 ENABLE_LUCENE=1 1773 $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h 1842 cat >>confdefs.h <<\_ACEOF 1843 #define ENABLE_LUCENE /**/ 1844 _ACEOF 1774 1845 1775 1846 else 1776 1847 ENABLE_LUCENE=0 1777 1848 fi 1778 1779 1780 1781 cat >>confdefs.h <<_ACEOF1782 #define COMPAT32BITFLAGS $COMPAT32BITFLAGS1783 _ACEOF1784 1785 1849 1786 1850 … … 1794 1858 # Extract the first word of "$ac_prog", so it can be a program name with args. 1795 1859 set dummy $ac_prog; ac_word=$2 1796 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51860 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1797 1861 $as_echo_n "checking for $ac_word... " >&6; } 1798 if test "${ac_cv_prog_JAVAC+set}" = set; then :1862 if test "${ac_cv_prog_JAVAC+set}" = set; then 1799 1863 $as_echo_n "(cached) " >&6 1800 1864 else … … 1807 1871 IFS=$as_save_IFS 1808 1872 test -z "$as_dir" && as_dir=. 1809 1873 for ac_exec_ext in '' $ac_executable_extensions; do 1810 1874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1811 1875 ac_cv_prog_JAVAC="$ac_prog" 1812 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51876 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1813 1877 break 2 1814 1878 fi 1815 1879 done 1816 1880 done 1817 1881 IFS=$as_save_IFS 1818 1882 … … 1821 1885 JAVAC=$ac_cv_prog_JAVAC 1822 1886 if test -n "$JAVAC"; then 1823 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&51887 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 1824 1888 $as_echo "$JAVAC" >&6; } 1825 1889 else 1826 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51890 { $as_echo "$as_me:$LINENO: result: no" >&5 1827 1891 $as_echo "no" >&6; } 1828 1892 fi … … 1837 1901 # Extract the first word of "$ac_prog", so it can be a program name with args. 1838 1902 set dummy $ac_prog; ac_word=$2 1839 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51903 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1840 1904 $as_echo_n "checking for $ac_word... " >&6; } 1841 if test "${ac_cv_prog_JAVAC+set}" = set; then :1905 if test "${ac_cv_prog_JAVAC+set}" = set; then 1842 1906 $as_echo_n "(cached) " >&6 1843 1907 else … … 1850 1914 IFS=$as_save_IFS 1851 1915 test -z "$as_dir" && as_dir=. 1852 1916 for ac_exec_ext in '' $ac_executable_extensions; do 1853 1917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1854 1918 ac_cv_prog_JAVAC="$ac_prog" 1855 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51919 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1856 1920 break 2 1857 1921 fi 1858 1922 done 1859 1923 done 1860 1924 IFS=$as_save_IFS 1861 1925 … … 1864 1928 JAVAC=$ac_cv_prog_JAVAC 1865 1929 if test -n "$JAVAC"; then 1866 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&51930 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 1867 1931 $as_echo "$JAVAC" >&6; } 1868 1932 else 1869 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51933 { $as_echo "$as_me:$LINENO: result: no" >&5 1870 1934 $as_echo "no" >&6; } 1871 1935 fi … … 1877 1941 1878 1942 fi 1879 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 1943 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 1944 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 1945 { (exit 1); exit 1; }; } 1880 1946 else 1881 1947 echo "Checking for javac... $JAVAC" … … 1883 1949 1884 1950 1885 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVAC works" >&51951 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 1886 1952 $as_echo_n "checking if $JAVAC works... " >&6; } 1887 if test "${ac_cv_prog_javac_works+set}" = set; then :1953 if test "${ac_cv_prog_javac_works+set}" = set; then 1888 1954 $as_echo_n "(cached) " >&6 1889 1955 else … … 1892 1958 CLASS_TEST=Test.class 1893 1959 cat << \EOF > $JAVA_TEST 1894 /* #line 1 894"configure" */1960 /* #line 1960 "configure" */ 1895 1961 public class Test { 1896 1962 } 1897 1963 EOF 1898 1964 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 1899 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&51965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1900 1966 (eval $ac_try) 2>&5 1901 1967 ac_status=$? 1902 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&51903 test $ac_status = 0; }; } >/dev/null 2>&1; then1968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1969 (exit $ac_status); }; } >/dev/null 2>&1; then 1904 1970 ac_cv_prog_javac_works=yes 1905 1971 else 1906 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 1972 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 1973 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 1974 { (exit 1); exit 1; }; } 1907 1975 echo "configure: failed program was:" >&5 1908 1976 cat $JAVA_TEST >&5 … … 1911 1979 1912 1980 fi 1913 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&51981 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 1914 1982 $as_echo "$ac_cv_prog_javac_works" >&6; } 1915 1983 if test "x$JAVACFLAGS" = x ; then … … 1926 1994 # Extract the first word of "$ac_prog", so it can be a program name with args. 1927 1995 set dummy $ac_prog; ac_word=$2 1928 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51996 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1929 1997 $as_echo_n "checking for $ac_word... " >&6; } 1930 if test "${ac_cv_prog_JAVA+set}" = set; then :1998 if test "${ac_cv_prog_JAVA+set}" = set; then 1931 1999 $as_echo_n "(cached) " >&6 1932 2000 else … … 1939 2007 IFS=$as_save_IFS 1940 2008 test -z "$as_dir" && as_dir=. 1941 2009 for ac_exec_ext in '' $ac_executable_extensions; do 1942 2010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1943 2011 ac_cv_prog_JAVA="$ac_prog" 1944 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52012 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1945 2013 break 2 1946 2014 fi 1947 2015 done 1948 2016 done 1949 2017 IFS=$as_save_IFS 1950 2018 … … 1953 2021 JAVA=$ac_cv_prog_JAVA 1954 2022 if test -n "$JAVA"; then 1955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&52023 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 1956 2024 $as_echo "$JAVA" >&6; } 1957 2025 else 1958 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52026 { $as_echo "$as_me:$LINENO: result: no" >&5 1959 2027 $as_echo "no" >&6; } 1960 2028 fi … … 1969 2037 # Extract the first word of "$ac_prog", so it can be a program name with args. 1970 2038 set dummy $ac_prog; ac_word=$2 1971 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52039 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1972 2040 $as_echo_n "checking for $ac_word... " >&6; } 1973 if test "${ac_cv_prog_JAVA+set}" = set; then :2041 if test "${ac_cv_prog_JAVA+set}" = set; then 1974 2042 $as_echo_n "(cached) " >&6 1975 2043 else … … 1982 2050 IFS=$as_save_IFS 1983 2051 test -z "$as_dir" && as_dir=. 1984 2052 for ac_exec_ext in '' $ac_executable_extensions; do 1985 2053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1986 2054 ac_cv_prog_JAVA="$ac_prog" 1987 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52055 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1988 2056 break 2 1989 2057 fi 1990 2058 done 1991 2059 done 1992 2060 IFS=$as_save_IFS 1993 2061 … … 1996 2064 JAVA=$ac_cv_prog_JAVA 1997 2065 if test -n "$JAVA"; then 1998 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&52066 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 1999 2067 $as_echo "$JAVA" >&6; } 2000 2068 else 2001 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52069 { $as_echo "$as_me:$LINENO: result: no" >&5 2002 2070 $as_echo "no" >&6; } 2003 2071 fi … … 2009 2077 2010 2078 fi 2011 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 2079 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 2080 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 2081 { (exit 1); exit 1; }; } 2012 2082 fi 2013 2083 … … 2015 2085 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 2016 2086 set dummy uudecode$EXEEXT; ac_word=$2 2017 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52087 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2018 2088 $as_echo_n "checking for $ac_word... " >&6; } 2019 if test "${ac_cv_prog_uudecode+set}" = set; then :2089 if test "${ac_cv_prog_uudecode+set}" = set; then 2020 2090 $as_echo_n "(cached) " >&6 2021 2091 else … … 2028 2098 IFS=$as_save_IFS 2029 2099 test -z "$as_dir" && as_dir=. 2030 2100 for ac_exec_ext in '' $ac_executable_extensions; do 2031 2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2032 2102 ac_cv_prog_uudecode="yes" 2033 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52103 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2034 2104 break 2 2035 2105 fi 2036 2106 done 2037 2107 done 2038 2108 IFS=$as_save_IFS 2039 2109 … … 2042 2112 uudecode=$ac_cv_prog_uudecode 2043 2113 if test -n "$uudecode"; then 2044 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $uudecode" >&52114 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 2045 2115 $as_echo "$uudecode" >&6; } 2046 2116 else 2047 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52117 { $as_echo "$as_me:$LINENO: result: no" >&5 2048 2118 $as_echo "no" >&6; } 2049 2119 fi … … 2051 2121 2052 2122 if test x$uudecode = xyes; then 2053 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&52123 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 2054 2124 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 2055 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :2125 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 2056 2126 $as_echo_n "(cached) " >&6 2057 2127 else … … 2071 2141 ac_cv_prog_uudecode_base64=yes 2072 2142 else 2073 echo "configure: 2 073: uudecode had trouble decoding base 64 file 'Test.uue'" >&52143 echo "configure: 2143: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 2074 2144 echo "configure: failed file was:" >&5 2075 2145 cat Test.uue >&5 … … 2078 2148 rm -f Test.uue 2079 2149 fi 2080 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&52150 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 2081 2151 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 2082 2152 fi 2083 2153 if test x$ac_cv_prog_uudecode_base64 != xyes; then 2084 2154 rm -f Test.class 2085 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&52155 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 2086 2156 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 2087 2157 if test x$ac_cv_prog_javac_works = xno; then 2088 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 2158 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 2159 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 2160 { (exit 1); exit 1; }; } 2089 2161 fi 2090 2162 if test x$ac_cv_prog_javac_works = x; then … … 2096 2168 # Extract the first word of "$ac_prog", so it can be a program name with args. 2097 2169 set dummy $ac_prog; ac_word=$2 2098 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2099 2171 $as_echo_n "checking for $ac_word... " >&6; } 2100 if test "${ac_cv_prog_JAVAC+set}" = set; then :2172 if test "${ac_cv_prog_JAVAC+set}" = set; then 2101 2173 $as_echo_n "(cached) " >&6 2102 2174 else … … 2109 2181 IFS=$as_save_IFS 2110 2182 test -z "$as_dir" && as_dir=. 2111 2183 for ac_exec_ext in '' $ac_executable_extensions; do 2112 2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2113 2185 ac_cv_prog_JAVAC="$ac_prog" 2114 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2115 2187 break 2 2116 2188 fi 2117 2189 done 2118 2190 done 2119 2191 IFS=$as_save_IFS 2120 2192 … … 2123 2195 JAVAC=$ac_cv_prog_JAVAC 2124 2196 if test -n "$JAVAC"; then 2125 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&52197 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 2126 2198 $as_echo "$JAVAC" >&6; } 2127 2199 else 2128 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52200 { $as_echo "$as_me:$LINENO: result: no" >&5 2129 2201 $as_echo "no" >&6; } 2130 2202 fi … … 2139 2211 # Extract the first word of "$ac_prog", so it can be a program name with args. 2140 2212 set dummy $ac_prog; ac_word=$2 2141 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52213 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2142 2214 $as_echo_n "checking for $ac_word... " >&6; } 2143 if test "${ac_cv_prog_JAVAC+set}" = set; then :2215 if test "${ac_cv_prog_JAVAC+set}" = set; then 2144 2216 $as_echo_n "(cached) " >&6 2145 2217 else … … 2152 2224 IFS=$as_save_IFS 2153 2225 test -z "$as_dir" && as_dir=. 2154 2226 for ac_exec_ext in '' $ac_executable_extensions; do 2155 2227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2156 2228 ac_cv_prog_JAVAC="$ac_prog" 2157 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52229 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2158 2230 break 2 2159 2231 fi 2160 2232 done 2161 2233 done 2162 2234 IFS=$as_save_IFS 2163 2235 … … 2166 2238 JAVAC=$ac_cv_prog_JAVAC 2167 2239 if test -n "$JAVAC"; then 2168 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&52240 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 2169 2241 $as_echo "$JAVAC" >&6; } 2170 2242 else 2171 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52243 { $as_echo "$as_me:$LINENO: result: no" >&5 2172 2244 $as_echo "no" >&6; } 2173 2245 fi … … 2179 2251 2180 2252 fi 2181 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 2253 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 2254 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 2255 { (exit 1); exit 1; }; } 2182 2256 else 2183 2257 echo "Checking for javac... $JAVAC" … … 2185 2259 2186 2260 2187 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVAC works" >&52261 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 2188 2262 $as_echo_n "checking if $JAVAC works... " >&6; } 2189 if test "${ac_cv_prog_javac_works+set}" = set; then :2263 if test "${ac_cv_prog_javac_works+set}" = set; then 2190 2264 $as_echo_n "(cached) " >&6 2191 2265 else … … 2194 2268 CLASS_TEST=Test.class 2195 2269 cat << \EOF > $JAVA_TEST 2196 /* #line 2 196"configure" */2270 /* #line 2270 "configure" */ 2197 2271 public class Test { 2198 2272 } 2199 2273 EOF 2200 2274 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 2201 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&52275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2202 2276 (eval $ac_try) 2>&5 2203 2277 ac_status=$? 2204 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52205 test $ac_status = 0; }; } >/dev/null 2>&1; then2278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2279 (exit $ac_status); }; } >/dev/null 2>&1; then 2206 2280 ac_cv_prog_javac_works=yes 2207 2281 else 2208 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2282 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 2283 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 2284 { (exit 1); exit 1; }; } 2209 2285 echo "configure: failed program was:" >&5 2210 2286 cat $JAVA_TEST >&5 … … 2213 2289 2214 2290 fi 2215 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&52291 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 2216 2292 $as_echo "$ac_cv_prog_javac_works" >&6; } 2217 2293 if test "x$JAVACFLAGS" = x ; then … … 2223 2299 fi 2224 2300 fi 2225 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVA works" >&52301 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 2226 2302 $as_echo_n "checking if $JAVA works... " >&6; } 2227 if test "${ac_cv_prog_java_works+set}" = set; then :2303 if test "${ac_cv_prog_java_works+set}" = set; then 2228 2304 $as_echo_n "(cached) " >&6 2229 2305 else … … 2233 2309 TEST=Test 2234 2310 cat << \EOF > $JAVA_TEST 2235 /* [#]line 2 235"configure" */2311 /* [#]line 2311 "configure" */ 2236 2312 public class Test { 2237 2313 public static void main (String args[]) { … … 2241 2317 if test x$ac_cv_prog_uudecode_base64 != xyes; then 2242 2318 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 2243 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&52319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2244 2320 (eval $ac_try) 2>&5 2245 2321 ac_status=$? 2246 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52247 test $ac_status = 0; }; } && test -s $CLASS_TEST; then2322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2323 (exit $ac_status); }; } && test -s $CLASS_TEST; then 2248 2324 : 2249 2325 else 2250 2326 echo "configure: failed program was:" >&5 2251 2327 cat $JAVA_TEST >&5 2252 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2328 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 2329 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 2330 { (exit 1); exit 1; }; } 2253 2331 fi 2254 2332 fi 2255 2333 if { ac_try='$JAVA $JAVAFLAGS $TEST' 2256 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&52334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2257 2335 (eval $ac_try) 2>&5 2258 2336 ac_status=$? 2259 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52260 test $ac_status = 0; }; } >/dev/null 2>&1; then2337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2338 (exit $ac_status); }; } >/dev/null 2>&1; then 2261 2339 ac_cv_prog_java_works=yes 2262 2340 else 2263 2341 echo "configure: failed program was:" >&5 2264 2342 cat $JAVA_TEST >&5 2265 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2343 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 2344 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 2345 { (exit 1); exit 1; }; } 2266 2346 fi 2267 2347 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 2268 2348 2269 2349 fi 2270 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&52350 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 2271 2351 $as_echo "$ac_cv_prog_java_works" >&6; } 2272 2352 … … 2277 2357 2278 2358 # Check whether --with-unac was given. 2279 if test "${with_unac+set}" = set; then :2359 if test "${with_unac+set}" = set; then 2280 2360 withval=$with_unac; UNAC_DIR=$withval 2281 2361 fi … … 2284 2364 2285 2365 # Check whether --with-libiconv was given. 2286 if test "${with_libiconv+set}" = set; then :2366 if test "${with_libiconv+set}" = set; then 2287 2367 withval=$with_libiconv; LIBICONV_DIR=$withval 2288 2368 fi … … 2307 2387 done 2308 2388 if test -z "$ac_aux_dir"; then 2309 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2389 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2390 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2391 { (exit 1); exit 1; }; } 2310 2392 fi 2311 2393 … … 2382 2464 *${as_nl}*) 2383 2465 case $ac_var in #( 2384 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&52466 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2385 2467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2386 2468 esac … … 2388 2470 _ | IFS | as_nl) ;; #( 2389 2471 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2390 *) { eval $ac_var=; unset $ac_var;};;2472 *) $as_unset $ac_var ;; 2391 2473 esac ;; 2392 2474 esac … … 2396 2478 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2397 2479 *${as_nl}ac_space=\ *) 2398 # `set' does not quote correctly, so add quotes :double-quote2399 # substitution turns \\\\ into \\, and sed turns \\ into \ .2480 # `set' does not quote correctly, so add quotes (double-quote 2481 # substitution turns \\\\ into \\, and sed turns \\ into \). 2400 2482 sed -n \ 2401 2483 "s/'/'\\\\''/g; … … 2420 2502 if test -w "$cache_file"; then 2421 2503 test "x$cache_file" != "x/dev/null" && 2422 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&52504 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 2423 2505 $as_echo "$as_me: updating cache $cache_file" >&6;} 2424 2506 cat confcache >$cache_file 2425 2507 else 2426 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&52508 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 2427 2509 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2428 2510 fi … … 2474 2556 ac_libobjs= 2475 2557 ac_ltlibobjs= 2476 U=2477 2558 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2478 2559 # 1. Remove the extension, and $U if already installed. … … 2481 2562 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2482 2563 # will be set to the directory where LIBOBJS objects are built. 2483 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"2484 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'2564 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2565 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 2485 2566 done 2486 2567 LIBOBJS=$ac_libobjs … … 2494 2575 ac_clean_files_save=$ac_clean_files 2495 2576 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2496 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&52577 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 2497 2578 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 2498 as_write_fail=0 2499 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 2579 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2500 2580 #! $SHELL 2501 2581 # Generated by $as_me. … … 2507 2587 ac_cs_recheck=false 2508 2588 ac_cs_silent=false 2509 2510 2589 SHELL=\${CONFIG_SHELL-$SHELL} 2511 export SHELL 2512 _ASEOF 2513 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=12514 ## -------------------- ##2515 ## M4sh Initialization. ##2516 ## -------------------- ##2590 _ACEOF 2591 2592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2593 ## --------------------- ## 2594 ## M4sh Initialization. ## 2595 ## --------------------- ## 2517 2596 2518 2597 # Be more Bourne compatible 2519 2598 DUALCASE=1; export DUALCASE # for MKS sh 2520 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :2599 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2521 2600 emulate sh 2522 2601 NULLCMD=: … … 2526 2605 setopt NO_GLOB_SUBST 2527 2606 else 2528 case `(set -o) 2>/dev/null` in #( 2529 *posix*) : 2530 set -o posix ;; #( 2531 *) : 2532 ;; 2607 case `(set -o) 2>/dev/null` in 2608 *posix*) set -o posix ;; 2533 2609 esac 2534 fi 2535 2610 2611 fi 2612 2613 2614 2615 2616 # PATH needs CR 2617 # Avoid depending upon Character Ranges. 2618 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2619 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2620 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2621 as_cr_digits='0123456789' 2622 as_cr_alnum=$as_cr_Letters$as_cr_digits 2536 2623 2537 2624 as_nl=' … … 2542 2629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 2543 2630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 2544 # Prefer a ksh shell builtin over an external printf program on Solaris, 2545 # but without wasting forks for bash or zsh. 2546 if test -z "$BASH_VERSION$ZSH_VERSION" \ 2547 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 2548 as_echo='print -r --' 2549 as_echo_n='print -rn --' 2550 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 2631 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 2551 2632 as_echo='printf %s\n' 2552 2633 as_echo_n='printf %s' … … 2559 2640 as_echo_n_body='eval 2560 2641 arg=$1; 2561 case $arg in #(2642 case $arg in 2562 2643 *"$as_nl"*) 2563 2644 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 2582 2663 fi 2583 2664 2665 # Support unset when possible. 2666 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2667 as_unset=unset 2668 else 2669 as_unset=false 2670 fi 2671 2584 2672 2585 2673 # IFS … … 2591 2679 2592 2680 # Find who we are. Look in the path if we contain no directory separator. 2593 case $0 in #((2681 case $0 in 2594 2682 *[\\/]* ) as_myself=$0 ;; 2595 2683 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2598 2686 IFS=$as_save_IFS 2599 2687 test -z "$as_dir" && as_dir=. 2600 2601 2688 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2689 done 2602 2690 IFS=$as_save_IFS 2603 2691 … … 2611 2699 if test ! -f "$as_myself"; then 2612 2700 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2613 exit 1 2614 fi 2615 2616 # Unset variables that we do not need and which cause bugs (e.g. in 2617 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 2618 # suppresses any "Segmentation fault" message there. '((' could 2619 # trigger a bug in pdksh 5.2.14. 2620 for as_var in BASH_ENV ENV MAIL MAILPATH 2621 do eval test x\${$as_var+set} = xset \ 2622 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 2701 { (exit 1); exit 1; } 2702 fi 2703 2704 # Work around bugs in pre-3.0 UWIN ksh. 2705 for as_var in ENV MAIL MAILPATH 2706 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2623 2707 done 2624 2708 PS1='$ ' … … 2632 2716 export LANGUAGE 2633 2717 2634 # CDPATH. 2635 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 2636 2637 2638 # as_fn_error STATUS ERROR [LINENO LOG_FD] 2639 # ---------------------------------------- 2640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2642 # script with STATUS, using 1 if that was 0. 2643 as_fn_error () 2644 { 2645 as_status=$1; test $as_status -eq 0 && as_status=1 2646 if test "$4"; then 2647 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2648 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2649 fi 2650 $as_echo "$as_me: error: $2" >&2 2651 as_fn_exit $as_status 2652 } # as_fn_error 2653 2654 2655 # as_fn_set_status STATUS 2656 # ----------------------- 2657 # Set $? to STATUS, without forking. 2658 as_fn_set_status () 2659 { 2660 return $1 2661 } # as_fn_set_status 2662 2663 # as_fn_exit STATUS 2664 # ----------------- 2665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2666 as_fn_exit () 2667 { 2668 set +e 2669 as_fn_set_status $1 2670 exit $1 2671 } # as_fn_exit 2672 2673 # as_fn_unset VAR 2674 # --------------- 2675 # Portably unset VAR. 2676 as_fn_unset () 2677 { 2678 { eval $1=; unset $1;} 2679 } 2680 as_unset=as_fn_unset 2681 # as_fn_append VAR VALUE 2682 # ---------------------- 2683 # Append the text in VALUE to the end of the definition contained in VAR. Take 2684 # advantage of any shell optimizations that allow amortized linear growth over 2685 # repeated appends, instead of the typical quadratic growth present in naive 2686 # implementations. 2687 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 2688 eval 'as_fn_append () 2689 { 2690 eval $1+=\$2 2691 }' 2692 else 2693 as_fn_append () 2694 { 2695 eval $1=\$$1\$2 2696 } 2697 fi # as_fn_append 2698 2699 # as_fn_arith ARG... 2700 # ------------------ 2701 # Perform arithmetic evaluation on the ARGs, and store the result in the 2702 # global $as_val. Take advantage of shells that can avoid forks. The arguments 2703 # must be portable across $(()) and expr. 2704 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 2705 eval 'as_fn_arith () 2706 { 2707 as_val=$(( $* )) 2708 }' 2709 else 2710 as_fn_arith () 2711 { 2712 as_val=`expr "$@" || test $? -eq 1` 2713 } 2714 fi # as_fn_arith 2715 2716 2718 # Required to use basename. 2717 2719 if expr a : '\(a\)' >/dev/null 2>&1 && 2718 2720 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 2728 2730 fi 2729 2731 2730 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2731 as_dirname=dirname 2732 else 2733 as_dirname=false 2734 fi 2735 2732 2733 # Name of the executable. 2736 2734 as_me=`$as_basename -- "$0" || 2737 2735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 2753 2751 s/.*/./; q'` 2754 2752 2755 # Avoid depending upon Character Ranges. 2756 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2757 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2758 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2759 as_cr_digits='0123456789' 2760 as_cr_alnum=$as_cr_Letters$as_cr_digits 2753 # CDPATH. 2754 $as_unset CDPATH 2755 2756 2757 2758 as_lineno_1=$LINENO 2759 as_lineno_2=$LINENO 2760 test "x$as_lineno_1" != "x$as_lineno_2" && 2761 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 2762 2763 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 2764 # uniformly replaced by the line number. The first 'sed' inserts a 2765 # line-number line after each line using $LINENO; the second 'sed' 2766 # does the real work. The second script uses 'N' to pair each 2767 # line-number line with the line containing $LINENO, and appends 2768 # trailing '-' during substitution so that $LINENO is not a special 2769 # case at line end. 2770 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 2771 # scripts with optimization help from Paolo Bonzini. Blame Lee 2772 # E. McMahon (1931-1989) for sed's syntax. :-) 2773 sed -n ' 2774 p 2775 /[$]LINENO/= 2776 ' <$as_myself | 2777 sed ' 2778 s/[$]LINENO.*/&-/ 2779 t lineno 2780 b 2781 :lineno 2782 N 2783 :loop 2784 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 2785 t loop 2786 s/-\n.*// 2787 ' >$as_me.lineno && 2788 chmod +x "$as_me.lineno" || 2789 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 2790 { (exit 1); exit 1; }; } 2791 2792 # Don't try to exec as it changes $[0], causing all sort of problems 2793 # (the dirname of $[0] is not the place where we might find the 2794 # original and so on. Autoconf is especially sensitive to this). 2795 . "./$as_me.lineno" 2796 # Exit status is that of the last command. 2797 exit 2798 } 2799 2800 2801 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2802 as_dirname=dirname 2803 else 2804 as_dirname=false 2805 fi 2761 2806 2762 2807 ECHO_C= ECHO_N= ECHO_T= 2763 case `echo -n x` in #(((((2808 case `echo -n x` in 2764 2809 -n*) 2765 case `echo 'x y\c'` in2810 case `echo 'x\c'` in 2766 2811 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2767 xy) ECHO_C='\c';; 2768 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 2769 ECHO_T=' ';; 2812 *) ECHO_C='\c';; 2770 2813 esac;; 2771 2814 *) 2772 2815 ECHO_N='-n';; 2773 2816 esac 2817 if expr a : '\(a\)' >/dev/null 2>&1 && 2818 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2819 as_expr=expr 2820 else 2821 as_expr=false 2822 fi 2774 2823 2775 2824 rm -f conf$$ conf$$.exe conf$$.file … … 2800 2849 rmdir conf$$.dir 2>/dev/null 2801 2850 2802 2803 # as_fn_mkdir_p 2804 # ------------- 2805 # Create "$as_dir" as a directory, including parents if necessary. 2806 as_fn_mkdir_p () 2851 if mkdir -p . 2>/dev/null; then 2852 as_mkdir_p=: 2853 else 2854 test -d ./-p && rmdir ./-p 2855 as_mkdir_p=false 2856 fi 2857 2858 if test -x / >/dev/null 2>&1; then 2859 as_test_x='test -x' 2860 else 2861 if ls -dL / >/dev/null 2>&1; then 2862 as_ls_L_option=L 2863 else 2864 as_ls_L_option= 2865 fi 2866 as_test_x=' 2867 eval sh -c '\'' 2868 if test -d "$1"; then 2869 test -d "$1/."; 2870 else 2871 case $1 in 2872 -*)set "./$1";; 2873 esac; 2874 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 2875 ???[sx]*):;;*)false;;esac;fi 2876 '\'' sh 2877 ' 2878 fi 2879 as_executable_p=$as_test_x 2880 2881 # Sed expression to map a string onto a valid CPP name. 2882 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2883 2884 # Sed expression to map a string onto a valid variable name. 2885 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2886 2887 2888 exec 6>&1 2889 2890 # Save the log message, to keep $[0] and so on meaningful, and to 2891 # report actual input values of CONFIG_FILES etc. instead of their 2892 # values after options handling. 2893 ac_log=" 2894 This file was extended by $as_me, which was 2895 generated by GNU Autoconf 2.63. Invocation command line was 2896 2897 CONFIG_FILES = $CONFIG_FILES 2898 CONFIG_HEADERS = $CONFIG_HEADERS 2899 CONFIG_LINKS = $CONFIG_LINKS 2900 CONFIG_COMMANDS = $CONFIG_COMMANDS 2901 $ $0 $@ 2902 2903 on `(hostname || uname -n) 2>/dev/null | sed 1q` 2904 " 2905 2906 _ACEOF 2907 2908 case $ac_config_files in *" 2909 "*) set x $ac_config_files; shift; ac_config_files=$*;; 2910 esac 2911 2912 2913 2914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2915 # Files that config.status was made for. 2916 config_files="$ac_config_files" 2917 2918 _ACEOF 2919 2920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2921 ac_cs_usage="\ 2922 \`$as_me' instantiates files from templates according to the 2923 current configuration. 2924 2925 Usage: $0 [OPTION]... [FILE]... 2926 2927 -h, --help print this help, then exit 2928 -V, --version print version number and configuration settings, then exit 2929 -q, --quiet, --silent 2930 do not print progress messages 2931 -d, --debug don't remove temporary files 2932 --recheck update $as_me by reconfiguring in the same conditions 2933 --file=FILE[:TEMPLATE] 2934 instantiate the configuration file FILE 2935 2936 Configuration files: 2937 $config_files 2938 2939 Report bugs to <[email protected]>." 2940 2941 _ACEOF 2942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2943 ac_cs_version="\\ 2944 config.status 2945 configured by $0, generated by GNU Autoconf 2.63, 2946 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 2947 2948 Copyright (C) 2008 Free Software Foundation, Inc. 2949 This config.status script is free software; the Free Software Foundation 2950 gives unlimited permission to copy, distribute and modify it." 2951 2952 ac_pwd='$ac_pwd' 2953 srcdir='$srcdir' 2954 test -n "\$AWK" || AWK=awk 2955 _ACEOF 2956 2957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2958 # The default lists apply if the user does not specify any file. 2959 ac_need_defaults=: 2960 while test $# != 0 2961 do 2962 case $1 in 2963 --*=*) 2964 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2965 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2966 ac_shift=: 2967 ;; 2968 *) 2969 ac_option=$1 2970 ac_optarg=$2 2971 ac_shift=shift 2972 ;; 2973 esac 2974 2975 case $ac_option in 2976 # Handling of the options. 2977 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2978 ac_cs_recheck=: ;; 2979 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2980 $as_echo "$ac_cs_version"; exit ;; 2981 --debug | --debu | --deb | --de | --d | -d ) 2982 debug=: ;; 2983 --file | --fil | --fi | --f ) 2984 $ac_shift 2985 case $ac_optarg in 2986 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 2987 esac 2988 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 2989 ac_need_defaults=false;; 2990 --he | --h | --help | --hel | -h ) 2991 $as_echo "$ac_cs_usage"; exit ;; 2992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2993 | -silent | --silent | --silen | --sile | --sil | --si | --s) 2994 ac_cs_silent=: ;; 2995 2996 # This is an error. 2997 -*) { $as_echo "$as_me: error: unrecognized option: $1 2998 Try \`$0 --help' for more information." >&2 2999 { (exit 1); exit 1; }; } ;; 3000 3001 *) ac_config_targets="$ac_config_targets $1" 3002 ac_need_defaults=false ;; 3003 3004 esac 3005 shift 3006 done 3007 3008 ac_configure_extra_args= 3009 3010 if $ac_cs_silent; then 3011 exec 6>/dev/null 3012 ac_configure_extra_args="$ac_configure_extra_args --silent" 3013 fi 3014 3015 _ACEOF 3016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3017 if \$ac_cs_recheck; then 3018 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3019 shift 3020 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3021 CONFIG_SHELL='$SHELL' 3022 export CONFIG_SHELL 3023 exec "\$@" 3024 fi 3025 3026 _ACEOF 3027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3028 exec 5>>config.log 2807 3029 { 2808 3030 echo 3031 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3032 ## Running $as_me. ## 3033 _ASBOX 3034 $as_echo "$ac_log" 3035 } >&5 3036 3037 _ACEOF 3038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3039 _ACEOF 3040 3041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3042 3043 # Handling of arguments. 3044 for ac_config_target in $ac_config_targets 3045 do 3046 case $ac_config_target in 3047 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3048 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 3049 3050 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3051 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3052 { (exit 1); exit 1; }; };; 3053 esac 3054 done 3055 3056 3057 # If the user did not use the arguments to specify the items to instantiate, 3058 # then the envvar interface is used. Set only those that are not. 3059 # We use the long form for the default assignment because of an extremely 3060 # bizarre bug on SunOS 4.1.3. 3061 if $ac_need_defaults; then 3062 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3063 fi 3064 3065 # Have a temporary directory for convenience. Make it in the build tree 3066 # simply because there is no reason against having it here, and in addition, 3067 # creating and moving files from /tmp can sometimes cause problems. 3068 # Hook for its removal unless debugging. 3069 # Note that there is a small window in which the directory will not be cleaned: 3070 # after its creation but before its name has been assigned to `$tmp'. 3071 $debug || 3072 { 3073 tmp= 3074 trap 'exit_status=$? 3075 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3076 ' 0 3077 trap '{ (exit 1); exit 1; }' 1 2 13 15 3078 } 3079 # Create a (secure) tmp directory for tmp files. 3080 3081 { 3082 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3083 test -n "$tmp" && test -d "$tmp" 3084 } || 3085 { 3086 tmp=./conf$$-$RANDOM 3087 (umask 077 && mkdir "$tmp") 3088 } || 3089 { 3090 $as_echo "$as_me: cannot create a temporary directory in ." >&2 3091 { (exit 1); exit 1; } 3092 } 3093 3094 # Set up the scripts for CONFIG_FILES section. 3095 # No need to generate them if there are no CONFIG_FILES. 3096 # This happens for instance with `./config.status config.h'. 3097 if test -n "$CONFIG_FILES"; then 3098 3099 3100 ac_cr=' 3101 ' 3102 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3103 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3104 ac_cs_awk_cr='\\r' 3105 else 3106 ac_cs_awk_cr=$ac_cr 3107 fi 3108 3109 echo 'BEGIN {' >"$tmp/subs1.awk" && 3110 _ACEOF 3111 3112 3113 { 3114 echo "cat >conf$$subs.awk <<_ACEOF" && 3115 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3116 echo "_ACEOF" 3117 } >conf$$subs.sh || 3118 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3119 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3120 { (exit 1); exit 1; }; } 3121 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 3122 ac_delim='%!_!# ' 3123 for ac_last_try in false false false false false :; do 3124 . ./conf$$subs.sh || 3125 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3126 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3127 { (exit 1); exit 1; }; } 3128 3129 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3130 if test $ac_delim_n = $ac_delim_num; then 3131 break 3132 elif $ac_last_try; then 3133 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3134 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3135 { (exit 1); exit 1; }; } 3136 else 3137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3138 fi 3139 done 3140 rm -f conf$$subs.sh 3141 3142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3143 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 3144 _ACEOF 3145 sed -n ' 3146 h 3147 s/^/S["/; s/!.*/"]=/ 3148 p 3149 g 3150 s/^[^!]*!// 3151 :repl 3152 t repl 3153 s/'"$ac_delim"'$// 3154 t delim 3155 :nl 3156 h 3157 s/\(.\{148\}\).*/\1/ 3158 t more1 3159 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3160 p 3161 n 3162 b repl 3163 :more1 3164 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3165 p 3166 g 3167 s/.\{148\}// 3168 t nl 3169 :delim 3170 h 3171 s/\(.\{148\}\).*/\1/ 3172 t more2 3173 s/["\\]/\\&/g; s/^/"/; s/$/"/ 3174 p 3175 b 3176 :more2 3177 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3178 p 3179 g 3180 s/.\{148\}// 3181 t delim 3182 ' <conf$$subs.awk | sed ' 3183 /^[^""]/{ 3184 N 3185 s/\n// 3186 } 3187 ' >>$CONFIG_STATUS || ac_write_fail=1 3188 rm -f conf$$subs.awk 3189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3190 _ACAWK 3191 cat >>"\$tmp/subs1.awk" <<_ACAWK && 3192 for (key in S) S_is_set[key] = 1 3193 FS = "" 3194 3195 } 3196 { 3197 line = $ 0 3198 nfields = split(line, field, "@") 3199 substed = 0 3200 len = length(field[1]) 3201 for (i = 2; i < nfields; i++) { 3202 key = field[i] 3203 keylen = length(key) 3204 if (S_is_set[key]) { 3205 value = S[key] 3206 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3207 len += length(value) + length(field[++i]) 3208 substed = 1 3209 } else 3210 len += 1 + keylen 3211 } 3212 3213 print line 3214 } 3215 3216 _ACAWK 3217 _ACEOF 3218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3219 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3220 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3221 else 3222 cat 3223 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 3224 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 3225 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 3226 { (exit 1); exit 1; }; } 3227 _ACEOF 3228 3229 # VPATH may cause trouble with some makes, so we remove $(srcdir), 3230 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3231 # trailing colons and then remove the whole line if VPATH becomes empty 3232 # (actually we leave an empty line to preserve line numbers). 3233 if test "x$srcdir" = x.; then 3234 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3235 s/:*\$(srcdir):*/:/ 3236 s/:*\${srcdir}:*/:/ 3237 s/:*@srcdir@:*/:/ 3238 s/^\([^=]*=[ ]*\):*/\1/ 3239 s/:*$// 3240 s/^[^=]*=[ ]*$// 3241 }' 3242 fi 3243 3244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3245 fi # test -n "$CONFIG_FILES" 3246 3247 3248 eval set X " :F $CONFIG_FILES " 3249 shift 3250 for ac_tag 3251 do 3252 case $ac_tag in 3253 :[FHLC]) ac_mode=$ac_tag; continue;; 3254 esac 3255 case $ac_mode$ac_tag in 3256 :[FHL]*:*);; 3257 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 3258 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 3259 { (exit 1); exit 1; }; };; 3260 :[FH]-) ac_tag=-:-;; 3261 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3262 esac 3263 ac_save_IFS=$IFS 3264 IFS=: 3265 set x $ac_tag 3266 IFS=$ac_save_IFS 3267 shift 3268 ac_file=$1 3269 shift 3270 3271 case $ac_mode in 3272 :L) ac_source=$1;; 3273 :[FH]) 3274 ac_file_inputs= 3275 for ac_f 3276 do 3277 case $ac_f in 3278 -) ac_f="$tmp/stdin";; 3279 *) # Look for the file first in the build tree, then in the source tree 3280 # (if the path is not absolute). The absolute path cannot be DOS-style, 3281 # because $ac_f cannot contain `:'. 3282 test -f "$ac_f" || 3283 case $ac_f in 3284 [\\/$]*) false;; 3285 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3286 esac || 3287 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 3288 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 3289 { (exit 1); exit 1; }; };; 3290 esac 3291 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3292 ac_file_inputs="$ac_file_inputs '$ac_f'" 3293 done 3294 3295 # Let's still pretend it is `configure' which instantiates (i.e., don't 3296 # use $as_me), people would be surprised to read: 3297 # /* config.h. Generated by config.status. */ 3298 configure_input='Generated from '` 3299 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3300 `' by configure.' 3301 if test x"$ac_file" != x-; then 3302 configure_input="$ac_file. $configure_input" 3303 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 3304 $as_echo "$as_me: creating $ac_file" >&6;} 3305 fi 3306 # Neutralize special characters interpreted by sed in replacement strings. 3307 case $configure_input in #( 3308 *\&* | *\|* | *\\* ) 3309 ac_sed_conf_input=`$as_echo "$configure_input" | 3310 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3311 *) ac_sed_conf_input=$configure_input;; 3312 esac 3313 3314 case $ac_tag in 3315 *:-:* | *:-) cat >"$tmp/stdin" \ 3316 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 3317 $as_echo "$as_me: error: could not create $ac_file" >&2;} 3318 { (exit 1); exit 1; }; } ;; 3319 esac 3320 ;; 3321 esac 3322 3323 ac_dir=`$as_dirname -- "$ac_file" || 3324 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3325 X"$ac_file" : 'X\(//\)[^/]' \| \ 3326 X"$ac_file" : 'X\(//\)$' \| \ 3327 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3328 $as_echo X"$ac_file" | 3329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3330 s//\1/ 3331 q 3332 } 3333 /^X\(\/\/\)[^/].*/{ 3334 s//\1/ 3335 q 3336 } 3337 /^X\(\/\/\)$/{ 3338 s//\1/ 3339 q 3340 } 3341 /^X\(\/\).*/{ 3342 s//\1/ 3343 q 3344 } 3345 s/.*/./; q'` 3346 { as_dir="$ac_dir" 2809 3347 case $as_dir in #( 2810 3348 -*) as_dir=./$as_dir;; 2811 3349 esac 2812 test -d "$as_dir" || eval $as_mkdir_p|| {3350 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 2813 3351 as_dirs= 2814 3352 while :; do … … 2844 3382 done 2845 3383 test -z "$as_dirs" || eval "mkdir $as_dirs" 2846 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 2847 2848 2849 } # as_fn_mkdir_p 2850 if mkdir -p . 2>/dev/null; then 2851 as_mkdir_p='mkdir -p "$as_dir"' 2852 else 2853 test -d ./-p && rmdir ./-p 2854 as_mkdir_p=false 2855 fi 2856 2857 if test -x / >/dev/null 2>&1; then 2858 as_test_x='test -x' 2859 else 2860 if ls -dL / >/dev/null 2>&1; then 2861 as_ls_L_option=L 2862 else 2863 as_ls_L_option= 2864 fi 2865 as_test_x=' 2866 eval sh -c '\'' 2867 if test -d "$1"; then 2868 test -d "$1/."; 2869 else 2870 case $1 in #( 2871 -*)set "./$1";; 2872 esac; 2873 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 2874 ???[sx]*):;;*)false;;esac;fi 2875 '\'' sh 2876 ' 2877 fi 2878 as_executable_p=$as_test_x 2879 2880 # Sed expression to map a string onto a valid CPP name. 2881 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2882 2883 # Sed expression to map a string onto a valid variable name. 2884 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2885 2886 2887 exec 6>&1 2888 ## ----------------------------------- ## 2889 ## Main body of $CONFIG_STATUS script. ## 2890 ## ----------------------------------- ## 2891 _ASEOF 2892 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 2893 2894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2895 # Save the log message, to keep $0 and so on meaningful, and to 2896 # report actual input values of CONFIG_FILES etc. instead of their 2897 # values after options handling. 2898 ac_log=" 2899 This file was extended by $as_me, which was 2900 generated by GNU Autoconf 2.67. Invocation command line was 2901 2902 CONFIG_FILES = $CONFIG_FILES 2903 CONFIG_HEADERS = $CONFIG_HEADERS 2904 CONFIG_LINKS = $CONFIG_LINKS 2905 CONFIG_COMMANDS = $CONFIG_COMMANDS 2906 $ $0 $@ 2907 2908 on `(hostname || uname -n) 2>/dev/null | sed 1q` 2909 " 2910 2911 _ACEOF 2912 2913 case $ac_config_files in *" 2914 "*) set x $ac_config_files; shift; ac_config_files=$*;; 2915 esac 2916 2917 2918 2919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2920 # Files that config.status was made for. 2921 config_files="$ac_config_files" 2922 2923 _ACEOF 2924 2925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2926 ac_cs_usage="\ 2927 \`$as_me' instantiates files and other configuration actions 2928 from templates according to the current configuration. Unless the files 2929 and actions are specified as TAGs, all are instantiated by default. 2930 2931 Usage: $0 [OPTION]... [TAG]... 2932 2933 -h, --help print this help, then exit 2934 -V, --version print version number and configuration settings, then exit 2935 --config print configuration, then exit 2936 -q, --quiet, --silent 2937 do not print progress messages 2938 -d, --debug don't remove temporary files 2939 --recheck update $as_me by reconfiguring in the same conditions 2940 --file=FILE[:TEMPLATE] 2941 instantiate the configuration file FILE 2942 2943 Configuration files: 2944 $config_files 2945 2946 Report bugs to the package provider." 2947 2948 _ACEOF 2949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2950 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 2951 ac_cs_version="\\ 2952 config.status 2953 configured by $0, generated by GNU Autoconf 2.67, 2954 with options \\"\$ac_cs_config\\" 2955 2956 Copyright (C) 2010 Free Software Foundation, Inc. 2957 This config.status script is free software; the Free Software Foundation 2958 gives unlimited permission to copy, distribute and modify it." 2959 2960 ac_pwd='$ac_pwd' 2961 srcdir='$srcdir' 2962 test -n "\$AWK" || AWK=awk 2963 _ACEOF 2964 2965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2966 # The default lists apply if the user does not specify any file. 2967 ac_need_defaults=: 2968 while test $# != 0 2969 do 2970 case $1 in 2971 --*=?*) 2972 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2973 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2974 ac_shift=: 2975 ;; 2976 --*=) 2977 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2978 ac_optarg= 2979 ac_shift=: 2980 ;; 2981 *) 2982 ac_option=$1 2983 ac_optarg=$2 2984 ac_shift=shift 2985 ;; 2986 esac 2987 2988 case $ac_option in 2989 # Handling of the options. 2990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2991 ac_cs_recheck=: ;; 2992 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2993 $as_echo "$ac_cs_version"; exit ;; 2994 --config | --confi | --conf | --con | --co | --c ) 2995 $as_echo "$ac_cs_config"; exit ;; 2996 --debug | --debu | --deb | --de | --d | -d ) 2997 debug=: ;; 2998 --file | --fil | --fi | --f ) 2999 $ac_shift 3000 case $ac_optarg in 3001 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3002 '') as_fn_error $? "missing file argument" ;; 3003 esac 3004 as_fn_append CONFIG_FILES " '$ac_optarg'" 3005 ac_need_defaults=false;; 3006 --he | --h | --help | --hel | -h ) 3007 $as_echo "$ac_cs_usage"; exit ;; 3008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3009 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3010 ac_cs_silent=: ;; 3011 3012 # This is an error. 3013 -*) as_fn_error $? "unrecognized option: \`$1' 3014 Try \`$0 --help' for more information." ;; 3015 3016 *) as_fn_append ac_config_targets " $1" 3017 ac_need_defaults=false ;; 3018 3019 esac 3020 shift 3021 done 3022 3023 ac_configure_extra_args= 3024 3025 if $ac_cs_silent; then 3026 exec 6>/dev/null 3027 ac_configure_extra_args="$ac_configure_extra_args --silent" 3028 fi 3029 3030 _ACEOF 3031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3032 if \$ac_cs_recheck; then 3033 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3034 shift 3035 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3036 CONFIG_SHELL='$SHELL' 3037 export CONFIG_SHELL 3038 exec "\$@" 3039 fi 3040 3041 _ACEOF 3042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3043 exec 5>>config.log 3044 { 3045 echo 3046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3047 ## Running $as_me. ## 3048 _ASBOX 3049 $as_echo "$ac_log" 3050 } >&5 3051 3052 _ACEOF 3053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3054 _ACEOF 3055 3056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3057 3058 # Handling of arguments. 3059 for ac_config_target in $ac_config_targets 3060 do 3061 case $ac_config_target in 3062 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3063 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 3064 3065 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 3066 esac 3067 done 3068 3069 3070 # If the user did not use the arguments to specify the items to instantiate, 3071 # then the envvar interface is used. Set only those that are not. 3072 # We use the long form for the default assignment because of an extremely 3073 # bizarre bug on SunOS 4.1.3. 3074 if $ac_need_defaults; then 3075 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3076 fi 3077 3078 # Have a temporary directory for convenience. Make it in the build tree 3079 # simply because there is no reason against having it here, and in addition, 3080 # creating and moving files from /tmp can sometimes cause problems. 3081 # Hook for its removal unless debugging. 3082 # Note that there is a small window in which the directory will not be cleaned: 3083 # after its creation but before its name has been assigned to `$tmp'. 3084 $debug || 3085 { 3086 tmp= 3087 trap 'exit_status=$? 3088 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3089 ' 0 3090 trap 'as_fn_exit 1' 1 2 13 15 3091 } 3092 # Create a (secure) tmp directory for tmp files. 3093 3094 { 3095 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3096 test -n "$tmp" && test -d "$tmp" 3097 } || 3098 { 3099 tmp=./conf$$-$RANDOM 3100 (umask 077 && mkdir "$tmp") 3101 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3102 3103 # Set up the scripts for CONFIG_FILES section. 3104 # No need to generate them if there are no CONFIG_FILES. 3105 # This happens for instance with `./config.status config.h'. 3106 if test -n "$CONFIG_FILES"; then 3107 3108 3109 ac_cr=`echo X | tr X '\015'` 3110 # On cygwin, bash can eat \r inside `` if the user requested igncr. 3111 # But we know of no other shell where ac_cr would be empty at this 3112 # point, so we can use a bashism as a fallback. 3113 if test "x$ac_cr" = x; then 3114 eval ac_cr=\$\'\\r\' 3115 fi 3116 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3117 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3118 ac_cs_awk_cr='\\r' 3119 else 3120 ac_cs_awk_cr=$ac_cr 3121 fi 3122 3123 echo 'BEGIN {' >"$tmp/subs1.awk" && 3124 _ACEOF 3125 3126 3127 { 3128 echo "cat >conf$$subs.awk <<_ACEOF" && 3129 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3130 echo "_ACEOF" 3131 } >conf$$subs.sh || 3132 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3133 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3134 ac_delim='%!_!# ' 3135 for ac_last_try in false false false false false :; do 3136 . ./conf$$subs.sh || 3137 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3138 3139 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3140 if test $ac_delim_n = $ac_delim_num; then 3141 break 3142 elif $ac_last_try; then 3143 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3144 else 3145 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3146 fi 3147 done 3148 rm -f conf$$subs.sh 3149 3150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3151 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 3152 _ACEOF 3153 sed -n ' 3154 h 3155 s/^/S["/; s/!.*/"]=/ 3156 p 3157 g 3158 s/^[^!]*!// 3159 :repl 3160 t repl 3161 s/'"$ac_delim"'$// 3162 t delim 3163 :nl 3164 h 3165 s/\(.\{148\}\)..*/\1/ 3166 t more1 3167 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3168 p 3169 n 3170 b repl 3171 :more1 3172 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3173 p 3174 g 3175 s/.\{148\}// 3176 t nl 3177 :delim 3178 h 3179 s/\(.\{148\}\)..*/\1/ 3180 t more2 3181 s/["\\]/\\&/g; s/^/"/; s/$/"/ 3182 p 3183 b 3184 :more2 3185 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3186 p 3187 g 3188 s/.\{148\}// 3189 t delim 3190 ' <conf$$subs.awk | sed ' 3191 /^[^""]/{ 3192 N 3193 s/\n// 3194 } 3195 ' >>$CONFIG_STATUS || ac_write_fail=1 3196 rm -f conf$$subs.awk 3197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3198 _ACAWK 3199 cat >>"\$tmp/subs1.awk" <<_ACAWK && 3200 for (key in S) S_is_set[key] = 1 3201 FS = "" 3202 3203 } 3204 { 3205 line = $ 0 3206 nfields = split(line, field, "@") 3207 substed = 0 3208 len = length(field[1]) 3209 for (i = 2; i < nfields; i++) { 3210 key = field[i] 3211 keylen = length(key) 3212 if (S_is_set[key]) { 3213 value = S[key] 3214 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3215 len += length(value) + length(field[++i]) 3216 substed = 1 3217 } else 3218 len += 1 + keylen 3219 } 3220 3221 print line 3222 } 3223 3224 _ACAWK 3225 _ACEOF 3226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3227 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3228 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3229 else 3230 cat 3231 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 3232 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3233 _ACEOF 3234 3235 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3236 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3237 # trailing colons and then remove the whole line if VPATH becomes empty 3238 # (actually we leave an empty line to preserve line numbers). 3239 if test "x$srcdir" = x.; then 3240 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3241 h 3242 s/// 3243 s/^/:/ 3244 s/[ ]*$/:/ 3245 s/:\$(srcdir):/:/g 3246 s/:\${srcdir}:/:/g 3247 s/:@srcdir@:/:/g 3248 s/^:*// 3249 s/:*$// 3250 x 3251 s/\(=[ ]*\).*/\1/ 3252 G 3253 s/\n// 3254 s/^[^=]*=[ ]*$// 3255 }' 3256 fi 3257 3258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3259 fi # test -n "$CONFIG_FILES" 3260 3261 3262 eval set X " :F $CONFIG_FILES " 3263 shift 3264 for ac_tag 3265 do 3266 case $ac_tag in 3267 :[FHLC]) ac_mode=$ac_tag; continue;; 3268 esac 3269 case $ac_mode$ac_tag in 3270 :[FHL]*:*);; 3271 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 3272 :[FH]-) ac_tag=-:-;; 3273 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3274 esac 3275 ac_save_IFS=$IFS 3276 IFS=: 3277 set x $ac_tag 3278 IFS=$ac_save_IFS 3279 shift 3280 ac_file=$1 3281 shift 3282 3283 case $ac_mode in 3284 :L) ac_source=$1;; 3285 :[FH]) 3286 ac_file_inputs= 3287 for ac_f 3288 do 3289 case $ac_f in 3290 -) ac_f="$tmp/stdin";; 3291 *) # Look for the file first in the build tree, then in the source tree 3292 # (if the path is not absolute). The absolute path cannot be DOS-style, 3293 # because $ac_f cannot contain `:'. 3294 test -f "$ac_f" || 3295 case $ac_f in 3296 [\\/$]*) false;; 3297 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3298 esac || 3299 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 3300 esac 3301 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3302 as_fn_append ac_file_inputs " '$ac_f'" 3303 done 3304 3305 # Let's still pretend it is `configure' which instantiates (i.e., don't 3306 # use $as_me), people would be surprised to read: 3307 # /* config.h. Generated by config.status. */ 3308 configure_input='Generated from '` 3309 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3310 `' by configure.' 3311 if test x"$ac_file" != x-; then 3312 configure_input="$ac_file. $configure_input" 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 3314 $as_echo "$as_me: creating $ac_file" >&6;} 3315 fi 3316 # Neutralize special characters interpreted by sed in replacement strings. 3317 case $configure_input in #( 3318 *\&* | *\|* | *\\* ) 3319 ac_sed_conf_input=`$as_echo "$configure_input" | 3320 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3321 *) ac_sed_conf_input=$configure_input;; 3322 esac 3323 3324 case $ac_tag in 3325 *:-:* | *:-) cat >"$tmp/stdin" \ 3326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 3327 esac 3328 ;; 3329 esac 3330 3331 ac_dir=`$as_dirname -- "$ac_file" || 3332 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3333 X"$ac_file" : 'X\(//\)[^/]' \| \ 3334 X"$ac_file" : 'X\(//\)$' \| \ 3335 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3336 $as_echo X"$ac_file" | 3337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3338 s//\1/ 3339 q 3340 } 3341 /^X\(\/\/\)[^/].*/{ 3342 s//\1/ 3343 q 3344 } 3345 /^X\(\/\/\)$/{ 3346 s//\1/ 3347 q 3348 } 3349 /^X\(\/\).*/{ 3350 s//\1/ 3351 q 3352 } 3353 s/.*/./; q'` 3354 as_dir="$ac_dir"; as_fn_mkdir_p 3384 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3385 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 3386 { (exit 1); exit 1; }; }; } 3355 3387 ac_builddir=. 3356 3388 … … 3400 3432 # FIXME: This hack should be removed a few years after 2.60. 3401 3433 ac_datarootdir_hack=; ac_datarootdir_seen= 3434 3402 3435 ac_sed_dataroot=' 3403 3436 /datarootdir/ { … … 3409 3442 /@infodir@/p 3410 3443 /@localedir@/p 3411 /@mandir@/p' 3444 /@mandir@/p 3445 ' 3412 3446 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 3413 3447 *datarootdir*) ac_datarootdir_seen=yes;; 3414 3448 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3415 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&53449 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3416 3450 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3417 3451 _ACEOF … … 3423 3457 s&@localedir@&$localedir&g 3424 3458 s&@mandir@&$mandir&g 3425 s&\\\${datarootdir}&$datarootdir&g' ;;3459 s&\\\${datarootdir}&$datarootdir&g' ;; 3426 3460 esac 3427 3461 _ACEOF … … 3450 3484 " 3451 3485 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 3452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3486 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 3487 $as_echo "$as_me: error: could not create $ac_file" >&2;} 3488 { (exit 1); exit 1; }; } 3453 3489 3454 3490 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3455 3491 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 3456 3492 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 3457 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'3458 which seems to be undefined. Please make sure it is defined " >&53493 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3494 which seems to be undefined. Please make sure it is defined." >&5 3459 3495 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3460 which seems to be undefined. Please make sure it is defined " >&2;}3496 which seems to be undefined. Please make sure it is defined." >&2;} 3461 3497 3462 3498 rm -f "$tmp/stdin" … … 3465 3501 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 3466 3502 esac \ 3467 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3503 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 3504 $as_echo "$as_me: error: could not create $ac_file" >&2;} 3505 { (exit 1); exit 1; }; } 3468 3506 ;; 3469 3507 … … 3475 3513 3476 3514 3477 as_fn_exit 0 3515 { (exit 0); exit 0; } 3478 3516 _ACEOF 3517 chmod +x $CONFIG_STATUS 3479 3518 ac_clean_files=$ac_clean_files_save 3480 3519 3481 3520 test $ac_write_fail = 0 || 3482 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 3521 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 3522 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 3523 { (exit 1); exit 1; }; } 3483 3524 3484 3525 … … 3501 3542 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3502 3543 # would make configure fail if this is the last instruction. 3503 $ac_cs_success || as_fn_exit 13544 $ac_cs_success || { (exit 1); exit 1; } 3504 3545 fi 3505 3546 … … 3545 3586 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 3546 3587 esac 3547 a s_fn_append ac_sub_configure_args "'$ac_arg'" ;;3588 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 3548 3589 esac 3549 3590 done … … 3574 3615 3575 3616 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 3576 $as_echo "$as_me:$ {as_lineno-$LINENO}: $ac_msg" >&53617 $as_echo "$as_me:$LINENO: $ac_msg" >&5 3577 3618 $as_echo "$ac_msg" >&6 3578 as_dir="$ac_dir"; as_fn_mkdir_p 3619 { as_dir="$ac_dir" 3620 case $as_dir in #( 3621 -*) as_dir=./$as_dir;; 3622 esac 3623 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 3624 as_dirs= 3625 while :; do 3626 case $as_dir in #( 3627 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3628 *) as_qdir=$as_dir;; 3629 esac 3630 as_dirs="'$as_qdir' $as_dirs" 3631 as_dir=`$as_dirname -- "$as_dir" || 3632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3633 X"$as_dir" : 'X\(//\)[^/]' \| \ 3634 X"$as_dir" : 'X\(//\)$' \| \ 3635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3636 $as_echo X"$as_dir" | 3637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3638 s//\1/ 3639 q 3640 } 3641 /^X\(\/\/\)[^/].*/{ 3642 s//\1/ 3643 q 3644 } 3645 /^X\(\/\/\)$/{ 3646 s//\1/ 3647 q 3648 } 3649 /^X\(\/\).*/{ 3650 s//\1/ 3651 q 3652 } 3653 s/.*/./; q'` 3654 test -d "$as_dir" && break 3655 done 3656 test -z "$as_dirs" || eval "mkdir $as_dirs" 3657 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3658 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 3659 { (exit 1); exit 1; }; }; } 3579 3660 ac_builddir=. 3580 3661 … … 3623 3704 ac_sub_configure=$ac_aux_dir/configure 3624 3705 else 3625 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&53706 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 3626 3707 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 3627 3708 ac_sub_configure= … … 3637 3718 esac 3638 3719 3639 { $as_echo "$as_me:$ {as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&53720 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 3640 3721 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 3641 3722 # The eval makes quoting arguments work. 3642 3723 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 3643 3724 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 3644 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 3725 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 3726 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 3727 { (exit 1); exit 1; }; } 3645 3728 fi 3646 3729 … … 3649 3732 fi 3650 3733 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 3651 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&53734 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 3652 3735 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 3653 3736 fi -
main/trunk/greenstone2/common-src/indexers/configure.ac
r23356 r25148 84 84 AC_SUBST(ENABLE_LUCENE) 85 85 86 87 AC_DEFINE_UNQUOTED(COMPAT32BITFLAGS, $COMPAT32BITFLAGS)88 AC_SUBST(COMPAT32BITFLAGS)89 90 86 dnl 91 87 dnl Make sure Javac and Java are available if were are compiling Lucene -
main/trunk/greenstone2/common-src/indexers/mg/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="src/text/mgquery.c" … … 671 715 prefix 672 716 exec_prefix 673 PACKAGE_URL674 717 PACKAGE_BUGREPORT 675 718 PACKAGE_STRING … … 808 851 # Reject names that are not valid shell variable names. 809 852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 810 as_fn_error "invalid feature name: $ac_useropt" 853 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 854 { (exit 1); exit 1; }; } 811 855 ac_useropt_orig=$ac_useropt 812 856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 834 878 # Reject names that are not valid shell variable names. 835 879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 836 as_fn_error "invalid feature name: $ac_useropt" 880 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 881 { (exit 1); exit 1; }; } 837 882 ac_useropt_orig=$ac_useropt 838 883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1038 1083 # Reject names that are not valid shell variable names. 1039 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1040 as_fn_error "invalid package name: $ac_useropt" 1085 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1086 { (exit 1); exit 1; }; } 1041 1087 ac_useropt_orig=$ac_useropt 1042 1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1054 1100 # Reject names that are not valid shell variable names. 1055 1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1056 as_fn_error "invalid package name: $ac_useropt" 1102 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1103 { (exit 1); exit 1; }; } 1057 1104 ac_useropt_orig=$ac_useropt 1058 1105 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1084 1131 x_libraries=$ac_optarg ;; 1085 1132 1086 -*) as_fn_error "unrecognized option: \`$ac_option' 1087 Try \`$0 --help' for more information." 1133 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1134 Try \`$0 --help' for more information." >&2 1135 { (exit 1); exit 1; }; } 1088 1136 ;; 1089 1137 … … 1091 1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1092 1140 # Reject names that are not valid shell variable names. 1093 case $ac_envvar in #( 1094 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1095 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1096 esac 1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1142 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1143 { (exit 1); exit 1; }; } 1097 1144 eval $ac_envvar=\$ac_optarg 1098 1145 export $ac_envvar ;; … … 1111 1158 if test -n "$ac_prev"; then 1112 1159 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1113 as_fn_error "missing argument to $ac_option" 1160 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1161 { (exit 1); exit 1; }; } 1114 1162 fi 1115 1163 … … 1117 1165 case $enable_option_checking in 1118 1166 no) ;; 1119 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1167 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1168 { (exit 1); exit 1; }; } ;; 1120 1169 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1121 1170 esac … … 1140 1189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1141 1190 esac 1142 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1191 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1192 { (exit 1); exit 1; }; } 1143 1193 done 1144 1194 … … 1170 1220 ac_ls_di=`ls -di .` && 1171 1221 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1172 as_fn_error "working directory cannot be determined" 1222 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1223 { (exit 1); exit 1; }; } 1173 1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1174 as_fn_error "pwd does not report name of working directory" 1225 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1226 { (exit 1); exit 1; }; } 1175 1227 1176 1228 … … 1211 1263 if test ! -r "$srcdir/$ac_unique_file"; then 1212 1264 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1213 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1265 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1266 { (exit 1); exit 1; }; } 1214 1267 fi 1215 1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1216 1269 ac_abs_confdir=`( 1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1270 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1271 { (exit 1); exit 1; }; } 1218 1272 pwd)` 1219 1273 # When building in place, set srcdir=. … … 1333 1387 nonstandard directory <lib dir> 1334 1388 LIBS libraries to pass to the linker, e.g. -l<library> 1335 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1389 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1336 1390 you have headers in a nonstandard directory <include dir> 1337 1391 YACC The `Yet Another C Compiler' implementation to use. Defaults to … … 1347 1401 it to find libraries and programs with nonstandard names/locations. 1348 1402 1349 Report bugs to the package provider.1350 1403 _ACEOF 1351 1404 ac_status=$? … … 1411 1464 cat <<\_ACEOF 1412 1465 configure 1413 generated by GNU Autoconf 2.65 1414 1415 Copyright (C) 2009 Free Software Foundation, Inc. 1466 generated by GNU Autoconf 2.63 1467 1468 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1469 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1416 1470 This configure script is free software; the Free Software Foundation 1417 1471 gives unlimited permission to copy, distribute and modify it. … … 1419 1473 exit 1420 1474 fi 1421 1422 ## ------------------------ ##1423 ## Autoconf initialization. ##1424 ## ------------------------ ##1425 1426 # ac_fn_cxx_try_compile LINENO1427 # ----------------------------1428 # Try to compile conftest.$ac_ext, and return whether this succeeded.1429 ac_fn_cxx_try_compile ()1430 {1431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1432 rm -f conftest.$ac_objext1433 if { { ac_try="$ac_compile"1434 case "(($ac_try" in1435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1436 *) ac_try_echo=$ac_try;;1437 esac1438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1439 $as_echo "$ac_try_echo"; } >&51440 (eval "$ac_compile") 2>conftest.err1441 ac_status=$?1442 if test -s conftest.err; then1443 grep -v '^ *+' conftest.err >conftest.er11444 cat conftest.er1 >&51445 mv -f conftest.er1 conftest.err1446 fi1447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51448 test $ac_status = 0; } && {1449 test -z "$ac_cxx_werror_flag" ||1450 test ! -s conftest.err1451 } && test -s conftest.$ac_objext; then :1452 ac_retval=01453 else1454 $as_echo "$as_me: failed program was:" >&51455 sed 's/^/| /' conftest.$ac_ext >&51456 1457 ac_retval=11458 fi1459 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1460 as_fn_set_status $ac_retval1461 1462 } # ac_fn_cxx_try_compile1463 1464 # ac_fn_c_try_compile LINENO1465 # --------------------------1466 # Try to compile conftest.$ac_ext, and return whether this succeeded.1467 ac_fn_c_try_compile ()1468 {1469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1470 rm -f conftest.$ac_objext1471 if { { ac_try="$ac_compile"1472 case "(($ac_try" in1473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1474 *) ac_try_echo=$ac_try;;1475 esac1476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1477 $as_echo "$ac_try_echo"; } >&51478 (eval "$ac_compile") 2>conftest.err1479 ac_status=$?1480 if test -s conftest.err; then1481 grep -v '^ *+' conftest.err >conftest.er11482 cat conftest.er1 >&51483 mv -f conftest.er1 conftest.err1484 fi1485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51486 test $ac_status = 0; } && {1487 test -z "$ac_c_werror_flag" ||1488 test ! -s conftest.err1489 } && test -s conftest.$ac_objext; then :1490 ac_retval=01491 else1492 $as_echo "$as_me: failed program was:" >&51493 sed 's/^/| /' conftest.$ac_ext >&51494 1495 ac_retval=11496 fi1497 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1498 as_fn_set_status $ac_retval1499 1500 } # ac_fn_c_try_compile1501 1502 # ac_fn_c_try_cpp LINENO1503 # ----------------------1504 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1505 ac_fn_c_try_cpp ()1506 {1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1508 if { { ac_try="$ac_cpp conftest.$ac_ext"1509 case "(($ac_try" in1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1511 *) ac_try_echo=$ac_try;;1512 esac1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1514 $as_echo "$ac_try_echo"; } >&51515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1516 ac_status=$?1517 if test -s conftest.err; then1518 grep -v '^ *+' conftest.err >conftest.er11519 cat conftest.er1 >&51520 mv -f conftest.er1 conftest.err1521 fi1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51523 test $ac_status = 0; } >/dev/null && {1524 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1525 test ! -s conftest.err1526 }; then :1527 ac_retval=01528 else1529 $as_echo "$as_me: failed program was:" >&51530 sed 's/^/| /' conftest.$ac_ext >&51531 1532 ac_retval=11533 fi1534 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1535 as_fn_set_status $ac_retval1536 1537 } # ac_fn_c_try_cpp1538 1539 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1540 # -------------------------------------------------------1541 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1542 # the include files in INCLUDES and setting the cache variable VAR1543 # accordingly.1544 ac_fn_c_check_header_mongrel ()1545 {1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1547 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51549 $as_echo_n "checking for $2... " >&6; }1550 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1551 $as_echo_n "(cached) " >&61552 fi1553 eval ac_res=\$$31554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51555 $as_echo "$ac_res" >&6; }1556 else1557 # Is the header compilable?1558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51559 $as_echo_n "checking $2 usability... " >&6; }1560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1561 /* end confdefs.h. */1562 $41563 #include <$2>1564 _ACEOF1565 if ac_fn_c_try_compile "$LINENO"; then :1566 ac_header_compiler=yes1567 else1568 ac_header_compiler=no1569 fi1570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51572 $as_echo "$ac_header_compiler" >&6; }1573 1574 # Is the header present?1575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51576 $as_echo_n "checking $2 presence... " >&6; }1577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1578 /* end confdefs.h. */1579 #include <$2>1580 _ACEOF1581 if ac_fn_c_try_cpp "$LINENO"; then :1582 ac_header_preproc=yes1583 else1584 ac_header_preproc=no1585 fi1586 rm -f conftest.err conftest.$ac_ext1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51588 $as_echo "$ac_header_preproc" >&6; }1589 1590 # So? What about this header?1591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1592 yes:no: )1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51594 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51596 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1597 ;;1598 no:yes:* )1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51600 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51602 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51604 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51606 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51608 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1609 ;;1610 esac1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51612 $as_echo_n "checking for $2... " >&6; }1613 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1614 $as_echo_n "(cached) " >&61615 else1616 eval "$3=\$ac_header_compiler"1617 fi1618 eval ac_res=\$$31619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51620 $as_echo "$ac_res" >&6; }1621 fi1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1623 1624 } # ac_fn_c_check_header_mongrel1625 1626 # ac_fn_c_try_run LINENO1627 # ----------------------1628 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1629 # that executables *can* be run.1630 ac_fn_c_try_run ()1631 {1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1633 if { { ac_try="$ac_link"1634 case "(($ac_try" in1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1636 *) ac_try_echo=$ac_try;;1637 esac1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1639 $as_echo "$ac_try_echo"; } >&51640 (eval "$ac_link") 2>&51641 ac_status=$?1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51643 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1644 { { case "(($ac_try" in1645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1646 *) ac_try_echo=$ac_try;;1647 esac1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1649 $as_echo "$ac_try_echo"; } >&51650 (eval "$ac_try") 2>&51651 ac_status=$?1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51653 test $ac_status = 0; }; }; then :1654 ac_retval=01655 else1656 $as_echo "$as_me: program exited with status $ac_status" >&51657 $as_echo "$as_me: failed program was:" >&51658 sed 's/^/| /' conftest.$ac_ext >&51659 1660 ac_retval=$ac_status1661 fi1662 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1663 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1664 as_fn_set_status $ac_retval1665 1666 } # ac_fn_c_try_run1667 1668 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1669 # -------------------------------------------------------1670 # Tests whether HEADER exists and can be compiled using the include files in1671 # INCLUDES, setting the cache variable VAR accordingly.1672 ac_fn_c_check_header_compile ()1673 {1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51676 $as_echo_n "checking for $2... " >&6; }1677 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1678 $as_echo_n "(cached) " >&61679 else1680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1681 /* end confdefs.h. */1682 $41683 #include <$2>1684 _ACEOF1685 if ac_fn_c_try_compile "$LINENO"; then :1686 eval "$3=yes"1687 else1688 eval "$3=no"1689 fi1690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1691 fi1692 eval ac_res=\$$31693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51694 $as_echo "$ac_res" >&6; }1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1696 1697 } # ac_fn_c_check_header_compile1698 1699 # ac_fn_c_try_link LINENO1700 # -----------------------1701 # Try to link conftest.$ac_ext, and return whether this succeeded.1702 ac_fn_c_try_link ()1703 {1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1705 rm -f conftest.$ac_objext conftest$ac_exeext1706 if { { ac_try="$ac_link"1707 case "(($ac_try" in1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1709 *) ac_try_echo=$ac_try;;1710 esac1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1712 $as_echo "$ac_try_echo"; } >&51713 (eval "$ac_link") 2>conftest.err1714 ac_status=$?1715 if test -s conftest.err; then1716 grep -v '^ *+' conftest.err >conftest.er11717 cat conftest.er1 >&51718 mv -f conftest.er1 conftest.err1719 fi1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51721 test $ac_status = 0; } && {1722 test -z "$ac_c_werror_flag" ||1723 test ! -s conftest.err1724 } && test -s conftest$ac_exeext && {1725 test "$cross_compiling" = yes ||1726 $as_test_x conftest$ac_exeext1727 }; then :1728 ac_retval=01729 else1730 $as_echo "$as_me: failed program was:" >&51731 sed 's/^/| /' conftest.$ac_ext >&51732 1733 ac_retval=11734 fi1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1737 # interfere with the next link command; also delete a directory that is1738 # left behind by Apple's compiler. We do this before executing the actions.1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1741 as_fn_set_status $ac_retval1742 1743 } # ac_fn_c_try_link1744 1745 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES1746 # -------------------------------------------1747 # Tests whether TYPE exists after having included INCLUDES, setting cache1748 # variable VAR accordingly.1749 ac_fn_c_check_type ()1750 {1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51753 $as_echo_n "checking for $2... " >&6; }1754 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1755 $as_echo_n "(cached) " >&61756 else1757 eval "$3=no"1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1759 /* end confdefs.h. */1760 $41761 int1762 main ()1763 {1764 if (sizeof ($2))1765 return 0;1766 ;1767 return 0;1768 }1769 _ACEOF1770 if ac_fn_c_try_compile "$LINENO"; then :1771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1772 /* end confdefs.h. */1773 $41774 int1775 main ()1776 {1777 if (sizeof (($2)))1778 return 0;1779 ;1780 return 0;1781 }1782 _ACEOF1783 if ac_fn_c_try_compile "$LINENO"; then :1784 1785 else1786 eval "$3=yes"1787 fi1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1789 fi1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1791 fi1792 eval ac_res=\$$31793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51794 $as_echo "$ac_res" >&6; }1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1796 1797 } # ac_fn_c_check_type1798 1799 # ac_fn_c_check_func LINENO FUNC VAR1800 # ----------------------------------1801 # Tests whether FUNC exists, setting the cache variable VAR accordingly1802 ac_fn_c_check_func ()1803 {1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51806 $as_echo_n "checking for $2... " >&6; }1807 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1808 $as_echo_n "(cached) " >&61809 else1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1811 /* end confdefs.h. */1812 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1813 For example, HP-UX 11i <limits.h> declares gettimeofday. */1814 #define $2 innocuous_$21815 1816 /* System header to define __stub macros and hopefully few prototypes,1817 which can conflict with char $2 (); below.1818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1819 <limits.h> exists even on freestanding compilers. */1820 1821 #ifdef __STDC__1822 # include <limits.h>1823 #else1824 # include <assert.h>1825 #endif1826 1827 #undef $21828 1829 /* Override any GCC internal prototype to avoid an error.1830 Use char because int might match the return type of a GCC1831 builtin and then its argument prototype would still apply. */1832 #ifdef __cplusplus1833 extern "C"1834 #endif1835 char $2 ();1836 /* The GNU C library defines this for functions which it implements1837 to always fail with ENOSYS. Some functions are actually named1838 something starting with __ and the normal name is an alias. */1839 #if defined __stub_$2 || defined __stub___$21840 choke me1841 #endif1842 1843 int1844 main ()1845 {1846 return $2 ();1847 ;1848 return 0;1849 }1850 _ACEOF1851 if ac_fn_c_try_link "$LINENO"; then :1852 eval "$3=yes"1853 else1854 eval "$3=no"1855 fi1856 rm -f core conftest.err conftest.$ac_objext \1857 conftest$ac_exeext conftest.$ac_ext1858 fi1859 eval ac_res=\$$31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51861 $as_echo "$ac_res" >&6; }1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1863 1864 } # ac_fn_c_check_func1865 1475 cat >config.log <<_ACEOF 1866 1476 This file contains any messages produced by compilers while … … 1868 1478 1869 1479 It was created by $as_me, which was 1870 generated by GNU Autoconf 2.6 5. Invocation command line was1480 generated by GNU Autoconf 2.63. Invocation command line was 1871 1481 1872 1482 $ $0 $@ … … 1904 1514 IFS=$as_save_IFS 1905 1515 test -z "$as_dir" && as_dir=. 1906 1907 1516 $as_echo "PATH: $as_dir" 1517 done 1908 1518 IFS=$as_save_IFS 1909 1519 … … 1942 1552 esac 1943 1553 case $ac_pass in 1944 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1554 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1945 1555 2) 1946 a s_fn_append ac_configure_args1 "'$ac_arg'"1556 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1947 1557 if test $ac_must_keep_next = true; then 1948 1558 ac_must_keep_next=false # Got value, back to normal. … … 1960 1570 esac 1961 1571 fi 1962 a s_fn_append ac_configure_args "'$ac_arg'"1572 ac_configure_args="$ac_configure_args '$ac_arg'" 1963 1573 ;; 1964 1574 esac 1965 1575 done 1966 1576 done 1967 { ac_configure_args0=; unset ac_configure_args0;}1968 { ac_configure_args1=; unset ac_configure_args1;}1577 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1578 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1969 1579 1970 1580 # When interrupted or exit'd, cleanup temporary files, and complete … … 1991 1601 *${as_nl}*) 1992 1602 case $ac_var in #( 1993 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51603 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1994 1604 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1995 1605 esac … … 1997 1607 _ | IFS | as_nl) ;; #( 1998 1608 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1999 *) { eval $ac_var=; unset $ac_var;};;1609 *) $as_unset $ac_var ;; 2000 1610 esac ;; 2001 1611 esac … … 2069 1679 ' 0 2070 1680 for ac_signal in 1 2 13 15; do 2071 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1681 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2072 1682 done 2073 1683 ac_signal=0 … … 2076 1686 rm -f -r conftest* confdefs.h 2077 1687 2078 $as_echo "/* confdefs.h */" > confdefs.h2079 2080 1688 # Predefined preprocessor variables. 2081 1689 … … 2084 1692 _ACEOF 2085 1693 1694 2086 1695 cat >>confdefs.h <<_ACEOF 2087 1696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2088 1697 _ACEOF 2089 1698 1699 2090 1700 cat >>confdefs.h <<_ACEOF 2091 1701 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2092 1702 _ACEOF 2093 1703 1704 2094 1705 cat >>confdefs.h <<_ACEOF 2095 1706 #define PACKAGE_STRING "$PACKAGE_STRING" 2096 1707 _ACEOF 2097 1708 1709 2098 1710 cat >>confdefs.h <<_ACEOF 2099 1711 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2100 _ACEOF2101 2102 cat >>confdefs.h <<_ACEOF2103 #define PACKAGE_URL "$PACKAGE_URL"2104 1712 _ACEOF 2105 1713 … … 2121 1729 do 2122 1730 test "x$ac_site_file" = xNONE && continue 2123 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2124 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51731 if test -r "$ac_site_file"; then 1732 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2125 1733 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2126 1734 sed 's/^/| /' "$ac_site_file" >&5 … … 2130 1738 2131 1739 if test -r "$cache_file"; then 2132 # Some versions of bash will fail to source /dev/null (special files2133 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2134 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2135 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51740 # Some versions of bash will fail to source /dev/null (special 1741 # files actually), so we avoid doing that. 1742 if test -f "$cache_file"; then 1743 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2136 1744 $as_echo "$as_me: loading cache $cache_file" >&6;} 2137 1745 case $cache_file in … … 2141 1749 fi 2142 1750 else 2143 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51751 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2144 1752 $as_echo "$as_me: creating cache $cache_file" >&6;} 2145 1753 >$cache_file … … 2156 1764 case $ac_old_set,$ac_new_set in 2157 1765 set,) 2158 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51766 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2159 1767 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2160 1768 ac_cache_corrupted=: ;; 2161 1769 ,set) 2162 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51770 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2163 1771 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2164 1772 ac_cache_corrupted=: ;; … … 2170 1778 ac_new_val_w=`echo x $ac_new_val` 2171 1779 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2172 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51780 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2173 1781 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2174 1782 ac_cache_corrupted=: 2175 1783 else 2176 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51784 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2177 1785 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2178 1786 eval $ac_var=\$ac_old_val 2179 1787 fi 2180 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51788 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2181 1789 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2182 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51790 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2183 1791 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2184 1792 fi;; … … 2192 1800 case " $ac_configure_args " in 2193 1801 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2194 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1802 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2195 1803 esac 2196 1804 fi 2197 1805 done 2198 1806 if $ac_cache_corrupted; then 2199 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51807 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2200 1808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2201 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51809 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2202 1810 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2203 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2204 fi 2205 ## -------------------- ## 2206 ## Main body of script. ## 2207 ## -------------------- ## 1811 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1812 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1813 { (exit 1); exit 1; }; } 1814 fi 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 2208 1831 2209 1832 ac_ext=c … … 2219 1842 ac_aux_dir= 2220 1843 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2221 for ac_t in install-sh install.sh shtool; do 2222 if test -f "$ac_dir/$ac_t"; then 2223 ac_aux_dir=$ac_dir 2224 ac_install_sh="$ac_aux_dir/$ac_t -c" 2225 break 2 2226 fi 2227 done 1844 if test -f "$ac_dir/install-sh"; then 1845 ac_aux_dir=$ac_dir 1846 ac_install_sh="$ac_aux_dir/install-sh -c" 1847 break 1848 elif test -f "$ac_dir/install.sh"; then 1849 ac_aux_dir=$ac_dir 1850 ac_install_sh="$ac_aux_dir/install.sh -c" 1851 break 1852 elif test -f "$ac_dir/shtool"; then 1853 ac_aux_dir=$ac_dir 1854 ac_install_sh="$ac_aux_dir/shtool install -c" 1855 break 1856 fi 2228 1857 done 2229 1858 if test -z "$ac_aux_dir"; then 2230 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1859 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1860 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1861 { (exit 1); exit 1; }; } 2231 1862 fi 2232 1863 … … 2242 1873 # Make sure we can run config.sub. 2243 1874 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2244 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2245 2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1875 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1876 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1877 { (exit 1); exit 1; }; } 1878 1879 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2247 1880 $as_echo_n "checking build system type... " >&6; } 2248 if test "${ac_cv_build+set}" = set; then :1881 if test "${ac_cv_build+set}" = set; then 2249 1882 $as_echo_n "(cached) " >&6 2250 1883 else … … 2253 1886 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2254 1887 test "x$ac_build_alias" = x && 2255 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1888 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1889 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1890 { (exit 1); exit 1; }; } 2256 1891 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2257 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2258 2259 fi 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1892 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1893 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1894 { (exit 1); exit 1; }; } 1895 1896 fi 1897 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2261 1898 $as_echo "$ac_cv_build" >&6; } 2262 1899 case $ac_cv_build in 2263 1900 *-*-*) ;; 2264 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1901 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1902 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 1903 { (exit 1); exit 1; }; };; 2265 1904 esac 2266 1905 build=$ac_cv_build … … 2278 1917 2279 1918 2280 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking host system type" >&51919 { $as_echo "$as_me:$LINENO: checking host system type" >&5 2281 1920 $as_echo_n "checking host system type... " >&6; } 2282 if test "${ac_cv_host+set}" = set; then :1921 if test "${ac_cv_host+set}" = set; then 2283 1922 $as_echo_n "(cached) " >&6 2284 1923 else … … 2287 1926 else 2288 1927 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2289 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2290 fi 2291 2292 fi 2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1928 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1929 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1930 { (exit 1); exit 1; }; } 1931 fi 1932 1933 fi 1934 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2294 1935 $as_echo "$ac_cv_host" >&6; } 2295 1936 case $ac_cv_host in 2296 1937 *-*-*) ;; 2297 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1938 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1939 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 1940 { (exit 1); exit 1; }; };; 2298 1941 esac 2299 1942 host=$ac_cv_host … … 2311 1954 2312 1955 2313 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking target system type" >&51956 { $as_echo "$as_me:$LINENO: checking target system type" >&5 2314 1957 $as_echo_n "checking target system type... " >&6; } 2315 if test "${ac_cv_target+set}" = set; then :1958 if test "${ac_cv_target+set}" = set; then 2316 1959 $as_echo_n "(cached) " >&6 2317 1960 else … … 2320 1963 else 2321 1964 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2322 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2323 fi 2324 2325 fi 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 1965 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1966 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1967 { (exit 1); exit 1; }; } 1968 fi 1969 1970 fi 1971 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2327 1972 $as_echo "$ac_cv_target" >&6; } 2328 1973 case $ac_cv_target in 2329 1974 *-*-*) ;; 2330 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1975 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1976 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 1977 { (exit 1); exit 1; }; };; 2331 1978 esac 2332 1979 target=$ac_cv_target … … 2350 1997 NONENONEs,x,x, && 2351 1998 program_prefix=${target_alias}- 2352 2353 1999 test "$program_prefix" != NONE && 2354 2000 program_transform_name="s&^&$program_prefix&;$program_transform_name" … … 2377 2023 2378 2024 # Check whether --enable-java was given. 2379 if test "${enable_java+set}" = set; then :2025 if test "${enable_java+set}" = set; then 2380 2026 enableval=$enable_java; ENABLE_JAVA=$enableval 2381 2027 else … … 2411 2057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2412 2058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2413 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2414 2060 $as_echo_n "checking for $ac_word... " >&6; } 2415 if test "${ac_cv_prog_CXX+set}" = set; then :2061 if test "${ac_cv_prog_CXX+set}" = set; then 2416 2062 $as_echo_n "(cached) " >&6 2417 2063 else … … 2424 2070 IFS=$as_save_IFS 2425 2071 test -z "$as_dir" && as_dir=. 2426 2072 for ac_exec_ext in '' $ac_executable_extensions; do 2427 2073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2428 2074 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2429 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2430 2076 break 2 2431 2077 fi 2432 2078 done 2433 2079 done 2434 2080 IFS=$as_save_IFS 2435 2081 … … 2438 2084 CXX=$ac_cv_prog_CXX 2439 2085 if test -n "$CXX"; then 2440 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&52086 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 2441 2087 $as_echo "$CXX" >&6; } 2442 2088 else 2443 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52089 { $as_echo "$as_me:$LINENO: result: no" >&5 2444 2090 $as_echo "no" >&6; } 2445 2091 fi … … 2455 2101 # Extract the first word of "$ac_prog", so it can be a program name with args. 2456 2102 set dummy $ac_prog; ac_word=$2 2457 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2458 2104 $as_echo_n "checking for $ac_word... " >&6; } 2459 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :2105 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2460 2106 $as_echo_n "(cached) " >&6 2461 2107 else … … 2468 2114 IFS=$as_save_IFS 2469 2115 test -z "$as_dir" && as_dir=. 2470 2116 for ac_exec_ext in '' $ac_executable_extensions; do 2471 2117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2472 2118 ac_cv_prog_ac_ct_CXX="$ac_prog" 2473 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2474 2120 break 2 2475 2121 fi 2476 2122 done 2477 2123 done 2478 2124 IFS=$as_save_IFS 2479 2125 … … 2482 2128 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2483 2129 if test -n "$ac_ct_CXX"; then 2484 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&52130 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2485 2131 $as_echo "$ac_ct_CXX" >&6; } 2486 2132 else 2487 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52133 { $as_echo "$as_me:$LINENO: result: no" >&5 2488 2134 $as_echo "no" >&6; } 2489 2135 fi … … 2498 2144 case $cross_compiling:$ac_tool_warned in 2499 2145 yes:) 2500 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52146 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2501 2147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2502 2148 ac_tool_warned=yes ;; … … 2509 2155 fi 2510 2156 # Provide some information about the compiler. 2511 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&52157 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2512 2158 set X $ac_compile 2513 2159 ac_compiler=$2 2514 for ac_option in --version -v -V -qversion; do 2515 { { ac_try="$ac_compiler $ac_option >&5" 2160 { (ac_try="$ac_compiler --version >&5" 2516 2161 case "(($ac_try" in 2517 2162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2518 2163 *) ac_try_echo=$ac_try;; 2519 2164 esac 2520 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2521 $as_echo "$ac_try_echo" ; }>&52522 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2166 $as_echo "$ac_try_echo") >&5 2167 (eval "$ac_compiler --version >&5") 2>&5 2523 2168 ac_status=$? 2524 if test -s conftest.err; then 2525 sed '10a\ 2526 ... rest of stderr output deleted ... 2527 10q' conftest.err >conftest.er1 2528 cat conftest.er1 >&5 2529 fi 2530 rm -f conftest.er1 conftest.err 2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2532 test $ac_status = 0; } 2533 done 2534 2535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 (exit $ac_status); } 2171 { (ac_try="$ac_compiler -v >&5" 2172 case "(($ac_try" in 2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2174 *) ac_try_echo=$ac_try;; 2175 esac 2176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2177 $as_echo "$ac_try_echo") >&5 2178 (eval "$ac_compiler -v >&5") 2>&5 2179 ac_status=$? 2180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2181 (exit $ac_status); } 2182 { (ac_try="$ac_compiler -V >&5" 2183 case "(($ac_try" in 2184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2185 *) ac_try_echo=$ac_try;; 2186 esac 2187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2188 $as_echo "$ac_try_echo") >&5 2189 (eval "$ac_compiler -V >&5") 2>&5 2190 ac_status=$? 2191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2192 (exit $ac_status); } 2193 2194 cat >conftest.$ac_ext <<_ACEOF 2195 /* confdefs.h. */ 2196 _ACEOF 2197 cat confdefs.h >>conftest.$ac_ext 2198 cat >>conftest.$ac_ext <<_ACEOF 2536 2199 /* end confdefs.h. */ 2537 2200 … … 2549 2212 # It will help us diagnose broken compilers, and finding out an intuition 2550 2213 # of exeext. 2551 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C++ compiler works" >&52552 $as_echo_n "checking whether the C++ compiler works... " >&6; }2214 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 2215 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 2553 2216 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2554 2217 … … 2566 2229 rm -f $ac_rmfiles 2567 2230 2568 if { {ac_try="$ac_link_default"2231 if { (ac_try="$ac_link_default" 2569 2232 case "(($ac_try" in 2570 2233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2571 2234 *) ac_try_echo=$ac_try;; 2572 2235 esac 2573 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2574 $as_echo "$ac_try_echo" ; }>&52236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2237 $as_echo "$ac_try_echo") >&5 2575 2238 (eval "$ac_link_default") 2>&5 2576 2239 ac_status=$? 2577 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52578 test $ac_status = 0; }; then :2240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2241 (exit $ac_status); }; then 2579 2242 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2580 2243 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2593 2256 break;; 2594 2257 *.* ) 2595 2258 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2596 2259 then :; else 2597 2260 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2612 2275 ac_file='' 2613 2276 fi 2614 if test -z "$ac_file"; then : 2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2616 $as_echo "no" >&6; } 2617 $as_echo "$as_me: failed program was:" >&5 2277 2278 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2279 $as_echo "$ac_file" >&6; } 2280 if test -z "$ac_file"; then 2281 $as_echo "$as_me: failed program was:" >&5 2618 2282 sed 's/^/| /' conftest.$ac_ext >&5 2619 2283 2620 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52284 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2621 2285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2622 { as_fn_set_status 77 2623 as_fn_error "C++ compiler cannot create executables 2624 See \`config.log' for more details." "$LINENO" 5; }; } 2625 else 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2286 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables 2287 See \`config.log' for more details." >&5 2288 $as_echo "$as_me: error: C++ compiler cannot create executables 2289 See \`config.log' for more details." >&2;} 2290 { (exit 77); exit 77; }; }; } 2291 fi 2292 2293 ac_exeext=$ac_cv_exeext 2294 2295 # Check that the compiler produces executables we can run. If not, either 2296 # the compiler is broken, or we cross compile. 2297 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 2298 $as_echo_n "checking whether the C++ compiler works... " >&6; } 2299 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2300 # If not cross compiling, check that we can run a simple program. 2301 if test "$cross_compiling" != yes; then 2302 if { ac_try='./$ac_file' 2303 { (case "(($ac_try" in 2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2305 *) ac_try_echo=$ac_try;; 2306 esac 2307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2308 $as_echo "$ac_try_echo") >&5 2309 (eval "$ac_try") 2>&5 2310 ac_status=$? 2311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2312 (exit $ac_status); }; }; then 2313 cross_compiling=no 2314 else 2315 if test "$cross_compiling" = maybe; then 2316 cross_compiling=yes 2317 else 2318 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2320 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 2321 If you meant to cross compile, use \`--host'. 2322 See \`config.log' for more details." >&5 2323 $as_echo "$as_me: error: cannot run C++ compiled programs. 2324 If you meant to cross compile, use \`--host'. 2325 See \`config.log' for more details." >&2;} 2326 { (exit 1); exit 1; }; }; } 2327 fi 2328 fi 2329 fi 2330 { $as_echo "$as_me:$LINENO: result: yes" >&5 2627 2331 $as_echo "yes" >&6; } 2628 fi2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&52630 $as_echo_n "checking for C++ compiler default output file name... " >&6; }2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&52632 $as_echo "$ac_file" >&6; }2633 ac_exeext=$ac_cv_exeext2634 2332 2635 2333 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2636 2334 ac_clean_files=$ac_clean_files_save 2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2335 # Check that the compiler produces executables we can run. If not, either 2336 # the compiler is broken, or we cross compile. 2337 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2338 $as_echo_n "checking whether we are cross compiling... " >&6; } 2339 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2340 $as_echo "$cross_compiling" >&6; } 2341 2342 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2638 2343 $as_echo_n "checking for suffix of executables... " >&6; } 2639 if { {ac_try="$ac_link"2344 if { (ac_try="$ac_link" 2640 2345 case "(($ac_try" in 2641 2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2642 2347 *) ac_try_echo=$ac_try;; 2643 2348 esac 2644 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2645 $as_echo "$ac_try_echo" ; }>&52349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2350 $as_echo "$ac_try_echo") >&5 2646 2351 (eval "$ac_link") 2>&5 2647 2352 ac_status=$? 2648 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52649 test $ac_status = 0; }; then :2353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; then 2650 2355 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2651 2356 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2662 2367 done 2663 2368 else 2664 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52369 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2665 2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2666 as_fn_error "cannot compute suffix of executables: cannot compile and link 2667 See \`config.log' for more details." "$LINENO" 5; } 2668 fi 2669 rm -f conftest conftest$ac_cv_exeext 2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2371 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2372 See \`config.log' for more details." >&5 2373 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2374 See \`config.log' for more details." >&2;} 2375 { (exit 1); exit 1; }; }; } 2376 fi 2377 2378 rm -f conftest$ac_cv_exeext 2379 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2671 2380 $as_echo "$ac_cv_exeext" >&6; } 2672 2381 … … 2674 2383 EXEEXT=$ac_cv_exeext 2675 2384 ac_exeext=$EXEEXT 2676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2385 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2386 $as_echo_n "checking for suffix of object files... " >&6; } 2387 if test "${ac_cv_objext+set}" = set; then 2388 $as_echo_n "(cached) " >&6 2389 else 2390 cat >conftest.$ac_ext <<_ACEOF 2391 /* confdefs.h. */ 2392 _ACEOF 2393 cat confdefs.h >>conftest.$ac_ext 2394 cat >>conftest.$ac_ext <<_ACEOF 2677 2395 /* end confdefs.h. */ 2678 #include <stdio.h> 2396 2679 2397 int 2680 2398 main () 2681 2399 { 2682 FILE *f = fopen ("conftest.out", "w");2683 return ferror (f) || fclose (f) != 0;2684 2400 2685 2401 ; … … 2687 2403 } 2688 2404 _ACEOF 2689 ac_clean_files="$ac_clean_files conftest.out" 2690 # Check that the compiler produces executables we can run. If not, either 2691 # the compiler is broken, or we cross compile. 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2693 $as_echo_n "checking whether we are cross compiling... " >&6; } 2694 if test "$cross_compiling" != yes; then 2695 { { ac_try="$ac_link" 2405 rm -f conftest.o conftest.obj 2406 if { (ac_try="$ac_compile" 2696 2407 case "(($ac_try" in 2697 2408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2698 2409 *) ac_try_echo=$ac_try;; 2699 2410 esac 2700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2701 $as_echo "$ac_try_echo"; } >&5 2702 (eval "$ac_link") 2>&5 2703 ac_status=$? 2704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2705 test $ac_status = 0; } 2706 if { ac_try='./conftest$ac_cv_exeext' 2707 { { case "(($ac_try" in 2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2709 *) ac_try_echo=$ac_try;; 2710 esac 2711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2712 $as_echo "$ac_try_echo"; } >&5 2713 (eval "$ac_try") 2>&5 2714 ac_status=$? 2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2716 test $ac_status = 0; }; }; then 2717 cross_compiling=no 2718 else 2719 if test "$cross_compiling" = maybe; then 2720 cross_compiling=yes 2721 else 2722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2724 as_fn_error "cannot run C++ compiled programs. 2725 If you meant to cross compile, use \`--host'. 2726 See \`config.log' for more details." "$LINENO" 5; } 2727 fi 2728 fi 2729 fi 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2731 $as_echo "$cross_compiling" >&6; } 2732 2733 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2734 ac_clean_files=$ac_clean_files_save 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2736 $as_echo_n "checking for suffix of object files... " >&6; } 2737 if test "${ac_cv_objext+set}" = set; then : 2738 $as_echo_n "(cached) " >&6 2739 else 2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2741 /* end confdefs.h. */ 2742 2743 int 2744 main () 2745 { 2746 2747 ; 2748 return 0; 2749 } 2750 _ACEOF 2751 rm -f conftest.o conftest.obj 2752 if { { ac_try="$ac_compile" 2753 case "(($ac_try" in 2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2755 *) ac_try_echo=$ac_try;; 2756 esac 2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2758 $as_echo "$ac_try_echo"; } >&5 2411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2412 $as_echo "$ac_try_echo") >&5 2759 2413 (eval "$ac_compile") 2>&5 2760 2414 ac_status=$? 2761 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52762 test $ac_status = 0; }; then :2415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2416 (exit $ac_status); }; then 2763 2417 for ac_file in conftest.o conftest.obj conftest.*; do 2764 2418 test -f "$ac_file" || continue; … … 2773 2427 sed 's/^/| /' conftest.$ac_ext >&5 2774 2428 2775 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52429 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2776 2430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2777 as_fn_error "cannot compute suffix of object files: cannot compile 2778 See \`config.log' for more details." "$LINENO" 5; } 2779 fi 2431 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2432 See \`config.log' for more details." >&5 2433 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2434 See \`config.log' for more details." >&2;} 2435 { (exit 1); exit 1; }; }; } 2436 fi 2437 2780 2438 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2781 2439 fi 2782 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52440 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2783 2441 $as_echo "$ac_cv_objext" >&6; } 2784 2442 OBJEXT=$ac_cv_objext 2785 2443 ac_objext=$OBJEXT 2786 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&52444 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2787 2445 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2788 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :2446 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2789 2447 $as_echo_n "(cached) " >&6 2790 2448 else 2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2449 cat >conftest.$ac_ext <<_ACEOF 2450 /* confdefs.h. */ 2451 _ACEOF 2452 cat confdefs.h >>conftest.$ac_ext 2453 cat >>conftest.$ac_ext <<_ACEOF 2792 2454 /* end confdefs.h. */ 2793 2455 … … 2803 2465 } 2804 2466 _ACEOF 2805 if ac_fn_cxx_try_compile "$LINENO"; then : 2467 rm -f conftest.$ac_objext 2468 if { (ac_try="$ac_compile" 2469 case "(($ac_try" in 2470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2471 *) ac_try_echo=$ac_try;; 2472 esac 2473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2474 $as_echo "$ac_try_echo") >&5 2475 (eval "$ac_compile") 2>conftest.er1 2476 ac_status=$? 2477 grep -v '^ *+' conftest.er1 >conftest.err 2478 rm -f conftest.er1 2479 cat conftest.err >&5 2480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2481 (exit $ac_status); } && { 2482 test -z "$ac_cxx_werror_flag" || 2483 test ! -s conftest.err 2484 } && test -s conftest.$ac_objext; then 2806 2485 ac_compiler_gnu=yes 2807 2486 else 2808 ac_compiler_gnu=no 2809 fi 2487 $as_echo "$as_me: failed program was:" >&5 2488 sed 's/^/| /' conftest.$ac_ext >&5 2489 2490 ac_compiler_gnu=no 2491 fi 2492 2810 2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2811 2494 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2812 2495 2813 2496 fi 2814 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&52497 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2815 2498 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 2816 2499 if test $ac_compiler_gnu = yes; then … … 2821 2504 ac_test_CXXFLAGS=${CXXFLAGS+set} 2822 2505 ac_save_CXXFLAGS=$CXXFLAGS 2823 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&52506 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2824 2507 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2825 if test "${ac_cv_prog_cxx_g+set}" = set; then :2508 if test "${ac_cv_prog_cxx_g+set}" = set; then 2826 2509 $as_echo_n "(cached) " >&6 2827 2510 else … … 2830 2513 ac_cv_prog_cxx_g=no 2831 2514 CXXFLAGS="-g" 2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2515 cat >conftest.$ac_ext <<_ACEOF 2516 /* confdefs.h. */ 2517 _ACEOF 2518 cat confdefs.h >>conftest.$ac_ext 2519 cat >>conftest.$ac_ext <<_ACEOF 2833 2520 /* end confdefs.h. */ 2834 2521 … … 2841 2528 } 2842 2529 _ACEOF 2843 if ac_fn_cxx_try_compile "$LINENO"; then : 2530 rm -f conftest.$ac_objext 2531 if { (ac_try="$ac_compile" 2532 case "(($ac_try" in 2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2534 *) ac_try_echo=$ac_try;; 2535 esac 2536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2537 $as_echo "$ac_try_echo") >&5 2538 (eval "$ac_compile") 2>conftest.er1 2539 ac_status=$? 2540 grep -v '^ *+' conftest.er1 >conftest.err 2541 rm -f conftest.er1 2542 cat conftest.err >&5 2543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2544 (exit $ac_status); } && { 2545 test -z "$ac_cxx_werror_flag" || 2546 test ! -s conftest.err 2547 } && test -s conftest.$ac_objext; then 2844 2548 ac_cv_prog_cxx_g=yes 2845 2549 else 2846 CXXFLAGS="" 2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2550 $as_echo "$as_me: failed program was:" >&5 2551 sed 's/^/| /' conftest.$ac_ext >&5 2552 2553 CXXFLAGS="" 2554 cat >conftest.$ac_ext <<_ACEOF 2555 /* confdefs.h. */ 2556 _ACEOF 2557 cat confdefs.h >>conftest.$ac_ext 2558 cat >>conftest.$ac_ext <<_ACEOF 2848 2559 /* end confdefs.h. */ 2849 2560 … … 2856 2567 } 2857 2568 _ACEOF 2858 if ac_fn_cxx_try_compile "$LINENO"; then : 2859 2860 else 2861 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2569 rm -f conftest.$ac_objext 2570 if { (ac_try="$ac_compile" 2571 case "(($ac_try" in 2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2573 *) ac_try_echo=$ac_try;; 2574 esac 2575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2576 $as_echo "$ac_try_echo") >&5 2577 (eval "$ac_compile") 2>conftest.er1 2578 ac_status=$? 2579 grep -v '^ *+' conftest.er1 >conftest.err 2580 rm -f conftest.er1 2581 cat conftest.err >&5 2582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2583 (exit $ac_status); } && { 2584 test -z "$ac_cxx_werror_flag" || 2585 test ! -s conftest.err 2586 } && test -s conftest.$ac_objext; then 2587 : 2588 else 2589 $as_echo "$as_me: failed program was:" >&5 2590 sed 's/^/| /' conftest.$ac_ext >&5 2591 2592 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2862 2593 CXXFLAGS="-g" 2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2594 cat >conftest.$ac_ext <<_ACEOF 2595 /* confdefs.h. */ 2596 _ACEOF 2597 cat confdefs.h >>conftest.$ac_ext 2598 cat >>conftest.$ac_ext <<_ACEOF 2864 2599 /* end confdefs.h. */ 2865 2600 … … 2872 2607 } 2873 2608 _ACEOF 2874 if ac_fn_cxx_try_compile "$LINENO"; then : 2609 rm -f conftest.$ac_objext 2610 if { (ac_try="$ac_compile" 2611 case "(($ac_try" in 2612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2613 *) ac_try_echo=$ac_try;; 2614 esac 2615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2616 $as_echo "$ac_try_echo") >&5 2617 (eval "$ac_compile") 2>conftest.er1 2618 ac_status=$? 2619 grep -v '^ *+' conftest.er1 >conftest.err 2620 rm -f conftest.er1 2621 cat conftest.err >&5 2622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2623 (exit $ac_status); } && { 2624 test -z "$ac_cxx_werror_flag" || 2625 test ! -s conftest.err 2626 } && test -s conftest.$ac_objext; then 2875 2627 ac_cv_prog_cxx_g=yes 2876 fi 2628 else 2629 $as_echo "$as_me: failed program was:" >&5 2630 sed 's/^/| /' conftest.$ac_ext >&5 2631 2632 2633 fi 2634 2877 2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2878 2636 fi 2637 2879 2638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2880 2639 fi 2640 2881 2641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2882 2642 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2883 2643 fi 2884 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&52644 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2885 2645 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2886 2646 if test "$ac_test_CXXFLAGS" = set; then … … 2909 2669 # Extract the first word of "$ac_prog", so it can be a program name with args. 2910 2670 set dummy $ac_prog; ac_word=$2 2911 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52671 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2912 2672 $as_echo_n "checking for $ac_word... " >&6; } 2913 if test "${ac_cv_prog_AWK+set}" = set; then :2673 if test "${ac_cv_prog_AWK+set}" = set; then 2914 2674 $as_echo_n "(cached) " >&6 2915 2675 else … … 2922 2682 IFS=$as_save_IFS 2923 2683 test -z "$as_dir" && as_dir=. 2924 2684 for ac_exec_ext in '' $ac_executable_extensions; do 2925 2685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2926 2686 ac_cv_prog_AWK="$ac_prog" 2927 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52687 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2928 2688 break 2 2929 2689 fi 2930 2690 done 2931 2691 done 2932 2692 IFS=$as_save_IFS 2933 2693 … … 2936 2696 AWK=$ac_cv_prog_AWK 2937 2697 if test -n "$AWK"; then 2938 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AWK" >&52698 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2939 2699 $as_echo "$AWK" >&6; } 2940 2700 else 2941 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52701 { $as_echo "$as_me:$LINENO: result: no" >&5 2942 2702 $as_echo "no" >&6; } 2943 2703 fi … … 2951 2711 # Extract the first word of "$ac_prog", so it can be a program name with args. 2952 2712 set dummy $ac_prog; ac_word=$2 2953 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52713 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2954 2714 $as_echo_n "checking for $ac_word... " >&6; } 2955 if test "${ac_cv_prog_YACC+set}" = set; then :2715 if test "${ac_cv_prog_YACC+set}" = set; then 2956 2716 $as_echo_n "(cached) " >&6 2957 2717 else … … 2964 2724 IFS=$as_save_IFS 2965 2725 test -z "$as_dir" && as_dir=. 2966 2726 for ac_exec_ext in '' $ac_executable_extensions; do 2967 2727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2968 2728 ac_cv_prog_YACC="$ac_prog" 2969 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52729 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2970 2730 break 2 2971 2731 fi 2972 2732 done 2973 2733 done 2974 2734 IFS=$as_save_IFS 2975 2735 … … 2978 2738 YACC=$ac_cv_prog_YACC 2979 2739 if test -n "$YACC"; then 2980 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $YACC" >&52740 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 2981 2741 $as_echo "$YACC" >&6; } 2982 2742 else 2983 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52743 { $as_echo "$as_me:$LINENO: result: no" >&5 2984 2744 $as_echo "no" >&6; } 2985 2745 fi … … 2998 2758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2999 2759 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3000 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52760 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3001 2761 $as_echo_n "checking for $ac_word... " >&6; } 3002 if test "${ac_cv_prog_CC+set}" = set; then :2762 if test "${ac_cv_prog_CC+set}" = set; then 3003 2763 $as_echo_n "(cached) " >&6 3004 2764 else … … 3011 2771 IFS=$as_save_IFS 3012 2772 test -z "$as_dir" && as_dir=. 3013 2773 for ac_exec_ext in '' $ac_executable_extensions; do 3014 2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3015 2775 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3016 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52776 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3017 2777 break 2 3018 2778 fi 3019 2779 done 3020 2780 done 3021 2781 IFS=$as_save_IFS 3022 2782 … … 3025 2785 CC=$ac_cv_prog_CC 3026 2786 if test -n "$CC"; then 3027 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52787 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3028 2788 $as_echo "$CC" >&6; } 3029 2789 else 3030 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52790 { $as_echo "$as_me:$LINENO: result: no" >&5 3031 2791 $as_echo "no" >&6; } 3032 2792 fi … … 3038 2798 # Extract the first word of "gcc", so it can be a program name with args. 3039 2799 set dummy gcc; ac_word=$2 3040 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3041 2801 $as_echo_n "checking for $ac_word... " >&6; } 3042 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3043 2803 $as_echo_n "(cached) " >&6 3044 2804 else … … 3051 2811 IFS=$as_save_IFS 3052 2812 test -z "$as_dir" && as_dir=. 3053 2813 for ac_exec_ext in '' $ac_executable_extensions; do 3054 2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3055 2815 ac_cv_prog_ac_ct_CC="gcc" 3056 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3057 2817 break 2 3058 2818 fi 3059 2819 done 3060 2820 done 3061 2821 IFS=$as_save_IFS 3062 2822 … … 3065 2825 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3066 2826 if test -n "$ac_ct_CC"; then 3067 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52827 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3068 2828 $as_echo "$ac_ct_CC" >&6; } 3069 2829 else 3070 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52830 { $as_echo "$as_me:$LINENO: result: no" >&5 3071 2831 $as_echo "no" >&6; } 3072 2832 fi … … 3077 2837 case $cross_compiling:$ac_tool_warned in 3078 2838 yes:) 3079 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52839 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3080 2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3081 2841 ac_tool_warned=yes ;; … … 3091 2851 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3092 2852 set dummy ${ac_tool_prefix}cc; ac_word=$2 3093 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52853 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3094 2854 $as_echo_n "checking for $ac_word... " >&6; } 3095 if test "${ac_cv_prog_CC+set}" = set; then :2855 if test "${ac_cv_prog_CC+set}" = set; then 3096 2856 $as_echo_n "(cached) " >&6 3097 2857 else … … 3104 2864 IFS=$as_save_IFS 3105 2865 test -z "$as_dir" && as_dir=. 3106 2866 for ac_exec_ext in '' $ac_executable_extensions; do 3107 2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3108 2868 ac_cv_prog_CC="${ac_tool_prefix}cc" 3109 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52869 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3110 2870 break 2 3111 2871 fi 3112 2872 done 3113 2873 done 3114 2874 IFS=$as_save_IFS 3115 2875 … … 3118 2878 CC=$ac_cv_prog_CC 3119 2879 if test -n "$CC"; then 3120 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52880 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3121 2881 $as_echo "$CC" >&6; } 3122 2882 else 3123 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52883 { $as_echo "$as_me:$LINENO: result: no" >&5 3124 2884 $as_echo "no" >&6; } 3125 2885 fi … … 3131 2891 # Extract the first word of "cc", so it can be a program name with args. 3132 2892 set dummy cc; ac_word=$2 3133 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52893 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3134 2894 $as_echo_n "checking for $ac_word... " >&6; } 3135 if test "${ac_cv_prog_CC+set}" = set; then :2895 if test "${ac_cv_prog_CC+set}" = set; then 3136 2896 $as_echo_n "(cached) " >&6 3137 2897 else … … 3145 2905 IFS=$as_save_IFS 3146 2906 test -z "$as_dir" && as_dir=. 3147 2907 for ac_exec_ext in '' $ac_executable_extensions; do 3148 2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3149 2909 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 3152 2912 fi 3153 2913 ac_cv_prog_CC="cc" 3154 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3155 2915 break 2 3156 2916 fi 3157 2917 done 3158 2918 done 3159 2919 IFS=$as_save_IFS 3160 2920 … … 3175 2935 CC=$ac_cv_prog_CC 3176 2936 if test -n "$CC"; then 3177 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52937 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3178 2938 $as_echo "$CC" >&6; } 3179 2939 else 3180 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52940 { $as_echo "$as_me:$LINENO: result: no" >&5 3181 2941 $as_echo "no" >&6; } 3182 2942 fi … … 3190 2950 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3191 2951 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3192 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52952 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3193 2953 $as_echo_n "checking for $ac_word... " >&6; } 3194 if test "${ac_cv_prog_CC+set}" = set; then :2954 if test "${ac_cv_prog_CC+set}" = set; then 3195 2955 $as_echo_n "(cached) " >&6 3196 2956 else … … 3203 2963 IFS=$as_save_IFS 3204 2964 test -z "$as_dir" && as_dir=. 3205 2965 for ac_exec_ext in '' $ac_executable_extensions; do 3206 2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3207 2967 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3208 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52968 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3209 2969 break 2 3210 2970 fi 3211 2971 done 3212 2972 done 3213 2973 IFS=$as_save_IFS 3214 2974 … … 3217 2977 CC=$ac_cv_prog_CC 3218 2978 if test -n "$CC"; then 3219 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52979 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3220 2980 $as_echo "$CC" >&6; } 3221 2981 else 3222 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52982 { $as_echo "$as_me:$LINENO: result: no" >&5 3223 2983 $as_echo "no" >&6; } 3224 2984 fi … … 3234 2994 # Extract the first word of "$ac_prog", so it can be a program name with args. 3235 2995 set dummy $ac_prog; ac_word=$2 3236 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52996 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3237 2997 $as_echo_n "checking for $ac_word... " >&6; } 3238 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3239 2999 $as_echo_n "(cached) " >&6 3240 3000 else … … 3247 3007 IFS=$as_save_IFS 3248 3008 test -z "$as_dir" && as_dir=. 3249 3009 for ac_exec_ext in '' $ac_executable_extensions; do 3250 3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3251 3011 ac_cv_prog_ac_ct_CC="$ac_prog" 3252 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53012 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3253 3013 break 2 3254 3014 fi 3255 3015 done 3256 3016 done 3257 3017 IFS=$as_save_IFS 3258 3018 … … 3261 3021 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3262 3022 if test -n "$ac_ct_CC"; then 3263 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&53023 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3264 3024 $as_echo "$ac_ct_CC" >&6; } 3265 3025 else 3266 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53026 { $as_echo "$as_me:$LINENO: result: no" >&5 3267 3027 $as_echo "no" >&6; } 3268 3028 fi … … 3277 3037 case $cross_compiling:$ac_tool_warned in 3278 3038 yes:) 3279 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53039 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3280 3040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3281 3041 ac_tool_warned=yes ;; … … 3288 3048 3289 3049 3290 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53050 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3291 3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3292 as_fn_error "no acceptable C compiler found in \$PATH 3293 See \`config.log' for more details." "$LINENO" 5; } 3052 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3053 See \`config.log' for more details." >&5 3054 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3055 See \`config.log' for more details." >&2;} 3056 { (exit 1); exit 1; }; }; } 3294 3057 3295 3058 # Provide some information about the compiler. 3296 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&53059 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3297 3060 set X $ac_compile 3298 3061 ac_compiler=$2 3299 for ac_option in --version -v -V -qversion; do 3300 { { ac_try="$ac_compiler $ac_option >&5" 3062 { (ac_try="$ac_compiler --version >&5" 3301 3063 case "(($ac_try" in 3302 3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3303 3065 *) ac_try_echo=$ac_try;; 3304 3066 esac 3305 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3306 $as_echo "$ac_try_echo" ; }>&53307 (eval "$ac_compiler $ac_option >&5") 2>conftest.err3067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3068 $as_echo "$ac_try_echo") >&5 3069 (eval "$ac_compiler --version >&5") 2>&5 3308 3070 ac_status=$? 3309 if test -s conftest.err; then 3310 sed '10a\ 3311 ... rest of stderr output deleted ... 3312 10q' conftest.err >conftest.er1 3313 cat conftest.er1 >&5 3314 fi 3315 rm -f conftest.er1 conftest.err 3316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3317 test $ac_status = 0; } 3318 done 3319 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3072 (exit $ac_status); } 3073 { (ac_try="$ac_compiler -v >&5" 3074 case "(($ac_try" in 3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3076 *) ac_try_echo=$ac_try;; 3077 esac 3078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3079 $as_echo "$ac_try_echo") >&5 3080 (eval "$ac_compiler -v >&5") 2>&5 3081 ac_status=$? 3082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3083 (exit $ac_status); } 3084 { (ac_try="$ac_compiler -V >&5" 3085 case "(($ac_try" in 3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3087 *) ac_try_echo=$ac_try;; 3088 esac 3089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3090 $as_echo "$ac_try_echo") >&5 3091 (eval "$ac_compiler -V >&5") 2>&5 3092 ac_status=$? 3093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3094 (exit $ac_status); } 3095 3096 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3321 3097 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3322 if test "${ac_cv_c_compiler_gnu+set}" = set; then :3098 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3323 3099 $as_echo_n "(cached) " >&6 3324 3100 else 3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3101 cat >conftest.$ac_ext <<_ACEOF 3102 /* confdefs.h. */ 3103 _ACEOF 3104 cat confdefs.h >>conftest.$ac_ext 3105 cat >>conftest.$ac_ext <<_ACEOF 3326 3106 /* end confdefs.h. */ 3327 3107 … … 3337 3117 } 3338 3118 _ACEOF 3339 if ac_fn_c_try_compile "$LINENO"; then : 3119 rm -f conftest.$ac_objext 3120 if { (ac_try="$ac_compile" 3121 case "(($ac_try" in 3122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3123 *) ac_try_echo=$ac_try;; 3124 esac 3125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3126 $as_echo "$ac_try_echo") >&5 3127 (eval "$ac_compile") 2>conftest.er1 3128 ac_status=$? 3129 grep -v '^ *+' conftest.er1 >conftest.err 3130 rm -f conftest.er1 3131 cat conftest.err >&5 3132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 (exit $ac_status); } && { 3134 test -z "$ac_c_werror_flag" || 3135 test ! -s conftest.err 3136 } && test -s conftest.$ac_objext; then 3340 3137 ac_compiler_gnu=yes 3341 3138 else 3342 ac_compiler_gnu=no 3343 fi 3139 $as_echo "$as_me: failed program was:" >&5 3140 sed 's/^/| /' conftest.$ac_ext >&5 3141 3142 ac_compiler_gnu=no 3143 fi 3144 3344 3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3345 3146 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3346 3147 3347 3148 fi 3348 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&53149 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3349 3150 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3350 3151 if test $ac_compiler_gnu = yes; then … … 3355 3156 ac_test_CFLAGS=${CFLAGS+set} 3356 3157 ac_save_CFLAGS=$CFLAGS 3357 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&53158 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3358 3159 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3359 if test "${ac_cv_prog_cc_g+set}" = set; then :3160 if test "${ac_cv_prog_cc_g+set}" = set; then 3360 3161 $as_echo_n "(cached) " >&6 3361 3162 else … … 3364 3165 ac_cv_prog_cc_g=no 3365 3166 CFLAGS="-g" 3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3167 cat >conftest.$ac_ext <<_ACEOF 3168 /* confdefs.h. */ 3169 _ACEOF 3170 cat confdefs.h >>conftest.$ac_ext 3171 cat >>conftest.$ac_ext <<_ACEOF 3367 3172 /* end confdefs.h. */ 3368 3173 … … 3375 3180 } 3376 3181 _ACEOF 3377 if ac_fn_c_try_compile "$LINENO"; then : 3182 rm -f conftest.$ac_objext 3183 if { (ac_try="$ac_compile" 3184 case "(($ac_try" in 3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3186 *) ac_try_echo=$ac_try;; 3187 esac 3188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3189 $as_echo "$ac_try_echo") >&5 3190 (eval "$ac_compile") 2>conftest.er1 3191 ac_status=$? 3192 grep -v '^ *+' conftest.er1 >conftest.err 3193 rm -f conftest.er1 3194 cat conftest.err >&5 3195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); } && { 3197 test -z "$ac_c_werror_flag" || 3198 test ! -s conftest.err 3199 } && test -s conftest.$ac_objext; then 3378 3200 ac_cv_prog_cc_g=yes 3379 3201 else 3380 CFLAGS="" 3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3202 $as_echo "$as_me: failed program was:" >&5 3203 sed 's/^/| /' conftest.$ac_ext >&5 3204 3205 CFLAGS="" 3206 cat >conftest.$ac_ext <<_ACEOF 3207 /* confdefs.h. */ 3208 _ACEOF 3209 cat confdefs.h >>conftest.$ac_ext 3210 cat >>conftest.$ac_ext <<_ACEOF 3382 3211 /* end confdefs.h. */ 3383 3212 … … 3390 3219 } 3391 3220 _ACEOF 3392 if ac_fn_c_try_compile "$LINENO"; then : 3393 3394 else 3395 ac_c_werror_flag=$ac_save_c_werror_flag 3221 rm -f conftest.$ac_objext 3222 if { (ac_try="$ac_compile" 3223 case "(($ac_try" in 3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3225 *) ac_try_echo=$ac_try;; 3226 esac 3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3228 $as_echo "$ac_try_echo") >&5 3229 (eval "$ac_compile") 2>conftest.er1 3230 ac_status=$? 3231 grep -v '^ *+' conftest.er1 >conftest.err 3232 rm -f conftest.er1 3233 cat conftest.err >&5 3234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3235 (exit $ac_status); } && { 3236 test -z "$ac_c_werror_flag" || 3237 test ! -s conftest.err 3238 } && test -s conftest.$ac_objext; then 3239 : 3240 else 3241 $as_echo "$as_me: failed program was:" >&5 3242 sed 's/^/| /' conftest.$ac_ext >&5 3243 3244 ac_c_werror_flag=$ac_save_c_werror_flag 3396 3245 CFLAGS="-g" 3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3246 cat >conftest.$ac_ext <<_ACEOF 3247 /* confdefs.h. */ 3248 _ACEOF 3249 cat confdefs.h >>conftest.$ac_ext 3250 cat >>conftest.$ac_ext <<_ACEOF 3398 3251 /* end confdefs.h. */ 3399 3252 … … 3406 3259 } 3407 3260 _ACEOF 3408 if ac_fn_c_try_compile "$LINENO"; then : 3261 rm -f conftest.$ac_objext 3262 if { (ac_try="$ac_compile" 3263 case "(($ac_try" in 3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3265 *) ac_try_echo=$ac_try;; 3266 esac 3267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3268 $as_echo "$ac_try_echo") >&5 3269 (eval "$ac_compile") 2>conftest.er1 3270 ac_status=$? 3271 grep -v '^ *+' conftest.er1 >conftest.err 3272 rm -f conftest.er1 3273 cat conftest.err >&5 3274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3275 (exit $ac_status); } && { 3276 test -z "$ac_c_werror_flag" || 3277 test ! -s conftest.err 3278 } && test -s conftest.$ac_objext; then 3409 3279 ac_cv_prog_cc_g=yes 3410 fi 3280 else 3281 $as_echo "$as_me: failed program was:" >&5 3282 sed 's/^/| /' conftest.$ac_ext >&5 3283 3284 3285 fi 3286 3411 3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3412 3288 fi 3289 3413 3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3414 3291 fi 3292 3415 3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3416 3294 ac_c_werror_flag=$ac_save_c_werror_flag 3417 3295 fi 3418 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53296 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3419 3297 $as_echo "$ac_cv_prog_cc_g" >&6; } 3420 3298 if test "$ac_test_CFLAGS" = set; then … … 3433 3311 fi 3434 3312 fi 3435 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53313 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3436 3314 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3437 if test "${ac_cv_prog_cc_c89+set}" = set; then :3315 if test "${ac_cv_prog_cc_c89+set}" = set; then 3438 3316 $as_echo_n "(cached) " >&6 3439 3317 else 3440 3318 ac_cv_prog_cc_c89=no 3441 3319 ac_save_CC=$CC 3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3320 cat >conftest.$ac_ext <<_ACEOF 3321 /* confdefs.h. */ 3322 _ACEOF 3323 cat confdefs.h >>conftest.$ac_ext 3324 cat >>conftest.$ac_ext <<_ACEOF 3443 3325 /* end confdefs.h. */ 3444 3326 #include <stdarg.h> … … 3497 3379 do 3498 3380 CC="$ac_save_CC $ac_arg" 3499 if ac_fn_c_try_compile "$LINENO"; then : 3381 rm -f conftest.$ac_objext 3382 if { (ac_try="$ac_compile" 3383 case "(($ac_try" in 3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3385 *) ac_try_echo=$ac_try;; 3386 esac 3387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3388 $as_echo "$ac_try_echo") >&5 3389 (eval "$ac_compile") 2>conftest.er1 3390 ac_status=$? 3391 grep -v '^ *+' conftest.er1 >conftest.err 3392 rm -f conftest.er1 3393 cat conftest.err >&5 3394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3395 (exit $ac_status); } && { 3396 test -z "$ac_c_werror_flag" || 3397 test ! -s conftest.err 3398 } && test -s conftest.$ac_objext; then 3500 3399 ac_cv_prog_cc_c89=$ac_arg 3501 fi 3400 else 3401 $as_echo "$as_me: failed program was:" >&5 3402 sed 's/^/| /' conftest.$ac_ext >&5 3403 3404 3405 fi 3406 3502 3407 rm -f core conftest.err conftest.$ac_objext 3503 3408 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3510 3415 case "x$ac_cv_prog_cc_c89" in 3511 3416 x) 3512 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&53417 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3513 3418 $as_echo "none needed" >&6; } ;; 3514 3419 xno) 3515 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&53420 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3516 3421 $as_echo "unsupported" >&6; } ;; 3517 3422 *) 3518 3423 CC="$CC $ac_cv_prog_cc_c89" 3519 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&53424 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3520 3425 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3521 3426 esac 3522 if test "x$ac_cv_prog_cc_c89" != xno; then : 3523 3524 fi 3427 3525 3428 3526 3429 ac_ext=c … … 3544 3447 # ./install, which can be erroneously created by make from ./install.sh. 3545 3448 # Reject install programs that cannot install multiple files. 3546 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&53449 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3547 3450 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3548 3451 if test -z "$INSTALL"; then 3549 if test "${ac_cv_path_install+set}" = set; then :3452 if test "${ac_cv_path_install+set}" = set; then 3550 3453 $as_echo_n "(cached) " >&6 3551 3454 else … … 3555 3458 IFS=$as_save_IFS 3556 3459 test -z "$as_dir" && as_dir=. 3557 3558 case $as_dir/ in #((3559 ./ | .// | / [cC]/* | \3460 # Account for people who put trailing slashes in PATH elements. 3461 case $as_dir/ in 3462 ./ | .// | /cC/* | \ 3560 3463 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3561 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \3464 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3562 3465 /usr/ucb/* ) ;; 3563 3466 *) … … 3596 3499 esac 3597 3500 3598 3501 done 3599 3502 IFS=$as_save_IFS 3600 3503 … … 3612 3515 fi 3613 3516 fi 3614 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&53517 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3615 3518 $as_echo "$INSTALL" >&6; } 3616 3519 … … 3623 3526 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3624 3527 3625 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&53528 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3626 3529 $as_echo_n "checking whether ln -s works... " >&6; } 3627 3530 LN_S=$as_ln_s 3628 3531 if test "$LN_S" = "ln -s"; then 3629 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&53532 { $as_echo "$as_me:$LINENO: result: yes" >&5 3630 3533 $as_echo "yes" >&6; } 3631 3534 else 3632 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&53535 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3633 3536 $as_echo "no, using $LN_S" >&6; } 3634 3537 fi 3635 3538 3636 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&53539 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3637 3540 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3638 3541 set x ${MAKE-make} 3639 3542 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3640 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :3543 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3641 3544 $as_echo_n "(cached) " >&6 3642 3545 else … … 3656 3559 fi 3657 3560 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3658 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&53561 { $as_echo "$as_me:$LINENO: result: yes" >&5 3659 3562 $as_echo "yes" >&6; } 3660 3563 SET_MAKE= 3661 3564 else 3662 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53565 { $as_echo "$as_me:$LINENO: result: no" >&5 3663 3566 $as_echo "no" >&6; } 3664 3567 SET_MAKE="MAKE=${MAKE-make}" … … 3668 3571 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3669 3572 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3670 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53573 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3671 3574 $as_echo_n "checking for $ac_word... " >&6; } 3672 if test "${ac_cv_prog_RANLIB+set}" = set; then :3575 if test "${ac_cv_prog_RANLIB+set}" = set; then 3673 3576 $as_echo_n "(cached) " >&6 3674 3577 else … … 3681 3584 IFS=$as_save_IFS 3682 3585 test -z "$as_dir" && as_dir=. 3683 3586 for ac_exec_ext in '' $ac_executable_extensions; do 3684 3587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3685 3588 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3686 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3687 3590 break 2 3688 3591 fi 3689 3592 done 3690 3593 done 3691 3594 IFS=$as_save_IFS 3692 3595 … … 3695 3598 RANLIB=$ac_cv_prog_RANLIB 3696 3599 if test -n "$RANLIB"; then 3697 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&53600 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3698 3601 $as_echo "$RANLIB" >&6; } 3699 3602 else 3700 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53603 { $as_echo "$as_me:$LINENO: result: no" >&5 3701 3604 $as_echo "no" >&6; } 3702 3605 fi … … 3708 3611 # Extract the first word of "ranlib", so it can be a program name with args. 3709 3612 set dummy ranlib; ac_word=$2 3710 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53613 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3711 3614 $as_echo_n "checking for $ac_word... " >&6; } 3712 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :3615 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3713 3616 $as_echo_n "(cached) " >&6 3714 3617 else … … 3721 3624 IFS=$as_save_IFS 3722 3625 test -z "$as_dir" && as_dir=. 3723 3626 for ac_exec_ext in '' $ac_executable_extensions; do 3724 3627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3725 3628 ac_cv_prog_ac_ct_RANLIB="ranlib" 3726 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53629 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3727 3630 break 2 3728 3631 fi 3729 3632 done 3730 3633 done 3731 3634 IFS=$as_save_IFS 3732 3635 … … 3735 3638 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3736 3639 if test -n "$ac_ct_RANLIB"; then 3737 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&53640 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3738 3641 $as_echo "$ac_ct_RANLIB" >&6; } 3739 3642 else 3740 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53643 { $as_echo "$as_me:$LINENO: result: no" >&5 3741 3644 $as_echo "no" >&6; } 3742 3645 fi … … 3747 3650 case $cross_compiling:$ac_tool_warned in 3748 3651 yes:) 3749 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53652 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3750 3653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3751 3654 ac_tool_warned=yes ;; … … 3766 3669 # Extract the first word of "$ac_prog", so it can be a program name with args. 3767 3670 set dummy $ac_prog; ac_word=$2 3768 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53671 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3769 3672 $as_echo_n "checking for $ac_word... " >&6; } 3770 if test "${ac_cv_prog_JAVA+set}" = set; then :3673 if test "${ac_cv_prog_JAVA+set}" = set; then 3771 3674 $as_echo_n "(cached) " >&6 3772 3675 else … … 3779 3682 IFS=$as_save_IFS 3780 3683 test -z "$as_dir" && as_dir=. 3781 3684 for ac_exec_ext in '' $ac_executable_extensions; do 3782 3685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3783 3686 ac_cv_prog_JAVA="$ac_prog" 3784 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53687 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3785 3688 break 2 3786 3689 fi 3787 3690 done 3788 3691 done 3789 3692 IFS=$as_save_IFS 3790 3693 … … 3793 3696 JAVA=$ac_cv_prog_JAVA 3794 3697 if test -n "$JAVA"; then 3795 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&53698 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3796 3699 $as_echo "$JAVA" >&6; } 3797 3700 else 3798 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53701 { $as_echo "$as_me:$LINENO: result: no" >&5 3799 3702 $as_echo "no" >&6; } 3800 3703 fi … … 3809 3712 # Extract the first word of "$ac_prog", so it can be a program name with args. 3810 3713 set dummy $ac_prog; ac_word=$2 3811 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53714 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3812 3715 $as_echo_n "checking for $ac_word... " >&6; } 3813 if test "${ac_cv_prog_JAVA+set}" = set; then :3716 if test "${ac_cv_prog_JAVA+set}" = set; then 3814 3717 $as_echo_n "(cached) " >&6 3815 3718 else … … 3822 3725 IFS=$as_save_IFS 3823 3726 test -z "$as_dir" && as_dir=. 3824 3727 for ac_exec_ext in '' $ac_executable_extensions; do 3825 3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3826 3729 ac_cv_prog_JAVA="$ac_prog" 3827 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53730 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3828 3731 break 2 3829 3732 fi 3830 3733 done 3831 3734 done 3832 3735 IFS=$as_save_IFS 3833 3736 … … 3836 3739 JAVA=$ac_cv_prog_JAVA 3837 3740 if test -n "$JAVA"; then 3838 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&53741 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3839 3742 $as_echo "$JAVA" >&6; } 3840 3743 else 3841 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53744 { $as_echo "$as_me:$LINENO: result: no" >&5 3842 3745 $as_echo "no" >&6; } 3843 3746 fi … … 3849 3752 3850 3753 fi 3851 test x$JAVA = x && as_fn_error "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3754 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3755 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3756 { (exit 1); exit 1; }; } 3852 3757 fi 3853 3758 … … 3855 3760 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3856 3761 set dummy uudecode$EXEEXT; ac_word=$2 3857 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53762 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3858 3763 $as_echo_n "checking for $ac_word... " >&6; } 3859 if test "${ac_cv_prog_uudecode+set}" = set; then :3764 if test "${ac_cv_prog_uudecode+set}" = set; then 3860 3765 $as_echo_n "(cached) " >&6 3861 3766 else … … 3868 3773 IFS=$as_save_IFS 3869 3774 test -z "$as_dir" && as_dir=. 3870 3775 for ac_exec_ext in '' $ac_executable_extensions; do 3871 3776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3872 3777 ac_cv_prog_uudecode="yes" 3873 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53778 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3874 3779 break 2 3875 3780 fi 3876 3781 done 3877 3782 done 3878 3783 IFS=$as_save_IFS 3879 3784 … … 3882 3787 uudecode=$ac_cv_prog_uudecode 3883 3788 if test -n "$uudecode"; then 3884 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $uudecode" >&53789 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 3885 3790 $as_echo "$uudecode" >&6; } 3886 3791 else 3887 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53792 { $as_echo "$as_me:$LINENO: result: no" >&5 3888 3793 $as_echo "no" >&6; } 3889 3794 fi … … 3891 3796 3892 3797 if test x$uudecode = xyes; then 3893 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&53798 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3894 3799 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3895 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :3800 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3896 3801 $as_echo_n "(cached) " >&6 3897 3802 else … … 3911 3816 ac_cv_prog_uudecode_base64=yes 3912 3817 else 3913 echo "configure: 3 913: uudecode had trouble decoding base 64 file 'Test.uue'" >&53818 echo "configure: 3818: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3914 3819 echo "configure: failed file was:" >&5 3915 3820 cat Test.uue >&5 … … 3918 3823 rm -f Test.uue 3919 3824 fi 3920 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&53825 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3921 3826 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3922 3827 fi 3923 3828 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3924 3829 rm -f Test.class 3925 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&53830 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3926 3831 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3927 3832 if test x$ac_cv_prog_javac_works = xno; then 3928 as_fn_error "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3833 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3834 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3835 { (exit 1); exit 1; }; } 3929 3836 fi 3930 3837 if test x$ac_cv_prog_javac_works = x; then … … 3936 3843 # Extract the first word of "$ac_prog", so it can be a program name with args. 3937 3844 set dummy $ac_prog; ac_word=$2 3938 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53845 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3939 3846 $as_echo_n "checking for $ac_word... " >&6; } 3940 if test "${ac_cv_prog_JAVAC+set}" = set; then :3847 if test "${ac_cv_prog_JAVAC+set}" = set; then 3941 3848 $as_echo_n "(cached) " >&6 3942 3849 else … … 3949 3856 IFS=$as_save_IFS 3950 3857 test -z "$as_dir" && as_dir=. 3951 3858 for ac_exec_ext in '' $ac_executable_extensions; do 3952 3859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3953 3860 ac_cv_prog_JAVAC="$ac_prog" 3954 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53861 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3955 3862 break 2 3956 3863 fi 3957 3864 done 3958 3865 done 3959 3866 IFS=$as_save_IFS 3960 3867 … … 3963 3870 JAVAC=$ac_cv_prog_JAVAC 3964 3871 if test -n "$JAVAC"; then 3965 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&53872 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3966 3873 $as_echo "$JAVAC" >&6; } 3967 3874 else 3968 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53875 { $as_echo "$as_me:$LINENO: result: no" >&5 3969 3876 $as_echo "no" >&6; } 3970 3877 fi … … 3979 3886 # Extract the first word of "$ac_prog", so it can be a program name with args. 3980 3887 set dummy $ac_prog; ac_word=$2 3981 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53888 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3982 3889 $as_echo_n "checking for $ac_word... " >&6; } 3983 if test "${ac_cv_prog_JAVAC+set}" = set; then :3890 if test "${ac_cv_prog_JAVAC+set}" = set; then 3984 3891 $as_echo_n "(cached) " >&6 3985 3892 else … … 3992 3899 IFS=$as_save_IFS 3993 3900 test -z "$as_dir" && as_dir=. 3994 3901 for ac_exec_ext in '' $ac_executable_extensions; do 3995 3902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3996 3903 ac_cv_prog_JAVAC="$ac_prog" 3997 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53904 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3998 3905 break 2 3999 3906 fi 4000 3907 done 4001 3908 done 4002 3909 IFS=$as_save_IFS 4003 3910 … … 4006 3913 JAVAC=$ac_cv_prog_JAVAC 4007 3914 if test -n "$JAVAC"; then 4008 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&53915 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 4009 3916 $as_echo "$JAVAC" >&6; } 4010 3917 else 4011 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53918 { $as_echo "$as_me:$LINENO: result: no" >&5 4012 3919 $as_echo "no" >&6; } 4013 3920 fi … … 4019 3926 4020 3927 fi 4021 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3928 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3929 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3930 { (exit 1); exit 1; }; } 4022 3931 else 4023 3932 echo "Checking for javac... $JAVAC" … … 4025 3934 4026 3935 4027 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVAC works" >&53936 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 4028 3937 $as_echo_n "checking if $JAVAC works... " >&6; } 4029 if test "${ac_cv_prog_javac_works+set}" = set; then :3938 if test "${ac_cv_prog_javac_works+set}" = set; then 4030 3939 $as_echo_n "(cached) " >&6 4031 3940 else … … 4034 3943 CLASS_TEST=Test.class 4035 3944 cat << \EOF > $JAVA_TEST 4036 /* #line 4036"configure" */3945 /* #line 3945 "configure" */ 4037 3946 public class Test { 4038 3947 } 4039 3948 EOF 4040 3949 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4041 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4042 3951 (eval $ac_try) 2>&5 4043 3952 ac_status=$? 4044 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54045 test $ac_status = 0; }; } >/dev/null 2>&1; then3953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3954 (exit $ac_status); }; } >/dev/null 2>&1; then 4046 3955 ac_cv_prog_javac_works=yes 4047 3956 else 4048 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3957 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3958 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3959 { (exit 1); exit 1; }; } 4049 3960 echo "configure: failed program was:" >&5 4050 3961 cat $JAVA_TEST >&5 … … 4053 3964 4054 3965 fi 4055 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&53966 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 4056 3967 $as_echo "$ac_cv_prog_javac_works" >&6; } 4057 3968 if test "x$JAVACFLAGS" = x ; then … … 4063 3974 fi 4064 3975 fi 4065 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVA works" >&53976 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 4066 3977 $as_echo_n "checking if $JAVA works... " >&6; } 4067 if test "${ac_cv_prog_java_works+set}" = set; then :3978 if test "${ac_cv_prog_java_works+set}" = set; then 4068 3979 $as_echo_n "(cached) " >&6 4069 3980 else … … 4073 3984 TEST=Test 4074 3985 cat << \EOF > $JAVA_TEST 4075 /* [#]line 4075"configure" */3986 /* [#]line 3986 "configure" */ 4076 3987 public class Test { 4077 3988 public static void main (String args[]) { … … 4081 3992 if test x$ac_cv_prog_uudecode_base64 != xyes; then 4082 3993 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4083 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4084 3995 (eval $ac_try) 2>&5 4085 3996 ac_status=$? 4086 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54087 test $ac_status = 0; }; } && test -s $CLASS_TEST; then3997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3998 (exit $ac_status); }; } && test -s $CLASS_TEST; then 4088 3999 : 4089 4000 else 4090 4001 echo "configure: failed program was:" >&5 4091 4002 cat $JAVA_TEST >&5 4092 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4003 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 4004 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 4005 { (exit 1); exit 1; }; } 4093 4006 fi 4094 4007 fi 4095 4008 if { ac_try='$JAVA $JAVAFLAGS $TEST' 4096 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4097 4010 (eval $ac_try) 2>&5 4098 4011 ac_status=$? 4099 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54100 test $ac_status = 0; }; } >/dev/null 2>&1; then4012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4013 (exit $ac_status); }; } >/dev/null 2>&1; then 4101 4014 ac_cv_prog_java_works=yes 4102 4015 else 4103 4016 echo "configure: failed program was:" >&5 4104 4017 cat $JAVA_TEST >&5 4105 as_fn_error "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4018 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 4019 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 4020 { (exit 1); exit 1; }; } 4106 4021 fi 4107 4022 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 4108 4023 4109 4024 fi 4110 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&54025 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 4111 4026 $as_echo "$ac_cv_prog_java_works" >&6; } 4112 4027 … … 4120 4035 # Extract the first word of "$ac_prog", so it can be a program name with args. 4121 4036 set dummy $ac_prog; ac_word=$2 4122 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54037 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4123 4038 $as_echo_n "checking for $ac_word... " >&6; } 4124 if test "${ac_cv_prog_JAVAC+set}" = set; then :4039 if test "${ac_cv_prog_JAVAC+set}" = set; then 4125 4040 $as_echo_n "(cached) " >&6 4126 4041 else … … 4133 4048 IFS=$as_save_IFS 4134 4049 test -z "$as_dir" && as_dir=. 4135 4050 for ac_exec_ext in '' $ac_executable_extensions; do 4136 4051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4137 4052 ac_cv_prog_JAVAC="$ac_prog" 4138 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54053 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4139 4054 break 2 4140 4055 fi 4141 4056 done 4142 4057 done 4143 4058 IFS=$as_save_IFS 4144 4059 … … 4147 4062 JAVAC=$ac_cv_prog_JAVAC 4148 4063 if test -n "$JAVAC"; then 4149 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&54064 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 4150 4065 $as_echo "$JAVAC" >&6; } 4151 4066 else 4152 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54067 { $as_echo "$as_me:$LINENO: result: no" >&5 4153 4068 $as_echo "no" >&6; } 4154 4069 fi … … 4163 4078 # Extract the first word of "$ac_prog", so it can be a program name with args. 4164 4079 set dummy $ac_prog; ac_word=$2 4165 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54080 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4166 4081 $as_echo_n "checking for $ac_word... " >&6; } 4167 if test "${ac_cv_prog_JAVAC+set}" = set; then :4082 if test "${ac_cv_prog_JAVAC+set}" = set; then 4168 4083 $as_echo_n "(cached) " >&6 4169 4084 else … … 4176 4091 IFS=$as_save_IFS 4177 4092 test -z "$as_dir" && as_dir=. 4178 4093 for ac_exec_ext in '' $ac_executable_extensions; do 4179 4094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4180 4095 ac_cv_prog_JAVAC="$ac_prog" 4181 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54096 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4182 4097 break 2 4183 4098 fi 4184 4099 done 4185 4100 done 4186 4101 IFS=$as_save_IFS 4187 4102 … … 4190 4105 JAVAC=$ac_cv_prog_JAVAC 4191 4106 if test -n "$JAVAC"; then 4192 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&54107 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 4193 4108 $as_echo "$JAVAC" >&6; } 4194 4109 else 4195 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54110 { $as_echo "$as_me:$LINENO: result: no" >&5 4196 4111 $as_echo "no" >&6; } 4197 4112 fi … … 4203 4118 4204 4119 fi 4205 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5 4120 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 4121 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 4122 { (exit 1); exit 1; }; } 4206 4123 else 4207 4124 echo "Checking for javac... $JAVAC" … … 4209 4126 4210 4127 4211 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVAC works" >&54128 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 4212 4129 $as_echo_n "checking if $JAVAC works... " >&6; } 4213 if test "${ac_cv_prog_javac_works+set}" = set; then :4130 if test "${ac_cv_prog_javac_works+set}" = set; then 4214 4131 $as_echo_n "(cached) " >&6 4215 4132 else … … 4218 4135 CLASS_TEST=Test.class 4219 4136 cat << \EOF > $JAVA_TEST 4220 /* #line 4 220"configure" */4137 /* #line 4137 "configure" */ 4221 4138 public class Test { 4222 4139 } 4223 4140 EOF 4224 4141 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4225 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4226 4143 (eval $ac_try) 2>&5 4227 4144 ac_status=$? 4228 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54229 test $ac_status = 0; }; } >/dev/null 2>&1; then4145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4146 (exit $ac_status); }; } >/dev/null 2>&1; then 4230 4147 ac_cv_prog_javac_works=yes 4231 4148 else 4232 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4149 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 4150 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 4151 { (exit 1); exit 1; }; } 4233 4152 echo "configure: failed program was:" >&5 4234 4153 cat $JAVA_TEST >&5 … … 4237 4156 4238 4157 fi 4239 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&54158 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 4240 4159 $as_echo "$ac_cv_prog_javac_works" >&6; } 4241 4160 if test "x$JAVACFLAGS" = x ; then … … 4253 4172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4254 4173 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4255 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&54174 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4256 4175 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4257 4176 # On Suns, sometimes $CPP names a directory. … … 4260 4179 fi 4261 4180 if test -z "$CPP"; then 4262 if test "${ac_cv_prog_CPP+set}" = set; then :4181 if test "${ac_cv_prog_CPP+set}" = set; then 4263 4182 $as_echo_n "(cached) " >&6 4264 4183 else … … 4275 4194 # On the NeXT, cc -E runs the code through the compiler's parser, 4276 4195 # not just through cpp. "Syntax error" is here to catch this case. 4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4196 cat >conftest.$ac_ext <<_ACEOF 4197 /* confdefs.h. */ 4198 _ACEOF 4199 cat confdefs.h >>conftest.$ac_ext 4200 cat >>conftest.$ac_ext <<_ACEOF 4278 4201 /* end confdefs.h. */ 4279 4202 #ifdef __STDC__ … … 4284 4207 Syntax error 4285 4208 _ACEOF 4286 if ac_fn_c_try_cpp "$LINENO"; then : 4287 4288 else 4209 if { (ac_try="$ac_cpp conftest.$ac_ext" 4210 case "(($ac_try" in 4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4212 *) ac_try_echo=$ac_try;; 4213 esac 4214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4215 $as_echo "$ac_try_echo") >&5 4216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4217 ac_status=$? 4218 grep -v '^ *+' conftest.er1 >conftest.err 4219 rm -f conftest.er1 4220 cat conftest.err >&5 4221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4222 (exit $ac_status); } >/dev/null && { 4223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4224 test ! -s conftest.err 4225 }; then 4226 : 4227 else 4228 $as_echo "$as_me: failed program was:" >&5 4229 sed 's/^/| /' conftest.$ac_ext >&5 4230 4289 4231 # Broken: fails on valid input. 4290 4232 continue 4291 4233 fi 4234 4292 4235 rm -f conftest.err conftest.$ac_ext 4293 4236 4294 4237 # OK, works on sane cases. Now check whether nonexistent headers 4295 4238 # can be detected and how. 4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4239 cat >conftest.$ac_ext <<_ACEOF 4240 /* confdefs.h. */ 4241 _ACEOF 4242 cat confdefs.h >>conftest.$ac_ext 4243 cat >>conftest.$ac_ext <<_ACEOF 4297 4244 /* end confdefs.h. */ 4298 4245 #include <ac_nonexistent.h> 4299 4246 _ACEOF 4300 if ac_fn_c_try_cpp "$LINENO"; then : 4247 if { (ac_try="$ac_cpp conftest.$ac_ext" 4248 case "(($ac_try" in 4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4250 *) ac_try_echo=$ac_try;; 4251 esac 4252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4253 $as_echo "$ac_try_echo") >&5 4254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4255 ac_status=$? 4256 grep -v '^ *+' conftest.er1 >conftest.err 4257 rm -f conftest.er1 4258 cat conftest.err >&5 4259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4260 (exit $ac_status); } >/dev/null && { 4261 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4262 test ! -s conftest.err 4263 }; then 4301 4264 # Broken: success on invalid input. 4302 4265 continue 4303 4266 else 4267 $as_echo "$as_me: failed program was:" >&5 4268 sed 's/^/| /' conftest.$ac_ext >&5 4269 4304 4270 # Passes both tests. 4305 4271 ac_preproc_ok=: 4306 4272 break 4307 4273 fi 4274 4308 4275 rm -f conftest.err conftest.$ac_ext 4309 4276 … … 4311 4278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4312 4279 rm -f conftest.err conftest.$ac_ext 4313 if $ac_preproc_ok; then :4280 if $ac_preproc_ok; then 4314 4281 break 4315 4282 fi … … 4323 4290 ac_cv_prog_CPP=$CPP 4324 4291 fi 4325 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&54292 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4326 4293 $as_echo "$CPP" >&6; } 4327 4294 ac_preproc_ok=false … … 4334 4301 # On the NeXT, cc -E runs the code through the compiler's parser, 4335 4302 # not just through cpp. "Syntax error" is here to catch this case. 4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4303 cat >conftest.$ac_ext <<_ACEOF 4304 /* confdefs.h. */ 4305 _ACEOF 4306 cat confdefs.h >>conftest.$ac_ext 4307 cat >>conftest.$ac_ext <<_ACEOF 4337 4308 /* end confdefs.h. */ 4338 4309 #ifdef __STDC__ … … 4343 4314 Syntax error 4344 4315 _ACEOF 4345 if ac_fn_c_try_cpp "$LINENO"; then : 4346 4347 else 4316 if { (ac_try="$ac_cpp conftest.$ac_ext" 4317 case "(($ac_try" in 4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4319 *) ac_try_echo=$ac_try;; 4320 esac 4321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4322 $as_echo "$ac_try_echo") >&5 4323 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4324 ac_status=$? 4325 grep -v '^ *+' conftest.er1 >conftest.err 4326 rm -f conftest.er1 4327 cat conftest.err >&5 4328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4329 (exit $ac_status); } >/dev/null && { 4330 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4331 test ! -s conftest.err 4332 }; then 4333 : 4334 else 4335 $as_echo "$as_me: failed program was:" >&5 4336 sed 's/^/| /' conftest.$ac_ext >&5 4337 4348 4338 # Broken: fails on valid input. 4349 4339 continue 4350 4340 fi 4341 4351 4342 rm -f conftest.err conftest.$ac_ext 4352 4343 4353 4344 # OK, works on sane cases. Now check whether nonexistent headers 4354 4345 # can be detected and how. 4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4346 cat >conftest.$ac_ext <<_ACEOF 4347 /* confdefs.h. */ 4348 _ACEOF 4349 cat confdefs.h >>conftest.$ac_ext 4350 cat >>conftest.$ac_ext <<_ACEOF 4356 4351 /* end confdefs.h. */ 4357 4352 #include <ac_nonexistent.h> 4358 4353 _ACEOF 4359 if ac_fn_c_try_cpp "$LINENO"; then : 4354 if { (ac_try="$ac_cpp conftest.$ac_ext" 4355 case "(($ac_try" in 4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4357 *) ac_try_echo=$ac_try;; 4358 esac 4359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4360 $as_echo "$ac_try_echo") >&5 4361 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4362 ac_status=$? 4363 grep -v '^ *+' conftest.er1 >conftest.err 4364 rm -f conftest.er1 4365 cat conftest.err >&5 4366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4367 (exit $ac_status); } >/dev/null && { 4368 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4369 test ! -s conftest.err 4370 }; then 4360 4371 # Broken: success on invalid input. 4361 4372 continue 4362 4373 else 4374 $as_echo "$as_me: failed program was:" >&5 4375 sed 's/^/| /' conftest.$ac_ext >&5 4376 4363 4377 # Passes both tests. 4364 4378 ac_preproc_ok=: 4365 4379 break 4366 4380 fi 4381 4367 4382 rm -f conftest.err conftest.$ac_ext 4368 4383 … … 4370 4385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4371 4386 rm -f conftest.err conftest.$ac_ext 4372 if $ac_preproc_ok; then :4373 4374 else 4375 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&54387 if $ac_preproc_ok; then 4388 : 4389 else 4390 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4376 4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4377 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4378 See \`config.log' for more details." "$LINENO" 5; } 4392 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4393 See \`config.log' for more details." >&5 4394 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4395 See \`config.log' for more details." >&2;} 4396 { (exit 1); exit 1; }; }; } 4379 4397 fi 4380 4398 … … 4386 4404 4387 4405 4388 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&54406 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4389 4407 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4390 if test "${ac_cv_path_GREP+set}" = set; then :4408 if test "${ac_cv_path_GREP+set}" = set; then 4391 4409 $as_echo_n "(cached) " >&6 4392 4410 else … … 4399 4417 IFS=$as_save_IFS 4400 4418 test -z "$as_dir" && as_dir=. 4401 4419 for ac_prog in grep ggrep; do 4402 4420 for ac_exec_ext in '' $ac_executable_extensions; do 4403 4421 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 4419 4437 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4420 4438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4421 a s_fn_arith $ac_count + 1 && ac_count=$as_val4439 ac_count=`expr $ac_count + 1` 4422 4440 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4423 4441 # Best one so far, save it but keep looking for a better one … … 4434 4452 done 4435 4453 done 4436 4454 done 4437 4455 IFS=$as_save_IFS 4438 4456 if test -z "$ac_cv_path_GREP"; then 4439 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4457 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4458 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4459 { (exit 1); exit 1; }; } 4440 4460 fi 4441 4461 else … … 4444 4464 4445 4465 fi 4446 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&54466 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4447 4467 $as_echo "$ac_cv_path_GREP" >&6; } 4448 4468 GREP="$ac_cv_path_GREP" 4449 4469 4450 4470 4451 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&54471 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4452 4472 $as_echo_n "checking for egrep... " >&6; } 4453 if test "${ac_cv_path_EGREP+set}" = set; then :4473 if test "${ac_cv_path_EGREP+set}" = set; then 4454 4474 $as_echo_n "(cached) " >&6 4455 4475 else … … 4465 4485 IFS=$as_save_IFS 4466 4486 test -z "$as_dir" && as_dir=. 4467 4487 for ac_prog in egrep; do 4468 4488 for ac_exec_ext in '' $ac_executable_extensions; do 4469 4489 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 4485 4505 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4486 4506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4487 a s_fn_arith $ac_count + 1 && ac_count=$as_val4507 ac_count=`expr $ac_count + 1` 4488 4508 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4489 4509 # Best one so far, save it but keep looking for a better one … … 4500 4520 done 4501 4521 done 4502 4522 done 4503 4523 IFS=$as_save_IFS 4504 4524 if test -z "$ac_cv_path_EGREP"; then 4505 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4525 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4526 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4527 { (exit 1); exit 1; }; } 4506 4528 fi 4507 4529 else … … 4511 4533 fi 4512 4534 fi 4513 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54535 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4514 4536 $as_echo "$ac_cv_path_EGREP" >&6; } 4515 4537 EGREP="$ac_cv_path_EGREP" 4516 4538 4517 4539 4518 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&54540 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4519 4541 $as_echo_n "checking for ANSI C header files... " >&6; } 4520 if test "${ac_cv_header_stdc+set}" = set; then :4542 if test "${ac_cv_header_stdc+set}" = set; then 4521 4543 $as_echo_n "(cached) " >&6 4522 4544 else 4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4545 cat >conftest.$ac_ext <<_ACEOF 4546 /* confdefs.h. */ 4547 _ACEOF 4548 cat confdefs.h >>conftest.$ac_ext 4549 cat >>conftest.$ac_ext <<_ACEOF 4524 4550 /* end confdefs.h. */ 4525 4551 #include <stdlib.h> … … 4536 4562 } 4537 4563 _ACEOF 4538 if ac_fn_c_try_compile "$LINENO"; then : 4564 rm -f conftest.$ac_objext 4565 if { (ac_try="$ac_compile" 4566 case "(($ac_try" in 4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4568 *) ac_try_echo=$ac_try;; 4569 esac 4570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4571 $as_echo "$ac_try_echo") >&5 4572 (eval "$ac_compile") 2>conftest.er1 4573 ac_status=$? 4574 grep -v '^ *+' conftest.er1 >conftest.err 4575 rm -f conftest.er1 4576 cat conftest.err >&5 4577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4578 (exit $ac_status); } && { 4579 test -z "$ac_c_werror_flag" || 4580 test ! -s conftest.err 4581 } && test -s conftest.$ac_objext; then 4539 4582 ac_cv_header_stdc=yes 4540 4583 else 4541 ac_cv_header_stdc=no 4542 fi 4584 $as_echo "$as_me: failed program was:" >&5 4585 sed 's/^/| /' conftest.$ac_ext >&5 4586 4587 ac_cv_header_stdc=no 4588 fi 4589 4543 4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4544 4591 4545 4592 if test $ac_cv_header_stdc = yes; then 4546 4593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4594 cat >conftest.$ac_ext <<_ACEOF 4595 /* confdefs.h. */ 4596 _ACEOF 4597 cat confdefs.h >>conftest.$ac_ext 4598 cat >>conftest.$ac_ext <<_ACEOF 4548 4599 /* end confdefs.h. */ 4549 4600 #include <string.h> … … 4551 4602 _ACEOF 4552 4603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4553 $EGREP "memchr" >/dev/null 2>&1; then :4554 4604 $EGREP "memchr" >/dev/null 2>&1; then 4605 : 4555 4606 else 4556 4607 ac_cv_header_stdc=no … … 4562 4613 if test $ac_cv_header_stdc = yes; then 4563 4614 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4615 cat >conftest.$ac_ext <<_ACEOF 4616 /* confdefs.h. */ 4617 _ACEOF 4618 cat confdefs.h >>conftest.$ac_ext 4619 cat >>conftest.$ac_ext <<_ACEOF 4565 4620 /* end confdefs.h. */ 4566 4621 #include <stdlib.h> … … 4568 4623 _ACEOF 4569 4624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4570 $EGREP "free" >/dev/null 2>&1; then :4571 4625 $EGREP "free" >/dev/null 2>&1; then 4626 : 4572 4627 else 4573 4628 ac_cv_header_stdc=no … … 4579 4634 if test $ac_cv_header_stdc = yes; then 4580 4635 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4581 if test "$cross_compiling" = yes; then :4636 if test "$cross_compiling" = yes; then 4582 4637 : 4583 4638 else 4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4639 cat >conftest.$ac_ext <<_ACEOF 4640 /* confdefs.h. */ 4641 _ACEOF 4642 cat confdefs.h >>conftest.$ac_ext 4643 cat >>conftest.$ac_ext <<_ACEOF 4585 4644 /* end confdefs.h. */ 4586 4645 #include <ctype.h> … … 4609 4668 } 4610 4669 _ACEOF 4611 if ac_fn_c_try_run "$LINENO"; then : 4612 4613 else 4614 ac_cv_header_stdc=no 4615 fi 4616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4617 conftest.$ac_objext conftest.beam conftest.$ac_ext 4618 fi 4619 4620 fi 4621 fi 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4670 rm -f conftest$ac_exeext 4671 if { (ac_try="$ac_link" 4672 case "(($ac_try" in 4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4674 *) ac_try_echo=$ac_try;; 4675 esac 4676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4677 $as_echo "$ac_try_echo") >&5 4678 (eval "$ac_link") 2>&5 4679 ac_status=$? 4680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4682 { (case "(($ac_try" in 4683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4684 *) ac_try_echo=$ac_try;; 4685 esac 4686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4687 $as_echo "$ac_try_echo") >&5 4688 (eval "$ac_try") 2>&5 4689 ac_status=$? 4690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4691 (exit $ac_status); }; }; then 4692 : 4693 else 4694 $as_echo "$as_me: program exited with status $ac_status" >&5 4695 $as_echo "$as_me: failed program was:" >&5 4696 sed 's/^/| /' conftest.$ac_ext >&5 4697 4698 ( exit $ac_status ) 4699 ac_cv_header_stdc=no 4700 fi 4701 rm -rf conftest.dSYM 4702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4703 fi 4704 4705 4706 fi 4707 fi 4708 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4623 4709 $as_echo "$ac_cv_header_stdc" >&6; } 4624 4710 if test $ac_cv_header_stdc = yes; then 4625 4711 4626 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4712 cat >>confdefs.h <<\_ACEOF 4713 #define STDC_HEADERS 1 4714 _ACEOF 4627 4715 4628 4716 fi 4629 4717 4630 4718 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4719 4720 4721 4722 4723 4724 4725 4726 4727 4631 4728 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4632 4729 inttypes.h stdint.h unistd.h 4633 do : 4634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4636 " 4637 eval as_val=\$$as_ac_Header 4638 if test "x$as_val" = x""yes; then : 4730 do 4731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4732 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4733 $as_echo_n "checking for $ac_header... " >&6; } 4734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4735 $as_echo_n "(cached) " >&6 4736 else 4737 cat >conftest.$ac_ext <<_ACEOF 4738 /* confdefs.h. */ 4739 _ACEOF 4740 cat confdefs.h >>conftest.$ac_ext 4741 cat >>conftest.$ac_ext <<_ACEOF 4742 /* end confdefs.h. */ 4743 $ac_includes_default 4744 4745 #include <$ac_header> 4746 _ACEOF 4747 rm -f conftest.$ac_objext 4748 if { (ac_try="$ac_compile" 4749 case "(($ac_try" in 4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4751 *) ac_try_echo=$ac_try;; 4752 esac 4753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4754 $as_echo "$ac_try_echo") >&5 4755 (eval "$ac_compile") 2>conftest.er1 4756 ac_status=$? 4757 grep -v '^ *+' conftest.er1 >conftest.err 4758 rm -f conftest.er1 4759 cat conftest.err >&5 4760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4761 (exit $ac_status); } && { 4762 test -z "$ac_c_werror_flag" || 4763 test ! -s conftest.err 4764 } && test -s conftest.$ac_objext; then 4765 eval "$as_ac_Header=yes" 4766 else 4767 $as_echo "$as_me: failed program was:" >&5 4768 sed 's/^/| /' conftest.$ac_ext >&5 4769 4770 eval "$as_ac_Header=no" 4771 fi 4772 4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4774 fi 4775 ac_res=`eval 'as_val=${'$as_ac_Header'} 4776 $as_echo "$as_val"'` 4777 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4778 $as_echo "$ac_res" >&6; } 4779 as_val=`eval 'as_val=${'$as_ac_Header'} 4780 $as_echo "$as_val"'` 4781 if test "x$as_val" = x""yes; then 4639 4782 cat >>confdefs.h <<_ACEOF 4640 4783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 4647 4790 4648 4791 4649 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4650 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4792 if test "${ac_cv_header_minix_config_h+set}" = set; then 4793 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4794 $as_echo_n "checking for minix/config.h... " >&6; } 4795 if test "${ac_cv_header_minix_config_h+set}" = set; then 4796 $as_echo_n "(cached) " >&6 4797 fi 4798 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4799 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4800 else 4801 # Is the header compilable? 4802 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4803 $as_echo_n "checking minix/config.h usability... " >&6; } 4804 cat >conftest.$ac_ext <<_ACEOF 4805 /* confdefs.h. */ 4806 _ACEOF 4807 cat confdefs.h >>conftest.$ac_ext 4808 cat >>conftest.$ac_ext <<_ACEOF 4809 /* end confdefs.h. */ 4810 $ac_includes_default 4811 #include <minix/config.h> 4812 _ACEOF 4813 rm -f conftest.$ac_objext 4814 if { (ac_try="$ac_compile" 4815 case "(($ac_try" in 4816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4817 *) ac_try_echo=$ac_try;; 4818 esac 4819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4820 $as_echo "$ac_try_echo") >&5 4821 (eval "$ac_compile") 2>conftest.er1 4822 ac_status=$? 4823 grep -v '^ *+' conftest.er1 >conftest.err 4824 rm -f conftest.er1 4825 cat conftest.err >&5 4826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4827 (exit $ac_status); } && { 4828 test -z "$ac_c_werror_flag" || 4829 test ! -s conftest.err 4830 } && test -s conftest.$ac_objext; then 4831 ac_header_compiler=yes 4832 else 4833 $as_echo "$as_me: failed program was:" >&5 4834 sed 's/^/| /' conftest.$ac_ext >&5 4835 4836 ac_header_compiler=no 4837 fi 4838 4839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4840 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4841 $as_echo "$ac_header_compiler" >&6; } 4842 4843 # Is the header present? 4844 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4845 $as_echo_n "checking minix/config.h presence... " >&6; } 4846 cat >conftest.$ac_ext <<_ACEOF 4847 /* confdefs.h. */ 4848 _ACEOF 4849 cat confdefs.h >>conftest.$ac_ext 4850 cat >>conftest.$ac_ext <<_ACEOF 4851 /* end confdefs.h. */ 4852 #include <minix/config.h> 4853 _ACEOF 4854 if { (ac_try="$ac_cpp conftest.$ac_ext" 4855 case "(($ac_try" in 4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4857 *) ac_try_echo=$ac_try;; 4858 esac 4859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4860 $as_echo "$ac_try_echo") >&5 4861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4862 ac_status=$? 4863 grep -v '^ *+' conftest.er1 >conftest.err 4864 rm -f conftest.er1 4865 cat conftest.err >&5 4866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4867 (exit $ac_status); } >/dev/null && { 4868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4869 test ! -s conftest.err 4870 }; then 4871 ac_header_preproc=yes 4872 else 4873 $as_echo "$as_me: failed program was:" >&5 4874 sed 's/^/| /' conftest.$ac_ext >&5 4875 4876 ac_header_preproc=no 4877 fi 4878 4879 rm -f conftest.err conftest.$ac_ext 4880 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4881 $as_echo "$ac_header_preproc" >&6; } 4882 4883 # So? What about this header? 4884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4885 yes:no: ) 4886 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4887 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4888 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4889 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4890 ac_header_preproc=yes 4891 ;; 4892 no:yes:* ) 4893 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4894 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4895 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4896 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4897 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4898 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4899 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4900 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4901 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4902 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4903 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4904 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4905 4906 ;; 4907 esac 4908 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4909 $as_echo_n "checking for minix/config.h... " >&6; } 4910 if test "${ac_cv_header_minix_config_h+set}" = set; then 4911 $as_echo_n "(cached) " >&6 4912 else 4913 ac_cv_header_minix_config_h=$ac_header_preproc 4914 fi 4915 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4916 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4917 4918 fi 4919 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4651 4920 MINIX=yes 4652 4921 else … … 4657 4926 if test "$MINIX" = yes; then 4658 4927 4659 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4660 4661 4662 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4663 4664 4665 $as_echo "#define _MINIX 1" >>confdefs.h 4928 cat >>confdefs.h <<\_ACEOF 4929 #define _POSIX_SOURCE 1 4930 _ACEOF 4931 4932 4933 cat >>confdefs.h <<\_ACEOF 4934 #define _POSIX_1_SOURCE 2 4935 _ACEOF 4936 4937 4938 cat >>confdefs.h <<\_ACEOF 4939 #define _MINIX 1 4940 _ACEOF 4666 4941 4667 4942 fi 4668 4943 4669 4944 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4945 4946 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4671 4947 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4672 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :4948 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4673 4949 $as_echo_n "(cached) " >&6 4674 4950 else 4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4951 cat >conftest.$ac_ext <<_ACEOF 4952 /* confdefs.h. */ 4953 _ACEOF 4954 cat confdefs.h >>conftest.$ac_ext 4955 cat >>conftest.$ac_ext <<_ACEOF 4676 4956 /* end confdefs.h. */ 4677 4957 … … 4686 4966 } 4687 4967 _ACEOF 4688 if ac_fn_c_try_compile "$LINENO"; then : 4968 rm -f conftest.$ac_objext 4969 if { (ac_try="$ac_compile" 4970 case "(($ac_try" in 4971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4972 *) ac_try_echo=$ac_try;; 4973 esac 4974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4975 $as_echo "$ac_try_echo") >&5 4976 (eval "$ac_compile") 2>conftest.er1 4977 ac_status=$? 4978 grep -v '^ *+' conftest.er1 >conftest.err 4979 rm -f conftest.er1 4980 cat conftest.err >&5 4981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4982 (exit $ac_status); } && { 4983 test -z "$ac_c_werror_flag" || 4984 test ! -s conftest.err 4985 } && test -s conftest.$ac_objext; then 4689 4986 ac_cv_safe_to_define___extensions__=yes 4690 4987 else 4691 ac_cv_safe_to_define___extensions__=no 4692 fi 4988 $as_echo "$as_me: failed program was:" >&5 4989 sed 's/^/| /' conftest.$ac_ext >&5 4990 4991 ac_cv_safe_to_define___extensions__=no 4992 fi 4993 4693 4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4694 4995 fi 4695 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&54996 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4696 4997 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4697 4998 test $ac_cv_safe_to_define___extensions__ = yes && 4698 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4699 4700 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4701 4702 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4703 4704 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4705 4706 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4707 4708 4709 4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4999 cat >>confdefs.h <<\_ACEOF 5000 #define __EXTENSIONS__ 1 5001 _ACEOF 5002 5003 cat >>confdefs.h <<\_ACEOF 5004 #define _ALL_SOURCE 1 5005 _ACEOF 5006 5007 cat >>confdefs.h <<\_ACEOF 5008 #define _GNU_SOURCE 1 5009 _ACEOF 5010 5011 cat >>confdefs.h <<\_ACEOF 5012 #define _POSIX_PTHREAD_SEMANTICS 1 5013 _ACEOF 5014 5015 cat >>confdefs.h <<\_ACEOF 5016 #define _TANDEM_SOURCE 1 5017 _ACEOF 5018 5019 5020 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 4711 5021 $as_echo_n "checking for library containing strerror... " >&6; } 4712 if test "${ac_cv_search_strerror+set}" = set; then :5022 if test "${ac_cv_search_strerror+set}" = set; then 4713 5023 $as_echo_n "(cached) " >&6 4714 5024 else 4715 5025 ac_func_search_save_LIBS=$LIBS 4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5026 cat >conftest.$ac_ext <<_ACEOF 5027 /* confdefs.h. */ 5028 _ACEOF 5029 cat confdefs.h >>conftest.$ac_ext 5030 cat >>conftest.$ac_ext <<_ACEOF 4717 5031 /* end confdefs.h. */ 4718 5032 … … 4739 5053 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4740 5054 fi 4741 if ac_fn_c_try_link "$LINENO"; then : 5055 rm -f conftest.$ac_objext conftest$ac_exeext 5056 if { (ac_try="$ac_link" 5057 case "(($ac_try" in 5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5059 *) ac_try_echo=$ac_try;; 5060 esac 5061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5062 $as_echo "$ac_try_echo") >&5 5063 (eval "$ac_link") 2>conftest.er1 5064 ac_status=$? 5065 grep -v '^ *+' conftest.er1 >conftest.err 5066 rm -f conftest.er1 5067 cat conftest.err >&5 5068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5069 (exit $ac_status); } && { 5070 test -z "$ac_c_werror_flag" || 5071 test ! -s conftest.err 5072 } && test -s conftest$ac_exeext && { 5073 test "$cross_compiling" = yes || 5074 $as_test_x conftest$ac_exeext 5075 }; then 4742 5076 ac_cv_search_strerror=$ac_res 4743 fi 4744 rm -f core conftest.err conftest.$ac_objext \ 4745 conftest$ac_exeext 4746 if test "${ac_cv_search_strerror+set}" = set; then : 5077 else 5078 $as_echo "$as_me: failed program was:" >&5 5079 sed 's/^/| /' conftest.$ac_ext >&5 5080 5081 5082 fi 5083 5084 rm -rf conftest.dSYM 5085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5086 conftest$ac_exeext 5087 if test "${ac_cv_search_strerror+set}" = set; then 4747 5088 break 4748 5089 fi 4749 5090 done 4750 if test "${ac_cv_search_strerror+set}" = set; then :4751 5091 if test "${ac_cv_search_strerror+set}" = set; then 5092 : 4752 5093 else 4753 5094 ac_cv_search_strerror=no … … 4756 5097 LIBS=$ac_func_search_save_LIBS 4757 5098 fi 4758 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&55099 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4759 5100 $as_echo "$ac_cv_search_strerror" >&6; } 4760 5101 ac_res=$ac_cv_search_strerror 4761 if test "$ac_res" != no; then :5102 if test "$ac_res" != no; then 4762 5103 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4763 5104 … … 4765 5106 4766 5107 4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5108 if test "${ac_cv_header_minix_config_h+set}" = set; then 5109 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5110 $as_echo_n "checking for minix/config.h... " >&6; } 5111 if test "${ac_cv_header_minix_config_h+set}" = set; then 5112 $as_echo_n "(cached) " >&6 5113 fi 5114 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5115 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5116 else 5117 # Is the header compilable? 5118 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5119 $as_echo_n "checking minix/config.h usability... " >&6; } 5120 cat >conftest.$ac_ext <<_ACEOF 5121 /* confdefs.h. */ 5122 _ACEOF 5123 cat confdefs.h >>conftest.$ac_ext 5124 cat >>conftest.$ac_ext <<_ACEOF 5125 /* end confdefs.h. */ 5126 $ac_includes_default 5127 #include <minix/config.h> 5128 _ACEOF 5129 rm -f conftest.$ac_objext 5130 if { (ac_try="$ac_compile" 5131 case "(($ac_try" in 5132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5133 *) ac_try_echo=$ac_try;; 5134 esac 5135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5136 $as_echo "$ac_try_echo") >&5 5137 (eval "$ac_compile") 2>conftest.er1 5138 ac_status=$? 5139 grep -v '^ *+' conftest.er1 >conftest.err 5140 rm -f conftest.er1 5141 cat conftest.err >&5 5142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5143 (exit $ac_status); } && { 5144 test -z "$ac_c_werror_flag" || 5145 test ! -s conftest.err 5146 } && test -s conftest.$ac_objext; then 5147 ac_header_compiler=yes 5148 else 5149 $as_echo "$as_me: failed program was:" >&5 5150 sed 's/^/| /' conftest.$ac_ext >&5 5151 5152 ac_header_compiler=no 5153 fi 5154 5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5156 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5157 $as_echo "$ac_header_compiler" >&6; } 5158 5159 # Is the header present? 5160 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5161 $as_echo_n "checking minix/config.h presence... " >&6; } 5162 cat >conftest.$ac_ext <<_ACEOF 5163 /* confdefs.h. */ 5164 _ACEOF 5165 cat confdefs.h >>conftest.$ac_ext 5166 cat >>conftest.$ac_ext <<_ACEOF 5167 /* end confdefs.h. */ 5168 #include <minix/config.h> 5169 _ACEOF 5170 if { (ac_try="$ac_cpp conftest.$ac_ext" 5171 case "(($ac_try" in 5172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5173 *) ac_try_echo=$ac_try;; 5174 esac 5175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5176 $as_echo "$ac_try_echo") >&5 5177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5178 ac_status=$? 5179 grep -v '^ *+' conftest.er1 >conftest.err 5180 rm -f conftest.er1 5181 cat conftest.err >&5 5182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5183 (exit $ac_status); } >/dev/null && { 5184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5185 test ! -s conftest.err 5186 }; then 5187 ac_header_preproc=yes 5188 else 5189 $as_echo "$as_me: failed program was:" >&5 5190 sed 's/^/| /' conftest.$ac_ext >&5 5191 5192 ac_header_preproc=no 5193 fi 5194 5195 rm -f conftest.err conftest.$ac_ext 5196 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5197 $as_echo "$ac_header_preproc" >&6; } 5198 5199 # So? What about this header? 5200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5201 yes:no: ) 5202 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5203 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5204 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5205 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5206 ac_header_preproc=yes 5207 ;; 5208 no:yes:* ) 5209 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5210 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5211 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5212 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5213 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5214 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5215 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5216 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5217 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5218 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5219 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5220 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5221 5222 ;; 5223 esac 5224 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5225 $as_echo_n "checking for minix/config.h... " >&6; } 5226 if test "${ac_cv_header_minix_config_h+set}" = set; then 5227 $as_echo_n "(cached) " >&6 5228 else 5229 ac_cv_header_minix_config_h=$ac_header_preproc 5230 fi 5231 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5232 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5233 5234 fi 5235 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5236 MINIX=yes 5237 else 5238 MINIX= 5239 fi 5240 5241 5242 if test "$MINIX" = yes; then 5243 5244 cat >>confdefs.h <<\_ACEOF 5245 #define _POSIX_SOURCE 1 5246 _ACEOF 5247 5248 5249 cat >>confdefs.h <<\_ACEOF 5250 #define _POSIX_1_SOURCE 2 5251 _ACEOF 5252 5253 5254 cat >>confdefs.h <<\_ACEOF 5255 #define _MINIX 1 5256 _ACEOF 5257 5258 fi 5259 5260 5261 5262 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5263 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5264 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5265 $as_echo_n "(cached) " >&6 5266 else 5267 cat >conftest.$ac_ext <<_ACEOF 5268 /* confdefs.h. */ 5269 _ACEOF 5270 cat confdefs.h >>conftest.$ac_ext 5271 cat >>conftest.$ac_ext <<_ACEOF 5272 /* end confdefs.h. */ 5273 5274 # define __EXTENSIONS__ 1 5275 $ac_includes_default 5276 int 5277 main () 5278 { 5279 5280 ; 5281 return 0; 5282 } 5283 _ACEOF 5284 rm -f conftest.$ac_objext 5285 if { (ac_try="$ac_compile" 5286 case "(($ac_try" in 5287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5288 *) ac_try_echo=$ac_try;; 5289 esac 5290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5291 $as_echo "$ac_try_echo") >&5 5292 (eval "$ac_compile") 2>conftest.er1 5293 ac_status=$? 5294 grep -v '^ *+' conftest.er1 >conftest.err 5295 rm -f conftest.er1 5296 cat conftest.err >&5 5297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5298 (exit $ac_status); } && { 5299 test -z "$ac_c_werror_flag" || 5300 test ! -s conftest.err 5301 } && test -s conftest.$ac_objext; then 5302 ac_cv_safe_to_define___extensions__=yes 5303 else 5304 $as_echo "$as_me: failed program was:" >&5 5305 sed 's/^/| /' conftest.$ac_ext >&5 5306 5307 ac_cv_safe_to_define___extensions__=no 5308 fi 5309 5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5311 fi 5312 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5313 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5314 test $ac_cv_safe_to_define___extensions__ = yes && 5315 cat >>confdefs.h <<\_ACEOF 5316 #define __EXTENSIONS__ 1 5317 _ACEOF 5318 5319 cat >>confdefs.h <<\_ACEOF 5320 #define _ALL_SOURCE 1 5321 _ACEOF 5322 5323 cat >>confdefs.h <<\_ACEOF 5324 #define _GNU_SOURCE 1 5325 _ACEOF 5326 5327 cat >>confdefs.h <<\_ACEOF 5328 #define _POSIX_PTHREAD_SEMANTICS 1 5329 _ACEOF 5330 5331 cat >>confdefs.h <<\_ACEOF 5332 #define _TANDEM_SOURCE 1 5333 _ACEOF 5334 5335 5336 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4768 5337 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4769 if test "${ac_cv_prog_cc_stdc+set}" = set; then :5338 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4770 5339 $as_echo_n "(cached) " >&6 4771 5340 else … … 4781 5350 do 4782 5351 CFLAGS="$ac_save_CFLAGS $ac_arg" 4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5352 cat >conftest.$ac_ext <<_ACEOF 5353 /* confdefs.h. */ 5354 _ACEOF 5355 cat confdefs.h >>conftest.$ac_ext 5356 cat >>conftest.$ac_ext <<_ACEOF 4784 5357 /* end confdefs.h. */ 4785 5358 #if !defined(__STDC__) || __STDC__ != 1 … … 4797 5370 } 4798 5371 _ACEOF 4799 if ac_fn_c_try_compile "$LINENO"; then : 5372 rm -f conftest.$ac_objext 5373 if { (ac_try="$ac_compile" 5374 case "(($ac_try" in 5375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5376 *) ac_try_echo=$ac_try;; 5377 esac 5378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5379 $as_echo "$ac_try_echo") >&5 5380 (eval "$ac_compile") 2>conftest.er1 5381 ac_status=$? 5382 grep -v '^ *+' conftest.er1 >conftest.err 5383 rm -f conftest.er1 5384 cat conftest.err >&5 5385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5386 (exit $ac_status); } && { 5387 test -z "$ac_c_werror_flag" || 5388 test ! -s conftest.err 5389 } && test -s conftest.$ac_objext; then 4800 5390 ac_cv_prog_cc_stdc="$ac_arg"; break 4801 fi 5391 else 5392 $as_echo "$as_me: failed program was:" >&5 5393 sed 's/^/| /' conftest.$ac_ext >&5 5394 5395 5396 fi 5397 4802 5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4803 5399 done … … 4806 5402 fi 4807 5403 4808 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&55404 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4809 5405 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4810 5406 case "x$ac_cv_prog_cc_stdc" in … … 4814 5410 4815 5411 4816 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for function prototypes" >&55412 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 4817 5413 $as_echo_n "checking for function prototypes... " >&6; } 4818 5414 if test "$ac_cv_prog_cc_stdc" != no; then 4819 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&55415 { $as_echo "$as_me:$LINENO: result: yes" >&5 4820 5416 $as_echo "yes" >&6; } 4821 $as_echo "#define PROTOTYPES 1" >>confdefs.h 5417 cat >>confdefs.h <<\_ACEOF 5418 #define PROTOTYPES 1 5419 _ACEOF 4822 5420 4823 5421 U= ANSI2KNR= 4824 5422 else 4825 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&55423 { $as_echo "$as_me:$LINENO: result: no" >&5 4826 5424 $as_echo "no" >&6; } 4827 5425 U=_ ANSI2KNR=ansi2knr 4828 5426 fi 4829 5427 4830 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&55428 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4831 5429 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4832 if test "${ac_cv_c_const+set}" = set; then :5430 if test "${ac_cv_c_const+set}" = set; then 4833 5431 $as_echo_n "(cached) " >&6 4834 5432 else 4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5433 cat >conftest.$ac_ext <<_ACEOF 5434 /* confdefs.h. */ 5435 _ACEOF 5436 cat confdefs.h >>conftest.$ac_ext 5437 cat >>conftest.$ac_ext <<_ACEOF 4836 5438 /* end confdefs.h. */ 4837 5439 … … 4893 5495 } 4894 5496 _ACEOF 4895 if ac_fn_c_try_compile "$LINENO"; then : 5497 rm -f conftest.$ac_objext 5498 if { (ac_try="$ac_compile" 5499 case "(($ac_try" in 5500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5501 *) ac_try_echo=$ac_try;; 5502 esac 5503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5504 $as_echo "$ac_try_echo") >&5 5505 (eval "$ac_compile") 2>conftest.er1 5506 ac_status=$? 5507 grep -v '^ *+' conftest.er1 >conftest.err 5508 rm -f conftest.er1 5509 cat conftest.err >&5 5510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5511 (exit $ac_status); } && { 5512 test -z "$ac_c_werror_flag" || 5513 test ! -s conftest.err 5514 } && test -s conftest.$ac_objext; then 4896 5515 ac_cv_c_const=yes 4897 5516 else 4898 ac_cv_c_const=no 4899 fi 5517 $as_echo "$as_me: failed program was:" >&5 5518 sed 's/^/| /' conftest.$ac_ext >&5 5519 5520 ac_cv_c_const=no 5521 fi 5522 4900 5523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4901 5524 fi 4902 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_const" >&55525 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4903 5526 $as_echo "$ac_cv_c_const" >&6; } 4904 5527 if test $ac_cv_c_const = no; then 4905 5528 4906 $as_echo "#define const /**/" >>confdefs.h 4907 4908 fi 4909 4910 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 4911 if test "x$ac_cv_type_off_t" = x""yes; then : 4912 5529 cat >>confdefs.h <<\_ACEOF 5530 #define const /**/ 5531 _ACEOF 5532 5533 fi 5534 5535 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5536 $as_echo_n "checking for off_t... " >&6; } 5537 if test "${ac_cv_type_off_t+set}" = set; then 5538 $as_echo_n "(cached) " >&6 5539 else 5540 ac_cv_type_off_t=no 5541 cat >conftest.$ac_ext <<_ACEOF 5542 /* confdefs.h. */ 5543 _ACEOF 5544 cat confdefs.h >>conftest.$ac_ext 5545 cat >>conftest.$ac_ext <<_ACEOF 5546 /* end confdefs.h. */ 5547 $ac_includes_default 5548 int 5549 main () 5550 { 5551 if (sizeof (off_t)) 5552 return 0; 5553 ; 5554 return 0; 5555 } 5556 _ACEOF 5557 rm -f conftest.$ac_objext 5558 if { (ac_try="$ac_compile" 5559 case "(($ac_try" in 5560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5561 *) ac_try_echo=$ac_try;; 5562 esac 5563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5564 $as_echo "$ac_try_echo") >&5 5565 (eval "$ac_compile") 2>conftest.er1 5566 ac_status=$? 5567 grep -v '^ *+' conftest.er1 >conftest.err 5568 rm -f conftest.er1 5569 cat conftest.err >&5 5570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5571 (exit $ac_status); } && { 5572 test -z "$ac_c_werror_flag" || 5573 test ! -s conftest.err 5574 } && test -s conftest.$ac_objext; then 5575 cat >conftest.$ac_ext <<_ACEOF 5576 /* confdefs.h. */ 5577 _ACEOF 5578 cat confdefs.h >>conftest.$ac_ext 5579 cat >>conftest.$ac_ext <<_ACEOF 5580 /* end confdefs.h. */ 5581 $ac_includes_default 5582 int 5583 main () 5584 { 5585 if (sizeof ((off_t))) 5586 return 0; 5587 ; 5588 return 0; 5589 } 5590 _ACEOF 5591 rm -f conftest.$ac_objext 5592 if { (ac_try="$ac_compile" 5593 case "(($ac_try" in 5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5595 *) ac_try_echo=$ac_try;; 5596 esac 5597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5598 $as_echo "$ac_try_echo") >&5 5599 (eval "$ac_compile") 2>conftest.er1 5600 ac_status=$? 5601 grep -v '^ *+' conftest.er1 >conftest.err 5602 rm -f conftest.er1 5603 cat conftest.err >&5 5604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5605 (exit $ac_status); } && { 5606 test -z "$ac_c_werror_flag" || 5607 test ! -s conftest.err 5608 } && test -s conftest.$ac_objext; then 5609 : 5610 else 5611 $as_echo "$as_me: failed program was:" >&5 5612 sed 's/^/| /' conftest.$ac_ext >&5 5613 5614 ac_cv_type_off_t=yes 5615 fi 5616 5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5618 else 5619 $as_echo "$as_me: failed program was:" >&5 5620 sed 's/^/| /' conftest.$ac_ext >&5 5621 5622 5623 fi 5624 5625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5626 fi 5627 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5628 $as_echo "$ac_cv_type_off_t" >&6; } 5629 if test "x$ac_cv_type_off_t" = x""yes; then 5630 : 4913 5631 else 4914 5632 … … 4919 5637 fi 4920 5638 4921 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4922 if test "x$ac_cv_type_size_t" = x""yes; then : 4923 5639 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5640 $as_echo_n "checking for size_t... " >&6; } 5641 if test "${ac_cv_type_size_t+set}" = set; then 5642 $as_echo_n "(cached) " >&6 5643 else 5644 ac_cv_type_size_t=no 5645 cat >conftest.$ac_ext <<_ACEOF 5646 /* confdefs.h. */ 5647 _ACEOF 5648 cat confdefs.h >>conftest.$ac_ext 5649 cat >>conftest.$ac_ext <<_ACEOF 5650 /* end confdefs.h. */ 5651 $ac_includes_default 5652 int 5653 main () 5654 { 5655 if (sizeof (size_t)) 5656 return 0; 5657 ; 5658 return 0; 5659 } 5660 _ACEOF 5661 rm -f conftest.$ac_objext 5662 if { (ac_try="$ac_compile" 5663 case "(($ac_try" in 5664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5665 *) ac_try_echo=$ac_try;; 5666 esac 5667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5668 $as_echo "$ac_try_echo") >&5 5669 (eval "$ac_compile") 2>conftest.er1 5670 ac_status=$? 5671 grep -v '^ *+' conftest.er1 >conftest.err 5672 rm -f conftest.er1 5673 cat conftest.err >&5 5674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5675 (exit $ac_status); } && { 5676 test -z "$ac_c_werror_flag" || 5677 test ! -s conftest.err 5678 } && test -s conftest.$ac_objext; then 5679 cat >conftest.$ac_ext <<_ACEOF 5680 /* confdefs.h. */ 5681 _ACEOF 5682 cat confdefs.h >>conftest.$ac_ext 5683 cat >>conftest.$ac_ext <<_ACEOF 5684 /* end confdefs.h. */ 5685 $ac_includes_default 5686 int 5687 main () 5688 { 5689 if (sizeof ((size_t))) 5690 return 0; 5691 ; 5692 return 0; 5693 } 5694 _ACEOF 5695 rm -f conftest.$ac_objext 5696 if { (ac_try="$ac_compile" 5697 case "(($ac_try" in 5698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5699 *) ac_try_echo=$ac_try;; 5700 esac 5701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5702 $as_echo "$ac_try_echo") >&5 5703 (eval "$ac_compile") 2>conftest.er1 5704 ac_status=$? 5705 grep -v '^ *+' conftest.er1 >conftest.err 5706 rm -f conftest.er1 5707 cat conftest.err >&5 5708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5709 (exit $ac_status); } && { 5710 test -z "$ac_c_werror_flag" || 5711 test ! -s conftest.err 5712 } && test -s conftest.$ac_objext; then 5713 : 5714 else 5715 $as_echo "$as_me: failed program was:" >&5 5716 sed 's/^/| /' conftest.$ac_ext >&5 5717 5718 ac_cv_type_size_t=yes 5719 fi 5720 5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5722 else 5723 $as_echo "$as_me: failed program was:" >&5 5724 sed 's/^/| /' conftest.$ac_ext >&5 5725 5726 5727 fi 5728 5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5730 fi 5731 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5732 $as_echo "$ac_cv_type_size_t" >&6; } 5733 if test "x$ac_cv_type_size_t" = x""yes; then 5734 : 4924 5735 else 4925 5736 … … 4930 5741 fi 4931 5742 4932 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&55743 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4933 5744 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4934 if test "${ac_cv_header_time+set}" = set; then :5745 if test "${ac_cv_header_time+set}" = set; then 4935 5746 $as_echo_n "(cached) " >&6 4936 5747 else 4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5748 cat >conftest.$ac_ext <<_ACEOF 5749 /* confdefs.h. */ 5750 _ACEOF 5751 cat confdefs.h >>conftest.$ac_ext 5752 cat >>conftest.$ac_ext <<_ACEOF 4938 5753 /* end confdefs.h. */ 4939 5754 #include <sys/types.h> … … 4950 5765 } 4951 5766 _ACEOF 4952 if ac_fn_c_try_compile "$LINENO"; then : 5767 rm -f conftest.$ac_objext 5768 if { (ac_try="$ac_compile" 5769 case "(($ac_try" in 5770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5771 *) ac_try_echo=$ac_try;; 5772 esac 5773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5774 $as_echo "$ac_try_echo") >&5 5775 (eval "$ac_compile") 2>conftest.er1 5776 ac_status=$? 5777 grep -v '^ *+' conftest.er1 >conftest.err 5778 rm -f conftest.er1 5779 cat conftest.err >&5 5780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5781 (exit $ac_status); } && { 5782 test -z "$ac_c_werror_flag" || 5783 test ! -s conftest.err 5784 } && test -s conftest.$ac_objext; then 4953 5785 ac_cv_header_time=yes 4954 5786 else 4955 ac_cv_header_time=no 4956 fi 5787 $as_echo "$as_me: failed program was:" >&5 5788 sed 's/^/| /' conftest.$ac_ext >&5 5789 5790 ac_cv_header_time=no 5791 fi 5792 4957 5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4958 5794 fi 4959 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_header_time" >&55795 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4960 5796 $as_echo "$ac_cv_header_time" >&6; } 4961 5797 if test $ac_cv_header_time = yes; then 4962 5798 4963 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 4964 4965 fi 4966 4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 5799 cat >>confdefs.h <<\_ACEOF 5800 #define TIME_WITH_SYS_TIME 1 5801 _ACEOF 5802 5803 fi 5804 5805 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4968 5806 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4969 if test "${ac_cv_struct_tm+set}" = set; then :5807 if test "${ac_cv_struct_tm+set}" = set; then 4970 5808 $as_echo_n "(cached) " >&6 4971 5809 else 4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5810 cat >conftest.$ac_ext <<_ACEOF 5811 /* confdefs.h. */ 5812 _ACEOF 5813 cat confdefs.h >>conftest.$ac_ext 5814 cat >>conftest.$ac_ext <<_ACEOF 4973 5815 /* end confdefs.h. */ 4974 5816 #include <sys/types.h> … … 4985 5827 } 4986 5828 _ACEOF 4987 if ac_fn_c_try_compile "$LINENO"; then : 5829 rm -f conftest.$ac_objext 5830 if { (ac_try="$ac_compile" 5831 case "(($ac_try" in 5832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5833 *) ac_try_echo=$ac_try;; 5834 esac 5835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5836 $as_echo "$ac_try_echo") >&5 5837 (eval "$ac_compile") 2>conftest.er1 5838 ac_status=$? 5839 grep -v '^ *+' conftest.er1 >conftest.err 5840 rm -f conftest.er1 5841 cat conftest.err >&5 5842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5843 (exit $ac_status); } && { 5844 test -z "$ac_c_werror_flag" || 5845 test ! -s conftest.err 5846 } && test -s conftest.$ac_objext; then 4988 5847 ac_cv_struct_tm=time.h 4989 5848 else 4990 ac_cv_struct_tm=sys/time.h 4991 fi 5849 $as_echo "$as_me: failed program was:" >&5 5850 sed 's/^/| /' conftest.$ac_ext >&5 5851 5852 ac_cv_struct_tm=sys/time.h 5853 fi 5854 4992 5855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4993 5856 fi 4994 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&55857 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4995 5858 $as_echo "$ac_cv_struct_tm" >&6; } 4996 5859 if test $ac_cv_struct_tm = sys/time.h; then 4997 5860 4998 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5861 cat >>confdefs.h <<\_ACEOF 5862 #define TM_IN_SYS_TIME 1 5863 _ACEOF 4999 5864 5000 5865 fi … … 5002 5867 5003 5868 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5869 cat >conftest.$ac_ext <<_ACEOF 5870 /* confdefs.h. */ 5871 _ACEOF 5872 cat confdefs.h >>conftest.$ac_ext 5873 cat >>conftest.$ac_ext <<_ACEOF 5005 5874 /* end confdefs.h. */ 5006 5875 #include <stdio.h> … … 5014 5883 } 5015 5884 _ACEOF 5016 if ac_fn_c_try_compile "$LINENO"; then : 5017 5018 else 5019 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5020 fi 5885 rm -f conftest.$ac_objext 5886 if { (ac_try="$ac_compile" 5887 case "(($ac_try" in 5888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5889 *) ac_try_echo=$ac_try;; 5890 esac 5891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5892 $as_echo "$ac_try_echo") >&5 5893 (eval "$ac_compile") 2>conftest.er1 5894 ac_status=$? 5895 grep -v '^ *+' conftest.er1 >conftest.err 5896 rm -f conftest.er1 5897 cat conftest.err >&5 5898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5899 (exit $ac_status); } && { 5900 test -z "$ac_c_werror_flag" || 5901 test ! -s conftest.err 5902 } && test -s conftest.$ac_objext; then 5903 : 5904 else 5905 $as_echo "$as_me: failed program was:" >&5 5906 sed 's/^/| /' conftest.$ac_ext >&5 5907 5908 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5909 fi 5910 5021 5911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5022 5912 fi 5023 5913 5024 5914 5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5915 5916 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5026 5917 $as_echo_n "checking for main in -lm... " >&6; } 5027 if test "${ac_cv_lib_m_main+set}" = set; then :5918 if test "${ac_cv_lib_m_main+set}" = set; then 5028 5919 $as_echo_n "(cached) " >&6 5029 5920 else 5030 5921 ac_check_lib_save_LIBS=$LIBS 5031 5922 LIBS="-lm $LIBS" 5032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5923 cat >conftest.$ac_ext <<_ACEOF 5924 /* confdefs.h. */ 5925 _ACEOF 5926 cat confdefs.h >>conftest.$ac_ext 5927 cat >>conftest.$ac_ext <<_ACEOF 5033 5928 /* end confdefs.h. */ 5034 5929 … … 5042 5937 } 5043 5938 _ACEOF 5044 if ac_fn_c_try_link "$LINENO"; then : 5939 rm -f conftest.$ac_objext conftest$ac_exeext 5940 if { (ac_try="$ac_link" 5941 case "(($ac_try" in 5942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5943 *) ac_try_echo=$ac_try;; 5944 esac 5945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5946 $as_echo "$ac_try_echo") >&5 5947 (eval "$ac_link") 2>conftest.er1 5948 ac_status=$? 5949 grep -v '^ *+' conftest.er1 >conftest.err 5950 rm -f conftest.er1 5951 cat conftest.err >&5 5952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5953 (exit $ac_status); } && { 5954 test -z "$ac_c_werror_flag" || 5955 test ! -s conftest.err 5956 } && test -s conftest$ac_exeext && { 5957 test "$cross_compiling" = yes || 5958 $as_test_x conftest$ac_exeext 5959 }; then 5045 5960 ac_cv_lib_m_main=yes 5046 5961 else 5047 ac_cv_lib_m_main=no 5048 fi 5049 rm -f core conftest.err conftest.$ac_objext \ 5050 conftest$ac_exeext conftest.$ac_ext 5962 $as_echo "$as_me: failed program was:" >&5 5963 sed 's/^/| /' conftest.$ac_ext >&5 5964 5965 ac_cv_lib_m_main=no 5966 fi 5967 5968 rm -rf conftest.dSYM 5969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5970 conftest$ac_exeext conftest.$ac_ext 5051 5971 LIBS=$ac_check_lib_save_LIBS 5052 5972 fi 5053 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&55973 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5054 5974 $as_echo "$ac_cv_lib_m_main" >&6; } 5055 if test "x$ac_cv_lib_m_main" = x""yes; then :5975 if test "x$ac_cv_lib_m_main" = x""yes; then 5056 5976 cat >>confdefs.h <<_ACEOF 5057 5977 #define HAVE_LIBM 1 … … 5061 5981 5062 5982 fi 5983 5984 5985 5986 5987 5063 5988 5064 5989 … … 5066 5991 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5067 5992 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5068 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&55993 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5069 5994 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :5995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5071 5996 $as_echo_n "(cached) " >&6 5072 5997 else 5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5998 cat >conftest.$ac_ext <<_ACEOF 5999 /* confdefs.h. */ 6000 _ACEOF 6001 cat confdefs.h >>conftest.$ac_ext 6002 cat >>conftest.$ac_ext <<_ACEOF 5074 6003 /* end confdefs.h. */ 5075 6004 #include <sys/types.h> … … 5085 6014 } 5086 6015 _ACEOF 5087 if ac_fn_c_try_compile "$LINENO"; then : 6016 rm -f conftest.$ac_objext 6017 if { (ac_try="$ac_compile" 6018 case "(($ac_try" in 6019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6020 *) ac_try_echo=$ac_try;; 6021 esac 6022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6023 $as_echo "$ac_try_echo") >&5 6024 (eval "$ac_compile") 2>conftest.er1 6025 ac_status=$? 6026 grep -v '^ *+' conftest.er1 >conftest.err 6027 rm -f conftest.er1 6028 cat conftest.err >&5 6029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6030 (exit $ac_status); } && { 6031 test -z "$ac_c_werror_flag" || 6032 test ! -s conftest.err 6033 } && test -s conftest.$ac_objext; then 5088 6034 eval "$as_ac_Header=yes" 5089 6035 else 5090 eval "$as_ac_Header=no" 5091 fi 6036 $as_echo "$as_me: failed program was:" >&5 6037 sed 's/^/| /' conftest.$ac_ext >&5 6038 6039 eval "$as_ac_Header=no" 6040 fi 6041 5092 6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5093 6043 fi 5094 eval ac_res=\$$as_ac_Header 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6044 ac_res=`eval 'as_val=${'$as_ac_Header'} 6045 $as_echo "$as_val"'` 6046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5096 6047 $as_echo "$ac_res" >&6; } 5097 eval as_val=\$$as_ac_Header 5098 if test "x$as_val" = x""yes; then : 6048 as_val=`eval 'as_val=${'$as_ac_Header'} 6049 $as_echo "$as_val"'` 6050 if test "x$as_val" = x""yes; then 5099 6051 cat >>confdefs.h <<_ACEOF 5100 6052 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 … … 5107 6059 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5108 6060 if test $ac_header_dirent = dirent.h; then 5109 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for library containing opendir" >&56061 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5110 6062 $as_echo_n "checking for library containing opendir... " >&6; } 5111 if test "${ac_cv_search_opendir+set}" = set; then :6063 if test "${ac_cv_search_opendir+set}" = set; then 5112 6064 $as_echo_n "(cached) " >&6 5113 6065 else 5114 6066 ac_func_search_save_LIBS=$LIBS 5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6067 cat >conftest.$ac_ext <<_ACEOF 6068 /* confdefs.h. */ 6069 _ACEOF 6070 cat confdefs.h >>conftest.$ac_ext 6071 cat >>conftest.$ac_ext <<_ACEOF 5116 6072 /* end confdefs.h. */ 5117 6073 … … 5138 6094 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5139 6095 fi 5140 if ac_fn_c_try_link "$LINENO"; then : 6096 rm -f conftest.$ac_objext conftest$ac_exeext 6097 if { (ac_try="$ac_link" 6098 case "(($ac_try" in 6099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6100 *) ac_try_echo=$ac_try;; 6101 esac 6102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6103 $as_echo "$ac_try_echo") >&5 6104 (eval "$ac_link") 2>conftest.er1 6105 ac_status=$? 6106 grep -v '^ *+' conftest.er1 >conftest.err 6107 rm -f conftest.er1 6108 cat conftest.err >&5 6109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6110 (exit $ac_status); } && { 6111 test -z "$ac_c_werror_flag" || 6112 test ! -s conftest.err 6113 } && test -s conftest$ac_exeext && { 6114 test "$cross_compiling" = yes || 6115 $as_test_x conftest$ac_exeext 6116 }; then 5141 6117 ac_cv_search_opendir=$ac_res 5142 fi 5143 rm -f core conftest.err conftest.$ac_objext \ 5144 conftest$ac_exeext 5145 if test "${ac_cv_search_opendir+set}" = set; then : 6118 else 6119 $as_echo "$as_me: failed program was:" >&5 6120 sed 's/^/| /' conftest.$ac_ext >&5 6121 6122 6123 fi 6124 6125 rm -rf conftest.dSYM 6126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6127 conftest$ac_exeext 6128 if test "${ac_cv_search_opendir+set}" = set; then 5146 6129 break 5147 6130 fi 5148 6131 done 5149 if test "${ac_cv_search_opendir+set}" = set; then :5150 6132 if test "${ac_cv_search_opendir+set}" = set; then 6133 : 5151 6134 else 5152 6135 ac_cv_search_opendir=no … … 5155 6138 LIBS=$ac_func_search_save_LIBS 5156 6139 fi 5157 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&56140 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5158 6141 $as_echo "$ac_cv_search_opendir" >&6; } 5159 6142 ac_res=$ac_cv_search_opendir 5160 if test "$ac_res" != no; then :6143 if test "$ac_res" != no; then 5161 6144 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5162 6145 … … 5164 6147 5165 6148 else 5166 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for library containing opendir" >&56149 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5167 6150 $as_echo_n "checking for library containing opendir... " >&6; } 5168 if test "${ac_cv_search_opendir+set}" = set; then :6151 if test "${ac_cv_search_opendir+set}" = set; then 5169 6152 $as_echo_n "(cached) " >&6 5170 6153 else 5171 6154 ac_func_search_save_LIBS=$LIBS 5172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6155 cat >conftest.$ac_ext <<_ACEOF 6156 /* confdefs.h. */ 6157 _ACEOF 6158 cat confdefs.h >>conftest.$ac_ext 6159 cat >>conftest.$ac_ext <<_ACEOF 5173 6160 /* end confdefs.h. */ 5174 6161 … … 5195 6182 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5196 6183 fi 5197 if ac_fn_c_try_link "$LINENO"; then : 6184 rm -f conftest.$ac_objext conftest$ac_exeext 6185 if { (ac_try="$ac_link" 6186 case "(($ac_try" in 6187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6188 *) ac_try_echo=$ac_try;; 6189 esac 6190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6191 $as_echo "$ac_try_echo") >&5 6192 (eval "$ac_link") 2>conftest.er1 6193 ac_status=$? 6194 grep -v '^ *+' conftest.er1 >conftest.err 6195 rm -f conftest.er1 6196 cat conftest.err >&5 6197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6198 (exit $ac_status); } && { 6199 test -z "$ac_c_werror_flag" || 6200 test ! -s conftest.err 6201 } && test -s conftest$ac_exeext && { 6202 test "$cross_compiling" = yes || 6203 $as_test_x conftest$ac_exeext 6204 }; then 5198 6205 ac_cv_search_opendir=$ac_res 5199 fi 5200 rm -f core conftest.err conftest.$ac_objext \ 5201 conftest$ac_exeext 5202 if test "${ac_cv_search_opendir+set}" = set; then : 6206 else 6207 $as_echo "$as_me: failed program was:" >&5 6208 sed 's/^/| /' conftest.$ac_ext >&5 6209 6210 6211 fi 6212 6213 rm -rf conftest.dSYM 6214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6215 conftest$ac_exeext 6216 if test "${ac_cv_search_opendir+set}" = set; then 5203 6217 break 5204 6218 fi 5205 6219 done 5206 if test "${ac_cv_search_opendir+set}" = set; then :5207 6220 if test "${ac_cv_search_opendir+set}" = set; then 6221 : 5208 6222 else 5209 6223 ac_cv_search_opendir=no … … 5212 6226 LIBS=$ac_func_search_save_LIBS 5213 6227 fi 5214 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&56228 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5215 6229 $as_echo "$ac_cv_search_opendir" >&6; } 5216 6230 ac_res=$ac_cv_search_opendir 5217 if test "$ac_res" != no; then :6231 if test "$ac_res" != no; then 5218 6232 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5219 6233 … … 5222 6236 fi 5223 6237 5224 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&56238 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5225 6239 $as_echo_n "checking for ANSI C header files... " >&6; } 5226 if test "${ac_cv_header_stdc+set}" = set; then :6240 if test "${ac_cv_header_stdc+set}" = set; then 5227 6241 $as_echo_n "(cached) " >&6 5228 6242 else 5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6243 cat >conftest.$ac_ext <<_ACEOF 6244 /* confdefs.h. */ 6245 _ACEOF 6246 cat confdefs.h >>conftest.$ac_ext 6247 cat >>conftest.$ac_ext <<_ACEOF 5230 6248 /* end confdefs.h. */ 5231 6249 #include <stdlib.h> … … 5242 6260 } 5243 6261 _ACEOF 5244 if ac_fn_c_try_compile "$LINENO"; then : 6262 rm -f conftest.$ac_objext 6263 if { (ac_try="$ac_compile" 6264 case "(($ac_try" in 6265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6266 *) ac_try_echo=$ac_try;; 6267 esac 6268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6269 $as_echo "$ac_try_echo") >&5 6270 (eval "$ac_compile") 2>conftest.er1 6271 ac_status=$? 6272 grep -v '^ *+' conftest.er1 >conftest.err 6273 rm -f conftest.er1 6274 cat conftest.err >&5 6275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6276 (exit $ac_status); } && { 6277 test -z "$ac_c_werror_flag" || 6278 test ! -s conftest.err 6279 } && test -s conftest.$ac_objext; then 5245 6280 ac_cv_header_stdc=yes 5246 6281 else 5247 ac_cv_header_stdc=no 5248 fi 6282 $as_echo "$as_me: failed program was:" >&5 6283 sed 's/^/| /' conftest.$ac_ext >&5 6284 6285 ac_cv_header_stdc=no 6286 fi 6287 5249 6288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5250 6289 5251 6290 if test $ac_cv_header_stdc = yes; then 5252 6291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6292 cat >conftest.$ac_ext <<_ACEOF 6293 /* confdefs.h. */ 6294 _ACEOF 6295 cat confdefs.h >>conftest.$ac_ext 6296 cat >>conftest.$ac_ext <<_ACEOF 5254 6297 /* end confdefs.h. */ 5255 6298 #include <string.h> … … 5257 6300 _ACEOF 5258 6301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5259 $EGREP "memchr" >/dev/null 2>&1; then :5260 6302 $EGREP "memchr" >/dev/null 2>&1; then 6303 : 5261 6304 else 5262 6305 ac_cv_header_stdc=no … … 5268 6311 if test $ac_cv_header_stdc = yes; then 5269 6312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6313 cat >conftest.$ac_ext <<_ACEOF 6314 /* confdefs.h. */ 6315 _ACEOF 6316 cat confdefs.h >>conftest.$ac_ext 6317 cat >>conftest.$ac_ext <<_ACEOF 5271 6318 /* end confdefs.h. */ 5272 6319 #include <stdlib.h> … … 5274 6321 _ACEOF 5275 6322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5276 $EGREP "free" >/dev/null 2>&1; then :5277 6323 $EGREP "free" >/dev/null 2>&1; then 6324 : 5278 6325 else 5279 6326 ac_cv_header_stdc=no … … 5285 6332 if test $ac_cv_header_stdc = yes; then 5286 6333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5287 if test "$cross_compiling" = yes; then :6334 if test "$cross_compiling" = yes; then 5288 6335 : 5289 6336 else 5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6337 cat >conftest.$ac_ext <<_ACEOF 6338 /* confdefs.h. */ 6339 _ACEOF 6340 cat confdefs.h >>conftest.$ac_ext 6341 cat >>conftest.$ac_ext <<_ACEOF 5291 6342 /* end confdefs.h. */ 5292 6343 #include <ctype.h> … … 5315 6366 } 5316 6367 _ACEOF 5317 if ac_fn_c_try_run "$LINENO"; then : 5318 5319 else 5320 ac_cv_header_stdc=no 5321 fi 5322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5323 conftest.$ac_objext conftest.beam conftest.$ac_ext 5324 fi 5325 5326 fi 5327 fi 5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6368 rm -f conftest$ac_exeext 6369 if { (ac_try="$ac_link" 6370 case "(($ac_try" in 6371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6372 *) ac_try_echo=$ac_try;; 6373 esac 6374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6375 $as_echo "$ac_try_echo") >&5 6376 (eval "$ac_link") 2>&5 6377 ac_status=$? 6378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6380 { (case "(($ac_try" in 6381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6382 *) ac_try_echo=$ac_try;; 6383 esac 6384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6385 $as_echo "$ac_try_echo") >&5 6386 (eval "$ac_try") 2>&5 6387 ac_status=$? 6388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6389 (exit $ac_status); }; }; then 6390 : 6391 else 6392 $as_echo "$as_me: program exited with status $ac_status" >&5 6393 $as_echo "$as_me: failed program was:" >&5 6394 sed 's/^/| /' conftest.$ac_ext >&5 6395 6396 ( exit $ac_status ) 6397 ac_cv_header_stdc=no 6398 fi 6399 rm -rf conftest.dSYM 6400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6401 fi 6402 6403 6404 fi 6405 fi 6406 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5329 6407 $as_echo "$ac_cv_header_stdc" >&6; } 5330 6408 if test $ac_cv_header_stdc = yes; then 5331 6409 5332 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5333 5334 fi 6410 cat >>confdefs.h <<\_ACEOF 6411 #define STDC_HEADERS 1 6412 _ACEOF 6413 6414 fi 6415 6416 6417 6418 6419 6420 6421 5335 6422 5336 6423 for ac_header in fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h 5337 do : 5338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5339 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5340 eval as_val=\$$as_ac_Header 5341 if test "x$as_val" = x""yes; then : 6424 do 6425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6427 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6428 $as_echo_n "checking for $ac_header... " >&6; } 6429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6430 $as_echo_n "(cached) " >&6 6431 fi 6432 ac_res=`eval 'as_val=${'$as_ac_Header'} 6433 $as_echo "$as_val"'` 6434 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6435 $as_echo "$ac_res" >&6; } 6436 else 6437 # Is the header compilable? 6438 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6439 $as_echo_n "checking $ac_header usability... " >&6; } 6440 cat >conftest.$ac_ext <<_ACEOF 6441 /* confdefs.h. */ 6442 _ACEOF 6443 cat confdefs.h >>conftest.$ac_ext 6444 cat >>conftest.$ac_ext <<_ACEOF 6445 /* end confdefs.h. */ 6446 $ac_includes_default 6447 #include <$ac_header> 6448 _ACEOF 6449 rm -f conftest.$ac_objext 6450 if { (ac_try="$ac_compile" 6451 case "(($ac_try" in 6452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6453 *) ac_try_echo=$ac_try;; 6454 esac 6455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6456 $as_echo "$ac_try_echo") >&5 6457 (eval "$ac_compile") 2>conftest.er1 6458 ac_status=$? 6459 grep -v '^ *+' conftest.er1 >conftest.err 6460 rm -f conftest.er1 6461 cat conftest.err >&5 6462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6463 (exit $ac_status); } && { 6464 test -z "$ac_c_werror_flag" || 6465 test ! -s conftest.err 6466 } && test -s conftest.$ac_objext; then 6467 ac_header_compiler=yes 6468 else 6469 $as_echo "$as_me: failed program was:" >&5 6470 sed 's/^/| /' conftest.$ac_ext >&5 6471 6472 ac_header_compiler=no 6473 fi 6474 6475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6476 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6477 $as_echo "$ac_header_compiler" >&6; } 6478 6479 # Is the header present? 6480 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6481 $as_echo_n "checking $ac_header presence... " >&6; } 6482 cat >conftest.$ac_ext <<_ACEOF 6483 /* confdefs.h. */ 6484 _ACEOF 6485 cat confdefs.h >>conftest.$ac_ext 6486 cat >>conftest.$ac_ext <<_ACEOF 6487 /* end confdefs.h. */ 6488 #include <$ac_header> 6489 _ACEOF 6490 if { (ac_try="$ac_cpp conftest.$ac_ext" 6491 case "(($ac_try" in 6492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6493 *) ac_try_echo=$ac_try;; 6494 esac 6495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6496 $as_echo "$ac_try_echo") >&5 6497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6498 ac_status=$? 6499 grep -v '^ *+' conftest.er1 >conftest.err 6500 rm -f conftest.er1 6501 cat conftest.err >&5 6502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6503 (exit $ac_status); } >/dev/null && { 6504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6505 test ! -s conftest.err 6506 }; then 6507 ac_header_preproc=yes 6508 else 6509 $as_echo "$as_me: failed program was:" >&5 6510 sed 's/^/| /' conftest.$ac_ext >&5 6511 6512 ac_header_preproc=no 6513 fi 6514 6515 rm -f conftest.err conftest.$ac_ext 6516 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6517 $as_echo "$ac_header_preproc" >&6; } 6518 6519 # So? What about this header? 6520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6521 yes:no: ) 6522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6523 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6525 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6526 ac_header_preproc=yes 6527 ;; 6528 no:yes:* ) 6529 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6530 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6531 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6532 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6534 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6536 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6538 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6540 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6541 6542 ;; 6543 esac 6544 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6545 $as_echo_n "checking for $ac_header... " >&6; } 6546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6547 $as_echo_n "(cached) " >&6 6548 else 6549 eval "$as_ac_Header=\$ac_header_preproc" 6550 fi 6551 ac_res=`eval 'as_val=${'$as_ac_Header'} 6552 $as_echo "$as_val"'` 6553 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6554 $as_echo "$ac_res" >&6; } 6555 6556 fi 6557 as_val=`eval 'as_val=${'$as_ac_Header'} 6558 $as_echo "$as_val"'` 6559 if test "x$as_val" = x""yes; then 5342 6560 cat >>confdefs.h <<_ACEOF 5343 6561 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5348 6566 done 5349 6567 5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6568 cat >conftest.$ac_ext <<_ACEOF 6569 /* confdefs.h. */ 6570 _ACEOF 6571 cat confdefs.h >>conftest.$ac_ext 6572 cat >>conftest.$ac_ext <<_ACEOF 5351 6573 /* end confdefs.h. */ 5352 6574 #include <stdio.h> … … 5354 6576 _ACEOF 5355 6577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5356 $EGREP "fread" >/dev/null 2>&1; then : 5357 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 6578 $EGREP "fread" >/dev/null 2>&1; then 6579 cat >>confdefs.h <<\_ACEOF 6580 #define HAVE_FREAD_DECL 1 6581 _ACEOF 5358 6582 5359 6583 fi 5360 6584 rm -f conftest* 5361 6585 5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6586 cat >conftest.$ac_ext <<_ACEOF 6587 /* confdefs.h. */ 6588 _ACEOF 6589 cat confdefs.h >>conftest.$ac_ext 6590 cat >>conftest.$ac_ext <<_ACEOF 5363 6591 /* end confdefs.h. */ 5364 6592 #include <stdio.h> … … 5366 6594 _ACEOF 5367 6595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5368 $EGREP "fgetc" >/dev/null 2>&1; then : 5369 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 6596 $EGREP "fgetc" >/dev/null 2>&1; then 6597 cat >>confdefs.h <<\_ACEOF 6598 #define HAVE_FGETC_DECL 1 6599 _ACEOF 5370 6600 5371 6601 fi 5372 6602 rm -f conftest* 5373 6603 5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6604 cat >conftest.$ac_ext <<_ACEOF 6605 /* confdefs.h. */ 6606 _ACEOF 6607 cat confdefs.h >>conftest.$ac_ext 6608 cat >>conftest.$ac_ext <<_ACEOF 5375 6609 /* end confdefs.h. */ 5376 6610 #include <sys/procfs.h> … … 5378 6612 _ACEOF 5379 6613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5380 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5381 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 6614 $EGREP "pr_brksize" >/dev/null 2>&1; then 6615 cat >>confdefs.h <<\_ACEOF 6616 #define HAVE_PR_BRKSIZE 1 6617 _ACEOF 5382 6618 5383 6619 fi … … 5387 6623 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5388 6624 # for constant arguments. Useless! 5389 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for working alloca.h" >&56625 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 5390 6626 $as_echo_n "checking for working alloca.h... " >&6; } 5391 if test "${ac_cv_working_alloca_h+set}" = set; then :6627 if test "${ac_cv_working_alloca_h+set}" = set; then 5392 6628 $as_echo_n "(cached) " >&6 5393 6629 else 5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6630 cat >conftest.$ac_ext <<_ACEOF 6631 /* confdefs.h. */ 6632 _ACEOF 6633 cat confdefs.h >>conftest.$ac_ext 6634 cat >>conftest.$ac_ext <<_ACEOF 5395 6635 /* end confdefs.h. */ 5396 6636 #include <alloca.h> … … 5404 6644 } 5405 6645 _ACEOF 5406 if ac_fn_c_try_link "$LINENO"; then : 6646 rm -f conftest.$ac_objext conftest$ac_exeext 6647 if { (ac_try="$ac_link" 6648 case "(($ac_try" in 6649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6650 *) ac_try_echo=$ac_try;; 6651 esac 6652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6653 $as_echo "$ac_try_echo") >&5 6654 (eval "$ac_link") 2>conftest.er1 6655 ac_status=$? 6656 grep -v '^ *+' conftest.er1 >conftest.err 6657 rm -f conftest.er1 6658 cat conftest.err >&5 6659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6660 (exit $ac_status); } && { 6661 test -z "$ac_c_werror_flag" || 6662 test ! -s conftest.err 6663 } && test -s conftest$ac_exeext && { 6664 test "$cross_compiling" = yes || 6665 $as_test_x conftest$ac_exeext 6666 }; then 5407 6667 ac_cv_working_alloca_h=yes 5408 6668 else 5409 ac_cv_working_alloca_h=no 5410 fi 5411 rm -f core conftest.err conftest.$ac_objext \ 5412 conftest$ac_exeext conftest.$ac_ext 5413 fi 5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 6669 $as_echo "$as_me: failed program was:" >&5 6670 sed 's/^/| /' conftest.$ac_ext >&5 6671 6672 ac_cv_working_alloca_h=no 6673 fi 6674 6675 rm -rf conftest.dSYM 6676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6677 conftest$ac_exeext conftest.$ac_ext 6678 fi 6679 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5415 6680 $as_echo "$ac_cv_working_alloca_h" >&6; } 5416 6681 if test $ac_cv_working_alloca_h = yes; then 5417 6682 5418 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5419 5420 fi 5421 5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 6683 cat >>confdefs.h <<\_ACEOF 6684 #define HAVE_ALLOCA_H 1 6685 _ACEOF 6686 6687 fi 6688 6689 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 5423 6690 $as_echo_n "checking for alloca... " >&6; } 5424 if test "${ac_cv_func_alloca_works+set}" = set; then :6691 if test "${ac_cv_func_alloca_works+set}" = set; then 5425 6692 $as_echo_n "(cached) " >&6 5426 6693 else 5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6694 cat >conftest.$ac_ext <<_ACEOF 6695 /* confdefs.h. */ 6696 _ACEOF 6697 cat confdefs.h >>conftest.$ac_ext 6698 cat >>conftest.$ac_ext <<_ACEOF 5428 6699 /* end confdefs.h. */ 5429 6700 #ifdef __GNUC__ … … 5457 6728 } 5458 6729 _ACEOF 5459 if ac_fn_c_try_link "$LINENO"; then : 6730 rm -f conftest.$ac_objext conftest$ac_exeext 6731 if { (ac_try="$ac_link" 6732 case "(($ac_try" in 6733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6734 *) ac_try_echo=$ac_try;; 6735 esac 6736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6737 $as_echo "$ac_try_echo") >&5 6738 (eval "$ac_link") 2>conftest.er1 6739 ac_status=$? 6740 grep -v '^ *+' conftest.er1 >conftest.err 6741 rm -f conftest.er1 6742 cat conftest.err >&5 6743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6744 (exit $ac_status); } && { 6745 test -z "$ac_c_werror_flag" || 6746 test ! -s conftest.err 6747 } && test -s conftest$ac_exeext && { 6748 test "$cross_compiling" = yes || 6749 $as_test_x conftest$ac_exeext 6750 }; then 5460 6751 ac_cv_func_alloca_works=yes 5461 6752 else 5462 ac_cv_func_alloca_works=no 5463 fi 5464 rm -f core conftest.err conftest.$ac_objext \ 5465 conftest$ac_exeext conftest.$ac_ext 5466 fi 5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 6753 $as_echo "$as_me: failed program was:" >&5 6754 sed 's/^/| /' conftest.$ac_ext >&5 6755 6756 ac_cv_func_alloca_works=no 6757 fi 6758 6759 rm -rf conftest.dSYM 6760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6761 conftest$ac_exeext conftest.$ac_ext 6762 fi 6763 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5468 6764 $as_echo "$ac_cv_func_alloca_works" >&6; } 5469 6765 5470 6766 if test $ac_cv_func_alloca_works = yes; then 5471 6767 5472 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 6768 cat >>confdefs.h <<\_ACEOF 6769 #define HAVE_ALLOCA 1 6770 _ACEOF 5473 6771 5474 6772 else … … 5480 6778 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5481 6779 5482 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5483 5484 5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 6780 cat >>confdefs.h <<\_ACEOF 6781 #define C_ALLOCA 1 6782 _ACEOF 6783 6784 6785 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5486 6786 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5487 if test "${ac_cv_os_cray+set}" = set; then :6787 if test "${ac_cv_os_cray+set}" = set; then 5488 6788 $as_echo_n "(cached) " >&6 5489 6789 else 5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6790 cat >conftest.$ac_ext <<_ACEOF 6791 /* confdefs.h. */ 6792 _ACEOF 6793 cat confdefs.h >>conftest.$ac_ext 6794 cat >>conftest.$ac_ext <<_ACEOF 5491 6795 /* end confdefs.h. */ 5492 6796 #if defined CRAY && ! defined CRAY2 … … 5498 6802 _ACEOF 5499 6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5500 $EGREP "webecray" >/dev/null 2>&1; then :6804 $EGREP "webecray" >/dev/null 2>&1; then 5501 6805 ac_cv_os_cray=yes 5502 6806 else … … 5506 6810 5507 6811 fi 5508 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_os_cray" >&56812 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 5509 6813 $as_echo "$ac_cv_os_cray" >&6; } 5510 6814 if test $ac_cv_os_cray = yes; then 5511 6815 for ac_func in _getb67 GETB67 getb67; do 5512 6816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5514 eval as_val=\$$as_ac_var 5515 if test "x$as_val" = x""yes; then : 6817 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6818 $as_echo_n "checking for $ac_func... " >&6; } 6819 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6820 $as_echo_n "(cached) " >&6 6821 else 6822 cat >conftest.$ac_ext <<_ACEOF 6823 /* confdefs.h. */ 6824 _ACEOF 6825 cat confdefs.h >>conftest.$ac_ext 6826 cat >>conftest.$ac_ext <<_ACEOF 6827 /* end confdefs.h. */ 6828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6829 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6830 #define $ac_func innocuous_$ac_func 6831 6832 /* System header to define __stub macros and hopefully few prototypes, 6833 which can conflict with char $ac_func (); below. 6834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6835 <limits.h> exists even on freestanding compilers. */ 6836 6837 #ifdef __STDC__ 6838 # include <limits.h> 6839 #else 6840 # include <assert.h> 6841 #endif 6842 6843 #undef $ac_func 6844 6845 /* Override any GCC internal prototype to avoid an error. 6846 Use char because int might match the return type of a GCC 6847 builtin and then its argument prototype would still apply. */ 6848 #ifdef __cplusplus 6849 extern "C" 6850 #endif 6851 char $ac_func (); 6852 /* The GNU C library defines this for functions which it implements 6853 to always fail with ENOSYS. Some functions are actually named 6854 something starting with __ and the normal name is an alias. */ 6855 #if defined __stub_$ac_func || defined __stub___$ac_func 6856 choke me 6857 #endif 6858 6859 int 6860 main () 6861 { 6862 return $ac_func (); 6863 ; 6864 return 0; 6865 } 6866 _ACEOF 6867 rm -f conftest.$ac_objext conftest$ac_exeext 6868 if { (ac_try="$ac_link" 6869 case "(($ac_try" in 6870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6871 *) ac_try_echo=$ac_try;; 6872 esac 6873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6874 $as_echo "$ac_try_echo") >&5 6875 (eval "$ac_link") 2>conftest.er1 6876 ac_status=$? 6877 grep -v '^ *+' conftest.er1 >conftest.err 6878 rm -f conftest.er1 6879 cat conftest.err >&5 6880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6881 (exit $ac_status); } && { 6882 test -z "$ac_c_werror_flag" || 6883 test ! -s conftest.err 6884 } && test -s conftest$ac_exeext && { 6885 test "$cross_compiling" = yes || 6886 $as_test_x conftest$ac_exeext 6887 }; then 6888 eval "$as_ac_var=yes" 6889 else 6890 $as_echo "$as_me: failed program was:" >&5 6891 sed 's/^/| /' conftest.$ac_ext >&5 6892 6893 eval "$as_ac_var=no" 6894 fi 6895 6896 rm -rf conftest.dSYM 6897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6898 conftest$ac_exeext conftest.$ac_ext 6899 fi 6900 ac_res=`eval 'as_val=${'$as_ac_var'} 6901 $as_echo "$as_val"'` 6902 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6903 $as_echo "$ac_res" >&6; } 6904 as_val=`eval 'as_val=${'$as_ac_var'} 6905 $as_echo "$as_val"'` 6906 if test "x$as_val" = x""yes; then 5516 6907 5517 6908 cat >>confdefs.h <<_ACEOF … … 5525 6916 fi 5526 6917 5527 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking stack direction for C alloca" >&56918 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 5528 6919 $as_echo_n "checking stack direction for C alloca... " >&6; } 5529 if test "${ac_cv_c_stack_direction+set}" = set; then :6920 if test "${ac_cv_c_stack_direction+set}" = set; then 5530 6921 $as_echo_n "(cached) " >&6 5531 6922 else 5532 if test "$cross_compiling" = yes; then :6923 if test "$cross_compiling" = yes; then 5533 6924 ac_cv_c_stack_direction=0 5534 6925 else 5535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6926 cat >conftest.$ac_ext <<_ACEOF 6927 /* confdefs.h. */ 6928 _ACEOF 6929 cat confdefs.h >>conftest.$ac_ext 6930 cat >>conftest.$ac_ext <<_ACEOF 5536 6931 /* end confdefs.h. */ 5537 6932 $ac_includes_default … … 5556 6951 } 5557 6952 _ACEOF 5558 if ac_fn_c_try_run "$LINENO"; then : 6953 rm -f conftest$ac_exeext 6954 if { (ac_try="$ac_link" 6955 case "(($ac_try" in 6956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6957 *) ac_try_echo=$ac_try;; 6958 esac 6959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6960 $as_echo "$ac_try_echo") >&5 6961 (eval "$ac_link") 2>&5 6962 ac_status=$? 6963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6965 { (case "(($ac_try" in 6966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6967 *) ac_try_echo=$ac_try;; 6968 esac 6969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6970 $as_echo "$ac_try_echo") >&5 6971 (eval "$ac_try") 2>&5 6972 ac_status=$? 6973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6974 (exit $ac_status); }; }; then 5559 6975 ac_cv_c_stack_direction=1 5560 6976 else 5561 ac_cv_c_stack_direction=-1 5562 fi 5563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5564 conftest.$ac_objext conftest.beam conftest.$ac_ext 5565 fi 5566 5567 fi 5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 6977 $as_echo "$as_me: program exited with status $ac_status" >&5 6978 $as_echo "$as_me: failed program was:" >&5 6979 sed 's/^/| /' conftest.$ac_ext >&5 6980 6981 ( exit $ac_status ) 6982 ac_cv_c_stack_direction=-1 6983 fi 6984 rm -rf conftest.dSYM 6985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6986 fi 6987 6988 6989 fi 6990 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5569 6991 $as_echo "$ac_cv_c_stack_direction" >&6; } 6992 5570 6993 cat >>confdefs.h <<_ACEOF 5571 6994 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 5576 6999 5577 7000 if test $ac_cv_c_compiler_gnu = yes; then 5578 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC needs -traditional" >&57001 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 5579 7002 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 5580 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :7003 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5581 7004 $as_echo_n "(cached) " >&6 5582 7005 else 5583 7006 ac_pattern="Autoconf.*'x'" 5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7007 cat >conftest.$ac_ext <<_ACEOF 7008 /* confdefs.h. */ 7009 _ACEOF 7010 cat confdefs.h >>conftest.$ac_ext 7011 cat >>conftest.$ac_ext <<_ACEOF 5585 7012 /* end confdefs.h. */ 5586 7013 #include <sgtty.h> … … 5588 7015 _ACEOF 5589 7016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5590 $EGREP "$ac_pattern" >/dev/null 2>&1; then :7017 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5591 7018 ac_cv_prog_gcc_traditional=yes 5592 7019 else … … 5597 7024 5598 7025 if test $ac_cv_prog_gcc_traditional = no; then 5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7026 cat >conftest.$ac_ext <<_ACEOF 7027 /* confdefs.h. */ 7028 _ACEOF 7029 cat confdefs.h >>conftest.$ac_ext 7030 cat >>conftest.$ac_ext <<_ACEOF 5600 7031 /* end confdefs.h. */ 5601 7032 #include <termio.h> … … 5603 7034 _ACEOF 5604 7035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5605 $EGREP "$ac_pattern" >/dev/null 2>&1; then :7036 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5606 7037 ac_cv_prog_gcc_traditional=yes 5607 7038 fi … … 5610 7041 fi 5611 7042 fi 5612 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&57043 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 5613 7044 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5614 7045 if test $ac_cv_prog_gcc_traditional = yes; then … … 5617 7048 fi 5618 7049 5619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking return type of signal handlers" >&57050 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 5620 7051 $as_echo_n "checking return type of signal handlers... " >&6; } 5621 if test "${ac_cv_type_signal+set}" = set; then :7052 if test "${ac_cv_type_signal+set}" = set; then 5622 7053 $as_echo_n "(cached) " >&6 5623 7054 else 5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7055 cat >conftest.$ac_ext <<_ACEOF 7056 /* confdefs.h. */ 7057 _ACEOF 7058 cat confdefs.h >>conftest.$ac_ext 7059 cat >>conftest.$ac_ext <<_ACEOF 5625 7060 /* end confdefs.h. */ 5626 7061 #include <sys/types.h> … … 5635 7070 } 5636 7071 _ACEOF 5637 if ac_fn_c_try_compile "$LINENO"; then : 7072 rm -f conftest.$ac_objext 7073 if { (ac_try="$ac_compile" 7074 case "(($ac_try" in 7075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7076 *) ac_try_echo=$ac_try;; 7077 esac 7078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7079 $as_echo "$ac_try_echo") >&5 7080 (eval "$ac_compile") 2>conftest.er1 7081 ac_status=$? 7082 grep -v '^ *+' conftest.er1 >conftest.err 7083 rm -f conftest.er1 7084 cat conftest.err >&5 7085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7086 (exit $ac_status); } && { 7087 test -z "$ac_c_werror_flag" || 7088 test ! -s conftest.err 7089 } && test -s conftest.$ac_objext; then 5638 7090 ac_cv_type_signal=int 5639 7091 else 5640 ac_cv_type_signal=void 5641 fi 7092 $as_echo "$as_me: failed program was:" >&5 7093 sed 's/^/| /' conftest.$ac_ext >&5 7094 7095 ac_cv_type_signal=void 7096 fi 7097 5642 7098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5643 7099 fi 5644 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_type_signal" >&57100 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5645 7101 $as_echo "$ac_cv_type_signal" >&6; } 5646 7102 … … 5650 7106 5651 7107 7108 5652 7109 for ac_func in vprintf 5653 do : 5654 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 5655 if test "x$ac_cv_func_vprintf" = x""yes; then : 5656 cat >>confdefs.h <<_ACEOF 5657 #define HAVE_VPRINTF 1 5658 _ACEOF 5659 5660 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 5661 if test "x$ac_cv_func__doprnt" = x""yes; then : 5662 5663 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 5664 5665 fi 5666 5667 fi 5668 done 5669 5670 5671 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize 5672 do : 5673 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5674 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5675 eval as_val=\$$as_ac_var 5676 if test "x$as_val" = x""yes; then : 7110 do 7111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7112 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7113 $as_echo_n "checking for $ac_func... " >&6; } 7114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7115 $as_echo_n "(cached) " >&6 7116 else 7117 cat >conftest.$ac_ext <<_ACEOF 7118 /* confdefs.h. */ 7119 _ACEOF 7120 cat confdefs.h >>conftest.$ac_ext 7121 cat >>conftest.$ac_ext <<_ACEOF 7122 /* end confdefs.h. */ 7123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7124 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7125 #define $ac_func innocuous_$ac_func 7126 7127 /* System header to define __stub macros and hopefully few prototypes, 7128 which can conflict with char $ac_func (); below. 7129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7130 <limits.h> exists even on freestanding compilers. */ 7131 7132 #ifdef __STDC__ 7133 # include <limits.h> 7134 #else 7135 # include <assert.h> 7136 #endif 7137 7138 #undef $ac_func 7139 7140 /* Override any GCC internal prototype to avoid an error. 7141 Use char because int might match the return type of a GCC 7142 builtin and then its argument prototype would still apply. */ 7143 #ifdef __cplusplus 7144 extern "C" 7145 #endif 7146 char $ac_func (); 7147 /* The GNU C library defines this for functions which it implements 7148 to always fail with ENOSYS. Some functions are actually named 7149 something starting with __ and the normal name is an alias. */ 7150 #if defined __stub_$ac_func || defined __stub___$ac_func 7151 choke me 7152 #endif 7153 7154 int 7155 main () 7156 { 7157 return $ac_func (); 7158 ; 7159 return 0; 7160 } 7161 _ACEOF 7162 rm -f conftest.$ac_objext conftest$ac_exeext 7163 if { (ac_try="$ac_link" 7164 case "(($ac_try" in 7165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7166 *) ac_try_echo=$ac_try;; 7167 esac 7168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7169 $as_echo "$ac_try_echo") >&5 7170 (eval "$ac_link") 2>conftest.er1 7171 ac_status=$? 7172 grep -v '^ *+' conftest.er1 >conftest.err 7173 rm -f conftest.er1 7174 cat conftest.err >&5 7175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7176 (exit $ac_status); } && { 7177 test -z "$ac_c_werror_flag" || 7178 test ! -s conftest.err 7179 } && test -s conftest$ac_exeext && { 7180 test "$cross_compiling" = yes || 7181 $as_test_x conftest$ac_exeext 7182 }; then 7183 eval "$as_ac_var=yes" 7184 else 7185 $as_echo "$as_me: failed program was:" >&5 7186 sed 's/^/| /' conftest.$ac_ext >&5 7187 7188 eval "$as_ac_var=no" 7189 fi 7190 7191 rm -rf conftest.dSYM 7192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7193 conftest$ac_exeext conftest.$ac_ext 7194 fi 7195 ac_res=`eval 'as_val=${'$as_ac_var'} 7196 $as_echo "$as_val"'` 7197 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7198 $as_echo "$ac_res" >&6; } 7199 as_val=`eval 'as_val=${'$as_ac_var'} 7200 $as_echo "$as_val"'` 7201 if test "x$as_val" = x""yes; then 5677 7202 cat >>confdefs.h <<_ACEOF 5678 7203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5679 7204 _ACEOF 5680 7205 7206 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7207 $as_echo_n "checking for _doprnt... " >&6; } 7208 if test "${ac_cv_func__doprnt+set}" = set; then 7209 $as_echo_n "(cached) " >&6 7210 else 7211 cat >conftest.$ac_ext <<_ACEOF 7212 /* confdefs.h. */ 7213 _ACEOF 7214 cat confdefs.h >>conftest.$ac_ext 7215 cat >>conftest.$ac_ext <<_ACEOF 7216 /* end confdefs.h. */ 7217 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 7218 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7219 #define _doprnt innocuous__doprnt 7220 7221 /* System header to define __stub macros and hopefully few prototypes, 7222 which can conflict with char _doprnt (); below. 7223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7224 <limits.h> exists even on freestanding compilers. */ 7225 7226 #ifdef __STDC__ 7227 # include <limits.h> 7228 #else 7229 # include <assert.h> 7230 #endif 7231 7232 #undef _doprnt 7233 7234 /* Override any GCC internal prototype to avoid an error. 7235 Use char because int might match the return type of a GCC 7236 builtin and then its argument prototype would still apply. */ 7237 #ifdef __cplusplus 7238 extern "C" 7239 #endif 7240 char _doprnt (); 7241 /* The GNU C library defines this for functions which it implements 7242 to always fail with ENOSYS. Some functions are actually named 7243 something starting with __ and the normal name is an alias. */ 7244 #if defined __stub__doprnt || defined __stub____doprnt 7245 choke me 7246 #endif 7247 7248 int 7249 main () 7250 { 7251 return _doprnt (); 7252 ; 7253 return 0; 7254 } 7255 _ACEOF 7256 rm -f conftest.$ac_objext conftest$ac_exeext 7257 if { (ac_try="$ac_link" 7258 case "(($ac_try" in 7259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7260 *) ac_try_echo=$ac_try;; 7261 esac 7262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7263 $as_echo "$ac_try_echo") >&5 7264 (eval "$ac_link") 2>conftest.er1 7265 ac_status=$? 7266 grep -v '^ *+' conftest.er1 >conftest.err 7267 rm -f conftest.er1 7268 cat conftest.err >&5 7269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7270 (exit $ac_status); } && { 7271 test -z "$ac_c_werror_flag" || 7272 test ! -s conftest.err 7273 } && test -s conftest$ac_exeext && { 7274 test "$cross_compiling" = yes || 7275 $as_test_x conftest$ac_exeext 7276 }; then 7277 ac_cv_func__doprnt=yes 7278 else 7279 $as_echo "$as_me: failed program was:" >&5 7280 sed 's/^/| /' conftest.$ac_ext >&5 7281 7282 ac_cv_func__doprnt=no 7283 fi 7284 7285 rm -rf conftest.dSYM 7286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7287 conftest$ac_exeext conftest.$ac_ext 7288 fi 7289 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7290 $as_echo "$ac_cv_func__doprnt" >&6; } 7291 if test "x$ac_cv_func__doprnt" = x""yes; then 7292 7293 cat >>confdefs.h <<\_ACEOF 7294 #define HAVE_DOPRNT 1 7295 _ACEOF 7296 7297 fi 7298 5681 7299 fi 5682 7300 done 5683 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize 7313 do 7314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7315 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7316 $as_echo_n "checking for $ac_func... " >&6; } 7317 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7318 $as_echo_n "(cached) " >&6 7319 else 7320 cat >conftest.$ac_ext <<_ACEOF 7321 /* confdefs.h. */ 7322 _ACEOF 7323 cat confdefs.h >>conftest.$ac_ext 7324 cat >>conftest.$ac_ext <<_ACEOF 7325 /* end confdefs.h. */ 7326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7327 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7328 #define $ac_func innocuous_$ac_func 7329 7330 /* System header to define __stub macros and hopefully few prototypes, 7331 which can conflict with char $ac_func (); below. 7332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7333 <limits.h> exists even on freestanding compilers. */ 7334 7335 #ifdef __STDC__ 7336 # include <limits.h> 7337 #else 7338 # include <assert.h> 7339 #endif 7340 7341 #undef $ac_func 7342 7343 /* Override any GCC internal prototype to avoid an error. 7344 Use char because int might match the return type of a GCC 7345 builtin and then its argument prototype would still apply. */ 7346 #ifdef __cplusplus 7347 extern "C" 7348 #endif 7349 char $ac_func (); 7350 /* The GNU C library defines this for functions which it implements 7351 to always fail with ENOSYS. Some functions are actually named 7352 something starting with __ and the normal name is an alias. */ 7353 #if defined __stub_$ac_func || defined __stub___$ac_func 7354 choke me 7355 #endif 7356 7357 int 7358 main () 7359 { 7360 return $ac_func (); 7361 ; 7362 return 0; 7363 } 7364 _ACEOF 7365 rm -f conftest.$ac_objext conftest$ac_exeext 7366 if { (ac_try="$ac_link" 7367 case "(($ac_try" in 7368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7369 *) ac_try_echo=$ac_try;; 7370 esac 7371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7372 $as_echo "$ac_try_echo") >&5 7373 (eval "$ac_link") 2>conftest.er1 7374 ac_status=$? 7375 grep -v '^ *+' conftest.er1 >conftest.err 7376 rm -f conftest.er1 7377 cat conftest.err >&5 7378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7379 (exit $ac_status); } && { 7380 test -z "$ac_c_werror_flag" || 7381 test ! -s conftest.err 7382 } && test -s conftest$ac_exeext && { 7383 test "$cross_compiling" = yes || 7384 $as_test_x conftest$ac_exeext 7385 }; then 7386 eval "$as_ac_var=yes" 7387 else 7388 $as_echo "$as_me: failed program was:" >&5 7389 sed 's/^/| /' conftest.$ac_ext >&5 7390 7391 eval "$as_ac_var=no" 7392 fi 7393 7394 rm -rf conftest.dSYM 7395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7396 conftest$ac_exeext conftest.$ac_ext 7397 fi 7398 ac_res=`eval 'as_val=${'$as_ac_var'} 7399 $as_echo "$as_val"'` 7400 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7401 $as_echo "$ac_res" >&6; } 7402 as_val=`eval 'as_val=${'$as_ac_var'} 7403 $as_echo "$as_val"'` 7404 if test "x$as_val" = x""yes; then 7405 cat >>confdefs.h <<_ACEOF 7406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7407 _ACEOF 7408 7409 fi 7410 done 7411 7412 7413 7414 5684 7415 for ac_func in ftruncate strstr strcasecmp 5685 do : 5686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5688 eval as_val=\$$as_ac_var 5689 if test "x$as_val" = x""yes; then : 7416 do 7417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7418 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7419 $as_echo_n "checking for $ac_func... " >&6; } 7420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7421 $as_echo_n "(cached) " >&6 7422 else 7423 cat >conftest.$ac_ext <<_ACEOF 7424 /* confdefs.h. */ 7425 _ACEOF 7426 cat confdefs.h >>conftest.$ac_ext 7427 cat >>conftest.$ac_ext <<_ACEOF 7428 /* end confdefs.h. */ 7429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7430 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7431 #define $ac_func innocuous_$ac_func 7432 7433 /* System header to define __stub macros and hopefully few prototypes, 7434 which can conflict with char $ac_func (); below. 7435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7436 <limits.h> exists even on freestanding compilers. */ 7437 7438 #ifdef __STDC__ 7439 # include <limits.h> 7440 #else 7441 # include <assert.h> 7442 #endif 7443 7444 #undef $ac_func 7445 7446 /* Override any GCC internal prototype to avoid an error. 7447 Use char because int might match the return type of a GCC 7448 builtin and then its argument prototype would still apply. */ 7449 #ifdef __cplusplus 7450 extern "C" 7451 #endif 7452 char $ac_func (); 7453 /* The GNU C library defines this for functions which it implements 7454 to always fail with ENOSYS. Some functions are actually named 7455 something starting with __ and the normal name is an alias. */ 7456 #if defined __stub_$ac_func || defined __stub___$ac_func 7457 choke me 7458 #endif 7459 7460 int 7461 main () 7462 { 7463 return $ac_func (); 7464 ; 7465 return 0; 7466 } 7467 _ACEOF 7468 rm -f conftest.$ac_objext conftest$ac_exeext 7469 if { (ac_try="$ac_link" 7470 case "(($ac_try" in 7471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7472 *) ac_try_echo=$ac_try;; 7473 esac 7474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7475 $as_echo "$ac_try_echo") >&5 7476 (eval "$ac_link") 2>conftest.er1 7477 ac_status=$? 7478 grep -v '^ *+' conftest.er1 >conftest.err 7479 rm -f conftest.er1 7480 cat conftest.err >&5 7481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7482 (exit $ac_status); } && { 7483 test -z "$ac_c_werror_flag" || 7484 test ! -s conftest.err 7485 } && test -s conftest$ac_exeext && { 7486 test "$cross_compiling" = yes || 7487 $as_test_x conftest$ac_exeext 7488 }; then 7489 eval "$as_ac_var=yes" 7490 else 7491 $as_echo "$as_me: failed program was:" >&5 7492 sed 's/^/| /' conftest.$ac_ext >&5 7493 7494 eval "$as_ac_var=no" 7495 fi 7496 7497 rm -rf conftest.dSYM 7498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7499 conftest$ac_exeext conftest.$ac_ext 7500 fi 7501 ac_res=`eval 'as_val=${'$as_ac_var'} 7502 $as_echo "$as_val"'` 7503 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7504 $as_echo "$ac_res" >&6; } 7505 as_val=`eval 'as_val=${'$as_ac_var'} 7506 $as_echo "$as_val"'` 7507 if test "x$as_val" = x""yes; then 5690 7508 cat >>confdefs.h <<_ACEOF 5691 7509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 … … 5707 7525 # *** Custom checking (based on GNU tar configure.in) *** 5708 7526 # --------------------------------------------------------------------------- 5709 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&57527 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 5710 7528 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 5711 7529 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 5712 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&57530 { $as_echo "$as_me:$LINENO: result: yes" >&5 5713 7531 $as_echo "yes" >&6; } 5714 7532 case " $LIBOBJS " in … … 5718 7536 esac 5719 7537 5720 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 5721 5722 else 5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7538 cat >>confdefs.h <<\_ACEOF 7539 #define HAVE_VALLOC 1 7540 _ACEOF 7541 7542 else 7543 { $as_echo "$as_me:$LINENO: result: no" >&5 5724 7544 $as_echo "no" >&6; } 5725 for ac_func in valloc 5726 do : 5727 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 5728 if test "x$ac_cv_func_valloc" = x""yes; then : 7545 7546 for ac_func in valloc 7547 do 7548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7549 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7550 $as_echo_n "checking for $ac_func... " >&6; } 7551 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7552 $as_echo_n "(cached) " >&6 7553 else 7554 cat >conftest.$ac_ext <<_ACEOF 7555 /* confdefs.h. */ 7556 _ACEOF 7557 cat confdefs.h >>conftest.$ac_ext 7558 cat >>conftest.$ac_ext <<_ACEOF 7559 /* end confdefs.h. */ 7560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7561 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7562 #define $ac_func innocuous_$ac_func 7563 7564 /* System header to define __stub macros and hopefully few prototypes, 7565 which can conflict with char $ac_func (); below. 7566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7567 <limits.h> exists even on freestanding compilers. */ 7568 7569 #ifdef __STDC__ 7570 # include <limits.h> 7571 #else 7572 # include <assert.h> 7573 #endif 7574 7575 #undef $ac_func 7576 7577 /* Override any GCC internal prototype to avoid an error. 7578 Use char because int might match the return type of a GCC 7579 builtin and then its argument prototype would still apply. */ 7580 #ifdef __cplusplus 7581 extern "C" 7582 #endif 7583 char $ac_func (); 7584 /* The GNU C library defines this for functions which it implements 7585 to always fail with ENOSYS. Some functions are actually named 7586 something starting with __ and the normal name is an alias. */ 7587 #if defined __stub_$ac_func || defined __stub___$ac_func 7588 choke me 7589 #endif 7590 7591 int 7592 main () 7593 { 7594 return $ac_func (); 7595 ; 7596 return 0; 7597 } 7598 _ACEOF 7599 rm -f conftest.$ac_objext conftest$ac_exeext 7600 if { (ac_try="$ac_link" 7601 case "(($ac_try" in 7602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7603 *) ac_try_echo=$ac_try;; 7604 esac 7605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7606 $as_echo "$ac_try_echo") >&5 7607 (eval "$ac_link") 2>conftest.er1 7608 ac_status=$? 7609 grep -v '^ *+' conftest.er1 >conftest.err 7610 rm -f conftest.er1 7611 cat conftest.err >&5 7612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7613 (exit $ac_status); } && { 7614 test -z "$ac_c_werror_flag" || 7615 test ! -s conftest.err 7616 } && test -s conftest$ac_exeext && { 7617 test "$cross_compiling" = yes || 7618 $as_test_x conftest$ac_exeext 7619 }; then 7620 eval "$as_ac_var=yes" 7621 else 7622 $as_echo "$as_me: failed program was:" >&5 7623 sed 's/^/| /' conftest.$ac_ext >&5 7624 7625 eval "$as_ac_var=no" 7626 fi 7627 7628 rm -rf conftest.dSYM 7629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7630 conftest$ac_exeext conftest.$ac_ext 7631 fi 7632 ac_res=`eval 'as_val=${'$as_ac_var'} 7633 $as_echo "$as_val"'` 7634 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7635 $as_echo "$ac_res" >&6; } 7636 as_val=`eval 'as_val=${'$as_ac_var'} 7637 $as_echo "$as_val"'` 7638 if test "x$as_val" = x""yes; then 5729 7639 cat >>confdefs.h <<_ACEOF 5730 #define HAVE_VALLOC17640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5731 7641 _ACEOF 5732 7642 … … 5739 7649 # a non-standard Path 5740 7650 # is there a better way to do this?? 5741 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for OS to set JNI options" >&57651 { $as_echo "$as_me:$LINENO: checking for OS to set JNI options" >&5 5742 7652 $as_echo_n "checking for OS to set JNI options... " >&6; } 5743 7653 # set defaults … … 5747 7657 5748 7658 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 5749 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Darwin" >&57659 { $as_echo "$as_me:$LINENO: result: Darwin" >&5 5750 7660 $as_echo "Darwin" >&6; } 5751 7661 JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ " … … 5754 7664 fi 5755 7665 if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then 5756 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Solaris" >&57666 { $as_echo "$as_me:$LINENO: result: Solaris" >&5 5757 7667 $as_echo "Solaris" >&6; } 5758 7668 JNIINC="-I\$(JAVA_HOME)/include/solaris " 5759 7669 fi 5760 7670 if test "`(uname -s) 2> /dev/null`" = 'Linux'; then 5761 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Linux" >&57671 { $as_echo "$as_me:$LINENO: result: Linux" >&5 5762 7672 $as_echo "Linux" >&6; } 5763 7673 JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include " … … 5768 7678 5769 7679 5770 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if malloc debugging is wanted" >&57680 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 5771 7681 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 5772 7682 5773 7683 # Check whether --with-dmalloc was given. 5774 if test "${with_dmalloc+set}" = set; then :7684 if test "${with_dmalloc+set}" = set; then 5775 7685 withval=$with_dmalloc; if test "$withval" = yes; then 5776 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&57686 { $as_echo "$as_me:$LINENO: result: yes" >&5 5777 7687 $as_echo "yes" >&6; } 5778 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 7688 cat >>confdefs.h <<\_ACEOF 7689 #define WITH_DMALLOC 1 7690 _ACEOF 5779 7691 5780 7692 LIBS="$LIBS -ldmalloc" 5781 7693 LDFLAGS="$LDFLAGS -g" 5782 7694 else 5783 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57695 { $as_echo "$as_me:$LINENO: result: no" >&5 5784 7696 $as_echo "no" >&6; } 5785 7697 fi 5786 7698 else 5787 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57699 { $as_echo "$as_me:$LINENO: result: no" >&5 5788 7700 $as_echo "no" >&6; } 5789 7701 fi 5790 7702 5791 7703 5792 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking which of rx or regex is wanted" >&57704 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 5793 7705 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 5794 7706 5795 7707 # Check whether --with-regex was given. 5796 if test "${with_regex+set}" = set; then :7708 if test "${with_regex+set}" = set; then 5797 7709 withval=$with_regex; if test "$withval" = yes; then 5798 7710 ac_with_regex=1 5799 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: regex" >&57711 { $as_echo "$as_me:$LINENO: result: regex" >&5 5800 7712 $as_echo "regex" >&6; } 5801 $as_echo "#define WITH_REGEX 1" >>confdefs.h 7713 cat >>confdefs.h <<\_ACEOF 7714 #define WITH_REGEX 1 7715 _ACEOF 5802 7716 5803 7717 case " $LIBOBJS " in … … 5811 7725 5812 7726 if test -z "$ac_with_regex"; then 5813 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: rx" >&57727 { $as_echo "$as_me:$LINENO: result: rx" >&5 5814 7728 $as_echo "rx" >&6; } 5815 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 5816 if test "x$ac_cv_func_re_rx_search" = x""yes; then : 5817 7729 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 7730 $as_echo_n "checking for re_rx_search... " >&6; } 7731 if test "${ac_cv_func_re_rx_search+set}" = set; then 7732 $as_echo_n "(cached) " >&6 7733 else 7734 cat >conftest.$ac_ext <<_ACEOF 7735 /* confdefs.h. */ 7736 _ACEOF 7737 cat confdefs.h >>conftest.$ac_ext 7738 cat >>conftest.$ac_ext <<_ACEOF 7739 /* end confdefs.h. */ 7740 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 7741 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7742 #define re_rx_search innocuous_re_rx_search 7743 7744 /* System header to define __stub macros and hopefully few prototypes, 7745 which can conflict with char re_rx_search (); below. 7746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7747 <limits.h> exists even on freestanding compilers. */ 7748 7749 #ifdef __STDC__ 7750 # include <limits.h> 7751 #else 7752 # include <assert.h> 7753 #endif 7754 7755 #undef re_rx_search 7756 7757 /* Override any GCC internal prototype to avoid an error. 7758 Use char because int might match the return type of a GCC 7759 builtin and then its argument prototype would still apply. */ 7760 #ifdef __cplusplus 7761 extern "C" 7762 #endif 7763 char re_rx_search (); 7764 /* The GNU C library defines this for functions which it implements 7765 to always fail with ENOSYS. Some functions are actually named 7766 something starting with __ and the normal name is an alias. */ 7767 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7768 choke me 7769 #endif 7770 7771 int 7772 main () 7773 { 7774 return re_rx_search (); 7775 ; 7776 return 0; 7777 } 7778 _ACEOF 7779 rm -f conftest.$ac_objext conftest$ac_exeext 7780 if { (ac_try="$ac_link" 7781 case "(($ac_try" in 7782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7783 *) ac_try_echo=$ac_try;; 7784 esac 7785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7786 $as_echo "$ac_try_echo") >&5 7787 (eval "$ac_link") 2>conftest.er1 7788 ac_status=$? 7789 grep -v '^ *+' conftest.er1 >conftest.err 7790 rm -f conftest.er1 7791 cat conftest.err >&5 7792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7793 (exit $ac_status); } && { 7794 test -z "$ac_c_werror_flag" || 7795 test ! -s conftest.err 7796 } && test -s conftest$ac_exeext && { 7797 test "$cross_compiling" = yes || 7798 $as_test_x conftest$ac_exeext 7799 }; then 7800 ac_cv_func_re_rx_search=yes 7801 else 7802 $as_echo "$as_me: failed program was:" >&5 7803 sed 's/^/| /' conftest.$ac_ext >&5 7804 7805 ac_cv_func_re_rx_search=no 7806 fi 7807 7808 rm -rf conftest.dSYM 7809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7810 conftest$ac_exeext conftest.$ac_ext 7811 fi 7812 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7813 $as_echo "$ac_cv_func_re_rx_search" >&6; } 7814 if test "x$ac_cv_func_re_rx_search" = x""yes; then 7815 : 5818 7816 else 5819 7817 case " $LIBOBJS " in … … 5829 7827 5830 7828 # text for endianness 5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 7829 7830 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 5832 7831 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 5833 if test "${ac_cv_c_bigendian+set}" = set; then :7832 if test "${ac_cv_c_bigendian+set}" = set; then 5834 7833 $as_echo_n "(cached) " >&6 5835 7834 else 5836 7835 ac_cv_c_bigendian=unknown 5837 7836 # See if we're dealing with a universal compiler. 5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7837 cat >conftest.$ac_ext <<_ACEOF 7838 /* confdefs.h. */ 7839 _ACEOF 7840 cat confdefs.h >>conftest.$ac_ext 7841 cat >>conftest.$ac_ext <<_ACEOF 5839 7842 /* end confdefs.h. */ 5840 7843 #ifndef __APPLE_CC__ … … 5844 7847 5845 7848 _ACEOF 5846 if ac_fn_c_try_compile "$LINENO"; then : 7849 rm -f conftest.$ac_objext 7850 if { (ac_try="$ac_compile" 7851 case "(($ac_try" in 7852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7853 *) ac_try_echo=$ac_try;; 7854 esac 7855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7856 $as_echo "$ac_try_echo") >&5 7857 (eval "$ac_compile") 2>conftest.er1 7858 ac_status=$? 7859 grep -v '^ *+' conftest.er1 >conftest.err 7860 rm -f conftest.er1 7861 cat conftest.err >&5 7862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7863 (exit $ac_status); } && { 7864 test -z "$ac_c_werror_flag" || 7865 test ! -s conftest.err 7866 } && test -s conftest.$ac_objext; then 5847 7867 5848 7868 # Check for potential -arch flags. It is not universal unless 5849 # there are at least two -arch flags with different values. 5850 ac_arch= 5851 ac_prev= 5852 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 5853 if test -n "$ac_prev"; then 5854 case $ac_word in 5855 i?86 | x86_64 | ppc | ppc64) 5856 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 5857 ac_arch=$ac_word 5858 else 5859 ac_cv_c_bigendian=universal 5860 break 5861 fi 5862 ;; 5863 esac 5864 ac_prev= 5865 elif test "x$ac_word" = "x-arch"; then 5866 ac_prev=arch 5867 fi 5868 done 5869 fi 7869 # there are some -arch flags. Note that *ppc* also matches 7870 # ppc64. This check is also rather less than ideal. 7871 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 7872 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 7873 esac 7874 else 7875 $as_echo "$as_me: failed program was:" >&5 7876 sed 's/^/| /' conftest.$ac_ext >&5 7877 7878 7879 fi 7880 5870 7881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5871 7882 if test $ac_cv_c_bigendian = unknown; then 5872 7883 # See if sys/param.h defines the BYTE_ORDER macro. 5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7884 cat >conftest.$ac_ext <<_ACEOF 7885 /* confdefs.h. */ 7886 _ACEOF 7887 cat confdefs.h >>conftest.$ac_ext 7888 cat >>conftest.$ac_ext <<_ACEOF 5874 7889 /* end confdefs.h. */ 5875 7890 #include <sys/types.h> … … 5889 7904 } 5890 7905 _ACEOF 5891 if ac_fn_c_try_compile "$LINENO"; then : 7906 rm -f conftest.$ac_objext 7907 if { (ac_try="$ac_compile" 7908 case "(($ac_try" in 7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7910 *) ac_try_echo=$ac_try;; 7911 esac 7912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7913 $as_echo "$ac_try_echo") >&5 7914 (eval "$ac_compile") 2>conftest.er1 7915 ac_status=$? 7916 grep -v '^ *+' conftest.er1 >conftest.err 7917 rm -f conftest.er1 7918 cat conftest.err >&5 7919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7920 (exit $ac_status); } && { 7921 test -z "$ac_c_werror_flag" || 7922 test ! -s conftest.err 7923 } && test -s conftest.$ac_objext; then 5892 7924 # It does; now see whether it defined to BIG_ENDIAN or not. 5893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7925 cat >conftest.$ac_ext <<_ACEOF 7926 /* confdefs.h. */ 7927 _ACEOF 7928 cat confdefs.h >>conftest.$ac_ext 7929 cat >>conftest.$ac_ext <<_ACEOF 5894 7930 /* end confdefs.h. */ 5895 7931 #include <sys/types.h> … … 5907 7943 } 5908 7944 _ACEOF 5909 if ac_fn_c_try_compile "$LINENO"; then : 7945 rm -f conftest.$ac_objext 7946 if { (ac_try="$ac_compile" 7947 case "(($ac_try" in 7948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7949 *) ac_try_echo=$ac_try;; 7950 esac 7951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7952 $as_echo "$ac_try_echo") >&5 7953 (eval "$ac_compile") 2>conftest.er1 7954 ac_status=$? 7955 grep -v '^ *+' conftest.er1 >conftest.err 7956 rm -f conftest.er1 7957 cat conftest.err >&5 7958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7959 (exit $ac_status); } && { 7960 test -z "$ac_c_werror_flag" || 7961 test ! -s conftest.err 7962 } && test -s conftest.$ac_objext; then 5910 7963 ac_cv_c_bigendian=yes 5911 7964 else 5912 ac_cv_c_bigendian=no 5913 fi 7965 $as_echo "$as_me: failed program was:" >&5 7966 sed 's/^/| /' conftest.$ac_ext >&5 7967 7968 ac_cv_c_bigendian=no 7969 fi 7970 5914 7971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5915 fi 7972 else 7973 $as_echo "$as_me: failed program was:" >&5 7974 sed 's/^/| /' conftest.$ac_ext >&5 7975 7976 7977 fi 7978 5916 7979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5917 7980 fi 5918 7981 if test $ac_cv_c_bigendian = unknown; then 5919 7982 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 5920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7983 cat >conftest.$ac_ext <<_ACEOF 7984 /* confdefs.h. */ 7985 _ACEOF 7986 cat confdefs.h >>conftest.$ac_ext 7987 cat >>conftest.$ac_ext <<_ACEOF 5921 7988 /* end confdefs.h. */ 5922 7989 #include <limits.h> … … 5933 8000 } 5934 8001 _ACEOF 5935 if ac_fn_c_try_compile "$LINENO"; then : 8002 rm -f conftest.$ac_objext 8003 if { (ac_try="$ac_compile" 8004 case "(($ac_try" in 8005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8006 *) ac_try_echo=$ac_try;; 8007 esac 8008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8009 $as_echo "$ac_try_echo") >&5 8010 (eval "$ac_compile") 2>conftest.er1 8011 ac_status=$? 8012 grep -v '^ *+' conftest.er1 >conftest.err 8013 rm -f conftest.er1 8014 cat conftest.err >&5 8015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8016 (exit $ac_status); } && { 8017 test -z "$ac_c_werror_flag" || 8018 test ! -s conftest.err 8019 } && test -s conftest.$ac_objext; then 5936 8020 # It does; now see whether it defined to _BIG_ENDIAN or not. 5937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8021 cat >conftest.$ac_ext <<_ACEOF 8022 /* confdefs.h. */ 8023 _ACEOF 8024 cat confdefs.h >>conftest.$ac_ext 8025 cat >>conftest.$ac_ext <<_ACEOF 5938 8026 /* end confdefs.h. */ 5939 8027 #include <limits.h> … … 5950 8038 } 5951 8039 _ACEOF 5952 if ac_fn_c_try_compile "$LINENO"; then : 8040 rm -f conftest.$ac_objext 8041 if { (ac_try="$ac_compile" 8042 case "(($ac_try" in 8043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8044 *) ac_try_echo=$ac_try;; 8045 esac 8046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8047 $as_echo "$ac_try_echo") >&5 8048 (eval "$ac_compile") 2>conftest.er1 8049 ac_status=$? 8050 grep -v '^ *+' conftest.er1 >conftest.err 8051 rm -f conftest.er1 8052 cat conftest.err >&5 8053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8054 (exit $ac_status); } && { 8055 test -z "$ac_c_werror_flag" || 8056 test ! -s conftest.err 8057 } && test -s conftest.$ac_objext; then 5953 8058 ac_cv_c_bigendian=yes 5954 8059 else 5955 ac_cv_c_bigendian=no 5956 fi 8060 $as_echo "$as_me: failed program was:" >&5 8061 sed 's/^/| /' conftest.$ac_ext >&5 8062 8063 ac_cv_c_bigendian=no 8064 fi 8065 5957 8066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5958 fi 8067 else 8068 $as_echo "$as_me: failed program was:" >&5 8069 sed 's/^/| /' conftest.$ac_ext >&5 8070 8071 8072 fi 8073 5959 8074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5960 8075 fi 5961 8076 if test $ac_cv_c_bigendian = unknown; then 5962 8077 # Compile a test program. 5963 if test "$cross_compiling" = yes; then :8078 if test "$cross_compiling" = yes; then 5964 8079 # Try to guess by grepping values from an object file. 5965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8080 cat >conftest.$ac_ext <<_ACEOF 8081 /* confdefs.h. */ 8082 _ACEOF 8083 cat confdefs.h >>conftest.$ac_ext 8084 cat >>conftest.$ac_ext <<_ACEOF 5966 8085 /* end confdefs.h. */ 5967 8086 short int ascii_mm[] = … … 5989 8108 } 5990 8109 _ACEOF 5991 if ac_fn_c_try_compile "$LINENO"; then : 8110 rm -f conftest.$ac_objext 8111 if { (ac_try="$ac_compile" 8112 case "(($ac_try" in 8113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8114 *) ac_try_echo=$ac_try;; 8115 esac 8116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8117 $as_echo "$ac_try_echo") >&5 8118 (eval "$ac_compile") 2>conftest.er1 8119 ac_status=$? 8120 grep -v '^ *+' conftest.er1 >conftest.err 8121 rm -f conftest.er1 8122 cat conftest.err >&5 8123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8124 (exit $ac_status); } && { 8125 test -z "$ac_c_werror_flag" || 8126 test ! -s conftest.err 8127 } && test -s conftest.$ac_objext; then 5992 8128 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 5993 8129 ac_cv_c_bigendian=yes … … 6001 8137 fi 6002 8138 fi 6003 fi 8139 else 8140 $as_echo "$as_me: failed program was:" >&5 8141 sed 's/^/| /' conftest.$ac_ext >&5 8142 8143 8144 fi 8145 6004 8146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6005 8147 else 6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8148 cat >conftest.$ac_ext <<_ACEOF 8149 /* confdefs.h. */ 8150 _ACEOF 8151 cat confdefs.h >>conftest.$ac_ext 8152 cat >>conftest.$ac_ext <<_ACEOF 6007 8153 /* end confdefs.h. */ 6008 8154 $ac_includes_default … … 6024 8170 } 6025 8171 _ACEOF 6026 if ac_fn_c_try_run "$LINENO"; then : 8172 rm -f conftest$ac_exeext 8173 if { (ac_try="$ac_link" 8174 case "(($ac_try" in 8175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8176 *) ac_try_echo=$ac_try;; 8177 esac 8178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8179 $as_echo "$ac_try_echo") >&5 8180 (eval "$ac_link") 2>&5 8181 ac_status=$? 8182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8184 { (case "(($ac_try" in 8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8186 *) ac_try_echo=$ac_try;; 8187 esac 8188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8189 $as_echo "$ac_try_echo") >&5 8190 (eval "$ac_try") 2>&5 8191 ac_status=$? 8192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8193 (exit $ac_status); }; }; then 6027 8194 ac_cv_c_bigendian=no 6028 8195 else 6029 ac_cv_c_bigendian=yes 6030 fi 6031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6032 conftest.$ac_objext conftest.beam conftest.$ac_ext 6033 fi 8196 $as_echo "$as_me: program exited with status $ac_status" >&5 8197 $as_echo "$as_me: failed program was:" >&5 8198 sed 's/^/| /' conftest.$ac_ext >&5 8199 8200 ( exit $ac_status ) 8201 ac_cv_c_bigendian=yes 8202 fi 8203 rm -rf conftest.dSYM 8204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8205 fi 8206 6034 8207 6035 8208 fi 6036 8209 fi 6037 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&58210 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 6038 8211 $as_echo "$ac_cv_c_bigendian" >&6; } 6039 8212 case $ac_cv_c_bigendian in #( 6040 8213 yes) 6041 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 8214 cat >>confdefs.h <<\_ACEOF 8215 #define WORDS_BIGENDIAN 1 8216 _ACEOF 6042 8217 ;; #( 6043 8218 no) … … 6045 8220 universal) 6046 8221 6047 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 8222 cat >>confdefs.h <<\_ACEOF 8223 #define AC_APPLE_UNIVERSAL_BUILD 1 8224 _ACEOF 6048 8225 6049 8226 ;; #( 6050 8227 *) 6051 as_fn_error "unknown endianness 6052 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 8228 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8229 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8230 $as_echo "$as_me: error: unknown endianness 8231 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8232 { (exit 1); exit 1; }; } ;; 6053 8233 esac 6054 8234 … … 6104 8284 *${as_nl}*) 6105 8285 case $ac_var in #( 6106 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&58286 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 6107 8287 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6108 8288 esac … … 6110 8290 _ | IFS | as_nl) ;; #( 6111 8291 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6112 *) { eval $ac_var=; unset $ac_var;};;8292 *) $as_unset $ac_var ;; 6113 8293 esac ;; 6114 8294 esac … … 6118 8298 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6119 8299 *${as_nl}ac_space=\ *) 6120 # `set' does not quote correctly, so add quotes :double-quote6121 # substitution turns \\\\ into \\, and sed turns \\ into \ .8300 # `set' does not quote correctly, so add quotes (double-quote 8301 # substitution turns \\\\ into \\, and sed turns \\ into \). 6122 8302 sed -n \ 6123 8303 "s/'/'\\\\''/g; … … 6142 8322 if test -w "$cache_file"; then 6143 8323 test "x$cache_file" != "x/dev/null" && 6144 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&58324 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 6145 8325 $as_echo "$as_me: updating cache $cache_file" >&6;} 6146 8326 cat confcache >$cache_file 6147 8327 else 6148 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&58328 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6149 8329 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6150 8330 fi … … 6166 8346 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6167 8347 # will be set to the directory where LIBOBJS objects are built. 6168 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"6169 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'8348 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8349 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 6170 8350 done 6171 8351 LIBOBJS=$ac_libobjs … … 6180 8360 ac_clean_files_save=$ac_clean_files 6181 8361 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6182 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&58362 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6183 8363 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6184 as_write_fail=0 6185 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8364 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6186 8365 #! $SHELL 6187 8366 # Generated by $as_me. … … 6193 8372 ac_cs_recheck=false 6194 8373 ac_cs_silent=false 6195 6196 8374 SHELL=\${CONFIG_SHELL-$SHELL} 6197 export SHELL 6198 _ASEOF 6199 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=16200 ## -------------------- ##6201 ## M4sh Initialization. ##6202 ## -------------------- ##8375 _ACEOF 8376 8377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8378 ## --------------------- ## 8379 ## M4sh Initialization. ## 8380 ## --------------------- ## 6203 8381 6204 8382 # Be more Bourne compatible 6205 8383 DUALCASE=1; export DUALCASE # for MKS sh 6206 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :8384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6207 8385 emulate sh 6208 8386 NULLCMD=: … … 6212 8390 setopt NO_GLOB_SUBST 6213 8391 else 6214 case `(set -o) 2>/dev/null` in #( 6215 *posix*) : 6216 set -o posix ;; #( 6217 *) : 6218 ;; 6219 esac 6220 fi 6221 8392 case `(set -o) 2>/dev/null` in 8393 *posix*) set -o posix ;; 8394 esac 8395 8396 fi 8397 8398 8399 8400 8401 # PATH needs CR 8402 # Avoid depending upon Character Ranges. 8403 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8404 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8405 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8406 as_cr_digits='0123456789' 8407 as_cr_alnum=$as_cr_Letters$as_cr_digits 6222 8408 6223 8409 as_nl=' … … 6228 8414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6229 8415 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6230 # Prefer a ksh shell builtin over an external printf program on Solaris, 6231 # but without wasting forks for bash or zsh. 6232 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6233 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6234 as_echo='print -r --' 6235 as_echo_n='print -rn --' 6236 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8416 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6237 8417 as_echo='printf %s\n' 6238 8418 as_echo_n='printf %s' … … 6245 8425 as_echo_n_body='eval 6246 8426 arg=$1; 6247 case $arg in #(8427 case $arg in 6248 8428 *"$as_nl"*) 6249 8429 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 6268 8448 fi 6269 8449 8450 # Support unset when possible. 8451 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8452 as_unset=unset 8453 else 8454 as_unset=false 8455 fi 8456 6270 8457 6271 8458 # IFS … … 6277 8464 6278 8465 # Find who we are. Look in the path if we contain no directory separator. 6279 case $0 in #((8466 case $0 in 6280 8467 *[\\/]* ) as_myself=$0 ;; 6281 8468 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 6284 8471 IFS=$as_save_IFS 6285 8472 test -z "$as_dir" && as_dir=. 6286 6287 8473 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8474 done 6288 8475 IFS=$as_save_IFS 6289 8476 … … 6297 8484 if test ! -f "$as_myself"; then 6298 8485 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6299 exit 1 6300 fi 6301 6302 # Unset variables that we do not need and which cause bugs (e.g. in 6303 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6304 # suppresses any "Segmentation fault" message there. '((' could 6305 # trigger a bug in pdksh 5.2.14. 6306 for as_var in BASH_ENV ENV MAIL MAILPATH 6307 do eval test x\${$as_var+set} = xset \ 6308 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8486 { (exit 1); exit 1; } 8487 fi 8488 8489 # Work around bugs in pre-3.0 UWIN ksh. 8490 for as_var in ENV MAIL MAILPATH 8491 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6309 8492 done 6310 8493 PS1='$ ' … … 6318 8501 export LANGUAGE 6319 8502 6320 # CDPATH. 6321 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6322 6323 6324 # as_fn_error ERROR [LINENO LOG_FD] 6325 # --------------------------------- 6326 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6327 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6328 # script with status $?, using 1 if that was 0. 6329 as_fn_error () 6330 { 6331 as_status=$?; test $as_status -eq 0 && as_status=1 6332 if test "$3"; then 6333 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6334 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 6335 fi 6336 $as_echo "$as_me: error: $1" >&2 6337 as_fn_exit $as_status 6338 } # as_fn_error 6339 6340 6341 # as_fn_set_status STATUS 6342 # ----------------------- 6343 # Set $? to STATUS, without forking. 6344 as_fn_set_status () 6345 { 6346 return $1 6347 } # as_fn_set_status 6348 6349 # as_fn_exit STATUS 6350 # ----------------- 6351 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6352 as_fn_exit () 6353 { 6354 set +e 6355 as_fn_set_status $1 6356 exit $1 6357 } # as_fn_exit 6358 6359 # as_fn_unset VAR 6360 # --------------- 6361 # Portably unset VAR. 6362 as_fn_unset () 6363 { 6364 { eval $1=; unset $1;} 6365 } 6366 as_unset=as_fn_unset 6367 # as_fn_append VAR VALUE 6368 # ---------------------- 6369 # Append the text in VALUE to the end of the definition contained in VAR. Take 6370 # advantage of any shell optimizations that allow amortized linear growth over 6371 # repeated appends, instead of the typical quadratic growth present in naive 6372 # implementations. 6373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6374 eval 'as_fn_append () 6375 { 6376 eval $1+=\$2 6377 }' 6378 else 6379 as_fn_append () 6380 { 6381 eval $1=\$$1\$2 6382 } 6383 fi # as_fn_append 6384 6385 # as_fn_arith ARG... 6386 # ------------------ 6387 # Perform arithmetic evaluation on the ARGs, and store the result in the 6388 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6389 # must be portable across $(()) and expr. 6390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6391 eval 'as_fn_arith () 6392 { 6393 as_val=$(( $* )) 6394 }' 6395 else 6396 as_fn_arith () 6397 { 6398 as_val=`expr "$@" || test $? -eq 1` 6399 } 6400 fi # as_fn_arith 6401 6402 8503 # Required to use basename. 6403 8504 if expr a : '\(a\)' >/dev/null 2>&1 && 6404 8505 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 6414 8515 fi 6415 8516 6416 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6417 as_dirname=dirname 6418 else 6419 as_dirname=false 6420 fi 6421 8517 8518 # Name of the executable. 6422 8519 as_me=`$as_basename -- "$0" || 6423 8520 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 6439 8536 s/.*/./; q'` 6440 8537 6441 # Avoid depending upon Character Ranges. 6442 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6443 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6444 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6445 as_cr_digits='0123456789' 6446 as_cr_alnum=$as_cr_Letters$as_cr_digits 8538 # CDPATH. 8539 $as_unset CDPATH 8540 8541 8542 8543 as_lineno_1=$LINENO 8544 as_lineno_2=$LINENO 8545 test "x$as_lineno_1" != "x$as_lineno_2" && 8546 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8547 8548 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8549 # uniformly replaced by the line number. The first 'sed' inserts a 8550 # line-number line after each line using $LINENO; the second 'sed' 8551 # does the real work. The second script uses 'N' to pair each 8552 # line-number line with the line containing $LINENO, and appends 8553 # trailing '-' during substitution so that $LINENO is not a special 8554 # case at line end. 8555 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8556 # scripts with optimization help from Paolo Bonzini. Blame Lee 8557 # E. McMahon (1931-1989) for sed's syntax. :-) 8558 sed -n ' 8559 p 8560 /[$]LINENO/= 8561 ' <$as_myself | 8562 sed ' 8563 s/[$]LINENO.*/&-/ 8564 t lineno 8565 b 8566 :lineno 8567 N 8568 :loop 8569 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8570 t loop 8571 s/-\n.*// 8572 ' >$as_me.lineno && 8573 chmod +x "$as_me.lineno" || 8574 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8575 { (exit 1); exit 1; }; } 8576 8577 # Don't try to exec as it changes $[0], causing all sort of problems 8578 # (the dirname of $[0] is not the place where we might find the 8579 # original and so on. Autoconf is especially sensitive to this). 8580 . "./$as_me.lineno" 8581 # Exit status is that of the last command. 8582 exit 8583 } 8584 8585 8586 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8587 as_dirname=dirname 8588 else 8589 as_dirname=false 8590 fi 6447 8591 6448 8592 ECHO_C= ECHO_N= ECHO_T= 6449 case `echo -n x` in #(((((8593 case `echo -n x` in 6450 8594 -n*) 6451 case `echo 'x y\c'` in8595 case `echo 'x\c'` in 6452 8596 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6453 xy) ECHO_C='\c';; 6454 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6455 ECHO_T=' ';; 8597 *) ECHO_C='\c';; 6456 8598 esac;; 6457 8599 *) 6458 8600 ECHO_N='-n';; 6459 8601 esac 8602 if expr a : '\(a\)' >/dev/null 2>&1 && 8603 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8604 as_expr=expr 8605 else 8606 as_expr=false 8607 fi 6460 8608 6461 8609 rm -f conf$$ conf$$.exe conf$$.file … … 6486 8634 rmdir conf$$.dir 2>/dev/null 6487 8635 6488 6489 # as_fn_mkdir_p6490 # -------------6491 # Create "$as_dir" as a directory, including parents if necessary.6492 as_fn_mkdir_p ()6493 {6494 6495 case $as_dir in #(6496 -*) as_dir=./$as_dir;;6497 esac6498 test -d "$as_dir" || eval $as_mkdir_p || {6499 as_dirs=6500 while :; do6501 case $as_dir in #(6502 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(6503 *) as_qdir=$as_dir;;6504 esac6505 as_dirs="'$as_qdir' $as_dirs"6506 as_dir=`$as_dirname -- "$as_dir" ||6507 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \6508 X"$as_dir" : 'X\(//\)[^/]' \| \6509 X"$as_dir" : 'X\(//\)$' \| \6510 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||6511 $as_echo X"$as_dir" |6512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{6513 s//\1/6514 q6515 }6516 /^X\(\/\/\)[^/].*/{6517 s//\1/6518 q6519 }6520 /^X\(\/\/\)$/{6521 s//\1/6522 q6523 }6524 /^X\(\/\).*/{6525 s//\1/6526 q6527 }6528 s/.*/./; q'`6529 test -d "$as_dir" && break6530 done6531 test -z "$as_dirs" || eval "mkdir $as_dirs"6532 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"6533 6534 6535 } # as_fn_mkdir_p6536 8636 if mkdir -p . 2>/dev/null; then 6537 as_mkdir_p= 'mkdir -p "$as_dir"'8637 as_mkdir_p=: 6538 8638 else 6539 8639 test -d ./-p && rmdir ./-p … … 6554 8654 test -d "$1/."; 6555 8655 else 6556 case $1 in #(8656 case $1 in 6557 8657 -*)set "./$1";; 6558 8658 esac; 6559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((8659 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6560 8660 ???[sx]*):;;*)false;;esac;fi 6561 8661 '\'' sh … … 6572 8672 6573 8673 exec 6>&1 6574 ## ----------------------------------- ## 6575 ## Main body of $CONFIG_STATUS script. ## 6576 ## ----------------------------------- ## 6577 _ASEOF 6578 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6579 6580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6581 # Save the log message, to keep $0 and so on meaningful, and to 8674 8675 # Save the log message, to keep $[0] and so on meaningful, and to 6582 8676 # report actual input values of CONFIG_FILES etc. instead of their 6583 8677 # values after options handling. 6584 8678 ac_log=" 6585 8679 This file was extended by $as_me, which was 6586 generated by GNU Autoconf 2.6 5. Invocation command line was8680 generated by GNU Autoconf 2.63. Invocation command line was 6587 8681 6588 8682 CONFIG_FILES = $CONFIG_FILES … … 6616 8710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6617 8711 ac_cs_usage="\ 6618 \`$as_me' instantiates files and other configuration actions 6619 from templates according to the current configuration. Unless the files 6620 and actions are specified as TAGs, all are instantiated by default. 6621 6622 Usage: $0 [OPTION]... [TAG]... 8712 \`$as_me' instantiates files from templates according to the 8713 current configuration. 8714 8715 Usage: $0 [OPTION]... [FILE]... 6623 8716 6624 8717 -h, --help print this help, then exit 6625 8718 -V, --version print version number and configuration settings, then exit 6626 --config print configuration, then exit6627 8719 -q, --quiet, --silent 6628 8720 do not print progress messages … … 6643 8735 $config_commands 6644 8736 6645 Report bugs to the package provider."8737 Report bugs to <[email protected]>." 6646 8738 6647 8739 _ACEOF 6648 8740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6649 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"6650 8741 ac_cs_version="\\ 6651 8742 config.status 6652 configured by $0, generated by GNU Autoconf 2.6 5,6653 with options \\" \$ac_cs_config\\"6654 6655 Copyright (C) 200 9Free Software Foundation, Inc.8743 configured by $0, generated by GNU Autoconf 2.63, 8744 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8745 8746 Copyright (C) 2008 Free Software Foundation, Inc. 6656 8747 This config.status script is free software; the Free Software Foundation 6657 8748 gives unlimited permission to copy, distribute and modify it." … … 6688 8779 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6689 8780 $as_echo "$ac_cs_version"; exit ;; 6690 --config | --confi | --conf | --con | --co | --c )6691 $as_echo "$ac_cs_config"; exit ;;6692 8781 --debug | --debu | --deb | --de | --d | -d ) 6693 8782 debug=: ;; … … 6697 8786 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6698 8787 esac 6699 as_fn_append CONFIG_FILES "'$ac_optarg'"8788 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 6700 8789 ac_need_defaults=false;; 6701 8790 --header | --heade | --head | --hea ) … … 6704 8793 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6705 8794 esac 6706 as_fn_append CONFIG_HEADERS "'$ac_optarg'"8795 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 6707 8796 ac_need_defaults=false;; 6708 8797 --he | --h) 6709 8798 # Conflict between --help and --header 6710 as_fn_error "ambiguous option: \`$1' 6711 Try \`$0 --help' for more information.";; 8799 { $as_echo "$as_me: error: ambiguous option: $1 8800 Try \`$0 --help' for more information." >&2 8801 { (exit 1); exit 1; }; };; 6712 8802 --help | --hel | -h ) 6713 8803 $as_echo "$ac_cs_usage"; exit ;; … … 6717 8807 6718 8808 # This is an error. 6719 -*) as_fn_error "unrecognized option: \`$1' 6720 Try \`$0 --help' for more information." ;; 6721 6722 *) as_fn_append ac_config_targets " $1" 8809 -*) { $as_echo "$as_me: error: unrecognized option: $1 8810 Try \`$0 --help' for more information." >&2 8811 { (exit 1); exit 1; }; } ;; 8812 8813 *) ac_config_targets="$ac_config_targets $1" 6723 8814 ac_need_defaults=false ;; 6724 8815 … … 6774 8865 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 6775 8866 6776 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8867 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8868 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8869 { (exit 1); exit 1; }; };; 6777 8870 esac 6778 8871 done … … 6801 8894 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6802 8895 ' 0 6803 trap ' as_fn_exit 1' 1 2 13 158896 trap '{ (exit 1); exit 1; }' 1 2 13 15 6804 8897 } 6805 8898 # Create a (secure) tmp directory for tmp files. … … 6812 8905 tmp=./conf$$-$RANDOM 6813 8906 (umask 077 && mkdir "$tmp") 6814 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 8907 } || 8908 { 8909 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8910 { (exit 1); exit 1; } 8911 } 6815 8912 6816 8913 # Set up the scripts for CONFIG_FILES section. … … 6820 8917 6821 8918 6822 ac_cr=`echo X | tr X '\015'` 6823 # On cygwin, bash can eat \r inside `` if the user requested igncr. 6824 # But we know of no other shell where ac_cr would be empty at this 6825 # point, so we can use a bashism as a fallback. 6826 if test "x$ac_cr" = x; then 6827 eval ac_cr=\$\'\\r\' 6828 fi 8919 ac_cr=' 8920 ' 6829 8921 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6830 8922 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6831 ac_cs_awk_cr='\ r'8923 ac_cs_awk_cr='\\r' 6832 8924 else 6833 8925 ac_cs_awk_cr=$ac_cr … … 6843 8935 echo "_ACEOF" 6844 8936 } >conf$$subs.sh || 6845 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8937 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8938 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8939 { (exit 1); exit 1; }; } 6846 8940 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6847 8941 ac_delim='%!_!# ' 6848 8942 for ac_last_try in false false false false false :; do 6849 8943 . ./conf$$subs.sh || 6850 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8944 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8945 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8946 { (exit 1); exit 1; }; } 6851 8947 6852 8948 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 6854 8950 break 6855 8951 elif $ac_last_try; then 6856 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8952 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8953 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8954 { (exit 1); exit 1; }; } 6857 8955 else 6858 8956 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 6876 8974 :nl 6877 8975 h 6878 s/\(.\{148\}\). .*/\1/8976 s/\(.\{148\}\).*/\1/ 6879 8977 t more1 6880 8978 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 6890 8988 :delim 6891 8989 h 6892 s/\(.\{148\}\). .*/\1/8990 s/\(.\{148\}\).*/\1/ 6893 8991 t more2 6894 8992 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 6943 9041 cat 6944 9042 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6945 || as_fn_error "could not setup config files machinery" "$LINENO" 5 9043 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9044 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9045 { (exit 1); exit 1; }; } 6946 9046 _ACEOF 6947 9047 … … 6984 9084 break 6985 9085 elif $ac_last_try; then 6986 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 9086 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9087 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9088 { (exit 1); exit 1; }; } 6987 9089 else 6988 9090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 7069 9171 _ACEOF 7070 9172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7071 as_fn_error "could not setup config headers machinery" "$LINENO" 5 9173 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9174 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9175 { (exit 1); exit 1; }; } 7072 9176 fi # test -n "$CONFIG_HEADERS" 7073 9177 … … 7082 9186 case $ac_mode$ac_tag in 7083 9187 :[FHL]*:*);; 7084 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 9188 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9189 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9190 { (exit 1); exit 1; }; };; 7085 9191 :[FH]-) ac_tag=-:-;; 7086 9192 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 7110 9216 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7111 9217 esac || 7112 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9218 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9219 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9220 { (exit 1); exit 1; }; };; 7113 9221 esac 7114 9222 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7115 a s_fn_append ac_file_inputs "'$ac_f'"9223 ac_file_inputs="$ac_file_inputs '$ac_f'" 7116 9224 done 7117 9225 … … 7124 9232 if test x"$ac_file" != x-; then 7125 9233 configure_input="$ac_file. $configure_input" 7126 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&59234 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 7127 9235 $as_echo "$as_me: creating $ac_file" >&6;} 7128 9236 fi … … 7137 9245 case $ac_tag in 7138 9246 *:-:* | *:-) cat >"$tmp/stdin" \ 7139 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 9247 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9248 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9249 { (exit 1); exit 1; }; } ;; 7140 9250 esac 7141 9251 ;; … … 7165 9275 } 7166 9276 s/.*/./; q'` 7167 as_dir="$ac_dir"; as_fn_mkdir_p 9277 { as_dir="$ac_dir" 9278 case $as_dir in #( 9279 -*) as_dir=./$as_dir;; 9280 esac 9281 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9282 as_dirs= 9283 while :; do 9284 case $as_dir in #( 9285 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9286 *) as_qdir=$as_dir;; 9287 esac 9288 as_dirs="'$as_qdir' $as_dirs" 9289 as_dir=`$as_dirname -- "$as_dir" || 9290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9291 X"$as_dir" : 'X\(//\)[^/]' \| \ 9292 X"$as_dir" : 'X\(//\)$' \| \ 9293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9294 $as_echo X"$as_dir" | 9295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9296 s//\1/ 9297 q 9298 } 9299 /^X\(\/\/\)[^/].*/{ 9300 s//\1/ 9301 q 9302 } 9303 /^X\(\/\/\)$/{ 9304 s//\1/ 9305 q 9306 } 9307 /^X\(\/\).*/{ 9308 s//\1/ 9309 q 9310 } 9311 s/.*/./; q'` 9312 test -d "$as_dir" && break 9313 done 9314 test -z "$as_dirs" || eval "mkdir $as_dirs" 9315 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9316 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9317 { (exit 1); exit 1; }; }; } 7168 9318 ac_builddir=. 7169 9319 … … 7217 9367 # FIXME: This hack should be removed a few years after 2.60. 7218 9368 ac_datarootdir_hack=; ac_datarootdir_seen= 9369 7219 9370 ac_sed_dataroot=' 7220 9371 /datarootdir/ { … … 7226 9377 /@infodir@/p 7227 9378 /@localedir@/p 7228 /@mandir@/p' 9379 /@mandir@/p 9380 ' 7229 9381 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7230 9382 *datarootdir*) ac_datarootdir_seen=yes;; 7231 9383 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7232 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&59384 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7233 9385 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7234 9386 _ACEOF … … 7240 9392 s&@localedir@&$localedir&g 7241 9393 s&@mandir@&$mandir&g 7242 s&\\\${datarootdir}&$datarootdir&g' ;;9394 s&\\\${datarootdir}&$datarootdir&g' ;; 7243 9395 esac 7244 9396 _ACEOF … … 7268 9420 " 7269 9421 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7270 || as_fn_error "could not create $ac_file" "$LINENO" 5 9422 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9423 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9424 { (exit 1); exit 1; }; } 7271 9425 7272 9426 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7273 9427 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7274 9428 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7275 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'9429 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7276 9430 which seems to be undefined. Please make sure it is defined." >&5 7277 9431 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' … … 7283 9437 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7284 9438 esac \ 7285 || as_fn_error "could not create $ac_file" "$LINENO" 5 9439 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9440 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9441 { (exit 1); exit 1; }; } 7286 9442 ;; 7287 9443 :H) … … 7294 9450 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7295 9451 } >"$tmp/config.h" \ 7296 || as_fn_error "could not create $ac_file" "$LINENO" 5 9452 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9453 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9454 { (exit 1); exit 1; }; } 7297 9455 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7298 { $as_echo "$as_me:$ {as_lineno-$LINENO}: $ac_file is unchanged" >&59456 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7299 9457 $as_echo "$as_me: $ac_file is unchanged" >&6;} 7300 9458 else 7301 9459 rm -f "$ac_file" 7302 9460 mv "$tmp/config.h" "$ac_file" \ 7303 || as_fn_error "could not create $ac_file" "$LINENO" 5 9461 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9462 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9463 { (exit 1); exit 1; }; } 7304 9464 fi 7305 9465 else 7306 9466 $as_echo "/* $configure_input */" \ 7307 9467 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7308 || as_fn_error "could not create -" "$LINENO" 5 9468 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 9469 $as_echo "$as_me: error: could not create -" >&2;} 9470 { (exit 1); exit 1; }; } 7309 9471 fi 7310 9472 ;; 7311 9473 7312 :C) { $as_echo "$as_me:$ {as_lineno-$LINENO}: executing $ac_file commands" >&59474 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 7313 9475 $as_echo "$as_me: executing $ac_file commands" >&6;} 7314 9476 ;; … … 7323 9485 7324 9486 7325 as_fn_exit 0 7326 _ACEOF 9487 { (exit 0); exit 0; } 9488 _ACEOF 9489 chmod +x $CONFIG_STATUS 7327 9490 ac_clean_files=$ac_clean_files_save 7328 9491 7329 9492 test $ac_write_fail = 0 || 7330 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 9493 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 9494 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 9495 { (exit 1); exit 1; }; } 7331 9496 7332 9497 … … 7349 9514 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7350 9515 # would make configure fail if this is the last instruction. 7351 $ac_cs_success || as_fn_exit $?9516 $ac_cs_success || { (exit 1); exit 1; } 7352 9517 fi 7353 9518 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7354 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&59519 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7355 9520 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7356 9521 fi -
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 -
main/trunk/greenstone2/common-src/indexers/mgpp/configure.in
r25147 r25148 33 33 fi 34 34 AC_SUBST(ENABLE_JAVA) 35 36 dnl AC_MSG_CHECKING(to see if architecture is 64-bit)37 dnl arch_64bit=no38 dnl case "$host_cpu" in39 dnl x86_64) arch_64bit=yes ;;40 dnl esac41 35 42 36 dnl -
main/trunk/greenstone2/common-src/indexers/packages/unac/Makefile.in
r20840 r25148 32 32 DEFS = @DEFS@ -DUNAC_VERSION=\"$(VERSION)\" 33 33 INCLUDES = -I../../../packages/iconv/include 34 CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@34 CFLAGS = @CFLAGS@ 35 35 36 36 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) -
main/trunk/greenstone2/common-src/indexers/packages/unac/configure
r16583 r25148 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 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 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 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 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 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 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 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= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 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 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 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" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 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. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 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 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 192 501 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 231 570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 571 233 234 # IFS235 # We need space, tab and new line, in precisely that order.236 as_nl='237 '238 IFS=" $as_nl"239 240 # CDPATH.241 $as_unset CDPATH242 572 243 573 … … 401 731 402 732 733 exec 7<&0 </dev/null 6>&1 734 403 735 # Name of the host. 404 736 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, … … 406 738 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 407 739 408 exec 6>&1409 410 740 # 411 741 # Initializations. 412 742 # 413 743 ac_default_prefix=/usr/local 744 ac_clean_files= 414 745 ac_config_libobj_dir=. 746 LIBOBJS= 415 747 cross_compiling=no 416 748 subdirs= … … 418 750 MAKEFLAGS= 419 751 SHELL=${CONFIG_SHELL-/bin/sh} 420 421 # Maximum number of lines to put in a shell here document.422 # This variable seems obsolete. It should probably be removed, and423 # only ac_max_sed_lines should be used.424 : ${ac_max_here_lines=38}425 752 426 753 # Identity of this package. … … 435 762 ac_includes_default="\ 436 763 #include <stdio.h> 437 #if HAVE_SYS_TYPES_H764 #ifdef HAVE_SYS_TYPES_H 438 765 # include <sys/types.h> 439 766 #endif 440 #if HAVE_SYS_STAT_H767 #ifdef HAVE_SYS_STAT_H 441 768 # include <sys/stat.h> 442 769 #endif 443 #if STDC_HEADERS770 #ifdef STDC_HEADERS 444 771 # include <stdlib.h> 445 772 # include <stddef.h> 446 773 #else 447 # if HAVE_STDLIB_H774 # ifdef HAVE_STDLIB_H 448 775 # include <stdlib.h> 449 776 # endif 450 777 #endif 451 #if HAVE_STRING_H452 # if ! STDC_HEADERS &&HAVE_MEMORY_H778 #ifdef HAVE_STRING_H 779 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 453 780 # include <memory.h> 454 781 # endif 455 782 # include <string.h> 456 783 #endif 457 #if HAVE_STRINGS_H784 #ifdef HAVE_STRINGS_H 458 785 # include <strings.h> 459 786 #endif 460 #if HAVE_INTTYPES_H787 #ifdef HAVE_INTTYPES_H 461 788 # include <inttypes.h> 462 #else463 # if HAVE_STDINT_H464 # include <stdint.h>465 # endif466 789 #endif 467 #if HAVE_UNISTD_H 790 #ifdef HAVE_STDINT_H 791 # include <stdint.h> 792 #endif 793 #ifdef HAVE_UNISTD_H 468 794 # include <unistd.h> 469 795 #endif" 470 796 471 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SET_MAKE COMPAT32BITFLAGS UNICODE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL PERL SH MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBICONV LTLIBICONV LIBOBJS LTLIBOBJS' 797 ac_subst_vars='LTLIBOBJS 798 LIBOBJS 799 LTLIBICONV 800 LIBICONV 801 MAINT 802 MAINTAINER_MODE_FALSE 803 MAINTAINER_MODE_TRUE 804 SH 805 PERL 806 LIBTOOL 807 STRIP 808 RANLIB 809 ECHO 810 LN_S 811 EGREP 812 GREP 813 CPP 814 OBJEXT 815 EXEEXT 816 ac_ct_CC 817 CPPFLAGS 818 LDFLAGS 819 CFLAGS 820 CC 821 UNICODE_VERSION 822 SET_MAKE 823 target_os 824 target_vendor 825 target_cpu 826 target 827 host_os 828 host_vendor 829 host_cpu 830 host 831 build_os 832 build_vendor 833 build_cpu 834 build 835 VERSION 836 target_alias 837 host_alias 838 build_alias 839 LIBS 840 ECHO_T 841 ECHO_N 842 ECHO_C 843 DEFS 844 mandir 845 localedir 846 libdir 847 psdir 848 pdfdir 849 dvidir 850 htmldir 851 infodir 852 docdir 853 oldincludedir 854 includedir 855 localstatedir 856 sharedstatedir 857 sysconfdir 858 datadir 859 datarootdir 860 libexecdir 861 sbindir 862 bindir 863 program_transform_name 864 prefix 865 exec_prefix 866 PACKAGE_BUGREPORT 867 PACKAGE_STRING 868 PACKAGE_VERSION 869 PACKAGE_TARNAME 870 PACKAGE_NAME 871 PATH_SEPARATOR 872 SHELL' 472 873 ac_subst_files='' 874 ac_user_opts=' 875 enable_option_checking 876 enable_shared 877 enable_static 878 enable_fast_install 879 with_gnu_ld 880 enable_libtool_lock 881 with_pic 882 enable_maintainer_mode 883 enable_rpath 884 with_libiconv_prefix 885 ' 886 ac_precious_vars='build_alias 887 host_alias 888 target_alias 889 CC 890 CFLAGS 891 LDFLAGS 892 LIBS 893 CPPFLAGS 894 CPP' 895 473 896 474 897 # Initialize some variables set by options. 475 898 ac_init_help= 476 899 ac_init_version=false 900 ac_unrecognized_opts= 901 ac_unrecognized_sep= 477 902 # The variables have the same names as the options, with 478 903 # dashes changed to underlines. … … 497 922 # by default will actually change. 498 923 # Use braces instead of parens because sh, perl, etc. also accept them. 924 # (The list follows the same order as the GNU Coding Standards.) 499 925 bindir='${exec_prefix}/bin' 500 926 sbindir='${exec_prefix}/sbin' 501 927 libexecdir='${exec_prefix}/libexec' 502 datadir='${prefix}/share' 928 datarootdir='${prefix}/share' 929 datadir='${datarootdir}' 503 930 sysconfdir='${prefix}/etc' 504 931 sharedstatedir='${prefix}/com' 505 932 localstatedir='${prefix}/var' 506 libdir='${exec_prefix}/lib'507 933 includedir='${prefix}/include' 508 934 oldincludedir='/usr/include' 509 infodir='${prefix}/info' 510 mandir='${prefix}/man' 935 docdir='${datarootdir}/doc/${PACKAGE}' 936 infodir='${datarootdir}/info' 937 htmldir='${docdir}' 938 dvidir='${docdir}' 939 pdfdir='${docdir}' 940 psdir='${docdir}' 941 libdir='${exec_prefix}/lib' 942 localedir='${datarootdir}/locale' 943 mandir='${datarootdir}/man' 511 944 512 945 ac_prev= 946 ac_dashdash= 513 947 for ac_option 514 948 do 515 949 # If the previous option needs an argument, assign it. 516 950 if test -n "$ac_prev"; then 517 eval "$ac_prev=\$ac_option"951 eval $ac_prev=\$ac_option 518 952 ac_prev= 519 953 continue 520 954 fi 521 955 522 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 956 case $ac_option in 957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 958 *) ac_optarg=yes ;; 959 esac 523 960 524 961 # Accept the important Cygnus configure options, so we can diagnose typos. 525 962 526 case $ac_option in 963 case $ac_dashdash$ac_option in 964 --) 965 ac_dashdash=yes ;; 527 966 528 967 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 546 985 cache_file=config.cache ;; 547 986 548 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)987 -datadir | --datadir | --datadi | --datad) 549 988 ac_prev=datadir ;; 550 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 551 | --da=*) 989 -datadir=* | --datadir=* | --datadi=* | --datad=*) 552 990 datadir=$ac_optarg ;; 553 991 992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 993 | --dataroo | --dataro | --datar) 994 ac_prev=datarootdir ;; 995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 997 datarootdir=$ac_optarg ;; 998 554 999 -disable-* | --disable-*) 555 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 556 1001 # Reject names that are not valid shell variable names. 557 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&558 { echo "$as_me: error: invalid feature name: $ac_feature" >&21002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1003 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 559 1004 { (exit 1); exit 1; }; } 560 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 561 eval "enable_$ac_feature=no" ;; 1005 ac_useropt_orig=$ac_useropt 1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1007 case $ac_user_opts in 1008 *" 1009 "enable_$ac_useropt" 1010 "*) ;; 1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1012 ac_unrecognized_sep=', ';; 1013 esac 1014 eval enable_$ac_useropt=no ;; 1015 1016 -docdir | --docdir | --docdi | --doc | --do) 1017 ac_prev=docdir ;; 1018 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1019 docdir=$ac_optarg ;; 1020 1021 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1022 ac_prev=dvidir ;; 1023 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1024 dvidir=$ac_optarg ;; 562 1025 563 1026 -enable-* | --enable-*) 564 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`1027 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 565 1028 # Reject names that are not valid shell variable names. 566 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&567 { echo "$as_me: error: invalid feature name: $ac_feature" >&21029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1030 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 568 1031 { (exit 1); exit 1; }; } 569 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 570 case $ac_option in 571 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 572 *) ac_optarg=yes ;; 1032 ac_useropt_orig=$ac_useropt 1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1034 case $ac_user_opts in 1035 *" 1036 "enable_$ac_useropt" 1037 "*) ;; 1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1039 ac_unrecognized_sep=', ';; 573 1040 esac 574 eval "enable_$ac_feature='$ac_optarg'";;1041 eval enable_$ac_useropt=\$ac_optarg ;; 575 1042 576 1043 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 599 1066 host_alias=$ac_optarg ;; 600 1067 1068 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1069 ac_prev=htmldir ;; 1070 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1071 | --ht=*) 1072 htmldir=$ac_optarg ;; 1073 601 1074 -includedir | --includedir | --includedi | --included | --include \ 602 1075 | --includ | --inclu | --incl | --inc) … … 623 1096 libexecdir=$ac_optarg ;; 624 1097 1098 -localedir | --localedir | --localedi | --localed | --locale) 1099 ac_prev=localedir ;; 1100 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1101 localedir=$ac_optarg ;; 1102 625 1103 -localstatedir | --localstatedir | --localstatedi | --localstated \ 626 | --localstate | --localstat | --localsta | --localst \ 627 | --locals | --local | --loca | --loc | --lo) 1104 | --localstate | --localstat | --localsta | --localst | --locals) 628 1105 ac_prev=localstatedir ;; 629 1106 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 630 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 631 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 1107 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 632 1108 localstatedir=$ac_optarg ;; 633 1109 … … 694 1170 program_transform_name=$ac_optarg ;; 695 1171 1172 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1173 ac_prev=pdfdir ;; 1174 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1175 pdfdir=$ac_optarg ;; 1176 1177 -psdir | --psdir | --psdi | --psd | --ps) 1178 ac_prev=psdir ;; 1179 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1180 psdir=$ac_optarg ;; 1181 696 1182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 697 1183 | -silent | --silent | --silen | --sile | --sil) … … 744 1230 745 1231 -with-* | --with-*) 746 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1232 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 747 1233 # Reject names that are not valid shell variable names. 748 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&749 { echo "$as_me: error: invalid package name: $ac_package" >&21234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1235 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 750 1236 { (exit 1); exit 1; }; } 751 ac_package=`echo $ac_package| sed 's/-/_/g'` 752 case $ac_option in 753 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 754 *) ac_optarg=yes ;; 1237 ac_useropt_orig=$ac_useropt 1238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1239 case $ac_user_opts in 1240 *" 1241 "with_$ac_useropt" 1242 "*) ;; 1243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1244 ac_unrecognized_sep=', ';; 755 1245 esac 756 eval "with_$ac_package='$ac_optarg'";;1246 eval with_$ac_useropt=\$ac_optarg ;; 757 1247 758 1248 -without-* | --without-*) 759 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1249 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 760 1250 # Reject names that are not valid shell variable names. 761 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&762 { echo "$as_me: error: invalid package name: $ac_package" >&21251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1252 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 763 1253 { (exit 1); exit 1; }; } 764 ac_package=`echo $ac_package | sed 's/-/_/g'` 765 eval "with_$ac_package=no" ;; 1254 ac_useropt_orig=$ac_useropt 1255 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1256 case $ac_user_opts in 1257 *" 1258 "with_$ac_useropt" 1259 "*) ;; 1260 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1261 ac_unrecognized_sep=', ';; 1262 esac 1263 eval with_$ac_useropt=no ;; 766 1264 767 1265 --x) … … 783 1281 x_libraries=$ac_optarg ;; 784 1282 785 -*) { echo "$as_me: error: unrecognized option: $ac_option1283 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 786 1284 Try \`$0 --help' for more information." >&2 787 1285 { (exit 1); exit 1; }; } … … 792 1290 # Reject names that are not valid shell variable names. 793 1291 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 794 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21292 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 795 1293 { (exit 1); exit 1; }; } 796 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 797 eval "$ac_envvar='$ac_optarg'" 1294 eval $ac_envvar=\$ac_optarg 798 1295 export $ac_envvar ;; 799 1296 800 1297 *) 801 1298 # FIXME: should be removed in autoconf 3.0. 802 echo "$as_me: WARNING: you should use --build, --host, --target" >&21299 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 803 1300 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 804 echo "$as_me: WARNING: invalid host type: $ac_option" >&21301 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 805 1302 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 806 1303 ;; … … 811 1308 if test -n "$ac_prev"; then 812 1309 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 813 { echo "$as_me: error: missing argument to $ac_option" >&21310 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 814 1311 { (exit 1); exit 1; }; } 815 1312 fi 816 1313 817 # Be sure to have absolute paths. 818 for ac_var in exec_prefix prefix 1314 if test -n "$ac_unrecognized_opts"; then 1315 case $enable_option_checking in 1316 no) ;; 1317 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1318 { (exit 1); exit 1; }; } ;; 1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1320 esac 1321 fi 1322 1323 # Check all directory arguments for consistency. 1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1325 datadir sysconfdir sharedstatedir localstatedir includedir \ 1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1327 libdir localedir mandir 819 1328 do 820 eval ac_val=$`echo $ac_var` 1329 eval ac_val=\$$ac_var 1330 # Remove trailing slashes. 821 1331 case $ac_val in 822 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;823 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2824 { (exit 1); exit 1; }; };;1332 */ ) 1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1334 eval $ac_var=\$ac_val;; 825 1335 esac 826 done 827 828 # Be sure to have absolute paths. 829 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 830 localstatedir libdir includedir oldincludedir infodir mandir 831 do 832 eval ac_val=$`echo $ac_var` 1336 # Be sure to have absolute directory names. 833 1337 case $ac_val in 834 [\\/$]* | ?:[\\/]* ) ;; 835 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 836 { (exit 1); exit 1; }; };; 1338 [\\/$]* | ?:[\\/]* ) continue;; 1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 837 1340 esac 1341 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1342 { (exit 1); exit 1; }; } 838 1343 done 839 1344 … … 849 1354 if test "x$build_alias" = x; then 850 1355 cross_compiling=maybe 851 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1356 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 852 1357 If a cross compiler is detected then cross compile mode will be used." >&2 853 1358 elif test "x$build_alias" != "x$host_alias"; then … … 862 1367 863 1368 1369 ac_pwd=`pwd` && test -n "$ac_pwd" && 1370 ac_ls_di=`ls -di .` && 1371 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1372 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1373 { (exit 1); exit 1; }; } 1374 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1375 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1376 { (exit 1); exit 1; }; } 1377 1378 864 1379 # Find the source files, if location was not specified. 865 1380 if test -z "$srcdir"; then 866 1381 ac_srcdir_defaulted=yes 867 # Try the directory containing this script, then its parent. 868 ac_confdir=`(dirname "$0") 2>/dev/null || 869 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 870 X"$0" : 'X\(//\)[^/]' \| \ 871 X"$0" : 'X\(//\)$' \| \ 872 X"$0" : 'X\(/\)' \| \ 873 . : '\(.\)' 2>/dev/null || 874 echo X"$0" | 875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 876 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 877 /^X\(\/\/\)$/{ s//\1/; q; } 878 /^X\(\/\).*/{ s//\1/; q; } 879 s/.*/./; q'` 1382 # Try the directory containing this script, then the parent directory. 1383 ac_confdir=`$as_dirname -- "$as_myself" || 1384 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1385 X"$as_myself" : 'X\(//\)[^/]' \| \ 1386 X"$as_myself" : 'X\(//\)$' \| \ 1387 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1388 $as_echo X"$as_myself" | 1389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1390 s//\1/ 1391 q 1392 } 1393 /^X\(\/\/\)[^/].*/{ 1394 s//\1/ 1395 q 1396 } 1397 /^X\(\/\/\)$/{ 1398 s//\1/ 1399 q 1400 } 1401 /^X\(\/\).*/{ 1402 s//\1/ 1403 q 1404 } 1405 s/.*/./; q'` 880 1406 srcdir=$ac_confdir 881 if test ! -r $srcdir/$ac_unique_file; then1407 if test ! -r "$srcdir/$ac_unique_file"; then 882 1408 srcdir=.. 883 1409 fi … … 885 1411 ac_srcdir_defaulted=no 886 1412 fi 887 if test ! -r $srcdir/$ac_unique_file; then888 if test "$ac_srcdir_defaulted" = yes; then889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21413 if test ! -r "$srcdir/$ac_unique_file"; then 1414 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1415 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 890 1416 { (exit 1); exit 1; }; } 891 else 892 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1417 fi 1418 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1419 ac_abs_confdir=`( 1420 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 893 1421 { (exit 1); exit 1; }; } 894 fi 895 fi 896 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 897 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 898 { (exit 1); exit 1; }; } 899 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 900 ac_env_build_alias_set=${build_alias+set} 901 ac_env_build_alias_value=$build_alias 902 ac_cv_env_build_alias_set=${build_alias+set} 903 ac_cv_env_build_alias_value=$build_alias 904 ac_env_host_alias_set=${host_alias+set} 905 ac_env_host_alias_value=$host_alias 906 ac_cv_env_host_alias_set=${host_alias+set} 907 ac_cv_env_host_alias_value=$host_alias 908 ac_env_target_alias_set=${target_alias+set} 909 ac_env_target_alias_value=$target_alias 910 ac_cv_env_target_alias_set=${target_alias+set} 911 ac_cv_env_target_alias_value=$target_alias 912 ac_env_CC_set=${CC+set} 913 ac_env_CC_value=$CC 914 ac_cv_env_CC_set=${CC+set} 915 ac_cv_env_CC_value=$CC 916 ac_env_CFLAGS_set=${CFLAGS+set} 917 ac_env_CFLAGS_value=$CFLAGS 918 ac_cv_env_CFLAGS_set=${CFLAGS+set} 919 ac_cv_env_CFLAGS_value=$CFLAGS 920 ac_env_LDFLAGS_set=${LDFLAGS+set} 921 ac_env_LDFLAGS_value=$LDFLAGS 922 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 923 ac_cv_env_LDFLAGS_value=$LDFLAGS 924 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 925 ac_env_CPPFLAGS_value=$CPPFLAGS 926 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 927 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 928 ac_env_CPP_set=${CPP+set} 929 ac_env_CPP_value=$CPP 930 ac_cv_env_CPP_set=${CPP+set} 931 ac_cv_env_CPP_value=$CPP 1422 pwd)` 1423 # When building in place, set srcdir=. 1424 if test "$ac_abs_confdir" = "$ac_pwd"; then 1425 srcdir=. 1426 fi 1427 # Remove unnecessary trailing slashes from srcdir. 1428 # Double slashes in file names in object file debugging info 1429 # mess up M-x gdb in Emacs. 1430 case $srcdir in 1431 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1432 esac 1433 for ac_var in $ac_precious_vars; do 1434 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1435 eval ac_env_${ac_var}_value=\$${ac_var} 1436 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1437 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1438 done 932 1439 933 1440 # … … 958 1465 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 959 1466 960 _ACEOF961 962 cat <<_ACEOF963 1467 Installation directories: 964 1468 --prefix=PREFIX install architecture-independent files in PREFIX 965 1469 [$ac_default_prefix] 966 1470 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 967 1471 [PREFIX] 968 1472 969 1473 By default, \`make install' will install all the files in … … 975 1479 976 1480 Fine tuning of the installation directories: 977 --bindir=DIR user executables [EPREFIX/bin] 978 --sbindir=DIR system admin executables [EPREFIX/sbin] 979 --libexecdir=DIR program executables [EPREFIX/libexec] 980 --datadir=DIR read-only architecture-independent data [PREFIX/share] 981 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 982 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 983 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 984 --libdir=DIR object code libraries [EPREFIX/lib] 985 --includedir=DIR C header files [PREFIX/include] 986 --oldincludedir=DIR C header files for non-gcc [/usr/include] 987 --infodir=DIR info documentation [PREFIX/info] 988 --mandir=DIR man documentation [PREFIX/man] 1481 --bindir=DIR user executables [EPREFIX/bin] 1482 --sbindir=DIR system admin executables [EPREFIX/sbin] 1483 --libexecdir=DIR program executables [EPREFIX/libexec] 1484 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1485 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1486 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1487 --libdir=DIR object code libraries [EPREFIX/lib] 1488 --includedir=DIR C header files [PREFIX/include] 1489 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1490 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1491 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1492 --infodir=DIR info documentation [DATAROOTDIR/info] 1493 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1494 --mandir=DIR man documentation [DATAROOTDIR/man] 1495 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1496 --htmldir=DIR html documentation [DOCDIR] 1497 --dvidir=DIR dvi documentation [DOCDIR] 1498 --pdfdir=DIR pdf documentation [DOCDIR] 1499 --psdir=DIR ps documentation [DOCDIR] 989 1500 _ACEOF 990 1501 … … 1003 1514 1004 1515 Optional Features: 1516 --disable-option-checking ignore unrecognized --enable/--with options 1005 1517 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1006 1518 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1026 1538 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1027 1539 nonstandard directory <lib dir> 1028 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1029 headers in a nonstandard directory <include dir> 1540 LIBS libraries to pass to the linker, e.g. -l<library> 1541 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1542 you have headers in a nonstandard directory <include dir> 1030 1543 CPP C preprocessor 1031 1544 … … 1034 1547 1035 1548 _ACEOF 1549 ac_status=$? 1036 1550 fi 1037 1551 1038 1552 if test "$ac_init_help" = "recursive"; then 1039 1553 # If there are subdirs, report their specific --help. 1040 ac_popdir=`pwd`1041 1554 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1042 test -d $ac_dir || continue 1555 test -d "$ac_dir" || 1556 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1557 continue 1043 1558 ac_builddir=. 1044 1559 1045 if test "$ac_dir" != .; then 1046 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1047 # A "../" for each directory in $ac_dir_suffix. 1048 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1049 else 1050 ac_dir_suffix= ac_top_builddir= 1051 fi 1560 case "$ac_dir" in 1561 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1562 *) 1563 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1564 # A ".." for each directory in $ac_dir_suffix. 1565 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1566 case $ac_top_builddir_sub in 1567 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1568 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1569 esac ;; 1570 esac 1571 ac_abs_top_builddir=$ac_pwd 1572 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1573 # for backward compatibility: 1574 ac_top_builddir=$ac_top_build_prefix 1052 1575 1053 1576 case $srcdir in 1054 .) # No --srcdir option.We are building in place.1577 .) # We are building in place. 1055 1578 ac_srcdir=. 1056 if test -z "$ac_top_builddir"; then 1057 ac_top_srcdir=. 1579 ac_top_srcdir=$ac_top_builddir_sub 1580 ac_abs_top_srcdir=$ac_pwd ;; 1581 [\\/]* | ?:[\\/]* ) # Absolute name. 1582 ac_srcdir=$srcdir$ac_dir_suffix; 1583 ac_top_srcdir=$srcdir 1584 ac_abs_top_srcdir=$srcdir ;; 1585 *) # Relative name. 1586 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1587 ac_top_srcdir=$ac_top_build_prefix$srcdir 1588 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1589 esac 1590 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1591 1592 cd "$ac_dir" || { ac_status=$?; continue; } 1593 # Check for guested configure. 1594 if test -f "$ac_srcdir/configure.gnu"; then 1595 echo && 1596 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1597 elif test -f "$ac_srcdir/configure"; then 1598 echo && 1599 $SHELL "$ac_srcdir/configure" --help=recursive 1058 1600 else 1059 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1060 fi ;; 1061 [\\/]* | ?:[\\/]* ) # Absolute path. 1062 ac_srcdir=$srcdir$ac_dir_suffix; 1063 ac_top_srcdir=$srcdir ;; 1064 *) # Relative path. 1065 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1066 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1067 esac 1068 1069 # Do not use `cd foo && pwd` to compute absolute paths, because 1070 # the directories may not exist. 1071 case `pwd` in 1072 .) ac_abs_builddir="$ac_dir";; 1073 *) 1074 case "$ac_dir" in 1075 .) ac_abs_builddir=`pwd`;; 1076 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1077 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1078 esac;; 1079 esac 1080 case $ac_abs_builddir in 1081 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1082 *) 1083 case ${ac_top_builddir}. in 1084 .) ac_abs_top_builddir=$ac_abs_builddir;; 1085 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1086 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1087 esac;; 1088 esac 1089 case $ac_abs_builddir in 1090 .) ac_abs_srcdir=$ac_srcdir;; 1091 *) 1092 case $ac_srcdir in 1093 .) ac_abs_srcdir=$ac_abs_builddir;; 1094 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1095 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1096 esac;; 1097 esac 1098 case $ac_abs_builddir in 1099 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1100 *) 1101 case $ac_top_srcdir in 1102 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1103 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1104 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1105 esac;; 1106 esac 1107 1108 cd $ac_dir 1109 # Check for guested configure; otherwise get Cygnus style configure. 1110 if test -f $ac_srcdir/configure.gnu; then 1111 echo 1112 $SHELL $ac_srcdir/configure.gnu --help=recursive 1113 elif test -f $ac_srcdir/configure; then 1114 echo 1115 $SHELL $ac_srcdir/configure --help=recursive 1116 elif test -f $ac_srcdir/configure.ac || 1117 test -f $ac_srcdir/configure.in; then 1118 echo 1119 $ac_configure --help 1120 else 1121 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1122 fi 1123 cd $ac_popdir 1601 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1602 fi || ac_status=$? 1603 cd "$ac_pwd" || { ac_status=$?; break; } 1124 1604 done 1125 1605 fi 1126 1606 1127 test -n "$ac_init_help" && exit 01607 test -n "$ac_init_help" && exit $ac_status 1128 1608 if $ac_init_version; then 1129 1609 cat <<\_ACEOF 1130 1131 Copyright (C) 2003 Free Software Foundation, Inc. 1610 configure 1611 generated by GNU Autoconf 2.63 1612 1613 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1614 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1132 1615 This configure script is free software; the Free Software Foundation 1133 1616 gives unlimited permission to copy, distribute and modify it. 1134 1617 _ACEOF 1135 exit 0 1136 fi 1137 exec 5>config.log 1138 cat >&5 <<_ACEOF 1618 exit 1619 fi 1620 cat >config.log <<_ACEOF 1139 1621 This file contains any messages produced by compilers while 1140 1622 running configure, to aid debugging if configure makes a mistake. 1141 1623 1142 1624 It was created by $as_me, which was 1143 generated by GNU Autoconf 2. 59. Invocation command line was1625 generated by GNU Autoconf 2.63. Invocation command line was 1144 1626 1145 1627 $ $0 $@ 1146 1628 1147 1629 _ACEOF 1630 exec 5>>config.log 1148 1631 { 1149 1632 cat <<_ASUNAME … … 1164 1647 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1165 1648 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1166 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1649 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1167 1650 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1168 1651 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1176 1659 IFS=$as_save_IFS 1177 1660 test -z "$as_dir" && as_dir=. 1178 echo "PATH: $as_dir"1661 $as_echo "PATH: $as_dir" 1179 1662 done 1663 IFS=$as_save_IFS 1180 1664 1181 1665 } >&5 … … 1199 1683 ac_configure_args0= 1200 1684 ac_configure_args1= 1201 ac_sep=1202 1685 ac_must_keep_next=false 1203 1686 for ac_pass in 1 2 … … 1210 1693 | -silent | --silent | --silen | --sile | --sil) 1211 1694 continue ;; 1212 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1213 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1695 *\'*) 1696 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1214 1697 esac 1215 1698 case $ac_pass in … … 1232 1715 esac 1233 1716 fi 1234 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1235 # Get rid of the leading space. 1236 ac_sep=" " 1717 ac_configure_args="$ac_configure_args '$ac_arg'" 1237 1718 ;; 1238 1719 esac … … 1245 1726 # config.log. We remove comments because anyway the quotes in there 1246 1727 # would cause problems or look ugly. 1247 # WARNING: Be sure not to use single quotes in there, as some shells,1248 # such as our DU 5.0 friend, will then `close' the trap.1728 # WARNING: Use '\'' to represent an apostrophe within the trap. 1729 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1249 1730 trap 'exit_status=$? 1250 1731 # Save into config.log some information that might help in debugging. … … 1259 1740 echo 1260 1741 # The following way of writing the cache mishandles newlines in values, 1261 { 1742 ( 1743 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1744 eval ac_val=\$$ac_var 1745 case $ac_val in #( 1746 *${as_nl}*) 1747 case $ac_var in #( 1748 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1749 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1750 esac 1751 case $ac_var in #( 1752 _ | IFS | as_nl) ;; #( 1753 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1754 *) $as_unset $ac_var ;; 1755 esac ;; 1756 esac 1757 done 1262 1758 (set) 2>&1 | 1263 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1264 * ac_space=\ *)1759 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1760 *${as_nl}ac_space=\ *) 1265 1761 sed -n \ 1266 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1762 "s/'\''/'\''\\\\'\'''\''/g; 1763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1764 ;; #( 1765 *) 1766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1268 1767 ;; 1269 *) 1270 sed -n \ 1271 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1272 ;; 1273 esac; 1274 } 1768 esac | 1769 sort 1770 ) 1275 1771 echo 1276 1772 … … 1283 1779 for ac_var in $ac_subst_vars 1284 1780 do 1285 eval ac_val=$`echo $ac_var` 1286 echo "$ac_var='"'"'$ac_val'"'"'" 1781 eval ac_val=\$$ac_var 1782 case $ac_val in 1783 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1784 esac 1785 $as_echo "$ac_var='\''$ac_val'\''" 1287 1786 done | sort 1288 1787 echo … … 1290 1789 if test -n "$ac_subst_files"; then 1291 1790 cat <<\_ASBOX 1292 ## ------------- ##1293 ## Output files. ##1294 ## ------------- ##1791 ## ------------------- ## 1792 ## File substitutions. ## 1793 ## ------------------- ## 1295 1794 _ASBOX 1296 1795 echo 1297 1796 for ac_var in $ac_subst_files 1298 1797 do 1299 eval ac_val=$`echo $ac_var` 1300 echo "$ac_var='"'"'$ac_val'"'"'" 1798 eval ac_val=\$$ac_var 1799 case $ac_val in 1800 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1801 esac 1802 $as_echo "$ac_var='\''$ac_val'\''" 1301 1803 done | sort 1302 1804 echo … … 1310 1812 _ASBOX 1311 1813 echo 1312 sed "/^$/d" confdefs.h | sort1814 cat confdefs.h 1313 1815 echo 1314 1816 fi 1315 1817 test "$ac_signal" != 0 && 1316 echo "$as_me: caught signal $ac_signal"1317 echo "$as_me: exit $exit_status"1818 $as_echo "$as_me: caught signal $ac_signal" 1819 $as_echo "$as_me: exit $exit_status" 1318 1820 } >&5 1319 rm -f core *.core &&1320 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1821 rm -f core *.core core.conftest.* && 1822 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1321 1823 exit $exit_status 1322 1824 ' 0 1323 1825 for ac_signal in 1 2 13 15; do 1324 1826 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1327 1829 1328 1830 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1329 rm -rf conftest* confdefs.h 1330 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1331 echo >confdefs.h 1831 rm -f -r conftest* confdefs.h 1332 1832 1333 1833 # Predefined preprocessor variables. … … 1359 1859 1360 1860 # Let the site file select an alternate cache file if it wants to. 1361 # Prefer explicitly selected file to automatically selected ones. 1362 if test -z "$CONFIG_SITE"; then 1363 if test "x$prefix" != xNONE; then 1364 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1365 else 1366 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1367 fi 1368 fi 1369 for ac_site_file in $CONFIG_SITE; do 1861 # Prefer an explicitly selected file to automatically selected ones. 1862 ac_site_file1=NONE 1863 ac_site_file2=NONE 1864 if test -n "$CONFIG_SITE"; then 1865 ac_site_file1=$CONFIG_SITE 1866 elif test "x$prefix" != xNONE; then 1867 ac_site_file1=$prefix/share/config.site 1868 ac_site_file2=$prefix/etc/config.site 1869 else 1870 ac_site_file1=$ac_default_prefix/share/config.site 1871 ac_site_file2=$ac_default_prefix/etc/config.site 1872 fi 1873 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1874 do 1875 test "x$ac_site_file" = xNONE && continue 1370 1876 if test -r "$ac_site_file"; then 1371 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51372 echo "$as_me: loading site script $ac_site_file" >&6;}1877 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1878 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1373 1879 sed 's/^/| /' "$ac_site_file" >&5 1374 1880 . "$ac_site_file" … … 1380 1886 # files actually), so we avoid doing that. 1381 1887 if test -f "$cache_file"; then 1382 { echo "$as_me:$LINENO: loading cache $cache_file" >&51383 echo "$as_me: loading cache $cache_file" >&6;}1888 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1889 $as_echo "$as_me: loading cache $cache_file" >&6;} 1384 1890 case $cache_file in 1385 [\\/]* | ?:[\\/]* ) . $cache_file;;1386 *) . ./$cache_file;;1891 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1892 *) . "./$cache_file";; 1387 1893 esac 1388 1894 fi 1389 1895 else 1390 { echo "$as_me:$LINENO: creating cache $cache_file" >&51391 echo "$as_me: creating cache $cache_file" >&6;}1896 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1897 $as_echo "$as_me: creating cache $cache_file" >&6;} 1392 1898 >$cache_file 1393 1899 fi … … 1396 1902 # value. 1397 1903 ac_cache_corrupted=false 1398 for ac_var in `(set) 2>&1 | 1399 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1904 for ac_var in $ac_precious_vars; do 1400 1905 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1401 1906 eval ac_new_set=\$ac_env_${ac_var}_set 1402 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1403 eval ac_new_val= "\$ac_env_${ac_var}_value"1907 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1908 eval ac_new_val=\$ac_env_${ac_var}_value 1404 1909 case $ac_old_set,$ac_new_set in 1405 1910 set,) 1406 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51407 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1911 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1912 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1408 1913 ac_cache_corrupted=: ;; 1409 1914 ,set) 1410 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51411 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1915 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1916 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1412 1917 ac_cache_corrupted=: ;; 1413 1918 ,);; 1414 1919 *) 1415 1920 if test "x$ac_old_val" != "x$ac_new_val"; then 1416 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1417 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1418 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1419 echo "$as_me: former value: $ac_old_val" >&2;} 1420 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1421 echo "$as_me: current value: $ac_new_val" >&2;} 1422 ac_cache_corrupted=: 1921 # differences in whitespace do not lead to failure. 1922 ac_old_val_w=`echo x $ac_old_val` 1923 ac_new_val_w=`echo x $ac_new_val` 1924 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1925 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1926 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1927 ac_cache_corrupted=: 1928 else 1929 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1930 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1931 eval $ac_var=\$ac_old_val 1932 fi 1933 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1934 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1935 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1936 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1423 1937 fi;; 1424 1938 esac … … 1426 1940 if test "$ac_new_set" = set; then 1427 1941 case $ac_new_val in 1428 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1429 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1942 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1430 1943 *) ac_arg=$ac_var=$ac_new_val ;; 1431 1944 esac … … 1437 1950 done 1438 1951 if $ac_cache_corrupted; then 1439 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1440 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1441 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1442 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1952 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1954 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1955 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1956 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1957 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1443 1958 { (exit 1); exit 1; }; } 1444 1959 fi 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1445 1976 1446 1977 ac_ext=c … … 1451 1982 1452 1983 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1984 VERSION=`cat .version` 1471 1985 … … 1474 1988 1475 1989 ac_aux_dir= 1476 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1477 if test -f $ac_dir/install-sh; then1990 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1991 if test -f "$ac_dir/install-sh"; then 1478 1992 ac_aux_dir=$ac_dir 1479 1993 ac_install_sh="$ac_aux_dir/install-sh -c" 1480 1994 break 1481 elif test -f $ac_dir/install.sh; then1995 elif test -f "$ac_dir/install.sh"; then 1482 1996 ac_aux_dir=$ac_dir 1483 1997 ac_install_sh="$ac_aux_dir/install.sh -c" 1484 1998 break 1485 elif test -f $ac_dir/shtool; then1999 elif test -f "$ac_dir/shtool"; then 1486 2000 ac_aux_dir=$ac_dir 1487 2001 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1490 2004 done 1491 2005 if test -z "$ac_aux_dir"; then 1492 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51493 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}2006 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2007 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1494 2008 { (exit 1); exit 1; }; } 1495 2009 fi 1496 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1497 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1498 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2010 2011 # These three variables are undocumented and unsupported, 2012 # and are intended to be withdrawn in a future Autoconf release. 2013 # They can cause serious problems if a builder's source tree is in a directory 2014 # whose full name contains unusual characters. 2015 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2016 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2017 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2018 1499 2019 1500 2020 # Make sure we can run config.sub. 1501 $ ac_config_subsun4 >/dev/null 2>&1 ||1502 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&51503 echo "$as_me: error: cannot run $ac_config_sub" >&2;}2021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2022 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2023 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1504 2024 { (exit 1); exit 1; }; } 1505 2025 1506 echo "$as_me:$LINENO: checking build system type" >&51507 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2026 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2027 $as_echo_n "checking build system type... " >&6; } 1508 2028 if test "${ac_cv_build+set}" = set; then 1509 echo $ECHO_N "(cached) $ECHO_C" >&61510 else 1511 ac_ cv_build_alias=$build_alias1512 test -z "$ac_cv_build_alias"&&1513 ac_ cv_build_alias=`$ac_config_guess`1514 test -z "$ac_cv_build_alias"&&1515 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&51516 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}2029 $as_echo_n "(cached) " >&6 2030 else 2031 ac_build_alias=$build_alias 2032 test "x$ac_build_alias" = x && 2033 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2034 test "x$ac_build_alias" = x && 2035 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2036 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1517 2037 { (exit 1); exit 1; }; } 1518 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1519 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&51520 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}2038 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2039 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2040 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1521 2041 { (exit 1); exit 1; }; } 1522 2042 1523 2043 fi 1524 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1525 echo "${ECHO_T}$ac_cv_build" >&6 2044 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2045 $as_echo "$ac_cv_build" >&6; } 2046 case $ac_cv_build in 2047 *-*-*) ;; 2048 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2049 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 2050 { (exit 1); exit 1; }; };; 2051 esac 1526 2052 build=$ac_cv_build 1527 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1528 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1529 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1530 1531 1532 echo "$as_me:$LINENO: checking host system type" >&5 1533 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2053 ac_save_IFS=$IFS; IFS='-' 2054 set x $ac_cv_build 2055 shift 2056 build_cpu=$1 2057 build_vendor=$2 2058 shift; shift 2059 # Remember, the first character of IFS is used to create $*, 2060 # except with old shells: 2061 build_os=$* 2062 IFS=$ac_save_IFS 2063 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2064 2065 2066 { $as_echo "$as_me:$LINENO: checking host system type" >&5 2067 $as_echo_n "checking host system type... " >&6; } 1534 2068 if test "${ac_cv_host+set}" = set; then 1535 echo $ECHO_N "(cached) $ECHO_C" >&61536 else 1537 ac_cv_host_alias=$host_alias1538 test -z "$ac_cv_host_alias" && 1539 ac_cv_host_alias=$ac_cv_build_alias 1540 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1541 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51542 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}2069 $as_echo_n "(cached) " >&6 2070 else 2071 if test "x$host_alias" = x; then 2072 ac_cv_host=$ac_cv_build 2073 else 2074 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2075 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2076 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1543 2077 { (exit 1); exit 1; }; } 1544 1545 fi 1546 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1547 echo "${ECHO_T}$ac_cv_host" >&6 2078 fi 2079 2080 fi 2081 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2082 $as_echo "$ac_cv_host" >&6; } 2083 case $ac_cv_host in 2084 *-*-*) ;; 2085 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2086 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 2087 { (exit 1); exit 1; }; };; 2088 esac 1548 2089 host=$ac_cv_host 1549 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1550 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1551 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1552 1553 1554 echo "$as_me:$LINENO: checking target system type" >&5 1555 echo $ECHO_N "checking target system type... $ECHO_C" >&6 2090 ac_save_IFS=$IFS; IFS='-' 2091 set x $ac_cv_host 2092 shift 2093 host_cpu=$1 2094 host_vendor=$2 2095 shift; shift 2096 # Remember, the first character of IFS is used to create $*, 2097 # except with old shells: 2098 host_os=$* 2099 IFS=$ac_save_IFS 2100 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2101 2102 2103 { $as_echo "$as_me:$LINENO: checking target system type" >&5 2104 $as_echo_n "checking target system type... " >&6; } 1556 2105 if test "${ac_cv_target+set}" = set; then 1557 echo $ECHO_N "(cached) $ECHO_C" >&61558 else 1559 ac_cv_target_alias=$target_alias1560 test "x$ac_cv_target_alias" = "x" && 1561 ac_cv_target_alias=$ac_cv_host_alias 1562 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1563 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51564 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}2106 $as_echo_n "(cached) " >&6 2107 else 2108 if test "x$target_alias" = x; then 2109 ac_cv_target=$ac_cv_host 2110 else 2111 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2112 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 2113 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1565 2114 { (exit 1); exit 1; }; } 1566 1567 fi 1568 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1569 echo "${ECHO_T}$ac_cv_target" >&6 2115 fi 2116 2117 fi 2118 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2119 $as_echo "$ac_cv_target" >&6; } 2120 case $ac_cv_target in 2121 *-*-*) ;; 2122 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 2123 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 2124 { (exit 1); exit 1; }; };; 2125 esac 1570 2126 target=$ac_cv_target 1571 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1572 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1573 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2127 ac_save_IFS=$IFS; IFS='-' 2128 set x $ac_cv_target 2129 shift 2130 target_cpu=$1 2131 target_vendor=$2 2132 shift; shift 2133 # Remember, the first character of IFS is used to create $*, 2134 # except with old shells: 2135 target_os=$* 2136 IFS=$ac_save_IFS 2137 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1574 2138 1575 2139 … … 1581 2145 program_prefix=${target_alias}- 1582 2146 1583 ac_config_headers="$ac_config_headers config.h" 1584 1585 1586 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1587 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1588 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1589 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1590 echo $ECHO_N "(cached) $ECHO_C" >&6 2147 ac_config_headers="$ac_config_headers config.h" 2148 2149 2150 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2151 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2152 set x ${MAKE-make} 2153 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2154 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2155 $as_echo_n "(cached) " >&6 1591 2156 else 1592 2157 cat >conftest.make <<\_ACEOF 2158 SHELL = /bin/sh 1593 2159 all: 1594 @echo ' ac_maketemp="$(MAKE)"'2160 @echo '@@@%%%=$(MAKE)=@@@%%%' 1595 2161 _ACEOF 1596 2162 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1597 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1598 if test -n "$ac_maketemp"; then 1599 eval ac_cv_prog_make_${ac_make}_set=yes1600 else 1601 eval ac_cv_prog_make_${ac_make}_set=no1602 fi 2163 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2164 *@@@%%%=?*=@@@%%%*) 2165 eval ac_cv_prog_make_${ac_make}_set=yes;; 2166 *) 2167 eval ac_cv_prog_make_${ac_make}_set=no;; 2168 esac 1603 2169 rm -f conftest.make 1604 2170 fi 1605 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1606 echo "$as_me:$LINENO: result: yes" >&51607 echo "${ECHO_T}yes" >&6 2171 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2172 { $as_echo "$as_me:$LINENO: result: yes" >&5 2173 $as_echo "yes" >&6; } 1608 2174 SET_MAKE= 1609 2175 else 1610 echo "$as_me:$LINENO: result: no" >&51611 echo "${ECHO_T}no" >&6 2176 { $as_echo "$as_me:$LINENO: result: no" >&5 2177 $as_echo "no" >&6; } 1612 2178 SET_MAKE="MAKE=${MAKE-make}" 1613 fi1614 1615 1616 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&51617 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&61618 arch_64bit=no1619 case "$host_cpu" in1620 x86_64) arch_64bit=yes ;;1621 esac1622 1623 if test "$arch_64bit" = yes; then1624 echo "$as_me:$LINENO: result: yes" >&51625 echo "${ECHO_T}yes" >&61626 if test -z "$COMPAT32BITFLAGS" ; then1627 COMPAT32BITFLAGS="-m32"1628 fi1629 else1630 echo "$as_me:$LINENO: result: no" >&51631 echo "${ECHO_T}no" >&61632 if test -z "$COMPAT32BITFLAGS" ; then1633 COMPAT32BITFLAGS=1634 fi1635 2179 fi 1636 2180 … … 1647 2191 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1648 2192 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1649 echo "$as_me:$LINENO: checking for $ac_word" >&51650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2193 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2194 $as_echo_n "checking for $ac_word... " >&6; } 1651 2195 if test "${ac_cv_prog_CC+set}" = set; then 1652 echo $ECHO_N "(cached) $ECHO_C" >&62196 $as_echo_n "(cached) " >&6 1653 2197 else 1654 2198 if test -n "$CC"; then … … 1661 2205 test -z "$as_dir" && as_dir=. 1662 2206 for ac_exec_ext in '' $ac_executable_extensions; do 1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1664 2208 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52209 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1666 2210 break 2 1667 2211 fi 1668 2212 done 1669 2213 done 2214 IFS=$as_save_IFS 1670 2215 1671 2216 fi … … 1673 2218 CC=$ac_cv_prog_CC 1674 2219 if test -n "$CC"; then 1675 echo "$as_me:$LINENO: result: $CC" >&5 1676 echo "${ECHO_T}$CC" >&6 1677 else 1678 echo "$as_me:$LINENO: result: no" >&5 1679 echo "${ECHO_T}no" >&6 1680 fi 2220 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2221 $as_echo "$CC" >&6; } 2222 else 2223 { $as_echo "$as_me:$LINENO: result: no" >&5 2224 $as_echo "no" >&6; } 2225 fi 2226 1681 2227 1682 2228 fi … … 1685 2231 # Extract the first word of "gcc", so it can be a program name with args. 1686 2232 set dummy gcc; ac_word=$2 1687 echo "$as_me:$LINENO: checking for $ac_word" >&51688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2233 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2234 $as_echo_n "checking for $ac_word... " >&6; } 1689 2235 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1690 echo $ECHO_N "(cached) $ECHO_C" >&62236 $as_echo_n "(cached) " >&6 1691 2237 else 1692 2238 if test -n "$ac_ct_CC"; then … … 1699 2245 test -z "$as_dir" && as_dir=. 1700 2246 for ac_exec_ext in '' $ac_executable_extensions; do 1701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1702 2248 ac_cv_prog_ac_ct_CC="gcc" 1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52249 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1704 2250 break 2 1705 2251 fi 1706 2252 done 1707 2253 done 2254 IFS=$as_save_IFS 1708 2255 1709 2256 fi … … 1711 2258 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1712 2259 if test -n "$ac_ct_CC"; then 1713 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1714 echo "${ECHO_T}$ac_ct_CC" >&6 1715 else 1716 echo "$as_me:$LINENO: result: no" >&5 1717 echo "${ECHO_T}no" >&6 1718 fi 1719 1720 CC=$ac_ct_CC 2260 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2261 $as_echo "$ac_ct_CC" >&6; } 2262 else 2263 { $as_echo "$as_me:$LINENO: result: no" >&5 2264 $as_echo "no" >&6; } 2265 fi 2266 2267 if test "x$ac_ct_CC" = x; then 2268 CC="" 2269 else 2270 case $cross_compiling:$ac_tool_warned in 2271 yes:) 2272 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2274 ac_tool_warned=yes ;; 2275 esac 2276 CC=$ac_ct_CC 2277 fi 1721 2278 else 1722 2279 CC="$ac_cv_prog_CC" … … 1724 2281 1725 2282 if test -z "$CC"; then 1726 if test -n "$ac_tool_prefix"; then1727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2283 if test -n "$ac_tool_prefix"; then 2284 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1728 2285 set dummy ${ac_tool_prefix}cc; ac_word=$2 1729 echo "$as_me:$LINENO: checking for $ac_word" >&51730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2287 $as_echo_n "checking for $ac_word... " >&6; } 1731 2288 if test "${ac_cv_prog_CC+set}" = set; then 1732 echo $ECHO_N "(cached) $ECHO_C" >&62289 $as_echo_n "(cached) " >&6 1733 2290 else 1734 2291 if test -n "$CC"; then … … 1741 2298 test -z "$as_dir" && as_dir=. 1742 2299 for ac_exec_ext in '' $ac_executable_extensions; do 1743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1744 2301 ac_cv_prog_CC="${ac_tool_prefix}cc" 1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52302 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1746 2303 break 2 1747 2304 fi 1748 2305 done 1749 2306 done 2307 IFS=$as_save_IFS 1750 2308 1751 2309 fi … … 1753 2311 CC=$ac_cv_prog_CC 1754 2312 if test -n "$CC"; then 1755 echo "$as_me:$LINENO: result: $CC" >&5 1756 echo "${ECHO_T}$CC" >&6 1757 else 1758 echo "$as_me:$LINENO: result: no" >&5 1759 echo "${ECHO_T}no" >&6 1760 fi 1761 1762 fi 1763 if test -z "$ac_cv_prog_CC"; then 1764 ac_ct_CC=$CC 1765 # Extract the first word of "cc", so it can be a program name with args. 1766 set dummy cc; ac_word=$2 1767 echo "$as_me:$LINENO: checking for $ac_word" >&5 1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1770 echo $ECHO_N "(cached) $ECHO_C" >&6 1771 else 1772 if test -n "$ac_ct_CC"; then 1773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1774 else 1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1776 for as_dir in $PATH 1777 do 1778 IFS=$as_save_IFS 1779 test -z "$as_dir" && as_dir=. 1780 for ac_exec_ext in '' $ac_executable_extensions; do 1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1782 ac_cv_prog_ac_ct_CC="cc" 1783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1784 break 2 2313 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2314 $as_echo "$CC" >&6; } 2315 else 2316 { $as_echo "$as_me:$LINENO: result: no" >&5 2317 $as_echo "no" >&6; } 2318 fi 2319 2320 1785 2321 fi 1786 done1787 done1788 1789 fi1790 fi1791 ac_ct_CC=$ac_cv_prog_ac_ct_CC1792 if test -n "$ac_ct_CC"; then1793 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51794 echo "${ECHO_T}$ac_ct_CC" >&61795 else1796 echo "$as_me:$LINENO: result: no" >&51797 echo "${ECHO_T}no" >&61798 fi1799 1800 CC=$ac_ct_CC1801 else1802 CC="$ac_cv_prog_CC"1803 fi1804 1805 2322 fi 1806 2323 if test -z "$CC"; then 1807 2324 # Extract the first word of "cc", so it can be a program name with args. 1808 2325 set dummy cc; ac_word=$2 1809 echo "$as_me:$LINENO: checking for $ac_word" >&51810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2326 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2327 $as_echo_n "checking for $ac_word... " >&6; } 1811 2328 if test "${ac_cv_prog_CC+set}" = set; then 1812 echo $ECHO_N "(cached) $ECHO_C" >&62329 $as_echo_n "(cached) " >&6 1813 2330 else 1814 2331 if test -n "$CC"; then … … 1822 2339 test -z "$as_dir" && as_dir=. 1823 2340 for ac_exec_ext in '' $ac_executable_extensions; do 1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1825 2342 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1826 2343 ac_prog_rejected=yes … … 1828 2345 fi 1829 2346 ac_cv_prog_CC="cc" 1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52347 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1831 2348 break 2 1832 2349 fi 1833 2350 done 1834 2351 done 2352 IFS=$as_save_IFS 1835 2353 1836 2354 if test $ac_prog_rejected = yes; then … … 1850 2368 CC=$ac_cv_prog_CC 1851 2369 if test -n "$CC"; then 1852 echo "$as_me:$LINENO: result: $CC" >&5 1853 echo "${ECHO_T}$CC" >&6 1854 else 1855 echo "$as_me:$LINENO: result: no" >&5 1856 echo "${ECHO_T}no" >&6 1857 fi 2370 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2371 $as_echo "$CC" >&6; } 2372 else 2373 { $as_echo "$as_me:$LINENO: result: no" >&5 2374 $as_echo "no" >&6; } 2375 fi 2376 1858 2377 1859 2378 fi 1860 2379 if test -z "$CC"; then 1861 2380 if test -n "$ac_tool_prefix"; then 1862 for ac_prog in cl 2381 for ac_prog in cl.exe 1863 2382 do 1864 2383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1865 2384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1866 echo "$as_me:$LINENO: checking for $ac_word" >&51867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2385 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2386 $as_echo_n "checking for $ac_word... " >&6; } 1868 2387 if test "${ac_cv_prog_CC+set}" = set; then 1869 echo $ECHO_N "(cached) $ECHO_C" >&62388 $as_echo_n "(cached) " >&6 1870 2389 else 1871 2390 if test -n "$CC"; then … … 1878 2397 test -z "$as_dir" && as_dir=. 1879 2398 for ac_exec_ext in '' $ac_executable_extensions; do 1880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1881 2400 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52401 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1883 2402 break 2 1884 2403 fi 1885 2404 done 1886 2405 done 2406 IFS=$as_save_IFS 1887 2407 1888 2408 fi … … 1890 2410 CC=$ac_cv_prog_CC 1891 2411 if test -n "$CC"; then 1892 echo "$as_me:$LINENO: result: $CC" >&5 1893 echo "${ECHO_T}$CC" >&6 1894 else 1895 echo "$as_me:$LINENO: result: no" >&5 1896 echo "${ECHO_T}no" >&6 1897 fi 2412 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2413 $as_echo "$CC" >&6; } 2414 else 2415 { $as_echo "$as_me:$LINENO: result: no" >&5 2416 $as_echo "no" >&6; } 2417 fi 2418 1898 2419 1899 2420 test -n "$CC" && break … … 1902 2423 if test -z "$CC"; then 1903 2424 ac_ct_CC=$CC 1904 for ac_prog in cl 2425 for ac_prog in cl.exe 1905 2426 do 1906 2427 # Extract the first word of "$ac_prog", so it can be a program name with args. 1907 2428 set dummy $ac_prog; ac_word=$2 1908 echo "$as_me:$LINENO: checking for $ac_word" >&51909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2429 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2430 $as_echo_n "checking for $ac_word... " >&6; } 1910 2431 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1911 echo $ECHO_N "(cached) $ECHO_C" >&62432 $as_echo_n "(cached) " >&6 1912 2433 else 1913 2434 if test -n "$ac_ct_CC"; then … … 1920 2441 test -z "$as_dir" && as_dir=. 1921 2442 for ac_exec_ext in '' $ac_executable_extensions; do 1922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1923 2444 ac_cv_prog_ac_ct_CC="$ac_prog" 1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52445 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1925 2446 break 2 1926 2447 fi 1927 2448 done 1928 2449 done 2450 IFS=$as_save_IFS 1929 2451 1930 2452 fi … … 1932 2454 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1933 2455 if test -n "$ac_ct_CC"; then 1934 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1935 echo "${ECHO_T}$ac_ct_CC" >&6 1936 else 1937 echo "$as_me:$LINENO: result: no" >&5 1938 echo "${ECHO_T}no" >&6 1939 fi 2456 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2457 $as_echo "$ac_ct_CC" >&6; } 2458 else 2459 { $as_echo "$as_me:$LINENO: result: no" >&5 2460 $as_echo "no" >&6; } 2461 fi 2462 1940 2463 1941 2464 test -n "$ac_ct_CC" && break 1942 2465 done 1943 2466 1944 CC=$ac_ct_CC 1945 fi 1946 1947 fi 1948 1949 1950 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2467 if test "x$ac_ct_CC" = x; then 2468 CC="" 2469 else 2470 case $cross_compiling:$ac_tool_warned in 2471 yes:) 2472 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2474 ac_tool_warned=yes ;; 2475 esac 2476 CC=$ac_ct_CC 2477 fi 2478 fi 2479 2480 fi 2481 2482 2483 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2485 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1951 2486 See \`config.log' for more details." >&5 1952 echo "$as_me: error: no acceptable C compiler found in \$PATH2487 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1953 2488 See \`config.log' for more details." >&2;} 1954 { (exit 1); exit 1; }; } 2489 { (exit 1); exit 1; }; }; } 1955 2490 1956 2491 # Provide some information about the compiler. 1957 echo "$as_me:$LINENO:" \ 1958 "checking for C compiler version" >&5 1959 ac_compiler=`set X $ac_compile; echo $2` 1960 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1961 (eval $ac_compiler --version </dev/null >&5) 2>&5 2492 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2493 set X $ac_compile 2494 ac_compiler=$2 2495 { (ac_try="$ac_compiler --version >&5" 2496 case "(($ac_try" in 2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2498 *) ac_try_echo=$ac_try;; 2499 esac 2500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2501 $as_echo "$ac_try_echo") >&5 2502 (eval "$ac_compiler --version >&5") 2>&5 1962 2503 ac_status=$? 1963 echo "$as_me:$LINENO: \$? = $ac_status" >&52504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1964 2505 (exit $ac_status); } 1965 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1966 (eval $ac_compiler -v </dev/null >&5) 2>&5 2506 { (ac_try="$ac_compiler -v >&5" 2507 case "(($ac_try" in 2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2509 *) ac_try_echo=$ac_try;; 2510 esac 2511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2512 $as_echo "$ac_try_echo") >&5 2513 (eval "$ac_compiler -v >&5") 2>&5 1967 2514 ac_status=$? 1968 echo "$as_me:$LINENO: \$? = $ac_status" >&52515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1969 2516 (exit $ac_status); } 1970 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1971 (eval $ac_compiler -V </dev/null >&5) 2>&5 2517 { (ac_try="$ac_compiler -V >&5" 2518 case "(($ac_try" in 2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2520 *) ac_try_echo=$ac_try;; 2521 esac 2522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2523 $as_echo "$ac_try_echo") >&5 2524 (eval "$ac_compiler -V >&5") 2>&5 1972 2525 ac_status=$? 1973 echo "$as_me:$LINENO: \$? = $ac_status" >&52526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1974 2527 (exit $ac_status); } 1975 2528 … … 1990 2543 _ACEOF 1991 2544 ac_clean_files_save=$ac_clean_files 1992 ac_clean_files="$ac_clean_files a.out a. exe b.out"2545 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1993 2546 # Try to create an executable without -o first, disregard a.out. 1994 2547 # It will help us diagnose broken compilers, and finding out an intuition 1995 2548 # of exeext. 1996 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1997 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1998 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1999 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2000 (eval $ac_link_default) 2>&5 2549 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2550 $as_echo_n "checking for C compiler default output file name... " >&6; } 2551 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2552 2553 # The possible output files: 2554 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2555 2556 ac_rmfiles= 2557 for ac_file in $ac_files 2558 do 2559 case $ac_file in 2560 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2561 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2562 esac 2563 done 2564 rm -f $ac_rmfiles 2565 2566 if { (ac_try="$ac_link_default" 2567 case "(($ac_try" in 2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2569 *) ac_try_echo=$ac_try;; 2570 esac 2571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2572 $as_echo "$ac_try_echo") >&5 2573 (eval "$ac_link_default") 2>&5 2001 2574 ac_status=$? 2002 echo "$as_me:$LINENO: \$? = $ac_status" >&52575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2003 2576 (exit $ac_status); }; then 2004 # Find the output, starting from the most likely. This scheme is 2005 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2006 # resort. 2007 2008 # Be careful to initialize this variable, since it used to be cached. 2009 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2010 ac_cv_exeext= 2011 # b.out is created by i960 compilers. 2012 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2577 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2578 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2579 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2580 # so that the user can short-circuit this test for compilers unknown to 2581 # Autoconf. 2582 for ac_file in $ac_files '' 2013 2583 do 2014 2584 test -f "$ac_file" || continue 2015 2585 case $ac_file in 2016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2017 ;; 2018 conftest.$ac_ext ) 2019 # This is the source file. 2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2020 2587 ;; 2021 2588 [ab].out ) … … 2024 2591 break;; 2025 2592 *.* ) 2026 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2027 # FIXME: I believe we export ac_cv_exeext for Libtool, 2028 # but it would be cool to find out if it's true. Does anybody 2029 # maintain Libtool? --akim. 2030 export ac_cv_exeext 2593 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2594 then :; else 2595 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2596 fi 2597 # We set ac_cv_exeext here because the later test for it is not 2598 # safe: cross compilers may not add the suffix if given an `-o' 2599 # argument, so we may need to know it at that point already. 2600 # Even if this section looks crufty: it has the advantage of 2601 # actually working. 2031 2602 break;; 2032 2603 * ) … … 2034 2605 esac 2035 2606 done 2036 else 2037 echo "$as_me: failed program was:" >&5 2607 test "$ac_cv_exeext" = no && ac_cv_exeext= 2608 2609 else 2610 ac_file='' 2611 fi 2612 2613 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2614 $as_echo "$ac_file" >&6; } 2615 if test -z "$ac_file"; then 2616 $as_echo "$as_me: failed program was:" >&5 2038 2617 sed 's/^/| /' conftest.$ac_ext >&5 2039 2618 2040 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2619 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2621 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2041 2622 See \`config.log' for more details." >&5 2042 echo "$as_me: error: C compiler cannot create executables2623 $as_echo "$as_me: error: C compiler cannot create executables 2043 2624 See \`config.log' for more details." >&2;} 2044 { (exit 77); exit 77; }; } 2625 { (exit 77); exit 77; }; }; } 2045 2626 fi 2046 2627 2047 2628 ac_exeext=$ac_cv_exeext 2048 echo "$as_me:$LINENO: result: $ac_file" >&5 2049 echo "${ECHO_T}$ac_file" >&6 2050 2051 # Check the compiler produces executables we can run. If not, either 2629 2630 # Check that the compiler produces executables we can run. If not, either 2052 2631 # the compiler is broken, or we cross compile. 2053 echo "$as_me:$LINENO: checking whether the C compiler works" >&52054 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2632 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2633 $as_echo_n "checking whether the C compiler works... " >&6; } 2055 2634 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2056 2635 # If not cross compiling, check that we can run a simple program. 2057 2636 if test "$cross_compiling" != yes; then 2058 2637 if { ac_try='./$ac_file' 2059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2060 (eval $ac_try) 2>&5 2638 { (case "(($ac_try" in 2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2640 *) ac_try_echo=$ac_try;; 2641 esac 2642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2643 $as_echo "$ac_try_echo") >&5 2644 (eval "$ac_try") 2>&5 2061 2645 ac_status=$? 2062 echo "$as_me:$LINENO: \$? = $ac_status" >&52646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2063 2647 (exit $ac_status); }; }; then 2064 2648 cross_compiling=no … … 2067 2651 cross_compiling=yes 2068 2652 else 2069 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2653 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2655 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2070 2656 If you meant to cross compile, use \`--host'. 2071 2657 See \`config.log' for more details." >&5 2072 echo "$as_me: error: cannot run C compiled programs.2658 $as_echo "$as_me: error: cannot run C compiled programs. 2073 2659 If you meant to cross compile, use \`--host'. 2074 2660 See \`config.log' for more details." >&2;} 2075 { (exit 1); exit 1; }; } 2661 { (exit 1); exit 1; }; }; } 2076 2662 fi 2077 2663 fi 2078 2664 fi 2079 echo "$as_me:$LINENO: result: yes" >&52080 echo "${ECHO_T}yes" >&6 2081 2082 rm -f a.outa.exe conftest$ac_cv_exeext b.out2665 { $as_echo "$as_me:$LINENO: result: yes" >&5 2666 $as_echo "yes" >&6; } 2667 2668 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2083 2669 ac_clean_files=$ac_clean_files_save 2084 # Check th e compiler produces executables we can run. If not, either2670 # Check that the compiler produces executables we can run. If not, either 2085 2671 # the compiler is broken, or we cross compile. 2086 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2087 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2088 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2089 echo "${ECHO_T}$cross_compiling" >&6 2090 2091 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2092 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2094 (eval $ac_link) 2>&5 2672 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2673 $as_echo_n "checking whether we are cross compiling... " >&6; } 2674 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2675 $as_echo "$cross_compiling" >&6; } 2676 2677 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2678 $as_echo_n "checking for suffix of executables... " >&6; } 2679 if { (ac_try="$ac_link" 2680 case "(($ac_try" in 2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2682 *) ac_try_echo=$ac_try;; 2683 esac 2684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2685 $as_echo "$ac_try_echo") >&5 2686 (eval "$ac_link") 2>&5 2095 2687 ac_status=$? 2096 echo "$as_me:$LINENO: \$? = $ac_status" >&52688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 2689 (exit $ac_status); }; then 2098 2690 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2103 2695 test -f "$ac_file" || continue 2104 2696 case $ac_file in 2105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2697 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2106 2698 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2107 export ac_cv_exeext2108 2699 break;; 2109 2700 * ) break;; … … 2111 2702 done 2112 2703 else 2113 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2704 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2706 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2114 2707 See \`config.log' for more details." >&5 2115 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2708 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2116 2709 See \`config.log' for more details." >&2;} 2117 { (exit 1); exit 1; }; } 2710 { (exit 1); exit 1; }; }; } 2118 2711 fi 2119 2712 2120 2713 rm -f conftest$ac_cv_exeext 2121 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52122 echo "${ECHO_T}$ac_cv_exeext" >&6 2714 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2715 $as_echo "$ac_cv_exeext" >&6; } 2123 2716 2124 2717 rm -f conftest.$ac_ext 2125 2718 EXEEXT=$ac_cv_exeext 2126 2719 ac_exeext=$EXEEXT 2127 echo "$as_me:$LINENO: checking for suffix of object files" >&52128 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2720 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2721 $as_echo_n "checking for suffix of object files... " >&6; } 2129 2722 if test "${ac_cv_objext+set}" = set; then 2130 echo $ECHO_N "(cached) $ECHO_C" >&62723 $as_echo_n "(cached) " >&6 2131 2724 else 2132 2725 cat >conftest.$ac_ext <<_ACEOF … … 2146 2739 _ACEOF 2147 2740 rm -f conftest.o conftest.obj 2148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2149 (eval $ac_compile) 2>&5 2741 if { (ac_try="$ac_compile" 2742 case "(($ac_try" in 2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2744 *) ac_try_echo=$ac_try;; 2745 esac 2746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2747 $as_echo "$ac_try_echo") >&5 2748 (eval "$ac_compile") 2>&5 2150 2749 ac_status=$? 2151 echo "$as_me:$LINENO: \$? = $ac_status" >&52750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2152 2751 (exit $ac_status); }; then 2153 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2752 for ac_file in conftest.o conftest.obj conftest.*; do 2753 test -f "$ac_file" || continue; 2154 2754 case $ac_file in 2155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2156 2756 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2157 2757 break;; … … 2159 2759 done 2160 2760 else 2161 echo "$as_me: failed program was:" >&52761 $as_echo "$as_me: failed program was:" >&5 2162 2762 sed 's/^/| /' conftest.$ac_ext >&5 2163 2763 2164 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2764 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2766 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2165 2767 See \`config.log' for more details." >&5 2166 echo "$as_me: error: cannot compute suffix of object files: cannot compile2768 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2167 2769 See \`config.log' for more details." >&2;} 2168 { (exit 1); exit 1; }; } 2770 { (exit 1); exit 1; }; }; } 2169 2771 fi 2170 2772 2171 2773 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2172 2774 fi 2173 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52174 echo "${ECHO_T}$ac_cv_objext" >&6 2775 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2776 $as_echo "$ac_cv_objext" >&6; } 2175 2777 OBJEXT=$ac_cv_objext 2176 2778 ac_objext=$OBJEXT 2177 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52178 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2779 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2780 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2179 2781 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2180 echo $ECHO_N "(cached) $ECHO_C" >&62782 $as_echo_n "(cached) " >&6 2181 2783 else 2182 2784 cat >conftest.$ac_ext <<_ACEOF … … 2199 2801 _ACEOF 2200 2802 rm -f conftest.$ac_objext 2201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2202 (eval $ac_compile) 2>conftest.er1 2803 if { (ac_try="$ac_compile" 2804 case "(($ac_try" in 2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2806 *) ac_try_echo=$ac_try;; 2807 esac 2808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2809 $as_echo "$ac_try_echo") >&5 2810 (eval "$ac_compile") 2>conftest.er1 2203 2811 ac_status=$? 2204 2812 grep -v '^ *+' conftest.er1 >conftest.err 2205 2813 rm -f conftest.er1 2206 2814 cat conftest.err >&5 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2208 (exit $ac_status); } && 2209 { ac_try='test -z "$ac_c_werror_flag" 2210 || test ! -s conftest.err' 2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2212 (eval $ac_try) 2>&5 2213 ac_status=$? 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2215 (exit $ac_status); }; } && 2216 { ac_try='test -s conftest.$ac_objext' 2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2218 (eval $ac_try) 2>&5 2219 ac_status=$? 2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2221 (exit $ac_status); }; }; then 2815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2816 (exit $ac_status); } && { 2817 test -z "$ac_c_werror_flag" || 2818 test ! -s conftest.err 2819 } && test -s conftest.$ac_objext; then 2222 2820 ac_compiler_gnu=yes 2223 2821 else 2224 echo "$as_me: failed program was:" >&52822 $as_echo "$as_me: failed program was:" >&5 2225 2823 sed 's/^/| /' conftest.$ac_ext >&5 2226 2824 2227 ac_compiler_gnu=no 2228 fi 2229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2825 ac_compiler_gnu=no 2826 fi 2827 2828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2230 2829 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2231 2830 2232 2831 fi 2233 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2234 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2235 GCC=`test $ac_compiler_gnu = yes && echo yes` 2832 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2833 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2834 if test $ac_compiler_gnu = yes; then 2835 GCC=yes 2836 else 2837 GCC= 2838 fi 2236 2839 ac_test_CFLAGS=${CFLAGS+set} 2237 2840 ac_save_CFLAGS=$CFLAGS 2238 CFLAGS="-g" 2239 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2240 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2841 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2842 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2241 2843 if test "${ac_cv_prog_cc_g+set}" = set; then 2242 echo $ECHO_N "(cached) $ECHO_C" >&6 2243 else 2244 cat >conftest.$ac_ext <<_ACEOF 2844 $as_echo_n "(cached) " >&6 2845 else 2846 ac_save_c_werror_flag=$ac_c_werror_flag 2847 ac_c_werror_flag=yes 2848 ac_cv_prog_cc_g=no 2849 CFLAGS="-g" 2850 cat >conftest.$ac_ext <<_ACEOF 2245 2851 /* confdefs.h. */ 2246 2852 _ACEOF … … 2258 2864 _ACEOF 2259 2865 rm -f conftest.$ac_objext 2260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2261 (eval $ac_compile) 2>conftest.er1 2866 if { (ac_try="$ac_compile" 2867 case "(($ac_try" in 2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2869 *) ac_try_echo=$ac_try;; 2870 esac 2871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2872 $as_echo "$ac_try_echo") >&5 2873 (eval "$ac_compile") 2>conftest.er1 2262 2874 ac_status=$? 2263 2875 grep -v '^ *+' conftest.er1 >conftest.err 2264 2876 rm -f conftest.er1 2265 2877 cat conftest.err >&5 2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2267 (exit $ac_status); } && 2268 { ac_try='test -z "$ac_c_werror_flag" 2269 || test ! -s conftest.err' 2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2271 (eval $ac_try) 2>&5 2878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2879 (exit $ac_status); } && { 2880 test -z "$ac_c_werror_flag" || 2881 test ! -s conftest.err 2882 } && test -s conftest.$ac_objext; then 2883 ac_cv_prog_cc_g=yes 2884 else 2885 $as_echo "$as_me: failed program was:" >&5 2886 sed 's/^/| /' conftest.$ac_ext >&5 2887 2888 CFLAGS="" 2889 cat >conftest.$ac_ext <<_ACEOF 2890 /* confdefs.h. */ 2891 _ACEOF 2892 cat confdefs.h >>conftest.$ac_ext 2893 cat >>conftest.$ac_ext <<_ACEOF 2894 /* end confdefs.h. */ 2895 2896 int 2897 main () 2898 { 2899 2900 ; 2901 return 0; 2902 } 2903 _ACEOF 2904 rm -f conftest.$ac_objext 2905 if { (ac_try="$ac_compile" 2906 case "(($ac_try" in 2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2908 *) ac_try_echo=$ac_try;; 2909 esac 2910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2911 $as_echo "$ac_try_echo") >&5 2912 (eval "$ac_compile") 2>conftest.er1 2272 2913 ac_status=$? 2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2274 (exit $ac_status); }; } && 2275 { ac_try='test -s conftest.$ac_objext' 2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2277 (eval $ac_try) 2>&5 2914 grep -v '^ *+' conftest.er1 >conftest.err 2915 rm -f conftest.er1 2916 cat conftest.err >&5 2917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2918 (exit $ac_status); } && { 2919 test -z "$ac_c_werror_flag" || 2920 test ! -s conftest.err 2921 } && test -s conftest.$ac_objext; then 2922 : 2923 else 2924 $as_echo "$as_me: failed program was:" >&5 2925 sed 's/^/| /' conftest.$ac_ext >&5 2926 2927 ac_c_werror_flag=$ac_save_c_werror_flag 2928 CFLAGS="-g" 2929 cat >conftest.$ac_ext <<_ACEOF 2930 /* confdefs.h. */ 2931 _ACEOF 2932 cat confdefs.h >>conftest.$ac_ext 2933 cat >>conftest.$ac_ext <<_ACEOF 2934 /* end confdefs.h. */ 2935 2936 int 2937 main () 2938 { 2939 2940 ; 2941 return 0; 2942 } 2943 _ACEOF 2944 rm -f conftest.$ac_objext 2945 if { (ac_try="$ac_compile" 2946 case "(($ac_try" in 2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2948 *) ac_try_echo=$ac_try;; 2949 esac 2950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2951 $as_echo "$ac_try_echo") >&5 2952 (eval "$ac_compile") 2>conftest.er1 2278 2953 ac_status=$? 2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2280 (exit $ac_status); }; }; then 2954 grep -v '^ *+' conftest.er1 >conftest.err 2955 rm -f conftest.er1 2956 cat conftest.err >&5 2957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 (exit $ac_status); } && { 2959 test -z "$ac_c_werror_flag" || 2960 test ! -s conftest.err 2961 } && test -s conftest.$ac_objext; then 2281 2962 ac_cv_prog_cc_g=yes 2282 2963 else 2283 echo "$as_me: failed program was:" >&52964 $as_echo "$as_me: failed program was:" >&5 2284 2965 sed 's/^/| /' conftest.$ac_ext >&5 2285 2966 2286 ac_cv_prog_cc_g=no 2287 fi 2288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2289 fi 2290 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2291 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2967 2968 fi 2969 2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2971 fi 2972 2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2974 fi 2975 2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2977 ac_c_werror_flag=$ac_save_c_werror_flag 2978 fi 2979 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2980 $as_echo "$ac_cv_prog_cc_g" >&6; } 2292 2981 if test "$ac_test_CFLAGS" = set; then 2293 2982 CFLAGS=$ac_save_CFLAGS … … 2305 2994 fi 2306 2995 fi 2307 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52308 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2309 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2310 echo $ECHO_N "(cached) $ECHO_C" >&62311 else 2312 ac_cv_prog_cc_ stdc=no2996 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2997 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2998 if test "${ac_cv_prog_cc_c89+set}" = set; then 2999 $as_echo_n "(cached) " >&6 3000 else 3001 ac_cv_prog_cc_c89=no 2313 3002 ac_save_CC=$CC 2314 3003 cat >conftest.$ac_ext <<_ACEOF … … 2344 3033 function prototypes and stuff, but not '\xHH' hex character constants. 2345 3034 These don't provoke an error unfortunately, instead are silently treated 2346 as 'x'. The following induces an error, until -std 1is added to get3035 as 'x'. The following induces an error, until -std is added to get 2347 3036 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2348 3037 array size at least. It's necessary to write '\x00'==0 to get something 2349 that's true only with -std 1. */3038 that's true only with -std. */ 2350 3039 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3040 3041 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3042 inside strings and character constants. */ 3043 #define FOO(x) 'x' 3044 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2351 3045 2352 3046 int test (int i, double x); … … 2364 3058 } 2365 3059 _ACEOF 2366 # Don't try gcc -ansi; that turns off useful extensions and 2367 # breaks some systems' header files. 2368 # AIX -qlanglvl=ansi 2369 # Ultrix and OSF/1 -std1 2370 # HP-UX 10.20 and later -Ae 2371 # HP-UX older versions -Aa -D_HPUX_SOURCE 2372 # SVR4 -Xc -D__EXTENSIONS__ 2373 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3060 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3061 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2374 3062 do 2375 3063 CC="$ac_save_CC $ac_arg" 2376 3064 rm -f conftest.$ac_objext 2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2378 (eval $ac_compile) 2>conftest.er1 3065 if { (ac_try="$ac_compile" 3066 case "(($ac_try" in 3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3068 *) ac_try_echo=$ac_try;; 3069 esac 3070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3071 $as_echo "$ac_try_echo") >&5 3072 (eval "$ac_compile") 2>conftest.er1 2379 3073 ac_status=$? 2380 3074 grep -v '^ *+' conftest.er1 >conftest.err 2381 3075 rm -f conftest.er1 2382 3076 cat conftest.err >&5 2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2384 (exit $ac_status); } && 2385 { ac_try='test -z "$ac_c_werror_flag" 2386 || test ! -s conftest.err' 2387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2388 (eval $ac_try) 2>&5 2389 ac_status=$? 2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2391 (exit $ac_status); }; } && 2392 { ac_try='test -s conftest.$ac_objext' 2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2394 (eval $ac_try) 2>&5 2395 ac_status=$? 2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2397 (exit $ac_status); }; }; then 2398 ac_cv_prog_cc_stdc=$ac_arg 2399 break 2400 else 2401 echo "$as_me: failed program was:" >&5 3077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3078 (exit $ac_status); } && { 3079 test -z "$ac_c_werror_flag" || 3080 test ! -s conftest.err 3081 } && test -s conftest.$ac_objext; then 3082 ac_cv_prog_cc_c89=$ac_arg 3083 else 3084 $as_echo "$as_me: failed program was:" >&5 2402 3085 sed 's/^/| /' conftest.$ac_ext >&5 2403 3086 2404 fi 2405 rm -f conftest.err conftest.$ac_objext 3087 3088 fi 3089 3090 rm -f core conftest.err conftest.$ac_objext 3091 test "x$ac_cv_prog_cc_c89" != "xno" && break 2406 3092 done 2407 rm -f conftest.$ac_ext conftest.$ac_objext3093 rm -f conftest.$ac_ext 2408 3094 CC=$ac_save_CC 2409 3095 2410 3096 fi 2411 2412 case "x$ac_cv_prog_cc_stdc" in 2413 x|xno) 2414 echo "$as_me:$LINENO: result: none needed" >&5 2415 echo "${ECHO_T}none needed" >&6 ;; 3097 # AC_CACHE_VAL 3098 case "x$ac_cv_prog_cc_c89" in 3099 x) 3100 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3101 $as_echo "none needed" >&6; } ;; 3102 xno) 3103 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3104 $as_echo "unsupported" >&6; } ;; 2416 3105 *) 2417 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52418 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2419 CC="$CC $ac_cv_prog_cc_stdc";;3106 CC="$CC $ac_cv_prog_cc_c89" 3107 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2420 3109 esac 2421 3110 2422 # Some people use a C++ compiler to compile C. Since we use `exit', 2423 # in C++ we need to declare it. In case someone uses the same compiler 2424 # for both compiling C and C++ we need to have the C++ compiler decide 2425 # the declaration of exit, since it's the most demanding environment. 2426 cat >conftest.$ac_ext <<_ACEOF 2427 #ifndef __cplusplus 2428 choke me 2429 #endif 2430 _ACEOF 2431 rm -f conftest.$ac_objext 2432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2433 (eval $ac_compile) 2>conftest.er1 2434 ac_status=$? 2435 grep -v '^ *+' conftest.er1 >conftest.err 2436 rm -f conftest.er1 2437 cat conftest.err >&5 2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2439 (exit $ac_status); } && 2440 { ac_try='test -z "$ac_c_werror_flag" 2441 || test ! -s conftest.err' 2442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2443 (eval $ac_try) 2>&5 2444 ac_status=$? 2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2446 (exit $ac_status); }; } && 2447 { ac_try='test -s conftest.$ac_objext' 2448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2449 (eval $ac_try) 2>&5 2450 ac_status=$? 2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2452 (exit $ac_status); }; }; then 2453 for ac_declaration in \ 2454 '' \ 2455 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2456 'extern "C" void std::exit (int); using std::exit;' \ 2457 'extern "C" void exit (int) throw ();' \ 2458 'extern "C" void exit (int);' \ 2459 'void exit (int);' 2460 do 2461 cat >conftest.$ac_ext <<_ACEOF 2462 /* confdefs.h. */ 2463 _ACEOF 2464 cat confdefs.h >>conftest.$ac_ext 2465 cat >>conftest.$ac_ext <<_ACEOF 2466 /* end confdefs.h. */ 2467 $ac_declaration 2468 #include <stdlib.h> 2469 int 2470 main () 2471 { 2472 exit (42); 2473 ; 2474 return 0; 2475 } 2476 _ACEOF 2477 rm -f conftest.$ac_objext 2478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2479 (eval $ac_compile) 2>conftest.er1 2480 ac_status=$? 2481 grep -v '^ *+' conftest.er1 >conftest.err 2482 rm -f conftest.er1 2483 cat conftest.err >&5 2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2485 (exit $ac_status); } && 2486 { ac_try='test -z "$ac_c_werror_flag" 2487 || test ! -s conftest.err' 2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2489 (eval $ac_try) 2>&5 2490 ac_status=$? 2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 (exit $ac_status); }; } && 2493 { ac_try='test -s conftest.$ac_objext' 2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2495 (eval $ac_try) 2>&5 2496 ac_status=$? 2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2498 (exit $ac_status); }; }; then 2499 : 2500 else 2501 echo "$as_me: failed program was:" >&5 2502 sed 's/^/| /' conftest.$ac_ext >&5 2503 2504 continue 2505 fi 2506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2507 cat >conftest.$ac_ext <<_ACEOF 2508 /* confdefs.h. */ 2509 _ACEOF 2510 cat confdefs.h >>conftest.$ac_ext 2511 cat >>conftest.$ac_ext <<_ACEOF 2512 /* end confdefs.h. */ 2513 $ac_declaration 2514 int 2515 main () 2516 { 2517 exit (42); 2518 ; 2519 return 0; 2520 } 2521 _ACEOF 2522 rm -f conftest.$ac_objext 2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2524 (eval $ac_compile) 2>conftest.er1 2525 ac_status=$? 2526 grep -v '^ *+' conftest.er1 >conftest.err 2527 rm -f conftest.er1 2528 cat conftest.err >&5 2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2530 (exit $ac_status); } && 2531 { ac_try='test -z "$ac_c_werror_flag" 2532 || test ! -s conftest.err' 2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2534 (eval $ac_try) 2>&5 2535 ac_status=$? 2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2537 (exit $ac_status); }; } && 2538 { ac_try='test -s conftest.$ac_objext' 2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2540 (eval $ac_try) 2>&5 2541 ac_status=$? 2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2543 (exit $ac_status); }; }; then 2544 break 2545 else 2546 echo "$as_me: failed program was:" >&5 2547 sed 's/^/| /' conftest.$ac_ext >&5 2548 2549 fi 2550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2551 done 2552 rm -f conftest* 2553 if test -n "$ac_declaration"; then 2554 echo '#ifdef __cplusplus' >>confdefs.h 2555 echo $ac_declaration >>confdefs.h 2556 echo '#endif' >>confdefs.h 2557 fi 2558 2559 else 2560 echo "$as_me: failed program was:" >&5 2561 sed 's/^/| /' conftest.$ac_ext >&5 2562 2563 fi 2564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3111 2565 3112 ac_ext=c 2566 3113 ac_cpp='$CPP $CPPFLAGS' … … 2575 3122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2576 3123 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2577 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52578 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3124 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3125 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2579 3126 # On Suns, sometimes $CPP names a directory. 2580 3127 if test -n "$CPP" && test -d "$CPP"; then … … 2583 3130 if test -z "$CPP"; then 2584 3131 if test "${ac_cv_prog_CPP+set}" = set; then 2585 echo $ECHO_N "(cached) $ECHO_C" >&63132 $as_echo_n "(cached) " >&6 2586 3133 else 2587 3134 # Double quotes because CPP needs to be expanded … … 2610 3157 Syntax error 2611 3158 _ACEOF 2612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3159 if { (ac_try="$ac_cpp conftest.$ac_ext" 3160 case "(($ac_try" in 3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3162 *) ac_try_echo=$ac_try;; 3163 esac 3164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3165 $as_echo "$ac_try_echo") >&5 3166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2614 3167 ac_status=$? 2615 3168 grep -v '^ *+' conftest.er1 >conftest.err 2616 3169 rm -f conftest.er1 2617 3170 cat conftest.err >&5 2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2619 (exit $ac_status); } >/dev/null; then 2620 if test -s conftest.err; then 2621 ac_cpp_err=$ac_c_preproc_warn_flag 2622 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2623 else 2624 ac_cpp_err= 2625 fi 2626 else 2627 ac_cpp_err=yes 2628 fi 2629 if test -z "$ac_cpp_err"; then 3171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3172 (exit $ac_status); } >/dev/null && { 3173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3174 test ! -s conftest.err 3175 }; then 2630 3176 : 2631 3177 else 2632 echo "$as_me: failed program was:" >&53178 $as_echo "$as_me: failed program was:" >&5 2633 3179 sed 's/^/| /' conftest.$ac_ext >&5 2634 3180 … … 2636 3182 continue 2637 3183 fi 3184 2638 3185 rm -f conftest.err conftest.$ac_ext 2639 3186 2640 # OK, works on sane cases. Now check whether non -existent headers3187 # OK, works on sane cases. Now check whether nonexistent headers 2641 3188 # can be detected and how. 2642 3189 cat >conftest.$ac_ext <<_ACEOF … … 2648 3195 #include <ac_nonexistent.h> 2649 3196 _ACEOF 2650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3197 if { (ac_try="$ac_cpp conftest.$ac_ext" 3198 case "(($ac_try" in 3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3200 *) ac_try_echo=$ac_try;; 3201 esac 3202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3203 $as_echo "$ac_try_echo") >&5 3204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2652 3205 ac_status=$? 2653 3206 grep -v '^ *+' conftest.er1 >conftest.err 2654 3207 rm -f conftest.er1 2655 3208 cat conftest.err >&5 2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2657 (exit $ac_status); } >/dev/null; then 2658 if test -s conftest.err; then 2659 ac_cpp_err=$ac_c_preproc_warn_flag 2660 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2661 else 2662 ac_cpp_err= 2663 fi 2664 else 2665 ac_cpp_err=yes 2666 fi 2667 if test -z "$ac_cpp_err"; then 3209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3210 (exit $ac_status); } >/dev/null && { 3211 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3212 test ! -s conftest.err 3213 }; then 2668 3214 # Broken: success on invalid input. 2669 3215 continue 2670 3216 else 2671 echo "$as_me: failed program was:" >&53217 $as_echo "$as_me: failed program was:" >&5 2672 3218 sed 's/^/| /' conftest.$ac_ext >&5 2673 3219 … … 2676 3222 break 2677 3223 fi 3224 2678 3225 rm -f conftest.err conftest.$ac_ext 2679 3226 … … 2693 3240 ac_cv_prog_CPP=$CPP 2694 3241 fi 2695 echo "$as_me:$LINENO: result: $CPP" >&52696 echo "${ECHO_T}$CPP" >&6 3242 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3243 $as_echo "$CPP" >&6; } 2697 3244 ac_preproc_ok=false 2698 3245 for ac_c_preproc_warn_flag in '' yes … … 2717 3264 Syntax error 2718 3265 _ACEOF 2719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3266 if { (ac_try="$ac_cpp conftest.$ac_ext" 3267 case "(($ac_try" in 3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3269 *) ac_try_echo=$ac_try;; 3270 esac 3271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3272 $as_echo "$ac_try_echo") >&5 3273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2721 3274 ac_status=$? 2722 3275 grep -v '^ *+' conftest.er1 >conftest.err 2723 3276 rm -f conftest.er1 2724 3277 cat conftest.err >&5 2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2726 (exit $ac_status); } >/dev/null; then 2727 if test -s conftest.err; then 2728 ac_cpp_err=$ac_c_preproc_warn_flag 2729 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2730 else 2731 ac_cpp_err= 2732 fi 2733 else 2734 ac_cpp_err=yes 2735 fi 2736 if test -z "$ac_cpp_err"; then 3278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3279 (exit $ac_status); } >/dev/null && { 3280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3281 test ! -s conftest.err 3282 }; then 2737 3283 : 2738 3284 else 2739 echo "$as_me: failed program was:" >&53285 $as_echo "$as_me: failed program was:" >&5 2740 3286 sed 's/^/| /' conftest.$ac_ext >&5 2741 3287 … … 2743 3289 continue 2744 3290 fi 3291 2745 3292 rm -f conftest.err conftest.$ac_ext 2746 3293 2747 # OK, works on sane cases. Now check whether non -existent headers3294 # OK, works on sane cases. Now check whether nonexistent headers 2748 3295 # can be detected and how. 2749 3296 cat >conftest.$ac_ext <<_ACEOF … … 2755 3302 #include <ac_nonexistent.h> 2756 3303 _ACEOF 2757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3304 if { (ac_try="$ac_cpp conftest.$ac_ext" 3305 case "(($ac_try" in 3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3307 *) ac_try_echo=$ac_try;; 3308 esac 3309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3310 $as_echo "$ac_try_echo") >&5 3311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2759 3312 ac_status=$? 2760 3313 grep -v '^ *+' conftest.er1 >conftest.err 2761 3314 rm -f conftest.er1 2762 3315 cat conftest.err >&5 2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 (exit $ac_status); } >/dev/null; then 2765 if test -s conftest.err; then 2766 ac_cpp_err=$ac_c_preproc_warn_flag 2767 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2768 else 2769 ac_cpp_err= 2770 fi 2771 else 2772 ac_cpp_err=yes 2773 fi 2774 if test -z "$ac_cpp_err"; then 3316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3317 (exit $ac_status); } >/dev/null && { 3318 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3319 test ! -s conftest.err 3320 }; then 2775 3321 # Broken: success on invalid input. 2776 3322 continue 2777 3323 else 2778 echo "$as_me: failed program was:" >&53324 $as_echo "$as_me: failed program was:" >&5 2779 3325 sed 's/^/| /' conftest.$ac_ext >&5 2780 3326 … … 2783 3329 break 2784 3330 fi 3331 2785 3332 rm -f conftest.err conftest.$ac_ext 2786 3333 … … 2791 3338 : 2792 3339 else 2793 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3340 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3342 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2794 3343 See \`config.log' for more details." >&5 2795 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3344 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2796 3345 See \`config.log' for more details." >&2;} 2797 { (exit 1); exit 1; }; } 3346 { (exit 1); exit 1; }; }; } 2798 3347 fi 2799 3348 … … 2805 3354 2806 3355 2807 echo "$as_me:$LINENO: checking for egrep" >&5 2808 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2809 if test "${ac_cv_prog_egrep+set}" = set; then 2810 echo $ECHO_N "(cached) $ECHO_C" >&6 2811 else 2812 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2813 then ac_cv_prog_egrep='grep -E' 2814 else ac_cv_prog_egrep='egrep' 3356 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3357 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3358 if test "${ac_cv_path_GREP+set}" = set; then 3359 $as_echo_n "(cached) " >&6 3360 else 3361 if test -z "$GREP"; then 3362 ac_path_GREP_found=false 3363 # Loop through the user's path and test for each of PROGNAME-LIST 3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3366 do 3367 IFS=$as_save_IFS 3368 test -z "$as_dir" && as_dir=. 3369 for ac_prog in grep ggrep; do 3370 for ac_exec_ext in '' $ac_executable_extensions; do 3371 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3372 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3373 # Check for GNU ac_path_GREP and select it if it is found. 3374 # Check for GNU $ac_path_GREP 3375 case `"$ac_path_GREP" --version 2>&1` in 3376 *GNU*) 3377 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3378 *) 3379 ac_count=0 3380 $as_echo_n 0123456789 >"conftest.in" 3381 while : 3382 do 3383 cat "conftest.in" "conftest.in" >"conftest.tmp" 3384 mv "conftest.tmp" "conftest.in" 3385 cp "conftest.in" "conftest.nl" 3386 $as_echo 'GREP' >> "conftest.nl" 3387 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3388 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3389 ac_count=`expr $ac_count + 1` 3390 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3391 # Best one so far, save it but keep looking for a better one 3392 ac_cv_path_GREP="$ac_path_GREP" 3393 ac_path_GREP_max=$ac_count 2815 3394 fi 2816 fi 2817 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2818 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2819 EGREP=$ac_cv_prog_egrep 2820 2821 2822 2823 echo "$as_me:$LINENO: checking for AIX" >&5 2824 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 2825 cat >conftest.$ac_ext <<_ACEOF 3395 # 10*(2^10) chars as input seems more than enough 3396 test $ac_count -gt 10 && break 3397 done 3398 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3399 esac 3400 3401 $ac_path_GREP_found && break 3 3402 done 3403 done 3404 done 3405 IFS=$as_save_IFS 3406 if test -z "$ac_cv_path_GREP"; then 3407 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3408 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3409 { (exit 1); exit 1; }; } 3410 fi 3411 else 3412 ac_cv_path_GREP=$GREP 3413 fi 3414 3415 fi 3416 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3417 $as_echo "$ac_cv_path_GREP" >&6; } 3418 GREP="$ac_cv_path_GREP" 3419 3420 3421 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3422 $as_echo_n "checking for egrep... " >&6; } 3423 if test "${ac_cv_path_EGREP+set}" = set; then 3424 $as_echo_n "(cached) " >&6 3425 else 3426 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3427 then ac_cv_path_EGREP="$GREP -E" 3428 else 3429 if test -z "$EGREP"; then 3430 ac_path_EGREP_found=false 3431 # Loop through the user's path and test for each of PROGNAME-LIST 3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3434 do 3435 IFS=$as_save_IFS 3436 test -z "$as_dir" && as_dir=. 3437 for ac_prog in egrep; do 3438 for ac_exec_ext in '' $ac_executable_extensions; do 3439 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3440 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3441 # Check for GNU ac_path_EGREP and select it if it is found. 3442 # Check for GNU $ac_path_EGREP 3443 case `"$ac_path_EGREP" --version 2>&1` in 3444 *GNU*) 3445 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3446 *) 3447 ac_count=0 3448 $as_echo_n 0123456789 >"conftest.in" 3449 while : 3450 do 3451 cat "conftest.in" "conftest.in" >"conftest.tmp" 3452 mv "conftest.tmp" "conftest.in" 3453 cp "conftest.in" "conftest.nl" 3454 $as_echo 'EGREP' >> "conftest.nl" 3455 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3457 ac_count=`expr $ac_count + 1` 3458 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3459 # Best one so far, save it but keep looking for a better one 3460 ac_cv_path_EGREP="$ac_path_EGREP" 3461 ac_path_EGREP_max=$ac_count 3462 fi 3463 # 10*(2^10) chars as input seems more than enough 3464 test $ac_count -gt 10 && break 3465 done 3466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3467 esac 3468 3469 $ac_path_EGREP_found && break 3 3470 done 3471 done 3472 done 3473 IFS=$as_save_IFS 3474 if test -z "$ac_cv_path_EGREP"; then 3475 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3476 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3477 { (exit 1); exit 1; }; } 3478 fi 3479 else 3480 ac_cv_path_EGREP=$EGREP 3481 fi 3482 3483 fi 3484 fi 3485 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3486 $as_echo "$ac_cv_path_EGREP" >&6; } 3487 EGREP="$ac_cv_path_EGREP" 3488 3489 3490 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3491 $as_echo_n "checking for ANSI C header files... " >&6; } 3492 if test "${ac_cv_header_stdc+set}" = set; then 3493 $as_echo_n "(cached) " >&6 3494 else 3495 cat >conftest.$ac_ext <<_ACEOF 2826 3496 /* confdefs.h. */ 2827 3497 _ACEOF … … 2829 3499 cat >>conftest.$ac_ext <<_ACEOF 2830 3500 /* end confdefs.h. */ 2831 #ifdef _AIX 2832 yes 3501 #include <stdlib.h> 3502 #include <stdarg.h> 3503 #include <string.h> 3504 #include <float.h> 3505 3506 int 3507 main () 3508 { 3509 3510 ; 3511 return 0; 3512 } 3513 _ACEOF 3514 rm -f conftest.$ac_objext 3515 if { (ac_try="$ac_compile" 3516 case "(($ac_try" in 3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3518 *) ac_try_echo=$ac_try;; 3519 esac 3520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3521 $as_echo "$ac_try_echo") >&5 3522 (eval "$ac_compile") 2>conftest.er1 3523 ac_status=$? 3524 grep -v '^ *+' conftest.er1 >conftest.err 3525 rm -f conftest.er1 3526 cat conftest.err >&5 3527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3528 (exit $ac_status); } && { 3529 test -z "$ac_c_werror_flag" || 3530 test ! -s conftest.err 3531 } && test -s conftest.$ac_objext; then 3532 ac_cv_header_stdc=yes 3533 else 3534 $as_echo "$as_me: failed program was:" >&5 3535 sed 's/^/| /' conftest.$ac_ext >&5 3536 3537 ac_cv_header_stdc=no 3538 fi 3539 3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3541 3542 if test $ac_cv_header_stdc = yes; then 3543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3544 cat >conftest.$ac_ext <<_ACEOF 3545 /* confdefs.h. */ 3546 _ACEOF 3547 cat confdefs.h >>conftest.$ac_ext 3548 cat >>conftest.$ac_ext <<_ACEOF 3549 /* end confdefs.h. */ 3550 #include <string.h> 3551 3552 _ACEOF 3553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3554 $EGREP "memchr" >/dev/null 2>&1; then 3555 : 3556 else 3557 ac_cv_header_stdc=no 3558 fi 3559 rm -f conftest* 3560 3561 fi 3562 3563 if test $ac_cv_header_stdc = yes; then 3564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3565 cat >conftest.$ac_ext <<_ACEOF 3566 /* confdefs.h. */ 3567 _ACEOF 3568 cat confdefs.h >>conftest.$ac_ext 3569 cat >>conftest.$ac_ext <<_ACEOF 3570 /* end confdefs.h. */ 3571 #include <stdlib.h> 3572 3573 _ACEOF 3574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3575 $EGREP "free" >/dev/null 2>&1; then 3576 : 3577 else 3578 ac_cv_header_stdc=no 3579 fi 3580 rm -f conftest* 3581 3582 fi 3583 3584 if test $ac_cv_header_stdc = yes; then 3585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3586 if test "$cross_compiling" = yes; then 3587 : 3588 else 3589 cat >conftest.$ac_ext <<_ACEOF 3590 /* confdefs.h. */ 3591 _ACEOF 3592 cat confdefs.h >>conftest.$ac_ext 3593 cat >>conftest.$ac_ext <<_ACEOF 3594 /* end confdefs.h. */ 3595 #include <ctype.h> 3596 #include <stdlib.h> 3597 #if ((' ' & 0x0FF) == 0x020) 3598 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3599 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3600 #else 3601 # define ISLOWER(c) \ 3602 (('a' <= (c) && (c) <= 'i') \ 3603 || ('j' <= (c) && (c) <= 'r') \ 3604 || ('s' <= (c) && (c) <= 'z')) 3605 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2833 3606 #endif 2834 3607 2835 _ACEOF 2836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2837 $EGREP "yes" >/dev/null 2>&1; then 2838 echo "$as_me:$LINENO: result: yes" >&5 2839 echo "${ECHO_T}yes" >&6 3608 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3609 int 3610 main () 3611 { 3612 int i; 3613 for (i = 0; i < 256; i++) 3614 if (XOR (islower (i), ISLOWER (i)) 3615 || toupper (i) != TOUPPER (i)) 3616 return 2; 3617 return 0; 3618 } 3619 _ACEOF 3620 rm -f conftest$ac_exeext 3621 if { (ac_try="$ac_link" 3622 case "(($ac_try" in 3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3624 *) ac_try_echo=$ac_try;; 3625 esac 3626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3627 $as_echo "$ac_try_echo") >&5 3628 (eval "$ac_link") 2>&5 3629 ac_status=$? 3630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3632 { (case "(($ac_try" in 3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3634 *) ac_try_echo=$ac_try;; 3635 esac 3636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3637 $as_echo "$ac_try_echo") >&5 3638 (eval "$ac_try") 2>&5 3639 ac_status=$? 3640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3641 (exit $ac_status); }; }; then 3642 : 3643 else 3644 $as_echo "$as_me: program exited with status $ac_status" >&5 3645 $as_echo "$as_me: failed program was:" >&5 3646 sed 's/^/| /' conftest.$ac_ext >&5 3647 3648 ( exit $ac_status ) 3649 ac_cv_header_stdc=no 3650 fi 3651 rm -rf conftest.dSYM 3652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3653 fi 3654 3655 3656 fi 3657 fi 3658 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3659 $as_echo "$ac_cv_header_stdc" >&6; } 3660 if test $ac_cv_header_stdc = yes; then 3661 2840 3662 cat >>confdefs.h <<\_ACEOF 3663 #define STDC_HEADERS 1 3664 _ACEOF 3665 3666 fi 3667 3668 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3679 inttypes.h stdint.h unistd.h 3680 do 3681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3682 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3683 $as_echo_n "checking for $ac_header... " >&6; } 3684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3685 $as_echo_n "(cached) " >&6 3686 else 3687 cat >conftest.$ac_ext <<_ACEOF 3688 /* confdefs.h. */ 3689 _ACEOF 3690 cat confdefs.h >>conftest.$ac_ext 3691 cat >>conftest.$ac_ext <<_ACEOF 3692 /* end confdefs.h. */ 3693 $ac_includes_default 3694 3695 #include <$ac_header> 3696 _ACEOF 3697 rm -f conftest.$ac_objext 3698 if { (ac_try="$ac_compile" 3699 case "(($ac_try" in 3700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3701 *) ac_try_echo=$ac_try;; 3702 esac 3703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3704 $as_echo "$ac_try_echo") >&5 3705 (eval "$ac_compile") 2>conftest.er1 3706 ac_status=$? 3707 grep -v '^ *+' conftest.er1 >conftest.err 3708 rm -f conftest.er1 3709 cat conftest.err >&5 3710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 (exit $ac_status); } && { 3712 test -z "$ac_c_werror_flag" || 3713 test ! -s conftest.err 3714 } && test -s conftest.$ac_objext; then 3715 eval "$as_ac_Header=yes" 3716 else 3717 $as_echo "$as_me: failed program was:" >&5 3718 sed 's/^/| /' conftest.$ac_ext >&5 3719 3720 eval "$as_ac_Header=no" 3721 fi 3722 3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3724 fi 3725 ac_res=`eval 'as_val=${'$as_ac_Header'} 3726 $as_echo "$as_val"'` 3727 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3728 $as_echo "$ac_res" >&6; } 3729 as_val=`eval 'as_val=${'$as_ac_Header'} 3730 $as_echo "$as_val"'` 3731 if test "x$as_val" = x""yes; then 3732 cat >>confdefs.h <<_ACEOF 3733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3734 _ACEOF 3735 3736 fi 3737 3738 done 3739 3740 3741 3742 if test "${ac_cv_header_minix_config_h+set}" = set; then 3743 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 3744 $as_echo_n "checking for minix/config.h... " >&6; } 3745 if test "${ac_cv_header_minix_config_h+set}" = set; then 3746 $as_echo_n "(cached) " >&6 3747 fi 3748 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3749 $as_echo "$ac_cv_header_minix_config_h" >&6; } 3750 else 3751 # Is the header compilable? 3752 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 3753 $as_echo_n "checking minix/config.h usability... " >&6; } 3754 cat >conftest.$ac_ext <<_ACEOF 3755 /* confdefs.h. */ 3756 _ACEOF 3757 cat confdefs.h >>conftest.$ac_ext 3758 cat >>conftest.$ac_ext <<_ACEOF 3759 /* end confdefs.h. */ 3760 $ac_includes_default 3761 #include <minix/config.h> 3762 _ACEOF 3763 rm -f conftest.$ac_objext 3764 if { (ac_try="$ac_compile" 3765 case "(($ac_try" in 3766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3767 *) ac_try_echo=$ac_try;; 3768 esac 3769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3770 $as_echo "$ac_try_echo") >&5 3771 (eval "$ac_compile") 2>conftest.er1 3772 ac_status=$? 3773 grep -v '^ *+' conftest.er1 >conftest.err 3774 rm -f conftest.er1 3775 cat conftest.err >&5 3776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3777 (exit $ac_status); } && { 3778 test -z "$ac_c_werror_flag" || 3779 test ! -s conftest.err 3780 } && test -s conftest.$ac_objext; then 3781 ac_header_compiler=yes 3782 else 3783 $as_echo "$as_me: failed program was:" >&5 3784 sed 's/^/| /' conftest.$ac_ext >&5 3785 3786 ac_header_compiler=no 3787 fi 3788 3789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3790 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3791 $as_echo "$ac_header_compiler" >&6; } 3792 3793 # Is the header present? 3794 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 3795 $as_echo_n "checking minix/config.h presence... " >&6; } 3796 cat >conftest.$ac_ext <<_ACEOF 3797 /* confdefs.h. */ 3798 _ACEOF 3799 cat confdefs.h >>conftest.$ac_ext 3800 cat >>conftest.$ac_ext <<_ACEOF 3801 /* end confdefs.h. */ 3802 #include <minix/config.h> 3803 _ACEOF 3804 if { (ac_try="$ac_cpp conftest.$ac_ext" 3805 case "(($ac_try" in 3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3807 *) ac_try_echo=$ac_try;; 3808 esac 3809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3810 $as_echo "$ac_try_echo") >&5 3811 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3812 ac_status=$? 3813 grep -v '^ *+' conftest.er1 >conftest.err 3814 rm -f conftest.er1 3815 cat conftest.err >&5 3816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3817 (exit $ac_status); } >/dev/null && { 3818 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3819 test ! -s conftest.err 3820 }; then 3821 ac_header_preproc=yes 3822 else 3823 $as_echo "$as_me: failed program was:" >&5 3824 sed 's/^/| /' conftest.$ac_ext >&5 3825 3826 ac_header_preproc=no 3827 fi 3828 3829 rm -f conftest.err conftest.$ac_ext 3830 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3831 $as_echo "$ac_header_preproc" >&6; } 3832 3833 # So? What about this header? 3834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3835 yes:no: ) 3836 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 3837 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 3838 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 3839 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 3840 ac_header_preproc=yes 3841 ;; 3842 no:yes:* ) 3843 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 3844 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 3845 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 3846 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 3847 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 3848 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 3849 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 3850 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 3851 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 3852 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 3853 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 3854 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 3855 3856 ;; 3857 esac 3858 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 3859 $as_echo_n "checking for minix/config.h... " >&6; } 3860 if test "${ac_cv_header_minix_config_h+set}" = set; then 3861 $as_echo_n "(cached) " >&6 3862 else 3863 ac_cv_header_minix_config_h=$ac_header_preproc 3864 fi 3865 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3866 $as_echo "$ac_cv_header_minix_config_h" >&6; } 3867 3868 fi 3869 if test "x$ac_cv_header_minix_config_h" = x""yes; then 3870 MINIX=yes 3871 else 3872 MINIX= 3873 fi 3874 3875 3876 if test "$MINIX" = yes; then 3877 3878 cat >>confdefs.h <<\_ACEOF 3879 #define _POSIX_SOURCE 1 3880 _ACEOF 3881 3882 3883 cat >>confdefs.h <<\_ACEOF 3884 #define _POSIX_1_SOURCE 2 3885 _ACEOF 3886 3887 3888 cat >>confdefs.h <<\_ACEOF 3889 #define _MINIX 1 3890 _ACEOF 3891 3892 fi 3893 3894 3895 3896 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 3897 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3898 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 3899 $as_echo_n "(cached) " >&6 3900 else 3901 cat >conftest.$ac_ext <<_ACEOF 3902 /* confdefs.h. */ 3903 _ACEOF 3904 cat confdefs.h >>conftest.$ac_ext 3905 cat >>conftest.$ac_ext <<_ACEOF 3906 /* end confdefs.h. */ 3907 3908 # define __EXTENSIONS__ 1 3909 $ac_includes_default 3910 int 3911 main () 3912 { 3913 3914 ; 3915 return 0; 3916 } 3917 _ACEOF 3918 rm -f conftest.$ac_objext 3919 if { (ac_try="$ac_compile" 3920 case "(($ac_try" in 3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3922 *) ac_try_echo=$ac_try;; 3923 esac 3924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3925 $as_echo "$ac_try_echo") >&5 3926 (eval "$ac_compile") 2>conftest.er1 3927 ac_status=$? 3928 grep -v '^ *+' conftest.er1 >conftest.err 3929 rm -f conftest.er1 3930 cat conftest.err >&5 3931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3932 (exit $ac_status); } && { 3933 test -z "$ac_c_werror_flag" || 3934 test ! -s conftest.err 3935 } && test -s conftest.$ac_objext; then 3936 ac_cv_safe_to_define___extensions__=yes 3937 else 3938 $as_echo "$as_me: failed program was:" >&5 3939 sed 's/^/| /' conftest.$ac_ext >&5 3940 3941 ac_cv_safe_to_define___extensions__=no 3942 fi 3943 3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3945 fi 3946 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 3947 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 3948 test $ac_cv_safe_to_define___extensions__ = yes && 3949 cat >>confdefs.h <<\_ACEOF 3950 #define __EXTENSIONS__ 1 3951 _ACEOF 3952 3953 cat >>confdefs.h <<\_ACEOF 2841 3954 #define _ALL_SOURCE 1 2842 3955 _ACEOF 2843 3956 2844 else 2845 echo "$as_me:$LINENO: result: no" >&5 2846 echo "${ECHO_T}no" >&6 2847 fi 2848 rm -f conftest* 2849 2850 2851 echo "$as_me:$LINENO: checking maximum warning verbosity option" >&5 2852 echo $ECHO_N "checking maximum warning verbosity option... $ECHO_C" >&6 3957 cat >>confdefs.h <<\_ACEOF 3958 #define _GNU_SOURCE 1 3959 _ACEOF 3960 3961 cat >>confdefs.h <<\_ACEOF 3962 #define _POSIX_PTHREAD_SEMANTICS 1 3963 _ACEOF 3964 3965 cat >>confdefs.h <<\_ACEOF 3966 #define _TANDEM_SOURCE 1 3967 _ACEOF 3968 3969 3970 { $as_echo "$as_me:$LINENO: checking maximum warning verbosity option" >&5 3971 $as_echo_n "checking maximum warning verbosity option... " >&6; } 2853 3972 if test -n "$CXX" 2854 3973 then … … 2870 3989 ac_compile_warnings_msg="$ac_compile_warnings_msg $ac_compile_warnings_opt for C" 2871 3990 fi 2872 echo "$as_me:$LINENO: result: $ac_compile_warnings_msg" >&52873 echo "${ECHO_T}$ac_compile_warnings_msg" >&6 3991 { $as_echo "$as_me:$LINENO: result: $ac_compile_warnings_msg" >&5 3992 $as_echo "$ac_compile_warnings_msg" >&6; } 2874 3993 unset ac_compile_warnings_msg 2875 3994 unset ac_compile_warnings_opt 2876 3995 2877 3996 2878 # Check whether --enable-shared or --disable-sharedwas given.3997 # Check whether --enable-shared was given. 2879 3998 if test "${enable_shared+set}" = set; then 2880 enableval="$enable_shared" 2881 p=${PACKAGE-default} 3999 enableval=$enable_shared; p=${PACKAGE-default} 2882 4000 case $enableval in 2883 4001 yes) enable_shared=yes ;; … … 2897 4015 else 2898 4016 enable_shared=yes 2899 fi; 2900 # Check whether --enable-static or --disable-static was given. 4017 fi 4018 4019 # Check whether --enable-static was given. 2901 4020 if test "${enable_static+set}" = set; then 2902 enableval="$enable_static" 2903 p=${PACKAGE-default} 4021 enableval=$enable_static; p=${PACKAGE-default} 2904 4022 case $enableval in 2905 4023 yes) enable_static=yes ;; … … 2919 4037 else 2920 4038 enable_static=yes 2921 fi; 2922 # Check whether --enable-fast-install or --disable-fast-install was given. 4039 fi 4040 4041 # Check whether --enable-fast-install was given. 2923 4042 if test "${enable_fast_install+set}" = set; then 2924 enableval="$enable_fast_install" 2925 p=${PACKAGE-default} 4043 enableval=$enable_fast_install; p=${PACKAGE-default} 2926 4044 case $enableval in 2927 4045 yes) enable_fast_install=yes ;; … … 2941 4059 else 2942 4060 enable_fast_install=yes 2943 fi; 4061 fi 4062 2944 4063 # Find the correct PATH separator. Usually this is `:', but 2945 4064 # DJGPP uses `;' like DOS. … … 2954 4073 2955 4074 2956 # Check whether --with-gnu-ld or --without-gnu-ldwas given.4075 # Check whether --with-gnu-ld was given. 2957 4076 if test "${with_gnu_ld+set}" = set; then 2958 withval="$with_gnu_ld" 2959 test "$withval" = no || with_gnu_ld=yes 4077 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 2960 4078 else 2961 4079 with_gnu_ld=no 2962 fi; 4080 fi 4081 2963 4082 ac_prog=ld 2964 4083 if test "$GCC" = yes; then 2965 4084 # Check if gcc -print-prog-name=ld gives a path. 2966 echo "$as_me:$LINENO: checking for ld used by GCC" >&52967 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 4085 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5 4086 $as_echo_n "checking for ld used by GCC... " >&6; } 2968 4087 case $host in 2969 4088 *-*-mingw*) … … 2994 4113 esac 2995 4114 elif test "$with_gnu_ld" = yes; then 2996 echo "$as_me:$LINENO: checking for GNU ld" >&52997 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 2998 else 2999 echo "$as_me:$LINENO: checking for non-GNU ld" >&53000 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 4115 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4116 $as_echo_n "checking for GNU ld... " >&6; } 4117 else 4118 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4119 $as_echo_n "checking for non-GNU ld... " >&6; } 3001 4120 fi 3002 4121 if test "${lt_cv_path_LD+set}" = set; then 3003 echo $ECHO_N "(cached) $ECHO_C" >&64122 $as_echo_n "(cached) " >&6 3004 4123 else 3005 4124 if test -z "$LD"; then … … 3027 4146 LD="$lt_cv_path_LD" 3028 4147 if test -n "$LD"; then 3029 echo "$as_me:$LINENO: result: $LD" >&53030 echo "${ECHO_T}$LD" >&6 3031 else 3032 echo "$as_me:$LINENO: result: no" >&53033 echo "${ECHO_T}no" >&6 3034 fi 3035 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&53036 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}4148 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4149 $as_echo "$LD" >&6; } 4150 else 4151 { $as_echo "$as_me:$LINENO: result: no" >&5 4152 $as_echo "no" >&6; } 4153 fi 4154 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4155 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3037 4156 { (exit 1); exit 1; }; } 3038 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&53039 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 4157 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4158 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 3040 4159 if test "${lt_cv_prog_gnu_ld+set}" = set; then 3041 echo $ECHO_N "(cached) $ECHO_C" >&64160 $as_echo_n "(cached) " >&6 3042 4161 else 3043 4162 # I'd rather use --version here, but apparently some GNU ld's only accept -v. … … 3048 4167 fi 3049 4168 fi 3050 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&53051 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 4169 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4170 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 3052 4171 with_gnu_ld=$lt_cv_prog_gnu_ld 3053 4172 3054 4173 3055 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&53056 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 4174 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4175 $as_echo_n "checking for $LD option to reload object files... " >&6; } 3057 4176 if test "${lt_cv_ld_reload_flag+set}" = set; then 3058 echo $ECHO_N "(cached) $ECHO_C" >&64177 $as_echo_n "(cached) " >&6 3059 4178 else 3060 4179 lt_cv_ld_reload_flag='-r' 3061 4180 fi 3062 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&53063 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 4181 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4182 $as_echo "$lt_cv_ld_reload_flag" >&6; } 3064 4183 reload_flag=$lt_cv_ld_reload_flag 3065 4184 test -n "$reload_flag" && reload_flag=" $reload_flag" 3066 4185 3067 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&53068 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 4186 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 4187 $as_echo_n "checking for BSD-compatible nm... " >&6; } 3069 4188 if test "${lt_cv_path_NM+set}" = set; then 3070 echo $ECHO_N "(cached) $ECHO_C" >&64189 $as_echo_n "(cached) " >&6 3071 4190 else 3072 4191 if test -n "$NM"; then … … 3101 4220 3102 4221 NM="$lt_cv_path_NM" 3103 echo "$as_me:$LINENO: result: $NM" >&53104 echo "${ECHO_T}$NM" >&6 3105 3106 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&53107 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 4222 { $as_echo "$as_me:$LINENO: result: $NM" >&5 4223 $as_echo "$NM" >&6; } 4224 4225 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 4226 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 3108 4227 if test "${lt_cv_path_SED+set}" = set; then 3109 echo $ECHO_N "(cached) $ECHO_C" >&64228 $as_echo_n "(cached) " >&6 3110 4229 else 3111 4230 # Loop through the user's path and test for sed and gsed. … … 3186 4305 SED=$lt_cv_path_SED 3187 4306 fi 3188 echo "$as_me:$LINENO: result: $SED" >&53189 echo "${ECHO_T}$SED" >&6 3190 3191 echo "$as_me:$LINENO: checking whether ln -s works" >&53192 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4307 { $as_echo "$as_me:$LINENO: result: $SED" >&5 4308 $as_echo "$SED" >&6; } 4309 4310 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4311 $as_echo_n "checking whether ln -s works... " >&6; } 3193 4312 LN_S=$as_ln_s 3194 4313 if test "$LN_S" = "ln -s"; then 3195 echo "$as_me:$LINENO: result: yes" >&53196 echo "${ECHO_T}yes" >&6 3197 else 3198 echo "$as_me:$LINENO: result: no, using $LN_S" >&53199 echo "${ECHO_T}no, using $LN_S" >&6 3200 fi 3201 3202 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&53203 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 4314 { $as_echo "$as_me:$LINENO: result: yes" >&5 4315 $as_echo "yes" >&6; } 4316 else 4317 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4318 $as_echo "no, using $LN_S" >&6; } 4319 fi 4320 4321 { $as_echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 4322 $as_echo_n "checking how to recognise dependent libraries... " >&6; } 3204 4323 if test "${lt_cv_deplibs_check_method+set}" = set; then 3205 echo $ECHO_N "(cached) $ECHO_C" >&64324 $as_echo_n "(cached) " >&6 3206 4325 else 3207 4326 lt_cv_file_magic_cmd='$MAGIC_CMD' … … 3381 4500 3382 4501 fi 3383 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&53384 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 4502 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 4503 $as_echo "$lt_cv_deplibs_check_method" >&6; } 3385 4504 file_magic_cmd=$lt_cv_file_magic_cmd 3386 4505 deplibs_check_method=$lt_cv_deplibs_check_method … … 3393 4512 3394 4513 # Check for command to grab the raw symbol name followed by C symbol from nm. 3395 echo "$as_me:$LINENO: checking command to parse $NM output" >&53396 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 4514 { $as_echo "$as_me:$LINENO: checking command to parse $NM output" >&5 4515 $as_echo_n "checking command to parse $NM output... " >&6; } 3397 4516 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 3398 echo $ECHO_N "(cached) $ECHO_C" >&64517 $as_echo_n "(cached) " >&6 3399 4518 else 3400 4519 … … 3477 4596 (eval $ac_compile) 2>&5 3478 4597 ac_status=$? 3479 echo "$as_me:$LINENO: \$? = $ac_status" >&54598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3480 4599 (exit $ac_status); }; then 3481 4600 # Now try to grab the symbols. … … 3484 4603 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 3485 4604 ac_status=$? 3486 echo "$as_me:$LINENO: \$? = $ac_status" >&54605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 4606 (exit $ac_status); } && test -s "$nlist"; then 3488 4607 # Try sorting and uniquifying the output. … … 3539 4658 (eval $ac_link) 2>&5 3540 4659 ac_status=$? 3541 echo "$as_me:$LINENO: \$? = $ac_status" >&54660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3542 4661 (exit $ac_status); } && test -s conftest; then 3543 4662 pipe_works=yes … … 3580 4699 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; 3581 4700 then 3582 echo "$as_me:$LINENO: result: failed" >&5 3583 echo "${ECHO_T}failed" >&6 3584 else 3585 echo "$as_me:$LINENO: result: ok" >&5 3586 echo "${ECHO_T}ok" >&6 3587 fi 3588 3589 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3590 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3591 if test "${ac_cv_header_stdc+set}" = set; then 3592 echo $ECHO_N "(cached) $ECHO_C" >&6 3593 else 3594 cat >conftest.$ac_ext <<_ACEOF 3595 /* confdefs.h. */ 3596 _ACEOF 3597 cat confdefs.h >>conftest.$ac_ext 3598 cat >>conftest.$ac_ext <<_ACEOF 3599 /* end confdefs.h. */ 3600 #include <stdlib.h> 3601 #include <stdarg.h> 3602 #include <string.h> 3603 #include <float.h> 3604 3605 int 3606 main () 3607 { 3608 3609 ; 3610 return 0; 3611 } 3612 _ACEOF 3613 rm -f conftest.$ac_objext 3614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3615 (eval $ac_compile) 2>conftest.er1 3616 ac_status=$? 3617 grep -v '^ *+' conftest.er1 >conftest.err 3618 rm -f conftest.er1 3619 cat conftest.err >&5 3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3621 (exit $ac_status); } && 3622 { ac_try='test -z "$ac_c_werror_flag" 3623 || test ! -s conftest.err' 3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3625 (eval $ac_try) 2>&5 3626 ac_status=$? 3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3628 (exit $ac_status); }; } && 3629 { ac_try='test -s conftest.$ac_objext' 3630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3631 (eval $ac_try) 2>&5 3632 ac_status=$? 3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3634 (exit $ac_status); }; }; then 3635 ac_cv_header_stdc=yes 3636 else 3637 echo "$as_me: failed program was:" >&5 3638 sed 's/^/| /' conftest.$ac_ext >&5 3639 3640 ac_cv_header_stdc=no 3641 fi 3642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3643 3644 if test $ac_cv_header_stdc = yes; then 3645 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3646 cat >conftest.$ac_ext <<_ACEOF 3647 /* confdefs.h. */ 3648 _ACEOF 3649 cat confdefs.h >>conftest.$ac_ext 3650 cat >>conftest.$ac_ext <<_ACEOF 3651 /* end confdefs.h. */ 3652 #include <string.h> 3653 3654 _ACEOF 3655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3656 $EGREP "memchr" >/dev/null 2>&1; then 3657 : 3658 else 3659 ac_cv_header_stdc=no 3660 fi 3661 rm -f conftest* 3662 3663 fi 3664 3665 if test $ac_cv_header_stdc = yes; then 3666 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3667 cat >conftest.$ac_ext <<_ACEOF 3668 /* confdefs.h. */ 3669 _ACEOF 3670 cat confdefs.h >>conftest.$ac_ext 3671 cat >>conftest.$ac_ext <<_ACEOF 3672 /* end confdefs.h. */ 3673 #include <stdlib.h> 3674 3675 _ACEOF 3676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3677 $EGREP "free" >/dev/null 2>&1; then 3678 : 3679 else 3680 ac_cv_header_stdc=no 3681 fi 3682 rm -f conftest* 3683 3684 fi 3685 3686 if test $ac_cv_header_stdc = yes; then 3687 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3688 if test "$cross_compiling" = yes; then 3689 : 3690 else 3691 cat >conftest.$ac_ext <<_ACEOF 3692 /* confdefs.h. */ 3693 _ACEOF 3694 cat confdefs.h >>conftest.$ac_ext 3695 cat >>conftest.$ac_ext <<_ACEOF 3696 /* end confdefs.h. */ 3697 #include <ctype.h> 3698 #if ((' ' & 0x0FF) == 0x020) 3699 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3700 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3701 #else 3702 # define ISLOWER(c) \ 3703 (('a' <= (c) && (c) <= 'i') \ 3704 || ('j' <= (c) && (c) <= 'r') \ 3705 || ('s' <= (c) && (c) <= 'z')) 3706 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3707 #endif 3708 3709 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3710 int 3711 main () 3712 { 3713 int i; 3714 for (i = 0; i < 256; i++) 3715 if (XOR (islower (i), ISLOWER (i)) 3716 || toupper (i) != TOUPPER (i)) 3717 exit(2); 3718 exit (0); 3719 } 3720 _ACEOF 3721 rm -f conftest$ac_exeext 3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3723 (eval $ac_link) 2>&5 3724 ac_status=$? 3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3728 (eval $ac_try) 2>&5 3729 ac_status=$? 3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3731 (exit $ac_status); }; }; then 3732 : 3733 else 3734 echo "$as_me: program exited with status $ac_status" >&5 3735 echo "$as_me: failed program was:" >&5 3736 sed 's/^/| /' conftest.$ac_ext >&5 3737 3738 ( exit $ac_status ) 3739 ac_cv_header_stdc=no 3740 fi 3741 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3742 fi 3743 fi 3744 fi 3745 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3746 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3747 if test $ac_cv_header_stdc = yes; then 3748 3749 cat >>confdefs.h <<\_ACEOF 3750 #define STDC_HEADERS 1 3751 _ACEOF 3752 3753 fi 3754 3755 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3766 inttypes.h stdint.h unistd.h 3767 do 3768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3769 echo "$as_me:$LINENO: checking for $ac_header" >&5 3770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3771 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3772 echo $ECHO_N "(cached) $ECHO_C" >&6 3773 else 3774 cat >conftest.$ac_ext <<_ACEOF 3775 /* confdefs.h. */ 3776 _ACEOF 3777 cat confdefs.h >>conftest.$ac_ext 3778 cat >>conftest.$ac_ext <<_ACEOF 3779 /* end confdefs.h. */ 3780 $ac_includes_default 3781 3782 #include <$ac_header> 3783 _ACEOF 3784 rm -f conftest.$ac_objext 3785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3786 (eval $ac_compile) 2>conftest.er1 3787 ac_status=$? 3788 grep -v '^ *+' conftest.er1 >conftest.err 3789 rm -f conftest.er1 3790 cat conftest.err >&5 3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3792 (exit $ac_status); } && 3793 { ac_try='test -z "$ac_c_werror_flag" 3794 || test ! -s conftest.err' 3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3796 (eval $ac_try) 2>&5 3797 ac_status=$? 3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3799 (exit $ac_status); }; } && 3800 { ac_try='test -s conftest.$ac_objext' 3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3802 (eval $ac_try) 2>&5 3803 ac_status=$? 3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3805 (exit $ac_status); }; }; then 3806 eval "$as_ac_Header=yes" 3807 else 3808 echo "$as_me: failed program was:" >&5 3809 sed 's/^/| /' conftest.$ac_ext >&5 3810 3811 eval "$as_ac_Header=no" 3812 fi 3813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3814 fi 3815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3817 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3818 cat >>confdefs.h <<_ACEOF 3819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3820 _ACEOF 3821 3822 fi 3823 3824 done 3825 4701 { $as_echo "$as_me:$LINENO: result: failed" >&5 4702 $as_echo "failed" >&6; } 4703 else 4704 { $as_echo "$as_me:$LINENO: result: ok" >&5 4705 $as_echo "ok" >&6; } 4706 fi 3826 4707 3827 4708 3828 4709 for ac_header in dlfcn.h 3829 4710 do 3830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3831 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3832 echo "$as_me:$LINENO: checking for $ac_header" >&5 3833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3834 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3835 echo $ECHO_N "(cached) $ECHO_C" >&6 3836 fi 3837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4713 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4714 $as_echo_n "checking for $ac_header... " >&6; } 4715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4716 $as_echo_n "(cached) " >&6 4717 fi 4718 ac_res=`eval 'as_val=${'$as_ac_Header'} 4719 $as_echo "$as_val"'` 4720 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4721 $as_echo "$ac_res" >&6; } 3839 4722 else 3840 4723 # Is the header compilable? 3841 echo "$as_me:$LINENO: checking $ac_header usability" >&53842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4724 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4725 $as_echo_n "checking $ac_header usability... " >&6; } 3843 4726 cat >conftest.$ac_ext <<_ACEOF 3844 4727 /* confdefs.h. */ … … 3851 4734 _ACEOF 3852 4735 rm -f conftest.$ac_objext 3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3854 (eval $ac_compile) 2>conftest.er1 4736 if { (ac_try="$ac_compile" 4737 case "(($ac_try" in 4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4739 *) ac_try_echo=$ac_try;; 4740 esac 4741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4742 $as_echo "$ac_try_echo") >&5 4743 (eval "$ac_compile") 2>conftest.er1 3855 4744 ac_status=$? 3856 4745 grep -v '^ *+' conftest.er1 >conftest.err 3857 4746 rm -f conftest.er1 3858 4747 cat conftest.err >&5 3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3860 (exit $ac_status); } && 3861 { ac_try='test -z "$ac_c_werror_flag" 3862 || test ! -s conftest.err' 3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3864 (eval $ac_try) 2>&5 3865 ac_status=$? 3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3867 (exit $ac_status); }; } && 3868 { ac_try='test -s conftest.$ac_objext' 3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3870 (eval $ac_try) 2>&5 3871 ac_status=$? 3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 (exit $ac_status); }; }; then 4748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4749 (exit $ac_status); } && { 4750 test -z "$ac_c_werror_flag" || 4751 test ! -s conftest.err 4752 } && test -s conftest.$ac_objext; then 3874 4753 ac_header_compiler=yes 3875 4754 else 3876 echo "$as_me: failed program was:" >&54755 $as_echo "$as_me: failed program was:" >&5 3877 4756 sed 's/^/| /' conftest.$ac_ext >&5 3878 4757 3879 ac_header_compiler=no 3880 fi 3881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3883 echo "${ECHO_T}$ac_header_compiler" >&6 4758 ac_header_compiler=no 4759 fi 4760 4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4762 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4763 $as_echo "$ac_header_compiler" >&6; } 3884 4764 3885 4765 # Is the header present? 3886 echo "$as_me:$LINENO: checking $ac_header presence" >&53887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4766 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4767 $as_echo_n "checking $ac_header presence... " >&6; } 3888 4768 cat >conftest.$ac_ext <<_ACEOF 3889 4769 /* confdefs.h. */ … … 3894 4774 #include <$ac_header> 3895 4775 _ACEOF 3896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4776 if { (ac_try="$ac_cpp conftest.$ac_ext" 4777 case "(($ac_try" in 4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4779 *) ac_try_echo=$ac_try;; 4780 esac 4781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4782 $as_echo "$ac_try_echo") >&5 4783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3898 4784 ac_status=$? 3899 4785 grep -v '^ *+' conftest.er1 >conftest.err 3900 4786 rm -f conftest.er1 3901 4787 cat conftest.err >&5 3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3903 (exit $ac_status); } >/dev/null; then 3904 if test -s conftest.err; then 3905 ac_cpp_err=$ac_c_preproc_warn_flag 3906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3907 else 3908 ac_cpp_err= 3909 fi 3910 else 3911 ac_cpp_err=yes 3912 fi 3913 if test -z "$ac_cpp_err"; then 4788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4789 (exit $ac_status); } >/dev/null && { 4790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4791 test ! -s conftest.err 4792 }; then 3914 4793 ac_header_preproc=yes 3915 4794 else 3916 echo "$as_me: failed program was:" >&54795 $as_echo "$as_me: failed program was:" >&5 3917 4796 sed 's/^/| /' conftest.$ac_ext >&5 3918 4797 3919 4798 ac_header_preproc=no 3920 4799 fi 4800 3921 4801 rm -f conftest.err conftest.$ac_ext 3922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53923 echo "${ECHO_T}$ac_header_preproc" >&6 4802 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4803 $as_echo "$ac_header_preproc" >&6; } 3924 4804 3925 4805 # So? What about this header? 3926 4806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3927 4807 yes:no: ) 3928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&53929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}3930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&53931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4809 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4810 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4811 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3932 4812 ac_header_preproc=yes 3933 4813 ;; 3934 4814 no:yes:* ) 3935 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3937 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3938 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3939 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3941 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3942 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3945 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3947 ( 3948 cat <<\_ASBOX 3949 ## ------------------------------------------ ## 3950 ## Report this to the AC_PACKAGE_NAME lists. ## 3951 ## ------------------------------------------ ## 3952 _ASBOX 3953 ) | 3954 sed "s/^/$as_me: WARNING: /" >&2 4815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4816 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4818 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4820 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4822 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4824 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4826 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4827 3955 4828 ;; 3956 4829 esac 3957 echo "$as_me:$LINENO: checking for $ac_header" >&53958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3959 if eval "test \"\${$as_ac_Header+set}\" = set"; then3960 echo $ECHO_N "(cached) $ECHO_C" >&64830 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4831 $as_echo_n "checking for $ac_header... " >&6; } 4832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4833 $as_echo_n "(cached) " >&6 3961 4834 else 3962 4835 eval "$as_ac_Header=\$ac_header_preproc" 3963 4836 fi 3964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3966 3967 fi 3968 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4837 ac_res=`eval 'as_val=${'$as_ac_Header'} 4838 $as_echo "$as_val"'` 4839 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4840 $as_echo "$ac_res" >&6; } 4841 4842 fi 4843 as_val=`eval 'as_val=${'$as_ac_Header'} 4844 $as_echo "$as_val"'` 4845 if test "x$as_val" = x""yes; then 3969 4846 cat >>confdefs.h <<_ACEOF 3970 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3971 4848 _ACEOF 3972 4849 … … 3984 4861 file_magic*) 3985 4862 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 3986 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&53987 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 4863 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 4864 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 3988 4865 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3989 echo $ECHO_N "(cached) $ECHO_C" >&64866 $as_echo_n "(cached) " >&6 3990 4867 else 3991 4868 case $MAGIC_CMD in … … 4039 4916 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 4040 4917 if test -n "$MAGIC_CMD"; then 4041 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&54042 echo "${ECHO_T}$MAGIC_CMD" >&6 4043 else 4044 echo "$as_me:$LINENO: result: no" >&54045 echo "${ECHO_T}no" >&6 4918 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 4919 $as_echo "$MAGIC_CMD" >&6; } 4920 else 4921 { $as_echo "$as_me:$LINENO: result: no" >&5 4922 $as_echo "no" >&6; } 4046 4923 fi 4047 4924 4048 4925 if test -z "$lt_cv_path_MAGIC_CMD"; then 4049 4926 if test -n "$ac_tool_prefix"; then 4050 echo "$as_me:$LINENO: checking for file" >&54051 echo $ECHO_N "checking for file... $ECHO_C" >&6 4927 { $as_echo "$as_me:$LINENO: checking for file" >&5 4928 $as_echo_n "checking for file... " >&6; } 4052 4929 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 4053 echo $ECHO_N "(cached) $ECHO_C" >&64930 $as_echo_n "(cached) " >&6 4054 4931 else 4055 4932 case $MAGIC_CMD in … … 4103 4980 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 4104 4981 if test -n "$MAGIC_CMD"; then 4105 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&54106 echo "${ECHO_T}$MAGIC_CMD" >&6 4107 else 4108 echo "$as_me:$LINENO: result: no" >&54109 echo "${ECHO_T}no" >&6 4982 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 4983 $as_echo "$MAGIC_CMD" >&6; } 4984 else 4985 { $as_echo "$as_me:$LINENO: result: no" >&5 4986 $as_echo "no" >&6; } 4110 4987 fi 4111 4988 … … 4122 4999 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4123 5000 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4124 echo "$as_me:$LINENO: checking for $ac_word" >&54125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5001 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5002 $as_echo_n "checking for $ac_word... " >&6; } 4126 5003 if test "${ac_cv_prog_RANLIB+set}" = set; then 4127 echo $ECHO_N "(cached) $ECHO_C" >&65004 $as_echo_n "(cached) " >&6 4128 5005 else 4129 5006 if test -n "$RANLIB"; then … … 4136 5013 test -z "$as_dir" && as_dir=. 4137 5014 for ac_exec_ext in '' $ac_executable_extensions; do 4138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4139 5016 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55017 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4141 5018 break 2 4142 5019 fi 4143 5020 done 4144 5021 done 5022 IFS=$as_save_IFS 4145 5023 4146 5024 fi … … 4148 5026 RANLIB=$ac_cv_prog_RANLIB 4149 5027 if test -n "$RANLIB"; then 4150 echo "$as_me:$LINENO: result: $RANLIB" >&5 4151 echo "${ECHO_T}$RANLIB" >&6 4152 else 4153 echo "$as_me:$LINENO: result: no" >&5 4154 echo "${ECHO_T}no" >&6 4155 fi 5028 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5029 $as_echo "$RANLIB" >&6; } 5030 else 5031 { $as_echo "$as_me:$LINENO: result: no" >&5 5032 $as_echo "no" >&6; } 5033 fi 5034 4156 5035 4157 5036 fi … … 4160 5039 # Extract the first word of "ranlib", so it can be a program name with args. 4161 5040 set dummy ranlib; ac_word=$2 4162 echo "$as_me:$LINENO: checking for $ac_word" >&54163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5041 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5042 $as_echo_n "checking for $ac_word... " >&6; } 4164 5043 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4165 echo $ECHO_N "(cached) $ECHO_C" >&65044 $as_echo_n "(cached) " >&6 4166 5045 else 4167 5046 if test -n "$ac_ct_RANLIB"; then … … 4174 5053 test -z "$as_dir" && as_dir=. 4175 5054 for ac_exec_ext in '' $ac_executable_extensions; do 4176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4177 5056 ac_cv_prog_ac_ct_RANLIB="ranlib" 4178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55057 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4179 5058 break 2 4180 5059 fi 4181 5060 done 4182 5061 done 4183 4184 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 5062 IFS=$as_save_IFS 5063 4185 5064 fi 4186 5065 fi 4187 5066 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4188 5067 if test -n "$ac_ct_RANLIB"; then 4189 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4190 echo "${ECHO_T}$ac_ct_RANLIB" >&6 4191 else 4192 echo "$as_me:$LINENO: result: no" >&5 4193 echo "${ECHO_T}no" >&6 4194 fi 4195 4196 RANLIB=$ac_ct_RANLIB 5068 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5069 $as_echo "$ac_ct_RANLIB" >&6; } 5070 else 5071 { $as_echo "$as_me:$LINENO: result: no" >&5 5072 $as_echo "no" >&6; } 5073 fi 5074 5075 if test "x$ac_ct_RANLIB" = x; then 5076 RANLIB=":" 5077 else 5078 case $cross_compiling:$ac_tool_warned in 5079 yes:) 5080 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5082 ac_tool_warned=yes ;; 5083 esac 5084 RANLIB=$ac_ct_RANLIB 5085 fi 4197 5086 else 4198 5087 RANLIB="$ac_cv_prog_RANLIB" … … 4202 5091 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4203 5092 set dummy ${ac_tool_prefix}strip; ac_word=$2 4204 echo "$as_me:$LINENO: checking for $ac_word" >&54205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5093 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5094 $as_echo_n "checking for $ac_word... " >&6; } 4206 5095 if test "${ac_cv_prog_STRIP+set}" = set; then 4207 echo $ECHO_N "(cached) $ECHO_C" >&65096 $as_echo_n "(cached) " >&6 4208 5097 else 4209 5098 if test -n "$STRIP"; then … … 4216 5105 test -z "$as_dir" && as_dir=. 4217 5106 for ac_exec_ext in '' $ac_executable_extensions; do 4218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4219 5108 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4221 5110 break 2 4222 5111 fi 4223 5112 done 4224 5113 done 5114 IFS=$as_save_IFS 4225 5115 4226 5116 fi … … 4228 5118 STRIP=$ac_cv_prog_STRIP 4229 5119 if test -n "$STRIP"; then 4230 echo "$as_me:$LINENO: result: $STRIP" >&5 4231 echo "${ECHO_T}$STRIP" >&6 4232 else 4233 echo "$as_me:$LINENO: result: no" >&5 4234 echo "${ECHO_T}no" >&6 4235 fi 5120 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 5121 $as_echo "$STRIP" >&6; } 5122 else 5123 { $as_echo "$as_me:$LINENO: result: no" >&5 5124 $as_echo "no" >&6; } 5125 fi 5126 4236 5127 4237 5128 fi … … 4240 5131 # Extract the first word of "strip", so it can be a program name with args. 4241 5132 set dummy strip; ac_word=$2 4242 echo "$as_me:$LINENO: checking for $ac_word" >&54243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5134 $as_echo_n "checking for $ac_word... " >&6; } 4244 5135 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 4245 echo $ECHO_N "(cached) $ECHO_C" >&65136 $as_echo_n "(cached) " >&6 4246 5137 else 4247 5138 if test -n "$ac_ct_STRIP"; then … … 4254 5145 test -z "$as_dir" && as_dir=. 4255 5146 for ac_exec_ext in '' $ac_executable_extensions; do 4256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4257 5148 ac_cv_prog_ac_ct_STRIP="strip" 4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4259 5150 break 2 4260 5151 fi 4261 5152 done 4262 5153 done 4263 4264 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 5154 IFS=$as_save_IFS 5155 4265 5156 fi 4266 5157 fi 4267 5158 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4268 5159 if test -n "$ac_ct_STRIP"; then 4269 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4270 echo "${ECHO_T}$ac_ct_STRIP" >&6 4271 else 4272 echo "$as_me:$LINENO: result: no" >&5 4273 echo "${ECHO_T}no" >&6 4274 fi 4275 4276 STRIP=$ac_ct_STRIP 5160 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5161 $as_echo "$ac_ct_STRIP" >&6; } 5162 else 5163 { $as_echo "$as_me:$LINENO: result: no" >&5 5164 $as_echo "no" >&6; } 5165 fi 5166 5167 if test "x$ac_ct_STRIP" = x; then 5168 STRIP=":" 5169 else 5170 case $cross_compiling:$ac_tool_warned in 5171 yes:) 5172 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5174 ac_tool_warned=yes ;; 5175 esac 5176 STRIP=$ac_ct_STRIP 5177 fi 4277 5178 else 4278 5179 STRIP="$ac_cv_prog_STRIP" … … 4283 5184 enable_win32_dll=no 4284 5185 4285 # Check whether --enable-libtool-lock or --disable-libtool-lockwas given.5186 # Check whether --enable-libtool-lock was given. 4286 5187 if test "${enable_libtool_lock+set}" = set; then 4287 enableval= "$enable_libtool_lock"4288 4289 fi; 5188 enableval=$enable_libtool_lock; 5189 fi 5190 4290 5191 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 4291 5192 … … 4295 5196 *-*-irix6*) 4296 5197 # Find out which ABI we are using. 4297 echo '#line 4297"configure"' > conftest.$ac_ext5198 echo '#line 5198 "configure"' > conftest.$ac_ext 4298 5199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4299 5200 (eval $ac_compile) 2>&5 4300 5201 ac_status=$? 4301 echo "$as_me:$LINENO: \$? = $ac_status" >&55202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4302 5203 (exit $ac_status); }; then 4303 5204 case `/usr/bin/file conftest.$ac_objext` in … … 4320 5221 SAVE_CFLAGS="$CFLAGS" 4321 5222 CFLAGS="$CFLAGS -belf" 4322 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&54323 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 5223 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 5224 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 4324 5225 if test "${lt_cv_cc_needs_belf+set}" = set; then 4325 echo $ECHO_N "(cached) $ECHO_C" >&6 4326 else 4327 5226 $as_echo_n "(cached) " >&6 5227 else 4328 5228 4329 5229 ac_ext=c … … 4349 5249 _ACEOF 4350 5250 rm -f conftest.$ac_objext conftest$ac_exeext 4351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4352 (eval $ac_link) 2>conftest.er1 5251 if { (ac_try="$ac_link" 5252 case "(($ac_try" in 5253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5254 *) ac_try_echo=$ac_try;; 5255 esac 5256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5257 $as_echo "$ac_try_echo") >&5 5258 (eval "$ac_link") 2>conftest.er1 4353 5259 ac_status=$? 4354 5260 grep -v '^ *+' conftest.er1 >conftest.err 4355 5261 rm -f conftest.er1 4356 5262 cat conftest.err >&5 4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4358 (exit $ac_status); } && 4359 { ac_try='test -z "$ac_c_werror_flag" 4360 || test ! -s conftest.err' 4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4362 (eval $ac_try) 2>&5 4363 ac_status=$? 4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4365 (exit $ac_status); }; } && 4366 { ac_try='test -s conftest$ac_exeext' 4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4368 (eval $ac_try) 2>&5 4369 ac_status=$? 4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4371 (exit $ac_status); }; }; then 5263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5264 (exit $ac_status); } && { 5265 test -z "$ac_c_werror_flag" || 5266 test ! -s conftest.err 5267 } && test -s conftest$ac_exeext && { 5268 test "$cross_compiling" = yes || 5269 $as_test_x conftest$ac_exeext 5270 }; then 4372 5271 lt_cv_cc_needs_belf=yes 4373 5272 else 4374 echo "$as_me: failed program was:" >&55273 $as_echo "$as_me: failed program was:" >&5 4375 5274 sed 's/^/| /' conftest.$ac_ext >&5 4376 5275 4377 lt_cv_cc_needs_belf=no 4378 fi 4379 rm -f conftest.err conftest.$ac_objext \ 5276 lt_cv_cc_needs_belf=no 5277 fi 5278 5279 rm -rf conftest.dSYM 5280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4380 5281 conftest$ac_exeext conftest.$ac_ext 4381 5282 ac_ext=c … … 4386 5287 4387 5288 fi 4388 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&54389 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 5289 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 5290 $as_echo "$lt_cv_cc_needs_belf" >&6; } 4390 5291 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4391 5292 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf … … 4487 5388 compiler="$2" 4488 5389 4489 echo "$as_me:$LINENO: checking for objdir" >&54490 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 5390 { $as_echo "$as_me:$LINENO: checking for objdir" >&5 5391 $as_echo_n "checking for objdir... " >&6; } 4491 5392 rm -f .libs 2>/dev/null 4492 5393 mkdir .libs 2>/dev/null … … 4498 5399 fi 4499 5400 rmdir .libs 2>/dev/null 4500 echo "$as_me:$LINENO: result: $objdir" >&54501 echo "${ECHO_T}$objdir" >&6 4502 4503 4504 4505 # Check whether --with-pic or --without-picwas given.5401 { $as_echo "$as_me:$LINENO: result: $objdir" >&5 5402 $as_echo "$objdir" >&6; } 5403 5404 5405 5406 # Check whether --with-pic was given. 4506 5407 if test "${with_pic+set}" = set; then 4507 withval="$with_pic" 4508 pic_mode="$withval" 5408 withval=$with_pic; pic_mode="$withval" 4509 5409 else 4510 5410 pic_mode=default 4511 fi; 5411 fi 5412 4512 5413 test -z "$pic_mode" && pic_mode=default 4513 5414 … … 4515 5416 # in isolation, and that seeing it set (from the cache) indicates that 4516 5417 # the associated values are set (in the cache) correctly too. 4517 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&54518 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 5418 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 5419 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 4519 5420 if test "${lt_cv_prog_cc_pic+set}" = set; then 4520 echo $ECHO_N "(cached) $ECHO_C" >&65421 $as_echo_n "(cached) " >&6 4521 5422 else 4522 5423 lt_cv_prog_cc_pic= … … 4658 5559 4659 5560 if test -z "$lt_cv_prog_cc_pic"; then 4660 echo "$as_me:$LINENO: result: none" >&54661 echo "${ECHO_T}none" >&6 4662 else 4663 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&54664 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 5561 { $as_echo "$as_me:$LINENO: result: none" >&5 5562 $as_echo "none" >&6; } 5563 else 5564 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 5565 $as_echo "$lt_cv_prog_cc_pic" >&6; } 4665 5566 4666 5567 # Check to make sure the pic_flag actually works. 4667 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&54668 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 5568 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 5569 $as_echo_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... " >&6; } 4669 5570 if test "${lt_cv_prog_cc_pic_works+set}" = set; then 4670 echo $ECHO_N "(cached) $ECHO_C" >&65571 $as_echo_n "(cached) " >&6 4671 5572 else 4672 5573 save_CFLAGS="$CFLAGS" … … 4688 5589 _ACEOF 4689 5590 rm -f conftest.$ac_objext 4690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4691 (eval $ac_compile) 2>conftest.er1 5591 if { (ac_try="$ac_compile" 5592 case "(($ac_try" in 5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5594 *) ac_try_echo=$ac_try;; 5595 esac 5596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5597 $as_echo "$ac_try_echo") >&5 5598 (eval "$ac_compile") 2>conftest.er1 4692 5599 ac_status=$? 4693 5600 grep -v '^ *+' conftest.er1 >conftest.err 4694 5601 rm -f conftest.er1 4695 5602 cat conftest.err >&5 4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4697 (exit $ac_status); } && 4698 { ac_try='test -z "$ac_c_werror_flag" 4699 || test ! -s conftest.err' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); }; } && 4705 { ac_try='test -s conftest.$ac_objext' 4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4707 (eval $ac_try) 2>&5 4708 ac_status=$? 4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4710 (exit $ac_status); }; }; then 5603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5604 (exit $ac_status); } && { 5605 test -z "$ac_c_werror_flag" || 5606 test ! -s conftest.err 5607 } && test -s conftest.$ac_objext; then 4711 5608 case $host_os in 4712 5609 hpux9* | hpux10* | hpux11*) … … 4726 5623 4727 5624 else 4728 echo "$as_me: failed program was:" >&55625 $as_echo "$as_me: failed program was:" >&5 4729 5626 sed 's/^/| /' conftest.$ac_ext >&5 4730 5627 4731 lt_cv_prog_cc_pic_works=no 4732 4733 fi 4734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5628 lt_cv_prog_cc_pic_works=no 5629 5630 fi 5631 5632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4735 5633 CFLAGS="$save_CFLAGS" 4736 5634 … … 4745 5643 fi 4746 5644 4747 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&54748 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 5645 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 5646 $as_echo "$lt_cv_prog_cc_pic_works" >&6; } 4749 5647 fi 4750 5648 4751 5649 # Check for any special shared library compilation flags. 4752 5650 if test -n "$lt_cv_prog_cc_shlib"; then 4753 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&54754 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}5651 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 5652 $as_echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} 4755 5653 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : 4756 5654 else 4757 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&54758 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}5655 { $as_echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 5656 $as_echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} 4759 5657 lt_cv_prog_cc_can_build_shared=no 4760 5658 fi 4761 5659 fi 4762 5660 4763 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&54764 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 5661 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 5662 $as_echo_n "checking if $compiler static flag $lt_cv_prog_cc_static works... " >&6; } 4765 5663 if test "${lt_cv_prog_cc_static_works+set}" = set; then 4766 echo $ECHO_N "(cached) $ECHO_C" >&65664 $as_echo_n "(cached) " >&6 4767 5665 else 4768 5666 lt_cv_prog_cc_static_works=no … … 4785 5683 _ACEOF 4786 5684 rm -f conftest.$ac_objext conftest$ac_exeext 4787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4788 (eval $ac_link) 2>conftest.er1 5685 if { (ac_try="$ac_link" 5686 case "(($ac_try" in 5687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5688 *) ac_try_echo=$ac_try;; 5689 esac 5690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5691 $as_echo "$ac_try_echo") >&5 5692 (eval "$ac_link") 2>conftest.er1 4789 5693 ac_status=$? 4790 5694 grep -v '^ *+' conftest.er1 >conftest.err 4791 5695 rm -f conftest.er1 4792 5696 cat conftest.err >&5 4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4794 (exit $ac_status); } && 4795 { ac_try='test -z "$ac_c_werror_flag" 4796 || test ! -s conftest.err' 4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4798 (eval $ac_try) 2>&5 4799 ac_status=$? 4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4801 (exit $ac_status); }; } && 4802 { ac_try='test -s conftest$ac_exeext' 4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4804 (eval $ac_try) 2>&5 4805 ac_status=$? 4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4807 (exit $ac_status); }; }; then 5697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5698 (exit $ac_status); } && { 5699 test -z "$ac_c_werror_flag" || 5700 test ! -s conftest.err 5701 } && test -s conftest$ac_exeext && { 5702 test "$cross_compiling" = yes || 5703 $as_test_x conftest$ac_exeext 5704 }; then 4808 5705 lt_cv_prog_cc_static_works=yes 4809 5706 else 4810 echo "$as_me: failed program was:" >&55707 $as_echo "$as_me: failed program was:" >&5 4811 5708 sed 's/^/| /' conftest.$ac_ext >&5 4812 5709 4813 fi 4814 rm -f conftest.err conftest.$ac_objext \ 5710 5711 fi 5712 5713 rm -rf conftest.dSYM 5714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4815 5715 conftest$ac_exeext conftest.$ac_ext 4816 5716 LDFLAGS="$save_LDFLAGS" … … 4821 5721 # Belt *and* braces to stop my trousers falling down: 4822 5722 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= 4823 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&54824 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 5723 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 5724 $as_echo "$lt_cv_prog_cc_static_works" >&6; } 4825 5725 4826 5726 pic_flag="$lt_cv_prog_cc_pic" … … 4833 5733 4834 5734 # Check to see if options -o and -c are simultaneously supported by compiler 4835 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&54836 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 5735 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 5736 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 4837 5737 if test "${lt_cv_compiler_c_o+set}" = set; then 4838 echo $ECHO_N "(cached) $ECHO_C" >&65738 $as_echo_n "(cached) " >&6 4839 5739 else 4840 5740 … … 4853 5753 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 4854 5754 compiler_c_o=no 4855 if { (eval echo configure: 4855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then5755 if { (eval echo configure:5755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 4856 5756 # The compiler can only warn and ignore the option if not recognized 4857 5757 # So say no if there are warnings … … 4877 5777 4878 5778 compiler_c_o=$lt_cv_compiler_c_o 4879 echo "$as_me:$LINENO: result: $compiler_c_o" >&54880 echo "${ECHO_T}$compiler_c_o" >&6 5779 { $as_echo "$as_me:$LINENO: result: $compiler_c_o" >&5 5780 $as_echo "$compiler_c_o" >&6; } 4881 5781 4882 5782 if test x"$compiler_c_o" = x"yes"; then 4883 5783 # Check to see if we can write to a .lo 4884 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&54885 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 5784 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 5785 $as_echo_n "checking if $compiler supports -c -o file.lo... " >&6; } 4886 5786 if test "${lt_cv_compiler_o_lo+set}" = set; then 4887 echo $ECHO_N "(cached) $ECHO_C" >&65787 $as_echo_n "(cached) " >&6 4888 5788 else 4889 5789 … … 4909 5809 _ACEOF 4910 5810 rm -f conftest.$ac_objext 4911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4912 (eval $ac_compile) 2>conftest.er1 5811 if { (ac_try="$ac_compile" 5812 case "(($ac_try" in 5813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5814 *) ac_try_echo=$ac_try;; 5815 esac 5816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5817 $as_echo "$ac_try_echo") >&5 5818 (eval "$ac_compile") 2>conftest.er1 4913 5819 ac_status=$? 4914 5820 grep -v '^ *+' conftest.er1 >conftest.err 4915 5821 rm -f conftest.er1 4916 5822 cat conftest.err >&5 4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4918 (exit $ac_status); } && 4919 { ac_try='test -z "$ac_c_werror_flag" 4920 || test ! -s conftest.err' 4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4922 (eval $ac_try) 2>&5 4923 ac_status=$? 4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4925 (exit $ac_status); }; } && 4926 { ac_try='test -s conftest.$ac_objext' 4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4928 (eval $ac_try) 2>&5 4929 ac_status=$? 4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4931 (exit $ac_status); }; }; then 5823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 (exit $ac_status); } && { 5825 test -z "$ac_c_werror_flag" || 5826 test ! -s conftest.err 5827 } && test -s conftest.$ac_objext; then 4932 5828 # The compiler can only warn and ignore the option if not recognized 4933 5829 # So say no if there are warnings … … 4939 5835 4940 5836 else 4941 echo "$as_me: failed program was:" >&55837 $as_echo "$as_me: failed program was:" >&5 4942 5838 sed 's/^/| /' conftest.$ac_ext >&5 4943 5839 4944 fi 4945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5840 5841 fi 5842 5843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4946 5844 ac_objext="$save_objext" 4947 5845 CFLAGS="$save_CFLAGS" … … 4950 5848 4951 5849 compiler_o_lo=$lt_cv_compiler_o_lo 4952 echo "$as_me:$LINENO: result: $compiler_o_lo" >&54953 echo "${ECHO_T}$compiler_o_lo" >&6 5850 { $as_echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 5851 $as_echo "$compiler_o_lo" >&6; } 4954 5852 else 4955 5853 compiler_o_lo=no … … 4960 5858 if test "$compiler_c_o" = no && test "$need_locks" != no; then 4961 5859 # do not overwrite the value of need_locks provided by the user 4962 echo "$as_me:$LINENO: checking if we can lock with hard links" >&54963 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 5860 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 5861 $as_echo_n "checking if we can lock with hard links... " >&6; } 4964 5862 hard_links=yes 4965 5863 $rm conftest* … … 4968 5866 ln conftest.a conftest.b 2>&5 || hard_links=no 4969 5867 ln conftest.a conftest.b 2>/dev/null && hard_links=no 4970 echo "$as_me:$LINENO: result: $hard_links" >&54971 echo "${ECHO_T}$hard_links" >&6 5868 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 5869 $as_echo "$hard_links" >&6; } 4972 5870 if test "$hard_links" = no; then 4973 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&54974 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}5871 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 5872 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 4975 5873 need_locks=warn 4976 5874 fi … … 4981 5879 if test "$GCC" = yes; then 4982 5880 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler 4983 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&54984 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 5881 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 5882 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 4985 5883 echo "int some_variable = 0;" > conftest.$ac_ext 4986 5884 save_CFLAGS="$CFLAGS" … … 5003 5901 _ACEOF 5004 5902 rm -f conftest.$ac_objext 5005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5006 (eval $ac_compile) 2>conftest.er1 5903 if { (ac_try="$ac_compile" 5904 case "(($ac_try" in 5905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5906 *) ac_try_echo=$ac_try;; 5907 esac 5908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5909 $as_echo "$ac_try_echo") >&5 5910 (eval "$ac_compile") 2>conftest.er1 5007 5911 ac_status=$? 5008 5912 grep -v '^ *+' conftest.er1 >conftest.err 5009 5913 rm -f conftest.er1 5010 5914 cat conftest.err >&5 5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5012 (exit $ac_status); } && 5013 { ac_try='test -z "$ac_c_werror_flag" 5014 || test ! -s conftest.err' 5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5016 (eval $ac_try) 2>&5 5017 ac_status=$? 5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); }; } && 5020 { ac_try='test -s conftest.$ac_objext' 5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5022 (eval $ac_try) 2>&5 5023 ac_status=$? 5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 (exit $ac_status); }; }; then 5915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5916 (exit $ac_status); } && { 5917 test -z "$ac_c_werror_flag" || 5918 test ! -s conftest.err 5919 } && test -s conftest.$ac_objext; then 5026 5920 # The compiler can only warn and ignore the option if not recognized 5027 5921 # So say no if there are warnings … … 5033 5927 5034 5928 else 5035 echo "$as_me: failed program was:" >&55929 $as_echo "$as_me: failed program was:" >&5 5036 5930 sed 's/^/| /' conftest.$ac_ext >&5 5037 5931 5038 fi 5039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5932 5933 fi 5934 5935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5040 5936 CFLAGS="$save_CFLAGS" 5041 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&55042 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 5937 { $as_echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 5938 $as_echo "$compiler_rtti_exceptions" >&6; } 5043 5939 5044 5940 if test "$compiler_rtti_exceptions" = "yes"; then … … 5050 5946 5051 5947 # See if the linker supports building shared libraries. 5052 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&55053 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 5948 { $as_echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 5949 $as_echo_n "checking whether the linker ($LD) supports shared libraries... " >&6; } 5054 5950 5055 5951 allow_undefined_flag= … … 5742 6638 esac 5743 6639 fi 5744 echo "$as_me:$LINENO: result: $ld_shlibs" >&55745 echo "${ECHO_T}$ld_shlibs" >&6 6640 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 6641 $as_echo "$ld_shlibs" >&6; } 5746 6642 test "$ld_shlibs" = no && can_build_shared=no 5747 6643 5748 6644 # Check hardcoding attributes. 5749 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&55750 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 6645 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 6646 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 5751 6647 hardcode_action= 5752 6648 if test -n "$hardcode_libdir_flag_spec" || \ … … 5771 6667 hardcode_action=unsupported 5772 6668 fi 5773 echo "$as_me:$LINENO: result: $hardcode_action" >&55774 echo "${ECHO_T}$hardcode_action" >&6 6669 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 6670 $as_echo "$hardcode_action" >&6; } 5775 6671 5776 6672 striplib= 5777 6673 old_striplib= 5778 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&55779 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 6674 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 6675 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 5780 6676 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 5781 6677 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 5782 6678 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 5783 echo "$as_me:$LINENO: result: yes" >&55784 echo "${ECHO_T}yes" >&6 5785 else 5786 echo "$as_me:$LINENO: result: no" >&55787 echo "${ECHO_T}no" >&6 6679 { $as_echo "$as_me:$LINENO: result: yes" >&5 6680 $as_echo "yes" >&6; } 6681 else 6682 { $as_echo "$as_me:$LINENO: result: no" >&5 6683 $as_echo "no" >&6; } 5788 6684 fi 5789 6685 … … 5792 6688 5793 6689 # PORTME Fill in your ld.so characteristics 5794 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&55795 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 6690 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 6691 $as_echo_n "checking dynamic linker characteristics... " >&6; } 5796 6692 library_names_spec= 5797 6693 libname_spec='lib$name' … … 6194 7090 ;; 6195 7091 esac 6196 echo "$as_me:$LINENO: result: $dynamic_linker" >&56197 echo "${ECHO_T}$dynamic_linker" >&6 7092 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 7093 $as_echo "$dynamic_linker" >&6; } 6198 7094 test "$dynamic_linker" = no && can_build_shared=no 6199 7095 6200 7096 # Report the final consequences. 6201 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&56202 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 6203 echo "$as_me:$LINENO: result: $can_build_shared" >&56204 echo "${ECHO_T}$can_build_shared" >&6 6205 6206 echo "$as_me:$LINENO: checking whether to build shared libraries" >&56207 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 7097 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 7098 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 7099 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 7100 $as_echo "$can_build_shared" >&6; } 7101 7102 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 7103 $as_echo_n "checking whether to build shared libraries... " >&6; } 6208 7104 test "$can_build_shared" = "no" && enable_shared=no 6209 7105 … … 6225 7121 ;; 6226 7122 esac 6227 echo "$as_me:$LINENO: result: $enable_shared" >&56228 echo "${ECHO_T}$enable_shared" >&6 6229 6230 echo "$as_me:$LINENO: checking whether to build static libraries" >&56231 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 7123 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 7124 $as_echo "$enable_shared" >&6; } 7125 7126 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 7127 $as_echo_n "checking whether to build static libraries... " >&6; } 6232 7128 # Make sure either enable_shared or enable_static is yes. 6233 7129 test "$enable_shared" = yes || enable_static=yes 6234 echo "$as_me:$LINENO: result: $enable_static" >&56235 echo "${ECHO_T}$enable_static" >&6 7130 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 7131 $as_echo "$enable_static" >&6; } 6236 7132 6237 7133 if test "$hardcode_action" = relink; then … … 6270 7166 6271 7167 *) 6272 echo "$as_me:$LINENO: checking for shl_load" >&56273 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 7168 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 7169 $as_echo_n "checking for shl_load... " >&6; } 6274 7170 if test "${ac_cv_func_shl_load+set}" = set; then 6275 echo $ECHO_N "(cached) $ECHO_C" >&67171 $as_echo_n "(cached) " >&6 6276 7172 else 6277 7173 cat >conftest.$ac_ext <<_ACEOF … … 6298 7194 #undef shl_load 6299 7195 6300 /* Override any gcc2 internal prototype to avoid an error. */ 7196 /* Override any GCC internal prototype to avoid an error. 7197 Use char because int might match the return type of a GCC 7198 builtin and then its argument prototype would still apply. */ 6301 7199 #ifdef __cplusplus 6302 7200 extern "C" 6303 {6304 7201 #endif 6305 /* We use char because int might match the return type of a gcc26306 builtin and then its argument prototype would still apply. */6307 7202 char shl_load (); 6308 7203 /* The GNU C library defines this for functions which it implements 6309 7204 to always fail with ENOSYS. Some functions are actually named 6310 7205 something starting with __ and the normal name is an alias. */ 6311 #if defined (__stub_shl_load) || defined (__stub___shl_load)7206 #if defined __stub_shl_load || defined __stub___shl_load 6312 7207 choke me 6313 #else6314 char (*f) () = shl_load;6315 #endif6316 #ifdef __cplusplus6317 }6318 7208 #endif 6319 7209 … … 6321 7211 main () 6322 7212 { 6323 return f != shl_load;7213 return shl_load (); 6324 7214 ; 6325 7215 return 0; … … 6327 7217 _ACEOF 6328 7218 rm -f conftest.$ac_objext conftest$ac_exeext 6329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6330 (eval $ac_link) 2>conftest.er1 7219 if { (ac_try="$ac_link" 7220 case "(($ac_try" in 7221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7222 *) ac_try_echo=$ac_try;; 7223 esac 7224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7225 $as_echo "$ac_try_echo") >&5 7226 (eval "$ac_link") 2>conftest.er1 6331 7227 ac_status=$? 6332 7228 grep -v '^ *+' conftest.er1 >conftest.err 6333 7229 rm -f conftest.er1 6334 7230 cat conftest.err >&5 6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6336 (exit $ac_status); } && 6337 { ac_try='test -z "$ac_c_werror_flag" 6338 || test ! -s conftest.err' 6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6340 (eval $ac_try) 2>&5 6341 ac_status=$? 6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6343 (exit $ac_status); }; } && 6344 { ac_try='test -s conftest$ac_exeext' 6345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6346 (eval $ac_try) 2>&5 6347 ac_status=$? 6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6349 (exit $ac_status); }; }; then 7231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7232 (exit $ac_status); } && { 7233 test -z "$ac_c_werror_flag" || 7234 test ! -s conftest.err 7235 } && test -s conftest$ac_exeext && { 7236 test "$cross_compiling" = yes || 7237 $as_test_x conftest$ac_exeext 7238 }; then 6350 7239 ac_cv_func_shl_load=yes 6351 7240 else 6352 echo "$as_me: failed program was:" >&57241 $as_echo "$as_me: failed program was:" >&5 6353 7242 sed 's/^/| /' conftest.$ac_ext >&5 6354 7243 6355 ac_cv_func_shl_load=no 6356 fi 6357 rm -f conftest.err conftest.$ac_objext \ 7244 ac_cv_func_shl_load=no 7245 fi 7246 7247 rm -rf conftest.dSYM 7248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6358 7249 conftest$ac_exeext conftest.$ac_ext 6359 7250 fi 6360 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&56361 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 6362 if test $ac_cv_func_shl_load =yes; then7251 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 7252 $as_echo "$ac_cv_func_shl_load" >&6; } 7253 if test "x$ac_cv_func_shl_load" = x""yes; then 6363 7254 lt_cv_dlopen="shl_load" 6364 7255 else 6365 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&56366 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 7256 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 7257 $as_echo_n "checking for shl_load in -ldld... " >&6; } 6367 7258 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 6368 echo $ECHO_N "(cached) $ECHO_C" >&67259 $as_echo_n "(cached) " >&6 6369 7260 else 6370 7261 ac_check_lib_save_LIBS=$LIBS … … 6377 7268 /* end confdefs.h. */ 6378 7269 6379 /* Override any gcc2 internal prototype to avoid an error. */ 7270 /* Override any GCC internal prototype to avoid an error. 7271 Use char because int might match the return type of a GCC 7272 builtin and then its argument prototype would still apply. */ 6380 7273 #ifdef __cplusplus 6381 7274 extern "C" 6382 7275 #endif 6383 /* We use char because int might match the return type of a gcc26384 builtin and then its argument prototype would still apply. */6385 7276 char shl_load (); 6386 7277 int 6387 7278 main () 6388 7279 { 6389 shl_load ();7280 return shl_load (); 6390 7281 ; 6391 7282 return 0; … … 6393 7284 _ACEOF 6394 7285 rm -f conftest.$ac_objext conftest$ac_exeext 6395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6396 (eval $ac_link) 2>conftest.er1 7286 if { (ac_try="$ac_link" 7287 case "(($ac_try" in 7288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7289 *) ac_try_echo=$ac_try;; 7290 esac 7291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7292 $as_echo "$ac_try_echo") >&5 7293 (eval "$ac_link") 2>conftest.er1 6397 7294 ac_status=$? 6398 7295 grep -v '^ *+' conftest.er1 >conftest.err 6399 7296 rm -f conftest.er1 6400 7297 cat conftest.err >&5 6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6402 (exit $ac_status); } && 6403 { ac_try='test -z "$ac_c_werror_flag" 6404 || test ! -s conftest.err' 6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6406 (eval $ac_try) 2>&5 6407 ac_status=$? 6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6409 (exit $ac_status); }; } && 6410 { ac_try='test -s conftest$ac_exeext' 6411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6412 (eval $ac_try) 2>&5 6413 ac_status=$? 6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6415 (exit $ac_status); }; }; then 7298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7299 (exit $ac_status); } && { 7300 test -z "$ac_c_werror_flag" || 7301 test ! -s conftest.err 7302 } && test -s conftest$ac_exeext && { 7303 test "$cross_compiling" = yes || 7304 $as_test_x conftest$ac_exeext 7305 }; then 6416 7306 ac_cv_lib_dld_shl_load=yes 6417 7307 else 6418 echo "$as_me: failed program was:" >&57308 $as_echo "$as_me: failed program was:" >&5 6419 7309 sed 's/^/| /' conftest.$ac_ext >&5 6420 7310 6421 ac_cv_lib_dld_shl_load=no 6422 fi 6423 rm -f conftest.err conftest.$ac_objext \ 7311 ac_cv_lib_dld_shl_load=no 7312 fi 7313 7314 rm -rf conftest.dSYM 7315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6424 7316 conftest$ac_exeext conftest.$ac_ext 6425 7317 LIBS=$ac_check_lib_save_LIBS 6426 7318 fi 6427 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&56428 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 6429 if test $ac_cv_lib_dld_shl_load =yes; then7319 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 7320 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 7321 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 6430 7322 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 6431 7323 else 6432 echo "$as_me:$LINENO: checking for dlopen" >&56433 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 7324 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 7325 $as_echo_n "checking for dlopen... " >&6; } 6434 7326 if test "${ac_cv_func_dlopen+set}" = set; then 6435 echo $ECHO_N "(cached) $ECHO_C" >&67327 $as_echo_n "(cached) " >&6 6436 7328 else 6437 7329 cat >conftest.$ac_ext <<_ACEOF … … 6458 7350 #undef dlopen 6459 7351 6460 /* Override any gcc2 internal prototype to avoid an error. */ 7352 /* Override any GCC internal prototype to avoid an error. 7353 Use char because int might match the return type of a GCC 7354 builtin and then its argument prototype would still apply. */ 6461 7355 #ifdef __cplusplus 6462 7356 extern "C" 6463 {6464 7357 #endif 6465 /* We use char because int might match the return type of a gcc26466 builtin and then its argument prototype would still apply. */6467 7358 char dlopen (); 6468 7359 /* The GNU C library defines this for functions which it implements 6469 7360 to always fail with ENOSYS. Some functions are actually named 6470 7361 something starting with __ and the normal name is an alias. */ 6471 #if defined (__stub_dlopen) || defined (__stub___dlopen)7362 #if defined __stub_dlopen || defined __stub___dlopen 6472 7363 choke me 6473 #else6474 char (*f) () = dlopen;6475 #endif6476 #ifdef __cplusplus6477 }6478 7364 #endif 6479 7365 … … 6481 7367 main () 6482 7368 { 6483 return f != dlopen;7369 return dlopen (); 6484 7370 ; 6485 7371 return 0; … … 6487 7373 _ACEOF 6488 7374 rm -f conftest.$ac_objext conftest$ac_exeext 6489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6490 (eval $ac_link) 2>conftest.er1 7375 if { (ac_try="$ac_link" 7376 case "(($ac_try" in 7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7378 *) ac_try_echo=$ac_try;; 7379 esac 7380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7381 $as_echo "$ac_try_echo") >&5 7382 (eval "$ac_link") 2>conftest.er1 6491 7383 ac_status=$? 6492 7384 grep -v '^ *+' conftest.er1 >conftest.err 6493 7385 rm -f conftest.er1 6494 7386 cat conftest.err >&5 6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6496 (exit $ac_status); } && 6497 { ac_try='test -z "$ac_c_werror_flag" 6498 || test ! -s conftest.err' 6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6500 (eval $ac_try) 2>&5 6501 ac_status=$? 6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6503 (exit $ac_status); }; } && 6504 { ac_try='test -s conftest$ac_exeext' 6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6506 (eval $ac_try) 2>&5 6507 ac_status=$? 6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6509 (exit $ac_status); }; }; then 7387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7388 (exit $ac_status); } && { 7389 test -z "$ac_c_werror_flag" || 7390 test ! -s conftest.err 7391 } && test -s conftest$ac_exeext && { 7392 test "$cross_compiling" = yes || 7393 $as_test_x conftest$ac_exeext 7394 }; then 6510 7395 ac_cv_func_dlopen=yes 6511 7396 else 6512 echo "$as_me: failed program was:" >&57397 $as_echo "$as_me: failed program was:" >&5 6513 7398 sed 's/^/| /' conftest.$ac_ext >&5 6514 7399 6515 ac_cv_func_dlopen=no 6516 fi 6517 rm -f conftest.err conftest.$ac_objext \ 7400 ac_cv_func_dlopen=no 7401 fi 7402 7403 rm -rf conftest.dSYM 7404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6518 7405 conftest$ac_exeext conftest.$ac_ext 6519 7406 fi 6520 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&56521 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 6522 if test $ac_cv_func_dlopen =yes; then7407 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 7408 $as_echo "$ac_cv_func_dlopen" >&6; } 7409 if test "x$ac_cv_func_dlopen" = x""yes; then 6523 7410 lt_cv_dlopen="dlopen" 6524 7411 else 6525 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&56526 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 7412 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 7413 $as_echo_n "checking for dlopen in -ldl... " >&6; } 6527 7414 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 6528 echo $ECHO_N "(cached) $ECHO_C" >&67415 $as_echo_n "(cached) " >&6 6529 7416 else 6530 7417 ac_check_lib_save_LIBS=$LIBS … … 6537 7424 /* end confdefs.h. */ 6538 7425 6539 /* Override any gcc2 internal prototype to avoid an error. */ 7426 /* Override any GCC internal prototype to avoid an error. 7427 Use char because int might match the return type of a GCC 7428 builtin and then its argument prototype would still apply. */ 6540 7429 #ifdef __cplusplus 6541 7430 extern "C" 6542 7431 #endif 6543 /* We use char because int might match the return type of a gcc26544 builtin and then its argument prototype would still apply. */6545 7432 char dlopen (); 6546 7433 int 6547 7434 main () 6548 7435 { 6549 dlopen ();7436 return dlopen (); 6550 7437 ; 6551 7438 return 0; … … 6553 7440 _ACEOF 6554 7441 rm -f conftest.$ac_objext conftest$ac_exeext 6555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6556 (eval $ac_link) 2>conftest.er1 7442 if { (ac_try="$ac_link" 7443 case "(($ac_try" in 7444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7445 *) ac_try_echo=$ac_try;; 7446 esac 7447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7448 $as_echo "$ac_try_echo") >&5 7449 (eval "$ac_link") 2>conftest.er1 6557 7450 ac_status=$? 6558 7451 grep -v '^ *+' conftest.er1 >conftest.err 6559 7452 rm -f conftest.er1 6560 7453 cat conftest.err >&5 6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6562 (exit $ac_status); } && 6563 { ac_try='test -z "$ac_c_werror_flag" 6564 || test ! -s conftest.err' 6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6566 (eval $ac_try) 2>&5 6567 ac_status=$? 6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6569 (exit $ac_status); }; } && 6570 { ac_try='test -s conftest$ac_exeext' 6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6572 (eval $ac_try) 2>&5 6573 ac_status=$? 6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6575 (exit $ac_status); }; }; then 7454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7455 (exit $ac_status); } && { 7456 test -z "$ac_c_werror_flag" || 7457 test ! -s conftest.err 7458 } && test -s conftest$ac_exeext && { 7459 test "$cross_compiling" = yes || 7460 $as_test_x conftest$ac_exeext 7461 }; then 6576 7462 ac_cv_lib_dl_dlopen=yes 6577 7463 else 6578 echo "$as_me: failed program was:" >&57464 $as_echo "$as_me: failed program was:" >&5 6579 7465 sed 's/^/| /' conftest.$ac_ext >&5 6580 7466 6581 ac_cv_lib_dl_dlopen=no 6582 fi 6583 rm -f conftest.err conftest.$ac_objext \ 7467 ac_cv_lib_dl_dlopen=no 7468 fi 7469 7470 rm -rf conftest.dSYM 7471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6584 7472 conftest$ac_exeext conftest.$ac_ext 6585 7473 LIBS=$ac_check_lib_save_LIBS 6586 7474 fi 6587 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&56588 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 6589 if test $ac_cv_lib_dl_dlopen =yes; then7475 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 7476 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 7477 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 6590 7478 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 6591 7479 else 6592 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&56593 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 7480 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 7481 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 6594 7482 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 6595 echo $ECHO_N "(cached) $ECHO_C" >&67483 $as_echo_n "(cached) " >&6 6596 7484 else 6597 7485 ac_check_lib_save_LIBS=$LIBS … … 6604 7492 /* end confdefs.h. */ 6605 7493 6606 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 6607 7497 #ifdef __cplusplus 6608 7498 extern "C" 6609 7499 #endif 6610 /* We use char because int might match the return type of a gcc26611 builtin and then its argument prototype would still apply. */6612 7500 char dlopen (); 6613 7501 int 6614 7502 main () 6615 7503 { 6616 dlopen ();7504 return dlopen (); 6617 7505 ; 6618 7506 return 0; … … 6620 7508 _ACEOF 6621 7509 rm -f conftest.$ac_objext conftest$ac_exeext 6622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6623 (eval $ac_link) 2>conftest.er1 7510 if { (ac_try="$ac_link" 7511 case "(($ac_try" in 7512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7513 *) ac_try_echo=$ac_try;; 7514 esac 7515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7516 $as_echo "$ac_try_echo") >&5 7517 (eval "$ac_link") 2>conftest.er1 6624 7518 ac_status=$? 6625 7519 grep -v '^ *+' conftest.er1 >conftest.err 6626 7520 rm -f conftest.er1 6627 7521 cat conftest.err >&5 6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6629 (exit $ac_status); } && 6630 { ac_try='test -z "$ac_c_werror_flag" 6631 || test ! -s conftest.err' 6632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6633 (eval $ac_try) 2>&5 6634 ac_status=$? 6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6636 (exit $ac_status); }; } && 6637 { ac_try='test -s conftest$ac_exeext' 6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6639 (eval $ac_try) 2>&5 6640 ac_status=$? 6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6642 (exit $ac_status); }; }; then 7522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7523 (exit $ac_status); } && { 7524 test -z "$ac_c_werror_flag" || 7525 test ! -s conftest.err 7526 } && test -s conftest$ac_exeext && { 7527 test "$cross_compiling" = yes || 7528 $as_test_x conftest$ac_exeext 7529 }; then 6643 7530 ac_cv_lib_svld_dlopen=yes 6644 7531 else 6645 echo "$as_me: failed program was:" >&57532 $as_echo "$as_me: failed program was:" >&5 6646 7533 sed 's/^/| /' conftest.$ac_ext >&5 6647 7534 6648 ac_cv_lib_svld_dlopen=no 6649 fi 6650 rm -f conftest.err conftest.$ac_objext \ 7535 ac_cv_lib_svld_dlopen=no 7536 fi 7537 7538 rm -rf conftest.dSYM 7539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6651 7540 conftest$ac_exeext conftest.$ac_ext 6652 7541 LIBS=$ac_check_lib_save_LIBS 6653 7542 fi 6654 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&56655 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 6656 if test $ac_cv_lib_svld_dlopen =yes; then7543 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 7544 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 7545 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 6657 7546 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 6658 7547 else 6659 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&56660 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 7548 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 7549 $as_echo_n "checking for dld_link in -ldld... " >&6; } 6661 7550 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 6662 echo $ECHO_N "(cached) $ECHO_C" >&67551 $as_echo_n "(cached) " >&6 6663 7552 else 6664 7553 ac_check_lib_save_LIBS=$LIBS … … 6671 7560 /* end confdefs.h. */ 6672 7561 6673 /* Override any gcc2 internal prototype to avoid an error. */ 7562 /* Override any GCC internal prototype to avoid an error. 7563 Use char because int might match the return type of a GCC 7564 builtin and then its argument prototype would still apply. */ 6674 7565 #ifdef __cplusplus 6675 7566 extern "C" 6676 7567 #endif 6677 /* We use char because int might match the return type of a gcc26678 builtin and then its argument prototype would still apply. */6679 7568 char dld_link (); 6680 7569 int 6681 7570 main () 6682 7571 { 6683 dld_link ();7572 return dld_link (); 6684 7573 ; 6685 7574 return 0; … … 6687 7576 _ACEOF 6688 7577 rm -f conftest.$ac_objext conftest$ac_exeext 6689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6690 (eval $ac_link) 2>conftest.er1 7578 if { (ac_try="$ac_link" 7579 case "(($ac_try" in 7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7581 *) ac_try_echo=$ac_try;; 7582 esac 7583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7584 $as_echo "$ac_try_echo") >&5 7585 (eval "$ac_link") 2>conftest.er1 6691 7586 ac_status=$? 6692 7587 grep -v '^ *+' conftest.er1 >conftest.err 6693 7588 rm -f conftest.er1 6694 7589 cat conftest.err >&5 6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6696 (exit $ac_status); } && 6697 { ac_try='test -z "$ac_c_werror_flag" 6698 || test ! -s conftest.err' 6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6700 (eval $ac_try) 2>&5 6701 ac_status=$? 6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6703 (exit $ac_status); }; } && 6704 { ac_try='test -s conftest$ac_exeext' 6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6706 (eval $ac_try) 2>&5 6707 ac_status=$? 6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6709 (exit $ac_status); }; }; then 7590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7591 (exit $ac_status); } && { 7592 test -z "$ac_c_werror_flag" || 7593 test ! -s conftest.err 7594 } && test -s conftest$ac_exeext && { 7595 test "$cross_compiling" = yes || 7596 $as_test_x conftest$ac_exeext 7597 }; then 6710 7598 ac_cv_lib_dld_dld_link=yes 6711 7599 else 6712 echo "$as_me: failed program was:" >&57600 $as_echo "$as_me: failed program was:" >&5 6713 7601 sed 's/^/| /' conftest.$ac_ext >&5 6714 7602 6715 ac_cv_lib_dld_dld_link=no 6716 fi 6717 rm -f conftest.err conftest.$ac_objext \ 7603 ac_cv_lib_dld_dld_link=no 7604 fi 7605 7606 rm -rf conftest.dSYM 7607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6718 7608 conftest$ac_exeext conftest.$ac_ext 6719 7609 LIBS=$ac_check_lib_save_LIBS 6720 7610 fi 6721 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&56722 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 6723 if test $ac_cv_lib_dld_dld_link =yes; then7611 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 7612 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 7613 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 6724 7614 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 6725 7615 fi … … 6760 7650 LIBS="$lt_cv_dlopen_libs $LIBS" 6761 7651 6762 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&56763 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 7652 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 7653 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 6764 7654 if test "${lt_cv_dlopen_self+set}" = set; then 6765 echo $ECHO_N "(cached) $ECHO_C" >&67655 $as_echo_n "(cached) " >&6 6766 7656 else 6767 7657 if test "$cross_compiling" = yes; then : … … 6771 7661 lt_status=$lt_dlunknown 6772 7662 cat > conftest.$ac_ext <<EOF 6773 #line 6773 "configure"7663 #line 7663 "configure" 6774 7664 #include "confdefs.h" 6775 7665 … … 6835 7725 (eval $ac_link) 2>&5 6836 7726 ac_status=$? 6837 echo "$as_me:$LINENO: \$? = $ac_status" >&57727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6838 7728 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 6839 7729 (./conftest; exit; ) 2>/dev/null … … 6853 7743 6854 7744 fi 6855 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&56856 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 7745 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 7746 $as_echo "$lt_cv_dlopen_self" >&6; } 6857 7747 6858 7748 if test "x$lt_cv_dlopen_self" = xyes; then 6859 7749 LDFLAGS="$LDFLAGS $link_static_flag" 6860 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&56861 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 7750 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 7751 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 6862 7752 if test "${lt_cv_dlopen_self_static+set}" = set; then 6863 echo $ECHO_N "(cached) $ECHO_C" >&67753 $as_echo_n "(cached) " >&6 6864 7754 else 6865 7755 if test "$cross_compiling" = yes; then : … … 6869 7759 lt_status=$lt_dlunknown 6870 7760 cat > conftest.$ac_ext <<EOF 6871 #line 6871 "configure"7761 #line 7761 "configure" 6872 7762 #include "confdefs.h" 6873 7763 … … 6933 7823 (eval $ac_link) 2>&5 6934 7824 ac_status=$? 6935 echo "$as_me:$LINENO: \$? = $ac_status" >&57825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6936 7826 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 6937 7827 (./conftest; exit; ) 2>/dev/null … … 6951 7841 6952 7842 fi 6953 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&56954 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 7843 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 7844 $as_echo "$lt_cv_dlopen_self_static" >&6; } 6955 7845 fi 6956 7846 … … 6982 7872 # systems, -lgcc has to come before -lc. If gcc already passes -lc 6983 7873 # to ld, don't add -lc before -lgcc. 6984 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&56985 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 7874 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 7875 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 6986 7876 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then 6987 echo $ECHO_N "(cached) $ECHO_C" >&67877 $as_echo_n "(cached) " >&6 6988 7878 else 6989 7879 $rm conftest* … … 6993 7883 (eval $ac_compile) 2>&5 6994 7884 ac_status=$? 6995 echo "$as_me:$LINENO: \$? = $ac_status" >&57885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 7886 (exit $ac_status); }; then 6997 7887 soname=conftest … … 7010 7900 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 7011 7901 ac_status=$? 7012 echo "$as_me:$LINENO: \$? = $ac_status" >&57902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7013 7903 (exit $ac_status); } 7014 7904 then … … 7023 7913 fi 7024 7914 7025 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&57026 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 7915 { $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 7916 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 7027 7917 ;; 7028 7918 esac … … 7599 8489 # Extract the first word of "perl", so it can be a program name with args. 7600 8490 set dummy perl; ac_word=$2 7601 echo "$as_me:$LINENO: checking for $ac_word" >&57602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8491 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8492 $as_echo_n "checking for $ac_word... " >&6; } 7603 8493 if test "${ac_cv_path_PERL+set}" = set; then 7604 echo $ECHO_N "(cached) $ECHO_C" >&68494 $as_echo_n "(cached) " >&6 7605 8495 else 7606 8496 case $PERL in … … 7615 8505 test -z "$as_dir" && as_dir=. 7616 8506 for ac_exec_ext in '' $ac_executable_extensions; do 7617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7618 8508 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 7619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58509 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7620 8510 break 2 7621 8511 fi 7622 8512 done 7623 8513 done 8514 IFS=$as_save_IFS 7624 8515 7625 8516 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl" … … 7628 8519 fi 7629 8520 PERL=$ac_cv_path_PERL 7630 7631 8521 if test -n "$PERL"; then 7632 echo "$as_me:$LINENO: result: $PERL" >&5 7633 echo "${ECHO_T}$PERL" >&6 7634 else 7635 echo "$as_me:$LINENO: result: no" >&5 7636 echo "${ECHO_T}no" >&6 7637 fi 8522 { $as_echo "$as_me:$LINENO: result: $PERL" >&5 8523 $as_echo "$PERL" >&6; } 8524 else 8525 { $as_echo "$as_me:$LINENO: result: no" >&5 8526 $as_echo "no" >&6; } 8527 fi 8528 7638 8529 7639 8530 # Extract the first word of "sh", so it can be a program name with args. 7640 8531 set dummy sh; ac_word=$2 7641 echo "$as_me:$LINENO: checking for $ac_word" >&57642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8532 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8533 $as_echo_n "checking for $ac_word... " >&6; } 7643 8534 if test "${ac_cv_path_SH+set}" = set; then 7644 echo $ECHO_N "(cached) $ECHO_C" >&68535 $as_echo_n "(cached) " >&6 7645 8536 else 7646 8537 case $SH in … … 7655 8546 test -z "$as_dir" && as_dir=. 7656 8547 for ac_exec_ext in '' $ac_executable_extensions; do 7657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7658 8549 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" 7659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58550 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7660 8551 break 2 7661 8552 fi 7662 8553 done 7663 8554 done 8555 IFS=$as_save_IFS 7664 8556 7665 8557 test -z "$ac_cv_path_SH" && ac_cv_path_SH="/bin/sh" … … 7668 8560 fi 7669 8561 SH=$ac_cv_path_SH 7670 7671 8562 if test -n "$SH"; then 7672 echo "$as_me:$LINENO: result: $SH" >&5 7673 echo "${ECHO_T}$SH" >&6 7674 else 7675 echo "$as_me:$LINENO: result: no" >&5 7676 echo "${ECHO_T}no" >&6 7677 fi 7678 7679 7680 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 7681 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 7682 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 8563 { $as_echo "$as_me:$LINENO: result: $SH" >&5 8564 $as_echo "$SH" >&6; } 8565 else 8566 { $as_echo "$as_me:$LINENO: result: no" >&5 8567 $as_echo "no" >&6; } 8568 fi 8569 8570 8571 8572 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 8573 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 8574 # Check whether --enable-maintainer-mode was given. 7683 8575 if test "${enable_maintainer_mode+set}" = set; then 7684 enableval="$enable_maintainer_mode" 7685 USE_MAINTAINER_MODE=$enableval 8576 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 7686 8577 else 7687 8578 USE_MAINTAINER_MODE=no 7688 fi; 7689 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 7690 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 8579 fi 8580 8581 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 8582 $as_echo "$USE_MAINTAINER_MODE" >&6; } 7691 8583 7692 8584 … … 7719 8611 7720 8612 7721 # Check whether --with-gnu-ld or --without-gnu-ldwas given.8613 # Check whether --with-gnu-ld was given. 7722 8614 if test "${with_gnu_ld+set}" = set; then 7723 withval="$with_gnu_ld" 7724 test "$withval" = no || with_gnu_ld=yes 8615 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 7725 8616 else 7726 8617 with_gnu_ld=no 7727 fi; 8618 fi 8619 7728 8620 ac_prog=ld 7729 8621 if test "$GCC" = yes; then 7730 8622 # Check if gcc -print-prog-name=ld gives a path. 7731 echo "$as_me:$LINENO: checking for ld used by GCC" >&57732 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 8623 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5 8624 $as_echo_n "checking for ld used by GCC... " >&6; } 7733 8625 case $host in 7734 8626 *-*-mingw*) … … 7759 8651 esac 7760 8652 elif test "$with_gnu_ld" = yes; then 7761 echo "$as_me:$LINENO: checking for GNU ld" >&57762 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 7763 else 7764 echo "$as_me:$LINENO: checking for non-GNU ld" >&57765 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 8653 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 8654 $as_echo_n "checking for GNU ld... " >&6; } 8655 else 8656 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 8657 $as_echo_n "checking for non-GNU ld... " >&6; } 7766 8658 fi 7767 8659 if test "${acl_cv_path_LD+set}" = set; then 7768 echo $ECHO_N "(cached) $ECHO_C" >&68660 $as_echo_n "(cached) " >&6 7769 8661 else 7770 8662 if test -z "$LD"; then … … 7792 8684 LD="$acl_cv_path_LD" 7793 8685 if test -n "$LD"; then 7794 echo "$as_me:$LINENO: result: $LD" >&57795 echo "${ECHO_T}$LD" >&6 7796 else 7797 echo "$as_me:$LINENO: result: no" >&57798 echo "${ECHO_T}no" >&6 7799 fi 7800 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&57801 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}8686 { $as_echo "$as_me:$LINENO: result: $LD" >&5 8687 $as_echo "$LD" >&6; } 8688 else 8689 { $as_echo "$as_me:$LINENO: result: no" >&5 8690 $as_echo "no" >&6; } 8691 fi 8692 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 8693 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 7802 8694 { (exit 1); exit 1; }; } 7803 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&57804 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 8695 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 8696 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 7805 8697 if test "${acl_cv_prog_gnu_ld+set}" = set; then 7806 echo $ECHO_N "(cached) $ECHO_C" >&68698 $as_echo_n "(cached) " >&6 7807 8699 else 7808 8700 # I'd rather use --version here, but apparently some GNU ld's only accept -v. … … 7813 8705 fi 7814 8706 fi 7815 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&57816 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 8707 { $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 8708 $as_echo "$acl_cv_prog_gnu_ld" >&6; } 7817 8709 with_gnu_ld=$acl_cv_prog_gnu_ld 7818 8710 7819 8711 7820 8712 7821 echo "$as_me:$LINENO: checking for shared library run path origin" >&57822 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 8713 { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5 8714 $as_echo_n "checking for shared library run path origin... " >&6; } 7823 8715 if test "${acl_cv_rpath+set}" = set; then 7824 echo $ECHO_N "(cached) $ECHO_C" >&68716 $as_echo_n "(cached) " >&6 7825 8717 else 7826 8718 … … 7832 8724 7833 8725 fi 7834 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&57835 echo "${ECHO_T}$acl_cv_rpath" >&6 8726 { $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 8727 $as_echo "$acl_cv_rpath" >&6; } 7836 8728 wl="$acl_cv_wl" 7837 8729 libext="$acl_cv_libext" … … 7843 8735 sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" 7844 8736 sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" 7845 # Check whether --enable-rpath or --disable-rpathwas given.8737 # Check whether --enable-rpath was given. 7846 8738 if test "${enable_rpath+set}" = set; then 7847 enableval="$enable_rpath" 7848 : 8739 enableval=$enable_rpath; : 7849 8740 else 7850 8741 enable_rpath=yes 7851 fi; 8742 fi 8743 7852 8744 7853 8745 … … 7871 8763 7872 8764 7873 # Check whether --with-libiconv-prefix or --without-libiconv-prefixwas given.8765 # Check whether --with-libiconv-prefix was given. 7874 8766 if test "${with_libiconv_prefix+set}" = set; then 7875 withval="$with_libiconv_prefix" 7876 8767 withval=$with_libiconv_prefix; 7877 8768 if test "X$withval" = "Xno"; then 7878 8769 use_additional=no … … 7897 8788 fi 7898 8789 7899 fi; 8790 fi 8791 7900 8792 LIBICONV= 7901 8793 LTLIBICONV= … … 8264 9156 8265 9157 8266 echo "$as_me:$LINENO: checking for iconv" >&58267 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 9158 { $as_echo "$as_me:$LINENO: checking for iconv" >&5 9159 $as_echo_n "checking for iconv... " >&6; } 8268 9160 if test "${am_cv_func_iconv+set}" = set; then 8269 echo $ECHO_N "(cached) $ECHO_C" >&69161 $as_echo_n "(cached) " >&6 8270 9162 else 8271 9163 … … 8291 9183 _ACEOF 8292 9184 rm -f conftest.$ac_objext conftest$ac_exeext 8293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8294 (eval $ac_link) 2>conftest.er1 9185 if { (ac_try="$ac_link" 9186 case "(($ac_try" in 9187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9188 *) ac_try_echo=$ac_try;; 9189 esac 9190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9191 $as_echo "$ac_try_echo") >&5 9192 (eval "$ac_link") 2>conftest.er1 8295 9193 ac_status=$? 8296 9194 grep -v '^ *+' conftest.er1 >conftest.err 8297 9195 rm -f conftest.er1 8298 9196 cat conftest.err >&5 8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8300 (exit $ac_status); } && 8301 { ac_try='test -z "$ac_c_werror_flag" 8302 || test ! -s conftest.err' 8303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8304 (eval $ac_try) 2>&5 8305 ac_status=$? 8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8307 (exit $ac_status); }; } && 8308 { ac_try='test -s conftest$ac_exeext' 8309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8310 (eval $ac_try) 2>&5 8311 ac_status=$? 8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8313 (exit $ac_status); }; }; then 9197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9198 (exit $ac_status); } && { 9199 test -z "$ac_c_werror_flag" || 9200 test ! -s conftest.err 9201 } && test -s conftest$ac_exeext && { 9202 test "$cross_compiling" = yes || 9203 $as_test_x conftest$ac_exeext 9204 }; then 8314 9205 am_cv_func_iconv=yes 8315 9206 else 8316 echo "$as_me: failed program was:" >&59207 $as_echo "$as_me: failed program was:" >&5 8317 9208 sed 's/^/| /' conftest.$ac_ext >&5 8318 9209 8319 fi 8320 rm -f conftest.err conftest.$ac_objext \ 9210 9211 fi 9212 9213 rm -rf conftest.dSYM 9214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8321 9215 conftest$ac_exeext conftest.$ac_ext 8322 9216 if test "$am_cv_func_iconv" != yes; then … … 8342 9236 _ACEOF 8343 9237 rm -f conftest.$ac_objext conftest$ac_exeext 8344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8345 (eval $ac_link) 2>conftest.er1 9238 if { (ac_try="$ac_link" 9239 case "(($ac_try" in 9240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9241 *) ac_try_echo=$ac_try;; 9242 esac 9243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9244 $as_echo "$ac_try_echo") >&5 9245 (eval "$ac_link") 2>conftest.er1 8346 9246 ac_status=$? 8347 9247 grep -v '^ *+' conftest.er1 >conftest.err 8348 9248 rm -f conftest.er1 8349 9249 cat conftest.err >&5 8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8351 (exit $ac_status); } && 8352 { ac_try='test -z "$ac_c_werror_flag" 8353 || test ! -s conftest.err' 8354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8355 (eval $ac_try) 2>&5 8356 ac_status=$? 8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8358 (exit $ac_status); }; } && 8359 { ac_try='test -s conftest$ac_exeext' 8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8361 (eval $ac_try) 2>&5 8362 ac_status=$? 8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8364 (exit $ac_status); }; }; then 9250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9251 (exit $ac_status); } && { 9252 test -z "$ac_c_werror_flag" || 9253 test ! -s conftest.err 9254 } && test -s conftest$ac_exeext && { 9255 test "$cross_compiling" = yes || 9256 $as_test_x conftest$ac_exeext 9257 }; then 8365 9258 am_cv_lib_iconv=yes 8366 9259 am_cv_func_iconv=yes 8367 9260 else 8368 echo "$as_me: failed program was:" >&59261 $as_echo "$as_me: failed program was:" >&5 8369 9262 sed 's/^/| /' conftest.$ac_ext >&5 8370 9263 8371 fi 8372 rm -f conftest.err conftest.$ac_objext \ 9264 9265 fi 9266 9267 rm -rf conftest.dSYM 9268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8373 9269 conftest$ac_exeext conftest.$ac_ext 8374 9270 LIBS="$am_save_LIBS" … … 8376 9272 8377 9273 fi 8378 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&58379 echo "${ECHO_T}$am_cv_func_iconv" >&6 9274 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 9275 $as_echo "$am_cv_func_iconv" >&6; } 8380 9276 if test "$am_cv_func_iconv" = yes; then 8381 9277 … … 8386 9282 fi 8387 9283 if test "$am_cv_lib_iconv" = yes; then 8388 echo "$as_me:$LINENO: checking how to link with libiconv" >&58389 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 8390 echo "$as_me:$LINENO: result: $LIBICONV" >&58391 echo "${ECHO_T}$LIBICONV" >&6 9284 { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5 9285 $as_echo_n "checking how to link with libiconv... " >&6; } 9286 { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5 9287 $as_echo "$LIBICONV" >&6; } 8392 9288 else 8393 9289 CPPFLAGS="$am_save_CPPFLAGS" … … 8399 9295 8400 9296 if test "$am_cv_func_iconv" = yes; then 8401 echo "$as_me:$LINENO: checking for iconv declaration" >&58402 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 9297 { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5 9298 $as_echo_n "checking for iconv declaration... " >&6; } 8403 9299 if test "${am_cv_proto_iconv+set}" = set; then 8404 echo $ECHO_N "(cached) $ECHO_C" >&69300 $as_echo_n "(cached) " >&6 8405 9301 else 8406 9302 … … 8433 9329 _ACEOF 8434 9330 rm -f conftest.$ac_objext 8435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8436 (eval $ac_compile) 2>conftest.er1 9331 if { (ac_try="$ac_compile" 9332 case "(($ac_try" in 9333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9334 *) ac_try_echo=$ac_try;; 9335 esac 9336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9337 $as_echo "$ac_try_echo") >&5 9338 (eval "$ac_compile") 2>conftest.er1 8437 9339 ac_status=$? 8438 9340 grep -v '^ *+' conftest.er1 >conftest.err 8439 9341 rm -f conftest.er1 8440 9342 cat conftest.err >&5 8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8442 (exit $ac_status); } && 8443 { ac_try='test -z "$ac_c_werror_flag" 8444 || test ! -s conftest.err' 8445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8446 (eval $ac_try) 2>&5 8447 ac_status=$? 8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8449 (exit $ac_status); }; } && 8450 { ac_try='test -s conftest.$ac_objext' 8451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8452 (eval $ac_try) 2>&5 8453 ac_status=$? 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8455 (exit $ac_status); }; }; then 9343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9344 (exit $ac_status); } && { 9345 test -z "$ac_c_werror_flag" || 9346 test ! -s conftest.err 9347 } && test -s conftest.$ac_objext; then 8456 9348 am_cv_proto_iconv_arg1="" 8457 9349 else 8458 echo "$as_me: failed program was:" >&59350 $as_echo "$as_me: failed program was:" >&5 8459 9351 sed 's/^/| /' conftest.$ac_ext >&5 8460 9352 8461 am_cv_proto_iconv_arg1="const" 8462 fi 8463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9353 am_cv_proto_iconv_arg1="const" 9354 fi 9355 9356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8464 9357 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 8465 9358 fi 8466 9359 8467 9360 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 8468 echo "$as_me:$LINENO: result: ${ac_t:-9361 { $as_echo "$as_me:$LINENO: result: ${ac_t:- 8469 9362 }$am_cv_proto_iconv" >&5 8470 echo "${ECHO_T}${ac_t:-8471 }$am_cv_proto_iconv" >&6 9363 $as_echo "${ac_t:- 9364 }$am_cv_proto_iconv" >&6; } 8472 9365 8473 9366 cat >>confdefs.h <<_ACEOF … … 8486 9379 for ac_func in vsnprintf 8487 9380 do 8488 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`8489 echo "$as_me:$LINENO: checking for $ac_func" >&58490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8491 if eval "test \"\${$as_ac_var+set}\" = set"; then8492 echo $ECHO_N "(cached) $ECHO_C" >&69381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9382 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 9383 $as_echo_n "checking for $ac_func... " >&6; } 9384 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9385 $as_echo_n "(cached) " >&6 8493 9386 else 8494 9387 cat >conftest.$ac_ext <<_ACEOF … … 8515 9408 #undef $ac_func 8516 9409 8517 /* Override any gcc2 internal prototype to avoid an error. */ 9410 /* Override any GCC internal prototype to avoid an error. 9411 Use char because int might match the return type of a GCC 9412 builtin and then its argument prototype would still apply. */ 8518 9413 #ifdef __cplusplus 8519 9414 extern "C" 8520 {8521 9415 #endif 8522 /* We use char because int might match the return type of a gcc28523 builtin and then its argument prototype would still apply. */8524 9416 char $ac_func (); 8525 9417 /* The GNU C library defines this for functions which it implements 8526 9418 to always fail with ENOSYS. Some functions are actually named 8527 9419 something starting with __ and the normal name is an alias. */ 8528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)9420 #if defined __stub_$ac_func || defined __stub___$ac_func 8529 9421 choke me 8530 #else8531 char (*f) () = $ac_func;8532 #endif8533 #ifdef __cplusplus8534 }8535 9422 #endif 8536 9423 … … 8538 9425 main () 8539 9426 { 8540 return f != $ac_func;9427 return $ac_func (); 8541 9428 ; 8542 9429 return 0; … … 8544 9431 _ACEOF 8545 9432 rm -f conftest.$ac_objext conftest$ac_exeext 8546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8547 (eval $ac_link) 2>conftest.er1 9433 if { (ac_try="$ac_link" 9434 case "(($ac_try" in 9435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9436 *) ac_try_echo=$ac_try;; 9437 esac 9438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9439 $as_echo "$ac_try_echo") >&5 9440 (eval "$ac_link") 2>conftest.er1 8548 9441 ac_status=$? 8549 9442 grep -v '^ *+' conftest.er1 >conftest.err 8550 9443 rm -f conftest.er1 8551 9444 cat conftest.err >&5 8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8553 (exit $ac_status); } && 8554 { ac_try='test -z "$ac_c_werror_flag" 8555 || test ! -s conftest.err' 8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8557 (eval $ac_try) 2>&5 8558 ac_status=$? 8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8560 (exit $ac_status); }; } && 8561 { ac_try='test -s conftest$ac_exeext' 8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8563 (eval $ac_try) 2>&5 8564 ac_status=$? 8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8566 (exit $ac_status); }; }; then 9445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9446 (exit $ac_status); } && { 9447 test -z "$ac_c_werror_flag" || 9448 test ! -s conftest.err 9449 } && test -s conftest$ac_exeext && { 9450 test "$cross_compiling" = yes || 9451 $as_test_x conftest$ac_exeext 9452 }; then 8567 9453 eval "$as_ac_var=yes" 8568 9454 else 8569 echo "$as_me: failed program was:" >&59455 $as_echo "$as_me: failed program was:" >&5 8570 9456 sed 's/^/| /' conftest.$ac_ext >&5 8571 9457 8572 eval "$as_ac_var=no" 8573 fi 8574 rm -f conftest.err conftest.$ac_objext \ 9458 eval "$as_ac_var=no" 9459 fi 9460 9461 rm -rf conftest.dSYM 9462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8575 9463 conftest$ac_exeext conftest.$ac_ext 8576 9464 fi 8577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8579 if test `eval echo '${'$as_ac_var'}'` = yes; then 9465 ac_res=`eval 'as_val=${'$as_ac_var'} 9466 $as_echo "$as_val"'` 9467 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9468 $as_echo "$ac_res" >&6; } 9469 as_val=`eval 'as_val=${'$as_ac_var'} 9470 $as_echo "$as_val"'` 9471 if test "x$as_val" = x""yes; then 8580 9472 cat >>confdefs.h <<_ACEOF 8581 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 19473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8582 9474 _ACEOF 8583 9475 … … 8586 9478 8587 9479 8588 ac_config_files="$ac_config_files Makefile" 9480 ac_config_files="$ac_config_files Makefile" 9481 8589 9482 cat >confcache <<\_ACEOF 8590 9483 # This file is a shell script that caches the results of configure … … 8605 9498 # The following way of writing the cache mishandles newlines in values, 8606 9499 # but we know of no workaround that is simple, portable, and efficient. 8607 # So, don't put newlines in cache variables' values.9500 # So, we kill variables containing newlines. 8608 9501 # Ultrix sh set writes to stderr and can't be redirected directly, 8609 9502 # and sets the high bit in the cache file unless we assign to the vars. 8610 { 9503 ( 9504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9505 eval ac_val=\$$ac_var 9506 case $ac_val in #( 9507 *${as_nl}*) 9508 case $ac_var in #( 9509 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9511 esac 9512 case $ac_var in #( 9513 _ | IFS | as_nl) ;; #( 9514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9515 *) $as_unset $ac_var ;; 9516 esac ;; 9517 esac 9518 done 9519 8611 9520 (set) 2>&1 | 8612 case `(ac_space=' '; set | grep ac_space) 2>&1` in8613 * ac_space=\ *)9521 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9522 *${as_nl}ac_space=\ *) 8614 9523 # `set' does not quote correctly, so add quotes (double-quote 8615 9524 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 8617 9526 "s/'/'\\\\''/g; 8618 9527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8619 ;; 9528 ;; #( 8620 9529 *) 8621 9530 # `set' quotes correctly as required by POSIX, so do not add quotes. 8622 sed -n \ 8623 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8624 9532 ;; 8625 esac; 8626 } | 9533 esac | 9534 sort 9535 ) | 8627 9536 sed ' 9537 /^ac_cv_env_/b end 8628 9538 t clear 8629 : 9539 :clear 8630 9540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8631 9541 t end 8632 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8633 : end' >>confcache 8634 if diff $cache_file confcache >/dev/null 2>&1; then :; else 8635 if test -w $cache_file; then 8636 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9543 :end' >>confcache 9544 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9545 if test -w "$cache_file"; then 9546 test "x$cache_file" != "x/dev/null" && 9547 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9548 $as_echo "$as_me: updating cache $cache_file" >&6;} 8637 9549 cat confcache >$cache_file 8638 9550 else 8639 echo "not updating unwritable cache $cache_file" 9551 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9552 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8640 9553 fi 8641 9554 fi … … 8645 9558 # Let make expand exec_prefix. 8646 9559 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8647 8648 # VPATH may cause trouble with some makes, so we remove $(srcdir),8649 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and8650 # trailing colons and then remove the whole line if VPATH becomes empty8651 # (actually we leave an empty line to preserve line numbers).8652 if test "x$srcdir" = x.; then8653 ac_vpsub='/^[ ]*VPATH[ ]*=/{8654 s/:*\$(srcdir):*/:/;8655 s/:*\${srcdir}:*/:/;8656 s/:*@srcdir@:*/:/;8657 s/^\([^=]*=[ ]*\):*/\1/;8658 s/:*$//;8659 s/^[^=]*=[ ]*$//;8660 }'8661 fi8662 9560 8663 9561 DEFS=-DHAVE_CONFIG_H … … 8667 9565 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8668 9566 # 1. Remove the extension, and $U if already installed. 8669 ac_i=`echo "$ac_i" | 8670 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 8671 # 2. Add them. 8672 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 8673 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9567 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9568 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9569 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9570 # will be set to the directory where LIBOBJS objects are built. 9571 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9572 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 8674 9573 done 8675 9574 LIBOBJS=$ac_libobjs … … 8680 9579 8681 9580 : ${CONFIG_STATUS=./config.status} 9581 ac_write_fail=0 8682 9582 ac_clean_files_save=$ac_clean_files 8683 9583 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8684 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&58685 echo "$as_me: creating $CONFIG_STATUS" >&6;}8686 cat >$CONFIG_STATUS <<_ACEOF 9584 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9585 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9586 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8687 9587 #! $SHELL 8688 9588 # Generated by $as_me. … … 8697 9597 _ACEOF 8698 9598 8699 cat >>$CONFIG_STATUS <<\_ACEOF 9599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8700 9600 ## --------------------- ## 8701 9601 ## M4sh Initialization. ## 8702 9602 ## --------------------- ## 8703 9603 8704 # Be Bourne compatible 9604 # Be more Bourne compatible 9605 DUALCASE=1; export DUALCASE # for MKS sh 8705 9606 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8706 9607 emulate sh 8707 9608 NULLCMD=: 8708 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9609 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8709 9610 # is contrary to our usage. Disable this feature. 8710 9611 alias -g '${1+"$@"}'='"$@"' 8711 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8712 set -o posix 8713 fi 8714 DUALCASE=1; export DUALCASE # for MKS sh 8715 8716 # Support unset when possible. 8717 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8718 as_unset=unset 8719 else 8720 as_unset=false 8721 fi 8722 8723 8724 # Work around bugs in pre-3.0 UWIN ksh. 8725 $as_unset ENV MAIL MAILPATH 8726 PS1='$ ' 8727 PS2='> ' 8728 PS4='+ ' 8729 8730 # NLS nuisances. 8731 for as_var in \ 8732 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8733 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8734 LC_TELEPHONE LC_TIME 8735 do 8736 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8737 eval $as_var=C; export $as_var 8738 else 8739 $as_unset $as_var 8740 fi 8741 done 8742 8743 # Required to use basename. 8744 if expr a : '\(a\)' >/dev/null 2>&1; then 8745 as_expr=expr 8746 else 8747 as_expr=false 8748 fi 8749 8750 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8751 as_basename=basename 8752 else 8753 as_basename=false 8754 fi 8755 8756 8757 # Name of the executable. 8758 as_me=`$as_basename "$0" || 8759 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8760 X"$0" : 'X\(//\)$' \| \ 8761 X"$0" : 'X\(/\)$' \| \ 8762 . : '\(.\)' 2>/dev/null || 8763 echo X/"$0" | 8764 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8765 /^X\/\(\/\/\)$/{ s//\1/; q; } 8766 /^X\/\(\/\).*/{ s//\1/; q; } 8767 s/.*/./; q'` 8768 8769 8770 # PATH needs CR, and LINENO needs CR and PATH. 9612 setopt NO_GLOB_SUBST 9613 else 9614 case `(set -o) 2>/dev/null` in 9615 *posix*) set -o posix ;; 9616 esac 9617 9618 fi 9619 9620 9621 9622 9623 # PATH needs CR 8771 9624 # Avoid depending upon Character Ranges. 8772 9625 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8776 9629 as_cr_alnum=$as_cr_Letters$as_cr_digits 8777 9630 9631 as_nl=' 9632 ' 9633 export as_nl 9634 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9635 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9637 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9638 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9639 as_echo='printf %s\n' 9640 as_echo_n='printf %s' 9641 else 9642 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9643 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9644 as_echo_n='/usr/ucb/echo -n' 9645 else 9646 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9647 as_echo_n_body='eval 9648 arg=$1; 9649 case $arg in 9650 *"$as_nl"*) 9651 expr "X$arg" : "X\\(.*\\)$as_nl"; 9652 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9653 esac; 9654 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9655 ' 9656 export as_echo_n_body 9657 as_echo_n='sh -c $as_echo_n_body as_echo' 9658 fi 9659 export as_echo_body 9660 as_echo='sh -c $as_echo_body as_echo' 9661 fi 9662 8778 9663 # The user is always right. 8779 9664 if test "${PATH_SEPARATOR+set}" != set; then 8780 echo "#! /bin/sh" >conf$$.sh 8781 echo "exit 0" >>conf$$.sh 8782 chmod +x conf$$.sh 8783 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8784 PATH_SEPARATOR=';' 8785 else 8786 PATH_SEPARATOR=: 8787 fi 8788 rm -f conf$$.sh 8789 fi 8790 8791 8792 as_lineno_1=$LINENO 8793 as_lineno_2=$LINENO 8794 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8795 test "x$as_lineno_1" != "x$as_lineno_2" && 8796 test "x$as_lineno_3" = "x$as_lineno_2" || { 8797 # Find who we are. Look in the path if we contain no path at all 8798 # relative or not. 8799 case $0 in 8800 *[\\/]* ) as_myself=$0 ;; 8801 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9665 PATH_SEPARATOR=: 9666 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9667 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9668 PATH_SEPARATOR=';' 9669 } 9670 fi 9671 9672 # Support unset when possible. 9673 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9674 as_unset=unset 9675 else 9676 as_unset=false 9677 fi 9678 9679 9680 # IFS 9681 # We need space, tab and new line, in precisely that order. Quoting is 9682 # there to prevent editors from complaining about space-tab. 9683 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9684 # splitting by setting IFS to empty value.) 9685 IFS=" "" $as_nl" 9686 9687 # Find who we are. Look in the path if we contain no directory separator. 9688 case $0 in 9689 *[\\/]* ) as_myself=$0 ;; 9690 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8802 9691 for as_dir in $PATH 8803 9692 do … … 8806 9695 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8807 9696 done 8808 8809 ;; 8810 esac 8811 # We did not find ourselves, most probably we were run as `sh COMMAND' 8812 # in which case we are not to be found in the path. 8813 if test "x$as_myself" = x; then 8814 as_myself=$0 8815 fi 8816 if test ! -f "$as_myself"; then 8817 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8818 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8819 { (exit 1); exit 1; }; } 8820 fi 8821 case $CONFIG_SHELL in 8822 '') 8823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8824 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8825 do 8826 IFS=$as_save_IFS 8827 test -z "$as_dir" && as_dir=. 8828 for as_base in sh bash ksh sh5; do 8829 case $as_dir in 8830 /*) 8831 if ("$as_dir/$as_base" -c ' 9697 IFS=$as_save_IFS 9698 9699 ;; 9700 esac 9701 # We did not find ourselves, most probably we were run as `sh COMMAND' 9702 # in which case we are not to be found in the path. 9703 if test "x$as_myself" = x; then 9704 as_myself=$0 9705 fi 9706 if test ! -f "$as_myself"; then 9707 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9708 { (exit 1); exit 1; } 9709 fi 9710 9711 # Work around bugs in pre-3.0 UWIN ksh. 9712 for as_var in ENV MAIL MAILPATH 9713 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9714 done 9715 PS1='$ ' 9716 PS2='> ' 9717 PS4='+ ' 9718 9719 # NLS nuisances. 9720 LC_ALL=C 9721 export LC_ALL 9722 LANGUAGE=C 9723 export LANGUAGE 9724 9725 # Required to use basename. 9726 if expr a : '\(a\)' >/dev/null 2>&1 && 9727 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9728 as_expr=expr 9729 else 9730 as_expr=false 9731 fi 9732 9733 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9734 as_basename=basename 9735 else 9736 as_basename=false 9737 fi 9738 9739 9740 # Name of the executable. 9741 as_me=`$as_basename -- "$0" || 9742 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9743 X"$0" : 'X\(//\)$' \| \ 9744 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9745 $as_echo X/"$0" | 9746 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9747 s//\1/ 9748 q 9749 } 9750 /^X\/\(\/\/\)$/{ 9751 s//\1/ 9752 q 9753 } 9754 /^X\/\(\/\).*/{ 9755 s//\1/ 9756 q 9757 } 9758 s/.*/./; q'` 9759 9760 # CDPATH. 9761 $as_unset CDPATH 9762 9763 9764 8832 9765 as_lineno_1=$LINENO 8833 9766 as_lineno_2=$LINENO 8834 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8835 9767 test "x$as_lineno_1" != "x$as_lineno_2" && 8836 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8837 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8838 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8839 CONFIG_SHELL=$as_dir/$as_base 8840 export CONFIG_SHELL 8841 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8842 fi;; 8843 esac 8844 done 8845 done 8846 ;; 8847 esac 9768 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8848 9769 8849 9770 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8850 9771 # uniformly replaced by the line number. The first 'sed' inserts a 8851 # line-number line before each line; the second 'sed' does the real 8852 # work. The second script uses 'N' to pair each line-number line 8853 # with the numbered line, and appends trailing '-' during 8854 # substitution so that $LINENO is not a special case at line end. 9772 # line-number line after each line using $LINENO; the second 'sed' 9773 # does the real work. The second script uses 'N' to pair each 9774 # line-number line with the line containing $LINENO, and appends 9775 # trailing '-' during substitution so that $LINENO is not a special 9776 # case at line end. 8855 9777 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8856 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8857 sed '=' <$as_myself | 9778 # scripts with optimization help from Paolo Bonzini. Blame Lee 9779 # E. McMahon (1931-1989) for sed's syntax. :-) 9780 sed -n ' 9781 p 9782 /[$]LINENO/= 9783 ' <$as_myself | 8858 9784 sed ' 9785 s/[$]LINENO.*/&-/ 9786 t lineno 9787 b 9788 :lineno 8859 9789 N 8860 s,$,-, 8861 : loop 8862 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9790 :loop 9791 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8863 9792 t loop 8864 s,-$,, 8865 s,^['$as_cr_digits']*\n,, 9793 s/-\n.*// 8866 9794 ' >$as_me.lineno && 8867 chmod +x $as_me.lineno || 8868 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8869 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9795 chmod +x "$as_me.lineno" || 9796 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8870 9797 { (exit 1); exit 1; }; } 8871 9798 8872 9799 # Don't try to exec as it changes $[0], causing all sort of problems 8873 9800 # (the dirname of $[0] is not the place where we might find the 8874 # original and so on. Autoconf is especially sensi ble to this).8875 . ./$as_me.lineno9801 # original and so on. Autoconf is especially sensitive to this). 9802 . "./$as_me.lineno" 8876 9803 # Exit status is that of the last command. 8877 9804 exit … … 8879 9806 8880 9807 8881 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8882 *c*,-n*) ECHO_N= ECHO_C=' 8883 ' ECHO_T=' ' ;; 8884 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8885 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 9808 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9809 as_dirname=dirname 9810 else 9811 as_dirname=false 9812 fi 9813 9814 ECHO_C= ECHO_N= ECHO_T= 9815 case `echo -n x` in 9816 -n*) 9817 case `echo 'x\c'` in 9818 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9819 *) ECHO_C='\c';; 9820 esac;; 9821 *) 9822 ECHO_N='-n';; 8886 9823 esac 8887 8888 if expr a : '\(a\)' >/dev/null 2>&1; then9824 if expr a : '\(a\)' >/dev/null 2>&1 && 9825 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8889 9826 as_expr=expr 8890 9827 else … … 8893 9830 8894 9831 rm -f conf$$ conf$$.exe conf$$.file 8895 echo >conf$$.file 8896 if ln -s conf$$.file conf$$ 2>/dev/null; then 8897 # We could just check for DJGPP; but this test a) works b) is more generic 8898 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8899 if test -f conf$$.exe; then 8900 # Don't use ln at all; we don't have any links 9832 if test -d conf$$.dir; then 9833 rm -f conf$$.dir/conf$$.file 9834 else 9835 rm -f conf$$.dir 9836 mkdir conf$$.dir 2>/dev/null 9837 fi 9838 if (echo >conf$$.file) 2>/dev/null; then 9839 if ln -s conf$$.file conf$$ 2>/dev/null; then 9840 as_ln_s='ln -s' 9841 # ... but there are two gotchas: 9842 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9843 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9844 # In both cases, we have to default to `cp -p'. 9845 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9846 as_ln_s='cp -p' 9847 elif ln conf$$.file conf$$ 2>/dev/null; then 9848 as_ln_s=ln 9849 else 8901 9850 as_ln_s='cp -p' 8902 else8903 as_ln_s='ln -s'8904 9851 fi 8905 elif ln conf$$.file conf$$ 2>/dev/null; then8906 as_ln_s=ln8907 9852 else 8908 9853 as_ln_s='cp -p' 8909 9854 fi 8910 rm -f conf$$ conf$$.exe conf$$.file 9855 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9856 rmdir conf$$.dir 2>/dev/null 8911 9857 8912 9858 if mkdir -p . 2>/dev/null; then … … 8917 9863 fi 8918 9864 8919 as_executable_p="test -f" 9865 if test -x / >/dev/null 2>&1; then 9866 as_test_x='test -x' 9867 else 9868 if ls -dL / >/dev/null 2>&1; then 9869 as_ls_L_option=L 9870 else 9871 as_ls_L_option= 9872 fi 9873 as_test_x=' 9874 eval sh -c '\'' 9875 if test -d "$1"; then 9876 test -d "$1/."; 9877 else 9878 case $1 in 9879 -*)set "./$1";; 9880 esac; 9881 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9882 ???[sx]*):;;*)false;;esac;fi 9883 '\'' sh 9884 ' 9885 fi 9886 as_executable_p=$as_test_x 8920 9887 8921 9888 # Sed expression to map a string onto a valid CPP name. … … 8926 9893 8927 9894 8928 # IFS8929 # We need space, tab and new line, in precisely that order.8930 as_nl='8931 '8932 IFS=" $as_nl"8933 8934 # CDPATH.8935 $as_unset CDPATH8936 8937 9895 exec 6>&1 8938 9896 8939 # Open the log real soon, to keep \$[0] and so on meaningful, and to9897 # Save the log message, to keep $[0] and so on meaningful, and to 8940 9898 # report actual input values of CONFIG_FILES etc. instead of their 8941 # values after options handling. Logging --version etc. is OK. 9899 # values after options handling. 9900 ac_log=" 9901 This file was extended by $as_me, which was 9902 generated by GNU Autoconf 2.63. Invocation command line was 9903 9904 CONFIG_FILES = $CONFIG_FILES 9905 CONFIG_HEADERS = $CONFIG_HEADERS 9906 CONFIG_LINKS = $CONFIG_LINKS 9907 CONFIG_COMMANDS = $CONFIG_COMMANDS 9908 $ $0 $@ 9909 9910 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9911 " 9912 9913 _ACEOF 9914 9915 case $ac_config_files in *" 9916 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9917 esac 9918 9919 case $ac_config_headers in *" 9920 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9921 esac 9922 9923 9924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9925 # Files that config.status was made for. 9926 config_files="$ac_config_files" 9927 config_headers="$ac_config_headers" 9928 9929 _ACEOF 9930 9931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9932 ac_cs_usage="\ 9933 \`$as_me' instantiates files from templates according to the 9934 current configuration. 9935 9936 Usage: $0 [OPTION]... [FILE]... 9937 9938 -h, --help print this help, then exit 9939 -V, --version print version number and configuration settings, then exit 9940 -q, --quiet, --silent 9941 do not print progress messages 9942 -d, --debug don't remove temporary files 9943 --recheck update $as_me by reconfiguring in the same conditions 9944 --file=FILE[:TEMPLATE] 9945 instantiate the configuration file FILE 9946 --header=FILE[:TEMPLATE] 9947 instantiate the configuration header FILE 9948 9949 Configuration files: 9950 $config_files 9951 9952 Configuration headers: 9953 $config_headers 9954 9955 Report bugs to <[email protected]>." 9956 9957 _ACEOF 9958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9959 ac_cs_version="\\ 9960 config.status 9961 configured by $0, generated by GNU Autoconf 2.63, 9962 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9963 9964 Copyright (C) 2008 Free Software Foundation, Inc. 9965 This config.status script is free software; the Free Software Foundation 9966 gives unlimited permission to copy, distribute and modify it." 9967 9968 ac_pwd='$ac_pwd' 9969 srcdir='$srcdir' 9970 test -n "\$AWK" || AWK=awk 9971 _ACEOF 9972 9973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9974 # The default lists apply if the user does not specify any file. 9975 ac_need_defaults=: 9976 while test $# != 0 9977 do 9978 case $1 in 9979 --*=*) 9980 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9981 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9982 ac_shift=: 9983 ;; 9984 *) 9985 ac_option=$1 9986 ac_optarg=$2 9987 ac_shift=shift 9988 ;; 9989 esac 9990 9991 case $ac_option in 9992 # Handling of the options. 9993 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9994 ac_cs_recheck=: ;; 9995 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9996 $as_echo "$ac_cs_version"; exit ;; 9997 --debug | --debu | --deb | --de | --d | -d ) 9998 debug=: ;; 9999 --file | --fil | --fi | --f ) 10000 $ac_shift 10001 case $ac_optarg in 10002 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10003 esac 10004 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 10005 ac_need_defaults=false;; 10006 --header | --heade | --head | --hea ) 10007 $ac_shift 10008 case $ac_optarg in 10009 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10010 esac 10011 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 10012 ac_need_defaults=false;; 10013 --he | --h) 10014 # Conflict between --help and --header 10015 { $as_echo "$as_me: error: ambiguous option: $1 10016 Try \`$0 --help' for more information." >&2 10017 { (exit 1); exit 1; }; };; 10018 --help | --hel | -h ) 10019 $as_echo "$ac_cs_usage"; exit ;; 10020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10021 | -silent | --silent | --silen | --sile | --sil | --si | --s) 10022 ac_cs_silent=: ;; 10023 10024 # This is an error. 10025 -*) { $as_echo "$as_me: error: unrecognized option: $1 10026 Try \`$0 --help' for more information." >&2 10027 { (exit 1); exit 1; }; } ;; 10028 10029 *) ac_config_targets="$ac_config_targets $1" 10030 ac_need_defaults=false ;; 10031 10032 esac 10033 shift 10034 done 10035 10036 ac_configure_extra_args= 10037 10038 if $ac_cs_silent; then 10039 exec 6>/dev/null 10040 ac_configure_extra_args="$ac_configure_extra_args --silent" 10041 fi 10042 10043 _ACEOF 10044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10045 if \$ac_cs_recheck; then 10046 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10047 shift 10048 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10049 CONFIG_SHELL='$SHELL' 10050 export CONFIG_SHELL 10051 exec "\$@" 10052 fi 10053 10054 _ACEOF 10055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8942 10056 exec 5>>config.log 8943 10057 { … … 8946 10060 ## Running $as_me. ## 8947 10061 _ASBOX 10062 $as_echo "$ac_log" 8948 10063 } >&5 8949 cat >&5 <<_CSEOF 8950 8951 This file was extended by $as_me, which was 8952 generated by GNU Autoconf 2.59. Invocation command line was 8953 8954 CONFIG_FILES = $CONFIG_FILES 8955 CONFIG_HEADERS = $CONFIG_HEADERS 8956 CONFIG_LINKS = $CONFIG_LINKS 8957 CONFIG_COMMANDS = $CONFIG_COMMANDS 8958 $ $0 $@ 8959 8960 _CSEOF 8961 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8962 echo >&5 8963 _ACEOF 8964 8965 # Files that config.status was made for. 8966 if test -n "$ac_config_files"; then 8967 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8968 fi 8969 8970 if test -n "$ac_config_headers"; then 8971 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8972 fi 8973 8974 if test -n "$ac_config_links"; then 8975 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8976 fi 8977 8978 if test -n "$ac_config_commands"; then 8979 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8980 fi 8981 8982 cat >>$CONFIG_STATUS <<\_ACEOF 8983 8984 ac_cs_usage="\ 8985 \`$as_me' instantiates files from templates according to the 8986 current configuration. 8987 8988 Usage: $0 [OPTIONS] [FILE]... 8989 8990 -h, --help print this help, then exit 8991 -V, --version print version number, then exit 8992 -q, --quiet do not print progress messages 8993 -d, --debug don't remove temporary files 8994 --recheck update $as_me by reconfiguring in the same conditions 8995 --file=FILE[:TEMPLATE] 8996 instantiate the configuration file FILE 8997 --header=FILE[:TEMPLATE] 8998 instantiate the configuration header FILE 8999 9000 Configuration files: 9001 $config_files 9002 9003 Configuration headers: 9004 $config_headers 9005 9006 Report bugs to <[email protected]>." 9007 _ACEOF 9008 9009 cat >>$CONFIG_STATUS <<_ACEOF 9010 ac_cs_version="\\ 9011 config.status 9012 configured by $0, generated by GNU Autoconf 2.59, 9013 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 9014 9015 Copyright (C) 2003 Free Software Foundation, Inc. 9016 This config.status script is free software; the Free Software Foundation 9017 gives unlimited permission to copy, distribute and modify it." 9018 srcdir=$srcdir 9019 _ACEOF 9020 9021 cat >>$CONFIG_STATUS <<\_ACEOF 9022 # If no file are specified by the user, then we need to provide default 9023 # value. By we need to know if files were specified by the user. 9024 ac_need_defaults=: 9025 while test $# != 0 9026 do 9027 case $1 in 9028 --*=*) 9029 ac_option=`expr "x$1" : 'x\([^=]*\)='` 9030 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 9031 ac_shift=: 9032 ;; 9033 -*) 9034 ac_option=$1 9035 ac_optarg=$2 9036 ac_shift=shift 9037 ;; 9038 *) # This is not an option, so the user has probably given explicit 9039 # arguments. 9040 ac_option=$1 9041 ac_need_defaults=false;; 9042 esac 9043 9044 case $ac_option in 9045 # Handling of the options. 9046 _ACEOF 9047 cat >>$CONFIG_STATUS <<\_ACEOF 9048 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9049 ac_cs_recheck=: ;; 9050 --version | --vers* | -V ) 9051 echo "$ac_cs_version"; exit 0 ;; 9052 --he | --h) 9053 # Conflict between --help and --header 9054 { { echo "$as_me:$LINENO: error: ambiguous option: $1 9055 Try \`$0 --help' for more information." >&5 9056 echo "$as_me: error: ambiguous option: $1 9057 Try \`$0 --help' for more information." >&2;} 9058 { (exit 1); exit 1; }; };; 9059 --help | --hel | -h ) 9060 echo "$ac_cs_usage"; exit 0 ;; 9061 --debug | --d* | -d ) 9062 debug=: ;; 9063 --file | --fil | --fi | --f ) 9064 $ac_shift 9065 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 9066 ac_need_defaults=false;; 9067 --header | --heade | --head | --hea ) 9068 $ac_shift 9069 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 9070 ac_need_defaults=false;; 9071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9072 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9073 ac_cs_silent=: ;; 9074 9075 # This is an error. 9076 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 9077 Try \`$0 --help' for more information." >&5 9078 echo "$as_me: error: unrecognized option: $1 9079 Try \`$0 --help' for more information." >&2;} 9080 { (exit 1); exit 1; }; } ;; 9081 9082 *) ac_config_targets="$ac_config_targets $1" ;; 9083 9084 esac 9085 shift 9086 done 9087 9088 ac_configure_extra_args= 9089 9090 if $ac_cs_silent; then 9091 exec 6>/dev/null 9092 ac_configure_extra_args="$ac_configure_extra_args --silent" 9093 fi 9094 9095 _ACEOF 9096 cat >>$CONFIG_STATUS <<_ACEOF 9097 if \$ac_cs_recheck; then 9098 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 9099 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9100 fi 9101 9102 _ACEOF 9103 9104 9105 9106 9107 9108 cat >>$CONFIG_STATUS <<\_ACEOF 10064 10065 _ACEOF 10066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10067 _ACEOF 10068 10069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10070 10071 # Handling of arguments. 9109 10072 for ac_config_target in $ac_config_targets 9110 10073 do 9111 case "$ac_config_target"in9112 # Handling of arguments.9113 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;9114 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9115 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&59116 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}10074 case $ac_config_target in 10075 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 10076 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10077 10078 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 10079 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9117 10080 { (exit 1); exit 1; }; };; 9118 10081 esac 9119 10082 done 10083 9120 10084 9121 10085 # If the user did not use the arguments to specify the items to instantiate, … … 9129 10093 9130 10094 # Have a temporary directory for convenience. Make it in the build tree 9131 # simply because there is no reason to putit here, and in addition,10095 # simply because there is no reason against having it here, and in addition, 9132 10096 # creating and moving files from /tmp can sometimes cause problems. 9133 # Create a temporary directory, and hook for its removal unless debugging. 10097 # Hook for its removal unless debugging. 10098 # Note that there is a small window in which the directory will not be cleaned: 10099 # after its creation but before its name has been assigned to `$tmp'. 9134 10100 $debug || 9135 10101 { 9136 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 10102 tmp= 10103 trap 'exit_status=$? 10104 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10105 ' 0 9137 10106 trap '{ (exit 1); exit 1; }' 1 2 13 15 9138 10107 } 9139 9140 10108 # Create a (secure) tmp directory for tmp files. 9141 10109 9142 10110 { 9143 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&10111 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9144 10112 test -n "$tmp" && test -d "$tmp" 9145 10113 } || 9146 10114 { 9147 tmp=./conf stat$$-$RANDOM9148 (umask 077 && mkdir $tmp)10115 tmp=./conf$$-$RANDOM 10116 (umask 077 && mkdir "$tmp") 9149 10117 } || 9150 10118 { 9151 echo "$me: cannot create a temporary directory in ." >&210119 $as_echo "$as_me: cannot create a temporary directory in ." >&2 9152 10120 { (exit 1); exit 1; } 9153 10121 } 9154 10122 9155 _ACEOF 9156 9157 cat >>$CONFIG_STATUS <<_ACEOF 9158 9159 # 9160 # CONFIG_FILES section. 9161 # 9162 9163 # No need to generate the scripts if there are no CONFIG_FILES. 9164 # This happens for instance when ./config.status config.h 9165 if test -n "\$CONFIG_FILES"; then 9166 # Protect against being on the right side of a sed subst in config.status. 9167 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 9168 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 9169 s,@SHELL@,$SHELL,;t t 9170 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 9171 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 9172 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 9173 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 9174 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 9175 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 9176 s,@exec_prefix@,$exec_prefix,;t t 9177 s,@prefix@,$prefix,;t t 9178 s,@program_transform_name@,$program_transform_name,;t t 9179 s,@bindir@,$bindir,;t t 9180 s,@sbindir@,$sbindir,;t t 9181 s,@libexecdir@,$libexecdir,;t t 9182 s,@datadir@,$datadir,;t t 9183 s,@sysconfdir@,$sysconfdir,;t t 9184 s,@sharedstatedir@,$sharedstatedir,;t t 9185 s,@localstatedir@,$localstatedir,;t t 9186 s,@libdir@,$libdir,;t t 9187 s,@includedir@,$includedir,;t t 9188 s,@oldincludedir@,$oldincludedir,;t t 9189 s,@infodir@,$infodir,;t t 9190 s,@mandir@,$mandir,;t t 9191 s,@build_alias@,$build_alias,;t t 9192 s,@host_alias@,$host_alias,;t t 9193 s,@target_alias@,$target_alias,;t t 9194 s,@DEFS@,$DEFS,;t t 9195 s,@ECHO_C@,$ECHO_C,;t t 9196 s,@ECHO_N@,$ECHO_N,;t t 9197 s,@ECHO_T@,$ECHO_T,;t t 9198 s,@LIBS@,$LIBS,;t t 9199 s,@VERSION@,$VERSION,;t t 9200 s,@build@,$build,;t t 9201 s,@build_cpu@,$build_cpu,;t t 9202 s,@build_vendor@,$build_vendor,;t t 9203 s,@build_os@,$build_os,;t t 9204 s,@host@,$host,;t t 9205 s,@host_cpu@,$host_cpu,;t t 9206 s,@host_vendor@,$host_vendor,;t t 9207 s,@host_os@,$host_os,;t t 9208 s,@target@,$target,;t t 9209 s,@target_cpu@,$target_cpu,;t t 9210 s,@target_vendor@,$target_vendor,;t t 9211 s,@target_os@,$target_os,;t t 9212 s,@SET_MAKE@,$SET_MAKE,;t t 9213 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 9214 s,@UNICODE_VERSION@,$UNICODE_VERSION,;t t 9215 s,@CC@,$CC,;t t 9216 s,@CFLAGS@,$CFLAGS,;t t 9217 s,@LDFLAGS@,$LDFLAGS,;t t 9218 s,@CPPFLAGS@,$CPPFLAGS,;t t 9219 s,@ac_ct_CC@,$ac_ct_CC,;t t 9220 s,@EXEEXT@,$EXEEXT,;t t 9221 s,@OBJEXT@,$OBJEXT,;t t 9222 s,@CPP@,$CPP,;t t 9223 s,@EGREP@,$EGREP,;t t 9224 s,@LN_S@,$LN_S,;t t 9225 s,@ECHO@,$ECHO,;t t 9226 s,@RANLIB@,$RANLIB,;t t 9227 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 9228 s,@STRIP@,$STRIP,;t t 9229 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 9230 s,@LIBTOOL@,$LIBTOOL,;t t 9231 s,@PERL@,$PERL,;t t 9232 s,@SH@,$SH,;t t 9233 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 9234 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 9235 s,@MAINT@,$MAINT,;t t 9236 s,@LIBICONV@,$LIBICONV,;t t 9237 s,@LTLIBICONV@,$LTLIBICONV,;t t 9238 s,@LIBOBJS@,$LIBOBJS,;t t 9239 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 9240 CEOF 9241 9242 _ACEOF 9243 9244 cat >>$CONFIG_STATUS <<\_ACEOF 9245 # Split the substitutions into bite-sized pieces for seds with 9246 # small command number limits, like on Digital OSF/1 and HP-UX. 9247 ac_max_sed_lines=48 9248 ac_sed_frag=1 # Number of current file. 9249 ac_beg=1 # First line for current file. 9250 ac_end=$ac_max_sed_lines # Line after last line for current file. 9251 ac_more_lines=: 9252 ac_sed_cmds= 9253 while $ac_more_lines; do 9254 if test $ac_beg -gt 1; then 9255 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9256 else 9257 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 10123 # Set up the scripts for CONFIG_FILES section. 10124 # No need to generate them if there are no CONFIG_FILES. 10125 # This happens for instance with `./config.status config.h'. 10126 if test -n "$CONFIG_FILES"; then 10127 10128 10129 ac_cr=' 10130 ' 10131 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10132 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10133 ac_cs_awk_cr='\\r' 10134 else 10135 ac_cs_awk_cr=$ac_cr 10136 fi 10137 10138 echo 'BEGIN {' >"$tmp/subs1.awk" && 10139 _ACEOF 10140 10141 10142 { 10143 echo "cat >conf$$subs.awk <<_ACEOF" && 10144 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10145 echo "_ACEOF" 10146 } >conf$$subs.sh || 10147 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10148 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10149 { (exit 1); exit 1; }; } 10150 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 10151 ac_delim='%!_!# ' 10152 for ac_last_try in false false false false false :; do 10153 . ./conf$$subs.sh || 10154 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10155 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10156 { (exit 1); exit 1; }; } 10157 10158 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10159 if test $ac_delim_n = $ac_delim_num; then 10160 break 10161 elif $ac_last_try; then 10162 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10163 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10164 { (exit 1); exit 1; }; } 10165 else 10166 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10167 fi 10168 done 10169 rm -f conf$$subs.sh 10170 10171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10172 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10173 _ACEOF 10174 sed -n ' 10175 h 10176 s/^/S["/; s/!.*/"]=/ 10177 p 10178 g 10179 s/^[^!]*!// 10180 :repl 10181 t repl 10182 s/'"$ac_delim"'$// 10183 t delim 10184 :nl 10185 h 10186 s/\(.\{148\}\).*/\1/ 10187 t more1 10188 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10189 p 10190 n 10191 b repl 10192 :more1 10193 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10194 p 10195 g 10196 s/.\{148\}// 10197 t nl 10198 :delim 10199 h 10200 s/\(.\{148\}\).*/\1/ 10201 t more2 10202 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10203 p 10204 b 10205 :more2 10206 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10207 p 10208 g 10209 s/.\{148\}// 10210 t delim 10211 ' <conf$$subs.awk | sed ' 10212 /^[^""]/{ 10213 N 10214 s/\n// 10215 } 10216 ' >>$CONFIG_STATUS || ac_write_fail=1 10217 rm -f conf$$subs.awk 10218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10219 _ACAWK 10220 cat >>"\$tmp/subs1.awk" <<_ACAWK && 10221 for (key in S) S_is_set[key] = 1 10222 FS = "" 10223 10224 } 10225 { 10226 line = $ 0 10227 nfields = split(line, field, "@") 10228 substed = 0 10229 len = length(field[1]) 10230 for (i = 2; i < nfields; i++) { 10231 key = field[i] 10232 keylen = length(key) 10233 if (S_is_set[key]) { 10234 value = S[key] 10235 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10236 len += length(value) + length(field[++i]) 10237 substed = 1 10238 } else 10239 len += 1 + keylen 10240 } 10241 10242 print line 10243 } 10244 10245 _ACAWK 10246 _ACEOF 10247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10248 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10249 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10250 else 10251 cat 10252 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 10253 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 10254 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 10255 { (exit 1); exit 1; }; } 10256 _ACEOF 10257 10258 # VPATH may cause trouble with some makes, so we remove $(srcdir), 10259 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10260 # trailing colons and then remove the whole line if VPATH becomes empty 10261 # (actually we leave an empty line to preserve line numbers). 10262 if test "x$srcdir" = x.; then 10263 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 10264 s/:*\$(srcdir):*/:/ 10265 s/:*\${srcdir}:*/:/ 10266 s/:*@srcdir@:*/:/ 10267 s/^\([^=]*=[ ]*\):*/\1/ 10268 s/:*$// 10269 s/^[^=]*=[ ]*$// 10270 }' 10271 fi 10272 10273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10274 fi # test -n "$CONFIG_FILES" 10275 10276 # Set up the scripts for CONFIG_HEADERS section. 10277 # No need to generate them if there are no CONFIG_HEADERS. 10278 # This happens for instance with `./config.status Makefile'. 10279 if test -n "$CONFIG_HEADERS"; then 10280 cat >"$tmp/defines.awk" <<\_ACAWK || 10281 BEGIN { 10282 _ACEOF 10283 10284 # Transform confdefs.h into an awk script `defines.awk', embedded as 10285 # here-document in config.status, that substitutes the proper values into 10286 # config.h.in to produce config.h. 10287 10288 # Create a delimiter string that does not exist in confdefs.h, to ease 10289 # handling of long lines. 10290 ac_delim='%!_!# ' 10291 for ac_last_try in false false :; do 10292 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 10293 if test -z "$ac_t"; then 10294 break 10295 elif $ac_last_try; then 10296 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 10297 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 10298 { (exit 1); exit 1; }; } 10299 else 10300 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10301 fi 10302 done 10303 10304 # For the awk script, D is an array of macro values keyed by name, 10305 # likewise P contains macro parameters if any. Preserve backslash 10306 # newline sequences. 10307 10308 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10309 sed -n ' 10310 s/.\{148\}/&'"$ac_delim"'/g 10311 t rset 10312 :rset 10313 s/^[ ]*#[ ]*define[ ][ ]*/ / 10314 t def 10315 d 10316 :def 10317 s/\\$// 10318 t bsnl 10319 s/["\\]/\\&/g 10320 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10321 D["\1"]=" \3"/p 10322 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10323 d 10324 :bsnl 10325 s/["\\]/\\&/g 10326 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10327 D["\1"]=" \3\\\\\\n"\\/p 10328 t cont 10329 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10330 t cont 10331 d 10332 :cont 10333 n 10334 s/.\{148\}/&'"$ac_delim"'/g 10335 t clear 10336 :clear 10337 s/\\$// 10338 t bsnlc 10339 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10340 d 10341 :bsnlc 10342 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10343 b cont 10344 ' <confdefs.h | sed ' 10345 s/'"$ac_delim"'/"\\\ 10346 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10347 10348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10349 for (key in D) D_is_set[key] = 1 10350 FS = "" 10351 } 10352 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10353 line = \$ 0 10354 split(line, arg, " ") 10355 if (arg[1] == "#") { 10356 defundef = arg[2] 10357 mac1 = arg[3] 10358 } else { 10359 defundef = substr(arg[1], 2) 10360 mac1 = arg[2] 10361 } 10362 split(mac1, mac2, "(") #) 10363 macro = mac2[1] 10364 prefix = substr(line, 1, index(line, defundef) - 1) 10365 if (D_is_set[macro]) { 10366 # Preserve the white space surrounding the "#". 10367 print prefix "define", macro P[macro] D[macro] 10368 next 10369 } else { 10370 # Replace #undef with comments. This is necessary, for example, 10371 # in the case of _POSIX_SOURCE, which is predefined and required 10372 # on some systems where configure will not decide to define it. 10373 if (defundef == "undef") { 10374 print "/*", prefix defundef, macro, "*/" 10375 next 10376 } 10377 } 10378 } 10379 { print } 10380 _ACAWK 10381 _ACEOF 10382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10383 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 10384 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 10385 { (exit 1); exit 1; }; } 10386 fi # test -n "$CONFIG_HEADERS" 10387 10388 10389 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10390 shift 10391 for ac_tag 10392 do 10393 case $ac_tag in 10394 :[FHLC]) ac_mode=$ac_tag; continue;; 10395 esac 10396 case $ac_mode$ac_tag in 10397 :[FHL]*:*);; 10398 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 10399 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 10400 { (exit 1); exit 1; }; };; 10401 :[FH]-) ac_tag=-:-;; 10402 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 10403 esac 10404 ac_save_IFS=$IFS 10405 IFS=: 10406 set x $ac_tag 10407 IFS=$ac_save_IFS 10408 shift 10409 ac_file=$1 10410 shift 10411 10412 case $ac_mode in 10413 :L) ac_source=$1;; 10414 :[FH]) 10415 ac_file_inputs= 10416 for ac_f 10417 do 10418 case $ac_f in 10419 -) ac_f="$tmp/stdin";; 10420 *) # Look for the file first in the build tree, then in the source tree 10421 # (if the path is not absolute). The absolute path cannot be DOS-style, 10422 # because $ac_f cannot contain `:'. 10423 test -f "$ac_f" || 10424 case $ac_f in 10425 [\\/$]*) false;; 10426 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10427 esac || 10428 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10429 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10430 { (exit 1); exit 1; }; };; 10431 esac 10432 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10433 ac_file_inputs="$ac_file_inputs '$ac_f'" 10434 done 10435 10436 # Let's still pretend it is `configure' which instantiates (i.e., don't 10437 # use $as_me), people would be surprised to read: 10438 # /* config.h. Generated by config.status. */ 10439 configure_input='Generated from '` 10440 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10441 `' by configure.' 10442 if test x"$ac_file" != x-; then 10443 configure_input="$ac_file. $configure_input" 10444 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10445 $as_echo "$as_me: creating $ac_file" >&6;} 9258 10446 fi 9259 if test ! -s $tmp/subs.frag; then 9260 ac_more_lines=false 9261 else 9262 # The purpose of the label and of the branching condition is to 9263 # speed up the sed processing (if there are no `@' at all, there 9264 # is no need to browse any of the substitutions). 9265 # These are the two extra sed commands mentioned above. 9266 (echo ':t 9267 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 9268 if test -z "$ac_sed_cmds"; then 9269 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 9270 else 9271 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 9272 fi 9273 ac_sed_frag=`expr $ac_sed_frag + 1` 9274 ac_beg=$ac_end 9275 ac_end=`expr $ac_end + $ac_max_sed_lines` 9276 fi 9277 done 9278 if test -z "$ac_sed_cmds"; then 9279 ac_sed_cmds=cat 9280 fi 9281 fi # test -n "$CONFIG_FILES" 9282 9283 _ACEOF 9284 cat >>$CONFIG_STATUS <<\_ACEOF 9285 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 9286 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9287 case $ac_file in 9288 - | *:- | *:-:* ) # input from stdin 9289 cat >$tmp/stdin 9290 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9291 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9292 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9293 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9294 * ) ac_file_in=$ac_file.in ;; 10447 # Neutralize special characters interpreted by sed in replacement strings. 10448 case $configure_input in #( 10449 *\&* | *\|* | *\\* ) 10450 ac_sed_conf_input=`$as_echo "$configure_input" | 10451 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10452 *) ac_sed_conf_input=$configure_input;; 10453 esac 10454 10455 case $ac_tag in 10456 *:-:* | *:-) cat >"$tmp/stdin" \ 10457 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10458 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10459 { (exit 1); exit 1; }; } ;; 10460 esac 10461 ;; 9295 10462 esac 9296 10463 9297 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 9298 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10464 ac_dir=`$as_dirname -- "$ac_file" || 9299 10465 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9300 10466 X"$ac_file" : 'X\(//\)[^/]' \| \ 9301 10467 X"$ac_file" : 'X\(//\)$' \| \ 9302 X"$ac_file" : 'X\(/\)' \| \ 9303 . : '\(.\)' 2>/dev/null || 9304 echo X"$ac_file" | 9305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9306 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9307 /^X\(\/\/\)$/{ s//\1/; q; } 9308 /^X\(\/\).*/{ s//\1/; q; } 9309 s/.*/./; q'` 9310 { if $as_mkdir_p; then 9311 mkdir -p "$ac_dir" 9312 else 9313 as_dir="$ac_dir" 10468 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10469 $as_echo X"$ac_file" | 10470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10471 s//\1/ 10472 q 10473 } 10474 /^X\(\/\/\)[^/].*/{ 10475 s//\1/ 10476 q 10477 } 10478 /^X\(\/\/\)$/{ 10479 s//\1/ 10480 q 10481 } 10482 /^X\(\/\).*/{ 10483 s//\1/ 10484 q 10485 } 10486 s/.*/./; q'` 10487 { as_dir="$ac_dir" 10488 case $as_dir in #( 10489 -*) as_dir=./$as_dir;; 10490 esac 10491 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9314 10492 as_dirs= 9315 while test ! -d "$as_dir"; do 9316 as_dirs="$as_dir $as_dirs" 9317 as_dir=`(dirname "$as_dir") 2>/dev/null || 10493 while :; do 10494 case $as_dir in #( 10495 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10496 *) as_qdir=$as_dir;; 10497 esac 10498 as_dirs="'$as_qdir' $as_dirs" 10499 as_dir=`$as_dirname -- "$as_dir" || 9318 10500 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9319 10501 X"$as_dir" : 'X\(//\)[^/]' \| \ 9320 10502 X"$as_dir" : 'X\(//\)$' \| \ 9321 X"$as_dir" : 'X\(/\)' \| \ 9322 . : '\(.\)' 2>/dev/null || 9323 echo X"$as_dir" | 9324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9325 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9326 /^X\(\/\/\)$/{ s//\1/; q; } 9327 /^X\(\/\).*/{ s//\1/; q; } 9328 s/.*/./; q'` 10503 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10504 $as_echo X"$as_dir" | 10505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10506 s//\1/ 10507 q 10508 } 10509 /^X\(\/\/\)[^/].*/{ 10510 s//\1/ 10511 q 10512 } 10513 /^X\(\/\/\)$/{ 10514 s//\1/ 10515 q 10516 } 10517 /^X\(\/\).*/{ 10518 s//\1/ 10519 q 10520 } 10521 s/.*/./; q'` 10522 test -d "$as_dir" && break 9329 10523 done 9330 test ! -n "$as_dirs" || mkdir $as_dirs9331 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59332 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10524 test -z "$as_dirs" || eval "mkdir $as_dirs" 10525 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10526 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9333 10527 { (exit 1); exit 1; }; }; } 9334 9335 10528 ac_builddir=. 9336 10529 9337 if test "$ac_dir" != .; then 9338 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9339 # A "../" for each directory in $ac_dir_suffix. 9340 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9341 else 9342 ac_dir_suffix= ac_top_builddir= 9343 fi 10530 case "$ac_dir" in 10531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10532 *) 10533 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10534 # A ".." for each directory in $ac_dir_suffix. 10535 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10536 case $ac_top_builddir_sub in 10537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10539 esac ;; 10540 esac 10541 ac_abs_top_builddir=$ac_pwd 10542 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10543 # for backward compatibility: 10544 ac_top_builddir=$ac_top_build_prefix 9344 10545 9345 10546 case $srcdir in 9346 .) # No --srcdir option.We are building in place.10547 .) # We are building in place. 9347 10548 ac_srcdir=. 9348 if test -z "$ac_top_builddir"; then 9349 ac_top_srcdir=. 9350 else 9351 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9352 fi ;; 9353 [\\/]* | ?:[\\/]* ) # Absolute path. 10549 ac_top_srcdir=$ac_top_builddir_sub 10550 ac_abs_top_srcdir=$ac_pwd ;; 10551 [\\/]* | ?:[\\/]* ) # Absolute name. 9354 10552 ac_srcdir=$srcdir$ac_dir_suffix; 9355 ac_top_srcdir=$srcdir ;; 9356 *) # Relative path. 9357 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9358 ac_top_srcdir=$ac_top_builddir$srcdir ;; 10553 ac_top_srcdir=$srcdir 10554 ac_abs_top_srcdir=$srcdir ;; 10555 *) # Relative name. 10556 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10557 ac_top_srcdir=$ac_top_build_prefix$srcdir 10558 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9359 10559 esac 9360 9361 # Do not use `cd foo && pwd` to compute absolute paths, because 9362 # the directories may not exist. 9363 case `pwd` in 9364 .) ac_abs_builddir="$ac_dir";; 9365 *) 9366 case "$ac_dir" in 9367 .) ac_abs_builddir=`pwd`;; 9368 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9369 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9370 esac;; 10560 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10561 10562 10563 case $ac_mode in 10564 :F) 10565 # 10566 # CONFIG_FILE 10567 # 10568 10569 _ACEOF 10570 10571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10572 # If the template does not know about datarootdir, expand it. 10573 # FIXME: This hack should be removed a few years after 2.60. 10574 ac_datarootdir_hack=; ac_datarootdir_seen= 10575 10576 ac_sed_dataroot=' 10577 /datarootdir/ { 10578 p 10579 q 10580 } 10581 /@datadir@/p 10582 /@docdir@/p 10583 /@infodir@/p 10584 /@localedir@/p 10585 /@mandir@/p 10586 ' 10587 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10588 *datarootdir*) ac_datarootdir_seen=yes;; 10589 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10590 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10591 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10592 _ACEOF 10593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10594 ac_datarootdir_hack=' 10595 s&@datadir@&$datadir&g 10596 s&@docdir@&$docdir&g 10597 s&@infodir@&$infodir&g 10598 s&@localedir@&$localedir&g 10599 s&@mandir@&$mandir&g 10600 s&\\\${datarootdir}&$datarootdir&g' ;; 9371 10601 esac 9372 case $ac_abs_builddir in 9373 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9374 *) 9375 case ${ac_top_builddir}. in 9376 .) ac_abs_top_builddir=$ac_abs_builddir;; 9377 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9378 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9379 esac;; 9380 esac 9381 case $ac_abs_builddir in 9382 .) ac_abs_srcdir=$ac_srcdir;; 9383 *) 9384 case $ac_srcdir in 9385 .) ac_abs_srcdir=$ac_abs_builddir;; 9386 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9387 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9388 esac;; 9389 esac 9390 case $ac_abs_builddir in 9391 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9392 *) 9393 case $ac_top_srcdir in 9394 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9395 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9396 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9397 esac;; 9398 esac 9399 9400 9401 9402 if test x"$ac_file" != x-; then 9403 { echo "$as_me:$LINENO: creating $ac_file" >&5 9404 echo "$as_me: creating $ac_file" >&6;} 9405 rm -f "$ac_file" 9406 fi 9407 # Let's still pretend it is `configure' which instantiates (i.e., don't 9408 # use $as_me), people would be surprised to read: 9409 # /* config.h. Generated by config.status. */ 9410 if test x"$ac_file" = x-; then 9411 configure_input= 9412 else 9413 configure_input="$ac_file. " 9414 fi 9415 configure_input=$configure_input"Generated from `echo $ac_file_in | 9416 sed 's,.*/,,'` by configure." 9417 9418 # First look for the input files in the build tree, otherwise in the 9419 # src tree. 9420 ac_file_inputs=`IFS=: 9421 for f in $ac_file_in; do 9422 case $f in 9423 -) echo $tmp/stdin ;; 9424 [\\/$]*) 9425 # Absolute (can't be DOS-style, as IFS=:) 9426 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9427 echo "$as_me: error: cannot find input file: $f" >&2;} 9428 { (exit 1); exit 1; }; } 9429 echo "$f";; 9430 *) # Relative 9431 if test -f "$f"; then 9432 # Build tree 9433 echo "$f" 9434 elif test -f "$srcdir/$f"; then 9435 # Source tree 9436 echo "$srcdir/$f" 9437 else 9438 # /dev/null tree 9439 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9440 echo "$as_me: error: cannot find input file: $f" >&2;} 9441 { (exit 1); exit 1; }; } 9442 fi;; 9443 esac 9444 done` || { (exit 1); exit 1; } 9445 _ACEOF 9446 cat >>$CONFIG_STATUS <<_ACEOF 9447 sed "$ac_vpsub 10602 _ACEOF 10603 10604 # Neutralize VPATH when `$srcdir' = `.'. 10605 # Shell code in configure.ac might set extrasub. 10606 # FIXME: do we really want to maintain this feature? 10607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10608 ac_sed_extra="$ac_vpsub 9448 10609 $extrasub 9449 10610 _ACEOF 9450 cat >>$CONFIG_STATUS <<\_ACEOF 10611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9451 10612 :t 9452 10613 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9453 s,@configure_input@,$configure_input,;t t 9454 s,@srcdir@,$ac_srcdir,;t t 9455 s,@abs_srcdir@,$ac_abs_srcdir,;t t 9456 s,@top_srcdir@,$ac_top_srcdir,;t t 9457 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 9458 s,@builddir@,$ac_builddir,;t t 9459 s,@abs_builddir@,$ac_abs_builddir,;t t 9460 s,@top_builddir@,$ac_top_builddir,;t t 9461 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 9462 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 9463 rm -f $tmp/stdin 10614 s|@configure_input@|$ac_sed_conf_input|;t t 10615 s&@top_builddir@&$ac_top_builddir_sub&;t t 10616 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10617 s&@srcdir@&$ac_srcdir&;t t 10618 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10619 s&@top_srcdir@&$ac_top_srcdir&;t t 10620 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10621 s&@builddir@&$ac_builddir&;t t 10622 s&@abs_builddir@&$ac_abs_builddir&;t t 10623 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10624 $ac_datarootdir_hack 10625 " 10626 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10627 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10628 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10629 { (exit 1); exit 1; }; } 10630 10631 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10632 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10633 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10634 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10635 which seems to be undefined. Please make sure it is defined." >&5 10636 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10637 which seems to be undefined. Please make sure it is defined." >&2;} 10638 10639 rm -f "$tmp/stdin" 10640 case $ac_file in 10641 -) cat "$tmp/out" && rm -f "$tmp/out";; 10642 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10643 esac \ 10644 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10645 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10646 { (exit 1); exit 1; }; } 10647 ;; 10648 :H) 10649 # 10650 # CONFIG_HEADER 10651 # 9464 10652 if test x"$ac_file" != x-; then 9465 mv $tmp/out $ac_file 9466 else 9467 cat $tmp/out 9468 rm -f $tmp/out 9469 fi 9470 9471 done 9472 _ACEOF 9473 cat >>$CONFIG_STATUS <<\_ACEOF 9474 9475 # 9476 # CONFIG_HEADER section. 9477 # 9478 9479 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 9480 # NAME is the cpp macro being defined and VALUE is the value it is being given. 9481 # 9482 # ac_d sets the value in "#define NAME VALUE" lines. 9483 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 9484 ac_dB='[ ].*$,\1#\2' 9485 ac_dC=' ' 9486 ac_dD=',;t' 9487 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 9488 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 9489 ac_uB='$,\1#\2define\3' 9490 ac_uC=' ' 9491 ac_uD=',;t' 9492 9493 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 9494 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9495 case $ac_file in 9496 - | *:- | *:-:* ) # input from stdin 9497 cat >$tmp/stdin 9498 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9499 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9500 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9501 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9502 * ) ac_file_in=$ac_file.in ;; 9503 esac 9504 9505 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 9506 echo "$as_me: creating $ac_file" >&6;} 9507 9508 # First look for the input files in the build tree, otherwise in the 9509 # src tree. 9510 ac_file_inputs=`IFS=: 9511 for f in $ac_file_in; do 9512 case $f in 9513 -) echo $tmp/stdin ;; 9514 [\\/$]*) 9515 # Absolute (can't be DOS-style, as IFS=:) 9516 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9517 echo "$as_me: error: cannot find input file: $f" >&2;} 10653 { 10654 $as_echo "/* $configure_input */" \ 10655 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10656 } >"$tmp/config.h" \ 10657 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10658 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9518 10659 { (exit 1); exit 1; }; } 9519 # Do quote $f, to prevent DOS paths from being IFS'd. 9520 echo "$f";; 9521 *) # Relative 9522 if test -f "$f"; then 9523 # Build tree 9524 echo "$f" 9525 elif test -f "$srcdir/$f"; then 9526 # Source tree 9527 echo "$srcdir/$f" 9528 else 9529 # /dev/null tree 9530 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9531 echo "$as_me: error: cannot find input file: $f" >&2;} 10660 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10661 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10662 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10663 else 10664 rm -f "$ac_file" 10665 mv "$tmp/config.h" "$ac_file" \ 10666 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10667 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9532 10668 { (exit 1); exit 1; }; } 9533 fi;;9534 esac9535 done` || { (exit 1); exit 1; }9536 # Remove the trailing spaces.9537 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in9538 9539 _ACEOF9540 9541 # Transform confdefs.h into two sed scripts, `conftest.defines' and9542 # `conftest.undefs', that substitutes the proper values into9543 # config.h.in to produce config.h. The first handles `#define'9544 # templates, and the second `#undef' templates.9545 # And first: Protect against being on the right side of a sed subst in9546 # config.status. Protect against being in an unquoted here document9547 # in config.status.9548 rm -f conftest.defines conftest.undefs9549 # Using a here document instead of a string reduces the quoting nightmare.9550 # Putting comments in sed scripts is not portable.9551 #9552 # `end' is used to avoid that the second main sed command (meant for9553 # 0-ary CPP macros) applies to n-ary macro definitions.9554 # See the Autoconf documentation for `clear'.9555 cat >confdef2sed.sed <<\_ACEOF9556 s/[\\&,]/\\&/g9557 s,[\\$`],\\&,g9558 t clear9559 : clear9560 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp9561 t end9562 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp9563 : end9564 _ACEOF9565 # If some macros were called several times there might be several times9566 # the same #defines, which is useless. Nevertheless, we may not want to9567 # sort them, since we want the *last* AC-DEFINE to be honored.9568 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines9569 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs9570 rm -f confdef2sed.sed9571 9572 # This sed command replaces #undef with comments. This is necessary, for9573 # example, in the case of _POSIX_SOURCE, which is predefined and required9574 # on some systems where configure will not decide to define it.9575 cat >>conftest.undefs <<\_ACEOF9576 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,9577 _ACEOF9578 9579 # Break up conftest.defines because some shells have a limit on the size9580 # of here documents, and old seds have small limits too (100 cmds).9581 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS9582 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS9583 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS9584 echo ' :' >>$CONFIG_STATUS9585 rm -f conftest.tail9586 while grep . conftest.defines >/dev/null9587 do9588 # Write a limited-size here document to $tmp/defines.sed.9589 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS9590 # Speed up: don't consider the non `#define' lines.9591 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS9592 # Work around the forget-to-reset-the-flag bug.9593 echo 't clr' >>$CONFIG_STATUS9594 echo ': clr' >>$CONFIG_STATUS9595 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS9596 echo 'CEOF9597 sed -f $tmp/defines.sed $tmp/in >$tmp/out9598 rm -f $tmp/in9599 mv $tmp/out $tmp/in9600 ' >>$CONFIG_STATUS9601 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail9602 rm -f conftest.defines9603 mv conftest.tail conftest.defines9604 done9605 rm -f conftest.defines9606 echo ' fi # grep' >>$CONFIG_STATUS9607 echo >>$CONFIG_STATUS9608 9609 # Break up conftest.undefs because some shells have a limit on the size9610 # of here documents, and old seds have small limits too (100 cmds).9611 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS9612 rm -f conftest.tail9613 while grep . conftest.undefs >/dev/null9614 do9615 # Write a limited-size here document to $tmp/undefs.sed.9616 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS9617 # Speed up: don't consider the non `#undef'9618 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS9619 # Work around the forget-to-reset-the-flag bug.9620 echo 't clr' >>$CONFIG_STATUS9621 echo ': clr' >>$CONFIG_STATUS9622 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS9623 echo 'CEOF9624 sed -f $tmp/undefs.sed $tmp/in >$tmp/out9625 rm -f $tmp/in9626 mv $tmp/out $tmp/in9627 ' >>$CONFIG_STATUS9628 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail9629 rm -f conftest.undefs9630 mv conftest.tail conftest.undefs9631 done9632 rm -f conftest.undefs9633 9634 cat >>$CONFIG_STATUS <<\_ACEOF9635 # Let's still pretend it is `configure' which instantiates (i.e., don't9636 # use $as_me), people would be surprised to read:9637 # /* config.h. Generated by config.status. */9638 if test x"$ac_file" = x-; then9639 echo "/* Generated by configure. */" >$tmp/config.h9640 else9641 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h9642 fi9643 cat $tmp/in >>$tmp/config.h9644 rm -f $tmp/in9645 if test x"$ac_file" != x-; then9646 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then9647 { echo "$as_me:$LINENO: $ac_file is unchanged" >&59648 echo "$as_me: $ac_file is unchanged" >&6;}9649 else9650 ac_dir=`(dirname "$ac_file") 2>/dev/null ||9651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9652 X"$ac_file" : 'X\(//\)[^/]' \| \9653 X"$ac_file" : 'X\(//\)$' \| \9654 X"$ac_file" : 'X\(/\)' \| \9655 . : '\(.\)' 2>/dev/null ||9656 echo X"$ac_file" |9657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9658 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9659 /^X\(\/\/\)$/{ s//\1/; q; }9660 /^X\(\/\).*/{ s//\1/; q; }9661 s/.*/./; q'`9662 { if $as_mkdir_p; then9663 mkdir -p "$ac_dir"9664 else9665 as_dir="$ac_dir"9666 as_dirs=9667 while test ! -d "$as_dir"; do9668 as_dirs="$as_dir $as_dirs"9669 as_dir=`(dirname "$as_dir") 2>/dev/null ||9670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9671 X"$as_dir" : 'X\(//\)[^/]' \| \9672 X"$as_dir" : 'X\(//\)$' \| \9673 X"$as_dir" : 'X\(/\)' \| \9674 . : '\(.\)' 2>/dev/null ||9675 echo X"$as_dir" |9676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9677 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9678 /^X\(\/\/\)$/{ s//\1/; q; }9679 /^X\(\/\).*/{ s//\1/; q; }9680 s/.*/./; q'`9681 done9682 test ! -n "$as_dirs" || mkdir $as_dirs9683 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59684 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9685 { (exit 1); exit 1; }; }; }9686 9687 rm -f $ac_file9688 mv $tmp/config.h $ac_file9689 10669 fi 9690 10670 else 9691 cat $tmp/config.h 9692 rm -f $tmp/config.h 10671 $as_echo "/* $configure_input */" \ 10672 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10673 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10674 $as_echo "$as_me: error: could not create -" >&2;} 10675 { (exit 1); exit 1; }; } 9693 10676 fi 9694 done 9695 _ACEOF 9696 9697 cat >>$CONFIG_STATUS <<\_ACEOF 10677 ;; 10678 10679 10680 esac 10681 10682 done # for ac_tag 10683 9698 10684 9699 10685 { (exit 0); exit 0; } … … 9701 10687 chmod +x $CONFIG_STATUS 9702 10688 ac_clean_files=$ac_clean_files_save 10689 10690 test $ac_write_fail = 0 || 10691 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10692 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10693 { (exit 1); exit 1; }; } 9703 10694 9704 10695 … … 9723 10714 $ac_cs_success || { (exit 1); exit 1; } 9724 10715 fi 9725 10716 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10717 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10718 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10719 fi 10720 -
main/trunk/greenstone2/common-src/indexers/packages/unac/configure.ac
r16583 r25148 30 30 AC_PROG_MAKE_SET 31 31 32 AC_MSG_CHECKING(to see if architecture is 64-bit)33 arch_64bit=no34 case "$host_cpu" in35 x86_64) arch_64bit=yes ;;36 esac37 38 if test "$arch_64bit" = yes; then39 AC_MSG_RESULT(yes)40 if test -z "$COMPAT32BITFLAGS" ; then41 COMPAT32BITFLAGS="-m32"42 fi43 else44 AC_MSG_RESULT(no)45 if test -z "$COMPAT32BITFLAGS" ; then46 COMPAT32BITFLAGS=47 fi48 fi49 AC_SUBST(COMPAT32BITFLAGS)50 51 32 dnl 52 33 dnl Unicode version used by unac, as published at http://www.unicode.org/Public/
Note:
See TracChangeset
for help on using the changeset viewer.