Changeset 28309 for main/trunk
- Timestamp:
- 2013-09-25T20:55:18+12:00 (11 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/configure
r26809 r28309 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.68. 4 # 3 # Generated by GNU Autoconf 2.63. 5 4 # 6 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 9 # 10 # 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 11 7 # This configure script is free software; the Free Software Foundation 12 8 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ##14 ## M4sh Initialization. ##15 ## -------------------- ##9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 16 12 17 13 # Be more Bourne compatible 18 14 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20 16 emulate sh 21 17 NULLCMD=: … … 25 21 setopt NO_GLOB_SUBST 26 22 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 39 36 40 as_nl=' … … 41 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 48 as_echo='printf %s\n' 51 49 as_echo_n='printf %s' … … 58 56 as_echo_n_body='eval 59 57 arg=$1; 60 case $arg in #(58 case $arg in 61 59 *"$as_nl"*) 62 60 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 79 fi 82 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 83 88 84 89 # IFS … … 90 95 91 96 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 93 case $0 in #(( 97 case $0 in 94 98 *[\\/]* ) as_myself=$0 ;; 95 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 98 102 IFS=$as_save_IFS 99 103 test -z "$as_dir" && as_dir=. 100 101 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105 done 102 106 IFS=$as_save_IFS 103 107 … … 111 115 if test ! -f "$as_myself"; then 112 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 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 || : 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 123 done 124 124 PS1='$ ' … … 132 132 export LANGUAGE 133 133 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 134 # Required to use basename. 383 135 if expr a : '\(a\)' >/dev/null 2>&1 && 384 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 394 146 fi 395 147 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 148 149 # Name of the executable. 402 150 as_me=`$as_basename -- "$0" || 403 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 419 167 s/.*/./; q'` 420 168 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. :-) 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. :-) 434 458 sed -n ' 435 459 p … … 448 472 ' >$as_me.lineno && 449 473 chmod +x "$as_me.lineno" || 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 { (exit 1); exit 1; }; } 451 476 452 477 # Don't try to exec as it changes $[0], causing all sort of problems … … 458 483 } 459 484 485 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 460 492 ECHO_C= ECHO_N= ECHO_T= 461 case `echo -n x` in #(((((493 case `echo -n x` in 462 494 -n*) 463 case `echo 'x y\c'` in495 case `echo 'x\c'` in 464 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 465 xy) ECHO_C='\c';; 466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 467 ECHO_T=' ';; 497 *) ECHO_C='\c';; 468 498 esac;; 469 499 *) 470 500 ECHO_N='-n';; 471 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 504 as_expr=expr 505 else 506 as_expr=false 507 fi 472 508 473 509 rm -f conf$$ conf$$.exe conf$$.file … … 499 535 500 536 if mkdir -p . 2>/dev/null; then 501 as_mkdir_p= 'mkdir -p "$as_dir"'537 as_mkdir_p=: 502 538 else 503 539 test -d ./-p && rmdir ./-p … … 518 554 test -d "$1/."; 519 555 else 520 case $1 in #(556 case $1 in 521 557 -*)set "./$1";; 522 558 esac; 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 524 560 ???[sx]*):;;*)false;;esac;fi 525 561 '\'' sh … … 535 571 536 572 537 test -n "$DJDIR" || exec 7<&0 </dev/null 538 exec 6>&1573 574 exec 7<&0 </dev/null 6>&1 539 575 540 576 # Name of the host. 541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 542 578 # so uname gets run too. 543 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 554 590 MFLAGS= 555 591 MAKEFLAGS= 592 SHELL=${CONFIG_SHELL-/bin/sh} 556 593 557 594 # Identity of this package. … … 561 598 PACKAGE_STRING= 562 599 PACKAGE_BUGREPORT= 563 PACKAGE_URL=564 600 565 601 # Factoring default headers for most tests. … … 650 686 CFLAGS 651 687 LDFLAGS 688 ENABLE_GNOMELIB_EXT 652 689 USE_SQLITE 653 690 ENABLE_ACCENTFOLD … … 694 731 prefix 695 732 exec_prefix 696 PACKAGE_URL697 733 PACKAGE_BUGREPORT 698 734 PACKAGE_STRING … … 715 751 enable_accentfold 716 752 enable_sqlite 753 enable_gnome_lib_ext 717 754 with_dmalloc 718 755 with_regex … … 794 831 795 832 case $ac_option in 796 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 797 *=) ac_optarg= ;; 798 *) ac_optarg=yes ;; 833 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 834 *) ac_optarg=yes ;; 799 835 esac 800 836 … … 841 877 # Reject names that are not valid shell variable names. 842 878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 843 as_fn_error $? "invalid feature name: $ac_useropt" 879 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 880 { (exit 1); exit 1; }; } 844 881 ac_useropt_orig=$ac_useropt 845 882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 867 904 # Reject names that are not valid shell variable names. 868 905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 869 as_fn_error $? "invalid feature name: $ac_useropt" 906 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 907 { (exit 1); exit 1; }; } 870 908 ac_useropt_orig=$ac_useropt 871 909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1071 1109 # Reject names that are not valid shell variable names. 1072 1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1073 as_fn_error $? "invalid package name: $ac_useropt" 1111 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1112 { (exit 1); exit 1; }; } 1074 1113 ac_useropt_orig=$ac_useropt 1075 1114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1087 1126 # Reject names that are not valid shell variable names. 1088 1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1089 as_fn_error $? "invalid package name: $ac_useropt" 1128 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1129 { (exit 1); exit 1; }; } 1090 1130 ac_useropt_orig=$ac_useropt 1091 1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1117 1157 x_libraries=$ac_optarg ;; 1118 1158 1119 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1120 Try \`$0 --help' for more information" 1159 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1160 Try \`$0 --help' for more information." >&2 1161 { (exit 1); exit 1; }; } 1121 1162 ;; 1122 1163 … … 1124 1165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1125 1166 # Reject names that are not valid shell variable names. 1126 case $ac_envvar in #( 1127 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1128 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1129 esac 1167 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1168 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1169 { (exit 1); exit 1; }; } 1130 1170 eval $ac_envvar=\$ac_optarg 1131 1171 export $ac_envvar ;; … … 1136 1176 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1137 1177 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1138 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1178 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1139 1179 ;; 1140 1180 … … 1144 1184 if test -n "$ac_prev"; then 1145 1185 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1146 as_fn_error $? "missing argument to $ac_option" 1186 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1187 { (exit 1); exit 1; }; } 1147 1188 fi 1148 1189 … … 1150 1191 case $enable_option_checking in 1151 1192 no) ;; 1152 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1193 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1194 { (exit 1); exit 1; }; } ;; 1153 1195 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1154 1196 esac … … 1173 1215 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1174 1216 esac 1175 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1217 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1218 { (exit 1); exit 1; }; } 1176 1219 done 1177 1220 … … 1187 1230 if test "x$build_alias" = x; then 1188 1231 cross_compiling=maybe 1189 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1190 If a cross compiler is detected then cross compile mode will be used " >&21232 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1233 If a cross compiler is detected then cross compile mode will be used." >&2 1191 1234 elif test "x$build_alias" != "x$host_alias"; then 1192 1235 cross_compiling=yes … … 1203 1246 ac_ls_di=`ls -di .` && 1204 1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1205 as_fn_error $? "working directory cannot be determined" 1248 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1249 { (exit 1); exit 1; }; } 1206 1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1207 as_fn_error $? "pwd does not report name of working directory" 1251 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1252 { (exit 1); exit 1; }; } 1208 1253 1209 1254 … … 1244 1289 if test ! -r "$srcdir/$ac_unique_file"; then 1245 1290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1246 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1291 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1292 { (exit 1); exit 1; }; } 1247 1293 fi 1248 1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1249 1295 ac_abs_confdir=`( 1250 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1296 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1297 { (exit 1); exit 1; }; } 1251 1298 pwd)` 1252 1299 # When building in place, set srcdir=. … … 1288 1335 --help=recursive display the short help of all the included packages 1289 1336 -V, --version display version information and exit 1290 -q, --quiet, --silent do not print \`checking 1337 -q, --quiet, --silent do not print \`checking...' messages 1291 1338 --cache-file=FILE cache test results in FILE [disabled] 1292 1339 -C, --config-cache alias for \`--cache-file=config.cache' … … 1355 1402 --disable-accentfold Disable Accent Folding for MGPP 1356 1403 --disable-sqlite Disable SQLite support 1404 --enable-gnome-lib-ext Enable the gnome-lib extension 1357 1405 1358 1406 Optional Packages: … … 1370 1418 nonstandard directory <lib dir> 1371 1419 LIBS libraries to pass to the linker, e.g. -l<library> 1372 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1420 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1373 1421 you have headers in a nonstandard directory <include dir> 1374 1422 CXX C++ compiler command 1375 1423 CXXFLAGS C++ compiler flags 1376 YACC The `Yet Another Compiler Compiler' implementation to use. 1377 Defaults to the first program found out of: `bison -y', `byacc', 1378 `yacc'. 1424 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1425 the first program found out of: `bison -y', `byacc', `yacc'. 1379 1426 YFLAGS The list of arguments that will be passed by default to $YACC. 1380 1427 This script will default YFLAGS to the empty string to avoid a … … 1385 1432 it to find libraries and programs with nonstandard names/locations. 1386 1433 1387 Report bugs to the package provider.1388 1434 _ACEOF 1389 1435 ac_status=$? … … 1449 1495 cat <<\_ACEOF 1450 1496 configure 1451 generated by GNU Autoconf 2.68 1452 1453 Copyright (C) 2010 Free Software Foundation, Inc. 1497 generated by GNU Autoconf 2.63 1498 1499 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1500 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1454 1501 This configure script is free software; the Free Software Foundation 1455 1502 gives unlimited permission to copy, distribute and modify it. … … 1457 1504 exit 1458 1505 fi 1459 1460 ## ------------------------ ##1461 ## Autoconf initialization. ##1462 ## ------------------------ ##1463 1464 # ac_fn_c_try_compile LINENO1465 # --------------------------1466 # Try to compile conftest.$ac_ext, and return whether this succeeded.1467 ac_fn_c_try_compile ()1468 {1469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1470 rm -f conftest.$ac_objext1471 if { { ac_try="$ac_compile"1472 case "(($ac_try" in1473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1474 *) ac_try_echo=$ac_try;;1475 esac1476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1477 $as_echo "$ac_try_echo"; } >&51478 (eval "$ac_compile") 2>conftest.err1479 ac_status=$?1480 if test -s conftest.err; then1481 grep -v '^ *+' conftest.err >conftest.er11482 cat conftest.er1 >&51483 mv -f conftest.er1 conftest.err1484 fi1485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51486 test $ac_status = 0; } && {1487 test -z "$ac_c_werror_flag" ||1488 test ! -s conftest.err1489 } && test -s conftest.$ac_objext; then :1490 ac_retval=01491 else1492 $as_echo "$as_me: failed program was:" >&51493 sed 's/^/| /' conftest.$ac_ext >&51494 1495 ac_retval=11496 fi1497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1498 as_fn_set_status $ac_retval1499 1500 } # ac_fn_c_try_compile1501 1502 # ac_fn_cxx_try_compile LINENO1503 # ----------------------------1504 # Try to compile conftest.$ac_ext, and return whether this succeeded.1505 ac_fn_cxx_try_compile ()1506 {1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1508 rm -f conftest.$ac_objext1509 if { { ac_try="$ac_compile"1510 case "(($ac_try" in1511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1512 *) ac_try_echo=$ac_try;;1513 esac1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1515 $as_echo "$ac_try_echo"; } >&51516 (eval "$ac_compile") 2>conftest.err1517 ac_status=$?1518 if test -s conftest.err; then1519 grep -v '^ *+' conftest.err >conftest.er11520 cat conftest.er1 >&51521 mv -f conftest.er1 conftest.err1522 fi1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51524 test $ac_status = 0; } && {1525 test -z "$ac_cxx_werror_flag" ||1526 test ! -s conftest.err1527 } && test -s conftest.$ac_objext; then :1528 ac_retval=01529 else1530 $as_echo "$as_me: failed program was:" >&51531 sed 's/^/| /' conftest.$ac_ext >&51532 1533 ac_retval=11534 fi1535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1536 as_fn_set_status $ac_retval1537 1538 } # ac_fn_cxx_try_compile1539 1540 # ac_fn_c_try_cpp LINENO1541 # ----------------------1542 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1543 ac_fn_c_try_cpp ()1544 {1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1546 if { { ac_try="$ac_cpp conftest.$ac_ext"1547 case "(($ac_try" in1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1549 *) ac_try_echo=$ac_try;;1550 esac1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1552 $as_echo "$ac_try_echo"; } >&51553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1554 ac_status=$?1555 if test -s conftest.err; then1556 grep -v '^ *+' conftest.err >conftest.er11557 cat conftest.er1 >&51558 mv -f conftest.er1 conftest.err1559 fi1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51561 test $ac_status = 0; } > conftest.i && {1562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1563 test ! -s conftest.err1564 }; then :1565 ac_retval=01566 else1567 $as_echo "$as_me: failed program was:" >&51568 sed 's/^/| /' conftest.$ac_ext >&51569 1570 ac_retval=11571 fi1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1573 as_fn_set_status $ac_retval1574 1575 } # ac_fn_c_try_cpp1576 1577 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1578 # -------------------------------------------------------1579 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1580 # the include files in INCLUDES and setting the cache variable VAR1581 # accordingly.1582 ac_fn_c_check_header_mongrel ()1583 {1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1585 if eval \${$3+:} false; then :1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51587 $as_echo_n "checking for $2... " >&6; }1588 if eval \${$3+:} false; then :1589 $as_echo_n "(cached) " >&61590 fi1591 eval ac_res=\$$31592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51593 $as_echo "$ac_res" >&6; }1594 else1595 # Is the header compilable?1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51597 $as_echo_n "checking $2 usability... " >&6; }1598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1599 /* end confdefs.h. */1600 $41601 #include <$2>1602 _ACEOF1603 if ac_fn_c_try_compile "$LINENO"; then :1604 ac_header_compiler=yes1605 else1606 ac_header_compiler=no1607 fi1608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51610 $as_echo "$ac_header_compiler" >&6; }1611 1612 # Is the header present?1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51614 $as_echo_n "checking $2 presence... " >&6; }1615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1616 /* end confdefs.h. */1617 #include <$2>1618 _ACEOF1619 if ac_fn_c_try_cpp "$LINENO"; then :1620 ac_header_preproc=yes1621 else1622 ac_header_preproc=no1623 fi1624 rm -f conftest.err conftest.i conftest.$ac_ext1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51626 $as_echo "$ac_header_preproc" >&6; }1627 1628 # So? What about this header?1629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1630 yes:no: )1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51632 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1635 ;;1636 no:yes:* )1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51638 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51640 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51642 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51644 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51646 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1647 ;;1648 esac1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51650 $as_echo_n "checking for $2... " >&6; }1651 if eval \${$3+:} false; then :1652 $as_echo_n "(cached) " >&61653 else1654 eval "$3=\$ac_header_compiler"1655 fi1656 eval ac_res=\$$31657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51658 $as_echo "$ac_res" >&6; }1659 fi1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1661 1662 } # ac_fn_c_check_header_mongrel1663 1664 # ac_fn_c_try_run LINENO1665 # ----------------------1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1667 # that executables *can* be run.1668 ac_fn_c_try_run ()1669 {1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1671 if { { ac_try="$ac_link"1672 case "(($ac_try" in1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1674 *) ac_try_echo=$ac_try;;1675 esac1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1677 $as_echo "$ac_try_echo"; } >&51678 (eval "$ac_link") 2>&51679 ac_status=$?1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51681 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1682 { { case "(($ac_try" in1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1684 *) ac_try_echo=$ac_try;;1685 esac1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1687 $as_echo "$ac_try_echo"; } >&51688 (eval "$ac_try") 2>&51689 ac_status=$?1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51691 test $ac_status = 0; }; }; then :1692 ac_retval=01693 else1694 $as_echo "$as_me: program exited with status $ac_status" >&51695 $as_echo "$as_me: failed program was:" >&51696 sed 's/^/| /' conftest.$ac_ext >&51697 1698 ac_retval=$ac_status1699 fi1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1702 as_fn_set_status $ac_retval1703 1704 } # ac_fn_c_try_run1705 1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1707 # -------------------------------------------------------1708 # Tests whether HEADER exists and can be compiled using the include files in1709 # INCLUDES, setting the cache variable VAR accordingly.1710 ac_fn_c_check_header_compile ()1711 {1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51714 $as_echo_n "checking for $2... " >&6; }1715 if eval \${$3+:} false; then :1716 $as_echo_n "(cached) " >&61717 else1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1719 /* end confdefs.h. */1720 $41721 #include <$2>1722 _ACEOF1723 if ac_fn_c_try_compile "$LINENO"; then :1724 eval "$3=yes"1725 else1726 eval "$3=no"1727 fi1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1729 fi1730 eval ac_res=\$$31731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51732 $as_echo "$ac_res" >&6; }1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1734 1735 } # ac_fn_c_check_header_compile1736 1737 # ac_fn_c_try_link LINENO1738 # -----------------------1739 # Try to link conftest.$ac_ext, and return whether this succeeded.1740 ac_fn_c_try_link ()1741 {1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1743 rm -f conftest.$ac_objext conftest$ac_exeext1744 if { { ac_try="$ac_link"1745 case "(($ac_try" in1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1747 *) ac_try_echo=$ac_try;;1748 esac1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1750 $as_echo "$ac_try_echo"; } >&51751 (eval "$ac_link") 2>conftest.err1752 ac_status=$?1753 if test -s conftest.err; then1754 grep -v '^ *+' conftest.err >conftest.er11755 cat conftest.er1 >&51756 mv -f conftest.er1 conftest.err1757 fi1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51759 test $ac_status = 0; } && {1760 test -z "$ac_c_werror_flag" ||1761 test ! -s conftest.err1762 } && test -s conftest$ac_exeext && {1763 test "$cross_compiling" = yes ||1764 $as_test_x conftest$ac_exeext1765 }; then :1766 ac_retval=01767 else1768 $as_echo "$as_me: failed program was:" >&51769 sed 's/^/| /' conftest.$ac_ext >&51770 1771 ac_retval=11772 fi1773 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1774 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1775 # interfere with the next link command; also delete a directory that is1776 # left behind by Apple's compiler. We do this before executing the actions.1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1779 as_fn_set_status $ac_retval1780 1781 } # ac_fn_c_try_link1782 1783 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES1784 # -------------------------------------------1785 # Tests whether TYPE exists after having included INCLUDES, setting cache1786 # variable VAR accordingly.1787 ac_fn_c_check_type ()1788 {1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51791 $as_echo_n "checking for $2... " >&6; }1792 if eval \${$3+:} false; then :1793 $as_echo_n "(cached) " >&61794 else1795 eval "$3=no"1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1797 /* end confdefs.h. */1798 $41799 int1800 main ()1801 {1802 if (sizeof ($2))1803 return 0;1804 ;1805 return 0;1806 }1807 _ACEOF1808 if ac_fn_c_try_compile "$LINENO"; then :1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1810 /* end confdefs.h. */1811 $41812 int1813 main ()1814 {1815 if (sizeof (($2)))1816 return 0;1817 ;1818 return 0;1819 }1820 _ACEOF1821 if ac_fn_c_try_compile "$LINENO"; then :1822 1823 else1824 eval "$3=yes"1825 fi1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1827 fi1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1829 fi1830 eval ac_res=\$$31831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51832 $as_echo "$ac_res" >&6; }1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1834 1835 } # ac_fn_c_check_type1836 1837 # ac_fn_c_check_func LINENO FUNC VAR1838 # ----------------------------------1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly1840 ac_fn_c_check_func ()1841 {1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51844 $as_echo_n "checking for $2... " >&6; }1845 if eval \${$3+:} false; then :1846 $as_echo_n "(cached) " >&61847 else1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1849 /* end confdefs.h. */1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1851 For example, HP-UX 11i <limits.h> declares gettimeofday. */1852 #define $2 innocuous_$21853 1854 /* System header to define __stub macros and hopefully few prototypes,1855 which can conflict with char $2 (); below.1856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1857 <limits.h> exists even on freestanding compilers. */1858 1859 #ifdef __STDC__1860 # include <limits.h>1861 #else1862 # include <assert.h>1863 #endif1864 1865 #undef $21866 1867 /* Override any GCC internal prototype to avoid an error.1868 Use char because int might match the return type of a GCC1869 builtin and then its argument prototype would still apply. */1870 #ifdef __cplusplus1871 extern "C"1872 #endif1873 char $2 ();1874 /* The GNU C library defines this for functions which it implements1875 to always fail with ENOSYS. Some functions are actually named1876 something starting with __ and the normal name is an alias. */1877 #if defined __stub_$2 || defined __stub___$21878 choke me1879 #endif1880 1881 int1882 main ()1883 {1884 return $2 ();1885 ;1886 return 0;1887 }1888 _ACEOF1889 if ac_fn_c_try_link "$LINENO"; then :1890 eval "$3=yes"1891 else1892 eval "$3=no"1893 fi1894 rm -f core conftest.err conftest.$ac_objext \1895 conftest$ac_exeext conftest.$ac_ext1896 fi1897 eval ac_res=\$$31898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51899 $as_echo "$ac_res" >&6; }1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1901 1902 } # ac_fn_c_check_func1903 1904 # ac_fn_cxx_try_run LINENO1905 # ------------------------1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1907 # that executables *can* be run.1908 ac_fn_cxx_try_run ()1909 {1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1911 if { { ac_try="$ac_link"1912 case "(($ac_try" in1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1914 *) ac_try_echo=$ac_try;;1915 esac1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1917 $as_echo "$ac_try_echo"; } >&51918 (eval "$ac_link") 2>&51919 ac_status=$?1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51921 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1922 { { case "(($ac_try" in1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1924 *) ac_try_echo=$ac_try;;1925 esac1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1927 $as_echo "$ac_try_echo"; } >&51928 (eval "$ac_try") 2>&51929 ac_status=$?1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51931 test $ac_status = 0; }; }; then :1932 ac_retval=01933 else1934 $as_echo "$as_me: program exited with status $ac_status" >&51935 $as_echo "$as_me: failed program was:" >&51936 sed 's/^/| /' conftest.$ac_ext >&51937 1938 ac_retval=$ac_status1939 fi1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1942 as_fn_set_status $ac_retval1943 1944 } # ac_fn_cxx_try_run1945 1506 cat >config.log <<_ACEOF 1946 1507 This file contains any messages produced by compilers while … … 1948 1509 1949 1510 It was created by $as_me, which was 1950 generated by GNU Autoconf 2.6 8. Invocation command line was1511 generated by GNU Autoconf 2.63. Invocation command line was 1951 1512 1952 1513 $ $0 $@ … … 1984 1545 IFS=$as_save_IFS 1985 1546 test -z "$as_dir" && as_dir=. 1986 1987 1547 $as_echo "PATH: $as_dir" 1548 done 1988 1549 IFS=$as_save_IFS 1989 1550 … … 2022 1583 esac 2023 1584 case $ac_pass in 2024 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1585 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2025 1586 2) 2026 a s_fn_append ac_configure_args1 "'$ac_arg'"1587 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2027 1588 if test $ac_must_keep_next = true; then 2028 1589 ac_must_keep_next=false # Got value, back to normal. … … 2040 1601 esac 2041 1602 fi 2042 a s_fn_append ac_configure_args "'$ac_arg'"1603 ac_configure_args="$ac_configure_args '$ac_arg'" 2043 1604 ;; 2044 1605 esac 2045 1606 done 2046 1607 done 2047 { ac_configure_args0=; unset ac_configure_args0;}2048 { ac_configure_args1=; unset ac_configure_args1;}1608 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1609 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2049 1610 2050 1611 # When interrupted or exit'd, cleanup temporary files, and complete … … 2058 1619 echo 2059 1620 2060 $as_echo "## ---------------- ## 1621 cat <<\_ASBOX 1622 ## ---------------- ## 2061 1623 ## Cache variables. ## 2062 ## ---------------- ##" 1624 ## ---------------- ## 1625 _ASBOX 2063 1626 echo 2064 1627 # The following way of writing the cache mishandles newlines in values, … … 2069 1632 *${as_nl}*) 2070 1633 case $ac_var in #( 2071 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51634 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2072 1635 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2073 1636 esac … … 2075 1638 _ | IFS | as_nl) ;; #( 2076 1639 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2077 *) { eval $ac_var=; unset $ac_var;};;1640 *) $as_unset $ac_var ;; 2078 1641 esac ;; 2079 1642 esac … … 2094 1657 echo 2095 1658 2096 $as_echo "## ----------------- ## 1659 cat <<\_ASBOX 1660 ## ----------------- ## 2097 1661 ## Output variables. ## 2098 ## ----------------- ##" 1662 ## ----------------- ## 1663 _ASBOX 2099 1664 echo 2100 1665 for ac_var in $ac_subst_vars … … 2109 1674 2110 1675 if test -n "$ac_subst_files"; then 2111 $as_echo "## ------------------- ## 1676 cat <<\_ASBOX 1677 ## ------------------- ## 2112 1678 ## File substitutions. ## 2113 ## ------------------- ##" 1679 ## ------------------- ## 1680 _ASBOX 2114 1681 echo 2115 1682 for ac_var in $ac_subst_files … … 2125 1692 2126 1693 if test -s confdefs.h; then 2127 $as_echo "## ----------- ## 1694 cat <<\_ASBOX 1695 ## ----------- ## 2128 1696 ## confdefs.h. ## 2129 ## ----------- ##" 1697 ## ----------- ## 1698 _ASBOX 2130 1699 echo 2131 1700 cat confdefs.h … … 2141 1710 ' 0 2142 1711 for ac_signal in 1 2 13 15; do 2143 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1712 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2144 1713 done 2145 1714 ac_signal=0 … … 2148 1717 rm -f -r conftest* confdefs.h 2149 1718 2150 $as_echo "/* confdefs.h */" > confdefs.h2151 2152 1719 # Predefined preprocessor variables. 2153 1720 … … 2156 1723 _ACEOF 2157 1724 1725 2158 1726 cat >>confdefs.h <<_ACEOF 2159 1727 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2160 1728 _ACEOF 2161 1729 1730 2162 1731 cat >>confdefs.h <<_ACEOF 2163 1732 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2164 1733 _ACEOF 2165 1734 1735 2166 1736 cat >>confdefs.h <<_ACEOF 2167 1737 #define PACKAGE_STRING "$PACKAGE_STRING" 2168 1738 _ACEOF 2169 1739 1740 2170 1741 cat >>confdefs.h <<_ACEOF 2171 1742 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2172 _ACEOF2173 2174 cat >>confdefs.h <<_ACEOF2175 #define PACKAGE_URL "$PACKAGE_URL"2176 1743 _ACEOF 2177 1744 … … 2182 1749 ac_site_file2=NONE 2183 1750 if test -n "$CONFIG_SITE"; then 2184 # We do not want a PATH search for config.site. 2185 case $CONFIG_SITE in #(( 2186 -*) ac_site_file1=./$CONFIG_SITE;; 2187 */*) ac_site_file1=$CONFIG_SITE;; 2188 *) ac_site_file1=./$CONFIG_SITE;; 2189 esac 1751 ac_site_file1=$CONFIG_SITE 2190 1752 elif test "x$prefix" != xNONE; then 2191 1753 ac_site_file1=$prefix/share/config.site … … 2198 1760 do 2199 1761 test "x$ac_site_file" = xNONE && continue 2200 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2201 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51762 if test -r "$ac_site_file"; then 1763 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2202 1764 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2203 1765 sed 's/^/| /' "$ac_site_file" >&5 2204 . "$ac_site_file" \ 2205 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2207 as_fn_error $? "failed to load site script $ac_site_file 2208 See \`config.log' for more details" "$LINENO" 5; } 1766 . "$ac_site_file" 2209 1767 fi 2210 1768 done 2211 1769 2212 1770 if test -r "$cache_file"; then 2213 # Some versions of bash will fail to source /dev/null (special files2214 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2215 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2216 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51771 # Some versions of bash will fail to source /dev/null (special 1772 # files actually), so we avoid doing that. 1773 if test -f "$cache_file"; then 1774 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2217 1775 $as_echo "$as_me: loading cache $cache_file" >&6;} 2218 1776 case $cache_file in … … 2222 1780 fi 2223 1781 else 2224 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51782 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2225 1783 $as_echo "$as_me: creating cache $cache_file" >&6;} 2226 1784 >$cache_file … … 2237 1795 case $ac_old_set,$ac_new_set in 2238 1796 set,) 2239 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51797 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2240 1798 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2241 1799 ac_cache_corrupted=: ;; 2242 1800 ,set) 2243 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51801 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2244 1802 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2245 1803 ac_cache_corrupted=: ;; … … 2251 1809 ac_new_val_w=`echo x $ac_new_val` 2252 1810 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2253 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51811 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2254 1812 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2255 1813 ac_cache_corrupted=: 2256 1814 else 2257 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51815 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2258 1816 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2259 1817 eval $ac_var=\$ac_old_val 2260 1818 fi 2261 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51819 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2262 1820 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2263 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51821 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2264 1822 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2265 1823 fi;; … … 2273 1831 case " $ac_configure_args " in 2274 1832 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2275 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1833 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2276 1834 esac 2277 1835 fi 2278 1836 done 2279 1837 if $ac_cache_corrupted; then 2280 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51838 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2281 1839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2282 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51840 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2283 1841 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2284 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2285 fi 2286 ## -------------------- ## 2287 ## Main body of script. ## 2288 ## -------------------- ## 1842 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1843 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1844 { (exit 1); exit 1; }; } 1845 fi 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 2289 1862 2290 1863 ac_ext=c … … 2314 1887 USE_FASTCGI=0 2315 1888 if test USE_FASTCGI = 1; then 2316 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1889 cat >>confdefs.h <<\_ACEOF 1890 #define USE_FASTCGI 1 1891 _ACEOF 2317 1892 2318 1893 … … 2320 1895 2321 1896 if test USE_LANGACTION = 1; then 2322 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 1897 cat >>confdefs.h <<\_ACEOF 1898 #define USE_LANGACTION 1 1899 _ACEOF 2323 1900 2324 1901 … … 2326 1903 2327 1904 # Check whether --enable-corba was given. 2328 if test "${enable_corba+set}" = set; then :1905 if test "${enable_corba+set}" = set; then 2329 1906 enableval=$enable_corba; USE_CORBA=$enableval 2330 1907 else … … 2334 1911 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 2335 1912 USE_CORBA=1 2336 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1913 cat >>confdefs.h <<\_ACEOF 1914 #define USE_CORBA /**/ 1915 _ACEOF 2337 1916 2338 1917 else … … 2343 1922 2344 1923 # Check whether --with-micodir was given. 2345 if test "${with_micodir+set}" = set; then :1924 if test "${with_micodir+set}" = set; then 2346 1925 withval=$with_micodir; MICO_DIR=$withval 2347 1926 else … … 2356 1935 2357 1936 # Check whether --enable-z3950 was given. 2358 if test "${enable_z3950+set}" = set; then :1937 if test "${enable_z3950+set}" = set; then 2359 1938 enableval=$enable_z3950; USE_Z3950=$enableval 2360 1939 else … … 2364 1943 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 2365 1944 USE_Z3950=1 2366 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1945 cat >>confdefs.h <<\_ACEOF 1946 #define USE_Z3950 /**/ 1947 _ACEOF 2367 1948 2368 1949 else … … 2372 1953 2373 1954 # Check whether --enable-yaz was given. 2374 if test "${enable_yaz+set}" = set; then :1955 if test "${enable_yaz+set}" = set; then 2375 1956 enableval=$enable_yaz; USE_YAZ=$enableval 2376 1957 else … … 2380 1961 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 2381 1962 USE_YAZ=1 2382 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1963 cat >>confdefs.h <<\_ACEOF 1964 #define USE_YAZ /**/ 1965 _ACEOF 2383 1966 2384 1967 else … … 2388 1971 2389 1972 # Check whether --enable-java was given. 2390 if test "${enable_java+set}" = set; then :1973 if test "${enable_java+set}" = set; then 2391 1974 enableval=$enable_java; ENABLE_JAVA=$enableval 2392 1975 else … … 2408 1991 2409 1992 # Check whether --enable-wvware was given. 2410 if test "${enable_wvware+set}" = set; then :1993 if test "${enable_wvware+set}" = set; then 2411 1994 enableval=$enable_wvware; USE_WVWARE=$enableval 2412 1995 else … … 2416 1999 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 2417 2000 USE_WVWARE=1 2418 $as_echo "#define USE_WVWARE /**/" >>confdefs.h 2001 cat >>confdefs.h <<\_ACEOF 2002 #define USE_WVWARE /**/ 2003 _ACEOF 2419 2004 2420 2005 else … … 2424 2009 2425 2010 # Check whether --enable-jdbm was given. 2426 if test "${enable_jdbm+set}" = set; then :2011 if test "${enable_jdbm+set}" = set; then 2427 2012 enableval=$enable_jdbm; USE_JDBM=$enableval 2428 2013 else … … 2432 2017 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 2433 2018 USE_JDBM=1 2434 $as_echo "#define USE_JDBM /**/" >>confdefs.h 2019 cat >>confdefs.h <<\_ACEOF 2020 #define USE_JDBM /**/ 2021 _ACEOF 2435 2022 2436 2023 else … … 2440 2027 2441 2028 # Check whether --enable-gdbm was given. 2442 if test "${enable_gdbm+set}" = set; then :2029 if test "${enable_gdbm+set}" = set; then 2443 2030 enableval=$enable_gdbm; USE_GDBM=$enableval 2444 2031 else … … 2448 2035 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 2449 2036 USE_GDBM=1 2450 $as_echo "#define USE_GDBM /**/" >>confdefs.h 2037 cat >>confdefs.h <<\_ACEOF 2038 #define USE_GDBM /**/ 2039 _ACEOF 2451 2040 2452 2041 else … … 2456 2045 2457 2046 # Check whether --enable-accentfold was given. 2458 if test "${enable_accentfold+set}" = set; then :2047 if test "${enable_accentfold+set}" = set; then 2459 2048 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 2460 2049 else … … 2464 2053 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 2465 2054 ENABLE_ACCENTFOLD=1 2466 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 2055 cat >>confdefs.h <<\_ACEOF 2056 #define ENABLE_ACCENTFOLD /**/ 2057 _ACEOF 2467 2058 2468 2059 else … … 2472 2063 2473 2064 # Check whether --enable-sqlite was given. 2474 if test "${enable_sqlite+set}" = set; then :2065 if test "${enable_sqlite+set}" = set; then 2475 2066 enableval=$enable_sqlite; USE_SQLITE=$enableval 2476 2067 else … … 2480 2071 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 2481 2072 USE_SQLITE=1 2482 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 2073 cat >>confdefs.h <<\_ACEOF 2074 #define USE_SQLITE /**/ 2075 _ACEOF 2483 2076 2484 2077 else 2485 2078 USE_SQLITE=0 2079 fi 2080 2081 2082 # Check whether --enable-gnome-lib-ext was given. 2083 if test "${enable_gnome_lib_ext+set}" = set; then 2084 enableval=$enable_gnome_lib_ext; ENABLE_GNOMELIB_EXT=1 2085 else 2086 ENABLE_GNOMELIB_EXT=0 2087 fi 2088 2089 2090 if test -z "$GSDLHOME"; then 2091 gshome=.. 2092 else 2093 gshome=$GSDLHOME 2094 fi 2095 if test -d $gshome/ext/gnome-lib ; then 2096 cat >>confdefs.h <<\_ACEOF 2097 #define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT 2098 _ACEOF 2099 2100 elif test -d $gshome/ext/gnome-lib-minimal ; then 2101 cat >>confdefs.h <<\_ACEOF 2102 #define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT 2103 _ACEOF 2104 2105 else 2106 echo "**** WARNING: No gnome-lib or gnome-lib-minimal in gs2build/ext folder. Disabling gnome-lib-ext" 2107 cat >>confdefs.h <<\_ACEOF 2108 #define ENABLE_GNOMELIB_EXT 0 2109 _ACEOF 2110 2486 2111 fi 2487 2112 … … 2503 2128 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2504 2129 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2505 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52130 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2506 2131 $as_echo_n "checking for $ac_word... " >&6; } 2507 if ${ac_cv_prog_CC+:} false; then :2132 if test "${ac_cv_prog_CC+set}" = set; then 2508 2133 $as_echo_n "(cached) " >&6 2509 2134 else … … 2516 2141 IFS=$as_save_IFS 2517 2142 test -z "$as_dir" && as_dir=. 2518 2143 for ac_exec_ext in '' $ac_executable_extensions; do 2519 2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2520 2145 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2521 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52146 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2522 2147 break 2 2523 2148 fi 2524 2149 done 2525 2150 done 2526 2151 IFS=$as_save_IFS 2527 2152 … … 2530 2155 CC=$ac_cv_prog_CC 2531 2156 if test -n "$CC"; then 2532 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52157 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2533 2158 $as_echo "$CC" >&6; } 2534 2159 else 2535 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52160 { $as_echo "$as_me:$LINENO: result: no" >&5 2536 2161 $as_echo "no" >&6; } 2537 2162 fi … … 2543 2168 # Extract the first word of "gcc", so it can be a program name with args. 2544 2169 set dummy gcc; ac_word=$2 2545 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2546 2171 $as_echo_n "checking for $ac_word... " >&6; } 2547 if ${ac_cv_prog_ac_ct_CC+:} false; then :2172 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2548 2173 $as_echo_n "(cached) " >&6 2549 2174 else … … 2556 2181 IFS=$as_save_IFS 2557 2182 test -z "$as_dir" && as_dir=. 2558 2183 for ac_exec_ext in '' $ac_executable_extensions; do 2559 2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2560 2185 ac_cv_prog_ac_ct_CC="gcc" 2561 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2562 2187 break 2 2563 2188 fi 2564 2189 done 2565 2190 done 2566 2191 IFS=$as_save_IFS 2567 2192 … … 2570 2195 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2571 2196 if test -n "$ac_ct_CC"; then 2572 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52197 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2573 2198 $as_echo "$ac_ct_CC" >&6; } 2574 2199 else 2575 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52200 { $as_echo "$as_me:$LINENO: result: no" >&5 2576 2201 $as_echo "no" >&6; } 2577 2202 fi … … 2582 2207 case $cross_compiling:$ac_tool_warned in 2583 2208 yes:) 2584 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52209 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2585 2210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2586 2211 ac_tool_warned=yes ;; … … 2596 2221 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2597 2222 set dummy ${ac_tool_prefix}cc; ac_word=$2 2598 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52223 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2599 2224 $as_echo_n "checking for $ac_word... " >&6; } 2600 if ${ac_cv_prog_CC+:} false; then :2225 if test "${ac_cv_prog_CC+set}" = set; then 2601 2226 $as_echo_n "(cached) " >&6 2602 2227 else … … 2609 2234 IFS=$as_save_IFS 2610 2235 test -z "$as_dir" && as_dir=. 2611 2236 for ac_exec_ext in '' $ac_executable_extensions; do 2612 2237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2613 2238 ac_cv_prog_CC="${ac_tool_prefix}cc" 2614 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52239 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2615 2240 break 2 2616 2241 fi 2617 2242 done 2618 2243 done 2619 2244 IFS=$as_save_IFS 2620 2245 … … 2623 2248 CC=$ac_cv_prog_CC 2624 2249 if test -n "$CC"; then 2625 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52250 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2626 2251 $as_echo "$CC" >&6; } 2627 2252 else 2628 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52253 { $as_echo "$as_me:$LINENO: result: no" >&5 2629 2254 $as_echo "no" >&6; } 2630 2255 fi … … 2636 2261 # Extract the first word of "cc", so it can be a program name with args. 2637 2262 set dummy cc; ac_word=$2 2638 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2639 2264 $as_echo_n "checking for $ac_word... " >&6; } 2640 if ${ac_cv_prog_CC+:} false; then :2265 if test "${ac_cv_prog_CC+set}" = set; then 2641 2266 $as_echo_n "(cached) " >&6 2642 2267 else … … 2650 2275 IFS=$as_save_IFS 2651 2276 test -z "$as_dir" && as_dir=. 2652 2277 for ac_exec_ext in '' $ac_executable_extensions; do 2653 2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2654 2279 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2657 2282 fi 2658 2283 ac_cv_prog_CC="cc" 2659 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2660 2285 break 2 2661 2286 fi 2662 2287 done 2663 2288 done 2664 2289 IFS=$as_save_IFS 2665 2290 … … 2680 2305 CC=$ac_cv_prog_CC 2681 2306 if test -n "$CC"; then 2682 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52307 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2683 2308 $as_echo "$CC" >&6; } 2684 2309 else 2685 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52310 { $as_echo "$as_me:$LINENO: result: no" >&5 2686 2311 $as_echo "no" >&6; } 2687 2312 fi … … 2695 2320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2696 2321 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2697 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52322 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2698 2323 $as_echo_n "checking for $ac_word... " >&6; } 2699 if ${ac_cv_prog_CC+:} false; then :2324 if test "${ac_cv_prog_CC+set}" = set; then 2700 2325 $as_echo_n "(cached) " >&6 2701 2326 else … … 2708 2333 IFS=$as_save_IFS 2709 2334 test -z "$as_dir" && as_dir=. 2710 2335 for ac_exec_ext in '' $ac_executable_extensions; do 2711 2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2712 2337 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2713 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52338 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2714 2339 break 2 2715 2340 fi 2716 2341 done 2717 2342 done 2718 2343 IFS=$as_save_IFS 2719 2344 … … 2722 2347 CC=$ac_cv_prog_CC 2723 2348 if test -n "$CC"; then 2724 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52349 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2725 2350 $as_echo "$CC" >&6; } 2726 2351 else 2727 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52352 { $as_echo "$as_me:$LINENO: result: no" >&5 2728 2353 $as_echo "no" >&6; } 2729 2354 fi … … 2739 2364 # Extract the first word of "$ac_prog", so it can be a program name with args. 2740 2365 set dummy $ac_prog; ac_word=$2 2741 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2742 2367 $as_echo_n "checking for $ac_word... " >&6; } 2743 if ${ac_cv_prog_ac_ct_CC+:} false; then :2368 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2744 2369 $as_echo_n "(cached) " >&6 2745 2370 else … … 2752 2377 IFS=$as_save_IFS 2753 2378 test -z "$as_dir" && as_dir=. 2754 2379 for ac_exec_ext in '' $ac_executable_extensions; do 2755 2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2756 2381 ac_cv_prog_ac_ct_CC="$ac_prog" 2757 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52382 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2758 2383 break 2 2759 2384 fi 2760 2385 done 2761 2386 done 2762 2387 IFS=$as_save_IFS 2763 2388 … … 2766 2391 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2767 2392 if test -n "$ac_ct_CC"; then 2768 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52393 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2769 2394 $as_echo "$ac_ct_CC" >&6; } 2770 2395 else 2771 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52396 { $as_echo "$as_me:$LINENO: result: no" >&5 2772 2397 $as_echo "no" >&6; } 2773 2398 fi … … 2782 2407 case $cross_compiling:$ac_tool_warned in 2783 2408 yes:) 2784 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52409 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2785 2410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2786 2411 ac_tool_warned=yes ;; … … 2793 2418 2794 2419 2795 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52420 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2796 2421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2797 as_fn_error $? "no acceptable C compiler found in \$PATH 2798 See \`config.log' for more details" "$LINENO" 5; } 2422 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2423 See \`config.log' for more details." >&5 2424 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2425 See \`config.log' for more details." >&2;} 2426 { (exit 1); exit 1; }; }; } 2799 2427 2800 2428 # Provide some information about the compiler. 2801 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52429 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2802 2430 set X $ac_compile 2803 2431 ac_compiler=$2 2804 for ac_option in --version -v -V -qversion; do 2805 { { ac_try="$ac_compiler $ac_option >&5" 2432 { (ac_try="$ac_compiler --version >&5" 2806 2433 case "(($ac_try" in 2807 2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2808 2435 *) ac_try_echo=$ac_try;; 2809 2436 esac 2810 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2811 $as_echo "$ac_try_echo" ; }>&52812 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2438 $as_echo "$ac_try_echo") >&5 2439 (eval "$ac_compiler --version >&5") 2>&5 2813 2440 ac_status=$? 2814 if test -s conftest.err; then 2815 sed '10a\ 2816 ... rest of stderr output deleted ... 2817 10q' conftest.err >conftest.er1 2818 cat conftest.er1 >&5 2819 fi 2820 rm -f conftest.er1 conftest.err 2821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2822 test $ac_status = 0; } 2823 done 2824 2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2442 (exit $ac_status); } 2443 { (ac_try="$ac_compiler -v >&5" 2444 case "(($ac_try" in 2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2446 *) ac_try_echo=$ac_try;; 2447 esac 2448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2449 $as_echo "$ac_try_echo") >&5 2450 (eval "$ac_compiler -v >&5") 2>&5 2451 ac_status=$? 2452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2453 (exit $ac_status); } 2454 { (ac_try="$ac_compiler -V >&5" 2455 case "(($ac_try" in 2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2457 *) ac_try_echo=$ac_try;; 2458 esac 2459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2460 $as_echo "$ac_try_echo") >&5 2461 (eval "$ac_compiler -V >&5") 2>&5 2462 ac_status=$? 2463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2464 (exit $ac_status); } 2465 2466 cat >conftest.$ac_ext <<_ACEOF 2467 /* confdefs.h. */ 2468 _ACEOF 2469 cat confdefs.h >>conftest.$ac_ext 2470 cat >>conftest.$ac_ext <<_ACEOF 2826 2471 /* end confdefs.h. */ 2827 2472 … … 2839 2484 # It will help us diagnose broken compilers, and finding out an intuition 2840 2485 # of exeext. 2841 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&52842 $as_echo_n "checking whether the C compiler works... " >&6; }2486 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2487 $as_echo_n "checking for C compiler default output file name... " >&6; } 2843 2488 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2844 2489 … … 2856 2501 rm -f $ac_rmfiles 2857 2502 2858 if { {ac_try="$ac_link_default"2503 if { (ac_try="$ac_link_default" 2859 2504 case "(($ac_try" in 2860 2505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2861 2506 *) ac_try_echo=$ac_try;; 2862 2507 esac 2863 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2864 $as_echo "$ac_try_echo" ; }>&52508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2509 $as_echo "$ac_try_echo") >&5 2865 2510 (eval "$ac_link_default") 2>&5 2866 2511 ac_status=$? 2867 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52868 test $ac_status = 0; }; then :2512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2513 (exit $ac_status); }; then 2869 2514 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2870 2515 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2883 2528 break;; 2884 2529 *.* ) 2885 2530 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2886 2531 then :; else 2887 2532 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2902 2547 ac_file='' 2903 2548 fi 2904 if test -z "$ac_file"; then : 2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2906 $as_echo "no" >&6; } 2907 $as_echo "$as_me: failed program was:" >&5 2549 2550 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2551 $as_echo "$ac_file" >&6; } 2552 if test -z "$ac_file"; then 2553 $as_echo "$as_me: failed program was:" >&5 2908 2554 sed 's/^/| /' conftest.$ac_ext >&5 2909 2555 2910 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52556 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2911 2557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2912 as_fn_error 77 "C compiler cannot create executables 2913 See \`config.log' for more details" "$LINENO" 5; } 2914 else 2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2558 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2559 See \`config.log' for more details." >&5 2560 $as_echo "$as_me: error: C compiler cannot create executables 2561 See \`config.log' for more details." >&2;} 2562 { (exit 77); exit 77; }; }; } 2563 fi 2564 2565 ac_exeext=$ac_cv_exeext 2566 2567 # Check that the compiler produces executables we can run. If not, either 2568 # the compiler is broken, or we cross compile. 2569 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2570 $as_echo_n "checking whether the C compiler works... " >&6; } 2571 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2572 # If not cross compiling, check that we can run a simple program. 2573 if test "$cross_compiling" != yes; then 2574 if { ac_try='./$ac_file' 2575 { (case "(($ac_try" in 2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2577 *) ac_try_echo=$ac_try;; 2578 esac 2579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2580 $as_echo "$ac_try_echo") >&5 2581 (eval "$ac_try") 2>&5 2582 ac_status=$? 2583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2584 (exit $ac_status); }; }; then 2585 cross_compiling=no 2586 else 2587 if test "$cross_compiling" = maybe; then 2588 cross_compiling=yes 2589 else 2590 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2592 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2593 If you meant to cross compile, use \`--host'. 2594 See \`config.log' for more details." >&5 2595 $as_echo "$as_me: error: cannot run C compiled programs. 2596 If you meant to cross compile, use \`--host'. 2597 See \`config.log' for more details." >&2;} 2598 { (exit 1); exit 1; }; }; } 2599 fi 2600 fi 2601 fi 2602 { $as_echo "$as_me:$LINENO: result: yes" >&5 2916 2603 $as_echo "yes" >&6; } 2917 fi2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&52919 $as_echo_n "checking for C compiler default output file name... " >&6; }2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&52921 $as_echo "$ac_file" >&6; }2922 ac_exeext=$ac_cv_exeext2923 2604 2924 2605 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2925 2606 ac_clean_files=$ac_clean_files_save 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2607 # Check that the compiler produces executables we can run. If not, either 2608 # the compiler is broken, or we cross compile. 2609 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2610 $as_echo_n "checking whether we are cross compiling... " >&6; } 2611 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2612 $as_echo "$cross_compiling" >&6; } 2613 2614 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2927 2615 $as_echo_n "checking for suffix of executables... " >&6; } 2928 if { {ac_try="$ac_link"2616 if { (ac_try="$ac_link" 2929 2617 case "(($ac_try" in 2930 2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2931 2619 *) ac_try_echo=$ac_try;; 2932 2620 esac 2933 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""2934 $as_echo "$ac_try_echo" ; }>&52621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2622 $as_echo "$ac_try_echo") >&5 2935 2623 (eval "$ac_link") 2>&5 2936 2624 ac_status=$? 2937 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&52938 test $ac_status = 0; }; then :2625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2626 (exit $ac_status); }; then 2939 2627 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2940 2628 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2951 2639 done 2952 2640 else 2953 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52641 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2954 2642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2955 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2956 See \`config.log' for more details" "$LINENO" 5; } 2957 fi 2958 rm -f conftest conftest$ac_cv_exeext 2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2643 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2644 See \`config.log' for more details." >&5 2645 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2646 See \`config.log' for more details." >&2;} 2647 { (exit 1); exit 1; }; }; } 2648 fi 2649 2650 rm -f conftest$ac_cv_exeext 2651 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2960 2652 $as_echo "$ac_cv_exeext" >&6; } 2961 2653 … … 2963 2655 EXEEXT=$ac_cv_exeext 2964 2656 ac_exeext=$EXEEXT 2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2657 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2658 $as_echo_n "checking for suffix of object files... " >&6; } 2659 if test "${ac_cv_objext+set}" = set; then 2660 $as_echo_n "(cached) " >&6 2661 else 2662 cat >conftest.$ac_ext <<_ACEOF 2663 /* confdefs.h. */ 2664 _ACEOF 2665 cat confdefs.h >>conftest.$ac_ext 2666 cat >>conftest.$ac_ext <<_ACEOF 2966 2667 /* end confdefs.h. */ 2967 #include <stdio.h> 2668 2968 2669 int 2969 2670 main () 2970 2671 { 2971 FILE *f = fopen ("conftest.out", "w");2972 return ferror (f) || fclose (f) != 0;2973 2672 2974 2673 ; … … 2976 2675 } 2977 2676 _ACEOF 2978 ac_clean_files="$ac_clean_files conftest.out" 2979 # Check that the compiler produces executables we can run. If not, either 2980 # the compiler is broken, or we cross compile. 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2982 $as_echo_n "checking whether we are cross compiling... " >&6; } 2983 if test "$cross_compiling" != yes; then 2984 { { ac_try="$ac_link" 2677 rm -f conftest.o conftest.obj 2678 if { (ac_try="$ac_compile" 2985 2679 case "(($ac_try" in 2986 2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2987 2681 *) ac_try_echo=$ac_try;; 2988 2682 esac 2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2990 $as_echo "$ac_try_echo"; } >&5 2991 (eval "$ac_link") 2>&5 2992 ac_status=$? 2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2994 test $ac_status = 0; } 2995 if { ac_try='./conftest$ac_cv_exeext' 2996 { { case "(($ac_try" in 2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2998 *) ac_try_echo=$ac_try;; 2999 esac 3000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3001 $as_echo "$ac_try_echo"; } >&5 3002 (eval "$ac_try") 2>&5 3003 ac_status=$? 3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3005 test $ac_status = 0; }; }; then 3006 cross_compiling=no 3007 else 3008 if test "$cross_compiling" = maybe; then 3009 cross_compiling=yes 3010 else 3011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3013 as_fn_error $? "cannot run C compiled programs. 3014 If you meant to cross compile, use \`--host'. 3015 See \`config.log' for more details" "$LINENO" 5; } 3016 fi 3017 fi 3018 fi 3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3020 $as_echo "$cross_compiling" >&6; } 3021 3022 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3023 ac_clean_files=$ac_clean_files_save 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3025 $as_echo_n "checking for suffix of object files... " >&6; } 3026 if ${ac_cv_objext+:} false; then : 3027 $as_echo_n "(cached) " >&6 3028 else 3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3030 /* end confdefs.h. */ 3031 3032 int 3033 main () 3034 { 3035 3036 ; 3037 return 0; 3038 } 3039 _ACEOF 3040 rm -f conftest.o conftest.obj 3041 if { { ac_try="$ac_compile" 3042 case "(($ac_try" in 3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3044 *) ac_try_echo=$ac_try;; 3045 esac 3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3047 $as_echo "$ac_try_echo"; } >&5 2683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2684 $as_echo "$ac_try_echo") >&5 3048 2685 (eval "$ac_compile") 2>&5 3049 2686 ac_status=$? 3050 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53051 test $ac_status = 0; }; then :2687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2688 (exit $ac_status); }; then 3052 2689 for ac_file in conftest.o conftest.obj conftest.*; do 3053 2690 test -f "$ac_file" || continue; … … 3062 2699 sed 's/^/| /' conftest.$ac_ext >&5 3063 2700 3064 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52701 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3065 2702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3066 as_fn_error $? "cannot compute suffix of object files: cannot compile 3067 See \`config.log' for more details" "$LINENO" 5; } 3068 fi 2703 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2704 See \`config.log' for more details." >&5 2705 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2706 See \`config.log' for more details." >&2;} 2707 { (exit 1); exit 1; }; }; } 2708 fi 2709 3069 2710 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3070 2711 fi 3071 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52712 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3072 2713 $as_echo "$ac_cv_objext" >&6; } 3073 2714 OBJEXT=$ac_cv_objext 3074 2715 ac_objext=$OBJEXT 3075 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52716 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3076 2717 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3077 if ${ac_cv_c_compiler_gnu+:} false; then :2718 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3078 2719 $as_echo_n "(cached) " >&6 3079 2720 else 3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2721 cat >conftest.$ac_ext <<_ACEOF 2722 /* confdefs.h. */ 2723 _ACEOF 2724 cat confdefs.h >>conftest.$ac_ext 2725 cat >>conftest.$ac_ext <<_ACEOF 3081 2726 /* end confdefs.h. */ 3082 2727 … … 3092 2737 } 3093 2738 _ACEOF 3094 if ac_fn_c_try_compile "$LINENO"; then : 2739 rm -f conftest.$ac_objext 2740 if { (ac_try="$ac_compile" 2741 case "(($ac_try" in 2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2743 *) ac_try_echo=$ac_try;; 2744 esac 2745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2746 $as_echo "$ac_try_echo") >&5 2747 (eval "$ac_compile") 2>conftest.er1 2748 ac_status=$? 2749 grep -v '^ *+' conftest.er1 >conftest.err 2750 rm -f conftest.er1 2751 cat conftest.err >&5 2752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2753 (exit $ac_status); } && { 2754 test -z "$ac_c_werror_flag" || 2755 test ! -s conftest.err 2756 } && test -s conftest.$ac_objext; then 3095 2757 ac_compiler_gnu=yes 3096 2758 else 3097 ac_compiler_gnu=no 3098 fi 2759 $as_echo "$as_me: failed program was:" >&5 2760 sed 's/^/| /' conftest.$ac_ext >&5 2761 2762 ac_compiler_gnu=no 2763 fi 2764 3099 2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3100 2766 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3101 2767 3102 2768 fi 3103 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52769 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3104 2770 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3105 2771 if test $ac_compiler_gnu = yes; then … … 3110 2776 ac_test_CFLAGS=${CFLAGS+set} 3111 2777 ac_save_CFLAGS=$CFLAGS 3112 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&52778 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3113 2779 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3114 if ${ac_cv_prog_cc_g+:} false; then :2780 if test "${ac_cv_prog_cc_g+set}" = set; then 3115 2781 $as_echo_n "(cached) " >&6 3116 2782 else … … 3119 2785 ac_cv_prog_cc_g=no 3120 2786 CFLAGS="-g" 3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2787 cat >conftest.$ac_ext <<_ACEOF 2788 /* confdefs.h. */ 2789 _ACEOF 2790 cat confdefs.h >>conftest.$ac_ext 2791 cat >>conftest.$ac_ext <<_ACEOF 3122 2792 /* end confdefs.h. */ 3123 2793 … … 3130 2800 } 3131 2801 _ACEOF 3132 if ac_fn_c_try_compile "$LINENO"; then : 2802 rm -f conftest.$ac_objext 2803 if { (ac_try="$ac_compile" 2804 case "(($ac_try" in 2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2806 *) ac_try_echo=$ac_try;; 2807 esac 2808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2809 $as_echo "$ac_try_echo") >&5 2810 (eval "$ac_compile") 2>conftest.er1 2811 ac_status=$? 2812 grep -v '^ *+' conftest.er1 >conftest.err 2813 rm -f conftest.er1 2814 cat conftest.err >&5 2815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2816 (exit $ac_status); } && { 2817 test -z "$ac_c_werror_flag" || 2818 test ! -s conftest.err 2819 } && test -s conftest.$ac_objext; then 3133 2820 ac_cv_prog_cc_g=yes 3134 2821 else 3135 CFLAGS="" 3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2822 $as_echo "$as_me: failed program was:" >&5 2823 sed 's/^/| /' conftest.$ac_ext >&5 2824 2825 CFLAGS="" 2826 cat >conftest.$ac_ext <<_ACEOF 2827 /* confdefs.h. */ 2828 _ACEOF 2829 cat confdefs.h >>conftest.$ac_ext 2830 cat >>conftest.$ac_ext <<_ACEOF 3137 2831 /* end confdefs.h. */ 3138 2832 … … 3145 2839 } 3146 2840 _ACEOF 3147 if ac_fn_c_try_compile "$LINENO"; then : 3148 3149 else 3150 ac_c_werror_flag=$ac_save_c_werror_flag 2841 rm -f conftest.$ac_objext 2842 if { (ac_try="$ac_compile" 2843 case "(($ac_try" in 2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2845 *) ac_try_echo=$ac_try;; 2846 esac 2847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2848 $as_echo "$ac_try_echo") >&5 2849 (eval "$ac_compile") 2>conftest.er1 2850 ac_status=$? 2851 grep -v '^ *+' conftest.er1 >conftest.err 2852 rm -f conftest.er1 2853 cat conftest.err >&5 2854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); } && { 2856 test -z "$ac_c_werror_flag" || 2857 test ! -s conftest.err 2858 } && test -s conftest.$ac_objext; then 2859 : 2860 else 2861 $as_echo "$as_me: failed program was:" >&5 2862 sed 's/^/| /' conftest.$ac_ext >&5 2863 2864 ac_c_werror_flag=$ac_save_c_werror_flag 3151 2865 CFLAGS="-g" 3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2866 cat >conftest.$ac_ext <<_ACEOF 2867 /* confdefs.h. */ 2868 _ACEOF 2869 cat confdefs.h >>conftest.$ac_ext 2870 cat >>conftest.$ac_ext <<_ACEOF 3153 2871 /* end confdefs.h. */ 3154 2872 … … 3161 2879 } 3162 2880 _ACEOF 3163 if ac_fn_c_try_compile "$LINENO"; then : 2881 rm -f conftest.$ac_objext 2882 if { (ac_try="$ac_compile" 2883 case "(($ac_try" in 2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2885 *) ac_try_echo=$ac_try;; 2886 esac 2887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2888 $as_echo "$ac_try_echo") >&5 2889 (eval "$ac_compile") 2>conftest.er1 2890 ac_status=$? 2891 grep -v '^ *+' conftest.er1 >conftest.err 2892 rm -f conftest.er1 2893 cat conftest.err >&5 2894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2895 (exit $ac_status); } && { 2896 test -z "$ac_c_werror_flag" || 2897 test ! -s conftest.err 2898 } && test -s conftest.$ac_objext; then 3164 2899 ac_cv_prog_cc_g=yes 3165 fi 2900 else 2901 $as_echo "$as_me: failed program was:" >&5 2902 sed 's/^/| /' conftest.$ac_ext >&5 2903 2904 2905 fi 2906 3166 2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3167 2908 fi 2909 3168 2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3169 2911 fi 2912 3170 2913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3171 2914 ac_c_werror_flag=$ac_save_c_werror_flag 3172 2915 fi 3173 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52916 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3174 2917 $as_echo "$ac_cv_prog_cc_g" >&6; } 3175 2918 if test "$ac_test_CFLAGS" = set; then … … 3188 2931 fi 3189 2932 fi 3190 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52933 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3191 2934 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3192 if ${ac_cv_prog_cc_c89+:} false; then :2935 if test "${ac_cv_prog_cc_c89+set}" = set; then 3193 2936 $as_echo_n "(cached) " >&6 3194 2937 else 3195 2938 ac_cv_prog_cc_c89=no 3196 2939 ac_save_CC=$CC 3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2940 cat >conftest.$ac_ext <<_ACEOF 2941 /* confdefs.h. */ 2942 _ACEOF 2943 cat confdefs.h >>conftest.$ac_ext 2944 cat >>conftest.$ac_ext <<_ACEOF 3198 2945 /* end confdefs.h. */ 3199 2946 #include <stdarg.h> … … 3252 2999 do 3253 3000 CC="$ac_save_CC $ac_arg" 3254 if ac_fn_c_try_compile "$LINENO"; then : 3001 rm -f conftest.$ac_objext 3002 if { (ac_try="$ac_compile" 3003 case "(($ac_try" in 3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3005 *) ac_try_echo=$ac_try;; 3006 esac 3007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3008 $as_echo "$ac_try_echo") >&5 3009 (eval "$ac_compile") 2>conftest.er1 3010 ac_status=$? 3011 grep -v '^ *+' conftest.er1 >conftest.err 3012 rm -f conftest.er1 3013 cat conftest.err >&5 3014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3015 (exit $ac_status); } && { 3016 test -z "$ac_c_werror_flag" || 3017 test ! -s conftest.err 3018 } && test -s conftest.$ac_objext; then 3255 3019 ac_cv_prog_cc_c89=$ac_arg 3256 fi 3020 else 3021 $as_echo "$as_me: failed program was:" >&5 3022 sed 's/^/| /' conftest.$ac_ext >&5 3023 3024 3025 fi 3026 3257 3027 rm -f core conftest.err conftest.$ac_objext 3258 3028 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3265 3035 case "x$ac_cv_prog_cc_c89" in 3266 3036 x) 3267 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&53037 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3268 3038 $as_echo "none needed" >&6; } ;; 3269 3039 xno) 3270 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&53040 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3271 3041 $as_echo "unsupported" >&6; } ;; 3272 3042 *) 3273 3043 CC="$CC $ac_cv_prog_cc_c89" 3274 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&53044 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3275 3045 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3276 3046 esac 3277 if test "x$ac_cv_prog_cc_c89" != xno; then : 3278 3279 fi 3047 3280 3048 3281 3049 ac_ext=c … … 3299 3067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3300 3068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3301 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53069 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3302 3070 $as_echo_n "checking for $ac_word... " >&6; } 3303 if ${ac_cv_prog_CXX+:} false; then :3071 if test "${ac_cv_prog_CXX+set}" = set; then 3304 3072 $as_echo_n "(cached) " >&6 3305 3073 else … … 3312 3080 IFS=$as_save_IFS 3313 3081 test -z "$as_dir" && as_dir=. 3314 3082 for ac_exec_ext in '' $ac_executable_extensions; do 3315 3083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3316 3084 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3317 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53085 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3318 3086 break 2 3319 3087 fi 3320 3088 done 3321 3089 done 3322 3090 IFS=$as_save_IFS 3323 3091 … … 3326 3094 CXX=$ac_cv_prog_CXX 3327 3095 if test -n "$CXX"; then 3328 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&53096 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3329 3097 $as_echo "$CXX" >&6; } 3330 3098 else 3331 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53099 { $as_echo "$as_me:$LINENO: result: no" >&5 3332 3100 $as_echo "no" >&6; } 3333 3101 fi … … 3343 3111 # Extract the first word of "$ac_prog", so it can be a program name with args. 3344 3112 set dummy $ac_prog; ac_word=$2 3345 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3346 3114 $as_echo_n "checking for $ac_word... " >&6; } 3347 if ${ac_cv_prog_ac_ct_CXX+:} false; then :3115 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 3348 3116 $as_echo_n "(cached) " >&6 3349 3117 else … … 3356 3124 IFS=$as_save_IFS 3357 3125 test -z "$as_dir" && as_dir=. 3358 3126 for ac_exec_ext in '' $ac_executable_extensions; do 3359 3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3360 3128 ac_cv_prog_ac_ct_CXX="$ac_prog" 3361 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3362 3130 break 2 3363 3131 fi 3364 3132 done 3365 3133 done 3366 3134 IFS=$as_save_IFS 3367 3135 … … 3370 3138 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3371 3139 if test -n "$ac_ct_CXX"; then 3372 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&53140 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3373 3141 $as_echo "$ac_ct_CXX" >&6; } 3374 3142 else 3375 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53143 { $as_echo "$as_me:$LINENO: result: no" >&5 3376 3144 $as_echo "no" >&6; } 3377 3145 fi … … 3386 3154 case $cross_compiling:$ac_tool_warned in 3387 3155 yes:) 3388 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53156 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3389 3157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3390 3158 ac_tool_warned=yes ;; … … 3397 3165 fi 3398 3166 # Provide some information about the compiler. 3399 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&53167 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3400 3168 set X $ac_compile 3401 3169 ac_compiler=$2 3402 for ac_option in --version -v -V -qversion; do 3403 { { ac_try="$ac_compiler $ac_option >&5" 3170 { (ac_try="$ac_compiler --version >&5" 3404 3171 case "(($ac_try" in 3405 3172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3406 3173 *) ac_try_echo=$ac_try;; 3407 3174 esac 3408 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3409 $as_echo "$ac_try_echo" ; }>&53410 (eval "$ac_compiler $ac_option >&5") 2>conftest.err3175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3176 $as_echo "$ac_try_echo") >&5 3177 (eval "$ac_compiler --version >&5") 2>&5 3411 3178 ac_status=$? 3412 if test -s conftest.err; then 3413 sed '10a\ 3414 ... rest of stderr output deleted ... 3415 10q' conftest.err >conftest.er1 3416 cat conftest.er1 >&5 3417 fi 3418 rm -f conftest.er1 conftest.err 3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3420 test $ac_status = 0; } 3421 done 3422 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3180 (exit $ac_status); } 3181 { (ac_try="$ac_compiler -v >&5" 3182 case "(($ac_try" in 3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3184 *) ac_try_echo=$ac_try;; 3185 esac 3186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3187 $as_echo "$ac_try_echo") >&5 3188 (eval "$ac_compiler -v >&5") 2>&5 3189 ac_status=$? 3190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3191 (exit $ac_status); } 3192 { (ac_try="$ac_compiler -V >&5" 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_compiler -V >&5") 2>&5 3200 ac_status=$? 3201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3202 (exit $ac_status); } 3203 3204 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3424 3205 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3425 if ${ac_cv_cxx_compiler_gnu+:} false; then :3206 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3426 3207 $as_echo_n "(cached) " >&6 3427 3208 else 3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3209 cat >conftest.$ac_ext <<_ACEOF 3210 /* confdefs.h. */ 3211 _ACEOF 3212 cat confdefs.h >>conftest.$ac_ext 3213 cat >>conftest.$ac_ext <<_ACEOF 3429 3214 /* end confdefs.h. */ 3430 3215 … … 3440 3225 } 3441 3226 _ACEOF 3442 if ac_fn_cxx_try_compile "$LINENO"; then : 3227 rm -f conftest.$ac_objext 3228 if { (ac_try="$ac_compile" 3229 case "(($ac_try" in 3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3231 *) ac_try_echo=$ac_try;; 3232 esac 3233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3234 $as_echo "$ac_try_echo") >&5 3235 (eval "$ac_compile") 2>conftest.er1 3236 ac_status=$? 3237 grep -v '^ *+' conftest.er1 >conftest.err 3238 rm -f conftest.er1 3239 cat conftest.err >&5 3240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3241 (exit $ac_status); } && { 3242 test -z "$ac_cxx_werror_flag" || 3243 test ! -s conftest.err 3244 } && test -s conftest.$ac_objext; then 3443 3245 ac_compiler_gnu=yes 3444 3246 else 3445 ac_compiler_gnu=no 3446 fi 3247 $as_echo "$as_me: failed program was:" >&5 3248 sed 's/^/| /' conftest.$ac_ext >&5 3249 3250 ac_compiler_gnu=no 3251 fi 3252 3447 3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3448 3254 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3449 3255 3450 3256 fi 3451 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&53257 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3452 3258 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3453 3259 if test $ac_compiler_gnu = yes; then … … 3458 3264 ac_test_CXXFLAGS=${CXXFLAGS+set} 3459 3265 ac_save_CXXFLAGS=$CXXFLAGS 3460 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&53266 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3461 3267 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3462 if ${ac_cv_prog_cxx_g+:} false; then :3268 if test "${ac_cv_prog_cxx_g+set}" = set; then 3463 3269 $as_echo_n "(cached) " >&6 3464 3270 else … … 3467 3273 ac_cv_prog_cxx_g=no 3468 3274 CXXFLAGS="-g" 3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3275 cat >conftest.$ac_ext <<_ACEOF 3276 /* confdefs.h. */ 3277 _ACEOF 3278 cat confdefs.h >>conftest.$ac_ext 3279 cat >>conftest.$ac_ext <<_ACEOF 3470 3280 /* end confdefs.h. */ 3471 3281 … … 3478 3288 } 3479 3289 _ACEOF 3480 if ac_fn_cxx_try_compile "$LINENO"; then : 3290 rm -f conftest.$ac_objext 3291 if { (ac_try="$ac_compile" 3292 case "(($ac_try" in 3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3294 *) ac_try_echo=$ac_try;; 3295 esac 3296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3297 $as_echo "$ac_try_echo") >&5 3298 (eval "$ac_compile") 2>conftest.er1 3299 ac_status=$? 3300 grep -v '^ *+' conftest.er1 >conftest.err 3301 rm -f conftest.er1 3302 cat conftest.err >&5 3303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3304 (exit $ac_status); } && { 3305 test -z "$ac_cxx_werror_flag" || 3306 test ! -s conftest.err 3307 } && test -s conftest.$ac_objext; then 3481 3308 ac_cv_prog_cxx_g=yes 3482 3309 else 3483 CXXFLAGS="" 3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3310 $as_echo "$as_me: failed program was:" >&5 3311 sed 's/^/| /' conftest.$ac_ext >&5 3312 3313 CXXFLAGS="" 3314 cat >conftest.$ac_ext <<_ACEOF 3315 /* confdefs.h. */ 3316 _ACEOF 3317 cat confdefs.h >>conftest.$ac_ext 3318 cat >>conftest.$ac_ext <<_ACEOF 3485 3319 /* end confdefs.h. */ 3486 3320 … … 3493 3327 } 3494 3328 _ACEOF 3495 if ac_fn_cxx_try_compile "$LINENO"; then : 3496 3497 else 3498 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3329 rm -f conftest.$ac_objext 3330 if { (ac_try="$ac_compile" 3331 case "(($ac_try" in 3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3333 *) ac_try_echo=$ac_try;; 3334 esac 3335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3336 $as_echo "$ac_try_echo") >&5 3337 (eval "$ac_compile") 2>conftest.er1 3338 ac_status=$? 3339 grep -v '^ *+' conftest.er1 >conftest.err 3340 rm -f conftest.er1 3341 cat conftest.err >&5 3342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3343 (exit $ac_status); } && { 3344 test -z "$ac_cxx_werror_flag" || 3345 test ! -s conftest.err 3346 } && test -s conftest.$ac_objext; then 3347 : 3348 else 3349 $as_echo "$as_me: failed program was:" >&5 3350 sed 's/^/| /' conftest.$ac_ext >&5 3351 3352 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3499 3353 CXXFLAGS="-g" 3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3354 cat >conftest.$ac_ext <<_ACEOF 3355 /* confdefs.h. */ 3356 _ACEOF 3357 cat confdefs.h >>conftest.$ac_ext 3358 cat >>conftest.$ac_ext <<_ACEOF 3501 3359 /* end confdefs.h. */ 3502 3360 … … 3509 3367 } 3510 3368 _ACEOF 3511 if ac_fn_cxx_try_compile "$LINENO"; then : 3369 rm -f conftest.$ac_objext 3370 if { (ac_try="$ac_compile" 3371 case "(($ac_try" in 3372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3373 *) ac_try_echo=$ac_try;; 3374 esac 3375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3376 $as_echo "$ac_try_echo") >&5 3377 (eval "$ac_compile") 2>conftest.er1 3378 ac_status=$? 3379 grep -v '^ *+' conftest.er1 >conftest.err 3380 rm -f conftest.er1 3381 cat conftest.err >&5 3382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3383 (exit $ac_status); } && { 3384 test -z "$ac_cxx_werror_flag" || 3385 test ! -s conftest.err 3386 } && test -s conftest.$ac_objext; then 3512 3387 ac_cv_prog_cxx_g=yes 3513 fi 3388 else 3389 $as_echo "$as_me: failed program was:" >&5 3390 sed 's/^/| /' conftest.$ac_ext >&5 3391 3392 3393 fi 3394 3514 3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3515 3396 fi 3397 3516 3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3517 3399 fi 3400 3518 3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3519 3402 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3520 3403 fi 3521 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&53404 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3522 3405 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3523 3406 if test "$ac_test_CXXFLAGS" = set; then … … 3551 3434 # Extract the first word of "$ac_prog", so it can be a program name with args. 3552 3435 set dummy $ac_prog; ac_word=$2 3553 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53436 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3554 3437 $as_echo_n "checking for $ac_word... " >&6; } 3555 if ${ac_cv_prog_JAVAC+:} false; then :3438 if test "${ac_cv_prog_JAVAC+set}" = set; then 3556 3439 $as_echo_n "(cached) " >&6 3557 3440 else … … 3564 3447 IFS=$as_save_IFS 3565 3448 test -z "$as_dir" && as_dir=. 3566 3449 for ac_exec_ext in '' $ac_executable_extensions; do 3567 3450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3568 3451 ac_cv_prog_JAVAC="$ac_prog" 3569 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53452 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3570 3453 break 2 3571 3454 fi 3572 3455 done 3573 3456 done 3574 3457 IFS=$as_save_IFS 3575 3458 … … 3578 3461 JAVAC=$ac_cv_prog_JAVAC 3579 3462 if test -n "$JAVAC"; then 3580 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&53463 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3581 3464 $as_echo "$JAVAC" >&6; } 3582 3465 else 3583 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53466 { $as_echo "$as_me:$LINENO: result: no" >&5 3584 3467 $as_echo "no" >&6; } 3585 3468 fi … … 3594 3477 # Extract the first word of "$ac_prog", so it can be a program name with args. 3595 3478 set dummy $ac_prog; ac_word=$2 3596 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53479 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3597 3480 $as_echo_n "checking for $ac_word... " >&6; } 3598 if ${ac_cv_prog_JAVAC+:} false; then :3481 if test "${ac_cv_prog_JAVAC+set}" = set; then 3599 3482 $as_echo_n "(cached) " >&6 3600 3483 else … … 3607 3490 IFS=$as_save_IFS 3608 3491 test -z "$as_dir" && as_dir=. 3609 3492 for ac_exec_ext in '' $ac_executable_extensions; do 3610 3493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3611 3494 ac_cv_prog_JAVAC="$ac_prog" 3612 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53495 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3613 3496 break 2 3614 3497 fi 3615 3498 done 3616 3499 done 3617 3500 IFS=$as_save_IFS 3618 3501 … … 3621 3504 JAVAC=$ac_cv_prog_JAVAC 3622 3505 if test -n "$JAVAC"; then 3623 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&53506 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3624 3507 $as_echo "$JAVAC" >&6; } 3625 3508 else 3626 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53509 { $as_echo "$as_me:$LINENO: result: no" >&5 3627 3510 $as_echo "no" >&6; } 3628 3511 fi … … 3634 3517 3635 3518 fi 3636 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3519 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3520 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3521 { (exit 1); exit 1; }; } 3637 3522 else 3638 3523 echo "Checking for javac... $JAVAC" … … 3641 3526 3642 3527 3643 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVAC works" >&53528 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3644 3529 $as_echo_n "checking if $JAVAC works... " >&6; } 3645 if ${ac_cv_prog_javac_works+:} false; then :3530 if test "${ac_cv_prog_javac_works+set}" = set; then 3646 3531 $as_echo_n "(cached) " >&6 3647 3532 else … … 3650 3535 CLASS_TEST=Test.class 3651 3536 cat << \EOF > $JAVA_TEST 3652 /* #line 3 652"configure" */3537 /* #line 3537 "configure" */ 3653 3538 public class Test { 3654 3539 } 3655 3540 EOF 3656 3541 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3657 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3658 3543 (eval $ac_try) 2>&5 3659 3544 ac_status=$? 3660 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53661 test $ac_status = 0; }; } >/dev/null 2>&1; then3545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3546 (exit $ac_status); }; } >/dev/null 2>&1; then 3662 3547 ac_cv_prog_javac_works=yes 3663 3548 else 3664 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3549 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3550 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3551 { (exit 1); exit 1; }; } 3665 3552 echo "configure: failed program was:" >&5 3666 3553 cat $JAVA_TEST >&5 … … 3669 3556 3670 3557 fi 3671 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&53558 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3672 3559 $as_echo "$ac_cv_prog_javac_works" >&6; } 3673 3560 if test "x$JAVACFLAGS" = x ; then … … 3684 3571 # Extract the first word of "$ac_prog", so it can be a program name with args. 3685 3572 set dummy $ac_prog; ac_word=$2 3686 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53573 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3687 3574 $as_echo_n "checking for $ac_word... " >&6; } 3688 if ${ac_cv_prog_JAVA+:} false; then :3575 if test "${ac_cv_prog_JAVA+set}" = set; then 3689 3576 $as_echo_n "(cached) " >&6 3690 3577 else … … 3697 3584 IFS=$as_save_IFS 3698 3585 test -z "$as_dir" && as_dir=. 3699 3586 for ac_exec_ext in '' $ac_executable_extensions; do 3700 3587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3701 3588 ac_cv_prog_JAVA="$ac_prog" 3702 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3703 3590 break 2 3704 3591 fi 3705 3592 done 3706 3593 done 3707 3594 IFS=$as_save_IFS 3708 3595 … … 3711 3598 JAVA=$ac_cv_prog_JAVA 3712 3599 if test -n "$JAVA"; then 3713 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&53600 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3714 3601 $as_echo "$JAVA" >&6; } 3715 3602 else 3716 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53603 { $as_echo "$as_me:$LINENO: result: no" >&5 3717 3604 $as_echo "no" >&6; } 3718 3605 fi … … 3727 3614 # Extract the first word of "$ac_prog", so it can be a program name with args. 3728 3615 set dummy $ac_prog; ac_word=$2 3729 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53616 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3730 3617 $as_echo_n "checking for $ac_word... " >&6; } 3731 if ${ac_cv_prog_JAVA+:} false; then :3618 if test "${ac_cv_prog_JAVA+set}" = set; then 3732 3619 $as_echo_n "(cached) " >&6 3733 3620 else … … 3740 3627 IFS=$as_save_IFS 3741 3628 test -z "$as_dir" && as_dir=. 3742 3629 for ac_exec_ext in '' $ac_executable_extensions; do 3743 3630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3744 3631 ac_cv_prog_JAVA="$ac_prog" 3745 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53632 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3746 3633 break 2 3747 3634 fi 3748 3635 done 3749 3636 done 3750 3637 IFS=$as_save_IFS 3751 3638 … … 3754 3641 JAVA=$ac_cv_prog_JAVA 3755 3642 if test -n "$JAVA"; then 3756 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVA" >&53643 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3757 3644 $as_echo "$JAVA" >&6; } 3758 3645 else 3759 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53646 { $as_echo "$as_me:$LINENO: result: no" >&5 3760 3647 $as_echo "no" >&6; } 3761 3648 fi … … 3767 3654 3768 3655 fi 3769 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3656 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3657 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3658 { (exit 1); exit 1; }; } 3770 3659 fi 3771 3660 … … 3773 3662 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3774 3663 set dummy uudecode$EXEEXT; ac_word=$2 3775 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53664 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3776 3665 $as_echo_n "checking for $ac_word... " >&6; } 3777 if ${ac_cv_prog_uudecode+:} false; then :3666 if test "${ac_cv_prog_uudecode+set}" = set; then 3778 3667 $as_echo_n "(cached) " >&6 3779 3668 else … … 3786 3675 IFS=$as_save_IFS 3787 3676 test -z "$as_dir" && as_dir=. 3788 3677 for ac_exec_ext in '' $ac_executable_extensions; do 3789 3678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3790 3679 ac_cv_prog_uudecode="yes" 3791 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53680 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3792 3681 break 2 3793 3682 fi 3794 3683 done 3795 3684 done 3796 3685 IFS=$as_save_IFS 3797 3686 … … 3800 3689 uudecode=$ac_cv_prog_uudecode 3801 3690 if test -n "$uudecode"; then 3802 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $uudecode" >&53691 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 3803 3692 $as_echo "$uudecode" >&6; } 3804 3693 else 3805 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53694 { $as_echo "$as_me:$LINENO: result: no" >&5 3806 3695 $as_echo "no" >&6; } 3807 3696 fi … … 3809 3698 3810 3699 if test x$uudecode = xyes; then 3811 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&53700 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3812 3701 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3813 if ${ac_cv_prog_uudecode_base64+:} false; then :3702 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3814 3703 $as_echo_n "(cached) " >&6 3815 3704 else … … 3829 3718 ac_cv_prog_uudecode_base64=yes 3830 3719 else 3831 echo "configure: 3 831: uudecode had trouble decoding base 64 file 'Test.uue'" >&53720 echo "configure: 3720: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3832 3721 echo "configure: failed file was:" >&5 3833 3722 cat Test.uue >&5 … … 3836 3725 rm -f Test.uue 3837 3726 fi 3838 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&53727 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3839 3728 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3840 3729 fi 3841 3730 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3842 3731 rm -f Test.class 3843 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&53732 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3844 3733 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3845 3734 if test x$ac_cv_prog_javac_works = xno; then 3846 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3735 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3736 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3737 { (exit 1); exit 1; }; } 3847 3738 fi 3848 3739 if test x$ac_cv_prog_javac_works = x; then … … 3854 3745 # Extract the first word of "$ac_prog", so it can be a program name with args. 3855 3746 set dummy $ac_prog; ac_word=$2 3856 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53747 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3857 3748 $as_echo_n "checking for $ac_word... " >&6; } 3858 if ${ac_cv_prog_JAVAC+:} false; then :3749 if test "${ac_cv_prog_JAVAC+set}" = set; then 3859 3750 $as_echo_n "(cached) " >&6 3860 3751 else … … 3867 3758 IFS=$as_save_IFS 3868 3759 test -z "$as_dir" && as_dir=. 3869 3760 for ac_exec_ext in '' $ac_executable_extensions; do 3870 3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3871 3762 ac_cv_prog_JAVAC="$ac_prog" 3872 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53763 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3873 3764 break 2 3874 3765 fi 3875 3766 done 3876 3767 done 3877 3768 IFS=$as_save_IFS 3878 3769 … … 3881 3772 JAVAC=$ac_cv_prog_JAVAC 3882 3773 if test -n "$JAVAC"; then 3883 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&53774 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3884 3775 $as_echo "$JAVAC" >&6; } 3885 3776 else 3886 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53777 { $as_echo "$as_me:$LINENO: result: no" >&5 3887 3778 $as_echo "no" >&6; } 3888 3779 fi … … 3897 3788 # Extract the first word of "$ac_prog", so it can be a program name with args. 3898 3789 set dummy $ac_prog; ac_word=$2 3899 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53790 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3900 3791 $as_echo_n "checking for $ac_word... " >&6; } 3901 if ${ac_cv_prog_JAVAC+:} false; then :3792 if test "${ac_cv_prog_JAVAC+set}" = set; then 3902 3793 $as_echo_n "(cached) " >&6 3903 3794 else … … 3910 3801 IFS=$as_save_IFS 3911 3802 test -z "$as_dir" && as_dir=. 3912 3803 for ac_exec_ext in '' $ac_executable_extensions; do 3913 3804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3914 3805 ac_cv_prog_JAVAC="$ac_prog" 3915 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53806 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3916 3807 break 2 3917 3808 fi 3918 3809 done 3919 3810 done 3920 3811 IFS=$as_save_IFS 3921 3812 … … 3924 3815 JAVAC=$ac_cv_prog_JAVAC 3925 3816 if test -n "$JAVAC"; then 3926 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $JAVAC" >&53817 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3927 3818 $as_echo "$JAVAC" >&6; } 3928 3819 else 3929 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53820 { $as_echo "$as_me:$LINENO: result: no" >&5 3930 3821 $as_echo "no" >&6; } 3931 3822 fi … … 3937 3828 3938 3829 fi 3939 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3830 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3831 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3832 { (exit 1); exit 1; }; } 3940 3833 else 3941 3834 echo "Checking for javac... $JAVAC" … … 3944 3837 3945 3838 3946 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVAC works" >&53839 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3947 3840 $as_echo_n "checking if $JAVAC works... " >&6; } 3948 if ${ac_cv_prog_javac_works+:} false; then :3841 if test "${ac_cv_prog_javac_works+set}" = set; then 3949 3842 $as_echo_n "(cached) " >&6 3950 3843 else … … 3953 3846 CLASS_TEST=Test.class 3954 3847 cat << \EOF > $JAVA_TEST 3955 /* #line 3 955"configure" */3848 /* #line 3848 "configure" */ 3956 3849 public class Test { 3957 3850 } 3958 3851 EOF 3959 3852 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3961 3854 (eval $ac_try) 2>&5 3962 3855 ac_status=$? 3963 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53964 test $ac_status = 0; }; } >/dev/null 2>&1; then3856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3857 (exit $ac_status); }; } >/dev/null 2>&1; then 3965 3858 ac_cv_prog_javac_works=yes 3966 3859 else 3967 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3860 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3861 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3862 { (exit 1); exit 1; }; } 3968 3863 echo "configure: failed program was:" >&5 3969 3864 cat $JAVA_TEST >&5 … … 3972 3867 3973 3868 fi 3974 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&53869 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3975 3870 $as_echo "$ac_cv_prog_javac_works" >&6; } 3976 3871 if test "x$JAVACFLAGS" = x ; then … … 3982 3877 fi 3983 3878 fi 3984 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if $JAVA works" >&53879 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 3985 3880 $as_echo_n "checking if $JAVA works... " >&6; } 3986 if ${ac_cv_prog_java_works+:} false; then :3881 if test "${ac_cv_prog_java_works+set}" = set; then 3987 3882 $as_echo_n "(cached) " >&6 3988 3883 else … … 3992 3887 TEST=Test 3993 3888 cat << \EOF > $JAVA_TEST 3994 /* [#]line 3 994"configure" */3889 /* [#]line 3889 "configure" */ 3995 3890 public class Test { 3996 3891 public static void main (String args[]) { … … 4000 3895 if test x$ac_cv_prog_uudecode_base64 != xyes; then 4001 3896 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4002 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4003 3898 (eval $ac_try) 2>&5 4004 3899 ac_status=$? 4005 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54006 test $ac_status = 0; }; } && test -s $CLASS_TEST; then3900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3901 (exit $ac_status); }; } && test -s $CLASS_TEST; then 4007 3902 : 4008 3903 else 4009 3904 echo "configure: failed program was:" >&5 4010 3905 cat $JAVA_TEST >&5 4011 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3906 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3907 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3908 { (exit 1); exit 1; }; } 4012 3909 fi 4013 3910 fi 4014 3911 if { ac_try='$JAVA $JAVAFLAGS $TEST' 4015 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4016 3913 (eval $ac_try) 2>&5 4017 3914 ac_status=$? 4018 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&54019 test $ac_status = 0; }; } >/dev/null 2>&1; then3915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3916 (exit $ac_status); }; } >/dev/null 2>&1; then 4020 3917 ac_cv_prog_java_works=yes 4021 3918 else 4022 3919 echo "configure: failed program was:" >&5 4023 3920 cat $JAVA_TEST >&5 4024 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3921 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3922 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3923 { (exit 1); exit 1; }; } 4025 3924 fi 4026 3925 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 4027 3926 4028 3927 fi 4029 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&53928 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 4030 3929 $as_echo "$ac_cv_prog_java_works" >&6; } 4031 3930 … … 4037 3936 # Extract the first word of "$ac_prog", so it can be a program name with args. 4038 3937 set dummy $ac_prog; ac_word=$2 4039 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53938 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4040 3939 $as_echo_n "checking for $ac_word... " >&6; } 4041 if ${ac_cv_prog_AWK+:} false; then :3940 if test "${ac_cv_prog_AWK+set}" = set; then 4042 3941 $as_echo_n "(cached) " >&6 4043 3942 else … … 4050 3949 IFS=$as_save_IFS 4051 3950 test -z "$as_dir" && as_dir=. 4052 3951 for ac_exec_ext in '' $ac_executable_extensions; do 4053 3952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4054 3953 ac_cv_prog_AWK="$ac_prog" 4055 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4056 3955 break 2 4057 3956 fi 4058 3957 done 4059 3958 done 4060 3959 IFS=$as_save_IFS 4061 3960 … … 4064 3963 AWK=$ac_cv_prog_AWK 4065 3964 if test -n "$AWK"; then 4066 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AWK" >&53965 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 4067 3966 $as_echo "$AWK" >&6; } 4068 3967 else 4069 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53968 { $as_echo "$as_me:$LINENO: result: no" >&5 4070 3969 $as_echo "no" >&6; } 4071 3970 fi … … 4079 3978 # Extract the first word of "$ac_prog", so it can be a program name with args. 4080 3979 set dummy $ac_prog; ac_word=$2 4081 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53980 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4082 3981 $as_echo_n "checking for $ac_word... " >&6; } 4083 if ${ac_cv_prog_YACC+:} false; then :3982 if test "${ac_cv_prog_YACC+set}" = set; then 4084 3983 $as_echo_n "(cached) " >&6 4085 3984 else … … 4092 3991 IFS=$as_save_IFS 4093 3992 test -z "$as_dir" && as_dir=. 4094 3993 for ac_exec_ext in '' $ac_executable_extensions; do 4095 3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4096 3995 ac_cv_prog_YACC="$ac_prog" 4097 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53996 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4098 3997 break 2 4099 3998 fi 4100 3999 done 4101 4000 done 4102 4001 IFS=$as_save_IFS 4103 4002 … … 4106 4005 YACC=$ac_cv_prog_YACC 4107 4006 if test -n "$YACC"; then 4108 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $YACC" >&54007 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 4109 4008 $as_echo "$YACC" >&6; } 4110 4009 else 4111 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54010 { $as_echo "$as_me:$LINENO: result: no" >&5 4112 4011 $as_echo "no" >&6; } 4113 4012 fi … … 4135 4034 done 4136 4035 if test -z "$ac_aux_dir"; then 4137 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 4036 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4037 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 4038 { (exit 1); exit 1; }; } 4138 4039 fi 4139 4040 … … 4149 4050 # Make sure we can run config.sub. 4150 4051 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4151 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4152 4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4052 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4053 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4054 { (exit 1); exit 1; }; } 4055 4056 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4154 4057 $as_echo_n "checking build system type... " >&6; } 4155 if ${ac_cv_build+:} false; then :4058 if test "${ac_cv_build+set}" = set; then 4156 4059 $as_echo_n "(cached) " >&6 4157 4060 else … … 4160 4063 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4161 4064 test "x$ac_build_alias" = x && 4162 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4065 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4066 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4067 { (exit 1); exit 1; }; } 4163 4068 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4164 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4165 4166 fi 4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4069 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4070 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4071 { (exit 1); exit 1; }; } 4072 4073 fi 4074 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4168 4075 $as_echo "$ac_cv_build" >&6; } 4169 4076 case $ac_cv_build in 4170 4077 *-*-*) ;; 4171 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4078 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4079 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4080 { (exit 1); exit 1; }; };; 4172 4081 esac 4173 4082 build=$ac_cv_build … … 4185 4094 4186 4095 4187 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking host system type" >&54096 { $as_echo "$as_me:$LINENO: checking host system type" >&5 4188 4097 $as_echo_n "checking host system type... " >&6; } 4189 if ${ac_cv_host+:} false; then :4098 if test "${ac_cv_host+set}" = set; then 4190 4099 $as_echo_n "(cached) " >&6 4191 4100 else … … 4194 4103 else 4195 4104 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4196 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4197 fi 4198 4199 fi 4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4105 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4106 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4107 { (exit 1); exit 1; }; } 4108 fi 4109 4110 fi 4111 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4201 4112 $as_echo "$ac_cv_host" >&6; } 4202 4113 case $ac_cv_host in 4203 4114 *-*-*) ;; 4204 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4115 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4116 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4117 { (exit 1); exit 1; }; };; 4205 4118 esac 4206 4119 host=$ac_cv_host … … 4218 4131 4219 4132 4220 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking target system type" >&54133 { $as_echo "$as_me:$LINENO: checking target system type" >&5 4221 4134 $as_echo_n "checking target system type... " >&6; } 4222 if ${ac_cv_target+:} false; then :4135 if test "${ac_cv_target+set}" = set; then 4223 4136 $as_echo_n "(cached) " >&6 4224 4137 else … … 4227 4140 else 4228 4141 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4229 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4230 fi 4231 4232 fi 4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4142 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4143 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 4144 { (exit 1); exit 1; }; } 4145 fi 4146 4147 fi 4148 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4234 4149 $as_echo "$ac_cv_target" >&6; } 4235 4150 case $ac_cv_target in 4236 4151 *-*-*) ;; 4237 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 4152 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4153 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4154 { (exit 1); exit 1; }; };; 4238 4155 esac 4239 4156 target=$ac_cv_target … … 4257 4174 NONENONEs,x,x, && 4258 4175 program_prefix=${target_alias}- 4259 4260 4176 # Find a good install program. We prefer a C program (faster), 4261 4177 # so one script is as good as another. But avoid the broken or … … 4272 4188 # ./install, which can be erroneously created by make from ./install.sh. 4273 4189 # Reject install programs that cannot install multiple files. 4274 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&54190 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4275 4191 $as_echo_n "checking for a BSD-compatible install... " >&6; } 4276 4192 if test -z "$INSTALL"; then 4277 if ${ac_cv_path_install+:} false; then :4193 if test "${ac_cv_path_install+set}" = set; then 4278 4194 $as_echo_n "(cached) " >&6 4279 4195 else … … 4283 4199 IFS=$as_save_IFS 4284 4200 test -z "$as_dir" && as_dir=. 4285 4286 case $as_dir/ in #((4287 ./ | .// | / [cC]/* | \4201 # Account for people who put trailing slashes in PATH elements. 4202 case $as_dir/ in 4203 ./ | .// | /cC/* | \ 4288 4204 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4289 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \4205 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4290 4206 /usr/ucb/* ) ;; 4291 4207 *) … … 4324 4240 esac 4325 4241 4326 4242 done 4327 4243 IFS=$as_save_IFS 4328 4244 … … 4340 4256 fi 4341 4257 fi 4342 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&54258 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4343 4259 $as_echo "$INSTALL" >&6; } 4344 4260 … … 4351 4267 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4352 4268 4353 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&54269 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4354 4270 $as_echo_n "checking whether ln -s works... " >&6; } 4355 4271 LN_S=$as_ln_s 4356 4272 if test "$LN_S" = "ln -s"; then 4357 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&54273 { $as_echo "$as_me:$LINENO: result: yes" >&5 4358 4274 $as_echo "yes" >&6; } 4359 4275 else 4360 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&54276 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4361 4277 $as_echo "no, using $LN_S" >&6; } 4362 4278 fi 4363 4279 4364 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&54280 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4365 4281 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4366 4282 set x ${MAKE-make} 4367 4283 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4368 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :4284 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 4369 4285 $as_echo_n "(cached) " >&6 4370 4286 else … … 4374 4290 @echo '@@@%%%=$(MAKE)=@@@%%%' 4375 4291 _ACEOF 4376 # GNU make sometimes prints "make[1]: Entering 4292 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 4377 4293 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4378 4294 *@@@%%%=?*=@@@%%%*) … … 4384 4300 fi 4385 4301 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4386 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&54302 { $as_echo "$as_me:$LINENO: result: yes" >&5 4387 4303 $as_echo "yes" >&6; } 4388 4304 SET_MAKE= 4389 4305 else 4390 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54306 { $as_echo "$as_me:$LINENO: result: no" >&5 4391 4307 $as_echo "no" >&6; } 4392 4308 SET_MAKE="MAKE=${MAKE-make}" … … 4396 4312 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4397 4313 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4398 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54314 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4399 4315 $as_echo_n "checking for $ac_word... " >&6; } 4400 if ${ac_cv_prog_RANLIB+:} false; then :4316 if test "${ac_cv_prog_RANLIB+set}" = set; then 4401 4317 $as_echo_n "(cached) " >&6 4402 4318 else … … 4409 4325 IFS=$as_save_IFS 4410 4326 test -z "$as_dir" && as_dir=. 4411 4327 for ac_exec_ext in '' $ac_executable_extensions; do 4412 4328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4413 4329 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4414 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4415 4331 break 2 4416 4332 fi 4417 4333 done 4418 4334 done 4419 4335 IFS=$as_save_IFS 4420 4336 … … 4423 4339 RANLIB=$ac_cv_prog_RANLIB 4424 4340 if test -n "$RANLIB"; then 4425 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&54341 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4426 4342 $as_echo "$RANLIB" >&6; } 4427 4343 else 4428 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54344 { $as_echo "$as_me:$LINENO: result: no" >&5 4429 4345 $as_echo "no" >&6; } 4430 4346 fi … … 4436 4352 # Extract the first word of "ranlib", so it can be a program name with args. 4437 4353 set dummy ranlib; ac_word=$2 4438 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54354 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4439 4355 $as_echo_n "checking for $ac_word... " >&6; } 4440 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :4356 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4441 4357 $as_echo_n "(cached) " >&6 4442 4358 else … … 4449 4365 IFS=$as_save_IFS 4450 4366 test -z "$as_dir" && as_dir=. 4451 4367 for ac_exec_ext in '' $ac_executable_extensions; do 4452 4368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4453 4369 ac_cv_prog_ac_ct_RANLIB="ranlib" 4454 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54370 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4455 4371 break 2 4456 4372 fi 4457 4373 done 4458 4374 done 4459 4375 IFS=$as_save_IFS 4460 4376 … … 4463 4379 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4464 4380 if test -n "$ac_ct_RANLIB"; then 4465 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&54381 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4466 4382 $as_echo "$ac_ct_RANLIB" >&6; } 4467 4383 else 4468 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54384 { $as_echo "$as_me:$LINENO: result: no" >&5 4469 4385 $as_echo "no" >&6; } 4470 4386 fi … … 4475 4391 case $cross_compiling:$ac_tool_warned in 4476 4392 yes:) 4477 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&54393 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4478 4394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4479 4395 ac_tool_warned=yes ;; … … 4488 4404 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4489 4405 set dummy ${ac_tool_prefix}strip; ac_word=$2 4490 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54406 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4491 4407 $as_echo_n "checking for $ac_word... " >&6; } 4492 if ${ac_cv_prog_STRIP+:} false; then :4408 if test "${ac_cv_prog_STRIP+set}" = set; then 4493 4409 $as_echo_n "(cached) " >&6 4494 4410 else … … 4501 4417 IFS=$as_save_IFS 4502 4418 test -z "$as_dir" && as_dir=. 4503 4419 for ac_exec_ext in '' $ac_executable_extensions; do 4504 4420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4505 4421 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4506 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54422 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4507 4423 break 2 4508 4424 fi 4509 4425 done 4510 4426 done 4511 4427 IFS=$as_save_IFS 4512 4428 … … 4515 4431 STRIP=$ac_cv_prog_STRIP 4516 4432 if test -n "$STRIP"; then 4517 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $STRIP" >&54433 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 4518 4434 $as_echo "$STRIP" >&6; } 4519 4435 else 4520 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54436 { $as_echo "$as_me:$LINENO: result: no" >&5 4521 4437 $as_echo "no" >&6; } 4522 4438 fi … … 4528 4444 # Extract the first word of "strip", so it can be a program name with args. 4529 4445 set dummy strip; ac_word=$2 4530 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54446 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4531 4447 $as_echo_n "checking for $ac_word... " >&6; } 4532 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :4448 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 4533 4449 $as_echo_n "(cached) " >&6 4534 4450 else … … 4541 4457 IFS=$as_save_IFS 4542 4458 test -z "$as_dir" && as_dir=. 4543 4459 for ac_exec_ext in '' $ac_executable_extensions; do 4544 4460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4545 4461 ac_cv_prog_ac_ct_STRIP="strip" 4546 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54462 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4547 4463 break 2 4548 4464 fi 4549 4465 done 4550 4466 done 4551 4467 IFS=$as_save_IFS 4552 4468 … … 4555 4471 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4556 4472 if test -n "$ac_ct_STRIP"; then 4557 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_STRIP" >&54473 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4558 4474 $as_echo "$ac_ct_STRIP" >&6; } 4559 4475 else 4560 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54476 { $as_echo "$as_me:$LINENO: result: no" >&5 4561 4477 $as_echo "no" >&6; } 4562 4478 fi … … 4567 4483 case $cross_compiling:$ac_tool_warned in 4568 4484 yes:) 4569 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&54485 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4570 4486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4571 4487 ac_tool_warned=yes ;; … … 4578 4494 4579 4495 4580 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&54496 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 4581 4497 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 4582 4498 arch_64bit=no … … 4586 4502 4587 4503 if test "$arch_64bit" = yes; then 4588 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&54504 { $as_echo "$as_me:$LINENO: result: yes" >&5 4589 4505 $as_echo "yes" >&6; } 4590 4506 if test -z "$ARCH_DEP_FLAGS" ; then … … 4592 4508 fi 4593 4509 else 4594 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54510 { $as_echo "$as_me:$LINENO: result: no" >&5 4595 4511 $as_echo "no" >&6; } 4596 4512 if test -z "$ARCH_DEP_FLAGS" ; then … … 4626 4542 #do test of MICO_VER 4627 4543 if test MICO_VER != 0; then 4628 $as_echo "#define MICO_VER 1" >>confdefs.h 4544 cat >>confdefs.h <<\_ACEOF 4545 #define MICO_VER 1 4546 _ACEOF 4629 4547 4630 4548 … … 4639 4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4640 4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4641 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&54559 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4642 4560 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4643 4561 # On Suns, sometimes $CPP names a directory. … … 4646 4564 fi 4647 4565 if test -z "$CPP"; then 4648 if ${ac_cv_prog_CPP+:} false; then :4566 if test "${ac_cv_prog_CPP+set}" = set; then 4649 4567 $as_echo_n "(cached) " >&6 4650 4568 else … … 4661 4579 # On the NeXT, cc -E runs the code through the compiler's parser, 4662 4580 # not just through cpp. "Syntax error" is here to catch this case. 4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4581 cat >conftest.$ac_ext <<_ACEOF 4582 /* confdefs.h. */ 4583 _ACEOF 4584 cat confdefs.h >>conftest.$ac_ext 4585 cat >>conftest.$ac_ext <<_ACEOF 4664 4586 /* end confdefs.h. */ 4665 4587 #ifdef __STDC__ … … 4670 4592 Syntax error 4671 4593 _ACEOF 4672 if ac_fn_c_try_cpp "$LINENO"; then : 4673 4674 else 4594 if { (ac_try="$ac_cpp conftest.$ac_ext" 4595 case "(($ac_try" in 4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4597 *) ac_try_echo=$ac_try;; 4598 esac 4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4600 $as_echo "$ac_try_echo") >&5 4601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4602 ac_status=$? 4603 grep -v '^ *+' conftest.er1 >conftest.err 4604 rm -f conftest.er1 4605 cat conftest.err >&5 4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 (exit $ac_status); } >/dev/null && { 4608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4609 test ! -s conftest.err 4610 }; then 4611 : 4612 else 4613 $as_echo "$as_me: failed program was:" >&5 4614 sed 's/^/| /' conftest.$ac_ext >&5 4615 4675 4616 # Broken: fails on valid input. 4676 4617 continue 4677 4618 fi 4678 rm -f conftest.err conftest.i conftest.$ac_ext 4619 4620 rm -f conftest.err conftest.$ac_ext 4679 4621 4680 4622 # OK, works on sane cases. Now check whether nonexistent headers 4681 4623 # can be detected and how. 4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4624 cat >conftest.$ac_ext <<_ACEOF 4625 /* confdefs.h. */ 4626 _ACEOF 4627 cat confdefs.h >>conftest.$ac_ext 4628 cat >>conftest.$ac_ext <<_ACEOF 4683 4629 /* end confdefs.h. */ 4684 4630 #include <ac_nonexistent.h> 4685 4631 _ACEOF 4686 if ac_fn_c_try_cpp "$LINENO"; then : 4632 if { (ac_try="$ac_cpp conftest.$ac_ext" 4633 case "(($ac_try" in 4634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4635 *) ac_try_echo=$ac_try;; 4636 esac 4637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4638 $as_echo "$ac_try_echo") >&5 4639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4640 ac_status=$? 4641 grep -v '^ *+' conftest.er1 >conftest.err 4642 rm -f conftest.er1 4643 cat conftest.err >&5 4644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4645 (exit $ac_status); } >/dev/null && { 4646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4647 test ! -s conftest.err 4648 }; then 4687 4649 # Broken: success on invalid input. 4688 4650 continue 4689 4651 else 4652 $as_echo "$as_me: failed program was:" >&5 4653 sed 's/^/| /' conftest.$ac_ext >&5 4654 4690 4655 # Passes both tests. 4691 4656 ac_preproc_ok=: 4692 4657 break 4693 4658 fi 4694 rm -f conftest.err conftest.i conftest.$ac_ext 4659 4660 rm -f conftest.err conftest.$ac_ext 4695 4661 4696 4662 done 4697 4663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4698 rm -f conftest. i conftest.err conftest.$ac_ext4699 if $ac_preproc_ok; then :4664 rm -f conftest.err conftest.$ac_ext 4665 if $ac_preproc_ok; then 4700 4666 break 4701 4667 fi … … 4709 4675 ac_cv_prog_CPP=$CPP 4710 4676 fi 4711 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&54677 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4712 4678 $as_echo "$CPP" >&6; } 4713 4679 ac_preproc_ok=false … … 4720 4686 # On the NeXT, cc -E runs the code through the compiler's parser, 4721 4687 # not just through cpp. "Syntax error" is here to catch this case. 4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4688 cat >conftest.$ac_ext <<_ACEOF 4689 /* confdefs.h. */ 4690 _ACEOF 4691 cat confdefs.h >>conftest.$ac_ext 4692 cat >>conftest.$ac_ext <<_ACEOF 4723 4693 /* end confdefs.h. */ 4724 4694 #ifdef __STDC__ … … 4729 4699 Syntax error 4730 4700 _ACEOF 4731 if ac_fn_c_try_cpp "$LINENO"; then : 4732 4733 else 4701 if { (ac_try="$ac_cpp conftest.$ac_ext" 4702 case "(($ac_try" in 4703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4704 *) ac_try_echo=$ac_try;; 4705 esac 4706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4707 $as_echo "$ac_try_echo") >&5 4708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4709 ac_status=$? 4710 grep -v '^ *+' conftest.er1 >conftest.err 4711 rm -f conftest.er1 4712 cat conftest.err >&5 4713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4714 (exit $ac_status); } >/dev/null && { 4715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4716 test ! -s conftest.err 4717 }; then 4718 : 4719 else 4720 $as_echo "$as_me: failed program was:" >&5 4721 sed 's/^/| /' conftest.$ac_ext >&5 4722 4734 4723 # Broken: fails on valid input. 4735 4724 continue 4736 4725 fi 4737 rm -f conftest.err conftest.i conftest.$ac_ext 4726 4727 rm -f conftest.err conftest.$ac_ext 4738 4728 4739 4729 # OK, works on sane cases. Now check whether nonexistent headers 4740 4730 # can be detected and how. 4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4731 cat >conftest.$ac_ext <<_ACEOF 4732 /* confdefs.h. */ 4733 _ACEOF 4734 cat confdefs.h >>conftest.$ac_ext 4735 cat >>conftest.$ac_ext <<_ACEOF 4742 4736 /* end confdefs.h. */ 4743 4737 #include <ac_nonexistent.h> 4744 4738 _ACEOF 4745 if ac_fn_c_try_cpp "$LINENO"; then : 4739 if { (ac_try="$ac_cpp conftest.$ac_ext" 4740 case "(($ac_try" in 4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4742 *) ac_try_echo=$ac_try;; 4743 esac 4744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4745 $as_echo "$ac_try_echo") >&5 4746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4747 ac_status=$? 4748 grep -v '^ *+' conftest.er1 >conftest.err 4749 rm -f conftest.er1 4750 cat conftest.err >&5 4751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4752 (exit $ac_status); } >/dev/null && { 4753 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4754 test ! -s conftest.err 4755 }; then 4746 4756 # Broken: success on invalid input. 4747 4757 continue 4748 4758 else 4759 $as_echo "$as_me: failed program was:" >&5 4760 sed 's/^/| /' conftest.$ac_ext >&5 4761 4749 4762 # Passes both tests. 4750 4763 ac_preproc_ok=: 4751 4764 break 4752 4765 fi 4753 rm -f conftest.err conftest.i conftest.$ac_ext 4766 4767 rm -f conftest.err conftest.$ac_ext 4754 4768 4755 4769 done 4756 4770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4757 rm -f conftest. i conftest.err conftest.$ac_ext4758 if $ac_preproc_ok; then :4759 4760 else 4761 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&54771 rm -f conftest.err conftest.$ac_ext 4772 if $ac_preproc_ok; then 4773 : 4774 else 4775 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4762 4776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4763 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4764 See \`config.log' for more details" "$LINENO" 5; } 4777 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4778 See \`config.log' for more details." >&5 4779 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4780 See \`config.log' for more details." >&2;} 4781 { (exit 1); exit 1; }; }; } 4765 4782 fi 4766 4783 … … 4772 4789 4773 4790 4774 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&54791 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4775 4792 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4776 if ${ac_cv_path_GREP+:} false; then :4793 if test "${ac_cv_path_GREP+set}" = set; then 4777 4794 $as_echo_n "(cached) " >&6 4778 4795 else … … 4785 4802 IFS=$as_save_IFS 4786 4803 test -z "$as_dir" && as_dir=. 4787 4804 for ac_prog in grep ggrep; do 4788 4805 for ac_exec_ext in '' $ac_executable_extensions; do 4789 4806 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 4805 4822 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4806 4823 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4807 a s_fn_arith $ac_count + 1 && ac_count=$as_val4824 ac_count=`expr $ac_count + 1` 4808 4825 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4809 4826 # Best one so far, save it but keep looking for a better one … … 4820 4837 done 4821 4838 done 4822 4839 done 4823 4840 IFS=$as_save_IFS 4824 4841 if test -z "$ac_cv_path_GREP"; then 4825 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4842 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4843 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4844 { (exit 1); exit 1; }; } 4826 4845 fi 4827 4846 else … … 4830 4849 4831 4850 fi 4832 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&54851 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4833 4852 $as_echo "$ac_cv_path_GREP" >&6; } 4834 4853 GREP="$ac_cv_path_GREP" 4835 4854 4836 4855 4837 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&54856 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4838 4857 $as_echo_n "checking for egrep... " >&6; } 4839 if ${ac_cv_path_EGREP+:} false; then :4858 if test "${ac_cv_path_EGREP+set}" = set; then 4840 4859 $as_echo_n "(cached) " >&6 4841 4860 else … … 4851 4870 IFS=$as_save_IFS 4852 4871 test -z "$as_dir" && as_dir=. 4853 4872 for ac_prog in egrep; do 4854 4873 for ac_exec_ext in '' $ac_executable_extensions; do 4855 4874 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 4871 4890 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4872 4891 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4873 a s_fn_arith $ac_count + 1 && ac_count=$as_val4892 ac_count=`expr $ac_count + 1` 4874 4893 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4875 4894 # Best one so far, save it but keep looking for a better one … … 4886 4905 done 4887 4906 done 4888 4907 done 4889 4908 IFS=$as_save_IFS 4890 4909 if test -z "$ac_cv_path_EGREP"; then 4891 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4910 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4911 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4912 { (exit 1); exit 1; }; } 4892 4913 fi 4893 4914 else … … 4897 4918 fi 4898 4919 fi 4899 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54920 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4900 4921 $as_echo "$ac_cv_path_EGREP" >&6; } 4901 4922 EGREP="$ac_cv_path_EGREP" 4902 4923 4903 4924 4904 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&54925 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4905 4926 $as_echo_n "checking for ANSI C header files... " >&6; } 4906 if ${ac_cv_header_stdc+:} false; then :4927 if test "${ac_cv_header_stdc+set}" = set; then 4907 4928 $as_echo_n "(cached) " >&6 4908 4929 else 4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4930 cat >conftest.$ac_ext <<_ACEOF 4931 /* confdefs.h. */ 4932 _ACEOF 4933 cat confdefs.h >>conftest.$ac_ext 4934 cat >>conftest.$ac_ext <<_ACEOF 4910 4935 /* end confdefs.h. */ 4911 4936 #include <stdlib.h> … … 4922 4947 } 4923 4948 _ACEOF 4924 if ac_fn_c_try_compile "$LINENO"; then : 4949 rm -f conftest.$ac_objext 4950 if { (ac_try="$ac_compile" 4951 case "(($ac_try" in 4952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4953 *) ac_try_echo=$ac_try;; 4954 esac 4955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4956 $as_echo "$ac_try_echo") >&5 4957 (eval "$ac_compile") 2>conftest.er1 4958 ac_status=$? 4959 grep -v '^ *+' conftest.er1 >conftest.err 4960 rm -f conftest.er1 4961 cat conftest.err >&5 4962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4963 (exit $ac_status); } && { 4964 test -z "$ac_c_werror_flag" || 4965 test ! -s conftest.err 4966 } && test -s conftest.$ac_objext; then 4925 4967 ac_cv_header_stdc=yes 4926 4968 else 4927 ac_cv_header_stdc=no 4928 fi 4969 $as_echo "$as_me: failed program was:" >&5 4970 sed 's/^/| /' conftest.$ac_ext >&5 4971 4972 ac_cv_header_stdc=no 4973 fi 4974 4929 4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4930 4976 4931 4977 if test $ac_cv_header_stdc = yes; then 4932 4978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4979 cat >conftest.$ac_ext <<_ACEOF 4980 /* confdefs.h. */ 4981 _ACEOF 4982 cat confdefs.h >>conftest.$ac_ext 4983 cat >>conftest.$ac_ext <<_ACEOF 4934 4984 /* end confdefs.h. */ 4935 4985 #include <string.h> … … 4937 4987 _ACEOF 4938 4988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4939 $EGREP "memchr" >/dev/null 2>&1; then :4940 4989 $EGREP "memchr" >/dev/null 2>&1; then 4990 : 4941 4991 else 4942 4992 ac_cv_header_stdc=no … … 4948 4998 if test $ac_cv_header_stdc = yes; then 4949 4999 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5000 cat >conftest.$ac_ext <<_ACEOF 5001 /* confdefs.h. */ 5002 _ACEOF 5003 cat confdefs.h >>conftest.$ac_ext 5004 cat >>conftest.$ac_ext <<_ACEOF 4951 5005 /* end confdefs.h. */ 4952 5006 #include <stdlib.h> … … 4954 5008 _ACEOF 4955 5009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4956 $EGREP "free" >/dev/null 2>&1; then :4957 5010 $EGREP "free" >/dev/null 2>&1; then 5011 : 4958 5012 else 4959 5013 ac_cv_header_stdc=no … … 4965 5019 if test $ac_cv_header_stdc = yes; then 4966 5020 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4967 if test "$cross_compiling" = yes; then :5021 if test "$cross_compiling" = yes; then 4968 5022 : 4969 5023 else 4970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5024 cat >conftest.$ac_ext <<_ACEOF 5025 /* confdefs.h. */ 5026 _ACEOF 5027 cat confdefs.h >>conftest.$ac_ext 5028 cat >>conftest.$ac_ext <<_ACEOF 4971 5029 /* end confdefs.h. */ 4972 5030 #include <ctype.h> … … 4995 5053 } 4996 5054 _ACEOF 4997 if ac_fn_c_try_run "$LINENO"; then : 4998 4999 else 5000 ac_cv_header_stdc=no 5001 fi 5002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5003 conftest.$ac_objext conftest.beam conftest.$ac_ext 5004 fi 5005 5006 fi 5007 fi 5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5055 rm -f conftest$ac_exeext 5056 if { (ac_try="$ac_link" 5057 case "(($ac_try" in 5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5059 *) ac_try_echo=$ac_try;; 5060 esac 5061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5062 $as_echo "$ac_try_echo") >&5 5063 (eval "$ac_link") 2>&5 5064 ac_status=$? 5065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5066 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5067 { (case "(($ac_try" in 5068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5069 *) ac_try_echo=$ac_try;; 5070 esac 5071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5072 $as_echo "$ac_try_echo") >&5 5073 (eval "$ac_try") 2>&5 5074 ac_status=$? 5075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5076 (exit $ac_status); }; }; then 5077 : 5078 else 5079 $as_echo "$as_me: program exited with status $ac_status" >&5 5080 $as_echo "$as_me: failed program was:" >&5 5081 sed 's/^/| /' conftest.$ac_ext >&5 5082 5083 ( exit $ac_status ) 5084 ac_cv_header_stdc=no 5085 fi 5086 rm -rf conftest.dSYM 5087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5088 fi 5089 5090 5091 fi 5092 fi 5093 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5009 5094 $as_echo "$ac_cv_header_stdc" >&6; } 5010 5095 if test $ac_cv_header_stdc = yes; then 5011 5096 5012 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5097 cat >>confdefs.h <<\_ACEOF 5098 #define STDC_HEADERS 1 5099 _ACEOF 5013 5100 5014 5101 fi 5015 5102 5016 5103 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 5104 5105 5106 5107 5108 5109 5110 5111 5112 5017 5113 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5018 5114 inttypes.h stdint.h unistd.h 5019 do : 5020 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5021 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5022 " 5023 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5115 do 5116 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5117 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5118 $as_echo_n "checking for $ac_header... " >&6; } 5119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5120 $as_echo_n "(cached) " >&6 5121 else 5122 cat >conftest.$ac_ext <<_ACEOF 5123 /* confdefs.h. */ 5124 _ACEOF 5125 cat confdefs.h >>conftest.$ac_ext 5126 cat >>conftest.$ac_ext <<_ACEOF 5127 /* end confdefs.h. */ 5128 $ac_includes_default 5129 5130 #include <$ac_header> 5131 _ACEOF 5132 rm -f conftest.$ac_objext 5133 if { (ac_try="$ac_compile" 5134 case "(($ac_try" in 5135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5136 *) ac_try_echo=$ac_try;; 5137 esac 5138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5139 $as_echo "$ac_try_echo") >&5 5140 (eval "$ac_compile") 2>conftest.er1 5141 ac_status=$? 5142 grep -v '^ *+' conftest.er1 >conftest.err 5143 rm -f conftest.er1 5144 cat conftest.err >&5 5145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5146 (exit $ac_status); } && { 5147 test -z "$ac_c_werror_flag" || 5148 test ! -s conftest.err 5149 } && test -s conftest.$ac_objext; then 5150 eval "$as_ac_Header=yes" 5151 else 5152 $as_echo "$as_me: failed program was:" >&5 5153 sed 's/^/| /' conftest.$ac_ext >&5 5154 5155 eval "$as_ac_Header=no" 5156 fi 5157 5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5159 fi 5160 ac_res=`eval 'as_val=${'$as_ac_Header'} 5161 $as_echo "$as_val"'` 5162 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5163 $as_echo "$ac_res" >&6; } 5164 as_val=`eval 'as_val=${'$as_ac_Header'} 5165 $as_echo "$as_val"'` 5166 if test "x$as_val" = x""yes; then 5024 5167 cat >>confdefs.h <<_ACEOF 5025 5168 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5032 5175 5033 5176 5034 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5035 if test "x$ac_cv_header_minix_config_h" = xyes; then : 5177 if test "${ac_cv_header_minix_config_h+set}" = set; then 5178 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5179 $as_echo_n "checking for minix/config.h... " >&6; } 5180 if test "${ac_cv_header_minix_config_h+set}" = set; then 5181 $as_echo_n "(cached) " >&6 5182 fi 5183 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5184 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5185 else 5186 # Is the header compilable? 5187 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5188 $as_echo_n "checking minix/config.h usability... " >&6; } 5189 cat >conftest.$ac_ext <<_ACEOF 5190 /* confdefs.h. */ 5191 _ACEOF 5192 cat confdefs.h >>conftest.$ac_ext 5193 cat >>conftest.$ac_ext <<_ACEOF 5194 /* end confdefs.h. */ 5195 $ac_includes_default 5196 #include <minix/config.h> 5197 _ACEOF 5198 rm -f conftest.$ac_objext 5199 if { (ac_try="$ac_compile" 5200 case "(($ac_try" in 5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5202 *) ac_try_echo=$ac_try;; 5203 esac 5204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5205 $as_echo "$ac_try_echo") >&5 5206 (eval "$ac_compile") 2>conftest.er1 5207 ac_status=$? 5208 grep -v '^ *+' conftest.er1 >conftest.err 5209 rm -f conftest.er1 5210 cat conftest.err >&5 5211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5212 (exit $ac_status); } && { 5213 test -z "$ac_c_werror_flag" || 5214 test ! -s conftest.err 5215 } && test -s conftest.$ac_objext; then 5216 ac_header_compiler=yes 5217 else 5218 $as_echo "$as_me: failed program was:" >&5 5219 sed 's/^/| /' conftest.$ac_ext >&5 5220 5221 ac_header_compiler=no 5222 fi 5223 5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5225 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5226 $as_echo "$ac_header_compiler" >&6; } 5227 5228 # Is the header present? 5229 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5230 $as_echo_n "checking minix/config.h presence... " >&6; } 5231 cat >conftest.$ac_ext <<_ACEOF 5232 /* confdefs.h. */ 5233 _ACEOF 5234 cat confdefs.h >>conftest.$ac_ext 5235 cat >>conftest.$ac_ext <<_ACEOF 5236 /* end confdefs.h. */ 5237 #include <minix/config.h> 5238 _ACEOF 5239 if { (ac_try="$ac_cpp conftest.$ac_ext" 5240 case "(($ac_try" in 5241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5242 *) ac_try_echo=$ac_try;; 5243 esac 5244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5245 $as_echo "$ac_try_echo") >&5 5246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5247 ac_status=$? 5248 grep -v '^ *+' conftest.er1 >conftest.err 5249 rm -f conftest.er1 5250 cat conftest.err >&5 5251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5252 (exit $ac_status); } >/dev/null && { 5253 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5254 test ! -s conftest.err 5255 }; then 5256 ac_header_preproc=yes 5257 else 5258 $as_echo "$as_me: failed program was:" >&5 5259 sed 's/^/| /' conftest.$ac_ext >&5 5260 5261 ac_header_preproc=no 5262 fi 5263 5264 rm -f conftest.err conftest.$ac_ext 5265 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5266 $as_echo "$ac_header_preproc" >&6; } 5267 5268 # So? What about this header? 5269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5270 yes:no: ) 5271 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5272 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5273 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5274 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5275 ac_header_preproc=yes 5276 ;; 5277 no:yes:* ) 5278 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5279 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5280 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5281 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5282 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5283 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5284 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5285 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5286 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5287 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5288 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5289 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5290 5291 ;; 5292 esac 5293 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5294 $as_echo_n "checking for minix/config.h... " >&6; } 5295 if test "${ac_cv_header_minix_config_h+set}" = set; then 5296 $as_echo_n "(cached) " >&6 5297 else 5298 ac_cv_header_minix_config_h=$ac_header_preproc 5299 fi 5300 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5301 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5302 5303 fi 5304 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5036 5305 MINIX=yes 5037 5306 else … … 5042 5311 if test "$MINIX" = yes; then 5043 5312 5044 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5045 5046 5047 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5048 5049 5050 $as_echo "#define _MINIX 1" >>confdefs.h 5313 cat >>confdefs.h <<\_ACEOF 5314 #define _POSIX_SOURCE 1 5315 _ACEOF 5316 5317 5318 cat >>confdefs.h <<\_ACEOF 5319 #define _POSIX_1_SOURCE 2 5320 _ACEOF 5321 5322 5323 cat >>confdefs.h <<\_ACEOF 5324 #define _MINIX 1 5325 _ACEOF 5051 5326 5052 5327 fi 5053 5328 5054 5329 5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5330 5331 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5056 5332 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5057 if ${ac_cv_safe_to_define___extensions__+:} false; then :5333 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5058 5334 $as_echo_n "(cached) " >&6 5059 5335 else 5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5336 cat >conftest.$ac_ext <<_ACEOF 5337 /* confdefs.h. */ 5338 _ACEOF 5339 cat confdefs.h >>conftest.$ac_ext 5340 cat >>conftest.$ac_ext <<_ACEOF 5061 5341 /* end confdefs.h. */ 5062 5342 … … 5071 5351 } 5072 5352 _ACEOF 5073 if ac_fn_c_try_compile "$LINENO"; then : 5353 rm -f conftest.$ac_objext 5354 if { (ac_try="$ac_compile" 5355 case "(($ac_try" in 5356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5357 *) ac_try_echo=$ac_try;; 5358 esac 5359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5360 $as_echo "$ac_try_echo") >&5 5361 (eval "$ac_compile") 2>conftest.er1 5362 ac_status=$? 5363 grep -v '^ *+' conftest.er1 >conftest.err 5364 rm -f conftest.er1 5365 cat conftest.err >&5 5366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5367 (exit $ac_status); } && { 5368 test -z "$ac_c_werror_flag" || 5369 test ! -s conftest.err 5370 } && test -s conftest.$ac_objext; then 5074 5371 ac_cv_safe_to_define___extensions__=yes 5075 5372 else 5076 ac_cv_safe_to_define___extensions__=no 5077 fi 5373 $as_echo "$as_me: failed program was:" >&5 5374 sed 's/^/| /' conftest.$ac_ext >&5 5375 5376 ac_cv_safe_to_define___extensions__=no 5377 fi 5378 5078 5379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5079 5380 fi 5080 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&55381 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5081 5382 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5082 5383 test $ac_cv_safe_to_define___extensions__ = yes && 5083 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5084 5085 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5086 5087 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5088 5089 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5090 5091 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5092 5093 5094 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 5384 cat >>confdefs.h <<\_ACEOF 5385 #define __EXTENSIONS__ 1 5386 _ACEOF 5387 5388 cat >>confdefs.h <<\_ACEOF 5389 #define _ALL_SOURCE 1 5390 _ACEOF 5391 5392 cat >>confdefs.h <<\_ACEOF 5393 #define _GNU_SOURCE 1 5394 _ACEOF 5395 5396 cat >>confdefs.h <<\_ACEOF 5397 #define _POSIX_PTHREAD_SEMANTICS 1 5398 _ACEOF 5399 5400 cat >>confdefs.h <<\_ACEOF 5401 #define _TANDEM_SOURCE 1 5402 _ACEOF 5403 5404 5405 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 5096 5406 $as_echo_n "checking for library containing strerror... " >&6; } 5097 if ${ac_cv_search_strerror+:} false; then :5407 if test "${ac_cv_search_strerror+set}" = set; then 5098 5408 $as_echo_n "(cached) " >&6 5099 5409 else 5100 5410 ac_func_search_save_LIBS=$LIBS 5101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5411 cat >conftest.$ac_ext <<_ACEOF 5412 /* confdefs.h. */ 5413 _ACEOF 5414 cat confdefs.h >>conftest.$ac_ext 5415 cat >>conftest.$ac_ext <<_ACEOF 5102 5416 /* end confdefs.h. */ 5103 5417 … … 5124 5438 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5125 5439 fi 5126 if ac_fn_c_try_link "$LINENO"; then : 5440 rm -f conftest.$ac_objext conftest$ac_exeext 5441 if { (ac_try="$ac_link" 5442 case "(($ac_try" in 5443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5444 *) ac_try_echo=$ac_try;; 5445 esac 5446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5447 $as_echo "$ac_try_echo") >&5 5448 (eval "$ac_link") 2>conftest.er1 5449 ac_status=$? 5450 grep -v '^ *+' conftest.er1 >conftest.err 5451 rm -f conftest.er1 5452 cat conftest.err >&5 5453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5454 (exit $ac_status); } && { 5455 test -z "$ac_c_werror_flag" || 5456 test ! -s conftest.err 5457 } && test -s conftest$ac_exeext && { 5458 test "$cross_compiling" = yes || 5459 $as_test_x conftest$ac_exeext 5460 }; then 5127 5461 ac_cv_search_strerror=$ac_res 5128 fi 5129 rm -f core conftest.err conftest.$ac_objext \ 5130 conftest$ac_exeext 5131 if ${ac_cv_search_strerror+:} false; then : 5462 else 5463 $as_echo "$as_me: failed program was:" >&5 5464 sed 's/^/| /' conftest.$ac_ext >&5 5465 5466 5467 fi 5468 5469 rm -rf conftest.dSYM 5470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5471 conftest$ac_exeext 5472 if test "${ac_cv_search_strerror+set}" = set; then 5132 5473 break 5133 5474 fi 5134 5475 done 5135 if ${ac_cv_search_strerror+:} false; then :5136 5476 if test "${ac_cv_search_strerror+set}" = set; then 5477 : 5137 5478 else 5138 5479 ac_cv_search_strerror=no … … 5141 5482 LIBS=$ac_func_search_save_LIBS 5142 5483 fi 5143 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&55484 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 5144 5485 $as_echo "$ac_cv_search_strerror" >&6; } 5145 5486 ac_res=$ac_cv_search_strerror 5146 if test "$ac_res" != no; then :5487 if test "$ac_res" != no; then 5147 5488 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5148 5489 … … 5150 5491 5151 5492 5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5493 if test "${ac_cv_header_minix_config_h+set}" = set; then 5494 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5495 $as_echo_n "checking for minix/config.h... " >&6; } 5496 if test "${ac_cv_header_minix_config_h+set}" = set; then 5497 $as_echo_n "(cached) " >&6 5498 fi 5499 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5500 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5501 else 5502 # Is the header compilable? 5503 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5504 $as_echo_n "checking minix/config.h usability... " >&6; } 5505 cat >conftest.$ac_ext <<_ACEOF 5506 /* confdefs.h. */ 5507 _ACEOF 5508 cat confdefs.h >>conftest.$ac_ext 5509 cat >>conftest.$ac_ext <<_ACEOF 5510 /* end confdefs.h. */ 5511 $ac_includes_default 5512 #include <minix/config.h> 5513 _ACEOF 5514 rm -f conftest.$ac_objext 5515 if { (ac_try="$ac_compile" 5516 case "(($ac_try" in 5517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5518 *) ac_try_echo=$ac_try;; 5519 esac 5520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5521 $as_echo "$ac_try_echo") >&5 5522 (eval "$ac_compile") 2>conftest.er1 5523 ac_status=$? 5524 grep -v '^ *+' conftest.er1 >conftest.err 5525 rm -f conftest.er1 5526 cat conftest.err >&5 5527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5528 (exit $ac_status); } && { 5529 test -z "$ac_c_werror_flag" || 5530 test ! -s conftest.err 5531 } && test -s conftest.$ac_objext; then 5532 ac_header_compiler=yes 5533 else 5534 $as_echo "$as_me: failed program was:" >&5 5535 sed 's/^/| /' conftest.$ac_ext >&5 5536 5537 ac_header_compiler=no 5538 fi 5539 5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5541 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5542 $as_echo "$ac_header_compiler" >&6; } 5543 5544 # Is the header present? 5545 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5546 $as_echo_n "checking minix/config.h presence... " >&6; } 5547 cat >conftest.$ac_ext <<_ACEOF 5548 /* confdefs.h. */ 5549 _ACEOF 5550 cat confdefs.h >>conftest.$ac_ext 5551 cat >>conftest.$ac_ext <<_ACEOF 5552 /* end confdefs.h. */ 5553 #include <minix/config.h> 5554 _ACEOF 5555 if { (ac_try="$ac_cpp conftest.$ac_ext" 5556 case "(($ac_try" in 5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5558 *) ac_try_echo=$ac_try;; 5559 esac 5560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5561 $as_echo "$ac_try_echo") >&5 5562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5563 ac_status=$? 5564 grep -v '^ *+' conftest.er1 >conftest.err 5565 rm -f conftest.er1 5566 cat conftest.err >&5 5567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5568 (exit $ac_status); } >/dev/null && { 5569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5570 test ! -s conftest.err 5571 }; then 5572 ac_header_preproc=yes 5573 else 5574 $as_echo "$as_me: failed program was:" >&5 5575 sed 's/^/| /' conftest.$ac_ext >&5 5576 5577 ac_header_preproc=no 5578 fi 5579 5580 rm -f conftest.err conftest.$ac_ext 5581 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5582 $as_echo "$ac_header_preproc" >&6; } 5583 5584 # So? What about this header? 5585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5586 yes:no: ) 5587 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5588 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5589 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5590 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5591 ac_header_preproc=yes 5592 ;; 5593 no:yes:* ) 5594 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5595 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5596 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5597 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5598 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5599 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5600 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5601 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5602 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5603 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5604 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5605 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5606 5607 ;; 5608 esac 5609 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5610 $as_echo_n "checking for minix/config.h... " >&6; } 5611 if test "${ac_cv_header_minix_config_h+set}" = set; then 5612 $as_echo_n "(cached) " >&6 5613 else 5614 ac_cv_header_minix_config_h=$ac_header_preproc 5615 fi 5616 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5617 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5618 5619 fi 5620 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5621 MINIX=yes 5622 else 5623 MINIX= 5624 fi 5625 5626 5627 if test "$MINIX" = yes; then 5628 5629 cat >>confdefs.h <<\_ACEOF 5630 #define _POSIX_SOURCE 1 5631 _ACEOF 5632 5633 5634 cat >>confdefs.h <<\_ACEOF 5635 #define _POSIX_1_SOURCE 2 5636 _ACEOF 5637 5638 5639 cat >>confdefs.h <<\_ACEOF 5640 #define _MINIX 1 5641 _ACEOF 5642 5643 fi 5644 5645 5646 5647 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5648 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5649 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5650 $as_echo_n "(cached) " >&6 5651 else 5652 cat >conftest.$ac_ext <<_ACEOF 5653 /* confdefs.h. */ 5654 _ACEOF 5655 cat confdefs.h >>conftest.$ac_ext 5656 cat >>conftest.$ac_ext <<_ACEOF 5657 /* end confdefs.h. */ 5658 5659 # define __EXTENSIONS__ 1 5660 $ac_includes_default 5661 int 5662 main () 5663 { 5664 5665 ; 5666 return 0; 5667 } 5668 _ACEOF 5669 rm -f conftest.$ac_objext 5670 if { (ac_try="$ac_compile" 5671 case "(($ac_try" in 5672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5673 *) ac_try_echo=$ac_try;; 5674 esac 5675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5676 $as_echo "$ac_try_echo") >&5 5677 (eval "$ac_compile") 2>conftest.er1 5678 ac_status=$? 5679 grep -v '^ *+' conftest.er1 >conftest.err 5680 rm -f conftest.er1 5681 cat conftest.err >&5 5682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5683 (exit $ac_status); } && { 5684 test -z "$ac_c_werror_flag" || 5685 test ! -s conftest.err 5686 } && test -s conftest.$ac_objext; then 5687 ac_cv_safe_to_define___extensions__=yes 5688 else 5689 $as_echo "$as_me: failed program was:" >&5 5690 sed 's/^/| /' conftest.$ac_ext >&5 5691 5692 ac_cv_safe_to_define___extensions__=no 5693 fi 5694 5695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5696 fi 5697 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5698 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5699 test $ac_cv_safe_to_define___extensions__ = yes && 5700 cat >>confdefs.h <<\_ACEOF 5701 #define __EXTENSIONS__ 1 5702 _ACEOF 5703 5704 cat >>confdefs.h <<\_ACEOF 5705 #define _ALL_SOURCE 1 5706 _ACEOF 5707 5708 cat >>confdefs.h <<\_ACEOF 5709 #define _GNU_SOURCE 1 5710 _ACEOF 5711 5712 cat >>confdefs.h <<\_ACEOF 5713 #define _POSIX_PTHREAD_SEMANTICS 1 5714 _ACEOF 5715 5716 cat >>confdefs.h <<\_ACEOF 5717 #define _TANDEM_SOURCE 1 5718 _ACEOF 5719 5720 5721 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5153 5722 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 5154 if ${ac_cv_prog_cc_stdc+:} false; then :5723 if test "${ac_cv_prog_cc_stdc+set}" = set; then 5155 5724 $as_echo_n "(cached) " >&6 5156 5725 else … … 5166 5735 do 5167 5736 CFLAGS="$ac_save_CFLAGS $ac_arg" 5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5737 cat >conftest.$ac_ext <<_ACEOF 5738 /* confdefs.h. */ 5739 _ACEOF 5740 cat confdefs.h >>conftest.$ac_ext 5741 cat >>conftest.$ac_ext <<_ACEOF 5169 5742 /* end confdefs.h. */ 5170 5743 #if !defined(__STDC__) || __STDC__ != 1 … … 5182 5755 } 5183 5756 _ACEOF 5184 if ac_fn_c_try_compile "$LINENO"; then : 5757 rm -f conftest.$ac_objext 5758 if { (ac_try="$ac_compile" 5759 case "(($ac_try" in 5760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5761 *) ac_try_echo=$ac_try;; 5762 esac 5763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5764 $as_echo "$ac_try_echo") >&5 5765 (eval "$ac_compile") 2>conftest.er1 5766 ac_status=$? 5767 grep -v '^ *+' conftest.er1 >conftest.err 5768 rm -f conftest.er1 5769 cat conftest.err >&5 5770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5771 (exit $ac_status); } && { 5772 test -z "$ac_c_werror_flag" || 5773 test ! -s conftest.err 5774 } && test -s conftest.$ac_objext; then 5185 5775 ac_cv_prog_cc_stdc="$ac_arg"; break 5186 fi 5776 else 5777 $as_echo "$as_me: failed program was:" >&5 5778 sed 's/^/| /' conftest.$ac_ext >&5 5779 5780 5781 fi 5782 5187 5783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5188 5784 done … … 5191 5787 fi 5192 5788 5193 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&55789 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5194 5790 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 5195 5791 case "x$ac_cv_prog_cc_stdc" in … … 5199 5795 5200 5796 5201 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for function prototypes" >&55797 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5202 5798 $as_echo_n "checking for function prototypes... " >&6; } 5203 5799 if test "$ac_cv_prog_cc_stdc" != no; then 5204 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&55800 { $as_echo "$as_me:$LINENO: result: yes" >&5 5205 5801 $as_echo "yes" >&6; } 5206 $as_echo "#define PROTOTYPES 1" >>confdefs.h 5802 cat >>confdefs.h <<\_ACEOF 5803 #define PROTOTYPES 1 5804 _ACEOF 5207 5805 5208 5806 U= ANSI2KNR= 5209 5807 else 5210 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&55808 { $as_echo "$as_me:$LINENO: result: no" >&5 5211 5809 $as_echo "no" >&6; } 5212 5810 U=_ ANSI2KNR=ansi2knr 5213 5811 fi 5214 5812 5215 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&55813 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5216 5814 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5217 if ${ac_cv_c_const+:} false; then :5815 if test "${ac_cv_c_const+set}" = set; then 5218 5816 $as_echo_n "(cached) " >&6 5219 5817 else 5220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5818 cat >conftest.$ac_ext <<_ACEOF 5819 /* confdefs.h. */ 5820 _ACEOF 5821 cat confdefs.h >>conftest.$ac_ext 5822 cat >>conftest.$ac_ext <<_ACEOF 5221 5823 /* end confdefs.h. */ 5222 5824 … … 5278 5880 } 5279 5881 _ACEOF 5280 if ac_fn_c_try_compile "$LINENO"; then : 5882 rm -f conftest.$ac_objext 5883 if { (ac_try="$ac_compile" 5884 case "(($ac_try" in 5885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5886 *) ac_try_echo=$ac_try;; 5887 esac 5888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5889 $as_echo "$ac_try_echo") >&5 5890 (eval "$ac_compile") 2>conftest.er1 5891 ac_status=$? 5892 grep -v '^ *+' conftest.er1 >conftest.err 5893 rm -f conftest.er1 5894 cat conftest.err >&5 5895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5896 (exit $ac_status); } && { 5897 test -z "$ac_c_werror_flag" || 5898 test ! -s conftest.err 5899 } && test -s conftest.$ac_objext; then 5281 5900 ac_cv_c_const=yes 5282 5901 else 5283 ac_cv_c_const=no 5284 fi 5902 $as_echo "$as_me: failed program was:" >&5 5903 sed 's/^/| /' conftest.$ac_ext >&5 5904 5905 ac_cv_c_const=no 5906 fi 5907 5285 5908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5286 5909 fi 5287 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_const" >&55910 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5288 5911 $as_echo "$ac_cv_c_const" >&6; } 5289 5912 if test $ac_cv_c_const = no; then 5290 5913 5291 $as_echo "#define const /**/" >>confdefs.h 5292 5293 fi 5294 5295 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5296 if test "x$ac_cv_type_off_t" = xyes; then : 5297 5914 cat >>confdefs.h <<\_ACEOF 5915 #define const /**/ 5916 _ACEOF 5917 5918 fi 5919 5920 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5921 $as_echo_n "checking for off_t... " >&6; } 5922 if test "${ac_cv_type_off_t+set}" = set; then 5923 $as_echo_n "(cached) " >&6 5924 else 5925 ac_cv_type_off_t=no 5926 cat >conftest.$ac_ext <<_ACEOF 5927 /* confdefs.h. */ 5928 _ACEOF 5929 cat confdefs.h >>conftest.$ac_ext 5930 cat >>conftest.$ac_ext <<_ACEOF 5931 /* end confdefs.h. */ 5932 $ac_includes_default 5933 int 5934 main () 5935 { 5936 if (sizeof (off_t)) 5937 return 0; 5938 ; 5939 return 0; 5940 } 5941 _ACEOF 5942 rm -f conftest.$ac_objext 5943 if { (ac_try="$ac_compile" 5944 case "(($ac_try" in 5945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5946 *) ac_try_echo=$ac_try;; 5947 esac 5948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5949 $as_echo "$ac_try_echo") >&5 5950 (eval "$ac_compile") 2>conftest.er1 5951 ac_status=$? 5952 grep -v '^ *+' conftest.er1 >conftest.err 5953 rm -f conftest.er1 5954 cat conftest.err >&5 5955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5956 (exit $ac_status); } && { 5957 test -z "$ac_c_werror_flag" || 5958 test ! -s conftest.err 5959 } && test -s conftest.$ac_objext; then 5960 cat >conftest.$ac_ext <<_ACEOF 5961 /* confdefs.h. */ 5962 _ACEOF 5963 cat confdefs.h >>conftest.$ac_ext 5964 cat >>conftest.$ac_ext <<_ACEOF 5965 /* end confdefs.h. */ 5966 $ac_includes_default 5967 int 5968 main () 5969 { 5970 if (sizeof ((off_t))) 5971 return 0; 5972 ; 5973 return 0; 5974 } 5975 _ACEOF 5976 rm -f conftest.$ac_objext 5977 if { (ac_try="$ac_compile" 5978 case "(($ac_try" in 5979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5980 *) ac_try_echo=$ac_try;; 5981 esac 5982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5983 $as_echo "$ac_try_echo") >&5 5984 (eval "$ac_compile") 2>conftest.er1 5985 ac_status=$? 5986 grep -v '^ *+' conftest.er1 >conftest.err 5987 rm -f conftest.er1 5988 cat conftest.err >&5 5989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5990 (exit $ac_status); } && { 5991 test -z "$ac_c_werror_flag" || 5992 test ! -s conftest.err 5993 } && test -s conftest.$ac_objext; then 5994 : 5995 else 5996 $as_echo "$as_me: failed program was:" >&5 5997 sed 's/^/| /' conftest.$ac_ext >&5 5998 5999 ac_cv_type_off_t=yes 6000 fi 6001 6002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6003 else 6004 $as_echo "$as_me: failed program was:" >&5 6005 sed 's/^/| /' conftest.$ac_ext >&5 6006 6007 6008 fi 6009 6010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6011 fi 6012 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 6013 $as_echo "$ac_cv_type_off_t" >&6; } 6014 if test "x$ac_cv_type_off_t" = x""yes; then 6015 : 5298 6016 else 5299 6017 … … 5304 6022 fi 5305 6023 5306 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5307 if test "x$ac_cv_type_size_t" = xyes; then : 5308 6024 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 6025 $as_echo_n "checking for size_t... " >&6; } 6026 if test "${ac_cv_type_size_t+set}" = set; then 6027 $as_echo_n "(cached) " >&6 6028 else 6029 ac_cv_type_size_t=no 6030 cat >conftest.$ac_ext <<_ACEOF 6031 /* confdefs.h. */ 6032 _ACEOF 6033 cat confdefs.h >>conftest.$ac_ext 6034 cat >>conftest.$ac_ext <<_ACEOF 6035 /* end confdefs.h. */ 6036 $ac_includes_default 6037 int 6038 main () 6039 { 6040 if (sizeof (size_t)) 6041 return 0; 6042 ; 6043 return 0; 6044 } 6045 _ACEOF 6046 rm -f conftest.$ac_objext 6047 if { (ac_try="$ac_compile" 6048 case "(($ac_try" in 6049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6050 *) ac_try_echo=$ac_try;; 6051 esac 6052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6053 $as_echo "$ac_try_echo") >&5 6054 (eval "$ac_compile") 2>conftest.er1 6055 ac_status=$? 6056 grep -v '^ *+' conftest.er1 >conftest.err 6057 rm -f conftest.er1 6058 cat conftest.err >&5 6059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6060 (exit $ac_status); } && { 6061 test -z "$ac_c_werror_flag" || 6062 test ! -s conftest.err 6063 } && test -s conftest.$ac_objext; then 6064 cat >conftest.$ac_ext <<_ACEOF 6065 /* confdefs.h. */ 6066 _ACEOF 6067 cat confdefs.h >>conftest.$ac_ext 6068 cat >>conftest.$ac_ext <<_ACEOF 6069 /* end confdefs.h. */ 6070 $ac_includes_default 6071 int 6072 main () 6073 { 6074 if (sizeof ((size_t))) 6075 return 0; 6076 ; 6077 return 0; 6078 } 6079 _ACEOF 6080 rm -f conftest.$ac_objext 6081 if { (ac_try="$ac_compile" 6082 case "(($ac_try" in 6083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6084 *) ac_try_echo=$ac_try;; 6085 esac 6086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6087 $as_echo "$ac_try_echo") >&5 6088 (eval "$ac_compile") 2>conftest.er1 6089 ac_status=$? 6090 grep -v '^ *+' conftest.er1 >conftest.err 6091 rm -f conftest.er1 6092 cat conftest.err >&5 6093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6094 (exit $ac_status); } && { 6095 test -z "$ac_c_werror_flag" || 6096 test ! -s conftest.err 6097 } && test -s conftest.$ac_objext; then 6098 : 6099 else 6100 $as_echo "$as_me: failed program was:" >&5 6101 sed 's/^/| /' conftest.$ac_ext >&5 6102 6103 ac_cv_type_size_t=yes 6104 fi 6105 6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6107 else 6108 $as_echo "$as_me: failed program was:" >&5 6109 sed 's/^/| /' conftest.$ac_ext >&5 6110 6111 6112 fi 6113 6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6115 fi 6116 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6117 $as_echo "$ac_cv_type_size_t" >&6; } 6118 if test "x$ac_cv_type_size_t" = x""yes; then 6119 : 5309 6120 else 5310 6121 … … 5315 6126 fi 5316 6127 5317 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&56128 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5318 6129 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 5319 if ${ac_cv_header_time+:} false; then :6130 if test "${ac_cv_header_time+set}" = set; then 5320 6131 $as_echo_n "(cached) " >&6 5321 6132 else 5322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6133 cat >conftest.$ac_ext <<_ACEOF 6134 /* confdefs.h. */ 6135 _ACEOF 6136 cat confdefs.h >>conftest.$ac_ext 6137 cat >>conftest.$ac_ext <<_ACEOF 5323 6138 /* end confdefs.h. */ 5324 6139 #include <sys/types.h> … … 5335 6150 } 5336 6151 _ACEOF 5337 if ac_fn_c_try_compile "$LINENO"; then : 6152 rm -f conftest.$ac_objext 6153 if { (ac_try="$ac_compile" 6154 case "(($ac_try" in 6155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6156 *) ac_try_echo=$ac_try;; 6157 esac 6158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6159 $as_echo "$ac_try_echo") >&5 6160 (eval "$ac_compile") 2>conftest.er1 6161 ac_status=$? 6162 grep -v '^ *+' conftest.er1 >conftest.err 6163 rm -f conftest.er1 6164 cat conftest.err >&5 6165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6166 (exit $ac_status); } && { 6167 test -z "$ac_c_werror_flag" || 6168 test ! -s conftest.err 6169 } && test -s conftest.$ac_objext; then 5338 6170 ac_cv_header_time=yes 5339 6171 else 5340 ac_cv_header_time=no 5341 fi 6172 $as_echo "$as_me: failed program was:" >&5 6173 sed 's/^/| /' conftest.$ac_ext >&5 6174 6175 ac_cv_header_time=no 6176 fi 6177 5342 6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5343 6179 fi 5344 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_header_time" >&56180 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5345 6181 $as_echo "$ac_cv_header_time" >&6; } 5346 6182 if test $ac_cv_header_time = yes; then 5347 6183 5348 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5349 5350 fi 5351 5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6184 cat >>confdefs.h <<\_ACEOF 6185 #define TIME_WITH_SYS_TIME 1 6186 _ACEOF 6187 6188 fi 6189 6190 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5353 6191 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5354 if ${ac_cv_struct_tm+:} false; then :6192 if test "${ac_cv_struct_tm+set}" = set; then 5355 6193 $as_echo_n "(cached) " >&6 5356 6194 else 5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6195 cat >conftest.$ac_ext <<_ACEOF 6196 /* confdefs.h. */ 6197 _ACEOF 6198 cat confdefs.h >>conftest.$ac_ext 6199 cat >>conftest.$ac_ext <<_ACEOF 5358 6200 /* end confdefs.h. */ 5359 6201 #include <sys/types.h> … … 5370 6212 } 5371 6213 _ACEOF 5372 if ac_fn_c_try_compile "$LINENO"; then : 6214 rm -f conftest.$ac_objext 6215 if { (ac_try="$ac_compile" 6216 case "(($ac_try" in 6217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6218 *) ac_try_echo=$ac_try;; 6219 esac 6220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6221 $as_echo "$ac_try_echo") >&5 6222 (eval "$ac_compile") 2>conftest.er1 6223 ac_status=$? 6224 grep -v '^ *+' conftest.er1 >conftest.err 6225 rm -f conftest.er1 6226 cat conftest.err >&5 6227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6228 (exit $ac_status); } && { 6229 test -z "$ac_c_werror_flag" || 6230 test ! -s conftest.err 6231 } && test -s conftest.$ac_objext; then 5373 6232 ac_cv_struct_tm=time.h 5374 6233 else 5375 ac_cv_struct_tm=sys/time.h 5376 fi 6234 $as_echo "$as_me: failed program was:" >&5 6235 sed 's/^/| /' conftest.$ac_ext >&5 6236 6237 ac_cv_struct_tm=sys/time.h 6238 fi 6239 5377 6240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5378 6241 fi 5379 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&56242 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5380 6243 $as_echo "$ac_cv_struct_tm" >&6; } 5381 6244 if test $ac_cv_struct_tm = sys/time.h; then 5382 6245 5383 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 6246 cat >>confdefs.h <<\_ACEOF 6247 #define TM_IN_SYS_TIME 1 6248 _ACEOF 5384 6249 5385 6250 fi … … 5387 6252 5388 6253 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 5389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6254 cat >conftest.$ac_ext <<_ACEOF 6255 /* confdefs.h. */ 6256 _ACEOF 6257 cat confdefs.h >>conftest.$ac_ext 6258 cat >>conftest.$ac_ext <<_ACEOF 5390 6259 /* end confdefs.h. */ 5391 6260 #include <stdio.h> … … 5399 6268 } 5400 6269 _ACEOF 5401 if ac_fn_c_try_compile "$LINENO"; then : 5402 5403 else 5404 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5405 fi 6270 rm -f conftest.$ac_objext 6271 if { (ac_try="$ac_compile" 6272 case "(($ac_try" in 6273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6274 *) ac_try_echo=$ac_try;; 6275 esac 6276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6277 $as_echo "$ac_try_echo") >&5 6278 (eval "$ac_compile") 2>conftest.er1 6279 ac_status=$? 6280 grep -v '^ *+' conftest.er1 >conftest.err 6281 rm -f conftest.er1 6282 cat conftest.err >&5 6283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6284 (exit $ac_status); } && { 6285 test -z "$ac_c_werror_flag" || 6286 test ! -s conftest.err 6287 } && test -s conftest.$ac_objext; then 6288 : 6289 else 6290 $as_echo "$as_me: failed program was:" >&5 6291 sed 's/^/| /' conftest.$ac_ext >&5 6292 6293 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6294 fi 6295 5406 6296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5407 6297 fi 5408 6298 5409 6299 5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 6300 6301 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 5411 6302 $as_echo_n "checking for main in -lg... " >&6; } 5412 if ${ac_cv_lib_g_main+:} false; then :6303 if test "${ac_cv_lib_g_main+set}" = set; then 5413 6304 $as_echo_n "(cached) " >&6 5414 6305 else 5415 6306 ac_check_lib_save_LIBS=$LIBS 5416 6307 LIBS="-lg $LIBS" 5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6308 cat >conftest.$ac_ext <<_ACEOF 6309 /* confdefs.h. */ 6310 _ACEOF 6311 cat confdefs.h >>conftest.$ac_ext 6312 cat >>conftest.$ac_ext <<_ACEOF 5418 6313 /* end confdefs.h. */ 5419 6314 … … 5427 6322 } 5428 6323 _ACEOF 5429 if ac_fn_c_try_link "$LINENO"; then : 6324 rm -f conftest.$ac_objext conftest$ac_exeext 6325 if { (ac_try="$ac_link" 6326 case "(($ac_try" in 6327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6328 *) ac_try_echo=$ac_try;; 6329 esac 6330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6331 $as_echo "$ac_try_echo") >&5 6332 (eval "$ac_link") 2>conftest.er1 6333 ac_status=$? 6334 grep -v '^ *+' conftest.er1 >conftest.err 6335 rm -f conftest.er1 6336 cat conftest.err >&5 6337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6338 (exit $ac_status); } && { 6339 test -z "$ac_c_werror_flag" || 6340 test ! -s conftest.err 6341 } && test -s conftest$ac_exeext && { 6342 test "$cross_compiling" = yes || 6343 $as_test_x conftest$ac_exeext 6344 }; then 5430 6345 ac_cv_lib_g_main=yes 5431 6346 else 5432 ac_cv_lib_g_main=no 5433 fi 5434 rm -f core conftest.err conftest.$ac_objext \ 5435 conftest$ac_exeext conftest.$ac_ext 6347 $as_echo "$as_me: failed program was:" >&5 6348 sed 's/^/| /' conftest.$ac_ext >&5 6349 6350 ac_cv_lib_g_main=no 6351 fi 6352 6353 rm -rf conftest.dSYM 6354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6355 conftest$ac_exeext conftest.$ac_ext 5436 6356 LIBS=$ac_check_lib_save_LIBS 5437 6357 fi 5438 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&56358 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5439 6359 $as_echo "$ac_cv_lib_g_main" >&6; } 5440 if test "x$ac_cv_lib_g_main" = x yes; then :6360 if test "x$ac_cv_lib_g_main" = x""yes; then 5441 6361 cat >>confdefs.h <<_ACEOF 5442 6362 #define HAVE_LIBG 1 … … 5448 6368 ac_cv_lib_g=ac_cv_lib_g_main 5449 6369 5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 6370 6371 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5451 6372 $as_echo_n "checking for main in -lm... " >&6; } 5452 if ${ac_cv_lib_m_main+:} false; then :6373 if test "${ac_cv_lib_m_main+set}" = set; then 5453 6374 $as_echo_n "(cached) " >&6 5454 6375 else 5455 6376 ac_check_lib_save_LIBS=$LIBS 5456 6377 LIBS="-lm $LIBS" 5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6378 cat >conftest.$ac_ext <<_ACEOF 6379 /* confdefs.h. */ 6380 _ACEOF 6381 cat confdefs.h >>conftest.$ac_ext 6382 cat >>conftest.$ac_ext <<_ACEOF 5458 6383 /* end confdefs.h. */ 5459 6384 … … 5467 6392 } 5468 6393 _ACEOF 5469 if ac_fn_c_try_link "$LINENO"; then : 6394 rm -f conftest.$ac_objext conftest$ac_exeext 6395 if { (ac_try="$ac_link" 6396 case "(($ac_try" in 6397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6398 *) ac_try_echo=$ac_try;; 6399 esac 6400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6401 $as_echo "$ac_try_echo") >&5 6402 (eval "$ac_link") 2>conftest.er1 6403 ac_status=$? 6404 grep -v '^ *+' conftest.er1 >conftest.err 6405 rm -f conftest.er1 6406 cat conftest.err >&5 6407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6408 (exit $ac_status); } && { 6409 test -z "$ac_c_werror_flag" || 6410 test ! -s conftest.err 6411 } && test -s conftest$ac_exeext && { 6412 test "$cross_compiling" = yes || 6413 $as_test_x conftest$ac_exeext 6414 }; then 5470 6415 ac_cv_lib_m_main=yes 5471 6416 else 5472 ac_cv_lib_m_main=no 5473 fi 5474 rm -f core conftest.err conftest.$ac_objext \ 5475 conftest$ac_exeext conftest.$ac_ext 6417 $as_echo "$as_me: failed program was:" >&5 6418 sed 's/^/| /' conftest.$ac_ext >&5 6419 6420 ac_cv_lib_m_main=no 6421 fi 6422 6423 rm -rf conftest.dSYM 6424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6425 conftest$ac_exeext conftest.$ac_ext 5476 6426 LIBS=$ac_check_lib_save_LIBS 5477 6427 fi 5478 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&56428 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5479 6429 $as_echo "$ac_cv_lib_m_main" >&6; } 5480 if test "x$ac_cv_lib_m_main" = x yes; then :6430 if test "x$ac_cv_lib_m_main" = x""yes; then 5481 6431 cat >>confdefs.h <<_ACEOF 5482 6432 #define HAVE_LIBM 1 … … 5488 6438 ac_cv_lib_m=ac_cv_lib_m_main 5489 6439 5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 6440 6441 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5491 6442 $as_echo_n "checking for main in -lcrypt... " >&6; } 5492 if ${ac_cv_lib_crypt_main+:} false; then :6443 if test "${ac_cv_lib_crypt_main+set}" = set; then 5493 6444 $as_echo_n "(cached) " >&6 5494 6445 else 5495 6446 ac_check_lib_save_LIBS=$LIBS 5496 6447 LIBS="-lcrypt $LIBS" 5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6448 cat >conftest.$ac_ext <<_ACEOF 6449 /* confdefs.h. */ 6450 _ACEOF 6451 cat confdefs.h >>conftest.$ac_ext 6452 cat >>conftest.$ac_ext <<_ACEOF 5498 6453 /* end confdefs.h. */ 5499 6454 … … 5507 6462 } 5508 6463 _ACEOF 5509 if ac_fn_c_try_link "$LINENO"; then : 6464 rm -f conftest.$ac_objext conftest$ac_exeext 6465 if { (ac_try="$ac_link" 6466 case "(($ac_try" in 6467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6468 *) ac_try_echo=$ac_try;; 6469 esac 6470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6471 $as_echo "$ac_try_echo") >&5 6472 (eval "$ac_link") 2>conftest.er1 6473 ac_status=$? 6474 grep -v '^ *+' conftest.er1 >conftest.err 6475 rm -f conftest.er1 6476 cat conftest.err >&5 6477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6478 (exit $ac_status); } && { 6479 test -z "$ac_c_werror_flag" || 6480 test ! -s conftest.err 6481 } && test -s conftest$ac_exeext && { 6482 test "$cross_compiling" = yes || 6483 $as_test_x conftest$ac_exeext 6484 }; then 5510 6485 ac_cv_lib_crypt_main=yes 5511 6486 else 5512 ac_cv_lib_crypt_main=no 5513 fi 5514 rm -f core conftest.err conftest.$ac_objext \ 5515 conftest$ac_exeext conftest.$ac_ext 6487 $as_echo "$as_me: failed program was:" >&5 6488 sed 's/^/| /' conftest.$ac_ext >&5 6489 6490 ac_cv_lib_crypt_main=no 6491 fi 6492 6493 rm -rf conftest.dSYM 6494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6495 conftest$ac_exeext conftest.$ac_ext 5516 6496 LIBS=$ac_check_lib_save_LIBS 5517 6497 fi 5518 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&56498 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5519 6499 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5520 if test "x$ac_cv_lib_crypt_main" = x yes; then :6500 if test "x$ac_cv_lib_crypt_main" = x""yes; then 5521 6501 cat >>confdefs.h <<_ACEOF 5522 6502 #define HAVE_LIBCRYPT 1 … … 5529 6509 5530 6510 if test $ENABLE_ACCENTFOLD = 1; then 5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5 6511 6512 { $as_echo "$as_me:$LINENO: checking for main in -liconv" >&5 5532 6513 $as_echo_n "checking for main in -liconv... " >&6; } 5533 if ${ac_cv_lib_iconv_main+:} false; then :6514 if test "${ac_cv_lib_iconv_main+set}" = set; then 5534 6515 $as_echo_n "(cached) " >&6 5535 6516 else 5536 6517 ac_check_lib_save_LIBS=$LIBS 5537 6518 LIBS="-liconv $LIBS" 5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6519 cat >conftest.$ac_ext <<_ACEOF 6520 /* confdefs.h. */ 6521 _ACEOF 6522 cat confdefs.h >>conftest.$ac_ext 6523 cat >>conftest.$ac_ext <<_ACEOF 5539 6524 /* end confdefs.h. */ 5540 6525 … … 5548 6533 } 5549 6534 _ACEOF 5550 if ac_fn_c_try_link "$LINENO"; then : 6535 rm -f conftest.$ac_objext conftest$ac_exeext 6536 if { (ac_try="$ac_link" 6537 case "(($ac_try" in 6538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6539 *) ac_try_echo=$ac_try;; 6540 esac 6541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6542 $as_echo "$ac_try_echo") >&5 6543 (eval "$ac_link") 2>conftest.er1 6544 ac_status=$? 6545 grep -v '^ *+' conftest.er1 >conftest.err 6546 rm -f conftest.er1 6547 cat conftest.err >&5 6548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6549 (exit $ac_status); } && { 6550 test -z "$ac_c_werror_flag" || 6551 test ! -s conftest.err 6552 } && test -s conftest$ac_exeext && { 6553 test "$cross_compiling" = yes || 6554 $as_test_x conftest$ac_exeext 6555 }; then 5551 6556 ac_cv_lib_iconv_main=yes 5552 6557 else 5553 ac_cv_lib_iconv_main=no 5554 fi 5555 rm -f core conftest.err conftest.$ac_objext \ 5556 conftest$ac_exeext conftest.$ac_ext 6558 $as_echo "$as_me: failed program was:" >&5 6559 sed 's/^/| /' conftest.$ac_ext >&5 6560 6561 ac_cv_lib_iconv_main=no 6562 fi 6563 6564 rm -rf conftest.dSYM 6565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6566 conftest$ac_exeext conftest.$ac_ext 5557 6567 LIBS=$ac_check_lib_save_LIBS 5558 6568 fi 5559 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&56569 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 5560 6570 $as_echo "$ac_cv_lib_iconv_main" >&6; } 5561 if test "x$ac_cv_lib_iconv_main" = x yes; then :6571 if test "x$ac_cv_lib_iconv_main" = x""yes; then 5562 6572 cat >>confdefs.h <<_ACEOF 5563 6573 #define HAVE_LIBICONV 1 … … 5570 6580 5571 6581 fi 6582 6583 6584 6585 6586 5572 6587 5573 6588 ac_header_dirent=no 5574 6589 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5575 6590 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5576 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&56591 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5577 6592 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5578 if eval \${$as_ac_Header+:} false; then :6593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5579 6594 $as_echo_n "(cached) " >&6 5580 6595 else 5581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6596 cat >conftest.$ac_ext <<_ACEOF 6597 /* confdefs.h. */ 6598 _ACEOF 6599 cat confdefs.h >>conftest.$ac_ext 6600 cat >>conftest.$ac_ext <<_ACEOF 5582 6601 /* end confdefs.h. */ 5583 6602 #include <sys/types.h> … … 5593 6612 } 5594 6613 _ACEOF 5595 if ac_fn_c_try_compile "$LINENO"; then : 6614 rm -f conftest.$ac_objext 6615 if { (ac_try="$ac_compile" 6616 case "(($ac_try" in 6617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6618 *) ac_try_echo=$ac_try;; 6619 esac 6620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6621 $as_echo "$ac_try_echo") >&5 6622 (eval "$ac_compile") 2>conftest.er1 6623 ac_status=$? 6624 grep -v '^ *+' conftest.er1 >conftest.err 6625 rm -f conftest.er1 6626 cat conftest.err >&5 6627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6628 (exit $ac_status); } && { 6629 test -z "$ac_c_werror_flag" || 6630 test ! -s conftest.err 6631 } && test -s conftest.$ac_objext; then 5596 6632 eval "$as_ac_Header=yes" 5597 6633 else 5598 eval "$as_ac_Header=no" 5599 fi 6634 $as_echo "$as_me: failed program was:" >&5 6635 sed 's/^/| /' conftest.$ac_ext >&5 6636 6637 eval "$as_ac_Header=no" 6638 fi 6639 5600 6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5601 6641 fi 5602 eval ac_res=\$$as_ac_Header 5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6642 ac_res=`eval 'as_val=${'$as_ac_Header'} 6643 $as_echo "$as_val"'` 6644 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5604 6645 $as_echo "$ac_res" >&6; } 5605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6646 as_val=`eval 'as_val=${'$as_ac_Header'} 6647 $as_echo "$as_val"'` 6648 if test "x$as_val" = x""yes; then 5606 6649 cat >>confdefs.h <<_ACEOF 5607 6650 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 … … 5614 6657 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5615 6658 if test $ac_header_dirent = dirent.h; then 5616 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for library containing opendir" >&56659 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5617 6660 $as_echo_n "checking for library containing opendir... " >&6; } 5618 if ${ac_cv_search_opendir+:} false; then :6661 if test "${ac_cv_search_opendir+set}" = set; then 5619 6662 $as_echo_n "(cached) " >&6 5620 6663 else 5621 6664 ac_func_search_save_LIBS=$LIBS 5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6665 cat >conftest.$ac_ext <<_ACEOF 6666 /* confdefs.h. */ 6667 _ACEOF 6668 cat confdefs.h >>conftest.$ac_ext 6669 cat >>conftest.$ac_ext <<_ACEOF 5623 6670 /* end confdefs.h. */ 5624 6671 … … 5645 6692 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5646 6693 fi 5647 if ac_fn_c_try_link "$LINENO"; then : 6694 rm -f conftest.$ac_objext conftest$ac_exeext 6695 if { (ac_try="$ac_link" 6696 case "(($ac_try" in 6697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6698 *) ac_try_echo=$ac_try;; 6699 esac 6700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6701 $as_echo "$ac_try_echo") >&5 6702 (eval "$ac_link") 2>conftest.er1 6703 ac_status=$? 6704 grep -v '^ *+' conftest.er1 >conftest.err 6705 rm -f conftest.er1 6706 cat conftest.err >&5 6707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6708 (exit $ac_status); } && { 6709 test -z "$ac_c_werror_flag" || 6710 test ! -s conftest.err 6711 } && test -s conftest$ac_exeext && { 6712 test "$cross_compiling" = yes || 6713 $as_test_x conftest$ac_exeext 6714 }; then 5648 6715 ac_cv_search_opendir=$ac_res 5649 fi 5650 rm -f core conftest.err conftest.$ac_objext \ 5651 conftest$ac_exeext 5652 if ${ac_cv_search_opendir+:} false; then : 6716 else 6717 $as_echo "$as_me: failed program was:" >&5 6718 sed 's/^/| /' conftest.$ac_ext >&5 6719 6720 6721 fi 6722 6723 rm -rf conftest.dSYM 6724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6725 conftest$ac_exeext 6726 if test "${ac_cv_search_opendir+set}" = set; then 5653 6727 break 5654 6728 fi 5655 6729 done 5656 if ${ac_cv_search_opendir+:} false; then :5657 6730 if test "${ac_cv_search_opendir+set}" = set; then 6731 : 5658 6732 else 5659 6733 ac_cv_search_opendir=no … … 5662 6736 LIBS=$ac_func_search_save_LIBS 5663 6737 fi 5664 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&56738 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5665 6739 $as_echo "$ac_cv_search_opendir" >&6; } 5666 6740 ac_res=$ac_cv_search_opendir 5667 if test "$ac_res" != no; then :6741 if test "$ac_res" != no; then 5668 6742 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5669 6743 … … 5671 6745 5672 6746 else 5673 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for library containing opendir" >&56747 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5674 6748 $as_echo_n "checking for library containing opendir... " >&6; } 5675 if ${ac_cv_search_opendir+:} false; then :6749 if test "${ac_cv_search_opendir+set}" = set; then 5676 6750 $as_echo_n "(cached) " >&6 5677 6751 else 5678 6752 ac_func_search_save_LIBS=$LIBS 5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6753 cat >conftest.$ac_ext <<_ACEOF 6754 /* confdefs.h. */ 6755 _ACEOF 6756 cat confdefs.h >>conftest.$ac_ext 6757 cat >>conftest.$ac_ext <<_ACEOF 5680 6758 /* end confdefs.h. */ 5681 6759 … … 5702 6780 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5703 6781 fi 5704 if ac_fn_c_try_link "$LINENO"; then : 6782 rm -f conftest.$ac_objext conftest$ac_exeext 6783 if { (ac_try="$ac_link" 6784 case "(($ac_try" in 6785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6786 *) ac_try_echo=$ac_try;; 6787 esac 6788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6789 $as_echo "$ac_try_echo") >&5 6790 (eval "$ac_link") 2>conftest.er1 6791 ac_status=$? 6792 grep -v '^ *+' conftest.er1 >conftest.err 6793 rm -f conftest.er1 6794 cat conftest.err >&5 6795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6796 (exit $ac_status); } && { 6797 test -z "$ac_c_werror_flag" || 6798 test ! -s conftest.err 6799 } && test -s conftest$ac_exeext && { 6800 test "$cross_compiling" = yes || 6801 $as_test_x conftest$ac_exeext 6802 }; then 5705 6803 ac_cv_search_opendir=$ac_res 5706 fi 5707 rm -f core conftest.err conftest.$ac_objext \ 5708 conftest$ac_exeext 5709 if ${ac_cv_search_opendir+:} false; then : 6804 else 6805 $as_echo "$as_me: failed program was:" >&5 6806 sed 's/^/| /' conftest.$ac_ext >&5 6807 6808 6809 fi 6810 6811 rm -rf conftest.dSYM 6812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6813 conftest$ac_exeext 6814 if test "${ac_cv_search_opendir+set}" = set; then 5710 6815 break 5711 6816 fi 5712 6817 done 5713 if ${ac_cv_search_opendir+:} false; then :5714 6818 if test "${ac_cv_search_opendir+set}" = set; then 6819 : 5715 6820 else 5716 6821 ac_cv_search_opendir=no … … 5719 6824 LIBS=$ac_func_search_save_LIBS 5720 6825 fi 5721 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&56826 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5722 6827 $as_echo "$ac_cv_search_opendir" >&6; } 5723 6828 ac_res=$ac_cv_search_opendir 5724 if test "$ac_res" != no; then :6829 if test "$ac_res" != no; then 5725 6830 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5726 6831 … … 5729 6834 fi 5730 6835 5731 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&56836 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5732 6837 $as_echo_n "checking for ANSI C header files... " >&6; } 5733 if ${ac_cv_header_stdc+:} false; then :6838 if test "${ac_cv_header_stdc+set}" = set; then 5734 6839 $as_echo_n "(cached) " >&6 5735 6840 else 5736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6841 cat >conftest.$ac_ext <<_ACEOF 6842 /* confdefs.h. */ 6843 _ACEOF 6844 cat confdefs.h >>conftest.$ac_ext 6845 cat >>conftest.$ac_ext <<_ACEOF 5737 6846 /* end confdefs.h. */ 5738 6847 #include <stdlib.h> … … 5749 6858 } 5750 6859 _ACEOF 5751 if ac_fn_c_try_compile "$LINENO"; then : 6860 rm -f conftest.$ac_objext 6861 if { (ac_try="$ac_compile" 6862 case "(($ac_try" in 6863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6864 *) ac_try_echo=$ac_try;; 6865 esac 6866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6867 $as_echo "$ac_try_echo") >&5 6868 (eval "$ac_compile") 2>conftest.er1 6869 ac_status=$? 6870 grep -v '^ *+' conftest.er1 >conftest.err 6871 rm -f conftest.er1 6872 cat conftest.err >&5 6873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6874 (exit $ac_status); } && { 6875 test -z "$ac_c_werror_flag" || 6876 test ! -s conftest.err 6877 } && test -s conftest.$ac_objext; then 5752 6878 ac_cv_header_stdc=yes 5753 6879 else 5754 ac_cv_header_stdc=no 5755 fi 6880 $as_echo "$as_me: failed program was:" >&5 6881 sed 's/^/| /' conftest.$ac_ext >&5 6882 6883 ac_cv_header_stdc=no 6884 fi 6885 5756 6886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5757 6887 5758 6888 if test $ac_cv_header_stdc = yes; then 5759 6889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6890 cat >conftest.$ac_ext <<_ACEOF 6891 /* confdefs.h. */ 6892 _ACEOF 6893 cat confdefs.h >>conftest.$ac_ext 6894 cat >>conftest.$ac_ext <<_ACEOF 5761 6895 /* end confdefs.h. */ 5762 6896 #include <string.h> … … 5764 6898 _ACEOF 5765 6899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5766 $EGREP "memchr" >/dev/null 2>&1; then :5767 6900 $EGREP "memchr" >/dev/null 2>&1; then 6901 : 5768 6902 else 5769 6903 ac_cv_header_stdc=no … … 5775 6909 if test $ac_cv_header_stdc = yes; then 5776 6910 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6911 cat >conftest.$ac_ext <<_ACEOF 6912 /* confdefs.h. */ 6913 _ACEOF 6914 cat confdefs.h >>conftest.$ac_ext 6915 cat >>conftest.$ac_ext <<_ACEOF 5778 6916 /* end confdefs.h. */ 5779 6917 #include <stdlib.h> … … 5781 6919 _ACEOF 5782 6920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5783 $EGREP "free" >/dev/null 2>&1; then :5784 6921 $EGREP "free" >/dev/null 2>&1; then 6922 : 5785 6923 else 5786 6924 ac_cv_header_stdc=no … … 5792 6930 if test $ac_cv_header_stdc = yes; then 5793 6931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5794 if test "$cross_compiling" = yes; then :6932 if test "$cross_compiling" = yes; then 5795 6933 : 5796 6934 else 5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6935 cat >conftest.$ac_ext <<_ACEOF 6936 /* confdefs.h. */ 6937 _ACEOF 6938 cat confdefs.h >>conftest.$ac_ext 6939 cat >>conftest.$ac_ext <<_ACEOF 5798 6940 /* end confdefs.h. */ 5799 6941 #include <ctype.h> … … 5822 6964 } 5823 6965 _ACEOF 5824 if ac_fn_c_try_run "$LINENO"; then : 5825 5826 else 5827 ac_cv_header_stdc=no 5828 fi 5829 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5830 conftest.$ac_objext conftest.beam conftest.$ac_ext 5831 fi 5832 5833 fi 5834 fi 5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6966 rm -f conftest$ac_exeext 6967 if { (ac_try="$ac_link" 6968 case "(($ac_try" in 6969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6970 *) ac_try_echo=$ac_try;; 6971 esac 6972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6973 $as_echo "$ac_try_echo") >&5 6974 (eval "$ac_link") 2>&5 6975 ac_status=$? 6976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6978 { (case "(($ac_try" in 6979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6980 *) ac_try_echo=$ac_try;; 6981 esac 6982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6983 $as_echo "$ac_try_echo") >&5 6984 (eval "$ac_try") 2>&5 6985 ac_status=$? 6986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6987 (exit $ac_status); }; }; then 6988 : 6989 else 6990 $as_echo "$as_me: program exited with status $ac_status" >&5 6991 $as_echo "$as_me: failed program was:" >&5 6992 sed 's/^/| /' conftest.$ac_ext >&5 6993 6994 ( exit $ac_status ) 6995 ac_cv_header_stdc=no 6996 fi 6997 rm -rf conftest.dSYM 6998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6999 fi 7000 7001 7002 fi 7003 fi 7004 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5836 7005 $as_echo "$ac_cv_header_stdc" >&6; } 5837 7006 if test $ac_cv_header_stdc = yes; then 5838 7007 5839 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5840 5841 fi 7008 cat >>confdefs.h <<\_ACEOF 7009 #define STDC_HEADERS 1 7010 _ACEOF 7011 7012 fi 7013 7014 7015 7016 7017 7018 7019 7020 7021 5842 7022 5843 7023 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 5844 do : 5845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5846 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5847 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7024 do 7025 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7027 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7028 $as_echo_n "checking for $ac_header... " >&6; } 7029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7030 $as_echo_n "(cached) " >&6 7031 fi 7032 ac_res=`eval 'as_val=${'$as_ac_Header'} 7033 $as_echo "$as_val"'` 7034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7035 $as_echo "$ac_res" >&6; } 7036 else 7037 # Is the header compilable? 7038 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7039 $as_echo_n "checking $ac_header usability... " >&6; } 7040 cat >conftest.$ac_ext <<_ACEOF 7041 /* confdefs.h. */ 7042 _ACEOF 7043 cat confdefs.h >>conftest.$ac_ext 7044 cat >>conftest.$ac_ext <<_ACEOF 7045 /* end confdefs.h. */ 7046 $ac_includes_default 7047 #include <$ac_header> 7048 _ACEOF 7049 rm -f conftest.$ac_objext 7050 if { (ac_try="$ac_compile" 7051 case "(($ac_try" in 7052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7053 *) ac_try_echo=$ac_try;; 7054 esac 7055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7056 $as_echo "$ac_try_echo") >&5 7057 (eval "$ac_compile") 2>conftest.er1 7058 ac_status=$? 7059 grep -v '^ *+' conftest.er1 >conftest.err 7060 rm -f conftest.er1 7061 cat conftest.err >&5 7062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7063 (exit $ac_status); } && { 7064 test -z "$ac_c_werror_flag" || 7065 test ! -s conftest.err 7066 } && test -s conftest.$ac_objext; then 7067 ac_header_compiler=yes 7068 else 7069 $as_echo "$as_me: failed program was:" >&5 7070 sed 's/^/| /' conftest.$ac_ext >&5 7071 7072 ac_header_compiler=no 7073 fi 7074 7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7076 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7077 $as_echo "$ac_header_compiler" >&6; } 7078 7079 # Is the header present? 7080 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7081 $as_echo_n "checking $ac_header presence... " >&6; } 7082 cat >conftest.$ac_ext <<_ACEOF 7083 /* confdefs.h. */ 7084 _ACEOF 7085 cat confdefs.h >>conftest.$ac_ext 7086 cat >>conftest.$ac_ext <<_ACEOF 7087 /* end confdefs.h. */ 7088 #include <$ac_header> 7089 _ACEOF 7090 if { (ac_try="$ac_cpp conftest.$ac_ext" 7091 case "(($ac_try" in 7092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7093 *) ac_try_echo=$ac_try;; 7094 esac 7095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7096 $as_echo "$ac_try_echo") >&5 7097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7098 ac_status=$? 7099 grep -v '^ *+' conftest.er1 >conftest.err 7100 rm -f conftest.er1 7101 cat conftest.err >&5 7102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7103 (exit $ac_status); } >/dev/null && { 7104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7105 test ! -s conftest.err 7106 }; then 7107 ac_header_preproc=yes 7108 else 7109 $as_echo "$as_me: failed program was:" >&5 7110 sed 's/^/| /' conftest.$ac_ext >&5 7111 7112 ac_header_preproc=no 7113 fi 7114 7115 rm -f conftest.err conftest.$ac_ext 7116 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7117 $as_echo "$ac_header_preproc" >&6; } 7118 7119 # So? What about this header? 7120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7121 yes:no: ) 7122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7123 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7125 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7126 ac_header_preproc=yes 7127 ;; 7128 no:yes:* ) 7129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7130 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7132 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7134 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7136 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7138 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7140 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7141 7142 ;; 7143 esac 7144 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7145 $as_echo_n "checking for $ac_header... " >&6; } 7146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7147 $as_echo_n "(cached) " >&6 7148 else 7149 eval "$as_ac_Header=\$ac_header_preproc" 7150 fi 7151 ac_res=`eval 'as_val=${'$as_ac_Header'} 7152 $as_echo "$as_val"'` 7153 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7154 $as_echo "$ac_res" >&6; } 7155 7156 fi 7157 as_val=`eval 'as_val=${'$as_ac_Header'} 7158 $as_echo "$as_val"'` 7159 if test "x$as_val" = x""yes; then 5848 7160 cat >>confdefs.h <<_ACEOF 5849 7161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5854 7166 done 5855 7167 5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7168 cat >conftest.$ac_ext <<_ACEOF 7169 /* confdefs.h. */ 7170 _ACEOF 7171 cat confdefs.h >>conftest.$ac_ext 7172 cat >>conftest.$ac_ext <<_ACEOF 5857 7173 /* end confdefs.h. */ 5858 7174 #include <stdio.h> … … 5860 7176 _ACEOF 5861 7177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5862 $EGREP "fread" >/dev/null 2>&1; then : 5863 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 7178 $EGREP "fread" >/dev/null 2>&1; then 7179 cat >>confdefs.h <<\_ACEOF 7180 #define HAVE_FREAD_DECL 1 7181 _ACEOF 5864 7182 5865 7183 fi 5866 7184 rm -f conftest* 5867 7185 5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7186 cat >conftest.$ac_ext <<_ACEOF 7187 /* confdefs.h. */ 7188 _ACEOF 7189 cat confdefs.h >>conftest.$ac_ext 7190 cat >>conftest.$ac_ext <<_ACEOF 5869 7191 /* end confdefs.h. */ 5870 7192 #include <stdio.h> … … 5872 7194 _ACEOF 5873 7195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5874 $EGREP "fgetc" >/dev/null 2>&1; then : 5875 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 7196 $EGREP "fgetc" >/dev/null 2>&1; then 7197 cat >>confdefs.h <<\_ACEOF 7198 #define HAVE_FGETC_DECL 1 7199 _ACEOF 5876 7200 5877 7201 fi 5878 7202 rm -f conftest* 5879 7203 5880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7204 cat >conftest.$ac_ext <<_ACEOF 7205 /* confdefs.h. */ 7206 _ACEOF 7207 cat confdefs.h >>conftest.$ac_ext 7208 cat >>conftest.$ac_ext <<_ACEOF 5881 7209 /* end confdefs.h. */ 5882 7210 #include <sys/procfs.h> … … 5884 7212 _ACEOF 5885 7213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5886 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5887 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 7214 $EGREP "pr_brksize" >/dev/null 2>&1; then 7215 cat >>confdefs.h <<\_ACEOF 7216 #define HAVE_PR_BRKSIZE 1 7217 _ACEOF 5888 7218 5889 7219 fi … … 5893 7223 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5894 7224 # for constant arguments. Useless! 5895 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for working alloca.h" >&57225 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 5896 7226 $as_echo_n "checking for working alloca.h... " >&6; } 5897 if ${ac_cv_working_alloca_h+:} false; then :7227 if test "${ac_cv_working_alloca_h+set}" = set; then 5898 7228 $as_echo_n "(cached) " >&6 5899 7229 else 5900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7230 cat >conftest.$ac_ext <<_ACEOF 7231 /* confdefs.h. */ 7232 _ACEOF 7233 cat confdefs.h >>conftest.$ac_ext 7234 cat >>conftest.$ac_ext <<_ACEOF 5901 7235 /* end confdefs.h. */ 5902 7236 #include <alloca.h> … … 5910 7244 } 5911 7245 _ACEOF 5912 if ac_fn_c_try_link "$LINENO"; then : 7246 rm -f conftest.$ac_objext conftest$ac_exeext 7247 if { (ac_try="$ac_link" 7248 case "(($ac_try" in 7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7250 *) ac_try_echo=$ac_try;; 7251 esac 7252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7253 $as_echo "$ac_try_echo") >&5 7254 (eval "$ac_link") 2>conftest.er1 7255 ac_status=$? 7256 grep -v '^ *+' conftest.er1 >conftest.err 7257 rm -f conftest.er1 7258 cat conftest.err >&5 7259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7260 (exit $ac_status); } && { 7261 test -z "$ac_c_werror_flag" || 7262 test ! -s conftest.err 7263 } && test -s conftest$ac_exeext && { 7264 test "$cross_compiling" = yes || 7265 $as_test_x conftest$ac_exeext 7266 }; then 5913 7267 ac_cv_working_alloca_h=yes 5914 7268 else 5915 ac_cv_working_alloca_h=no 5916 fi 5917 rm -f core conftest.err conftest.$ac_objext \ 5918 conftest$ac_exeext conftest.$ac_ext 5919 fi 5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 7269 $as_echo "$as_me: failed program was:" >&5 7270 sed 's/^/| /' conftest.$ac_ext >&5 7271 7272 ac_cv_working_alloca_h=no 7273 fi 7274 7275 rm -rf conftest.dSYM 7276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7277 conftest$ac_exeext conftest.$ac_ext 7278 fi 7279 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5921 7280 $as_echo "$ac_cv_working_alloca_h" >&6; } 5922 7281 if test $ac_cv_working_alloca_h = yes; then 5923 7282 5924 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5925 5926 fi 5927 5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7283 cat >>confdefs.h <<\_ACEOF 7284 #define HAVE_ALLOCA_H 1 7285 _ACEOF 7286 7287 fi 7288 7289 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 5929 7290 $as_echo_n "checking for alloca... " >&6; } 5930 if ${ac_cv_func_alloca_works+:} false; then :7291 if test "${ac_cv_func_alloca_works+set}" = set; then 5931 7292 $as_echo_n "(cached) " >&6 5932 7293 else 5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7294 cat >conftest.$ac_ext <<_ACEOF 7295 /* confdefs.h. */ 7296 _ACEOF 7297 cat confdefs.h >>conftest.$ac_ext 7298 cat >>conftest.$ac_ext <<_ACEOF 5934 7299 /* end confdefs.h. */ 5935 7300 #ifdef __GNUC__ … … 5947 7312 # else 5948 7313 # ifndef alloca /* predefined by HP cc +Olibcalls */ 5949 void *alloca (size_t);7314 char *alloca (); 5950 7315 # endif 5951 7316 # endif … … 5963 7328 } 5964 7329 _ACEOF 5965 if ac_fn_c_try_link "$LINENO"; then : 7330 rm -f conftest.$ac_objext conftest$ac_exeext 7331 if { (ac_try="$ac_link" 7332 case "(($ac_try" in 7333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7334 *) ac_try_echo=$ac_try;; 7335 esac 7336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7337 $as_echo "$ac_try_echo") >&5 7338 (eval "$ac_link") 2>conftest.er1 7339 ac_status=$? 7340 grep -v '^ *+' conftest.er1 >conftest.err 7341 rm -f conftest.er1 7342 cat conftest.err >&5 7343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7344 (exit $ac_status); } && { 7345 test -z "$ac_c_werror_flag" || 7346 test ! -s conftest.err 7347 } && test -s conftest$ac_exeext && { 7348 test "$cross_compiling" = yes || 7349 $as_test_x conftest$ac_exeext 7350 }; then 5966 7351 ac_cv_func_alloca_works=yes 5967 7352 else 5968 ac_cv_func_alloca_works=no 5969 fi 5970 rm -f core conftest.err conftest.$ac_objext \ 5971 conftest$ac_exeext conftest.$ac_ext 5972 fi 5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 7353 $as_echo "$as_me: failed program was:" >&5 7354 sed 's/^/| /' conftest.$ac_ext >&5 7355 7356 ac_cv_func_alloca_works=no 7357 fi 7358 7359 rm -rf conftest.dSYM 7360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7361 conftest$ac_exeext conftest.$ac_ext 7362 fi 7363 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5974 7364 $as_echo "$ac_cv_func_alloca_works" >&6; } 5975 7365 5976 7366 if test $ac_cv_func_alloca_works = yes; then 5977 7367 5978 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 7368 cat >>confdefs.h <<\_ACEOF 7369 #define HAVE_ALLOCA 1 7370 _ACEOF 5979 7371 5980 7372 else … … 5986 7378 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5987 7379 5988 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5989 5990 5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 7380 cat >>confdefs.h <<\_ACEOF 7381 #define C_ALLOCA 1 7382 _ACEOF 7383 7384 7385 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5992 7386 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5993 if ${ac_cv_os_cray+:} false; then :7387 if test "${ac_cv_os_cray+set}" = set; then 5994 7388 $as_echo_n "(cached) " >&6 5995 7389 else 5996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7390 cat >conftest.$ac_ext <<_ACEOF 7391 /* confdefs.h. */ 7392 _ACEOF 7393 cat confdefs.h >>conftest.$ac_ext 7394 cat >>conftest.$ac_ext <<_ACEOF 5997 7395 /* end confdefs.h. */ 5998 7396 #if defined CRAY && ! defined CRAY2 … … 6004 7402 _ACEOF 6005 7403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6006 $EGREP "webecray" >/dev/null 2>&1; then :7404 $EGREP "webecray" >/dev/null 2>&1; then 6007 7405 ac_cv_os_cray=yes 6008 7406 else … … 6012 7410 6013 7411 fi 6014 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_os_cray" >&57412 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6015 7413 $as_echo "$ac_cv_os_cray" >&6; } 6016 7414 if test $ac_cv_os_cray = yes; then 6017 7415 for ac_func in _getb67 GETB67 getb67; do 6018 7416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6020 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 7417 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7418 $as_echo_n "checking for $ac_func... " >&6; } 7419 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7420 $as_echo_n "(cached) " >&6 7421 else 7422 cat >conftest.$ac_ext <<_ACEOF 7423 /* confdefs.h. */ 7424 _ACEOF 7425 cat confdefs.h >>conftest.$ac_ext 7426 cat >>conftest.$ac_ext <<_ACEOF 7427 /* end confdefs.h. */ 7428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7429 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7430 #define $ac_func innocuous_$ac_func 7431 7432 /* System header to define __stub macros and hopefully few prototypes, 7433 which can conflict with char $ac_func (); below. 7434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7435 <limits.h> exists even on freestanding compilers. */ 7436 7437 #ifdef __STDC__ 7438 # include <limits.h> 7439 #else 7440 # include <assert.h> 7441 #endif 7442 7443 #undef $ac_func 7444 7445 /* Override any GCC internal prototype to avoid an error. 7446 Use char because int might match the return type of a GCC 7447 builtin and then its argument prototype would still apply. */ 7448 #ifdef __cplusplus 7449 extern "C" 7450 #endif 7451 char $ac_func (); 7452 /* The GNU C library defines this for functions which it implements 7453 to always fail with ENOSYS. Some functions are actually named 7454 something starting with __ and the normal name is an alias. */ 7455 #if defined __stub_$ac_func || defined __stub___$ac_func 7456 choke me 7457 #endif 7458 7459 int 7460 main () 7461 { 7462 return $ac_func (); 7463 ; 7464 return 0; 7465 } 7466 _ACEOF 7467 rm -f conftest.$ac_objext conftest$ac_exeext 7468 if { (ac_try="$ac_link" 7469 case "(($ac_try" in 7470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7471 *) ac_try_echo=$ac_try;; 7472 esac 7473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7474 $as_echo "$ac_try_echo") >&5 7475 (eval "$ac_link") 2>conftest.er1 7476 ac_status=$? 7477 grep -v '^ *+' conftest.er1 >conftest.err 7478 rm -f conftest.er1 7479 cat conftest.err >&5 7480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7481 (exit $ac_status); } && { 7482 test -z "$ac_c_werror_flag" || 7483 test ! -s conftest.err 7484 } && test -s conftest$ac_exeext && { 7485 test "$cross_compiling" = yes || 7486 $as_test_x conftest$ac_exeext 7487 }; then 7488 eval "$as_ac_var=yes" 7489 else 7490 $as_echo "$as_me: failed program was:" >&5 7491 sed 's/^/| /' conftest.$ac_ext >&5 7492 7493 eval "$as_ac_var=no" 7494 fi 7495 7496 rm -rf conftest.dSYM 7497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7498 conftest$ac_exeext conftest.$ac_ext 7499 fi 7500 ac_res=`eval 'as_val=${'$as_ac_var'} 7501 $as_echo "$as_val"'` 7502 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7503 $as_echo "$ac_res" >&6; } 7504 as_val=`eval 'as_val=${'$as_ac_var'} 7505 $as_echo "$as_val"'` 7506 if test "x$as_val" = x""yes; then 6021 7507 6022 7508 cat >>confdefs.h <<_ACEOF … … 6030 7516 fi 6031 7517 6032 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking stack direction for C alloca" >&57518 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6033 7519 $as_echo_n "checking stack direction for C alloca... " >&6; } 6034 if ${ac_cv_c_stack_direction+:} false; then :7520 if test "${ac_cv_c_stack_direction+set}" = set; then 6035 7521 $as_echo_n "(cached) " >&6 6036 7522 else 6037 if test "$cross_compiling" = yes; then :7523 if test "$cross_compiling" = yes; then 6038 7524 ac_cv_c_stack_direction=0 6039 7525 else 6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7526 cat >conftest.$ac_ext <<_ACEOF 7527 /* confdefs.h. */ 7528 _ACEOF 7529 cat confdefs.h >>conftest.$ac_ext 7530 cat >>conftest.$ac_ext <<_ACEOF 6041 7531 /* end confdefs.h. */ 6042 7532 $ac_includes_default … … 6061 7551 } 6062 7552 _ACEOF 6063 if ac_fn_c_try_run "$LINENO"; then : 7553 rm -f conftest$ac_exeext 7554 if { (ac_try="$ac_link" 7555 case "(($ac_try" in 7556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7557 *) ac_try_echo=$ac_try;; 7558 esac 7559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7560 $as_echo "$ac_try_echo") >&5 7561 (eval "$ac_link") 2>&5 7562 ac_status=$? 7563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7565 { (case "(($ac_try" in 7566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7567 *) ac_try_echo=$ac_try;; 7568 esac 7569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7570 $as_echo "$ac_try_echo") >&5 7571 (eval "$ac_try") 2>&5 7572 ac_status=$? 7573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7574 (exit $ac_status); }; }; then 6064 7575 ac_cv_c_stack_direction=1 6065 7576 else 6066 ac_cv_c_stack_direction=-1 6067 fi 6068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6069 conftest.$ac_objext conftest.beam conftest.$ac_ext 6070 fi 6071 6072 fi 6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 7577 $as_echo "$as_me: program exited with status $ac_status" >&5 7578 $as_echo "$as_me: failed program was:" >&5 7579 sed 's/^/| /' conftest.$ac_ext >&5 7580 7581 ( exit $ac_status ) 7582 ac_cv_c_stack_direction=-1 7583 fi 7584 rm -rf conftest.dSYM 7585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7586 fi 7587 7588 7589 fi 7590 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6074 7591 $as_echo "$ac_cv_c_stack_direction" >&6; } 7592 6075 7593 cat >>confdefs.h <<_ACEOF 6076 7594 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 6081 7599 6082 7600 if test $ac_cv_c_compiler_gnu = yes; then 6083 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC needs -traditional" >&57601 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 6084 7602 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6085 if ${ac_cv_prog_gcc_traditional+:} false; then :7603 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6086 7604 $as_echo_n "(cached) " >&6 6087 7605 else 6088 7606 ac_pattern="Autoconf.*'x'" 6089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7607 cat >conftest.$ac_ext <<_ACEOF 7608 /* confdefs.h. */ 7609 _ACEOF 7610 cat confdefs.h >>conftest.$ac_ext 7611 cat >>conftest.$ac_ext <<_ACEOF 6090 7612 /* end confdefs.h. */ 6091 7613 #include <sgtty.h> … … 6093 7615 _ACEOF 6094 7616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6095 $EGREP "$ac_pattern" >/dev/null 2>&1; then :7617 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6096 7618 ac_cv_prog_gcc_traditional=yes 6097 7619 else … … 6102 7624 6103 7625 if test $ac_cv_prog_gcc_traditional = no; then 6104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7626 cat >conftest.$ac_ext <<_ACEOF 7627 /* confdefs.h. */ 7628 _ACEOF 7629 cat confdefs.h >>conftest.$ac_ext 7630 cat >>conftest.$ac_ext <<_ACEOF 6105 7631 /* end confdefs.h. */ 6106 7632 #include <termio.h> … … 6108 7634 _ACEOF 6109 7635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6110 $EGREP "$ac_pattern" >/dev/null 2>&1; then :7636 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6111 7637 ac_cv_prog_gcc_traditional=yes 6112 7638 fi … … 6115 7641 fi 6116 7642 fi 6117 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&57643 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 6118 7644 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6119 7645 if test $ac_cv_prog_gcc_traditional = yes; then … … 6122 7648 fi 6123 7649 6124 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking return type of signal handlers" >&57650 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6125 7651 $as_echo_n "checking return type of signal handlers... " >&6; } 6126 if ${ac_cv_type_signal+:} false; then :7652 if test "${ac_cv_type_signal+set}" = set; then 6127 7653 $as_echo_n "(cached) " >&6 6128 7654 else 6129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7655 cat >conftest.$ac_ext <<_ACEOF 7656 /* confdefs.h. */ 7657 _ACEOF 7658 cat confdefs.h >>conftest.$ac_ext 7659 cat >>conftest.$ac_ext <<_ACEOF 6130 7660 /* end confdefs.h. */ 6131 7661 #include <sys/types.h> … … 6140 7670 } 6141 7671 _ACEOF 6142 if ac_fn_c_try_compile "$LINENO"; then : 7672 rm -f conftest.$ac_objext 7673 if { (ac_try="$ac_compile" 7674 case "(($ac_try" in 7675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7676 *) ac_try_echo=$ac_try;; 7677 esac 7678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7679 $as_echo "$ac_try_echo") >&5 7680 (eval "$ac_compile") 2>conftest.er1 7681 ac_status=$? 7682 grep -v '^ *+' conftest.er1 >conftest.err 7683 rm -f conftest.er1 7684 cat conftest.err >&5 7685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7686 (exit $ac_status); } && { 7687 test -z "$ac_c_werror_flag" || 7688 test ! -s conftest.err 7689 } && test -s conftest.$ac_objext; then 6143 7690 ac_cv_type_signal=int 6144 7691 else 6145 ac_cv_type_signal=void 6146 fi 7692 $as_echo "$as_me: failed program was:" >&5 7693 sed 's/^/| /' conftest.$ac_ext >&5 7694 7695 ac_cv_type_signal=void 7696 fi 7697 6147 7698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6148 7699 fi 6149 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_type_signal" >&57700 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6150 7701 $as_echo "$ac_cv_type_signal" >&6; } 6151 7702 … … 6155 7706 6156 7707 7708 6157 7709 for ac_func in vprintf 6158 do : 6159 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 6160 if test "x$ac_cv_func_vprintf" = xyes; then : 6161 cat >>confdefs.h <<_ACEOF 6162 #define HAVE_VPRINTF 1 6163 _ACEOF 6164 6165 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 6166 if test "x$ac_cv_func__doprnt" = xyes; then : 6167 6168 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 6169 6170 fi 6171 6172 fi 6173 done 6174 6175 6176 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6177 do : 6178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6180 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 7710 do 7711 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7712 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7713 $as_echo_n "checking for $ac_func... " >&6; } 7714 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7715 $as_echo_n "(cached) " >&6 7716 else 7717 cat >conftest.$ac_ext <<_ACEOF 7718 /* confdefs.h. */ 7719 _ACEOF 7720 cat confdefs.h >>conftest.$ac_ext 7721 cat >>conftest.$ac_ext <<_ACEOF 7722 /* end confdefs.h. */ 7723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7724 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7725 #define $ac_func innocuous_$ac_func 7726 7727 /* System header to define __stub macros and hopefully few prototypes, 7728 which can conflict with char $ac_func (); below. 7729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7730 <limits.h> exists even on freestanding compilers. */ 7731 7732 #ifdef __STDC__ 7733 # include <limits.h> 7734 #else 7735 # include <assert.h> 7736 #endif 7737 7738 #undef $ac_func 7739 7740 /* Override any GCC internal prototype to avoid an error. 7741 Use char because int might match the return type of a GCC 7742 builtin and then its argument prototype would still apply. */ 7743 #ifdef __cplusplus 7744 extern "C" 7745 #endif 7746 char $ac_func (); 7747 /* The GNU C library defines this for functions which it implements 7748 to always fail with ENOSYS. Some functions are actually named 7749 something starting with __ and the normal name is an alias. */ 7750 #if defined __stub_$ac_func || defined __stub___$ac_func 7751 choke me 7752 #endif 7753 7754 int 7755 main () 7756 { 7757 return $ac_func (); 7758 ; 7759 return 0; 7760 } 7761 _ACEOF 7762 rm -f conftest.$ac_objext conftest$ac_exeext 7763 if { (ac_try="$ac_link" 7764 case "(($ac_try" in 7765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7766 *) ac_try_echo=$ac_try;; 7767 esac 7768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7769 $as_echo "$ac_try_echo") >&5 7770 (eval "$ac_link") 2>conftest.er1 7771 ac_status=$? 7772 grep -v '^ *+' conftest.er1 >conftest.err 7773 rm -f conftest.er1 7774 cat conftest.err >&5 7775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7776 (exit $ac_status); } && { 7777 test -z "$ac_c_werror_flag" || 7778 test ! -s conftest.err 7779 } && test -s conftest$ac_exeext && { 7780 test "$cross_compiling" = yes || 7781 $as_test_x conftest$ac_exeext 7782 }; then 7783 eval "$as_ac_var=yes" 7784 else 7785 $as_echo "$as_me: failed program was:" >&5 7786 sed 's/^/| /' conftest.$ac_ext >&5 7787 7788 eval "$as_ac_var=no" 7789 fi 7790 7791 rm -rf conftest.dSYM 7792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7793 conftest$ac_exeext conftest.$ac_ext 7794 fi 7795 ac_res=`eval 'as_val=${'$as_ac_var'} 7796 $as_echo "$as_val"'` 7797 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7798 $as_echo "$ac_res" >&6; } 7799 as_val=`eval 'as_val=${'$as_ac_var'} 7800 $as_echo "$as_val"'` 7801 if test "x$as_val" = x""yes; then 6181 7802 cat >>confdefs.h <<_ACEOF 6182 7803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6183 7804 _ACEOF 6184 7805 7806 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7807 $as_echo_n "checking for _doprnt... " >&6; } 7808 if test "${ac_cv_func__doprnt+set}" = set; then 7809 $as_echo_n "(cached) " >&6 7810 else 7811 cat >conftest.$ac_ext <<_ACEOF 7812 /* confdefs.h. */ 7813 _ACEOF 7814 cat confdefs.h >>conftest.$ac_ext 7815 cat >>conftest.$ac_ext <<_ACEOF 7816 /* end confdefs.h. */ 7817 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 7818 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7819 #define _doprnt innocuous__doprnt 7820 7821 /* System header to define __stub macros and hopefully few prototypes, 7822 which can conflict with char _doprnt (); below. 7823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7824 <limits.h> exists even on freestanding compilers. */ 7825 7826 #ifdef __STDC__ 7827 # include <limits.h> 7828 #else 7829 # include <assert.h> 7830 #endif 7831 7832 #undef _doprnt 7833 7834 /* Override any GCC internal prototype to avoid an error. 7835 Use char because int might match the return type of a GCC 7836 builtin and then its argument prototype would still apply. */ 7837 #ifdef __cplusplus 7838 extern "C" 7839 #endif 7840 char _doprnt (); 7841 /* The GNU C library defines this for functions which it implements 7842 to always fail with ENOSYS. Some functions are actually named 7843 something starting with __ and the normal name is an alias. */ 7844 #if defined __stub__doprnt || defined __stub____doprnt 7845 choke me 7846 #endif 7847 7848 int 7849 main () 7850 { 7851 return _doprnt (); 7852 ; 7853 return 0; 7854 } 7855 _ACEOF 7856 rm -f conftest.$ac_objext conftest$ac_exeext 7857 if { (ac_try="$ac_link" 7858 case "(($ac_try" in 7859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7860 *) ac_try_echo=$ac_try;; 7861 esac 7862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7863 $as_echo "$ac_try_echo") >&5 7864 (eval "$ac_link") 2>conftest.er1 7865 ac_status=$? 7866 grep -v '^ *+' conftest.er1 >conftest.err 7867 rm -f conftest.er1 7868 cat conftest.err >&5 7869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7870 (exit $ac_status); } && { 7871 test -z "$ac_c_werror_flag" || 7872 test ! -s conftest.err 7873 } && test -s conftest$ac_exeext && { 7874 test "$cross_compiling" = yes || 7875 $as_test_x conftest$ac_exeext 7876 }; then 7877 ac_cv_func__doprnt=yes 7878 else 7879 $as_echo "$as_me: failed program was:" >&5 7880 sed 's/^/| /' conftest.$ac_ext >&5 7881 7882 ac_cv_func__doprnt=no 7883 fi 7884 7885 rm -rf conftest.dSYM 7886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7887 conftest$ac_exeext conftest.$ac_ext 7888 fi 7889 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7890 $as_echo "$ac_cv_func__doprnt" >&6; } 7891 if test "x$ac_cv_func__doprnt" = x""yes; then 7892 7893 cat >>confdefs.h <<\_ACEOF 7894 #define HAVE_DOPRNT 1 7895 _ACEOF 7896 7897 fi 7898 6185 7899 fi 6186 7900 done 6187 7901 6188 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 6189 if test "x$ac_cv_func_ftruncate" = xyes; then : 6190 $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 7914 do 7915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7916 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7917 $as_echo_n "checking for $ac_func... " >&6; } 7918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7919 $as_echo_n "(cached) " >&6 7920 else 7921 cat >conftest.$ac_ext <<_ACEOF 7922 /* confdefs.h. */ 7923 _ACEOF 7924 cat confdefs.h >>conftest.$ac_ext 7925 cat >>conftest.$ac_ext <<_ACEOF 7926 /* end confdefs.h. */ 7927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7928 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7929 #define $ac_func innocuous_$ac_func 7930 7931 /* System header to define __stub macros and hopefully few prototypes, 7932 which can conflict with char $ac_func (); below. 7933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7934 <limits.h> exists even on freestanding compilers. */ 7935 7936 #ifdef __STDC__ 7937 # include <limits.h> 7938 #else 7939 # include <assert.h> 7940 #endif 7941 7942 #undef $ac_func 7943 7944 /* Override any GCC internal prototype to avoid an error. 7945 Use char because int might match the return type of a GCC 7946 builtin and then its argument prototype would still apply. */ 7947 #ifdef __cplusplus 7948 extern "C" 7949 #endif 7950 char $ac_func (); 7951 /* The GNU C library defines this for functions which it implements 7952 to always fail with ENOSYS. Some functions are actually named 7953 something starting with __ and the normal name is an alias. */ 7954 #if defined __stub_$ac_func || defined __stub___$ac_func 7955 choke me 7956 #endif 7957 7958 int 7959 main () 7960 { 7961 return $ac_func (); 7962 ; 7963 return 0; 7964 } 7965 _ACEOF 7966 rm -f conftest.$ac_objext conftest$ac_exeext 7967 if { (ac_try="$ac_link" 7968 case "(($ac_try" in 7969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7970 *) ac_try_echo=$ac_try;; 7971 esac 7972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7973 $as_echo "$ac_try_echo") >&5 7974 (eval "$ac_link") 2>conftest.er1 7975 ac_status=$? 7976 grep -v '^ *+' conftest.er1 >conftest.err 7977 rm -f conftest.er1 7978 cat conftest.err >&5 7979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7980 (exit $ac_status); } && { 7981 test -z "$ac_c_werror_flag" || 7982 test ! -s conftest.err 7983 } && test -s conftest$ac_exeext && { 7984 test "$cross_compiling" = yes || 7985 $as_test_x conftest$ac_exeext 7986 }; then 7987 eval "$as_ac_var=yes" 7988 else 7989 $as_echo "$as_me: failed program was:" >&5 7990 sed 's/^/| /' conftest.$ac_ext >&5 7991 7992 eval "$as_ac_var=no" 7993 fi 7994 7995 rm -rf conftest.dSYM 7996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7997 conftest$ac_exeext conftest.$ac_ext 7998 fi 7999 ac_res=`eval 'as_val=${'$as_ac_var'} 8000 $as_echo "$as_val"'` 8001 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8002 $as_echo "$ac_res" >&6; } 8003 as_val=`eval 'as_val=${'$as_ac_var'} 8004 $as_echo "$as_val"'` 8005 if test "x$as_val" = x""yes; then 8006 cat >>confdefs.h <<_ACEOF 8007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8008 _ACEOF 8009 8010 fi 8011 done 8012 8013 8014 8015 8016 for ac_func in ftruncate strstr strcasecmp 8017 do 8018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8019 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8020 $as_echo_n "checking for $ac_func... " >&6; } 8021 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8022 $as_echo_n "(cached) " >&6 8023 else 8024 cat >conftest.$ac_ext <<_ACEOF 8025 /* confdefs.h. */ 8026 _ACEOF 8027 cat confdefs.h >>conftest.$ac_ext 8028 cat >>conftest.$ac_ext <<_ACEOF 8029 /* end confdefs.h. */ 8030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8031 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8032 #define $ac_func innocuous_$ac_func 8033 8034 /* System header to define __stub macros and hopefully few prototypes, 8035 which can conflict with char $ac_func (); below. 8036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8037 <limits.h> exists even on freestanding compilers. */ 8038 8039 #ifdef __STDC__ 8040 # include <limits.h> 8041 #else 8042 # include <assert.h> 8043 #endif 8044 8045 #undef $ac_func 8046 8047 /* Override any GCC internal prototype to avoid an error. 8048 Use char because int might match the return type of a GCC 8049 builtin and then its argument prototype would still apply. */ 8050 #ifdef __cplusplus 8051 extern "C" 8052 #endif 8053 char $ac_func (); 8054 /* The GNU C library defines this for functions which it implements 8055 to always fail with ENOSYS. Some functions are actually named 8056 something starting with __ and the normal name is an alias. */ 8057 #if defined __stub_$ac_func || defined __stub___$ac_func 8058 choke me 8059 #endif 8060 8061 int 8062 main () 8063 { 8064 return $ac_func (); 8065 ; 8066 return 0; 8067 } 8068 _ACEOF 8069 rm -f conftest.$ac_objext conftest$ac_exeext 8070 if { (ac_try="$ac_link" 8071 case "(($ac_try" in 8072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8073 *) ac_try_echo=$ac_try;; 8074 esac 8075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8076 $as_echo "$ac_try_echo") >&5 8077 (eval "$ac_link") 2>conftest.er1 8078 ac_status=$? 8079 grep -v '^ *+' conftest.er1 >conftest.err 8080 rm -f conftest.er1 8081 cat conftest.err >&5 8082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8083 (exit $ac_status); } && { 8084 test -z "$ac_c_werror_flag" || 8085 test ! -s conftest.err 8086 } && test -s conftest$ac_exeext && { 8087 test "$cross_compiling" = yes || 8088 $as_test_x conftest$ac_exeext 8089 }; then 8090 eval "$as_ac_var=yes" 8091 else 8092 $as_echo "$as_me: failed program was:" >&5 8093 sed 's/^/| /' conftest.$ac_ext >&5 8094 8095 eval "$as_ac_var=no" 8096 fi 8097 8098 rm -rf conftest.dSYM 8099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8100 conftest$ac_exeext conftest.$ac_ext 8101 fi 8102 ac_res=`eval 'as_val=${'$as_ac_var'} 8103 $as_echo "$as_val"'` 8104 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8105 $as_echo "$ac_res" >&6; } 8106 as_val=`eval 'as_val=${'$as_ac_var'} 8107 $as_echo "$as_val"'` 8108 if test "x$as_val" = x""yes; then 8109 cat >>confdefs.h <<_ACEOF 8110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8111 _ACEOF 6191 8112 6192 8113 else 6193 8114 case " $LIBOBJS " in 6194 *" ftruncate.$ac_objext "* ) ;;6195 *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"8115 *" $ac_func.$ac_objext "* ) ;; 8116 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6196 8117 ;; 6197 8118 esac 6198 8119 6199 8120 fi 6200 6201 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 6202 if test "x$ac_cv_func_strstr" = xyes; then : 6203 $as_echo "#define HAVE_STRSTR 1" >>confdefs.h 6204 6205 else 6206 case " $LIBOBJS " in 6207 *" strstr.$ac_objext "* ) ;; 6208 *) LIBOBJS="$LIBOBJS strstr.$ac_objext" 6209 ;; 6210 esac 6211 6212 fi 6213 6214 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 6215 if test "x$ac_cv_func_strcasecmp" = xyes; then : 6216 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h 6217 6218 else 6219 case " $LIBOBJS " in 6220 *" strcasecmp.$ac_objext "* ) ;; 6221 *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" 6222 ;; 6223 esac 6224 6225 fi 6226 6227 6228 6229 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain" 6230 if test "x$ac_cv_func_textdomain" = xyes; then : 6231 $as_echo "#define ENABLE_NLS 1" >>confdefs.h 8121 done 8122 8123 8124 8125 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 8126 $as_echo_n "checking for textdomain... " >&6; } 8127 if test "${ac_cv_func_textdomain+set}" = set; then 8128 $as_echo_n "(cached) " >&6 8129 else 8130 cat >conftest.$ac_ext <<_ACEOF 8131 /* confdefs.h. */ 8132 _ACEOF 8133 cat confdefs.h >>conftest.$ac_ext 8134 cat >>conftest.$ac_ext <<_ACEOF 8135 /* end confdefs.h. */ 8136 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain. 8137 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8138 #define textdomain innocuous_textdomain 8139 8140 /* System header to define __stub macros and hopefully few prototypes, 8141 which can conflict with char textdomain (); below. 8142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8143 <limits.h> exists even on freestanding compilers. */ 8144 8145 #ifdef __STDC__ 8146 # include <limits.h> 8147 #else 8148 # include <assert.h> 8149 #endif 8150 8151 #undef textdomain 8152 8153 /* Override any GCC internal prototype to avoid an error. 8154 Use char because int might match the return type of a GCC 8155 builtin and then its argument prototype would still apply. */ 8156 #ifdef __cplusplus 8157 extern "C" 8158 #endif 8159 char textdomain (); 8160 /* The GNU C library defines this for functions which it implements 8161 to always fail with ENOSYS. Some functions are actually named 8162 something starting with __ and the normal name is an alias. */ 8163 #if defined __stub_textdomain || defined __stub___textdomain 8164 choke me 8165 #endif 8166 8167 int 8168 main () 8169 { 8170 return textdomain (); 8171 ; 8172 return 0; 8173 } 8174 _ACEOF 8175 rm -f conftest.$ac_objext conftest$ac_exeext 8176 if { (ac_try="$ac_link" 8177 case "(($ac_try" in 8178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8179 *) ac_try_echo=$ac_try;; 8180 esac 8181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8182 $as_echo "$ac_try_echo") >&5 8183 (eval "$ac_link") 2>conftest.er1 8184 ac_status=$? 8185 grep -v '^ *+' conftest.er1 >conftest.err 8186 rm -f conftest.er1 8187 cat conftest.err >&5 8188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8189 (exit $ac_status); } && { 8190 test -z "$ac_c_werror_flag" || 8191 test ! -s conftest.err 8192 } && test -s conftest$ac_exeext && { 8193 test "$cross_compiling" = yes || 8194 $as_test_x conftest$ac_exeext 8195 }; then 8196 ac_cv_func_textdomain=yes 8197 else 8198 $as_echo "$as_me: failed program was:" >&5 8199 sed 's/^/| /' conftest.$ac_ext >&5 8200 8201 ac_cv_func_textdomain=no 8202 fi 8203 8204 rm -rf conftest.dSYM 8205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8206 conftest$ac_exeext conftest.$ac_ext 8207 fi 8208 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 8209 $as_echo "$ac_cv_func_textdomain" >&6; } 8210 if test "x$ac_cv_func_textdomain" = x""yes; then 8211 cat >>confdefs.h <<\_ACEOF 8212 #define ENABLE_NLS 1 8213 _ACEOF 6232 8214 6233 8215 fi … … 6236 8218 # *** Custom checking (based on GNU tar configure.in) *** 6237 8219 # --------------------------------------------------------------------------- 6238 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&58220 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 6239 8221 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 6240 8222 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6241 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&58223 { $as_echo "$as_me:$LINENO: result: yes" >&5 6242 8224 $as_echo "yes" >&6; } 6243 8225 case " $LIBOBJS " in … … 6247 8229 esac 6248 8230 6249 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 6250 6251 else 6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8231 cat >>confdefs.h <<\_ACEOF 8232 #define HAVE_VALLOC 1 8233 _ACEOF 8234 8235 else 8236 { $as_echo "$as_me:$LINENO: result: no" >&5 6253 8237 $as_echo "no" >&6; } 6254 for ac_func in valloc 6255 do : 6256 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 6257 if test "x$ac_cv_func_valloc" = xyes; then : 8238 8239 for ac_func in valloc 8240 do 8241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8242 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8243 $as_echo_n "checking for $ac_func... " >&6; } 8244 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8245 $as_echo_n "(cached) " >&6 8246 else 8247 cat >conftest.$ac_ext <<_ACEOF 8248 /* confdefs.h. */ 8249 _ACEOF 8250 cat confdefs.h >>conftest.$ac_ext 8251 cat >>conftest.$ac_ext <<_ACEOF 8252 /* end confdefs.h. */ 8253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8254 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8255 #define $ac_func innocuous_$ac_func 8256 8257 /* System header to define __stub macros and hopefully few prototypes, 8258 which can conflict with char $ac_func (); below. 8259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8260 <limits.h> exists even on freestanding compilers. */ 8261 8262 #ifdef __STDC__ 8263 # include <limits.h> 8264 #else 8265 # include <assert.h> 8266 #endif 8267 8268 #undef $ac_func 8269 8270 /* Override any GCC internal prototype to avoid an error. 8271 Use char because int might match the return type of a GCC 8272 builtin and then its argument prototype would still apply. */ 8273 #ifdef __cplusplus 8274 extern "C" 8275 #endif 8276 char $ac_func (); 8277 /* The GNU C library defines this for functions which it implements 8278 to always fail with ENOSYS. Some functions are actually named 8279 something starting with __ and the normal name is an alias. */ 8280 #if defined __stub_$ac_func || defined __stub___$ac_func 8281 choke me 8282 #endif 8283 8284 int 8285 main () 8286 { 8287 return $ac_func (); 8288 ; 8289 return 0; 8290 } 8291 _ACEOF 8292 rm -f conftest.$ac_objext conftest$ac_exeext 8293 if { (ac_try="$ac_link" 8294 case "(($ac_try" in 8295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8296 *) ac_try_echo=$ac_try;; 8297 esac 8298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8299 $as_echo "$ac_try_echo") >&5 8300 (eval "$ac_link") 2>conftest.er1 8301 ac_status=$? 8302 grep -v '^ *+' conftest.er1 >conftest.err 8303 rm -f conftest.er1 8304 cat conftest.err >&5 8305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8306 (exit $ac_status); } && { 8307 test -z "$ac_c_werror_flag" || 8308 test ! -s conftest.err 8309 } && test -s conftest$ac_exeext && { 8310 test "$cross_compiling" = yes || 8311 $as_test_x conftest$ac_exeext 8312 }; then 8313 eval "$as_ac_var=yes" 8314 else 8315 $as_echo "$as_me: failed program was:" >&5 8316 sed 's/^/| /' conftest.$ac_ext >&5 8317 8318 eval "$as_ac_var=no" 8319 fi 8320 8321 rm -rf conftest.dSYM 8322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8323 conftest$ac_exeext conftest.$ac_ext 8324 fi 8325 ac_res=`eval 'as_val=${'$as_ac_var'} 8326 $as_echo "$as_val"'` 8327 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8328 $as_echo "$ac_res" >&6; } 8329 as_val=`eval 'as_val=${'$as_ac_var'} 8330 $as_echo "$as_val"'` 8331 if test "x$as_val" = x""yes; then 6258 8332 cat >>confdefs.h <<_ACEOF 6259 #define HAVE_VALLOC18333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6260 8334 _ACEOF 6261 8335 … … 6266 8340 6267 8341 # we cannot generate static libraries under Darwin 6268 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&58342 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 6269 8343 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 6270 8344 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6271 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&58345 { $as_echo "$as_me:$LINENO: result: yes" >&5 6272 8346 $as_echo "yes" >&6; } 6273 8347 STATIC="" 6274 8348 else 6275 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58349 { $as_echo "$as_me:$LINENO: result: no" >&5 6276 8350 $as_echo "no" >&6; } 6277 8351 STATIC="-static " … … 6279 8353 6280 8354 6281 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if malloc debugging is wanted" >&58355 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6282 8356 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 6283 8357 6284 8358 # Check whether --with-dmalloc was given. 6285 if test "${with_dmalloc+set}" = set; then :8359 if test "${with_dmalloc+set}" = set; then 6286 8360 withval=$with_dmalloc; if test "$withval" = yes; then 6287 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&58361 { $as_echo "$as_me:$LINENO: result: yes" >&5 6288 8362 $as_echo "yes" >&6; } 6289 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 8363 cat >>confdefs.h <<\_ACEOF 8364 #define WITH_DMALLOC 1 8365 _ACEOF 6290 8366 6291 8367 LIBS="$LIBS -ldmalloc" 6292 8368 LDFLAGS="$LDFLAGS -g" 6293 8369 else 6294 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58370 { $as_echo "$as_me:$LINENO: result: no" >&5 6295 8371 $as_echo "no" >&6; } 6296 8372 fi 6297 8373 else 6298 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58374 { $as_echo "$as_me:$LINENO: result: no" >&5 6299 8375 $as_echo "no" >&6; } 6300 8376 fi 6301 8377 6302 8378 6303 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking which of rx or regex is wanted" >&58379 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6304 8380 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 6305 8381 6306 8382 # Check whether --with-regex was given. 6307 if test "${with_regex+set}" = set; then :8383 if test "${with_regex+set}" = set; then 6308 8384 withval=$with_regex; if test "$withval" = yes; then 6309 8385 ac_with_regex=1 6310 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: regex" >&58386 { $as_echo "$as_me:$LINENO: result: regex" >&5 6311 8387 $as_echo "regex" >&6; } 6312 $as_echo "#define WITH_REGEX 1" >>confdefs.h 8388 cat >>confdefs.h <<\_ACEOF 8389 #define WITH_REGEX 1 8390 _ACEOF 6313 8391 6314 8392 case " $LIBOBJS " in … … 6322 8400 6323 8401 if test -z "$ac_with_regex"; then 6324 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: rx" >&58402 { $as_echo "$as_me:$LINENO: result: rx" >&5 6325 8403 $as_echo "rx" >&6; } 6326 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 6327 if test "x$ac_cv_func_re_rx_search" = xyes; then : 6328 8404 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8405 $as_echo_n "checking for re_rx_search... " >&6; } 8406 if test "${ac_cv_func_re_rx_search+set}" = set; then 8407 $as_echo_n "(cached) " >&6 8408 else 8409 cat >conftest.$ac_ext <<_ACEOF 8410 /* confdefs.h. */ 8411 _ACEOF 8412 cat confdefs.h >>conftest.$ac_ext 8413 cat >>conftest.$ac_ext <<_ACEOF 8414 /* end confdefs.h. */ 8415 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 8416 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8417 #define re_rx_search innocuous_re_rx_search 8418 8419 /* System header to define __stub macros and hopefully few prototypes, 8420 which can conflict with char re_rx_search (); below. 8421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8422 <limits.h> exists even on freestanding compilers. */ 8423 8424 #ifdef __STDC__ 8425 # include <limits.h> 8426 #else 8427 # include <assert.h> 8428 #endif 8429 8430 #undef re_rx_search 8431 8432 /* Override any GCC internal prototype to avoid an error. 8433 Use char because int might match the return type of a GCC 8434 builtin and then its argument prototype would still apply. */ 8435 #ifdef __cplusplus 8436 extern "C" 8437 #endif 8438 char re_rx_search (); 8439 /* The GNU C library defines this for functions which it implements 8440 to always fail with ENOSYS. Some functions are actually named 8441 something starting with __ and the normal name is an alias. */ 8442 #if defined __stub_re_rx_search || defined __stub___re_rx_search 8443 choke me 8444 #endif 8445 8446 int 8447 main () 8448 { 8449 return re_rx_search (); 8450 ; 8451 return 0; 8452 } 8453 _ACEOF 8454 rm -f conftest.$ac_objext conftest$ac_exeext 8455 if { (ac_try="$ac_link" 8456 case "(($ac_try" in 8457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8458 *) ac_try_echo=$ac_try;; 8459 esac 8460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8461 $as_echo "$ac_try_echo") >&5 8462 (eval "$ac_link") 2>conftest.er1 8463 ac_status=$? 8464 grep -v '^ *+' conftest.er1 >conftest.err 8465 rm -f conftest.er1 8466 cat conftest.err >&5 8467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8468 (exit $ac_status); } && { 8469 test -z "$ac_c_werror_flag" || 8470 test ! -s conftest.err 8471 } && test -s conftest$ac_exeext && { 8472 test "$cross_compiling" = yes || 8473 $as_test_x conftest$ac_exeext 8474 }; then 8475 ac_cv_func_re_rx_search=yes 8476 else 8477 $as_echo "$as_me: failed program was:" >&5 8478 sed 's/^/| /' conftest.$ac_ext >&5 8479 8480 ac_cv_func_re_rx_search=no 8481 fi 8482 8483 rm -rf conftest.dSYM 8484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8485 conftest$ac_exeext conftest.$ac_ext 8486 fi 8487 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8488 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8489 if test "x$ac_cv_func_re_rx_search" = x""yes; then 8490 : 6329 8491 else 6330 8492 case " $LIBOBJS " in … … 6365 8527 6366 8528 6367 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking that Perl 5 is available" >&58529 { $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 6368 8530 $as_echo_n "checking that Perl 5 is available... " >&6; } 6369 8531 success="no" … … 6383 8545 try=`expr $try \> 5.000` 6384 8546 if test $try = "1"; then 6385 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: \"yes\"" >&58547 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 6386 8548 $as_echo "\"yes\"" >&6; } 6387 8549 else … … 6391 8553 6392 8554 if test $success = "no"; then 6393 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: \"no\"" >&58555 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 6394 8556 $as_echo "\"no\"" >&6; } 6395 as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5 8557 { { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 8558 $as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 8559 { (exit 1); exit 1; }; } 6396 8560 fi 6397 8561 6398 8562 success=no 6399 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&58563 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 6400 8564 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 6401 8565 6402 8566 6403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8567 cat >conftest.$ac_ext <<_ACEOF 8568 /* confdefs.h. */ 8569 _ACEOF 8570 cat confdefs.h >>conftest.$ac_ext 8571 cat >>conftest.$ac_ext <<_ACEOF 6404 8572 /* end confdefs.h. */ 6405 8573 #include <vector> … … 6413 8581 } 6414 8582 _ACEOF 6415 if ac_fn_cxx_try_compile "$LINENO"; then : 8583 rm -f conftest.$ac_objext 8584 if { (ac_try="$ac_compile" 8585 case "(($ac_try" in 8586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8587 *) ac_try_echo=$ac_try;; 8588 esac 8589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8590 $as_echo "$ac_try_echo") >&5 8591 (eval "$ac_compile") 2>conftest.er1 8592 ac_status=$? 8593 grep -v '^ *+' conftest.er1 >conftest.err 8594 rm -f conftest.er1 8595 cat conftest.err >&5 8596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8597 (exit $ac_status); } && { 8598 test -z "$ac_cxx_werror_flag" || 8599 test ! -s conftest.err 8600 } && test -s conftest.$ac_objext; then 6416 8601 success=yes 6417 fi 8602 else 8603 $as_echo "$as_me: failed program was:" >&5 8604 sed 's/^/| /' conftest.$ac_ext >&5 8605 8606 8607 fi 8608 6418 8609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6419 8610 6420 8611 if test $success = "no"; then 6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8612 cat >conftest.$ac_ext <<_ACEOF 8613 /* confdefs.h. */ 8614 _ACEOF 8615 cat confdefs.h >>conftest.$ac_ext 8616 cat >>conftest.$ac_ext <<_ACEOF 6422 8617 /* end confdefs.h. */ 6423 8618 #include <vector.h> … … 6431 8626 } 6432 8627 _ACEOF 6433 if ac_fn_cxx_try_compile "$LINENO"; then : 8628 rm -f conftest.$ac_objext 8629 if { (ac_try="$ac_compile" 8630 case "(($ac_try" in 8631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8632 *) ac_try_echo=$ac_try;; 8633 esac 8634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8635 $as_echo "$ac_try_echo") >&5 8636 (eval "$ac_compile") 2>conftest.er1 8637 ac_status=$? 8638 grep -v '^ *+' conftest.er1 >conftest.err 8639 rm -f conftest.er1 8640 cat conftest.err >&5 8641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8642 (exit $ac_status); } && { 8643 test -z "$ac_cxx_werror_flag" || 8644 test ! -s conftest.err 8645 } && test -s conftest.$ac_objext; then 6434 8646 success="yes" 6435 fi 8647 else 8648 $as_echo "$as_me: failed program was:" >&5 8649 sed 's/^/| /' conftest.$ac_ext >&5 8650 8651 8652 fi 8653 6436 8654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6437 8655 fi 6438 8656 6439 8657 if test $success = "no"; then 6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8658 cat >conftest.$ac_ext <<_ACEOF 8659 /* confdefs.h. */ 8660 _ACEOF 8661 cat confdefs.h >>conftest.$ac_ext 8662 cat >>conftest.$ac_ext <<_ACEOF 6441 8663 /* end confdefs.h. */ 6442 8664 #include <ospace\\std\\vector> … … 6450 8672 } 6451 8673 _ACEOF 6452 if ac_fn_cxx_try_compile "$LINENO"; then : 8674 rm -f conftest.$ac_objext 8675 if { (ac_try="$ac_compile" 8676 case "(($ac_try" in 8677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8678 *) ac_try_echo=$ac_try;; 8679 esac 8680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8681 $as_echo "$ac_try_echo") >&5 8682 (eval "$ac_compile") 2>conftest.er1 8683 ac_status=$? 8684 grep -v '^ *+' conftest.er1 >conftest.err 8685 rm -f conftest.er1 8686 cat conftest.err >&5 8687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8688 (exit $ac_status); } && { 8689 test -z "$ac_cxx_werror_flag" || 8690 test ! -s conftest.err 8691 } && test -s conftest.$ac_objext; then 6453 8692 success="yes" 6454 fi 8693 else 8694 $as_echo "$as_me: failed program was:" >&5 8695 sed 's/^/| /' conftest.$ac_ext >&5 8696 8697 8698 fi 8699 6455 8700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6456 8701 fi 6457 8702 6458 8703 if test $success = yes; then 6459 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: \"no\"" >&58704 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 6460 8705 $as_echo "\"no\"" >&6; } 6461 8706 else 6462 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: \"yes\"" >&58707 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 6463 8708 $as_echo "\"yes\"" >&6; } 6464 as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 8709 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8710 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 8711 { (exit 1); exit 1; }; } 6465 8712 fi 6466 8713 … … 6479 8726 6480 8727 # check for endianness 6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8728 8729 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 6482 8730 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6483 if ${ac_cv_c_bigendian+:} false; then :8731 if test "${ac_cv_c_bigendian+set}" = set; then 6484 8732 $as_echo_n "(cached) " >&6 6485 8733 else 6486 8734 ac_cv_c_bigendian=unknown 6487 8735 # See if we're dealing with a universal compiler. 6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8736 cat >conftest.$ac_ext <<_ACEOF 8737 /* confdefs.h. */ 8738 _ACEOF 8739 cat confdefs.h >>conftest.$ac_ext 8740 cat >>conftest.$ac_ext <<_ACEOF 6489 8741 /* end confdefs.h. */ 6490 8742 #ifndef __APPLE_CC__ … … 6494 8746 6495 8747 _ACEOF 6496 if ac_fn_cxx_try_compile "$LINENO"; then : 8748 rm -f conftest.$ac_objext 8749 if { (ac_try="$ac_compile" 8750 case "(($ac_try" in 8751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8752 *) ac_try_echo=$ac_try;; 8753 esac 8754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8755 $as_echo "$ac_try_echo") >&5 8756 (eval "$ac_compile") 2>conftest.er1 8757 ac_status=$? 8758 grep -v '^ *+' conftest.er1 >conftest.err 8759 rm -f conftest.er1 8760 cat conftest.err >&5 8761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8762 (exit $ac_status); } && { 8763 test -z "$ac_cxx_werror_flag" || 8764 test ! -s conftest.err 8765 } && test -s conftest.$ac_objext; then 6497 8766 6498 8767 # Check for potential -arch flags. It is not universal unless 6499 # there are at least two -arch flags with different values. 6500 ac_arch= 6501 ac_prev= 6502 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6503 if test -n "$ac_prev"; then 6504 case $ac_word in 6505 i?86 | x86_64 | ppc | ppc64) 6506 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6507 ac_arch=$ac_word 6508 else 6509 ac_cv_c_bigendian=universal 6510 break 6511 fi 6512 ;; 6513 esac 6514 ac_prev= 6515 elif test "x$ac_word" = "x-arch"; then 6516 ac_prev=arch 6517 fi 6518 done 6519 fi 8768 # there are some -arch flags. Note that *ppc* also matches 8769 # ppc64. This check is also rather less than ideal. 8770 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8771 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8772 esac 8773 else 8774 $as_echo "$as_me: failed program was:" >&5 8775 sed 's/^/| /' conftest.$ac_ext >&5 8776 8777 8778 fi 8779 6520 8780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6521 8781 if test $ac_cv_c_bigendian = unknown; then 6522 8782 # See if sys/param.h defines the BYTE_ORDER macro. 6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8783 cat >conftest.$ac_ext <<_ACEOF 8784 /* confdefs.h. */ 8785 _ACEOF 8786 cat confdefs.h >>conftest.$ac_ext 8787 cat >>conftest.$ac_ext <<_ACEOF 6524 8788 /* end confdefs.h. */ 6525 8789 #include <sys/types.h> … … 6539 8803 } 6540 8804 _ACEOF 6541 if ac_fn_cxx_try_compile "$LINENO"; then : 8805 rm -f conftest.$ac_objext 8806 if { (ac_try="$ac_compile" 8807 case "(($ac_try" in 8808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8809 *) ac_try_echo=$ac_try;; 8810 esac 8811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8812 $as_echo "$ac_try_echo") >&5 8813 (eval "$ac_compile") 2>conftest.er1 8814 ac_status=$? 8815 grep -v '^ *+' conftest.er1 >conftest.err 8816 rm -f conftest.er1 8817 cat conftest.err >&5 8818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8819 (exit $ac_status); } && { 8820 test -z "$ac_cxx_werror_flag" || 8821 test ! -s conftest.err 8822 } && test -s conftest.$ac_objext; then 6542 8823 # It does; now see whether it defined to BIG_ENDIAN or not. 6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8824 cat >conftest.$ac_ext <<_ACEOF 8825 /* confdefs.h. */ 8826 _ACEOF 8827 cat confdefs.h >>conftest.$ac_ext 8828 cat >>conftest.$ac_ext <<_ACEOF 6544 8829 /* end confdefs.h. */ 6545 8830 #include <sys/types.h> … … 6557 8842 } 6558 8843 _ACEOF 6559 if ac_fn_cxx_try_compile "$LINENO"; then : 8844 rm -f conftest.$ac_objext 8845 if { (ac_try="$ac_compile" 8846 case "(($ac_try" in 8847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8848 *) ac_try_echo=$ac_try;; 8849 esac 8850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8851 $as_echo "$ac_try_echo") >&5 8852 (eval "$ac_compile") 2>conftest.er1 8853 ac_status=$? 8854 grep -v '^ *+' conftest.er1 >conftest.err 8855 rm -f conftest.er1 8856 cat conftest.err >&5 8857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8858 (exit $ac_status); } && { 8859 test -z "$ac_cxx_werror_flag" || 8860 test ! -s conftest.err 8861 } && test -s conftest.$ac_objext; then 6560 8862 ac_cv_c_bigendian=yes 6561 8863 else 6562 ac_cv_c_bigendian=no 6563 fi 8864 $as_echo "$as_me: failed program was:" >&5 8865 sed 's/^/| /' conftest.$ac_ext >&5 8866 8867 ac_cv_c_bigendian=no 8868 fi 8869 6564 8870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6565 fi 8871 else 8872 $as_echo "$as_me: failed program was:" >&5 8873 sed 's/^/| /' conftest.$ac_ext >&5 8874 8875 8876 fi 8877 6566 8878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6567 8879 fi 6568 8880 if test $ac_cv_c_bigendian = unknown; then 6569 8881 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8882 cat >conftest.$ac_ext <<_ACEOF 8883 /* confdefs.h. */ 8884 _ACEOF 8885 cat confdefs.h >>conftest.$ac_ext 8886 cat >>conftest.$ac_ext <<_ACEOF 6571 8887 /* end confdefs.h. */ 6572 8888 #include <limits.h> … … 6583 8899 } 6584 8900 _ACEOF 6585 if ac_fn_cxx_try_compile "$LINENO"; then : 8901 rm -f conftest.$ac_objext 8902 if { (ac_try="$ac_compile" 8903 case "(($ac_try" in 8904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8905 *) ac_try_echo=$ac_try;; 8906 esac 8907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8908 $as_echo "$ac_try_echo") >&5 8909 (eval "$ac_compile") 2>conftest.er1 8910 ac_status=$? 8911 grep -v '^ *+' conftest.er1 >conftest.err 8912 rm -f conftest.er1 8913 cat conftest.err >&5 8914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8915 (exit $ac_status); } && { 8916 test -z "$ac_cxx_werror_flag" || 8917 test ! -s conftest.err 8918 } && test -s conftest.$ac_objext; then 6586 8919 # It does; now see whether it defined to _BIG_ENDIAN or not. 6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8920 cat >conftest.$ac_ext <<_ACEOF 8921 /* confdefs.h. */ 8922 _ACEOF 8923 cat confdefs.h >>conftest.$ac_ext 8924 cat >>conftest.$ac_ext <<_ACEOF 6588 8925 /* end confdefs.h. */ 6589 8926 #include <limits.h> … … 6600 8937 } 6601 8938 _ACEOF 6602 if ac_fn_cxx_try_compile "$LINENO"; then : 8939 rm -f conftest.$ac_objext 8940 if { (ac_try="$ac_compile" 8941 case "(($ac_try" in 8942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8943 *) ac_try_echo=$ac_try;; 8944 esac 8945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8946 $as_echo "$ac_try_echo") >&5 8947 (eval "$ac_compile") 2>conftest.er1 8948 ac_status=$? 8949 grep -v '^ *+' conftest.er1 >conftest.err 8950 rm -f conftest.er1 8951 cat conftest.err >&5 8952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8953 (exit $ac_status); } && { 8954 test -z "$ac_cxx_werror_flag" || 8955 test ! -s conftest.err 8956 } && test -s conftest.$ac_objext; then 6603 8957 ac_cv_c_bigendian=yes 6604 8958 else 6605 ac_cv_c_bigendian=no 6606 fi 8959 $as_echo "$as_me: failed program was:" >&5 8960 sed 's/^/| /' conftest.$ac_ext >&5 8961 8962 ac_cv_c_bigendian=no 8963 fi 8964 6607 8965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6608 fi 8966 else 8967 $as_echo "$as_me: failed program was:" >&5 8968 sed 's/^/| /' conftest.$ac_ext >&5 8969 8970 8971 fi 8972 6609 8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6610 8974 fi 6611 8975 if test $ac_cv_c_bigendian = unknown; then 6612 8976 # Compile a test program. 6613 if test "$cross_compiling" = yes; then :8977 if test "$cross_compiling" = yes; then 6614 8978 # Try to guess by grepping values from an object file. 6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8979 cat >conftest.$ac_ext <<_ACEOF 8980 /* confdefs.h. */ 8981 _ACEOF 8982 cat confdefs.h >>conftest.$ac_ext 8983 cat >>conftest.$ac_ext <<_ACEOF 6616 8984 /* end confdefs.h. */ 6617 8985 short int ascii_mm[] = … … 6639 9007 } 6640 9008 _ACEOF 6641 if ac_fn_cxx_try_compile "$LINENO"; then : 9009 rm -f conftest.$ac_objext 9010 if { (ac_try="$ac_compile" 9011 case "(($ac_try" in 9012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9013 *) ac_try_echo=$ac_try;; 9014 esac 9015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9016 $as_echo "$ac_try_echo") >&5 9017 (eval "$ac_compile") 2>conftest.er1 9018 ac_status=$? 9019 grep -v '^ *+' conftest.er1 >conftest.err 9020 rm -f conftest.er1 9021 cat conftest.err >&5 9022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9023 (exit $ac_status); } && { 9024 test -z "$ac_cxx_werror_flag" || 9025 test ! -s conftest.err 9026 } && test -s conftest.$ac_objext; then 6642 9027 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6643 9028 ac_cv_c_bigendian=yes … … 6651 9036 fi 6652 9037 fi 6653 fi 9038 else 9039 $as_echo "$as_me: failed program was:" >&5 9040 sed 's/^/| /' conftest.$ac_ext >&5 9041 9042 9043 fi 9044 6654 9045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6655 9046 else 6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9047 cat >conftest.$ac_ext <<_ACEOF 9048 /* confdefs.h. */ 9049 _ACEOF 9050 cat confdefs.h >>conftest.$ac_ext 9051 cat >>conftest.$ac_ext <<_ACEOF 6657 9052 /* end confdefs.h. */ 6658 9053 $ac_includes_default … … 6674 9069 } 6675 9070 _ACEOF 6676 if ac_fn_cxx_try_run "$LINENO"; then : 9071 rm -f conftest$ac_exeext 9072 if { (ac_try="$ac_link" 9073 case "(($ac_try" in 9074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9075 *) ac_try_echo=$ac_try;; 9076 esac 9077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9078 $as_echo "$ac_try_echo") >&5 9079 (eval "$ac_link") 2>&5 9080 ac_status=$? 9081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9083 { (case "(($ac_try" in 9084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9085 *) ac_try_echo=$ac_try;; 9086 esac 9087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9088 $as_echo "$ac_try_echo") >&5 9089 (eval "$ac_try") 2>&5 9090 ac_status=$? 9091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9092 (exit $ac_status); }; }; then 6677 9093 ac_cv_c_bigendian=no 6678 9094 else 6679 ac_cv_c_bigendian=yes 6680 fi 6681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6682 conftest.$ac_objext conftest.beam conftest.$ac_ext 6683 fi 9095 $as_echo "$as_me: program exited with status $ac_status" >&5 9096 $as_echo "$as_me: failed program was:" >&5 9097 sed 's/^/| /' conftest.$ac_ext >&5 9098 9099 ( exit $ac_status ) 9100 ac_cv_c_bigendian=yes 9101 fi 9102 rm -rf conftest.dSYM 9103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9104 fi 9105 6684 9106 6685 9107 fi 6686 9108 fi 6687 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&59109 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 6688 9110 $as_echo "$ac_cv_c_bigendian" >&6; } 6689 9111 case $ac_cv_c_bigendian in #( 6690 9112 yes) 6691 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9113 cat >>confdefs.h <<\_ACEOF 9114 #define WORDS_BIGENDIAN 1 9115 _ACEOF 6692 9116 ;; #( 6693 9117 no) … … 6695 9119 universal) 6696 9120 6697 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9121 cat >>confdefs.h <<\_ACEOF 9122 #define AC_APPLE_UNIVERSAL_BUILD 1 9123 _ACEOF 6698 9124 6699 9125 ;; #( 6700 9126 *) 6701 as_fn_error $? "unknown endianness 6702 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9127 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9128 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9129 $as_echo "$as_me: error: unknown endianness 9130 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9131 { (exit 1); exit 1; }; } ;; 6703 9132 esac 6704 9133 … … 6737 9166 fi 6738 9167 9168 #---------------------------------------------------------------------------- 9169 # GS3 uses this to set up gnome-lib env, GS2 uses the configure in gs2build/toplevel GS2 installation 9170 # For gnome-lib-minimal need to source its ./devel.bash before wvware can even be configured 9171 # For a gnome-lib that's already compiled, don't need to its source ./devel.bash to configure wvware 9172 # If a gnome-lib is not yet compiled, we compile it first with CASCADE-MAKE.sh 9173 9174 if test $ENABLE_GNOMELIB_EXT = 1; then 9175 9176 if test -z "$GSDLHOME"; then 9177 cd .. 9178 gshome=`pwd` 9179 cd build-src 9180 else 9181 gshome=$GSDLHOME 9182 fi 9183 9184 if test -d $gshome/ext/gnome-lib-minimal; then 9185 echo "*** gnome-lib (minimal) detected. Sourcing the gnomelib env for configuring wvware..." 9186 cd $gshome/ext/gnome-lib-minimal 9187 source ./devel.bash 9188 cd $gshome/build-src 9189 elif test -d $gshome/ext/gnome-lib; then 9190 if -d $gshome/ext/gnome-lib/$gsdlos ; then 9191 echo "*** Sourcing the gnomelib env for configuring wvware..." 9192 cd $gshome/ext/gnome-lib 9193 source ./devel.bash 9194 cd $gshome/build-src 9195 fi 9196 fi 9197 9198 fi 6739 9199 6740 9200 # --------------------------------------------------------------------------- … … 6778 9238 *${as_nl}*) 6779 9239 case $ac_var in #( 6780 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&59240 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 6781 9241 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6782 9242 esac … … 6784 9244 _ | IFS | as_nl) ;; #( 6785 9245 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6786 *) { eval $ac_var=; unset $ac_var;};;9246 *) $as_unset $ac_var ;; 6787 9247 esac ;; 6788 9248 esac … … 6792 9252 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6793 9253 *${as_nl}ac_space=\ *) 6794 # `set' does not quote correctly, so add quotes :double-quote6795 # substitution turns \\\\ into \\, and sed turns \\ into \ .9254 # `set' does not quote correctly, so add quotes (double-quote 9255 # substitution turns \\\\ into \\, and sed turns \\ into \). 6796 9256 sed -n \ 6797 9257 "s/'/'\\\\''/g; … … 6815 9275 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6816 9276 if test -w "$cache_file"; then 6817 if test "x$cache_file" != "x/dev/null"; then6818 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&59277 test "x$cache_file" != "x/dev/null" && 9278 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 6819 9279 $as_echo "$as_me: updating cache $cache_file" >&6;} 6820 if test ! -f "$cache_file" || test -h "$cache_file"; then 6821 cat confcache >"$cache_file" 6822 else 6823 case $cache_file in #( 6824 */* | ?:*) 6825 mv -f confcache "$cache_file"$$ && 6826 mv -f "$cache_file"$$ "$cache_file" ;; #( 6827 *) 6828 mv -f confcache "$cache_file" ;; 6829 esac 6830 fi 6831 fi 9280 cat confcache >$cache_file 6832 9281 else 6833 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&59282 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6834 9283 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6835 9284 fi … … 6845 9294 ac_libobjs= 6846 9295 ac_ltlibobjs= 6847 U=6848 9296 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6849 9297 # 1. Remove the extension, and $U if already installed. … … 6852 9300 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6853 9301 # will be set to the directory where LIBOBJS objects are built. 6854 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"6855 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'9302 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9303 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 6856 9304 done 6857 9305 LIBOBJS=$ac_libobjs … … 6862 9310 6863 9311 6864 : "${CONFIG_STATUS=./config.status}"9312 : ${CONFIG_STATUS=./config.status} 6865 9313 ac_write_fail=0 6866 9314 ac_clean_files_save=$ac_clean_files 6867 9315 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6868 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&59316 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6869 9317 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6870 as_write_fail=0 6871 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 9318 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6872 9319 #! $SHELL 6873 9320 # Generated by $as_me. … … 6879 9326 ac_cs_recheck=false 6880 9327 ac_cs_silent=false 6881 6882 9328 SHELL=\${CONFIG_SHELL-$SHELL} 6883 export SHELL 6884 _ASEOF 6885 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=16886 ## -------------------- ##6887 ## M4sh Initialization. ##6888 ## -------------------- ##9329 _ACEOF 9330 9331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9332 ## --------------------- ## 9333 ## M4sh Initialization. ## 9334 ## --------------------- ## 6889 9335 6890 9336 # Be more Bourne compatible 6891 9337 DUALCASE=1; export DUALCASE # for MKS sh 6892 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :9338 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6893 9339 emulate sh 6894 9340 NULLCMD=: … … 6898 9344 setopt NO_GLOB_SUBST 6899 9345 else 6900 case `(set -o) 2>/dev/null` in #( 6901 *posix*) : 6902 set -o posix ;; #( 6903 *) : 6904 ;; 6905 esac 6906 fi 6907 9346 case `(set -o) 2>/dev/null` in 9347 *posix*) set -o posix ;; 9348 esac 9349 9350 fi 9351 9352 9353 9354 9355 # PATH needs CR 9356 # Avoid depending upon Character Ranges. 9357 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9358 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9359 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9360 as_cr_digits='0123456789' 9361 as_cr_alnum=$as_cr_Letters$as_cr_digits 6908 9362 6909 9363 as_nl=' … … 6914 9368 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6915 9369 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6916 # Prefer a ksh shell builtin over an external printf program on Solaris, 6917 # but without wasting forks for bash or zsh. 6918 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6919 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6920 as_echo='print -r --' 6921 as_echo_n='print -rn --' 6922 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9370 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6923 9371 as_echo='printf %s\n' 6924 9372 as_echo_n='printf %s' … … 6931 9379 as_echo_n_body='eval 6932 9380 arg=$1; 6933 case $arg in #(9381 case $arg in 6934 9382 *"$as_nl"*) 6935 9383 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 6954 9402 fi 6955 9403 9404 # Support unset when possible. 9405 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9406 as_unset=unset 9407 else 9408 as_unset=false 9409 fi 9410 6956 9411 6957 9412 # IFS … … 6963 9418 6964 9419 # Find who we are. Look in the path if we contain no directory separator. 6965 as_myself= 6966 case $0 in #(( 9420 case $0 in 6967 9421 *[\\/]* ) as_myself=$0 ;; 6968 9422 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 6971 9425 IFS=$as_save_IFS 6972 9426 test -z "$as_dir" && as_dir=. 6973 6974 9427 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9428 done 6975 9429 IFS=$as_save_IFS 6976 9430 … … 6984 9438 if test ! -f "$as_myself"; then 6985 9439 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6986 exit 1 6987 fi 6988 6989 # Unset variables that we do not need and which cause bugs (e.g. in 6990 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6991 # suppresses any "Segmentation fault" message there. '((' could 6992 # trigger a bug in pdksh 5.2.14. 6993 for as_var in BASH_ENV ENV MAIL MAILPATH 6994 do eval test x\${$as_var+set} = xset \ 6995 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 9440 { (exit 1); exit 1; } 9441 fi 9442 9443 # Work around bugs in pre-3.0 UWIN ksh. 9444 for as_var in ENV MAIL MAILPATH 9445 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6996 9446 done 6997 9447 PS1='$ ' … … 7005 9455 export LANGUAGE 7006 9456 7007 # CDPATH. 7008 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7009 7010 7011 # as_fn_error STATUS ERROR [LINENO LOG_FD] 7012 # ---------------------------------------- 7013 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7014 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7015 # script with STATUS, using 1 if that was 0. 7016 as_fn_error () 7017 { 7018 as_status=$1; test $as_status -eq 0 && as_status=1 7019 if test "$4"; then 7020 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7021 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 7022 fi 7023 $as_echo "$as_me: error: $2" >&2 7024 as_fn_exit $as_status 7025 } # as_fn_error 7026 7027 7028 # as_fn_set_status STATUS 7029 # ----------------------- 7030 # Set $? to STATUS, without forking. 7031 as_fn_set_status () 7032 { 7033 return $1 7034 } # as_fn_set_status 7035 7036 # as_fn_exit STATUS 7037 # ----------------- 7038 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7039 as_fn_exit () 7040 { 7041 set +e 7042 as_fn_set_status $1 7043 exit $1 7044 } # as_fn_exit 7045 7046 # as_fn_unset VAR 7047 # --------------- 7048 # Portably unset VAR. 7049 as_fn_unset () 7050 { 7051 { eval $1=; unset $1;} 7052 } 7053 as_unset=as_fn_unset 7054 # as_fn_append VAR VALUE 7055 # ---------------------- 7056 # Append the text in VALUE to the end of the definition contained in VAR. Take 7057 # advantage of any shell optimizations that allow amortized linear growth over 7058 # repeated appends, instead of the typical quadratic growth present in naive 7059 # implementations. 7060 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7061 eval 'as_fn_append () 7062 { 7063 eval $1+=\$2 7064 }' 7065 else 7066 as_fn_append () 7067 { 7068 eval $1=\$$1\$2 7069 } 7070 fi # as_fn_append 7071 7072 # as_fn_arith ARG... 7073 # ------------------ 7074 # Perform arithmetic evaluation on the ARGs, and store the result in the 7075 # global $as_val. Take advantage of shells that can avoid forks. The arguments 7076 # must be portable across $(()) and expr. 7077 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7078 eval 'as_fn_arith () 7079 { 7080 as_val=$(( $* )) 7081 }' 7082 else 7083 as_fn_arith () 7084 { 7085 as_val=`expr "$@" || test $? -eq 1` 7086 } 7087 fi # as_fn_arith 7088 7089 9457 # Required to use basename. 7090 9458 if expr a : '\(a\)' >/dev/null 2>&1 && 7091 9459 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 7101 9469 fi 7102 9470 7103 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7104 as_dirname=dirname 7105 else 7106 as_dirname=false 7107 fi 7108 9471 9472 # Name of the executable. 7109 9473 as_me=`$as_basename -- "$0" || 7110 9474 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 7126 9490 s/.*/./; q'` 7127 9491 7128 # Avoid depending upon Character Ranges. 7129 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7130 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7131 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7132 as_cr_digits='0123456789' 7133 as_cr_alnum=$as_cr_Letters$as_cr_digits 9492 # CDPATH. 9493 $as_unset CDPATH 9494 9495 9496 9497 as_lineno_1=$LINENO 9498 as_lineno_2=$LINENO 9499 test "x$as_lineno_1" != "x$as_lineno_2" && 9500 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 9501 9502 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 9503 # uniformly replaced by the line number. The first 'sed' inserts a 9504 # line-number line after each line using $LINENO; the second 'sed' 9505 # does the real work. The second script uses 'N' to pair each 9506 # line-number line with the line containing $LINENO, and appends 9507 # trailing '-' during substitution so that $LINENO is not a special 9508 # case at line end. 9509 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 9510 # scripts with optimization help from Paolo Bonzini. Blame Lee 9511 # E. McMahon (1931-1989) for sed's syntax. :-) 9512 sed -n ' 9513 p 9514 /[$]LINENO/= 9515 ' <$as_myself | 9516 sed ' 9517 s/[$]LINENO.*/&-/ 9518 t lineno 9519 b 9520 :lineno 9521 N 9522 :loop 9523 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 9524 t loop 9525 s/-\n.*// 9526 ' >$as_me.lineno && 9527 chmod +x "$as_me.lineno" || 9528 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 9529 { (exit 1); exit 1; }; } 9530 9531 # Don't try to exec as it changes $[0], causing all sort of problems 9532 # (the dirname of $[0] is not the place where we might find the 9533 # original and so on. Autoconf is especially sensitive to this). 9534 . "./$as_me.lineno" 9535 # Exit status is that of the last command. 9536 exit 9537 } 9538 9539 9540 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9541 as_dirname=dirname 9542 else 9543 as_dirname=false 9544 fi 7134 9545 7135 9546 ECHO_C= ECHO_N= ECHO_T= 7136 case `echo -n x` in #(((((9547 case `echo -n x` in 7137 9548 -n*) 7138 case `echo 'x y\c'` in9549 case `echo 'x\c'` in 7139 9550 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7140 xy) ECHO_C='\c';; 7141 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7142 ECHO_T=' ';; 9551 *) ECHO_C='\c';; 7143 9552 esac;; 7144 9553 *) 7145 9554 ECHO_N='-n';; 7146 9555 esac 9556 if expr a : '\(a\)' >/dev/null 2>&1 && 9557 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9558 as_expr=expr 9559 else 9560 as_expr=false 9561 fi 7147 9562 7148 9563 rm -f conf$$ conf$$.exe conf$$.file … … 7173 9588 rmdir conf$$.dir 2>/dev/null 7174 9589 7175 7176 # as_fn_mkdir_p7177 # -------------7178 # Create "$as_dir" as a directory, including parents if necessary.7179 as_fn_mkdir_p ()7180 {7181 7182 case $as_dir in #(7183 -*) as_dir=./$as_dir;;7184 esac7185 test -d "$as_dir" || eval $as_mkdir_p || {7186 as_dirs=7187 while :; do7188 case $as_dir in #(7189 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(7190 *) as_qdir=$as_dir;;7191 esac7192 as_dirs="'$as_qdir' $as_dirs"7193 as_dir=`$as_dirname -- "$as_dir" ||7194 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \7195 X"$as_dir" : 'X\(//\)[^/]' \| \7196 X"$as_dir" : 'X\(//\)$' \| \7197 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||7198 $as_echo X"$as_dir" |7199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{7200 s//\1/7201 q7202 }7203 /^X\(\/\/\)[^/].*/{7204 s//\1/7205 q7206 }7207 /^X\(\/\/\)$/{7208 s//\1/7209 q7210 }7211 /^X\(\/\).*/{7212 s//\1/7213 q7214 }7215 s/.*/./; q'`7216 test -d "$as_dir" && break7217 done7218 test -z "$as_dirs" || eval "mkdir $as_dirs"7219 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"7220 7221 7222 } # as_fn_mkdir_p7223 9590 if mkdir -p . 2>/dev/null; then 7224 as_mkdir_p= 'mkdir -p "$as_dir"'9591 as_mkdir_p=: 7225 9592 else 7226 9593 test -d ./-p && rmdir ./-p … … 7241 9608 test -d "$1/."; 7242 9609 else 7243 case $1 in #(9610 case $1 in 7244 9611 -*)set "./$1";; 7245 9612 esac; 7246 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((9613 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 7247 9614 ???[sx]*):;;*)false;;esac;fi 7248 9615 '\'' sh … … 7259 9626 7260 9627 exec 6>&1 7261 ## ----------------------------------- ## 7262 ## Main body of $CONFIG_STATUS script. ## 7263 ## ----------------------------------- ## 7264 _ASEOF 7265 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7266 7267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7268 # Save the log message, to keep $0 and so on meaningful, and to 9628 9629 # Save the log message, to keep $[0] and so on meaningful, and to 7269 9630 # report actual input values of CONFIG_FILES etc. instead of their 7270 9631 # values after options handling. 7271 9632 ac_log=" 7272 9633 This file was extended by $as_me, which was 7273 generated by GNU Autoconf 2.6 8. Invocation command line was9634 generated by GNU Autoconf 2.63. Invocation command line was 7274 9635 7275 9636 CONFIG_FILES = $CONFIG_FILES … … 7302 9663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7303 9664 ac_cs_usage="\ 7304 \`$as_me' instantiates files and other configuration actions 7305 from templates according to the current configuration. Unless the files 7306 and actions are specified as TAGs, all are instantiated by default. 7307 7308 Usage: $0 [OPTION]... [TAG]... 9665 \`$as_me' instantiates files from templates according to the 9666 current configuration. 9667 9668 Usage: $0 [OPTION]... [FILE]... 7309 9669 7310 9670 -h, --help print this help, then exit 7311 9671 -V, --version print version number and configuration settings, then exit 7312 --config print configuration, then exit7313 9672 -q, --quiet, --silent 7314 9673 do not print progress messages … … 7326 9685 $config_headers 7327 9686 7328 Report bugs to the package provider."9687 Report bugs to <[email protected]>." 7329 9688 7330 9689 _ACEOF 7331 9690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7332 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"7333 9691 ac_cs_version="\\ 7334 9692 config.status 7335 configured by $0, generated by GNU Autoconf 2.6 8,7336 with options \\" \$ac_cs_config\\"7337 7338 Copyright (C) 20 10Free Software Foundation, Inc.9693 configured by $0, generated by GNU Autoconf 2.63, 9694 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9695 9696 Copyright (C) 2008 Free Software Foundation, Inc. 7339 9697 This config.status script is free software; the Free Software Foundation 7340 9698 gives unlimited permission to copy, distribute and modify it." … … 7353 9711 do 7354 9712 case $1 in 7355 --*= ?*)9713 --*=*) 7356 9714 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7357 9715 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7358 ac_shift=:7359 ;;7360 --*=)7361 ac_option=`expr "X$1" : 'X\([^=]*\)='`7362 ac_optarg=7363 9716 ac_shift=: 7364 9717 ;; … … 7376 9729 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7377 9730 $as_echo "$ac_cs_version"; exit ;; 7378 --config | --confi | --conf | --con | --co | --c )7379 $as_echo "$ac_cs_config"; exit ;;7380 9731 --debug | --debu | --deb | --de | --d | -d ) 7381 9732 debug=: ;; … … 7384 9735 case $ac_optarg in 7385 9736 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7386 '') as_fn_error $? "missing file argument" ;;7387 9737 esac 7388 as_fn_append CONFIG_FILES "'$ac_optarg'"9738 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 7389 9739 ac_need_defaults=false;; 7390 9740 --header | --heade | --head | --hea ) … … 7393 9743 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7394 9744 esac 7395 as_fn_append CONFIG_HEADERS "'$ac_optarg'"9745 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 7396 9746 ac_need_defaults=false;; 7397 9747 --he | --h) 7398 9748 # Conflict between --help and --header 7399 as_fn_error $? "ambiguous option: \`$1' 7400 Try \`$0 --help' for more information.";; 9749 { $as_echo "$as_me: error: ambiguous option: $1 9750 Try \`$0 --help' for more information." >&2 9751 { (exit 1); exit 1; }; };; 7401 9752 --help | --hel | -h ) 7402 9753 $as_echo "$ac_cs_usage"; exit ;; … … 7406 9757 7407 9758 # This is an error. 7408 -*) as_fn_error $? "unrecognized option: \`$1' 7409 Try \`$0 --help' for more information." ;; 7410 7411 *) as_fn_append ac_config_targets " $1" 9759 -*) { $as_echo "$as_me: error: unrecognized option: $1 9760 Try \`$0 --help' for more information." >&2 9761 { (exit 1); exit 1; }; } ;; 9762 9763 *) ac_config_targets="$ac_config_targets $1" 7412 9764 ac_need_defaults=false ;; 7413 9765 … … 7461 9813 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 7462 9814 7463 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 9815 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9816 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9817 { (exit 1); exit 1; }; };; 7464 9818 esac 7465 9819 done … … 7483 9837 $debug || 7484 9838 { 7485 tmp= ac_tmp=9839 tmp= 7486 9840 trap 'exit_status=$? 7487 : "${ac_tmp:=$tmp}" 7488 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 9841 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7489 9842 ' 0 7490 trap ' as_fn_exit 1' 1 2 13 159843 trap '{ (exit 1); exit 1; }' 1 2 13 15 7491 9844 } 7492 9845 # Create a (secure) tmp directory for tmp files. … … 7494 9847 { 7495 9848 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7496 test - d "$tmp"9849 test -n "$tmp" && test -d "$tmp" 7497 9850 } || 7498 9851 { 7499 9852 tmp=./conf$$-$RANDOM 7500 9853 (umask 077 && mkdir "$tmp") 7501 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7502 ac_tmp=$tmp 9854 } || 9855 { 9856 $as_echo "$as_me: cannot create a temporary directory in ." >&2 9857 { (exit 1); exit 1; } 9858 } 7503 9859 7504 9860 # Set up the scripts for CONFIG_FILES section. … … 7508 9864 7509 9865 7510 ac_cr=`echo X | tr X '\015'` 7511 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7512 # But we know of no other shell where ac_cr would be empty at this 7513 # point, so we can use a bashism as a fallback. 7514 if test "x$ac_cr" = x; then 7515 eval ac_cr=\$\'\\r\' 7516 fi 9866 ac_cr=' 9867 ' 7517 9868 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7518 9869 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 7522 9873 fi 7523 9874 7524 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&9875 echo 'BEGIN {' >"$tmp/subs1.awk" && 7525 9876 _ACEOF 7526 9877 … … 7531 9882 echo "_ACEOF" 7532 9883 } >conf$$subs.sh || 7533 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7534 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 9884 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9885 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9886 { (exit 1); exit 1; }; } 9887 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7535 9888 ac_delim='%!_!# ' 7536 9889 for ac_last_try in false false false false false :; do 7537 9890 . ./conf$$subs.sh || 7538 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9891 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9892 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9893 { (exit 1); exit 1; }; } 7539 9894 7540 9895 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 7542 9897 break 7543 9898 elif $ac_last_try; then 7544 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9899 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9900 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9901 { (exit 1); exit 1; }; } 7545 9902 else 7546 9903 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 7550 9907 7551 9908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7552 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&9909 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7553 9910 _ACEOF 7554 9911 sed -n ' … … 7564 9921 :nl 7565 9922 h 7566 s/\(.\{148\}\). .*/\1/9923 s/\(.\{148\}\).*/\1/ 7567 9924 t more1 7568 9925 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 7578 9935 :delim 7579 9936 h 7580 s/\(.\{148\}\). .*/\1/9937 s/\(.\{148\}\).*/\1/ 7581 9938 t more2 7582 9939 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 7598 9955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7599 9956 _ACAWK 7600 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&9957 cat >>"\$tmp/subs1.awk" <<_ACAWK && 7601 9958 for (key in S) S_is_set[key] = 1 7602 9959 FS = "" … … 7630 9987 else 7631 9988 cat 7632 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7633 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7634 _ACEOF 7635 7636 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7637 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9989 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9990 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9991 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9992 { (exit 1); exit 1; }; } 9993 _ACEOF 9994 9995 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9996 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7638 9997 # trailing colons and then remove the whole line if VPATH becomes empty 7639 9998 # (actually we leave an empty line to preserve line numbers). 7640 9999 if test "x$srcdir" = x.; then 7641 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7642 h 7643 s/// 7644 s/^/:/ 7645 s/[ ]*$/:/ 7646 s/:\$(srcdir):/:/g 7647 s/:\${srcdir}:/:/g 7648 s/:@srcdir@:/:/g 7649 s/^:*// 10000 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 10001 s/:*\$(srcdir):*/:/ 10002 s/:*\${srcdir}:*/:/ 10003 s/:*@srcdir@:*/:/ 10004 s/^\([^=]*=[ ]*\):*/\1/ 7650 10005 s/:*$// 7651 x7652 s/\(=[ ]*\).*/\1/7653 G7654 s/\n//7655 10006 s/^[^=]*=[ ]*$// 7656 10007 }' … … 7664 10015 # This happens for instance with `./config.status Makefile'. 7665 10016 if test -n "$CONFIG_HEADERS"; then 7666 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||10017 cat >"$tmp/defines.awk" <<\_ACAWK || 7667 10018 BEGIN { 7668 10019 _ACEOF … … 7676 10027 ac_delim='%!_!# ' 7677 10028 for ac_last_try in false false :; do 7678 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`7679 if test -z "$ac_t t"; then10029 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 10030 if test -z "$ac_t"; then 7680 10031 break 7681 10032 elif $ac_last_try; then 7682 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10033 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 10034 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 10035 { (exit 1); exit 1; }; } 7683 10036 else 7684 10037 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 7765 10118 _ACEOF 7766 10119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7767 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10120 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 10121 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 10122 { (exit 1); exit 1; }; } 7768 10123 fi # test -n "$CONFIG_HEADERS" 7769 10124 … … 7778 10133 case $ac_mode$ac_tag in 7779 10134 :[FHL]*:*);; 7780 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 10135 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 10136 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 10137 { (exit 1); exit 1; }; };; 7781 10138 :[FH]-) ac_tag=-:-;; 7782 10139 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 7797 10154 do 7798 10155 case $ac_f in 7799 -) ac_f="$ ac_tmp/stdin";;10156 -) ac_f="$tmp/stdin";; 7800 10157 *) # Look for the file first in the build tree, then in the source tree 7801 10158 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 7806 10163 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7807 10164 esac || 7808 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 10165 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10166 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10167 { (exit 1); exit 1; }; };; 7809 10168 esac 7810 10169 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7811 a s_fn_append ac_file_inputs "'$ac_f'"10170 ac_file_inputs="$ac_file_inputs '$ac_f'" 7812 10171 done 7813 10172 … … 7820 10179 if test x"$ac_file" != x-; then 7821 10180 configure_input="$ac_file. $configure_input" 7822 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&510181 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 7823 10182 $as_echo "$as_me: creating $ac_file" >&6;} 7824 10183 fi … … 7832 10191 7833 10192 case $ac_tag in 7834 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7835 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 10193 *:-:* | *:-) cat >"$tmp/stdin" \ 10194 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10195 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10196 { (exit 1); exit 1; }; } ;; 7836 10197 esac 7837 10198 ;; … … 7861 10222 } 7862 10223 s/.*/./; q'` 7863 as_dir="$ac_dir"; as_fn_mkdir_p 10224 { as_dir="$ac_dir" 10225 case $as_dir in #( 10226 -*) as_dir=./$as_dir;; 10227 esac 10228 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10229 as_dirs= 10230 while :; do 10231 case $as_dir in #( 10232 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10233 *) as_qdir=$as_dir;; 10234 esac 10235 as_dirs="'$as_qdir' $as_dirs" 10236 as_dir=`$as_dirname -- "$as_dir" || 10237 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10238 X"$as_dir" : 'X\(//\)[^/]' \| \ 10239 X"$as_dir" : 'X\(//\)$' \| \ 10240 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10241 $as_echo X"$as_dir" | 10242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10243 s//\1/ 10244 q 10245 } 10246 /^X\(\/\/\)[^/].*/{ 10247 s//\1/ 10248 q 10249 } 10250 /^X\(\/\/\)$/{ 10251 s//\1/ 10252 q 10253 } 10254 /^X\(\/\).*/{ 10255 s//\1/ 10256 q 10257 } 10258 s/.*/./; q'` 10259 test -d "$as_dir" && break 10260 done 10261 test -z "$as_dirs" || eval "mkdir $as_dirs" 10262 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10263 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 10264 { (exit 1); exit 1; }; }; } 7864 10265 ac_builddir=. 7865 10266 … … 7913 10314 # FIXME: This hack should be removed a few years after 2.60. 7914 10315 ac_datarootdir_hack=; ac_datarootdir_seen= 10316 7915 10317 ac_sed_dataroot=' 7916 10318 /datarootdir/ { … … 7922 10324 /@infodir@/p 7923 10325 /@localedir@/p 7924 /@mandir@/p' 10326 /@mandir@/p 10327 ' 7925 10328 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7926 10329 *datarootdir*) ac_datarootdir_seen=yes;; 7927 10330 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7928 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&510331 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7929 10332 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7930 10333 _ACEOF … … 7936 10339 s&@localedir@&$localedir&g 7937 10340 s&@mandir@&$mandir&g 7938 s&\\\${datarootdir}&$datarootdir&g' ;;10341 s&\\\${datarootdir}&$datarootdir&g' ;; 7939 10342 esac 7940 10343 _ACEOF … … 7963 10366 $ac_datarootdir_hack 7964 10367 " 7965 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7966 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10368 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10369 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10370 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10371 { (exit 1); exit 1; }; } 7967 10372 7968 10373 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7969 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7970 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7971 "$ac_tmp/out"`; test -z "$ac_out"; } && 7972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7973 which seems to be undefined. Please make sure it is defined" >&5 10374 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10375 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10376 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10377 which seems to be undefined. Please make sure it is defined." >&5 7974 10378 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7975 which seems to be undefined. Please make sure it is defined " >&2;}7976 7977 rm -f "$ ac_tmp/stdin"10379 which seems to be undefined. Please make sure it is defined." >&2;} 10380 10381 rm -f "$tmp/stdin" 7978 10382 case $ac_file in 7979 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;7980 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;10383 -) cat "$tmp/out" && rm -f "$tmp/out";; 10384 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7981 10385 esac \ 7982 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10386 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10387 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10388 { (exit 1); exit 1; }; } 7983 10389 ;; 7984 10390 :H) … … 7989 10395 { 7990 10396 $as_echo "/* $configure_input */" \ 7991 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7992 } >"$ac_tmp/config.h" \ 7993 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7994 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7995 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10397 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10398 } >"$tmp/config.h" \ 10399 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10400 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10401 { (exit 1); exit 1; }; } 10402 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10403 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7996 10404 $as_echo "$as_me: $ac_file is unchanged" >&6;} 7997 10405 else 7998 10406 rm -f "$ac_file" 7999 mv "$ac_tmp/config.h" "$ac_file" \ 8000 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10407 mv "$tmp/config.h" "$ac_file" \ 10408 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10409 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10410 { (exit 1); exit 1; }; } 8001 10411 fi 8002 10412 else 8003 10413 $as_echo "/* $configure_input */" \ 8004 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 8005 || as_fn_error $? "could not create -" "$LINENO" 5 10414 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10415 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10416 $as_echo "$as_me: error: could not create -" >&2;} 10417 { (exit 1); exit 1; }; } 8006 10418 fi 8007 10419 ;; … … 8013 10425 8014 10426 8015 as_fn_exit 0 8016 _ACEOF 10427 { (exit 0); exit 0; } 10428 _ACEOF 10429 chmod +x $CONFIG_STATUS 8017 10430 ac_clean_files=$ac_clean_files_save 8018 10431 8019 10432 test $ac_write_fail = 0 || 8020 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 10433 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10434 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10435 { (exit 1); exit 1; }; } 8021 10436 8022 10437 … … 8039 10454 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8040 10455 # would make configure fail if this is the last instruction. 8041 $ac_cs_success || as_fn_exit 110456 $ac_cs_success || { (exit 1); exit 1; } 8042 10457 fi 8043 10458 … … 8083 10498 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 8084 10499 esac 8085 a s_fn_append ac_sub_configure_args "'$ac_arg'" ;;10500 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 8086 10501 esac 8087 10502 done … … 8112 10527 8113 10528 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 8114 $as_echo "$as_me:$ {as_lineno-$LINENO}: $ac_msg" >&510529 $as_echo "$as_me:$LINENO: $ac_msg" >&5 8115 10530 $as_echo "$ac_msg" >&6 8116 as_dir="$ac_dir"; as_fn_mkdir_p 10531 { as_dir="$ac_dir" 10532 case $as_dir in #( 10533 -*) as_dir=./$as_dir;; 10534 esac 10535 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10536 as_dirs= 10537 while :; do 10538 case $as_dir in #( 10539 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10540 *) as_qdir=$as_dir;; 10541 esac 10542 as_dirs="'$as_qdir' $as_dirs" 10543 as_dir=`$as_dirname -- "$as_dir" || 10544 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10545 X"$as_dir" : 'X\(//\)[^/]' \| \ 10546 X"$as_dir" : 'X\(//\)$' \| \ 10547 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10548 $as_echo X"$as_dir" | 10549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10550 s//\1/ 10551 q 10552 } 10553 /^X\(\/\/\)[^/].*/{ 10554 s//\1/ 10555 q 10556 } 10557 /^X\(\/\/\)$/{ 10558 s//\1/ 10559 q 10560 } 10561 /^X\(\/\).*/{ 10562 s//\1/ 10563 q 10564 } 10565 s/.*/./; q'` 10566 test -d "$as_dir" && break 10567 done 10568 test -z "$as_dirs" || eval "mkdir $as_dirs" 10569 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10570 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 10571 { (exit 1); exit 1; }; }; } 8117 10572 ac_builddir=. 8118 10573 … … 8161 10616 ac_sub_configure=$ac_aux_dir/configure 8162 10617 else 8163 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&510618 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 8164 10619 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 8165 10620 ac_sub_configure= … … 8175 10630 esac 8176 10631 8177 { $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" >&510632 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 8178 10633 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8179 10634 # The eval makes quoting arguments work. 8180 10635 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 8181 10636 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 8182 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 10637 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10638 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 10639 { (exit 1); exit 1; }; } 8183 10640 fi 8184 10641 … … 8187 10644 fi 8188 10645 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8189 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&510646 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8190 10647 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8191 10648 fi -
main/trunk/greenstone2/configure
r25149 r28309 8587 8587 8588 8588 8589 #---------------------------------------------------------------------------- 8590 # GS2 uses this configure to set up gnome-lib env, GS3 uses the one in gs2build/build-src 8591 # For gnome-lib-minimal need to source its ./devel.bash before wvware can even be configured 8592 # For a gnome-lib that's already compiled, don't need to its source ./devel.bash to configure wvware 8593 # If a gnome-lib is not yet compiled, we compile it first with CASCADE-MAKE.sh 8594 8595 if test -d ext/gnome-lib-minimal; then 8596 echo "*** gnome-lib (minimal) detected. Sourcing the gnomelib env for configuring wvware..." 8597 cd ext/gnome-lib-minimal 8598 source ./devel.bash 8599 cd ../.. 8600 elif test -d ext/gnome-lib; then 8601 if -d ext/gnome-lib/$gsdlos ; then 8602 echo "*** gnome-lib already compiled up in ext/gnome-lib/$gsdlos" 8603 echo "*** Sourcing the gnomelib env for configuring wvware for GS2 (although it's not necessary)..." 8604 cd ext/gnome-lib 8605 source ./devel.bash 8606 cd ../.. 8607 else 8608 echo "*** Compiling up gnome-lib..." 8609 cd ext/gnome-lib 8610 ./CASCADE-MAKE.sh 8611 gnomestatus=$? 8612 if $gnomestatus != 0 ; then 8613 echo "****************************************" 8614 echo "@@@ Failed to compile up gnomelib successfully" 8615 echo "****************************************" 8616 exit -1 8617 fi 8618 cd ../.. 8619 fi 8620 fi 8621 8589 8622 # --------------------------------------------------------------------------- 8590 8623
Note:
See TracChangeset
for help on using the changeset viewer.