Changeset 3601
- Timestamp:
- Apr 1, 2013, 2:04:12 PM (11 years ago)
- Location:
- branches/1.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/configure
r3472 r3601 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for Rappture 1.2.3 # Generated by GNU Autoconf 2.69 for Rappture 1.2. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 9 11 # This configure script is free software; the Free Software Foundation 10 12 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 14 16 15 17 # Be more Bourne compatible 16 18 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 20 emulate sh 19 21 NULLCMD=: … … 23 25 setopt NO_GLOB_SUBST 24 26 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 27 32 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 41 35 42 36 as_nl=' … … 47 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 50 as_echo='printf %s\n' 51 51 as_echo_n='printf %s' … … 58 58 as_echo_n_body='eval 59 59 arg=$1; 60 case $arg in 60 case $arg in #( 61 61 *"$as_nl"*) 62 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 81 fi 82 82 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 83 91 84 # IFS … … 97 90 98 91 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 92 as_myself= 93 case $0 in #(( 100 94 *[\\/]* ) as_myself=$0 ;; 101 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 98 IFS=$as_save_IFS 105 99 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 108 102 IFS=$as_save_IFS 109 103 … … 117 111 if test ! -f "$as_myself"; then 118 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 123 done 126 124 PS1='$ ' … … 134 132 export LANGUAGE 135 133 136 # Required to use basename. 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 $0: rappture@nanohub.org about your system, including any 271 $0: error possibly output before this message. Then install 272 $0: a modern shell, or manually run the script under such a 273 $0: shell if you do have one." 274 fi 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 137 422 if expr a : '\(a\)' >/dev/null 2>&1 && 138 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 433 fi 149 434 150 151 # Name of the executable. 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 152 441 as_me=`$as_basename -- "$0" || 153 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 458 s/.*/./; q'` 170 459 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 # Avoid depending upon Character Ranges. 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464 as_cr_digits='0123456789' 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 460 473 sed -n ' 461 474 p … … 474 487 ' >$as_me.lineno && 475 488 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 479 495 # Don't try to exec as it changes $[0], causing all sort of problems 480 496 # (the dirname of $[0] is not the place where we might find the … … 485 501 } 486 502 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 503 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 504 case `echo -n x` in #((((( 496 505 -n*) 497 case `echo 'x \c'` in506 case `echo 'xy\c'` in 498 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 500 511 esac;; 501 512 *) 502 513 ECHO_N='-n';; 503 514 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 515 511 516 rm -f conf$$ conf$$.exe conf$$.file … … 522 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p '.529 # In both cases, we have to default to `cp -pR'. 525 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p '531 as_ln_s='cp -pR' 527 532 elif ln conf$$.file conf$$ 2>/dev/null; then 528 533 as_ln_s=ln 529 534 else 530 as_ln_s='cp -p '535 as_ln_s='cp -pR' 531 536 fi 532 537 else 533 as_ln_s='cp -p '538 as_ln_s='cp -pR' 534 539 fi 535 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 537 542 538 543 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :544 as_mkdir_p='mkdir -p "$as_dir"' 540 545 else 541 546 test -d ./-p && rmdir ./-p … … 543 548 fi 544 549 545 if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547 else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565 fi 566 as_executable_p=$as_test_x 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 567 552 568 553 # Sed expression to map a string onto a valid CPP name. … … 573 558 574 559 575 576 exec 7<&0 </dev/null6>&1560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 577 562 578 563 # Name of the host. 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 580 565 # so uname gets run too. 581 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 592 577 MFLAGS= 593 578 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 579 596 580 # Identity of this package. … … 600 584 PACKAGE_STRING='Rappture 1.2' 601 585 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 PACKAGE_URL='' 602 587 603 588 # Factoring default headers for most tests. … … 699 684 HAVE_FFMPEG_LIBS 700 685 ENABLE_GUI 686 FFMPEG 701 687 LDFLAGS_DEFAULT 702 688 CFLAGS_DEFAULT 703 RUBY_EXTRA_LIBS 704 RUBY_SITE_PKG 689 host_os 690 host_vendor 691 host_cpu 692 host 693 build_os 694 build_vendor 695 build_cpu 696 build 697 HAVE_RUBY_H 698 RUBY_SITELIBDIR 699 RUBY_LIBRUBYARG_STATIC 700 RUBY_LIBRUBYARG 701 RUBY_LIBS 705 702 RUBY_LDFLAGS 703 RUBY_CXXFLAGS 704 RUBY_CFLAGS 706 705 RUBY_CPPFLAGS 707 AWK 708 RUBY_VERSION 709 SED 706 RUBY_VERSION_CODE 710 707 RUBY 711 708 R … … 802 799 prefix 803 800 exec_prefix 801 PACKAGE_URL 804 802 PACKAGE_BUGREPORT 805 803 PACKAGE_STRING … … 830 828 with_R 831 829 with_ruby 830 with_ruby_sitelibdir 832 831 enable_shared 833 832 enable_symbols … … 910 909 911 910 case $ac_option in 912 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 913 *) ac_optarg=yes ;; 911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 912 *=) ac_optarg= ;; 913 *) ac_optarg=yes ;; 914 914 esac 915 915 … … 956 956 # Reject names that are not valid shell variable names. 957 957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 958 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 959 { (exit 1); exit 1; }; } 958 as_fn_error $? "invalid feature name: $ac_useropt" 960 959 ac_useropt_orig=$ac_useropt 961 960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 983 982 # Reject names that are not valid shell variable names. 984 983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 985 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 986 { (exit 1); exit 1; }; } 984 as_fn_error $? "invalid feature name: $ac_useropt" 987 985 ac_useropt_orig=$ac_useropt 988 986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1188 1186 # Reject names that are not valid shell variable names. 1189 1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1190 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1191 { (exit 1); exit 1; }; } 1188 as_fn_error $? "invalid package name: $ac_useropt" 1192 1189 ac_useropt_orig=$ac_useropt 1193 1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1205 1202 # Reject names that are not valid shell variable names. 1206 1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1207 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1208 { (exit 1); exit 1; }; } 1204 as_fn_error $? "invalid package name: $ac_useropt" 1209 1205 ac_useropt_orig=$ac_useropt 1210 1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1236 1232 x_libraries=$ac_optarg ;; 1237 1233 1238 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1239 Try \`$0 --help' for more information." >&2 1240 { (exit 1); exit 1; }; } 1234 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1235 Try \`$0 --help' for more information" 1241 1236 ;; 1242 1237 … … 1244 1239 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1245 1240 # Reject names that are not valid shell variable names. 1246 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1247 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1248 { (exit 1); exit 1; }; } 1241 case $ac_envvar in #( 1242 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1243 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1244 esac 1249 1245 eval $ac_envvar=\$ac_optarg 1250 1246 export $ac_envvar ;; … … 1255 1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1256 1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1257 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1258 1254 ;; 1259 1255 … … 1263 1259 if test -n "$ac_prev"; then 1264 1260 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1265 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1266 { (exit 1); exit 1; }; } 1261 as_fn_error $? "missing argument to $ac_option" 1267 1262 fi 1268 1263 … … 1270 1265 case $enable_option_checking in 1271 1266 no) ;; 1272 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1273 { (exit 1); exit 1; }; } ;; 1267 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1274 1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1275 1269 esac … … 1294 1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1295 1289 esac 1296 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1297 { (exit 1); exit 1; }; } 1290 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1298 1291 done 1299 1292 … … 1309 1302 if test "x$build_alias" = x; then 1310 1303 cross_compiling=maybe 1311 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1312 If a cross compiler is detected then cross compile mode will be used." >&21313 1304 elif test "x$build_alias" != "x$host_alias"; then 1314 1305 cross_compiling=yes … … 1325 1316 ac_ls_di=`ls -di .` && 1326 1317 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1327 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1328 { (exit 1); exit 1; }; } 1318 as_fn_error $? "working directory cannot be determined" 1329 1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1330 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1331 { (exit 1); exit 1; }; } 1320 as_fn_error $? "pwd does not report name of working directory" 1332 1321 1333 1322 … … 1368 1357 if test ! -r "$srcdir/$ac_unique_file"; then 1369 1358 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1370 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1371 { (exit 1); exit 1; }; } 1359 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1372 1360 fi 1373 1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1374 1362 ac_abs_confdir=`( 1375 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1376 { (exit 1); exit 1; }; } 1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1377 1364 pwd)` 1378 1365 # When building in place, set srcdir=. … … 1414 1401 --help=recursive display the short help of all the included packages 1415 1402 -V, --version display version information and exit 1416 -q, --quiet, --silent do not print \`checking ...' messages1403 -q, --quiet, --silent do not print \`checking ...' messages 1417 1404 --cache-file=FILE cache test results in FILE [disabled] 1418 1405 -C, --config-cache alias for \`--cache-file=config.cache' … … 1456 1443 1457 1444 cat <<\_ACEOF 1445 1446 System types: 1447 --build=BUILD configure for building on BUILD [guessed] 1448 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1458 1449 _ACEOF 1459 1450 fi … … 1494 1485 --with-java=DIR location of java [default=yes] 1495 1486 --with-R=DIR location of R interpreter [default=yes] 1496 --with-ruby=DIR location of ruby [default=yes] 1487 --with-ruby=PATH path to the ruby interpreter [[ruby]] 1488 --with-ruby-sitelibdir=PATH 1489 path to install ruby scripts [[auto-detect]] 1497 1490 1498 1491 Some influential environment variables: … … 1502 1495 nonstandard directory <lib dir> 1503 1496 LIBS libraries to pass to the linker, e.g. -l<library> 1504 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1505 1498 you have headers in a nonstandard directory <include dir> 1506 1499 CXX C++ compiler command … … 1578 1571 cat <<\_ACEOF 1579 1572 Rappture configure 1.2 1580 generated by GNU Autoconf 2.63 1581 1582 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1583 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1573 generated by GNU Autoconf 2.69 1574 1575 Copyright (C) 2012 Free Software Foundation, Inc. 1584 1576 This configure script is free software; the Free Software Foundation 1585 1577 gives unlimited permission to copy, distribute and modify it. … … 1587 1579 exit 1588 1580 fi 1581 1582 ## ------------------------ ## 1583 ## Autoconf initialization. ## 1584 ## ------------------------ ## 1585 1586 # ac_fn_c_try_compile LINENO 1587 # -------------------------- 1588 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1589 ac_fn_c_try_compile () 1590 { 1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1592 rm -f conftest.$ac_objext 1593 if { { ac_try="$ac_compile" 1594 case "(($ac_try" in 1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1596 *) ac_try_echo=$ac_try;; 1597 esac 1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1599 $as_echo "$ac_try_echo"; } >&5 1600 (eval "$ac_compile") 2>conftest.err 1601 ac_status=$? 1602 if test -s conftest.err; then 1603 grep -v '^ *+' conftest.err >conftest.er1 1604 cat conftest.er1 >&5 1605 mv -f conftest.er1 conftest.err 1606 fi 1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1608 test $ac_status = 0; } && { 1609 test -z "$ac_c_werror_flag" || 1610 test ! -s conftest.err 1611 } && test -s conftest.$ac_objext; then : 1612 ac_retval=0 1613 else 1614 $as_echo "$as_me: failed program was:" >&5 1615 sed 's/^/| /' conftest.$ac_ext >&5 1616 1617 ac_retval=1 1618 fi 1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1620 as_fn_set_status $ac_retval 1621 1622 } # ac_fn_c_try_compile 1623 1624 # ac_fn_cxx_try_compile LINENO 1625 # ---------------------------- 1626 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1627 ac_fn_cxx_try_compile () 1628 { 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1630 rm -f conftest.$ac_objext 1631 if { { ac_try="$ac_compile" 1632 case "(($ac_try" in 1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1634 *) ac_try_echo=$ac_try;; 1635 esac 1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1637 $as_echo "$ac_try_echo"; } >&5 1638 (eval "$ac_compile") 2>conftest.err 1639 ac_status=$? 1640 if test -s conftest.err; then 1641 grep -v '^ *+' conftest.err >conftest.er1 1642 cat conftest.er1 >&5 1643 mv -f conftest.er1 conftest.err 1644 fi 1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1646 test $ac_status = 0; } && { 1647 test -z "$ac_cxx_werror_flag" || 1648 test ! -s conftest.err 1649 } && test -s conftest.$ac_objext; then : 1650 ac_retval=0 1651 else 1652 $as_echo "$as_me: failed program was:" >&5 1653 sed 's/^/| /' conftest.$ac_ext >&5 1654 1655 ac_retval=1 1656 fi 1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1658 as_fn_set_status $ac_retval 1659 1660 } # ac_fn_cxx_try_compile 1661 1662 # ac_fn_f77_try_compile LINENO 1663 # ---------------------------- 1664 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1665 ac_fn_f77_try_compile () 1666 { 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 rm -f conftest.$ac_objext 1669 if { { ac_try="$ac_compile" 1670 case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673 esac 1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675 $as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_compile") 2>conftest.err 1677 ac_status=$? 1678 if test -s conftest.err; then 1679 grep -v '^ *+' conftest.err >conftest.er1 1680 cat conftest.er1 >&5 1681 mv -f conftest.er1 conftest.err 1682 fi 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; } && { 1685 test -z "$ac_f77_werror_flag" || 1686 test ! -s conftest.err 1687 } && test -s conftest.$ac_objext; then : 1688 ac_retval=0 1689 else 1690 $as_echo "$as_me: failed program was:" >&5 1691 sed 's/^/| /' conftest.$ac_ext >&5 1692 1693 ac_retval=1 1694 fi 1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1696 as_fn_set_status $ac_retval 1697 1698 } # ac_fn_f77_try_compile 1699 1700 # ac_fn_c_try_cpp LINENO 1701 # ---------------------- 1702 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1703 ac_fn_c_try_cpp () 1704 { 1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1706 if { { ac_try="$ac_cpp conftest.$ac_ext" 1707 case "(($ac_try" in 1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1709 *) ac_try_echo=$ac_try;; 1710 esac 1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1712 $as_echo "$ac_try_echo"; } >&5 1713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1714 ac_status=$? 1715 if test -s conftest.err; then 1716 grep -v '^ *+' conftest.err >conftest.er1 1717 cat conftest.er1 >&5 1718 mv -f conftest.er1 conftest.err 1719 fi 1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1721 test $ac_status = 0; } > conftest.i && { 1722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1723 test ! -s conftest.err 1724 }; then : 1725 ac_retval=0 1726 else 1727 $as_echo "$as_me: failed program was:" >&5 1728 sed 's/^/| /' conftest.$ac_ext >&5 1729 1730 ac_retval=1 1731 fi 1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1733 as_fn_set_status $ac_retval 1734 1735 } # ac_fn_c_try_cpp 1736 1737 # ac_fn_c_try_run LINENO 1738 # ---------------------- 1739 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1740 # that executables *can* be run. 1741 ac_fn_c_try_run () 1742 { 1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1744 if { { ac_try="$ac_link" 1745 case "(($ac_try" in 1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1747 *) ac_try_echo=$ac_try;; 1748 esac 1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1750 $as_echo "$ac_try_echo"; } >&5 1751 (eval "$ac_link") 2>&5 1752 ac_status=$? 1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1754 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1755 { { case "(($ac_try" in 1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1757 *) ac_try_echo=$ac_try;; 1758 esac 1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1760 $as_echo "$ac_try_echo"; } >&5 1761 (eval "$ac_try") 2>&5 1762 ac_status=$? 1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1764 test $ac_status = 0; }; }; then : 1765 ac_retval=0 1766 else 1767 $as_echo "$as_me: program exited with status $ac_status" >&5 1768 $as_echo "$as_me: failed program was:" >&5 1769 sed 's/^/| /' conftest.$ac_ext >&5 1770 1771 ac_retval=$ac_status 1772 fi 1773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1775 as_fn_set_status $ac_retval 1776 1777 } # ac_fn_c_try_run 1778 1779 # ac_fn_c_try_link LINENO 1780 # ----------------------- 1781 # Try to link conftest.$ac_ext, and return whether this succeeded. 1782 ac_fn_c_try_link () 1783 { 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 rm -f conftest.$ac_objext conftest$ac_exeext 1786 if { { ac_try="$ac_link" 1787 case "(($ac_try" in 1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1789 *) ac_try_echo=$ac_try;; 1790 esac 1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1792 $as_echo "$ac_try_echo"; } >&5 1793 (eval "$ac_link") 2>conftest.err 1794 ac_status=$? 1795 if test -s conftest.err; then 1796 grep -v '^ *+' conftest.err >conftest.er1 1797 cat conftest.er1 >&5 1798 mv -f conftest.er1 conftest.err 1799 fi 1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1801 test $ac_status = 0; } && { 1802 test -z "$ac_c_werror_flag" || 1803 test ! -s conftest.err 1804 } && test -s conftest$ac_exeext && { 1805 test "$cross_compiling" = yes || 1806 test -x conftest$ac_exeext 1807 }; then : 1808 ac_retval=0 1809 else 1810 $as_echo "$as_me: failed program was:" >&5 1811 sed 's/^/| /' conftest.$ac_ext >&5 1812 1813 ac_retval=1 1814 fi 1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1817 # interfere with the next link command; also delete a directory that is 1818 # left behind by Apple's compiler. We do this before executing the actions. 1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1821 as_fn_set_status $ac_retval 1822 1823 } # ac_fn_c_try_link 1824 1825 # ac_fn_c_check_func LINENO FUNC VAR 1826 # ---------------------------------- 1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1828 ac_fn_c_check_func () 1829 { 1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1832 $as_echo_n "checking for $2... " >&6; } 1833 if eval \${$3+:} false; then : 1834 $as_echo_n "(cached) " >&6 1835 else 1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1837 /* end confdefs.h. */ 1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1840 #define $2 innocuous_$2 1841 1842 /* System header to define __stub macros and hopefully few prototypes, 1843 which can conflict with char $2 (); below. 1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1845 <limits.h> exists even on freestanding compilers. */ 1846 1847 #ifdef __STDC__ 1848 # include <limits.h> 1849 #else 1850 # include <assert.h> 1851 #endif 1852 1853 #undef $2 1854 1855 /* Override any GCC internal prototype to avoid an error. 1856 Use char because int might match the return type of a GCC 1857 builtin and then its argument prototype would still apply. */ 1858 #ifdef __cplusplus 1859 extern "C" 1860 #endif 1861 char $2 (); 1862 /* The GNU C library defines this for functions which it implements 1863 to always fail with ENOSYS. Some functions are actually named 1864 something starting with __ and the normal name is an alias. */ 1865 #if defined __stub_$2 || defined __stub___$2 1866 choke me 1867 #endif 1868 1869 int 1870 main () 1871 { 1872 return $2 (); 1873 ; 1874 return 0; 1875 } 1876 _ACEOF 1877 if ac_fn_c_try_link "$LINENO"; then : 1878 eval "$3=yes" 1879 else 1880 eval "$3=no" 1881 fi 1882 rm -f core conftest.err conftest.$ac_objext \ 1883 conftest$ac_exeext conftest.$ac_ext 1884 fi 1885 eval ac_res=\$$3 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1887 $as_echo "$ac_res" >&6; } 1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1889 1890 } # ac_fn_c_check_func 1891 1892 # ac_fn_cxx_try_link LINENO 1893 # ------------------------- 1894 # Try to link conftest.$ac_ext, and return whether this succeeded. 1895 ac_fn_cxx_try_link () 1896 { 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 rm -f conftest.$ac_objext conftest$ac_exeext 1899 if { { ac_try="$ac_link" 1900 case "(($ac_try" in 1901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1902 *) ac_try_echo=$ac_try;; 1903 esac 1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1905 $as_echo "$ac_try_echo"; } >&5 1906 (eval "$ac_link") 2>conftest.err 1907 ac_status=$? 1908 if test -s conftest.err; then 1909 grep -v '^ *+' conftest.err >conftest.er1 1910 cat conftest.er1 >&5 1911 mv -f conftest.er1 conftest.err 1912 fi 1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1914 test $ac_status = 0; } && { 1915 test -z "$ac_cxx_werror_flag" || 1916 test ! -s conftest.err 1917 } && test -s conftest$ac_exeext && { 1918 test "$cross_compiling" = yes || 1919 test -x conftest$ac_exeext 1920 }; then : 1921 ac_retval=0 1922 else 1923 $as_echo "$as_me: failed program was:" >&5 1924 sed 's/^/| /' conftest.$ac_ext >&5 1925 1926 ac_retval=1 1927 fi 1928 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1929 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1930 # interfere with the next link command; also delete a directory that is 1931 # left behind by Apple's compiler. We do this before executing the actions. 1932 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1934 as_fn_set_status $ac_retval 1935 1936 } # ac_fn_cxx_try_link 1937 1938 # ac_fn_cxx_check_func LINENO FUNC VAR 1939 # ------------------------------------ 1940 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1941 ac_fn_cxx_check_func () 1942 { 1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1945 $as_echo_n "checking for $2... " >&6; } 1946 if eval \${$3+:} false; then : 1947 $as_echo_n "(cached) " >&6 1948 else 1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1950 /* end confdefs.h. */ 1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1953 #define $2 innocuous_$2 1954 1955 /* System header to define __stub macros and hopefully few prototypes, 1956 which can conflict with char $2 (); below. 1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1958 <limits.h> exists even on freestanding compilers. */ 1959 1960 #ifdef __STDC__ 1961 # include <limits.h> 1962 #else 1963 # include <assert.h> 1964 #endif 1965 1966 #undef $2 1967 1968 /* Override any GCC internal prototype to avoid an error. 1969 Use char because int might match the return type of a GCC 1970 builtin and then its argument prototype would still apply. */ 1971 #ifdef __cplusplus 1972 extern "C" 1973 #endif 1974 char $2 (); 1975 /* The GNU C library defines this for functions which it implements 1976 to always fail with ENOSYS. Some functions are actually named 1977 something starting with __ and the normal name is an alias. */ 1978 #if defined __stub_$2 || defined __stub___$2 1979 choke me 1980 #endif 1981 1982 int 1983 main () 1984 { 1985 return $2 (); 1986 ; 1987 return 0; 1988 } 1989 _ACEOF 1990 if ac_fn_cxx_try_link "$LINENO"; then : 1991 eval "$3=yes" 1992 else 1993 eval "$3=no" 1994 fi 1995 rm -f core conftest.err conftest.$ac_objext \ 1996 conftest$ac_exeext conftest.$ac_ext 1997 fi 1998 eval ac_res=\$$3 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2000 $as_echo "$ac_res" >&6; } 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2002 2003 } # ac_fn_cxx_check_func 2004 2005 # ac_fn_cxx_try_cpp LINENO 2006 # ------------------------ 2007 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2008 ac_fn_cxx_try_cpp () 2009 { 2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2011 if { { ac_try="$ac_cpp conftest.$ac_ext" 2012 case "(($ac_try" in 2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2014 *) ac_try_echo=$ac_try;; 2015 esac 2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2017 $as_echo "$ac_try_echo"; } >&5 2018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2019 ac_status=$? 2020 if test -s conftest.err; then 2021 grep -v '^ *+' conftest.err >conftest.er1 2022 cat conftest.er1 >&5 2023 mv -f conftest.er1 conftest.err 2024 fi 2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2026 test $ac_status = 0; } > conftest.i && { 2027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2028 test ! -s conftest.err 2029 }; then : 2030 ac_retval=0 2031 else 2032 $as_echo "$as_me: failed program was:" >&5 2033 sed 's/^/| /' conftest.$ac_ext >&5 2034 2035 ac_retval=1 2036 fi 2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2038 as_fn_set_status $ac_retval 2039 2040 } # ac_fn_cxx_try_cpp 2041 2042 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2043 # --------------------------------------------------------- 2044 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2045 # the include files in INCLUDES and setting the cache variable VAR 2046 # accordingly. 2047 ac_fn_cxx_check_header_mongrel () 2048 { 2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2050 if eval \${$3+:} false; then : 2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2052 $as_echo_n "checking for $2... " >&6; } 2053 if eval \${$3+:} false; then : 2054 $as_echo_n "(cached) " >&6 2055 fi 2056 eval ac_res=\$$3 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2058 $as_echo "$ac_res" >&6; } 2059 else 2060 # Is the header compilable? 2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2062 $as_echo_n "checking $2 usability... " >&6; } 2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2064 /* end confdefs.h. */ 2065 $4 2066 #include <$2> 2067 _ACEOF 2068 if ac_fn_cxx_try_compile "$LINENO"; then : 2069 ac_header_compiler=yes 2070 else 2071 ac_header_compiler=no 2072 fi 2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2075 $as_echo "$ac_header_compiler" >&6; } 2076 2077 # Is the header present? 2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2079 $as_echo_n "checking $2 presence... " >&6; } 2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2081 /* end confdefs.h. */ 2082 #include <$2> 2083 _ACEOF 2084 if ac_fn_cxx_try_cpp "$LINENO"; then : 2085 ac_header_preproc=yes 2086 else 2087 ac_header_preproc=no 2088 fi 2089 rm -f conftest.err conftest.i conftest.$ac_ext 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2091 $as_echo "$ac_header_preproc" >&6; } 2092 2093 # So? What about this header? 2094 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2095 yes:no: ) 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2097 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2100 ;; 2101 no:yes:* ) 2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2103 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2105 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2107 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2109 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2111 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2112 ( $as_echo "## ----------------------------------- ## 2113 ## Report this to rappture@nanohub.org ## 2114 ## ----------------------------------- ##" 2115 ) | sed "s/^/$as_me: WARNING: /" >&2 2116 ;; 2117 esac 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2119 $as_echo_n "checking for $2... " >&6; } 2120 if eval \${$3+:} false; then : 2121 $as_echo_n "(cached) " >&6 2122 else 2123 eval "$3=\$ac_header_compiler" 2124 fi 2125 eval ac_res=\$$3 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2127 $as_echo "$ac_res" >&6; } 2128 fi 2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2130 2131 } # ac_fn_cxx_check_header_mongrel 2132 2133 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2134 # --------------------------------------------------------- 2135 # Tests whether HEADER exists and can be compiled using the include files in 2136 # INCLUDES, setting the cache variable VAR accordingly. 2137 ac_fn_cxx_check_header_compile () 2138 { 2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2141 $as_echo_n "checking for $2... " >&6; } 2142 if eval \${$3+:} false; then : 2143 $as_echo_n "(cached) " >&6 2144 else 2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2146 /* end confdefs.h. */ 2147 $4 2148 #include <$2> 2149 _ACEOF 2150 if ac_fn_cxx_try_compile "$LINENO"; then : 2151 eval "$3=yes" 2152 else 2153 eval "$3=no" 2154 fi 2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2156 fi 2157 eval ac_res=\$$3 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2159 $as_echo "$ac_res" >&6; } 2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2161 2162 } # ac_fn_cxx_check_header_compile 2163 2164 # ac_fn_cxx_try_run LINENO 2165 # ------------------------ 2166 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2167 # that executables *can* be run. 2168 ac_fn_cxx_try_run () 2169 { 2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2171 if { { ac_try="$ac_link" 2172 case "(($ac_try" in 2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2174 *) ac_try_echo=$ac_try;; 2175 esac 2176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2177 $as_echo "$ac_try_echo"; } >&5 2178 (eval "$ac_link") 2>&5 2179 ac_status=$? 2180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2181 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2182 { { case "(($ac_try" in 2183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2184 *) ac_try_echo=$ac_try;; 2185 esac 2186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2187 $as_echo "$ac_try_echo"; } >&5 2188 (eval "$ac_try") 2>&5 2189 ac_status=$? 2190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2191 test $ac_status = 0; }; }; then : 2192 ac_retval=0 2193 else 2194 $as_echo "$as_me: program exited with status $ac_status" >&5 2195 $as_echo "$as_me: failed program was:" >&5 2196 sed 's/^/| /' conftest.$ac_ext >&5 2197 2198 ac_retval=$ac_status 2199 fi 2200 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2202 as_fn_set_status $ac_retval 2203 2204 } # ac_fn_cxx_try_run 2205 2206 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2207 # ---------------------------------------------- 2208 # Tries to find the compile-time value of EXPR in a program that includes 2209 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2210 # computed 2211 ac_fn_cxx_compute_int () 2212 { 2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2214 if test "$cross_compiling" = yes; then 2215 # Depending upon the size, compute the lo and hi bounds. 2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2217 /* end confdefs.h. */ 2218 $4 2219 int 2220 main () 2221 { 2222 static int test_array [1 - 2 * !(($2) >= 0)]; 2223 test_array [0] = 0; 2224 return test_array [0]; 2225 2226 ; 2227 return 0; 2228 } 2229 _ACEOF 2230 if ac_fn_cxx_try_compile "$LINENO"; then : 2231 ac_lo=0 ac_mid=0 2232 while :; do 2233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2234 /* end confdefs.h. */ 2235 $4 2236 int 2237 main () 2238 { 2239 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2240 test_array [0] = 0; 2241 return test_array [0]; 2242 2243 ; 2244 return 0; 2245 } 2246 _ACEOF 2247 if ac_fn_cxx_try_compile "$LINENO"; then : 2248 ac_hi=$ac_mid; break 2249 else 2250 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2251 if test $ac_lo -le $ac_mid; then 2252 ac_lo= ac_hi= 2253 break 2254 fi 2255 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2256 fi 2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2258 done 2259 else 2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2261 /* end confdefs.h. */ 2262 $4 2263 int 2264 main () 2265 { 2266 static int test_array [1 - 2 * !(($2) < 0)]; 2267 test_array [0] = 0; 2268 return test_array [0]; 2269 2270 ; 2271 return 0; 2272 } 2273 _ACEOF 2274 if ac_fn_cxx_try_compile "$LINENO"; then : 2275 ac_hi=-1 ac_mid=-1 2276 while :; do 2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2278 /* end confdefs.h. */ 2279 $4 2280 int 2281 main () 2282 { 2283 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2284 test_array [0] = 0; 2285 return test_array [0]; 2286 2287 ; 2288 return 0; 2289 } 2290 _ACEOF 2291 if ac_fn_cxx_try_compile "$LINENO"; then : 2292 ac_lo=$ac_mid; break 2293 else 2294 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2295 if test $ac_mid -le $ac_hi; then 2296 ac_lo= ac_hi= 2297 break 2298 fi 2299 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2300 fi 2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2302 done 2303 else 2304 ac_lo= ac_hi= 2305 fi 2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2307 fi 2308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2309 # Binary search between lo and hi bounds. 2310 while test "x$ac_lo" != "x$ac_hi"; do 2311 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2313 /* end confdefs.h. */ 2314 $4 2315 int 2316 main () 2317 { 2318 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2319 test_array [0] = 0; 2320 return test_array [0]; 2321 2322 ; 2323 return 0; 2324 } 2325 _ACEOF 2326 if ac_fn_cxx_try_compile "$LINENO"; then : 2327 ac_hi=$ac_mid 2328 else 2329 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2330 fi 2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2332 done 2333 case $ac_lo in #(( 2334 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2335 '') ac_retval=1 ;; 2336 esac 2337 else 2338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2339 /* end confdefs.h. */ 2340 $4 2341 static long int longval () { return $2; } 2342 static unsigned long int ulongval () { return $2; } 2343 #include <stdio.h> 2344 #include <stdlib.h> 2345 int 2346 main () 2347 { 2348 2349 FILE *f = fopen ("conftest.val", "w"); 2350 if (! f) 2351 return 1; 2352 if (($2) < 0) 2353 { 2354 long int i = longval (); 2355 if (i != ($2)) 2356 return 1; 2357 fprintf (f, "%ld", i); 2358 } 2359 else 2360 { 2361 unsigned long int i = ulongval (); 2362 if (i != ($2)) 2363 return 1; 2364 fprintf (f, "%lu", i); 2365 } 2366 /* Do not output a trailing newline, as this causes \r\n confusion 2367 on some platforms. */ 2368 return ferror (f) || fclose (f) != 0; 2369 2370 ; 2371 return 0; 2372 } 2373 _ACEOF 2374 if ac_fn_cxx_try_run "$LINENO"; then : 2375 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2376 else 2377 ac_retval=1 2378 fi 2379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2380 conftest.$ac_objext conftest.beam conftest.$ac_ext 2381 rm -f conftest.val 2382 2383 fi 2384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2385 as_fn_set_status $ac_retval 2386 2387 } # ac_fn_cxx_compute_int 1589 2388 cat >config.log <<_ACEOF 1590 2389 This file contains any messages produced by compilers while … … 1592 2391 1593 2392 It was created by Rappture $as_me 1.2, which was 1594 generated by GNU Autoconf 2.6 3. Invocation command line was2393 generated by GNU Autoconf 2.69. Invocation command line was 1595 2394 1596 2395 $ $0 $@ … … 1628 2427 IFS=$as_save_IFS 1629 2428 test -z "$as_dir" && as_dir=. 1630 $as_echo "PATH: $as_dir"1631 done2429 $as_echo "PATH: $as_dir" 2430 done 1632 2431 IFS=$as_save_IFS 1633 2432 … … 1666 2465 esac 1667 2466 case $ac_pass in 1668 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2467 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1669 2468 2) 1670 a c_configure_args1="$ac_configure_args1'$ac_arg'"2469 as_fn_append ac_configure_args1 " '$ac_arg'" 1671 2470 if test $ac_must_keep_next = true; then 1672 2471 ac_must_keep_next=false # Got value, back to normal. … … 1684 2483 esac 1685 2484 fi 1686 a c_configure_args="$ac_configure_args'$ac_arg'"2485 as_fn_append ac_configure_args " '$ac_arg'" 1687 2486 ;; 1688 2487 esac 1689 2488 done 1690 2489 done 1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1692 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2490 { ac_configure_args0=; unset ac_configure_args0;} 2491 { ac_configure_args1=; unset ac_configure_args1;} 1693 2492 1694 2493 # When interrupted or exit'd, cleanup temporary files, and complete … … 1702 2501 echo 1703 2502 1704 cat <<\_ASBOX 1705 ## ---------------- ## 2503 $as_echo "## ---------------- ## 1706 2504 ## Cache variables. ## 1707 ## ---------------- ## 1708 _ASBOX 2505 ## ---------------- ##" 1709 2506 echo 1710 2507 # The following way of writing the cache mishandles newlines in values, … … 1715 2512 *${as_nl}*) 1716 2513 case $ac_var in #( 1717 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52514 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1718 2515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1719 2516 esac … … 1721 2518 _ | IFS | as_nl) ;; #( 1722 2519 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1723 *) $as_unset $ac_var;;2520 *) { eval $ac_var=; unset $ac_var;} ;; 1724 2521 esac ;; 1725 2522 esac … … 1740 2537 echo 1741 2538 1742 cat <<\_ASBOX 1743 ## ----------------- ## 2539 $as_echo "## ----------------- ## 1744 2540 ## Output variables. ## 1745 ## ----------------- ## 1746 _ASBOX 2541 ## ----------------- ##" 1747 2542 echo 1748 2543 for ac_var in $ac_subst_vars … … 1757 2552 1758 2553 if test -n "$ac_subst_files"; then 1759 cat <<\_ASBOX 1760 ## ------------------- ## 2554 $as_echo "## ------------------- ## 1761 2555 ## File substitutions. ## 1762 ## ------------------- ## 1763 _ASBOX 2556 ## ------------------- ##" 1764 2557 echo 1765 2558 for ac_var in $ac_subst_files … … 1775 2568 1776 2569 if test -s confdefs.h; then 1777 cat <<\_ASBOX 1778 ## ----------- ## 2570 $as_echo "## ----------- ## 1779 2571 ## confdefs.h. ## 1780 ## ----------- ## 1781 _ASBOX 2572 ## ----------- ##" 1782 2573 echo 1783 2574 cat confdefs.h … … 1793 2584 ' 0 1794 2585 for ac_signal in 1 2 13 15; do 1795 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2586 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1796 2587 done 1797 2588 ac_signal=0 … … 1800 2591 rm -f -r conftest* confdefs.h 1801 2592 2593 $as_echo "/* confdefs.h */" > confdefs.h 2594 1802 2595 # Predefined preprocessor variables. 1803 2596 … … 1806 2599 _ACEOF 1807 2600 1808 1809 2601 cat >>confdefs.h <<_ACEOF 1810 2602 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1811 2603 _ACEOF 1812 2604 1813 1814 2605 cat >>confdefs.h <<_ACEOF 1815 2606 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1816 2607 _ACEOF 1817 2608 1818 1819 2609 cat >>confdefs.h <<_ACEOF 1820 2610 #define PACKAGE_STRING "$PACKAGE_STRING" 1821 2611 _ACEOF 1822 2612 1823 1824 2613 cat >>confdefs.h <<_ACEOF 1825 2614 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2615 _ACEOF 2616 2617 cat >>confdefs.h <<_ACEOF 2618 #define PACKAGE_URL "$PACKAGE_URL" 1826 2619 _ACEOF 1827 2620 … … 1832 2625 ac_site_file2=NONE 1833 2626 if test -n "$CONFIG_SITE"; then 1834 ac_site_file1=$CONFIG_SITE 2627 # We do not want a PATH search for config.site. 2628 case $CONFIG_SITE in #(( 2629 -*) ac_site_file1=./$CONFIG_SITE;; 2630 */*) ac_site_file1=$CONFIG_SITE;; 2631 *) ac_site_file1=./$CONFIG_SITE;; 2632 esac 1835 2633 elif test "x$prefix" != xNONE; then 1836 2634 ac_site_file1=$prefix/share/config.site … … 1843 2641 do 1844 2642 test "x$ac_site_file" = xNONE && continue 1845 if test -r "$ac_site_file"; then1846 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52643 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1847 2645 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1848 2646 sed 's/^/| /' "$ac_site_file" >&5 1849 . "$ac_site_file" 2647 . "$ac_site_file" \ 2648 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2650 as_fn_error $? "failed to load site script $ac_site_file 2651 See \`config.log' for more details" "$LINENO" 5; } 1850 2652 fi 1851 2653 done 1852 2654 1853 2655 if test -r "$cache_file"; then 1854 # Some versions of bash will fail to source /dev/null (special 1855 # files actually), so we avoid doing that.1856 if test -f "$cache_file"; then1857 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52656 # Some versions of bash will fail to source /dev/null (special files 2657 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2658 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1858 2660 $as_echo "$as_me: loading cache $cache_file" >&6;} 1859 2661 case $cache_file in … … 1863 2665 fi 1864 2666 else 1865 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1866 2668 $as_echo "$as_me: creating cache $cache_file" >&6;} 1867 2669 >$cache_file … … 1878 2680 case $ac_old_set,$ac_new_set in 1879 2681 set,) 1880 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1881 2683 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1882 2684 ac_cache_corrupted=: ;; 1883 2685 ,set) 1884 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52686 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1885 2687 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1886 2688 ac_cache_corrupted=: ;; … … 1892 2694 ac_new_val_w=`echo x $ac_new_val` 1893 2695 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1894 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1895 2697 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1896 2698 ac_cache_corrupted=: 1897 2699 else 1898 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52700 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1899 2701 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1900 2702 eval $ac_var=\$ac_old_val 1901 2703 fi 1902 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52704 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1903 2705 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1904 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52706 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1905 2707 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1906 2708 fi;; … … 1914 2716 case " $ac_configure_args " in 1915 2717 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1916 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2718 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1917 2719 esac 1918 2720 fi 1919 2721 done 1920 2722 if $ac_cache_corrupted; then 1921 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1922 2724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1923 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52725 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1924 2726 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1925 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1926 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1927 { (exit 1); exit 1; }; } 1928 fi 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 2727 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2728 fi 2729 ## -------------------- ## 2730 ## Main body of script. ## 2731 ## -------------------- ## 1953 2732 1954 2733 ac_ext=c … … 1976 2755 done 1977 2756 if test -z "$ac_aux_dir"; then 1978 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1979 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1980 { (exit 1); exit 1; }; } 2757 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1981 2758 fi 1982 2759 … … 2006 2783 2007 2784 # Check whether --with-install was given. 2008 if test "${with_install+set}" = set; then 2785 if test "${with_install+set}" = set; then : 2009 2786 withval=$with_install; 2010 2787 else … … 2041 2818 # ./install, which can be erroneously created by make from ./install.sh. 2042 2819 # Reject install programs that cannot install multiple files. 2043 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&52820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2044 2821 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2045 2822 if test -z "$INSTALL"; then 2046 if test "${ac_cv_path_install+set}" = set; then2823 if ${ac_cv_path_install+:} false; then : 2047 2824 $as_echo_n "(cached) " >&6 2048 2825 else … … 2052 2829 IFS=$as_save_IFS 2053 2830 test -z "$as_dir" && as_dir=. 2054 # Account for people who put trailing slashes in PATH elements.2055 case $as_dir/ in 2056 ./ | .// | / cC/* | \2831 # Account for people who put trailing slashes in PATH elements. 2832 case $as_dir/ in #(( 2833 ./ | .// | /[cC]/* | \ 2057 2834 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2058 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2835 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2059 2836 /usr/ucb/* ) ;; 2060 2837 *) … … 2064 2841 for ac_prog in ginstall scoinst install; do 2065 2842 for ac_exec_ext in '' $ac_executable_extensions; do 2066 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2843 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2067 2844 if test $ac_prog = install && 2068 2845 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2093 2870 esac 2094 2871 2095 done2872 done 2096 2873 IFS=$as_save_IFS 2097 2874 … … 2109 2886 fi 2110 2887 fi 2111 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&52888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2112 2889 $as_echo "$INSTALL" >&6; } 2113 2890 … … 2120 2897 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2121 2898 2122 # Find a good install program. We prefer a C program (faster),2123 # so one script is as good as another. But avoid the broken or2124 # incompatible versions:2125 # SysV /etc/install, /usr/sbin/install2126 # SunOS /usr/etc/install2127 # IRIX /sbin/install2128 # AIX /bin/install2129 # AmigaOS /C/install, which installs bootblocks on floppy discs2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"2133 # OS/2's system install, which has a completely different semantic2134 # ./install, which can be erroneously created by make from ./install.sh.2135 # Reject install programs that cannot install multiple files.2136 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52137 $as_echo_n "checking for a BSD-compatible install... " >&6; }2138 if test -z "$INSTALL"; then2139 if test "${ac_cv_path_install+set}" = set; then2140 $as_echo_n "(cached) " >&62141 else2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2143 for as_dir in $PATH2144 do2145 IFS=$as_save_IFS2146 test -z "$as_dir" && as_dir=.2147 # Account for people who put trailing slashes in PATH elements.2148 case $as_dir/ in2149 ./ | .// | /cC/* | \2150 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2151 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2152 /usr/ucb/* ) ;;2153 *)2154 # OSF1 and SCO ODT 3.0 have their own names for install.2155 # Don't use installbsd from OSF since it installs stuff as root2156 # by default.2157 for ac_prog in ginstall scoinst install; do2158 for ac_exec_ext in '' $ac_executable_extensions; do2159 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2160 if test $ac_prog = install &&2161 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2162 # AIX install. It has an incompatible calling convention.2163 :2164 elif test $ac_prog = install &&2165 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2166 # program-specific install script used by HP pwplus--don't use.2167 :2168 else2169 rm -rf conftest.one conftest.two conftest.dir2170 echo one > conftest.one2171 echo two > conftest.two2172 mkdir conftest.dir2173 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&2174 test -s conftest.one && test -s conftest.two &&2175 test -s conftest.dir/conftest.one &&2176 test -s conftest.dir/conftest.two2177 then2178 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2179 break 32180 fi2181 fi2182 fi2183 done2184 done2185 ;;2186 esac2187 2188 done2189 IFS=$as_save_IFS2190 2191 rm -rf conftest.one conftest.two conftest.dir2192 2193 fi2194 if test "${ac_cv_path_install+set}" = set; then2195 INSTALL=$ac_cv_path_install2196 else2197 # As a last resort, use the slow shell script. Don't cache a2198 # value for INSTALL within a source directory, because that will2199 # break other packages using the cache if that directory is2200 # removed, or if the value is a relative name.2201 INSTALL=$ac_install_sh2202 fi2203 fi2204 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&52205 $as_echo "$INSTALL" >&6; }2206 2207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2208 # It thinks the first close brace ends the variable substitution.2209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2210 2211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2212 2213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2214 2899 2215 2900 if test -n "$ac_tool_prefix"; then 2216 2901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2217 2902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2218 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2219 2904 $as_echo_n "checking for $ac_word... " >&6; } 2220 if test "${ac_cv_prog_RANLIB+set}" = set; then2905 if ${ac_cv_prog_RANLIB+:} false; then : 2221 2906 $as_echo_n "(cached) " >&6 2222 2907 else … … 2229 2914 IFS=$as_save_IFS 2230 2915 test -z "$as_dir" && as_dir=. 2231 for ac_exec_ext in '' $ac_executable_extensions; do2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2916 for ac_exec_ext in '' $ac_executable_extensions; do 2917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2233 2918 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2234 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2235 2920 break 2 2236 2921 fi 2237 2922 done 2238 done2923 done 2239 2924 IFS=$as_save_IFS 2240 2925 … … 2243 2928 RANLIB=$ac_cv_prog_RANLIB 2244 2929 if test -n "$RANLIB"; then 2245 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&52930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2246 2931 $as_echo "$RANLIB" >&6; } 2247 2932 else 2248 { $as_echo "$as_me:$ LINENO: result: no" >&52933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2249 2934 $as_echo "no" >&6; } 2250 2935 fi … … 2256 2941 # Extract the first word of "ranlib", so it can be a program name with args. 2257 2942 set dummy ranlib; ac_word=$2 2258 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2259 2944 $as_echo_n "checking for $ac_word... " >&6; } 2260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2945 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2261 2946 $as_echo_n "(cached) " >&6 2262 2947 else … … 2269 2954 IFS=$as_save_IFS 2270 2955 test -z "$as_dir" && as_dir=. 2271 for ac_exec_ext in '' $ac_executable_extensions; do2272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2956 for ac_exec_ext in '' $ac_executable_extensions; do 2957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2273 2958 ac_cv_prog_ac_ct_RANLIB="ranlib" 2274 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2275 2960 break 2 2276 2961 fi 2277 2962 done 2278 done2963 done 2279 2964 IFS=$as_save_IFS 2280 2965 … … 2283 2968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2284 2969 if test -n "$ac_ct_RANLIB"; then 2285 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&52970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2286 2971 $as_echo "$ac_ct_RANLIB" >&6; } 2287 2972 else 2288 { $as_echo "$as_me:$ LINENO: result: no" >&52973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2289 2974 $as_echo "no" >&6; } 2290 2975 fi … … 2295 2980 case $cross_compiling:$ac_tool_warned in 2296 2981 yes:) 2297 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2298 2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2299 2984 ac_tool_warned=yes ;; … … 2305 2990 fi 2306 2991 2307 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&52992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2308 2993 $as_echo_n "checking whether ln -s works... " >&6; } 2309 2994 LN_S=$as_ln_s 2310 2995 if test "$LN_S" = "ln -s"; then 2311 { $as_echo "$as_me:$ LINENO: result: yes" >&52996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2312 2997 $as_echo "yes" >&6; } 2313 2998 else 2314 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&52999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2315 3000 $as_echo "no, using $LN_S" >&6; } 2316 3001 fi 2317 3002 2318 { $as_echo "$as_me:$ LINENO: checking for a thread-safe mkdir -p" >&53003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2319 3004 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2320 3005 if test -z "$MKDIR_P"; then 2321 if test "${ac_cv_path_mkdir+set}" = set; then3006 if ${ac_cv_path_mkdir+:} false; then : 2322 3007 $as_echo_n "(cached) " >&6 2323 3008 else … … 2327 3012 IFS=$as_save_IFS 2328 3013 test -z "$as_dir" && as_dir=. 2329 for ac_prog in mkdir gmkdir; do3014 for ac_prog in mkdir gmkdir; do 2330 3015 for ac_exec_ext in '' $ac_executable_extensions; do 2331 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }|| continue3016 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2332 3017 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2333 3018 'mkdir (GNU coreutils) '* | \ … … 2339 3024 done 2340 3025 done 2341 done3026 done 2342 3027 IFS=$as_save_IFS 2343 3028 2344 3029 fi 2345 3030 3031 test -d ./--version && rmdir ./--version 2346 3032 if test "${ac_cv_path_mkdir+set}" = set; then 2347 3033 MKDIR_P="$ac_cv_path_mkdir -p" … … 2351 3037 # break other packages using the cache if that directory is 2352 3038 # removed, or if the value is a relative name. 2353 test -d ./--version && rmdir ./--version2354 3039 MKDIR_P="$ac_install_sh -d" 2355 3040 fi 2356 3041 fi 2357 { $as_echo "$as_me:$ LINENO: result: $MKDIR_P" >&53042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2358 3043 $as_echo "$MKDIR_P" >&6; } 2359 3044 2360 { $as_echo "$as_me:$ LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2361 3046 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2362 3047 set x ${MAKE-make} 2363 3048 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2364 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then3049 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2365 3050 $as_echo_n "(cached) " >&6 2366 3051 else … … 2370 3055 @echo '@@@%%%=$(MAKE)=@@@%%%' 2371 3056 _ACEOF 2372 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3057 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2373 3058 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2374 3059 *@@@%%%=?*=@@@%%%*) … … 2380 3065 fi 2381 3066 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2382 { $as_echo "$as_me:$ LINENO: result: yes" >&53067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2383 3068 $as_echo "yes" >&6; } 2384 3069 SET_MAKE= 2385 3070 else 2386 { $as_echo "$as_me:$ LINENO: result: no" >&53071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2387 3072 $as_echo "no" >&6; } 2388 3073 SET_MAKE="MAKE=${MAKE-make}" … … 2399 3084 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2400 3085 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2401 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2402 3087 $as_echo_n "checking for $ac_word... " >&6; } 2403 if test "${ac_cv_prog_CC+set}" = set; then3088 if ${ac_cv_prog_CC+:} false; then : 2404 3089 $as_echo_n "(cached) " >&6 2405 3090 else … … 2412 3097 IFS=$as_save_IFS 2413 3098 test -z "$as_dir" && as_dir=. 2414 for ac_exec_ext in '' $ac_executable_extensions; do2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3099 for ac_exec_ext in '' $ac_executable_extensions; do 3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2416 3101 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2417 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2418 3103 break 2 2419 3104 fi 2420 3105 done 2421 done3106 done 2422 3107 IFS=$as_save_IFS 2423 3108 … … 2426 3111 CC=$ac_cv_prog_CC 2427 3112 if test -n "$CC"; then 2428 { $as_echo "$as_me:$ LINENO: result: $CC" >&53113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2429 3114 $as_echo "$CC" >&6; } 2430 3115 else 2431 { $as_echo "$as_me:$ LINENO: result: no" >&53116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2432 3117 $as_echo "no" >&6; } 2433 3118 fi … … 2439 3124 # Extract the first word of "gcc", so it can be a program name with args. 2440 3125 set dummy gcc; ac_word=$2 2441 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2442 3127 $as_echo_n "checking for $ac_word... " >&6; } 2443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3128 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2444 3129 $as_echo_n "(cached) " >&6 2445 3130 else … … 2452 3137 IFS=$as_save_IFS 2453 3138 test -z "$as_dir" && as_dir=. 2454 for ac_exec_ext in '' $ac_executable_extensions; do2455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3139 for ac_exec_ext in '' $ac_executable_extensions; do 3140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2456 3141 ac_cv_prog_ac_ct_CC="gcc" 2457 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2458 3143 break 2 2459 3144 fi 2460 3145 done 2461 done3146 done 2462 3147 IFS=$as_save_IFS 2463 3148 … … 2466 3151 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2467 3152 if test -n "$ac_ct_CC"; then 2468 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2469 3154 $as_echo "$ac_ct_CC" >&6; } 2470 3155 else 2471 { $as_echo "$as_me:$ LINENO: result: no" >&53156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2472 3157 $as_echo "no" >&6; } 2473 3158 fi … … 2478 3163 case $cross_compiling:$ac_tool_warned in 2479 3164 yes:) 2480 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2481 3166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2482 3167 ac_tool_warned=yes ;; … … 2492 3177 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2493 3178 set dummy ${ac_tool_prefix}cc; ac_word=$2 2494 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2495 3180 $as_echo_n "checking for $ac_word... " >&6; } 2496 if test "${ac_cv_prog_CC+set}" = set; then3181 if ${ac_cv_prog_CC+:} false; then : 2497 3182 $as_echo_n "(cached) " >&6 2498 3183 else … … 2505 3190 IFS=$as_save_IFS 2506 3191 test -z "$as_dir" && as_dir=. 2507 for ac_exec_ext in '' $ac_executable_extensions; do2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3192 for ac_exec_ext in '' $ac_executable_extensions; do 3193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2509 3194 ac_cv_prog_CC="${ac_tool_prefix}cc" 2510 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2511 3196 break 2 2512 3197 fi 2513 3198 done 2514 done3199 done 2515 3200 IFS=$as_save_IFS 2516 3201 … … 2519 3204 CC=$ac_cv_prog_CC 2520 3205 if test -n "$CC"; then 2521 { $as_echo "$as_me:$ LINENO: result: $CC" >&53206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2522 3207 $as_echo "$CC" >&6; } 2523 3208 else 2524 { $as_echo "$as_me:$ LINENO: result: no" >&53209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2525 3210 $as_echo "no" >&6; } 2526 3211 fi … … 2532 3217 # Extract the first word of "cc", so it can be a program name with args. 2533 3218 set dummy cc; ac_word=$2 2534 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2535 3220 $as_echo_n "checking for $ac_word... " >&6; } 2536 if test "${ac_cv_prog_CC+set}" = set; then3221 if ${ac_cv_prog_CC+:} false; then : 2537 3222 $as_echo_n "(cached) " >&6 2538 3223 else … … 2546 3231 IFS=$as_save_IFS 2547 3232 test -z "$as_dir" && as_dir=. 2548 for ac_exec_ext in '' $ac_executable_extensions; do2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3233 for ac_exec_ext in '' $ac_executable_extensions; do 3234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2550 3235 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2551 3236 ac_prog_rejected=yes … … 2553 3238 fi 2554 3239 ac_cv_prog_CC="cc" 2555 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2556 3241 break 2 2557 3242 fi 2558 3243 done 2559 done3244 done 2560 3245 IFS=$as_save_IFS 2561 3246 … … 2576 3261 CC=$ac_cv_prog_CC 2577 3262 if test -n "$CC"; then 2578 { $as_echo "$as_me:$ LINENO: result: $CC" >&53263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2579 3264 $as_echo "$CC" >&6; } 2580 3265 else 2581 { $as_echo "$as_me:$ LINENO: result: no" >&53266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2582 3267 $as_echo "no" >&6; } 2583 3268 fi … … 2591 3276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2592 3277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2593 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2594 3279 $as_echo_n "checking for $ac_word... " >&6; } 2595 if test "${ac_cv_prog_CC+set}" = set; then3280 if ${ac_cv_prog_CC+:} false; then : 2596 3281 $as_echo_n "(cached) " >&6 2597 3282 else … … 2604 3289 IFS=$as_save_IFS 2605 3290 test -z "$as_dir" && as_dir=. 2606 for ac_exec_ext in '' $ac_executable_extensions; do2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3291 for ac_exec_ext in '' $ac_executable_extensions; do 3292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2608 3293 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2609 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2610 3295 break 2 2611 3296 fi 2612 3297 done 2613 done3298 done 2614 3299 IFS=$as_save_IFS 2615 3300 … … 2618 3303 CC=$ac_cv_prog_CC 2619 3304 if test -n "$CC"; then 2620 { $as_echo "$as_me:$ LINENO: result: $CC" >&53305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2621 3306 $as_echo "$CC" >&6; } 2622 3307 else 2623 { $as_echo "$as_me:$ LINENO: result: no" >&53308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2624 3309 $as_echo "no" >&6; } 2625 3310 fi … … 2635 3320 # Extract the first word of "$ac_prog", so it can be a program name with args. 2636 3321 set dummy $ac_prog; ac_word=$2 2637 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2638 3323 $as_echo_n "checking for $ac_word... " >&6; } 2639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3324 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2640 3325 $as_echo_n "(cached) " >&6 2641 3326 else … … 2648 3333 IFS=$as_save_IFS 2649 3334 test -z "$as_dir" && as_dir=. 2650 for ac_exec_ext in '' $ac_executable_extensions; do2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3335 for ac_exec_ext in '' $ac_executable_extensions; do 3336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2652 3337 ac_cv_prog_ac_ct_CC="$ac_prog" 2653 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2654 3339 break 2 2655 3340 fi 2656 3341 done 2657 done3342 done 2658 3343 IFS=$as_save_IFS 2659 3344 … … 2662 3347 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2663 3348 if test -n "$ac_ct_CC"; then 2664 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2665 3350 $as_echo "$ac_ct_CC" >&6; } 2666 3351 else 2667 { $as_echo "$as_me:$ LINENO: result: no" >&53352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2668 3353 $as_echo "no" >&6; } 2669 3354 fi … … 2678 3363 case $cross_compiling:$ac_tool_warned in 2679 3364 yes:) 2680 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2681 3366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2682 3367 ac_tool_warned=yes ;; … … 2689 3374 2690 3375 2691 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53376 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2692 3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2693 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2694 See \`config.log' for more details." >&5 2695 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2696 See \`config.log' for more details." >&2;} 2697 { (exit 1); exit 1; }; }; } 3378 as_fn_error $? "no acceptable C compiler found in \$PATH 3379 See \`config.log' for more details" "$LINENO" 5; } 2698 3380 2699 3381 # Provide some information about the compiler. 2700 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53382 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2701 3383 set X $ac_compile 2702 3384 ac_compiler=$2 2703 { (ac_try="$ac_compiler --version >&5" 3385 for ac_option in --version -v -V -qversion; do 3386 { { ac_try="$ac_compiler $ac_option >&5" 2704 3387 case "(($ac_try" in 2705 3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2706 3389 *) ac_try_echo=$ac_try;; 2707 3390 esac 2708 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2709 $as_echo "$ac_try_echo" )>&52710 (eval "$ac_compiler --version >&5") 2>&53391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3392 $as_echo "$ac_try_echo"; } >&5 3393 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2711 3394 ac_status=$? 2712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2713 (exit $ac_status); } 2714 { (ac_try="$ac_compiler -v >&5" 2715 case "(($ac_try" in 2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2717 *) ac_try_echo=$ac_try;; 2718 esac 2719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2720 $as_echo "$ac_try_echo") >&5 2721 (eval "$ac_compiler -v >&5") 2>&5 2722 ac_status=$? 2723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2724 (exit $ac_status); } 2725 { (ac_try="$ac_compiler -V >&5" 2726 case "(($ac_try" in 2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2728 *) ac_try_echo=$ac_try;; 2729 esac 2730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2731 $as_echo "$ac_try_echo") >&5 2732 (eval "$ac_compiler -V >&5") 2>&5 2733 ac_status=$? 2734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2735 (exit $ac_status); } 2736 2737 cat >conftest.$ac_ext <<_ACEOF 2738 /* confdefs.h. */ 2739 _ACEOF 2740 cat confdefs.h >>conftest.$ac_ext 2741 cat >>conftest.$ac_ext <<_ACEOF 3395 if test -s conftest.err; then 3396 sed '10a\ 3397 ... rest of stderr output deleted ... 3398 10q' conftest.err >conftest.er1 3399 cat conftest.er1 >&5 3400 fi 3401 rm -f conftest.er1 conftest.err 3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3403 test $ac_status = 0; } 3404 done 3405 3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2742 3407 /* end confdefs.h. */ 2743 3408 … … 2755 3420 # It will help us diagnose broken compilers, and finding out an intuition 2756 3421 # of exeext. 2757 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52758 $as_echo_n "checking for C compiler default output file name... " >&6; }3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3423 $as_echo_n "checking whether the C compiler works... " >&6; } 2759 3424 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2760 3425 … … 2772 3437 rm -f $ac_rmfiles 2773 3438 2774 if { (ac_try="$ac_link_default"3439 if { { ac_try="$ac_link_default" 2775 3440 case "(($ac_try" in 2776 3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2777 3442 *) ac_try_echo=$ac_try;; 2778 3443 esac 2779 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2780 $as_echo "$ac_try_echo" )>&53444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3445 $as_echo "$ac_try_echo"; } >&5 2781 3446 (eval "$ac_link_default") 2>&5 2782 3447 ac_status=$? 2783 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52784 (exit $ac_status); }; then3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3449 test $ac_status = 0; }; then : 2785 3450 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2786 3451 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2799 3464 break;; 2800 3465 *.* ) 2801 3466 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2802 3467 then :; else 2803 3468 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2818 3483 ac_file='' 2819 3484 fi 2820 2821 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3485 if test -z "$ac_file"; then : 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3487 $as_echo "no" >&6; } 3488 $as_echo "$as_me: failed program was:" >&5 3489 sed 's/^/| /' conftest.$ac_ext >&5 3490 3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3493 as_fn_error 77 "C compiler cannot create executables 3494 See \`config.log' for more details" "$LINENO" 5; } 3495 else 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3497 $as_echo "yes" >&6; } 3498 fi 3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3500 $as_echo_n "checking for C compiler default output file name... " >&6; } 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2822 3502 $as_echo "$ac_file" >&6; } 2823 if test -z "$ac_file"; then2824 $as_echo "$as_me: failed program was:" >&52825 sed 's/^/| /' conftest.$ac_ext >&52826 2827 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2829 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2830 See \`config.log' for more details." >&52831 $as_echo "$as_me: error: C compiler cannot create executables2832 See \`config.log' for more details." >&2;}2833 { (exit 77); exit 77; }; }; }2834 fi2835 2836 3503 ac_exeext=$ac_cv_exeext 2837 2838 # Check that the compiler produces executables we can run. If not, either2839 # the compiler is broken, or we cross compile.2840 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52841 $as_echo_n "checking whether the C compiler works... " >&6; }2842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02843 # If not cross compiling, check that we can run a simple program.2844 if test "$cross_compiling" != yes; then2845 if { ac_try='./$ac_file'2846 { (case "(($ac_try" in2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2848 *) ac_try_echo=$ac_try;;2849 esac2850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2851 $as_echo "$ac_try_echo") >&52852 (eval "$ac_try") 2>&52853 ac_status=$?2854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52855 (exit $ac_status); }; }; then2856 cross_compiling=no2857 else2858 if test "$cross_compiling" = maybe; then2859 cross_compiling=yes2860 else2861 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2863 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2864 If you meant to cross compile, use \`--host'.2865 See \`config.log' for more details." >&52866 $as_echo "$as_me: error: cannot run C compiled programs.2867 If you meant to cross compile, use \`--host'.2868 See \`config.log' for more details." >&2;}2869 { (exit 1); exit 1; }; }; }2870 fi2871 fi2872 fi2873 { $as_echo "$as_me:$LINENO: result: yes" >&52874 $as_echo "yes" >&6; }2875 3504 2876 3505 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2877 3506 ac_clean_files=$ac_clean_files_save 2878 # Check that the compiler produces executables we can run. If not, either 2879 # the compiler is broken, or we cross compile. 2880 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2881 $as_echo_n "checking whether we are cross compiling... " >&6; } 2882 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2883 $as_echo "$cross_compiling" >&6; } 2884 2885 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2886 3508 $as_echo_n "checking for suffix of executables... " >&6; } 2887 if { (ac_try="$ac_link"3509 if { { ac_try="$ac_link" 2888 3510 case "(($ac_try" in 2889 3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2890 3512 *) ac_try_echo=$ac_try;; 2891 3513 esac 2892 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2893 $as_echo "$ac_try_echo" )>&53514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3515 $as_echo "$ac_try_echo"; } >&5 2894 3516 (eval "$ac_link") 2>&5 2895 3517 ac_status=$? 2896 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52897 (exit $ac_status); }; then3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3519 test $ac_status = 0; }; then : 2898 3520 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2899 3521 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2910 3532 done 2911 3533 else 2912 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2913 3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2914 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2915 See \`config.log' for more details." >&5 2916 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2917 See \`config.log' for more details." >&2;} 2918 { (exit 1); exit 1; }; }; } 2919 fi 2920 2921 rm -f conftest$ac_cv_exeext 2922 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3536 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3537 See \`config.log' for more details" "$LINENO" 5; } 3538 fi 3539 rm -f conftest conftest$ac_cv_exeext 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2923 3541 $as_echo "$ac_cv_exeext" >&6; } 2924 3542 … … 2926 3544 EXEEXT=$ac_cv_exeext 2927 3545 ac_exeext=$EXEEXT 2928 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2929 $as_echo_n "checking for suffix of object files... " >&6; } 2930 if test "${ac_cv_objext+set}" = set; then 2931 $as_echo_n "(cached) " >&6 2932 else 2933 cat >conftest.$ac_ext <<_ACEOF 2934 /* confdefs.h. */ 2935 _ACEOF 2936 cat confdefs.h >>conftest.$ac_ext 2937 cat >>conftest.$ac_ext <<_ACEOF 3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2938 3547 /* end confdefs.h. */ 2939 3548 #include <stdio.h> 2940 3549 int 2941 3550 main () 2942 3551 { 3552 FILE *f = fopen ("conftest.out", "w"); 3553 return ferror (f) || fclose (f) != 0; 2943 3554 2944 3555 ; … … 2946 3557 } 2947 3558 _ACEOF 2948 rm -f conftest.o conftest.obj 2949 if { (ac_try="$ac_compile" 3559 ac_clean_files="$ac_clean_files conftest.out" 3560 # Check that the compiler produces executables we can run. If not, either 3561 # the compiler is broken, or we cross compile. 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3563 $as_echo_n "checking whether we are cross compiling... " >&6; } 3564 if test "$cross_compiling" != yes; then 3565 { { ac_try="$ac_link" 2950 3566 case "(($ac_try" in 2951 3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2952 3568 *) ac_try_echo=$ac_try;; 2953 3569 esac 2954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2955 $as_echo "$ac_try_echo") >&5 3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3571 $as_echo "$ac_try_echo"; } >&5 3572 (eval "$ac_link") 2>&5 3573 ac_status=$? 3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3575 test $ac_status = 0; } 3576 if { ac_try='./conftest$ac_cv_exeext' 3577 { { case "(($ac_try" in 3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3579 *) ac_try_echo=$ac_try;; 3580 esac 3581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3582 $as_echo "$ac_try_echo"; } >&5 3583 (eval "$ac_try") 2>&5 3584 ac_status=$? 3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3586 test $ac_status = 0; }; }; then 3587 cross_compiling=no 3588 else 3589 if test "$cross_compiling" = maybe; then 3590 cross_compiling=yes 3591 else 3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3594 as_fn_error $? "cannot run C compiled programs. 3595 If you meant to cross compile, use \`--host'. 3596 See \`config.log' for more details" "$LINENO" 5; } 3597 fi 3598 fi 3599 fi 3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3601 $as_echo "$cross_compiling" >&6; } 3602 3603 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3604 ac_clean_files=$ac_clean_files_save 3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3606 $as_echo_n "checking for suffix of object files... " >&6; } 3607 if ${ac_cv_objext+:} false; then : 3608 $as_echo_n "(cached) " >&6 3609 else 3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3611 /* end confdefs.h. */ 3612 3613 int 3614 main () 3615 { 3616 3617 ; 3618 return 0; 3619 } 3620 _ACEOF 3621 rm -f conftest.o conftest.obj 3622 if { { ac_try="$ac_compile" 3623 case "(($ac_try" in 3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3625 *) ac_try_echo=$ac_try;; 3626 esac 3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3628 $as_echo "$ac_try_echo"; } >&5 2956 3629 (eval "$ac_compile") 2>&5 2957 3630 ac_status=$? 2958 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52959 (exit $ac_status); }; then3631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3632 test $ac_status = 0; }; then : 2960 3633 for ac_file in conftest.o conftest.obj conftest.*; do 2961 3634 test -f "$ac_file" || continue; … … 2970 3643 sed 's/^/| /' conftest.$ac_ext >&5 2971 3644 2972 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2973 3646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2974 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2975 See \`config.log' for more details." >&5 2976 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2977 See \`config.log' for more details." >&2;} 2978 { (exit 1); exit 1; }; }; } 2979 fi 2980 3647 as_fn_error $? "cannot compute suffix of object files: cannot compile 3648 See \`config.log' for more details" "$LINENO" 5; } 3649 fi 2981 3650 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2982 3651 fi 2983 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2984 3653 $as_echo "$ac_cv_objext" >&6; } 2985 3654 OBJEXT=$ac_cv_objext 2986 3655 ac_objext=$OBJEXT 2987 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2988 3657 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2989 if test "${ac_cv_c_compiler_gnu+set}" = set; then3658 if ${ac_cv_c_compiler_gnu+:} false; then : 2990 3659 $as_echo_n "(cached) " >&6 2991 3660 else 2992 cat >conftest.$ac_ext <<_ACEOF 2993 /* confdefs.h. */ 2994 _ACEOF 2995 cat confdefs.h >>conftest.$ac_ext 2996 cat >>conftest.$ac_ext <<_ACEOF 3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2997 3662 /* end confdefs.h. */ 2998 3663 … … 3008 3673 } 3009 3674 _ACEOF 3010 rm -f conftest.$ac_objext 3011 if { (ac_try="$ac_compile" 3012 case "(($ac_try" in 3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3014 *) ac_try_echo=$ac_try;; 3015 esac 3016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3017 $as_echo "$ac_try_echo") >&5 3018 (eval "$ac_compile") 2>conftest.er1 3019 ac_status=$? 3020 grep -v '^ *+' conftest.er1 >conftest.err 3021 rm -f conftest.er1 3022 cat conftest.err >&5 3023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3024 (exit $ac_status); } && { 3025 test -z "$ac_c_werror_flag" || 3026 test ! -s conftest.err 3027 } && test -s conftest.$ac_objext; then 3675 if ac_fn_c_try_compile "$LINENO"; then : 3028 3676 ac_compiler_gnu=yes 3029 3677 else 3030 $as_echo "$as_me: failed program was:" >&5 3031 sed 's/^/| /' conftest.$ac_ext >&5 3032 3033 ac_compiler_gnu=no 3034 fi 3035 3678 ac_compiler_gnu=no 3679 fi 3036 3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3037 3681 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3038 3682 3039 3683 fi 3040 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3041 3685 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3042 3686 if test $ac_compiler_gnu = yes; then … … 3047 3691 ac_test_CFLAGS=${CFLAGS+set} 3048 3692 ac_save_CFLAGS=$CFLAGS 3049 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3050 3694 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3051 if test "${ac_cv_prog_cc_g+set}" = set; then3695 if ${ac_cv_prog_cc_g+:} false; then : 3052 3696 $as_echo_n "(cached) " >&6 3053 3697 else … … 3056 3700 ac_cv_prog_cc_g=no 3057 3701 CFLAGS="-g" 3058 cat >conftest.$ac_ext <<_ACEOF 3059 /* confdefs.h. */ 3060 _ACEOF 3061 cat confdefs.h >>conftest.$ac_ext 3062 cat >>conftest.$ac_ext <<_ACEOF 3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3063 3703 /* end confdefs.h. */ 3064 3704 … … 3071 3711 } 3072 3712 _ACEOF 3073 rm -f conftest.$ac_objext 3074 if { (ac_try="$ac_compile" 3075 case "(($ac_try" in 3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3077 *) ac_try_echo=$ac_try;; 3078 esac 3079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3080 $as_echo "$ac_try_echo") >&5 3081 (eval "$ac_compile") 2>conftest.er1 3082 ac_status=$? 3083 grep -v '^ *+' conftest.er1 >conftest.err 3084 rm -f conftest.er1 3085 cat conftest.err >&5 3086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3087 (exit $ac_status); } && { 3088 test -z "$ac_c_werror_flag" || 3089 test ! -s conftest.err 3090 } && test -s conftest.$ac_objext; then 3713 if ac_fn_c_try_compile "$LINENO"; then : 3091 3714 ac_cv_prog_cc_g=yes 3092 3715 else 3093 $as_echo "$as_me: failed program was:" >&5 3094 sed 's/^/| /' conftest.$ac_ext >&5 3095 3096 CFLAGS="" 3097 cat >conftest.$ac_ext <<_ACEOF 3098 /* confdefs.h. */ 3099 _ACEOF 3100 cat confdefs.h >>conftest.$ac_ext 3101 cat >>conftest.$ac_ext <<_ACEOF 3716 CFLAGS="" 3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3102 3718 /* end confdefs.h. */ 3103 3719 … … 3110 3726 } 3111 3727 _ACEOF 3112 rm -f conftest.$ac_objext 3113 if { (ac_try="$ac_compile" 3114 case "(($ac_try" in 3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3116 *) ac_try_echo=$ac_try;; 3117 esac 3118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3119 $as_echo "$ac_try_echo") >&5 3120 (eval "$ac_compile") 2>conftest.er1 3121 ac_status=$? 3122 grep -v '^ *+' conftest.er1 >conftest.err 3123 rm -f conftest.er1 3124 cat conftest.err >&5 3125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3126 (exit $ac_status); } && { 3127 test -z "$ac_c_werror_flag" || 3128 test ! -s conftest.err 3129 } && test -s conftest.$ac_objext; then 3130 : 3131 else 3132 $as_echo "$as_me: failed program was:" >&5 3133 sed 's/^/| /' conftest.$ac_ext >&5 3134 3135 ac_c_werror_flag=$ac_save_c_werror_flag 3728 if ac_fn_c_try_compile "$LINENO"; then : 3729 3730 else 3731 ac_c_werror_flag=$ac_save_c_werror_flag 3136 3732 CFLAGS="-g" 3137 cat >conftest.$ac_ext <<_ACEOF 3138 /* confdefs.h. */ 3139 _ACEOF 3140 cat confdefs.h >>conftest.$ac_ext 3141 cat >>conftest.$ac_ext <<_ACEOF 3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3142 3734 /* end confdefs.h. */ 3143 3735 … … 3150 3742 } 3151 3743 _ACEOF 3152 rm -f conftest.$ac_objext 3153 if { (ac_try="$ac_compile" 3154 case "(($ac_try" in 3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3156 *) ac_try_echo=$ac_try;; 3157 esac 3158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3159 $as_echo "$ac_try_echo") >&5 3160 (eval "$ac_compile") 2>conftest.er1 3161 ac_status=$? 3162 grep -v '^ *+' conftest.er1 >conftest.err 3163 rm -f conftest.er1 3164 cat conftest.err >&5 3165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3166 (exit $ac_status); } && { 3167 test -z "$ac_c_werror_flag" || 3168 test ! -s conftest.err 3169 } && test -s conftest.$ac_objext; then 3744 if ac_fn_c_try_compile "$LINENO"; then : 3170 3745 ac_cv_prog_cc_g=yes 3171 else 3172 $as_echo "$as_me: failed program was:" >&5 3173 sed 's/^/| /' conftest.$ac_ext >&5 3174 3175 3176 fi 3177 3746 fi 3178 3747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3179 3748 fi 3180 3181 3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3182 3750 fi 3183 3184 3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3185 3752 ac_c_werror_flag=$ac_save_c_werror_flag 3186 3753 fi 3187 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3188 3755 $as_echo "$ac_cv_prog_cc_g" >&6; } 3189 3756 if test "$ac_test_CFLAGS" = set; then … … 3202 3769 fi 3203 3770 fi 3204 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3205 3772 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3206 if test "${ac_cv_prog_cc_c89+set}" = set; then3773 if ${ac_cv_prog_cc_c89+:} false; then : 3207 3774 $as_echo_n "(cached) " >&6 3208 3775 else 3209 3776 ac_cv_prog_cc_c89=no 3210 3777 ac_save_CC=$CC 3211 cat >conftest.$ac_ext <<_ACEOF 3212 /* confdefs.h. */ 3213 _ACEOF 3214 cat confdefs.h >>conftest.$ac_ext 3215 cat >>conftest.$ac_ext <<_ACEOF 3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3216 3779 /* end confdefs.h. */ 3217 3780 #include <stdarg.h> 3218 3781 #include <stdio.h> 3219 #include <sys/types.h> 3220 #include <sys/stat.h> 3782 struct stat; 3221 3783 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3222 3784 struct buf { int x; }; … … 3270 3832 do 3271 3833 CC="$ac_save_CC $ac_arg" 3272 rm -f conftest.$ac_objext 3273 if { (ac_try="$ac_compile" 3274 case "(($ac_try" in 3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3276 *) ac_try_echo=$ac_try;; 3277 esac 3278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3279 $as_echo "$ac_try_echo") >&5 3280 (eval "$ac_compile") 2>conftest.er1 3281 ac_status=$? 3282 grep -v '^ *+' conftest.er1 >conftest.err 3283 rm -f conftest.er1 3284 cat conftest.err >&5 3285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3286 (exit $ac_status); } && { 3287 test -z "$ac_c_werror_flag" || 3288 test ! -s conftest.err 3289 } && test -s conftest.$ac_objext; then 3834 if ac_fn_c_try_compile "$LINENO"; then : 3290 3835 ac_cv_prog_cc_c89=$ac_arg 3291 else 3292 $as_echo "$as_me: failed program was:" >&5 3293 sed 's/^/| /' conftest.$ac_ext >&5 3294 3295 3296 fi 3297 3836 fi 3298 3837 rm -f core conftest.err conftest.$ac_objext 3299 3838 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3306 3845 case "x$ac_cv_prog_cc_c89" in 3307 3846 x) 3308 { $as_echo "$as_me:$ LINENO: result: none needed" >&53847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3309 3848 $as_echo "none needed" >&6; } ;; 3310 3849 xno) 3311 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3312 3851 $as_echo "unsupported" >&6; } ;; 3313 3852 *) 3314 3853 CC="$CC $ac_cv_prog_cc_c89" 3315 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3316 3855 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3317 3856 esac 3318 3857 if test "x$ac_cv_prog_cc_c89" != xno; then : 3858 3859 fi 3319 3860 3320 3861 ac_ext=c … … 3338 3879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3339 3880 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3340 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3341 3882 $as_echo_n "checking for $ac_word... " >&6; } 3342 if test "${ac_cv_prog_CXX+set}" = set; then3883 if ${ac_cv_prog_CXX+:} false; then : 3343 3884 $as_echo_n "(cached) " >&6 3344 3885 else … … 3351 3892 IFS=$as_save_IFS 3352 3893 test -z "$as_dir" && as_dir=. 3353 for ac_exec_ext in '' $ac_executable_extensions; do3354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3894 for ac_exec_ext in '' $ac_executable_extensions; do 3895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3355 3896 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3356 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3357 3898 break 2 3358 3899 fi 3359 3900 done 3360 done3901 done 3361 3902 IFS=$as_save_IFS 3362 3903 … … 3365 3906 CXX=$ac_cv_prog_CXX 3366 3907 if test -n "$CXX"; then 3367 { $as_echo "$as_me:$ LINENO: result: $CXX" >&53908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3368 3909 $as_echo "$CXX" >&6; } 3369 3910 else 3370 { $as_echo "$as_me:$ LINENO: result: no" >&53911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3371 3912 $as_echo "no" >&6; } 3372 3913 fi … … 3382 3923 # Extract the first word of "$ac_prog", so it can be a program name with args. 3383 3924 set dummy $ac_prog; ac_word=$2 3384 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3385 3926 $as_echo_n "checking for $ac_word... " >&6; } 3386 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3927 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3387 3928 $as_echo_n "(cached) " >&6 3388 3929 else … … 3395 3936 IFS=$as_save_IFS 3396 3937 test -z "$as_dir" && as_dir=. 3397 for ac_exec_ext in '' $ac_executable_extensions; do3398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3938 for ac_exec_ext in '' $ac_executable_extensions; do 3939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3399 3940 ac_cv_prog_ac_ct_CXX="$ac_prog" 3400 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3401 3942 break 2 3402 3943 fi 3403 3944 done 3404 done3945 done 3405 3946 IFS=$as_save_IFS 3406 3947 … … 3409 3950 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3410 3951 if test -n "$ac_ct_CXX"; then 3411 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&53952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3412 3953 $as_echo "$ac_ct_CXX" >&6; } 3413 3954 else 3414 { $as_echo "$as_me:$ LINENO: result: no" >&53955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3415 3956 $as_echo "no" >&6; } 3416 3957 fi … … 3425 3966 case $cross_compiling:$ac_tool_warned in 3426 3967 yes:) 3427 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3428 3969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3429 3970 ac_tool_warned=yes ;; … … 3436 3977 fi 3437 3978 # Provide some information about the compiler. 3438 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&53979 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3439 3980 set X $ac_compile 3440 3981 ac_compiler=$2 3441 { (ac_try="$ac_compiler --version >&5" 3982 for ac_option in --version -v -V -qversion; do 3983 { { ac_try="$ac_compiler $ac_option >&5" 3442 3984 case "(($ac_try" in 3443 3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3444 3986 *) ac_try_echo=$ac_try;; 3445 3987 esac 3446 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3447 $as_echo "$ac_try_echo" )>&53448 (eval "$ac_compiler --version >&5") 2>&53988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3989 $as_echo "$ac_try_echo"; } >&5 3990 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3449 3991 ac_status=$? 3450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 (exit $ac_status); } 3452 { (ac_try="$ac_compiler -v >&5" 3453 case "(($ac_try" in 3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3455 *) ac_try_echo=$ac_try;; 3456 esac 3457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3458 $as_echo "$ac_try_echo") >&5 3459 (eval "$ac_compiler -v >&5") 2>&5 3460 ac_status=$? 3461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3462 (exit $ac_status); } 3463 { (ac_try="$ac_compiler -V >&5" 3464 case "(($ac_try" in 3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3466 *) ac_try_echo=$ac_try;; 3467 esac 3468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3469 $as_echo "$ac_try_echo") >&5 3470 (eval "$ac_compiler -V >&5") 2>&5 3471 ac_status=$? 3472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3473 (exit $ac_status); } 3474 3475 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3992 if test -s conftest.err; then 3993 sed '10a\ 3994 ... rest of stderr output deleted ... 3995 10q' conftest.err >conftest.er1 3996 cat conftest.er1 >&5 3997 fi 3998 rm -f conftest.er1 conftest.err 3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4000 test $ac_status = 0; } 4001 done 4002 4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3476 4004 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3477 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then4005 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3478 4006 $as_echo_n "(cached) " >&6 3479 4007 else 3480 cat >conftest.$ac_ext <<_ACEOF 3481 /* confdefs.h. */ 3482 _ACEOF 3483 cat confdefs.h >>conftest.$ac_ext 3484 cat >>conftest.$ac_ext <<_ACEOF 4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3485 4009 /* end confdefs.h. */ 3486 4010 … … 3496 4020 } 3497 4021 _ACEOF 3498 rm -f conftest.$ac_objext 3499 if { (ac_try="$ac_compile" 3500 case "(($ac_try" in 3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3502 *) ac_try_echo=$ac_try;; 3503 esac 3504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3505 $as_echo "$ac_try_echo") >&5 3506 (eval "$ac_compile") 2>conftest.er1 3507 ac_status=$? 3508 grep -v '^ *+' conftest.er1 >conftest.err 3509 rm -f conftest.er1 3510 cat conftest.err >&5 3511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); } && { 3513 test -z "$ac_cxx_werror_flag" || 3514 test ! -s conftest.err 3515 } && test -s conftest.$ac_objext; then 4022 if ac_fn_cxx_try_compile "$LINENO"; then : 3516 4023 ac_compiler_gnu=yes 3517 4024 else 3518 $as_echo "$as_me: failed program was:" >&5 3519 sed 's/^/| /' conftest.$ac_ext >&5 3520 3521 ac_compiler_gnu=no 3522 fi 3523 4025 ac_compiler_gnu=no 4026 fi 3524 4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3525 4028 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3526 4029 3527 4030 fi 3528 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3529 4032 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3530 4033 if test $ac_compiler_gnu = yes; then … … 3535 4038 ac_test_CXXFLAGS=${CXXFLAGS+set} 3536 4039 ac_save_CXXFLAGS=$CXXFLAGS 3537 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&54040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3538 4041 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3539 if test "${ac_cv_prog_cxx_g+set}" = set; then4042 if ${ac_cv_prog_cxx_g+:} false; then : 3540 4043 $as_echo_n "(cached) " >&6 3541 4044 else … … 3544 4047 ac_cv_prog_cxx_g=no 3545 4048 CXXFLAGS="-g" 3546 cat >conftest.$ac_ext <<_ACEOF 3547 /* confdefs.h. */ 3548 _ACEOF 3549 cat confdefs.h >>conftest.$ac_ext 3550 cat >>conftest.$ac_ext <<_ACEOF 4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3551 4050 /* end confdefs.h. */ 3552 4051 … … 3559 4058 } 3560 4059 _ACEOF 3561 rm -f conftest.$ac_objext 3562 if { (ac_try="$ac_compile" 3563 case "(($ac_try" in 3564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3565 *) ac_try_echo=$ac_try;; 3566 esac 3567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3568 $as_echo "$ac_try_echo") >&5 3569 (eval "$ac_compile") 2>conftest.er1 3570 ac_status=$? 3571 grep -v '^ *+' conftest.er1 >conftest.err 3572 rm -f conftest.er1 3573 cat conftest.err >&5 3574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3575 (exit $ac_status); } && { 3576 test -z "$ac_cxx_werror_flag" || 3577 test ! -s conftest.err 3578 } && test -s conftest.$ac_objext; then 4060 if ac_fn_cxx_try_compile "$LINENO"; then : 3579 4061 ac_cv_prog_cxx_g=yes 3580 4062 else 3581 $as_echo "$as_me: failed program was:" >&5 3582 sed 's/^/| /' conftest.$ac_ext >&5 3583 3584 CXXFLAGS="" 3585 cat >conftest.$ac_ext <<_ACEOF 3586 /* confdefs.h. */ 3587 _ACEOF 3588 cat confdefs.h >>conftest.$ac_ext 3589 cat >>conftest.$ac_ext <<_ACEOF 4063 CXXFLAGS="" 4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3590 4065 /* end confdefs.h. */ 3591 4066 … … 3598 4073 } 3599 4074 _ACEOF 3600 rm -f conftest.$ac_objext 3601 if { (ac_try="$ac_compile" 3602 case "(($ac_try" in 3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3604 *) ac_try_echo=$ac_try;; 3605 esac 3606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3607 $as_echo "$ac_try_echo") >&5 3608 (eval "$ac_compile") 2>conftest.er1 3609 ac_status=$? 3610 grep -v '^ *+' conftest.er1 >conftest.err 3611 rm -f conftest.er1 3612 cat conftest.err >&5 3613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3614 (exit $ac_status); } && { 3615 test -z "$ac_cxx_werror_flag" || 3616 test ! -s conftest.err 3617 } && test -s conftest.$ac_objext; then 3618 : 3619 else 3620 $as_echo "$as_me: failed program was:" >&5 3621 sed 's/^/| /' conftest.$ac_ext >&5 3622 3623 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4075 if ac_fn_cxx_try_compile "$LINENO"; then : 4076 4077 else 4078 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3624 4079 CXXFLAGS="-g" 3625 cat >conftest.$ac_ext <<_ACEOF 3626 /* confdefs.h. */ 3627 _ACEOF 3628 cat confdefs.h >>conftest.$ac_ext 3629 cat >>conftest.$ac_ext <<_ACEOF 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3630 4081 /* end confdefs.h. */ 3631 4082 … … 3638 4089 } 3639 4090 _ACEOF 3640 rm -f conftest.$ac_objext 3641 if { (ac_try="$ac_compile" 3642 case "(($ac_try" in 3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3644 *) ac_try_echo=$ac_try;; 3645 esac 3646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3647 $as_echo "$ac_try_echo") >&5 3648 (eval "$ac_compile") 2>conftest.er1 3649 ac_status=$? 3650 grep -v '^ *+' conftest.er1 >conftest.err 3651 rm -f conftest.er1 3652 cat conftest.err >&5 3653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3654 (exit $ac_status); } && { 3655 test -z "$ac_cxx_werror_flag" || 3656 test ! -s conftest.err 3657 } && test -s conftest.$ac_objext; then 4091 if ac_fn_cxx_try_compile "$LINENO"; then : 3658 4092 ac_cv_prog_cxx_g=yes 3659 else 3660 $as_echo "$as_me: failed program was:" >&5 3661 sed 's/^/| /' conftest.$ac_ext >&5 3662 3663 3664 fi 3665 4093 fi 3666 4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3667 4095 fi 3668 3669 4096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3670 4097 fi 3671 3672 4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3673 4099 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3674 4100 fi 3675 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&54101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3676 4102 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3677 4103 if test "$ac_test_CXXFLAGS" = set; then … … 3706 4132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3707 4133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3708 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3709 4135 $as_echo_n "checking for $ac_word... " >&6; } 3710 if test "${ac_cv_prog_F77+set}" = set; then4136 if ${ac_cv_prog_F77+:} false; then : 3711 4137 $as_echo_n "(cached) " >&6 3712 4138 else … … 3719 4145 IFS=$as_save_IFS 3720 4146 test -z "$as_dir" && as_dir=. 3721 for ac_exec_ext in '' $ac_executable_extensions; do3722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4147 for ac_exec_ext in '' $ac_executable_extensions; do 4148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3723 4149 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3724 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3725 4151 break 2 3726 4152 fi 3727 4153 done 3728 done4154 done 3729 4155 IFS=$as_save_IFS 3730 4156 … … 3733 4159 F77=$ac_cv_prog_F77 3734 4160 if test -n "$F77"; then 3735 { $as_echo "$as_me:$ LINENO: result: $F77" >&54161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 3736 4162 $as_echo "$F77" >&6; } 3737 4163 else 3738 { $as_echo "$as_me:$ LINENO: result: no" >&54164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3739 4165 $as_echo "no" >&6; } 3740 4166 fi … … 3750 4176 # Extract the first word of "$ac_prog", so it can be a program name with args. 3751 4177 set dummy $ac_prog; ac_word=$2 3752 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3753 4179 $as_echo_n "checking for $ac_word... " >&6; } 3754 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then4180 if ${ac_cv_prog_ac_ct_F77+:} false; then : 3755 4181 $as_echo_n "(cached) " >&6 3756 4182 else … … 3763 4189 IFS=$as_save_IFS 3764 4190 test -z "$as_dir" && as_dir=. 3765 for ac_exec_ext in '' $ac_executable_extensions; do3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4191 for ac_exec_ext in '' $ac_executable_extensions; do 4192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3767 4193 ac_cv_prog_ac_ct_F77="$ac_prog" 3768 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3769 4195 break 2 3770 4196 fi 3771 4197 done 3772 done4198 done 3773 4199 IFS=$as_save_IFS 3774 4200 … … 3777 4203 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3778 4204 if test -n "$ac_ct_F77"; then 3779 { $as_echo "$as_me:$ LINENO: result: $ac_ct_F77" >&54205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 3780 4206 $as_echo "$ac_ct_F77" >&6; } 3781 4207 else 3782 { $as_echo "$as_me:$ LINENO: result: no" >&54208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3783 4209 $as_echo "no" >&6; } 3784 4210 fi … … 3793 4219 case $cross_compiling:$ac_tool_warned in 3794 4220 yes:) 3795 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&54221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3796 4222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3797 4223 ac_tool_warned=yes ;; … … 3803 4229 3804 4230 # Provide some information about the compiler. 3805 $as_echo "$as_me:$ LINENO: checking for Fortran 77 compiler version" >&54231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 3806 4232 set X $ac_compile 3807 4233 ac_compiler=$2 3808 { (ac_try="$ac_compiler --version >&5" 4234 for ac_option in --version -v -V -qversion; do 4235 { { ac_try="$ac_compiler $ac_option >&5" 3809 4236 case "(($ac_try" in 3810 4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3811 4238 *) ac_try_echo=$ac_try;; 3812 4239 esac 3813 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3814 $as_echo "$ac_try_echo" )>&53815 (eval "$ac_compiler --version >&5") 2>&54240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4241 $as_echo "$ac_try_echo"; } >&5 4242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3816 4243 ac_status=$? 3817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3818 (exit $ac_status); } 3819 { (ac_try="$ac_compiler -v >&5" 3820 case "(($ac_try" in 3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3822 *) ac_try_echo=$ac_try;; 3823 esac 3824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3825 $as_echo "$ac_try_echo") >&5 3826 (eval "$ac_compiler -v >&5") 2>&5 3827 ac_status=$? 3828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3829 (exit $ac_status); } 3830 { (ac_try="$ac_compiler -V >&5" 3831 case "(($ac_try" in 3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3833 *) ac_try_echo=$ac_try;; 3834 esac 3835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3836 $as_echo "$ac_try_echo") >&5 3837 (eval "$ac_compiler -V >&5") 2>&5 3838 ac_status=$? 3839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3840 (exit $ac_status); } 4244 if test -s conftest.err; then 4245 sed '10a\ 4246 ... rest of stderr output deleted ... 4247 10q' conftest.err >conftest.er1 4248 cat conftest.er1 >&5 4249 fi 4250 rm -f conftest.er1 conftest.err 4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4252 test $ac_status = 0; } 4253 done 3841 4254 rm -f a.out 3842 4255 … … 3845 4258 ac_save_ext=$ac_ext 3846 4259 ac_ext=F 3847 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU Fortran 77 compiler" >&54260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 3848 4261 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 3849 if test "${ac_cv_f77_compiler_gnu+set}" = set; then4262 if ${ac_cv_f77_compiler_gnu+:} false; then : 3850 4263 $as_echo_n "(cached) " >&6 3851 4264 else 3852 cat > conftest.$ac_ext <<_ACEOF4265 cat > conftest.$ac_ext <<_ACEOF 3853 4266 program main 3854 4267 #ifndef __GNUC__ … … 3858 4271 end 3859 4272 _ACEOF 3860 rm -f conftest.$ac_objext 3861 if { (ac_try="$ac_compile" 3862 case "(($ac_try" in 3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3864 *) ac_try_echo=$ac_try;; 3865 esac 3866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3867 $as_echo "$ac_try_echo") >&5 3868 (eval "$ac_compile") 2>conftest.er1 3869 ac_status=$? 3870 grep -v '^ *+' conftest.er1 >conftest.err 3871 rm -f conftest.er1 3872 cat conftest.err >&5 3873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3874 (exit $ac_status); } && { 3875 test -z "$ac_f77_werror_flag" || 3876 test ! -s conftest.err 3877 } && test -s conftest.$ac_objext; then 4273 if ac_fn_f77_try_compile "$LINENO"; then : 3878 4274 ac_compiler_gnu=yes 3879 4275 else 3880 $as_echo "$as_me: failed program was:" >&5 3881 sed 's/^/| /' conftest.$ac_ext >&5 3882 3883 ac_compiler_gnu=no 3884 fi 3885 4276 ac_compiler_gnu=no 4277 fi 3886 4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3887 4279 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3888 4280 3889 4281 fi 3890 { $as_echo "$as_me:$ LINENO: result: $ac_cv_f77_compiler_gnu" >&54282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 3891 4283 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3892 4284 ac_ext=$ac_save_ext … … 3894 4286 ac_save_FFLAGS=$FFLAGS 3895 4287 FFLAGS= 3896 { $as_echo "$as_me:$ LINENO: checking whether $F77 accepts -g" >&54288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 3897 4289 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 3898 if test "${ac_cv_prog_f77_g+set}" = set; then4290 if ${ac_cv_prog_f77_g+:} false; then : 3899 4291 $as_echo_n "(cached) " >&6 3900 4292 else 3901 4293 FFLAGS=-g 3902 cat > conftest.$ac_ext <<_ACEOF4294 cat > conftest.$ac_ext <<_ACEOF 3903 4295 program main 3904 4296 3905 4297 end 3906 4298 _ACEOF 3907 rm -f conftest.$ac_objext 3908 if { (ac_try="$ac_compile" 3909 case "(($ac_try" in 3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3911 *) ac_try_echo=$ac_try;; 3912 esac 3913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3914 $as_echo "$ac_try_echo") >&5 3915 (eval "$ac_compile") 2>conftest.er1 3916 ac_status=$? 3917 grep -v '^ *+' conftest.er1 >conftest.err 3918 rm -f conftest.er1 3919 cat conftest.err >&5 3920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 (exit $ac_status); } && { 3922 test -z "$ac_f77_werror_flag" || 3923 test ! -s conftest.err 3924 } && test -s conftest.$ac_objext; then 4299 if ac_fn_f77_try_compile "$LINENO"; then : 3925 4300 ac_cv_prog_f77_g=yes 3926 4301 else 3927 $as_echo "$as_me: failed program was:" >&5 3928 sed 's/^/| /' conftest.$ac_ext >&5 3929 3930 ac_cv_prog_f77_g=no 3931 fi 3932 4302 ac_cv_prog_f77_g=no 4303 fi 3933 4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3934 4305 3935 4306 fi 3936 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_f77_g" >&54307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 3937 4308 $as_echo "$ac_cv_prog_f77_g" >&6; } 3938 4309 if test "$ac_test_FFLAGS" = set; then … … 3977 4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3978 4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3979 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&54350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3980 4351 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3981 4352 # On Suns, sometimes $CPP names a directory. … … 3984 4355 fi 3985 4356 if test -z "$CPP"; then 3986 if test "${ac_cv_prog_CPP+set}" = set; then4357 if ${ac_cv_prog_CPP+:} false; then : 3987 4358 $as_echo_n "(cached) " >&6 3988 4359 else … … 3999 4370 # On the NeXT, cc -E runs the code through the compiler's parser, 4000 4371 # not just through cpp. "Syntax error" is here to catch this case. 4001 cat >conftest.$ac_ext <<_ACEOF 4002 /* confdefs.h. */ 4003 _ACEOF 4004 cat confdefs.h >>conftest.$ac_ext 4005 cat >>conftest.$ac_ext <<_ACEOF 4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4006 4373 /* end confdefs.h. */ 4007 4374 #ifdef __STDC__ … … 4012 4379 Syntax error 4013 4380 _ACEOF 4014 if { (ac_try="$ac_cpp conftest.$ac_ext" 4015 case "(($ac_try" in 4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4017 *) ac_try_echo=$ac_try;; 4018 esac 4019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4020 $as_echo "$ac_try_echo") >&5 4021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4022 ac_status=$? 4023 grep -v '^ *+' conftest.er1 >conftest.err 4024 rm -f conftest.er1 4025 cat conftest.err >&5 4026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4027 (exit $ac_status); } >/dev/null && { 4028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4029 test ! -s conftest.err 4030 }; then 4031 : 4032 else 4033 $as_echo "$as_me: failed program was:" >&5 4034 sed 's/^/| /' conftest.$ac_ext >&5 4035 4381 if ac_fn_c_try_cpp "$LINENO"; then : 4382 4383 else 4036 4384 # Broken: fails on valid input. 4037 4385 continue 4038 4386 fi 4039 4040 rm -f conftest.err conftest.$ac_ext 4387 rm -f conftest.err conftest.i conftest.$ac_ext 4041 4388 4042 4389 # OK, works on sane cases. Now check whether nonexistent headers 4043 4390 # can be detected and how. 4044 cat >conftest.$ac_ext <<_ACEOF 4045 /* confdefs.h. */ 4046 _ACEOF 4047 cat confdefs.h >>conftest.$ac_ext 4048 cat >>conftest.$ac_ext <<_ACEOF 4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4049 4392 /* end confdefs.h. */ 4050 4393 #include <ac_nonexistent.h> 4051 4394 _ACEOF 4052 if { (ac_try="$ac_cpp conftest.$ac_ext" 4053 case "(($ac_try" in 4054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4055 *) ac_try_echo=$ac_try;; 4056 esac 4057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4058 $as_echo "$ac_try_echo") >&5 4059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4060 ac_status=$? 4061 grep -v '^ *+' conftest.er1 >conftest.err 4062 rm -f conftest.er1 4063 cat conftest.err >&5 4064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4065 (exit $ac_status); } >/dev/null && { 4066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4067 test ! -s conftest.err 4068 }; then 4395 if ac_fn_c_try_cpp "$LINENO"; then : 4069 4396 # Broken: success on invalid input. 4070 4397 continue 4071 4398 else 4072 $as_echo "$as_me: failed program was:" >&54073 sed 's/^/| /' conftest.$ac_ext >&54074 4075 4399 # Passes both tests. 4076 4400 ac_preproc_ok=: 4077 4401 break 4078 4402 fi 4079 4080 rm -f conftest.err conftest.$ac_ext 4403 rm -f conftest.err conftest.i conftest.$ac_ext 4081 4404 4082 4405 done 4083 4406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4084 rm -f conftest. err conftest.$ac_ext4085 if $ac_preproc_ok; then 4407 rm -f conftest.i conftest.err conftest.$ac_ext 4408 if $ac_preproc_ok; then : 4086 4409 break 4087 4410 fi … … 4095 4418 ac_cv_prog_CPP=$CPP 4096 4419 fi 4097 { $as_echo "$as_me:$ LINENO: result: $CPP" >&54420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4098 4421 $as_echo "$CPP" >&6; } 4099 4422 ac_preproc_ok=false … … 4106 4429 # On the NeXT, cc -E runs the code through the compiler's parser, 4107 4430 # not just through cpp. "Syntax error" is here to catch this case. 4108 cat >conftest.$ac_ext <<_ACEOF 4109 /* confdefs.h. */ 4110 _ACEOF 4111 cat confdefs.h >>conftest.$ac_ext 4112 cat >>conftest.$ac_ext <<_ACEOF 4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4113 4432 /* end confdefs.h. */ 4114 4433 #ifdef __STDC__ … … 4119 4438 Syntax error 4120 4439 _ACEOF 4121 if { (ac_try="$ac_cpp conftest.$ac_ext" 4122 case "(($ac_try" in 4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4124 *) ac_try_echo=$ac_try;; 4125 esac 4126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4127 $as_echo "$ac_try_echo") >&5 4128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4129 ac_status=$? 4130 grep -v '^ *+' conftest.er1 >conftest.err 4131 rm -f conftest.er1 4132 cat conftest.err >&5 4133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4134 (exit $ac_status); } >/dev/null && { 4135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4136 test ! -s conftest.err 4137 }; then 4138 : 4139 else 4140 $as_echo "$as_me: failed program was:" >&5 4141 sed 's/^/| /' conftest.$ac_ext >&5 4142 4440 if ac_fn_c_try_cpp "$LINENO"; then : 4441 4442 else 4143 4443 # Broken: fails on valid input. 4144 4444 continue 4145 4445 fi 4146 4147 rm -f conftest.err conftest.$ac_ext 4446 rm -f conftest.err conftest.i conftest.$ac_ext 4148 4447 4149 4448 # OK, works on sane cases. Now check whether nonexistent headers 4150 4449 # can be detected and how. 4151 cat >conftest.$ac_ext <<_ACEOF 4152 /* confdefs.h. */ 4153 _ACEOF 4154 cat confdefs.h >>conftest.$ac_ext 4155 cat >>conftest.$ac_ext <<_ACEOF 4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4156 4451 /* end confdefs.h. */ 4157 4452 #include <ac_nonexistent.h> 4158 4453 _ACEOF 4159 if { (ac_try="$ac_cpp conftest.$ac_ext" 4160 case "(($ac_try" in 4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4162 *) ac_try_echo=$ac_try;; 4163 esac 4164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4165 $as_echo "$ac_try_echo") >&5 4166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4167 ac_status=$? 4168 grep -v '^ *+' conftest.er1 >conftest.err 4169 rm -f conftest.er1 4170 cat conftest.err >&5 4171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4172 (exit $ac_status); } >/dev/null && { 4173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4174 test ! -s conftest.err 4175 }; then 4454 if ac_fn_c_try_cpp "$LINENO"; then : 4176 4455 # Broken: success on invalid input. 4177 4456 continue 4178 4457 else 4179 $as_echo "$as_me: failed program was:" >&54180 sed 's/^/| /' conftest.$ac_ext >&54181 4182 4458 # Passes both tests. 4183 4459 ac_preproc_ok=: 4184 4460 break 4185 4461 fi 4186 4187 rm -f conftest.err conftest.$ac_ext 4462 rm -f conftest.err conftest.i conftest.$ac_ext 4188 4463 4189 4464 done 4190 4465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4191 rm -f conftest. err conftest.$ac_ext4192 if $ac_preproc_ok; then 4193 : 4194 else 4195 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54466 rm -f conftest.i conftest.err conftest.$ac_ext 4467 if $ac_preproc_ok; then : 4468 4469 else 4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4196 4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4197 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4198 See \`config.log' for more details." >&5 4199 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4200 See \`config.log' for more details." >&2;} 4201 { (exit 1); exit 1; }; }; } 4472 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4473 See \`config.log' for more details" "$LINENO" 5; } 4202 4474 fi 4203 4475 … … 4209 4481 4210 4482 4211 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&54483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4212 4484 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4213 if test "${ac_cv_path_GREP+set}" = set; then4485 if ${ac_cv_path_GREP+:} false; then : 4214 4486 $as_echo_n "(cached) " >&6 4215 4487 else … … 4222 4494 IFS=$as_save_IFS 4223 4495 test -z "$as_dir" && as_dir=. 4224 for ac_prog in grep ggrep; do4496 for ac_prog in grep ggrep; do 4225 4497 for ac_exec_ext in '' $ac_executable_extensions; do 4226 4498 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4227 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4499 as_fn_executable_p "$ac_path_GREP" || continue 4228 4500 # Check for GNU ac_path_GREP and select it if it is found. 4229 4501 # Check for GNU $ac_path_GREP … … 4242 4514 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4243 4515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4244 a c_count=`expr $ac_count + 1`4516 as_fn_arith $ac_count + 1 && ac_count=$as_val 4245 4517 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4246 4518 # Best one so far, save it but keep looking for a better one … … 4257 4529 done 4258 4530 done 4259 done4531 done 4260 4532 IFS=$as_save_IFS 4261 4533 if test -z "$ac_cv_path_GREP"; then 4262 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4263 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4264 { (exit 1); exit 1; }; } 4534 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4265 4535 fi 4266 4536 else … … 4269 4539 4270 4540 fi 4271 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&54541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4272 4542 $as_echo "$ac_cv_path_GREP" >&6; } 4273 4543 GREP="$ac_cv_path_GREP" 4274 4544 4275 4545 4276 { $as_echo "$as_me:$ LINENO: checking for egrep" >&54546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4277 4547 $as_echo_n "checking for egrep... " >&6; } 4278 if test "${ac_cv_path_EGREP+set}" = set; then4548 if ${ac_cv_path_EGREP+:} false; then : 4279 4549 $as_echo_n "(cached) " >&6 4280 4550 else … … 4290 4560 IFS=$as_save_IFS 4291 4561 test -z "$as_dir" && as_dir=. 4292 for ac_prog in egrep; do4562 for ac_prog in egrep; do 4293 4563 for ac_exec_ext in '' $ac_executable_extensions; do 4294 4564 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4295 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4565 as_fn_executable_p "$ac_path_EGREP" || continue 4296 4566 # Check for GNU ac_path_EGREP and select it if it is found. 4297 4567 # Check for GNU $ac_path_EGREP … … 4310 4580 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4311 4581 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4312 a c_count=`expr $ac_count + 1`4582 as_fn_arith $ac_count + 1 && ac_count=$as_val 4313 4583 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4314 4584 # Best one so far, save it but keep looking for a better one … … 4325 4595 done 4326 4596 done 4327 done4597 done 4328 4598 IFS=$as_save_IFS 4329 4599 if test -z "$ac_cv_path_EGREP"; then 4330 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4331 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4332 { (exit 1); exit 1; }; } 4600 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4333 4601 fi 4334 4602 else … … 4338 4606 fi 4339 4607 fi 4340 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&54608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4341 4609 $as_echo "$ac_cv_path_EGREP" >&6; } 4342 4610 EGREP="$ac_cv_path_EGREP" 4343 4611 4344 4612 4345 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&54613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4346 4614 $as_echo_n "checking for ANSI C header files... " >&6; } 4347 if test "${ac_cv_header_stdc+set}" = set; then4615 if ${ac_cv_header_stdc+:} false; then : 4348 4616 $as_echo_n "(cached) " >&6 4349 4617 else 4350 cat >conftest.$ac_ext <<_ACEOF 4351 /* confdefs.h. */ 4352 _ACEOF 4353 cat confdefs.h >>conftest.$ac_ext 4354 cat >>conftest.$ac_ext <<_ACEOF 4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4355 4619 /* end confdefs.h. */ 4356 4620 #include <stdlib.h> … … 4367 4631 } 4368 4632 _ACEOF 4369 rm -f conftest.$ac_objext 4370 if { (ac_try="$ac_compile" 4371 case "(($ac_try" in 4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4373 *) ac_try_echo=$ac_try;; 4374 esac 4375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4376 $as_echo "$ac_try_echo") >&5 4377 (eval "$ac_compile") 2>conftest.er1 4378 ac_status=$? 4379 grep -v '^ *+' conftest.er1 >conftest.err 4380 rm -f conftest.er1 4381 cat conftest.err >&5 4382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4383 (exit $ac_status); } && { 4384 test -z "$ac_c_werror_flag" || 4385 test ! -s conftest.err 4386 } && test -s conftest.$ac_objext; then 4633 if ac_fn_c_try_compile "$LINENO"; then : 4387 4634 ac_cv_header_stdc=yes 4388 4635 else 4389 $as_echo "$as_me: failed program was:" >&5 4390 sed 's/^/| /' conftest.$ac_ext >&5 4391 4392 ac_cv_header_stdc=no 4393 fi 4394 4636 ac_cv_header_stdc=no 4637 fi 4395 4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4396 4639 4397 4640 if test $ac_cv_header_stdc = yes; then 4398 4641 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4399 cat >conftest.$ac_ext <<_ACEOF 4400 /* confdefs.h. */ 4401 _ACEOF 4402 cat confdefs.h >>conftest.$ac_ext 4403 cat >>conftest.$ac_ext <<_ACEOF 4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4404 4643 /* end confdefs.h. */ 4405 4644 #include <string.h> … … 4407 4646 _ACEOF 4408 4647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4409 $EGREP "memchr" >/dev/null 2>&1; then 4410 : 4648 $EGREP "memchr" >/dev/null 2>&1; then : 4649 4411 4650 else 4412 4651 ac_cv_header_stdc=no … … 4418 4657 if test $ac_cv_header_stdc = yes; then 4419 4658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4420 cat >conftest.$ac_ext <<_ACEOF 4421 /* confdefs.h. */ 4422 _ACEOF 4423 cat confdefs.h >>conftest.$ac_ext 4424 cat >>conftest.$ac_ext <<_ACEOF 4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4425 4660 /* end confdefs.h. */ 4426 4661 #include <stdlib.h> … … 4428 4663 _ACEOF 4429 4664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4430 $EGREP "free" >/dev/null 2>&1; then 4431 : 4665 $EGREP "free" >/dev/null 2>&1; then : 4666 4432 4667 else 4433 4668 ac_cv_header_stdc=no … … 4439 4674 if test $ac_cv_header_stdc = yes; then 4440 4675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4441 if test "$cross_compiling" = yes; then 4676 if test "$cross_compiling" = yes; then : 4442 4677 : 4443 4678 else 4444 cat >conftest.$ac_ext <<_ACEOF 4445 /* confdefs.h. */ 4446 _ACEOF 4447 cat confdefs.h >>conftest.$ac_ext 4448 cat >>conftest.$ac_ext <<_ACEOF 4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4449 4680 /* end confdefs.h. */ 4450 4681 #include <ctype.h> … … 4473 4704 } 4474 4705 _ACEOF 4475 rm -f conftest$ac_exeext 4476 if { (ac_try="$ac_link" 4477 case "(($ac_try" in 4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4479 *) ac_try_echo=$ac_try;; 4480 esac 4481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4482 $as_echo "$ac_try_echo") >&5 4483 (eval "$ac_link") 2>&5 4484 ac_status=$? 4485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4487 { (case "(($ac_try" in 4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4489 *) ac_try_echo=$ac_try;; 4490 esac 4491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4492 $as_echo "$ac_try_echo") >&5 4493 (eval "$ac_try") 2>&5 4494 ac_status=$? 4495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4496 (exit $ac_status); }; }; then 4497 : 4498 else 4499 $as_echo "$as_me: program exited with status $ac_status" >&5 4500 $as_echo "$as_me: failed program was:" >&5 4501 sed 's/^/| /' conftest.$ac_ext >&5 4502 4503 ( exit $ac_status ) 4504 ac_cv_header_stdc=no 4505 fi 4506 rm -rf conftest.dSYM 4507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4508 fi 4509 4510 4511 fi 4512 fi 4513 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4706 if ac_fn_c_try_run "$LINENO"; then : 4707 4708 else 4709 ac_cv_header_stdc=no 4710 fi 4711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4712 conftest.$ac_objext conftest.beam conftest.$ac_ext 4713 fi 4714 4715 fi 4716 fi 4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4514 4718 $as_echo "$ac_cv_header_stdc" >&6; } 4515 4719 if test $ac_cv_header_stdc = yes; then 4516 4720 4517 cat >>confdefs.h <<\_ACEOF 4518 #define STDC_HEADERS 1 4519 _ACEOF 4520 4521 fi 4522 4523 { $as_echo "$as_me:$LINENO: checking for atol" >&5 4524 $as_echo_n "checking for atol... " >&6; } 4525 if test "${ac_cv_func_atol+set}" = set; then 4526 $as_echo_n "(cached) " >&6 4527 else 4528 cat >conftest.$ac_ext <<_ACEOF 4529 /* confdefs.h. */ 4530 _ACEOF 4531 cat confdefs.h >>conftest.$ac_ext 4532 cat >>conftest.$ac_ext <<_ACEOF 4533 /* end confdefs.h. */ 4534 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4535 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4536 #define atol innocuous_atol 4537 4538 /* System header to define __stub macros and hopefully few prototypes, 4539 which can conflict with char atol (); below. 4540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4541 <limits.h> exists even on freestanding compilers. */ 4542 4543 #ifdef __STDC__ 4544 # include <limits.h> 4545 #else 4546 # include <assert.h> 4547 #endif 4548 4549 #undef atol 4550 4551 /* Override any GCC internal prototype to avoid an error. 4552 Use char because int might match the return type of a GCC 4553 builtin and then its argument prototype would still apply. */ 4554 #ifdef __cplusplus 4555 extern "C" 4556 #endif 4557 char atol (); 4558 /* The GNU C library defines this for functions which it implements 4559 to always fail with ENOSYS. Some functions are actually named 4560 something starting with __ and the normal name is an alias. */ 4561 #if defined __stub_atol || defined __stub___atol 4562 choke me 4563 #endif 4564 4565 int 4566 main () 4567 { 4568 return atol (); 4569 ; 4570 return 0; 4571 } 4572 _ACEOF 4573 rm -f conftest.$ac_objext conftest$ac_exeext 4574 if { (ac_try="$ac_link" 4575 case "(($ac_try" in 4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4577 *) ac_try_echo=$ac_try;; 4578 esac 4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4580 $as_echo "$ac_try_echo") >&5 4581 (eval "$ac_link") 2>conftest.er1 4582 ac_status=$? 4583 grep -v '^ *+' conftest.er1 >conftest.err 4584 rm -f conftest.er1 4585 cat conftest.err >&5 4586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4587 (exit $ac_status); } && { 4588 test -z "$ac_c_werror_flag" || 4589 test ! -s conftest.err 4590 } && test -s conftest$ac_exeext && { 4591 test "$cross_compiling" = yes || 4592 $as_test_x conftest$ac_exeext 4593 }; then 4594 ac_cv_func_atol=yes 4595 else 4596 $as_echo "$as_me: failed program was:" >&5 4597 sed 's/^/| /' conftest.$ac_ext >&5 4598 4599 ac_cv_func_atol=no 4600 fi 4601 4602 rm -rf conftest.dSYM 4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4604 conftest$ac_exeext conftest.$ac_ext 4605 fi 4606 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4607 $as_echo "$ac_cv_func_atol" >&6; } 4608 if test "x$ac_cv_func_atol" = x""yes; then 4609 : 4610 else 4611 { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4612 $as_echo "$as_me: error: oops! no atol ?!?" >&2;} 4613 { (exit 1); exit 1; }; } 4721 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4722 4723 fi 4724 4725 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4726 if test "x$ac_cv_func_atol" = xyes; then : 4727 4728 else 4729 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4614 4730 fi 4615 4731 … … 4623 4739 4624 4740 4625 4626 4741 for ac_func in sysinfo 4627 do 4628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4629 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4630 $as_echo_n "checking for $ac_func... " >&6; } 4631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4632 $as_echo_n "(cached) " >&6 4633 else 4634 cat >conftest.$ac_ext <<_ACEOF 4635 /* confdefs.h. */ 4636 _ACEOF 4637 cat confdefs.h >>conftest.$ac_ext 4638 cat >>conftest.$ac_ext <<_ACEOF 4639 /* end confdefs.h. */ 4640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4641 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4642 #define $ac_func innocuous_$ac_func 4643 4644 /* System header to define __stub macros and hopefully few prototypes, 4645 which can conflict with char $ac_func (); below. 4646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4647 <limits.h> exists even on freestanding compilers. */ 4648 4649 #ifdef __STDC__ 4650 # include <limits.h> 4651 #else 4652 # include <assert.h> 4653 #endif 4654 4655 #undef $ac_func 4656 4657 /* Override any GCC internal prototype to avoid an error. 4658 Use char because int might match the return type of a GCC 4659 builtin and then its argument prototype would still apply. */ 4660 #ifdef __cplusplus 4661 extern "C" 4662 #endif 4663 char $ac_func (); 4664 /* The GNU C library defines this for functions which it implements 4665 to always fail with ENOSYS. Some functions are actually named 4666 something starting with __ and the normal name is an alias. */ 4667 #if defined __stub_$ac_func || defined __stub___$ac_func 4668 choke me 4669 #endif 4670 4671 int 4672 main () 4673 { 4674 return $ac_func (); 4675 ; 4676 return 0; 4677 } 4678 _ACEOF 4679 rm -f conftest.$ac_objext conftest$ac_exeext 4680 if { (ac_try="$ac_link" 4681 case "(($ac_try" in 4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4683 *) ac_try_echo=$ac_try;; 4684 esac 4685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4686 $as_echo "$ac_try_echo") >&5 4687 (eval "$ac_link") 2>conftest.er1 4688 ac_status=$? 4689 grep -v '^ *+' conftest.er1 >conftest.err 4690 rm -f conftest.er1 4691 cat conftest.err >&5 4692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4693 (exit $ac_status); } && { 4694 test -z "$ac_cxx_werror_flag" || 4695 test ! -s conftest.err 4696 } && test -s conftest$ac_exeext && { 4697 test "$cross_compiling" = yes || 4698 $as_test_x conftest$ac_exeext 4699 }; then 4700 eval "$as_ac_var=yes" 4701 else 4702 $as_echo "$as_me: failed program was:" >&5 4703 sed 's/^/| /' conftest.$ac_ext >&5 4704 4705 eval "$as_ac_var=no" 4706 fi 4707 4708 rm -rf conftest.dSYM 4709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4710 conftest$ac_exeext conftest.$ac_ext 4711 fi 4712 ac_res=`eval 'as_val=${'$as_ac_var'} 4713 $as_echo "$as_val"'` 4714 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4715 $as_echo "$ac_res" >&6; } 4716 as_val=`eval 'as_val=${'$as_ac_var'} 4717 $as_echo "$as_val"'` 4718 if test "x$as_val" = x""yes; then 4742 do : 4743 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4744 if test "x$ac_cv_func_sysinfo" = xyes; then : 4719 4745 cat >>confdefs.h <<_ACEOF 4720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4721 _ACEOF 4722 4723 fi 4724 done 4725 4726 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4737 inttypes.h stdint.h unistd.h 4738 do 4739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4740 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4741 $as_echo_n "checking for $ac_header... " >&6; } 4742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4743 $as_echo_n "(cached) " >&6 4744 else 4745 cat >conftest.$ac_ext <<_ACEOF 4746 /* confdefs.h. */ 4747 _ACEOF 4748 cat confdefs.h >>conftest.$ac_ext 4749 cat >>conftest.$ac_ext <<_ACEOF 4750 /* end confdefs.h. */ 4751 $ac_includes_default 4752 4753 #include <$ac_header> 4754 _ACEOF 4755 rm -f conftest.$ac_objext 4756 if { (ac_try="$ac_compile" 4757 case "(($ac_try" in 4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4759 *) ac_try_echo=$ac_try;; 4760 esac 4761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4762 $as_echo "$ac_try_echo") >&5 4763 (eval "$ac_compile") 2>conftest.er1 4764 ac_status=$? 4765 grep -v '^ *+' conftest.er1 >conftest.err 4766 rm -f conftest.er1 4767 cat conftest.err >&5 4768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4769 (exit $ac_status); } && { 4770 test -z "$ac_cxx_werror_flag" || 4771 test ! -s conftest.err 4772 } && test -s conftest.$ac_objext; then 4773 eval "$as_ac_Header=yes" 4774 else 4775 $as_echo "$as_me: failed program was:" >&5 4776 sed 's/^/| /' conftest.$ac_ext >&5 4777 4778 eval "$as_ac_Header=no" 4779 fi 4780 4781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4782 fi 4783 ac_res=`eval 'as_val=${'$as_ac_Header'} 4784 $as_echo "$as_val"'` 4785 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4786 $as_echo "$ac_res" >&6; } 4787 as_val=`eval 'as_val=${'$as_ac_Header'} 4788 $as_echo "$as_val"'` 4789 if test "x$as_val" = x""yes; then 4790 cat >>confdefs.h <<_ACEOF 4791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4792 _ACEOF 4793 4794 fi 4795 4796 done 4797 4746 #define HAVE_SYSINFO 1 4747 _ACEOF 4748 4749 fi 4750 done 4798 4751 4799 4752 ac_ext=cpp … … 4802 4755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4803 4756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4804 { $as_echo "$as_me:$ LINENO: checking how to run the C++ preprocessor" >&54757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4805 4758 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4806 4759 if test -z "$CXXCPP"; then 4807 if test "${ac_cv_prog_CXXCPP+set}" = set; then4760 if ${ac_cv_prog_CXXCPP+:} false; then : 4808 4761 $as_echo_n "(cached) " >&6 4809 4762 else … … 4820 4773 # On the NeXT, cc -E runs the code through the compiler's parser, 4821 4774 # not just through cpp. "Syntax error" is here to catch this case. 4822 cat >conftest.$ac_ext <<_ACEOF 4823 /* confdefs.h. */ 4824 _ACEOF 4825 cat confdefs.h >>conftest.$ac_ext 4826 cat >>conftest.$ac_ext <<_ACEOF 4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4827 4776 /* end confdefs.h. */ 4828 4777 #ifdef __STDC__ … … 4833 4782 Syntax error 4834 4783 _ACEOF 4835 if { (ac_try="$ac_cpp conftest.$ac_ext" 4836 case "(($ac_try" in 4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4838 *) ac_try_echo=$ac_try;; 4839 esac 4840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4841 $as_echo "$ac_try_echo") >&5 4842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4843 ac_status=$? 4844 grep -v '^ *+' conftest.er1 >conftest.err 4845 rm -f conftest.er1 4846 cat conftest.err >&5 4847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4848 (exit $ac_status); } >/dev/null && { 4849 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4850 test ! -s conftest.err 4851 }; then 4852 : 4853 else 4854 $as_echo "$as_me: failed program was:" >&5 4855 sed 's/^/| /' conftest.$ac_ext >&5 4856 4784 if ac_fn_cxx_try_cpp "$LINENO"; then : 4785 4786 else 4857 4787 # Broken: fails on valid input. 4858 4788 continue 4859 4789 fi 4860 4861 rm -f conftest.err conftest.$ac_ext 4790 rm -f conftest.err conftest.i conftest.$ac_ext 4862 4791 4863 4792 # OK, works on sane cases. Now check whether nonexistent headers 4864 4793 # can be detected and how. 4865 cat >conftest.$ac_ext <<_ACEOF 4866 /* confdefs.h. */ 4867 _ACEOF 4868 cat confdefs.h >>conftest.$ac_ext 4869 cat >>conftest.$ac_ext <<_ACEOF 4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4870 4795 /* end confdefs.h. */ 4871 4796 #include <ac_nonexistent.h> 4872 4797 _ACEOF 4873 if { (ac_try="$ac_cpp conftest.$ac_ext" 4874 case "(($ac_try" in 4875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4876 *) ac_try_echo=$ac_try;; 4877 esac 4878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4879 $as_echo "$ac_try_echo") >&5 4880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4881 ac_status=$? 4882 grep -v '^ *+' conftest.er1 >conftest.err 4883 rm -f conftest.er1 4884 cat conftest.err >&5 4885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4886 (exit $ac_status); } >/dev/null && { 4887 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4888 test ! -s conftest.err 4889 }; then 4798 if ac_fn_cxx_try_cpp "$LINENO"; then : 4890 4799 # Broken: success on invalid input. 4891 4800 continue 4892 4801 else 4893 $as_echo "$as_me: failed program was:" >&54894 sed 's/^/| /' conftest.$ac_ext >&54895 4896 4802 # Passes both tests. 4897 4803 ac_preproc_ok=: 4898 4804 break 4899 4805 fi 4900 4901 rm -f conftest.err conftest.$ac_ext 4806 rm -f conftest.err conftest.i conftest.$ac_ext 4902 4807 4903 4808 done 4904 4809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4905 rm -f conftest. err conftest.$ac_ext4906 if $ac_preproc_ok; then 4810 rm -f conftest.i conftest.err conftest.$ac_ext 4811 if $ac_preproc_ok; then : 4907 4812 break 4908 4813 fi … … 4916 4821 ac_cv_prog_CXXCPP=$CXXCPP 4917 4822 fi 4918 { $as_echo "$as_me:$ LINENO: result: $CXXCPP" >&54823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4919 4824 $as_echo "$CXXCPP" >&6; } 4920 4825 ac_preproc_ok=false … … 4927 4832 # On the NeXT, cc -E runs the code through the compiler's parser, 4928 4833 # not just through cpp. "Syntax error" is here to catch this case. 4929 cat >conftest.$ac_ext <<_ACEOF 4930 /* confdefs.h. */ 4931 _ACEOF 4932 cat confdefs.h >>conftest.$ac_ext 4933 cat >>conftest.$ac_ext <<_ACEOF 4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4934 4835 /* end confdefs.h. */ 4935 4836 #ifdef __STDC__ … … 4940 4841 Syntax error 4941 4842 _ACEOF 4942 if { (ac_try="$ac_cpp conftest.$ac_ext" 4943 case "(($ac_try" in 4944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4945 *) ac_try_echo=$ac_try;; 4946 esac 4947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4948 $as_echo "$ac_try_echo") >&5 4949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4950 ac_status=$? 4951 grep -v '^ *+' conftest.er1 >conftest.err 4952 rm -f conftest.er1 4953 cat conftest.err >&5 4954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 (exit $ac_status); } >/dev/null && { 4956 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4957 test ! -s conftest.err 4958 }; then 4959 : 4960 else 4961 $as_echo "$as_me: failed program was:" >&5 4962 sed 's/^/| /' conftest.$ac_ext >&5 4963 4843 if ac_fn_cxx_try_cpp "$LINENO"; then : 4844 4845 else 4964 4846 # Broken: fails on valid input. 4965 4847 continue 4966 4848 fi 4967 4968 rm -f conftest.err conftest.$ac_ext 4849 rm -f conftest.err conftest.i conftest.$ac_ext 4969 4850 4970 4851 # OK, works on sane cases. Now check whether nonexistent headers 4971 4852 # can be detected and how. 4972 cat >conftest.$ac_ext <<_ACEOF 4973 /* confdefs.h. */ 4974 _ACEOF 4975 cat confdefs.h >>conftest.$ac_ext 4976 cat >>conftest.$ac_ext <<_ACEOF 4853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4977 4854 /* end confdefs.h. */ 4978 4855 #include <ac_nonexistent.h> 4979 4856 _ACEOF 4980 if { (ac_try="$ac_cpp conftest.$ac_ext" 4981 case "(($ac_try" in 4982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4983 *) ac_try_echo=$ac_try;; 4984 esac 4985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4986 $as_echo "$ac_try_echo") >&5 4987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4988 ac_status=$? 4989 grep -v '^ *+' conftest.er1 >conftest.err 4990 rm -f conftest.er1 4991 cat conftest.err >&5 4992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4993 (exit $ac_status); } >/dev/null && { 4994 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4995 test ! -s conftest.err 4996 }; then 4857 if ac_fn_cxx_try_cpp "$LINENO"; then : 4997 4858 # Broken: success on invalid input. 4998 4859 continue 4999 4860 else 5000 $as_echo "$as_me: failed program was:" >&55001 sed 's/^/| /' conftest.$ac_ext >&55002 5003 4861 # Passes both tests. 5004 4862 ac_preproc_ok=: 5005 4863 break 5006 4864 fi 5007 5008 rm -f conftest.err conftest.$ac_ext 4865 rm -f conftest.err conftest.i conftest.$ac_ext 5009 4866 5010 4867 done 5011 4868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5012 rm -f conftest. err conftest.$ac_ext5013 if $ac_preproc_ok; then 5014 : 5015 else 5016 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54869 rm -f conftest.i conftest.err conftest.$ac_ext 4870 if $ac_preproc_ok; then : 4871 4872 else 4873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5017 4874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5018 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5019 See \`config.log' for more details." >&5 5020 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5021 See \`config.log' for more details." >&2;} 5022 { (exit 1); exit 1; }; }; } 4875 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4876 See \`config.log' for more details" "$LINENO" 5; } 5023 4877 fi 5024 4878 … … 5030 4884 5031 4885 5032 5033 for ac_header in sys/sysinfo.h 5034 do 5035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5037 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5038 $as_echo_n "checking for $ac_header... " >&6; } 5039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5040 $as_echo_n "(cached) " >&6 5041 fi 5042 ac_res=`eval 'as_val=${'$as_ac_Header'} 5043 $as_echo "$as_val"'` 5044 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5045 $as_echo "$ac_res" >&6; } 5046 else 5047 # Is the header compilable? 5048 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5049 $as_echo_n "checking $ac_header usability... " >&6; } 5050 cat >conftest.$ac_ext <<_ACEOF 5051 /* confdefs.h. */ 5052 _ACEOF 5053 cat confdefs.h >>conftest.$ac_ext 5054 cat >>conftest.$ac_ext <<_ACEOF 5055 /* end confdefs.h. */ 5056 $ac_includes_default 5057 #include <$ac_header> 5058 _ACEOF 5059 rm -f conftest.$ac_objext 5060 if { (ac_try="$ac_compile" 5061 case "(($ac_try" in 5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5063 *) ac_try_echo=$ac_try;; 5064 esac 5065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5066 $as_echo "$ac_try_echo") >&5 5067 (eval "$ac_compile") 2>conftest.er1 5068 ac_status=$? 5069 grep -v '^ *+' conftest.er1 >conftest.err 5070 rm -f conftest.er1 5071 cat conftest.err >&5 5072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5073 (exit $ac_status); } && { 5074 test -z "$ac_cxx_werror_flag" || 5075 test ! -s conftest.err 5076 } && test -s conftest.$ac_objext; then 5077 ac_header_compiler=yes 5078 else 5079 $as_echo "$as_me: failed program was:" >&5 5080 sed 's/^/| /' conftest.$ac_ext >&5 5081 5082 ac_header_compiler=no 5083 fi 5084 5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5086 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5087 $as_echo "$ac_header_compiler" >&6; } 5088 5089 # Is the header present? 5090 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5091 $as_echo_n "checking $ac_header presence... " >&6; } 5092 cat >conftest.$ac_ext <<_ACEOF 5093 /* confdefs.h. */ 5094 _ACEOF 5095 cat confdefs.h >>conftest.$ac_ext 5096 cat >>conftest.$ac_ext <<_ACEOF 5097 /* end confdefs.h. */ 5098 #include <$ac_header> 5099 _ACEOF 5100 if { (ac_try="$ac_cpp conftest.$ac_ext" 5101 case "(($ac_try" in 5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5103 *) ac_try_echo=$ac_try;; 5104 esac 5105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5106 $as_echo "$ac_try_echo") >&5 5107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5108 ac_status=$? 5109 grep -v '^ *+' conftest.er1 >conftest.err 5110 rm -f conftest.er1 5111 cat conftest.err >&5 5112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5113 (exit $ac_status); } >/dev/null && { 5114 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5115 test ! -s conftest.err 5116 }; then 5117 ac_header_preproc=yes 5118 else 5119 $as_echo "$as_me: failed program was:" >&5 5120 sed 's/^/| /' conftest.$ac_ext >&5 5121 5122 ac_header_preproc=no 5123 fi 5124 5125 rm -f conftest.err conftest.$ac_ext 5126 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5127 $as_echo "$ac_header_preproc" >&6; } 5128 5129 # So? What about this header? 5130 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5131 yes:no: ) 5132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5133 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5135 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5136 ac_header_preproc=yes 5137 ;; 5138 no:yes:* ) 5139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5140 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5142 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5144 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5146 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5148 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5150 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5151 ( cat <<\_ASBOX 5152 ## ----------------------------------- ## 5153 ## Report this to rappture@nanohub.org ## 5154 ## ----------------------------------- ## 5155 _ASBOX 5156 ) | sed "s/^/$as_me: WARNING: /" >&2 5157 ;; 5158 esac 5159 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5160 $as_echo_n "checking for $ac_header... " >&6; } 5161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5162 $as_echo_n "(cached) " >&6 5163 else 5164 eval "$as_ac_Header=\$ac_header_preproc" 5165 fi 5166 ac_res=`eval 'as_val=${'$as_ac_Header'} 5167 $as_echo "$as_val"'` 5168 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5169 $as_echo "$ac_res" >&6; } 5170 5171 fi 5172 as_val=`eval 'as_val=${'$as_ac_Header'} 5173 $as_echo "$as_val"'` 5174 if test "x$as_val" = x""yes; then 4886 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4887 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4888 inttypes.h stdint.h unistd.h 4889 do : 4890 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4891 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4892 " 4893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5175 4894 cat >>confdefs.h <<_ACEOF 5176 4895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5182 4901 5183 4902 5184 5185 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 4903 for ac_header in sys/sysinfo.h 4904 do : 4905 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4906 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4907 cat >>confdefs.h <<_ACEOF 4908 #define HAVE_SYS_SYSINFO_H 1 4909 _ACEOF 4910 4911 fi 4912 4913 done 4914 4915 4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5186 4917 $as_echo_n "checking for main in -lm... " >&6; } 5187 if test "${ac_cv_lib_m_main+set}" = set; then4918 if ${ac_cv_lib_m_main+:} false; then : 5188 4919 $as_echo_n "(cached) " >&6 5189 4920 else 5190 4921 ac_check_lib_save_LIBS=$LIBS 5191 4922 LIBS="-lm $LIBS" 5192 cat >conftest.$ac_ext <<_ACEOF 5193 /* confdefs.h. */ 5194 _ACEOF 5195 cat confdefs.h >>conftest.$ac_ext 5196 cat >>conftest.$ac_ext <<_ACEOF 4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5197 4924 /* end confdefs.h. */ 5198 4925 … … 5206 4933 } 5207 4934 _ACEOF 5208 rm -f conftest.$ac_objext conftest$ac_exeext 5209 if { (ac_try="$ac_link" 5210 case "(($ac_try" in 5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5212 *) ac_try_echo=$ac_try;; 5213 esac 5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5215 $as_echo "$ac_try_echo") >&5 5216 (eval "$ac_link") 2>conftest.er1 5217 ac_status=$? 5218 grep -v '^ *+' conftest.er1 >conftest.err 5219 rm -f conftest.er1 5220 cat conftest.err >&5 5221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5222 (exit $ac_status); } && { 5223 test -z "$ac_cxx_werror_flag" || 5224 test ! -s conftest.err 5225 } && test -s conftest$ac_exeext && { 5226 test "$cross_compiling" = yes || 5227 $as_test_x conftest$ac_exeext 5228 }; then 4935 if ac_fn_cxx_try_link "$LINENO"; then : 5229 4936 ac_cv_lib_m_main=yes 5230 4937 else 5231 $as_echo "$as_me: failed program was:" >&5 5232 sed 's/^/| /' conftest.$ac_ext >&5 5233 5234 ac_cv_lib_m_main=no 5235 fi 5236 5237 rm -rf conftest.dSYM 5238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5239 conftest$ac_exeext conftest.$ac_ext 4938 ac_cv_lib_m_main=no 4939 fi 4940 rm -f core conftest.err conftest.$ac_objext \ 4941 conftest$ac_exeext conftest.$ac_ext 5240 4942 LIBS=$ac_check_lib_save_LIBS 5241 4943 fi 5242 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_m_main" >&54944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 5243 4945 $as_echo "$ac_cv_lib_m_main" >&6; } 5244 if test "x$ac_cv_lib_m_main" = x ""yes; then4946 if test "x$ac_cv_lib_m_main" = xyes; then : 5245 4947 cat >>confdefs.h <<_ACEOF 5246 4948 #define HAVE_LIBM 1 … … 5250 4952 5251 4953 else 5252 { { $as_echo "$as_me:$LINENO: error: librappture requires libm" >&5 5253 $as_echo "$as_me: error: librappture requires libm" >&2;} 5254 { (exit 1); exit 1; }; } 5255 fi 5256 5257 5258 5259 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5 4954 as_fn_error $? "librappture requires libm" "$LINENO" 5 4955 fi 4956 4957 4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5 5260 4959 $as_echo_n "checking for clrtoeol in -lncurses... " >&6; } 5261 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then4960 if ${ac_cv_lib_ncurses_clrtoeol+:} false; then : 5262 4961 $as_echo_n "(cached) " >&6 5263 4962 else 5264 4963 ac_check_lib_save_LIBS=$LIBS 5265 4964 LIBS="-lncurses $LIBS" 5266 cat >conftest.$ac_ext <<_ACEOF 5267 /* confdefs.h. */ 5268 _ACEOF 5269 cat confdefs.h >>conftest.$ac_ext 5270 cat >>conftest.$ac_ext <<_ACEOF 4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5271 4966 /* end confdefs.h. */ 5272 4967 … … 5286 4981 } 5287 4982 _ACEOF 5288 rm -f conftest.$ac_objext conftest$ac_exeext 5289 if { (ac_try="$ac_link" 5290 case "(($ac_try" in 5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5292 *) ac_try_echo=$ac_try;; 5293 esac 5294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5295 $as_echo "$ac_try_echo") >&5 5296 (eval "$ac_link") 2>conftest.er1 5297 ac_status=$? 5298 grep -v '^ *+' conftest.er1 >conftest.err 5299 rm -f conftest.er1 5300 cat conftest.err >&5 5301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5302 (exit $ac_status); } && { 5303 test -z "$ac_cxx_werror_flag" || 5304 test ! -s conftest.err 5305 } && test -s conftest$ac_exeext && { 5306 test "$cross_compiling" = yes || 5307 $as_test_x conftest$ac_exeext 5308 }; then 4983 if ac_fn_cxx_try_link "$LINENO"; then : 5309 4984 ac_cv_lib_ncurses_clrtoeol=yes 5310 4985 else 5311 $as_echo "$as_me: failed program was:" >&5 5312 sed 's/^/| /' conftest.$ac_ext >&5 5313 5314 ac_cv_lib_ncurses_clrtoeol=no 5315 fi 5316 5317 rm -rf conftest.dSYM 5318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5319 conftest$ac_exeext conftest.$ac_ext 4986 ac_cv_lib_ncurses_clrtoeol=no 4987 fi 4988 rm -f core conftest.err conftest.$ac_objext \ 4989 conftest$ac_exeext conftest.$ac_ext 5320 4990 LIBS=$ac_check_lib_save_LIBS 5321 4991 fi 5322 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&54992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5 5323 4993 $as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; } 5324 if test "x$ac_cv_lib_ncurses_clrtoeol" = x ""yes; then4994 if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then : 5325 4995 cat >>confdefs.h <<_ACEOF 5326 4996 #define HAVE_LIBNCURSES 1 … … 5330 5000 5331 5001 else 5332 { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5 5333 $as_echo "$as_me: error: ncurses library missing?" >&2;} 5334 { (exit 1); exit 1; }; } 5335 fi 5336 5002 as_fn_error $? "ncurses library missing?" "$LINENO" 5 5003 fi 5337 5004 5338 5005 for ac_header in ncurses.h 5339 do 5340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5342 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5343 $as_echo_n "checking for $ac_header... " >&6; } 5344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5345 $as_echo_n "(cached) " >&6 5346 fi 5347 ac_res=`eval 'as_val=${'$as_ac_Header'} 5348 $as_echo "$as_val"'` 5349 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5350 $as_echo "$ac_res" >&6; } 5351 else 5352 # Is the header compilable? 5353 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5354 $as_echo_n "checking $ac_header usability... " >&6; } 5355 cat >conftest.$ac_ext <<_ACEOF 5356 /* confdefs.h. */ 5357 _ACEOF 5358 cat confdefs.h >>conftest.$ac_ext 5359 cat >>conftest.$ac_ext <<_ACEOF 5360 /* end confdefs.h. */ 5361 $ac_includes_default 5362 #include <$ac_header> 5363 _ACEOF 5364 rm -f conftest.$ac_objext 5365 if { (ac_try="$ac_compile" 5366 case "(($ac_try" in 5367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5368 *) ac_try_echo=$ac_try;; 5369 esac 5370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5371 $as_echo "$ac_try_echo") >&5 5372 (eval "$ac_compile") 2>conftest.er1 5373 ac_status=$? 5374 grep -v '^ *+' conftest.er1 >conftest.err 5375 rm -f conftest.er1 5376 cat conftest.err >&5 5377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5378 (exit $ac_status); } && { 5379 test -z "$ac_cxx_werror_flag" || 5380 test ! -s conftest.err 5381 } && test -s conftest.$ac_objext; then 5382 ac_header_compiler=yes 5383 else 5384 $as_echo "$as_me: failed program was:" >&5 5385 sed 's/^/| /' conftest.$ac_ext >&5 5386 5387 ac_header_compiler=no 5388 fi 5389 5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5391 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5392 $as_echo "$ac_header_compiler" >&6; } 5393 5394 # Is the header present? 5395 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5396 $as_echo_n "checking $ac_header presence... " >&6; } 5397 cat >conftest.$ac_ext <<_ACEOF 5398 /* confdefs.h. */ 5399 _ACEOF 5400 cat confdefs.h >>conftest.$ac_ext 5401 cat >>conftest.$ac_ext <<_ACEOF 5402 /* end confdefs.h. */ 5403 #include <$ac_header> 5404 _ACEOF 5405 if { (ac_try="$ac_cpp conftest.$ac_ext" 5406 case "(($ac_try" in 5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5408 *) ac_try_echo=$ac_try;; 5409 esac 5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5411 $as_echo "$ac_try_echo") >&5 5412 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5413 ac_status=$? 5414 grep -v '^ *+' conftest.er1 >conftest.err 5415 rm -f conftest.er1 5416 cat conftest.err >&5 5417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5418 (exit $ac_status); } >/dev/null && { 5419 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5420 test ! -s conftest.err 5421 }; then 5422 ac_header_preproc=yes 5423 else 5424 $as_echo "$as_me: failed program was:" >&5 5425 sed 's/^/| /' conftest.$ac_ext >&5 5426 5427 ac_header_preproc=no 5428 fi 5429 5430 rm -f conftest.err conftest.$ac_ext 5431 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5432 $as_echo "$ac_header_preproc" >&6; } 5433 5434 # So? What about this header? 5435 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5436 yes:no: ) 5437 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5438 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5440 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5441 ac_header_preproc=yes 5442 ;; 5443 no:yes:* ) 5444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5445 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5447 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5449 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5451 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5453 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5455 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5456 ( cat <<\_ASBOX 5457 ## ----------------------------------- ## 5458 ## Report this to rappture@nanohub.org ## 5459 ## ----------------------------------- ## 5460 _ASBOX 5461 ) | sed "s/^/$as_me: WARNING: /" >&2 5462 ;; 5463 esac 5464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5465 $as_echo_n "checking for $ac_header... " >&6; } 5466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5467 $as_echo_n "(cached) " >&6 5468 else 5469 eval "$as_ac_Header=\$ac_header_preproc" 5470 fi 5471 ac_res=`eval 'as_val=${'$as_ac_Header'} 5472 $as_echo "$as_val"'` 5473 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5474 $as_echo "$ac_res" >&6; } 5475 5476 fi 5477 as_val=`eval 'as_val=${'$as_ac_Header'} 5478 $as_echo "$as_val"'` 5479 if test "x$as_val" = x""yes; then 5006 do : 5007 ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" 5008 if test "x$ac_cv_header_ncurses_h" = xyes; then : 5480 5009 cat >>confdefs.h <<_ACEOF 5481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15482 _ACEOF 5483 5484 else 5485 { $as_echo "$as_me:$ LINENO: WARNING: ncurses headers missing ?" >&55010 #define HAVE_NCURSES_H 1 5011 _ACEOF 5012 5013 else 5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5 5486 5015 $as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;} 5487 5016 fi … … 5490 5019 5491 5020 5492 5493 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 5494 5022 $as_echo_n "checking for main in -lstdc++... " >&6; } 5495 if test "${ac_cv_lib_stdcpp_main+set}" = set; then5023 if ${ac_cv_lib_stdcpp_main+:} false; then : 5496 5024 $as_echo_n "(cached) " >&6 5497 5025 else 5498 5026 ac_check_lib_save_LIBS=$LIBS 5499 5027 LIBS="-lstdc++ $LIBS" 5500 cat >conftest.$ac_ext <<_ACEOF 5501 /* confdefs.h. */ 5502 _ACEOF 5503 cat confdefs.h >>conftest.$ac_ext 5504 cat >>conftest.$ac_ext <<_ACEOF 5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5505 5029 /* end confdefs.h. */ 5506 5030 … … 5514 5038 } 5515 5039 _ACEOF 5516 rm -f conftest.$ac_objext conftest$ac_exeext 5517 if { (ac_try="$ac_link" 5518 case "(($ac_try" in 5519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5520 *) ac_try_echo=$ac_try;; 5521 esac 5522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5523 $as_echo "$ac_try_echo") >&5 5524 (eval "$ac_link") 2>conftest.er1 5525 ac_status=$? 5526 grep -v '^ *+' conftest.er1 >conftest.err 5527 rm -f conftest.er1 5528 cat conftest.err >&5 5529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5530 (exit $ac_status); } && { 5531 test -z "$ac_cxx_werror_flag" || 5532 test ! -s conftest.err 5533 } && test -s conftest$ac_exeext && { 5534 test "$cross_compiling" = yes || 5535 $as_test_x conftest$ac_exeext 5536 }; then 5040 if ac_fn_cxx_try_link "$LINENO"; then : 5537 5041 ac_cv_lib_stdcpp_main=yes 5538 5042 else 5539 $as_echo "$as_me: failed program was:" >&5 5540 sed 's/^/| /' conftest.$ac_ext >&5 5541 5542 ac_cv_lib_stdcpp_main=no 5543 fi 5544 5545 rm -rf conftest.dSYM 5546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5547 conftest$ac_exeext conftest.$ac_ext 5043 ac_cv_lib_stdcpp_main=no 5044 fi 5045 rm -f core conftest.err conftest.$ac_objext \ 5046 conftest$ac_exeext conftest.$ac_ext 5548 5047 LIBS=$ac_check_lib_save_LIBS 5549 5048 fi 5550 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_stdcpp_main" >&55049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 5551 5050 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 5552 if test "x$ac_cv_lib_stdcpp_main" = x ""yes; then5051 if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 5553 5052 cat >>confdefs.h <<_ACEOF 5554 5053 #define HAVE_LIBSTDC__ 1 … … 5558 5057 5559 5058 else 5560 { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5561 $as_echo "$as_me: error: librappture requires libstdc++" >&2;} 5562 { (exit 1); exit 1; }; } 5563 fi 5564 5059 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 5060 fi 5565 5061 5566 5062 for ac_header in algorithm 5567 do 5568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5570 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5571 $as_echo_n "checking for $ac_header... " >&6; } 5572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5573 $as_echo_n "(cached) " >&6 5574 fi 5575 ac_res=`eval 'as_val=${'$as_ac_Header'} 5576 $as_echo "$as_val"'` 5577 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5578 $as_echo "$ac_res" >&6; } 5579 else 5580 # Is the header compilable? 5581 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5582 $as_echo_n "checking $ac_header usability... " >&6; } 5583 cat >conftest.$ac_ext <<_ACEOF 5584 /* confdefs.h. */ 5585 _ACEOF 5586 cat confdefs.h >>conftest.$ac_ext 5587 cat >>conftest.$ac_ext <<_ACEOF 5588 /* end confdefs.h. */ 5589 $ac_includes_default 5590 #include <$ac_header> 5591 _ACEOF 5592 rm -f conftest.$ac_objext 5593 if { (ac_try="$ac_compile" 5594 case "(($ac_try" in 5595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5596 *) ac_try_echo=$ac_try;; 5597 esac 5598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5599 $as_echo "$ac_try_echo") >&5 5600 (eval "$ac_compile") 2>conftest.er1 5601 ac_status=$? 5602 grep -v '^ *+' conftest.er1 >conftest.err 5603 rm -f conftest.er1 5604 cat conftest.err >&5 5605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5606 (exit $ac_status); } && { 5607 test -z "$ac_cxx_werror_flag" || 5608 test ! -s conftest.err 5609 } && test -s conftest.$ac_objext; then 5610 ac_header_compiler=yes 5611 else 5612 $as_echo "$as_me: failed program was:" >&5 5613 sed 's/^/| /' conftest.$ac_ext >&5 5614 5615 ac_header_compiler=no 5616 fi 5617 5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5619 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5620 $as_echo "$ac_header_compiler" >&6; } 5621 5622 # Is the header present? 5623 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5624 $as_echo_n "checking $ac_header presence... " >&6; } 5625 cat >conftest.$ac_ext <<_ACEOF 5626 /* confdefs.h. */ 5627 _ACEOF 5628 cat confdefs.h >>conftest.$ac_ext 5629 cat >>conftest.$ac_ext <<_ACEOF 5630 /* end confdefs.h. */ 5631 #include <$ac_header> 5632 _ACEOF 5633 if { (ac_try="$ac_cpp conftest.$ac_ext" 5634 case "(($ac_try" in 5635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5636 *) ac_try_echo=$ac_try;; 5637 esac 5638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5639 $as_echo "$ac_try_echo") >&5 5640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5641 ac_status=$? 5642 grep -v '^ *+' conftest.er1 >conftest.err 5643 rm -f conftest.er1 5644 cat conftest.err >&5 5645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5646 (exit $ac_status); } >/dev/null && { 5647 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5648 test ! -s conftest.err 5649 }; then 5650 ac_header_preproc=yes 5651 else 5652 $as_echo "$as_me: failed program was:" >&5 5653 sed 's/^/| /' conftest.$ac_ext >&5 5654 5655 ac_header_preproc=no 5656 fi 5657 5658 rm -f conftest.err conftest.$ac_ext 5659 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5660 $as_echo "$ac_header_preproc" >&6; } 5661 5662 # So? What about this header? 5663 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5664 yes:no: ) 5665 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5666 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5668 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5669 ac_header_preproc=yes 5670 ;; 5671 no:yes:* ) 5672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5673 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5675 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5677 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5679 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5681 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5683 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5684 ( cat <<\_ASBOX 5685 ## ----------------------------------- ## 5686 ## Report this to rappture@nanohub.org ## 5687 ## ----------------------------------- ## 5688 _ASBOX 5689 ) | sed "s/^/$as_me: WARNING: /" >&2 5690 ;; 5691 esac 5692 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5693 $as_echo_n "checking for $ac_header... " >&6; } 5694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5695 $as_echo_n "(cached) " >&6 5696 else 5697 eval "$as_ac_Header=\$ac_header_preproc" 5698 fi 5699 ac_res=`eval 'as_val=${'$as_ac_Header'} 5700 $as_echo "$as_val"'` 5701 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5702 $as_echo "$ac_res" >&6; } 5703 5704 fi 5705 as_val=`eval 'as_val=${'$as_ac_Header'} 5706 $as_echo "$as_val"'` 5707 if test "x$as_val" = x""yes; then 5063 do : 5064 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 5065 if test "x$ac_cv_header_algorithm" = xyes; then : 5708 5066 cat >>confdefs.h <<_ACEOF 5709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15710 _ACEOF 5711 5712 else 5713 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55067 #define HAVE_ALGORITHM 1 5068 _ACEOF 5069 5070 else 5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5714 5072 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5715 5073 fi … … 5717 5075 done 5718 5076 5719 5720 5077 for ac_header in cctype 5721 do 5722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5724 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5725 $as_echo_n "checking for $ac_header... " >&6; } 5726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5727 $as_echo_n "(cached) " >&6 5728 fi 5729 ac_res=`eval 'as_val=${'$as_ac_Header'} 5730 $as_echo "$as_val"'` 5731 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5732 $as_echo "$ac_res" >&6; } 5733 else 5734 # Is the header compilable? 5735 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5736 $as_echo_n "checking $ac_header usability... " >&6; } 5737 cat >conftest.$ac_ext <<_ACEOF 5738 /* confdefs.h. */ 5739 _ACEOF 5740 cat confdefs.h >>conftest.$ac_ext 5741 cat >>conftest.$ac_ext <<_ACEOF 5742 /* end confdefs.h. */ 5743 $ac_includes_default 5744 #include <$ac_header> 5745 _ACEOF 5746 rm -f conftest.$ac_objext 5747 if { (ac_try="$ac_compile" 5748 case "(($ac_try" in 5749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5750 *) ac_try_echo=$ac_try;; 5751 esac 5752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5753 $as_echo "$ac_try_echo") >&5 5754 (eval "$ac_compile") 2>conftest.er1 5755 ac_status=$? 5756 grep -v '^ *+' conftest.er1 >conftest.err 5757 rm -f conftest.er1 5758 cat conftest.err >&5 5759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5760 (exit $ac_status); } && { 5761 test -z "$ac_cxx_werror_flag" || 5762 test ! -s conftest.err 5763 } && test -s conftest.$ac_objext; then 5764 ac_header_compiler=yes 5765 else 5766 $as_echo "$as_me: failed program was:" >&5 5767 sed 's/^/| /' conftest.$ac_ext >&5 5768 5769 ac_header_compiler=no 5770 fi 5771 5772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5773 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5774 $as_echo "$ac_header_compiler" >&6; } 5775 5776 # Is the header present? 5777 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5778 $as_echo_n "checking $ac_header presence... " >&6; } 5779 cat >conftest.$ac_ext <<_ACEOF 5780 /* confdefs.h. */ 5781 _ACEOF 5782 cat confdefs.h >>conftest.$ac_ext 5783 cat >>conftest.$ac_ext <<_ACEOF 5784 /* end confdefs.h. */ 5785 #include <$ac_header> 5786 _ACEOF 5787 if { (ac_try="$ac_cpp conftest.$ac_ext" 5788 case "(($ac_try" in 5789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5790 *) ac_try_echo=$ac_try;; 5791 esac 5792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5793 $as_echo "$ac_try_echo") >&5 5794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5795 ac_status=$? 5796 grep -v '^ *+' conftest.er1 >conftest.err 5797 rm -f conftest.er1 5798 cat conftest.err >&5 5799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5800 (exit $ac_status); } >/dev/null && { 5801 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5802 test ! -s conftest.err 5803 }; then 5804 ac_header_preproc=yes 5805 else 5806 $as_echo "$as_me: failed program was:" >&5 5807 sed 's/^/| /' conftest.$ac_ext >&5 5808 5809 ac_header_preproc=no 5810 fi 5811 5812 rm -f conftest.err conftest.$ac_ext 5813 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5814 $as_echo "$ac_header_preproc" >&6; } 5815 5816 # So? What about this header? 5817 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5818 yes:no: ) 5819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5820 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5822 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5823 ac_header_preproc=yes 5824 ;; 5825 no:yes:* ) 5826 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5827 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5829 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5830 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5831 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5833 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5835 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5837 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5838 ( cat <<\_ASBOX 5839 ## ----------------------------------- ## 5840 ## Report this to rappture@nanohub.org ## 5841 ## ----------------------------------- ## 5842 _ASBOX 5843 ) | sed "s/^/$as_me: WARNING: /" >&2 5844 ;; 5845 esac 5846 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5847 $as_echo_n "checking for $ac_header... " >&6; } 5848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5849 $as_echo_n "(cached) " >&6 5850 else 5851 eval "$as_ac_Header=\$ac_header_preproc" 5852 fi 5853 ac_res=`eval 'as_val=${'$as_ac_Header'} 5854 $as_echo "$as_val"'` 5855 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5856 $as_echo "$ac_res" >&6; } 5857 5858 fi 5859 as_val=`eval 'as_val=${'$as_ac_Header'} 5860 $as_echo "$as_val"'` 5861 if test "x$as_val" = x""yes; then 5078 do : 5079 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 5080 if test "x$ac_cv_header_cctype" = xyes; then : 5862 5081 cat >>confdefs.h <<_ACEOF 5863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`15864 _ACEOF 5865 5866 else 5867 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55082 #define HAVE_CCTYPE 1 5083 _ACEOF 5084 5085 else 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5868 5087 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5869 5088 fi … … 5871 5090 done 5872 5091 5873 5874 5092 for ac_header in cfloat 5875 do 5876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5878 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5879 $as_echo_n "checking for $ac_header... " >&6; } 5880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5881 $as_echo_n "(cached) " >&6 5882 fi 5883 ac_res=`eval 'as_val=${'$as_ac_Header'} 5884 $as_echo "$as_val"'` 5885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5886 $as_echo "$ac_res" >&6; } 5887 else 5888 # Is the header compilable? 5889 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5890 $as_echo_n "checking $ac_header usability... " >&6; } 5891 cat >conftest.$ac_ext <<_ACEOF 5892 /* confdefs.h. */ 5893 _ACEOF 5894 cat confdefs.h >>conftest.$ac_ext 5895 cat >>conftest.$ac_ext <<_ACEOF 5896 /* end confdefs.h. */ 5897 $ac_includes_default 5898 #include <$ac_header> 5899 _ACEOF 5900 rm -f conftest.$ac_objext 5901 if { (ac_try="$ac_compile" 5902 case "(($ac_try" in 5903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5904 *) ac_try_echo=$ac_try;; 5905 esac 5906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5907 $as_echo "$ac_try_echo") >&5 5908 (eval "$ac_compile") 2>conftest.er1 5909 ac_status=$? 5910 grep -v '^ *+' conftest.er1 >conftest.err 5911 rm -f conftest.er1 5912 cat conftest.err >&5 5913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5914 (exit $ac_status); } && { 5915 test -z "$ac_cxx_werror_flag" || 5916 test ! -s conftest.err 5917 } && test -s conftest.$ac_objext; then 5918 ac_header_compiler=yes 5919 else 5920 $as_echo "$as_me: failed program was:" >&5 5921 sed 's/^/| /' conftest.$ac_ext >&5 5922 5923 ac_header_compiler=no 5924 fi 5925 5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5927 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5928 $as_echo "$ac_header_compiler" >&6; } 5929 5930 # Is the header present? 5931 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5932 $as_echo_n "checking $ac_header presence... " >&6; } 5933 cat >conftest.$ac_ext <<_ACEOF 5934 /* confdefs.h. */ 5935 _ACEOF 5936 cat confdefs.h >>conftest.$ac_ext 5937 cat >>conftest.$ac_ext <<_ACEOF 5938 /* end confdefs.h. */ 5939 #include <$ac_header> 5940 _ACEOF 5941 if { (ac_try="$ac_cpp conftest.$ac_ext" 5942 case "(($ac_try" in 5943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5944 *) ac_try_echo=$ac_try;; 5945 esac 5946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5947 $as_echo "$ac_try_echo") >&5 5948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5949 ac_status=$? 5950 grep -v '^ *+' conftest.er1 >conftest.err 5951 rm -f conftest.er1 5952 cat conftest.err >&5 5953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5954 (exit $ac_status); } >/dev/null && { 5955 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5956 test ! -s conftest.err 5957 }; then 5958 ac_header_preproc=yes 5959 else 5960 $as_echo "$as_me: failed program was:" >&5 5961 sed 's/^/| /' conftest.$ac_ext >&5 5962 5963 ac_header_preproc=no 5964 fi 5965 5966 rm -f conftest.err conftest.$ac_ext 5967 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5968 $as_echo "$ac_header_preproc" >&6; } 5969 5970 # So? What about this header? 5971 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5972 yes:no: ) 5973 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5974 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5976 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5977 ac_header_preproc=yes 5978 ;; 5979 no:yes:* ) 5980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5981 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5983 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5985 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5987 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5989 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5991 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5992 ( cat <<\_ASBOX 5993 ## ----------------------------------- ## 5994 ## Report this to rappture@nanohub.org ## 5995 ## ----------------------------------- ## 5996 _ASBOX 5997 ) | sed "s/^/$as_me: WARNING: /" >&2 5998 ;; 5999 esac 6000 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6001 $as_echo_n "checking for $ac_header... " >&6; } 6002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6003 $as_echo_n "(cached) " >&6 6004 else 6005 eval "$as_ac_Header=\$ac_header_preproc" 6006 fi 6007 ac_res=`eval 'as_val=${'$as_ac_Header'} 6008 $as_echo "$as_val"'` 6009 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6010 $as_echo "$ac_res" >&6; } 6011 6012 fi 6013 as_val=`eval 'as_val=${'$as_ac_Header'} 6014 $as_echo "$as_val"'` 6015 if test "x$as_val" = x""yes; then 5093 do : 5094 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 5095 if test "x$ac_cv_header_cfloat" = xyes; then : 6016 5096 cat >>confdefs.h <<_ACEOF 6017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`16018 _ACEOF 6019 6020 else 6021 { $as_echo "$as_me:$ LINENO: WARNING: STL classes missing ?" >&55097 #define HAVE_CFLOAT 1 5098 _ACEOF 5099 5100 else 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 6022 5102 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6023 5103 fi … … 6025 5105 done 6026 5106 6027 6028 5107 for ac_header in cmath 6029 do 6030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6032 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6033 $as_echo_n "checking for $ac_header... " >&6; } 6034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6035 $as_echo_n "(cached) " >&6 6036 fi 6037 ac_res=`eval 'as_val=${'$as_ac_Header'} 6038 $as_echo "$as_val"'` 6039 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6040 $as_echo "$ac_res" >&6; } 6041 else 6042 # Is the header compilable? 6043 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6044 $as_echo_n "checking $ac_header usability... " >&6; } 6045 cat >conftest.$ac_ext <<_ACEOF 6046 /* confdefs.h. */ 6047 _ACEOF 6048 cat confdefs.h >>conftest.$ac_ext 6049 cat >>conftest.$ac_ext <<_ACEOF 6050 /* end confdefs.h. */ 6051 $ac_includes_default 6052 #include <$ac_header> 6053 _ACEOF 6054 rm -f conftest.$ac_objext 6055 if { (ac_try="$ac_compile" 6056 case "(($ac_try" in 6057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6058 *) ac_try_echo=$ac_try;; 6059 esac 6060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6061 $as_echo "$ac_try_echo") >&5 6062 (eval "$ac_compile") 2>conftest.er1 6063 ac_status=$? 6064 grep -v '^ *+' conftest.er1 >conftest.err 6065 rm -f conftest.er1 6066 cat conftest.err >&5 6067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6068 (exit $ac_status); } && { 6069 test -z "$ac_cxx_werror_flag" || 6070 test ! -s conftest.err <