Changeset 26663 for main/trunk/greenstone2/build-src
- Timestamp:
- 2013-01-10T15:58:46+13:00 (11 years ago)
- Location:
- main/trunk/greenstone2/build-src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/configure
r25149 r26663 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.63. 3 # Generated by GNU Autoconf 2.68. 4 # 4 5 # 5 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 9 # 10 # 7 11 # This configure script is free software; the Free Software Foundation 8 12 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 12 16 13 17 # Be more Bourne compatible 14 18 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 20 emulate sh 17 21 NULLCMD=: … … 21 25 setopt NO_GLOB_SUBST 22 26 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 25 32 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 33 fi 34 39 35 40 36 as_nl=' … … 45 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 42 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 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 48 50 as_echo='printf %s\n' 49 51 as_echo_n='printf %s' … … 56 58 as_echo_n_body='eval 57 59 arg=$1; 58 case $arg in 60 case $arg in #( 59 61 *"$as_nl"*) 60 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 79 81 fi 80 82 81 # Support unset when possible.82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then83 as_unset=unset84 else85 as_unset=false86 fi87 88 83 89 84 # IFS … … 95 90 96 91 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 92 as_myself= 93 case $0 in #(( 98 94 *[\\/]* ) as_myself=$0 ;; 99 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 102 98 IFS=$as_save_IFS 103 99 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break105 done100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 106 102 IFS=$as_save_IFS 107 103 … … 115 111 if test ! -f "$as_myself"; then 116 112 $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 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 123 done 124 124 PS1='$ ' … … 132 132 export LANGUAGE 133 133 134 # Required to use basename. 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145 else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151 esac 152 fi 153 " 154 as_required="as_fn_return () { (exit \$1); } 155 as_fn_success () { as_fn_return 0; } 156 as_fn_failure () { as_fn_return 1; } 157 as_fn_ret_success () { return 0; } 158 as_fn_ret_failure () { return 1; } 159 160 exitcode=0 161 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167 else 168 exitcode=1; echo positional parameters were not saved. 169 fi 170 test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175 test \$(( 1 + 1 )) = 2 || exit 1" 176 if (eval "$as_required") 2>/dev/null; then : 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 182 183 else 184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185 as_found=false 186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 187 do 188 IFS=$as_save_IFS 189 test -z "$as_dir" && as_dir=. 190 as_found=: 191 case $as_dir in #( 192 /*) 193 for as_base in sh bash ksh sh5; do 194 # Try only shells that exist, to save several forks. 195 as_shell=$as_dir/$as_base 196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 198 CONFIG_SHELL=$as_shell as_have_required=yes 199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 break 2 201 fi 202 fi 203 done;; 204 esac 205 as_found=false 206 done 207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 209 CONFIG_SHELL=$SHELL as_have_required=yes 210 fi; } 211 IFS=$as_save_IFS 212 213 214 if test "x$CONFIG_SHELL" != x; then : 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 230 fi 231 232 if test x$as_have_required = xno; then : 233 $as_echo "$0: This script requires a shell more modern than all" 234 $as_echo "$0: the shells that I found on your system." 235 if test x${ZSH_VERSION+set} = xset ; then 236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 237 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 238 else 239 $as_echo "$0: Please tell [email protected] about your system, 240 $0: including any error possibly output before this 241 $0: message. Then install a modern shell, or manually run 242 $0: the script under such a shell if you do have one." 243 fi 244 exit 1 245 fi 246 fi 247 fi 248 SHELL=${CONFIG_SHELL-/bin/sh} 249 export SHELL 250 # Unset more variables known to interfere with behavior of common tools. 251 CLICOLOR_FORCE= GREP_OPTIONS= 252 unset CLICOLOR_FORCE GREP_OPTIONS 253 254 ## --------------------- ## 255 ## M4sh Shell Functions. ## 256 ## --------------------- ## 257 # as_fn_unset VAR 258 # --------------- 259 # Portably unset VAR. 260 as_fn_unset () 261 { 262 { eval $1=; unset $1;} 263 } 264 as_unset=as_fn_unset 265 266 # as_fn_set_status STATUS 267 # ----------------------- 268 # Set $? to STATUS, without forking. 269 as_fn_set_status () 270 { 271 return $1 272 } # as_fn_set_status 273 274 # as_fn_exit STATUS 275 # ----------------- 276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 277 as_fn_exit () 278 { 279 set +e 280 as_fn_set_status $1 281 exit $1 282 } # as_fn_exit 283 284 # as_fn_mkdir_p 285 # ------------- 286 # Create "$as_dir" as a directory, including parents if necessary. 287 as_fn_mkdir_p () 288 { 289 290 case $as_dir in #( 291 -*) as_dir=./$as_dir;; 292 esac 293 test -d "$as_dir" || eval $as_mkdir_p || { 294 as_dirs= 295 while :; do 296 case $as_dir in #( 297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 298 *) as_qdir=$as_dir;; 299 esac 300 as_dirs="'$as_qdir' $as_dirs" 301 as_dir=`$as_dirname -- "$as_dir" || 302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 303 X"$as_dir" : 'X\(//\)[^/]' \| \ 304 X"$as_dir" : 'X\(//\)$' \| \ 305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 306 $as_echo X"$as_dir" | 307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)[^/].*/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\/\)$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\).*/{ 320 s//\1/ 321 q 322 } 323 s/.*/./; q'` 324 test -d "$as_dir" && break 325 done 326 test -z "$as_dirs" || eval "mkdir $as_dirs" 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 328 329 330 } # as_fn_mkdir_p 331 # as_fn_append VAR VALUE 332 # ---------------------- 333 # Append the text in VALUE to the end of the definition contained in VAR. Take 334 # advantage of any shell optimizations that allow amortized linear growth over 335 # repeated appends, instead of the typical quadratic growth present in naive 336 # implementations. 337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 338 eval 'as_fn_append () 339 { 340 eval $1+=\$2 341 }' 342 else 343 as_fn_append () 344 { 345 eval $1=\$$1\$2 346 } 347 fi # as_fn_append 348 349 # as_fn_arith ARG... 350 # ------------------ 351 # Perform arithmetic evaluation on the ARGs, and store the result in the 352 # global $as_val. Take advantage of shells that can avoid forks. The arguments 353 # must be portable across $(()) and expr. 354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 355 eval 'as_fn_arith () 356 { 357 as_val=$(( $* )) 358 }' 359 else 360 as_fn_arith () 361 { 362 as_val=`expr "$@" || test $? -eq 1` 363 } 364 fi # as_fn_arith 365 366 367 # as_fn_error STATUS ERROR [LINENO LOG_FD] 368 # ---------------------------------------- 369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 371 # script with STATUS, using 1 if that was 0. 372 as_fn_error () 373 { 374 as_status=$1; test $as_status -eq 0 && as_status=1 375 if test "$4"; then 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 378 fi 379 $as_echo "$as_me: error: $2" >&2 380 as_fn_exit $as_status 381 } # as_fn_error 382 135 383 if expr a : '\(a\)' >/dev/null 2>&1 && 136 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 146 394 fi 147 395 148 149 # Name of the executable. 396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 397 as_dirname=dirname 398 else 399 as_dirname=false 400 fi 401 150 402 as_me=`$as_basename -- "$0" || 151 403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 167 419 s/.*/./; q'` 168 420 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. :-) 421 # Avoid depending upon Character Ranges. 422 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 425 as_cr_digits='0123456789' 426 as_cr_alnum=$as_cr_Letters$as_cr_digits 427 428 429 as_lineno_1=$LINENO as_lineno_1a=$LINENO 430 as_lineno_2=$LINENO as_lineno_2a=$LINENO 431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 458 434 sed -n ' 459 435 p … … 472 448 ' >$as_me.lineno && 473 449 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 { (exit 1); exit 1; }; } 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 476 451 477 452 # Don't try to exec as it changes $[0], causing all sort of problems … … 483 458 } 484 459 485 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then487 as_dirname=dirname488 else489 as_dirname=false490 fi491 492 460 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 461 case `echo -n x` in #((((( 494 462 -n*) 495 case `echo 'x \c'` in463 case `echo 'xy\c'` in 496 464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 465 xy) ECHO_C='\c';; 466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 467 ECHO_T=' ';; 498 468 esac;; 499 469 *) 500 470 ECHO_N='-n';; 501 471 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 &&503 test "X`expr 00001 : '.*\(...\)'`" = X001; then504 as_expr=expr505 else506 as_expr=false507 fi508 472 509 473 rm -f conf$$ conf$$.exe conf$$.file … … 535 499 536 500 if mkdir -p . 2>/dev/null; then 537 as_mkdir_p= :501 as_mkdir_p='mkdir -p "$as_dir"' 538 502 else 539 503 test -d ./-p && rmdir ./-p … … 554 518 test -d "$1/."; 555 519 else 556 case $1 in 520 case $1 in #( 557 521 -*)set "./$1";; 558 522 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 560 524 ???[sx]*):;;*)false;;esac;fi 561 525 '\'' sh … … 571 535 572 536 573 574 exec 7<&0 </dev/null6>&1537 test -n "$DJDIR" || exec 7<&0 </dev/null 538 exec 6>&1 575 539 576 540 # Name of the host. 577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 578 542 # so uname gets run too. 579 543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 590 554 MFLAGS= 591 555 MAKEFLAGS= 592 SHELL=${CONFIG_SHELL-/bin/sh}593 556 594 557 # Identity of this package. … … 598 561 PACKAGE_STRING= 599 562 PACKAGE_BUGREPORT= 563 PACKAGE_URL= 600 564 601 565 # Factoring default headers for most tests. … … 729 693 prefix 730 694 exec_prefix 695 PACKAGE_URL 731 696 PACKAGE_BUGREPORT 732 697 PACKAGE_STRING … … 828 793 829 794 case $ac_option in 830 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 831 *) ac_optarg=yes ;; 795 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 796 *=) ac_optarg= ;; 797 *) ac_optarg=yes ;; 832 798 esac 833 799 … … 874 840 # Reject names that are not valid shell variable names. 875 841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 876 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 877 { (exit 1); exit 1; }; } 842 as_fn_error $? "invalid feature name: $ac_useropt" 878 843 ac_useropt_orig=$ac_useropt 879 844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 901 866 # Reject names that are not valid shell variable names. 902 867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 903 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 904 { (exit 1); exit 1; }; } 868 as_fn_error $? "invalid feature name: $ac_useropt" 905 869 ac_useropt_orig=$ac_useropt 906 870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1106 1070 # Reject names that are not valid shell variable names. 1107 1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1108 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1109 { (exit 1); exit 1; }; } 1072 as_fn_error $? "invalid package name: $ac_useropt" 1110 1073 ac_useropt_orig=$ac_useropt 1111 1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1123 1086 # Reject names that are not valid shell variable names. 1124 1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1125 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1126 { (exit 1); exit 1; }; } 1088 as_fn_error $? "invalid package name: $ac_useropt" 1127 1089 ac_useropt_orig=$ac_useropt 1128 1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1154 1116 x_libraries=$ac_optarg ;; 1155 1117 1156 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1157 Try \`$0 --help' for more information." >&2 1158 { (exit 1); exit 1; }; } 1118 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1119 Try \`$0 --help' for more information" 1159 1120 ;; 1160 1121 … … 1162 1123 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1163 1124 # Reject names that are not valid shell variable names. 1164 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1165 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1166 { (exit 1); exit 1; }; } 1125 case $ac_envvar in #( 1126 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1127 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1128 esac 1167 1129 eval $ac_envvar=\$ac_optarg 1168 1130 export $ac_envvar ;; … … 1173 1135 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1174 1136 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1175 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1137 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1176 1138 ;; 1177 1139 … … 1181 1143 if test -n "$ac_prev"; then 1182 1144 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1183 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1184 { (exit 1); exit 1; }; } 1145 as_fn_error $? "missing argument to $ac_option" 1185 1146 fi 1186 1147 … … 1188 1149 case $enable_option_checking in 1189 1150 no) ;; 1190 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1191 { (exit 1); exit 1; }; } ;; 1151 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1192 1152 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1193 1153 esac … … 1212 1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1213 1173 esac 1214 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1215 { (exit 1); exit 1; }; } 1174 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1216 1175 done 1217 1176 … … 1227 1186 if test "x$build_alias" = x; then 1228 1187 cross_compiling=maybe 1229 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1230 If a cross compiler is detected then cross compile mode will be used ." >&21188 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1189 If a cross compiler is detected then cross compile mode will be used" >&2 1231 1190 elif test "x$build_alias" != "x$host_alias"; then 1232 1191 cross_compiling=yes … … 1243 1202 ac_ls_di=`ls -di .` && 1244 1203 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1245 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1246 { (exit 1); exit 1; }; } 1204 as_fn_error $? "working directory cannot be determined" 1247 1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1248 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1249 { (exit 1); exit 1; }; } 1206 as_fn_error $? "pwd does not report name of working directory" 1250 1207 1251 1208 … … 1286 1243 if test ! -r "$srcdir/$ac_unique_file"; then 1287 1244 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1288 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1289 { (exit 1); exit 1; }; } 1245 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1290 1246 fi 1291 1247 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1292 1248 ac_abs_confdir=`( 1293 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1294 { (exit 1); exit 1; }; } 1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1295 1250 pwd)` 1296 1251 # When building in place, set srcdir=. … … 1332 1287 --help=recursive display the short help of all the included packages 1333 1288 -V, --version display version information and exit 1334 -q, --quiet, --silent do not print \`checking ...' messages1289 -q, --quiet, --silent do not print \`checking ...' messages 1335 1290 --cache-file=FILE cache test results in FILE [disabled] 1336 1291 -C, --config-cache alias for \`--cache-file=config.cache' … … 1414 1369 nonstandard directory <lib dir> 1415 1370 LIBS libraries to pass to the linker, e.g. -l<library> 1416 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1417 1372 you have headers in a nonstandard directory <include dir> 1418 1373 CXX C++ compiler command 1419 1374 CXXFLAGS C++ compiler flags 1420 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1421 the first program found out of: `bison -y', `byacc', `yacc'. 1375 YACC The `Yet Another Compiler Compiler' implementation to use. 1376 Defaults to the first program found out of: `bison -y', `byacc', 1377 `yacc'. 1422 1378 YFLAGS The list of arguments that will be passed by default to $YACC. 1423 1379 This script will default YFLAGS to the empty string to avoid a … … 1428 1384 it to find libraries and programs with nonstandard names/locations. 1429 1385 1386 Report bugs to the package provider. 1430 1387 _ACEOF 1431 1388 ac_status=$? … … 1491 1448 cat <<\_ACEOF 1492 1449 configure 1493 generated by GNU Autoconf 2.63 1494 1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1496 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1450 generated by GNU Autoconf 2.68 1451 1452 Copyright (C) 2010 Free Software Foundation, Inc. 1497 1453 This configure script is free software; the Free Software Foundation 1498 1454 gives unlimited permission to copy, distribute and modify it. … … 1500 1456 exit 1501 1457 fi 1458 1459 ## ------------------------ ## 1460 ## Autoconf initialization. ## 1461 ## ------------------------ ## 1462 1463 # ac_fn_c_try_compile LINENO 1464 # -------------------------- 1465 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1466 ac_fn_c_try_compile () 1467 { 1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1469 rm -f conftest.$ac_objext 1470 if { { ac_try="$ac_compile" 1471 case "(($ac_try" in 1472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1473 *) ac_try_echo=$ac_try;; 1474 esac 1475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1476 $as_echo "$ac_try_echo"; } >&5 1477 (eval "$ac_compile") 2>conftest.err 1478 ac_status=$? 1479 if test -s conftest.err; then 1480 grep -v '^ *+' conftest.err >conftest.er1 1481 cat conftest.er1 >&5 1482 mv -f conftest.er1 conftest.err 1483 fi 1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1485 test $ac_status = 0; } && { 1486 test -z "$ac_c_werror_flag" || 1487 test ! -s conftest.err 1488 } && test -s conftest.$ac_objext; then : 1489 ac_retval=0 1490 else 1491 $as_echo "$as_me: failed program was:" >&5 1492 sed 's/^/| /' conftest.$ac_ext >&5 1493 1494 ac_retval=1 1495 fi 1496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1497 as_fn_set_status $ac_retval 1498 1499 } # ac_fn_c_try_compile 1500 1501 # ac_fn_cxx_try_compile LINENO 1502 # ---------------------------- 1503 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1504 ac_fn_cxx_try_compile () 1505 { 1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1507 rm -f conftest.$ac_objext 1508 if { { ac_try="$ac_compile" 1509 case "(($ac_try" in 1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1511 *) ac_try_echo=$ac_try;; 1512 esac 1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1514 $as_echo "$ac_try_echo"; } >&5 1515 (eval "$ac_compile") 2>conftest.err 1516 ac_status=$? 1517 if test -s conftest.err; then 1518 grep -v '^ *+' conftest.err >conftest.er1 1519 cat conftest.er1 >&5 1520 mv -f conftest.er1 conftest.err 1521 fi 1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1523 test $ac_status = 0; } && { 1524 test -z "$ac_cxx_werror_flag" || 1525 test ! -s conftest.err 1526 } && test -s conftest.$ac_objext; then : 1527 ac_retval=0 1528 else 1529 $as_echo "$as_me: failed program was:" >&5 1530 sed 's/^/| /' conftest.$ac_ext >&5 1531 1532 ac_retval=1 1533 fi 1534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1535 as_fn_set_status $ac_retval 1536 1537 } # ac_fn_cxx_try_compile 1538 1539 # ac_fn_c_try_cpp LINENO 1540 # ---------------------- 1541 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1542 ac_fn_c_try_cpp () 1543 { 1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1545 if { { ac_try="$ac_cpp conftest.$ac_ext" 1546 case "(($ac_try" in 1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1548 *) ac_try_echo=$ac_try;; 1549 esac 1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1551 $as_echo "$ac_try_echo"; } >&5 1552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1553 ac_status=$? 1554 if test -s conftest.err; then 1555 grep -v '^ *+' conftest.err >conftest.er1 1556 cat conftest.er1 >&5 1557 mv -f conftest.er1 conftest.err 1558 fi 1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1560 test $ac_status = 0; } > conftest.i && { 1561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1562 test ! -s conftest.err 1563 }; then : 1564 ac_retval=0 1565 else 1566 $as_echo "$as_me: failed program was:" >&5 1567 sed 's/^/| /' conftest.$ac_ext >&5 1568 1569 ac_retval=1 1570 fi 1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1572 as_fn_set_status $ac_retval 1573 1574 } # ac_fn_c_try_cpp 1575 1576 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1577 # ------------------------------------------------------- 1578 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1579 # the include files in INCLUDES and setting the cache variable VAR 1580 # accordingly. 1581 ac_fn_c_check_header_mongrel () 1582 { 1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1584 if eval \${$3+:} false; then : 1585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1586 $as_echo_n "checking for $2... " >&6; } 1587 if eval \${$3+:} false; then : 1588 $as_echo_n "(cached) " >&6 1589 fi 1590 eval ac_res=\$$3 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1592 $as_echo "$ac_res" >&6; } 1593 else 1594 # Is the header compilable? 1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1596 $as_echo_n "checking $2 usability... " >&6; } 1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1598 /* end confdefs.h. */ 1599 $4 1600 #include <$2> 1601 _ACEOF 1602 if ac_fn_c_try_compile "$LINENO"; then : 1603 ac_header_compiler=yes 1604 else 1605 ac_header_compiler=no 1606 fi 1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1609 $as_echo "$ac_header_compiler" >&6; } 1610 1611 # Is the header present? 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1613 $as_echo_n "checking $2 presence... " >&6; } 1614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1615 /* end confdefs.h. */ 1616 #include <$2> 1617 _ACEOF 1618 if ac_fn_c_try_cpp "$LINENO"; then : 1619 ac_header_preproc=yes 1620 else 1621 ac_header_preproc=no 1622 fi 1623 rm -f conftest.err conftest.i conftest.$ac_ext 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1625 $as_echo "$ac_header_preproc" >&6; } 1626 1627 # So? What about this header? 1628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1629 yes:no: ) 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1631 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1634 ;; 1635 no:yes:* ) 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1637 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1639 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1641 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1643 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1646 ;; 1647 esac 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1649 $as_echo_n "checking for $2... " >&6; } 1650 if eval \${$3+:} false; then : 1651 $as_echo_n "(cached) " >&6 1652 else 1653 eval "$3=\$ac_header_compiler" 1654 fi 1655 eval ac_res=\$$3 1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1657 $as_echo "$ac_res" >&6; } 1658 fi 1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1660 1661 } # ac_fn_c_check_header_mongrel 1662 1663 # ac_fn_c_try_run LINENO 1664 # ---------------------- 1665 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1666 # that executables *can* be run. 1667 ac_fn_c_try_run () 1668 { 1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1670 if { { ac_try="$ac_link" 1671 case "(($ac_try" in 1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1673 *) ac_try_echo=$ac_try;; 1674 esac 1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1676 $as_echo "$ac_try_echo"; } >&5 1677 (eval "$ac_link") 2>&5 1678 ac_status=$? 1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1680 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1681 { { case "(($ac_try" in 1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1683 *) ac_try_echo=$ac_try;; 1684 esac 1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1686 $as_echo "$ac_try_echo"; } >&5 1687 (eval "$ac_try") 2>&5 1688 ac_status=$? 1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1690 test $ac_status = 0; }; }; then : 1691 ac_retval=0 1692 else 1693 $as_echo "$as_me: program exited with status $ac_status" >&5 1694 $as_echo "$as_me: failed program was:" >&5 1695 sed 's/^/| /' conftest.$ac_ext >&5 1696 1697 ac_retval=$ac_status 1698 fi 1699 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1701 as_fn_set_status $ac_retval 1702 1703 } # ac_fn_c_try_run 1704 1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1706 # ------------------------------------------------------- 1707 # Tests whether HEADER exists and can be compiled using the include files in 1708 # INCLUDES, setting the cache variable VAR accordingly. 1709 ac_fn_c_check_header_compile () 1710 { 1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1713 $as_echo_n "checking for $2... " >&6; } 1714 if eval \${$3+:} false; then : 1715 $as_echo_n "(cached) " >&6 1716 else 1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1718 /* end confdefs.h. */ 1719 $4 1720 #include <$2> 1721 _ACEOF 1722 if ac_fn_c_try_compile "$LINENO"; then : 1723 eval "$3=yes" 1724 else 1725 eval "$3=no" 1726 fi 1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1728 fi 1729 eval ac_res=\$$3 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1731 $as_echo "$ac_res" >&6; } 1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1733 1734 } # ac_fn_c_check_header_compile 1735 1736 # ac_fn_c_try_link LINENO 1737 # ----------------------- 1738 # Try to link conftest.$ac_ext, and return whether this succeeded. 1739 ac_fn_c_try_link () 1740 { 1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1742 rm -f conftest.$ac_objext conftest$ac_exeext 1743 if { { ac_try="$ac_link" 1744 case "(($ac_try" in 1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1746 *) ac_try_echo=$ac_try;; 1747 esac 1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1749 $as_echo "$ac_try_echo"; } >&5 1750 (eval "$ac_link") 2>conftest.err 1751 ac_status=$? 1752 if test -s conftest.err; then 1753 grep -v '^ *+' conftest.err >conftest.er1 1754 cat conftest.er1 >&5 1755 mv -f conftest.er1 conftest.err 1756 fi 1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1758 test $ac_status = 0; } && { 1759 test -z "$ac_c_werror_flag" || 1760 test ! -s conftest.err 1761 } && test -s conftest$ac_exeext && { 1762 test "$cross_compiling" = yes || 1763 $as_test_x conftest$ac_exeext 1764 }; then : 1765 ac_retval=0 1766 else 1767 $as_echo "$as_me: failed program was:" >&5 1768 sed 's/^/| /' conftest.$ac_ext >&5 1769 1770 ac_retval=1 1771 fi 1772 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1773 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1774 # interfere with the next link command; also delete a directory that is 1775 # left behind by Apple's compiler. We do this before executing the actions. 1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1778 as_fn_set_status $ac_retval 1779 1780 } # ac_fn_c_try_link 1781 1782 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1783 # ------------------------------------------- 1784 # Tests whether TYPE exists after having included INCLUDES, setting cache 1785 # variable VAR accordingly. 1786 ac_fn_c_check_type () 1787 { 1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1790 $as_echo_n "checking for $2... " >&6; } 1791 if eval \${$3+:} false; then : 1792 $as_echo_n "(cached) " >&6 1793 else 1794 eval "$3=no" 1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1796 /* end confdefs.h. */ 1797 $4 1798 int 1799 main () 1800 { 1801 if (sizeof ($2)) 1802 return 0; 1803 ; 1804 return 0; 1805 } 1806 _ACEOF 1807 if ac_fn_c_try_compile "$LINENO"; then : 1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1809 /* end confdefs.h. */ 1810 $4 1811 int 1812 main () 1813 { 1814 if (sizeof (($2))) 1815 return 0; 1816 ; 1817 return 0; 1818 } 1819 _ACEOF 1820 if ac_fn_c_try_compile "$LINENO"; then : 1821 1822 else 1823 eval "$3=yes" 1824 fi 1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1826 fi 1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1828 fi 1829 eval ac_res=\$$3 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1831 $as_echo "$ac_res" >&6; } 1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1833 1834 } # ac_fn_c_check_type 1835 1836 # ac_fn_c_check_func LINENO FUNC VAR 1837 # ---------------------------------- 1838 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1839 ac_fn_c_check_func () 1840 { 1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1843 $as_echo_n "checking for $2... " >&6; } 1844 if eval \${$3+:} false; then : 1845 $as_echo_n "(cached) " >&6 1846 else 1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1848 /* end confdefs.h. */ 1849 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1850 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1851 #define $2 innocuous_$2 1852 1853 /* System header to define __stub macros and hopefully few prototypes, 1854 which can conflict with char $2 (); below. 1855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1856 <limits.h> exists even on freestanding compilers. */ 1857 1858 #ifdef __STDC__ 1859 # include <limits.h> 1860 #else 1861 # include <assert.h> 1862 #endif 1863 1864 #undef $2 1865 1866 /* Override any GCC internal prototype to avoid an error. 1867 Use char because int might match the return type of a GCC 1868 builtin and then its argument prototype would still apply. */ 1869 #ifdef __cplusplus 1870 extern "C" 1871 #endif 1872 char $2 (); 1873 /* The GNU C library defines this for functions which it implements 1874 to always fail with ENOSYS. Some functions are actually named 1875 something starting with __ and the normal name is an alias. */ 1876 #if defined __stub_$2 || defined __stub___$2 1877 choke me 1878 #endif 1879 1880 int 1881 main () 1882 { 1883 return $2 (); 1884 ; 1885 return 0; 1886 } 1887 _ACEOF 1888 if ac_fn_c_try_link "$LINENO"; then : 1889 eval "$3=yes" 1890 else 1891 eval "$3=no" 1892 fi 1893 rm -f core conftest.err conftest.$ac_objext \ 1894 conftest$ac_exeext conftest.$ac_ext 1895 fi 1896 eval ac_res=\$$3 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1898 $as_echo "$ac_res" >&6; } 1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1900 1901 } # ac_fn_c_check_func 1902 1903 # ac_fn_cxx_try_run LINENO 1904 # ------------------------ 1905 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1906 # that executables *can* be run. 1907 ac_fn_cxx_try_run () 1908 { 1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1910 if { { ac_try="$ac_link" 1911 case "(($ac_try" in 1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1913 *) ac_try_echo=$ac_try;; 1914 esac 1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1916 $as_echo "$ac_try_echo"; } >&5 1917 (eval "$ac_link") 2>&5 1918 ac_status=$? 1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1920 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1921 { { case "(($ac_try" in 1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1923 *) ac_try_echo=$ac_try;; 1924 esac 1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1926 $as_echo "$ac_try_echo"; } >&5 1927 (eval "$ac_try") 2>&5 1928 ac_status=$? 1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1930 test $ac_status = 0; }; }; then : 1931 ac_retval=0 1932 else 1933 $as_echo "$as_me: program exited with status $ac_status" >&5 1934 $as_echo "$as_me: failed program was:" >&5 1935 sed 's/^/| /' conftest.$ac_ext >&5 1936 1937 ac_retval=$ac_status 1938 fi 1939 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1941 as_fn_set_status $ac_retval 1942 1943 } # ac_fn_cxx_try_run 1502 1944 cat >config.log <<_ACEOF 1503 1945 This file contains any messages produced by compilers while … … 1505 1947 1506 1948 It was created by $as_me, which was 1507 generated by GNU Autoconf 2.6 3. Invocation command line was1949 generated by GNU Autoconf 2.68. Invocation command line was 1508 1950 1509 1951 $ $0 $@ … … 1541 1983 IFS=$as_save_IFS 1542 1984 test -z "$as_dir" && as_dir=. 1543 $as_echo "PATH: $as_dir"1544 done1985 $as_echo "PATH: $as_dir" 1986 done 1545 1987 IFS=$as_save_IFS 1546 1988 … … 1579 2021 esac 1580 2022 case $ac_pass in 1581 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2023 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1582 2024 2) 1583 a c_configure_args1="$ac_configure_args1'$ac_arg'"2025 as_fn_append ac_configure_args1 " '$ac_arg'" 1584 2026 if test $ac_must_keep_next = true; then 1585 2027 ac_must_keep_next=false # Got value, back to normal. … … 1597 2039 esac 1598 2040 fi 1599 a c_configure_args="$ac_configure_args'$ac_arg'"2041 as_fn_append ac_configure_args " '$ac_arg'" 1600 2042 ;; 1601 2043 esac 1602 2044 done 1603 2045 done 1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2046 { ac_configure_args0=; unset ac_configure_args0;} 2047 { ac_configure_args1=; unset ac_configure_args1;} 1606 2048 1607 2049 # When interrupted or exit'd, cleanup temporary files, and complete … … 1615 2057 echo 1616 2058 1617 cat <<\_ASBOX 1618 ## ---------------- ## 2059 $as_echo "## ---------------- ## 1619 2060 ## Cache variables. ## 1620 ## ---------------- ## 1621 _ASBOX 2061 ## ---------------- ##" 1622 2062 echo 1623 2063 # The following way of writing the cache mishandles newlines in values, … … 1628 2068 *${as_nl}*) 1629 2069 case $ac_var in #( 1630 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1631 2071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1632 2072 esac … … 1634 2074 _ | IFS | as_nl) ;; #( 1635 2075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1636 *) $as_unset $ac_var;;2076 *) { eval $ac_var=; unset $ac_var;} ;; 1637 2077 esac ;; 1638 2078 esac … … 1653 2093 echo 1654 2094 1655 cat <<\_ASBOX 1656 ## ----------------- ## 2095 $as_echo "## ----------------- ## 1657 2096 ## Output variables. ## 1658 ## ----------------- ## 1659 _ASBOX 2097 ## ----------------- ##" 1660 2098 echo 1661 2099 for ac_var in $ac_subst_vars … … 1670 2108 1671 2109 if test -n "$ac_subst_files"; then 1672 cat <<\_ASBOX 1673 ## ------------------- ## 2110 $as_echo "## ------------------- ## 1674 2111 ## File substitutions. ## 1675 ## ------------------- ## 1676 _ASBOX 2112 ## ------------------- ##" 1677 2113 echo 1678 2114 for ac_var in $ac_subst_files … … 1688 2124 1689 2125 if test -s confdefs.h; then 1690 cat <<\_ASBOX 1691 ## ----------- ## 2126 $as_echo "## ----------- ## 1692 2127 ## confdefs.h. ## 1693 ## ----------- ## 1694 _ASBOX 2128 ## ----------- ##" 1695 2129 echo 1696 2130 cat confdefs.h … … 1706 2140 ' 0 1707 2141 for ac_signal in 1 2 13 15; do 1708 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2142 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1709 2143 done 1710 2144 ac_signal=0 … … 1713 2147 rm -f -r conftest* confdefs.h 1714 2148 2149 $as_echo "/* confdefs.h */" > confdefs.h 2150 1715 2151 # Predefined preprocessor variables. 1716 2152 … … 1719 2155 _ACEOF 1720 2156 1721 1722 2157 cat >>confdefs.h <<_ACEOF 1723 2158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1724 2159 _ACEOF 1725 2160 1726 1727 2161 cat >>confdefs.h <<_ACEOF 1728 2162 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1729 2163 _ACEOF 1730 2164 1731 1732 2165 cat >>confdefs.h <<_ACEOF 1733 2166 #define PACKAGE_STRING "$PACKAGE_STRING" 1734 2167 _ACEOF 1735 2168 1736 1737 2169 cat >>confdefs.h <<_ACEOF 1738 2170 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2171 _ACEOF 2172 2173 cat >>confdefs.h <<_ACEOF 2174 #define PACKAGE_URL "$PACKAGE_URL" 1739 2175 _ACEOF 1740 2176 … … 1745 2181 ac_site_file2=NONE 1746 2182 if test -n "$CONFIG_SITE"; then 1747 ac_site_file1=$CONFIG_SITE 2183 # We do not want a PATH search for config.site. 2184 case $CONFIG_SITE in #(( 2185 -*) ac_site_file1=./$CONFIG_SITE;; 2186 */*) ac_site_file1=$CONFIG_SITE;; 2187 *) ac_site_file1=./$CONFIG_SITE;; 2188 esac 1748 2189 elif test "x$prefix" != xNONE; then 1749 2190 ac_site_file1=$prefix/share/config.site … … 1756 2197 do 1757 2198 test "x$ac_site_file" = xNONE && continue 1758 if test -r "$ac_site_file"; then1759 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52199 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1760 2201 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1761 2202 sed 's/^/| /' "$ac_site_file" >&5 1762 . "$ac_site_file" 2203 . "$ac_site_file" \ 2204 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2206 as_fn_error $? "failed to load site script $ac_site_file 2207 See \`config.log' for more details" "$LINENO" 5; } 1763 2208 fi 1764 2209 done 1765 2210 1766 2211 if test -r "$cache_file"; then 1767 # Some versions of bash will fail to source /dev/null (special 1768 # files actually), so we avoid doing that.1769 if test -f "$cache_file"; then1770 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52212 # Some versions of bash will fail to source /dev/null (special files 2213 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2214 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1771 2216 $as_echo "$as_me: loading cache $cache_file" >&6;} 1772 2217 case $cache_file in … … 1776 2221 fi 1777 2222 else 1778 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1779 2224 $as_echo "$as_me: creating cache $cache_file" >&6;} 1780 2225 >$cache_file … … 1791 2236 case $ac_old_set,$ac_new_set in 1792 2237 set,) 1793 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1794 2239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1795 2240 ac_cache_corrupted=: ;; 1796 2241 ,set) 1797 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1798 2243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1799 2244 ac_cache_corrupted=: ;; … … 1805 2250 ac_new_val_w=`echo x $ac_new_val` 1806 2251 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1807 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1808 2253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1809 2254 ac_cache_corrupted=: 1810 2255 else 1811 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1812 2257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1813 2258 eval $ac_var=\$ac_old_val 1814 2259 fi 1815 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1816 2261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1817 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1818 2263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1819 2264 fi;; … … 1827 2272 case " $ac_configure_args " in 1828 2273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1829 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2274 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1830 2275 esac 1831 2276 fi 1832 2277 done 1833 2278 if $ac_cache_corrupted; then 1834 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1835 2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1836 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1837 2282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1838 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1839 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1840 { (exit 1); exit 1; }; } 1841 fi 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 2283 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2284 fi 2285 ## -------------------- ## 2286 ## Main body of script. ## 2287 ## -------------------- ## 1858 2288 1859 2289 ac_ext=c … … 1883 2313 USE_FASTCGI=0 1884 2314 if test USE_FASTCGI = 1; then 1885 cat >>confdefs.h <<\_ACEOF 1886 #define USE_FASTCGI 1 1887 _ACEOF 2315 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1888 2316 1889 2317 … … 1891 2319 1892 2320 if test USE_LANGACTION = 1; then 1893 cat >>confdefs.h <<\_ACEOF 1894 #define USE_LANGACTION 1 1895 _ACEOF 2321 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 1896 2322 1897 2323 … … 1899 2325 1900 2326 # Check whether --enable-corba was given. 1901 if test "${enable_corba+set}" = set; then 2327 if test "${enable_corba+set}" = set; then : 1902 2328 enableval=$enable_corba; USE_CORBA=$enableval 1903 2329 else … … 1907 2333 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1908 2334 USE_CORBA=1 1909 cat >>confdefs.h <<\_ACEOF 1910 #define USE_CORBA /**/ 1911 _ACEOF 2335 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1912 2336 1913 2337 else … … 1918 2342 1919 2343 # Check whether --with-micodir was given. 1920 if test "${with_micodir+set}" = set; then 2344 if test "${with_micodir+set}" = set; then : 1921 2345 withval=$with_micodir; MICO_DIR=$withval 1922 2346 else … … 1931 2355 1932 2356 # Check whether --enable-z3950 was given. 1933 if test "${enable_z3950+set}" = set; then 2357 if test "${enable_z3950+set}" = set; then : 1934 2358 enableval=$enable_z3950; USE_Z3950=$enableval 1935 2359 else … … 1939 2363 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1940 2364 USE_Z3950=1 1941 cat >>confdefs.h <<\_ACEOF 1942 #define USE_Z3950 /**/ 1943 _ACEOF 2365 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1944 2366 1945 2367 else … … 1949 2371 1950 2372 # Check whether --enable-yaz was given. 1951 if test "${enable_yaz+set}" = set; then 2373 if test "${enable_yaz+set}" = set; then : 1952 2374 enableval=$enable_yaz; USE_YAZ=$enableval 1953 2375 else … … 1957 2379 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1958 2380 USE_YAZ=1 1959 cat >>confdefs.h <<\_ACEOF 1960 #define USE_YAZ /**/ 1961 _ACEOF 2381 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1962 2382 1963 2383 else … … 1967 2387 1968 2388 # Check whether --enable-java was given. 1969 if test "${enable_java+set}" = set; then 2389 if test "${enable_java+set}" = set; then : 1970 2390 enableval=$enable_java; ENABLE_JAVA=$enableval 1971 2391 else … … 1987 2407 1988 2408 # Check whether --enable-wvware was given. 1989 if test "${enable_wvware+set}" = set; then 2409 if test "${enable_wvware+set}" = set; then : 1990 2410 enableval=$enable_wvware; USE_WVWARE=$enableval 1991 2411 else … … 1995 2415 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 1996 2416 USE_WVWARE=1 1997 cat >>confdefs.h <<\_ACEOF 1998 #define USE_WVWARE /**/ 1999 _ACEOF 2417 $as_echo "#define USE_WVWARE /**/" >>confdefs.h 2000 2418 2001 2419 else … … 2005 2423 2006 2424 # Check whether --enable-jdbm was given. 2007 if test "${enable_jdbm+set}" = set; then 2425 if test "${enable_jdbm+set}" = set; then : 2008 2426 enableval=$enable_jdbm; USE_JDBM=$enableval 2009 2427 else … … 2013 2431 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 2014 2432 USE_JDBM=1 2015 cat >>confdefs.h <<\_ACEOF 2016 #define USE_JDBM /**/ 2017 _ACEOF 2433 $as_echo "#define USE_JDBM /**/" >>confdefs.h 2018 2434 2019 2435 else … … 2023 2439 2024 2440 # Check whether --enable-gdbm was given. 2025 if test "${enable_gdbm+set}" = set; then 2441 if test "${enable_gdbm+set}" = set; then : 2026 2442 enableval=$enable_gdbm; USE_GDBM=$enableval 2027 2443 else … … 2031 2447 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 2032 2448 USE_GDBM=1 2033 cat >>confdefs.h <<\_ACEOF 2034 #define USE_GDBM /**/ 2035 _ACEOF 2449 $as_echo "#define USE_GDBM /**/" >>confdefs.h 2036 2450 2037 2451 else … … 2041 2455 2042 2456 # Check whether --enable-accentfold was given. 2043 if test "${enable_accentfold+set}" = set; then 2457 if test "${enable_accentfold+set}" = set; then : 2044 2458 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 2045 2459 else … … 2049 2463 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 2050 2464 ENABLE_ACCENTFOLD=1 2051 cat >>confdefs.h <<\_ACEOF 2052 #define ENABLE_ACCENTFOLD /**/ 2053 _ACEOF 2465 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 2054 2466 2055 2467 else … … 2059 2471 2060 2472 # Check whether --enable-sqlite was given. 2061 if test "${enable_sqlite+set}" = set; then 2473 if test "${enable_sqlite+set}" = set; then : 2062 2474 enableval=$enable_sqlite; USE_SQLITE=$enableval 2063 2475 else … … 2067 2479 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 2068 2480 USE_SQLITE=1 2069 cat >>confdefs.h <<\_ACEOF 2070 #define USE_SQLITE /**/ 2071 _ACEOF 2481 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 2072 2482 2073 2483 else … … 2092 2502 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2093 2503 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2094 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2095 2505 $as_echo_n "checking for $ac_word... " >&6; } 2096 if test "${ac_cv_prog_CC+set}" = set; then2506 if ${ac_cv_prog_CC+:} false; then : 2097 2507 $as_echo_n "(cached) " >&6 2098 2508 else … … 2105 2515 IFS=$as_save_IFS 2106 2516 test -z "$as_dir" && as_dir=. 2107 for ac_exec_ext in '' $ac_executable_extensions; do2517 for ac_exec_ext in '' $ac_executable_extensions; do 2108 2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2109 2519 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2110 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2111 2521 break 2 2112 2522 fi 2113 2523 done 2114 done2524 done 2115 2525 IFS=$as_save_IFS 2116 2526 … … 2119 2529 CC=$ac_cv_prog_CC 2120 2530 if test -n "$CC"; then 2121 { $as_echo "$as_me:$ LINENO: result: $CC" >&52531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2122 2532 $as_echo "$CC" >&6; } 2123 2533 else 2124 { $as_echo "$as_me:$ LINENO: result: no" >&52534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2125 2535 $as_echo "no" >&6; } 2126 2536 fi … … 2132 2542 # Extract the first word of "gcc", so it can be a program name with args. 2133 2543 set dummy gcc; ac_word=$2 2134 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2135 2545 $as_echo_n "checking for $ac_word... " >&6; } 2136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2546 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2137 2547 $as_echo_n "(cached) " >&6 2138 2548 else … … 2145 2555 IFS=$as_save_IFS 2146 2556 test -z "$as_dir" && as_dir=. 2147 for ac_exec_ext in '' $ac_executable_extensions; do2557 for ac_exec_ext in '' $ac_executable_extensions; do 2148 2558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2149 2559 ac_cv_prog_ac_ct_CC="gcc" 2150 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2151 2561 break 2 2152 2562 fi 2153 2563 done 2154 done2564 done 2155 2565 IFS=$as_save_IFS 2156 2566 … … 2159 2569 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2160 2570 if test -n "$ac_ct_CC"; then 2161 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2162 2572 $as_echo "$ac_ct_CC" >&6; } 2163 2573 else 2164 { $as_echo "$as_me:$ LINENO: result: no" >&52574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2165 2575 $as_echo "no" >&6; } 2166 2576 fi … … 2171 2581 case $cross_compiling:$ac_tool_warned in 2172 2582 yes:) 2173 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2174 2584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2175 2585 ac_tool_warned=yes ;; … … 2185 2595 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2186 2596 set dummy ${ac_tool_prefix}cc; ac_word=$2 2187 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2188 2598 $as_echo_n "checking for $ac_word... " >&6; } 2189 if test "${ac_cv_prog_CC+set}" = set; then2599 if ${ac_cv_prog_CC+:} false; then : 2190 2600 $as_echo_n "(cached) " >&6 2191 2601 else … … 2198 2608 IFS=$as_save_IFS 2199 2609 test -z "$as_dir" && as_dir=. 2200 for ac_exec_ext in '' $ac_executable_extensions; do2610 for ac_exec_ext in '' $ac_executable_extensions; do 2201 2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2202 2612 ac_cv_prog_CC="${ac_tool_prefix}cc" 2203 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2204 2614 break 2 2205 2615 fi 2206 2616 done 2207 done2617 done 2208 2618 IFS=$as_save_IFS 2209 2619 … … 2212 2622 CC=$ac_cv_prog_CC 2213 2623 if test -n "$CC"; then 2214 { $as_echo "$as_me:$ LINENO: result: $CC" >&52624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2215 2625 $as_echo "$CC" >&6; } 2216 2626 else 2217 { $as_echo "$as_me:$ LINENO: result: no" >&52627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2218 2628 $as_echo "no" >&6; } 2219 2629 fi … … 2225 2635 # Extract the first word of "cc", so it can be a program name with args. 2226 2636 set dummy cc; ac_word=$2 2227 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2228 2638 $as_echo_n "checking for $ac_word... " >&6; } 2229 if test "${ac_cv_prog_CC+set}" = set; then2639 if ${ac_cv_prog_CC+:} false; then : 2230 2640 $as_echo_n "(cached) " >&6 2231 2641 else … … 2239 2649 IFS=$as_save_IFS 2240 2650 test -z "$as_dir" && as_dir=. 2241 for ac_exec_ext in '' $ac_executable_extensions; do2651 for ac_exec_ext in '' $ac_executable_extensions; do 2242 2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2243 2653 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2246 2656 fi 2247 2657 ac_cv_prog_CC="cc" 2248 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2249 2659 break 2 2250 2660 fi 2251 2661 done 2252 done2662 done 2253 2663 IFS=$as_save_IFS 2254 2664 … … 2269 2679 CC=$ac_cv_prog_CC 2270 2680 if test -n "$CC"; then 2271 { $as_echo "$as_me:$ LINENO: result: $CC" >&52681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2272 2682 $as_echo "$CC" >&6; } 2273 2683 else 2274 { $as_echo "$as_me:$ LINENO: result: no" >&52684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2275 2685 $as_echo "no" >&6; } 2276 2686 fi … … 2284 2694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2285 2695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2286 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2287 2697 $as_echo_n "checking for $ac_word... " >&6; } 2288 if test "${ac_cv_prog_CC+set}" = set; then2698 if ${ac_cv_prog_CC+:} false; then : 2289 2699 $as_echo_n "(cached) " >&6 2290 2700 else … … 2297 2707 IFS=$as_save_IFS 2298 2708 test -z "$as_dir" && as_dir=. 2299 for ac_exec_ext in '' $ac_executable_extensions; do2709 for ac_exec_ext in '' $ac_executable_extensions; do 2300 2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2301 2711 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2302 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2303 2713 break 2 2304 2714 fi 2305 2715 done 2306 done2716 done 2307 2717 IFS=$as_save_IFS 2308 2718 … … 2311 2721 CC=$ac_cv_prog_CC 2312 2722 if test -n "$CC"; then 2313 { $as_echo "$as_me:$ LINENO: result: $CC" >&52723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2314 2724 $as_echo "$CC" >&6; } 2315 2725 else 2316 { $as_echo "$as_me:$ LINENO: result: no" >&52726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2317 2727 $as_echo "no" >&6; } 2318 2728 fi … … 2328 2738 # Extract the first word of "$ac_prog", so it can be a program name with args. 2329 2739 set dummy $ac_prog; ac_word=$2 2330 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2331 2741 $as_echo_n "checking for $ac_word... " >&6; } 2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2742 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2333 2743 $as_echo_n "(cached) " >&6 2334 2744 else … … 2341 2751 IFS=$as_save_IFS 2342 2752 test -z "$as_dir" && as_dir=. 2343 for ac_exec_ext in '' $ac_executable_extensions; do2753 for ac_exec_ext in '' $ac_executable_extensions; do 2344 2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2345 2755 ac_cv_prog_ac_ct_CC="$ac_prog" 2346 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2347 2757 break 2 2348 2758 fi 2349 2759 done 2350 done2760 done 2351 2761 IFS=$as_save_IFS 2352 2762 … … 2355 2765 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2356 2766 if test -n "$ac_ct_CC"; then 2357 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2358 2768 $as_echo "$ac_ct_CC" >&6; } 2359 2769 else 2360 { $as_echo "$as_me:$ LINENO: result: no" >&52770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2361 2771 $as_echo "no" >&6; } 2362 2772 fi … … 2371 2781 case $cross_compiling:$ac_tool_warned in 2372 2782 yes:) 2373 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2374 2784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2375 2785 ac_tool_warned=yes ;; … … 2382 2792 2383 2793 2384 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52794 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2385 2795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2386 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2387 See \`config.log' for more details." >&5 2388 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2389 See \`config.log' for more details." >&2;} 2390 { (exit 1); exit 1; }; }; } 2796 as_fn_error $? "no acceptable C compiler found in \$PATH 2797 See \`config.log' for more details" "$LINENO" 5; } 2391 2798 2392 2799 # Provide some information about the compiler. 2393 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&52800 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2394 2801 set X $ac_compile 2395 2802 ac_compiler=$2 2396 { (ac_try="$ac_compiler --version >&5" 2803 for ac_option in --version -v -V -qversion; do 2804 { { ac_try="$ac_compiler $ac_option >&5" 2397 2805 case "(($ac_try" in 2398 2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2399 2807 *) ac_try_echo=$ac_try;; 2400 2808 esac 2401 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2402 $as_echo "$ac_try_echo" )>&52403 (eval "$ac_compiler --version >&5") 2>&52809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2810 $as_echo "$ac_try_echo"; } >&5 2811 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2404 2812 ac_status=$? 2405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2406 (exit $ac_status); } 2407 { (ac_try="$ac_compiler -v >&5" 2408 case "(($ac_try" in 2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2410 *) ac_try_echo=$ac_try;; 2411 esac 2412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2413 $as_echo "$ac_try_echo") >&5 2414 (eval "$ac_compiler -v >&5") 2>&5 2415 ac_status=$? 2416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2417 (exit $ac_status); } 2418 { (ac_try="$ac_compiler -V >&5" 2419 case "(($ac_try" in 2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2421 *) ac_try_echo=$ac_try;; 2422 esac 2423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2424 $as_echo "$ac_try_echo") >&5 2425 (eval "$ac_compiler -V >&5") 2>&5 2426 ac_status=$? 2427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2428 (exit $ac_status); } 2429 2430 cat >conftest.$ac_ext <<_ACEOF 2431 /* confdefs.h. */ 2432 _ACEOF 2433 cat confdefs.h >>conftest.$ac_ext 2434 cat >>conftest.$ac_ext <<_ACEOF 2813 if test -s conftest.err; then 2814 sed '10a\ 2815 ... rest of stderr output deleted ... 2816 10q' conftest.err >conftest.er1 2817 cat conftest.er1 >&5 2818 fi 2819 rm -f conftest.er1 conftest.err 2820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2821 test $ac_status = 0; } 2822 done 2823 2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2435 2825 /* end confdefs.h. */ 2436 2826 … … 2448 2838 # It will help us diagnose broken compilers, and finding out an intuition 2449 2839 # of exeext. 2450 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52451 $as_echo_n "checking for C compiler default output file name... " >&6; }2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2841 $as_echo_n "checking whether the C compiler works... " >&6; } 2452 2842 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2453 2843 … … 2465 2855 rm -f $ac_rmfiles 2466 2856 2467 if { (ac_try="$ac_link_default"2857 if { { ac_try="$ac_link_default" 2468 2858 case "(($ac_try" in 2469 2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2470 2860 *) ac_try_echo=$ac_try;; 2471 2861 esac 2472 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2473 $as_echo "$ac_try_echo" )>&52862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2863 $as_echo "$ac_try_echo"; } >&5 2474 2864 (eval "$ac_link_default") 2>&5 2475 2865 ac_status=$? 2476 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52477 (exit $ac_status); }; then2866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2867 test $ac_status = 0; }; then : 2478 2868 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2479 2869 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2492 2882 break;; 2493 2883 *.* ) 2494 2884 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2495 2885 then :; else 2496 2886 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2511 2901 ac_file='' 2512 2902 fi 2513 2514 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2903 if test -z "$ac_file"; then : 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2905 $as_echo "no" >&6; } 2906 $as_echo "$as_me: failed program was:" >&5 2907 sed 's/^/| /' conftest.$ac_ext >&5 2908 2909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2911 as_fn_error 77 "C compiler cannot create executables 2912 See \`config.log' for more details" "$LINENO" 5; } 2913 else 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2915 $as_echo "yes" >&6; } 2916 fi 2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2918 $as_echo_n "checking for C compiler default output file name... " >&6; } 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2515 2920 $as_echo "$ac_file" >&6; } 2516 if test -z "$ac_file"; then2517 $as_echo "$as_me: failed program was:" >&52518 sed 's/^/| /' conftest.$ac_ext >&52519 2520 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2522 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2523 See \`config.log' for more details." >&52524 $as_echo "$as_me: error: C compiler cannot create executables2525 See \`config.log' for more details." >&2;}2526 { (exit 77); exit 77; }; }; }2527 fi2528 2529 2921 ac_exeext=$ac_cv_exeext 2530 2531 # Check that the compiler produces executables we can run. If not, either2532 # the compiler is broken, or we cross compile.2533 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52534 $as_echo_n "checking whether the C compiler works... " >&6; }2535 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02536 # If not cross compiling, check that we can run a simple program.2537 if test "$cross_compiling" != yes; then2538 if { ac_try='./$ac_file'2539 { (case "(($ac_try" in2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2541 *) ac_try_echo=$ac_try;;2542 esac2543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2544 $as_echo "$ac_try_echo") >&52545 (eval "$ac_try") 2>&52546 ac_status=$?2547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52548 (exit $ac_status); }; }; then2549 cross_compiling=no2550 else2551 if test "$cross_compiling" = maybe; then2552 cross_compiling=yes2553 else2554 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2556 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2557 If you meant to cross compile, use \`--host'.2558 See \`config.log' for more details." >&52559 $as_echo "$as_me: error: cannot run C compiled programs.2560 If you meant to cross compile, use \`--host'.2561 See \`config.log' for more details." >&2;}2562 { (exit 1); exit 1; }; }; }2563 fi2564 fi2565 fi2566 { $as_echo "$as_me:$LINENO: result: yes" >&52567 $as_echo "yes" >&6; }2568 2922 2569 2923 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2570 2924 ac_clean_files=$ac_clean_files_save 2571 # Check that the compiler produces executables we can run. If not, either 2572 # the compiler is broken, or we cross compile. 2573 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2574 $as_echo_n "checking whether we are cross compiling... " >&6; } 2575 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2576 $as_echo "$cross_compiling" >&6; } 2577 2578 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2579 2926 $as_echo_n "checking for suffix of executables... " >&6; } 2580 if { (ac_try="$ac_link"2927 if { { ac_try="$ac_link" 2581 2928 case "(($ac_try" in 2582 2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2583 2930 *) ac_try_echo=$ac_try;; 2584 2931 esac 2585 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2586 $as_echo "$ac_try_echo" )>&52932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2933 $as_echo "$ac_try_echo"; } >&5 2587 2934 (eval "$ac_link") 2>&5 2588 2935 ac_status=$? 2589 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52590 (exit $ac_status); }; then2936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2937 test $ac_status = 0; }; then : 2591 2938 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2592 2939 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2603 2950 done 2604 2951 else 2605 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2606 2953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2607 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2608 See \`config.log' for more details." >&5 2609 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2610 See \`config.log' for more details." >&2;} 2611 { (exit 1); exit 1; }; }; } 2612 fi 2613 2614 rm -f conftest$ac_cv_exeext 2615 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2954 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2955 See \`config.log' for more details" "$LINENO" 5; } 2956 fi 2957 rm -f conftest conftest$ac_cv_exeext 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2616 2959 $as_echo "$ac_cv_exeext" >&6; } 2617 2960 … … 2619 2962 EXEEXT=$ac_cv_exeext 2620 2963 ac_exeext=$EXEEXT 2621 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2622 $as_echo_n "checking for suffix of object files... " >&6; } 2623 if test "${ac_cv_objext+set}" = set; then 2624 $as_echo_n "(cached) " >&6 2625 else 2626 cat >conftest.$ac_ext <<_ACEOF 2627 /* confdefs.h. */ 2628 _ACEOF 2629 cat confdefs.h >>conftest.$ac_ext 2630 cat >>conftest.$ac_ext <<_ACEOF 2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2631 2965 /* end confdefs.h. */ 2632 2966 #include <stdio.h> 2633 2967 int 2634 2968 main () 2635 2969 { 2970 FILE *f = fopen ("conftest.out", "w"); 2971 return ferror (f) || fclose (f) != 0; 2636 2972 2637 2973 ; … … 2639 2975 } 2640 2976 _ACEOF 2641 rm -f conftest.o conftest.obj 2642 if { (ac_try="$ac_compile" 2977 ac_clean_files="$ac_clean_files conftest.out" 2978 # Check that the compiler produces executables we can run. If not, either 2979 # the compiler is broken, or we cross compile. 2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2981 $as_echo_n "checking whether we are cross compiling... " >&6; } 2982 if test "$cross_compiling" != yes; then 2983 { { ac_try="$ac_link" 2643 2984 case "(($ac_try" in 2644 2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2645 2986 *) ac_try_echo=$ac_try;; 2646 2987 esac 2647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2648 $as_echo "$ac_try_echo") >&5 2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2989 $as_echo "$ac_try_echo"; } >&5 2990 (eval "$ac_link") 2>&5 2991 ac_status=$? 2992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2993 test $ac_status = 0; } 2994 if { ac_try='./conftest$ac_cv_exeext' 2995 { { case "(($ac_try" in 2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2997 *) ac_try_echo=$ac_try;; 2998 esac 2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3000 $as_echo "$ac_try_echo"; } >&5 3001 (eval "$ac_try") 2>&5 3002 ac_status=$? 3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3004 test $ac_status = 0; }; }; then 3005 cross_compiling=no 3006 else 3007 if test "$cross_compiling" = maybe; then 3008 cross_compiling=yes 3009 else 3010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3012 as_fn_error $? "cannot run C compiled programs. 3013 If you meant to cross compile, use \`--host'. 3014 See \`config.log' for more details" "$LINENO" 5; } 3015 fi 3016 fi 3017 fi 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3019 $as_echo "$cross_compiling" >&6; } 3020 3021 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3022 ac_clean_files=$ac_clean_files_save 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3024 $as_echo_n "checking for suffix of object files... " >&6; } 3025 if ${ac_cv_objext+:} false; then : 3026 $as_echo_n "(cached) " >&6 3027 else 3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3029 /* end confdefs.h. */ 3030 3031 int 3032 main () 3033 { 3034 3035 ; 3036 return 0; 3037 } 3038 _ACEOF 3039 rm -f conftest.o conftest.obj 3040 if { { ac_try="$ac_compile" 3041 case "(($ac_try" in 3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3043 *) ac_try_echo=$ac_try;; 3044 esac 3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3046 $as_echo "$ac_try_echo"; } >&5 2649 3047 (eval "$ac_compile") 2>&5 2650 3048 ac_status=$? 2651 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52652 (exit $ac_status); }; then3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3050 test $ac_status = 0; }; then : 2653 3051 for ac_file in conftest.o conftest.obj conftest.*; do 2654 3052 test -f "$ac_file" || continue; … … 2663 3061 sed 's/^/| /' conftest.$ac_ext >&5 2664 3062 2665 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2666 3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2667 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2668 See \`config.log' for more details." >&5 2669 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2670 See \`config.log' for more details." >&2;} 2671 { (exit 1); exit 1; }; }; } 2672 fi 2673 3065 as_fn_error $? "cannot compute suffix of object files: cannot compile 3066 See \`config.log' for more details" "$LINENO" 5; } 3067 fi 2674 3068 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2675 3069 fi 2676 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2677 3071 $as_echo "$ac_cv_objext" >&6; } 2678 3072 OBJEXT=$ac_cv_objext 2679 3073 ac_objext=$OBJEXT 2680 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2681 3075 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2682 if test "${ac_cv_c_compiler_gnu+set}" = set; then3076 if ${ac_cv_c_compiler_gnu+:} false; then : 2683 3077 $as_echo_n "(cached) " >&6 2684 3078 else 2685 cat >conftest.$ac_ext <<_ACEOF 2686 /* confdefs.h. */ 2687 _ACEOF 2688 cat confdefs.h >>conftest.$ac_ext 2689 cat >>conftest.$ac_ext <<_ACEOF 3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2690 3080 /* end confdefs.h. */ 2691 3081 … … 2701 3091 } 2702 3092 _ACEOF 2703 rm -f conftest.$ac_objext 2704 if { (ac_try="$ac_compile" 2705 case "(($ac_try" in 2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2707 *) ac_try_echo=$ac_try;; 2708 esac 2709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2710 $as_echo "$ac_try_echo") >&5 2711 (eval "$ac_compile") 2>conftest.er1 2712 ac_status=$? 2713 grep -v '^ *+' conftest.er1 >conftest.err 2714 rm -f conftest.er1 2715 cat conftest.err >&5 2716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2717 (exit $ac_status); } && { 2718 test -z "$ac_c_werror_flag" || 2719 test ! -s conftest.err 2720 } && test -s conftest.$ac_objext; then 3093 if ac_fn_c_try_compile "$LINENO"; then : 2721 3094 ac_compiler_gnu=yes 2722 3095 else 2723 $as_echo "$as_me: failed program was:" >&5 2724 sed 's/^/| /' conftest.$ac_ext >&5 2725 2726 ac_compiler_gnu=no 2727 fi 2728 3096 ac_compiler_gnu=no 3097 fi 2729 3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2730 3099 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2731 3100 2732 3101 fi 2733 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2734 3103 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2735 3104 if test $ac_compiler_gnu = yes; then … … 2740 3109 ac_test_CFLAGS=${CFLAGS+set} 2741 3110 ac_save_CFLAGS=$CFLAGS 2742 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2743 3112 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2744 if test "${ac_cv_prog_cc_g+set}" = set; then3113 if ${ac_cv_prog_cc_g+:} false; then : 2745 3114 $as_echo_n "(cached) " >&6 2746 3115 else … … 2749 3118 ac_cv_prog_cc_g=no 2750 3119 CFLAGS="-g" 2751 cat >conftest.$ac_ext <<_ACEOF 2752 /* confdefs.h. */ 2753 _ACEOF 2754 cat confdefs.h >>conftest.$ac_ext 2755 cat >>conftest.$ac_ext <<_ACEOF 3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2756 3121 /* end confdefs.h. */ 2757 3122 … … 2764 3129 } 2765 3130 _ACEOF 2766 rm -f conftest.$ac_objext 2767 if { (ac_try="$ac_compile" 2768 case "(($ac_try" in 2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2770 *) ac_try_echo=$ac_try;; 2771 esac 2772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2773 $as_echo "$ac_try_echo") >&5 2774 (eval "$ac_compile") 2>conftest.er1 2775 ac_status=$? 2776 grep -v '^ *+' conftest.er1 >conftest.err 2777 rm -f conftest.er1 2778 cat conftest.err >&5 2779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2780 (exit $ac_status); } && { 2781 test -z "$ac_c_werror_flag" || 2782 test ! -s conftest.err 2783 } && test -s conftest.$ac_objext; then 3131 if ac_fn_c_try_compile "$LINENO"; then : 2784 3132 ac_cv_prog_cc_g=yes 2785 3133 else 2786 $as_echo "$as_me: failed program was:" >&5 2787 sed 's/^/| /' conftest.$ac_ext >&5 2788 2789 CFLAGS="" 2790 cat >conftest.$ac_ext <<_ACEOF 2791 /* confdefs.h. */ 2792 _ACEOF 2793 cat confdefs.h >>conftest.$ac_ext 2794 cat >>conftest.$ac_ext <<_ACEOF 3134 CFLAGS="" 3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2795 3136 /* end confdefs.h. */ 2796 3137 … … 2803 3144 } 2804 3145 _ACEOF 2805 rm -f conftest.$ac_objext 2806 if { (ac_try="$ac_compile" 2807 case "(($ac_try" in 2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2809 *) ac_try_echo=$ac_try;; 2810 esac 2811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2812 $as_echo "$ac_try_echo") >&5 2813 (eval "$ac_compile") 2>conftest.er1 2814 ac_status=$? 2815 grep -v '^ *+' conftest.er1 >conftest.err 2816 rm -f conftest.er1 2817 cat conftest.err >&5 2818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2819 (exit $ac_status); } && { 2820 test -z "$ac_c_werror_flag" || 2821 test ! -s conftest.err 2822 } && test -s conftest.$ac_objext; then 2823 : 2824 else 2825 $as_echo "$as_me: failed program was:" >&5 2826 sed 's/^/| /' conftest.$ac_ext >&5 2827 2828 ac_c_werror_flag=$ac_save_c_werror_flag 3146 if ac_fn_c_try_compile "$LINENO"; then : 3147 3148 else 3149 ac_c_werror_flag=$ac_save_c_werror_flag 2829 3150 CFLAGS="-g" 2830 cat >conftest.$ac_ext <<_ACEOF 2831 /* confdefs.h. */ 2832 _ACEOF 2833 cat confdefs.h >>conftest.$ac_ext 2834 cat >>conftest.$ac_ext <<_ACEOF 3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2835 3152 /* end confdefs.h. */ 2836 3153 … … 2843 3160 } 2844 3161 _ACEOF 2845 rm -f conftest.$ac_objext 2846 if { (ac_try="$ac_compile" 2847 case "(($ac_try" in 2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2849 *) ac_try_echo=$ac_try;; 2850 esac 2851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2852 $as_echo "$ac_try_echo") >&5 2853 (eval "$ac_compile") 2>conftest.er1 2854 ac_status=$? 2855 grep -v '^ *+' conftest.er1 >conftest.err 2856 rm -f conftest.er1 2857 cat conftest.err >&5 2858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2859 (exit $ac_status); } && { 2860 test -z "$ac_c_werror_flag" || 2861 test ! -s conftest.err 2862 } && test -s conftest.$ac_objext; then 3162 if ac_fn_c_try_compile "$LINENO"; then : 2863 3163 ac_cv_prog_cc_g=yes 2864 else 2865 $as_echo "$as_me: failed program was:" >&5 2866 sed 's/^/| /' conftest.$ac_ext >&5 2867 2868 2869 fi 2870 3164 fi 2871 3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2872 3166 fi 2873 2874 3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2875 3168 fi 2876 2877 3169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2878 3170 ac_c_werror_flag=$ac_save_c_werror_flag 2879 3171 fi 2880 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2881 3173 $as_echo "$ac_cv_prog_cc_g" >&6; } 2882 3174 if test "$ac_test_CFLAGS" = set; then … … 2895 3187 fi 2896 3188 fi 2897 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2898 3190 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2899 if test "${ac_cv_prog_cc_c89+set}" = set; then3191 if ${ac_cv_prog_cc_c89+:} false; then : 2900 3192 $as_echo_n "(cached) " >&6 2901 3193 else 2902 3194 ac_cv_prog_cc_c89=no 2903 3195 ac_save_CC=$CC 2904 cat >conftest.$ac_ext <<_ACEOF 2905 /* confdefs.h. */ 2906 _ACEOF 2907 cat confdefs.h >>conftest.$ac_ext 2908 cat >>conftest.$ac_ext <<_ACEOF 3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2909 3197 /* end confdefs.h. */ 2910 3198 #include <stdarg.h> … … 2963 3251 do 2964 3252 CC="$ac_save_CC $ac_arg" 2965 rm -f conftest.$ac_objext 2966 if { (ac_try="$ac_compile" 2967 case "(($ac_try" in 2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2969 *) ac_try_echo=$ac_try;; 2970 esac 2971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2972 $as_echo "$ac_try_echo") >&5 2973 (eval "$ac_compile") 2>conftest.er1 2974 ac_status=$? 2975 grep -v '^ *+' conftest.er1 >conftest.err 2976 rm -f conftest.er1 2977 cat conftest.err >&5 2978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 (exit $ac_status); } && { 2980 test -z "$ac_c_werror_flag" || 2981 test ! -s conftest.err 2982 } && test -s conftest.$ac_objext; then 3253 if ac_fn_c_try_compile "$LINENO"; then : 2983 3254 ac_cv_prog_cc_c89=$ac_arg 2984 else 2985 $as_echo "$as_me: failed program was:" >&5 2986 sed 's/^/| /' conftest.$ac_ext >&5 2987 2988 2989 fi 2990 3255 fi 2991 3256 rm -f core conftest.err conftest.$ac_objext 2992 3257 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2999 3264 case "x$ac_cv_prog_cc_c89" in 3000 3265 x) 3001 { $as_echo "$as_me:$ LINENO: result: none needed" >&53266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3002 3267 $as_echo "none needed" >&6; } ;; 3003 3268 xno) 3004 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3005 3270 $as_echo "unsupported" >&6; } ;; 3006 3271 *) 3007 3272 CC="$CC $ac_cv_prog_cc_c89" 3008 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3009 3274 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3010 3275 esac 3011 3276 if test "x$ac_cv_prog_cc_c89" != xno; then : 3277 3278 fi 3012 3279 3013 3280 ac_ext=c … … 3031 3298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3032 3299 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3033 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3034 3301 $as_echo_n "checking for $ac_word... " >&6; } 3035 if test "${ac_cv_prog_CXX+set}" = set; then3302 if ${ac_cv_prog_CXX+:} false; then : 3036 3303 $as_echo_n "(cached) " >&6 3037 3304 else … … 3044 3311 IFS=$as_save_IFS 3045 3312 test -z "$as_dir" && as_dir=. 3046 for ac_exec_ext in '' $ac_executable_extensions; do3313 for ac_exec_ext in '' $ac_executable_extensions; do 3047 3314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3048 3315 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3049 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3050 3317 break 2 3051 3318 fi 3052 3319 done 3053 done3320 done 3054 3321 IFS=$as_save_IFS 3055 3322 … … 3058 3325 CXX=$ac_cv_prog_CXX 3059 3326 if test -n "$CXX"; then 3060 { $as_echo "$as_me:$ LINENO: result: $CXX" >&53327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3061 3328 $as_echo "$CXX" >&6; } 3062 3329 else 3063 { $as_echo "$as_me:$ LINENO: result: no" >&53330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3064 3331 $as_echo "no" >&6; } 3065 3332 fi … … 3075 3342 # Extract the first word of "$ac_prog", so it can be a program name with args. 3076 3343 set dummy $ac_prog; ac_word=$2 3077 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3078 3345 $as_echo_n "checking for $ac_word... " >&6; } 3079 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3346 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3080 3347 $as_echo_n "(cached) " >&6 3081 3348 else … … 3088 3355 IFS=$as_save_IFS 3089 3356 test -z "$as_dir" && as_dir=. 3090 for ac_exec_ext in '' $ac_executable_extensions; do3357 for ac_exec_ext in '' $ac_executable_extensions; do 3091 3358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3092 3359 ac_cv_prog_ac_ct_CXX="$ac_prog" 3093 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3094 3361 break 2 3095 3362 fi 3096 3363 done 3097 done3364 done 3098 3365 IFS=$as_save_IFS 3099 3366 … … 3102 3369 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3103 3370 if test -n "$ac_ct_CXX"; then 3104 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&53371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3105 3372 $as_echo "$ac_ct_CXX" >&6; } 3106 3373 else 3107 { $as_echo "$as_me:$ LINENO: result: no" >&53374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3108 3375 $as_echo "no" >&6; } 3109 3376 fi … … 3118 3385 case $cross_compiling:$ac_tool_warned in 3119 3386 yes:) 3120 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3121 3388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3122 3389 ac_tool_warned=yes ;; … … 3129 3396 fi 3130 3397 # Provide some information about the compiler. 3131 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&53398 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3132 3399 set X $ac_compile 3133 3400 ac_compiler=$2 3134 { (ac_try="$ac_compiler --version >&5" 3401 for ac_option in --version -v -V -qversion; do 3402 { { ac_try="$ac_compiler $ac_option >&5" 3135 3403 case "(($ac_try" in 3136 3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3137 3405 *) ac_try_echo=$ac_try;; 3138 3406 esac 3139 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3140 $as_echo "$ac_try_echo" )>&53141 (eval "$ac_compiler --version >&5") 2>&53407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3408 $as_echo "$ac_try_echo"; } >&5 3409 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3142 3410 ac_status=$? 3143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3144 (exit $ac_status); } 3145 { (ac_try="$ac_compiler -v >&5" 3146 case "(($ac_try" in 3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3148 *) ac_try_echo=$ac_try;; 3149 esac 3150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3151 $as_echo "$ac_try_echo") >&5 3152 (eval "$ac_compiler -v >&5") 2>&5 3153 ac_status=$? 3154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3155 (exit $ac_status); } 3156 { (ac_try="$ac_compiler -V >&5" 3157 case "(($ac_try" in 3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3159 *) ac_try_echo=$ac_try;; 3160 esac 3161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3162 $as_echo "$ac_try_echo") >&5 3163 (eval "$ac_compiler -V >&5") 2>&5 3164 ac_status=$? 3165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3166 (exit $ac_status); } 3167 3168 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3411 if test -s conftest.err; then 3412 sed '10a\ 3413 ... rest of stderr output deleted ... 3414 10q' conftest.err >conftest.er1 3415 cat conftest.er1 >&5 3416 fi 3417 rm -f conftest.er1 conftest.err 3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3419 test $ac_status = 0; } 3420 done 3421 3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3169 3423 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3170 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then3424 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3171 3425 $as_echo_n "(cached) " >&6 3172 3426 else 3173 cat >conftest.$ac_ext <<_ACEOF 3174 /* confdefs.h. */ 3175 _ACEOF 3176 cat confdefs.h >>conftest.$ac_ext 3177 cat >>conftest.$ac_ext <<_ACEOF 3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3178 3428 /* end confdefs.h. */ 3179 3429 … … 3189 3439 } 3190 3440 _ACEOF 3191 rm -f conftest.$ac_objext 3192 if { (ac_try="$ac_compile" 3193 case "(($ac_try" in 3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3195 *) ac_try_echo=$ac_try;; 3196 esac 3197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3198 $as_echo "$ac_try_echo") >&5 3199 (eval "$ac_compile") 2>conftest.er1 3200 ac_status=$? 3201 grep -v '^ *+' conftest.er1 >conftest.err 3202 rm -f conftest.er1 3203 cat conftest.err >&5 3204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3205 (exit $ac_status); } && { 3206 test -z "$ac_cxx_werror_flag" || 3207 test ! -s conftest.err 3208 } && test -s conftest.$ac_objext; then 3441 if ac_fn_cxx_try_compile "$LINENO"; then : 3209 3442 ac_compiler_gnu=yes 3210 3443 else 3211 $as_echo "$as_me: failed program was:" >&5 3212 sed 's/^/| /' conftest.$ac_ext >&5 3213 3214 ac_compiler_gnu=no 3215 fi 3216 3444 ac_compiler_gnu=no 3445 fi 3217 3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3218 3447 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3219 3448 3220 3449 fi 3221 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&53450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3222 3451 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3223 3452 if test $ac_compiler_gnu = yes; then … … 3228 3457 ac_test_CXXFLAGS=${CXXFLAGS+set} 3229 3458 ac_save_CXXFLAGS=$CXXFLAGS 3230 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&53459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3231 3460 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3232 if test "${ac_cv_prog_cxx_g+set}" = set; then3461 if ${ac_cv_prog_cxx_g+:} false; then : 3233 3462 $as_echo_n "(cached) " >&6 3234 3463 else … … 3237 3466 ac_cv_prog_cxx_g=no 3238 3467 CXXFLAGS="-g" 3239 cat >conftest.$ac_ext <<_ACEOF 3240 /* confdefs.h. */ 3241 _ACEOF 3242 cat confdefs.h >>conftest.$ac_ext 3243 cat >>conftest.$ac_ext <<_ACEOF 3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3244 3469 /* end confdefs.h. */ 3245 3470 … … 3252 3477 } 3253 3478 _ACEOF 3254 rm -f conftest.$ac_objext 3255 if { (ac_try="$ac_compile" 3256 case "(($ac_try" in 3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3258 *) ac_try_echo=$ac_try;; 3259 esac 3260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3261 $as_echo "$ac_try_echo") >&5 3262 (eval "$ac_compile") 2>conftest.er1 3263 ac_status=$? 3264 grep -v '^ *+' conftest.er1 >conftest.err 3265 rm -f conftest.er1 3266 cat conftest.err >&5 3267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3268 (exit $ac_status); } && { 3269 test -z "$ac_cxx_werror_flag" || 3270 test ! -s conftest.err 3271 } && test -s conftest.$ac_objext; then 3479 if ac_fn_cxx_try_compile "$LINENO"; then : 3272 3480 ac_cv_prog_cxx_g=yes 3273 3481 else 3274 $as_echo "$as_me: failed program was:" >&5 3275 sed 's/^/| /' conftest.$ac_ext >&5 3276 3277 CXXFLAGS="" 3278 cat >conftest.$ac_ext <<_ACEOF 3279 /* confdefs.h. */ 3280 _ACEOF 3281 cat confdefs.h >>conftest.$ac_ext 3282 cat >>conftest.$ac_ext <<_ACEOF 3482 CXXFLAGS="" 3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3283 3484 /* end confdefs.h. */ 3284 3485 … … 3291 3492 } 3292 3493 _ACEOF 3293 rm -f conftest.$ac_objext 3294 if { (ac_try="$ac_compile" 3295 case "(($ac_try" in 3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3297 *) ac_try_echo=$ac_try;; 3298 esac 3299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3300 $as_echo "$ac_try_echo") >&5 3301 (eval "$ac_compile") 2>conftest.er1 3302 ac_status=$? 3303 grep -v '^ *+' conftest.er1 >conftest.err 3304 rm -f conftest.er1 3305 cat conftest.err >&5 3306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3307 (exit $ac_status); } && { 3308 test -z "$ac_cxx_werror_flag" || 3309 test ! -s conftest.err 3310 } && test -s conftest.$ac_objext; then 3311 : 3312 else 3313 $as_echo "$as_me: failed program was:" >&5 3314 sed 's/^/| /' conftest.$ac_ext >&5 3315 3316 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3494 if ac_fn_cxx_try_compile "$LINENO"; then : 3495 3496 else 3497 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3317 3498 CXXFLAGS="-g" 3318 cat >conftest.$ac_ext <<_ACEOF 3319 /* confdefs.h. */ 3320 _ACEOF 3321 cat confdefs.h >>conftest.$ac_ext 3322 cat >>conftest.$ac_ext <<_ACEOF 3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3323 3500 /* end confdefs.h. */ 3324 3501 … … 3331 3508 } 3332 3509 _ACEOF 3333 rm -f conftest.$ac_objext 3334 if { (ac_try="$ac_compile" 3335 case "(($ac_try" in 3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3337 *) ac_try_echo=$ac_try;; 3338 esac 3339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3340 $as_echo "$ac_try_echo") >&5 3341 (eval "$ac_compile") 2>conftest.er1 3342 ac_status=$? 3343 grep -v '^ *+' conftest.er1 >conftest.err 3344 rm -f conftest.er1 3345 cat conftest.err >&5 3346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3347 (exit $ac_status); } && { 3348 test -z "$ac_cxx_werror_flag" || 3349 test ! -s conftest.err 3350 } && test -s conftest.$ac_objext; then 3510 if ac_fn_cxx_try_compile "$LINENO"; then : 3351 3511 ac_cv_prog_cxx_g=yes 3352 else 3353 $as_echo "$as_me: failed program was:" >&5 3354 sed 's/^/| /' conftest.$ac_ext >&5 3355 3356 3357 fi 3358 3512 fi 3359 3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3360 3514 fi 3361 3362 3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3363 3516 fi 3364 3365 3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3366 3518 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3367 3519 fi 3368 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&53520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3369 3521 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3370 3522 if test "$ac_test_CXXFLAGS" = set; then … … 3398 3550 # Extract the first word of "$ac_prog", so it can be a program name with args. 3399 3551 set dummy $ac_prog; ac_word=$2 3400 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3401 3553 $as_echo_n "checking for $ac_word... " >&6; } 3402 if test "${ac_cv_prog_JAVAC+set}" = set; then3554 if ${ac_cv_prog_JAVAC+:} false; then : 3403 3555 $as_echo_n "(cached) " >&6 3404 3556 else … … 3411 3563 IFS=$as_save_IFS 3412 3564 test -z "$as_dir" && as_dir=. 3413 for ac_exec_ext in '' $ac_executable_extensions; do3565 for ac_exec_ext in '' $ac_executable_extensions; do 3414 3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3415 3567 ac_cv_prog_JAVAC="$ac_prog" 3416 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3417 3569 break 2 3418 3570 fi 3419 3571 done 3420 done3572 done 3421 3573 IFS=$as_save_IFS 3422 3574 … … 3425 3577 JAVAC=$ac_cv_prog_JAVAC 3426 3578 if test -n "$JAVAC"; then 3427 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3428 3580 $as_echo "$JAVAC" >&6; } 3429 3581 else 3430 { $as_echo "$as_me:$ LINENO: result: no" >&53582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3431 3583 $as_echo "no" >&6; } 3432 3584 fi … … 3441 3593 # Extract the first word of "$ac_prog", so it can be a program name with args. 3442 3594 set dummy $ac_prog; ac_word=$2 3443 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3444 3596 $as_echo_n "checking for $ac_word... " >&6; } 3445 if test "${ac_cv_prog_JAVAC+set}" = set; then3597 if ${ac_cv_prog_JAVAC+:} false; then : 3446 3598 $as_echo_n "(cached) " >&6 3447 3599 else … … 3454 3606 IFS=$as_save_IFS 3455 3607 test -z "$as_dir" && as_dir=. 3456 for ac_exec_ext in '' $ac_executable_extensions; do3608 for ac_exec_ext in '' $ac_executable_extensions; do 3457 3609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3458 3610 ac_cv_prog_JAVAC="$ac_prog" 3459 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3460 3612 break 2 3461 3613 fi 3462 3614 done 3463 done3615 done 3464 3616 IFS=$as_save_IFS 3465 3617 … … 3468 3620 JAVAC=$ac_cv_prog_JAVAC 3469 3621 if test -n "$JAVAC"; then 3470 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3471 3623 $as_echo "$JAVAC" >&6; } 3472 3624 else 3473 { $as_echo "$as_me:$ LINENO: result: no" >&53625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3474 3626 $as_echo "no" >&6; } 3475 3627 fi … … 3481 3633 3482 3634 fi 3483 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3484 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3485 { (exit 1); exit 1; }; } 3635 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3486 3636 else 3487 3637 echo "Checking for javac... $JAVAC" … … 3490 3640 3491 3641 3492 { $as_echo "$as_me:$ LINENO: checking if $JAVAC works" >&53642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3493 3643 $as_echo_n "checking if $JAVAC works... " >&6; } 3494 if test "${ac_cv_prog_javac_works+set}" = set; then3644 if ${ac_cv_prog_javac_works+:} false; then : 3495 3645 $as_echo_n "(cached) " >&6 3496 3646 else … … 3499 3649 CLASS_TEST=Test.class 3500 3650 cat << \EOF > $JAVA_TEST 3501 /* #line 3 501 "configure" */3651 /* #line 3651 "configure" */ 3502 3652 public class Test { 3503 3653 } 3504 3654 EOF 3505 3655 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3506 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&53656 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3507 3657 (eval $ac_try) 2>&5 3508 3658 ac_status=$? 3509 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53510 (exit $ac_status); }; } >/dev/null 2>&1; then3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3660 test $ac_status = 0; }; } >/dev/null 2>&1; then 3511 3661 ac_cv_prog_javac_works=yes 3512 3662 else 3513 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3514 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3515 { (exit 1); exit 1; }; } 3663 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3516 3664 echo "configure: failed program was:" >&5 3517 3665 cat $JAVA_TEST >&5 … … 3520 3668 3521 3669 fi 3522 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_javac_works" >&53670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3523 3671 $as_echo "$ac_cv_prog_javac_works" >&6; } 3524 3672 if test "x$JAVACFLAGS" = x ; then … … 3535 3683 # Extract the first word of "$ac_prog", so it can be a program name with args. 3536 3684 set dummy $ac_prog; ac_word=$2 3537 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3538 3686 $as_echo_n "checking for $ac_word... " >&6; } 3539 if test "${ac_cv_prog_JAVA+set}" = set; then3687 if ${ac_cv_prog_JAVA+:} false; then : 3540 3688 $as_echo_n "(cached) " >&6 3541 3689 else … … 3548 3696 IFS=$as_save_IFS 3549 3697 test -z "$as_dir" && as_dir=. 3550 for ac_exec_ext in '' $ac_executable_extensions; do3698 for ac_exec_ext in '' $ac_executable_extensions; do 3551 3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3552 3700 ac_cv_prog_JAVA="$ac_prog" 3553 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3554 3702 break 2 3555 3703 fi 3556 3704 done 3557 done3705 done 3558 3706 IFS=$as_save_IFS 3559 3707 … … 3562 3710 JAVA=$ac_cv_prog_JAVA 3563 3711 if test -n "$JAVA"; then 3564 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&53712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3565 3713 $as_echo "$JAVA" >&6; } 3566 3714 else 3567 { $as_echo "$as_me:$ LINENO: result: no" >&53715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3568 3716 $as_echo "no" >&6; } 3569 3717 fi … … 3578 3726 # Extract the first word of "$ac_prog", so it can be a program name with args. 3579 3727 set dummy $ac_prog; ac_word=$2 3580 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3581 3729 $as_echo_n "checking for $ac_word... " >&6; } 3582 if test "${ac_cv_prog_JAVA+set}" = set; then3730 if ${ac_cv_prog_JAVA+:} false; then : 3583 3731 $as_echo_n "(cached) " >&6 3584 3732 else … … 3591 3739 IFS=$as_save_IFS 3592 3740 test -z "$as_dir" && as_dir=. 3593 for ac_exec_ext in '' $ac_executable_extensions; do3741 for ac_exec_ext in '' $ac_executable_extensions; do 3594 3742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3595 3743 ac_cv_prog_JAVA="$ac_prog" 3596 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3597 3745 break 2 3598 3746 fi 3599 3747 done 3600 done3748 done 3601 3749 IFS=$as_save_IFS 3602 3750 … … 3605 3753 JAVA=$ac_cv_prog_JAVA 3606 3754 if test -n "$JAVA"; then 3607 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&53755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3608 3756 $as_echo "$JAVA" >&6; } 3609 3757 else 3610 { $as_echo "$as_me:$ LINENO: result: no" >&53758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3611 3759 $as_echo "no" >&6; } 3612 3760 fi … … 3618 3766 3619 3767 fi 3620 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3621 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3622 { (exit 1); exit 1; }; } 3768 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3623 3769 fi 3624 3770 … … 3626 3772 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3627 3773 set dummy uudecode$EXEEXT; ac_word=$2 3628 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3629 3775 $as_echo_n "checking for $ac_word... " >&6; } 3630 if test "${ac_cv_prog_uudecode+set}" = set; then3776 if ${ac_cv_prog_uudecode+:} false; then : 3631 3777 $as_echo_n "(cached) " >&6 3632 3778 else … … 3639 3785 IFS=$as_save_IFS 3640 3786 test -z "$as_dir" && as_dir=. 3641 for ac_exec_ext in '' $ac_executable_extensions; do3787 for ac_exec_ext in '' $ac_executable_extensions; do 3642 3788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3643 3789 ac_cv_prog_uudecode="yes" 3644 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3645 3791 break 2 3646 3792 fi 3647 3793 done 3648 done3794 done 3649 3795 IFS=$as_save_IFS 3650 3796 … … 3653 3799 uudecode=$ac_cv_prog_uudecode 3654 3800 if test -n "$uudecode"; then 3655 { $as_echo "$as_me:$ LINENO: result: $uudecode" >&53801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 3656 3802 $as_echo "$uudecode" >&6; } 3657 3803 else 3658 { $as_echo "$as_me:$ LINENO: result: no" >&53804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3659 3805 $as_echo "no" >&6; } 3660 3806 fi … … 3662 3808 3663 3809 if test x$uudecode = xyes; then 3664 { $as_echo "$as_me:$ LINENO: checking if uudecode can decode base 64 file" >&53810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5 3665 3811 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3666 if test "${ac_cv_prog_uudecode_base64+set}" = set; then3812 if ${ac_cv_prog_uudecode_base64+:} false; then : 3667 3813 $as_echo_n "(cached) " >&6 3668 3814 else … … 3682 3828 ac_cv_prog_uudecode_base64=yes 3683 3829 else 3684 echo "configure: 3 684: uudecode had trouble decoding base 64 file 'Test.uue'" >&53830 echo "configure: 3830: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3685 3831 echo "configure: failed file was:" >&5 3686 3832 cat Test.uue >&5 … … 3689 3835 rm -f Test.uue 3690 3836 fi 3691 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_uudecode_base64" >&53837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5 3692 3838 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3693 3839 fi 3694 3840 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3695 3841 rm -f Test.class 3696 { $as_echo "$as_me:$ LINENO: WARNING: I have to compile Test.class from scratch" >&53842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5 3697 3843 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3698 3844 if test x$ac_cv_prog_javac_works = xno; then 3699 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3700 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3701 { (exit 1); exit 1; }; } 3845 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3702 3846 fi 3703 3847 if test x$ac_cv_prog_javac_works = x; then … … 3709 3853 # Extract the first word of "$ac_prog", so it can be a program name with args. 3710 3854 set dummy $ac_prog; ac_word=$2 3711 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3712 3856 $as_echo_n "checking for $ac_word... " >&6; } 3713 if test "${ac_cv_prog_JAVAC+set}" = set; then3857 if ${ac_cv_prog_JAVAC+:} false; then : 3714 3858 $as_echo_n "(cached) " >&6 3715 3859 else … … 3722 3866 IFS=$as_save_IFS 3723 3867 test -z "$as_dir" && as_dir=. 3724 for ac_exec_ext in '' $ac_executable_extensions; do3868 for ac_exec_ext in '' $ac_executable_extensions; do 3725 3869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3726 3870 ac_cv_prog_JAVAC="$ac_prog" 3727 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3728 3872 break 2 3729 3873 fi 3730 3874 done 3731 done3875 done 3732 3876 IFS=$as_save_IFS 3733 3877 … … 3736 3880 JAVAC=$ac_cv_prog_JAVAC 3737 3881 if test -n "$JAVAC"; then 3738 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3739 3883 $as_echo "$JAVAC" >&6; } 3740 3884 else 3741 { $as_echo "$as_me:$ LINENO: result: no" >&53885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3742 3886 $as_echo "no" >&6; } 3743 3887 fi … … 3752 3896 # Extract the first word of "$ac_prog", so it can be a program name with args. 3753 3897 set dummy $ac_prog; ac_word=$2 3754 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3755 3899 $as_echo_n "checking for $ac_word... " >&6; } 3756 if test "${ac_cv_prog_JAVAC+set}" = set; then3900 if ${ac_cv_prog_JAVAC+:} false; then : 3757 3901 $as_echo_n "(cached) " >&6 3758 3902 else … … 3765 3909 IFS=$as_save_IFS 3766 3910 test -z "$as_dir" && as_dir=. 3767 for ac_exec_ext in '' $ac_executable_extensions; do3911 for ac_exec_ext in '' $ac_executable_extensions; do 3768 3912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3769 3913 ac_cv_prog_JAVAC="$ac_prog" 3770 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3771 3915 break 2 3772 3916 fi 3773 3917 done 3774 done3918 done 3775 3919 IFS=$as_save_IFS 3776 3920 … … 3779 3923 JAVAC=$ac_cv_prog_JAVAC 3780 3924 if test -n "$JAVAC"; then 3781 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3782 3926 $as_echo "$JAVAC" >&6; } 3783 3927 else 3784 { $as_echo "$as_me:$ LINENO: result: no" >&53928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3785 3929 $as_echo "no" >&6; } 3786 3930 fi … … 3792 3936 3793 3937 fi 3794 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3795 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3796 { (exit 1); exit 1; }; } 3938 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3797 3939 else 3798 3940 echo "Checking for javac... $JAVAC" … … 3801 3943 3802 3944 3803 { $as_echo "$as_me:$ LINENO: checking if $JAVAC works" >&53945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3804 3946 $as_echo_n "checking if $JAVAC works... " >&6; } 3805 if test "${ac_cv_prog_javac_works+set}" = set; then3947 if ${ac_cv_prog_javac_works+:} false; then : 3806 3948 $as_echo_n "(cached) " >&6 3807 3949 else … … 3810 3952 CLASS_TEST=Test.class 3811 3953 cat << \EOF > $JAVA_TEST 3812 /* #line 3 812"configure" */3954 /* #line 3954 "configure" */ 3813 3955 public class Test { 3814 3956 } 3815 3957 EOF 3816 3958 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&53959 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3818 3960 (eval $ac_try) 2>&5 3819 3961 ac_status=$? 3820 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53821 (exit $ac_status); }; } >/dev/null 2>&1; then3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3963 test $ac_status = 0; }; } >/dev/null 2>&1; then 3822 3964 ac_cv_prog_javac_works=yes 3823 3965 else 3824 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3825 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3826 { (exit 1); exit 1; }; } 3966 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3827 3967 echo "configure: failed program was:" >&5 3828 3968 cat $JAVA_TEST >&5 … … 3831 3971 3832 3972 fi 3833 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_javac_works" >&53973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3834 3974 $as_echo "$ac_cv_prog_javac_works" >&6; } 3835 3975 if test "x$JAVACFLAGS" = x ; then … … 3841 3981 fi 3842 3982 fi 3843 { $as_echo "$as_me:$ LINENO: checking if $JAVA works" >&53983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5 3844 3984 $as_echo_n "checking if $JAVA works... " >&6; } 3845 if test "${ac_cv_prog_java_works+set}" = set; then3985 if ${ac_cv_prog_java_works+:} false; then : 3846 3986 $as_echo_n "(cached) " >&6 3847 3987 else … … 3851 3991 TEST=Test 3852 3992 cat << \EOF > $JAVA_TEST 3853 /* [#]line 3 853 "configure" */3993 /* [#]line 3993 "configure" */ 3854 3994 public class Test { 3855 3995 public static void main (String args[]) { … … 3859 3999 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3860 4000 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54001 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3862 4002 (eval $ac_try) 2>&5 3863 4003 ac_status=$? 3864 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53865 (exit $ac_status); }; } && test -s $CLASS_TEST; then4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4005 test $ac_status = 0; }; } && test -s $CLASS_TEST; then 3866 4006 : 3867 4007 else 3868 4008 echo "configure: failed program was:" >&5 3869 4009 cat $JAVA_TEST >&5 3870 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3871 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3872 { (exit 1); exit 1; }; } 4010 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3873 4011 fi 3874 4012 fi 3875 4013 if { ac_try='$JAVA $JAVAFLAGS $TEST' 3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54014 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3877 4015 (eval $ac_try) 2>&5 3878 4016 ac_status=$? 3879 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53880 (exit $ac_status); }; } >/dev/null 2>&1; then4017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4018 test $ac_status = 0; }; } >/dev/null 2>&1; then 3881 4019 ac_cv_prog_java_works=yes 3882 4020 else 3883 4021 echo "configure: failed program was:" >&5 3884 4022 cat $JAVA_TEST >&5 3885 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3886 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3887 { (exit 1); exit 1; }; } 4023 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3888 4024 fi 3889 4025 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 3890 4026 3891 4027 fi 3892 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_java_works" >&54028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5 3893 4029 $as_echo "$ac_cv_prog_java_works" >&6; } 3894 4030 … … 3900 4036 # Extract the first word of "$ac_prog", so it can be a program name with args. 3901 4037 set dummy $ac_prog; ac_word=$2 3902 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3903 4039 $as_echo_n "checking for $ac_word... " >&6; } 3904 if test "${ac_cv_prog_AWK+set}" = set; then4040 if ${ac_cv_prog_AWK+:} false; then : 3905 4041 $as_echo_n "(cached) " >&6 3906 4042 else … … 3913 4049 IFS=$as_save_IFS 3914 4050 test -z "$as_dir" && as_dir=. 3915 for ac_exec_ext in '' $ac_executable_extensions; do4051 for ac_exec_ext in '' $ac_executable_extensions; do 3916 4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3917 4053 ac_cv_prog_AWK="$ac_prog" 3918 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3919 4055 break 2 3920 4056 fi 3921 4057 done 3922 done4058 done 3923 4059 IFS=$as_save_IFS 3924 4060 … … 3927 4063 AWK=$ac_cv_prog_AWK 3928 4064 if test -n "$AWK"; then 3929 { $as_echo "$as_me:$ LINENO: result: $AWK" >&54065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3930 4066 $as_echo "$AWK" >&6; } 3931 4067 else 3932 { $as_echo "$as_me:$ LINENO: result: no" >&54068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3933 4069 $as_echo "no" >&6; } 3934 4070 fi … … 3942 4078 # Extract the first word of "$ac_prog", so it can be a program name with args. 3943 4079 set dummy $ac_prog; ac_word=$2 3944 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3945 4081 $as_echo_n "checking for $ac_word... " >&6; } 3946 if test "${ac_cv_prog_YACC+set}" = set; then4082 if ${ac_cv_prog_YACC+:} false; then : 3947 4083 $as_echo_n "(cached) " >&6 3948 4084 else … … 3955 4091 IFS=$as_save_IFS 3956 4092 test -z "$as_dir" && as_dir=. 3957 for ac_exec_ext in '' $ac_executable_extensions; do4093 for ac_exec_ext in '' $ac_executable_extensions; do 3958 4094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3959 4095 ac_cv_prog_YACC="$ac_prog" 3960 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3961 4097 break 2 3962 4098 fi 3963 4099 done 3964 done4100 done 3965 4101 IFS=$as_save_IFS 3966 4102 … … 3969 4105 YACC=$ac_cv_prog_YACC 3970 4106 if test -n "$YACC"; then 3971 { $as_echo "$as_me:$ LINENO: result: $YACC" >&54107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 3972 4108 $as_echo "$YACC" >&6; } 3973 4109 else 3974 { $as_echo "$as_me:$ LINENO: result: no" >&54110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3975 4111 $as_echo "no" >&6; } 3976 4112 fi … … 3998 4134 done 3999 4135 if test -z "$ac_aux_dir"; then 4000 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4001 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 4002 { (exit 1); exit 1; }; } 4136 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 4003 4137 fi 4004 4138 … … 4014 4148 # Make sure we can run config.sub. 4015 4149 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4016 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4017 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4018 { (exit 1); exit 1; }; } 4019 4020 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4150 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4151 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4021 4153 $as_echo_n "checking build system type... " >&6; } 4022 if test "${ac_cv_build+set}" = set; then4154 if ${ac_cv_build+:} false; then : 4023 4155 $as_echo_n "(cached) " >&6 4024 4156 else … … 4027 4159 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4028 4160 test "x$ac_build_alias" = x && 4029 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4030 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4031 { (exit 1); exit 1; }; } 4161 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4032 4162 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4033 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4034 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4035 { (exit 1); exit 1; }; } 4036 4037 fi 4038 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4163 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4164 4165 fi 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4039 4167 $as_echo "$ac_cv_build" >&6; } 4040 4168 case $ac_cv_build in 4041 4169 *-*-*) ;; 4042 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4043 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4044 { (exit 1); exit 1; }; };; 4170 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4045 4171 esac 4046 4172 build=$ac_cv_build … … 4058 4184 4059 4185 4060 { $as_echo "$as_me:$ LINENO: checking host system type" >&54186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4061 4187 $as_echo_n "checking host system type... " >&6; } 4062 if test "${ac_cv_host+set}" = set; then4188 if ${ac_cv_host+:} false; then : 4063 4189 $as_echo_n "(cached) " >&6 4064 4190 else … … 4067 4193 else 4068 4194 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4069 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4070 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4071 { (exit 1); exit 1; }; } 4072 fi 4073 4074 fi 4075 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4195 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4196 fi 4197 4198 fi 4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4076 4200 $as_echo "$ac_cv_host" >&6; } 4077 4201 case $ac_cv_host in 4078 4202 *-*-*) ;; 4079 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4080 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4081 { (exit 1); exit 1; }; };; 4203 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4082 4204 esac 4083 4205 host=$ac_cv_host … … 4095 4217 4096 4218 4097 { $as_echo "$as_me:$ LINENO: checking target system type" >&54219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 4098 4220 $as_echo_n "checking target system type... " >&6; } 4099 if test "${ac_cv_target+set}" = set; then4221 if ${ac_cv_target+:} false; then : 4100 4222 $as_echo_n "(cached) " >&6 4101 4223 else … … 4104 4226 else 4105 4227 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4106 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4107 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 4108 { (exit 1); exit 1; }; } 4109 fi 4110 4111 fi 4112 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4228 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4229 fi 4230 4231 fi 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4113 4233 $as_echo "$ac_cv_target" >&6; } 4114 4234 case $ac_cv_target in 4115 4235 *-*-*) ;; 4116 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4117 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4118 { (exit 1); exit 1; }; };; 4236 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 4119 4237 esac 4120 4238 target=$ac_cv_target … … 4138 4256 NONENONEs,x,x, && 4139 4257 program_prefix=${target_alias}- 4258 4140 4259 # Find a good install program. We prefer a C program (faster), 4141 4260 # so one script is as good as another. But avoid the broken or … … 4152 4271 # ./install, which can be erroneously created by make from ./install.sh. 4153 4272 # Reject install programs that cannot install multiple files. 4154 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4155 4274 $as_echo_n "checking for a BSD-compatible install... " >&6; } 4156 4275 if test -z "$INSTALL"; then 4157 if test "${ac_cv_path_install+set}" = set; then4276 if ${ac_cv_path_install+:} false; then : 4158 4277 $as_echo_n "(cached) " >&6 4159 4278 else … … 4163 4282 IFS=$as_save_IFS 4164 4283 test -z "$as_dir" && as_dir=. 4165 # Account for people who put trailing slashes in PATH elements.4166 case $as_dir/ in 4167 ./ | .// | / cC/* | \4284 # Account for people who put trailing slashes in PATH elements. 4285 case $as_dir/ in #(( 4286 ./ | .// | /[cC]/* | \ 4168 4287 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4169 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \4288 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 4170 4289 /usr/ucb/* ) ;; 4171 4290 *) … … 4204 4323 esac 4205 4324 4206 done4325 done 4207 4326 IFS=$as_save_IFS 4208 4327 … … 4220 4339 fi 4221 4340 fi 4222 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&54341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 4223 4342 $as_echo "$INSTALL" >&6; } 4224 4343 … … 4231 4350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4232 4351 4233 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&54352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4234 4353 $as_echo_n "checking whether ln -s works... " >&6; } 4235 4354 LN_S=$as_ln_s 4236 4355 if test "$LN_S" = "ln -s"; then 4237 { $as_echo "$as_me:$ LINENO: result: yes" >&54356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4238 4357 $as_echo "yes" >&6; } 4239 4358 else 4240 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&54359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4241 4360 $as_echo "no, using $LN_S" >&6; } 4242 4361 fi 4243 4362 4244 { $as_echo "$as_me:$ LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&54363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4245 4364 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4246 4365 set x ${MAKE-make} 4247 4366 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4248 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then4367 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4249 4368 $as_echo_n "(cached) " >&6 4250 4369 else … … 4254 4373 @echo '@@@%%%=$(MAKE)=@@@%%%' 4255 4374 _ACEOF 4256 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.4375 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4257 4376 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4258 4377 *@@@%%%=?*=@@@%%%*) … … 4264 4383 fi 4265 4384 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4266 { $as_echo "$as_me:$ LINENO: result: yes" >&54385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4267 4386 $as_echo "yes" >&6; } 4268 4387 SET_MAKE= 4269 4388 else 4270 { $as_echo "$as_me:$ LINENO: result: no" >&54389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4271 4390 $as_echo "no" >&6; } 4272 4391 SET_MAKE="MAKE=${MAKE-make}" … … 4276 4395 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4277 4396 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4278 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4279 4398 $as_echo_n "checking for $ac_word... " >&6; } 4280 if test "${ac_cv_prog_RANLIB+set}" = set; then4399 if ${ac_cv_prog_RANLIB+:} false; then : 4281 4400 $as_echo_n "(cached) " >&6 4282 4401 else … … 4289 4408 IFS=$as_save_IFS 4290 4409 test -z "$as_dir" && as_dir=. 4291 for ac_exec_ext in '' $ac_executable_extensions; do4410 for ac_exec_ext in '' $ac_executable_extensions; do 4292 4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4293 4412 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4294 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4295 4414 break 2 4296 4415 fi 4297 4416 done 4298 done4417 done 4299 4418 IFS=$as_save_IFS 4300 4419 … … 4303 4422 RANLIB=$ac_cv_prog_RANLIB 4304 4423 if test -n "$RANLIB"; then 4305 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&54424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4306 4425 $as_echo "$RANLIB" >&6; } 4307 4426 else 4308 { $as_echo "$as_me:$ LINENO: result: no" >&54427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4309 4428 $as_echo "no" >&6; } 4310 4429 fi … … 4316 4435 # Extract the first word of "ranlib", so it can be a program name with args. 4317 4436 set dummy ranlib; ac_word=$2 4318 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4319 4438 $as_echo_n "checking for $ac_word... " >&6; } 4320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then4439 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4321 4440 $as_echo_n "(cached) " >&6 4322 4441 else … … 4329 4448 IFS=$as_save_IFS 4330 4449 test -z "$as_dir" && as_dir=. 4331 for ac_exec_ext in '' $ac_executable_extensions; do4450 for ac_exec_ext in '' $ac_executable_extensions; do 4332 4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4333 4452 ac_cv_prog_ac_ct_RANLIB="ranlib" 4334 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4335 4454 break 2 4336 4455 fi 4337 4456 done 4338 done4457 done 4339 4458 IFS=$as_save_IFS 4340 4459 … … 4343 4462 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4344 4463 if test -n "$ac_ct_RANLIB"; then 4345 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&54464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4346 4465 $as_echo "$ac_ct_RANLIB" >&6; } 4347 4466 else 4348 { $as_echo "$as_me:$ LINENO: result: no" >&54467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4349 4468 $as_echo "no" >&6; } 4350 4469 fi … … 4355 4474 case $cross_compiling:$ac_tool_warned in 4356 4475 yes:) 4357 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&54476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4358 4477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4359 4478 ac_tool_warned=yes ;; … … 4366 4485 4367 4486 4368 { $as_echo "$as_me:$ LINENO: checking to see if architecture is 64-bit" >&54487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5 4369 4488 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 4370 4489 arch_64bit=no … … 4374 4493 4375 4494 if test "$arch_64bit" = yes; then 4376 { $as_echo "$as_me:$ LINENO: result: yes" >&54495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4377 4496 $as_echo "yes" >&6; } 4378 4497 if test -z "$ARCH_DEP_FLAGS" ; then … … 4380 4499 fi 4381 4500 else 4382 { $as_echo "$as_me:$ LINENO: result: no" >&54501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4383 4502 $as_echo "no" >&6; } 4384 4503 if test -z "$ARCH_DEP_FLAGS" ; then … … 4414 4533 #do test of MICO_VER 4415 4534 if test MICO_VER != 0; then 4416 cat >>confdefs.h <<\_ACEOF 4417 #define MICO_VER 1 4418 _ACEOF 4535 $as_echo "#define MICO_VER 1" >>confdefs.h 4419 4536 4420 4537 … … 4429 4546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4430 4547 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4431 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&54548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4432 4549 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4433 4550 # On Suns, sometimes $CPP names a directory. … … 4436 4553 fi 4437 4554 if test -z "$CPP"; then 4438 if test "${ac_cv_prog_CPP+set}" = set; then4555 if ${ac_cv_prog_CPP+:} false; then : 4439 4556 $as_echo_n "(cached) " >&6 4440 4557 else … … 4451 4568 # On the NeXT, cc -E runs the code through the compiler's parser, 4452 4569 # not just through cpp. "Syntax error" is here to catch this case. 4453 cat >conftest.$ac_ext <<_ACEOF 4454 /* confdefs.h. */ 4455 _ACEOF 4456 cat confdefs.h >>conftest.$ac_ext 4457 cat >>conftest.$ac_ext <<_ACEOF 4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4458 4571 /* end confdefs.h. */ 4459 4572 #ifdef __STDC__ … … 4464 4577 Syntax error 4465 4578 _ACEOF 4466 if { (ac_try="$ac_cpp conftest.$ac_ext" 4467 case "(($ac_try" in 4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4469 *) ac_try_echo=$ac_try;; 4470 esac 4471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4472 $as_echo "$ac_try_echo") >&5 4473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4474 ac_status=$? 4475 grep -v '^ *+' conftest.er1 >conftest.err 4476 rm -f conftest.er1 4477 cat conftest.err >&5 4478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4479 (exit $ac_status); } >/dev/null && { 4480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4481 test ! -s conftest.err 4482 }; then 4483 : 4484 else 4485 $as_echo "$as_me: failed program was:" >&5 4486 sed 's/^/| /' conftest.$ac_ext >&5 4487 4579 if ac_fn_c_try_cpp "$LINENO"; then : 4580 4581 else 4488 4582 # Broken: fails on valid input. 4489 4583 continue 4490 4584 fi 4491 4492 rm -f conftest.err conftest.$ac_ext 4585 rm -f conftest.err conftest.i conftest.$ac_ext 4493 4586 4494 4587 # OK, works on sane cases. Now check whether nonexistent headers 4495 4588 # can be detected and how. 4496 cat >conftest.$ac_ext <<_ACEOF 4497 /* confdefs.h. */ 4498 _ACEOF 4499 cat confdefs.h >>conftest.$ac_ext 4500 cat >>conftest.$ac_ext <<_ACEOF 4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4501 4590 /* end confdefs.h. */ 4502 4591 #include <ac_nonexistent.h> 4503 4592 _ACEOF 4504 if { (ac_try="$ac_cpp conftest.$ac_ext" 4505 case "(($ac_try" in 4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4507 *) ac_try_echo=$ac_try;; 4508 esac 4509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4510 $as_echo "$ac_try_echo") >&5 4511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4512 ac_status=$? 4513 grep -v '^ *+' conftest.er1 >conftest.err 4514 rm -f conftest.er1 4515 cat conftest.err >&5 4516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4517 (exit $ac_status); } >/dev/null && { 4518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4519 test ! -s conftest.err 4520 }; then 4593 if ac_fn_c_try_cpp "$LINENO"; then : 4521 4594 # Broken: success on invalid input. 4522 4595 continue 4523 4596 else 4524 $as_echo "$as_me: failed program was:" >&54525 sed 's/^/| /' conftest.$ac_ext >&54526 4527 4597 # Passes both tests. 4528 4598 ac_preproc_ok=: 4529 4599 break 4530 4600 fi 4531 4532 rm -f conftest.err conftest.$ac_ext 4601 rm -f conftest.err conftest.i conftest.$ac_ext 4533 4602 4534 4603 done 4535 4604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4536 rm -f conftest. err conftest.$ac_ext4537 if $ac_preproc_ok; then 4605 rm -f conftest.i conftest.err conftest.$ac_ext 4606 if $ac_preproc_ok; then : 4538 4607 break 4539 4608 fi … … 4547 4616 ac_cv_prog_CPP=$CPP 4548 4617 fi 4549 { $as_echo "$as_me:$ LINENO: result: $CPP" >&54618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4550 4619 $as_echo "$CPP" >&6; } 4551 4620 ac_preproc_ok=false … … 4558 4627 # On the NeXT, cc -E runs the code through the compiler's parser, 4559 4628 # not just through cpp. "Syntax error" is here to catch this case. 4560 cat >conftest.$ac_ext <<_ACEOF 4561 /* confdefs.h. */ 4562 _ACEOF 4563 cat confdefs.h >>conftest.$ac_ext 4564 cat >>conftest.$ac_ext <<_ACEOF 4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4565 4630 /* end confdefs.h. */ 4566 4631 #ifdef __STDC__ … … 4571 4636 Syntax error 4572 4637 _ACEOF 4573 if { (ac_try="$ac_cpp conftest.$ac_ext" 4574 case "(($ac_try" in 4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4576 *) ac_try_echo=$ac_try;; 4577 esac 4578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4579 $as_echo "$ac_try_echo") >&5 4580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4581 ac_status=$? 4582 grep -v '^ *+' conftest.er1 >conftest.err 4583 rm -f conftest.er1 4584 cat conftest.err >&5 4585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4586 (exit $ac_status); } >/dev/null && { 4587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4588 test ! -s conftest.err 4589 }; then 4590 : 4591 else 4592 $as_echo "$as_me: failed program was:" >&5 4593 sed 's/^/| /' conftest.$ac_ext >&5 4594 4638 if ac_fn_c_try_cpp "$LINENO"; then : 4639 4640 else 4595 4641 # Broken: fails on valid input. 4596 4642 continue 4597 4643 fi 4598 4599 rm -f conftest.err conftest.$ac_ext 4644 rm -f conftest.err conftest.i conftest.$ac_ext 4600 4645 4601 4646 # OK, works on sane cases. Now check whether nonexistent headers 4602 4647 # can be detected and how. 4603 cat >conftest.$ac_ext <<_ACEOF 4604 /* confdefs.h. */ 4605 _ACEOF 4606 cat confdefs.h >>conftest.$ac_ext 4607 cat >>conftest.$ac_ext <<_ACEOF 4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4608 4649 /* end confdefs.h. */ 4609 4650 #include <ac_nonexistent.h> 4610 4651 _ACEOF 4611 if { (ac_try="$ac_cpp conftest.$ac_ext" 4612 case "(($ac_try" in 4613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4614 *) ac_try_echo=$ac_try;; 4615 esac 4616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4617 $as_echo "$ac_try_echo") >&5 4618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4619 ac_status=$? 4620 grep -v '^ *+' conftest.er1 >conftest.err 4621 rm -f conftest.er1 4622 cat conftest.err >&5 4623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4624 (exit $ac_status); } >/dev/null && { 4625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4626 test ! -s conftest.err 4627 }; then 4652 if ac_fn_c_try_cpp "$LINENO"; then : 4628 4653 # Broken: success on invalid input. 4629 4654 continue 4630 4655 else 4631 $as_echo "$as_me: failed program was:" >&54632 sed 's/^/| /' conftest.$ac_ext >&54633 4634 4656 # Passes both tests. 4635 4657 ac_preproc_ok=: 4636 4658 break 4637 4659 fi 4638 4639 rm -f conftest.err conftest.$ac_ext 4660 rm -f conftest.err conftest.i conftest.$ac_ext 4640 4661 4641 4662 done 4642 4663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4643 rm -f conftest. err conftest.$ac_ext4644 if $ac_preproc_ok; then 4645 : 4646 else 4647 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54664 rm -f conftest.i conftest.err conftest.$ac_ext 4665 if $ac_preproc_ok; then : 4666 4667 else 4668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4648 4669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4649 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4650 See \`config.log' for more details." >&5 4651 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4652 See \`config.log' for more details." >&2;} 4653 { (exit 1); exit 1; }; }; } 4670 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4671 See \`config.log' for more details" "$LINENO" 5; } 4654 4672 fi 4655 4673 … … 4661 4679 4662 4680 4663 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&54681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4664 4682 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4665 if test "${ac_cv_path_GREP+set}" = set; then4683 if ${ac_cv_path_GREP+:} false; then : 4666 4684 $as_echo_n "(cached) " >&6 4667 4685 else … … 4674 4692 IFS=$as_save_IFS 4675 4693 test -z "$as_dir" && as_dir=. 4676 for ac_prog in grep ggrep; do4694 for ac_prog in grep ggrep; do 4677 4695 for ac_exec_ext in '' $ac_executable_extensions; do 4678 4696 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 4694 4712 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4695 4713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4696 a c_count=`expr $ac_count + 1`4714 as_fn_arith $ac_count + 1 && ac_count=$as_val 4697 4715 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4698 4716 # Best one so far, save it but keep looking for a better one … … 4709 4727 done 4710 4728 done 4711 done4729 done 4712 4730 IFS=$as_save_IFS 4713 4731 if test -z "$ac_cv_path_GREP"; then 4714 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4715 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4716 { (exit 1); exit 1; }; } 4732 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4717 4733 fi 4718 4734 else … … 4721 4737 4722 4738 fi 4723 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&54739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4724 4740 $as_echo "$ac_cv_path_GREP" >&6; } 4725 4741 GREP="$ac_cv_path_GREP" 4726 4742 4727 4743 4728 { $as_echo "$as_me:$ LINENO: checking for egrep" >&54744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4729 4745 $as_echo_n "checking for egrep... " >&6; } 4730 if test "${ac_cv_path_EGREP+set}" = set; then4746 if ${ac_cv_path_EGREP+:} false; then : 4731 4747 $as_echo_n "(cached) " >&6 4732 4748 else … … 4742 4758 IFS=$as_save_IFS 4743 4759 test -z "$as_dir" && as_dir=. 4744 for ac_prog in egrep; do4760 for ac_prog in egrep; do 4745 4761 for ac_exec_ext in '' $ac_executable_extensions; do 4746 4762 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 4762 4778 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4763 4779 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4764 a c_count=`expr $ac_count + 1`4780 as_fn_arith $ac_count + 1 && ac_count=$as_val 4765 4781 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4766 4782 # Best one so far, save it but keep looking for a better one … … 4777 4793 done 4778 4794 done 4779 done4795 done 4780 4796 IFS=$as_save_IFS 4781 4797 if test -z "$ac_cv_path_EGREP"; then 4782 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4783 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4784 { (exit 1); exit 1; }; } 4798 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4785 4799 fi 4786 4800 else … … 4790 4804 fi 4791 4805 fi 4792 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&54806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4793 4807 $as_echo "$ac_cv_path_EGREP" >&6; } 4794 4808 EGREP="$ac_cv_path_EGREP" 4795 4809 4796 4810 4797 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&54811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4798 4812 $as_echo_n "checking for ANSI C header files... " >&6; } 4799 if test "${ac_cv_header_stdc+set}" = set; then4813 if ${ac_cv_header_stdc+:} false; then : 4800 4814 $as_echo_n "(cached) " >&6 4801 4815 else 4802 cat >conftest.$ac_ext <<_ACEOF 4803 /* confdefs.h. */ 4804 _ACEOF 4805 cat confdefs.h >>conftest.$ac_ext 4806 cat >>conftest.$ac_ext <<_ACEOF 4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4807 4817 /* end confdefs.h. */ 4808 4818 #include <stdlib.h> … … 4819 4829 } 4820 4830 _ACEOF 4821 rm -f conftest.$ac_objext 4822 if { (ac_try="$ac_compile" 4823 case "(($ac_try" in 4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4825 *) ac_try_echo=$ac_try;; 4826 esac 4827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4828 $as_echo "$ac_try_echo") >&5 4829 (eval "$ac_compile") 2>conftest.er1 4830 ac_status=$? 4831 grep -v '^ *+' conftest.er1 >conftest.err 4832 rm -f conftest.er1 4833 cat conftest.err >&5 4834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4835 (exit $ac_status); } && { 4836 test -z "$ac_c_werror_flag" || 4837 test ! -s conftest.err 4838 } && test -s conftest.$ac_objext; then 4831 if ac_fn_c_try_compile "$LINENO"; then : 4839 4832 ac_cv_header_stdc=yes 4840 4833 else 4841 $as_echo "$as_me: failed program was:" >&5 4842 sed 's/^/| /' conftest.$ac_ext >&5 4843 4844 ac_cv_header_stdc=no 4845 fi 4846 4834 ac_cv_header_stdc=no 4835 fi 4847 4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4848 4837 4849 4838 if test $ac_cv_header_stdc = yes; then 4850 4839 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4851 cat >conftest.$ac_ext <<_ACEOF 4852 /* confdefs.h. */ 4853 _ACEOF 4854 cat confdefs.h >>conftest.$ac_ext 4855 cat >>conftest.$ac_ext <<_ACEOF 4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4856 4841 /* end confdefs.h. */ 4857 4842 #include <string.h> … … 4859 4844 _ACEOF 4860 4845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4861 $EGREP "memchr" >/dev/null 2>&1; then 4862 : 4846 $EGREP "memchr" >/dev/null 2>&1; then : 4847 4863 4848 else 4864 4849 ac_cv_header_stdc=no … … 4870 4855 if test $ac_cv_header_stdc = yes; then 4871 4856 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4872 cat >conftest.$ac_ext <<_ACEOF 4873 /* confdefs.h. */ 4874 _ACEOF 4875 cat confdefs.h >>conftest.$ac_ext 4876 cat >>conftest.$ac_ext <<_ACEOF 4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4877 4858 /* end confdefs.h. */ 4878 4859 #include <stdlib.h> … … 4880 4861 _ACEOF 4881 4862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4882 $EGREP "free" >/dev/null 2>&1; then 4883 : 4863 $EGREP "free" >/dev/null 2>&1; then : 4864 4884 4865 else 4885 4866 ac_cv_header_stdc=no … … 4891 4872 if test $ac_cv_header_stdc = yes; then 4892 4873 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4893 if test "$cross_compiling" = yes; then 4874 if test "$cross_compiling" = yes; then : 4894 4875 : 4895 4876 else 4896 cat >conftest.$ac_ext <<_ACEOF 4897 /* confdefs.h. */ 4898 _ACEOF 4899 cat confdefs.h >>conftest.$ac_ext 4900 cat >>conftest.$ac_ext <<_ACEOF 4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4901 4878 /* end confdefs.h. */ 4902 4879 #include <ctype.h> … … 4925 4902 } 4926 4903 _ACEOF 4927 rm -f conftest$ac_exeext 4928 if { (ac_try="$ac_link" 4929 case "(($ac_try" in 4930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4931 *) ac_try_echo=$ac_try;; 4932 esac 4933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4934 $as_echo "$ac_try_echo") >&5 4935 (eval "$ac_link") 2>&5 4936 ac_status=$? 4937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4939 { (case "(($ac_try" in 4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4941 *) ac_try_echo=$ac_try;; 4942 esac 4943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4944 $as_echo "$ac_try_echo") >&5 4945 (eval "$ac_try") 2>&5 4946 ac_status=$? 4947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 (exit $ac_status); }; }; then 4949 : 4950 else 4951 $as_echo "$as_me: program exited with status $ac_status" >&5 4952 $as_echo "$as_me: failed program was:" >&5 4953 sed 's/^/| /' conftest.$ac_ext >&5 4954 4955 ( exit $ac_status ) 4956 ac_cv_header_stdc=no 4957 fi 4958 rm -rf conftest.dSYM 4959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4960 fi 4961 4962 4963 fi 4964 fi 4965 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4904 if ac_fn_c_try_run "$LINENO"; then : 4905 4906 else 4907 ac_cv_header_stdc=no 4908 fi 4909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4910 conftest.$ac_objext conftest.beam conftest.$ac_ext 4911 fi 4912 4913 fi 4914 fi 4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4966 4916 $as_echo "$ac_cv_header_stdc" >&6; } 4967 4917 if test $ac_cv_header_stdc = yes; then 4968 4918 4969 cat >>confdefs.h <<\_ACEOF 4970 #define STDC_HEADERS 1 4971 _ACEOF 4919 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4972 4920 4973 4921 fi 4974 4922 4975 4923 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4924 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4986 4925 inttypes.h stdint.h unistd.h 4987 do 4988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4989 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4990 $as_echo_n "checking for $ac_header... " >&6; } 4991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4992 $as_echo_n "(cached) " >&6 4993 else 4994 cat >conftest.$ac_ext <<_ACEOF 4995 /* confdefs.h. */ 4996 _ACEOF 4997 cat confdefs.h >>conftest.$ac_ext 4998 cat >>conftest.$ac_ext <<_ACEOF 4999 /* end confdefs.h. */ 5000 $ac_includes_default 5001 5002 #include <$ac_header> 5003 _ACEOF 5004 rm -f conftest.$ac_objext 5005 if { (ac_try="$ac_compile" 5006 case "(($ac_try" in 5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5008 *) ac_try_echo=$ac_try;; 5009 esac 5010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5011 $as_echo "$ac_try_echo") >&5 5012 (eval "$ac_compile") 2>conftest.er1 5013 ac_status=$? 5014 grep -v '^ *+' conftest.er1 >conftest.err 5015 rm -f conftest.er1 5016 cat conftest.err >&5 5017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5018 (exit $ac_status); } && { 5019 test -z "$ac_c_werror_flag" || 5020 test ! -s conftest.err 5021 } && test -s conftest.$ac_objext; then 5022 eval "$as_ac_Header=yes" 5023 else 5024 $as_echo "$as_me: failed program was:" >&5 5025 sed 's/^/| /' conftest.$ac_ext >&5 5026 5027 eval "$as_ac_Header=no" 5028 fi 5029 5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5031 fi 5032 ac_res=`eval 'as_val=${'$as_ac_Header'} 5033 $as_echo "$as_val"'` 5034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5035 $as_echo "$ac_res" >&6; } 5036 as_val=`eval 'as_val=${'$as_ac_Header'} 5037 $as_echo "$as_val"'` 5038 if test "x$as_val" = x""yes; then 4926 do : 4927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4928 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4929 " 4930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5039 4931 cat >>confdefs.h <<_ACEOF 5040 4932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5047 4939 5048 4940 5049 if test "${ac_cv_header_minix_config_h+set}" = set; then 5050 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5051 $as_echo_n "checking for minix/config.h... " >&6; } 5052 if test "${ac_cv_header_minix_config_h+set}" = set; then 4941 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4942 if test "x$ac_cv_header_minix_config_h" = xyes; then : 4943 MINIX=yes 4944 else 4945 MINIX= 4946 fi 4947 4948 4949 if test "$MINIX" = yes; then 4950 4951 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4952 4953 4954 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4955 4956 4957 $as_echo "#define _MINIX 1" >>confdefs.h 4958 4959 fi 4960 4961 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4963 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4964 if ${ac_cv_safe_to_define___extensions__+:} false; then : 5053 4965 $as_echo_n "(cached) " >&6 5054 fi 5055 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5056 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5057 else 5058 # Is the header compilable? 5059 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5060 $as_echo_n "checking minix/config.h usability... " >&6; } 5061 cat >conftest.$ac_ext <<_ACEOF 5062 /* confdefs.h. */ 5063 _ACEOF 5064 cat confdefs.h >>conftest.$ac_ext 5065 cat >>conftest.$ac_ext <<_ACEOF 5066 /* end confdefs.h. */ 5067 $ac_includes_default 5068 #include <minix/config.h> 5069 _ACEOF 5070 rm -f conftest.$ac_objext 5071 if { (ac_try="$ac_compile" 5072 case "(($ac_try" in 5073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5074 *) ac_try_echo=$ac_try;; 5075 esac 5076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5077 $as_echo "$ac_try_echo") >&5 5078 (eval "$ac_compile") 2>conftest.er1 5079 ac_status=$? 5080 grep -v '^ *+' conftest.er1 >conftest.err 5081 rm -f conftest.er1 5082 cat conftest.err >&5 5083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5084 (exit $ac_status); } && { 5085 test -z "$ac_c_werror_flag" || 5086 test ! -s conftest.err 5087 } && test -s conftest.$ac_objext; then 5088 ac_header_compiler=yes 5089 else 5090 $as_echo "$as_me: failed program was:" >&5 5091 sed 's/^/| /' conftest.$ac_ext >&5 5092 5093 ac_header_compiler=no 5094 fi 5095 5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5097 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5098 $as_echo "$ac_header_compiler" >&6; } 5099 5100 # Is the header present? 5101 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5102 $as_echo_n "checking minix/config.h presence... " >&6; } 5103 cat >conftest.$ac_ext <<_ACEOF 5104 /* confdefs.h. */ 5105 _ACEOF 5106 cat confdefs.h >>conftest.$ac_ext 5107 cat >>conftest.$ac_ext <<_ACEOF 5108 /* end confdefs.h. */ 5109 #include <minix/config.h> 5110 _ACEOF 5111 if { (ac_try="$ac_cpp conftest.$ac_ext" 5112 case "(($ac_try" in 5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5114 *) ac_try_echo=$ac_try;; 5115 esac 5116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5117 $as_echo "$ac_try_echo") >&5 5118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5119 ac_status=$? 5120 grep -v '^ *+' conftest.er1 >conftest.err 5121 rm -f conftest.er1 5122 cat conftest.err >&5 5123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5124 (exit $ac_status); } >/dev/null && { 5125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5126 test ! -s conftest.err 5127 }; then 5128 ac_header_preproc=yes 5129 else 5130 $as_echo "$as_me: failed program was:" >&5 5131 sed 's/^/| /' conftest.$ac_ext >&5 5132 5133 ac_header_preproc=no 5134 fi 5135 5136 rm -f conftest.err conftest.$ac_ext 5137 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5138 $as_echo "$ac_header_preproc" >&6; } 5139 5140 # So? What about this header? 5141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5142 yes:no: ) 5143 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5144 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5145 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5146 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5147 ac_header_preproc=yes 5148 ;; 5149 no:yes:* ) 5150 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5151 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5152 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5153 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5154 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5155 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5156 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5157 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5158 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5159 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5160 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5161 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5162 5163 ;; 5164 esac 5165 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5166 $as_echo_n "checking for minix/config.h... " >&6; } 5167 if test "${ac_cv_header_minix_config_h+set}" = set; then 5168 $as_echo_n "(cached) " >&6 5169 else 5170 ac_cv_header_minix_config_h=$ac_header_preproc 5171 fi 5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5173 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5174 5175 fi 5176 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5177 MINIX=yes 5178 else 5179 MINIX= 5180 fi 5181 5182 5183 if test "$MINIX" = yes; then 5184 5185 cat >>confdefs.h <<\_ACEOF 5186 #define _POSIX_SOURCE 1 5187 _ACEOF 5188 5189 5190 cat >>confdefs.h <<\_ACEOF 5191 #define _POSIX_1_SOURCE 2 5192 _ACEOF 5193 5194 5195 cat >>confdefs.h <<\_ACEOF 5196 #define _MINIX 1 5197 _ACEOF 5198 5199 fi 5200 5201 5202 5203 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5204 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5205 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5206 $as_echo_n "(cached) " >&6 5207 else 5208 cat >conftest.$ac_ext <<_ACEOF 5209 /* confdefs.h. */ 5210 _ACEOF 5211 cat confdefs.h >>conftest.$ac_ext 5212 cat >>conftest.$ac_ext <<_ACEOF 4966 else 4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5213 4968 /* end confdefs.h. */ 5214 4969 … … 5223 4978 } 5224 4979 _ACEOF 5225 rm -f conftest.$ac_objext 5226 if { (ac_try="$ac_compile" 5227 case "(($ac_try" in 5228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5229 *) ac_try_echo=$ac_try;; 5230 esac 5231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5232 $as_echo "$ac_try_echo") >&5 5233 (eval "$ac_compile") 2>conftest.er1 5234 ac_status=$? 5235 grep -v '^ *+' conftest.er1 >conftest.err 5236 rm -f conftest.er1 5237 cat conftest.err >&5 5238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5239 (exit $ac_status); } && { 5240 test -z "$ac_c_werror_flag" || 5241 test ! -s conftest.err 5242 } && test -s conftest.$ac_objext; then 4980 if ac_fn_c_try_compile "$LINENO"; then : 5243 4981 ac_cv_safe_to_define___extensions__=yes 5244 4982 else 5245 $as_echo "$as_me: failed program was:" >&5 5246 sed 's/^/| /' conftest.$ac_ext >&5 5247 5248 ac_cv_safe_to_define___extensions__=no 5249 fi 5250 4983 ac_cv_safe_to_define___extensions__=no 4984 fi 5251 4985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5252 4986 fi 5253 { $as_echo "$as_me:$ LINENO: result: $ac_cv_safe_to_define___extensions__" >&54987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5254 4988 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5255 4989 test $ac_cv_safe_to_define___extensions__ = yes && 5256 cat >>confdefs.h <<\_ACEOF 5257 #define __EXTENSIONS__ 1 5258 _ACEOF 5259 5260 cat >>confdefs.h <<\_ACEOF 5261 #define _ALL_SOURCE 1 5262 _ACEOF 5263 5264 cat >>confdefs.h <<\_ACEOF 5265 #define _GNU_SOURCE 1 5266 _ACEOF 5267 5268 cat >>confdefs.h <<\_ACEOF 5269 #define _POSIX_PTHREAD_SEMANTICS 1 5270 _ACEOF 5271 5272 cat >>confdefs.h <<\_ACEOF 5273 #define _TANDEM_SOURCE 1 5274 _ACEOF 5275 5276 5277 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 4990 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4991 4992 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4993 4994 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4995 4996 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4997 4998 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4999 5000 5001 5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 5278 5003 $as_echo_n "checking for library containing strerror... " >&6; } 5279 if test "${ac_cv_search_strerror+set}" = set; then5004 if ${ac_cv_search_strerror+:} false; then : 5280 5005 $as_echo_n "(cached) " >&6 5281 5006 else 5282 5007 ac_func_search_save_LIBS=$LIBS 5283 cat >conftest.$ac_ext <<_ACEOF 5284 /* confdefs.h. */ 5285 _ACEOF 5286 cat confdefs.h >>conftest.$ac_ext 5287 cat >>conftest.$ac_ext <<_ACEOF 5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5288 5009 /* end confdefs.h. */ 5289 5010 … … 5310 5031 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5311 5032 fi 5312 rm -f conftest.$ac_objext conftest$ac_exeext 5313 if { (ac_try="$ac_link" 5314 case "(($ac_try" in 5315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5316 *) ac_try_echo=$ac_try;; 5317 esac 5318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5319 $as_echo "$ac_try_echo") >&5 5320 (eval "$ac_link") 2>conftest.er1 5321 ac_status=$? 5322 grep -v '^ *+' conftest.er1 >conftest.err 5323 rm -f conftest.er1 5324 cat conftest.err >&5 5325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5326 (exit $ac_status); } && { 5327 test -z "$ac_c_werror_flag" || 5328 test ! -s conftest.err 5329 } && test -s conftest$ac_exeext && { 5330 test "$cross_compiling" = yes || 5331 $as_test_x conftest$ac_exeext 5332 }; then 5033 if ac_fn_c_try_link "$LINENO"; then : 5333 5034 ac_cv_search_strerror=$ac_res 5334 else 5335 $as_echo "$as_me: failed program was:" >&5 5336 sed 's/^/| /' conftest.$ac_ext >&5 5337 5338 5339 fi 5340 5341 rm -rf conftest.dSYM 5342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5343 conftest$ac_exeext 5344 if test "${ac_cv_search_strerror+set}" = set; then 5035 fi 5036 rm -f core conftest.err conftest.$ac_objext \ 5037 conftest$ac_exeext 5038 if ${ac_cv_search_strerror+:} false; then : 5345 5039 break 5346 5040 fi 5347 5041 done 5348 if test "${ac_cv_search_strerror+set}" = set; then5349 : 5042 if ${ac_cv_search_strerror+:} false; then : 5043 5350 5044 else 5351 5045 ac_cv_search_strerror=no … … 5354 5048 LIBS=$ac_func_search_save_LIBS 5355 5049 fi 5356 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_strerror" >&55050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 5357 5051 $as_echo "$ac_cv_search_strerror" >&6; } 5358 5052 ac_res=$ac_cv_search_strerror 5359 if test "$ac_res" != no; then 5053 if test "$ac_res" != no; then : 5360 5054 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5361 5055 … … 5363 5057 5364 5058 5365 if test "${ac_cv_header_minix_config_h+set}" = set; then 5366 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5367 $as_echo_n "checking for minix/config.h... " >&6; } 5368 if test "${ac_cv_header_minix_config_h+set}" = set; then 5369 $as_echo_n "(cached) " >&6 5370 fi 5371 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5372 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5373 else 5374 # Is the header compilable? 5375 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5376 $as_echo_n "checking minix/config.h usability... " >&6; } 5377 cat >conftest.$ac_ext <<_ACEOF 5378 /* confdefs.h. */ 5379 _ACEOF 5380 cat confdefs.h >>conftest.$ac_ext 5381 cat >>conftest.$ac_ext <<_ACEOF 5382 /* end confdefs.h. */ 5383 $ac_includes_default 5384 #include <minix/config.h> 5385 _ACEOF 5386 rm -f conftest.$ac_objext 5387 if { (ac_try="$ac_compile" 5388 case "(($ac_try" in 5389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5390 *) ac_try_echo=$ac_try;; 5391 esac 5392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5393 $as_echo "$ac_try_echo") >&5 5394 (eval "$ac_compile") 2>conftest.er1 5395 ac_status=$? 5396 grep -v '^ *+' conftest.er1 >conftest.err 5397 rm -f conftest.er1 5398 cat conftest.err >&5 5399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 (exit $ac_status); } && { 5401 test -z "$ac_c_werror_flag" || 5402 test ! -s conftest.err 5403 } && test -s conftest.$ac_objext; then 5404 ac_header_compiler=yes 5405 else 5406 $as_echo "$as_me: failed program was:" >&5 5407 sed 's/^/| /' conftest.$ac_ext >&5 5408 5409 ac_header_compiler=no 5410 fi 5411 5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5413 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5414 $as_echo "$ac_header_compiler" >&6; } 5415 5416 # Is the header present? 5417 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5418 $as_echo_n "checking minix/config.h presence... " >&6; } 5419 cat >conftest.$ac_ext <<_ACEOF 5420 /* confdefs.h. */ 5421 _ACEOF 5422 cat confdefs.h >>conftest.$ac_ext 5423 cat >>conftest.$ac_ext <<_ACEOF 5424 /* end confdefs.h. */ 5425 #include <minix/config.h> 5426 _ACEOF 5427 if { (ac_try="$ac_cpp conftest.$ac_ext" 5428 case "(($ac_try" in 5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5430 *) ac_try_echo=$ac_try;; 5431 esac 5432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5433 $as_echo "$ac_try_echo") >&5 5434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5435 ac_status=$? 5436 grep -v '^ *+' conftest.er1 >conftest.err 5437 rm -f conftest.er1 5438 cat conftest.err >&5 5439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5440 (exit $ac_status); } >/dev/null && { 5441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5442 test ! -s conftest.err 5443 }; then 5444 ac_header_preproc=yes 5445 else 5446 $as_echo "$as_me: failed program was:" >&5 5447 sed 's/^/| /' conftest.$ac_ext >&5 5448 5449 ac_header_preproc=no 5450 fi 5451 5452 rm -f conftest.err conftest.$ac_ext 5453 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5454 $as_echo "$ac_header_preproc" >&6; } 5455 5456 # So? What about this header? 5457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5458 yes:no: ) 5459 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5460 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5461 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5462 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5463 ac_header_preproc=yes 5464 ;; 5465 no:yes:* ) 5466 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5467 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5468 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5469 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5470 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5471 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5472 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5473 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5474 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5475 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5476 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5477 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5478 5479 ;; 5480 esac 5481 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5482 $as_echo_n "checking for minix/config.h... " >&6; } 5483 if test "${ac_cv_header_minix_config_h+set}" = set; then 5484 $as_echo_n "(cached) " >&6 5485 else 5486 ac_cv_header_minix_config_h=$ac_header_preproc 5487 fi 5488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5489 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5490 5491 fi 5492 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5493 MINIX=yes 5494 else 5495 MINIX= 5496 fi 5497 5498 5499 if test "$MINIX" = yes; then 5500 5501 cat >>confdefs.h <<\_ACEOF 5502 #define _POSIX_SOURCE 1 5503 _ACEOF 5504 5505 5506 cat >>confdefs.h <<\_ACEOF 5507 #define _POSIX_1_SOURCE 2 5508 _ACEOF 5509 5510 5511 cat >>confdefs.h <<\_ACEOF 5512 #define _MINIX 1 5513 _ACEOF 5514 5515 fi 5516 5517 5518 5519 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5520 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5521 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5522 $as_echo_n "(cached) " >&6 5523 else 5524 cat >conftest.$ac_ext <<_ACEOF 5525 /* confdefs.h. */ 5526 _ACEOF 5527 cat confdefs.h >>conftest.$ac_ext 5528 cat >>conftest.$ac_ext <<_ACEOF 5529 /* end confdefs.h. */ 5530 5531 # define __EXTENSIONS__ 1 5532 $ac_includes_default 5533 int 5534 main () 5535 { 5536 5537 ; 5538 return 0; 5539 } 5540 _ACEOF 5541 rm -f conftest.$ac_objext 5542 if { (ac_try="$ac_compile" 5543 case "(($ac_try" in 5544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5545 *) ac_try_echo=$ac_try;; 5546 esac 5547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5548 $as_echo "$ac_try_echo") >&5 5549 (eval "$ac_compile") 2>conftest.er1 5550 ac_status=$? 5551 grep -v '^ *+' conftest.er1 >conftest.err 5552 rm -f conftest.er1 5553 cat conftest.err >&5 5554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5555 (exit $ac_status); } && { 5556 test -z "$ac_c_werror_flag" || 5557 test ! -s conftest.err 5558 } && test -s conftest.$ac_objext; then 5559 ac_cv_safe_to_define___extensions__=yes 5560 else 5561 $as_echo "$as_me: failed program was:" >&5 5562 sed 's/^/| /' conftest.$ac_ext >&5 5563 5564 ac_cv_safe_to_define___extensions__=no 5565 fi 5566 5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5568 fi 5569 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5570 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5571 test $ac_cv_safe_to_define___extensions__ = yes && 5572 cat >>confdefs.h <<\_ACEOF 5573 #define __EXTENSIONS__ 1 5574 _ACEOF 5575 5576 cat >>confdefs.h <<\_ACEOF 5577 #define _ALL_SOURCE 1 5578 _ACEOF 5579 5580 cat >>confdefs.h <<\_ACEOF 5581 #define _GNU_SOURCE 1 5582 _ACEOF 5583 5584 cat >>confdefs.h <<\_ACEOF 5585 #define _POSIX_PTHREAD_SEMANTICS 1 5586 _ACEOF 5587 5588 cat >>confdefs.h <<\_ACEOF 5589 #define _TANDEM_SOURCE 1 5590 _ACEOF 5591 5592 5593 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5594 5060 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 5595 if test "${ac_cv_prog_cc_stdc+set}" = set; then5061 if ${ac_cv_prog_cc_stdc+:} false; then : 5596 5062 $as_echo_n "(cached) " >&6 5597 5063 else … … 5607 5073 do 5608 5074 CFLAGS="$ac_save_CFLAGS $ac_arg" 5609 cat >conftest.$ac_ext <<_ACEOF 5610 /* confdefs.h. */ 5611 _ACEOF 5612 cat confdefs.h >>conftest.$ac_ext 5613 cat >>conftest.$ac_ext <<_ACEOF 5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5614 5076 /* end confdefs.h. */ 5615 5077 #if !defined(__STDC__) || __STDC__ != 1 … … 5627 5089 } 5628 5090 _ACEOF 5629 rm -f conftest.$ac_objext 5630 if { (ac_try="$ac_compile" 5631 case "(($ac_try" in 5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5633 *) ac_try_echo=$ac_try;; 5634 esac 5635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5636 $as_echo "$ac_try_echo") >&5 5637 (eval "$ac_compile") 2>conftest.er1 5638 ac_status=$? 5639 grep -v '^ *+' conftest.er1 >conftest.err 5640 rm -f conftest.er1 5641 cat conftest.err >&5 5642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5643 (exit $ac_status); } && { 5644 test -z "$ac_c_werror_flag" || 5645 test ! -s conftest.err 5646 } && test -s conftest.$ac_objext; then 5091 if ac_fn_c_try_compile "$LINENO"; then : 5647 5092 ac_cv_prog_cc_stdc="$ac_arg"; break 5648 else 5649 $as_echo "$as_me: failed program was:" >&5 5650 sed 's/^/| /' conftest.$ac_ext >&5 5651 5652 5653 fi 5654 5093 fi 5655 5094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5656 5095 done … … 5659 5098 fi 5660 5099 5661 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_stdc" >&55100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 5662 5101 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 5663 5102 case "x$ac_cv_prog_cc_stdc" in … … 5667 5106 5668 5107 5669 { $as_echo "$as_me:$ LINENO: checking for function prototypes" >&55108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 5670 5109 $as_echo_n "checking for function prototypes... " >&6; } 5671 5110 if test "$ac_cv_prog_cc_stdc" != no; then 5672 { $as_echo "$as_me:$ LINENO: result: yes" >&55111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5673 5112 $as_echo "yes" >&6; } 5674 cat >>confdefs.h <<\_ACEOF 5675 #define PROTOTYPES 1 5676 _ACEOF 5113 $as_echo "#define PROTOTYPES 1" >>confdefs.h 5677 5114 5678 5115 U= ANSI2KNR= 5679 5116 else 5680 { $as_echo "$as_me:$ LINENO: result: no" >&55117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5681 5118 $as_echo "no" >&6; } 5682 5119 U=_ ANSI2KNR=ansi2knr 5683 5120 fi 5684 5121 5685 { $as_echo "$as_me:$ LINENO: checking for an ANSI C-conforming const" >&55122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5686 5123 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5687 if test "${ac_cv_c_const+set}" = set; then5124 if ${ac_cv_c_const+:} false; then : 5688 5125 $as_echo_n "(cached) " >&6 5689 5126 else 5690 cat >conftest.$ac_ext <<_ACEOF 5691 /* confdefs.h. */ 5692 _ACEOF 5693 cat confdefs.h >>conftest.$ac_ext 5694 cat >>conftest.$ac_ext <<_ACEOF 5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5695 5128 /* end confdefs.h. */ 5696 5129 … … 5752 5185 } 5753 5186 _ACEOF 5754 rm -f conftest.$ac_objext 5755 if { (ac_try="$ac_compile" 5756 case "(($ac_try" in 5757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5758 *) ac_try_echo=$ac_try;; 5759 esac 5760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5761 $as_echo "$ac_try_echo") >&5 5762 (eval "$ac_compile") 2>conftest.er1 5763 ac_status=$? 5764 grep -v '^ *+' conftest.er1 >conftest.err 5765 rm -f conftest.er1 5766 cat conftest.err >&5 5767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5768 (exit $ac_status); } && { 5769 test -z "$ac_c_werror_flag" || 5770 test ! -s conftest.err 5771 } && test -s conftest.$ac_objext; then 5187 if ac_fn_c_try_compile "$LINENO"; then : 5772 5188 ac_cv_c_const=yes 5773 5189 else 5774 $as_echo "$as_me: failed program was:" >&5 5775 sed 's/^/| /' conftest.$ac_ext >&5 5776 5777 ac_cv_c_const=no 5778 fi 5779 5190 ac_cv_c_const=no 5191 fi 5780 5192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5781 5193 fi 5782 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_const" >&55194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5783 5195 $as_echo "$ac_cv_c_const" >&6; } 5784 5196 if test $ac_cv_c_const = no; then 5785 5197 5786 cat >>confdefs.h <<\_ACEOF 5787 #define const /**/ 5788 _ACEOF 5789 5790 fi 5791 5792 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5793 $as_echo_n "checking for off_t... " >&6; } 5794 if test "${ac_cv_type_off_t+set}" = set; then 5795 $as_echo_n "(cached) " >&6 5796 else 5797 ac_cv_type_off_t=no 5798 cat >conftest.$ac_ext <<_ACEOF 5799 /* confdefs.h. */ 5800 _ACEOF 5801 cat confdefs.h >>conftest.$ac_ext 5802 cat >>conftest.$ac_ext <<_ACEOF 5803 /* end confdefs.h. */ 5804 $ac_includes_default 5805 int 5806 main () 5807 { 5808 if (sizeof (off_t)) 5809 return 0; 5810 ; 5811 return 0; 5812 } 5813 _ACEOF 5814 rm -f conftest.$ac_objext 5815 if { (ac_try="$ac_compile" 5816 case "(($ac_try" in 5817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5818 *) ac_try_echo=$ac_try;; 5819 esac 5820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5821 $as_echo "$ac_try_echo") >&5 5822 (eval "$ac_compile") 2>conftest.er1 5823 ac_status=$? 5824 grep -v '^ *+' conftest.er1 >conftest.err 5825 rm -f conftest.er1 5826 cat conftest.err >&5 5827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5828 (exit $ac_status); } && { 5829 test -z "$ac_c_werror_flag" || 5830 test ! -s conftest.err 5831 } && test -s conftest.$ac_objext; then 5832 cat >conftest.$ac_ext <<_ACEOF 5833 /* confdefs.h. */ 5834 _ACEOF 5835 cat confdefs.h >>conftest.$ac_ext 5836 cat >>conftest.$ac_ext <<_ACEOF 5837 /* end confdefs.h. */ 5838 $ac_includes_default 5839 int 5840 main () 5841 { 5842 if (sizeof ((off_t))) 5843 return 0; 5844 ; 5845 return 0; 5846 } 5847 _ACEOF 5848 rm -f conftest.$ac_objext 5849 if { (ac_try="$ac_compile" 5850 case "(($ac_try" in 5851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5852 *) ac_try_echo=$ac_try;; 5853 esac 5854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5855 $as_echo "$ac_try_echo") >&5 5856 (eval "$ac_compile") 2>conftest.er1 5857 ac_status=$? 5858 grep -v '^ *+' conftest.er1 >conftest.err 5859 rm -f conftest.er1 5860 cat conftest.err >&5 5861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5862 (exit $ac_status); } && { 5863 test -z "$ac_c_werror_flag" || 5864 test ! -s conftest.err 5865 } && test -s conftest.$ac_objext; then 5866 : 5867 else 5868 $as_echo "$as_me: failed program was:" >&5 5869 sed 's/^/| /' conftest.$ac_ext >&5 5870 5871 ac_cv_type_off_t=yes 5872 fi 5873 5874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5875 else 5876 $as_echo "$as_me: failed program was:" >&5 5877 sed 's/^/| /' conftest.$ac_ext >&5 5878 5879 5880 fi 5881 5882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5883 fi 5884 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5885 $as_echo "$ac_cv_type_off_t" >&6; } 5886 if test "x$ac_cv_type_off_t" = x""yes; then 5887 : 5198 $as_echo "#define const /**/" >>confdefs.h 5199 5200 fi 5201 5202 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5203 if test "x$ac_cv_type_off_t" = xyes; then : 5204 5888 5205 else 5889 5206 … … 5894 5211 fi 5895 5212 5896 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5897 $as_echo_n "checking for size_t... " >&6; } 5898 if test "${ac_cv_type_size_t+set}" = set; then 5899 $as_echo_n "(cached) " >&6 5900 else 5901 ac_cv_type_size_t=no 5902 cat >conftest.$ac_ext <<_ACEOF 5903 /* confdefs.h. */ 5904 _ACEOF 5905 cat confdefs.h >>conftest.$ac_ext 5906 cat >>conftest.$ac_ext <<_ACEOF 5907 /* end confdefs.h. */ 5908 $ac_includes_default 5909 int 5910 main () 5911 { 5912 if (sizeof (size_t)) 5913 return 0; 5914 ; 5915 return 0; 5916 } 5917 _ACEOF 5918 rm -f conftest.$ac_objext 5919 if { (ac_try="$ac_compile" 5920 case "(($ac_try" in 5921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5922 *) ac_try_echo=$ac_try;; 5923 esac 5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5925 $as_echo "$ac_try_echo") >&5 5926 (eval "$ac_compile") 2>conftest.er1 5927 ac_status=$? 5928 grep -v '^ *+' conftest.er1 >conftest.err 5929 rm -f conftest.er1 5930 cat conftest.err >&5 5931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5932 (exit $ac_status); } && { 5933 test -z "$ac_c_werror_flag" || 5934 test ! -s conftest.err 5935 } && test -s conftest.$ac_objext; then 5936 cat >conftest.$ac_ext <<_ACEOF 5937 /* confdefs.h. */ 5938 _ACEOF 5939 cat confdefs.h >>conftest.$ac_ext 5940 cat >>conftest.$ac_ext <<_ACEOF 5941 /* end confdefs.h. */ 5942 $ac_includes_default 5943 int 5944 main () 5945 { 5946 if (sizeof ((size_t))) 5947 return 0; 5948 ; 5949 return 0; 5950 } 5951 _ACEOF 5952 rm -f conftest.$ac_objext 5953 if { (ac_try="$ac_compile" 5954 case "(($ac_try" in 5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5956 *) ac_try_echo=$ac_try;; 5957 esac 5958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5959 $as_echo "$ac_try_echo") >&5 5960 (eval "$ac_compile") 2>conftest.er1 5961 ac_status=$? 5962 grep -v '^ *+' conftest.er1 >conftest.err 5963 rm -f conftest.er1 5964 cat conftest.err >&5 5965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5966 (exit $ac_status); } && { 5967 test -z "$ac_c_werror_flag" || 5968 test ! -s conftest.err 5969 } && test -s conftest.$ac_objext; then 5970 : 5971 else 5972 $as_echo "$as_me: failed program was:" >&5 5973 sed 's/^/| /' conftest.$ac_ext >&5 5974 5975 ac_cv_type_size_t=yes 5976 fi 5977 5978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5979 else 5980 $as_echo "$as_me: failed program was:" >&5 5981 sed 's/^/| /' conftest.$ac_ext >&5 5982 5983 5984 fi 5985 5986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5987 fi 5988 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5989 $as_echo "$ac_cv_type_size_t" >&6; } 5990 if test "x$ac_cv_type_size_t" = x""yes; then 5991 : 5213 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5214 if test "x$ac_cv_type_size_t" = xyes; then : 5215 5992 5216 else 5993 5217 … … 5998 5222 fi 5999 5223 6000 { $as_echo "$as_me:$ LINENO: checking whether time.h and sys/time.h may both be included" >&55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 6001 5225 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6002 if test "${ac_cv_header_time+set}" = set; then5226 if ${ac_cv_header_time+:} false; then : 6003 5227 $as_echo_n "(cached) " >&6 6004 5228 else 6005 cat >conftest.$ac_ext <<_ACEOF 6006 /* confdefs.h. */ 6007 _ACEOF 6008 cat confdefs.h >>conftest.$ac_ext 6009 cat >>conftest.$ac_ext <<_ACEOF 5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6010 5230 /* end confdefs.h. */ 6011 5231 #include <sys/types.h> … … 6022 5242 } 6023 5243 _ACEOF 6024 rm -f conftest.$ac_objext 6025 if { (ac_try="$ac_compile" 6026 case "(($ac_try" in 6027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6028 *) ac_try_echo=$ac_try;; 6029 esac 6030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6031 $as_echo "$ac_try_echo") >&5 6032 (eval "$ac_compile") 2>conftest.er1 6033 ac_status=$? 6034 grep -v '^ *+' conftest.er1 >conftest.err 6035 rm -f conftest.er1 6036 cat conftest.err >&5 6037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6038 (exit $ac_status); } && { 6039 test -z "$ac_c_werror_flag" || 6040 test ! -s conftest.err 6041 } && test -s conftest.$ac_objext; then 5244 if ac_fn_c_try_compile "$LINENO"; then : 6042 5245 ac_cv_header_time=yes 6043 5246 else 6044 $as_echo "$as_me: failed program was:" >&5 6045 sed 's/^/| /' conftest.$ac_ext >&5 6046 6047 ac_cv_header_time=no 6048 fi 6049 5247 ac_cv_header_time=no 5248 fi 6050 5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6051 5250 fi 6052 { $as_echo "$as_me:$ LINENO: result: $ac_cv_header_time" >&55251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 6053 5252 $as_echo "$ac_cv_header_time" >&6; } 6054 5253 if test $ac_cv_header_time = yes; then 6055 5254 6056 cat >>confdefs.h <<\_ACEOF 6057 #define TIME_WITH_SYS_TIME 1 6058 _ACEOF 6059 6060 fi 6061 6062 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5255 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5256 5257 fi 5258 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6063 5260 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6064 if test "${ac_cv_struct_tm+set}" = set; then5261 if ${ac_cv_struct_tm+:} false; then : 6065 5262 $as_echo_n "(cached) " >&6 6066 5263 else 6067 cat >conftest.$ac_ext <<_ACEOF 6068 /* confdefs.h. */ 6069 _ACEOF 6070 cat confdefs.h >>conftest.$ac_ext 6071 cat >>conftest.$ac_ext <<_ACEOF 5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6072 5265 /* end confdefs.h. */ 6073 5266 #include <sys/types.h> … … 6084 5277 } 6085 5278 _ACEOF 6086 rm -f conftest.$ac_objext 6087 if { (ac_try="$ac_compile" 6088 case "(($ac_try" in 6089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6090 *) ac_try_echo=$ac_try;; 6091 esac 6092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6093 $as_echo "$ac_try_echo") >&5 6094 (eval "$ac_compile") 2>conftest.er1 6095 ac_status=$? 6096 grep -v '^ *+' conftest.er1 >conftest.err 6097 rm -f conftest.er1 6098 cat conftest.err >&5 6099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6100 (exit $ac_status); } && { 6101 test -z "$ac_c_werror_flag" || 6102 test ! -s conftest.err 6103 } && test -s conftest.$ac_objext; then 5279 if ac_fn_c_try_compile "$LINENO"; then : 6104 5280 ac_cv_struct_tm=time.h 6105 5281 else 6106 $as_echo "$as_me: failed program was:" >&5 6107 sed 's/^/| /' conftest.$ac_ext >&5 6108 6109 ac_cv_struct_tm=sys/time.h 6110 fi 6111 5282 ac_cv_struct_tm=sys/time.h 5283 fi 6112 5284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6113 5285 fi 6114 { $as_echo "$as_me:$ LINENO: result: $ac_cv_struct_tm" >&55286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 6115 5287 $as_echo "$ac_cv_struct_tm" >&6; } 6116 5288 if test $ac_cv_struct_tm = sys/time.h; then 6117 5289 6118 cat >>confdefs.h <<\_ACEOF 6119 #define TM_IN_SYS_TIME 1 6120 _ACEOF 5290 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 6121 5291 6122 5292 fi … … 6124 5294 6125 5295 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 6126 cat >conftest.$ac_ext <<_ACEOF 6127 /* confdefs.h. */ 6128 _ACEOF 6129 cat confdefs.h >>conftest.$ac_ext 6130 cat >>conftest.$ac_ext <<_ACEOF 5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6131 5297 /* end confdefs.h. */ 6132 5298 #include <stdio.h> … … 6140 5306 } 6141 5307 _ACEOF 6142 rm -f conftest.$ac_objext 6143 if { (ac_try="$ac_compile" 6144 case "(($ac_try" in 6145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6146 *) ac_try_echo=$ac_try;; 6147 esac 6148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6149 $as_echo "$ac_try_echo") >&5 6150 (eval "$ac_compile") 2>conftest.er1 6151 ac_status=$? 6152 grep -v '^ *+' conftest.er1 >conftest.err 6153 rm -f conftest.er1 6154 cat conftest.err >&5 6155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6156 (exit $ac_status); } && { 6157 test -z "$ac_c_werror_flag" || 6158 test ! -s conftest.err 6159 } && test -s conftest.$ac_objext; then 6160 : 6161 else 6162 $as_echo "$as_me: failed program was:" >&5 6163 sed 's/^/| /' conftest.$ac_ext >&5 6164 6165 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6166 fi 6167 5308 if ac_fn_c_try_compile "$LINENO"; then : 5309 5310 else 5311 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5312 fi 6168 5313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6169 5314 fi 6170 5315 6171 5316 6172 6173 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 6174 5318 $as_echo_n "checking for main in -lg... " >&6; } 6175 if test "${ac_cv_lib_g_main+set}" = set; then5319 if ${ac_cv_lib_g_main+:} false; then : 6176 5320 $as_echo_n "(cached) " >&6 6177 5321 else 6178 5322 ac_check_lib_save_LIBS=$LIBS 6179 5323 LIBS="-lg $LIBS" 6180 cat >conftest.$ac_ext <<_ACEOF 6181 /* confdefs.h. */ 6182 _ACEOF 6183 cat confdefs.h >>conftest.$ac_ext 6184 cat >>conftest.$ac_ext <<_ACEOF 5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6185 5325 /* end confdefs.h. */ 6186 5326 … … 6194 5334 } 6195 5335 _ACEOF 6196 rm -f conftest.$ac_objext conftest$ac_exeext 6197 if { (ac_try="$ac_link" 6198 case "(($ac_try" in 6199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6200 *) ac_try_echo=$ac_try;; 6201 esac 6202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6203 $as_echo "$ac_try_echo") >&5 6204 (eval "$ac_link") 2>conftest.er1 6205 ac_status=$? 6206 grep -v '^ *+' conftest.er1 >conftest.err 6207 rm -f conftest.er1 6208 cat conftest.err >&5 6209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6210 (exit $ac_status); } && { 6211 test -z "$ac_c_werror_flag" || 6212 test ! -s conftest.err 6213 } && test -s conftest$ac_exeext && { 6214 test "$cross_compiling" = yes || 6215 $as_test_x conftest$ac_exeext 6216 }; then 5336 if ac_fn_c_try_link "$LINENO"; then : 6217 5337 ac_cv_lib_g_main=yes 6218 5338 else 6219 $as_echo "$as_me: failed program was:" >&5 6220 sed 's/^/| /' conftest.$ac_ext >&5 6221 6222 ac_cv_lib_g_main=no 6223 fi 6224 6225 rm -rf conftest.dSYM 6226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6227 conftest$ac_exeext conftest.$ac_ext 5339 ac_cv_lib_g_main=no 5340 fi 5341 rm -f core conftest.err conftest.$ac_objext \ 5342 conftest$ac_exeext conftest.$ac_ext 6228 5343 LIBS=$ac_check_lib_save_LIBS 6229 5344 fi 6230 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_g_main" >&55345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5 6231 5346 $as_echo "$ac_cv_lib_g_main" >&6; } 6232 if test "x$ac_cv_lib_g_main" = x ""yes; then5347 if test "x$ac_cv_lib_g_main" = xyes; then : 6233 5348 cat >>confdefs.h <<_ACEOF 6234 5349 #define HAVE_LIBG 1 … … 6240 5355 ac_cv_lib_g=ac_cv_lib_g_main 6241 5356 6242 6243 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 6244 5358 $as_echo_n "checking for main in -lm... " >&6; } 6245 if test "${ac_cv_lib_m_main+set}" = set; then5359 if ${ac_cv_lib_m_main+:} false; then : 6246 5360 $as_echo_n "(cached) " >&6 6247 5361 else 6248 5362 ac_check_lib_save_LIBS=$LIBS 6249 5363 LIBS="-lm $LIBS" 6250 cat >conftest.$ac_ext <<_ACEOF 6251 /* confdefs.h. */ 6252 _ACEOF 6253 cat confdefs.h >>conftest.$ac_ext 6254 cat >>conftest.$ac_ext <<_ACEOF 5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6255 5365 /* end confdefs.h. */ 6256 5366 … … 6264 5374 } 6265 5375 _ACEOF 6266 rm -f conftest.$ac_objext conftest$ac_exeext 6267 if { (ac_try="$ac_link" 6268 case "(($ac_try" in 6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6270 *) ac_try_echo=$ac_try;; 6271 esac 6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6273 $as_echo "$ac_try_echo") >&5 6274 (eval "$ac_link") 2>conftest.er1 6275 ac_status=$? 6276 grep -v '^ *+' conftest.er1 >conftest.err 6277 rm -f conftest.er1 6278 cat conftest.err >&5 6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 (exit $ac_status); } && { 6281 test -z "$ac_c_werror_flag" || 6282 test ! -s conftest.err 6283 } && test -s conftest$ac_exeext && { 6284 test "$cross_compiling" = yes || 6285 $as_test_x conftest$ac_exeext 6286 }; then 5376 if ac_fn_c_try_link "$LINENO"; then : 6287 5377 ac_cv_lib_m_main=yes 6288 5378 else 6289 $as_echo "$as_me: failed program was:" >&5 6290 sed 's/^/| /' conftest.$ac_ext >&5 6291 6292 ac_cv_lib_m_main=no 6293 fi 6294 6295 rm -rf conftest.dSYM 6296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6297 conftest$ac_exeext conftest.$ac_ext 5379 ac_cv_lib_m_main=no 5380 fi 5381 rm -f core conftest.err conftest.$ac_objext \ 5382 conftest$ac_exeext conftest.$ac_ext 6298 5383 LIBS=$ac_check_lib_save_LIBS 6299 5384 fi 6300 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_m_main" >&55385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 6301 5386 $as_echo "$ac_cv_lib_m_main" >&6; } 6302 if test "x$ac_cv_lib_m_main" = x ""yes; then5387 if test "x$ac_cv_lib_m_main" = xyes; then : 6303 5388 cat >>confdefs.h <<_ACEOF 6304 5389 #define HAVE_LIBM 1 … … 6310 5395 ac_cv_lib_m=ac_cv_lib_m_main 6311 5396 6312 6313 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 6314 5398 $as_echo_n "checking for main in -lcrypt... " >&6; } 6315 if test "${ac_cv_lib_crypt_main+set}" = set; then5399 if ${ac_cv_lib_crypt_main+:} false; then : 6316 5400 $as_echo_n "(cached) " >&6 6317 5401 else 6318 5402 ac_check_lib_save_LIBS=$LIBS 6319 5403 LIBS="-lcrypt $LIBS" 6320 cat >conftest.$ac_ext <<_ACEOF 6321 /* confdefs.h. */ 6322 _ACEOF 6323 cat confdefs.h >>conftest.$ac_ext 6324 cat >>conftest.$ac_ext <<_ACEOF 5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6325 5405 /* end confdefs.h. */ 6326 5406 … … 6334 5414 } 6335 5415 _ACEOF 6336 rm -f conftest.$ac_objext conftest$ac_exeext 6337 if { (ac_try="$ac_link" 6338 case "(($ac_try" in 6339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6340 *) ac_try_echo=$ac_try;; 6341 esac 6342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6343 $as_echo "$ac_try_echo") >&5 6344 (eval "$ac_link") 2>conftest.er1 6345 ac_status=$? 6346 grep -v '^ *+' conftest.er1 >conftest.err 6347 rm -f conftest.er1 6348 cat conftest.err >&5 6349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); } && { 6351 test -z "$ac_c_werror_flag" || 6352 test ! -s conftest.err 6353 } && test -s conftest$ac_exeext && { 6354 test "$cross_compiling" = yes || 6355 $as_test_x conftest$ac_exeext 6356 }; then 5416 if ac_fn_c_try_link "$LINENO"; then : 6357 5417 ac_cv_lib_crypt_main=yes 6358 5418 else 6359 $as_echo "$as_me: failed program was:" >&5 6360 sed 's/^/| /' conftest.$ac_ext >&5 6361 6362 ac_cv_lib_crypt_main=no 6363 fi 6364 6365 rm -rf conftest.dSYM 6366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6367 conftest$ac_exeext conftest.$ac_ext 5419 ac_cv_lib_crypt_main=no 5420 fi 5421 rm -f core conftest.err conftest.$ac_objext \ 5422 conftest$ac_exeext conftest.$ac_ext 6368 5423 LIBS=$ac_check_lib_save_LIBS 6369 5424 fi 6370 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_crypt_main" >&55425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5 6371 5426 $as_echo "$ac_cv_lib_crypt_main" >&6; } 6372 if test "x$ac_cv_lib_crypt_main" = x ""yes; then5427 if test "x$ac_cv_lib_crypt_main" = xyes; then : 6373 5428 cat >>confdefs.h <<_ACEOF 6374 5429 #define HAVE_LIBCRYPT 1 … … 6381 5436 6382 5437 if test $ENABLE_ACCENTFOLD = 1; then 6383 6384 { $as_echo "$as_me:$LINENO: checking for main in -liconv" >&5 5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5 6385 5439 $as_echo_n "checking for main in -liconv... " >&6; } 6386 if test "${ac_cv_lib_iconv_main+set}" = set; then5440 if ${ac_cv_lib_iconv_main+:} false; then : 6387 5441 $as_echo_n "(cached) " >&6 6388 5442 else 6389 5443 ac_check_lib_save_LIBS=$LIBS 6390 5444 LIBS="-liconv $LIBS" 6391 cat >conftest.$ac_ext <<_ACEOF 6392 /* confdefs.h. */ 6393 _ACEOF 6394 cat confdefs.h >>conftest.$ac_ext 6395 cat >>conftest.$ac_ext <<_ACEOF 5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6396 5446 /* end confdefs.h. */ 6397 5447 … … 6405 5455 } 6406 5456 _ACEOF 6407 rm -f conftest.$ac_objext conftest$ac_exeext 6408 if { (ac_try="$ac_link" 6409 case "(($ac_try" in 6410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6411 *) ac_try_echo=$ac_try;; 6412 esac 6413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6414 $as_echo "$ac_try_echo") >&5 6415 (eval "$ac_link") 2>conftest.er1 6416 ac_status=$? 6417 grep -v '^ *+' conftest.er1 >conftest.err 6418 rm -f conftest.er1 6419 cat conftest.err >&5 6420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); } && { 6422 test -z "$ac_c_werror_flag" || 6423 test ! -s conftest.err 6424 } && test -s conftest$ac_exeext && { 6425 test "$cross_compiling" = yes || 6426 $as_test_x conftest$ac_exeext 6427 }; then 5457 if ac_fn_c_try_link "$LINENO"; then : 6428 5458 ac_cv_lib_iconv_main=yes 6429 5459 else 6430 $as_echo "$as_me: failed program was:" >&5 6431 sed 's/^/| /' conftest.$ac_ext >&5 6432 6433 ac_cv_lib_iconv_main=no 6434 fi 6435 6436 rm -rf conftest.dSYM 6437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6438 conftest$ac_exeext conftest.$ac_ext 5460 ac_cv_lib_iconv_main=no 5461 fi 5462 rm -f core conftest.err conftest.$ac_objext \ 5463 conftest$ac_exeext conftest.$ac_ext 6439 5464 LIBS=$ac_check_lib_save_LIBS 6440 5465 fi 6441 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_iconv_main" >&55466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&5 6442 5467 $as_echo "$ac_cv_lib_iconv_main" >&6; } 6443 if test "x$ac_cv_lib_iconv_main" = x ""yes; then5468 if test "x$ac_cv_lib_iconv_main" = xyes; then : 6444 5469 cat >>confdefs.h <<_ACEOF 6445 5470 #define HAVE_LIBICONV 1 … … 6452 5477 6453 5478 fi 6454 6455 6456 6457 6458 6459 5479 6460 5480 ac_header_dirent=no 6461 5481 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 6462 5482 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6463 { $as_echo "$as_me:$ LINENO: checking for $ac_hdr that defines DIR" >&55483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 6464 5484 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5485 if eval \${$as_ac_Header+:} false; then : 6466 5486 $as_echo_n "(cached) " >&6 6467 5487 else 6468 cat >conftest.$ac_ext <<_ACEOF 6469 /* confdefs.h. */ 6470 _ACEOF 6471 cat confdefs.h >>conftest.$ac_ext 6472 cat >>conftest.$ac_ext <<_ACEOF 5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6473 5489 /* end confdefs.h. */ 6474 5490 #include <sys/types.h> … … 6484 5500 } 6485 5501 _ACEOF 6486 rm -f conftest.$ac_objext 6487 if { (ac_try="$ac_compile" 6488 case "(($ac_try" in 6489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6490 *) ac_try_echo=$ac_try;; 6491 esac 6492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6493 $as_echo "$ac_try_echo") >&5 6494 (eval "$ac_compile") 2>conftest.er1 6495 ac_status=$? 6496 grep -v '^ *+' conftest.er1 >conftest.err 6497 rm -f conftest.er1 6498 cat conftest.err >&5 6499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6500 (exit $ac_status); } && { 6501 test -z "$ac_c_werror_flag" || 6502 test ! -s conftest.err 6503 } && test -s conftest.$ac_objext; then 5502 if ac_fn_c_try_compile "$LINENO"; then : 6504 5503 eval "$as_ac_Header=yes" 6505 5504 else 6506 $as_echo "$as_me: failed program was:" >&5 6507 sed 's/^/| /' conftest.$ac_ext >&5 6508 6509 eval "$as_ac_Header=no" 6510 fi 6511 5505 eval "$as_ac_Header=no" 5506 fi 6512 5507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6513 5508 fi 6514 ac_res=`eval 'as_val=${'$as_ac_Header'} 6515 $as_echo "$as_val"'` 6516 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5509 eval ac_res=\$$as_ac_Header 5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6517 5511 $as_echo "$ac_res" >&6; } 6518 as_val=`eval 'as_val=${'$as_ac_Header'} 6519 $as_echo "$as_val"'` 6520 if test "x$as_val" = x""yes; then 5512 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6521 5513 cat >>confdefs.h <<_ACEOF 6522 5514 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 … … 6529 5521 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 6530 5522 if test $ac_header_dirent = dirent.h; then 6531 { $as_echo "$as_me:$ LINENO: checking for library containing opendir" >&55523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 6532 5524 $as_echo_n "checking for library containing opendir... " >&6; } 6533 if test "${ac_cv_search_opendir+set}" = set; then5525 if ${ac_cv_search_opendir+:} false; then : 6534 5526 $as_echo_n "(cached) " >&6 6535 5527 else 6536 5528 ac_func_search_save_LIBS=$LIBS 6537 cat >conftest.$ac_ext <<_ACEOF 6538 /* confdefs.h. */ 6539 _ACEOF 6540 cat confdefs.h >>conftest.$ac_ext 6541 cat >>conftest.$ac_ext <<_ACEOF 5529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6542 5530 /* end confdefs.h. */ 6543 5531 … … 6564 5552 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6565 5553 fi 6566 rm -f conftest.$ac_objext conftest$ac_exeext 6567 if { (ac_try="$ac_link" 6568 case "(($ac_try" in 6569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6570 *) ac_try_echo=$ac_try;; 6571 esac 6572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6573 $as_echo "$ac_try_echo") >&5 6574 (eval "$ac_link") 2>conftest.er1 6575 ac_status=$? 6576 grep -v '^ *+' conftest.er1 >conftest.err 6577 rm -f conftest.er1 6578 cat conftest.err >&5 6579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6580 (exit $ac_status); } && { 6581 test -z "$ac_c_werror_flag" || 6582 test ! -s conftest.err 6583 } && test -s conftest$ac_exeext && { 6584 test "$cross_compiling" = yes || 6585 $as_test_x conftest$ac_exeext 6586 }; then 5554 if ac_fn_c_try_link "$LINENO"; then : 6587 5555 ac_cv_search_opendir=$ac_res 6588 else 6589 $as_echo "$as_me: failed program was:" >&5 6590 sed 's/^/| /' conftest.$ac_ext >&5 6591 6592 6593 fi 6594 6595 rm -rf conftest.dSYM 6596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6597 conftest$ac_exeext 6598 if test "${ac_cv_search_opendir+set}" = set; then 5556 fi 5557 rm -f core conftest.err conftest.$ac_objext \ 5558 conftest$ac_exeext 5559 if ${ac_cv_search_opendir+:} false; then : 6599 5560 break 6600 5561 fi 6601 5562 done 6602 if test "${ac_cv_search_opendir+set}" = set; then6603 : 5563 if ${ac_cv_search_opendir+:} false; then : 5564 6604 5565 else 6605 5566 ac_cv_search_opendir=no … … 6608 5569 LIBS=$ac_func_search_save_LIBS 6609 5570 fi 6610 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_opendir" >&55571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 6611 5572 $as_echo "$ac_cv_search_opendir" >&6; } 6612 5573 ac_res=$ac_cv_search_opendir 6613 if test "$ac_res" != no; then 5574 if test "$ac_res" != no; then : 6614 5575 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6615 5576 … … 6617 5578 6618 5579 else 6619 { $as_echo "$as_me:$ LINENO: checking for library containing opendir" >&55580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 6620 5581 $as_echo_n "checking for library containing opendir... " >&6; } 6621 if test "${ac_cv_search_opendir+set}" = set; then5582 if ${ac_cv_search_opendir+:} false; then : 6622 5583 $as_echo_n "(cached) " >&6 6623 5584 else 6624 5585 ac_func_search_save_LIBS=$LIBS 6625 cat >conftest.$ac_ext <<_ACEOF 6626 /* confdefs.h. */ 6627 _ACEOF 6628 cat confdefs.h >>conftest.$ac_ext 6629 cat >>conftest.$ac_ext <<_ACEOF 5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6630 5587 /* end confdefs.h. */ 6631 5588 … … 6652 5609 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6653 5610 fi 6654 rm -f conftest.$ac_objext conftest$ac_exeext 6655 if { (ac_try="$ac_link" 6656 case "(($ac_try" in 6657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6658 *) ac_try_echo=$ac_try;; 6659 esac 6660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6661 $as_echo "$ac_try_echo") >&5 6662 (eval "$ac_link") 2>conftest.er1 6663 ac_status=$? 6664 grep -v '^ *+' conftest.er1 >conftest.err 6665 rm -f conftest.er1 6666 cat conftest.err >&5 6667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6668 (exit $ac_status); } && { 6669 test -z "$ac_c_werror_flag" || 6670 test ! -s conftest.err 6671 } && test -s conftest$ac_exeext && { 6672 test "$cross_compiling" = yes || 6673 $as_test_x conftest$ac_exeext 6674 }; then 5611 if ac_fn_c_try_link "$LINENO"; then : 6675 5612 ac_cv_search_opendir=$ac_res 6676 else 6677 $as_echo "$as_me: failed program was:" >&5 6678 sed 's/^/| /' conftest.$ac_ext >&5 6679 6680 6681 fi 6682 6683 rm -rf conftest.dSYM 6684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6685 conftest$ac_exeext 6686 if test "${ac_cv_search_opendir+set}" = set; then 5613 fi 5614 rm -f core conftest.err conftest.$ac_objext \ 5615 conftest$ac_exeext 5616 if ${ac_cv_search_opendir+:} false; then : 6687 5617 break 6688 5618 fi 6689 5619 done 6690 if test "${ac_cv_search_opendir+set}" = set; then6691 : 5620 if ${ac_cv_search_opendir+:} false; then : 5621 6692 5622 else 6693 5623 ac_cv_search_opendir=no … … 6696 5626 LIBS=$ac_func_search_save_LIBS 6697 5627 fi 6698 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_opendir" >&55628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 6699 5629 $as_echo "$ac_cv_search_opendir" >&6; } 6700 5630 ac_res=$ac_cv_search_opendir 6701 if test "$ac_res" != no; then 5631 if test "$ac_res" != no; then : 6702 5632 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6703 5633 … … 6706 5636 fi 6707 5637 6708 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&55638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6709 5639 $as_echo_n "checking for ANSI C header files... " >&6; } 6710 if test "${ac_cv_header_stdc+set}" = set; then5640 if ${ac_cv_header_stdc+:} false; then : 6711 5641 $as_echo_n "(cached) " >&6 6712 5642 else 6713 cat >conftest.$ac_ext <<_ACEOF 6714 /* confdefs.h. */ 6715 _ACEOF 6716 cat confdefs.h >>conftest.$ac_ext 6717 cat >>conftest.$ac_ext <<_ACEOF 5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6718 5644 /* end confdefs.h. */ 6719 5645 #include <stdlib.h> … … 6730 5656 } 6731 5657 _ACEOF 6732 rm -f conftest.$ac_objext 6733 if { (ac_try="$ac_compile" 6734 case "(($ac_try" in 6735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6736 *) ac_try_echo=$ac_try;; 6737 esac 6738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6739 $as_echo "$ac_try_echo") >&5 6740 (eval "$ac_compile") 2>conftest.er1 6741 ac_status=$? 6742 grep -v '^ *+' conftest.er1 >conftest.err 6743 rm -f conftest.er1 6744 cat conftest.err >&5 6745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6746 (exit $ac_status); } && { 6747 test -z "$ac_c_werror_flag" || 6748 test ! -s conftest.err 6749 } && test -s conftest.$ac_objext; then 5658 if ac_fn_c_try_compile "$LINENO"; then : 6750 5659 ac_cv_header_stdc=yes 6751 5660 else 6752 $as_echo "$as_me: failed program was:" >&5 6753 sed 's/^/| /' conftest.$ac_ext >&5 6754 6755 ac_cv_header_stdc=no 6756 fi 6757 5661 ac_cv_header_stdc=no 5662 fi 6758 5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6759 5664 6760 5665 if test $ac_cv_header_stdc = yes; then 6761 5666 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6762 cat >conftest.$ac_ext <<_ACEOF 6763 /* confdefs.h. */ 6764 _ACEOF 6765 cat confdefs.h >>conftest.$ac_ext 6766 cat >>conftest.$ac_ext <<_ACEOF 5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6767 5668 /* end confdefs.h. */ 6768 5669 #include <string.h> … … 6770 5671 _ACEOF 6771 5672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6772 $EGREP "memchr" >/dev/null 2>&1; then 6773 : 5673 $EGREP "memchr" >/dev/null 2>&1; then : 5674 6774 5675 else 6775 5676 ac_cv_header_stdc=no … … 6781 5682 if test $ac_cv_header_stdc = yes; then 6782 5683 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6783 cat >conftest.$ac_ext <<_ACEOF 6784 /* confdefs.h. */ 6785 _ACEOF 6786 cat confdefs.h >>conftest.$ac_ext 6787 cat >>conftest.$ac_ext <<_ACEOF 5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6788 5685 /* end confdefs.h. */ 6789 5686 #include <stdlib.h> … … 6791 5688 _ACEOF 6792 5689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6793 $EGREP "free" >/dev/null 2>&1; then 6794 : 5690 $EGREP "free" >/dev/null 2>&1; then : 5691 6795 5692 else 6796 5693 ac_cv_header_stdc=no … … 6802 5699 if test $ac_cv_header_stdc = yes; then 6803 5700 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6804 if test "$cross_compiling" = yes; then 5701 if test "$cross_compiling" = yes; then : 6805 5702 : 6806 5703 else 6807 cat >conftest.$ac_ext <<_ACEOF 6808 /* confdefs.h. */ 6809 _ACEOF 6810 cat confdefs.h >>conftest.$ac_ext 6811 cat >>conftest.$ac_ext <<_ACEOF 5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6812 5705 /* end confdefs.h. */ 6813 5706 #include <ctype.h> … … 6836 5729 } 6837 5730 _ACEOF 6838 rm -f conftest$ac_exeext 6839 if { (ac_try="$ac_link" 6840 case "(($ac_try" in 6841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6842 *) ac_try_echo=$ac_try;; 6843 esac 6844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6845 $as_echo "$ac_try_echo") >&5 6846 (eval "$ac_link") 2>&5 6847 ac_status=$? 6848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6849 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6850 { (case "(($ac_try" in 6851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6852 *) ac_try_echo=$ac_try;; 6853 esac 6854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6855 $as_echo "$ac_try_echo") >&5 6856 (eval "$ac_try") 2>&5 6857 ac_status=$? 6858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6859 (exit $ac_status); }; }; then 6860 : 6861 else 6862 $as_echo "$as_me: program exited with status $ac_status" >&5 6863 $as_echo "$as_me: failed program was:" >&5 6864 sed 's/^/| /' conftest.$ac_ext >&5 6865 6866 ( exit $ac_status ) 6867 ac_cv_header_stdc=no 6868 fi 6869 rm -rf conftest.dSYM 6870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6871 fi 6872 6873 6874 fi 6875 fi 6876 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5731 if ac_fn_c_try_run "$LINENO"; then : 5732 5733 else 5734 ac_cv_header_stdc=no 5735 fi 5736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5737 conftest.$ac_objext conftest.beam conftest.$ac_ext 5738 fi 5739 5740 fi 5741 fi 5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6877 5743 $as_echo "$ac_cv_header_stdc" >&6; } 6878 5744 if test $ac_cv_header_stdc = yes; then 6879 5745 6880 cat >>confdefs.h <<\_ACEOF 6881 #define STDC_HEADERS 1 6882 _ACEOF 6883 6884 fi 6885 6886 6887 6888 6889 6890 6891 6892 6893 5746 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5747 5748 fi 6894 5749 6895 5750 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 6896 do 6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6899 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6900 $as_echo_n "checking for $ac_header... " >&6; } 6901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6902 $as_echo_n "(cached) " >&6 6903 fi 6904 ac_res=`eval 'as_val=${'$as_ac_Header'} 6905 $as_echo "$as_val"'` 6906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6907 $as_echo "$ac_res" >&6; } 6908 else 6909 # Is the header compilable? 6910 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6911 $as_echo_n "checking $ac_header usability... " >&6; } 6912 cat >conftest.$ac_ext <<_ACEOF 6913 /* confdefs.h. */ 6914 _ACEOF 6915 cat confdefs.h >>conftest.$ac_ext 6916 cat >>conftest.$ac_ext <<_ACEOF 6917 /* end confdefs.h. */ 6918 $ac_includes_default 6919 #include <$ac_header> 6920 _ACEOF 6921 rm -f conftest.$ac_objext 6922 if { (ac_try="$ac_compile" 6923 case "(($ac_try" in 6924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6925 *) ac_try_echo=$ac_try;; 6926 esac 6927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6928 $as_echo "$ac_try_echo") >&5 6929 (eval "$ac_compile") 2>conftest.er1 6930 ac_status=$? 6931 grep -v '^ *+' conftest.er1 >conftest.err 6932 rm -f conftest.er1 6933 cat conftest.err >&5 6934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6935 (exit $ac_status); } && { 6936 test -z "$ac_c_werror_flag" || 6937 test ! -s conftest.err 6938 } && test -s conftest.$ac_objext; then 6939 ac_header_compiler=yes 6940 else 6941 $as_echo "$as_me: failed program was:" >&5 6942 sed 's/^/| /' conftest.$ac_ext >&5 6943 6944 ac_header_compiler=no 6945 fi 6946 6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6948 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6949 $as_echo "$ac_header_compiler" >&6; } 6950 6951 # Is the header present? 6952 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6953 $as_echo_n "checking $ac_header presence... " >&6; } 6954 cat >conftest.$ac_ext <<_ACEOF 6955 /* confdefs.h. */ 6956 _ACEOF 6957 cat confdefs.h >>conftest.$ac_ext 6958 cat >>conftest.$ac_ext <<_ACEOF 6959 /* end confdefs.h. */ 6960 #include <$ac_header> 6961 _ACEOF 6962 if { (ac_try="$ac_cpp conftest.$ac_ext" 6963 case "(($ac_try" in 6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6965 *) ac_try_echo=$ac_try;; 6966 esac 6967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6968 $as_echo "$ac_try_echo") >&5 6969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6970 ac_status=$? 6971 grep -v '^ *+' conftest.er1 >conftest.err 6972 rm -f conftest.er1 6973 cat conftest.err >&5 6974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6975 (exit $ac_status); } >/dev/null && { 6976 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6977 test ! -s conftest.err 6978 }; then 6979 ac_header_preproc=yes 6980 else 6981 $as_echo "$as_me: failed program was:" >&5 6982 sed 's/^/| /' conftest.$ac_ext >&5 6983 6984 ac_header_preproc=no 6985 fi 6986 6987 rm -f conftest.err conftest.$ac_ext 6988 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6989 $as_echo "$ac_header_preproc" >&6; } 6990 6991 # So? What about this header? 6992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6993 yes:no: ) 6994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6995 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6996 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6997 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6998 ac_header_preproc=yes 6999 ;; 7000 no:yes:* ) 7001 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7002 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7004 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7006 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7008 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7010 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7012 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7013 7014 ;; 7015 esac 7016 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7017 $as_echo_n "checking for $ac_header... " >&6; } 7018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7019 $as_echo_n "(cached) " >&6 7020 else 7021 eval "$as_ac_Header=\$ac_header_preproc" 7022 fi 7023 ac_res=`eval 'as_val=${'$as_ac_Header'} 7024 $as_echo "$as_val"'` 7025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7026 $as_echo "$ac_res" >&6; } 7027 7028 fi 7029 as_val=`eval 'as_val=${'$as_ac_Header'} 7030 $as_echo "$as_val"'` 7031 if test "x$as_val" = x""yes; then 5751 do : 5752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5753 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5754 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7032 5755 cat >>confdefs.h <<_ACEOF 7033 5756 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 7038 5761 done 7039 5762 7040 cat >conftest.$ac_ext <<_ACEOF 7041 /* confdefs.h. */ 7042 _ACEOF 7043 cat confdefs.h >>conftest.$ac_ext 7044 cat >>conftest.$ac_ext <<_ACEOF 5763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7045 5764 /* end confdefs.h. */ 7046 5765 #include <stdio.h> … … 7048 5767 _ACEOF 7049 5768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7050 $EGREP "fread" >/dev/null 2>&1; then 7051 cat >>confdefs.h <<\_ACEOF 7052 #define HAVE_FREAD_DECL 1 7053 _ACEOF 5769 $EGREP "fread" >/dev/null 2>&1; then : 5770 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 7054 5771 7055 5772 fi 7056 5773 rm -f conftest* 7057 5774 7058 cat >conftest.$ac_ext <<_ACEOF 7059 /* confdefs.h. */ 7060 _ACEOF 7061 cat confdefs.h >>conftest.$ac_ext 7062 cat >>conftest.$ac_ext <<_ACEOF 5775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7063 5776 /* end confdefs.h. */ 7064 5777 #include <stdio.h> … … 7066 5779 _ACEOF 7067 5780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7068 $EGREP "fgetc" >/dev/null 2>&1; then 7069 cat >>confdefs.h <<\_ACEOF 7070 #define HAVE_FGETC_DECL 1 7071 _ACEOF 5781 $EGREP "fgetc" >/dev/null 2>&1; then : 5782 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 7072 5783 7073 5784 fi 7074 5785 rm -f conftest* 7075 5786 7076 cat >conftest.$ac_ext <<_ACEOF 7077 /* confdefs.h. */ 7078 _ACEOF 7079 cat confdefs.h >>conftest.$ac_ext 7080 cat >>conftest.$ac_ext <<_ACEOF 5787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7081 5788 /* end confdefs.h. */ 7082 5789 #include <sys/procfs.h> … … 7084 5791 _ACEOF 7085 5792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7086 $EGREP "pr_brksize" >/dev/null 2>&1; then 7087 cat >>confdefs.h <<\_ACEOF 7088 #define HAVE_PR_BRKSIZE 1 7089 _ACEOF 5793 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5794 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 7090 5795 7091 5796 fi … … 7095 5800 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7096 5801 # for constant arguments. Useless! 7097 { $as_echo "$as_me:$ LINENO: checking for working alloca.h" >&55802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 7098 5803 $as_echo_n "checking for working alloca.h... " >&6; } 7099 if test "${ac_cv_working_alloca_h+set}" = set; then5804 if ${ac_cv_working_alloca_h+:} false; then : 7100 5805 $as_echo_n "(cached) " >&6 7101 5806 else 7102 cat >conftest.$ac_ext <<_ACEOF 7103 /* confdefs.h. */ 7104 _ACEOF 7105 cat confdefs.h >>conftest.$ac_ext 7106 cat >>conftest.$ac_ext <<_ACEOF 5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7107 5808 /* end confdefs.h. */ 7108 5809 #include <alloca.h> … … 7116 5817 } 7117 5818 _ACEOF 7118 rm -f conftest.$ac_objext conftest$ac_exeext 7119 if { (ac_try="$ac_link" 7120 case "(($ac_try" in 7121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7122 *) ac_try_echo=$ac_try;; 7123 esac 7124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7125 $as_echo "$ac_try_echo") >&5 7126 (eval "$ac_link") 2>conftest.er1 7127 ac_status=$? 7128 grep -v '^ *+' conftest.er1 >conftest.err 7129 rm -f conftest.er1 7130 cat conftest.err >&5 7131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7132 (exit $ac_status); } && { 7133 test -z "$ac_c_werror_flag" || 7134 test ! -s conftest.err 7135 } && test -s conftest$ac_exeext && { 7136 test "$cross_compiling" = yes || 7137 $as_test_x conftest$ac_exeext 7138 }; then 5819 if ac_fn_c_try_link "$LINENO"; then : 7139 5820 ac_cv_working_alloca_h=yes 7140 5821 else 7141 $as_echo "$as_me: failed program was:" >&5 7142 sed 's/^/| /' conftest.$ac_ext >&5 7143 7144 ac_cv_working_alloca_h=no 7145 fi 7146 7147 rm -rf conftest.dSYM 7148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7149 conftest$ac_exeext conftest.$ac_ext 7150 fi 7151 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5822 ac_cv_working_alloca_h=no 5823 fi 5824 rm -f core conftest.err conftest.$ac_objext \ 5825 conftest$ac_exeext conftest.$ac_ext 5826 fi 5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 7152 5828 $as_echo "$ac_cv_working_alloca_h" >&6; } 7153 5829 if test $ac_cv_working_alloca_h = yes; then 7154 5830 7155 cat >>confdefs.h <<\_ACEOF 7156 #define HAVE_ALLOCA_H 1 7157 _ACEOF 7158 7159 fi 7160 7161 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 5831 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5832 5833 fi 5834 5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7162 5836 $as_echo_n "checking for alloca... " >&6; } 7163 if test "${ac_cv_func_alloca_works+set}" = set; then5837 if ${ac_cv_func_alloca_works+:} false; then : 7164 5838 $as_echo_n "(cached) " >&6 7165 5839 else 7166 cat >conftest.$ac_ext <<_ACEOF 7167 /* confdefs.h. */ 7168 _ACEOF 7169 cat confdefs.h >>conftest.$ac_ext 7170 cat >>conftest.$ac_ext <<_ACEOF 5840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7171 5841 /* end confdefs.h. */ 7172 5842 #ifdef __GNUC__ … … 7184 5854 # else 7185 5855 # ifndef alloca /* predefined by HP cc +Olibcalls */ 7186 char *alloca ();5856 void *alloca (size_t); 7187 5857 # endif 7188 5858 # endif … … 7200 5870 } 7201 5871 _ACEOF 7202 rm -f conftest.$ac_objext conftest$ac_exeext 7203 if { (ac_try="$ac_link" 7204 case "(($ac_try" in 7205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7206 *) ac_try_echo=$ac_try;; 7207 esac 7208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7209 $as_echo "$ac_try_echo") >&5 7210 (eval "$ac_link") 2>conftest.er1 7211 ac_status=$? 7212 grep -v '^ *+' conftest.er1 >conftest.err 7213 rm -f conftest.er1 7214 cat conftest.err >&5 7215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7216 (exit $ac_status); } && { 7217 test -z "$ac_c_werror_flag" || 7218 test ! -s conftest.err 7219 } && test -s conftest$ac_exeext && { 7220 test "$cross_compiling" = yes || 7221 $as_test_x conftest$ac_exeext 7222 }; then 5872 if ac_fn_c_try_link "$LINENO"; then : 7223 5873 ac_cv_func_alloca_works=yes 7224 5874 else 7225 $as_echo "$as_me: failed program was:" >&5 7226 sed 's/^/| /' conftest.$ac_ext >&5 7227 7228 ac_cv_func_alloca_works=no 7229 fi 7230 7231 rm -rf conftest.dSYM 7232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7233 conftest$ac_exeext conftest.$ac_ext 7234 fi 7235 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5875 ac_cv_func_alloca_works=no 5876 fi 5877 rm -f core conftest.err conftest.$ac_objext \ 5878 conftest$ac_exeext conftest.$ac_ext 5879 fi 5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 7236 5881 $as_echo "$ac_cv_func_alloca_works" >&6; } 7237 5882 7238 5883 if test $ac_cv_func_alloca_works = yes; then 7239 5884 7240 cat >>confdefs.h <<\_ACEOF 7241 #define HAVE_ALLOCA 1 7242 _ACEOF 5885 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 7243 5886 7244 5887 else … … 7250 5893 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 7251 5894 7252 cat >>confdefs.h <<\_ACEOF 7253 #define C_ALLOCA 1 7254 _ACEOF 7255 7256 7257 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5895 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5896 5897 5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 7258 5899 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 7259 if test "${ac_cv_os_cray+set}" = set; then5900 if ${ac_cv_os_cray+:} false; then : 7260 5901 $as_echo_n "(cached) " >&6 7261 5902 else 7262 cat >conftest.$ac_ext <<_ACEOF 7263 /* confdefs.h. */ 7264 _ACEOF 7265 cat confdefs.h >>conftest.$ac_ext 7266 cat >>conftest.$ac_ext <<_ACEOF 5903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7267 5904 /* end confdefs.h. */ 7268 5905 #if defined CRAY && ! defined CRAY2 … … 7274 5911 _ACEOF 7275 5912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7276 $EGREP "webecray" >/dev/null 2>&1; then 5913 $EGREP "webecray" >/dev/null 2>&1; then : 7277 5914 ac_cv_os_cray=yes 7278 5915 else … … 7282 5919 7283 5920 fi 7284 { $as_echo "$as_me:$ LINENO: result: $ac_cv_os_cray" >&55921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 7285 5922 $as_echo "$ac_cv_os_cray" >&6; } 7286 5923 if test $ac_cv_os_cray = yes; then 7287 5924 for ac_func in _getb67 GETB67 getb67; do 7288 5925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7289 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7290 $as_echo_n "checking for $ac_func... " >&6; } 7291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7292 $as_echo_n "(cached) " >&6 7293 else 7294 cat >conftest.$ac_ext <<_ACEOF 7295 /* confdefs.h. */ 7296 _ACEOF 7297 cat confdefs.h >>conftest.$ac_ext 7298 cat >>conftest.$ac_ext <<_ACEOF 7299 /* end confdefs.h. */ 7300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7301 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7302 #define $ac_func innocuous_$ac_func 7303 7304 /* System header to define __stub macros and hopefully few prototypes, 7305 which can conflict with char $ac_func (); below. 7306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7307 <limits.h> exists even on freestanding compilers. */ 7308 7309 #ifdef __STDC__ 7310 # include <limits.h> 7311 #else 7312 # include <assert.h> 7313 #endif 7314 7315 #undef $ac_func 7316 7317 /* Override any GCC internal prototype to avoid an error. 7318 Use char because int might match the return type of a GCC 7319 builtin and then its argument prototype would still apply. */ 7320 #ifdef __cplusplus 7321 extern "C" 7322 #endif 7323 char $ac_func (); 7324 /* The GNU C library defines this for functions which it implements 7325 to always fail with ENOSYS. Some functions are actually named 7326 something starting with __ and the normal name is an alias. */ 7327 #if defined __stub_$ac_func || defined __stub___$ac_func 7328 choke me 7329 #endif 7330 7331 int 7332 main () 7333 { 7334 return $ac_func (); 7335 ; 7336 return 0; 7337 } 7338 _ACEOF 7339 rm -f conftest.$ac_objext conftest$ac_exeext 7340 if { (ac_try="$ac_link" 7341 case "(($ac_try" in 7342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7343 *) ac_try_echo=$ac_try;; 7344 esac 7345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7346 $as_echo "$ac_try_echo") >&5 7347 (eval "$ac_link") 2>conftest.er1 7348 ac_status=$? 7349 grep -v '^ *+' conftest.er1 >conftest.err 7350 rm -f conftest.er1 7351 cat conftest.err >&5 7352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7353 (exit $ac_status); } && { 7354 test -z "$ac_c_werror_flag" || 7355 test ! -s conftest.err 7356 } && test -s conftest$ac_exeext && { 7357 test "$cross_compiling" = yes || 7358 $as_test_x conftest$ac_exeext 7359 }; then 7360 eval "$as_ac_var=yes" 7361 else 7362 $as_echo "$as_me: failed program was:" >&5 7363 sed 's/^/| /' conftest.$ac_ext >&5 7364 7365 eval "$as_ac_var=no" 7366 fi 7367 7368 rm -rf conftest.dSYM 7369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7370 conftest$ac_exeext conftest.$ac_ext 7371 fi 7372 ac_res=`eval 'as_val=${'$as_ac_var'} 7373 $as_echo "$as_val"'` 7374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7375 $as_echo "$ac_res" >&6; } 7376 as_val=`eval 'as_val=${'$as_ac_var'} 7377 $as_echo "$as_val"'` 7378 if test "x$as_val" = x""yes; then 5926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5927 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 7379 5928 7380 5929 cat >>confdefs.h <<_ACEOF … … 7388 5937 fi 7389 5938 7390 { $as_echo "$as_me:$ LINENO: checking stack direction for C alloca" >&55939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 7391 5940 $as_echo_n "checking stack direction for C alloca... " >&6; } 7392 if test "${ac_cv_c_stack_direction+set}" = set; then5941 if ${ac_cv_c_stack_direction+:} false; then : 7393 5942 $as_echo_n "(cached) " >&6 7394 5943 else 7395 if test "$cross_compiling" = yes; then 5944 if test "$cross_compiling" = yes; then : 7396 5945 ac_cv_c_stack_direction=0 7397 5946 else 7398 cat >conftest.$ac_ext <<_ACEOF 7399 /* confdefs.h. */ 7400 _ACEOF 7401 cat confdefs.h >>conftest.$ac_ext 7402 cat >>conftest.$ac_ext <<_ACEOF 5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7403 5948 /* end confdefs.h. */ 7404 5949 $ac_includes_default … … 7423 5968 } 7424 5969 _ACEOF 7425 rm -f conftest$ac_exeext 7426 if { (ac_try="$ac_link" 7427 case "(($ac_try" in 7428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7429 *) ac_try_echo=$ac_try;; 7430 esac 7431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7432 $as_echo "$ac_try_echo") >&5 7433 (eval "$ac_link") 2>&5 7434 ac_status=$? 7435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7437 { (case "(($ac_try" in 7438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7439 *) ac_try_echo=$ac_try;; 7440 esac 7441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7442 $as_echo "$ac_try_echo") >&5 7443 (eval "$ac_try") 2>&5 7444 ac_status=$? 7445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7446 (exit $ac_status); }; }; then 5970 if ac_fn_c_try_run "$LINENO"; then : 7447 5971 ac_cv_c_stack_direction=1 7448 5972 else 7449 $as_echo "$as_me: program exited with status $ac_status" >&5 7450 $as_echo "$as_me: failed program was:" >&5 7451 sed 's/^/| /' conftest.$ac_ext >&5 7452 7453 ( exit $ac_status ) 7454 ac_cv_c_stack_direction=-1 7455 fi 7456 rm -rf conftest.dSYM 7457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7458 fi 7459 7460 7461 fi 7462 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5973 ac_cv_c_stack_direction=-1 5974 fi 5975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5976 conftest.$ac_objext conftest.beam conftest.$ac_ext 5977 fi 5978 5979 fi 5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 7463 5981 $as_echo "$ac_cv_c_stack_direction" >&6; } 7464 7465 5982 cat >>confdefs.h <<_ACEOF 7466 5983 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 7471 5988 7472 5989 if test $ac_cv_c_compiler_gnu = yes; then 7473 { $as_echo "$as_me:$ LINENO: checking whether $CC needs -traditional" >&55990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 7474 5991 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 7475 if test "${ac_cv_prog_gcc_traditional+set}" = set; then5992 if ${ac_cv_prog_gcc_traditional+:} false; then : 7476 5993 $as_echo_n "(cached) " >&6 7477 5994 else 7478 5995 ac_pattern="Autoconf.*'x'" 7479 cat >conftest.$ac_ext <<_ACEOF 7480 /* confdefs.h. */ 7481 _ACEOF 7482 cat confdefs.h >>conftest.$ac_ext 7483 cat >>conftest.$ac_ext <<_ACEOF 5996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7484 5997 /* end confdefs.h. */ 7485 5998 #include <sgtty.h> … … 7487 6000 _ACEOF 7488 6001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7489 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6002 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 7490 6003 ac_cv_prog_gcc_traditional=yes 7491 6004 else … … 7496 6009 7497 6010 if test $ac_cv_prog_gcc_traditional = no; then 7498 cat >conftest.$ac_ext <<_ACEOF 7499 /* confdefs.h. */ 7500 _ACEOF 7501 cat confdefs.h >>conftest.$ac_ext 7502 cat >>conftest.$ac_ext <<_ACEOF 6011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7503 6012 /* end confdefs.h. */ 7504 6013 #include <termio.h> … … 7506 6015 _ACEOF 7507 6016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7508 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6017 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 7509 6018 ac_cv_prog_gcc_traditional=yes 7510 6019 fi … … 7513 6022 fi 7514 6023 fi 7515 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_gcc_traditional" >&56024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 7516 6025 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 7517 6026 if test $ac_cv_prog_gcc_traditional = yes; then … … 7520 6029 fi 7521 6030 7522 { $as_echo "$as_me:$ LINENO: checking return type of signal handlers" >&56031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7523 6032 $as_echo_n "checking return type of signal handlers... " >&6; } 7524 if test "${ac_cv_type_signal+set}" = set; then6033 if ${ac_cv_type_signal+:} false; then : 7525 6034 $as_echo_n "(cached) " >&6 7526 6035 else 7527 cat >conftest.$ac_ext <<_ACEOF 7528 /* confdefs.h. */ 7529 _ACEOF 7530 cat confdefs.h >>conftest.$ac_ext 7531 cat >>conftest.$ac_ext <<_ACEOF 6036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7532 6037 /* end confdefs.h. */ 7533 6038 #include <sys/types.h> … … 7542 6047 } 7543 6048 _ACEOF 7544 rm -f conftest.$ac_objext 7545 if { (ac_try="$ac_compile" 7546 case "(($ac_try" in 7547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7548 *) ac_try_echo=$ac_try;; 7549 esac 7550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7551 $as_echo "$ac_try_echo") >&5 7552 (eval "$ac_compile") 2>conftest.er1 7553 ac_status=$? 7554 grep -v '^ *+' conftest.er1 >conftest.err 7555 rm -f conftest.er1 7556 cat conftest.err >&5 7557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7558 (exit $ac_status); } && { 7559 test -z "$ac_c_werror_flag" || 7560 test ! -s conftest.err 7561 } && test -s conftest.$ac_objext; then 6049 if ac_fn_c_try_compile "$LINENO"; then : 7562 6050 ac_cv_type_signal=int 7563 6051 else 7564 $as_echo "$as_me: failed program was:" >&5 7565 sed 's/^/| /' conftest.$ac_ext >&5 7566 7567 ac_cv_type_signal=void 7568 fi 7569 6052 ac_cv_type_signal=void 6053 fi 7570 6054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7571 6055 fi 7572 { $as_echo "$as_me:$ LINENO: result: $ac_cv_type_signal" >&56056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 7573 6057 $as_echo "$ac_cv_type_signal" >&6; } 7574 6058 … … 7578 6062 7579 6063 7580 7581 6064 for ac_func in vprintf 7582 do 7583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7584 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7585 $as_echo_n "checking for $ac_func... " >&6; } 7586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7587 $as_echo_n "(cached) " >&6 7588 else 7589 cat >conftest.$ac_ext <<_ACEOF 7590 /* confdefs.h. */ 7591 _ACEOF 7592 cat confdefs.h >>conftest.$ac_ext 7593 cat >>conftest.$ac_ext <<_ACEOF 7594 /* end confdefs.h. */ 7595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7596 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7597 #define $ac_func innocuous_$ac_func 7598 7599 /* System header to define __stub macros and hopefully few prototypes, 7600 which can conflict with char $ac_func (); below. 7601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7602 <limits.h> exists even on freestanding compilers. */ 7603 7604 #ifdef __STDC__ 7605 # include <limits.h> 7606 #else 7607 # include <assert.h> 7608 #endif 7609 7610 #undef $ac_func 7611 7612 /* Override any GCC internal prototype to avoid an error. 7613 Use char because int might match the return type of a GCC 7614 builtin and then its argument prototype would still apply. */ 7615 #ifdef __cplusplus 7616 extern "C" 7617 #endif 7618 char $ac_func (); 7619 /* The GNU C library defines this for functions which it implements 7620 to always fail with ENOSYS. Some functions are actually named 7621 something starting with __ and the normal name is an alias. */ 7622 #if defined __stub_$ac_func || defined __stub___$ac_func 7623 choke me 7624 #endif 7625 7626 int 7627 main () 7628 { 7629 return $ac_func (); 7630 ; 7631 return 0; 7632 } 7633 _ACEOF 7634 rm -f conftest.$ac_objext conftest$ac_exeext 7635 if { (ac_try="$ac_link" 7636 case "(($ac_try" in 7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7638 *) ac_try_echo=$ac_try;; 7639 esac 7640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7641 $as_echo "$ac_try_echo") >&5 7642 (eval "$ac_link") 2>conftest.er1 7643 ac_status=$? 7644 grep -v '^ *+' conftest.er1 >conftest.err 7645 rm -f conftest.er1 7646 cat conftest.err >&5 7647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7648 (exit $ac_status); } && { 7649 test -z "$ac_c_werror_flag" || 7650 test ! -s conftest.err 7651 } && test -s conftest$ac_exeext && { 7652 test "$cross_compiling" = yes || 7653 $as_test_x conftest$ac_exeext 7654 }; then 7655 eval "$as_ac_var=yes" 7656 else 7657 $as_echo "$as_me: failed program was:" >&5 7658 sed 's/^/| /' conftest.$ac_ext >&5 7659 7660 eval "$as_ac_var=no" 7661 fi 7662 7663 rm -rf conftest.dSYM 7664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7665 conftest$ac_exeext conftest.$ac_ext 7666 fi 7667 ac_res=`eval 'as_val=${'$as_ac_var'} 7668 $as_echo "$as_val"'` 7669 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7670 $as_echo "$ac_res" >&6; } 7671 as_val=`eval 'as_val=${'$as_ac_var'} 7672 $as_echo "$as_val"'` 7673 if test "x$as_val" = x""yes; then 6065 do : 6066 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 6067 if test "x$ac_cv_func_vprintf" = xyes; then : 6068 cat >>confdefs.h <<_ACEOF 6069 #define HAVE_VPRINTF 1 6070 _ACEOF 6071 6072 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 6073 if test "x$ac_cv_func__doprnt" = xyes; then : 6074 6075 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 6076 6077 fi 6078 6079 fi 6080 done 6081 6082 6083 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6084 do : 6085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6087 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 7674 6088 cat >>confdefs.h <<_ACEOF 7675 6089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7676 6090 _ACEOF 7677 6091 7678 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&57679 $as_echo_n "checking for _doprnt... " >&6; }7680 if test "${ac_cv_func__doprnt+set}" = set; then7681 $as_echo_n "(cached) " >&67682 else7683 cat >conftest.$ac_ext <<_ACEOF7684 /* confdefs.h. */7685 _ACEOF7686 cat confdefs.h >>conftest.$ac_ext7687 cat >>conftest.$ac_ext <<_ACEOF7688 /* end confdefs.h. */7689 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.7690 For example, HP-UX 11i <limits.h> declares gettimeofday. */7691 #define _doprnt innocuous__doprnt7692 7693 /* System header to define __stub macros and hopefully few prototypes,7694 which can conflict with char _doprnt (); below.7695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since7696 <limits.h> exists even on freestanding compilers. */7697 7698 #ifdef __STDC__7699 # include <limits.h>7700 #else7701 # include <assert.h>7702 #endif7703 7704 #undef _doprnt7705 7706 /* Override any GCC internal prototype to avoid an error.7707 Use char because int might match the return type of a GCC7708 builtin and then its argument prototype would still apply. */7709 #ifdef __cplusplus7710 extern "C"7711 #endif7712 char _doprnt ();7713 /* The GNU C library defines this for functions which it implements7714 to always fail with ENOSYS. Some functions are actually named7715 something starting with __ and the normal name is an alias. */7716 #if defined __stub__doprnt || defined __stub____doprnt7717 choke me7718 #endif7719 7720 int7721 main ()7722 {7723 return _doprnt ();7724 ;7725 return 0;7726 }7727 _ACEOF7728 rm -f conftest.$ac_objext conftest$ac_exeext7729 if { (ac_try="$ac_link"7730 case "(($ac_try" in7731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;7732 *) ac_try_echo=$ac_try;;7733 esac7734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""7735 $as_echo "$ac_try_echo") >&57736 (eval "$ac_link") 2>conftest.er17737 ac_status=$?7738 grep -v '^ *+' conftest.er1 >conftest.err7739 rm -f conftest.er17740 cat conftest.err >&57741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57742 (exit $ac_status); } && {7743 test -z "$ac_c_werror_flag" ||7744 test ! -s conftest.err7745 } && test -s conftest$ac_exeext && {7746 test "$cross_compiling" = yes ||7747 $as_test_x conftest$ac_exeext7748 }; then7749 ac_cv_func__doprnt=yes7750 else7751 $as_echo "$as_me: failed program was:" >&57752 sed 's/^/| /' conftest.$ac_ext >&57753 7754 ac_cv_func__doprnt=no7755 fi7756 7757 rm -rf conftest.dSYM7758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \7759 conftest$ac_exeext conftest.$ac_ext7760 fi7761 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&57762 $as_echo "$ac_cv_func__doprnt" >&6; }7763 if test "x$ac_cv_func__doprnt" = x""yes; then7764 7765 cat >>confdefs.h <<\_ACEOF7766 #define HAVE_DOPRNT 17767 _ACEOF7768 7769 fi7770 7771 6092 fi 7772 6093 done 7773 6094 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 7786 do 7787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7788 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7789 $as_echo_n "checking for $ac_func... " >&6; } 7790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7791 $as_echo_n "(cached) " >&6 7792 else 7793 cat >conftest.$ac_ext <<_ACEOF 7794 /* confdefs.h. */ 7795 _ACEOF 7796 cat confdefs.h >>conftest.$ac_ext 7797 cat >>conftest.$ac_ext <<_ACEOF 7798 /* end confdefs.h. */ 7799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7800 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7801 #define $ac_func innocuous_$ac_func 7802 7803 /* System header to define __stub macros and hopefully few prototypes, 7804 which can conflict with char $ac_func (); below. 7805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7806 <limits.h> exists even on freestanding compilers. */ 7807 7808 #ifdef __STDC__ 7809 # include <limits.h> 7810 #else 7811 # include <assert.h> 7812 #endif 7813 7814 #undef $ac_func 7815 7816 /* Override any GCC internal prototype to avoid an error. 7817 Use char because int might match the return type of a GCC 7818 builtin and then its argument prototype would still apply. */ 7819 #ifdef __cplusplus 7820 extern "C" 7821 #endif 7822 char $ac_func (); 7823 /* The GNU C library defines this for functions which it implements 7824 to always fail with ENOSYS. Some functions are actually named 7825 something starting with __ and the normal name is an alias. */ 7826 #if defined __stub_$ac_func || defined __stub___$ac_func 7827 choke me 7828 #endif 7829 7830 int 7831 main () 7832 { 7833 return $ac_func (); 7834 ; 7835 return 0; 7836 } 7837 _ACEOF 7838 rm -f conftest.$ac_objext conftest$ac_exeext 7839 if { (ac_try="$ac_link" 7840 case "(($ac_try" in 7841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7842 *) ac_try_echo=$ac_try;; 7843 esac 7844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7845 $as_echo "$ac_try_echo") >&5 7846 (eval "$ac_link") 2>conftest.er1 7847 ac_status=$? 7848 grep -v '^ *+' conftest.er1 >conftest.err 7849 rm -f conftest.er1 7850 cat conftest.err >&5 7851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7852 (exit $ac_status); } && { 7853 test -z "$ac_c_werror_flag" || 7854 test ! -s conftest.err 7855 } && test -s conftest$ac_exeext && { 7856 test "$cross_compiling" = yes || 7857 $as_test_x conftest$ac_exeext 7858 }; then 7859 eval "$as_ac_var=yes" 7860 else 7861 $as_echo "$as_me: failed program was:" >&5 7862 sed 's/^/| /' conftest.$ac_ext >&5 7863 7864 eval "$as_ac_var=no" 7865 fi 7866 7867 rm -rf conftest.dSYM 7868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7869 conftest$ac_exeext conftest.$ac_ext 7870 fi 7871 ac_res=`eval 'as_val=${'$as_ac_var'} 7872 $as_echo "$as_val"'` 7873 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7874 $as_echo "$ac_res" >&6; } 7875 as_val=`eval 'as_val=${'$as_ac_var'} 7876 $as_echo "$as_val"'` 7877 if test "x$as_val" = x""yes; then 7878 cat >>confdefs.h <<_ACEOF 7879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7880 _ACEOF 7881 7882 fi 7883 done 7884 7885 7886 7887 7888 for ac_func in ftruncate strstr strcasecmp 7889 do 7890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7891 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7892 $as_echo_n "checking for $ac_func... " >&6; } 7893 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7894 $as_echo_n "(cached) " >&6 7895 else 7896 cat >conftest.$ac_ext <<_ACEOF 7897 /* confdefs.h. */ 7898 _ACEOF 7899 cat confdefs.h >>conftest.$ac_ext 7900 cat >>conftest.$ac_ext <<_ACEOF 7901 /* end confdefs.h. */ 7902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7903 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7904 #define $ac_func innocuous_$ac_func 7905 7906 /* System header to define __stub macros and hopefully few prototypes, 7907 which can conflict with char $ac_func (); below. 7908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7909 <limits.h> exists even on freestanding compilers. */ 7910 7911 #ifdef __STDC__ 7912 # include <limits.h> 7913 #else 7914 # include <assert.h> 7915 #endif 7916 7917 #undef $ac_func 7918 7919 /* Override any GCC internal prototype to avoid an error. 7920 Use char because int might match the return type of a GCC 7921 builtin and then its argument prototype would still apply. */ 7922 #ifdef __cplusplus 7923 extern "C" 7924 #endif 7925 char $ac_func (); 7926 /* The GNU C library defines this for functions which it implements 7927 to always fail with ENOSYS. Some functions are actually named 7928 something starting with __ and the normal name is an alias. */ 7929 #if defined __stub_$ac_func || defined __stub___$ac_func 7930 choke me 7931 #endif 7932 7933 int 7934 main () 7935 { 7936 return $ac_func (); 7937 ; 7938 return 0; 7939 } 7940 _ACEOF 7941 rm -f conftest.$ac_objext conftest$ac_exeext 7942 if { (ac_try="$ac_link" 7943 case "(($ac_try" in 7944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7945 *) ac_try_echo=$ac_try;; 7946 esac 7947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7948 $as_echo "$ac_try_echo") >&5 7949 (eval "$ac_link") 2>conftest.er1 7950 ac_status=$? 7951 grep -v '^ *+' conftest.er1 >conftest.err 7952 rm -f conftest.er1 7953 cat conftest.err >&5 7954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7955 (exit $ac_status); } && { 7956 test -z "$ac_c_werror_flag" || 7957 test ! -s conftest.err 7958 } && test -s conftest$ac_exeext && { 7959 test "$cross_compiling" = yes || 7960 $as_test_x conftest$ac_exeext 7961 }; then 7962 eval "$as_ac_var=yes" 7963 else 7964 $as_echo "$as_me: failed program was:" >&5 7965 sed 's/^/| /' conftest.$ac_ext >&5 7966 7967 eval "$as_ac_var=no" 7968 fi 7969 7970 rm -rf conftest.dSYM 7971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7972 conftest$ac_exeext conftest.$ac_ext 7973 fi 7974 ac_res=`eval 'as_val=${'$as_ac_var'} 7975 $as_echo "$as_val"'` 7976 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7977 $as_echo "$ac_res" >&6; } 7978 as_val=`eval 'as_val=${'$as_ac_var'} 7979 $as_echo "$as_val"'` 7980 if test "x$as_val" = x""yes; then 7981 cat >>confdefs.h <<_ACEOF 7982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7983 _ACEOF 6095 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 6096 if test "x$ac_cv_func_ftruncate" = xyes; then : 6097 $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h 7984 6098 7985 6099 else 7986 6100 case " $LIBOBJS " in 7987 *" $ac_func.$ac_objext "* ) ;;7988 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"6101 *" ftruncate.$ac_objext "* ) ;; 6102 *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" 7989 6103 ;; 7990 6104 esac 7991 6105 7992 6106 fi 7993 done 7994 7995 7996 7997 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7998 $as_echo_n "checking for textdomain... " >&6; } 7999 if test "${ac_cv_func_textdomain+set}" = set; then 8000 $as_echo_n "(cached) " >&6 8001 else 8002 cat >conftest.$ac_ext <<_ACEOF 8003 /* confdefs.h. */ 8004 _ACEOF 8005 cat confdefs.h >>conftest.$ac_ext 8006 cat >>conftest.$ac_ext <<_ACEOF 8007 /* end confdefs.h. */ 8008 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain. 8009 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8010 #define textdomain innocuous_textdomain 8011 8012 /* System header to define __stub macros and hopefully few prototypes, 8013 which can conflict with char textdomain (); below. 8014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8015 <limits.h> exists even on freestanding compilers. */ 8016 8017 #ifdef __STDC__ 8018 # include <limits.h> 8019 #else 8020 # include <assert.h> 8021 #endif 8022 8023 #undef textdomain 8024 8025 /* Override any GCC internal prototype to avoid an error. 8026 Use char because int might match the return type of a GCC 8027 builtin and then its argument prototype would still apply. */ 8028 #ifdef __cplusplus 8029 extern "C" 8030 #endif 8031 char textdomain (); 8032 /* The GNU C library defines this for functions which it implements 8033 to always fail with ENOSYS. Some functions are actually named 8034 something starting with __ and the normal name is an alias. */ 8035 #if defined __stub_textdomain || defined __stub___textdomain 8036 choke me 8037 #endif 8038 8039 int 8040 main () 8041 { 8042 return textdomain (); 8043 ; 8044 return 0; 8045 } 8046 _ACEOF 8047 rm -f conftest.$ac_objext conftest$ac_exeext 8048 if { (ac_try="$ac_link" 8049 case "(($ac_try" in 8050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8051 *) ac_try_echo=$ac_try;; 6107 6108 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 6109 if test "x$ac_cv_func_strstr" = xyes; then : 6110 $as_echo "#define HAVE_STRSTR 1" >>confdefs.h 6111 6112 else 6113 case " $LIBOBJS " in 6114 *" strstr.$ac_objext "* ) ;; 6115 *) LIBOBJS="$LIBOBJS strstr.$ac_objext" 6116 ;; 8052 6117 esac 8053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8054 $as_echo "$ac_try_echo") >&5 8055 (eval "$ac_link") 2>conftest.er1 8056 ac_status=$? 8057 grep -v '^ *+' conftest.er1 >conftest.err 8058 rm -f conftest.er1 8059 cat conftest.err >&5 8060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8061 (exit $ac_status); } && { 8062 test -z "$ac_c_werror_flag" || 8063 test ! -s conftest.err 8064 } && test -s conftest$ac_exeext && { 8065 test "$cross_compiling" = yes || 8066 $as_test_x conftest$ac_exeext 8067 }; then 8068 ac_cv_func_textdomain=yes 8069 else 8070 $as_echo "$as_me: failed program was:" >&5 8071 sed 's/^/| /' conftest.$ac_ext >&5 8072 8073 ac_cv_func_textdomain=no 8074 fi 8075 8076 rm -rf conftest.dSYM 8077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8078 conftest$ac_exeext conftest.$ac_ext 8079 fi 8080 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 8081 $as_echo "$ac_cv_func_textdomain" >&6; } 8082 if test "x$ac_cv_func_textdomain" = x""yes; then 8083 cat >>confdefs.h <<\_ACEOF 8084 #define ENABLE_NLS 1 8085 _ACEOF 6118 6119 fi 6120 6121 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 6122 if test "x$ac_cv_func_strcasecmp" = xyes; then : 6123 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h 6124 6125 else 6126 case " $LIBOBJS " in 6127 *" strcasecmp.$ac_objext "* ) ;; 6128 *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" 6129 ;; 6130 esac 6131 6132 fi 6133 6134 6135 6136 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain" 6137 if test "x$ac_cv_func_textdomain" = xyes; then : 6138 $as_echo "#define ENABLE_NLS 1" >>confdefs.h 8086 6139 8087 6140 fi … … 8090 6143 # *** Custom checking (based on GNU tar configure.in) *** 8091 6144 # --------------------------------------------------------------------------- 8092 { $as_echo "$as_me:$ LINENO: checking for HP-UX needing gmalloc" >&56145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5 8093 6146 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 8094 6147 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 8095 { $as_echo "$as_me:$ LINENO: result: yes" >&56148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8096 6149 $as_echo "yes" >&6; } 8097 6150 case " $LIBOBJS " in … … 8101 6154 esac 8102 6155 8103 cat >>confdefs.h <<\_ACEOF 6156 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 6157 6158 else 6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6160 $as_echo "no" >&6; } 6161 for ac_func in valloc 6162 do : 6163 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 6164 if test "x$ac_cv_func_valloc" = xyes; then : 6165 cat >>confdefs.h <<_ACEOF 8104 6166 #define HAVE_VALLOC 1 8105 6167 _ACEOF 8106 6168 8107 else8108 { $as_echo "$as_me:$LINENO: result: no" >&58109 $as_echo "no" >&6; }8110 8111 for ac_func in valloc8112 do8113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`8114 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&58115 $as_echo_n "checking for $ac_func... " >&6; }8116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then8117 $as_echo_n "(cached) " >&68118 else8119 cat >conftest.$ac_ext <<_ACEOF8120 /* confdefs.h. */8121 _ACEOF8122 cat confdefs.h >>conftest.$ac_ext8123 cat >>conftest.$ac_ext <<_ACEOF8124 /* end confdefs.h. */8125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.8126 For example, HP-UX 11i <limits.h> declares gettimeofday. */8127 #define $ac_func innocuous_$ac_func8128 8129 /* System header to define __stub macros and hopefully few prototypes,8130 which can conflict with char $ac_func (); below.8131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since8132 <limits.h> exists even on freestanding compilers. */8133 8134 #ifdef __STDC__8135 # include <limits.h>8136 #else8137 # include <assert.h>8138 #endif8139 8140 #undef $ac_func8141 8142 /* Override any GCC internal prototype to avoid an error.8143 Use char because int might match the return type of a GCC8144 builtin and then its argument prototype would still apply. */8145 #ifdef __cplusplus8146 extern "C"8147 #endif8148 char $ac_func ();8149 /* The GNU C library defines this for functions which it implements8150 to always fail with ENOSYS. Some functions are actually named8151 something starting with __ and the normal name is an alias. */8152 #if defined __stub_$ac_func || defined __stub___$ac_func8153 choke me8154 #endif8155 8156 int8157 main ()8158 {8159 return $ac_func ();8160 ;8161 return 0;8162 }8163 _ACEOF8164 rm -f conftest.$ac_objext conftest$ac_exeext8165 if { (ac_try="$ac_link"8166 case "(($ac_try" in8167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;8168 *) ac_try_echo=$ac_try;;8169 esac8170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""8171 $as_echo "$ac_try_echo") >&58172 (eval "$ac_link") 2>conftest.er18173 ac_status=$?8174 grep -v '^ *+' conftest.er1 >conftest.err8175 rm -f conftest.er18176 cat conftest.err >&58177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&58178 (exit $ac_status); } && {8179 test -z "$ac_c_werror_flag" ||8180 test ! -s conftest.err8181 } && test -s conftest$ac_exeext && {8182 test "$cross_compiling" = yes ||8183 $as_test_x conftest$ac_exeext8184 }; then8185 eval "$as_ac_var=yes"8186 else8187 $as_echo "$as_me: failed program was:" >&58188 sed 's/^/| /' conftest.$ac_ext >&58189 8190 eval "$as_ac_var=no"8191 fi8192 8193 rm -rf conftest.dSYM8194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \8195 conftest$ac_exeext conftest.$ac_ext8196 fi8197 ac_res=`eval 'as_val=${'$as_ac_var'}8198 $as_echo "$as_val"'`8199 { $as_echo "$as_me:$LINENO: result: $ac_res" >&58200 $as_echo "$ac_res" >&6; }8201 as_val=`eval 'as_val=${'$as_ac_var'}8202 $as_echo "$as_val"'`8203 if test "x$as_val" = x""yes; then8204 cat >>confdefs.h <<_ACEOF8205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 18206 _ACEOF8207 8208 6169 fi 8209 6170 done … … 8212 6173 8213 6174 # we cannot generate static libraries under Darwin 8214 { $as_echo "$as_me:$ LINENO: checking for Apple MacOS X/Darwin" >&56175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5 8215 6176 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 8216 6177 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 8217 { $as_echo "$as_me:$ LINENO: result: yes" >&56178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8218 6179 $as_echo "yes" >&6; } 8219 6180 STATIC="" 8220 6181 else 8221 { $as_echo "$as_me:$ LINENO: result: no" >&56182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8222 6183 $as_echo "no" >&6; } 8223 6184 STATIC="-static " … … 8225 6186 8226 6187 8227 { $as_echo "$as_me:$ LINENO: checking if malloc debugging is wanted" >&56188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 8228 6189 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 8229 6190 8230 6191 # Check whether --with-dmalloc was given. 8231 if test "${with_dmalloc+set}" = set; then 6192 if test "${with_dmalloc+set}" = set; then : 8232 6193 withval=$with_dmalloc; if test "$withval" = yes; then 8233 { $as_echo "$as_me:$ LINENO: result: yes" >&56194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8234 6195 $as_echo "yes" >&6; } 8235 cat >>confdefs.h <<\_ACEOF 8236 #define WITH_DMALLOC 1 8237 _ACEOF 6196 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 8238 6197 8239 6198 LIBS="$LIBS -ldmalloc" 8240 6199 LDFLAGS="$LDFLAGS -g" 8241 6200 else 8242 { $as_echo "$as_me:$ LINENO: result: no" >&56201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8243 6202 $as_echo "no" >&6; } 8244 6203 fi 8245 6204 else 8246 { $as_echo "$as_me:$ LINENO: result: no" >&56205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8247 6206 $as_echo "no" >&6; } 8248 6207 fi 8249 6208 8250 6209 8251 { $as_echo "$as_me:$ LINENO: checking which of rx or regex is wanted" >&56210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5 8252 6211 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 8253 6212 8254 6213 # Check whether --with-regex was given. 8255 if test "${with_regex+set}" = set; then 6214 if test "${with_regex+set}" = set; then : 8256 6215 withval=$with_regex; if test "$withval" = yes; then 8257 6216 ac_with_regex=1 8258 { $as_echo "$as_me:$ LINENO: result: regex" >&56217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5 8259 6218 $as_echo "regex" >&6; } 8260 cat >>confdefs.h <<\_ACEOF 8261 #define WITH_REGEX 1 8262 _ACEOF 6219 $as_echo "#define WITH_REGEX 1" >>confdefs.h 8263 6220 8264 6221 case " $LIBOBJS " in … … 8272 6229 8273 6230 if test -z "$ac_with_regex"; then 8274 { $as_echo "$as_me:$ LINENO: result: rx" >&56231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5 8275 6232 $as_echo "rx" >&6; } 8276 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8277 $as_echo_n "checking for re_rx_search... " >&6; } 8278 if test "${ac_cv_func_re_rx_search+set}" = set; then 8279 $as_echo_n "(cached) " >&6 8280 else 8281 cat >conftest.$ac_ext <<_ACEOF 8282 /* confdefs.h. */ 8283 _ACEOF 8284 cat confdefs.h >>conftest.$ac_ext 8285 cat >>conftest.$ac_ext <<_ACEOF 8286 /* end confdefs.h. */ 8287 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 8288 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8289 #define re_rx_search innocuous_re_rx_search 8290 8291 /* System header to define __stub macros and hopefully few prototypes, 8292 which can conflict with char re_rx_search (); below. 8293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8294 <limits.h> exists even on freestanding compilers. */ 8295 8296 #ifdef __STDC__ 8297 # include <limits.h> 8298 #else 8299 # include <assert.h> 8300 #endif 8301 8302 #undef re_rx_search 8303 8304 /* Override any GCC internal prototype to avoid an error. 8305 Use char because int might match the return type of a GCC 8306 builtin and then its argument prototype would still apply. */ 8307 #ifdef __cplusplus 8308 extern "C" 8309 #endif 8310 char re_rx_search (); 8311 /* The GNU C library defines this for functions which it implements 8312 to always fail with ENOSYS. Some functions are actually named 8313 something starting with __ and the normal name is an alias. */ 8314 #if defined __stub_re_rx_search || defined __stub___re_rx_search 8315 choke me 8316 #endif 8317 8318 int 8319 main () 8320 { 8321 return re_rx_search (); 8322 ; 8323 return 0; 8324 } 8325 _ACEOF 8326 rm -f conftest.$ac_objext conftest$ac_exeext 8327 if { (ac_try="$ac_link" 8328 case "(($ac_try" in 8329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8330 *) ac_try_echo=$ac_try;; 8331 esac 8332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8333 $as_echo "$ac_try_echo") >&5 8334 (eval "$ac_link") 2>conftest.er1 8335 ac_status=$? 8336 grep -v '^ *+' conftest.er1 >conftest.err 8337 rm -f conftest.er1 8338 cat conftest.err >&5 8339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8340 (exit $ac_status); } && { 8341 test -z "$ac_c_werror_flag" || 8342 test ! -s conftest.err 8343 } && test -s conftest$ac_exeext && { 8344 test "$cross_compiling" = yes || 8345 $as_test_x conftest$ac_exeext 8346 }; then 8347 ac_cv_func_re_rx_search=yes 8348 else 8349 $as_echo "$as_me: failed program was:" >&5 8350 sed 's/^/| /' conftest.$ac_ext >&5 8351 8352 ac_cv_func_re_rx_search=no 8353 fi 8354 8355 rm -rf conftest.dSYM 8356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8357 conftest$ac_exeext conftest.$ac_ext 8358 fi 8359 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8360 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8361 if test "x$ac_cv_func_re_rx_search" = x""yes; then 8362 : 6233 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 6234 if test "x$ac_cv_func_re_rx_search" = xyes; then : 6235 8363 6236 else 8364 6237 case " $LIBOBJS " in … … 8399 6272 8400 6273 8401 { $as_echo "$as_me:$ LINENO: checking that Perl 5 is available" >&56274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5 8402 6275 $as_echo_n "checking that Perl 5 is available... " >&6; } 8403 6276 success="no" … … 8417 6290 try=`expr $try \> 5.000` 8418 6291 if test $try = "1"; then 8419 { $as_echo "$as_me:$ LINENO: result: \"yes\"" >&56292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 8420 6293 $as_echo "\"yes\"" >&6; } 8421 6294 else … … 8425 6298 8426 6299 if test $success = "no"; then 8427 { $as_echo "$as_me:$ LINENO: result: \"no\"" >&56300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 8428 6301 $as_echo "\"no\"" >&6; } 8429 { { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 8430 $as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 8431 { (exit 1); exit 1; }; } 6302 as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5 8432 6303 fi 8433 6304 8434 6305 success=no 8435 { $as_echo "$as_me:$ LINENO: checking \"whether STL library has known faults\"" >&56306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5 8436 6307 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 8437 6308 8438 6309 8439 cat >conftest.$ac_ext <<_ACEOF 8440 /* confdefs.h. */ 8441 _ACEOF 8442 cat confdefs.h >>conftest.$ac_ext 8443 cat >>conftest.$ac_ext <<_ACEOF 6310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8444 6311 /* end confdefs.h. */ 8445 6312 #include <vector> … … 8453 6320 } 8454 6321 _ACEOF 8455 rm -f conftest.$ac_objext 8456 if { (ac_try="$ac_compile" 8457 case "(($ac_try" in 8458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8459 *) ac_try_echo=$ac_try;; 8460 esac 8461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8462 $as_echo "$ac_try_echo") >&5 8463 (eval "$ac_compile") 2>conftest.er1 8464 ac_status=$? 8465 grep -v '^ *+' conftest.er1 >conftest.err 8466 rm -f conftest.er1 8467 cat conftest.err >&5 8468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8469 (exit $ac_status); } && { 8470 test -z "$ac_cxx_werror_flag" || 8471 test ! -s conftest.err 8472 } && test -s conftest.$ac_objext; then 6322 if ac_fn_cxx_try_compile "$LINENO"; then : 8473 6323 success=yes 8474 else 8475 $as_echo "$as_me: failed program was:" >&5 8476 sed 's/^/| /' conftest.$ac_ext >&5 8477 8478 8479 fi 8480 6324 fi 8481 6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8482 6326 8483 6327 if test $success = "no"; then 8484 cat >conftest.$ac_ext <<_ACEOF 8485 /* confdefs.h. */ 8486 _ACEOF 8487 cat confdefs.h >>conftest.$ac_ext 8488 cat >>conftest.$ac_ext <<_ACEOF 6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8489 6329 /* end confdefs.h. */ 8490 6330 #include <vector.h> … … 8498 6338 } 8499 6339 _ACEOF 8500 rm -f conftest.$ac_objext 8501 if { (ac_try="$ac_compile" 8502 case "(($ac_try" in 8503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8504 *) ac_try_echo=$ac_try;; 8505 esac 8506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8507 $as_echo "$ac_try_echo") >&5 8508 (eval "$ac_compile") 2>conftest.er1 8509 ac_status=$? 8510 grep -v '^ *+' conftest.er1 >conftest.err 8511 rm -f conftest.er1 8512 cat conftest.err >&5 8513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8514 (exit $ac_status); } && { 8515 test -z "$ac_cxx_werror_flag" || 8516 test ! -s conftest.err 8517 } && test -s conftest.$ac_objext; then 6340 if ac_fn_cxx_try_compile "$LINENO"; then : 8518 6341 success="yes" 8519 else 8520 $as_echo "$as_me: failed program was:" >&5 8521 sed 's/^/| /' conftest.$ac_ext >&5 8522 8523 8524 fi 8525 6342 fi 8526 6343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8527 6344 fi 8528 6345 8529 6346 if test $success = "no"; then 8530 cat >conftest.$ac_ext <<_ACEOF 8531 /* confdefs.h. */ 8532 _ACEOF 8533 cat confdefs.h >>conftest.$ac_ext 8534 cat >>conftest.$ac_ext <<_ACEOF 6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8535 6348 /* end confdefs.h. */ 8536 6349 #include <ospace\\std\\vector> … … 8544 6357 } 8545 6358 _ACEOF 8546 rm -f conftest.$ac_objext 8547 if { (ac_try="$ac_compile" 8548 case "(($ac_try" in 8549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8550 *) ac_try_echo=$ac_try;; 8551 esac 8552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8553 $as_echo "$ac_try_echo") >&5 8554 (eval "$ac_compile") 2>conftest.er1 8555 ac_status=$? 8556 grep -v '^ *+' conftest.er1 >conftest.err 8557 rm -f conftest.er1 8558 cat conftest.err >&5 8559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8560 (exit $ac_status); } && { 8561 test -z "$ac_cxx_werror_flag" || 8562 test ! -s conftest.err 8563 } && test -s conftest.$ac_objext; then 6359 if ac_fn_cxx_try_compile "$LINENO"; then : 8564 6360 success="yes" 8565 else 8566 $as_echo "$as_me: failed program was:" >&5 8567 sed 's/^/| /' conftest.$ac_ext >&5 8568 8569 8570 fi 8571 6361 fi 8572 6362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8573 6363 fi 8574 6364 8575 6365 if test $success = yes; then 8576 { $as_echo "$as_me:$ LINENO: result: \"no\"" >&56366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 8577 6367 $as_echo "\"no\"" >&6; } 8578 6368 else 8579 { $as_echo "$as_me:$ LINENO: result: \"yes\"" >&56369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 8580 6370 $as_echo "\"yes\"" >&6; } 8581 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8582 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 8583 { (exit 1); exit 1; }; } 6371 as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 8584 6372 fi 8585 6373 … … 8590 6378 gsdlos=windows 8591 6379 fi 6380 if test "x$crossOS" != "x" ; then 6381 gsdlos=$crossOS 6382 gsdlarch="" 6383 fi 6384 8592 6385 8593 6386 8594 6387 # check for endianness 8595 8596 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8597 6389 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8598 if test "${ac_cv_c_bigendian+set}" = set; then6390 if ${ac_cv_c_bigendian+:} false; then : 8599 6391 $as_echo_n "(cached) " >&6 8600 6392 else 8601 6393 ac_cv_c_bigendian=unknown 8602 6394 # See if we're dealing with a universal compiler. 8603 cat >conftest.$ac_ext <<_ACEOF 8604 /* confdefs.h. */ 8605 _ACEOF 8606 cat confdefs.h >>conftest.$ac_ext 8607 cat >>conftest.$ac_ext <<_ACEOF 6395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8608 6396 /* end confdefs.h. */ 8609 6397 #ifndef __APPLE_CC__ … … 8613 6401 8614 6402 _ACEOF 8615 rm -f conftest.$ac_objext 8616 if { (ac_try="$ac_compile" 8617 case "(($ac_try" in 8618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8619 *) ac_try_echo=$ac_try;; 8620 esac 8621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8622 $as_echo "$ac_try_echo") >&5 8623 (eval "$ac_compile") 2>conftest.er1 8624 ac_status=$? 8625 grep -v '^ *+' conftest.er1 >conftest.err 8626 rm -f conftest.er1 8627 cat conftest.err >&5 8628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8629 (exit $ac_status); } && { 8630 test -z "$ac_cxx_werror_flag" || 8631 test ! -s conftest.err 8632 } && test -s conftest.$ac_objext; then 6403 if ac_fn_cxx_try_compile "$LINENO"; then : 8633 6404 8634 6405 # Check for potential -arch flags. It is not universal unless 8635 # there are some -arch flags. Note that *ppc* also matches 8636 # ppc64. This check is also rather less than ideal. 8637 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8638 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8639 esac 8640 else 8641 $as_echo "$as_me: failed program was:" >&5 8642 sed 's/^/| /' conftest.$ac_ext >&5 8643 8644 8645 fi 8646 6406 # there are at least two -arch flags with different values. 6407 ac_arch= 6408 ac_prev= 6409 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6410 if test -n "$ac_prev"; then 6411 case $ac_word in 6412 i?86 | x86_64 | ppc | ppc64) 6413 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6414 ac_arch=$ac_word 6415 else 6416 ac_cv_c_bigendian=universal 6417 break 6418 fi 6419 ;; 6420 esac 6421 ac_prev= 6422 elif test "x$ac_word" = "x-arch"; then 6423 ac_prev=arch 6424 fi 6425 done 6426 fi 8647 6427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8648 6428 if test $ac_cv_c_bigendian = unknown; then 8649 6429 # See if sys/param.h defines the BYTE_ORDER macro. 8650 cat >conftest.$ac_ext <<_ACEOF 8651 /* confdefs.h. */ 8652 _ACEOF 8653 cat confdefs.h >>conftest.$ac_ext 8654 cat >>conftest.$ac_ext <<_ACEOF 6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8655 6431 /* end confdefs.h. */ 8656 6432 #include <sys/types.h> … … 8670 6446 } 8671 6447 _ACEOF 8672 rm -f conftest.$ac_objext 8673 if { (ac_try="$ac_compile" 8674 case "(($ac_try" in 8675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8676 *) ac_try_echo=$ac_try;; 8677 esac 8678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8679 $as_echo "$ac_try_echo") >&5 8680 (eval "$ac_compile") 2>conftest.er1 8681 ac_status=$? 8682 grep -v '^ *+' conftest.er1 >conftest.err 8683 rm -f conftest.er1 8684 cat conftest.err >&5 8685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8686 (exit $ac_status); } && { 8687 test -z "$ac_cxx_werror_flag" || 8688 test ! -s conftest.err 8689 } && test -s conftest.$ac_objext; then 6448 if ac_fn_cxx_try_compile "$LINENO"; then : 8690 6449 # It does; now see whether it defined to BIG_ENDIAN or not. 8691 cat >conftest.$ac_ext <<_ACEOF 8692 /* confdefs.h. */ 8693 _ACEOF 8694 cat confdefs.h >>conftest.$ac_ext 8695 cat >>conftest.$ac_ext <<_ACEOF 6450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8696 6451 /* end confdefs.h. */ 8697 6452 #include <sys/types.h> … … 8709 6464 } 8710 6465 _ACEOF 8711 rm -f conftest.$ac_objext 8712 if { (ac_try="$ac_compile" 8713 case "(($ac_try" in 8714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8715 *) ac_try_echo=$ac_try;; 8716 esac 8717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8718 $as_echo "$ac_try_echo") >&5 8719 (eval "$ac_compile") 2>conftest.er1 8720 ac_status=$? 8721 grep -v '^ *+' conftest.er1 >conftest.err 8722 rm -f conftest.er1 8723 cat conftest.err >&5 8724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8725 (exit $ac_status); } && { 8726 test -z "$ac_cxx_werror_flag" || 8727 test ! -s conftest.err 8728 } && test -s conftest.$ac_objext; then 6466 if ac_fn_cxx_try_compile "$LINENO"; then : 8729 6467 ac_cv_c_bigendian=yes 8730 6468 else 8731 $as_echo "$as_me: failed program was:" >&5 8732 sed 's/^/| /' conftest.$ac_ext >&5 8733 8734 ac_cv_c_bigendian=no 8735 fi 8736 6469 ac_cv_c_bigendian=no 6470 fi 8737 6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8738 else 8739 $as_echo "$as_me: failed program was:" >&5 8740 sed 's/^/| /' conftest.$ac_ext >&5 8741 8742 8743 fi 8744 6472 fi 8745 6473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8746 6474 fi 8747 6475 if test $ac_cv_c_bigendian = unknown; then 8748 6476 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8749 cat >conftest.$ac_ext <<_ACEOF 8750 /* confdefs.h. */ 8751 _ACEOF 8752 cat confdefs.h >>conftest.$ac_ext 8753 cat >>conftest.$ac_ext <<_ACEOF 6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8754 6478 /* end confdefs.h. */ 8755 6479 #include <limits.h> … … 8766 6490 } 8767 6491 _ACEOF 8768 rm -f conftest.$ac_objext 8769 if { (ac_try="$ac_compile" 8770 case "(($ac_try" in 8771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8772 *) ac_try_echo=$ac_try;; 8773 esac 8774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8775 $as_echo "$ac_try_echo") >&5 8776 (eval "$ac_compile") 2>conftest.er1 8777 ac_status=$? 8778 grep -v '^ *+' conftest.er1 >conftest.err 8779 rm -f conftest.er1 8780 cat conftest.err >&5 8781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8782 (exit $ac_status); } && { 8783 test -z "$ac_cxx_werror_flag" || 8784 test ! -s conftest.err 8785 } && test -s conftest.$ac_objext; then 6492 if ac_fn_cxx_try_compile "$LINENO"; then : 8786 6493 # It does; now see whether it defined to _BIG_ENDIAN or not. 8787 cat >conftest.$ac_ext <<_ACEOF 8788 /* confdefs.h. */ 8789 _ACEOF 8790 cat confdefs.h >>conftest.$ac_ext 8791 cat >>conftest.$ac_ext <<_ACEOF 6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8792 6495 /* end confdefs.h. */ 8793 6496 #include <limits.h> … … 8804 6507 } 8805 6508 _ACEOF 8806 rm -f conftest.$ac_objext 8807 if { (ac_try="$ac_compile" 8808 case "(($ac_try" in 8809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8810 *) ac_try_echo=$ac_try;; 8811 esac 8812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8813 $as_echo "$ac_try_echo") >&5 8814 (eval "$ac_compile") 2>conftest.er1 8815 ac_status=$? 8816 grep -v '^ *+' conftest.er1 >conftest.err 8817 rm -f conftest.er1 8818 cat conftest.err >&5 8819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8820 (exit $ac_status); } && { 8821 test -z "$ac_cxx_werror_flag" || 8822 test ! -s conftest.err 8823 } && test -s conftest.$ac_objext; then 6509 if ac_fn_cxx_try_compile "$LINENO"; then : 8824 6510 ac_cv_c_bigendian=yes 8825 6511 else 8826 $as_echo "$as_me: failed program was:" >&5 8827 sed 's/^/| /' conftest.$ac_ext >&5 8828 8829 ac_cv_c_bigendian=no 8830 fi 8831 6512 ac_cv_c_bigendian=no 6513 fi 8832 6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8833 else 8834 $as_echo "$as_me: failed program was:" >&5 8835 sed 's/^/| /' conftest.$ac_ext >&5 8836 8837 8838 fi 8839 6515 fi 8840 6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8841 6517 fi 8842 6518 if test $ac_cv_c_bigendian = unknown; then 8843 6519 # Compile a test program. 8844 if test "$cross_compiling" = yes; then 6520 if test "$cross_compiling" = yes; then : 8845 6521 # Try to guess by grepping values from an object file. 8846 cat >conftest.$ac_ext <<_ACEOF 8847 /* confdefs.h. */ 8848 _ACEOF 8849 cat confdefs.h >>conftest.$ac_ext 8850 cat >>conftest.$ac_ext <<_ACEOF 6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8851 6523 /* end confdefs.h. */ 8852 6524 short int ascii_mm[] = … … 8874 6546 } 8875 6547 _ACEOF 8876 rm -f conftest.$ac_objext 8877 if { (ac_try="$ac_compile" 8878 case "(($ac_try" in 8879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8880 *) ac_try_echo=$ac_try;; 8881 esac 8882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8883 $as_echo "$ac_try_echo") >&5 8884 (eval "$ac_compile") 2>conftest.er1 8885 ac_status=$? 8886 grep -v '^ *+' conftest.er1 >conftest.err 8887 rm -f conftest.er1 8888 cat conftest.err >&5 8889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8890 (exit $ac_status); } && { 8891 test -z "$ac_cxx_werror_flag" || 8892 test ! -s conftest.err 8893 } && test -s conftest.$ac_objext; then 6548 if ac_fn_cxx_try_compile "$LINENO"; then : 8894 6549 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8895 6550 ac_cv_c_bigendian=yes … … 8903 6558 fi 8904 6559 fi 8905 else 8906 $as_echo "$as_me: failed program was:" >&5 8907 sed 's/^/| /' conftest.$ac_ext >&5 8908 8909 8910 fi 8911 6560 fi 8912 6561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8913 6562 else 8914 cat >conftest.$ac_ext <<_ACEOF 8915 /* confdefs.h. */ 8916 _ACEOF 8917 cat confdefs.h >>conftest.$ac_ext 8918 cat >>conftest.$ac_ext <<_ACEOF 6563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8919 6564 /* end confdefs.h. */ 8920 6565 $ac_includes_default … … 8936 6581 } 8937 6582 _ACEOF 8938 rm -f conftest$ac_exeext 8939 if { (ac_try="$ac_link" 8940 case "(($ac_try" in 8941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8942 *) ac_try_echo=$ac_try;; 8943 esac 8944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8945 $as_echo "$ac_try_echo") >&5 8946 (eval "$ac_link") 2>&5 8947 ac_status=$? 8948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8950 { (case "(($ac_try" in 8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8952 *) ac_try_echo=$ac_try;; 8953 esac 8954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8955 $as_echo "$ac_try_echo") >&5 8956 (eval "$ac_try") 2>&5 8957 ac_status=$? 8958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8959 (exit $ac_status); }; }; then 6583 if ac_fn_cxx_try_run "$LINENO"; then : 8960 6584 ac_cv_c_bigendian=no 8961 6585 else 8962 $as_echo "$as_me: program exited with status $ac_status" >&5 8963 $as_echo "$as_me: failed program was:" >&5 8964 sed 's/^/| /' conftest.$ac_ext >&5 8965 8966 ( exit $ac_status ) 8967 ac_cv_c_bigendian=yes 8968 fi 8969 rm -rf conftest.dSYM 8970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8971 fi 8972 6586 ac_cv_c_bigendian=yes 6587 fi 6588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6589 conftest.$ac_objext conftest.beam conftest.$ac_ext 6590 fi 8973 6591 8974 6592 fi 8975 6593 fi 8976 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&56594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 8977 6595 $as_echo "$ac_cv_c_bigendian" >&6; } 8978 6596 case $ac_cv_c_bigendian in #( 8979 6597 yes) 8980 cat >>confdefs.h <<\_ACEOF 8981 #define WORDS_BIGENDIAN 1 8982 _ACEOF 6598 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 8983 6599 ;; #( 8984 6600 no) … … 8986 6602 universal) 8987 6603 8988 cat >>confdefs.h <<\_ACEOF 8989 #define AC_APPLE_UNIVERSAL_BUILD 1 8990 _ACEOF 6604 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 8991 6605 8992 6606 ;; #( 8993 6607 *) 8994 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8995 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8996 $as_echo "$as_me: error: unknown endianness 8997 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8998 { (exit 1); exit 1; }; } ;; 6608 as_fn_error $? "unknown endianness 6609 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 8999 6610 esac 9000 6611 … … 9074 6685 *${as_nl}*) 9075 6686 case $ac_var in #( 9076 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&56687 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9077 6688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9078 6689 esac … … 9080 6691 _ | IFS | as_nl) ;; #( 9081 6692 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9082 *) $as_unset $ac_var;;6693 *) { eval $ac_var=; unset $ac_var;} ;; 9083 6694 esac ;; 9084 6695 esac … … 9088 6699 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9089 6700 *${as_nl}ac_space=\ *) 9090 # `set' does not quote correctly, so add quotes (double-quote9091 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6701 # `set' does not quote correctly, so add quotes: double-quote 6702 # substitution turns \\\\ into \\, and sed turns \\ into \. 9092 6703 sed -n \ 9093 6704 "s/'/'\\\\''/g; … … 9111 6722 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9112 6723 if test -w "$cache_file"; then 9113 test "x$cache_file" != "x/dev/null" &&9114 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&56724 if test "x$cache_file" != "x/dev/null"; then 6725 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9115 6726 $as_echo "$as_me: updating cache $cache_file" >&6;} 9116 cat confcache >$cache_file 6727 if test ! -f "$cache_file" || test -h "$cache_file"; then 6728 cat confcache >"$cache_file" 6729 else 6730 case $cache_file in #( 6731 */* | ?:*) 6732 mv -f confcache "$cache_file"$$ && 6733 mv -f "$cache_file"$$ "$cache_file" ;; #( 6734 *) 6735 mv -f confcache "$cache_file" ;; 6736 esac 6737 fi 6738 fi 9117 6739 else 9118 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&56740 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9119 6741 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9120 6742 fi … … 9130 6752 ac_libobjs= 9131 6753 ac_ltlibobjs= 6754 U= 9132 6755 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9133 6756 # 1. Remove the extension, and $U if already installed. … … 9136 6759 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9137 6760 # will be set to the directory where LIBOBJS objects are built. 9138 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"9139 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'6761 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6762 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 9140 6763 done 9141 6764 LIBOBJS=$ac_libobjs … … 9146 6769 9147 6770 9148 : ${CONFIG_STATUS=./config.status}6771 : "${CONFIG_STATUS=./config.status}" 9149 6772 ac_write_fail=0 9150 6773 ac_clean_files_save=$ac_clean_files 9151 6774 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9152 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&56775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9153 6776 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9154 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6777 as_write_fail=0 6778 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 9155 6779 #! $SHELL 9156 6780 # Generated by $as_me. … … 9162 6786 ac_cs_recheck=false 9163 6787 ac_cs_silent=false 6788 9164 6789 SHELL=\${CONFIG_SHELL-$SHELL} 9165 _ACEOF 9166 9167 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=19168 ## -------------------- -##9169 ## M4sh Initialization. 9170 ## -------------------- -##6790 export SHELL 6791 _ASEOF 6792 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6793 ## -------------------- ## 6794 ## M4sh Initialization. ## 6795 ## -------------------- ## 9171 6796 9172 6797 # Be more Bourne compatible 9173 6798 DUALCASE=1; export DUALCASE # for MKS sh 9174 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6799 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 9175 6800 emulate sh 9176 6801 NULLCMD=: … … 9180 6805 setopt NO_GLOB_SUBST 9181 6806 else 9182 case `(set -o) 2>/dev/null` in 9183 *posix*) set -o posix ;; 6807 case `(set -o) 2>/dev/null` in #( 6808 *posix*) : 6809 set -o posix ;; #( 6810 *) : 6811 ;; 9184 6812 esac 9185 9186 fi 9187 9188 9189 9190 9191 # PATH needs CR 9192 # Avoid depending upon Character Ranges. 9193 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9194 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9195 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9196 as_cr_digits='0123456789' 9197 as_cr_alnum=$as_cr_Letters$as_cr_digits 6813 fi 6814 9198 6815 9199 6816 as_nl=' … … 9204 6821 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9205 6822 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9206 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6823 # Prefer a ksh shell builtin over an external printf program on Solaris, 6824 # but without wasting forks for bash or zsh. 6825 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6826 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6827 as_echo='print -r --' 6828 as_echo_n='print -rn --' 6829 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9207 6830 as_echo='printf %s\n' 9208 6831 as_echo_n='printf %s' … … 9215 6838 as_echo_n_body='eval 9216 6839 arg=$1; 9217 case $arg in 6840 case $arg in #( 9218 6841 *"$as_nl"*) 9219 6842 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 9238 6861 fi 9239 6862 9240 # Support unset when possible.9241 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then9242 as_unset=unset9243 else9244 as_unset=false9245 fi9246 9247 6863 9248 6864 # IFS … … 9254 6870 9255 6871 # Find who we are. Look in the path if we contain no directory separator. 9256 case $0 in 6872 as_myself= 6873 case $0 in #(( 9257 6874 *[\\/]* ) as_myself=$0 ;; 9258 6875 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 9261 6878 IFS=$as_save_IFS 9262 6879 test -z "$as_dir" && as_dir=. 9263 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break9264 done6880 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6881 done 9265 6882 IFS=$as_save_IFS 9266 6883 … … 9274 6891 if test ! -f "$as_myself"; then 9275 6892 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9276 { (exit 1); exit 1; } 9277 fi 9278 9279 # Work around bugs in pre-3.0 UWIN ksh. 9280 for as_var in ENV MAIL MAILPATH 9281 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6893 exit 1 6894 fi 6895 6896 # Unset variables that we do not need and which cause bugs (e.g. in 6897 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6898 # suppresses any "Segmentation fault" message there. '((' could 6899 # trigger a bug in pdksh 5.2.14. 6900 for as_var in BASH_ENV ENV MAIL MAILPATH 6901 do eval test x\${$as_var+set} = xset \ 6902 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 9282 6903 done 9283 6904 PS1='$ ' … … 9291 6912 export LANGUAGE 9292 6913 9293 # Required to use basename. 6914 # CDPATH. 6915 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6916 6917 6918 # as_fn_error STATUS ERROR [LINENO LOG_FD] 6919 # ---------------------------------------- 6920 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6921 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6922 # script with STATUS, using 1 if that was 0. 6923 as_fn_error () 6924 { 6925 as_status=$1; test $as_status -eq 0 && as_status=1 6926 if test "$4"; then 6927 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6928 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6929 fi 6930 $as_echo "$as_me: error: $2" >&2 6931 as_fn_exit $as_status 6932 } # as_fn_error 6933 6934 6935 # as_fn_set_status STATUS 6936 # ----------------------- 6937 # Set $? to STATUS, without forking. 6938 as_fn_set_status () 6939 { 6940 return $1 6941 } # as_fn_set_status 6942 6943 # as_fn_exit STATUS 6944 # ----------------- 6945 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6946 as_fn_exit () 6947 { 6948 set +e 6949 as_fn_set_status $1 6950 exit $1 6951 } # as_fn_exit 6952 6953 # as_fn_unset VAR 6954 # --------------- 6955 # Portably unset VAR. 6956 as_fn_unset () 6957 { 6958 { eval $1=; unset $1;} 6959 } 6960 as_unset=as_fn_unset 6961 # as_fn_append VAR VALUE 6962 # ---------------------- 6963 # Append the text in VALUE to the end of the definition contained in VAR. Take 6964 # advantage of any shell optimizations that allow amortized linear growth over 6965 # repeated appends, instead of the typical quadratic growth present in naive 6966 # implementations. 6967 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6968 eval 'as_fn_append () 6969 { 6970 eval $1+=\$2 6971 }' 6972 else 6973 as_fn_append () 6974 { 6975 eval $1=\$$1\$2 6976 } 6977 fi # as_fn_append 6978 6979 # as_fn_arith ARG... 6980 # ------------------ 6981 # Perform arithmetic evaluation on the ARGs, and store the result in the 6982 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6983 # must be portable across $(()) and expr. 6984 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6985 eval 'as_fn_arith () 6986 { 6987 as_val=$(( $* )) 6988 }' 6989 else 6990 as_fn_arith () 6991 { 6992 as_val=`expr "$@" || test $? -eq 1` 6993 } 6994 fi # as_fn_arith 6995 6996 9294 6997 if expr a : '\(a\)' >/dev/null 2>&1 && 9295 6998 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 9305 7008 fi 9306 7009 9307 9308 # Name of the executable. 7010 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7011 as_dirname=dirname 7012 else 7013 as_dirname=false 7014 fi 7015 9309 7016 as_me=`$as_basename -- "$0" || 9310 7017 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 9326 7033 s/.*/./; q'` 9327 7034 9328 # CDPATH. 9329 $as_unset CDPATH 9330 9331 9332 9333 as_lineno_1=$LINENO 9334 as_lineno_2=$LINENO 9335 test "x$as_lineno_1" != "x$as_lineno_2" && 9336 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 9337 9338 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 9339 # uniformly replaced by the line number. The first 'sed' inserts a 9340 # line-number line after each line using $LINENO; the second 'sed' 9341 # does the real work. The second script uses 'N' to pair each 9342 # line-number line with the line containing $LINENO, and appends 9343 # trailing '-' during substitution so that $LINENO is not a special 9344 # case at line end. 9345 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 9346 # scripts with optimization help from Paolo Bonzini. Blame Lee 9347 # E. McMahon (1931-1989) for sed's syntax. :-) 9348 sed -n ' 9349 p 9350 /[$]LINENO/= 9351 ' <$as_myself | 9352 sed ' 9353 s/[$]LINENO.*/&-/ 9354 t lineno 9355 b 9356 :lineno 9357 N 9358 :loop 9359 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 9360 t loop 9361 s/-\n.*// 9362 ' >$as_me.lineno && 9363 chmod +x "$as_me.lineno" || 9364 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 9365 { (exit 1); exit 1; }; } 9366 9367 # Don't try to exec as it changes $[0], causing all sort of problems 9368 # (the dirname of $[0] is not the place where we might find the 9369 # original and so on. Autoconf is especially sensitive to this). 9370 . "./$as_me.lineno" 9371 # Exit status is that of the last command. 9372 exit 9373 } 9374 9375 9376 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9377 as_dirname=dirname 9378 else 9379 as_dirname=false 9380 fi 7035 # Avoid depending upon Character Ranges. 7036 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7037 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7038 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7039 as_cr_digits='0123456789' 7040 as_cr_alnum=$as_cr_Letters$as_cr_digits 9381 7041 9382 7042 ECHO_C= ECHO_N= ECHO_T= 9383 case `echo -n x` in 7043 case `echo -n x` in #((((( 9384 7044 -n*) 9385 case `echo 'x \c'` in7045 case `echo 'xy\c'` in 9386 7046 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9387 *) ECHO_C='\c';; 7047 xy) ECHO_C='\c';; 7048 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7049 ECHO_T=' ';; 9388 7050 esac;; 9389 7051 *) 9390 7052 ECHO_N='-n';; 9391 7053 esac 9392 if expr a : '\(a\)' >/dev/null 2>&1 &&9393 test "X`expr 00001 : '.*\(...\)'`" = X001; then9394 as_expr=expr9395 else9396 as_expr=false9397 fi9398 7054 9399 7055 rm -f conf$$ conf$$.exe conf$$.file … … 9424 7080 rmdir conf$$.dir 2>/dev/null 9425 7081 7082 7083 # as_fn_mkdir_p 7084 # ------------- 7085 # Create "$as_dir" as a directory, including parents if necessary. 7086 as_fn_mkdir_p () 7087 { 7088 7089 case $as_dir in #( 7090 -*) as_dir=./$as_dir;; 7091 esac 7092 test -d "$as_dir" || eval $as_mkdir_p || { 7093 as_dirs= 7094 while :; do 7095 case $as_dir in #( 7096 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7097 *) as_qdir=$as_dir;; 7098 esac 7099 as_dirs="'$as_qdir' $as_dirs" 7100 as_dir=`$as_dirname -- "$as_dir" || 7101 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7102 X"$as_dir" : 'X\(//\)[^/]' \| \ 7103 X"$as_dir" : 'X\(//\)$' \| \ 7104 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7105 $as_echo X"$as_dir" | 7106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7107 s//\1/ 7108 q 7109 } 7110 /^X\(\/\/\)[^/].*/{ 7111 s//\1/ 7112 q 7113 } 7114 /^X\(\/\/\)$/{ 7115 s//\1/ 7116 q 7117 } 7118 /^X\(\/\).*/{ 7119 s//\1/ 7120 q 7121 } 7122 s/.*/./; q'` 7123 test -d "$as_dir" && break 7124 done 7125 test -z "$as_dirs" || eval "mkdir $as_dirs" 7126 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7127 7128 7129 } # as_fn_mkdir_p 9426 7130 if mkdir -p . 2>/dev/null; then 9427 as_mkdir_p= :7131 as_mkdir_p='mkdir -p "$as_dir"' 9428 7132 else 9429 7133 test -d ./-p && rmdir ./-p … … 9444 7148 test -d "$1/."; 9445 7149 else 9446 case $1 in 7150 case $1 in #( 9447 7151 -*)set "./$1";; 9448 7152 esac; 9449 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 7153 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 9450 7154 ???[sx]*):;;*)false;;esac;fi 9451 7155 '\'' sh … … 9462 7166 9463 7167 exec 6>&1 9464 9465 # Save the log message, to keep $[0] and so on meaningful, and to 7168 ## ----------------------------------- ## 7169 ## Main body of $CONFIG_STATUS script. ## 7170 ## ----------------------------------- ## 7171 _ASEOF 7172 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7173 7174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7175 # Save the log message, to keep $0 and so on meaningful, and to 9466 7176 # report actual input values of CONFIG_FILES etc. instead of their 9467 7177 # values after options handling. 9468 7178 ac_log=" 9469 7179 This file was extended by $as_me, which was 9470 generated by GNU Autoconf 2.6 3. Invocation command line was7180 generated by GNU Autoconf 2.68. Invocation command line was 9471 7181 9472 7182 CONFIG_FILES = $CONFIG_FILES … … 9499 7209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9500 7210 ac_cs_usage="\ 9501 \`$as_me' instantiates files from templates according to the 9502 current configuration. 9503 9504 Usage: $0 [OPTION]... [FILE]... 7211 \`$as_me' instantiates files and other configuration actions 7212 from templates according to the current configuration. Unless the files 7213 and actions are specified as TAGs, all are instantiated by default. 7214 7215 Usage: $0 [OPTION]... [TAG]... 9505 7216 9506 7217 -h, --help print this help, then exit 9507 7218 -V, --version print version number and configuration settings, then exit 7219 --config print configuration, then exit 9508 7220 -q, --quiet, --silent 9509 7221 do not print progress messages … … 9521 7233 $config_headers 9522 7234 9523 Report bugs to <[email protected]>."7235 Report bugs to the package provider." 9524 7236 9525 7237 _ACEOF 9526 7238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7239 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9527 7240 ac_cs_version="\\ 9528 7241 config.status 9529 configured by $0, generated by GNU Autoconf 2.6 3,9530 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"9531 9532 Copyright (C) 20 08Free Software Foundation, Inc.7242 configured by $0, generated by GNU Autoconf 2.68, 7243 with options \\"\$ac_cs_config\\" 7244 7245 Copyright (C) 2010 Free Software Foundation, Inc. 9533 7246 This config.status script is free software; the Free Software Foundation 9534 7247 gives unlimited permission to copy, distribute and modify it." … … 9547 7260 do 9548 7261 case $1 in 9549 --*= *)7262 --*=?*) 9550 7263 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9551 7264 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7265 ac_shift=: 7266 ;; 7267 --*=) 7268 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7269 ac_optarg= 9552 7270 ac_shift=: 9553 7271 ;; … … 9565 7283 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9566 7284 $as_echo "$ac_cs_version"; exit ;; 7285 --config | --confi | --conf | --con | --co | --c ) 7286 $as_echo "$ac_cs_config"; exit ;; 9567 7287 --debug | --debu | --deb | --de | --d | -d ) 9568 7288 debug=: ;; … … 9571 7291 case $ac_optarg in 9572 7292 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7293 '') as_fn_error $? "missing file argument" ;; 9573 7294 esac 9574 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"7295 as_fn_append CONFIG_FILES " '$ac_optarg'" 9575 7296 ac_need_defaults=false;; 9576 7297 --header | --heade | --head | --hea ) … … 9579 7300 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9580 7301 esac 9581 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"7302 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 9582 7303 ac_need_defaults=false;; 9583 7304 --he | --h) 9584 7305 # Conflict between --help and --header 9585 { $as_echo "$as_me: error: ambiguous option: $1 9586 Try \`$0 --help' for more information." >&2 9587 { (exit 1); exit 1; }; };; 7306 as_fn_error $? "ambiguous option: \`$1' 7307 Try \`$0 --help' for more information.";; 9588 7308 --help | --hel | -h ) 9589 7309 $as_echo "$ac_cs_usage"; exit ;; … … 9593 7313 9594 7314 # This is an error. 9595 -*) { $as_echo "$as_me: error: unrecognized option: $1 9596 Try \`$0 --help' for more information." >&2 9597 { (exit 1); exit 1; }; } ;; 9598 9599 *) ac_config_targets="$ac_config_targets $1" 7315 -*) as_fn_error $? "unrecognized option: \`$1' 7316 Try \`$0 --help' for more information." ;; 7317 7318 *) as_fn_append ac_config_targets " $1" 9600 7319 ac_need_defaults=false ;; 9601 7320 … … 9649 7368 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9650 7369 9651 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9652 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9653 { (exit 1); exit 1; }; };; 7370 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 9654 7371 esac 9655 7372 done … … 9673 7390 $debug || 9674 7391 { 9675 tmp= 7392 tmp= ac_tmp= 9676 7393 trap 'exit_status=$? 9677 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7394 : "${ac_tmp:=$tmp}" 7395 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 9678 7396 ' 0 9679 trap ' { (exit 1); exit 1; }' 1 2 13 157397 trap 'as_fn_exit 1' 1 2 13 15 9680 7398 } 9681 7399 # Create a (secure) tmp directory for tmp files. … … 9683 7401 { 9684 7402 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9685 test - n "$tmp" && test -d "$tmp"7403 test -d "$tmp" 9686 7404 } || 9687 7405 { 9688 7406 tmp=./conf$$-$RANDOM 9689 7407 (umask 077 && mkdir "$tmp") 9690 } || 9691 { 9692 $as_echo "$as_me: cannot create a temporary directory in ." >&2 9693 { (exit 1); exit 1; } 9694 } 7408 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7409 ac_tmp=$tmp 9695 7410 9696 7411 # Set up the scripts for CONFIG_FILES section. … … 9700 7415 9701 7416 9702 ac_cr=' 9703 ' 7417 ac_cr=`echo X | tr X '\015'` 7418 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7419 # But we know of no other shell where ac_cr would be empty at this 7420 # point, so we can use a bashism as a fallback. 7421 if test "x$ac_cr" = x; then 7422 eval ac_cr=\$\'\\r\' 7423 fi 9704 7424 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9705 7425 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 9709 7429 fi 9710 7430 9711 echo 'BEGIN {' >"$ tmp/subs1.awk" &&7431 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 9712 7432 _ACEOF 9713 7433 … … 9718 7438 echo "_ACEOF" 9719 7439 } >conf$$subs.sh || 9720 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9721 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9722 { (exit 1); exit 1; }; } 9723 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7440 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7441 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 9724 7442 ac_delim='%!_!# ' 9725 7443 for ac_last_try in false false false false false :; do 9726 7444 . ./conf$$subs.sh || 9727 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9728 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9729 { (exit 1); exit 1; }; } 7445 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9730 7446 9731 7447 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 9733 7449 break 9734 7450 elif $ac_last_try; then 9735 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9736 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9737 { (exit 1); exit 1; }; } 7451 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9738 7452 else 9739 7453 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9743 7457 9744 7458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9745 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&7459 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 9746 7460 _ACEOF 9747 7461 sed -n ' … … 9757 7471 :nl 9758 7472 h 9759 s/\(.\{148\}\). */\1/7473 s/\(.\{148\}\)..*/\1/ 9760 7474 t more1 9761 7475 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 9771 7485 :delim 9772 7486 h 9773 s/\(.\{148\}\). */\1/7487 s/\(.\{148\}\)..*/\1/ 9774 7488 t more2 9775 7489 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 9791 7505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9792 7506 _ACAWK 9793 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&7507 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 9794 7508 for (key in S) S_is_set[key] = 1 9795 7509 FS = "" … … 9823 7537 else 9824 7538 cat 9825 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9826 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9827 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9828 { (exit 1); exit 1; }; } 9829 _ACEOF 9830 9831 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9832 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7539 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7540 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7541 _ACEOF 7542 7543 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7544 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9833 7545 # trailing colons and then remove the whole line if VPATH becomes empty 9834 7546 # (actually we leave an empty line to preserve line numbers). 9835 7547 if test "x$srcdir" = x.; then 9836 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9837 s/:*\$(srcdir):*/:/ 9838 s/:*\${srcdir}:*/:/ 9839 s/:*@srcdir@:*/:/ 9840 s/^\([^=]*=[ ]*\):*/\1/ 7548 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7549 h 7550 s/// 7551 s/^/:/ 7552 s/[ ]*$/:/ 7553 s/:\$(srcdir):/:/g 7554 s/:\${srcdir}:/:/g 7555 s/:@srcdir@:/:/g 7556 s/^:*// 9841 7557 s/:*$// 7558 x 7559 s/\(=[ ]*\).*/\1/ 7560 G 7561 s/\n// 9842 7562 s/^[^=]*=[ ]*$// 9843 7563 }' … … 9851 7571 # This happens for instance with `./config.status Makefile'. 9852 7572 if test -n "$CONFIG_HEADERS"; then 9853 cat >"$ tmp/defines.awk" <<\_ACAWK ||7573 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 9854 7574 BEGIN { 9855 7575 _ACEOF … … 9863 7583 ac_delim='%!_!# ' 9864 7584 for ac_last_try in false false :; do 9865 ac_t =`sed -n "/$ac_delim/p" confdefs.h`9866 if test -z "$ac_t "; then7585 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7586 if test -z "$ac_tt"; then 9867 7587 break 9868 7588 elif $ac_last_try; then 9869 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9870 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9871 { (exit 1); exit 1; }; } 7589 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9872 7590 else 9873 7591 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9954 7672 _ACEOF 9955 7673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9956 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9957 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9958 { (exit 1); exit 1; }; } 7674 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 9959 7675 fi # test -n "$CONFIG_HEADERS" 9960 7676 … … 9969 7685 case $ac_mode$ac_tag in 9970 7686 :[FHL]*:*);; 9971 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9972 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9973 { (exit 1); exit 1; }; };; 7687 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9974 7688 :[FH]-) ac_tag=-:-;; 9975 7689 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 9990 7704 do 9991 7705 case $ac_f in 9992 -) ac_f="$ tmp/stdin";;7706 -) ac_f="$ac_tmp/stdin";; 9993 7707 *) # Look for the file first in the build tree, then in the source tree 9994 7708 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 9999 7713 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10000 7714 esac || 10001 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10002 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10003 { (exit 1); exit 1; }; };; 7715 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 10004 7716 esac 10005 7717 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10006 a c_file_inputs="$ac_file_inputs'$ac_f'"7718 as_fn_append ac_file_inputs " '$ac_f'" 10007 7719 done 10008 7720 … … 10015 7727 if test x"$ac_file" != x-; then 10016 7728 configure_input="$ac_file. $configure_input" 10017 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&57729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10018 7730 $as_echo "$as_me: creating $ac_file" >&6;} 10019 7731 fi … … 10027 7739 10028 7740 case $ac_tag in 10029 *:-:* | *:-) cat >"$tmp/stdin" \ 10030 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10031 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10032 { (exit 1); exit 1; }; } ;; 7741 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7742 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 10033 7743 esac 10034 7744 ;; … … 10058 7768 } 10059 7769 s/.*/./; q'` 10060 { as_dir="$ac_dir" 10061 case $as_dir in #( 10062 -*) as_dir=./$as_dir;; 10063 esac 10064 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10065 as_dirs= 10066 while :; do 10067 case $as_dir in #( 10068 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10069 *) as_qdir=$as_dir;; 10070 esac 10071 as_dirs="'$as_qdir' $as_dirs" 10072 as_dir=`$as_dirname -- "$as_dir" || 10073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10074 X"$as_dir" : 'X\(//\)[^/]' \| \ 10075 X"$as_dir" : 'X\(//\)$' \| \ 10076 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10077 $as_echo X"$as_dir" | 10078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10079 s//\1/ 10080 q 10081 } 10082 /^X\(\/\/\)[^/].*/{ 10083 s//\1/ 10084 q 10085 } 10086 /^X\(\/\/\)$/{ 10087 s//\1/ 10088 q 10089 } 10090 /^X\(\/\).*/{ 10091 s//\1/ 10092 q 10093 } 10094 s/.*/./; q'` 10095 test -d "$as_dir" && break 10096 done 10097 test -z "$as_dirs" || eval "mkdir $as_dirs" 10098 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10099 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 10100 { (exit 1); exit 1; }; }; } 7770 as_dir="$ac_dir"; as_fn_mkdir_p 10101 7771 ac_builddir=. 10102 7772 … … 10150 7820 # FIXME: This hack should be removed a few years after 2.60. 10151 7821 ac_datarootdir_hack=; ac_datarootdir_seen= 10152 10153 7822 ac_sed_dataroot=' 10154 7823 /datarootdir/ { … … 10160 7829 /@infodir@/p 10161 7830 /@localedir@/p 10162 /@mandir@/p 10163 ' 7831 /@mandir@/p' 10164 7832 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10165 7833 *datarootdir*) ac_datarootdir_seen=yes;; 10166 7834 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10167 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&57835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10168 7836 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10169 7837 _ACEOF … … 10175 7843 s&@localedir@&$localedir&g 10176 7844 s&@mandir@&$mandir&g 10177 7845 s&\\\${datarootdir}&$datarootdir&g' ;; 10178 7846 esac 10179 7847 _ACEOF … … 10202 7870 $ac_datarootdir_hack 10203 7871 " 10204 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10205 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10206 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10207 { (exit 1); exit 1; }; } 7872 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7873 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10208 7874 10209 7875 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10210 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10211 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10212 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10213 which seems to be undefined. Please make sure it is defined." >&5 7876 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7877 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7878 "$ac_tmp/out"`; test -z "$ac_out"; } && 7879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7880 which seems to be undefined. Please make sure it is defined" >&5 10214 7881 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10215 which seems to be undefined. Please make sure it is defined ." >&2;}10216 10217 rm -f "$ tmp/stdin"7882 which seems to be undefined. Please make sure it is defined" >&2;} 7883 7884 rm -f "$ac_tmp/stdin" 10218 7885 case $ac_file in 10219 -) cat "$ tmp/out" && rm -f "$tmp/out";;10220 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;7886 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7887 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 10221 7888 esac \ 10222 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10223 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10224 { (exit 1); exit 1; }; } 7889 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10225 7890 ;; 10226 7891 :H) … … 10231 7896 { 10232 7897 $as_echo "/* $configure_input */" \ 10233 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10234 } >"$tmp/config.h" \ 10235 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10236 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10237 { (exit 1); exit 1; }; } 10238 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10239 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7898 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7899 } >"$ac_tmp/config.h" \ 7900 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7901 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7902 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10240 7903 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10241 7904 else 10242 7905 rm -f "$ac_file" 10243 mv "$tmp/config.h" "$ac_file" \ 10244 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10245 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10246 { (exit 1); exit 1; }; } 7906 mv "$ac_tmp/config.h" "$ac_file" \ 7907 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10247 7908 fi 10248 7909 else 10249 7910 $as_echo "/* $configure_input */" \ 10250 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10251 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10252 $as_echo "$as_me: error: could not create -" >&2;} 10253 { (exit 1); exit 1; }; } 7911 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7912 || as_fn_error $? "could not create -" "$LINENO" 5 10254 7913 fi 10255 7914 ;; … … 10261 7920 10262 7921 10263 { (exit 0); exit 0; } 10264 _ACEOF 10265 chmod +x $CONFIG_STATUS 7922 as_fn_exit 0 7923 _ACEOF 10266 7924 ac_clean_files=$ac_clean_files_save 10267 7925 10268 7926 test $ac_write_fail = 0 || 10269 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10270 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10271 { (exit 1); exit 1; }; } 7927 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 10272 7928 10273 7929 … … 10290 7946 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10291 7947 # would make configure fail if this is the last instruction. 10292 $ac_cs_success || { (exit 1); exit 1; }7948 $ac_cs_success || as_fn_exit 1 10293 7949 fi 10294 7950 … … 10334 7990 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10335 7991 esac 10336 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;7992 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 10337 7993 esac 10338 7994 done … … 10363 8019 10364 8020 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10365 $as_echo "$as_me:$ LINENO: $ac_msg" >&58021 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 10366 8022 $as_echo "$ac_msg" >&6 10367 { as_dir="$ac_dir" 10368 case $as_dir in #( 10369 -*) as_dir=./$as_dir;; 10370 esac 10371 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10372 as_dirs= 10373 while :; do 10374 case $as_dir in #( 10375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10376 *) as_qdir=$as_dir;; 10377 esac 10378 as_dirs="'$as_qdir' $as_dirs" 10379 as_dir=`$as_dirname -- "$as_dir" || 10380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10381 X"$as_dir" : 'X\(//\)[^/]' \| \ 10382 X"$as_dir" : 'X\(//\)$' \| \ 10383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10384 $as_echo X"$as_dir" | 10385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10386 s//\1/ 10387 q 10388 } 10389 /^X\(\/\/\)[^/].*/{ 10390 s//\1/ 10391 q 10392 } 10393 /^X\(\/\/\)$/{ 10394 s//\1/ 10395 q 10396 } 10397 /^X\(\/\).*/{ 10398 s//\1/ 10399 q 10400 } 10401 s/.*/./; q'` 10402 test -d "$as_dir" && break 10403 done 10404 test -z "$as_dirs" || eval "mkdir $as_dirs" 10405 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10406 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 10407 { (exit 1); exit 1; }; }; } 8023 as_dir="$ac_dir"; as_fn_mkdir_p 10408 8024 ac_builddir=. 10409 8025 … … 10452 8068 ac_sub_configure=$ac_aux_dir/configure 10453 8069 else 10454 { $as_echo "$as_me:$ LINENO: WARNING: no configuration information is in $ac_dir" >&58070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 10455 8071 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10456 8072 ac_sub_configure= … … 10466 8082 esac 10467 8083 10468 { $as_echo "$as_me:$ LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58084 { $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" >&5 10469 8085 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 10470 8086 # The eval makes quoting arguments work. 10471 8087 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10472 8088 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10473 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10474 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 10475 { (exit 1); exit 1; }; } 8089 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 10476 8090 fi 10477 8091 … … 10480 8094 fi 10481 8095 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10482 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&58096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10483 8097 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10484 8098 fi -
main/trunk/greenstone2/build-src/configure.in
r25149 r26663 414 414 gsdlos=windows 415 415 fi 416 if test "x$crossOS" != "x" ; then 417 gsdlos=$crossOS 418 gsdlarch="" 419 fi 420 416 421 AC_SUBST(gsdlos) 417 422
Note:
See TracChangeset
for help on using the changeset viewer.