Changeset 1723
- Timestamp:
- May 19, 2010, 7:19:03 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r1722 r1723 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 5for Rappture 1.1.3 # Generated by GNU Autoconf 2.61 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 #8 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 10 # Inc. 11 # 12 # 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 13 9 # This configure script is free software; the Free Software Foundation 14 10 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ##16 ## M4sh Initialization. ##17 ## -------------------- ##11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 18 14 19 15 # Be more Bourne compatible 20 16 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22 18 emulate sh 23 19 NULLCMD=: 24 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 25 21 # is contrary to our usage. Disable this feature. 26 22 alias -g '${1+"$@"}'='"$@"' 27 23 setopt NO_GLOB_SUBST 28 24 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 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 75 41 76 42 # The user is always right. 77 43 if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53 fi 54 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 83 60 fi 84 61 … … 89 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 90 67 # splitting by setting IFS to empty value.) 68 as_nl=' 69 ' 91 70 IFS=" "" $as_nl" 92 71 93 72 # Find who we are. Look in the path if we contain no directory separator. 94 case $0 in #((73 case $0 in 95 74 *[\\/]* ) as_myself=$0 ;; 96 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 99 78 IFS=$as_save_IFS 100 79 test -z "$as_dir" && as_dir=. 101 102 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81 done 103 82 IFS=$as_save_IFS 104 83 … … 111 90 fi 112 91 if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115 fi 116 117 # Unset variables that we do not need and which cause bugs (e.g. in 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119 # suppresses any "Segmentation fault" message there. '((' could 120 # trigger a bug in pdksh 5.2.14. 121 for as_var in BASH_ENV ENV MAIL MAILPATH 122 do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 124 99 done 125 100 PS1='$ ' … … 128 103 129 104 # NLS nuisances. 130 LC_ALL=C 131 export LC_ALL 132 LANGUAGE=C 133 export LANGUAGE 134 135 # CDPATH. 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138 if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146 else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152 esac 153 fi 154 " 155 as_required="as_fn_return () { (exit \$1); } 156 as_fn_success () { as_fn_return 0; } 157 as_fn_failure () { as_fn_return 1; } 158 as_fn_ret_success () { return 0; } 159 as_fn_ret_failure () { return 1; } 160 161 exitcode=0 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168 else 169 exitcode=1; echo positional parameters were not saved. 170 fi 171 test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179 else 180 as_have_required=no 181 fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184 else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186 as_found=false 187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 188 109 do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202 fi 203 fi 204 done;; 205 esac 206 as_found=false 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 207 115 done 208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211 fi; } 212 IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224 fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234 $0: rappture@nanohub.org about your system, including any 235 $0: error possibly output before this message. Then install 236 $0: a modern shell, or manually run the script under such a 237 $0: shell if you do have one." 238 fi 239 exit 1 240 fi 241 fi 242 fi 243 SHELL=${CONFIG_SHELL-/bin/sh} 244 export SHELL 245 # Unset more variables known to interfere with behavior of common tools. 246 CLICOLOR_FORCE= GREP_OPTIONS= 247 unset CLICOLOR_FORCE GREP_OPTIONS 248 249 ## --------------------- ## 250 ## M4sh Shell Functions. ## 251 ## --------------------- ## 252 # as_fn_unset VAR 253 # --------------- 254 # Portably unset VAR. 255 as_fn_unset () 256 { 257 { eval $1=; unset $1;} 258 } 259 as_unset=as_fn_unset 260 261 # as_fn_set_status STATUS 262 # ----------------------- 263 # Set $? to STATUS, without forking. 264 as_fn_set_status () 265 { 266 return $1 267 } # as_fn_set_status 268 269 # as_fn_exit STATUS 270 # ----------------- 271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 272 as_fn_exit () 273 { 274 set +e 275 as_fn_set_status $1 276 exit $1 277 } # as_fn_exit 278 279 # as_fn_mkdir_p 280 # ------------- 281 # Create "$as_dir" as a directory, including parents if necessary. 282 as_fn_mkdir_p () 283 { 284 285 case $as_dir in #( 286 -*) as_dir=./$as_dir;; 287 esac 288 test -d "$as_dir" || eval $as_mkdir_p || { 289 as_dirs= 290 while :; do 291 case $as_dir in #( 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 293 *) as_qdir=$as_dir;; 294 esac 295 as_dirs="'$as_qdir' $as_dirs" 296 as_dir=`$as_dirname -- "$as_dir" || 297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 298 X"$as_dir" : 'X\(//\)[^/]' \| \ 299 X"$as_dir" : 'X\(//\)$' \| \ 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 301 $as_echo X"$as_dir" | 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)[^/].*/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\).*/{ 315 s//\1/ 316 q 317 } 318 s/.*/./; q'` 319 test -d "$as_dir" && break 320 done 321 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 323 324 325 } # as_fn_mkdir_p 326 # as_fn_append VAR VALUE 327 # ---------------------- 328 # Append the text in VALUE to the end of the definition contained in VAR. Take 329 # advantage of any shell optimizations that allow amortized linear growth over 330 # repeated appends, instead of the typical quadratic growth present in naive 331 # implementations. 332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 333 eval 'as_fn_append () 334 { 335 eval $1+=\$2 336 }' 337 else 338 as_fn_append () 339 { 340 eval $1=\$$1\$2 341 } 342 fi # as_fn_append 343 344 # as_fn_arith ARG... 345 # ------------------ 346 # Perform arithmetic evaluation on the ARGs, and store the result in the 347 # global $as_val. Take advantage of shells that can avoid forks. The arguments 348 # must be portable across $(()) and expr. 349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 350 eval 'as_fn_arith () 351 { 352 as_val=$(( $* )) 353 }' 354 else 355 as_fn_arith () 356 { 357 as_val=`expr "$@" || test $? -eq 1` 358 } 359 fi # as_fn_arith 360 361 362 # as_fn_error ERROR [LINENO LOG_FD] 363 # --------------------------------- 364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366 # script with status $?, using 1 if that was 0. 367 as_fn_error () 368 { 369 as_status=$?; test $as_status -eq 0 && as_status=1 370 if test "$3"; then 371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 373 fi 374 $as_echo "$as_me: error: $1" >&2 375 as_fn_exit $as_status 376 } # as_fn_error 377 116 117 # Required to use basename. 378 118 if expr a : '\(a\)' >/dev/null 2>&1 && 379 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 389 129 fi 390 130 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 392 as_dirname=dirname 393 else 394 as_dirname=false 395 fi 396 131 132 # Name of the executable. 397 133 as_me=`$as_basename -- "$0" || 398 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 399 135 X"$0" : 'X\(//\)$' \| \ 400 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 401 $as_echo X/"$0" |137 echo X/"$0" | 402 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 403 139 s//\1/ … … 414 150 s/.*/./; q'` 415 151 416 # Avoid depending upon Character Ranges. 417 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 420 as_cr_digits='0123456789' 421 as_cr_alnum=$as_cr_Letters$as_cr_digits 422 423 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225 do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 429 440 sed -n ' 430 441 p … … 443 454 ' >$as_me.lineno && 444 455 chmod +x "$as_me.lineno" || 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 446 458 447 459 # Don't try to exec as it changes $[0], causing all sort of problems … … 453 465 } 454 466 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469 as_dirname=dirname 470 else 471 as_dirname=false 472 fi 473 455 474 ECHO_C= ECHO_N= ECHO_T= 456 case `echo -n x` in #(((((475 case `echo -n x` in 457 476 -n*) 458 case `echo 'x y\c'` in477 case `echo 'x\c'` in 459 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 479 *) ECHO_C='\c';; 463 480 esac;; 464 481 *) … … 466 483 esac 467 484 485 if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 487 as_expr=expr 488 else 489 as_expr=false 490 fi 491 468 492 rm -f conf$$ conf$$.exe conf$$.file 469 493 if test -d conf$$.dir; then … … 471 495 else 472 496 rm -f conf$$.dir 473 mkdir conf$$.dir 2>/dev/null 474 fi 475 if (echo >conf$$.file) 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then 477 as_ln_s='ln -s' 478 # ... but there are two gotchas: 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 481 # In both cases, we have to default to `cp -p'. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 483 as_ln_s='cp -p' 484 elif ln conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s=ln 486 else 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 487 507 as_ln_s='cp -p' 488 fi 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 489 510 else 490 511 as_ln_s='cp -p' … … 494 515 495 516 if mkdir -p . 2>/dev/null; then 496 as_mkdir_p= 'mkdir -p "$as_dir"'517 as_mkdir_p=: 497 518 else 498 519 test -d ./-p && rmdir ./-p … … 511 532 eval sh -c '\'' 512 533 if test -d "$1"; then 513 534 test -d "$1/."; 514 535 else 515 case $1 in #(516 536 case $1 in 537 -*)set "./$1";; 517 538 esac; 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 519 540 ???[sx]*):;;*)false;;esac;fi 520 541 '\'' sh … … 530 551 531 552 532 test -n "$DJDIR" || exec 7<&0 </dev/null 533 exec 6>&1553 554 exec 7<&0 </dev/null 6>&1 534 555 535 556 # Name of the host. … … 549 570 MFLAGS= 550 571 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh} 551 573 552 574 # Identity of this package. … … 556 578 PACKAGE_STRING='Rappture 1.1' 557 579 PACKAGE_BUGREPORT='rappture@nanohub.org' 558 PACKAGE_URL=''559 580 560 581 # Factoring default headers for most tests. … … 594 615 #endif" 595 616 596 enable_option_checking=no 597 ac_subst_vars='LTLIBOBJS 617 ac_subst_vars='SHELL 618 PATH_SEPARATOR 619 PACKAGE_NAME 620 PACKAGE_TARNAME 621 PACKAGE_VERSION 622 PACKAGE_STRING 623 PACKAGE_BUGREPORT 624 exec_prefix 625 prefix 626 program_transform_name 627 bindir 628 sbindir 629 libexecdir 630 datarootdir 631 datadir 632 sysconfdir 633 sharedstatedir 634 localstatedir 635 includedir 636 oldincludedir 637 docdir 638 infodir 639 htmldir 640 dvidir 641 pdfdir 642 psdir 643 libdir 644 localedir 645 mandir 646 DEFS 647 ECHO_C 648 ECHO_N 649 ECHO_T 650 LIBS 651 build_alias 652 host_alias 653 target_alias 654 LIB_SEARCH_DIRS 655 INSTALL_PROGRAM 656 INSTALL_SCRIPT 657 INSTALL_DATA 658 SET_MAKE 659 CC 660 CFLAGS 661 LDFLAGS 662 CPPFLAGS 663 ac_ct_CC 664 EXEEXT 665 OBJEXT 666 CXX 667 CXXFLAGS 668 ac_ct_CXX 669 RANLIB 670 LN_S 671 F77 672 FFLAGS 673 ac_ct_F77 674 CPP 675 GREP 676 EGREP 677 CXXCPP 678 HAVE_INTTYPES_H 679 AR 680 DL_LIBS 681 DL_OBJS 682 PLAT_OBJS 683 PLAT_SRCS 684 CFLAGS_DEBUG 685 CFLAGS_OPTIMIZE 686 CFLAGS_WARNING 687 LDFLAGS_DEBUG 688 LDFLAGS_OPTIMIZE 689 CC_SEARCH_FLAGS 690 LD_SEARCH_FLAGS 691 STLIB_LD 692 SHLIB_LD 693 TCL_SHLIB_LD_EXTRAS 694 TK_SHLIB_LD_EXTRAS 695 SHLIB_LD_LIBS 696 SHLIB_CFLAGS 697 SHLIB_SUFFIX 698 MAKE_LIB 699 MAKE_STUB_LIB 700 INSTALL_LIB 701 INSTALL_STUB_LIB 702 MAKE 703 ENABLE_GUI 704 TCLSH 705 VTKDIR 706 MATLAB 707 MEX 708 MEXEXT 709 MCC 710 MEX_ARCH 711 OCTAVE 712 MKOCTFILE 713 OCTAVE_VERSION 714 OCTAVE_VERSION_MAJOR 715 PERL 716 PERL_INCLUDES 717 PERL_ARCHLIB 718 PERL_ARCHLIBEXP 719 PERL_VERSION 720 PERL_CCFLAGS 721 PERL_CPPFLAGS 722 PERL_VENDORLIB 723 PERL_PRIVLIB 724 PERL_INSTALLARCHLIB 725 PERL_VERSION_RV 726 PERL_LIBSPEC 727 PYTHON 728 PYTHON_CPPFLAGS 729 pythondir 730 PYTHON_VERSION 731 PYTHON_INCLUDES 732 PYTHON_SITE_PACKAGES 733 HAVE_PYTHON_DISTUTILS 734 RUBY 735 SED 736 RUBY_VERSION 737 AWK 738 RUBY_CPPFLAGS 739 RUBY_LDFLAGS 740 RUBY_SITE_PKG 741 RUBY_EXTRA_LIBS 742 HAVE_RUBY_DEVEL 743 RUBY_VERSION_RV 744 RUBY_PLATFORM 745 JAVA 746 JAVAC 747 JAVAH 748 JAVA_HOME 749 JAVA_INCLUDES 750 RP_BASE 751 SHLIB_LDFLAGS 752 TCL_VERSION 753 TK_VERSION 754 SIZEOF_INT 755 SIZEOF_LONG 756 SIZEOF_LONG_LONG 757 SIZEOF_VOID_P 758 CFLAGS_DEFAULT 759 LDFLAGS_DEFAULT 760 subdirs 598 761 LIBOBJS 599 subdirs 600 LDFLAGS_DEFAULT 601 CFLAGS_DEFAULT 602 SIZEOF_VOID_P 603 SIZEOF_LONG_LONG 604 SIZEOF_LONG 605 SIZEOF_INT 606 TK_VERSION 607 TCL_VERSION 608 SHLIB_LDFLAGS 609 RP_BASE 610 JAVA_INCLUDES 611 JAVA_HOME 612 JAVAH 613 JAVAC 614 JAVA 615 RUBY_PLATFORM 616 RUBY_VERSION_RV 617 HAVE_RUBY_DEVEL 618 RUBY_EXTRA_LIBS 619 RUBY_SITE_PKG 620 RUBY_LDFLAGS 621 RUBY_CPPFLAGS 622 AWK 623 RUBY_VERSION 624 SED 625 RUBY 626 HAVE_PYTHON_DISTUTILS 627 PYTHON_SITE_PACKAGES 628 PYTHON_INCLUDES 629 PYTHON_VERSION 630 pythondir 631 PYTHON_CPPFLAGS 632 PYTHON 633 PERL_LIBSPEC 634 PERL_VERSION_RV 635 PERL_INSTALLARCHLIB 636 PERL_PRIVLIB 637 PERL_VENDORLIB 638 PERL_CPPFLAGS 639 PERL_CCFLAGS 640 PERL_VERSION 641 PERL_ARCHLIBEXP 642 PERL_ARCHLIB 643 PERL_INCLUDES 644 PERL 645 OCTAVE_VERSION_MAJOR 646 OCTAVE_VERSION 647 MKOCTFILE 648 OCTAVE 649 MEX_ARCH 650 MCC 651 MEXEXT 652 MEX 653 MATLAB 654 VTKDIR 655 TCLSH 656 ENABLE_GUI 657 MAKE 658 INSTALL_STUB_LIB 659 INSTALL_LIB 660 MAKE_STUB_LIB 661 MAKE_LIB 662 SHLIB_SUFFIX 663 SHLIB_CFLAGS 664 SHLIB_LD_LIBS 665 TK_SHLIB_LD_EXTRAS 666 TCL_SHLIB_LD_EXTRAS 667 SHLIB_LD 668 STLIB_LD 669 LD_SEARCH_FLAGS 670 CC_SEARCH_FLAGS 671 LDFLAGS_OPTIMIZE 672 LDFLAGS_DEBUG 673 CFLAGS_WARNING 674 CFLAGS_OPTIMIZE 675 CFLAGS_DEBUG 676 PLAT_SRCS 677 PLAT_OBJS 678 DL_OBJS 679 DL_LIBS 680 AR 681 HAVE_INTTYPES_H 682 CXXCPP 683 EGREP 684 GREP 685 CPP 686 ac_ct_F77 687 FFLAGS 688 F77 689 MKDIR_P 690 LN_S 691 RANLIB 692 ac_ct_CXX 693 CXXFLAGS 694 CXX 695 OBJEXT 696 EXEEXT 697 ac_ct_CC 698 CPPFLAGS 699 LDFLAGS 700 CFLAGS 701 CC 702 SET_MAKE 703 INSTALL_DATA 704 INSTALL_SCRIPT 705 INSTALL_PROGRAM 706 LIB_SEARCH_DIRS 707 target_alias 708 host_alias 709 build_alias 710 LIBS 711 ECHO_T 712 ECHO_N 713 ECHO_C 714 DEFS 715 mandir 716 localedir 717 libdir 718 psdir 719 pdfdir 720 dvidir 721 htmldir 722 infodir 723 docdir 724 oldincludedir 725 includedir 726 localstatedir 727 sharedstatedir 728 sysconfdir 729 datadir 730 datarootdir 731 libexecdir 732 sbindir 733 bindir 734 program_transform_name 735 prefix 736 exec_prefix 737 PACKAGE_URL 738 PACKAGE_BUGREPORT 739 PACKAGE_STRING 740 PACKAGE_VERSION 741 PACKAGE_TARNAME 742 PACKAGE_NAME 743 PATH_SEPARATOR 744 SHELL' 762 LTLIBOBJS' 745 763 ac_subst_files='' 746 ac_user_opts='747 enable_option_checking748 enable_64bit749 enable_64bit_vis750 enable_corefoundation751 enable_load752 enable_gui753 with_tclsh754 with_vtk755 with_matlab756 with_octave757 with_perl758 with_python759 with_ruby760 enable_shared761 enable_symbols762 '763 764 ac_precious_vars='build_alias 764 765 host_alias … … 781 782 ac_init_help= 782 783 ac_init_version=false 783 ac_unrecognized_opts=784 ac_unrecognized_sep=785 784 # The variables have the same names as the options, with 786 785 # dashes changed to underlines. … … 881 880 882 881 -disable-* | --disable-*) 883 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`882 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 884 883 # Reject names that are not valid shell variable names. 885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 886 as_fn_error "invalid feature name: $ac_useropt" 887 ac_useropt_orig=$ac_useropt 888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 889 case $ac_user_opts in 890 *" 891 "enable_$ac_useropt" 892 "*) ;; 893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 894 ac_unrecognized_sep=', ';; 895 esac 896 eval enable_$ac_useropt=no ;; 884 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 886 { (exit 1); exit 1; }; } 887 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 888 eval enable_$ac_feature=no ;; 897 889 898 890 -docdir | --docdir | --docdi | --doc | --do) … … 907 899 908 900 -enable-* | --enable-*) 909 ac_ useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`901 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 910 902 # Reject names that are not valid shell variable names. 911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 912 as_fn_error "invalid feature name: $ac_useropt" 913 ac_useropt_orig=$ac_useropt 914 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 915 case $ac_user_opts in 916 *" 917 "enable_$ac_useropt" 918 "*) ;; 919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 920 ac_unrecognized_sep=', ';; 921 esac 922 eval enable_$ac_useropt=\$ac_optarg ;; 903 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 905 { (exit 1); exit 1; }; } 906 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 907 eval enable_$ac_feature=\$ac_optarg ;; 923 908 924 909 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1111 1096 1112 1097 -with-* | --with-*) 1113 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1098 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1114 1099 # Reject names that are not valid shell variable names. 1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1116 as_fn_error "invalid package name: $ac_useropt" 1117 ac_useropt_orig=$ac_useropt 1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1119 case $ac_user_opts in 1120 *" 1121 "with_$ac_useropt" 1122 "*) ;; 1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1124 ac_unrecognized_sep=', ';; 1125 esac 1126 eval with_$ac_useropt=\$ac_optarg ;; 1100 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1101 { echo "$as_me: error: invalid package name: $ac_package" >&2 1102 { (exit 1); exit 1; }; } 1103 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1104 eval with_$ac_package=\$ac_optarg ;; 1127 1105 1128 1106 -without-* | --without-*) 1129 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1107 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1130 1108 # Reject names that are not valid shell variable names. 1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1132 as_fn_error "invalid package name: $ac_useropt" 1133 ac_useropt_orig=$ac_useropt 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1135 case $ac_user_opts in 1136 *" 1137 "with_$ac_useropt" 1138 "*) ;; 1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1140 ac_unrecognized_sep=', ';; 1141 esac 1142 eval with_$ac_useropt=no ;; 1109 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1110 { echo "$as_me: error: invalid package name: $ac_package" >&2 1111 { (exit 1); exit 1; }; } 1112 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1113 eval with_$ac_package=no ;; 1143 1114 1144 1115 --x) … … 1160 1131 x_libraries=$ac_optarg ;; 1161 1132 1162 -*) as_fn_error "unrecognized option: \`$ac_option' 1163 Try \`$0 --help' for more information." 1133 -*) { echo "$as_me: error: unrecognized option: $ac_option 1134 Try \`$0 --help' for more information." >&2 1135 { (exit 1); exit 1; }; } 1164 1136 ;; 1165 1137 … … 1167 1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1168 1140 # Reject names that are not valid shell variable names. 1169 case $ac_envvar in #( 1170 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1171 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1172 esac 1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1143 { (exit 1); exit 1; }; } 1173 1144 eval $ac_envvar=\$ac_optarg 1174 1145 export $ac_envvar ;; … … 1176 1147 *) 1177 1148 # FIXME: should be removed in autoconf 3.0. 1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21149 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1179 1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21151 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1181 1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1182 1153 ;; … … 1187 1158 if test -n "$ac_prev"; then 1188 1159 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1189 as_fn_error "missing argument to $ac_option" 1190 fi 1191 1192 if test -n "$ac_unrecognized_opts"; then 1193 case $enable_option_checking in 1194 no) ;; 1195 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1197 esac 1198 fi 1199 1200 # Check all directory arguments for consistency. 1160 { echo "$as_me: error: missing argument to $ac_option" >&2 1161 { (exit 1); exit 1; }; } 1162 fi 1163 1164 # Be sure to have absolute directory names. 1201 1165 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1202 1166 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1205 1169 do 1206 1170 eval ac_val=\$$ac_var 1207 # Remove trailing slashes.1208 case $ac_val in1209 */ )1210 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1211 eval $ac_var=\$ac_val;;1212 esac1213 # Be sure to have absolute directory names.1214 1171 case $ac_val in 1215 1172 [\\/$]* | ?:[\\/]* ) continue;; 1216 1173 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1217 1174 esac 1218 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1176 { (exit 1); exit 1; }; } 1219 1177 done 1220 1178 … … 1230 1188 if test "x$build_alias" = x; then 1231 1189 cross_compiling=maybe 1232 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1233 1191 If a cross compiler is detected then cross compile mode will be used." >&2 1234 1192 elif test "x$build_alias" != "x$host_alias"; then … … 1246 1204 ac_ls_di=`ls -di .` && 1247 1205 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1248 as_fn_error "working directory cannot be determined" 1206 { echo "$as_me: error: Working directory cannot be determined" >&2 1207 { (exit 1); exit 1; }; } 1249 1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1250 as_fn_error "pwd does not report name of working directory" 1209 { echo "$as_me: error: pwd does not report name of working directory" >&2 1210 { (exit 1); exit 1; }; } 1251 1211 1252 1212 … … 1255 1215 ac_srcdir_defaulted=yes 1256 1216 # Try the directory containing this script, then the parent directory. 1257 ac_confdir=`$as_dirname -- "$ as_myself" ||1258 $as_expr X"$ as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1259 X"$ as_myself" : 'X\(//\)[^/]' \| \1260 X"$ as_myself" : 'X\(//\)$' \| \1261 X"$ as_myself" : 'X\(/\)' \| . 2>/dev/null ||1262 $as_echo X"$as_myself" |1217 ac_confdir=`$as_dirname -- "$0" || 1218 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1219 X"$0" : 'X\(//\)[^/]' \| \ 1220 X"$0" : 'X\(//\)$' \| \ 1221 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1222 echo X"$0" | 1263 1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1264 1224 s//\1/ … … 1287 1247 if test ! -r "$srcdir/$ac_unique_file"; then 1288 1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1289 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1250 { (exit 1); exit 1; }; } 1290 1251 fi 1291 1252 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1292 1253 ac_abs_confdir=`( 1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1255 { (exit 1); exit 1; }; } 1294 1256 pwd)` 1295 1257 # When building in place, set srcdir=. … … 1339 1301 Installation directories: 1340 1302 --prefix=PREFIX install architecture-independent files in PREFIX 1341 1303 [$ac_default_prefix] 1342 1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1343 1305 [PREFIX] 1344 1306 1345 1307 By default, \`make install' will install all the files in … … 1351 1313 1352 1314 Fine tuning of the installation directories: 1353 --bindir=DIR 1354 --sbindir=DIR 1355 --libexecdir=DIR 1356 --sysconfdir=DIR 1357 --sharedstatedir=DIR 1358 --localstatedir=DIR 1359 --libdir=DIR 1360 --includedir=DIR 1361 --oldincludedir=DIR 1362 --datarootdir=DIR 1363 --datadir=DIR 1364 --infodir=DIR 1365 --localedir=DIR 1366 --mandir=DIR 1367 --docdir=DIR 1368 --htmldir=DIR 1369 --dvidir=DIR 1370 --pdfdir=DIR 1371 --psdir=DIR 1315 --bindir=DIR user executables [EPREFIX/bin] 1316 --sbindir=DIR system admin executables [EPREFIX/sbin] 1317 --libexecdir=DIR program executables [EPREFIX/libexec] 1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1321 --libdir=DIR object code libraries [EPREFIX/lib] 1322 --includedir=DIR C header files [PREFIX/include] 1323 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1326 --infodir=DIR info documentation [DATAROOTDIR/info] 1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1328 --mandir=DIR man documentation [DATAROOTDIR/man] 1329 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1330 --htmldir=DIR html documentation [DOCDIR] 1331 --dvidir=DIR dvi documentation [DOCDIR] 1332 --pdfdir=DIR pdf documentation [DOCDIR] 1333 --psdir=DIR ps documentation [DOCDIR] 1372 1334 _ACEOF 1373 1335 … … 1383 1345 1384 1346 Optional Features: 1385 --disable-option-checking ignore unrecognized --enable/--with options1386 1347 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1387 1348 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1412 1373 nonstandard directory <lib dir> 1413 1374 LIBS libraries to pass to the linker, e.g. -l<library> 1414 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1375 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1415 1376 you have headers in a nonstandard directory <include dir> 1416 1377 CXX C++ compiler command … … 1432 1393 # If there are subdirs, report their specific --help. 1433 1394 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1434 test -d "$ac_dir" || 1435 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1436 continue 1395 test -d "$ac_dir" || continue 1437 1396 ac_builddir=. 1438 1397 … … 1440 1399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1441 1400 *) 1442 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`1401 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1443 1402 # A ".." for each directory in $ac_dir_suffix. 1444 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1403 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1445 1404 case $ac_top_builddir_sub in 1446 1405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1478 1437 $SHELL "$ac_srcdir/configure" --help=recursive 1479 1438 else 1480 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21439 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1481 1440 fi || ac_status=$? 1482 1441 cd "$ac_pwd" || { ac_status=$?; break; } … … 1488 1447 cat <<\_ACEOF 1489 1448 Rappture configure 1.1 1490 generated by GNU Autoconf 2.65 1491 1492 Copyright (C) 2009 Free Software Foundation, Inc. 1449 generated by GNU Autoconf 2.61 1450 1451 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1452 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1493 1453 This configure script is free software; the Free Software Foundation 1494 1454 gives unlimited permission to copy, distribute and modify it. … … 1496 1456 exit 1497 1457 fi 1498 1499 ## ------------------------ ##1500 ## Autoconf initialization. ##1501 ## ------------------------ ##1502 1503 # ac_fn_c_try_compile LINENO1504 # --------------------------1505 # Try to compile conftest.$ac_ext, and return whether this succeeded.1506 ac_fn_c_try_compile ()1507 {1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1509 rm -f conftest.$ac_objext1510 if { { ac_try="$ac_compile"1511 case "(($ac_try" in1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1513 *) ac_try_echo=$ac_try;;1514 esac1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1516 $as_echo "$ac_try_echo"; } >&51517 (eval "$ac_compile") 2>conftest.err1518 ac_status=$?1519 if test -s conftest.err; then1520 grep -v '^ *+' conftest.err >conftest.er11521 cat conftest.er1 >&51522 mv -f conftest.er1 conftest.err1523 fi1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51525 test $ac_status = 0; } && {1526 test -z "$ac_c_werror_flag" ||1527 test ! -s conftest.err1528 } && test -s conftest.$ac_objext; then :1529 ac_retval=01530 else1531 $as_echo "$as_me: failed program was:" >&51532 sed 's/^/| /' conftest.$ac_ext >&51533 1534 ac_retval=11535 fi1536 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1537 as_fn_set_status $ac_retval1538 1539 } # ac_fn_c_try_compile1540 1541 # ac_fn_cxx_try_compile LINENO1542 # ----------------------------1543 # Try to compile conftest.$ac_ext, and return whether this succeeded.1544 ac_fn_cxx_try_compile ()1545 {1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1547 rm -f conftest.$ac_objext1548 if { { ac_try="$ac_compile"1549 case "(($ac_try" in1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1551 *) ac_try_echo=$ac_try;;1552 esac1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1554 $as_echo "$ac_try_echo"; } >&51555 (eval "$ac_compile") 2>conftest.err1556 ac_status=$?1557 if test -s conftest.err; then1558 grep -v '^ *+' conftest.err >conftest.er11559 cat conftest.er1 >&51560 mv -f conftest.er1 conftest.err1561 fi1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51563 test $ac_status = 0; } && {1564 test -z "$ac_cxx_werror_flag" ||1565 test ! -s conftest.err1566 } && test -s conftest.$ac_objext; then :1567 ac_retval=01568 else1569 $as_echo "$as_me: failed program was:" >&51570 sed 's/^/| /' conftest.$ac_ext >&51571 1572 ac_retval=11573 fi1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1575 as_fn_set_status $ac_retval1576 1577 } # ac_fn_cxx_try_compile1578 1579 # ac_fn_f77_try_compile LINENO1580 # ----------------------------1581 # Try to compile conftest.$ac_ext, and return whether this succeeded.1582 ac_fn_f77_try_compile ()1583 {1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1585 rm -f conftest.$ac_objext1586 if { { ac_try="$ac_compile"1587 case "(($ac_try" in1588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1589 *) ac_try_echo=$ac_try;;1590 esac1591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1592 $as_echo "$ac_try_echo"; } >&51593 (eval "$ac_compile") 2>conftest.err1594 ac_status=$?1595 if test -s conftest.err; then1596 grep -v '^ *+' conftest.err >conftest.er11597 cat conftest.er1 >&51598 mv -f conftest.er1 conftest.err1599 fi1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51601 test $ac_status = 0; } && {1602 test -z "$ac_f77_werror_flag" ||1603 test ! -s conftest.err1604 } && test -s conftest.$ac_objext; then :1605 ac_retval=01606 else1607 $as_echo "$as_me: failed program was:" >&51608 sed 's/^/| /' conftest.$ac_ext >&51609 1610 ac_retval=11611 fi1612 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1613 as_fn_set_status $ac_retval1614 1615 } # ac_fn_f77_try_compile1616 1617 # ac_fn_c_try_cpp LINENO1618 # ----------------------1619 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1620 ac_fn_c_try_cpp ()1621 {1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1623 if { { ac_try="$ac_cpp conftest.$ac_ext"1624 case "(($ac_try" in1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1626 *) ac_try_echo=$ac_try;;1627 esac1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1629 $as_echo "$ac_try_echo"; } >&51630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1631 ac_status=$?1632 if test -s conftest.err; then1633 grep -v '^ *+' conftest.err >conftest.er11634 cat conftest.er1 >&51635 mv -f conftest.er1 conftest.err1636 fi1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51638 test $ac_status = 0; } >/dev/null && {1639 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1640 test ! -s conftest.err1641 }; then :1642 ac_retval=01643 else1644 $as_echo "$as_me: failed program was:" >&51645 sed 's/^/| /' conftest.$ac_ext >&51646 1647 ac_retval=11648 fi1649 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1650 as_fn_set_status $ac_retval1651 1652 } # ac_fn_c_try_cpp1653 1654 # ac_fn_c_try_run LINENO1655 # ----------------------1656 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1657 # that executables *can* be run.1658 ac_fn_c_try_run ()1659 {1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1661 if { { ac_try="$ac_link"1662 case "(($ac_try" in1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1664 *) ac_try_echo=$ac_try;;1665 esac1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1667 $as_echo "$ac_try_echo"; } >&51668 (eval "$ac_link") 2>&51669 ac_status=$?1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51671 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1672 { { case "(($ac_try" in1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1674 *) ac_try_echo=$ac_try;;1675 esac1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1677 $as_echo "$ac_try_echo"; } >&51678 (eval "$ac_try") 2>&51679 ac_status=$?1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51681 test $ac_status = 0; }; }; then :1682 ac_retval=01683 else1684 $as_echo "$as_me: program exited with status $ac_status" >&51685 $as_echo "$as_me: failed program was:" >&51686 sed 's/^/| /' conftest.$ac_ext >&51687 1688 ac_retval=$ac_status1689 fi1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1691 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1692 as_fn_set_status $ac_retval1693 1694 } # ac_fn_c_try_run1695 1696 # ac_fn_c_try_link LINENO1697 # -----------------------1698 # Try to link conftest.$ac_ext, and return whether this succeeded.1699 ac_fn_c_try_link ()1700 {1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1702 rm -f conftest.$ac_objext conftest$ac_exeext1703 if { { ac_try="$ac_link"1704 case "(($ac_try" in1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1706 *) ac_try_echo=$ac_try;;1707 esac1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1709 $as_echo "$ac_try_echo"; } >&51710 (eval "$ac_link") 2>conftest.err1711 ac_status=$?1712 if test -s conftest.err; then1713 grep -v '^ *+' conftest.err >conftest.er11714 cat conftest.er1 >&51715 mv -f conftest.er1 conftest.err1716 fi1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51718 test $ac_status = 0; } && {1719 test -z "$ac_c_werror_flag" ||1720 test ! -s conftest.err1721 } && test -s conftest$ac_exeext && {1722 test "$cross_compiling" = yes ||1723 $as_test_x conftest$ac_exeext1724 }; then :1725 ac_retval=01726 else1727 $as_echo "$as_me: failed program was:" >&51728 sed 's/^/| /' conftest.$ac_ext >&51729 1730 ac_retval=11731 fi1732 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1733 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1734 # interfere with the next link command; also delete a directory that is1735 # left behind by Apple's compiler. We do this before executing the actions.1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1737 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1738 as_fn_set_status $ac_retval1739 1740 } # ac_fn_c_try_link1741 1742 # ac_fn_c_check_func LINENO FUNC VAR1743 # ----------------------------------1744 # Tests whether FUNC exists, setting the cache variable VAR accordingly1745 ac_fn_c_check_func ()1746 {1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51749 $as_echo_n "checking for $2... " >&6; }1750 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1751 $as_echo_n "(cached) " >&61752 else1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1754 /* end confdefs.h. */1755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1756 For example, HP-UX 11i <limits.h> declares gettimeofday. */1757 #define $2 innocuous_$21758 1759 /* System header to define __stub macros and hopefully few prototypes,1760 which can conflict with char $2 (); below.1761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1762 <limits.h> exists even on freestanding compilers. */1763 1764 #ifdef __STDC__1765 # include <limits.h>1766 #else1767 # include <assert.h>1768 #endif1769 1770 #undef $21771 1772 /* Override any GCC internal prototype to avoid an error.1773 Use char because int might match the return type of a GCC1774 builtin and then its argument prototype would still apply. */1775 #ifdef __cplusplus1776 extern "C"1777 #endif1778 char $2 ();1779 /* The GNU C library defines this for functions which it implements1780 to always fail with ENOSYS. Some functions are actually named1781 something starting with __ and the normal name is an alias. */1782 #if defined __stub_$2 || defined __stub___$21783 choke me1784 #endif1785 1786 int1787 main ()1788 {1789 return $2 ();1790 ;1791 return 0;1792 }1793 _ACEOF1794 if ac_fn_c_try_link "$LINENO"; then :1795 eval "$3=yes"1796 else1797 eval "$3=no"1798 fi1799 rm -f core conftest.err conftest.$ac_objext \1800 conftest$ac_exeext conftest.$ac_ext1801 fi1802 eval ac_res=\$$31803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51804 $as_echo "$ac_res" >&6; }1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1806 1807 } # ac_fn_c_check_func1808 1809 # ac_fn_cxx_try_link LINENO1810 # -------------------------1811 # Try to link conftest.$ac_ext, and return whether this succeeded.1812 ac_fn_cxx_try_link ()1813 {1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1815 rm -f conftest.$ac_objext conftest$ac_exeext1816 if { { ac_try="$ac_link"1817 case "(($ac_try" in1818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1819 *) ac_try_echo=$ac_try;;1820 esac1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1822 $as_echo "$ac_try_echo"; } >&51823 (eval "$ac_link") 2>conftest.err1824 ac_status=$?1825 if test -s conftest.err; then1826 grep -v '^ *+' conftest.err >conftest.er11827 cat conftest.er1 >&51828 mv -f conftest.er1 conftest.err1829 fi1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51831 test $ac_status = 0; } && {1832 test -z "$ac_cxx_werror_flag" ||1833 test ! -s conftest.err1834 } && test -s conftest$ac_exeext && {1835 test "$cross_compiling" = yes ||1836 $as_test_x conftest$ac_exeext1837 }; then :1838 ac_retval=01839 else1840 $as_echo "$as_me: failed program was:" >&51841 sed 's/^/| /' conftest.$ac_ext >&51842 1843 ac_retval=11844 fi1845 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1846 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1847 # interfere with the next link command; also delete a directory that is1848 # left behind by Apple's compiler. We do this before executing the actions.1849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1851 as_fn_set_status $ac_retval1852 1853 } # ac_fn_cxx_try_link1854 1855 # ac_fn_cxx_check_func LINENO FUNC VAR1856 # ------------------------------------1857 # Tests whether FUNC exists, setting the cache variable VAR accordingly1858 ac_fn_cxx_check_func ()1859 {1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51862 $as_echo_n "checking for $2... " >&6; }1863 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1864 $as_echo_n "(cached) " >&61865 else1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1867 /* end confdefs.h. */1868 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1869 For example, HP-UX 11i <limits.h> declares gettimeofday. */1870 #define $2 innocuous_$21871 1872 /* System header to define __stub macros and hopefully few prototypes,1873 which can conflict with char $2 (); below.1874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1875 <limits.h> exists even on freestanding compilers. */1876 1877 #ifdef __STDC__1878 # include <limits.h>1879 #else1880 # include <assert.h>1881 #endif1882 1883 #undef $21884 1885 /* Override any GCC internal prototype to avoid an error.1886 Use char because int might match the return type of a GCC1887 builtin and then its argument prototype would still apply. */1888 #ifdef __cplusplus1889 extern "C"1890 #endif1891 char $2 ();1892 /* The GNU C library defines this for functions which it implements1893 to always fail with ENOSYS. Some functions are actually named1894 something starting with __ and the normal name is an alias. */1895 #if defined __stub_$2 || defined __stub___$21896 choke me1897 #endif1898 1899 int1900 main ()1901 {1902 return $2 ();1903 ;1904 return 0;1905 }1906 _ACEOF1907 if ac_fn_cxx_try_link "$LINENO"; then :1908 eval "$3=yes"1909 else1910 eval "$3=no"1911 fi1912 rm -f core conftest.err conftest.$ac_objext \1913 conftest$ac_exeext conftest.$ac_ext1914 fi1915 eval ac_res=\$$31916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51917 $as_echo "$ac_res" >&6; }1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1919 1920 } # ac_fn_cxx_check_func1921 1922 # ac_fn_cxx_try_cpp LINENO1923 # ------------------------1924 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1925 ac_fn_cxx_try_cpp ()1926 {1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1928 if { { ac_try="$ac_cpp conftest.$ac_ext"1929 case "(($ac_try" in1930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1931 *) ac_try_echo=$ac_try;;1932 esac1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1934 $as_echo "$ac_try_echo"; } >&51935 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1936 ac_status=$?1937 if test -s conftest.err; then1938 grep -v '^ *+' conftest.err >conftest.er11939 cat conftest.er1 >&51940 mv -f conftest.er1 conftest.err1941 fi1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51943 test $ac_status = 0; } >/dev/null && {1944 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1945 test ! -s conftest.err1946 }; then :1947 ac_retval=01948 else1949 $as_echo "$as_me: failed program was:" >&51950 sed 's/^/| /' conftest.$ac_ext >&51951 1952 ac_retval=11953 fi1954 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1955 as_fn_set_status $ac_retval1956 1957 } # ac_fn_cxx_try_cpp1958 1959 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES1960 # ---------------------------------------------------------1961 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1962 # the include files in INCLUDES and setting the cache variable VAR1963 # accordingly.1964 ac_fn_cxx_check_header_mongrel ()1965 {1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1967 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51969 $as_echo_n "checking for $2... " >&6; }1970 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1971 $as_echo_n "(cached) " >&61972 fi1973 eval ac_res=\$$31974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51975 $as_echo "$ac_res" >&6; }1976 else1977 # Is the header compilable?1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51979 $as_echo_n "checking $2 usability... " >&6; }1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1981 /* end confdefs.h. */1982 $41983 #include <$2>1984 _ACEOF1985 if ac_fn_cxx_try_compile "$LINENO"; then :1986 ac_header_compiler=yes1987 else1988 ac_header_compiler=no1989 fi1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51992 $as_echo "$ac_header_compiler" >&6; }1993 1994 # Is the header present?1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51996 $as_echo_n "checking $2 presence... " >&6; }1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1998 /* end confdefs.h. */1999 #include <$2>2000 _ACEOF2001 if ac_fn_cxx_try_cpp "$LINENO"; then :2002 ac_header_preproc=yes2003 else2004 ac_header_preproc=no2005 fi2006 rm -f conftest.err conftest.$ac_ext2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52008 $as_echo "$ac_header_preproc" >&6; }2009 2010 # So? What about this header?2011 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2012 yes:no: )2013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52014 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52016 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2017 ;;2018 no:yes:* )2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52020 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52022 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52024 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52026 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52028 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2029 ( cat <<\_ASBOX2030 ## ----------------------------------- ##2031 ## Report this to rappture@nanohub.org ##2032 ## ----------------------------------- ##2033 _ASBOX2034 ) | sed "s/^/$as_me: WARNING: /" >&22035 ;;2036 esac2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52038 $as_echo_n "checking for $2... " >&6; }2039 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :2040 $as_echo_n "(cached) " >&62041 else2042 eval "$3=\$ac_header_compiler"2043 fi2044 eval ac_res=\$$32045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52046 $as_echo "$ac_res" >&6; }2047 fi2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2049 2050 } # ac_fn_cxx_check_header_mongrel2051 2052 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2053 # ---------------------------------------------------------2054 # Tests whether HEADER exists and can be compiled using the include files in2055 # INCLUDES, setting the cache variable VAR accordingly.2056 ac_fn_cxx_check_header_compile ()2057 {2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52060 $as_echo_n "checking for $2... " >&6; }2061 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :2062 $as_echo_n "(cached) " >&62063 else2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2065 /* end confdefs.h. */2066 $42067 #include <$2>2068 _ACEOF2069 if ac_fn_cxx_try_compile "$LINENO"; then :2070 eval "$3=yes"2071 else2072 eval "$3=no"2073 fi2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2075 fi2076 eval ac_res=\$$32077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52078 $as_echo "$ac_res" >&6; }2079 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2080 2081 } # ac_fn_cxx_check_header_compile2082 2083 # ac_fn_cxx_try_run LINENO2084 # ------------------------2085 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes2086 # that executables *can* be run.2087 ac_fn_cxx_try_run ()2088 {2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2090 if { { ac_try="$ac_link"2091 case "(($ac_try" in2092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2093 *) ac_try_echo=$ac_try;;2094 esac2095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2096 $as_echo "$ac_try_echo"; } >&52097 (eval "$ac_link") 2>&52098 ac_status=$?2099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52100 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'2101 { { case "(($ac_try" in2102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2103 *) ac_try_echo=$ac_try;;2104 esac2105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2106 $as_echo "$ac_try_echo"; } >&52107 (eval "$ac_try") 2>&52108 ac_status=$?2109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52110 test $ac_status = 0; }; }; then :2111 ac_retval=02112 else2113 $as_echo "$as_me: program exited with status $ac_status" >&52114 $as_echo "$as_me: failed program was:" >&52115 sed 's/^/| /' conftest.$ac_ext >&52116 2117 ac_retval=$ac_status2118 fi2119 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2120 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2121 as_fn_set_status $ac_retval2122 2123 } # ac_fn_cxx_try_run2124 2125 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES2126 # ----------------------------------------------2127 # Tries to find the compile-time value of EXPR in a program that includes2128 # INCLUDES, setting VAR accordingly. Returns whether the value could be2129 # computed2130 ac_fn_cxx_compute_int ()2131 {2132 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2133 if test "$cross_compiling" = yes; then2134 # Depending upon the size, compute the lo and hi bounds.2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2136 /* end confdefs.h. */2137 $42138 int2139 main ()2140 {2141 static int test_array [1 - 2 * !(($2) >= 0)];2142 test_array [0] = 02143 2144 ;2145 return 0;2146 }2147 _ACEOF2148 if ac_fn_cxx_try_compile "$LINENO"; then :2149 ac_lo=0 ac_mid=02150 while :; do2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2152 /* end confdefs.h. */2153 $42154 int2155 main ()2156 {2157 static int test_array [1 - 2 * !(($2) <= $ac_mid)];2158 test_array [0] = 02159 2160 ;2161 return 0;2162 }2163 _ACEOF2164 if ac_fn_cxx_try_compile "$LINENO"; then :2165 ac_hi=$ac_mid; break2166 else2167 as_fn_arith $ac_mid + 1 && ac_lo=$as_val2168 if test $ac_lo -le $ac_mid; then2169 ac_lo= ac_hi=2170 break2171 fi2172 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val2173 fi2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2175 done2176 else2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2178 /* end confdefs.h. */2179 $42180 int2181 main ()2182 {2183 static int test_array [1 - 2 * !(($2) < 0)];2184 test_array [0] = 02185 2186 ;2187 return 0;2188 }2189 _ACEOF2190 if ac_fn_cxx_try_compile "$LINENO"; then :2191 ac_hi=-1 ac_mid=-12192 while :; do2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2194 /* end confdefs.h. */2195 $42196 int2197 main ()2198 {2199 static int test_array [1 - 2 * !(($2) >= $ac_mid)];2200 test_array [0] = 02201 2202 ;2203 return 0;2204 }2205 _ACEOF2206 if ac_fn_cxx_try_compile "$LINENO"; then :2207 ac_lo=$ac_mid; break2208 else2209 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val2210 if test $ac_mid -le $ac_hi; then2211 ac_lo= ac_hi=2212 break2213 fi2214 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val2215 fi2216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2217 done2218 else2219 ac_lo= ac_hi=2220 fi2221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2222 fi2223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2224 # Binary search between lo and hi bounds.2225 while test "x$ac_lo" != "x$ac_hi"; do2226 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2228 /* end confdefs.h. */2229 $42230 int2231 main ()2232 {2233 static int test_array [1 - 2 * !(($2) <= $ac_mid)];2234 test_array [0] = 02235 2236 ;2237 return 0;2238 }2239 _ACEOF2240 if ac_fn_cxx_try_compile "$LINENO"; then :2241 ac_hi=$ac_mid2242 else2243 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val2244 fi2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2246 done2247 case $ac_lo in #((2248 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;2249 '') ac_retval=1 ;;2250 esac2251 else2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2253 /* end confdefs.h. */2254 $42255 static long int longval () { return $2; }2256 static unsigned long int ulongval () { return $2; }2257 #include <stdio.h>2258 #include <stdlib.h>2259 int2260 main ()2261 {2262 2263 FILE *f = fopen ("conftest.val", "w");2264 if (! f)2265 return 1;2266 if (($2) < 0)2267 {2268 long int i = longval ();2269 if (i != ($2))2270 return 1;2271 fprintf (f, "%ld", i);2272 }2273 else2274 {2275 unsigned long int i = ulongval ();2276 if (i != ($2))2277 return 1;2278 fprintf (f, "%lu", i);2279 }2280 /* Do not output a trailing newline, as this causes \r\n confusion2281 on some platforms. */2282 return ferror (f) || fclose (f) != 0;2283 2284 ;2285 return 0;2286 }2287 _ACEOF2288 if ac_fn_cxx_try_run "$LINENO"; then :2289 echo >>conftest.val; read $3 <conftest.val; ac_retval=02290 else2291 ac_retval=12292 fi2293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2294 conftest.$ac_objext conftest.beam conftest.$ac_ext2295 rm -f conftest.val2296 2297 fi2298 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2299 as_fn_set_status $ac_retval2300 2301 } # ac_fn_cxx_compute_int2302 1458 cat >config.log <<_ACEOF 2303 1459 This file contains any messages produced by compilers while … … 2305 1461 2306 1462 It was created by Rappture $as_me 1.1, which was 2307 generated by GNU Autoconf 2.6 5. Invocation command line was1463 generated by GNU Autoconf 2.61. Invocation command line was 2308 1464 2309 1465 $ $0 $@ … … 2341 1497 IFS=$as_save_IFS 2342 1498 test -z "$as_dir" && as_dir=. 2343 $as_echo "PATH: $as_dir"2344 1499 echo "PATH: $as_dir" 1500 done 2345 1501 IFS=$as_save_IFS 2346 1502 … … 2376 1532 continue ;; 2377 1533 *\'*) 2378 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1534 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2379 1535 esac 2380 1536 case $ac_pass in 2381 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1537 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2382 1538 2) 2383 a s_fn_append ac_configure_args1 "'$ac_arg'"1539 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2384 1540 if test $ac_must_keep_next = true; then 2385 1541 ac_must_keep_next=false # Got value, back to normal. … … 2397 1553 esac 2398 1554 fi 2399 a s_fn_append ac_configure_args "'$ac_arg'"1555 ac_configure_args="$ac_configure_args '$ac_arg'" 2400 1556 ;; 2401 1557 esac 2402 1558 done 2403 1559 done 2404 { ac_configure_args0=; unset ac_configure_args0;}2405 { ac_configure_args1=; unset ac_configure_args1;}1560 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1561 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2406 1562 2407 1563 # When interrupted or exit'd, cleanup temporary files, and complete … … 2428 1584 *${as_nl}*) 2429 1585 case $ac_var in #( 2430 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&52431 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1586 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1587 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2432 1588 esac 2433 1589 case $ac_var in #( 2434 1590 _ | IFS | as_nl) ;; #( 2435 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2436 *) { eval $ac_var=; unset $ac_var;} ;; 1591 *) $as_unset $ac_var ;; 2437 1592 esac ;; 2438 1593 esac … … 2463 1618 eval ac_val=\$$ac_var 2464 1619 case $ac_val in 2465 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1620 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2466 1621 esac 2467 $as_echo "$ac_var='\''$ac_val'\''"1622 echo "$ac_var='\''$ac_val'\''" 2468 1623 done | sort 2469 1624 echo … … 2480 1635 eval ac_val=\$$ac_var 2481 1636 case $ac_val in 2482 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1637 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2483 1638 esac 2484 $as_echo "$ac_var='\''$ac_val'\''"1639 echo "$ac_var='\''$ac_val'\''" 2485 1640 done | sort 2486 1641 echo … … 2498 1653 fi 2499 1654 test "$ac_signal" != 0 && 2500 $as_echo "$as_me: caught signal $ac_signal"2501 $as_echo "$as_me: exit $exit_status"1655 echo "$as_me: caught signal $ac_signal" 1656 echo "$as_me: exit $exit_status" 2502 1657 } >&5 2503 1658 rm -f core *.core core.conftest.* && … … 2506 1661 ' 0 2507 1662 for ac_signal in 1 2 13 15; do 2508 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1663 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2509 1664 done 2510 1665 ac_signal=0 … … 2513 1668 rm -f -r conftest* confdefs.h 2514 1669 2515 $as_echo "/* confdefs.h */" > confdefs.h2516 2517 1670 # Predefined preprocessor variables. 2518 1671 … … 2521 1674 _ACEOF 2522 1675 1676 2523 1677 cat >>confdefs.h <<_ACEOF 2524 1678 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2525 1679 _ACEOF 2526 1680 1681 2527 1682 cat >>confdefs.h <<_ACEOF 2528 1683 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2529 1684 _ACEOF 2530 1685 1686 2531 1687 cat >>confdefs.h <<_ACEOF 2532 1688 #define PACKAGE_STRING "$PACKAGE_STRING" 2533 1689 _ACEOF 2534 1690 1691 2535 1692 cat >>confdefs.h <<_ACEOF 2536 1693 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2537 1694 _ACEOF 2538 1695 2539 cat >>confdefs.h <<_ACEOF2540 #define PACKAGE_URL "$PACKAGE_URL"2541 _ACEOF2542 2543 1696 2544 1697 # Let the site file select an alternate cache file if it wants to. 2545 # Prefer an explicitly selected file to automatically selected ones. 2546 ac_site_file1=NONE 2547 ac_site_file2=NONE 1698 # Prefer explicitly selected file to automatically selected ones. 2548 1699 if test -n "$CONFIG_SITE"; then 2549 ac_site_file1=$CONFIG_SITE1700 set x "$CONFIG_SITE" 2550 1701 elif test "x$prefix" != xNONE; then 2551 ac_site_file1=$prefix/share/config.site2552 ac_site_file2=$prefix/etc/config.site2553 else 2554 ac_site_file1=$ac_default_prefix/share/config.site 2555 ac_site_file2=$ac_default_prefix/etc/config.site 2556 fi 2557 for ac_site_file in "$ac_site_file1" "$ac_site_file2"1702 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1703 else 1704 set x "$ac_default_prefix/share/config.site" \ 1705 "$ac_default_prefix/etc/config.site" 1706 fi 1707 shift 1708 for ac_site_file 2558 1709 do 2559 test "x$ac_site_file" = xNONE && continue 2560 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2561 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2562 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1710 if test -r "$ac_site_file"; then 1711 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1712 echo "$as_me: loading site script $ac_site_file" >&6;} 2563 1713 sed 's/^/| /' "$ac_site_file" >&5 2564 1714 . "$ac_site_file" … … 2567 1717 2568 1718 if test -r "$cache_file"; then 2569 # Some versions of bash will fail to source /dev/null (special files2570 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2571 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2572 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52573 $as_echo "$as_me: loading cache $cache_file" >&6;}1719 # Some versions of bash will fail to source /dev/null (special 1720 # files actually), so we avoid doing that. 1721 if test -f "$cache_file"; then 1722 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1723 echo "$as_me: loading cache $cache_file" >&6;} 2574 1724 case $cache_file in 2575 1725 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 2578 1728 fi 2579 1729 else 2580 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52581 $as_echo "$as_me: creating cache $cache_file" >&6;}1730 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1731 echo "$as_me: creating cache $cache_file" >&6;} 2582 1732 >$cache_file 2583 1733 fi … … 2593 1743 case $ac_old_set,$ac_new_set in 2594 1744 set,) 2595 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52596 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1745 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1746 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2597 1747 ac_cache_corrupted=: ;; 2598 1748 ,set) 2599 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52600 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1749 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1750 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2601 1751 ac_cache_corrupted=: ;; 2602 1752 ,);; 2603 1753 *) 2604 1754 if test "x$ac_old_val" != "x$ac_new_val"; then 2605 # differences in whitespace do not lead to failure. 2606 ac_old_val_w=`echo x $ac_old_val` 2607 ac_new_val_w=`echo x $ac_new_val` 2608 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2610 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2611 ac_cache_corrupted=: 2612 else 2613 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2614 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2615 eval $ac_var=\$ac_old_val 2616 fi 2617 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2618 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2619 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2620 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1755 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1756 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1757 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1758 echo "$as_me: former value: $ac_old_val" >&2;} 1759 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1760 echo "$as_me: current value: $ac_new_val" >&2;} 1761 ac_cache_corrupted=: 2621 1762 fi;; 2622 1763 esac … … 2624 1765 if test "$ac_new_set" = set; then 2625 1766 case $ac_new_val in 2626 *\'*) ac_arg=$ac_var=` $as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1767 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2627 1768 *) ac_arg=$ac_var=$ac_new_val ;; 2628 1769 esac 2629 1770 case " $ac_configure_args " in 2630 1771 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2631 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1772 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2632 1773 esac 2633 1774 fi 2634 1775 done 2635 1776 if $ac_cache_corrupted; then 2636 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2639 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2640 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2641 fi 2642 ## -------------------- ## 2643 ## Main body of script. ## 2644 ## -------------------- ## 1777 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1778 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1779 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1780 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1781 { (exit 1); exit 1; }; } 1782 fi 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 2645 1807 2646 1808 ac_ext=c … … 2653 1815 ac_aux_dir= 2654 1816 for ac_dir in cf "$srcdir"/cf; do 2655 for ac_t in install-sh install.sh shtool; do 2656 if test -f "$ac_dir/$ac_t"; then 2657 ac_aux_dir=$ac_dir 2658 ac_install_sh="$ac_aux_dir/$ac_t -c" 2659 break 2 2660 fi 2661 done 1817 if test -f "$ac_dir/install-sh"; then 1818 ac_aux_dir=$ac_dir 1819 ac_install_sh="$ac_aux_dir/install-sh -c" 1820 break 1821 elif test -f "$ac_dir/install.sh"; then 1822 ac_aux_dir=$ac_dir 1823 ac_install_sh="$ac_aux_dir/install.sh -c" 1824 break 1825 elif test -f "$ac_dir/shtool"; then 1826 ac_aux_dir=$ac_dir 1827 ac_install_sh="$ac_aux_dir/shtool install -c" 1828 break 1829 fi 2662 1830 done 2663 1831 if test -z "$ac_aux_dir"; then 2664 as_fn_error "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1833 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1834 { (exit 1); exit 1; }; } 2665 1835 fi 2666 1836 … … 2709 1879 # OS/2's system install, which has a completely different semantic 2710 1880 # ./install, which can be erroneously created by make from ./install.sh. 2711 # Reject install programs that cannot install multiple files. 2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2713 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1881 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1882 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2714 1883 if test -z "$INSTALL"; then 2715 if test "${ac_cv_path_install+set}" = set; then :2716 $as_echo_n "(cached)" >&61884 if test "${ac_cv_path_install+set}" = set; then 1885 echo $ECHO_N "(cached) $ECHO_C" >&6 2717 1886 else 2718 1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2721 1890 IFS=$as_save_IFS 2722 1891 test -z "$as_dir" && as_dir=. 2723 2724 case $as_dir/ in #((2725 ./ | .// | / [cC]/* | \1892 # Account for people who put trailing slashes in PATH elements. 1893 case $as_dir/ in 1894 ./ | .// | /cC/* | \ 2726 1895 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2727 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \1896 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2728 1897 /usr/ucb/* ) ;; 2729 1898 *) … … 2743 1912 : 2744 1913 else 2745 rm -rf conftest.one conftest.two conftest.dir 2746 echo one > conftest.one 2747 echo two > conftest.two 2748 mkdir conftest.dir 2749 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2750 test -s conftest.one && test -s conftest.two && 2751 test -s conftest.dir/conftest.one && 2752 test -s conftest.dir/conftest.two 2753 then 2754 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2755 break 3 2756 fi 1914 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1915 break 3 2757 1916 fi 2758 1917 fi … … 2761 1920 ;; 2762 1921 esac 2763 2764 done 1922 done 2765 1923 IFS=$as_save_IFS 2766 1924 2767 rm -rf conftest.one conftest.two conftest.dir2768 1925 2769 1926 fi … … 2778 1935 fi 2779 1936 fi 2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&52781 $as_echo "$INSTALL" >&6; }1937 { echo "$as_me:$LINENO: result: $INSTALL" >&5 1938 echo "${ECHO_T}$INSTALL" >&6; } 2782 1939 2783 1940 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2789 1946 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2790 1947 2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2792 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2793 set x ${MAKE-make} 2794 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2795 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2796 $as_echo_n "(cached) " >&6 1948 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1949 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1950 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1951 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1952 echo $ECHO_N "(cached) $ECHO_C" >&6 2797 1953 else 2798 1954 cat >conftest.make <<\_ACEOF … … 2811 1967 fi 2812 1968 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&52814 $as_echo "yes" >&6; }1969 { echo "$as_me:$LINENO: result: yes" >&5 1970 echo "${ECHO_T}yes" >&6; } 2815 1971 SET_MAKE= 2816 1972 else 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52818 $as_echo "no" >&6; }1973 { echo "$as_me:$LINENO: result: no" >&5 1974 echo "${ECHO_T}no" >&6; } 2819 1975 SET_MAKE="MAKE=${MAKE-make}" 2820 1976 fi … … 2830 1986 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2831 1987 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52833 $as_echo_n "checking for $ac_word..." >&6; }2834 if test "${ac_cv_prog_CC+set}" = set; then :2835 $as_echo_n "(cached)" >&61988 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1990 if test "${ac_cv_prog_CC+set}" = set; then 1991 echo $ECHO_N "(cached) $ECHO_C" >&6 2836 1992 else 2837 1993 if test -n "$CC"; then … … 2843 1999 IFS=$as_save_IFS 2844 2000 test -z "$as_dir" && as_dir=. 2845 2001 for ac_exec_ext in '' $ac_executable_extensions; do 2846 2002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2847 2003 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2849 2005 break 2 2850 2006 fi 2851 2007 done 2852 2008 done 2853 2009 IFS=$as_save_IFS 2854 2010 … … 2857 2013 CC=$ac_cv_prog_CC 2858 2014 if test -n "$CC"; then 2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52860 $as_echo "$CC" >&6; }2861 else 2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52863 $as_echo "no" >&6; }2015 { echo "$as_me:$LINENO: result: $CC" >&5 2016 echo "${ECHO_T}$CC" >&6; } 2017 else 2018 { echo "$as_me:$LINENO: result: no" >&5 2019 echo "${ECHO_T}no" >&6; } 2864 2020 fi 2865 2021 … … 2870 2026 # Extract the first word of "gcc", so it can be a program name with args. 2871 2027 set dummy gcc; ac_word=$2 2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52873 $as_echo_n "checking for $ac_word..." >&6; }2874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2875 $as_echo_n "(cached)" >&62028 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2031 echo $ECHO_N "(cached) $ECHO_C" >&6 2876 2032 else 2877 2033 if test -n "$ac_ct_CC"; then … … 2883 2039 IFS=$as_save_IFS 2884 2040 test -z "$as_dir" && as_dir=. 2885 2041 for ac_exec_ext in '' $ac_executable_extensions; do 2886 2042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2887 2043 ac_cv_prog_ac_ct_CC="gcc" 2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2889 2045 break 2 2890 2046 fi 2891 2047 done 2892 2048 done 2893 2049 IFS=$as_save_IFS 2894 2050 … … 2897 2053 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2898 2054 if test -n "$ac_ct_CC"; then 2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52900 $as_echo "$ac_ct_CC" >&6; }2901 else 2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52903 $as_echo "no" >&6; }2055 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2056 echo "${ECHO_T}$ac_ct_CC" >&6; } 2057 else 2058 { echo "$as_me:$LINENO: result: no" >&5 2059 echo "${ECHO_T}no" >&6; } 2904 2060 fi 2905 2061 … … 2909 2065 case $cross_compiling:$ac_tool_warned in 2910 2066 yes:) 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2067 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2068 whose name does not start with the host triplet. If you think this 2069 configuration is useful to you, please write to autoconf@gnu.org." >&5 2070 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2071 whose name does not start with the host triplet. If you think this 2072 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2913 2073 ac_tool_warned=yes ;; 2914 2074 esac … … 2923 2083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2924 2084 set dummy ${ac_tool_prefix}cc; ac_word=$2 2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52926 $as_echo_n "checking for $ac_word..." >&6; }2927 if test "${ac_cv_prog_CC+set}" = set; then :2928 $as_echo_n "(cached)" >&62085 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2087 if test "${ac_cv_prog_CC+set}" = set; then 2088 echo $ECHO_N "(cached) $ECHO_C" >&6 2929 2089 else 2930 2090 if test -n "$CC"; then … … 2936 2096 IFS=$as_save_IFS 2937 2097 test -z "$as_dir" && as_dir=. 2938 2098 for ac_exec_ext in '' $ac_executable_extensions; do 2939 2099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2940 2100 ac_cv_prog_CC="${ac_tool_prefix}cc" 2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2942 2102 break 2 2943 2103 fi 2944 2104 done 2945 2105 done 2946 2106 IFS=$as_save_IFS 2947 2107 … … 2950 2110 CC=$ac_cv_prog_CC 2951 2111 if test -n "$CC"; then 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52953 $as_echo "$CC" >&6; }2954 else 2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52956 $as_echo "no" >&6; }2112 { echo "$as_me:$LINENO: result: $CC" >&5 2113 echo "${ECHO_T}$CC" >&6; } 2114 else 2115 { echo "$as_me:$LINENO: result: no" >&5 2116 echo "${ECHO_T}no" >&6; } 2957 2117 fi 2958 2118 … … 2963 2123 # Extract the first word of "cc", so it can be a program name with args. 2964 2124 set dummy cc; ac_word=$2 2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52966 $as_echo_n "checking for $ac_word..." >&6; }2967 if test "${ac_cv_prog_CC+set}" = set; then :2968 $as_echo_n "(cached)" >&62125 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2127 if test "${ac_cv_prog_CC+set}" = set; then 2128 echo $ECHO_N "(cached) $ECHO_C" >&6 2969 2129 else 2970 2130 if test -n "$CC"; then … … 2977 2137 IFS=$as_save_IFS 2978 2138 test -z "$as_dir" && as_dir=. 2979 2139 for ac_exec_ext in '' $ac_executable_extensions; do 2980 2140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2981 2141 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2984 2144 fi 2985 2145 ac_cv_prog_CC="cc" 2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2987 2147 break 2 2988 2148 fi 2989 2149 done 2990 2150 done 2991 2151 IFS=$as_save_IFS 2992 2152 … … 3007 2167 CC=$ac_cv_prog_CC 3008 2168 if test -n "$CC"; then 3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&53010 $as_echo "$CC" >&6; }3011 else 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53013 $as_echo "no" >&6; }2169 { echo "$as_me:$LINENO: result: $CC" >&5 2170 echo "${ECHO_T}$CC" >&6; } 2171 else 2172 { echo "$as_me:$LINENO: result: no" >&5 2173 echo "${ECHO_T}no" >&6; } 3014 2174 fi 3015 2175 … … 3022 2182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3023 2183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53025 $as_echo_n "checking for $ac_word..." >&6; }3026 if test "${ac_cv_prog_CC+set}" = set; then :3027 $as_echo_n "(cached)" >&62184 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2186 if test "${ac_cv_prog_CC+set}" = set; then 2187 echo $ECHO_N "(cached) $ECHO_C" >&6 3028 2188 else 3029 2189 if test -n "$CC"; then … … 3035 2195 IFS=$as_save_IFS 3036 2196 test -z "$as_dir" && as_dir=. 3037 2197 for ac_exec_ext in '' $ac_executable_extensions; do 3038 2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3039 2199 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3041 2201 break 2 3042 2202 fi 3043 2203 done 3044 2204 done 3045 2205 IFS=$as_save_IFS 3046 2206 … … 3049 2209 CC=$ac_cv_prog_CC 3050 2210 if test -n "$CC"; then 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&53052 $as_echo "$CC" >&6; }3053 else 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53055 $as_echo "no" >&6; }2211 { echo "$as_me:$LINENO: result: $CC" >&5 2212 echo "${ECHO_T}$CC" >&6; } 2213 else 2214 { echo "$as_me:$LINENO: result: no" >&5 2215 echo "${ECHO_T}no" >&6; } 3056 2216 fi 3057 2217 … … 3066 2226 # Extract the first word of "$ac_prog", so it can be a program name with args. 3067 2227 set dummy $ac_prog; ac_word=$2 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53069 $as_echo_n "checking for $ac_word..." >&6; }3070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :3071 $as_echo_n "(cached)" >&62228 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2231 echo $ECHO_N "(cached) $ECHO_C" >&6 3072 2232 else 3073 2233 if test -n "$ac_ct_CC"; then … … 3079 2239 IFS=$as_save_IFS 3080 2240 test -z "$as_dir" && as_dir=. 3081 2241 for ac_exec_ext in '' $ac_executable_extensions; do 3082 2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3083 2243 ac_cv_prog_ac_ct_CC="$ac_prog" 3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3085 2245 break 2 3086 2246 fi 3087 2247 done 3088 2248 done 3089 2249 IFS=$as_save_IFS 3090 2250 … … 3093 2253 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3094 2254 if test -n "$ac_ct_CC"; then 3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&53096 $as_echo "$ac_ct_CC" >&6; }3097 else 3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53099 $as_echo "no" >&6; }2255 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2256 echo "${ECHO_T}$ac_ct_CC" >&6; } 2257 else 2258 { echo "$as_me:$LINENO: result: no" >&5 2259 echo "${ECHO_T}no" >&6; } 3100 2260 fi 3101 2261 … … 3109 2269 case $cross_compiling:$ac_tool_warned in 3110 2270 yes:) 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2271 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2272 whose name does not start with the host triplet. If you think this 2273 configuration is useful to you, please write to autoconf@gnu.org." >&5 2274 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2275 whose name does not start with the host triplet. If you think this 2276 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3113 2277 ac_tool_warned=yes ;; 3114 2278 esac … … 3120 2284 3121 2285 3122 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3124 as_fn_error "no acceptable C compiler found in \$PATH 3125 See \`config.log' for more details." "$LINENO" 5; } 2286 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2287 See \`config.log' for more details." >&5 2288 echo "$as_me: error: no acceptable C compiler found in \$PATH 2289 See \`config.log' for more details." >&2;} 2290 { (exit 1); exit 1; }; } 3126 2291 3127 2292 # Provide some information about the compiler. 3128 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3129 set X $ac_compile 3130 ac_compiler=$2 3131 for ac_option in --version -v -V -qversion; do 3132 { { ac_try="$ac_compiler $ac_option >&5" 2293 echo "$as_me:$LINENO: checking for C compiler version" >&5 2294 ac_compiler=`set X $ac_compile; echo $2` 2295 { (ac_try="$ac_compiler --version >&5" 3133 2296 case "(($ac_try" in 3134 2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3135 2298 *) ac_try_echo=$ac_try;; 3136 2299 esac 3137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3138 $as_echo "$ac_try_echo"; } >&5 3139 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2301 (eval "$ac_compiler --version >&5") 2>&5 3140 2302 ac_status=$? 3141 if test -s conftest.err; then 3142 sed '10a\ 3143 ... rest of stderr output deleted ... 3144 10q' conftest.err >conftest.er1 3145 cat conftest.er1 >&5 3146 fi 3147 rm -f conftest.er1 conftest.err 3148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3149 test $ac_status = 0; } 3150 done 3151 3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2304 (exit $ac_status); } 2305 { (ac_try="$ac_compiler -v >&5" 2306 case "(($ac_try" in 2307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2308 *) ac_try_echo=$ac_try;; 2309 esac 2310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2311 (eval "$ac_compiler -v >&5") 2>&5 2312 ac_status=$? 2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2314 (exit $ac_status); } 2315 { (ac_try="$ac_compiler -V >&5" 2316 case "(($ac_try" in 2317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2318 *) ac_try_echo=$ac_try;; 2319 esac 2320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2321 (eval "$ac_compiler -V >&5") 2>&5 2322 ac_status=$? 2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2324 (exit $ac_status); } 2325 2326 cat >conftest.$ac_ext <<_ACEOF 2327 /* confdefs.h. */ 2328 _ACEOF 2329 cat confdefs.h >>conftest.$ac_ext 2330 cat >>conftest.$ac_ext <<_ACEOF 3153 2331 /* end confdefs.h. */ 3154 2332 … … 3162 2340 _ACEOF 3163 2341 ac_clean_files_save=$ac_clean_files 3164 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"2342 ac_clean_files="$ac_clean_files a.out a.exe b.out" 3165 2343 # Try to create an executable without -o first, disregard a.out. 3166 2344 # It will help us diagnose broken compilers, and finding out an intuition 3167 2345 # of exeext. 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3169 $as_echo_n "checking whether the C compiler works... " >&6; } 3170 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3171 3172 # The possible output files: 3173 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3174 2346 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2347 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2348 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2349 # 2350 # List of possible output files, starting from the most likely. 2351 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2352 # only as a last resort. b.out is created by i960 compilers. 2353 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2354 # 2355 # The IRIX 6 linker writes into existing files which may not be 2356 # executable, retaining their permissions. Remove them first so a 2357 # subsequent execution test works. 3175 2358 ac_rmfiles= 3176 2359 for ac_file in $ac_files 3177 2360 do 3178 2361 case $ac_file in 3179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3180 2363 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3181 2364 esac … … 3183 2366 rm -f $ac_rmfiles 3184 2367 3185 if { {ac_try="$ac_link_default"2368 if { (ac_try="$ac_link_default" 3186 2369 case "(($ac_try" in 3187 2370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3188 2371 *) ac_try_echo=$ac_try;; 3189 2372 esac 3190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3191 $as_echo "$ac_try_echo"; } >&5 2373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3192 2374 (eval "$ac_link_default") 2>&5 3193 2375 ac_status=$? 3194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53195 test $ac_status = 0; }; then :2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2377 (exit $ac_status); }; then 3196 2378 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3197 2379 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3203 2385 test -f "$ac_file" || continue 3204 2386 case $ac_file in 3205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj )2387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3206 2388 ;; 3207 2389 [ab].out ) … … 3210 2392 break;; 3211 2393 *.* ) 3212 2394 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3213 2395 then :; else 3214 2396 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3229 2411 ac_file='' 3230 2412 fi 3231 if test -z "$ac_file"; then : 3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3233 $as_echo "no" >&6; } 3234 $as_echo "$as_me: failed program was:" >&5 2413 2414 { echo "$as_me:$LINENO: result: $ac_file" >&5 2415 echo "${ECHO_T}$ac_file" >&6; } 2416 if test -z "$ac_file"; then 2417 echo "$as_me: failed program was:" >&5 3235 2418 sed 's/^/| /' conftest.$ac_ext >&5 3236 2419 3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3239 { as_fn_set_status 77 3240 as_fn_error "C compiler cannot create executables 3241 See \`config.log' for more details." "$LINENO" 5; }; } 3242 else 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3244 $as_echo "yes" >&6; } 3245 fi 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3247 $as_echo_n "checking for C compiler default output file name... " >&6; } 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3249 $as_echo "$ac_file" >&6; } 2420 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2421 See \`config.log' for more details." >&5 2422 echo "$as_me: error: C compiler cannot create executables 2423 See \`config.log' for more details." >&2;} 2424 { (exit 77); exit 77; }; } 2425 fi 2426 3250 2427 ac_exeext=$ac_cv_exeext 3251 2428 3252 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2429 # Check that the compiler produces executables we can run. If not, either 2430 # the compiler is broken, or we cross compile. 2431 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2432 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2433 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2434 # If not cross compiling, check that we can run a simple program. 2435 if test "$cross_compiling" != yes; then 2436 if { ac_try='./$ac_file' 2437 { (case "(($ac_try" in 2438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2439 *) ac_try_echo=$ac_try;; 2440 esac 2441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2442 (eval "$ac_try") 2>&5 2443 ac_status=$? 2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2445 (exit $ac_status); }; }; then 2446 cross_compiling=no 2447 else 2448 if test "$cross_compiling" = maybe; then 2449 cross_compiling=yes 2450 else 2451 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2452 If you meant to cross compile, use \`--host'. 2453 See \`config.log' for more details." >&5 2454 echo "$as_me: error: cannot run C compiled programs. 2455 If you meant to cross compile, use \`--host'. 2456 See \`config.log' for more details." >&2;} 2457 { (exit 1); exit 1; }; } 2458 fi 2459 fi 2460 fi 2461 { echo "$as_me:$LINENO: result: yes" >&5 2462 echo "${ECHO_T}yes" >&6; } 2463 2464 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3253 2465 ac_clean_files=$ac_clean_files_save 3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3255 $as_echo_n "checking for suffix of executables... " >&6; } 3256 if { { ac_try="$ac_link" 2466 # Check that the compiler produces executables we can run. If not, either 2467 # the compiler is broken, or we cross compile. 2468 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2469 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2470 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2471 echo "${ECHO_T}$cross_compiling" >&6; } 2472 2473 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2474 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2475 if { (ac_try="$ac_link" 3257 2476 case "(($ac_try" in 3258 2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3259 2478 *) ac_try_echo=$ac_try;; 3260 2479 esac 3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3262 $as_echo "$ac_try_echo"; } >&5 2480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3263 2481 (eval "$ac_link") 2>&5 3264 2482 ac_status=$? 3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53266 test $ac_status = 0; }; then :2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2484 (exit $ac_status); }; then 3267 2485 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3268 2486 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3272 2490 test -f "$ac_file" || continue 3273 2491 case $ac_file in 3274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3275 2493 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3276 2494 break;; … … 3279 2497 done 3280 2498 else 3281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3283 as_fn_error "cannot compute suffix of executables: cannot compile and link 3284 See \`config.log' for more details." "$LINENO" 5; } 3285 fi 3286 rm -f conftest conftest$ac_cv_exeext 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3288 $as_echo "$ac_cv_exeext" >&6; } 2499 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2500 See \`config.log' for more details." >&5 2501 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2502 See \`config.log' for more details." >&2;} 2503 { (exit 1); exit 1; }; } 2504 fi 2505 2506 rm -f conftest$ac_cv_exeext 2507 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2508 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3289 2509 3290 2510 rm -f conftest.$ac_ext 3291 2511 EXEEXT=$ac_cv_exeext 3292 2512 ac_exeext=$EXEEXT 3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2513 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2514 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2515 if test "${ac_cv_objext+set}" = set; then 2516 echo $ECHO_N "(cached) $ECHO_C" >&6 2517 else 2518 cat >conftest.$ac_ext <<_ACEOF 2519 /* confdefs.h. */ 2520 _ACEOF 2521 cat confdefs.h >>conftest.$ac_ext 2522 cat >>conftest.$ac_ext <<_ACEOF 3294 2523 /* end confdefs.h. */ 3295 #include <stdio.h> 2524 3296 2525 int 3297 2526 main () 3298 2527 { 3299 FILE *f = fopen ("conftest.out", "w");3300 return ferror (f) || fclose (f) != 0;3301 2528 3302 2529 ; … … 3304 2531 } 3305 2532 _ACEOF 3306 ac_clean_files="$ac_clean_files conftest.out" 3307 # Check that the compiler produces executables we can run. If not, either 3308 # the compiler is broken, or we cross compile. 3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3310 $as_echo_n "checking whether we are cross compiling... " >&6; } 3311 if test "$cross_compiling" != yes; then 3312 { { ac_try="$ac_link" 2533 rm -f conftest.o conftest.obj 2534 if { (ac_try="$ac_compile" 3313 2535 case "(($ac_try" in 3314 2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3315 2537 *) ac_try_echo=$ac_try;; 3316 2538 esac 3317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3318 $as_echo "$ac_try_echo"; } >&5 3319 (eval "$ac_link") 2>&5 3320 ac_status=$? 3321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3322 test $ac_status = 0; } 3323 if { ac_try='./conftest$ac_cv_exeext' 3324 { { case "(($ac_try" in 3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3326 *) ac_try_echo=$ac_try;; 3327 esac 3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3329 $as_echo "$ac_try_echo"; } >&5 3330 (eval "$ac_try") 2>&5 3331 ac_status=$? 3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3333 test $ac_status = 0; }; }; then 3334 cross_compiling=no 3335 else 3336 if test "$cross_compiling" = maybe; then 3337 cross_compiling=yes 3338 else 3339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3341 as_fn_error "cannot run C compiled programs. 3342 If you meant to cross compile, use \`--host'. 3343 See \`config.log' for more details." "$LINENO" 5; } 3344 fi 3345 fi 3346 fi 3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3348 $as_echo "$cross_compiling" >&6; } 3349 3350 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3351 ac_clean_files=$ac_clean_files_save 3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3353 $as_echo_n "checking for suffix of object files... " >&6; } 3354 if test "${ac_cv_objext+set}" = set; then : 3355 $as_echo_n "(cached) " >&6 3356 else 3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3358 /* end confdefs.h. */ 3359 3360 int 3361 main () 3362 { 3363 3364 ; 3365 return 0; 3366 } 3367 _ACEOF 3368 rm -f conftest.o conftest.obj 3369 if { { ac_try="$ac_compile" 3370 case "(($ac_try" in 3371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3372 *) ac_try_echo=$ac_try;; 3373 esac 3374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3375 $as_echo "$ac_try_echo"; } >&5 2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3376 2540 (eval "$ac_compile") 2>&5 3377 2541 ac_status=$? 3378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53379 test $ac_status = 0; }; then :2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2543 (exit $ac_status); }; then 3380 2544 for ac_file in conftest.o conftest.obj conftest.*; do 3381 2545 test -f "$ac_file" || continue; 3382 2546 case $ac_file in 3383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3384 2548 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3385 2549 break;; … … 3387 2551 done 3388 2552 else 3389 $as_echo "$as_me: failed program was:" >&52553 echo "$as_me: failed program was:" >&5 3390 2554 sed 's/^/| /' conftest.$ac_ext >&5 3391 2555 3392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3394 as_fn_error "cannot compute suffix of object files: cannot compile 3395 See \`config.log' for more details." "$LINENO" 5; } 3396 fi 2556 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2557 See \`config.log' for more details." >&5 2558 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2559 See \`config.log' for more details." >&2;} 2560 { (exit 1); exit 1; }; } 2561 fi 2562 3397 2563 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3398 2564 fi 3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&53400 $as_echo "$ac_cv_objext" >&6; }2565 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2566 echo "${ECHO_T}$ac_cv_objext" >&6; } 3401 2567 OBJEXT=$ac_cv_objext 3402 2568 ac_objext=$OBJEXT 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3404 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3405 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3406 $as_echo_n "(cached) " >&6 3407 else 3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2569 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2570 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2571 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2572 echo $ECHO_N "(cached) $ECHO_C" >&6 2573 else 2574 cat >conftest.$ac_ext <<_ACEOF 2575 /* confdefs.h. */ 2576 _ACEOF 2577 cat confdefs.h >>conftest.$ac_ext 2578 cat >>conftest.$ac_ext <<_ACEOF 3409 2579 /* end confdefs.h. */ 3410 2580 … … 3420 2590 } 3421 2591 _ACEOF 3422 if ac_fn_c_try_compile "$LINENO"; then : 2592 rm -f conftest.$ac_objext 2593 if { (ac_try="$ac_compile" 2594 case "(($ac_try" in 2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2596 *) ac_try_echo=$ac_try;; 2597 esac 2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2599 (eval "$ac_compile") 2>conftest.er1 2600 ac_status=$? 2601 grep -v '^ *+' conftest.er1 >conftest.err 2602 rm -f conftest.er1 2603 cat conftest.err >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2605 (exit $ac_status); } && { 2606 test -z "$ac_c_werror_flag" || 2607 test ! -s conftest.err 2608 } && test -s conftest.$ac_objext; then 3423 2609 ac_compiler_gnu=yes 3424 2610 else 3425 ac_compiler_gnu=no 3426 fi 2611 echo "$as_me: failed program was:" >&5 2612 sed 's/^/| /' conftest.$ac_ext >&5 2613 2614 ac_compiler_gnu=no 2615 fi 2616 3427 2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3428 2618 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3429 2619 3430 2620 fi 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3432 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3433 if test $ac_compiler_gnu = yes; then 3434 GCC=yes 3435 else 3436 GCC= 3437 fi 2621 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2622 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2623 GCC=`test $ac_compiler_gnu = yes && echo yes` 3438 2624 ac_test_CFLAGS=${CFLAGS+set} 3439 2625 ac_save_CFLAGS=$CFLAGS 3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&53441 $as_echo_n "checking whether $CC accepts -g..." >&6; }3442 if test "${ac_cv_prog_cc_g+set}" = set; then :3443 $as_echo_n "(cached)" >&62626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2628 if test "${ac_cv_prog_cc_g+set}" = set; then 2629 echo $ECHO_N "(cached) $ECHO_C" >&6 3444 2630 else 3445 2631 ac_save_c_werror_flag=$ac_c_werror_flag … … 3447 2633 ac_cv_prog_cc_g=no 3448 2634 CFLAGS="-g" 3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2635 cat >conftest.$ac_ext <<_ACEOF 2636 /* confdefs.h. */ 2637 _ACEOF 2638 cat confdefs.h >>conftest.$ac_ext 2639 cat >>conftest.$ac_ext <<_ACEOF 3450 2640 /* end confdefs.h. */ 3451 2641 … … 3458 2648 } 3459 2649 _ACEOF 3460 if ac_fn_c_try_compile "$LINENO"; then : 2650 rm -f conftest.$ac_objext 2651 if { (ac_try="$ac_compile" 2652 case "(($ac_try" in 2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2654 *) ac_try_echo=$ac_try;; 2655 esac 2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2657 (eval "$ac_compile") 2>conftest.er1 2658 ac_status=$? 2659 grep -v '^ *+' conftest.er1 >conftest.err 2660 rm -f conftest.er1 2661 cat conftest.err >&5 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 (exit $ac_status); } && { 2664 test -z "$ac_c_werror_flag" || 2665 test ! -s conftest.err 2666 } && test -s conftest.$ac_objext; then 3461 2667 ac_cv_prog_cc_g=yes 3462 2668 else 3463 CFLAGS="" 3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2669 echo "$as_me: failed program was:" >&5 2670 sed 's/^/| /' conftest.$ac_ext >&5 2671 2672 CFLAGS="" 2673 cat >conftest.$ac_ext <<_ACEOF 2674 /* confdefs.h. */ 2675 _ACEOF 2676 cat confdefs.h >>conftest.$ac_ext 2677 cat >>conftest.$ac_ext <<_ACEOF 3465 2678 /* end confdefs.h. */ 3466 2679 … … 3473 2686 } 3474 2687 _ACEOF 3475 if ac_fn_c_try_compile "$LINENO"; then : 3476 3477 else 3478 ac_c_werror_flag=$ac_save_c_werror_flag 2688 rm -f conftest.$ac_objext 2689 if { (ac_try="$ac_compile" 2690 case "(($ac_try" in 2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2692 *) ac_try_echo=$ac_try;; 2693 esac 2694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2695 (eval "$ac_compile") 2>conftest.er1 2696 ac_status=$? 2697 grep -v '^ *+' conftest.er1 >conftest.err 2698 rm -f conftest.er1 2699 cat conftest.err >&5 2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2701 (exit $ac_status); } && { 2702 test -z "$ac_c_werror_flag" || 2703 test ! -s conftest.err 2704 } && test -s conftest.$ac_objext; then 2705 : 2706 else 2707 echo "$as_me: failed program was:" >&5 2708 sed 's/^/| /' conftest.$ac_ext >&5 2709 2710 ac_c_werror_flag=$ac_save_c_werror_flag 3479 2711 CFLAGS="-g" 3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2712 cat >conftest.$ac_ext <<_ACEOF 2713 /* confdefs.h. */ 2714 _ACEOF 2715 cat confdefs.h >>conftest.$ac_ext 2716 cat >>conftest.$ac_ext <<_ACEOF 3481 2717 /* end confdefs.h. */ 3482 2718 … … 3489 2725 } 3490 2726 _ACEOF 3491 if ac_fn_c_try_compile "$LINENO"; then : 2727 rm -f conftest.$ac_objext 2728 if { (ac_try="$ac_compile" 2729 case "(($ac_try" in 2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2731 *) ac_try_echo=$ac_try;; 2732 esac 2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2734 (eval "$ac_compile") 2>conftest.er1 2735 ac_status=$? 2736 grep -v '^ *+' conftest.er1 >conftest.err 2737 rm -f conftest.er1 2738 cat conftest.err >&5 2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2740 (exit $ac_status); } && { 2741 test -z "$ac_c_werror_flag" || 2742 test ! -s conftest.err 2743 } && test -s conftest.$ac_objext; then 3492 2744 ac_cv_prog_cc_g=yes 3493 fi 2745 else 2746 echo "$as_me: failed program was:" >&5 2747 sed 's/^/| /' conftest.$ac_ext >&5 2748 2749 2750 fi 2751 3494 2752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3495 2753 fi 2754 3496 2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3497 2756 fi 2757 3498 2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3499 2759 ac_c_werror_flag=$ac_save_c_werror_flag 3500 2760 fi 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53502 $as_echo "$ac_cv_prog_cc_g" >&6; }2761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3503 2763 if test "$ac_test_CFLAGS" = set; then 3504 2764 CFLAGS=$ac_save_CFLAGS … … 3516 2776 fi 3517 2777 fi 3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53519 $as_echo_n "checking for $CC option to accept ISO C89..." >&6; }3520 if test "${ac_cv_prog_cc_c89+set}" = set; then :3521 $as_echo_n "(cached)" >&62778 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2779 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2780 if test "${ac_cv_prog_cc_c89+set}" = set; then 2781 echo $ECHO_N "(cached) $ECHO_C" >&6 3522 2782 else 3523 2783 ac_cv_prog_cc_c89=no 3524 2784 ac_save_CC=$CC 3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2785 cat >conftest.$ac_ext <<_ACEOF 2786 /* confdefs.h. */ 2787 _ACEOF 2788 cat confdefs.h >>conftest.$ac_ext 2789 cat >>conftest.$ac_ext <<_ACEOF 3526 2790 /* end confdefs.h. */ 3527 2791 #include <stdarg.h> … … 3580 2844 do 3581 2845 CC="$ac_save_CC $ac_arg" 3582 if ac_fn_c_try_compile "$LINENO"; then : 2846 rm -f conftest.$ac_objext 2847 if { (ac_try="$ac_compile" 2848 case "(($ac_try" in 2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2850 *) ac_try_echo=$ac_try;; 2851 esac 2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2853 (eval "$ac_compile") 2>conftest.er1 2854 ac_status=$? 2855 grep -v '^ *+' conftest.er1 >conftest.err 2856 rm -f conftest.er1 2857 cat conftest.err >&5 2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2859 (exit $ac_status); } && { 2860 test -z "$ac_c_werror_flag" || 2861 test ! -s conftest.err 2862 } && test -s conftest.$ac_objext; then 3583 2863 ac_cv_prog_cc_c89=$ac_arg 3584 fi 2864 else 2865 echo "$as_me: failed program was:" >&5 2866 sed 's/^/| /' conftest.$ac_ext >&5 2867 2868 2869 fi 2870 3585 2871 rm -f core conftest.err conftest.$ac_objext 3586 2872 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3593 2879 case "x$ac_cv_prog_cc_c89" in 3594 2880 x) 3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&53596 $as_echo "none needed" >&6; } ;;2881 { echo "$as_me:$LINENO: result: none needed" >&5 2882 echo "${ECHO_T}none needed" >&6; } ;; 3597 2883 xno) 3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&53599 $as_echo "unsupported" >&6; } ;;2884 { echo "$as_me:$LINENO: result: unsupported" >&5 2885 echo "${ECHO_T}unsupported" >&6; } ;; 3600 2886 *) 3601 2887 CC="$CC $ac_cv_prog_cc_c89" 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3603 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3604 esac 3605 if test "x$ac_cv_prog_cc_c89" != xno; then : 3606 3607 fi 2888 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2889 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2890 esac 2891 3608 2892 3609 2893 ac_ext=c … … 3627 2911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3628 2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53630 $as_echo_n "checking for $ac_word..." >&6; }3631 if test "${ac_cv_prog_CXX+set}" = set; then :3632 $as_echo_n "(cached)" >&62913 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2915 if test "${ac_cv_prog_CXX+set}" = set; then 2916 echo $ECHO_N "(cached) $ECHO_C" >&6 3633 2917 else 3634 2918 if test -n "$CXX"; then … … 3640 2924 IFS=$as_save_IFS 3641 2925 test -z "$as_dir" && as_dir=. 3642 2926 for ac_exec_ext in '' $ac_executable_extensions; do 3643 2927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3644 2928 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3646 2930 break 2 3647 2931 fi 3648 2932 done 3649 2933 done 3650 2934 IFS=$as_save_IFS 3651 2935 … … 3654 2938 CXX=$ac_cv_prog_CXX 3655 2939 if test -n "$CXX"; then 3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&53657 $as_echo "$CXX" >&6; }3658 else 3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53660 $as_echo "no" >&6; }2940 { echo "$as_me:$LINENO: result: $CXX" >&5 2941 echo "${ECHO_T}$CXX" >&6; } 2942 else 2943 { echo "$as_me:$LINENO: result: no" >&5 2944 echo "${ECHO_T}no" >&6; } 3661 2945 fi 3662 2946 … … 3671 2955 # Extract the first word of "$ac_prog", so it can be a program name with args. 3672 2956 set dummy $ac_prog; ac_word=$2 3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53674 $as_echo_n "checking for $ac_word..." >&6; }3675 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3676 $as_echo_n "(cached)" >&62957 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2959 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2960 echo $ECHO_N "(cached) $ECHO_C" >&6 3677 2961 else 3678 2962 if test -n "$ac_ct_CXX"; then … … 3684 2968 IFS=$as_save_IFS 3685 2969 test -z "$as_dir" && as_dir=. 3686 2970 for ac_exec_ext in '' $ac_executable_extensions; do 3687 2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3688 2972 ac_cv_prog_ac_ct_CXX="$ac_prog" 3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3690 2974 break 2 3691 2975 fi 3692 2976 done 3693 2977 done 3694 2978 IFS=$as_save_IFS 3695 2979 … … 3698 2982 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3699 2983 if test -n "$ac_ct_CXX"; then 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&53701 $as_echo "$ac_ct_CXX" >&6; }3702 else 3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53704 $as_echo "no" >&6; }2984 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2985 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2986 else 2987 { echo "$as_me:$LINENO: result: no" >&5 2988 echo "${ECHO_T}no" >&6; } 3705 2989 fi 3706 2990 … … 3714 2998 case $cross_compiling:$ac_tool_warned in 3715 2999 yes:) 3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3001 whose name does not start with the host triplet. If you think this 3002 configuration is useful to you, please write to autoconf@gnu.org." >&5 3003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3004 whose name does not start with the host triplet. If you think this 3005 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3718 3006 ac_tool_warned=yes ;; 3719 3007 esac … … 3725 3013 fi 3726 3014 # Provide some information about the compiler. 3727 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3728 set X $ac_compile 3729 ac_compiler=$2 3730 for ac_option in --version -v -V -qversion; do 3731 { { ac_try="$ac_compiler $ac_option >&5" 3015 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3016 ac_compiler=`set X $ac_compile; echo $2` 3017 { (ac_try="$ac_compiler --version >&5" 3732 3018 case "(($ac_try" in 3733 3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3734 3020 *) ac_try_echo=$ac_try;; 3735 3021 esac 3736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3737 $as_echo "$ac_try_echo"; } >&5 3738 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3023 (eval "$ac_compiler --version >&5") 2>&5 3739 3024 ac_status=$? 3740 if test -s conftest.err; then 3741 sed '10a\ 3742 ... rest of stderr output deleted ... 3743 10q' conftest.err >conftest.er1 3744 cat conftest.er1 >&5 3745 fi 3746 rm -f conftest.er1 conftest.err 3747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3748 test $ac_status = 0; } 3749 done 3750 3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3752 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3753 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3754 $as_echo_n "(cached) " >&6 3755 else 3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3026 (exit $ac_status); } 3027 { (ac_try="$ac_compiler -v >&5" 3028 case "(($ac_try" in 3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3030 *) ac_try_echo=$ac_try;; 3031 esac 3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3033 (eval "$ac_compiler -v >&5") 2>&5 3034 ac_status=$? 3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3036 (exit $ac_status); } 3037 { (ac_try="$ac_compiler -V >&5" 3038 case "(($ac_try" in 3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3040 *) ac_try_echo=$ac_try;; 3041 esac 3042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3043 (eval "$ac_compiler -V >&5") 2>&5 3044 ac_status=$? 3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 (exit $ac_status); } 3047 3048 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3049 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3050 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3051 echo $ECHO_N "(cached) $ECHO_C" >&6 3052 else 3053 cat >conftest.$ac_ext <<_ACEOF 3054 /* confdefs.h. */ 3055 _ACEOF 3056 cat confdefs.h >>conftest.$ac_ext 3057 cat >>conftest.$ac_ext <<_ACEOF 3757 3058 /* end confdefs.h. */ 3758 3059 … … 3768 3069 } 3769 3070 _ACEOF 3770 if ac_fn_cxx_try_compile "$LINENO"; then : 3071 rm -f conftest.$ac_objext 3072 if { (ac_try="$ac_compile" 3073 case "(($ac_try" in 3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3075 *) ac_try_echo=$ac_try;; 3076 esac 3077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3078 (eval "$ac_compile") 2>conftest.er1 3079 ac_status=$? 3080 grep -v '^ *+' conftest.er1 >conftest.err 3081 rm -f conftest.er1 3082 cat conftest.err >&5 3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3084 (exit $ac_status); } && { 3085 test -z "$ac_cxx_werror_flag" || 3086 test ! -s conftest.err 3087 } && test -s conftest.$ac_objext; then 3771 3088 ac_compiler_gnu=yes 3772 3089 else 3773 ac_compiler_gnu=no 3774 fi 3090 echo "$as_me: failed program was:" >&5 3091 sed 's/^/| /' conftest.$ac_ext >&5 3092 3093 ac_compiler_gnu=no 3094 fi 3095 3775 3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3776 3097 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3777 3098 3778 3099 fi 3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3780 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3781 if test $ac_compiler_gnu = yes; then 3782 GXX=yes 3783 else 3784 GXX= 3785 fi 3100 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3101 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3102 GXX=`test $ac_compiler_gnu = yes && echo yes` 3786 3103 ac_test_CXXFLAGS=${CXXFLAGS+set} 3787 3104 ac_save_CXXFLAGS=$CXXFLAGS 3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&53789 $as_echo_n "checking whether $CXX accepts -g..." >&6; }3790 if test "${ac_cv_prog_cxx_g+set}" = set; then :3791 $as_echo_n "(cached)" >&63105 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3106 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 3107 if test "${ac_cv_prog_cxx_g+set}" = set; then 3108 echo $ECHO_N "(cached) $ECHO_C" >&6 3792 3109 else 3793 3110 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3795 3112 ac_cv_prog_cxx_g=no 3796 3113 CXXFLAGS="-g" 3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3114 cat >conftest.$ac_ext <<_ACEOF 3115 /* confdefs.h. */ 3116 _ACEOF 3117 cat confdefs.h >>conftest.$ac_ext 3118 cat >>conftest.$ac_ext <<_ACEOF 3798 3119 /* end confdefs.h. */ 3799 3120 … … 3806 3127 } 3807 3128 _ACEOF 3808 if ac_fn_cxx_try_compile "$LINENO"; then : 3129 rm -f conftest.$ac_objext 3130 if { (ac_try="$ac_compile" 3131 case "(($ac_try" in 3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3133 *) ac_try_echo=$ac_try;; 3134 esac 3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3136 (eval "$ac_compile") 2>conftest.er1 3137 ac_status=$? 3138 grep -v '^ *+' conftest.er1 >conftest.err 3139 rm -f conftest.er1 3140 cat conftest.err >&5 3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3142 (exit $ac_status); } && { 3143 test -z "$ac_cxx_werror_flag" || 3144 test ! -s conftest.err 3145 } && test -s conftest.$ac_objext; then 3809 3146 ac_cv_prog_cxx_g=yes 3810 3147 else 3811 CXXFLAGS="" 3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3148 echo "$as_me: failed program was:" >&5 3149 sed 's/^/| /' conftest.$ac_ext >&5 3150 3151 CXXFLAGS="" 3152 cat >conftest.$ac_ext <<_ACEOF 3153 /* confdefs.h. */ 3154 _ACEOF 3155 cat confdefs.h >>conftest.$ac_ext 3156 cat >>conftest.$ac_ext <<_ACEOF 3813 3157 /* end confdefs.h. */ 3814 3158 … … 3821 3165 } 3822 3166 _ACEOF 3823 if ac_fn_cxx_try_compile "$LINENO"; then : 3824 3825 else 3826 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3167 rm -f conftest.$ac_objext 3168 if { (ac_try="$ac_compile" 3169 case "(($ac_try" in 3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3171 *) ac_try_echo=$ac_try;; 3172 esac 3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3174 (eval "$ac_compile") 2>conftest.er1 3175 ac_status=$? 3176 grep -v '^ *+' conftest.er1 >conftest.err 3177 rm -f conftest.er1 3178 cat conftest.err >&5 3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3180 (exit $ac_status); } && { 3181 test -z "$ac_cxx_werror_flag" || 3182 test ! -s conftest.err 3183 } && test -s conftest.$ac_objext; then 3184 : 3185 else 3186 echo "$as_me: failed program was:" >&5 3187 sed 's/^/| /' conftest.$ac_ext >&5 3188 3189 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3827 3190 CXXFLAGS="-g" 3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3191 cat >conftest.$ac_ext <<_ACEOF 3192 /* confdefs.h. */ 3193 _ACEOF 3194 cat confdefs.h >>conftest.$ac_ext 3195 cat >>conftest.$ac_ext <<_ACEOF 3829 3196 /* end confdefs.h. */ 3830 3197 … … 3837 3204 } 3838 3205 _ACEOF 3839 if ac_fn_cxx_try_compile "$LINENO"; then : 3206 rm -f conftest.$ac_objext 3207 if { (ac_try="$ac_compile" 3208 case "(($ac_try" in 3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3210 *) ac_try_echo=$ac_try;; 3211 esac 3212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3213 (eval "$ac_compile") 2>conftest.er1 3214 ac_status=$? 3215 grep -v '^ *+' conftest.er1 >conftest.err 3216 rm -f conftest.er1 3217 cat conftest.err >&5 3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3219 (exit $ac_status); } && { 3220 test -z "$ac_cxx_werror_flag" || 3221 test ! -s conftest.err 3222 } && test -s conftest.$ac_objext; then 3840 3223 ac_cv_prog_cxx_g=yes 3841 fi 3224 else 3225 echo "$as_me: failed program was:" >&5 3226 sed 's/^/| /' conftest.$ac_ext >&5 3227 3228 3229 fi 3230 3842 3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3843 3232 fi 3233 3844 3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3845 3235 fi 3236 3846 3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3847 3238 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3848 3239 fi 3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&53850 $as_echo "$ac_cv_prog_cxx_g" >&6; }3240 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3241 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 3851 3242 if test "$ac_test_CXXFLAGS" = set; then 3852 3243 CXXFLAGS=$ac_save_CXXFLAGS … … 3871 3262 3872 3263 # Avoid g95 3264 # Find a good install program. We prefer a C program (faster), 3265 # so one script is as good as another. But avoid the broken or 3266 # incompatible versions: 3267 # SysV /etc/install, /usr/sbin/install 3268 # SunOS /usr/etc/install 3269 # IRIX /sbin/install 3270 # AIX /bin/install 3271 # AmigaOS /C/install, which installs bootblocks on floppy discs 3272 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3273 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3274 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3275 # OS/2's system install, which has a completely different semantic 3276 # ./install, which can be erroneously created by make from ./install.sh. 3277 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3278 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3279 if test -z "$INSTALL"; then 3280 if test "${ac_cv_path_install+set}" = set; then 3281 echo $ECHO_N "(cached) $ECHO_C" >&6 3282 else 3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3284 for as_dir in $PATH 3285 do 3286 IFS=$as_save_IFS 3287 test -z "$as_dir" && as_dir=. 3288 # Account for people who put trailing slashes in PATH elements. 3289 case $as_dir/ in 3290 ./ | .// | /cC/* | \ 3291 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3292 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3293 /usr/ucb/* ) ;; 3294 *) 3295 # OSF1 and SCO ODT 3.0 have their own names for install. 3296 # Don't use installbsd from OSF since it installs stuff as root 3297 # by default. 3298 for ac_prog in ginstall scoinst install; do 3299 for ac_exec_ext in '' $ac_executable_extensions; do 3300 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3301 if test $ac_prog = install && 3302 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3303 # AIX install. It has an incompatible calling convention. 3304 : 3305 elif test $ac_prog = install && 3306 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3307 # program-specific install script used by HP pwplus--don't use. 3308 : 3309 else 3310 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3311 break 3 3312 fi 3313 fi 3314 done 3315 done 3316 ;; 3317 esac 3318 done 3319 IFS=$as_save_IFS 3320 3321 3322 fi 3323 if test "${ac_cv_path_install+set}" = set; then 3324 INSTALL=$ac_cv_path_install 3325 else 3326 # As a last resort, use the slow shell script. Don't cache a 3327 # value for INSTALL within a source directory, because that will 3328 # break other packages using the cache if that directory is 3329 # removed, or if the value is a relative name. 3330 INSTALL=$ac_install_sh 3331 fi 3332 fi 3333 { echo "$as_me:$LINENO: result: $INSTALL" >&5 3334 echo "${ECHO_T}$INSTALL" >&6; } 3335 3336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3337 # It thinks the first close brace ends the variable substitution. 3338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3339 3340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3341 3342 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3873 3343 3874 3344 if test -n "$ac_tool_prefix"; then 3875 3345 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3876 3346 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53878 $as_echo_n "checking for $ac_word..." >&6; }3879 if test "${ac_cv_prog_RANLIB+set}" = set; then :3880 $as_echo_n "(cached)" >&63347 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3349 if test "${ac_cv_prog_RANLIB+set}" = set; then 3350 echo $ECHO_N "(cached) $ECHO_C" >&6 3881 3351 else 3882 3352 if test -n "$RANLIB"; then … … 3888 3358 IFS=$as_save_IFS 3889 3359 test -z "$as_dir" && as_dir=. 3890 3360 for ac_exec_ext in '' $ac_executable_extensions; do 3891 3361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3892 3362 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3894 3364 break 2 3895 3365 fi 3896 3366 done 3897 3367 done 3898 3368 IFS=$as_save_IFS 3899 3369 … … 3902 3372 RANLIB=$ac_cv_prog_RANLIB 3903 3373 if test -n "$RANLIB"; then 3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&53905 $as_echo "$RANLIB" >&6; }3906 else 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53908 $as_echo "no" >&6; }3374 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3375 echo "${ECHO_T}$RANLIB" >&6; } 3376 else 3377 { echo "$as_me:$LINENO: result: no" >&5 3378 echo "${ECHO_T}no" >&6; } 3909 3379 fi 3910 3380 … … 3915 3385 # Extract the first word of "ranlib", so it can be a program name with args. 3916 3386 set dummy ranlib; ac_word=$2 3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53918 $as_echo_n "checking for $ac_word..." >&6; }3919 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :3920 $as_echo_n "(cached)" >&63387 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3389 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3390 echo $ECHO_N "(cached) $ECHO_C" >&6 3921 3391 else 3922 3392 if test -n "$ac_ct_RANLIB"; then … … 3928 3398 IFS=$as_save_IFS 3929 3399 test -z "$as_dir" && as_dir=. 3930 3400 for ac_exec_ext in '' $ac_executable_extensions; do 3931 3401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3932 3402 ac_cv_prog_ac_ct_RANLIB="ranlib" 3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3934 3404 break 2 3935 3405 fi 3936 3406 done 3937 3407 done 3938 3408 IFS=$as_save_IFS 3939 3409 … … 3942 3412 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3943 3413 if test -n "$ac_ct_RANLIB"; then 3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&53945 $as_echo "$ac_ct_RANLIB" >&6; }3946 else 3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53948 $as_echo "no" >&6; }3414 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3415 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3416 else 3417 { echo "$as_me:$LINENO: result: no" >&5 3418 echo "${ECHO_T}no" >&6; } 3949 3419 fi 3950 3420 … … 3954 3424 case $cross_compiling:$ac_tool_warned in 3955 3425 yes:) 3956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3426 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3427 whose name does not start with the host triplet. If you think this 3428 configuration is useful to you, please write to autoconf@gnu.org." >&5 3429 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3430 whose name does not start with the host triplet. If you think this 3431 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3958 3432 ac_tool_warned=yes ;; 3959 3433 esac … … 3964 3438 fi 3965 3439 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&53967 $as_echo_n "checking whether ln -s works..." >&6; }3440 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 3441 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 3968 3442 LN_S=$as_ln_s 3969 3443 if test "$LN_S" = "ln -s"; then 3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&53971 $as_echo "yes" >&6; }3972 else 3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&53974 $as_echo "no, using $LN_S" >&6; }3975 fi 3976 3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&53978 $as_echo_n "checking for a thread-safe mkdir -p..." >&6; }3444 { echo "$as_me:$LINENO: result: yes" >&5 3445 echo "${ECHO_T}yes" >&6; } 3446 else 3447 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3448 echo "${ECHO_T}no, using $LN_S" >&6; } 3449 fi 3450 3451 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 3452 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 3979 3453 if test -z "$MKDIR_P"; then 3980 if test "${ac_cv_path_mkdir+set}" = set; then :3981 $as_echo_n "(cached)" >&63454 if test "${ac_cv_path_mkdir+set}" = set; then 3455 echo $ECHO_N "(cached) $ECHO_C" >&6 3982 3456 else 3983 3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3986 3460 IFS=$as_save_IFS 3987 3461 test -z "$as_dir" && as_dir=. 3988 3462 for ac_prog in mkdir gmkdir; do 3989 3463 for ac_exec_ext in '' $ac_executable_extensions; do 3990 3464 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 3998 3472 done 3999 3473 done 4000 3474 done 4001 3475 IFS=$as_save_IFS 4002 3476 4003 3477 fi 4004 3478 4005 test -d ./--version && rmdir ./--version4006 3479 if test "${ac_cv_path_mkdir+set}" = set; then 4007 3480 MKDIR_P="$ac_cv_path_mkdir -p" … … 4011 3484 # break other packages using the cache if that directory is 4012 3485 # removed, or if the value is a relative name. 3486 test -d ./--version && rmdir ./--version 4013 3487 MKDIR_P="$ac_install_sh -d" 4014 3488 fi 4015 3489 fi 4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&54017 $as_echo "$MKDIR_P" >&6; }3490 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 3491 echo "${ECHO_T}$MKDIR_P" >&6; } 4018 3492 4019 3493 … … 4027 3501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4028 3502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54030 $as_echo_n "checking for $ac_word..." >&6; }4031 if test "${ac_cv_prog_F77+set}" = set; then :4032 $as_echo_n "(cached)" >&63503 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3505 if test "${ac_cv_prog_F77+set}" = set; then 3506 echo $ECHO_N "(cached) $ECHO_C" >&6 4033 3507 else 4034 3508 if test -n "$F77"; then … … 4040 3514 IFS=$as_save_IFS 4041 3515 test -z "$as_dir" && as_dir=. 4042 3516 for ac_exec_ext in '' $ac_executable_extensions; do 4043 3517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4044 3518 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 4045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4046 3520 break 2 4047 3521 fi 4048 3522 done 4049 3523 done 4050 3524 IFS=$as_save_IFS 4051 3525 … … 4054 3528 F77=$ac_cv_prog_F77 4055 3529 if test -n "$F77"; then 4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&54057 $as_echo "$F77" >&6; }4058 else 4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54060 $as_echo "no" >&6; }3530 { echo "$as_me:$LINENO: result: $F77" >&5 3531 echo "${ECHO_T}$F77" >&6; } 3532 else 3533 { echo "$as_me:$LINENO: result: no" >&5 3534 echo "${ECHO_T}no" >&6; } 4061 3535 fi 4062 3536 … … 4071 3545 # Extract the first word of "$ac_prog", so it can be a program name with args. 4072 3546 set dummy $ac_prog; ac_word=$2 4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54074 $as_echo_n "checking for $ac_word..." >&6; }4075 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :4076 $as_echo_n "(cached)" >&63547 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3549 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 3550 echo $ECHO_N "(cached) $ECHO_C" >&6 4077 3551 else 4078 3552 if test -n "$ac_ct_F77"; then … … 4084 3558 IFS=$as_save_IFS 4085 3559 test -z "$as_dir" && as_dir=. 4086 3560 for ac_exec_ext in '' $ac_executable_extensions; do 4087 3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4088 3562 ac_cv_prog_ac_ct_F77="$ac_prog" 4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4090 3564 break 2 4091 3565 fi 4092 3566 done 4093 3567 done 4094 3568 IFS=$as_save_IFS 4095 3569 … … 4098 3572 ac_ct_F77=$ac_cv_prog_ac_ct_F77 4099 3573 if test -n "$ac_ct_F77"; then 4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&54101 $as_echo "$ac_ct_F77" >&6; }4102 else 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54104 $as_echo "no" >&6; }3574 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 3575 echo "${ECHO_T}$ac_ct_F77" >&6; } 3576 else 3577 { echo "$as_me:$LINENO: result: no" >&5 3578 echo "${ECHO_T}no" >&6; } 4105 3579 fi 4106 3580 … … 4114 3588 case $cross_compiling:$ac_tool_warned in 4115 3589 yes:) 4116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3591 whose name does not start with the host triplet. If you think this 3592 configuration is useful to you, please write to autoconf@gnu.org." >&5 3593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3594 whose name does not start with the host triplet. If you think this 3595 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4118 3596 ac_tool_warned=yes ;; 4119 3597 esac … … 4124 3602 4125 3603 # Provide some information about the compiler. 4126 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4127 set X $ac_compile 4128 ac_compiler=$2 4129 for ac_option in --version -v -V -qversion; do 4130 { { ac_try="$ac_compiler $ac_option >&5" 3604 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3605 ac_compiler=`set X $ac_compile; echo $2` 3606 { (ac_try="$ac_compiler --version >&5" 4131 3607 case "(($ac_try" in 4132 3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4133 3609 *) ac_try_echo=$ac_try;; 4134 3610 esac 4135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4136 $as_echo "$ac_try_echo"; } >&5 4137 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3612 (eval "$ac_compiler --version >&5") 2>&5 4138 3613 ac_status=$? 4139 if test -s conftest.err; then 4140 sed '10a\ 4141 ... rest of stderr output deleted ... 4142 10q' conftest.err >conftest.er1 4143 cat conftest.er1 >&5 4144 fi 4145 rm -f conftest.er1 conftest.err 4146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4147 test $ac_status = 0; } 4148 done 3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 (exit $ac_status); } 3616 { (ac_try="$ac_compiler -v >&5" 3617 case "(($ac_try" in 3618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3619 *) ac_try_echo=$ac_try;; 3620 esac 3621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3622 (eval "$ac_compiler -v >&5") 2>&5 3623 ac_status=$? 3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3625 (exit $ac_status); } 3626 { (ac_try="$ac_compiler -V >&5" 3627 case "(($ac_try" in 3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3629 *) ac_try_echo=$ac_try;; 3630 esac 3631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3632 (eval "$ac_compiler -V >&5") 2>&5 3633 ac_status=$? 3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3635 (exit $ac_status); } 4149 3636 rm -f a.out 4150 3637 … … 4153 3640 ac_save_ext=$ac_ext 4154 3641 ac_ext=F 4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&54156 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler..." >&6; }4157 if test "${ac_cv_f77_compiler_gnu+set}" = set; then :4158 $as_echo_n "(cached)" >&64159 else 4160 cat > 3642 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 3643 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } 3644 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 3645 echo $ECHO_N "(cached) $ECHO_C" >&6 3646 else 3647 cat >conftest.$ac_ext <<_ACEOF 4161 3648 program main 4162 3649 #ifndef __GNUC__ … … 4166 3653 end 4167 3654 _ACEOF 4168 if ac_fn_f77_try_compile "$LINENO"; then : 3655 rm -f conftest.$ac_objext 3656 if { (ac_try="$ac_compile" 3657 case "(($ac_try" in 3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3659 *) ac_try_echo=$ac_try;; 3660 esac 3661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3662 (eval "$ac_compile") 2>conftest.er1 3663 ac_status=$? 3664 grep -v '^ *+' conftest.er1 >conftest.err 3665 rm -f conftest.er1 3666 cat conftest.err >&5 3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3668 (exit $ac_status); } && { 3669 test -z "$ac_f77_werror_flag" || 3670 test ! -s conftest.err 3671 } && test -s conftest.$ac_objext; then 4169 3672 ac_compiler_gnu=yes 4170 3673 else 4171 ac_compiler_gnu=no 4172 fi 3674 echo "$as_me: failed program was:" >&5 3675 sed 's/^/| /' conftest.$ac_ext >&5 3676 3677 ac_compiler_gnu=no 3678 fi 3679 4173 3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4174 3681 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 4175 3682 4176 3683 fi 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&54178 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }3684 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 3685 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } 4179 3686 ac_ext=$ac_save_ext 4180 3687 ac_test_FFLAGS=${FFLAGS+set} 4181 3688 ac_save_FFLAGS=$FFLAGS 4182 3689 FFLAGS= 4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&54184 $as_echo_n "checking whether $F77 accepts -g..." >&6; }4185 if test "${ac_cv_prog_f77_g+set}" = set; then :4186 $as_echo_n "(cached)" >&63690 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 3691 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } 3692 if test "${ac_cv_prog_f77_g+set}" = set; then 3693 echo $ECHO_N "(cached) $ECHO_C" >&6 4187 3694 else 4188 3695 FFLAGS=-g 4189 cat > 3696 cat >conftest.$ac_ext <<_ACEOF 4190 3697 program main 4191 3698 4192 3699 end 4193 3700 _ACEOF 4194 if ac_fn_f77_try_compile "$LINENO"; then : 3701 rm -f conftest.$ac_objext 3702 if { (ac_try="$ac_compile" 3703 case "(($ac_try" in 3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3705 *) ac_try_echo=$ac_try;; 3706 esac 3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3708 (eval "$ac_compile") 2>conftest.er1 3709 ac_status=$? 3710 grep -v '^ *+' conftest.er1 >conftest.err 3711 rm -f conftest.er1 3712 cat conftest.err >&5 3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3714 (exit $ac_status); } && { 3715 test -z "$ac_f77_werror_flag" || 3716 test ! -s conftest.err 3717 } && test -s conftest.$ac_objext; then 4195 3718 ac_cv_prog_f77_g=yes 4196 3719 else 4197 ac_cv_prog_f77_g=no 4198 fi 3720 echo "$as_me: failed program was:" >&5 3721 sed 's/^/| /' conftest.$ac_ext >&5 3722 3723 ac_cv_prog_f77_g=no 3724 fi 3725 4199 3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4200 3727 4201 3728 fi 4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&54203 $as_echo "$ac_cv_prog_f77_g" >&6; }3729 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 3730 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } 4204 3731 if test "$ac_test_FFLAGS" = set; then 4205 3732 FFLAGS=$ac_save_FFLAGS … … 4218 3745 fi 4219 3746 4220 if test $ac_compiler_gnu = yes; then 4221 G77=yes 4222 else 4223 G77= 4224 fi 3747 G77=`test $ac_compiler_gnu = yes && echo yes` 4225 3748 ac_ext=c 4226 3749 ac_cpp='$CPP $CPPFLAGS' … … 4243 3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4244 3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&54246 $as_echo_n "checking how to run the C preprocessor..." >&6; }3768 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3769 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 4247 3770 # On Suns, sometimes $CPP names a directory. 4248 3771 if test -n "$CPP" && test -d "$CPP"; then … … 4250 3773 fi 4251 3774 if test -z "$CPP"; then 4252 if test "${ac_cv_prog_CPP+set}" = set; then :4253 $as_echo_n "(cached)" >&63775 if test "${ac_cv_prog_CPP+set}" = set; then 3776 echo $ECHO_N "(cached) $ECHO_C" >&6 4254 3777 else 4255 3778 # Double quotes because CPP needs to be expanded … … 4265 3788 # On the NeXT, cc -E runs the code through the compiler's parser, 4266 3789 # not just through cpp. "Syntax error" is here to catch this case. 4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3790 cat >conftest.$ac_ext <<_ACEOF 3791 /* confdefs.h. */ 3792 _ACEOF 3793 cat confdefs.h >>conftest.$ac_ext 3794 cat >>conftest.$ac_ext <<_ACEOF 4268 3795 /* end confdefs.h. */ 4269 3796 #ifdef __STDC__ … … 4274 3801 Syntax error 4275 3802 _ACEOF 4276 if ac_fn_c_try_cpp "$LINENO"; then : 4277 4278 else 3803 if { (ac_try="$ac_cpp conftest.$ac_ext" 3804 case "(($ac_try" in 3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3806 *) ac_try_echo=$ac_try;; 3807 esac 3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3810 ac_status=$? 3811 grep -v '^ *+' conftest.er1 >conftest.err 3812 rm -f conftest.er1 3813 cat conftest.err >&5 3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3815 (exit $ac_status); } >/dev/null && { 3816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3817 test ! -s conftest.err 3818 }; then 3819 : 3820 else 3821 echo "$as_me: failed program was:" >&5 3822 sed 's/^/| /' conftest.$ac_ext >&5 3823 4279 3824 # Broken: fails on valid input. 4280 3825 continue 4281 3826 fi 3827 4282 3828 rm -f conftest.err conftest.$ac_ext 4283 3829 4284 3830 # OK, works on sane cases. Now check whether nonexistent headers 4285 3831 # can be detected and how. 4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3832 cat >conftest.$ac_ext <<_ACEOF 3833 /* confdefs.h. */ 3834 _ACEOF 3835 cat confdefs.h >>conftest.$ac_ext 3836 cat >>conftest.$ac_ext <<_ACEOF 4287 3837 /* end confdefs.h. */ 4288 3838 #include <ac_nonexistent.h> 4289 3839 _ACEOF 4290 if ac_fn_c_try_cpp "$LINENO"; then : 3840 if { (ac_try="$ac_cpp conftest.$ac_ext" 3841 case "(($ac_try" in 3842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3843 *) ac_try_echo=$ac_try;; 3844 esac 3845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3847 ac_status=$? 3848 grep -v '^ *+' conftest.er1 >conftest.err 3849 rm -f conftest.er1 3850 cat conftest.err >&5 3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3852 (exit $ac_status); } >/dev/null && { 3853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3854 test ! -s conftest.err 3855 }; then 4291 3856 # Broken: success on invalid input. 4292 3857 continue 4293 3858 else 3859 echo "$as_me: failed program was:" >&5 3860 sed 's/^/| /' conftest.$ac_ext >&5 3861 4294 3862 # Passes both tests. 4295 3863 ac_preproc_ok=: 4296 3864 break 4297 3865 fi 3866 4298 3867 rm -f conftest.err conftest.$ac_ext 4299 3868 … … 4301 3870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4302 3871 rm -f conftest.err conftest.$ac_ext 4303 if $ac_preproc_ok; then :3872 if $ac_preproc_ok; then 4304 3873 break 4305 3874 fi … … 4313 3882 ac_cv_prog_CPP=$CPP 4314 3883 fi 4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54316 $as_echo "$CPP" >&6; }3884 { echo "$as_me:$LINENO: result: $CPP" >&5 3885 echo "${ECHO_T}$CPP" >&6; } 4317 3886 ac_preproc_ok=false 4318 3887 for ac_c_preproc_warn_flag in '' yes … … 4324 3893 # On the NeXT, cc -E runs the code through the compiler's parser, 4325 3894 # not just through cpp. "Syntax error" is here to catch this case. 4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3895 cat >conftest.$ac_ext <<_ACEOF 3896 /* confdefs.h. */ 3897 _ACEOF 3898 cat confdefs.h >>conftest.$ac_ext 3899 cat >>conftest.$ac_ext <<_ACEOF 4327 3900 /* end confdefs.h. */ 4328 3901 #ifdef __STDC__ … … 4333 3906 Syntax error 4334 3907 _ACEOF 4335 if ac_fn_c_try_cpp "$LINENO"; then : 4336 4337 else 3908 if { (ac_try="$ac_cpp conftest.$ac_ext" 3909 case "(($ac_try" in 3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3911 *) ac_try_echo=$ac_try;; 3912 esac 3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3915 ac_status=$? 3916 grep -v '^ *+' conftest.er1 >conftest.err 3917 rm -f conftest.er1 3918 cat conftest.err >&5 3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3920 (exit $ac_status); } >/dev/null && { 3921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3922 test ! -s conftest.err 3923 }; then 3924 : 3925 else 3926 echo "$as_me: failed program was:" >&5 3927 sed 's/^/| /' conftest.$ac_ext >&5 3928 4338 3929 # Broken: fails on valid input. 4339 3930 continue 4340 3931 fi 3932 4341 3933 rm -f conftest.err conftest.$ac_ext 4342 3934 4343 3935 # OK, works on sane cases. Now check whether nonexistent headers 4344 3936 # can be detected and how. 4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3937 cat >conftest.$ac_ext <<_ACEOF 3938 /* confdefs.h. */ 3939 _ACEOF 3940 cat confdefs.h >>conftest.$ac_ext 3941 cat >>conftest.$ac_ext <<_ACEOF 4346 3942 /* end confdefs.h. */ 4347 3943 #include <ac_nonexistent.h> 4348 3944 _ACEOF 4349 if ac_fn_c_try_cpp "$LINENO"; then : 3945 if { (ac_try="$ac_cpp conftest.$ac_ext" 3946 case "(($ac_try" in 3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3948 *) ac_try_echo=$ac_try;; 3949 esac 3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3952 ac_status=$? 3953 grep -v '^ *+' conftest.er1 >conftest.err 3954 rm -f conftest.er1 3955 cat conftest.err >&5 3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3957 (exit $ac_status); } >/dev/null && { 3958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3959 test ! -s conftest.err 3960 }; then 4350 3961 # Broken: success on invalid input. 4351 3962 continue 4352 3963 else 3964 echo "$as_me: failed program was:" >&5 3965 sed 's/^/| /' conftest.$ac_ext >&5 3966 4353 3967 # Passes both tests. 4354 3968 ac_preproc_ok=: 4355 3969 break 4356 3970 fi 3971 4357 3972 rm -f conftest.err conftest.$ac_ext 4358 3973 … … 4360 3975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4361 3976 rm -f conftest.err conftest.$ac_ext 4362 if $ac_preproc_ok; then : 4363 4364 else 4365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4367 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4368 See \`config.log' for more details." "$LINENO" 5; } 3977 if $ac_preproc_ok; then 3978 : 3979 else 3980 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3981 See \`config.log' for more details." >&5 3982 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3983 See \`config.log' for more details." >&2;} 3984 { (exit 1); exit 1; }; } 4369 3985 fi 4370 3986 … … 4376 3992 4377 3993 4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4379 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4380 if test "${ac_cv_path_GREP+set}" = set; then : 4381 $as_echo_n "(cached) " >&6 4382 else 4383 if test -z "$GREP"; then 3994 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3995 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3996 if test "${ac_cv_path_GREP+set}" = set; then 3997 echo $ECHO_N "(cached) $ECHO_C" >&6 3998 else 3999 # Extract the first word of "grep ggrep" to use in msg output 4000 if test -z "$GREP"; then 4001 set dummy grep ggrep; ac_prog_name=$2 4002 if test "${ac_cv_path_GREP+set}" = set; then 4003 echo $ECHO_N "(cached) $ECHO_C" >&6 4004 else 4384 4005 ac_path_GREP_found=false 4385 4386 4006 # Loop through the user's path and test for each of PROGNAME-LIST 4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4387 4008 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4388 4009 do 4389 4010 IFS=$as_save_IFS 4390 4011 test -z "$as_dir" && as_dir=. 4391 4392 4393 4394 4395 # Check for GNU ac_path_GREP and select it if it is found.4012 for ac_prog in grep ggrep; do 4013 for ac_exec_ext in '' $ac_executable_extensions; do 4014 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4015 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4016 # Check for GNU ac_path_GREP and select it if it is found. 4396 4017 # Check for GNU $ac_path_GREP 4397 4018 case `"$ac_path_GREP" --version 2>&1` in … … 4400 4021 *) 4401 4022 ac_count=0 4402 $as_echo_n 0123456789>"conftest.in"4023 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4403 4024 while : 4404 4025 do … … 4406 4027 mv "conftest.tmp" "conftest.in" 4407 4028 cp "conftest.in" "conftest.nl" 4408 $as_echo 'GREP' >> "conftest.nl"4029 echo 'GREP' >> "conftest.nl" 4409 4030 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4410 4031 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4411 a s_fn_arith $ac_count + 1 && ac_count=$as_val4032 ac_count=`expr $ac_count + 1` 4412 4033 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4413 4034 # Best one so far, save it but keep looking for a better one … … 4421 4042 esac 4422 4043 4423 $ac_path_GREP_found && break 3 4424 done4044 4045 $ac_path_GREP_found && break 3 4425 4046 done 4426 done 4047 done 4048 4049 done 4427 4050 IFS=$as_save_IFS 4428 if test -z "$ac_cv_path_GREP"; then 4429 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4430 fi 4051 4052 4053 fi 4054 4055 GREP="$ac_cv_path_GREP" 4056 if test -z "$GREP"; then 4057 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4058 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4059 { (exit 1); exit 1; }; } 4060 fi 4061 4431 4062 else 4432 4063 ac_cv_path_GREP=$GREP 4433 4064 fi 4434 4065 4435 fi 4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4437 $as_echo "$ac_cv_path_GREP" >&6; } 4066 4067 fi 4068 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4069 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4438 4070 GREP="$ac_cv_path_GREP" 4439 4071 4440 4072 4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54442 $as_echo_n "checking for egrep..." >&6; }4443 if test "${ac_cv_path_EGREP+set}" = set; then :4444 $as_echo_n "(cached)" >&64073 { echo "$as_me:$LINENO: checking for egrep" >&5 4074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4075 if test "${ac_cv_path_EGREP+set}" = set; then 4076 echo $ECHO_N "(cached) $ECHO_C" >&6 4445 4077 else 4446 4078 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4447 4079 then ac_cv_path_EGREP="$GREP -E" 4448 4080 else 4449 if test -z "$EGREP"; then 4081 # Extract the first word of "egrep" to use in msg output 4082 if test -z "$EGREP"; then 4083 set dummy egrep; ac_prog_name=$2 4084 if test "${ac_cv_path_EGREP+set}" = set; then 4085 echo $ECHO_N "(cached) $ECHO_C" >&6 4086 else 4450 4087 ac_path_EGREP_found=false 4451 4452 4088 # Loop through the user's path and test for each of PROGNAME-LIST 4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4453 4090 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4454 4091 do 4455 4092 IFS=$as_save_IFS 4456 4093 test -z "$as_dir" && as_dir=. 4457 4458 4459 4460 4461 # Check for GNU ac_path_EGREP and select it if it is found.4094 for ac_prog in egrep; do 4095 for ac_exec_ext in '' $ac_executable_extensions; do 4096 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4097 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4098 # Check for GNU ac_path_EGREP and select it if it is found. 4462 4099 # Check for GNU $ac_path_EGREP 4463 4100 case `"$ac_path_EGREP" --version 2>&1` in … … 4466 4103 *) 4467 4104 ac_count=0 4468 $as_echo_n 0123456789>"conftest.in"4105 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4469 4106 while : 4470 4107 do … … 4472 4109 mv "conftest.tmp" "conftest.in" 4473 4110 cp "conftest.in" "conftest.nl" 4474 $as_echo 'EGREP' >> "conftest.nl"4111 echo 'EGREP' >> "conftest.nl" 4475 4112 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4476 4113 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4477 a s_fn_arith $ac_count + 1 && ac_count=$as_val4114 ac_count=`expr $ac_count + 1` 4478 4115 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4479 4116 # Best one so far, save it but keep looking for a better one … … 4487 4124 esac 4488 4125 4489 $ac_path_EGREP_found && break 3 4490 done4126 4127 $ac_path_EGREP_found && break 3 4491 4128 done 4492 done 4129 done 4130 4131 done 4493 4132 IFS=$as_save_IFS 4494 if test -z "$ac_cv_path_EGREP"; then 4495 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4496 fi 4133 4134 4135 fi 4136 4137 EGREP="$ac_cv_path_EGREP" 4138 if test -z "$EGREP"; then 4139 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4140 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4141 { (exit 1); exit 1; }; } 4142 fi 4143 4497 4144 else 4498 4145 ac_cv_path_EGREP=$EGREP 4499 4146 fi 4500 4147 4148 4501 4149 fi 4502 4150 fi 4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54504 $as_echo "$ac_cv_path_EGREP" >&6; }4151 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4152 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4505 4153 EGREP="$ac_cv_path_EGREP" 4506 4154 4507 4155 4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4509 $as_echo_n "checking for ANSI C header files... " >&6; } 4510 if test "${ac_cv_header_stdc+set}" = set; then : 4511 $as_echo_n "(cached) " >&6 4512 else 4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4156 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4157 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4158 if test "${ac_cv_header_stdc+set}" = set; then 4159 echo $ECHO_N "(cached) $ECHO_C" >&6 4160 else 4161 cat >conftest.$ac_ext <<_ACEOF 4162 /* confdefs.h. */ 4163 _ACEOF 4164 cat confdefs.h >>conftest.$ac_ext 4165 cat >>conftest.$ac_ext <<_ACEOF 4514 4166 /* end confdefs.h. */ 4515 4167 #include <stdlib.h> … … 4526 4178 } 4527 4179 _ACEOF 4528 if ac_fn_c_try_compile "$LINENO"; then : 4180 rm -f conftest.$ac_objext 4181 if { (ac_try="$ac_compile" 4182 case "(($ac_try" in 4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4184 *) ac_try_echo=$ac_try;; 4185 esac 4186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4187 (eval "$ac_compile") 2>conftest.er1 4188 ac_status=$? 4189 grep -v '^ *+' conftest.er1 >conftest.err 4190 rm -f conftest.er1 4191 cat conftest.err >&5 4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4193 (exit $ac_status); } && { 4194 test -z "$ac_c_werror_flag" || 4195 test ! -s conftest.err 4196 } && test -s conftest.$ac_objext; then 4529 4197 ac_cv_header_stdc=yes 4530 4198 else 4531 ac_cv_header_stdc=no 4532 fi 4199 echo "$as_me: failed program was:" >&5 4200 sed 's/^/| /' conftest.$ac_ext >&5 4201 4202 ac_cv_header_stdc=no 4203 fi 4204 4533 4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4534 4206 4535 4207 if test $ac_cv_header_stdc = yes; then 4536 4208 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4209 cat >conftest.$ac_ext <<_ACEOF 4210 /* confdefs.h. */ 4211 _ACEOF 4212 cat confdefs.h >>conftest.$ac_ext 4213 cat >>conftest.$ac_ext <<_ACEOF 4538 4214 /* end confdefs.h. */ 4539 4215 #include <string.h> … … 4541 4217 _ACEOF 4542 4218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4543 $EGREP "memchr" >/dev/null 2>&1; then :4544 4219 $EGREP "memchr" >/dev/null 2>&1; then 4220 : 4545 4221 else 4546 4222 ac_cv_header_stdc=no … … 4552 4228 if test $ac_cv_header_stdc = yes; then 4553 4229 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4230 cat >conftest.$ac_ext <<_ACEOF 4231 /* confdefs.h. */ 4232 _ACEOF 4233 cat confdefs.h >>conftest.$ac_ext 4234 cat >>conftest.$ac_ext <<_ACEOF 4555 4235 /* end confdefs.h. */ 4556 4236 #include <stdlib.h> … … 4558 4238 _ACEOF 4559 4239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4560 $EGREP "free" >/dev/null 2>&1; then :4561 4240 $EGREP "free" >/dev/null 2>&1; then 4241 : 4562 4242 else 4563 4243 ac_cv_header_stdc=no … … 4569 4249 if test $ac_cv_header_stdc = yes; then 4570 4250 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4571 if test "$cross_compiling" = yes; then :4251 if test "$cross_compiling" = yes; then 4572 4252 : 4573 4253 else 4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4254 cat >conftest.$ac_ext <<_ACEOF 4255 /* confdefs.h. */ 4256 _ACEOF 4257 cat confdefs.h >>conftest.$ac_ext 4258 cat >>conftest.$ac_ext <<_ACEOF 4575 4259 /* end confdefs.h. */ 4576 4260 #include <ctype.h> … … 4599 4283 } 4600 4284 _ACEOF 4601 if ac_fn_c_try_run "$LINENO"; then : 4602 4603 else 4604 ac_cv_header_stdc=no 4605 fi 4606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4607 conftest.$ac_objext conftest.beam conftest.$ac_ext 4608 fi 4609 4610 fi 4611 fi 4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4613 $as_echo "$ac_cv_header_stdc" >&6; } 4285 rm -f conftest$ac_exeext 4286 if { (ac_try="$ac_link" 4287 case "(($ac_try" in 4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4289 *) ac_try_echo=$ac_try;; 4290 esac 4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4292 (eval "$ac_link") 2>&5 4293 ac_status=$? 4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4296 { (case "(($ac_try" in 4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4298 *) ac_try_echo=$ac_try;; 4299 esac 4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4301 (eval "$ac_try") 2>&5 4302 ac_status=$? 4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4304 (exit $ac_status); }; }; then 4305 : 4306 else 4307 echo "$as_me: program exited with status $ac_status" >&5 4308 echo "$as_me: failed program was:" >&5 4309 sed 's/^/| /' conftest.$ac_ext >&5 4310 4311 ( exit $ac_status ) 4312 ac_cv_header_stdc=no 4313 fi 4314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4315 fi 4316 4317 4318 fi 4319 fi 4320 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4321 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4614 4322 if test $ac_cv_header_stdc = yes; then 4615 4323 4616 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4617 4618 fi 4619 4620 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4621 if test "x$ac_cv_func_atol" = x""yes; then : 4622 4623 else 4624 as_fn_error "oops! no atol ?!?" "$LINENO" 5 4324 cat >>confdefs.h <<\_ACEOF 4325 #define STDC_HEADERS 1 4326 _ACEOF 4327 4328 fi 4329 4330 { echo "$as_me:$LINENO: checking for atol" >&5 4331 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4332 if test "${ac_cv_func_atol+set}" = set; then 4333 echo $ECHO_N "(cached) $ECHO_C" >&6 4334 else 4335 cat >conftest.$ac_ext <<_ACEOF 4336 /* confdefs.h. */ 4337 _ACEOF 4338 cat confdefs.h >>conftest.$ac_ext 4339 cat >>conftest.$ac_ext <<_ACEOF 4340 /* end confdefs.h. */ 4341 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4342 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4343 #define atol innocuous_atol 4344 4345 /* System header to define __stub macros and hopefully few prototypes, 4346 which can conflict with char atol (); below. 4347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4348 <limits.h> exists even on freestanding compilers. */ 4349 4350 #ifdef __STDC__ 4351 # include <limits.h> 4352 #else 4353 # include <assert.h> 4354 #endif 4355 4356 #undef atol 4357 4358 /* Override any GCC internal prototype to avoid an error. 4359 Use char because int might match the return type of a GCC 4360 builtin and then its argument prototype would still apply. */ 4361 #ifdef __cplusplus 4362 extern "C" 4363 #endif 4364 char atol (); 4365 /* The GNU C library defines this for functions which it implements 4366 to always fail with ENOSYS. Some functions are actually named 4367 something starting with __ and the normal name is an alias. */ 4368 #if defined __stub_atol || defined __stub___atol 4369 choke me 4370 #endif 4371 4372 int 4373 main () 4374 { 4375 return atol (); 4376 ; 4377 return 0; 4378 } 4379 _ACEOF 4380 rm -f conftest.$ac_objext conftest$ac_exeext 4381 if { (ac_try="$ac_link" 4382 case "(($ac_try" in 4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4384 *) ac_try_echo=$ac_try;; 4385 esac 4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4387 (eval "$ac_link") 2>conftest.er1 4388 ac_status=$? 4389 grep -v '^ *+' conftest.er1 >conftest.err 4390 rm -f conftest.er1 4391 cat conftest.err >&5 4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4393 (exit $ac_status); } && { 4394 test -z "$ac_c_werror_flag" || 4395 test ! -s conftest.err 4396 } && test -s conftest$ac_exeext && 4397 $as_test_x conftest$ac_exeext; then 4398 ac_cv_func_atol=yes 4399 else 4400 echo "$as_me: failed program was:" >&5 4401 sed 's/^/| /' conftest.$ac_ext >&5 4402 4403 ac_cv_func_atol=no 4404 fi 4405 4406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4407 conftest$ac_exeext conftest.$ac_ext 4408 fi 4409 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4410 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4411 if test $ac_cv_func_atol = yes; then 4412 : 4413 else 4414 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4415 echo "$as_me: error: oops! no atol ?!?" >&2;} 4416 { (exit 1); exit 1; }; } 4625 4417 fi 4626 4418 … … 4634 4426 4635 4427 4428 4636 4429 for ac_func in sysinfo 4637 do : 4638 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4639 if test "x$ac_cv_func_sysinfo" = x""yes; then : 4430 do 4431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4432 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4435 echo $ECHO_N "(cached) $ECHO_C" >&6 4436 else 4437 cat >conftest.$ac_ext <<_ACEOF 4438 /* confdefs.h. */ 4439 _ACEOF 4440 cat confdefs.h >>conftest.$ac_ext 4441 cat >>conftest.$ac_ext <<_ACEOF 4442 /* end confdefs.h. */ 4443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4444 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4445 #define $ac_func innocuous_$ac_func 4446 4447 /* System header to define __stub macros and hopefully few prototypes, 4448 which can conflict with char $ac_func (); below. 4449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4450 <limits.h> exists even on freestanding compilers. */ 4451 4452 #ifdef __STDC__ 4453 # include <limits.h> 4454 #else 4455 # include <assert.h> 4456 #endif 4457 4458 #undef $ac_func 4459 4460 /* Override any GCC internal prototype to avoid an error. 4461 Use char because int might match the return type of a GCC 4462 builtin and then its argument prototype would still apply. */ 4463 #ifdef __cplusplus 4464 extern "C" 4465 #endif 4466 char $ac_func (); 4467 /* The GNU C library defines this for functions which it implements 4468 to always fail with ENOSYS. Some functions are actually named 4469 something starting with __ and the normal name is an alias. */ 4470 #if defined __stub_$ac_func || defined __stub___$ac_func 4471 choke me 4472 #endif 4473 4474 int 4475 main () 4476 { 4477 return $ac_func (); 4478 ; 4479 return 0; 4480 } 4481 _ACEOF 4482 rm -f conftest.$ac_objext conftest$ac_exeext 4483 if { (ac_try="$ac_link" 4484 case "(($ac_try" in 4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4486 *) ac_try_echo=$ac_try;; 4487 esac 4488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4489 (eval "$ac_link") 2>conftest.er1 4490 ac_status=$? 4491 grep -v '^ *+' conftest.er1 >conftest.err 4492 rm -f conftest.er1 4493 cat conftest.err >&5 4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4495 (exit $ac_status); } && { 4496 test -z "$ac_cxx_werror_flag" || 4497 test ! -s conftest.err 4498 } && test -s conftest$ac_exeext && 4499 $as_test_x conftest$ac_exeext; then 4500 eval "$as_ac_var=yes" 4501 else 4502 echo "$as_me: failed program was:" >&5 4503 sed 's/^/| /' conftest.$ac_ext >&5 4504 4505 eval "$as_ac_var=no" 4506 fi 4507 4508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4509 conftest$ac_exeext conftest.$ac_ext 4510 fi 4511 ac_res=`eval echo '${'$as_ac_var'}'` 4512 { echo "$as_me:$LINENO: result: $ac_res" >&5 4513 echo "${ECHO_T}$ac_res" >&6; } 4514 if test `eval echo '${'$as_ac_var'}'` = yes; then 4640 4515 cat >>confdefs.h <<_ACEOF 4641 #define HAVE_SYSINFO14516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4642 4517 _ACEOF 4643 4518 4644 4519 fi 4645 4520 done 4521 4522 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4533 inttypes.h stdint.h unistd.h 4534 do 4535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4536 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4539 echo $ECHO_N "(cached) $ECHO_C" >&6 4540 else 4541 cat >conftest.$ac_ext <<_ACEOF 4542 /* confdefs.h. */ 4543 _ACEOF 4544 cat confdefs.h >>conftest.$ac_ext 4545 cat >>conftest.$ac_ext <<_ACEOF 4546 /* end confdefs.h. */ 4547 $ac_includes_default 4548 4549 #include <$ac_header> 4550 _ACEOF 4551 rm -f conftest.$ac_objext 4552 if { (ac_try="$ac_compile" 4553 case "(($ac_try" in 4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4555 *) ac_try_echo=$ac_try;; 4556 esac 4557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4558 (eval "$ac_compile") 2>conftest.er1 4559 ac_status=$? 4560 grep -v '^ *+' conftest.er1 >conftest.err 4561 rm -f conftest.er1 4562 cat conftest.err >&5 4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4564 (exit $ac_status); } && { 4565 test -z "$ac_cxx_werror_flag" || 4566 test ! -s conftest.err 4567 } && test -s conftest.$ac_objext; then 4568 eval "$as_ac_Header=yes" 4569 else 4570 echo "$as_me: failed program was:" >&5 4571 sed 's/^/| /' conftest.$ac_ext >&5 4572 4573 eval "$as_ac_Header=no" 4574 fi 4575 4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4577 fi 4578 ac_res=`eval echo '${'$as_ac_Header'}'` 4579 { echo "$as_me:$LINENO: result: $ac_res" >&5 4580 echo "${ECHO_T}$ac_res" >&6; } 4581 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4582 cat >>confdefs.h <<_ACEOF 4583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4584 _ACEOF 4585 4586 fi 4587 4588 done 4589 4646 4590 4647 4591 ac_ext=cpp … … 4650 4594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4651 4595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&54653 $as_echo_n "checking how to run the C++ preprocessor..." >&6; }4596 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 4597 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 4654 4598 if test -z "$CXXCPP"; then 4655 if test "${ac_cv_prog_CXXCPP+set}" = set; then :4656 $as_echo_n "(cached)" >&64599 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4600 echo $ECHO_N "(cached) $ECHO_C" >&6 4657 4601 else 4658 4602 # Double quotes because CXXCPP needs to be expanded … … 4668 4612 # On the NeXT, cc -E runs the code through the compiler's parser, 4669 4613 # not just through cpp. "Syntax error" is here to catch this case. 4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4614 cat >conftest.$ac_ext <<_ACEOF 4615 /* confdefs.h. */ 4616 _ACEOF 4617 cat confdefs.h >>conftest.$ac_ext 4618 cat >>conftest.$ac_ext <<_ACEOF 4671 4619 /* end confdefs.h. */ 4672 4620 #ifdef __STDC__ … … 4677 4625 Syntax error 4678 4626 _ACEOF 4679 if ac_fn_cxx_try_cpp "$LINENO"; then : 4680 4681 else 4627 if { (ac_try="$ac_cpp conftest.$ac_ext" 4628 case "(($ac_try" in 4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4630 *) ac_try_echo=$ac_try;; 4631 esac 4632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4634 ac_status=$? 4635 grep -v '^ *+' conftest.er1 >conftest.err 4636 rm -f conftest.er1 4637 cat conftest.err >&5 4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4639 (exit $ac_status); } >/dev/null && { 4640 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4641 test ! -s conftest.err 4642 }; then 4643 : 4644 else 4645 echo "$as_me: failed program was:" >&5 4646 sed 's/^/| /' conftest.$ac_ext >&5 4647 4682 4648 # Broken: fails on valid input. 4683 4649 continue 4684 4650 fi 4651 4685 4652 rm -f conftest.err conftest.$ac_ext 4686 4653 4687 4654 # OK, works on sane cases. Now check whether nonexistent headers 4688 4655 # can be detected and how. 4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4656 cat >conftest.$ac_ext <<_ACEOF 4657 /* confdefs.h. */ 4658 _ACEOF 4659 cat confdefs.h >>conftest.$ac_ext 4660 cat >>conftest.$ac_ext <<_ACEOF 4690 4661 /* end confdefs.h. */ 4691 4662 #include <ac_nonexistent.h> 4692 4663 _ACEOF 4693 if ac_fn_cxx_try_cpp "$LINENO"; then : 4664 if { (ac_try="$ac_cpp conftest.$ac_ext" 4665 case "(($ac_try" in 4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4667 *) ac_try_echo=$ac_try;; 4668 esac 4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4671 ac_status=$? 4672 grep -v '^ *+' conftest.er1 >conftest.err 4673 rm -f conftest.er1 4674 cat conftest.err >&5 4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); } >/dev/null && { 4677 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4678 test ! -s conftest.err 4679 }; then 4694 4680 # Broken: success on invalid input. 4695 4681 continue 4696 4682 else 4683 echo "$as_me: failed program was:" >&5 4684 sed 's/^/| /' conftest.$ac_ext >&5 4685 4697 4686 # Passes both tests. 4698 4687 ac_preproc_ok=: 4699 4688 break 4700 4689 fi 4690 4701 4691 rm -f conftest.err conftest.$ac_ext 4702 4692 … … 4704 4694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4705 4695 rm -f conftest.err conftest.$ac_ext 4706 if $ac_preproc_ok; then :4696 if $ac_preproc_ok; then 4707 4697 break 4708 4698 fi … … 4716 4706 ac_cv_prog_CXXCPP=$CXXCPP 4717 4707 fi 4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&54719 $as_echo "$CXXCPP" >&6; }4708 { echo "$as_me:$LINENO: result: $CXXCPP" >&5 4709 echo "${ECHO_T}$CXXCPP" >&6; } 4720 4710 ac_preproc_ok=false 4721 4711 for ac_cxx_preproc_warn_flag in '' yes … … 4727 4717 # On the NeXT, cc -E runs the code through the compiler's parser, 4728 4718 # not just through cpp. "Syntax error" is here to catch this case. 4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4719 cat >conftest.$ac_ext <<_ACEOF 4720 /* confdefs.h. */ 4721 _ACEOF 4722 cat confdefs.h >>conftest.$ac_ext 4723 cat >>conftest.$ac_ext <<_ACEOF 4730 4724 /* end confdefs.h. */ 4731 4725 #ifdef __STDC__ … … 4736 4730 Syntax error 4737 4731 _ACEOF 4738 if ac_fn_cxx_try_cpp "$LINENO"; then : 4739 4740 else 4732 if { (ac_try="$ac_cpp conftest.$ac_ext" 4733 case "(($ac_try" in 4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4735 *) ac_try_echo=$ac_try;; 4736 esac 4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4739 ac_status=$? 4740 grep -v '^ *+' conftest.er1 >conftest.err 4741 rm -f conftest.er1 4742 cat conftest.err >&5 4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4744 (exit $ac_status); } >/dev/null && { 4745 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4746 test ! -s conftest.err 4747 }; then 4748 : 4749 else 4750 echo "$as_me: failed program was:" >&5 4751 sed 's/^/| /' conftest.$ac_ext >&5 4752 4741 4753 # Broken: fails on valid input. 4742 4754 continue 4743 4755 fi 4756 4744 4757 rm -f conftest.err conftest.$ac_ext 4745 4758 4746 4759 # OK, works on sane cases. Now check whether nonexistent headers 4747 4760 # can be detected and how. 4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4761 cat >conftest.$ac_ext <<_ACEOF 4762 /* confdefs.h. */ 4763 _ACEOF 4764 cat confdefs.h >>conftest.$ac_ext 4765 cat >>conftest.$ac_ext <<_ACEOF 4749 4766 /* end confdefs.h. */ 4750 4767 #include <ac_nonexistent.h> 4751 4768 _ACEOF 4752 if ac_fn_cxx_try_cpp "$LINENO"; then : 4769 if { (ac_try="$ac_cpp conftest.$ac_ext" 4770 case "(($ac_try" in 4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4772 *) ac_try_echo=$ac_try;; 4773 esac 4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4776 ac_status=$? 4777 grep -v '^ *+' conftest.er1 >conftest.err 4778 rm -f conftest.er1 4779 cat conftest.err >&5 4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4781 (exit $ac_status); } >/dev/null && { 4782 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4783 test ! -s conftest.err 4784 }; then 4753 4785 # Broken: success on invalid input. 4754 4786 continue 4755 4787 else 4788 echo "$as_me: failed program was:" >&5 4789 sed 's/^/| /' conftest.$ac_ext >&5 4790 4756 4791 # Passes both tests. 4757 4792 ac_preproc_ok=: 4758 4793 break 4759 4794 fi 4795 4760 4796 rm -f conftest.err conftest.$ac_ext 4761 4797 … … 4763 4799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4764 4800 rm -f conftest.err conftest.$ac_ext 4765 if $ac_preproc_ok; then : 4766 4767 else 4768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4770 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check 4771 See \`config.log' for more details." "$LINENO" 5; } 4801 if $ac_preproc_ok; then 4802 : 4803 else 4804 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4805 See \`config.log' for more details." >&5 4806 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4807 See \`config.log' for more details." >&2;} 4808 { (exit 1); exit 1; }; } 4772 4809 fi 4773 4810 … … 4779 4816 4780 4817 4781 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4782 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4783 inttypes.h stdint.h unistd.h 4784 do : 4785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4786 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4787 " 4788 eval as_val=\$$as_ac_Header 4789 if test "x$as_val" = x""yes; then : 4818 4819 for ac_header in sys/sysinfo.h 4820 do 4821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4823 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4826 echo $ECHO_N "(cached) $ECHO_C" >&6 4827 fi 4828 ac_res=`eval echo '${'$as_ac_Header'}'` 4829 { echo "$as_me:$LINENO: result: $ac_res" >&5 4830 echo "${ECHO_T}$ac_res" >&6; } 4831 else 4832 # Is the header compilable? 4833 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4835 cat >conftest.$ac_ext <<_ACEOF 4836 /* confdefs.h. */ 4837 _ACEOF 4838 cat confdefs.h >>conftest.$ac_ext 4839 cat >>conftest.$ac_ext <<_ACEOF 4840 /* end confdefs.h. */ 4841 $ac_includes_default 4842 #include <$ac_header> 4843 _ACEOF 4844 rm -f conftest.$ac_objext 4845 if { (ac_try="$ac_compile" 4846 case "(($ac_try" in 4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4848 *) ac_try_echo=$ac_try;; 4849 esac 4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4851 (eval "$ac_compile") 2>conftest.er1 4852 ac_status=$? 4853 grep -v '^ *+' conftest.er1 >conftest.err 4854 rm -f conftest.er1 4855 cat conftest.err >&5 4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4857 (exit $ac_status); } && { 4858 test -z "$ac_cxx_werror_flag" || 4859 test ! -s conftest.err 4860 } && test -s conftest.$ac_objext; then 4861 ac_header_compiler=yes 4862 else 4863 echo "$as_me: failed program was:" >&5 4864 sed 's/^/| /' conftest.$ac_ext >&5 4865 4866 ac_header_compiler=no 4867 fi 4868 4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4870 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4871 echo "${ECHO_T}$ac_header_compiler" >&6; } 4872 4873 # Is the header present? 4874 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4876 cat >conftest.$ac_ext <<_ACEOF 4877 /* confdefs.h. */ 4878 _ACEOF 4879 cat confdefs.h >>conftest.$ac_ext 4880 cat >>conftest.$ac_ext <<_ACEOF 4881 /* end confdefs.h. */ 4882 #include <$ac_header> 4883 _ACEOF 4884 if { (ac_try="$ac_cpp conftest.$ac_ext" 4885 case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4891 ac_status=$? 4892 grep -v '^ *+' conftest.er1 >conftest.err 4893 rm -f conftest.er1 4894 cat conftest.err >&5 4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 (exit $ac_status); } >/dev/null && { 4897 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4898 test ! -s conftest.err 4899 }; then 4900 ac_header_preproc=yes 4901 else 4902 echo "$as_me: failed program was:" >&5 4903 sed 's/^/| /' conftest.$ac_ext >&5 4904 4905 ac_header_preproc=no 4906 fi 4907 4908 rm -f conftest.err conftest.$ac_ext 4909 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4910 echo "${ECHO_T}$ac_header_preproc" >&6; } 4911 4912 # So? What about this header? 4913 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4914 yes:no: ) 4915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4919 ac_header_preproc=yes 4920 ;; 4921 no:yes:* ) 4922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4926 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4928 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4929 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4932 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4934 ( cat <<\_ASBOX 4935 ## ----------------------------------- ## 4936 ## Report this to rappture@nanohub.org ## 4937 ## ----------------------------------- ## 4938 _ASBOX 4939 ) | sed "s/^/$as_me: WARNING: /" >&2 4940 ;; 4941 esac 4942 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4945 echo $ECHO_N "(cached) $ECHO_C" >&6 4946 else 4947 eval "$as_ac_Header=\$ac_header_preproc" 4948 fi 4949 ac_res=`eval echo '${'$as_ac_Header'}'` 4950 { echo "$as_me:$LINENO: result: $ac_res" >&5 4951 echo "${ECHO_T}$ac_res" >&6; } 4952 4953 fi 4954 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4790 4955 cat >>confdefs.h <<_ACEOF 4791 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4792 4957 _ACEOF 4793 4958 … … 4797 4962 4798 4963 4799 for ac_header in sys/sysinfo.h 4800 do : 4801 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4802 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then : 4803 cat >>confdefs.h <<_ACEOF 4804 #define HAVE_SYS_SYSINFO_H 1 4805 _ACEOF 4806 4807 fi 4808 4809 done 4810 4811 4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4813 $as_echo_n "checking for main in -lm... " >&6; } 4814 if test "${ac_cv_lib_m_main+set}" = set; then : 4815 $as_echo_n "(cached) " >&6 4964 4965 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4966 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4967 if test "${ac_cv_lib_m_main+set}" = set; then 4968 echo $ECHO_N "(cached) $ECHO_C" >&6 4816 4969 else 4817 4970 ac_check_lib_save_LIBS=$LIBS 4818 4971 LIBS="-lm $LIBS" 4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4972 cat >conftest.$ac_ext <<_ACEOF 4973 /* confdefs.h. */ 4974 _ACEOF 4975 cat confdefs.h >>conftest.$ac_ext 4976 cat >>conftest.$ac_ext <<_ACEOF 4820 4977 /* end confdefs.h. */ 4821 4978 … … 4829 4986 } 4830 4987 _ACEOF 4831 if ac_fn_cxx_try_link "$LINENO"; then : 4988 rm -f conftest.$ac_objext conftest$ac_exeext 4989 if { (ac_try="$ac_link" 4990 case "(($ac_try" in 4991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4992 *) ac_try_echo=$ac_try;; 4993 esac 4994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4995 (eval "$ac_link") 2>conftest.er1 4996 ac_status=$? 4997 grep -v '^ *+' conftest.er1 >conftest.err 4998 rm -f conftest.er1 4999 cat conftest.err >&5 5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5001 (exit $ac_status); } && { 5002 test -z "$ac_cxx_werror_flag" || 5003 test ! -s conftest.err 5004 } && test -s conftest$ac_exeext && 5005 $as_test_x conftest$ac_exeext; then 4832 5006 ac_cv_lib_m_main=yes 4833 5007 else 4834 ac_cv_lib_m_main=no 4835 fi 4836 rm -f core conftest.err conftest.$ac_objext \ 4837 conftest$ac_exeext conftest.$ac_ext 5008 echo "$as_me: failed program was:" >&5 5009 sed 's/^/| /' conftest.$ac_ext >&5 5010 5011 ac_cv_lib_m_main=no 5012 fi 5013 5014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5015 conftest$ac_exeext conftest.$ac_ext 4838 5016 LIBS=$ac_check_lib_save_LIBS 4839 5017 fi 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&54841 $as_echo "$ac_cv_lib_m_main" >&6; }4842 if test "x$ac_cv_lib_m_main" = x""yes; then :5018 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5019 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 5020 if test $ac_cv_lib_m_main = yes; then 4843 5021 cat >>confdefs.h <<_ACEOF 4844 5022 #define HAVE_LIBM 1 … … 4848 5026 4849 5027 else 4850 as_fn_error "librappture requires libm" "$LINENO" 5 4851 fi 4852 4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4854 $as_echo_n "checking for main in -lstdc++... " >&6; } 4855 if test "${ac_cv_lib_stdcpp_main+set}" = set; then : 4856 $as_echo_n "(cached) " >&6 5028 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5029 echo "$as_me: error: librappture requires libm" >&2;} 5030 { (exit 1); exit 1; }; } 5031 fi 5032 5033 5034 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5035 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5036 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5037 echo $ECHO_N "(cached) $ECHO_C" >&6 4857 5038 else 4858 5039 ac_check_lib_save_LIBS=$LIBS 4859 5040 LIBS="-lstdc++ $LIBS" 4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5041 cat >conftest.$ac_ext <<_ACEOF 5042 /* confdefs.h. */ 5043 _ACEOF 5044 cat confdefs.h >>conftest.$ac_ext 5045 cat >>conftest.$ac_ext <<_ACEOF 4861 5046 /* end confdefs.h. */ 4862 5047 … … 4870 5055 } 4871 5056 _ACEOF 4872 if ac_fn_cxx_try_link "$LINENO"; then : 5057 rm -f conftest.$ac_objext conftest$ac_exeext 5058 if { (ac_try="$ac_link" 5059 case "(($ac_try" in 5060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5061 *) ac_try_echo=$ac_try;; 5062 esac 5063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5064 (eval "$ac_link") 2>conftest.er1 5065 ac_status=$? 5066 grep -v '^ *+' conftest.er1 >conftest.err 5067 rm -f conftest.er1 5068 cat conftest.err >&5 5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5070 (exit $ac_status); } && { 5071 test -z "$ac_cxx_werror_flag" || 5072 test ! -s conftest.err 5073 } && test -s conftest$ac_exeext && 5074 $as_test_x conftest$ac_exeext; then 4873 5075 ac_cv_lib_stdcpp_main=yes 4874 5076 else 4875 ac_cv_lib_stdcpp_main=no 4876 fi 4877 rm -f core conftest.err conftest.$ac_objext \ 4878 conftest$ac_exeext conftest.$ac_ext 5077 echo "$as_me: failed program was:" >&5 5078 sed 's/^/| /' conftest.$ac_ext >&5 5079 5080 ac_cv_lib_stdcpp_main=no 5081 fi 5082 5083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5084 conftest$ac_exeext conftest.$ac_ext 4879 5085 LIBS=$ac_check_lib_save_LIBS 4880 5086 fi 4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&54882 $as_echo "$ac_cv_lib_stdcpp_main" >&6; }4883 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then :5087 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 5088 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; } 5089 if test $ac_cv_lib_stdcpp_main = yes; then 4884 5090 cat >>confdefs.h <<_ACEOF 4885 5091 #define HAVE_LIBSTDC__ 1 … … 4889 5095 4890 5096 else 4891 as_fn_error "librappture requires libstdc++" "$LINENO" 5 4892 fi 5097 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5098 echo "$as_me: error: librappture requires libstdc++" >&2;} 5099 { (exit 1); exit 1; }; } 5100 fi 5101 4893 5102 4894 5103 for ac_header in algorithm 4895 do : 4896 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4897 if test "x$ac_cv_header_algorithm" = x""yes; then : 5104 do 5105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5107 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5110 echo $ECHO_N "(cached) $ECHO_C" >&6 5111 fi 5112 ac_res=`eval echo '${'$as_ac_Header'}'` 5113 { echo "$as_me:$LINENO: result: $ac_res" >&5 5114 echo "${ECHO_T}$ac_res" >&6; } 5115 else 5116 # Is the header compilable? 5117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5119 cat >conftest.$ac_ext <<_ACEOF 5120 /* confdefs.h. */ 5121 _ACEOF 5122 cat confdefs.h >>conftest.$ac_ext 5123 cat >>conftest.$ac_ext <<_ACEOF 5124 /* end confdefs.h. */ 5125 $ac_includes_default 5126 #include <$ac_header> 5127 _ACEOF 5128 rm -f conftest.$ac_objext 5129 if { (ac_try="$ac_compile" 5130 case "(($ac_try" in 5131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5132 *) ac_try_echo=$ac_try;; 5133 esac 5134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5135 (eval "$ac_compile") 2>conftest.er1 5136 ac_status=$? 5137 grep -v '^ *+' conftest.er1 >conftest.err 5138 rm -f conftest.er1 5139 cat conftest.err >&5 5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5141 (exit $ac_status); } && { 5142 test -z "$ac_cxx_werror_flag" || 5143 test ! -s conftest.err 5144 } && test -s conftest.$ac_objext; then 5145 ac_header_compiler=yes 5146 else 5147 echo "$as_me: failed program was:" >&5 5148 sed 's/^/| /' conftest.$ac_ext >&5 5149 5150 ac_header_compiler=no 5151 fi 5152 5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5154 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5155 echo "${ECHO_T}$ac_header_compiler" >&6; } 5156 5157 # Is the header present? 5158 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5160 cat >conftest.$ac_ext <<_ACEOF 5161 /* confdefs.h. */ 5162 _ACEOF 5163 cat confdefs.h >>conftest.$ac_ext 5164 cat >>conftest.$ac_ext <<_ACEOF 5165 /* end confdefs.h. */ 5166 #include <$ac_header> 5167 _ACEOF 5168 if { (ac_try="$ac_cpp conftest.$ac_ext" 5169 case "(($ac_try" in 5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5171 *) ac_try_echo=$ac_try;; 5172 esac 5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5175 ac_status=$? 5176 grep -v '^ *+' conftest.er1 >conftest.err 5177 rm -f conftest.er1 5178 cat conftest.err >&5 5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5180 (exit $ac_status); } >/dev/null && { 5181 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5182 test ! -s conftest.err 5183 }; then 5184 ac_header_preproc=yes 5185 else 5186 echo "$as_me: failed program was:" >&5 5187 sed 's/^/| /' conftest.$ac_ext >&5 5188 5189 ac_header_preproc=no 5190 fi 5191 5192 rm -f conftest.err conftest.$ac_ext 5193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5194 echo "${ECHO_T}$ac_header_preproc" >&6; } 5195 5196 # So? What about this header? 5197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5198 yes:no: ) 5199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5203 ac_header_preproc=yes 5204 ;; 5205 no:yes:* ) 5206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5218 ( cat <<\_ASBOX 5219 ## ----------------------------------- ## 5220 ## Report this to rappture@nanohub.org ## 5221 ## ----------------------------------- ## 5222 _ASBOX 5223 ) | sed "s/^/$as_me: WARNING: /" >&2 5224 ;; 5225 esac 5226 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5229 echo $ECHO_N "(cached) $ECHO_C" >&6 5230 else 5231 eval "$as_ac_Header=\$ac_header_preproc" 5232 fi 5233 ac_res=`eval echo '${'$as_ac_Header'}'` 5234 { echo "$as_me:$LINENO: result: $ac_res" >&5 5235 echo "${ECHO_T}$ac_res" >&6; } 5236 5237 fi 5238 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4898 5239 cat >>confdefs.h <<_ACEOF 4899 #define HAVE_ALGORITHM14900 _ACEOF 4901 4902 else 4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&54904 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}5240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5241 _ACEOF 5242 5243 else 5244 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5245 echo "$as_me: WARNING: STL classes missing ?" >&2;} 4905 5246 fi 4906 5247 4907 5248 done 4908 5249 5250 4909 5251 for ac_header in cctype 4910 do : 4911 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4912 if test "x$ac_cv_header_cctype" = x""yes; then : 5252 do 5253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5255 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5258 echo $ECHO_N "(cached) $ECHO_C" >&6 5259 fi 5260 ac_res=`eval echo '${'$as_ac_Header'}'` 5261 { echo "$as_me:$LINENO: result: $ac_res" >&5 5262 echo "${ECHO_T}$ac_res" >&6; } 5263 else 5264 # Is the header compilable? 5265 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5267 cat >conftest.$ac_ext <<_ACEOF 5268 /* confdefs.h. */ 5269 _ACEOF 5270 cat confdefs.h >>conftest.$ac_ext 5271 cat >>conftest.$ac_ext <<_ACEOF 5272 /* end confdefs.h. */ 5273 $ac_includes_default 5274 #include <$ac_header> 5275 _ACEOF 5276 rm -f conftest.$ac_objext 5277 if { (ac_try="$ac_compile" 5278 case "(($ac_try" in 5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5280 *) ac_try_echo=$ac_try;; 5281 esac 5282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5283 (eval "$ac_compile") 2>conftest.er1 5284 ac_status=$? 5285 grep -v '^ *+' conftest.er1 >conftest.err 5286 rm -f conftest.er1 5287 cat conftest.err >&5 5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5289 (exit $ac_status); } && { 5290 test -z "$ac_cxx_werror_flag" || 5291 test ! -s conftest.err 5292 } && test -s conftest.$ac_objext; then 5293 ac_header_compiler=yes 5294 else 5295 echo "$as_me: failed program was:" >&5 5296 sed 's/^/| /' conftest.$ac_ext >&5 5297 5298 ac_header_compiler=no 5299 fi 5300 5301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5302 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5303 echo "${ECHO_T}$ac_header_compiler" >&6; } 5304 5305 # Is the header present? 5306 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5307 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5308 cat >conftest.$ac_ext <<_ACEOF 5309 /* confdefs.h. */ 5310 _ACEOF 5311 cat confdefs.h >>conftest.$ac_ext 5312 cat >>conftest.$ac_ext <<_ACEOF 5313 /* end confdefs.h. */ 5314 #include <$ac_header> 5315 _ACEOF 5316 if { (ac_try="$ac_cpp conftest.$ac_ext" 5317 case "(($ac_try" in 5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5319 *) ac_try_echo=$ac_try;; 5320 esac 5321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5323 ac_status=$? 5324 grep -v '^ *+' conftest.er1 >conftest.err 5325 rm -f conftest.er1 5326 cat conftest.err >&5 5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5328 (exit $ac_status); } >/dev/null && { 5329 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5330 test ! -s conftest.err 5331 }; then 5332 ac_header_preproc=yes 5333 else 5334 echo "$as_me: failed program was:" >&5 5335 sed 's/^/| /' conftest.$ac_ext >&5 5336 5337 ac_header_preproc=no 5338 fi 5339 5340 rm -f conftest.err conftest.$ac_ext 5341 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5342 echo "${ECHO_T}$ac_header_preproc" >&6; } 5343 5344 # So? What about this header? 5345 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5346 yes:no: ) 5347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5351 ac_header_preproc=yes 5352 ;; 5353 no:yes:* ) 5354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5366 ( cat <<\_ASBOX 5367 ## ----------------------------------- ## 5368 ## Report this to rappture@nanohub.org ## 5369 ## ----------------------------------- ## 5370 _ASBOX 5371 ) | sed "s/^/$as_me: WARNING: /" >&2 5372 ;; 5373 esac 5374 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5377 echo $ECHO_N "(cached) $ECHO_C" >&6 5378 else 5379 eval "$as_ac_Header=\$ac_header_preproc" 5380 fi 5381 ac_res=`eval echo '${'$as_ac_Header'}'` 5382 { echo "$as_me:$LINENO: result: $ac_res" >&5 5383 echo "${ECHO_T}$ac_res" >&6; } 5384 5385 fi 5386 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4913 5387 cat >>confdefs.h <<_ACEOF 4914 #define HAVE_CCTYPE14915 _ACEOF 4916 4917 else 4918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&54919 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}5388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5389 _ACEOF 5390 5391 else 5392 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5393 echo "$as_me: WARNING: STL classes missing ?" >&2;} 4920 5394 fi 4921 5395 4922 5396 done 4923 5397 5398 4924 5399 for ac_header in cfloat 4925 do : 4926 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4927 if test "x$ac_cv_header_cfloat" = x""yes; then : 5400 do 5401 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5402 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5403 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5405 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5406 echo $ECHO_N "(cached) $ECHO_C" >&6 5407 fi 5408 ac_res=`eval echo '${'$as_ac_Header'}'` 5409 { echo "$as_me:$LINENO: result: $ac_res" >&5 5410 echo "${ECHO_T}$ac_res" >&6; } 5411 else 5412 # Is the header compilable? 5413 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5415 cat >conftest.$ac_ext <<_ACEOF 5416 /* confdefs.h. */ 5417 _ACEOF 5418 cat confdefs.h >>conftest.$ac_ext 5419 cat >>conftest.$ac_ext <<_ACEOF 5420 /* end confdefs.h. */ 5421 $ac_includes_default 5422 #include <$ac_header> 5423 _ACEOF 5424 rm -f conftest.$ac_objext 5425 if { (ac_try="$ac_compile" 5426 case "(($ac_try" in 5427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5428 *) ac_try_echo=$ac_try;; 5429 esac 5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5431 (eval "$ac_compile") 2>conftest.er1 5432 ac_status=$? 5433 grep -v '^ *+' conftest.er1 >conftest.err 5434 rm -f conftest.er1 5435 cat conftest.err >&5 5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5437 (exit $ac_status); } && { 5438 test -z "$ac_cxx_werror_flag" || 5439 test ! -s conftest.err 5440 } && test -s conftest.$ac_objext; then 5441 ac_header_compiler=yes 5442 else 5443 echo "$as_me: failed program was:" >&5 5444 sed 's/^/| /' conftest.$ac_ext >&5 5445 5446 ac_header_compiler=no 5447 fi 5448 5449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5450 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5451 echo "${ECHO_T}$ac_header_compiler" >&6; } 5452 5453 # Is the header present? 5454 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5456 cat >conftest.$ac_ext <<_ACEOF 5457 /* confdefs.h. */ 5458 _ACEOF 5459 cat confdefs.h >>conftest.$ac_ext 5460 cat >>conftest.$ac_ext <<_ACEOF 5461 /* end confdefs.h. */ 5462 #include <$ac_header> 5463 _ACEOF 5464 if { (ac_try="$ac_cpp conftest.$ac_ext" 5465 case "(($ac_try" in 5466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5467 *) ac_try_echo=$ac_try;; 5468 esac 5469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5470 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5471 ac_status=$? 5472 grep -v '^ *+' conftest.er1 >conftest.err 5473 rm -f conftest.er1 5474 cat conftest.err >&5 5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5476 (exit $ac_status); } >/dev/null && { 5477 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5478 test ! -s conftest.err 5479 }; then 5480 ac_header_preproc=yes 5481 else 5482 echo "$as_me: failed program was:" >&5 5483 sed 's/^/| /' conftest.$ac_ext >&5 5484 5485 ac_header_preproc=no 5486 fi 5487 5488 rm -f conftest.err conftest.$ac_ext 5489 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5490 echo "${ECHO_T}$ac_header_preproc" >&6; } 5491 5492 # So? What about this header? 5493 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5494 yes:no: ) 5495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5499 ac_header_preproc=yes 5500 ;; 5501 no:yes:* ) 5502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5509 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5514 ( cat <<\_ASBOX 5515 ## ----------------------------------- ## 5516 ## Report this to rappture@nanohub.org ## 5517 ## ----------------------------------- ## 5518 _ASBOX 5519 ) | sed "s/^/$as_me: WARNING: /" >&2 5520 ;; 5521 esac 5522 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5525 echo $ECHO_N "(cached) $ECHO_C" >&6 5526 else 5527 eval "$as_ac_Header=\$ac_header_preproc" 5528 fi 5529 ac_res=`eval echo '${'$as_ac_Header'}'` 5530 { echo "$as_me:$LINENO: result: $ac_res" >&5 5531 echo "${ECHO_T}$ac_res" >&6; } 5532 5533 fi 5534 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4928 5535 cat >>confdefs.h <<_ACEOF 4929 #define HAVE_CFLOAT14930 _ACEOF 4931 4932 else 4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&54934 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}5536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5537 _ACEOF 5538 5539 else 5540 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5541 echo "$as_me: WARNING: STL classes missing ?" >&2;} 4935 5542 fi 4936 5543 4937 5544 done 4938 5545 5546 4939 5547 for ac_header in cmath 4940 do : 4941 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 4942 if test "x$ac_cv_header_cmath" = x""yes; then : 5548 do 5549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5551 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5554 echo $ECHO_N "(cached) $ECHO_C" >&6 5555 fi 5556 ac_res=`eval echo '${'$as_ac_Header'}'` 5557 { echo "$as_me:$LINENO: result: $ac_res" >&5 5558 echo "${ECHO_T}$ac_res" >&6; } 5559 else 5560 # Is the header compilable? 5561 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5563 cat >conftest.$ac_ext <<_ACEOF 5564 /* confdefs.h. */ 5565 _ACEOF 5566 cat confdefs.h >>conftest.$ac_ext 5567 cat >>conftest.$ac_ext <<_ACEOF 5568 /* end confdefs.h. */ 5569 $ac_includes_default 5570 #include <$ac_header> 5571 _ACEOF 5572 rm -f conftest.$ac_objext 5573 if { (ac_try="$ac_compile" 5574 case "(($ac_try" in 5575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5576 *) ac_try_echo=$ac_try;; 5577 esac 5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5579 (eval "$ac_compile") 2>conftest.er1 5580 ac_status=$? 5581 grep -v '^ *+' conftest.er1 >conftest.err 5582 rm -f conftest.er1 5583 cat conftest.err >&5 5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5585 (exit $ac_status); } && { 5586 test -z "$ac_cxx_werror_flag" || 5587 test ! -s conftest.err 5588 } && test -s conftest.$ac_objext; then 5589 ac_header_compiler=yes 5590 else 5591 echo "$as_me: failed program was:" >&5 5592 sed 's/^/| /' conftest.$ac_ext >&5 5593 5594 ac_header_compiler=no 5595 fi 5596 5597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5598 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5599 echo "${ECHO_T}$ac_header_compiler" >&6; } 5600 5601 # Is the header present? 5602 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5604 cat >conftest.$ac_ext <<_ACEOF 5605 /* confdefs.h. */ 5606 _ACEOF 5607 cat confdefs.h >>conftest.$ac_ext 5608 cat >>conftest.$ac_ext <<_ACEOF 5609 /* end confdefs.h. */ 5610 #include <$ac_header> 5611 _ACEOF 5612 if { (ac_try="$ac_cpp conftest.$ac_ext" 5613 case "(($ac_try" in 5614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5615 *) ac_try_echo=$ac_try;; 5616 esac 5617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5619 ac_status=$? 5620 grep -v '^ *+' conftest.er1 >conftest.err 5621 rm -f conftest.er1 5622 cat conftest.err >&5 5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5624 (exit $ac_status); } >/dev/null && { 5625 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5626 test ! -s conftest.err 5627 }; then 5628 ac_header_preproc=yes 5629 else 5630 echo "$as_me: failed program was:" >&5 5631 sed 's/^/| /' conftest.$ac_ext >&5 5632 5633 ac_header_preproc=no 5634 fi 5635 5636 rm -f conftest.err conftest.$ac_ext 5637 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5638 echo "${ECHO_T}$ac_header_preproc" >&6; } 5639 5640 # So? What about this header? 5641 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5642 yes:no: ) 5643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5647 ac_header_preproc=yes 5648 ;; 5649 no:yes:* ) 5650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5662 ( cat <<\_ASBOX 5663 ## ----------------------------------- ## 5664 ## Report this to rappture@nanohub.org ## 5665 ## ----------------------------------- ## 5666 _ASBOX 5667 ) | sed "s/^/$as_me: WARNING: /" >&2 5668 ;; 5669 esac 5670 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5673 echo $ECHO_N "(cached) $ECHO_C" >&6 5674 else 5675 eval "$as_ac_Header=\$ac_header_preproc" 5676 fi 5677 ac_res=`eval echo '${'$as_ac_Header'}'` 5678 { echo "$as_me:$LINENO: result: $ac_res" >&5 5679 echo "${ECHO_T}$ac_res" >&6; } 5680 5681 fi 5682 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4943 5683 cat >>confdefs.h <<_ACEOF 4944 #define HAVE_CMATH14945 _ACEOF 4946 4947 else 4948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&54949 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}5684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5685 _ACEOF 5686 5687 else 5688 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5689 echo "$as_me: WARNING: STL classes missing ?" >&2;} 4950 5690 fi 4951 5691 4952 5692 done 4953 5693 5694 4954 5695 for ac_header in cstdio 4955 do : 4956 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 4957 if test "x$ac_cv_header_cstdio" = x""yes; then : 5696 do 5697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5699 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5702 echo $ECHO_N "(cached) $ECHO_C" >&6 5703 fi 5704 ac_res=`eval echo '${'$as_ac_Header'}'` 5705 { echo "$as_me:$LINENO: result: $ac_res" >&5 5706 echo "${ECHO_T}$ac_res" >&6; } 5707 else 5708 # Is the header compilable? 5709 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5711 cat >conftest.$ac_ext <<_ACEOF 5712 /* confdefs.h. */ 5713 _ACEOF 5714 cat confdefs.h >>conftest.$ac_ext 5715 cat >>conftest.$ac_ext <<_ACEOF 5716 /* end confdefs.h. */ 5717 $ac_includes_default 5718 #include <$ac_header> 5719 _ACEOF 5720 rm -f conftest.$ac_objext 5721 if { (ac_try="$ac_compile" 5722 case "(($ac_try" in 5723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5724 *) ac_try_echo=$ac_try;; 5725 esac 5726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5727 (eval "$ac_compile") 2>conftest.er1 5728 ac_status=$? 5729 grep -v '^ *+' conftest.er1 >conftest.err 5730 rm -f conftest.er1 5731 cat conftest.err >&5 5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 (exit $ac_status); } && { 5734 test -z "$ac_cxx_werror_flag" || 5735 test ! -s conftest.err 5736 } && test -s conftest.$ac_objext; then 5737 ac_header_compiler=yes 5738 else 5739 echo "$as_me: failed program was:" >&5 5740 sed 's/^/| /' conftest.$ac_ext >&5 5741 5742 ac_header_compiler=no 5743 fi 5744 5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5746 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5747 echo "${ECHO_T}$ac_header_compiler" >&6; } 5748 5749 # Is the header present? 5750 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5752 cat >conftest.$ac_ext <<_ACEOF 5753 /* confdefs.h. */ 5754 _ACEOF 5755 cat confdefs.h >>conftest.$ac_ext 5756 cat >>conftest.$ac_ext <<_ACEOF 5757 /* end confdefs.h. */ 5758 #include <$ac_header> 5759 _ACEOF 5760 if { (ac_try="$ac_cpp conftest.$ac_ext" 5761 case "(($ac_try" in 5762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5763 *) ac_try_echo=$ac_try;; 5764 esac 5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5767 ac_status=$? 5768 grep -v '^ *+' conftest.er1 >conftest.err 5769 rm -f conftest.er1 5770 cat conftest.err >&5 5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5772 (exit $ac_status); } >/dev/null && { 5773 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5774 test ! -s conftest.err 5775 }; then 5776 ac_header_preproc=yes 5777 else 5778 echo "$as_me: failed program was:" >&5 5779 sed 's/^/| /' conftest.$ac_ext >&5 5780 5781 ac_header_preproc=no 5782 fi 5783 5784 rm -f conftest.err conftest.$ac_ext 5785 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5786 echo "${ECHO_T}$ac_header_preproc" >&6; } 5787 5788 # So? What about this header? 5789 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5790 yes:no: ) 5791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5795 ac_header_preproc=yes 5796 ;; 5797 no:yes:* ) 5798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5810 ( cat <<\_ASBOX 5811 ## ----------------------------------- ## 5812 ## Report this to rappture@nanohub.org ## 5813 ## ----------------------------------- ## 5814 _ASBOX 5815 ) | sed "s/^/$as_me: WARNING: /" >&2 5816 ;; 5817 esac 5818 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5821 echo $ECHO_N "(cached) $ECHO_C" >&6 5822 else 5823 eval "$as_ac_Header=\$ac_header_preproc" 5824 fi 5825 ac_res=`eval echo '${'$as_ac_Header'}'` 5826 { echo "$as_me:$LINENO: result: $ac_res" >&5 5827 echo "${ECHO_T}$ac_res" >&6; } 5828 5829 fi 5830 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4958 5831 cat >>confdefs.h <<_ACEOF 4959 #define HAVE_CSTDIO14960 _ACEOF 4961 4962 else 4963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&54964 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}5832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5833 _ACEOF 5834 5835 else 5836 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5837 echo "$as_me: WARNING: STL classes missing ?" >&2;} 4965 5838 fi 4966 5839 4967 5840 done 4968 5841 5842 4969 5843 for ac_header in cstdlib 4970 do : 4971 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 4972 if test "x$ac_cv_header_cstdlib" = x""yes; then : 5844 do 5845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5847 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5850 echo $ECHO_N "(cached) $ECHO_C" >&6 5851 fi 5852 ac_res=`eval echo '${'$as_ac_Header'}'` 5853 { echo "$as_me:$LINENO: result: $ac_res" >&5 5854 echo "${ECHO_T}$ac_res" >&6; } 5855 else 5856 # Is the header compilable? 5857 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5859 cat >conftest.$ac_ext <<_ACEOF 5860 /* confdefs.h. */ 5861 _ACEOF 5862 cat confdefs.h >>conftest.$ac_ext 5863 cat >>conftest.$ac_ext <<_ACEOF 5864 /* end confdefs.h. */ 5865 $ac_includes_default 5866 #include <$ac_header> 5867 _ACEOF 5868 rm -f conftest.$ac_objext 5869 if { (ac_try="$ac_compile" 5870 case "(($ac_try" in 5871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5872 *) ac_try_echo=$ac_try;; 5873 esac 5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5875 (eval "$ac_compile") 2>conftest.er1 5876 ac_status=$? 5877 grep -v '^ *+' conftest.er1 >conftest.err 5878 rm -f conftest.er1 5879 cat conftest.err >&5 5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5881 (exit $ac_status); } && { 5882 test -z "$ac_cxx_werror_flag" || 5883 test ! -s conftest.err 5884 } && test -s conftest.$ac_objext; then 5885 ac_header_compiler=yes 5886 else 5887 echo "$as_me: failed program was:" >&5 5888 sed 's/^/| /' conftest.$ac_ext >&5 5889 5890 ac_header_compiler=no 5891 fi 5892 5893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5894 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5895 echo "${ECHO_T}$ac_header_compiler" >&6; } 5896 5897 # Is the header present? 5898 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5900 cat >conftest.$ac_ext <<_ACEOF 5901 /* confdefs.h. */ 5902 _ACEOF 5903 cat confdefs.h >>conftest.$ac_ext 5904 cat >>conftest.$ac_ext <<_ACEOF 5905 /* end confdefs.h. */ 5906 #include <$ac_header> 5907 _ACEOF 5908 if { (ac_try="$ac_cpp conftest.$ac_ext" 5909 case "(($ac_try" in 5910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5911 *) ac_try_echo=$ac_try;; 5912 esac 5913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5915 ac_status=$? 5916 grep -v '^ *+' conftest.er1 >conftest.err 5917 rm -f conftest.er1 5918 cat conftest.err >&5 5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5920 (exit $ac_status); } >/dev/null && { 5921 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5922 test ! -s conftest.err 5923 }; then 5924 ac_header_preproc=yes 5925 else 5926 echo "$as_me: failed program was:" >&5 5927 sed 's/^/| /' conftest.$ac_ext >&5 5928 5929 ac_header_preproc=no 5930 fi 5931 5932 rm -f conftest.err conftest.$ac_ext 5933 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5934 echo "${ECHO_T}$ac_header_preproc" >&6; } 5935 5936 # So? What about this header? 5937 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5938 yes:no: ) 5939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5943 ac_header_preproc=yes 5944 ;; 5945 no:yes:* ) 5946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5958 ( cat <<\_ASBOX 5959 ## ----------------------------------- ## 5960 ## Report this to rappture@nanohub.org ## 5961 ## ----------------------------------- ## 5962 _ASBOX 5963 ) | sed "s/^/$as_me: WARNING: /" >&2 5964 ;; 5965 esac 5966 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5969 echo $ECHO_N "(cached) $ECHO_C" >&6 5970 else 5971 eval "$as_ac_Header=\$ac_header_preproc" 5972 fi 5973 ac_res=`eval echo '${'$as_ac_Header'}'` 5974 { echo "$as_me:$LINENO: result: $ac_res" >&5 5975 echo "${ECHO_T}$ac_res" >&6; } 5976 5977 fi 5978 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4973 5979 cat >>confdefs.h <<_ACEOF 4974 #define HAVE_CSTDLIB14975 _ACEOF 4976 4977 else 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&54979 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}5980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5981 _ACEOF 5982 5983 else 5984 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5985 echo "$as_me: WARNING: STL classes missing ?" >&2;} 4980 5986 fi 4981 5987 4982 5988 done 4983 5989 5990 4984 5991 for ac_header in cstring 4985 do : 4986 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 4987 if test "x$ac_cv_header_cstring" = x""yes; then : 5992 do 5993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5995 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5998 echo $ECHO_N "(cached) $ECHO_C" >&6 5999 fi 6000 ac_res=`eval echo '${'$as_ac_Header'}'` 6001 { echo "$as_me:$LINENO: result: $ac_res" >&5 6002 echo "${ECHO_T}$ac_res" >&6; } 6003 else 6004 # Is the header compilable? 6005 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6007 cat >conftest.$ac_ext <<_ACEOF 6008 /* confdefs.h. */ 6009 _ACEOF 6010 cat confdefs.h >>conftest.$ac_ext 6011 cat >>conftest.$ac_ext <<_ACEOF 6012 /* end confdefs.h. */ 6013 $ac_includes_default 6014 #include <$ac_header> 6015 _ACEOF 6016 rm -f conftest.$ac_objext 6017 if { (ac_try="$ac_compile" 6018 case "(($ac_try" in 6019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6020 *) ac_try_echo=$ac_try;; 6021 esac 6022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6023 (eval "$ac_compile") 2>conftest.er1 6024 ac_status=$? 6025 grep -v '^ *+' conftest.er1 >conftest.err 6026 rm -f conftest.er1 6027 cat conftest.err >&5 6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6029 (exit $ac_status); } && { 6030 test -z "$ac_cxx_werror_flag" || 6031 test ! -s conftest.err 6032 } && test -s conftest.$ac_objext; then 6033 ac_header_compiler=yes 6034 else 6035 echo "$as_me: failed program was:" >&5 6036 sed 's/^/| /' conftest.$ac_ext >&5 6037 6038 ac_header_compiler=no 6039 fi 6040 6041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6042 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6043 echo "${ECHO_T}$ac_header_compiler" >&6; } 6044 6045 # Is the header present? 6046 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6047 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6048 cat >conftest.$ac_ext <<_ACEOF 6049 /* confdefs.h. */ 6050 _ACEOF 6051 cat confdefs.h >>conftest.$ac_ext 6052 cat >>conftest.$ac_ext <<_ACEOF 6053 /* end confdefs.h. */ 6054 #include <$ac_header> 6055 _ACEOF 6056 if { (ac_try="$ac_cpp conftest.$ac_ext" 6057 case "(($ac_try" in 6058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6059 *) ac_try_echo=$ac_try;; 6060 esac 6061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6063 ac_status=$? 6064 grep -v '^ *+' conftest.er1 >conftest.err 6065 rm -f conftest.er1 6066 cat conftest.err >&5 6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6068 (exit $ac_status); } >/dev/null && { 6069 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6070 test ! -s conftest.err 6071 }; then 6072 ac_header_preproc=yes 6073 else 6074 echo "$as_me: failed program was:" >&5 6075 sed 's/^/| /' conftest.$ac_ext >&5 6076 6077 ac_header_preproc=no 6078 fi 6079 6080 rm -f conftest.err conftest.$ac_ext 6081 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6082 echo "${ECHO_T}$ac_header_preproc" >&6; } 6083 6084 # So? What about this header? 6085 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6086 yes:no: ) 6087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6091 ac_header_preproc=yes 6092 ;; 6093 no:yes:* ) 6094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6106 ( cat <<\_ASBOX 6107 ## ----------------------------------- ## 6108 ## Report this to rappture@nanohub.org ## 6109 ## ----------------------------------- ## 6110 _ASBOX 6111 ) | sed "s/^/$as_me: WARNING: /" >&2 6112 ;; 6113 esac 6114 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6117 echo $ECHO_N "(cached) $ECHO_C" >&6 6118 else 6119 eval "$as_ac_Header=\$ac_header_preproc" 6120 fi 6121 ac_res=`eval echo '${'$as_ac_Header'}'` 6122 { echo "$as_me:$LINENO: result: $ac_res" >&5 6123 echo "${ECHO_T}$ac_res" >&6; } 6124 6125 fi 6126 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4988 6127 cat >>confdefs.h <<_ACEOF 4989 #define HAVE_CSTRING14990 _ACEOF 4991 4992 else 4993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&54994 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}6128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6129 _ACEOF 6130 6131 else 6132 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6133 echo "$as_me: WARNING: STL classes missing ?" >&2;} 4995 6134 fi 4996 6135 4997 6136 done 4998 6137 6138 4999 6139 for ac_header in fstream 5000 do : 5001 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5002 if test "x$ac_cv_header_fstream" = x""yes; then : 6140 do 6141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6143 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6146 echo $ECHO_N "(cached) $ECHO_C" >&6 6147 fi 6148 ac_res=`eval echo '${'$as_ac_Header'}'` 6149 { echo "$as_me:$LINENO: result: $ac_res" >&5 6150 echo "${ECHO_T}$ac_res" >&6; } 6151 else 6152 # Is the header compilable? 6153 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6155 cat >conftest.$ac_ext <<_ACEOF 6156 /* confdefs.h. */ 6157 _ACEOF 6158 cat confdefs.h >>conftest.$ac_ext 6159 cat >>conftest.$ac_ext <<_ACEOF 6160 /* end confdefs.h. */ 6161 $ac_includes_default 6162 #include <$ac_header> 6163 _ACEOF 6164 rm -f conftest.$ac_objext 6165 if { (ac_try="$ac_compile" 6166 case "(($ac_try" in 6167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6168 *) ac_try_echo=$ac_try;; 6169 esac 6170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6171 (eval "$ac_compile") 2>conftest.er1 6172 ac_status=$? 6173 grep -v '^ *+' conftest.er1 >conftest.err 6174 rm -f conftest.er1 6175 cat conftest.err >&5 6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6177 (exit $ac_status); } && { 6178 test -z "$ac_cxx_werror_flag" || 6179 test ! -s conftest.err 6180 } && test -s conftest.$ac_objext; then 6181 ac_header_compiler=yes 6182 else 6183 echo "$as_me: failed program was:" >&5 6184 sed 's/^/| /' conftest.$ac_ext >&5 6185 6186 ac_header_compiler=no 6187 fi 6188 6189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6190 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6191 echo "${ECHO_T}$ac_header_compiler" >&6; } 6192 6193 # Is the header present? 6194 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6196 cat >conftest.$ac_ext <<_ACEOF 6197 /* confdefs.h. */ 6198 _ACEOF 6199 cat confdefs.h >>conftest.$ac_ext 6200 cat >>conftest.$ac_ext <<_ACEOF 6201 /* end confdefs.h. */ 6202 #include <$ac_header> 6203 _ACEOF 6204 if { (ac_try="$ac_cpp conftest.$ac_ext" 6205 case "(($ac_try" in 6206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6207 *) ac_try_echo=$ac_try;; 6208 esac 6209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6211 ac_status=$? 6212 grep -v '^ *+' conftest.er1 >conftest.err 6213 rm -f conftest.er1 6214 cat conftest.err >&5 6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6216 (exit $ac_status); } >/dev/null && { 6217 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6218 test ! -s conftest.err 6219 }; then 6220 ac_header_preproc=yes 6221 else 6222 echo "$as_me: failed program was:" >&5 6223 sed 's/^/| /' conftest.$ac_ext >&5 6224 6225 ac_header_preproc=no 6226 fi 6227 6228 rm -f conftest.err conftest.$ac_ext 6229 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6230 echo "${ECHO_T}$ac_header_preproc" >&6; } 6231 6232 # So? What about this header? 6233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6234 yes:no: ) 6235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6239 ac_header_preproc=yes 6240 ;; 6241 no:yes:* ) 6242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6254 ( cat <<\_ASBOX 6255 ## ----------------------------------- ## 6256 ## Report this to rappture@nanohub.org ## 6257 ## ----------------------------------- ## 6258 _ASBOX 6259 ) | sed "s/^/$as_me: WARNING: /" >&2 6260 ;; 6261 esac 6262 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6265 echo $ECHO_N "(cached) $ECHO_C" >&6 6266 else 6267 eval "$as_ac_Header=\$ac_header_preproc" 6268 fi 6269 ac_res=`eval echo '${'$as_ac_Header'}'` 6270 { echo "$as_me:$LINENO: result: $ac_res" >&5 6271 echo "${ECHO_T}$ac_res" >&6; } 6272 6273 fi 6274 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5003 6275 cat >>confdefs.h <<_ACEOF 5004 #define HAVE_FSTREAM15005 _ACEOF 5006 5007 else 5008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55009 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}6276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6277 _ACEOF 6278 6279 else 6280 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6281 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5010 6282 fi 5011 6283 5012 6284 done 5013 6285 6286 5014 6287 for ac_header in list 5015 do : 5016 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5017 if test "x$ac_cv_header_list" = x""yes; then : 6288 do 6289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6291 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6294 echo $ECHO_N "(cached) $ECHO_C" >&6 6295 fi 6296 ac_res=`eval echo '${'$as_ac_Header'}'` 6297 { echo "$as_me:$LINENO: result: $ac_res" >&5 6298 echo "${ECHO_T}$ac_res" >&6; } 6299 else 6300 # Is the header compilable? 6301 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6303 cat >conftest.$ac_ext <<_ACEOF 6304 /* confdefs.h. */ 6305 _ACEOF 6306 cat confdefs.h >>conftest.$ac_ext 6307 cat >>conftest.$ac_ext <<_ACEOF 6308 /* end confdefs.h. */ 6309 $ac_includes_default 6310 #include <$ac_header> 6311 _ACEOF 6312 rm -f conftest.$ac_objext 6313 if { (ac_try="$ac_compile" 6314 case "(($ac_try" in 6315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6316 *) ac_try_echo=$ac_try;; 6317 esac 6318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6319 (eval "$ac_compile") 2>conftest.er1 6320 ac_status=$? 6321 grep -v '^ *+' conftest.er1 >conftest.err 6322 rm -f conftest.er1 6323 cat conftest.err >&5 6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6325 (exit $ac_status); } && { 6326 test -z "$ac_cxx_werror_flag" || 6327 test ! -s conftest.err 6328 } && test -s conftest.$ac_objext; then 6329 ac_header_compiler=yes 6330 else 6331 echo "$as_me: failed program was:" >&5 6332 sed 's/^/| /' conftest.$ac_ext >&5 6333 6334 ac_header_compiler=no 6335 fi 6336 6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6338 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6339 echo "${ECHO_T}$ac_header_compiler" >&6; } 6340 6341 # Is the header present? 6342 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6344 cat >conftest.$ac_ext <<_ACEOF 6345 /* confdefs.h. */ 6346 _ACEOF 6347 cat confdefs.h >>conftest.$ac_ext 6348 cat >>conftest.$ac_ext <<_ACEOF 6349 /* end confdefs.h. */ 6350 #include <$ac_header> 6351 _ACEOF 6352 if { (ac_try="$ac_cpp conftest.$ac_ext" 6353 case "(($ac_try" in 6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6355 *) ac_try_echo=$ac_try;; 6356 esac 6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6359 ac_status=$? 6360 grep -v '^ *+' conftest.er1 >conftest.err 6361 rm -f conftest.er1 6362 cat conftest.err >&5 6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6364 (exit $ac_status); } >/dev/null && { 6365 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6366 test ! -s conftest.err 6367 }; then 6368 ac_header_preproc=yes 6369 else 6370 echo "$as_me: failed program was:" >&5 6371 sed 's/^/| /' conftest.$ac_ext >&5 6372 6373 ac_header_preproc=no 6374 fi 6375 6376 rm -f conftest.err conftest.$ac_ext 6377 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6378 echo "${ECHO_T}$ac_header_preproc" >&6; } 6379 6380 # So? What about this header? 6381 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6382 yes:no: ) 6383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6387 ac_header_preproc=yes 6388 ;; 6389 no:yes:* ) 6390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6402 ( cat <<\_ASBOX 6403 ## ----------------------------------- ## 6404 ## Report this to rappture@nanohub.org ## 6405 ## ----------------------------------- ## 6406 _ASBOX 6407 ) | sed "s/^/$as_me: WARNING: /" >&2 6408 ;; 6409 esac 6410 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6413 echo $ECHO_N "(cached) $ECHO_C" >&6 6414 else 6415 eval "$as_ac_Header=\$ac_header_preproc" 6416 fi 6417 ac_res=`eval echo '${'$as_ac_Header'}'` 6418 { echo "$as_me:$LINENO: result: $ac_res" >&5 6419 echo "${ECHO_T}$ac_res" >&6; } 6420 6421 fi 6422 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5018 6423 cat >>confdefs.h <<_ACEOF 5019 #define HAVE_LIST15020 _ACEOF 5021 5022 else 5023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55024 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}6424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6425 _ACEOF 6426 6427 else 6428 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6429 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5025 6430 fi 5026 6431 5027 6432 done 5028 6433 6434 5029 6435 for ac_header in iostream 5030 do : 5031 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5032 if test "x$ac_cv_header_iostream" = x""yes; then : 6436 do 6437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6439 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6442 echo $ECHO_N "(cached) $ECHO_C" >&6 6443 fi 6444 ac_res=`eval echo '${'$as_ac_Header'}'` 6445 { echo "$as_me:$LINENO: result: $ac_res" >&5 6446 echo "${ECHO_T}$ac_res" >&6; } 6447 else 6448 # Is the header compilable? 6449 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6450 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6451 cat >conftest.$ac_ext <<_ACEOF 6452 /* confdefs.h. */ 6453 _ACEOF 6454 cat confdefs.h >>conftest.$ac_ext 6455 cat >>conftest.$ac_ext <<_ACEOF 6456 /* end confdefs.h. */ 6457 $ac_includes_default 6458 #include <$ac_header> 6459 _ACEOF 6460 rm -f conftest.$ac_objext 6461 if { (ac_try="$ac_compile" 6462 case "(($ac_try" in 6463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6464 *) ac_try_echo=$ac_try;; 6465 esac 6466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6467 (eval "$ac_compile") 2>conftest.er1 6468 ac_status=$? 6469 grep -v '^ *+' conftest.er1 >conftest.err 6470 rm -f conftest.er1 6471 cat conftest.err >&5 6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6473 (exit $ac_status); } && { 6474 test -z "$ac_cxx_werror_flag" || 6475 test ! -s conftest.err 6476 } && test -s conftest.$ac_objext; then 6477 ac_header_compiler=yes 6478 else 6479 echo "$as_me: failed program was:" >&5 6480 sed 's/^/| /' conftest.$ac_ext >&5 6481 6482 ac_header_compiler=no 6483 fi 6484 6485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6486 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6487 echo "${ECHO_T}$ac_header_compiler" >&6; } 6488 6489 # Is the header present? 6490 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6492 cat >conftest.$ac_ext <<_ACEOF 6493 /* confdefs.h. */ 6494 _ACEOF 6495 cat confdefs.h >>conftest.$ac_ext 6496 cat >>conftest.$ac_ext <<_ACEOF 6497 /* end confdefs.h. */ 6498 #include <$ac_header> 6499 _ACEOF 6500 if { (ac_try="$ac_cpp conftest.$ac_ext" 6501 case "(($ac_try" in 6502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6503 *) ac_try_echo=$ac_try;; 6504 esac 6505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6507 ac_status=$? 6508 grep -v '^ *+' conftest.er1 >conftest.err 6509 rm -f conftest.er1 6510 cat conftest.err >&5 6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6512 (exit $ac_status); } >/dev/null && { 6513 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6514 test ! -s conftest.err 6515 }; then 6516 ac_header_preproc=yes 6517 else 6518 echo "$as_me: failed program was:" >&5 6519 sed 's/^/| /' conftest.$ac_ext >&5 6520 6521 ac_header_preproc=no 6522 fi 6523 6524 rm -f conftest.err conftest.$ac_ext 6525 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6526 echo "${ECHO_T}$ac_header_preproc" >&6; } 6527 6528 # So? What about this header? 6529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6530 yes:no: ) 6531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6535 ac_header_preproc=yes 6536 ;; 6537 no:yes:* ) 6538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6550 ( cat <<\_ASBOX 6551 ## ----------------------------------- ## 6552 ## Report this to rappture@nanohub.org ## 6553 ## ----------------------------------- ## 6554 _ASBOX 6555 ) | sed "s/^/$as_me: WARNING: /" >&2 6556 ;; 6557 esac 6558 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6561 echo $ECHO_N "(cached) $ECHO_C" >&6 6562 else 6563 eval "$as_ac_Header=\$ac_header_preproc" 6564 fi 6565 ac_res=`eval echo '${'$as_ac_Header'}'` 6566 { echo "$as_me:$LINENO: result: $ac_res" >&5 6567 echo "${ECHO_T}$ac_res" >&6; } 6568 6569 fi 6570 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5033 6571 cat >>confdefs.h <<_ACEOF 5034 #define HAVE_IOSTREAM15035 _ACEOF 5036 5037 else 5038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55039 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}6572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6573 _ACEOF 6574 6575 else 6576 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6577 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5040 6578 fi 5041 6579 5042 6580 done 5043 6581 6582 5044 6583 for ac_header in iterator 5045 do : 5046 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5047 if test "x$ac_cv_header_iterator" = x""yes; then : 6584 do 6585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6587 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6589 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6590 echo $ECHO_N "(cached) $ECHO_C" >&6 6591 fi 6592 ac_res=`eval echo '${'$as_ac_Header'}'` 6593 { echo "$as_me:$LINENO: result: $ac_res" >&5 6594 echo "${ECHO_T}$ac_res" >&6; } 6595 else 6596 # Is the header compilable? 6597 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6598 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6599 cat >conftest.$ac_ext <<_ACEOF 6600 /* confdefs.h. */ 6601 _ACEOF 6602 cat confdefs.h >>conftest.$ac_ext 6603 cat >>conftest.$ac_ext <<_ACEOF 6604 /* end confdefs.h. */ 6605 $ac_includes_default 6606 #include <$ac_header> 6607 _ACEOF 6608 rm -f conftest.$ac_objext 6609 if { (ac_try="$ac_compile" 6610 case "(($ac_try" in 6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6612 *) ac_try_echo=$ac_try;; 6613 esac 6614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6615 (eval "$ac_compile") 2>conftest.er1 6616 ac_status=$? 6617 grep -v '^ *+' conftest.er1 >conftest.err 6618 rm -f conftest.er1 6619 cat conftest.err >&5 6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6621 (exit $ac_status); } && { 6622 test -z "$ac_cxx_werror_flag" || 6623 test ! -s conftest.err 6624 } && test -s conftest.$ac_objext; then 6625 ac_header_compiler=yes 6626 else 6627 echo "$as_me: failed program was:" >&5 6628 sed 's/^/| /' conftest.$ac_ext >&5 6629 6630 ac_header_compiler=no 6631 fi 6632 6633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6635 echo "${ECHO_T}$ac_header_compiler" >&6; } 6636 6637 # Is the header present? 6638 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6640 cat >conftest.$ac_ext <<_ACEOF 6641 /* confdefs.h. */ 6642 _ACEOF 6643 cat confdefs.h >>conftest.$ac_ext 6644 cat >>conftest.$ac_ext <<_ACEOF 6645 /* end confdefs.h. */ 6646 #include <$ac_header> 6647 _ACEOF 6648 if { (ac_try="$ac_cpp conftest.$ac_ext" 6649 case "(($ac_try" in 6650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6651 *) ac_try_echo=$ac_try;; 6652 esac 6653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6655 ac_status=$? 6656 grep -v '^ *+' conftest.er1 >conftest.err 6657 rm -f conftest.er1 6658 cat conftest.err >&5 6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6660 (exit $ac_status); } >/dev/null && { 6661 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6662 test ! -s conftest.err 6663 }; then 6664 ac_header_preproc=yes 6665 else 6666 echo "$as_me: failed program was:" >&5 6667 sed 's/^/| /' conftest.$ac_ext >&5 6668 6669 ac_header_preproc=no 6670 fi 6671 6672 rm -f conftest.err conftest.$ac_ext 6673 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6674 echo "${ECHO_T}$ac_header_preproc" >&6; } 6675 6676 # So? What about this header? 6677 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6678 yes:no: ) 6679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6683 ac_header_preproc=yes 6684 ;; 6685 no:yes:* ) 6686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6698 ( cat <<\_ASBOX 6699 ## ----------------------------------- ## 6700 ## Report this to rappture@nanohub.org ## 6701 ## ----------------------------------- ## 6702 _ASBOX 6703 ) | sed "s/^/$as_me: WARNING: /" >&2 6704 ;; 6705 esac 6706 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6709 echo $ECHO_N "(cached) $ECHO_C" >&6 6710 else 6711 eval "$as_ac_Header=\$ac_header_preproc" 6712 fi 6713 ac_res=`eval echo '${'$as_ac_Header'}'` 6714 { echo "$as_me:$LINENO: result: $ac_res" >&5 6715 echo "${ECHO_T}$ac_res" >&6; } 6716 6717 fi 6718 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5048 6719 cat >>confdefs.h <<_ACEOF 5049 #define HAVE_ITERATOR15050 _ACEOF 5051 5052 else 5053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55054 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}6720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6721 _ACEOF 6722 6723 else 6724 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6725 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5055 6726 fi 5056 6727 5057 6728 done 5058 6729 6730 5059 6731 for ac_header in sstream 5060 do : 5061 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5062 if test "x$ac_cv_header_sstream" = x""yes; then : 6732 do 6733 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6735 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6738 echo $ECHO_N "(cached) $ECHO_C" >&6 6739 fi 6740 ac_res=`eval echo '${'$as_ac_Header'}'` 6741 { echo "$as_me:$LINENO: result: $ac_res" >&5 6742 echo "${ECHO_T}$ac_res" >&6; } 6743 else 6744 # Is the header compilable? 6745 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6747 cat >conftest.$ac_ext <<_ACEOF 6748 /* confdefs.h. */ 6749 _ACEOF 6750 cat confdefs.h >>conftest.$ac_ext 6751 cat >>conftest.$ac_ext <<_ACEOF 6752 /* end confdefs.h. */ 6753 $ac_includes_default 6754 #include <$ac_header> 6755 _ACEOF 6756 rm -f conftest.$ac_objext 6757 if { (ac_try="$ac_compile" 6758 case "(($ac_try" in 6759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6760 *) ac_try_echo=$ac_try;; 6761 esac 6762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6763 (eval "$ac_compile") 2>conftest.er1 6764 ac_status=$? 6765 grep -v '^ *+' conftest.er1 >conftest.err 6766 rm -f conftest.er1 6767 cat conftest.err >&5 6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6769 (exit $ac_status); } && { 6770 test -z "$ac_cxx_werror_flag" || 6771 test ! -s conftest.err 6772 } && test -s conftest.$ac_objext; then 6773 ac_header_compiler=yes 6774 else 6775 echo "$as_me: failed program was:" >&5 6776 sed 's/^/| /' conftest.$ac_ext >&5 6777 6778 ac_header_compiler=no 6779 fi 6780 6781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6782 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6783 echo "${ECHO_T}$ac_header_compiler" >&6; } 6784 6785 # Is the header present? 6786 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6788 cat >conftest.$ac_ext <<_ACEOF 6789 /* confdefs.h. */ 6790 _ACEOF 6791 cat confdefs.h >>conftest.$ac_ext 6792 cat >>conftest.$ac_ext <<_ACEOF 6793 /* end confdefs.h. */ 6794 #include <$ac_header> 6795 _ACEOF 6796 if { (ac_try="$ac_cpp conftest.$ac_ext" 6797 case "(($ac_try" in 6798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6799 *) ac_try_echo=$ac_try;; 6800 esac 6801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6802 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6803 ac_status=$? 6804 grep -v '^ *+' conftest.er1 >conftest.err 6805 rm -f conftest.er1 6806 cat conftest.err >&5 6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6808 (exit $ac_status); } >/dev/null && { 6809 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6810 test ! -s conftest.err 6811 }; then 6812 ac_header_preproc=yes 6813 else 6814 echo "$as_me: failed program was:" >&5 6815 sed 's/^/| /' conftest.$ac_ext >&5 6816 6817 ac_header_preproc=no 6818 fi 6819 6820 rm -f conftest.err conftest.$ac_ext 6821 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6822 echo "${ECHO_T}$ac_header_preproc" >&6; } 6823 6824 # So? What about this header? 6825 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6826 yes:no: ) 6827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6831 ac_header_preproc=yes 6832 ;; 6833 no:yes:* ) 6834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6846 ( cat <<\_ASBOX 6847 ## ----------------------------------- ## 6848 ## Report this to rappture@nanohub.org ## 6849 ## ----------------------------------- ## 6850 _ASBOX 6851 ) | sed "s/^/$as_me: WARNING: /" >&2 6852 ;; 6853 esac 6854 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6857 echo $ECHO_N "(cached) $ECHO_C" >&6 6858 else 6859 eval "$as_ac_Header=\$ac_header_preproc" 6860 fi 6861 ac_res=`eval echo '${'$as_ac_Header'}'` 6862 { echo "$as_me:$LINENO: result: $ac_res" >&5 6863 echo "${ECHO_T}$ac_res" >&6; } 6864 6865 fi 6866 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5063 6867 cat >>confdefs.h <<_ACEOF 5064 #define HAVE_SSTREAM15065 _ACEOF 5066 5067 else 5068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55069 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}6868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6869 _ACEOF 6870 6871 else 6872 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6873 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5070 6874 fi 5071 6875 5072 6876 done 5073 6877 6878 5074 6879 for ac_header in stack 5075 do : 5076 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5077 if test "x$ac_cv_header_stack" = x""yes; then : 6880 do 6881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6883 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6885 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6886 echo $ECHO_N "(cached) $ECHO_C" >&6 6887 fi 6888 ac_res=`eval echo '${'$as_ac_Header'}'` 6889 { echo "$as_me:$LINENO: result: $ac_res" >&5 6890 echo "${ECHO_T}$ac_res" >&6; } 6891 else 6892 # Is the header compilable? 6893 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6895 cat >conftest.$ac_ext <<_ACEOF 6896 /* confdefs.h. */ 6897 _ACEOF 6898 cat confdefs.h >>conftest.$ac_ext 6899 cat >>conftest.$ac_ext <<_ACEOF 6900 /* end confdefs.h. */ 6901 $ac_includes_default 6902 #include <$ac_header> 6903 _ACEOF 6904 rm -f conftest.$ac_objext 6905 if { (ac_try="$ac_compile" 6906 case "(($ac_try" in 6907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6908 *) ac_try_echo=$ac_try;; 6909 esac 6910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6911 (eval "$ac_compile") 2>conftest.er1 6912 ac_status=$? 6913 grep -v '^ *+' conftest.er1 >conftest.err 6914 rm -f conftest.er1 6915 cat conftest.err >&5 6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6917 (exit $ac_status); } && { 6918 test -z "$ac_cxx_werror_flag" || 6919 test ! -s conftest.err 6920 } && test -s conftest.$ac_objext; then 6921 ac_header_compiler=yes 6922 else 6923 echo "$as_me: failed program was:" >&5 6924 sed 's/^/| /' conftest.$ac_ext >&5 6925 6926 ac_header_compiler=no 6927 fi 6928 6929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6930 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6931 echo "${ECHO_T}$ac_header_compiler" >&6; } 6932 6933 # Is the header present? 6934 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6936 cat >conftest.$ac_ext <<_ACEOF 6937 /* confdefs.h. */ 6938 _ACEOF 6939 cat confdefs.h >>conftest.$ac_ext 6940 cat >>conftest.$ac_ext <<_ACEOF 6941 /* end confdefs.h. */ 6942 #include <$ac_header> 6943 _ACEOF 6944 if { (ac_try="$ac_cpp conftest.$ac_ext" 6945 case "(($ac_try" in 6946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6947 *) ac_try_echo=$ac_try;; 6948 esac 6949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6951 ac_status=$? 6952 grep -v '^ *+' conftest.er1 >conftest.err 6953 rm -f conftest.er1 6954 cat conftest.err >&5 6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6956 (exit $ac_status); } >/dev/null && { 6957 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6958 test ! -s conftest.err 6959 }; then 6960 ac_header_preproc=yes 6961 else 6962 echo "$as_me: failed program was:" >&5 6963 sed 's/^/| /' conftest.$ac_ext >&5 6964 6965 ac_header_preproc=no 6966 fi 6967 6968 rm -f conftest.err conftest.$ac_ext 6969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6970 echo "${ECHO_T}$ac_header_preproc" >&6; } 6971 6972 # So? What about this header? 6973 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6974 yes:no: ) 6975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6979 ac_header_preproc=yes 6980 ;; 6981 no:yes:* ) 6982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6994 ( cat <<\_ASBOX 6995 ## ----------------------------------- ## 6996 ## Report this to rappture@nanohub.org ## 6997 ## ----------------------------------- ## 6998 _ASBOX 6999 ) | sed "s/^/$as_me: WARNING: /" >&2 7000 ;; 7001 esac 7002 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7005 echo $ECHO_N "(cached) $ECHO_C" >&6 7006 else 7007 eval "$as_ac_Header=\$ac_header_preproc" 7008 fi 7009 ac_res=`eval echo '${'$as_ac_Header'}'` 7010 { echo "$as_me:$LINENO: result: $ac_res" >&5 7011 echo "${ECHO_T}$ac_res" >&6; } 7012 7013 fi 7014 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5078 7015 cat >>confdefs.h <<_ACEOF 5079 #define HAVE_STACK15080 _ACEOF 5081 5082 else 5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55084 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}7016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7017 _ACEOF 7018 7019 else 7020 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7021 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5085 7022 fi 5086 7023 5087 7024 done 5088 7025 7026 5089 7027 for ac_header in string 5090 do : 5091 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5092 if test "x$ac_cv_header_string" = x""yes; then : 7028 do 7029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7031 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7034 echo $ECHO_N "(cached) $ECHO_C" >&6 7035 fi 7036 ac_res=`eval echo '${'$as_ac_Header'}'` 7037 { echo "$as_me:$LINENO: result: $ac_res" >&5 7038 echo "${ECHO_T}$ac_res" >&6; } 7039 else 7040 # Is the header compilable? 7041 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7043 cat >conftest.$ac_ext <<_ACEOF 7044 /* confdefs.h. */ 7045 _ACEOF 7046 cat confdefs.h >>conftest.$ac_ext 7047 cat >>conftest.$ac_ext <<_ACEOF 7048 /* end confdefs.h. */ 7049 $ac_includes_default 7050 #include <$ac_header> 7051 _ACEOF 7052 rm -f conftest.$ac_objext 7053 if { (ac_try="$ac_compile" 7054 case "(($ac_try" in 7055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7056 *) ac_try_echo=$ac_try;; 7057 esac 7058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7059 (eval "$ac_compile") 2>conftest.er1 7060 ac_status=$? 7061 grep -v '^ *+' conftest.er1 >conftest.err 7062 rm -f conftest.er1 7063 cat conftest.err >&5 7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7065 (exit $ac_status); } && { 7066 test -z "$ac_cxx_werror_flag" || 7067 test ! -s conftest.err 7068 } && test -s conftest.$ac_objext; then 7069 ac_header_compiler=yes 7070 else 7071 echo "$as_me: failed program was:" >&5 7072 sed 's/^/| /' conftest.$ac_ext >&5 7073 7074 ac_header_compiler=no 7075 fi 7076 7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7078 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7079 echo "${ECHO_T}$ac_header_compiler" >&6; } 7080 7081 # Is the header present? 7082 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7084 cat >conftest.$ac_ext <<_ACEOF 7085 /* confdefs.h. */ 7086 _ACEOF 7087 cat confdefs.h >>conftest.$ac_ext 7088 cat >>conftest.$ac_ext <<_ACEOF 7089 /* end confdefs.h. */ 7090 #include <$ac_header> 7091 _ACEOF 7092 if { (ac_try="$ac_cpp conftest.$ac_ext" 7093 case "(($ac_try" in 7094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7095 *) ac_try_echo=$ac_try;; 7096 esac 7097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7099 ac_status=$? 7100 grep -v '^ *+' conftest.er1 >conftest.err 7101 rm -f conftest.er1 7102 cat conftest.err >&5 7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7104 (exit $ac_status); } >/dev/null && { 7105 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7106 test ! -s conftest.err 7107 }; then 7108 ac_header_preproc=yes 7109 else 7110 echo "$as_me: failed program was:" >&5 7111 sed 's/^/| /' conftest.$ac_ext >&5 7112 7113 ac_header_preproc=no 7114 fi 7115 7116 rm -f conftest.err conftest.$ac_ext 7117 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7118 echo "${ECHO_T}$ac_header_preproc" >&6; } 7119 7120 # So? What about this header? 7121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7122 yes:no: ) 7123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7127 ac_header_preproc=yes 7128 ;; 7129 no:yes:* ) 7130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7142 ( cat <<\_ASBOX 7143 ## ----------------------------------- ## 7144 ## Report this to rappture@nanohub.org ## 7145 ## ----------------------------------- ## 7146 _ASBOX 7147 ) | sed "s/^/$as_me: WARNING: /" >&2 7148 ;; 7149 esac 7150 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7153 echo $ECHO_N "(cached) $ECHO_C" >&6 7154 else 7155 eval "$as_ac_Header=\$ac_header_preproc" 7156 fi 7157 ac_res=`eval echo '${'$as_ac_Header'}'` 7158 { echo "$as_me:$LINENO: result: $ac_res" >&5 7159 echo "${ECHO_T}$ac_res" >&6; } 7160 7161 fi 7162 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5093 7163 cat >>confdefs.h <<_ACEOF 5094 #define HAVE_STRING15095 _ACEOF 5096 5097 else 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55099 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}7164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7165 _ACEOF 7166 7167 else 7168 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7169 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5100 7170 fi 5101 7171 5102 7172 done 5103 7173 7174 5104 7175 for ac_header in vector 5105 do : 5106 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5107 if test "x$ac_cv_header_vector" = x""yes; then : 7176 do 7177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7179 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7182 echo $ECHO_N "(cached) $ECHO_C" >&6 7183 fi 7184 ac_res=`eval echo '${'$as_ac_Header'}'` 7185 { echo "$as_me:$LINENO: result: $ac_res" >&5 7186 echo "${ECHO_T}$ac_res" >&6; } 7187 else 7188 # Is the header compilable? 7189 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7191 cat >conftest.$ac_ext <<_ACEOF 7192 /* confdefs.h. */ 7193 _ACEOF 7194 cat confdefs.h >>conftest.$ac_ext 7195 cat >>conftest.$ac_ext <<_ACEOF 7196 /* end confdefs.h. */ 7197 $ac_includes_default 7198 #include <$ac_header> 7199 _ACEOF 7200 rm -f conftest.$ac_objext 7201 if { (ac_try="$ac_compile" 7202 case "(($ac_try" in 7203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7204 *) ac_try_echo=$ac_try;; 7205 esac 7206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7207 (eval "$ac_compile") 2>conftest.er1 7208 ac_status=$? 7209 grep -v '^ *+' conftest.er1 >conftest.err 7210 rm -f conftest.er1 7211 cat conftest.err >&5 7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7213 (exit $ac_status); } && { 7214 test -z "$ac_cxx_werror_flag" || 7215 test ! -s conftest.err 7216 } && test -s conftest.$ac_objext; then 7217 ac_header_compiler=yes 7218 else 7219 echo "$as_me: failed program was:" >&5 7220 sed 's/^/| /' conftest.$ac_ext >&5 7221 7222 ac_header_compiler=no 7223 fi 7224 7225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7226 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7227 echo "${ECHO_T}$ac_header_compiler" >&6; } 7228 7229 # Is the header present? 7230 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7232 cat >conftest.$ac_ext <<_ACEOF 7233 /* confdefs.h. */ 7234 _ACEOF 7235 cat confdefs.h >>conftest.$ac_ext 7236 cat >>conftest.$ac_ext <<_ACEOF 7237 /* end confdefs.h. */ 7238 #include <$ac_header> 7239 _ACEOF 7240 if { (ac_try="$ac_cpp conftest.$ac_ext" 7241 case "(($ac_try" in 7242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7243 *) ac_try_echo=$ac_try;; 7244 esac 7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7247 ac_status=$? 7248 grep -v '^ *+' conftest.er1 >conftest.err 7249 rm -f conftest.er1 7250 cat conftest.err >&5 7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7252 (exit $ac_status); } >/dev/null && { 7253 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7254 test ! -s conftest.err 7255 }; then 7256 ac_header_preproc=yes 7257 else 7258 echo "$as_me: failed program was:" >&5 7259 sed 's/^/| /' conftest.$ac_ext >&5 7260 7261 ac_header_preproc=no 7262 fi 7263 7264 rm -f conftest.err conftest.$ac_ext 7265 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7266 echo "${ECHO_T}$ac_header_preproc" >&6; } 7267 7268 # So? What about this header? 7269 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7270 yes:no: ) 7271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7274 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7275 ac_header_preproc=yes 7276 ;; 7277 no:yes:* ) 7278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7282 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7283 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7284 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7285 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7288 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7289 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7290 ( cat <<\_ASBOX 7291 ## ----------------------------------- ## 7292 ## Report this to rappture@nanohub.org ## 7293 ## ----------------------------------- ## 7294 _ASBOX 7295 ) | sed "s/^/$as_me: WARNING: /" >&2 7296 ;; 7297 esac 7298 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7301 echo $ECHO_N "(cached) $ECHO_C" >&6 7302 else 7303 eval "$as_ac_Header=\$ac_header_preproc" 7304 fi 7305 ac_res=`eval echo '${'$as_ac_Header'}'` 7306 { echo "$as_me:$LINENO: result: $ac_res" >&5 7307 echo "${ECHO_T}$ac_res" >&6; } 7308 7309 fi 7310 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5108 7311 cat >>confdefs.h <<_ACEOF 5109 #define HAVE_VECTOR15110 _ACEOF 5111 5112 else 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&55114 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}7312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7313 _ACEOF 7314 7315 else 7316 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7317 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5115 7318 fi 5116 7319 … … 5118 7321 5119 7322 7323 5120 7324 for ac_header in assert.h 5121 do : 5122 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5123 if test "x$ac_cv_header_assert_h" = x""yes; then : 7325 do 7326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7328 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7331 echo $ECHO_N "(cached) $ECHO_C" >&6 7332 fi 7333 ac_res=`eval echo '${'$as_ac_Header'}'` 7334 { echo "$as_me:$LINENO: result: $ac_res" >&5 7335 echo "${ECHO_T}$ac_res" >&6; } 7336 else 7337 # Is the header compilable? 7338 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7340 cat >conftest.$ac_ext <<_ACEOF 7341 /* confdefs.h. */ 7342 _ACEOF 7343 cat confdefs.h >>conftest.$ac_ext 7344 cat >>conftest.$ac_ext <<_ACEOF 7345 /* end confdefs.h. */ 7346 $ac_includes_default 7347 #include <$ac_header> 7348 _ACEOF 7349 rm -f conftest.$ac_objext 7350 if { (ac_try="$ac_compile" 7351 case "(($ac_try" in 7352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7353 *) ac_try_echo=$ac_try;; 7354 esac 7355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7356 (eval "$ac_compile") 2>conftest.er1 7357 ac_status=$? 7358 grep -v '^ *+' conftest.er1 >conftest.err 7359 rm -f conftest.er1 7360 cat conftest.err >&5 7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7362 (exit $ac_status); } && { 7363 test -z "$ac_cxx_werror_flag" || 7364 test ! -s conftest.err 7365 } && test -s conftest.$ac_objext; then 7366 ac_header_compiler=yes 7367 else 7368 echo "$as_me: failed program was:" >&5 7369 sed 's/^/| /' conftest.$ac_ext >&5 7370 7371 ac_header_compiler=no 7372 fi 7373 7374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7376 echo "${ECHO_T}$ac_header_compiler" >&6; } 7377 7378 # Is the header present? 7379 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7381 cat >conftest.$ac_ext <<_ACEOF 7382 /* confdefs.h. */ 7383 _ACEOF 7384 cat confdefs.h >>conftest.$ac_ext 7385 cat >>conftest.$ac_ext <<_ACEOF 7386 /* end confdefs.h. */ 7387 #include <$ac_header> 7388 _ACEOF 7389 if { (ac_try="$ac_cpp conftest.$ac_ext" 7390 case "(($ac_try" in 7391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7392 *) ac_try_echo=$ac_try;; 7393 esac 7394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7396 ac_status=$? 7397 grep -v '^ *+' conftest.er1 >conftest.err 7398 rm -f conftest.er1 7399 cat conftest.err >&5 7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7401 (exit $ac_status); } >/dev/null && { 7402 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7403 test ! -s conftest.err 7404 }; then 7405 ac_header_preproc=yes 7406 else 7407 echo "$as_me: failed program was:" >&5 7408 sed 's/^/| /' conftest.$ac_ext >&5 7409 7410 ac_header_preproc=no 7411 fi 7412 7413 rm -f conftest.err conftest.$ac_ext 7414 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7415 echo "${ECHO_T}$ac_header_preproc" >&6; } 7416 7417 # So? What about this header? 7418 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7419 yes:no: ) 7420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7424 ac_header_preproc=yes 7425 ;; 7426 no:yes:* ) 7427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7439 ( cat <<\_ASBOX 7440 ## ----------------------------------- ## 7441 ## Report this to rappture@nanohub.org ## 7442 ## ----------------------------------- ## 7443 _ASBOX 7444 ) | sed "s/^/$as_me: WARNING: /" >&2 7445 ;; 7446 esac 7447 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7450 echo $ECHO_N "(cached) $ECHO_C" >&6 7451 else 7452 eval "$as_ac_Header=\$ac_header_preproc" 7453 fi 7454 ac_res=`eval echo '${'$as_ac_Header'}'` 7455 { echo "$as_me:$LINENO: result: $ac_res" >&5 7456 echo "${ECHO_T}$ac_res" >&6; } 7457 7458 fi 7459 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5124 7460 cat >>confdefs.h <<_ACEOF 5125 #define HAVE_ASSERT_H15126 _ACEOF 5127 5128 else 5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55130 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}7461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7462 _ACEOF 7463 7464 else 7465 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7466 echo "$as_me: WARNING: C headers missing ?" >&2;} 5131 7467 fi 5132 7468 5133 7469 done 5134 7470 7471 5135 7472 for ac_header in ctype.h 5136 do : 5137 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5138 if test "x$ac_cv_header_ctype_h" = x""yes; then : 7473 do 7474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7476 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7479 echo $ECHO_N "(cached) $ECHO_C" >&6 7480 fi 7481 ac_res=`eval echo '${'$as_ac_Header'}'` 7482 { echo "$as_me:$LINENO: result: $ac_res" >&5 7483 echo "${ECHO_T}$ac_res" >&6; } 7484 else 7485 # Is the header compilable? 7486 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7488 cat >conftest.$ac_ext <<_ACEOF 7489 /* confdefs.h. */ 7490 _ACEOF 7491 cat confdefs.h >>conftest.$ac_ext 7492 cat >>conftest.$ac_ext <<_ACEOF 7493 /* end confdefs.h. */ 7494 $ac_includes_default 7495 #include <$ac_header> 7496 _ACEOF 7497 rm -f conftest.$ac_objext 7498 if { (ac_try="$ac_compile" 7499 case "(($ac_try" in 7500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7501 *) ac_try_echo=$ac_try;; 7502 esac 7503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7504 (eval "$ac_compile") 2>conftest.er1 7505 ac_status=$? 7506 grep -v '^ *+' conftest.er1 >conftest.err 7507 rm -f conftest.er1 7508 cat conftest.err >&5 7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7510 (exit $ac_status); } && { 7511 test -z "$ac_cxx_werror_flag" || 7512 test ! -s conftest.err 7513 } && test -s conftest.$ac_objext; then 7514 ac_header_compiler=yes 7515 else 7516 echo "$as_me: failed program was:" >&5 7517 sed 's/^/| /' conftest.$ac_ext >&5 7518 7519 ac_header_compiler=no 7520 fi 7521 7522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7523 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7524 echo "${ECHO_T}$ac_header_compiler" >&6; } 7525 7526 # Is the header present? 7527 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7529 cat >conftest.$ac_ext <<_ACEOF 7530 /* confdefs.h. */ 7531 _ACEOF 7532 cat confdefs.h >>conftest.$ac_ext 7533 cat >>conftest.$ac_ext <<_ACEOF 7534 /* end confdefs.h. */ 7535 #include <$ac_header> 7536 _ACEOF 7537 if { (ac_try="$ac_cpp conftest.$ac_ext" 7538 case "(($ac_try" in 7539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7540 *) ac_try_echo=$ac_try;; 7541 esac 7542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7544 ac_status=$? 7545 grep -v '^ *+' conftest.er1 >conftest.err 7546 rm -f conftest.er1 7547 cat conftest.err >&5 7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7549 (exit $ac_status); } >/dev/null && { 7550 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7551 test ! -s conftest.err 7552 }; then 7553 ac_header_preproc=yes 7554 else 7555 echo "$as_me: failed program was:" >&5 7556 sed 's/^/| /' conftest.$ac_ext >&5 7557 7558 ac_header_preproc=no 7559 fi 7560 7561 rm -f conftest.err conftest.$ac_ext 7562 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7563 echo "${ECHO_T}$ac_header_preproc" >&6; } 7564 7565 # So? What about this header? 7566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7567 yes:no: ) 7568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7572 ac_header_preproc=yes 7573 ;; 7574 no:yes:* ) 7575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7587 ( cat <<\_ASBOX 7588 ## ----------------------------------- ## 7589 ## Report this to rappture@nanohub.org ## 7590 ## ----------------------------------- ## 7591 _ASBOX 7592 ) | sed "s/^/$as_me: WARNING: /" >&2 7593 ;; 7594 esac 7595 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7598 echo $ECHO_N "(cached) $ECHO_C" >&6 7599 else 7600 eval "$as_ac_Header=\$ac_header_preproc" 7601 fi 7602 ac_res=`eval echo '${'$as_ac_Header'}'` 7603 { echo "$as_me:$LINENO: result: $ac_res" >&5 7604 echo "${ECHO_T}$ac_res" >&6; } 7605 7606 fi 7607 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5139 7608 cat >>confdefs.h <<_ACEOF 5140 #define HAVE_CTYPE_H15141 _ACEOF 5142 5143 else 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55145 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}7609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7610 _ACEOF 7611 7612 else 7613 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7614 echo "$as_me: WARNING: C headers missing ?" >&2;} 5146 7615 fi 5147 7616 5148 7617 done 5149 7618 7619 5150 7620 for ac_header in errno.h 5151 do : 5152 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5153 if test "x$ac_cv_header_errno_h" = x""yes; then : 7621 do 7622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7624 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7627 echo $ECHO_N "(cached) $ECHO_C" >&6 7628 fi 7629 ac_res=`eval echo '${'$as_ac_Header'}'` 7630 { echo "$as_me:$LINENO: result: $ac_res" >&5 7631 echo "${ECHO_T}$ac_res" >&6; } 7632 else 7633 # Is the header compilable? 7634 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7636 cat >conftest.$ac_ext <<_ACEOF 7637 /* confdefs.h. */ 7638 _ACEOF 7639 cat confdefs.h >>conftest.$ac_ext 7640 cat >>conftest.$ac_ext <<_ACEOF 7641 /* end confdefs.h. */ 7642 $ac_includes_default 7643 #include <$ac_header> 7644 _ACEOF 7645 rm -f conftest.$ac_objext 7646 if { (ac_try="$ac_compile" 7647 case "(($ac_try" in 7648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7649 *) ac_try_echo=$ac_try;; 7650 esac 7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7652 (eval "$ac_compile") 2>conftest.er1 7653 ac_status=$? 7654 grep -v '^ *+' conftest.er1 >conftest.err 7655 rm -f conftest.er1 7656 cat conftest.err >&5 7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7658 (exit $ac_status); } && { 7659 test -z "$ac_cxx_werror_flag" || 7660 test ! -s conftest.err 7661 } && test -s conftest.$ac_objext; then 7662 ac_header_compiler=yes 7663 else 7664 echo "$as_me: failed program was:" >&5 7665 sed 's/^/| /' conftest.$ac_ext >&5 7666 7667 ac_header_compiler=no 7668 fi 7669 7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7671 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7672 echo "${ECHO_T}$ac_header_compiler" >&6; } 7673 7674 # Is the header present? 7675 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7677 cat >conftest.$ac_ext <<_ACEOF 7678 /* confdefs.h. */ 7679 _ACEOF 7680 cat confdefs.h >>conftest.$ac_ext 7681 cat >>conftest.$ac_ext <<_ACEOF 7682 /* end confdefs.h. */ 7683 #include <$ac_header> 7684 _ACEOF 7685 if { (ac_try="$ac_cpp conftest.$ac_ext" 7686 case "(($ac_try" in 7687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7688 *) ac_try_echo=$ac_try;; 7689 esac 7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7692 ac_status=$? 7693 grep -v '^ *+' conftest.er1 >conftest.err 7694 rm -f conftest.er1 7695 cat conftest.err >&5 7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7697 (exit $ac_status); } >/dev/null && { 7698 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7699 test ! -s conftest.err 7700 }; then 7701 ac_header_preproc=yes 7702 else 7703 echo "$as_me: failed program was:" >&5 7704 sed 's/^/| /' conftest.$ac_ext >&5 7705 7706 ac_header_preproc=no 7707 fi 7708 7709 rm -f conftest.err conftest.$ac_ext 7710 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7711 echo "${ECHO_T}$ac_header_preproc" >&6; } 7712 7713 # So? What about this header? 7714 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7715 yes:no: ) 7716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7719 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7720 ac_header_preproc=yes 7721 ;; 7722 no:yes:* ) 7723 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7724 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7725 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7726 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7727 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7728 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7729 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7730 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7733 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7734 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7735 ( cat <<\_ASBOX 7736 ## ----------------------------------- ## 7737 ## Report this to rappture@nanohub.org ## 7738 ## ----------------------------------- ## 7739 _ASBOX 7740 ) | sed "s/^/$as_me: WARNING: /" >&2 7741 ;; 7742 esac 7743 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7746 echo $ECHO_N "(cached) $ECHO_C" >&6 7747 else 7748 eval "$as_ac_Header=\$ac_header_preproc" 7749 fi 7750 ac_res=`eval echo '${'$as_ac_Header'}'` 7751 { echo "$as_me:$LINENO: result: $ac_res" >&5 7752 echo "${ECHO_T}$ac_res" >&6; } 7753 7754 fi 7755 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5154 7756 cat >>confdefs.h <<_ACEOF 5155 #define HAVE_ERRNO_H15156 _ACEOF 5157 5158 else 5159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55160 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}7757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7758 _ACEOF 7759 7760 else 7761 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7762 echo "$as_me: WARNING: C headers missing ?" >&2;} 5161 7763 fi 5162 7764 5163 7765 done 5164 7766 7767 5165 7768 for ac_header in limits.h 5166 do : 5167 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5168 if test "x$ac_cv_header_limits_h" = x""yes; then : 7769 do 7770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7772 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7774 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7775 echo $ECHO_N "(cached) $ECHO_C" >&6 7776 fi 7777 ac_res=`eval echo '${'$as_ac_Header'}'` 7778 { echo "$as_me:$LINENO: result: $ac_res" >&5 7779 echo "${ECHO_T}$ac_res" >&6; } 7780 else 7781 # Is the header compilable? 7782 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7784 cat >conftest.$ac_ext <<_ACEOF 7785 /* confdefs.h. */ 7786 _ACEOF 7787 cat confdefs.h >>conftest.$ac_ext 7788 cat >>conftest.$ac_ext <<_ACEOF 7789 /* end confdefs.h. */ 7790 $ac_includes_default 7791 #include <$ac_header> 7792 _ACEOF 7793 rm -f conftest.$ac_objext 7794 if { (ac_try="$ac_compile" 7795 case "(($ac_try" in 7796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7797 *) ac_try_echo=$ac_try;; 7798 esac 7799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7800 (eval "$ac_compile") 2>conftest.er1 7801 ac_status=$? 7802 grep -v '^ *+' conftest.er1 >conftest.err 7803 rm -f conftest.er1 7804 cat conftest.err >&5 7805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7806 (exit $ac_status); } && { 7807 test -z "$ac_cxx_werror_flag" || 7808 test ! -s conftest.err 7809 } && test -s conftest.$ac_objext; then 7810 ac_header_compiler=yes 7811 else 7812 echo "$as_me: failed program was:" >&5 7813 sed 's/^/| /' conftest.$ac_ext >&5 7814 7815 ac_header_compiler=no 7816 fi 7817 7818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7819 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7820 echo "${ECHO_T}$ac_header_compiler" >&6; } 7821 7822 # Is the header present? 7823 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7825 cat >conftest.$ac_ext <<_ACEOF 7826 /* confdefs.h. */ 7827 _ACEOF 7828 cat confdefs.h >>conftest.$ac_ext 7829 cat >>conftest.$ac_ext <<_ACEOF 7830 /* end confdefs.h. */ 7831 #include <$ac_header> 7832 _ACEOF 7833 if { (ac_try="$ac_cpp conftest.$ac_ext" 7834 case "(($ac_try" in 7835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7836 *) ac_try_echo=$ac_try;; 7837 esac 7838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7840 ac_status=$? 7841 grep -v '^ *+' conftest.er1 >conftest.err 7842 rm -f conftest.er1 7843 cat conftest.err >&5 7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7845 (exit $ac_status); } >/dev/null && { 7846 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7847 test ! -s conftest.err 7848 }; then 7849 ac_header_preproc=yes 7850 else 7851 echo "$as_me: failed program was:" >&5 7852 sed 's/^/| /' conftest.$ac_ext >&5 7853 7854 ac_header_preproc=no 7855 fi 7856 7857 rm -f conftest.err conftest.$ac_ext 7858 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7859 echo "${ECHO_T}$ac_header_preproc" >&6; } 7860 7861 # So? What about this header? 7862 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7863 yes:no: ) 7864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7868 ac_header_preproc=yes 7869 ;; 7870 no:yes:* ) 7871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7883 ( cat <<\_ASBOX 7884 ## ----------------------------------- ## 7885 ## Report this to rappture@nanohub.org ## 7886 ## ----------------------------------- ## 7887 _ASBOX 7888 ) | sed "s/^/$as_me: WARNING: /" >&2 7889 ;; 7890 esac 7891 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7894 echo $ECHO_N "(cached) $ECHO_C" >&6 7895 else 7896 eval "$as_ac_Header=\$ac_header_preproc" 7897 fi 7898 ac_res=`eval echo '${'$as_ac_Header'}'` 7899 { echo "$as_me:$LINENO: result: $ac_res" >&5 7900 echo "${ECHO_T}$ac_res" >&6; } 7901 7902 fi 7903 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5169 7904 cat >>confdefs.h <<_ACEOF 5170 #define HAVE_LIMITS_H15171 _ACEOF 5172 5173 else 5174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55175 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}7905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7906 _ACEOF 7907 7908 else 7909 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7910 echo "$as_me: WARNING: C headers missing ?" >&2;} 5176 7911 fi 5177 7912 5178 7913 done 5179 7914 7915 5180 7916 for ac_header in string.h 5181 do : 5182 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5183 if test "x$ac_cv_header_string_h" = x""yes; then : 7917 do 7918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7920 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7923 echo $ECHO_N "(cached) $ECHO_C" >&6 7924 fi 7925 ac_res=`eval echo '${'$as_ac_Header'}'` 7926 { echo "$as_me:$LINENO: result: $ac_res" >&5 7927 echo "${ECHO_T}$ac_res" >&6; } 7928 else 7929 # Is the header compilable? 7930 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7932 cat >conftest.$ac_ext <<_ACEOF 7933 /* confdefs.h. */ 7934 _ACEOF 7935 cat confdefs.h >>conftest.$ac_ext 7936 cat >>conftest.$ac_ext <<_ACEOF 7937 /* end confdefs.h. */ 7938 $ac_includes_default 7939 #include <$ac_header> 7940 _ACEOF 7941 rm -f conftest.$ac_objext 7942 if { (ac_try="$ac_compile" 7943 case "(($ac_try" in 7944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7945 *) ac_try_echo=$ac_try;; 7946 esac 7947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7948 (eval "$ac_compile") 2>conftest.er1 7949 ac_status=$? 7950 grep -v '^ *+' conftest.er1 >conftest.err 7951 rm -f conftest.er1 7952 cat conftest.err >&5 7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7954 (exit $ac_status); } && { 7955 test -z "$ac_cxx_werror_flag" || 7956 test ! -s conftest.err 7957 } && test -s conftest.$ac_objext; then 7958 ac_header_compiler=yes 7959 else 7960 echo "$as_me: failed program was:" >&5 7961 sed 's/^/| /' conftest.$ac_ext >&5 7962 7963 ac_header_compiler=no 7964 fi 7965 7966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7967 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7968 echo "${ECHO_T}$ac_header_compiler" >&6; } 7969 7970 # Is the header present? 7971 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7973 cat >conftest.$ac_ext <<_ACEOF 7974 /* confdefs.h. */ 7975 _ACEOF 7976 cat confdefs.h >>conftest.$ac_ext 7977 cat >>conftest.$ac_ext <<_ACEOF 7978 /* end confdefs.h. */ 7979 #include <$ac_header> 7980 _ACEOF 7981 if { (ac_try="$ac_cpp conftest.$ac_ext" 7982 case "(($ac_try" in 7983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7984 *) ac_try_echo=$ac_try;; 7985 esac 7986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7988 ac_status=$? 7989 grep -v '^ *+' conftest.er1 >conftest.err 7990 rm -f conftest.er1 7991 cat conftest.err >&5 7992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7993 (exit $ac_status); } >/dev/null && { 7994 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7995 test ! -s conftest.err 7996 }; then 7997 ac_header_preproc=yes 7998 else 7999 echo "$as_me: failed program was:" >&5 8000 sed 's/^/| /' conftest.$ac_ext >&5 8001 8002 ac_header_preproc=no 8003 fi 8004 8005 rm -f conftest.err conftest.$ac_ext 8006 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8007 echo "${ECHO_T}$ac_header_preproc" >&6; } 8008 8009 # So? What about this header? 8010 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8011 yes:no: ) 8012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8016 ac_header_preproc=yes 8017 ;; 8018 no:yes:* ) 8019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8031 ( cat <<\_ASBOX 8032 ## ----------------------------------- ## 8033 ## Report this to rappture@nanohub.org ## 8034 ## ----------------------------------- ## 8035 _ASBOX 8036 ) | sed "s/^/$as_me: WARNING: /" >&2 8037 ;; 8038 esac 8039 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8042 echo $ECHO_N "(cached) $ECHO_C" >&6 8043 else 8044 eval "$as_ac_Header=\$ac_header_preproc" 8045 fi 8046 ac_res=`eval echo '${'$as_ac_Header'}'` 8047 { echo "$as_me:$LINENO: result: $ac_res" >&5 8048 echo "${ECHO_T}$ac_res" >&6; } 8049 8050 fi 8051 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5184 8052 cat >>confdefs.h <<_ACEOF 5185 #define HAVE_STRING_H15186 _ACEOF 5187 5188 else 5189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55190 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}8053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8054 _ACEOF 8055 8056 else 8057 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8058 echo "$as_me: WARNING: C headers missing ?" >&2;} 5191 8059 fi 5192 8060 5193 8061 done 5194 8062 8063 5195 8064 for ac_header in stdlib.h 5196 do : 5197 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5198 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 8065 do 8066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8067 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8068 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8071 echo $ECHO_N "(cached) $ECHO_C" >&6 8072 fi 8073 ac_res=`eval echo '${'$as_ac_Header'}'` 8074 { echo "$as_me:$LINENO: result: $ac_res" >&5 8075 echo "${ECHO_T}$ac_res" >&6; } 8076 else 8077 # Is the header compilable? 8078 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8079 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8080 cat >conftest.$ac_ext <<_ACEOF 8081 /* confdefs.h. */ 8082 _ACEOF 8083 cat confdefs.h >>conftest.$ac_ext 8084 cat >>conftest.$ac_ext <<_ACEOF 8085 /* end confdefs.h. */ 8086 $ac_includes_default 8087 #include <$ac_header> 8088 _ACEOF 8089 rm -f conftest.$ac_objext 8090 if { (ac_try="$ac_compile" 8091 case "(($ac_try" in 8092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8093 *) ac_try_echo=$ac_try;; 8094 esac 8095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8096 (eval "$ac_compile") 2>conftest.er1 8097 ac_status=$? 8098 grep -v '^ *+' conftest.er1 >conftest.err 8099 rm -f conftest.er1 8100 cat conftest.err >&5 8101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8102 (exit $ac_status); } && { 8103 test -z "$ac_cxx_werror_flag" || 8104 test ! -s conftest.err 8105 } && test -s conftest.$ac_objext; then 8106 ac_header_compiler=yes 8107 else 8108 echo "$as_me: failed program was:" >&5 8109 sed 's/^/| /' conftest.$ac_ext >&5 8110 8111 ac_header_compiler=no 8112 fi 8113 8114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8115 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8116 echo "${ECHO_T}$ac_header_compiler" >&6; } 8117 8118 # Is the header present? 8119 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8121 cat >conftest.$ac_ext <<_ACEOF 8122 /* confdefs.h. */ 8123 _ACEOF 8124 cat confdefs.h >>conftest.$ac_ext 8125 cat >>conftest.$ac_ext <<_ACEOF 8126 /* end confdefs.h. */ 8127 #include <$ac_header> 8128 _ACEOF 8129 if { (ac_try="$ac_cpp conftest.$ac_ext" 8130 case "(($ac_try" in 8131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8132 *) ac_try_echo=$ac_try;; 8133 esac 8134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8136 ac_status=$? 8137 grep -v '^ *+' conftest.er1 >conftest.err 8138 rm -f conftest.er1 8139 cat conftest.err >&5 8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8141 (exit $ac_status); } >/dev/null && { 8142 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8143 test ! -s conftest.err 8144 }; then 8145 ac_header_preproc=yes 8146 else 8147 echo "$as_me: failed program was:" >&5 8148 sed 's/^/| /' conftest.$ac_ext >&5 8149 8150 ac_header_preproc=no 8151 fi 8152 8153 rm -f conftest.err conftest.$ac_ext 8154 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8155 echo "${ECHO_T}$ac_header_preproc" >&6; } 8156 8157 # So? What about this header? 8158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8159 yes:no: ) 8160 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8161 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8163 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8164 ac_header_preproc=yes 8165 ;; 8166 no:yes:* ) 8167 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8168 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8169 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8170 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8171 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8172 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8173 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8174 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8177 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8178 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8179 ( cat <<\_ASBOX 8180 ## ----------------------------------- ## 8181 ## Report this to rappture@nanohub.org ## 8182 ## ----------------------------------- ## 8183 _ASBOX 8184 ) | sed "s/^/$as_me: WARNING: /" >&2 8185 ;; 8186 esac 8187 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8190 echo $ECHO_N "(cached) $ECHO_C" >&6 8191 else 8192 eval "$as_ac_Header=\$ac_header_preproc" 8193 fi 8194 ac_res=`eval echo '${'$as_ac_Header'}'` 8195 { echo "$as_me:$LINENO: result: $ac_res" >&5 8196 echo "${ECHO_T}$ac_res" >&6; } 8197 8198 fi 8199 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5199 8200 cat >>confdefs.h <<_ACEOF 5200 #define HAVE_STDLIB_H15201 _ACEOF 5202 5203 else 5204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55205 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}8201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8202 _ACEOF 8203 8204 else 8205 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8206 echo "$as_me: WARNING: C headers missing ?" >&2;} 5206 8207 fi 5207 8208 5208 8209 done 5209 8210 8211 5210 8212 for ac_header in stddef.h 5211 do : 5212 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5213 if test "x$ac_cv_header_stddef_h" = x""yes; then : 8213 do 8214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8216 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8219 echo $ECHO_N "(cached) $ECHO_C" >&6 8220 fi 8221 ac_res=`eval echo '${'$as_ac_Header'}'` 8222 { echo "$as_me:$LINENO: result: $ac_res" >&5 8223 echo "${ECHO_T}$ac_res" >&6; } 8224 else 8225 # Is the header compilable? 8226 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8228 cat >conftest.$ac_ext <<_ACEOF 8229 /* confdefs.h. */ 8230 _ACEOF 8231 cat confdefs.h >>conftest.$ac_ext 8232 cat >>conftest.$ac_ext <<_ACEOF 8233 /* end confdefs.h. */ 8234 $ac_includes_default 8235 #include <$ac_header> 8236 _ACEOF 8237 rm -f conftest.$ac_objext 8238 if { (ac_try="$ac_compile" 8239 case "(($ac_try" in 8240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8241 *) ac_try_echo=$ac_try;; 8242 esac 8243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8244 (eval "$ac_compile") 2>conftest.er1 8245 ac_status=$? 8246 grep -v '^ *+' conftest.er1 >conftest.err 8247 rm -f conftest.er1 8248 cat conftest.err >&5 8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8250 (exit $ac_status); } && { 8251 test -z "$ac_cxx_werror_flag" || 8252 test ! -s conftest.err 8253 } && test -s conftest.$ac_objext; then 8254 ac_header_compiler=yes 8255 else 8256 echo "$as_me: failed program was:" >&5 8257 sed 's/^/| /' conftest.$ac_ext >&5 8258 8259 ac_header_compiler=no 8260 fi 8261 8262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8263 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8264 echo "${ECHO_T}$ac_header_compiler" >&6; } 8265 8266 # Is the header present? 8267 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8269 cat >conftest.$ac_ext <<_ACEOF 8270 /* confdefs.h. */ 8271 _ACEOF 8272 cat confdefs.h >>conftest.$ac_ext 8273 cat >>conftest.$ac_ext <<_ACEOF 8274 /* end confdefs.h. */ 8275 #include <$ac_header> 8276 _ACEOF 8277 if { (ac_try="$ac_cpp conftest.$ac_ext" 8278 case "(($ac_try" in 8279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8280 *) ac_try_echo=$ac_try;; 8281 esac 8282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8284 ac_status=$? 8285 grep -v '^ *+' conftest.er1 >conftest.err 8286 rm -f conftest.er1 8287 cat conftest.err >&5 8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8289 (exit $ac_status); } >/dev/null && { 8290 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8291 test ! -s conftest.err 8292 }; then 8293 ac_header_preproc=yes 8294 else 8295 echo "$as_me: failed program was:" >&5 8296 sed 's/^/| /' conftest.$ac_ext >&5 8297 8298 ac_header_preproc=no 8299 fi 8300 8301 rm -f conftest.err conftest.$ac_ext 8302 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8303 echo "${ECHO_T}$ac_header_preproc" >&6; } 8304 8305 # So? What about this header? 8306 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8307 yes:no: ) 8308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8312 ac_header_preproc=yes 8313 ;; 8314 no:yes:* ) 8315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8327 ( cat <<\_ASBOX 8328 ## ----------------------------------- ## 8329 ## Report this to rappture@nanohub.org ## 8330 ## ----------------------------------- ## 8331 _ASBOX 8332 ) | sed "s/^/$as_me: WARNING: /" >&2 8333 ;; 8334 esac 8335 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8338 echo $ECHO_N "(cached) $ECHO_C" >&6 8339 else 8340 eval "$as_ac_Header=\$ac_header_preproc" 8341 fi 8342 ac_res=`eval echo '${'$as_ac_Header'}'` 8343 { echo "$as_me:$LINENO: result: $ac_res" >&5 8344 echo "${ECHO_T}$ac_res" >&6; } 8345 8346 fi 8347 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5214 8348 cat >>confdefs.h <<_ACEOF 5215 #define HAVE_STDDEF_H15216 _ACEOF 5217 5218 else 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55220 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}8349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8350 _ACEOF 8351 8352 else 8353 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8354 echo "$as_me: WARNING: C headers missing ?" >&2;} 5221 8355 fi 5222 8356 5223 8357 done 5224 8358 8359 5225 8360 for ac_header in float.h 5226 do : 5227 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5228 if test "x$ac_cv_header_float_h" = x""yes; then : 8361 do 8362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8364 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8367 echo $ECHO_N "(cached) $ECHO_C" >&6 8368 fi 8369 ac_res=`eval echo '${'$as_ac_Header'}'` 8370 { echo "$as_me:$LINENO: result: $ac_res" >&5 8371 echo "${ECHO_T}$ac_res" >&6; } 8372 else 8373 # Is the header compilable? 8374 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8376 cat >conftest.$ac_ext <<_ACEOF 8377 /* confdefs.h. */ 8378 _ACEOF 8379 cat confdefs.h >>conftest.$ac_ext 8380 cat >>conftest.$ac_ext <<_ACEOF 8381 /* end confdefs.h. */ 8382 $ac_includes_default 8383 #include <$ac_header> 8384 _ACEOF 8385 rm -f conftest.$ac_objext 8386 if { (ac_try="$ac_compile" 8387 case "(($ac_try" in 8388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8389 *) ac_try_echo=$ac_try;; 8390 esac 8391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8392 (eval "$ac_compile") 2>conftest.er1 8393 ac_status=$? 8394 grep -v '^ *+' conftest.er1 >conftest.err 8395 rm -f conftest.er1 8396 cat conftest.err >&5 8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8398 (exit $ac_status); } && { 8399 test -z "$ac_cxx_werror_flag" || 8400 test ! -s conftest.err 8401 } && test -s conftest.$ac_objext; then 8402 ac_header_compiler=yes 8403 else 8404 echo "$as_me: failed program was:" >&5 8405 sed 's/^/| /' conftest.$ac_ext >&5 8406 8407 ac_header_compiler=no 8408 fi 8409 8410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8411 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8412 echo "${ECHO_T}$ac_header_compiler" >&6; } 8413 8414 # Is the header present? 8415 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8417 cat >conftest.$ac_ext <<_ACEOF 8418 /* confdefs.h. */ 8419 _ACEOF 8420 cat confdefs.h >>conftest.$ac_ext 8421 cat >>conftest.$ac_ext <<_ACEOF 8422 /* end confdefs.h. */ 8423 #include <$ac_header> 8424 _ACEOF 8425 if { (ac_try="$ac_cpp conftest.$ac_ext" 8426 case "(($ac_try" in 8427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8428 *) ac_try_echo=$ac_try;; 8429 esac 8430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8432 ac_status=$? 8433 grep -v '^ *+' conftest.er1 >conftest.err 8434 rm -f conftest.er1 8435 cat conftest.err >&5 8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8437 (exit $ac_status); } >/dev/null && { 8438 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8439 test ! -s conftest.err 8440 }; then 8441 ac_header_preproc=yes 8442 else 8443 echo "$as_me: failed program was:" >&5 8444 sed 's/^/| /' conftest.$ac_ext >&5 8445 8446 ac_header_preproc=no 8447 fi 8448 8449 rm -f conftest.err conftest.$ac_ext 8450 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8451 echo "${ECHO_T}$ac_header_preproc" >&6; } 8452 8453 # So? What about this header? 8454 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8455 yes:no: ) 8456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8460 ac_header_preproc=yes 8461 ;; 8462 no:yes:* ) 8463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8475 ( cat <<\_ASBOX 8476 ## ----------------------------------- ## 8477 ## Report this to rappture@nanohub.org ## 8478 ## ----------------------------------- ## 8479 _ASBOX 8480 ) | sed "s/^/$as_me: WARNING: /" >&2 8481 ;; 8482 esac 8483 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8486 echo $ECHO_N "(cached) $ECHO_C" >&6 8487 else 8488 eval "$as_ac_Header=\$ac_header_preproc" 8489 fi 8490 ac_res=`eval echo '${'$as_ac_Header'}'` 8491 { echo "$as_me:$LINENO: result: $ac_res" >&5 8492 echo "${ECHO_T}$ac_res" >&6; } 8493 8494 fi 8495 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5229 8496 cat >>confdefs.h <<_ACEOF 5230 #define HAVE_FLOAT_H15231 _ACEOF 5232 5233 else 5234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55235 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}8497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8498 _ACEOF 8499 8500 else 8501 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8502 echo "$as_me: WARNING: C headers missing ?" >&2;} 5236 8503 fi 5237 8504 5238 8505 done 5239 8506 8507 5240 8508 for ac_header in math.h 5241 do : 5242 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5243 if test "x$ac_cv_header_math_h" = x""yes; then : 8509 do 8510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8512 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8515 echo $ECHO_N "(cached) $ECHO_C" >&6 8516 fi 8517 ac_res=`eval echo '${'$as_ac_Header'}'` 8518 { echo "$as_me:$LINENO: result: $ac_res" >&5 8519 echo "${ECHO_T}$ac_res" >&6; } 8520 else 8521 # Is the header compilable? 8522 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8524 cat >conftest.$ac_ext <<_ACEOF 8525 /* confdefs.h. */ 8526 _ACEOF 8527 cat confdefs.h >>conftest.$ac_ext 8528 cat >>conftest.$ac_ext <<_ACEOF 8529 /* end confdefs.h. */ 8530 $ac_includes_default 8531 #include <$ac_header> 8532 _ACEOF 8533 rm -f conftest.$ac_objext 8534 if { (ac_try="$ac_compile" 8535 case "(($ac_try" in 8536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8537 *) ac_try_echo=$ac_try;; 8538 esac 8539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8540 (eval "$ac_compile") 2>conftest.er1 8541 ac_status=$? 8542 grep -v '^ *+' conftest.er1 >conftest.err 8543 rm -f conftest.er1 8544 cat conftest.err >&5 8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8546 (exit $ac_status); } && { 8547 test -z "$ac_cxx_werror_flag" || 8548 test ! -s conftest.err 8549 } && test -s conftest.$ac_objext; then 8550 ac_header_compiler=yes 8551 else 8552 echo "$as_me: failed program was:" >&5 8553 sed 's/^/| /' conftest.$ac_ext >&5 8554 8555 ac_header_compiler=no 8556 fi 8557 8558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8559 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8560 echo "${ECHO_T}$ac_header_compiler" >&6; } 8561 8562 # Is the header present? 8563 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8565 cat >conftest.$ac_ext <<_ACEOF 8566 /* confdefs.h. */ 8567 _ACEOF 8568 cat confdefs.h >>conftest.$ac_ext 8569 cat >>conftest.$ac_ext <<_ACEOF 8570 /* end confdefs.h. */ 8571 #include <$ac_header> 8572 _ACEOF 8573 if { (ac_try="$ac_cpp conftest.$ac_ext" 8574 case "(($ac_try" in 8575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8576 *) ac_try_echo=$ac_try;; 8577 esac 8578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8580 ac_status=$? 8581 grep -v '^ *+' conftest.er1 >conftest.err 8582 rm -f conftest.er1 8583 cat conftest.err >&5 8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8585 (exit $ac_status); } >/dev/null && { 8586 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8587 test ! -s conftest.err 8588 }; then 8589 ac_header_preproc=yes 8590 else 8591 echo "$as_me: failed program was:" >&5 8592 sed 's/^/| /' conftest.$ac_ext >&5 8593 8594 ac_header_preproc=no 8595 fi 8596 8597 rm -f conftest.err conftest.$ac_ext 8598 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8599 echo "${ECHO_T}$ac_header_preproc" >&6; } 8600 8601 # So? What about this header? 8602 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8603 yes:no: ) 8604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8608 ac_header_preproc=yes 8609 ;; 8610 no:yes:* ) 8611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8623 ( cat <<\_ASBOX 8624 ## ----------------------------------- ## 8625 ## Report this to rappture@nanohub.org ## 8626 ## ----------------------------------- ## 8627 _ASBOX 8628 ) | sed "s/^/$as_me: WARNING: /" >&2 8629 ;; 8630 esac 8631 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8634 echo $ECHO_N "(cached) $ECHO_C" >&6 8635 else 8636 eval "$as_ac_Header=\$ac_header_preproc" 8637 fi 8638 ac_res=`eval echo '${'$as_ac_Header'}'` 8639 { echo "$as_me:$LINENO: result: $ac_res" >&5 8640 echo "${ECHO_T}$ac_res" >&6; } 8641 8642 fi 8643 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5244 8644 cat >>confdefs.h <<_ACEOF 5245 #define HAVE_MATH_H15246 _ACEOF 5247 5248 else 5249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55250 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}8645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8646 _ACEOF 8647 8648 else 8649 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8650 echo "$as_me: WARNING: C headers missing ?" >&2;} 5251 8651 fi 5252 8652 5253 8653 done 5254 8654 8655 5255 8656 for ac_header in malloc.h 5256 do : 5257 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5258 if test "x$ac_cv_header_malloc_h" = x""yes; then : 8657 do 8658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8660 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8663 echo $ECHO_N "(cached) $ECHO_C" >&6 8664 fi 8665 ac_res=`eval echo '${'$as_ac_Header'}'` 8666 { echo "$as_me:$LINENO: result: $ac_res" >&5 8667 echo "${ECHO_T}$ac_res" >&6; } 8668 else 8669 # Is the header compilable? 8670 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8672 cat >conftest.$ac_ext <<_ACEOF 8673 /* confdefs.h. */ 8674 _ACEOF 8675 cat confdefs.h >>conftest.$ac_ext 8676 cat >>conftest.$ac_ext <<_ACEOF 8677 /* end confdefs.h. */ 8678 $ac_includes_default 8679 #include <$ac_header> 8680 _ACEOF 8681 rm -f conftest.$ac_objext 8682 if { (ac_try="$ac_compile" 8683 case "(($ac_try" in 8684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8685 *) ac_try_echo=$ac_try;; 8686 esac 8687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8688 (eval "$ac_compile") 2>conftest.er1 8689 ac_status=$? 8690 grep -v '^ *+' conftest.er1 >conftest.err 8691 rm -f conftest.er1 8692 cat conftest.err >&5 8693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8694 (exit $ac_status); } && { 8695 test -z "$ac_cxx_werror_flag" || 8696 test ! -s conftest.err 8697 } && test -s conftest.$ac_objext; then 8698 ac_header_compiler=yes 8699 else 8700 echo "$as_me: failed program was:" >&5 8701 sed 's/^/| /' conftest.$ac_ext >&5 8702 8703 ac_header_compiler=no 8704 fi 8705 8706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8707 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8708 echo "${ECHO_T}$ac_header_compiler" >&6; } 8709 8710 # Is the header present? 8711 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8713 cat >conftest.$ac_ext <<_ACEOF 8714 /* confdefs.h. */ 8715 _ACEOF 8716 cat confdefs.h >>conftest.$ac_ext 8717 cat >>conftest.$ac_ext <<_ACEOF 8718 /* end confdefs.h. */ 8719 #include <$ac_header> 8720 _ACEOF 8721 if { (ac_try="$ac_cpp conftest.$ac_ext" 8722 case "(($ac_try" in 8723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8724 *) ac_try_echo=$ac_try;; 8725 esac 8726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8728 ac_status=$? 8729 grep -v '^ *+' conftest.er1 >conftest.err 8730 rm -f conftest.er1 8731 cat conftest.err >&5 8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8733 (exit $ac_status); } >/dev/null && { 8734 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8735 test ! -s conftest.err 8736 }; then 8737 ac_header_preproc=yes 8738 else 8739 echo "$as_me: failed program was:" >&5 8740 sed 's/^/| /' conftest.$ac_ext >&5 8741 8742 ac_header_preproc=no 8743 fi 8744 8745 rm -f conftest.err conftest.$ac_ext 8746 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8747 echo "${ECHO_T}$ac_header_preproc" >&6; } 8748 8749 # So? What about this header? 8750 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8751 yes:no: ) 8752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8756 ac_header_preproc=yes 8757 ;; 8758 no:yes:* ) 8759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8771 ( cat <<\_ASBOX 8772 ## ----------------------------------- ## 8773 ## Report this to rappture@nanohub.org ## 8774 ## ----------------------------------- ## 8775 _ASBOX 8776 ) | sed "s/^/$as_me: WARNING: /" >&2 8777 ;; 8778 esac 8779 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8782 echo $ECHO_N "(cached) $ECHO_C" >&6 8783 else 8784 eval "$as_ac_Header=\$ac_header_preproc" 8785 fi 8786 ac_res=`eval echo '${'$as_ac_Header'}'` 8787 { echo "$as_me:$LINENO: result: $ac_res" >&5 8788 echo "${ECHO_T}$ac_res" >&6; } 8789 8790 fi 8791 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5259 8792 cat >>confdefs.h <<_ACEOF 5260 #define HAVE_MALLOC_H15261 _ACEOF 5262 5263 else 5264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55265 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}8793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8794 _ACEOF 8795 8796 else 8797 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8798 echo "$as_me: WARNING: C headers missing ?" >&2;} 5266 8799 fi 5267 8800 5268 8801 done 5269 8802 8803 5270 8804 for ac_header in memory.h 5271 do : 5272 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5273 if test "x$ac_cv_header_memory_h" = x""yes; then : 8805 do 8806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8808 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8811 echo $ECHO_N "(cached) $ECHO_C" >&6 8812 fi 8813 ac_res=`eval echo '${'$as_ac_Header'}'` 8814 { echo "$as_me:$LINENO: result: $ac_res" >&5 8815 echo "${ECHO_T}$ac_res" >&6; } 8816 else 8817 # Is the header compilable? 8818 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8820 cat >conftest.$ac_ext <<_ACEOF 8821 /* confdefs.h. */ 8822 _ACEOF 8823 cat confdefs.h >>conftest.$ac_ext 8824 cat >>conftest.$ac_ext <<_ACEOF 8825 /* end confdefs.h. */ 8826 $ac_includes_default 8827 #include <$ac_header> 8828 _ACEOF 8829 rm -f conftest.$ac_objext 8830 if { (ac_try="$ac_compile" 8831 case "(($ac_try" in 8832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8833 *) ac_try_echo=$ac_try;; 8834 esac 8835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8836 (eval "$ac_compile") 2>conftest.er1 8837 ac_status=$? 8838 grep -v '^ *+' conftest.er1 >conftest.err 8839 rm -f conftest.er1 8840 cat conftest.err >&5 8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8842 (exit $ac_status); } && { 8843 test -z "$ac_cxx_werror_flag" || 8844 test ! -s conftest.err 8845 } && test -s conftest.$ac_objext; then 8846 ac_header_compiler=yes 8847 else 8848 echo "$as_me: failed program was:" >&5 8849 sed 's/^/| /' conftest.$ac_ext >&5 8850 8851 ac_header_compiler=no 8852 fi 8853 8854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8855 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8856 echo "${ECHO_T}$ac_header_compiler" >&6; } 8857 8858 # Is the header present? 8859 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8861 cat >conftest.$ac_ext <<_ACEOF 8862 /* confdefs.h. */ 8863 _ACEOF 8864 cat confdefs.h >>conftest.$ac_ext 8865 cat >>conftest.$ac_ext <<_ACEOF 8866 /* end confdefs.h. */ 8867 #include <$ac_header> 8868 _ACEOF 8869 if { (ac_try="$ac_cpp conftest.$ac_ext" 8870 case "(($ac_try" in 8871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8872 *) ac_try_echo=$ac_try;; 8873 esac 8874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8876 ac_status=$? 8877 grep -v '^ *+' conftest.er1 >conftest.err 8878 rm -f conftest.er1 8879 cat conftest.err >&5 8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8881 (exit $ac_status); } >/dev/null && { 8882 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8883 test ! -s conftest.err 8884 }; then 8885 ac_header_preproc=yes 8886 else 8887 echo "$as_me: failed program was:" >&5 8888 sed 's/^/| /' conftest.$ac_ext >&5 8889 8890 ac_header_preproc=no 8891 fi 8892 8893 rm -f conftest.err conftest.$ac_ext 8894 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8895 echo "${ECHO_T}$ac_header_preproc" >&6; } 8896 8897 # So? What about this header? 8898 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8899 yes:no: ) 8900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8904 ac_header_preproc=yes 8905 ;; 8906 no:yes:* ) 8907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8919 ( cat <<\_ASBOX 8920 ## ----------------------------------- ## 8921 ## Report this to rappture@nanohub.org ## 8922 ## ----------------------------------- ## 8923 _ASBOX 8924 ) | sed "s/^/$as_me: WARNING: /" >&2 8925 ;; 8926 esac 8927 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8930 echo $ECHO_N "(cached) $ECHO_C" >&6 8931 else 8932 eval "$as_ac_Header=\$ac_header_preproc" 8933 fi 8934 ac_res=`eval echo '${'$as_ac_Header'}'` 8935 { echo "$as_me:$LINENO: result: $ac_res" >&5 8936 echo "${ECHO_T}$ac_res" >&6; } 8937 8938 fi 8939 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5274 8940 cat >>confdefs.h <<_ACEOF 5275 #define HAVE_MEMORY_H15276 _ACEOF 5277 5278 else 5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55280 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}8941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8942 _ACEOF 8943 8944 else 8945 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8946 echo "$as_me: WARNING: C headers missing ?" >&2;} 5281 8947 fi 5282 8948 5283 8949 done 5284 8950 8951 5285 8952 for ac_header in unistd.h 5286 do : 5287 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5288 if test "x$ac_cv_header_unistd_h" = x""yes; then : 8953 do 8954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8956 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8959 echo $ECHO_N "(cached) $ECHO_C" >&6 8960 fi 8961 ac_res=`eval echo '${'$as_ac_Header'}'` 8962 { echo "$as_me:$LINENO: result: $ac_res" >&5 8963 echo "${ECHO_T}$ac_res" >&6; } 8964 else 8965 # Is the header compilable? 8966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8968 cat >conftest.$ac_ext <<_ACEOF 8969 /* confdefs.h. */ 8970 _ACEOF 8971 cat confdefs.h >>conftest.$ac_ext 8972 cat >>conftest.$ac_ext <<_ACEOF 8973 /* end confdefs.h. */ 8974 $ac_includes_default 8975 #include <$ac_header> 8976 _ACEOF 8977 rm -f conftest.$ac_objext 8978 if { (ac_try="$ac_compile" 8979 case "(($ac_try" in 8980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8981 *) ac_try_echo=$ac_try;; 8982 esac 8983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8984 (eval "$ac_compile") 2>conftest.er1 8985 ac_status=$? 8986 grep -v '^ *+' conftest.er1 >conftest.err 8987 rm -f conftest.er1 8988 cat conftest.err >&5 8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8990 (exit $ac_status); } && { 8991 test -z "$ac_cxx_werror_flag" || 8992 test ! -s conftest.err 8993 } && test -s conftest.$ac_objext; then 8994 ac_header_compiler=yes 8995 else 8996 echo "$as_me: failed program was:" >&5 8997 sed 's/^/| /' conftest.$ac_ext >&5 8998 8999 ac_header_compiler=no 9000 fi 9001 9002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9004 echo "${ECHO_T}$ac_header_compiler" >&6; } 9005 9006 # Is the header present? 9007 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9009 cat >conftest.$ac_ext <<_ACEOF 9010 /* confdefs.h. */ 9011 _ACEOF 9012 cat confdefs.h >>conftest.$ac_ext 9013 cat >>conftest.$ac_ext <<_ACEOF 9014 /* end confdefs.h. */ 9015 #include <$ac_header> 9016 _ACEOF 9017 if { (ac_try="$ac_cpp conftest.$ac_ext" 9018 case "(($ac_try" in 9019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9020 *) ac_try_echo=$ac_try;; 9021 esac 9022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9024 ac_status=$? 9025 grep -v '^ *+' conftest.er1 >conftest.err 9026 rm -f conftest.er1 9027 cat conftest.err >&5 9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9029 (exit $ac_status); } >/dev/null && { 9030 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9031 test ! -s conftest.err 9032 }; then 9033 ac_header_preproc=yes 9034 else 9035 echo "$as_me: failed program was:" >&5 9036 sed 's/^/| /' conftest.$ac_ext >&5 9037 9038 ac_header_preproc=no 9039 fi 9040 9041 rm -f conftest.err conftest.$ac_ext 9042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9043 echo "${ECHO_T}$ac_header_preproc" >&6; } 9044 9045 # So? What about this header? 9046 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9047 yes:no: ) 9048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9052 ac_header_preproc=yes 9053 ;; 9054 no:yes:* ) 9055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9059 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9061 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9062 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9065 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9067 ( cat <<\_ASBOX 9068 ## ----------------------------------- ## 9069 ## Report this to rappture@nanohub.org ## 9070 ## ----------------------------------- ## 9071 _ASBOX 9072 ) | sed "s/^/$as_me: WARNING: /" >&2 9073 ;; 9074 esac 9075 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9078 echo $ECHO_N "(cached) $ECHO_C" >&6 9079 else 9080 eval "$as_ac_Header=\$ac_header_preproc" 9081 fi 9082 ac_res=`eval echo '${'$as_ac_Header'}'` 9083 { echo "$as_me:$LINENO: result: $ac_res" >&5 9084 echo "${ECHO_T}$ac_res" >&6; } 9085 9086 fi 9087 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5289 9088 cat >>confdefs.h <<_ACEOF 5290 #define HAVE_UNISTD_H15291 _ACEOF 5292 5293 else 5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55295 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}9089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9090 _ACEOF 9091 9092 else 9093 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 9094 echo "$as_me: WARNING: C headers missing ?" >&2;} 5296 9095 fi 5297 9096 … … 5299 9098 5300 9099 9100 5301 9101 for ac_header in inttypes.h 5302 do : 5303 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5304 if test "x$ac_cv_header_inttypes_h" = x""yes; then : 9102 do 9103 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9105 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9108 echo $ECHO_N "(cached) $ECHO_C" >&6 9109 fi 9110 ac_res=`eval echo '${'$as_ac_Header'}'` 9111 { echo "$as_me:$LINENO: result: $ac_res" >&5 9112 echo "${ECHO_T}$ac_res" >&6; } 9113 else 9114 # Is the header compilable? 9115 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9117 cat >conftest.$ac_ext <<_ACEOF 9118 /* confdefs.h. */ 9119 _ACEOF 9120 cat confdefs.h >>conftest.$ac_ext 9121 cat >>conftest.$ac_ext <<_ACEOF 9122 /* end confdefs.h. */ 9123 $ac_includes_default 9124 #include <$ac_header> 9125 _ACEOF 9126 rm -f conftest.$ac_objext 9127 if { (ac_try="$ac_compile" 9128 case "(($ac_try" in 9129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9130 *) ac_try_echo=$ac_try;; 9131 esac 9132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9133 (eval "$ac_compile") 2>conftest.er1 9134 ac_status=$? 9135 grep -v '^ *+' conftest.er1 >conftest.err 9136 rm -f conftest.er1 9137 cat conftest.err >&5 9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9139 (exit $ac_status); } && { 9140 test -z "$ac_cxx_werror_flag" || 9141 test ! -s conftest.err 9142 } && test -s conftest.$ac_objext; then 9143 ac_header_compiler=yes 9144 else 9145 echo "$as_me: failed program was:" >&5 9146 sed 's/^/| /' conftest.$ac_ext >&5 9147 9148 ac_header_compiler=no 9149 fi 9150 9151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9153 echo "${ECHO_T}$ac_header_compiler" >&6; } 9154 9155 # Is the header present? 9156 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9158 cat >conftest.$ac_ext <<_ACEOF 9159 /* confdefs.h. */ 9160 _ACEOF 9161 cat confdefs.h >>conftest.$ac_ext 9162 cat >>conftest.$ac_ext <<_ACEOF 9163 /* end confdefs.h. */ 9164 #include <$ac_header> 9165 _ACEOF 9166 if { (ac_try="$ac_cpp conftest.$ac_ext" 9167 case "(($ac_try" in 9168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9169 *) ac_try_echo=$ac_try;; 9170 esac 9171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9173 ac_status=$? 9174 grep -v '^ *+' conftest.er1 >conftest.err 9175 rm -f conftest.er1 9176 cat conftest.err >&5 9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9178 (exit $ac_status); } >/dev/null && { 9179 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9180 test ! -s conftest.err 9181 }; then 9182 ac_header_preproc=yes 9183 else 9184 echo "$as_me: failed program was:" >&5 9185 sed 's/^/| /' conftest.$ac_ext >&5 9186 9187 ac_header_preproc=no 9188 fi 9189 9190 rm -f conftest.err conftest.$ac_ext 9191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9192 echo "${ECHO_T}$ac_header_preproc" >&6; } 9193 9194 # So? What about this header? 9195 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9196 yes:no: ) 9197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9201 ac_header_preproc=yes 9202 ;; 9203 no:yes:* ) 9204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9216 ( cat <<\_ASBOX 9217 ## ----------------------------------- ## 9218 ## Report this to rappture@nanohub.org ## 9219 ## ----------------------------------- ## 9220 _ASBOX 9221 ) | sed "s/^/$as_me: WARNING: /" >&2 9222 ;; 9223 esac 9224 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9227 echo $ECHO_N "(cached) $ECHO_C" >&6 9228 else 9229 eval "$as_ac_Header=\$ac_header_preproc" 9230 fi 9231 ac_res=`eval echo '${'$as_ac_Header'}'` 9232 { echo "$as_me:$LINENO: result: $ac_res" >&5 9233 echo "${ECHO_T}$ac_res" >&6; } 9234 9235 fi 9236 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5305 9237 cat >>confdefs.h <<_ACEOF 5306 #define HAVE_INTTYPES_H15307 _ACEOF 5308 5309 else 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&55311 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}9238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9239 _ACEOF 9240 9241 else 9242 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 9243 echo "$as_me: WARNING: C headers missing ?" >&2;} 5312 9244 fi 5313 9245 … … 5326 9258 # Step 0.a: Enable 64 bit support? 5327 9259 5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&55329 $as_echo_n "checking if 64bit support is requested..." >&6; }9260 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 9261 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; } 5330 9262 # Check whether --enable-64bit was given. 5331 if test "${enable_64bit+set}" = set; then :9263 if test "${enable_64bit+set}" = set; then 5332 9264 enableval=$enable_64bit; do64bit=$enableval 5333 9265 else … … 5335 9267 fi 5336 9268 5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&55338 $as_echo "$do64bit" >&6; }9269 { echo "$as_me:$LINENO: result: $do64bit" >&5 9270 echo "${ECHO_T}$do64bit" >&6; } 5339 9271 5340 9272 # Step 0.b: Enable Solaris 64 bit VIS support? 5341 9273 5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&55343 $as_echo_n "checking if 64bit Sparc VIS support is requested..." >&6; }9274 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 9275 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; } 5344 9276 # Check whether --enable-64bit-vis was given. 5345 if test "${enable_64bit_vis+set}" = set; then :9277 if test "${enable_64bit_vis+set}" = set; then 5346 9278 enableval=$enable_64bit_vis; do64bitVIS=$enableval 5347 9279 else … … 5349 9281 fi 5350 9282 5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&55352 $as_echo "$do64bitVIS" >&6; }9283 { echo "$as_me:$LINENO: result: $do64bitVIS" >&5 9284 echo "${ECHO_T}$do64bitVIS" >&6; } 5353 9285 5354 9286 if test "$do64bitVIS" = "yes"; then … … 5361 9293 5362 9294 5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&55364 $as_echo_n "checking system version..." >&6; }5365 if test "${tcl_cv_sys_version+set}" = set; then :5366 $as_echo_n "(cached)" >&69295 { echo "$as_me:$LINENO: checking system version" >&5 9296 echo $ECHO_N "checking system version... $ECHO_C" >&6; } 9297 if test "${tcl_cv_sys_version+set}" = set; then 9298 echo $ECHO_N "(cached) $ECHO_C" >&6 5367 9299 else 5368 9300 … … 5372 9304 tcl_cv_sys_version=`uname -s`-`uname -r` 5373 9305 if test "$?" -ne 0 ; then 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&55375 $as_echo "$as_me: WARNING: can't find uname command" >&2;}9306 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 9307 echo "$as_me: WARNING: can't find uname command" >&2;} 5376 9308 tcl_cv_sys_version=unknown 5377 9309 else … … 5389 9321 5390 9322 fi 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&55392 $as_echo "$tcl_cv_sys_version" >&6; }9323 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 9324 echo "${ECHO_T}$tcl_cv_sys_version" >&6; } 5393 9325 system=$tcl_cv_sys_version 5394 9326 … … 5397 9329 # Linux can use either -ldl or -ldld for dynamic loading. 5398 9330 5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&55400 $as_echo_n "checking for dlopen in -ldl..." >&6; }5401 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :5402 $as_echo_n "(cached)" >&69331 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 9332 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 9333 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 9334 echo $ECHO_N "(cached) $ECHO_C" >&6 5403 9335 else 5404 9336 ac_check_lib_save_LIBS=$LIBS 5405 9337 LIBS="-ldl $LIBS" 5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9338 cat >conftest.$ac_ext <<_ACEOF 9339 /* confdefs.h. */ 9340 _ACEOF 9341 cat confdefs.h >>conftest.$ac_ext 9342 cat >>conftest.$ac_ext <<_ACEOF 5407 9343 /* end confdefs.h. */ 5408 9344 … … 5422 9358 } 5423 9359 _ACEOF 5424 if ac_fn_cxx_try_link "$LINENO"; then : 9360 rm -f conftest.$ac_objext conftest$ac_exeext 9361 if { (ac_try="$ac_link" 9362 case "(($ac_try" in 9363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9364 *) ac_try_echo=$ac_try;; 9365 esac 9366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9367 (eval "$ac_link") 2>conftest.er1 9368 ac_status=$? 9369 grep -v '^ *+' conftest.er1 >conftest.err 9370 rm -f conftest.er1 9371 cat conftest.err >&5 9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9373 (exit $ac_status); } && { 9374 test -z "$ac_cxx_werror_flag" || 9375 test ! -s conftest.err 9376 } && test -s conftest$ac_exeext && 9377 $as_test_x conftest$ac_exeext; then 5425 9378 ac_cv_lib_dl_dlopen=yes 5426 9379 else 5427 ac_cv_lib_dl_dlopen=no 5428 fi 5429 rm -f core conftest.err conftest.$ac_objext \ 5430 conftest$ac_exeext conftest.$ac_ext 9380 echo "$as_me: failed program was:" >&5 9381 sed 's/^/| /' conftest.$ac_ext >&5 9382 9383 ac_cv_lib_dl_dlopen=no 9384 fi 9385 9386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9387 conftest$ac_exeext conftest.$ac_ext 5431 9388 LIBS=$ac_check_lib_save_LIBS 5432 9389 fi 5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&55434 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }5435 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :9390 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9391 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 9392 if test $ac_cv_lib_dl_dlopen = yes; then 5436 9393 have_dl=yes 5437 9394 else … … 5465 9422 # Extract the first word of "ar", so it can be a program name with args. 5466 9423 set dummy ar; ac_word=$2 5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55468 $as_echo_n "checking for $ac_word..." >&6; }5469 if test "${ac_cv_prog_AR+set}" = set; then :5470 $as_echo_n "(cached)" >&69424 { echo "$as_me:$LINENO: checking for $ac_word" >&5 9425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 9426 if test "${ac_cv_prog_AR+set}" = set; then 9427 echo $ECHO_N "(cached) $ECHO_C" >&6 5471 9428 else 5472 9429 if test -n "$AR"; then … … 5478 9435 IFS=$as_save_IFS 5479 9436 test -z "$as_dir" && as_dir=. 5480 9437 for ac_exec_ext in '' $ac_executable_extensions; do 5481 9438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5482 9439 ac_cv_prog_AR="ar" 5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&59440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5484 9441 break 2 5485 9442 fi 5486 9443 done 5487 9444 done 5488 9445 IFS=$as_save_IFS 5489 9446 … … 5492 9449 AR=$ac_cv_prog_AR 5493 9450 if test -n "$AR"; then 5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&55495 $as_echo "$AR" >&6; }5496 else 5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55498 $as_echo "no" >&6; }9451 { echo "$as_me:$LINENO: result: $AR" >&5 9452 echo "${ECHO_T}$AR" >&6; } 9453 else 9454 { echo "$as_me:$LINENO: result: no" >&5 9455 echo "${ECHO_T}no" >&6; } 5499 9456 fi 5500 9457 5501 9458 5502 9459 if test "${AR}" = "" ; then 5503 as_fn_error "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9460 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9461 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9462 { (exit 1); exit 1; }; } 5504 9463 fi 5505 9464 STLIB_LD='${AR} cr' … … 5519 9478 ;; 5520 9479 esac 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&55522 $as_echo "Using $CC for compiling with threads" >&6; }9480 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 9481 echo "${ECHO_T}Using $CC for compiling with threads" >&6; } 5523 9482 fi 5524 9483 LIBS="$LIBS -lc" … … 5535 9494 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 5536 9495 if test "$GCC" = "yes" ; then 5537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&55538 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}9496 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 9497 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5539 9498 else 5540 9499 do64bit_ok=yes … … 5590 9549 # known GMT value. 5591 9550 5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&55593 $as_echo_n "checking for gettimeofday in -lbsd..." >&6; }5594 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then :5595 $as_echo_n "(cached)" >&69551 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 9552 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; } 9553 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 9554 echo $ECHO_N "(cached) $ECHO_C" >&6 5596 9555 else 5597 9556 ac_check_lib_save_LIBS=$LIBS 5598 9557 LIBS="-lbsd $LIBS" 5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9558 cat >conftest.$ac_ext <<_ACEOF 9559 /* confdefs.h. */ 9560 _ACEOF 9561 cat confdefs.h >>conftest.$ac_ext 9562 cat >>conftest.$ac_ext <<_ACEOF 5600 9563 /* end confdefs.h. */ 5601 9564 … … 5615 9578 } 5616 9579 _ACEOF 5617 if ac_fn_cxx_try_link "$LINENO"; then : 9580 rm -f conftest.$ac_objext conftest$ac_exeext 9581 if { (ac_try="$ac_link" 9582 case "(($ac_try" in 9583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9584 *) ac_try_echo=$ac_try;; 9585 esac 9586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9587 (eval "$ac_link") 2>conftest.er1 9588 ac_status=$? 9589 grep -v '^ *+' conftest.er1 >conftest.err 9590 rm -f conftest.er1 9591 cat conftest.err >&5 9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9593 (exit $ac_status); } && { 9594 test -z "$ac_cxx_werror_flag" || 9595 test ! -s conftest.err 9596 } && test -s conftest$ac_exeext && 9597 $as_test_x conftest$ac_exeext; then 5618 9598 ac_cv_lib_bsd_gettimeofday=yes 5619 9599 else 5620 ac_cv_lib_bsd_gettimeofday=no 5621 fi 5622 rm -f core conftest.err conftest.$ac_objext \ 5623 conftest$ac_exeext conftest.$ac_ext 9600 echo "$as_me: failed program was:" >&5 9601 sed 's/^/| /' conftest.$ac_ext >&5 9602 9603 ac_cv_lib_bsd_gettimeofday=no 9604 fi 9605 9606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9607 conftest$ac_exeext conftest.$ac_ext 5624 9608 LIBS=$ac_check_lib_save_LIBS 5625 9609 fi 5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&55627 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }5628 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then :9610 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 9611 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; } 9612 if test $ac_cv_lib_bsd_gettimeofday = yes; then 5629 9613 libbsd=yes 5630 9614 else … … 5634 9618 if test $libbsd = yes; then 5635 9619 MATH_LIBS="$MATH_LIBS -lbsd" 5636 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9620 cat >>confdefs.h <<\_ACEOF 9621 #define USE_DELTA_FOR_TZ 1 9622 _ACEOF 5637 9623 5638 9624 fi … … 5651 9637 # is always linked to, for compatibility. 5652 9638 #----------------------------------------------------------- 5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&55654 $as_echo_n "checking for inet_ntoa in -lbind..." >&6; }5655 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then :5656 $as_echo_n "(cached)" >&69639 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 9640 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; } 9641 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 9642 echo $ECHO_N "(cached) $ECHO_C" >&6 5657 9643 else 5658 9644 ac_check_lib_save_LIBS=$LIBS 5659 9645 LIBS="-lbind $LIBS" 5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9646 cat >conftest.$ac_ext <<_ACEOF 9647 /* confdefs.h. */ 9648 _ACEOF 9649 cat confdefs.h >>conftest.$ac_ext 9650 cat >>conftest.$ac_ext <<_ACEOF 5661 9651 /* end confdefs.h. */ 5662 9652 … … 5676 9666 } 5677 9667 _ACEOF 5678 if ac_fn_cxx_try_link "$LINENO"; then : 9668 rm -f conftest.$ac_objext conftest$ac_exeext 9669 if { (ac_try="$ac_link" 9670 case "(($ac_try" in 9671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9672 *) ac_try_echo=$ac_try;; 9673 esac 9674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9675 (eval "$ac_link") 2>conftest.er1 9676 ac_status=$? 9677 grep -v '^ *+' conftest.er1 >conftest.err 9678 rm -f conftest.er1 9679 cat conftest.err >&5 9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9681 (exit $ac_status); } && { 9682 test -z "$ac_cxx_werror_flag" || 9683 test ! -s conftest.err 9684 } && test -s conftest$ac_exeext && 9685 $as_test_x conftest$ac_exeext; then 5679 9686 ac_cv_lib_bind_inet_ntoa=yes 5680 9687 else 5681 ac_cv_lib_bind_inet_ntoa=no 5682 fi 5683 rm -f core conftest.err conftest.$ac_objext \ 5684 conftest$ac_exeext conftest.$ac_ext 9688 echo "$as_me: failed program was:" >&5 9689 sed 's/^/| /' conftest.$ac_ext >&5 9690 9691 ac_cv_lib_bind_inet_ntoa=no 9692 fi 9693 9694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9695 conftest$ac_exeext conftest.$ac_ext 5685 9696 LIBS=$ac_check_lib_save_LIBS 5686 9697 fi 5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&55688 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }5689 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then :9698 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 9699 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; } 9700 if test $ac_cv_lib_bind_inet_ntoa = yes; then 5690 9701 LIBS="$LIBS -lbind -lsocket" 5691 9702 fi … … 5725 9736 HP-UX-*.11.*) 5726 9737 # Use updated header definitions where possible 5727 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9738 cat >>confdefs.h <<\_ACEOF 9739 #define _XOPEN_SOURCE 1 9740 _ACEOF 5728 9741 # Use the XOPEN network library 5729 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9742 cat >>confdefs.h <<\_ACEOF 9743 #define _XOPEN_SOURCE_EXTENDED 1 9744 _ACEOF 5730 9745 # Use the XOPEN network library 5731 9746 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 5736 9751 SHLIB_SUFFIX=".sl" 5737 9752 fi 5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&55739 $as_echo_n "checking for shl_load in -ldld..." >&6; }5740 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :5741 $as_echo_n "(cached)" >&69753 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 9754 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 9755 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9756 echo $ECHO_N "(cached) $ECHO_C" >&6 5742 9757 else 5743 9758 ac_check_lib_save_LIBS=$LIBS 5744 9759 LIBS="-ldld $LIBS" 5745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9760 cat >conftest.$ac_ext <<_ACEOF 9761 /* confdefs.h. */ 9762 _ACEOF 9763 cat confdefs.h >>conftest.$ac_ext 9764 cat >>conftest.$ac_ext <<_ACEOF 5746 9765 /* end confdefs.h. */ 5747 9766 … … 5761 9780 } 5762 9781 _ACEOF 5763 if ac_fn_cxx_try_link "$LINENO"; then : 9782 rm -f conftest.$ac_objext conftest$ac_exeext 9783 if { (ac_try="$ac_link" 9784 case "(($ac_try" in 9785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9786 *) ac_try_echo=$ac_try;; 9787 esac 9788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9789 (eval "$ac_link") 2>conftest.er1 9790 ac_status=$? 9791 grep -v '^ *+' conftest.er1 >conftest.err 9792 rm -f conftest.er1 9793 cat conftest.err >&5 9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9795 (exit $ac_status); } && { 9796 test -z "$ac_cxx_werror_flag" || 9797 test ! -s conftest.err 9798 } && test -s conftest$ac_exeext && 9799 $as_test_x conftest$ac_exeext; then 5764 9800 ac_cv_lib_dld_shl_load=yes 5765 9801 else 5766 ac_cv_lib_dld_shl_load=no 5767 fi 5768 rm -f core conftest.err conftest.$ac_objext \ 5769 conftest$ac_exeext conftest.$ac_ext 9802 echo "$as_me: failed program was:" >&5 9803 sed 's/^/| /' conftest.$ac_ext >&5 9804 9805 ac_cv_lib_dld_shl_load=no 9806 fi 9807 9808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9809 conftest$ac_exeext conftest.$ac_ext 5770 9810 LIBS=$ac_check_lib_save_LIBS 5771 9811 fi 5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&55773 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }5774 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :9812 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 9813 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 9814 if test $ac_cv_lib_dld_shl_load = yes; then 5775 9815 tcl_ok=yes 5776 9816 else … … 5812 9852 ;; 5813 9853 *) 5814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&55815 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}9854 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 9855 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5816 9856 ;; 5817 9857 esac … … 5825 9865 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 5826 9866 SHLIB_SUFFIX=".sl" 5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&55828 $as_echo_n "checking for shl_load in -ldld..." >&6; }5829 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :5830 $as_echo_n "(cached)" >&69867 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 9868 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 9869 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9870 echo $ECHO_N "(cached) $ECHO_C" >&6 5831 9871 else 5832 9872 ac_check_lib_save_LIBS=$LIBS 5833 9873 LIBS="-ldld $LIBS" 5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9874 cat >conftest.$ac_ext <<_ACEOF 9875 /* confdefs.h. */ 9876 _ACEOF 9877 cat confdefs.h >>conftest.$ac_ext 9878 cat >>conftest.$ac_ext <<_ACEOF 5835 9879 /* end confdefs.h. */ 5836 9880 … … 5850 9894 } 5851 9895 _ACEOF 5852 if ac_fn_cxx_try_link "$LINENO"; then : 9896 rm -f conftest.$ac_objext conftest$ac_exeext 9897 if { (ac_try="$ac_link" 9898 case "(($ac_try" in 9899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9900 *) ac_try_echo=$ac_try;; 9901 esac 9902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9903 (eval "$ac_link") 2>conftest.er1 9904 ac_status=$? 9905 grep -v '^ *+' conftest.er1 >conftest.err 9906 rm -f conftest.er1 9907 cat conftest.err >&5 9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9909 (exit $ac_status); } && { 9910 test -z "$ac_cxx_werror_flag" || 9911 test ! -s conftest.err 9912 } && test -s conftest$ac_exeext && 9913 $as_test_x conftest$ac_exeext; then 5853 9914 ac_cv_lib_dld_shl_load=yes 5854 9915 else 5855 ac_cv_lib_dld_shl_load=no 5856 fi 5857 rm -f core conftest.err conftest.$ac_objext \ 5858 conftest$ac_exeext conftest.$ac_ext 9916 echo "$as_me: failed program was:" >&5 9917 sed 's/^/| /' conftest.$ac_ext >&5 9918 9919 ac_cv_lib_dld_shl_load=no 9920 fi 9921 9922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9923 conftest$ac_exeext conftest.$ac_ext 5859 9924 LIBS=$ac_check_lib_save_LIBS 5860 9925 fi 5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&55862 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }5863 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :9926 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 9927 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 9928 if test $ac_cv_lib_dld_shl_load = yes; then 5864 9929 tcl_ok=yes 5865 9930 else … … 5940 10005 if test "$do64bit" = "yes" ; then 5941 10006 if test "$GCC" = "yes" ; then 5942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&55943 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}10007 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 10008 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 5944 10009 else 5945 10010 do64bit_ok=yes … … 5969 10034 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5970 10035 else 5971 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 5972 if test "x$ac_cv_header_dld_h" = x""yes; then : 10036 if test "${ac_cv_header_dld_h+set}" = set; then 10037 { echo "$as_me:$LINENO: checking for dld.h" >&5 10038 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10039 if test "${ac_cv_header_dld_h+set}" = set; then 10040 echo $ECHO_N "(cached) $ECHO_C" >&6 10041 fi 10042 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10043 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10044 else 10045 # Is the header compilable? 10046 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10047 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10048 cat >conftest.$ac_ext <<_ACEOF 10049 /* confdefs.h. */ 10050 _ACEOF 10051 cat confdefs.h >>conftest.$ac_ext 10052 cat >>conftest.$ac_ext <<_ACEOF 10053 /* end confdefs.h. */ 10054 $ac_includes_default 10055 #include <dld.h> 10056 _ACEOF 10057 rm -f conftest.$ac_objext 10058 if { (ac_try="$ac_compile" 10059 case "(($ac_try" in 10060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10061 *) ac_try_echo=$ac_try;; 10062 esac 10063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10064 (eval "$ac_compile") 2>conftest.er1 10065 ac_status=$? 10066 grep -v '^ *+' conftest.er1 >conftest.err 10067 rm -f conftest.er1 10068 cat conftest.err >&5 10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10070 (exit $ac_status); } && { 10071 test -z "$ac_cxx_werror_flag" || 10072 test ! -s conftest.err 10073 } && test -s conftest.$ac_objext; then 10074 ac_header_compiler=yes 10075 else 10076 echo "$as_me: failed program was:" >&5 10077 sed 's/^/| /' conftest.$ac_ext >&5 10078 10079 ac_header_compiler=no 10080 fi 10081 10082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10083 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10084 echo "${ECHO_T}$ac_header_compiler" >&6; } 10085 10086 # Is the header present? 10087 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10088 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10089 cat >conftest.$ac_ext <<_ACEOF 10090 /* confdefs.h. */ 10091 _ACEOF 10092 cat confdefs.h >>conftest.$ac_ext 10093 cat >>conftest.$ac_ext <<_ACEOF 10094 /* end confdefs.h. */ 10095 #include <dld.h> 10096 _ACEOF 10097 if { (ac_try="$ac_cpp conftest.$ac_ext" 10098 case "(($ac_try" in 10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10100 *) ac_try_echo=$ac_try;; 10101 esac 10102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10104 ac_status=$? 10105 grep -v '^ *+' conftest.er1 >conftest.err 10106 rm -f conftest.er1 10107 cat conftest.err >&5 10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10109 (exit $ac_status); } >/dev/null && { 10110 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10111 test ! -s conftest.err 10112 }; then 10113 ac_header_preproc=yes 10114 else 10115 echo "$as_me: failed program was:" >&5 10116 sed 's/^/| /' conftest.$ac_ext >&5 10117 10118 ac_header_preproc=no 10119 fi 10120 10121 rm -f conftest.err conftest.$ac_ext 10122 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10123 echo "${ECHO_T}$ac_header_preproc" >&6; } 10124 10125 # So? What about this header? 10126 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10127 yes:no: ) 10128 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10129 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10130 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10131 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10132 ac_header_preproc=yes 10133 ;; 10134 no:yes:* ) 10135 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10136 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10137 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10138 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10139 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10140 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10141 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10142 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10143 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10144 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10145 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10146 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10147 ( cat <<\_ASBOX 10148 ## ----------------------------------- ## 10149 ## Report this to rappture@nanohub.org ## 10150 ## ----------------------------------- ## 10151 _ASBOX 10152 ) | sed "s/^/$as_me: WARNING: /" >&2 10153 ;; 10154 esac 10155 { echo "$as_me:$LINENO: checking for dld.h" >&5 10156 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10157 if test "${ac_cv_header_dld_h+set}" = set; then 10158 echo $ECHO_N "(cached) $ECHO_C" >&6 10159 else 10160 ac_cv_header_dld_h=$ac_header_preproc 10161 fi 10162 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10163 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10164 10165 fi 10166 if test $ac_cv_header_dld_h = yes; then 5973 10167 5974 10168 SHLIB_LD="ld -shared" … … 5985 10179 fi 5986 10180 if test $do64bit = yes; then 5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&55988 $as_echo_n "checking if compiler accepts -m64 flag..." >&6; }5989 if test "${tcl_cv_cc_m64+set}" = set; then :5990 $as_echo_n "(cached)" >&610181 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 10182 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; } 10183 if test "${tcl_cv_cc_m64+set}" = set; then 10184 echo $ECHO_N "(cached) $ECHO_C" >&6 5991 10185 else 5992 10186 5993 10187 hold_cflags=$CFLAGS 5994 10188 CFLAGS="$CFLAGS -m64" 5995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10189 cat >conftest.$ac_ext <<_ACEOF 10190 /* confdefs.h. */ 10191 _ACEOF 10192 cat confdefs.h >>conftest.$ac_ext 10193 cat >>conftest.$ac_ext <<_ACEOF 5996 10194 /* end confdefs.h. */ 5997 10195 … … 6004 10202 } 6005 10203 _ACEOF 6006 if ac_fn_cxx_try_link "$LINENO"; then : 10204 rm -f conftest.$ac_objext conftest$ac_exeext 10205 if { (ac_try="$ac_link" 10206 case "(($ac_try" in 10207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10208 *) ac_try_echo=$ac_try;; 10209 esac 10210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10211 (eval "$ac_link") 2>conftest.er1 10212 ac_status=$? 10213 grep -v '^ *+' conftest.er1 >conftest.err 10214 rm -f conftest.er1 10215 cat conftest.err >&5 10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10217 (exit $ac_status); } && { 10218 test -z "$ac_cxx_werror_flag" || 10219 test ! -s conftest.err 10220 } && test -s conftest$ac_exeext && 10221 $as_test_x conftest$ac_exeext; then 6007 10222 tcl_cv_cc_m64=yes 6008 10223 else 6009 tcl_cv_cc_m64=no 6010 fi 6011 rm -f core conftest.err conftest.$ac_objext \ 6012 conftest$ac_exeext conftest.$ac_ext 10224 echo "$as_me: failed program was:" >&5 10225 sed 's/^/| /' conftest.$ac_ext >&5 10226 10227 tcl_cv_cc_m64=no 10228 fi 10229 10230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10231 conftest$ac_exeext conftest.$ac_ext 6013 10232 CFLAGS=$hold_cflags 6014 10233 fi 6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&56016 $as_echo "$tcl_cv_cc_m64" >&6; }10234 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 10235 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; } 6017 10236 if test $tcl_cv_cc_m64 = yes; then 6018 10237 CFLAGS="$CFLAGS -m64" … … 6033 10252 6034 10253 # XIM peeking works under XFree86. 6035 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10254 cat >>confdefs.h <<\_ACEOF 10255 #define PEEK_XCLOSEIM 1 10256 _ACEOF 6036 10257 6037 10258 … … 6050 10271 LD_SEARCH_FLAGS="" 6051 10272 else 6052 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6053 if test "x$ac_cv_header_dld_h" = x""yes; then : 10273 if test "${ac_cv_header_dld_h+set}" = set; then 10274 { echo "$as_me:$LINENO: checking for dld.h" >&5 10275 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10276 if test "${ac_cv_header_dld_h+set}" = set; then 10277 echo $ECHO_N "(cached) $ECHO_C" >&6 10278 fi 10279 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10280 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10281 else 10282 # Is the header compilable? 10283 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10284 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10285 cat >conftest.$ac_ext <<_ACEOF 10286 /* confdefs.h. */ 10287 _ACEOF 10288 cat confdefs.h >>conftest.$ac_ext 10289 cat >>conftest.$ac_ext <<_ACEOF 10290 /* end confdefs.h. */ 10291 $ac_includes_default 10292 #include <dld.h> 10293 _ACEOF 10294 rm -f conftest.$ac_objext 10295 if { (ac_try="$ac_compile" 10296 case "(($ac_try" in 10297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10298 *) ac_try_echo=$ac_try;; 10299 esac 10300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10301 (eval "$ac_compile") 2>conftest.er1 10302 ac_status=$? 10303 grep -v '^ *+' conftest.er1 >conftest.err 10304 rm -f conftest.er1 10305 cat conftest.err >&5 10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10307 (exit $ac_status); } && { 10308 test -z "$ac_cxx_werror_flag" || 10309 test ! -s conftest.err 10310 } && test -s conftest.$ac_objext; then 10311 ac_header_compiler=yes 10312 else 10313 echo "$as_me: failed program was:" >&5 10314 sed 's/^/| /' conftest.$ac_ext >&5 10315 10316 ac_header_compiler=no 10317 fi 10318 10319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10320 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10321 echo "${ECHO_T}$ac_header_compiler" >&6; } 10322 10323 # Is the header present? 10324 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10325 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10326 cat >conftest.$ac_ext <<_ACEOF 10327 /* confdefs.h. */ 10328 _ACEOF 10329 cat confdefs.h >>conftest.$ac_ext 10330 cat >>conftest.$ac_ext <<_ACEOF 10331 /* end confdefs.h. */ 10332 #include <dld.h> 10333 _ACEOF 10334 if { (ac_try="$ac_cpp conftest.$ac_ext" 10335 case "(($ac_try" in 10336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10337 *) ac_try_echo=$ac_try;; 10338 esac 10339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10341 ac_status=$? 10342 grep -v '^ *+' conftest.er1 >conftest.err 10343 rm -f conftest.er1 10344 cat conftest.err >&5 10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10346 (exit $ac_status); } >/dev/null && { 10347 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10348 test ! -s conftest.err 10349 }; then 10350 ac_header_preproc=yes 10351 else 10352 echo "$as_me: failed program was:" >&5 10353 sed 's/^/| /' conftest.$ac_ext >&5 10354 10355 ac_header_preproc=no 10356 fi 10357 10358 rm -f conftest.err conftest.$ac_ext 10359 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10360 echo "${ECHO_T}$ac_header_preproc" >&6; } 10361 10362 # So? What about this header? 10363 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10364 yes:no: ) 10365 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10366 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10367 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10368 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10369 ac_header_preproc=yes 10370 ;; 10371 no:yes:* ) 10372 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10373 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10374 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10375 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10376 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10377 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10378 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10379 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10380 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10381 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10382 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10383 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10384 ( cat <<\_ASBOX 10385 ## ----------------------------------- ## 10386 ## Report this to rappture@nanohub.org ## 10387 ## ----------------------------------- ## 10388 _ASBOX 10389 ) | sed "s/^/$as_me: WARNING: /" >&2 10390 ;; 10391 esac 10392 { echo "$as_me:$LINENO: checking for dld.h" >&5 10393 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10394 if test "${ac_cv_header_dld_h+set}" = set; then 10395 echo $ECHO_N "(cached) $ECHO_C" >&6 10396 else 10397 ac_cv_header_dld_h=$ac_header_preproc 10398 fi 10399 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10400 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10401 10402 fi 10403 if test $ac_cv_header_dld_h = yes; then 6054 10404 6055 10405 SHLIB_LD="ld -shared" … … 6101 10451 NetBSD-*|FreeBSD-[1-2].*) 6102 10452 # Not available on all versions: check for include file. 6103 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6104 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 10453 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10454 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10455 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10456 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10457 echo $ECHO_N "(cached) $ECHO_C" >&6 10458 fi 10459 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10460 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10461 else 10462 # Is the header compilable? 10463 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10464 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10465 cat >conftest.$ac_ext <<_ACEOF 10466 /* confdefs.h. */ 10467 _ACEOF 10468 cat confdefs.h >>conftest.$ac_ext 10469 cat >>conftest.$ac_ext <<_ACEOF 10470 /* end confdefs.h. */ 10471 $ac_includes_default 10472 #include <dlfcn.h> 10473 _ACEOF 10474 rm -f conftest.$ac_objext 10475 if { (ac_try="$ac_compile" 10476 case "(($ac_try" in 10477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10478 *) ac_try_echo=$ac_try;; 10479 esac 10480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10481 (eval "$ac_compile") 2>conftest.er1 10482 ac_status=$? 10483 grep -v '^ *+' conftest.er1 >conftest.err 10484 rm -f conftest.er1 10485 cat conftest.err >&5 10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10487 (exit $ac_status); } && { 10488 test -z "$ac_cxx_werror_flag" || 10489 test ! -s conftest.err 10490 } && test -s conftest.$ac_objext; then 10491 ac_header_compiler=yes 10492 else 10493 echo "$as_me: failed program was:" >&5 10494 sed 's/^/| /' conftest.$ac_ext >&5 10495 10496 ac_header_compiler=no 10497 fi 10498 10499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10501 echo "${ECHO_T}$ac_header_compiler" >&6; } 10502 10503 # Is the header present? 10504 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10505 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10506 cat >conftest.$ac_ext <<_ACEOF 10507 /* confdefs.h. */ 10508 _ACEOF 10509 cat confdefs.h >>conftest.$ac_ext 10510 cat >>conftest.$ac_ext <<_ACEOF 10511 /* end confdefs.h. */ 10512 #include <dlfcn.h> 10513 _ACEOF 10514 if { (ac_try="$ac_cpp conftest.$ac_ext" 10515 case "(($ac_try" in 10516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10517 *) ac_try_echo=$ac_try;; 10518 esac 10519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10521 ac_status=$? 10522 grep -v '^ *+' conftest.er1 >conftest.err 10523 rm -f conftest.er1 10524 cat conftest.err >&5 10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10526 (exit $ac_status); } >/dev/null && { 10527 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10528 test ! -s conftest.err 10529 }; then 10530 ac_header_preproc=yes 10531 else 10532 echo "$as_me: failed program was:" >&5 10533 sed 's/^/| /' conftest.$ac_ext >&5 10534 10535 ac_header_preproc=no 10536 fi 10537 10538 rm -f conftest.err conftest.$ac_ext 10539 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10540 echo "${ECHO_T}$ac_header_preproc" >&6; } 10541 10542 # So? What about this header? 10543 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10544 yes:no: ) 10545 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10546 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10547 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10548 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10549 ac_header_preproc=yes 10550 ;; 10551 no:yes:* ) 10552 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10553 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10554 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10555 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10556 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10557 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10558 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10559 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10560 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10561 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10562 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10563 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10564 ( cat <<\_ASBOX 10565 ## ----------------------------------- ## 10566 ## Report this to rappture@nanohub.org ## 10567 ## ----------------------------------- ## 10568 _ASBOX 10569 ) | sed "s/^/$as_me: WARNING: /" >&2 10570 ;; 10571 esac 10572 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10573 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10574 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10575 echo $ECHO_N "(cached) $ECHO_C" >&6 10576 else 10577 ac_cv_header_dlfcn_h=$ac_header_preproc 10578 fi 10579 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10580 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10581 10582 fi 10583 if test $ac_cv_header_dlfcn_h = yes; then 6105 10584 6106 10585 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 6113 10592 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 6114 10593 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6116 $as_echo_n "checking for ELF... " >&6; } 6117 if test "${tcl_cv_ld_elf+set}" = set; then : 6118 $as_echo_n "(cached) " >&6 6119 else 6120 6121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10594 { echo "$as_me:$LINENO: checking for ELF" >&5 10595 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10596 if test "${tcl_cv_ld_elf+set}" = set; then 10597 echo $ECHO_N "(cached) $ECHO_C" >&6 10598 else 10599 10600 cat >conftest.$ac_ext <<_ACEOF 10601 /* confdefs.h. */ 10602 _ACEOF 10603 cat confdefs.h >>conftest.$ac_ext 10604 cat >>conftest.$ac_ext <<_ACEOF 6122 10605 /* end confdefs.h. */ 6123 10606 … … 6128 10611 _ACEOF 6129 10612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6130 $EGREP "yes" >/dev/null 2>&1; then :10613 $EGREP "yes" >/dev/null 2>&1; then 6131 10614 tcl_cv_ld_elf=yes 6132 10615 else … … 6136 10619 6137 10620 fi 6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&56139 $as_echo "$tcl_cv_ld_elf" >&6; }10621 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 10622 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; } 6140 10623 if test $tcl_cv_ld_elf = yes; then 6141 10624 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 6195 10678 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 6196 10679 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6198 $as_echo_n "checking for ELF... " >&6; } 6199 if test "${tcl_cv_ld_elf+set}" = set; then : 6200 $as_echo_n "(cached) " >&6 6201 else 6202 6203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10680 { echo "$as_me:$LINENO: checking for ELF" >&5 10681 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10682 if test "${tcl_cv_ld_elf+set}" = set; then 10683 echo $ECHO_N "(cached) $ECHO_C" >&6 10684 else 10685 10686 cat >conftest.$ac_ext <<_ACEOF 10687 /* confdefs.h. */ 10688 _ACEOF 10689 cat confdefs.h >>conftest.$ac_ext 10690 cat >>conftest.$ac_ext <<_ACEOF 6204 10691 /* end confdefs.h. */ 6205 10692 … … 6210 10697 _ACEOF 6211 10698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6212 $EGREP "yes" >/dev/null 2>&1; then :10699 $EGREP "yes" >/dev/null 2>&1; then 6213 10700 tcl_cv_ld_elf=yes 6214 10701 else … … 6218 10705 6219 10706 fi 6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&56221 $as_echo "$tcl_cv_ld_elf" >&6; }10707 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 10708 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; } 6222 10709 if test $tcl_cv_ld_elf = yes; then 6223 10710 LDFLAGS=-Wl,-export-dynamic … … 6273 10760 case `arch` in 6274 10761 ppc) 6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&56276 $as_echo_n "checking if compiler accepts -arch ppc64 flag..." >&6; }6277 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then :6278 $as_echo_n "(cached)" >&610762 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 10763 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; } 10764 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 10765 echo $ECHO_N "(cached) $ECHO_C" >&6 6279 10766 else 6280 10767 6281 10768 hold_cflags=$CFLAGS 6282 10769 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 6283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10770 cat >conftest.$ac_ext <<_ACEOF 10771 /* confdefs.h. */ 10772 _ACEOF 10773 cat confdefs.h >>conftest.$ac_ext 10774 cat >>conftest.$ac_ext <<_ACEOF 6284 10775 /* end confdefs.h. */ 6285 10776 … … 6292 10783 } 6293 10784 _ACEOF 6294 if ac_fn_cxx_try_link "$LINENO"; then : 10785 rm -f conftest.$ac_objext conftest$ac_exeext 10786 if { (ac_try="$ac_link" 10787 case "(($ac_try" in 10788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10789 *) ac_try_echo=$ac_try;; 10790 esac 10791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10792 (eval "$ac_link") 2>conftest.er1 10793 ac_status=$? 10794 grep -v '^ *+' conftest.er1 >conftest.err 10795 rm -f conftest.er1 10796 cat conftest.err >&5 10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10798 (exit $ac_status); } && { 10799 test -z "$ac_cxx_werror_flag" || 10800 test ! -s conftest.err 10801 } && test -s conftest$ac_exeext && 10802 $as_test_x conftest$ac_exeext; then 6295 10803 tcl_cv_cc_arch_ppc64=yes 6296 10804 else 6297 tcl_cv_cc_arch_ppc64=no 6298 fi 6299 rm -f core conftest.err conftest.$ac_objext \ 6300 conftest$ac_exeext conftest.$ac_ext 10805 echo "$as_me: failed program was:" >&5 10806 sed 's/^/| /' conftest.$ac_ext >&5 10807 10808 tcl_cv_cc_arch_ppc64=no 10809 fi 10810 10811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10812 conftest$ac_exeext conftest.$ac_ext 6301 10813 CFLAGS=$hold_cflags 6302 10814 fi 6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&56304 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; }10815 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 10816 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; } 6305 10817 if test $tcl_cv_cc_arch_ppc64 = yes; then 6306 10818 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 6308 10820 fi;; 6309 10821 i386) 6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&56311 $as_echo_n "checking if compiler accepts -arch x86_64 flag..." >&6; }6312 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then :6313 $as_echo_n "(cached)" >&610822 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 10823 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; } 10824 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 10825 echo $ECHO_N "(cached) $ECHO_C" >&6 6314 10826 else 6315 10827 6316 10828 hold_cflags=$CFLAGS 6317 10829 CFLAGS="$CFLAGS -arch x86_64" 6318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10830 cat >conftest.$ac_ext <<_ACEOF 10831 /* confdefs.h. */ 10832 _ACEOF 10833 cat confdefs.h >>conftest.$ac_ext 10834 cat >>conftest.$ac_ext <<_ACEOF 6319 10835 /* end confdefs.h. */ 6320 10836 … … 6327 10843 } 6328 10844 _ACEOF 6329 if ac_fn_cxx_try_link "$LINENO"; then : 10845 rm -f conftest.$ac_objext conftest$ac_exeext 10846 if { (ac_try="$ac_link" 10847 case "(($ac_try" in 10848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10849 *) ac_try_echo=$ac_try;; 10850 esac 10851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10852 (eval "$ac_link") 2>conftest.er1 10853 ac_status=$? 10854 grep -v '^ *+' conftest.er1 >conftest.err 10855 rm -f conftest.er1 10856 cat conftest.err >&5 10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10858 (exit $ac_status); } && { 10859 test -z "$ac_cxx_werror_flag" || 10860 test ! -s conftest.err 10861 } && test -s conftest$ac_exeext && 10862 $as_test_x conftest$ac_exeext; then 6330 10863 tcl_cv_cc_arch_x86_64=yes 6331 10864 else 6332 tcl_cv_cc_arch_x86_64=no 6333 fi 6334 rm -f core conftest.err conftest.$ac_objext \ 6335 conftest$ac_exeext conftest.$ac_ext 10865 echo "$as_me: failed program was:" >&5 10866 sed 's/^/| /' conftest.$ac_ext >&5 10867 10868 tcl_cv_cc_arch_x86_64=no 10869 fi 10870 10871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10872 conftest$ac_exeext conftest.$ac_ext 6336 10873 CFLAGS=$hold_cflags 6337 10874 fi 6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&56339 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; }10875 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 10876 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; } 6340 10877 if test $tcl_cv_cc_arch_x86_64 = yes; then 6341 10878 CFLAGS="$CFLAGS -arch x86_64" … … 6343 10880 fi;; 6344 10881 *) 6345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&56346 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;10882 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 10883 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 6347 10884 esac 6348 10885 else … … 6353 10890 fi 6354 10891 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&56356 $as_echo_n "checking if ld accepts -single_module flag..." >&6; }6357 if test "${tcl_cv_ld_single_module+set}" = set; then :6358 $as_echo_n "(cached)" >&610892 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 10893 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; } 10894 if test "${tcl_cv_ld_single_module+set}" = set; then 10895 echo $ECHO_N "(cached) $ECHO_C" >&6 6359 10896 else 6360 10897 6361 10898 hold_ldflags=$LDFLAGS 6362 10899 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10900 cat >conftest.$ac_ext <<_ACEOF 10901 /* confdefs.h. */ 10902 _ACEOF 10903 cat confdefs.h >>conftest.$ac_ext 10904 cat >>conftest.$ac_ext <<_ACEOF 6364 10905 /* end confdefs.h. */ 6365 10906 … … 6372 10913 } 6373 10914 _ACEOF 6374 if ac_fn_cxx_try_link "$LINENO"; then : 10915 rm -f conftest.$ac_objext conftest$ac_exeext 10916 if { (ac_try="$ac_link" 10917 case "(($ac_try" in 10918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10919 *) ac_try_echo=$ac_try;; 10920 esac 10921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10922 (eval "$ac_link") 2>conftest.er1 10923 ac_status=$? 10924 grep -v '^ *+' conftest.er1 >conftest.err 10925 rm -f conftest.er1 10926 cat conftest.err >&5 10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10928 (exit $ac_status); } && { 10929 test -z "$ac_cxx_werror_flag" || 10930 test ! -s conftest.err 10931 } && test -s conftest$ac_exeext && 10932 $as_test_x conftest$ac_exeext; then 6375 10933 tcl_cv_ld_single_module=yes 6376 10934 else 6377 tcl_cv_ld_single_module=no 6378 fi 6379 rm -f core conftest.err conftest.$ac_objext \ 6380 conftest$ac_exeext conftest.$ac_ext 10935 echo "$as_me: failed program was:" >&5 10936 sed 's/^/| /' conftest.$ac_ext >&5 10937 10938 tcl_cv_ld_single_module=no 10939 fi 10940 10941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10942 conftest$ac_exeext conftest.$ac_ext 6381 10943 LDFLAGS=$hold_ldflags 6382 10944 fi 6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&56384 $as_echo "$tcl_cv_ld_single_module" >&6; }10945 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 10946 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; } 6385 10947 if test $tcl_cv_ld_single_module = yes; then 6386 10948 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 6395 10957 LDFLAGS="$LDFLAGS -prebind" 6396 10958 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&56398 $as_echo_n "checking if ld accepts -search_paths_first flag..." >&6; }6399 if test "${tcl_cv_ld_search_paths_first+set}" = set; then :6400 $as_echo_n "(cached)" >&610959 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 10960 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; } 10961 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 10962 echo $ECHO_N "(cached) $ECHO_C" >&6 6401 10963 else 6402 10964 6403 10965 hold_ldflags=$LDFLAGS 6404 10966 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 6405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10967 cat >conftest.$ac_ext <<_ACEOF 10968 /* confdefs.h. */ 10969 _ACEOF 10970 cat confdefs.h >>conftest.$ac_ext 10971 cat >>conftest.$ac_ext <<_ACEOF 6406 10972 /* end confdefs.h. */ 6407 10973 … … 6414 10980 } 6415 10981 _ACEOF 6416 if ac_fn_cxx_try_link "$LINENO"; then : 10982 rm -f conftest.$ac_objext conftest$ac_exeext 10983 if { (ac_try="$ac_link" 10984 case "(($ac_try" in 10985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10986 *) ac_try_echo=$ac_try;; 10987 esac 10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10989 (eval "$ac_link") 2>conftest.er1 10990 ac_status=$? 10991 grep -v '^ *+' conftest.er1 >conftest.err 10992 rm -f conftest.er1 10993 cat conftest.err >&5 10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10995 (exit $ac_status); } && { 10996 test -z "$ac_cxx_werror_flag" || 10997 test ! -s conftest.err 10998 } && test -s conftest$ac_exeext && 10999 $as_test_x conftest$ac_exeext; then 6417 11000 tcl_cv_ld_search_paths_first=yes 6418 11001 else 6419 tcl_cv_ld_search_paths_first=no 6420 fi 6421 rm -f core conftest.err conftest.$ac_objext \ 6422 conftest$ac_exeext conftest.$ac_ext 11002 echo "$as_me: failed program was:" >&5 11003 sed 's/^/| /' conftest.$ac_ext >&5 11004 11005 tcl_cv_ld_search_paths_first=no 11006 fi 11007 11008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11009 conftest$ac_exeext conftest.$ac_ext 6423 11010 LDFLAGS=$hold_ldflags 6424 11011 fi 6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&56426 $as_echo "$tcl_cv_ld_search_paths_first" >&6; }11012 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 11013 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; } 6427 11014 if test $tcl_cv_ld_search_paths_first = yes; then 6428 11015 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 6433 11020 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 6434 11021 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&56436 $as_echo_n "checking whether to use CoreFoundation..." >&6; }11022 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 11023 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; } 6437 11024 # Check whether --enable-corefoundation was given. 6438 if test "${enable_corefoundation+set}" = set; then :11025 if test "${enable_corefoundation+set}" = set; then 6439 11026 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 6440 11027 else … … 6442 11029 fi 6443 11030 6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&56445 $as_echo "$tcl_corefoundation" >&6; }11031 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 11032 echo "${ECHO_T}$tcl_corefoundation" >&6; } 6446 11033 if test $tcl_corefoundation = yes; then 6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&56448 $as_echo_n "checking for CoreFoundation.framework..." >&6; }6449 if test "${tcl_cv_lib_corefoundation+set}" = set; then :6450 $as_echo_n "(cached)" >&611034 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 11035 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; } 11036 if test "${tcl_cv_lib_corefoundation+set}" = set; then 11037 echo $ECHO_N "(cached) $ECHO_C" >&6 6451 11038 else 6452 11039 … … 6459 11046 done; fi 6460 11047 LIBS="$LIBS -framework CoreFoundation" 6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11048 cat >conftest.$ac_ext <<_ACEOF 11049 /* confdefs.h. */ 11050 _ACEOF 11051 cat confdefs.h >>conftest.$ac_ext 11052 cat >>conftest.$ac_ext <<_ACEOF 6462 11053 /* end confdefs.h. */ 6463 11054 #include <CoreFoundation/CoreFoundation.h> … … 6470 11061 } 6471 11062 _ACEOF 6472 if ac_fn_cxx_try_link "$LINENO"; then : 11063 rm -f conftest.$ac_objext conftest$ac_exeext 11064 if { (ac_try="$ac_link" 11065 case "(($ac_try" in 11066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11067 *) ac_try_echo=$ac_try;; 11068 esac 11069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11070 (eval "$ac_link") 2>conftest.er1 11071 ac_status=$? 11072 grep -v '^ *+' conftest.er1 >conftest.err 11073 rm -f conftest.er1 11074 cat conftest.err >&5 11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11076 (exit $ac_status); } && { 11077 test -z "$ac_cxx_werror_flag" || 11078 test ! -s conftest.err 11079 } && test -s conftest$ac_exeext && 11080 $as_test_x conftest$ac_exeext; then 6473 11081 tcl_cv_lib_corefoundation=yes 6474 11082 else 6475 tcl_cv_lib_corefoundation=no 6476 fi 6477 rm -f core conftest.err conftest.$ac_objext \ 6478 conftest$ac_exeext conftest.$ac_ext 11083 echo "$as_me: failed program was:" >&5 11084 sed 's/^/| /' conftest.$ac_ext >&5 11085 11086 tcl_cv_lib_corefoundation=no 11087 fi 11088 11089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11090 conftest$ac_exeext conftest.$ac_ext 6479 11091 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 6480 11092 eval $v'="$hold_'$v'"' 6481 11093 done; fi; LIBS=$hold_libs 6482 11094 fi 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&56484 $as_echo "$tcl_cv_lib_corefoundation" >&6; }11095 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 11096 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; } 6485 11097 if test $tcl_cv_lib_corefoundation = yes; then 6486 11098 LIBS="$LIBS -framework CoreFoundation" 6487 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11099 cat >>confdefs.h <<\_ACEOF 11100 #define HAVE_COREFOUNDATION 1 11101 _ACEOF 6488 11102 6489 11103 else … … 6491 11105 fi 6492 11106 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&56494 $as_echo_n "checking for 64-bit CoreFoundation..." >&6; }6495 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then :6496 $as_echo_n "(cached)" >&611107 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 11108 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; } 11109 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 11110 echo $ECHO_N "(cached) $ECHO_C" >&6 6497 11111 else 6498 11112 … … 6500 11114 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 6501 11115 done 6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11116 cat >conftest.$ac_ext <<_ACEOF 11117 /* confdefs.h. */ 11118 _ACEOF 11119 cat confdefs.h >>conftest.$ac_ext 11120 cat >>conftest.$ac_ext <<_ACEOF 6503 11121 /* end confdefs.h. */ 6504 11122 #include <CoreFoundation/CoreFoundation.h> … … 6511 11129 } 6512 11130 _ACEOF 6513 if ac_fn_cxx_try_link "$LINENO"; then : 11131 rm -f conftest.$ac_objext conftest$ac_exeext 11132 if { (ac_try="$ac_link" 11133 case "(($ac_try" in 11134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11135 *) ac_try_echo=$ac_try;; 11136 esac 11137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11138 (eval "$ac_link") 2>conftest.er1 11139 ac_status=$? 11140 grep -v '^ *+' conftest.er1 >conftest.err 11141 rm -f conftest.er1 11142 cat conftest.err >&5 11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11144 (exit $ac_status); } && { 11145 test -z "$ac_cxx_werror_flag" || 11146 test ! -s conftest.err 11147 } && test -s conftest$ac_exeext && 11148 $as_test_x conftest$ac_exeext; then 6514 11149 tcl_cv_lib_corefoundation_64=yes 6515 11150 else 6516 tcl_cv_lib_corefoundation_64=no 6517 fi 6518 rm -f core conftest.err conftest.$ac_objext \ 6519 conftest$ac_exeext conftest.$ac_ext 11151 echo "$as_me: failed program was:" >&5 11152 sed 's/^/| /' conftest.$ac_ext >&5 11153 11154 tcl_cv_lib_corefoundation_64=no 11155 fi 11156 11157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11158 conftest$ac_exeext conftest.$ac_ext 6520 11159 for v in CFLAGS CPPFLAGS LDFLAGS; do 6521 11160 eval $v'="$hold_'$v'"' 6522 11161 done 6523 11162 fi 6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&56525 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; }11163 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 11164 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; } 6526 11165 if test $tcl_cv_lib_corefoundation_64 = no; then 6527 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11166 cat >>confdefs.h <<\_ACEOF 11167 #define NO_COREFOUNDATION_64 1 11168 _ACEOF 6528 11169 6529 11170 fi 6530 11171 fi 6531 11172 fi 6532 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11173 cat >>confdefs.h <<\_ACEOF 11174 #define MAC_OSX_TCL 1 11175 _ACEOF 6533 11176 6534 11177 ;; … … 6545 11188 OS/390-*) 6546 11189 CFLAGS_OPTIMIZE="" # Optimizer is buggy 6547 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11190 cat >>confdefs.h <<\_ACEOF 11191 #define _OE_SOCKETS 1 11192 _ACEOF 6548 11193 # needed in sys/socket.h 6549 11194 ;; … … 6686 11331 # won't define thread-safe library routines. 6687 11332 6688 $as_echo "#define _REENTRANT 1" >>confdefs.h 6689 6690 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11333 cat >>confdefs.h <<\_ACEOF 11334 #define _REENTRANT 1 11335 _ACEOF 11336 11337 cat >>confdefs.h <<\_ACEOF 11338 #define _POSIX_PTHREAD_SEMANTICS 1 11339 _ACEOF 6691 11340 6692 11341 … … 6714 11363 # won't define thread-safe library routines. 6715 11364 6716 $as_echo "#define _REENTRANT 1" >>confdefs.h 6717 6718 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11365 cat >>confdefs.h <<\_ACEOF 11366 #define _REENTRANT 1 11367 _ACEOF 11368 11369 cat >>confdefs.h <<\_ACEOF 11370 #define _POSIX_PTHREAD_SEMANTICS 1 11371 _ACEOF 6719 11372 6720 11373 … … 6727 11380 if test "$GCC" = "yes" ; then 6728 11381 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 6729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&56730 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}11382 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 11383 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 6731 11384 else 6732 11385 do64bit_ok=yes … … 6749 11402 elif test "$arch" = "amd64 i386" ; then 6750 11403 if test "$GCC" = "yes" ; then 6751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&56752 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}11404 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 11405 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 6753 11406 else 6754 11407 do64bit_ok=yes … … 6757 11410 fi 6758 11411 else 6759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&56760 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}11412 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 11413 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 6761 11414 fi 6762 11415 fi … … 6816 11469 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 6817 11470 # that don't grok the -Bexport option. Test that it does. 6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&56819 $as_echo_n "checking for ld accepts -Bexport flag..." >&6; }6820 if test "${tcl_cv_ld_Bexport+set}" = set; then :6821 $as_echo_n "(cached)" >&611471 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 11472 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; } 11473 if test "${tcl_cv_ld_Bexport+set}" = set; then 11474 echo $ECHO_N "(cached) $ECHO_C" >&6 6822 11475 else 6823 11476 6824 11477 hold_ldflags=$LDFLAGS 6825 11478 LDFLAGS="$LDFLAGS -Wl,-Bexport" 6826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11479 cat >conftest.$ac_ext <<_ACEOF 11480 /* confdefs.h. */ 11481 _ACEOF 11482 cat confdefs.h >>conftest.$ac_ext 11483 cat >>conftest.$ac_ext <<_ACEOF 6827 11484 /* end confdefs.h. */ 6828 11485 … … 6835 11492 } 6836 11493 _ACEOF 6837 if ac_fn_cxx_try_link "$LINENO"; then : 11494 rm -f conftest.$ac_objext conftest$ac_exeext 11495 if { (ac_try="$ac_link" 11496 case "(($ac_try" in 11497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11498 *) ac_try_echo=$ac_try;; 11499 esac 11500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11501 (eval "$ac_link") 2>conftest.er1 11502 ac_status=$? 11503 grep -v '^ *+' conftest.er1 >conftest.err 11504 rm -f conftest.er1 11505 cat conftest.err >&5 11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11507 (exit $ac_status); } && { 11508 test -z "$ac_cxx_werror_flag" || 11509 test ! -s conftest.err 11510 } && test -s conftest$ac_exeext && 11511 $as_test_x conftest$ac_exeext; then 6838 11512 tcl_cv_ld_Bexport=yes 6839 11513 else 6840 tcl_cv_ld_Bexport=no 6841 fi 6842 rm -f core conftest.err conftest.$ac_objext \ 6843 conftest$ac_exeext conftest.$ac_ext 11514 echo "$as_me: failed program was:" >&5 11515 sed 's/^/| /' conftest.$ac_ext >&5 11516 11517 tcl_cv_ld_Bexport=no 11518 fi 11519 11520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11521 conftest$ac_exeext conftest.$ac_ext 6844 11522 LDFLAGS=$hold_ldflags 6845 11523 fi 6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&56847 $as_echo "$tcl_cv_ld_Bexport" >&6; }11524 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 11525 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; } 6848 11526 if test $tcl_cv_ld_Bexport = yes; then 6849 11527 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 6855 11533 6856 11534 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 6857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&56858 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}11535 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 11536 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 6859 11537 fi 6860 11538 … … 6882 11560 6883 11561 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6885 $as_echo_n "checking sys/exec.h... " >&6; } 6886 if test "${tcl_cv_sysexec_h+set}" = set; then : 6887 $as_echo_n "(cached) " >&6 6888 else 6889 6890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11562 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11563 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11564 if test "${tcl_cv_sysexec_h+set}" = set; then 11565 echo $ECHO_N "(cached) $ECHO_C" >&6 11566 else 11567 11568 cat >conftest.$ac_ext <<_ACEOF 11569 /* confdefs.h. */ 11570 _ACEOF 11571 cat confdefs.h >>conftest.$ac_ext 11572 cat >>conftest.$ac_ext <<_ACEOF 6891 11573 /* end confdefs.h. */ 6892 11574 #include <sys/exec.h> … … 6910 11592 } 6911 11593 _ACEOF 6912 if ac_fn_cxx_try_compile "$LINENO"; then : 11594 rm -f conftest.$ac_objext 11595 if { (ac_try="$ac_compile" 11596 case "(($ac_try" in 11597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11598 *) ac_try_echo=$ac_try;; 11599 esac 11600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11601 (eval "$ac_compile") 2>conftest.er1 11602 ac_status=$? 11603 grep -v '^ *+' conftest.er1 >conftest.err 11604 rm -f conftest.er1 11605 cat conftest.err >&5 11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11607 (exit $ac_status); } && { 11608 test -z "$ac_cxx_werror_flag" || 11609 test ! -s conftest.err 11610 } && test -s conftest.$ac_objext; then 6913 11611 tcl_cv_sysexec_h=usable 6914 11612 else 6915 tcl_cv_sysexec_h=unusable 6916 fi 11613 echo "$as_me: failed program was:" >&5 11614 sed 's/^/| /' conftest.$ac_ext >&5 11615 11616 tcl_cv_sysexec_h=unusable 11617 fi 11618 6917 11619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6918 11620 fi 6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&56920 $as_echo "$tcl_cv_sysexec_h" >&6; }11621 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 11622 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; } 6921 11623 if test $tcl_cv_sysexec_h = usable; then 6922 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11624 cat >>confdefs.h <<\_ACEOF 11625 #define USE_SYS_EXEC_H 1 11626 _ACEOF 6923 11627 6924 11628 else 6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6926 $as_echo_n "checking a.out.h... " >&6; } 6927 if test "${tcl_cv_aout_h+set}" = set; then : 6928 $as_echo_n "(cached) " >&6 6929 else 6930 6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11629 { echo "$as_me:$LINENO: checking a.out.h" >&5 11630 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11631 if test "${tcl_cv_aout_h+set}" = set; then 11632 echo $ECHO_N "(cached) $ECHO_C" >&6 11633 else 11634 11635 cat >conftest.$ac_ext <<_ACEOF 11636 /* confdefs.h. */ 11637 _ACEOF 11638 cat confdefs.h >>conftest.$ac_ext 11639 cat >>conftest.$ac_ext <<_ACEOF 6932 11640 /* end confdefs.h. */ 6933 11641 #include <a.out.h> … … 6951 11659 } 6952 11660 _ACEOF 6953 if ac_fn_cxx_try_compile "$LINENO"; then : 11661 rm -f conftest.$ac_objext 11662 if { (ac_try="$ac_compile" 11663 case "(($ac_try" in 11664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11665 *) ac_try_echo=$ac_try;; 11666 esac 11667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11668 (eval "$ac_compile") 2>conftest.er1 11669 ac_status=$? 11670 grep -v '^ *+' conftest.er1 >conftest.err 11671 rm -f conftest.er1 11672 cat conftest.err >&5 11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11674 (exit $ac_status); } && { 11675 test -z "$ac_cxx_werror_flag" || 11676 test ! -s conftest.err 11677 } && test -s conftest.$ac_objext; then 6954 11678 tcl_cv_aout_h=usable 6955 11679 else 6956 tcl_cv_aout_h=unusable 6957 fi 11680 echo "$as_me: failed program was:" >&5 11681 sed 's/^/| /' conftest.$ac_ext >&5 11682 11683 tcl_cv_aout_h=unusable 11684 fi 11685 6958 11686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6959 11687 fi 6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&56961 $as_echo "$tcl_cv_aout_h" >&6; }11688 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 11689 echo "${ECHO_T}$tcl_cv_aout_h" >&6; } 6962 11690 if test $tcl_cv_aout_h = usable; then 6963 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11691 cat >>confdefs.h <<\_ACEOF 11692 #define USE_A_OUT_H 1 11693 _ACEOF 6964 11694 6965 11695 else 6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6967 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6968 if test "${tcl_cv_sysexecaout_h+set}" = set; then : 6969 $as_echo_n "(cached) " >&6 6970 else 6971 6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11696 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11697 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11698 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11699 echo $ECHO_N "(cached) $ECHO_C" >&6 11700 else 11701 11702 cat >conftest.$ac_ext <<_ACEOF 11703 /* confdefs.h. */ 11704 _ACEOF 11705 cat confdefs.h >>conftest.$ac_ext 11706 cat >>conftest.$ac_ext <<_ACEOF 6973 11707 /* end confdefs.h. */ 6974 11708 #include <sys/exec_aout.h> … … 6992 11726 } 6993 11727 _ACEOF 6994 if ac_fn_cxx_try_compile "$LINENO"; then : 11728 rm -f conftest.$ac_objext 11729 if { (ac_try="$ac_compile" 11730 case "(($ac_try" in 11731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11732 *) ac_try_echo=$ac_try;; 11733 esac 11734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11735 (eval "$ac_compile") 2>conftest.er1 11736 ac_status=$? 11737 grep -v '^ *+' conftest.er1 >conftest.err 11738 rm -f conftest.er1 11739 cat conftest.err >&5 11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11741 (exit $ac_status); } && { 11742 test -z "$ac_cxx_werror_flag" || 11743 test ! -s conftest.err 11744 } && test -s conftest.$ac_objext; then 6995 11745 tcl_cv_sysexecaout_h=usable 6996 11746 else 6997 tcl_cv_sysexecaout_h=unusable 6998 fi 11747 echo "$as_me: failed program was:" >&5 11748 sed 's/^/| /' conftest.$ac_ext >&5 11749 11750 tcl_cv_sysexecaout_h=unusable 11751 fi 11752 6999 11753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7000 11754 fi 7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&57002 $as_echo "$tcl_cv_sysexecaout_h" >&6; }11755 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 11756 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; } 7003 11757 if test $tcl_cv_sysexecaout_h = usable; then 7004 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11758 cat >>confdefs.h <<\_ACEOF 11759 #define USE_SYS_EXEC_AOUT_H 1 11760 _ACEOF 7005 11761 7006 11762 else … … 7014 11770 7015 11771 # Check whether --enable-load was given. 7016 if test "${enable_load+set}" = set; then :11772 if test "${enable_load+set}" = set; then 7017 11773 enableval=$enable_load; tcl_ok=$enableval 7018 11774 else … … 7145 11901 done 7146 11902 if test "x${make_command}" = "x" ; then 7147 as_fn_error "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11903 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11904 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11905 { (exit 1); exit 1; }; } 7148 11906 fi 7149 11907 MAKE=${make_command} … … 7151 11909 7152 11910 # Check whether --enable-gui was given. 7153 if test "${enable_gui+set}" = set; then :11911 if test "${enable_gui+set}" = set; then 7154 11912 enableval=$enable_gui; 7155 11913 else … … 7167 11925 7168 11926 # Check whether --with-tclsh was given. 7169 if test "${with_tclsh+set}" = set; then :11927 if test "${with_tclsh+set}" = set; then 7170 11928 withval=$with_tclsh; 7171 11929 else … … 7176 11934 TCLSH= 7177 11935 if test "$with_tclsh" != "no" ; then 7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&57179 $as_echo_n "checking for tclsh..." >&6; }11936 { echo "$as_me:$LINENO: checking for tclsh" >&5 11937 echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; } 7180 11938 if test -x "$with_tclsh/bin/tclsh" 7181 11939 then … … 7190 11948 # Extract the first word of "tclsh", so it can be a program name with args. 7191 11949 set dummy tclsh; ac_word=$2 7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57193 $as_echo_n "checking for $ac_word..." >&6; }7194 if test "${ac_cv_path_TCLSH+set}" = set; then :7195 $as_echo_n "(cached)" >&611950 { echo "$as_me:$LINENO: checking for $ac_word" >&5 11951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 11952 if test "${ac_cv_path_TCLSH+set}" = set; then 11953 echo $ECHO_N "(cached) $ECHO_C" >&6 7196 11954 else 7197 11955 case $TCLSH in … … 7205 11963 IFS=$as_save_IFS 7206 11964 test -z "$as_dir" && as_dir=. 7207 11965 for ac_exec_ext in '' $ac_executable_extensions; do 7208 11966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7209 11967 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&511968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7211 11969 break 2 7212 11970 fi 7213 11971 done 7214 11972 done 7215 11973 IFS=$as_save_IFS 7216 11974 … … 7220 11978 TCLSH=$ac_cv_path_TCLSH 7221 11979 if test -n "$TCLSH"; then 7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&57223 $as_echo "$TCLSH" >&6; }7224 else 7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57226 $as_echo "no" >&6; }11980 { echo "$as_me:$LINENO: result: $TCLSH" >&5 11981 echo "${ECHO_T}$TCLSH" >&6; } 11982 else 11983 { echo "$as_me:$LINENO: result: no" >&5 11984 echo "${ECHO_T}no" >&6; } 7227 11985 fi 7228 11986 … … 7231 11989 fi 7232 11990 fi 7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&57234 $as_echo "${TCLSH}" >&6; }11991 { echo "$as_me:$LINENO: result: ${TCLSH}" >&5 11992 echo "${ECHO_T}${TCLSH}" >&6; } 7235 11993 7236 11994 … … 7238 11996 7239 11997 # Check whether --with-vtk was given. 7240 if test "${with_vtk+set}" = set; then :11998 if test "${with_vtk+set}" = set; then 7241 11999 withval=$with_vtk; with_vtk=$withval 7242 12000 else … … 7245 12003 7246 12004 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&57248 $as_echo_n "checking for vtk..." >&6; }12005 { echo "$as_me:$LINENO: checking for vtk" >&5 12006 echo $ECHO_N "checking for vtk... $ECHO_C" >&6; } 7249 12007 VTKDIR="" 7250 12008 … … 7269 12027 fi 7270 12028 7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&57272 $as_echo "$VTKDIR" >&6; }12029 { echo "$as_me:$LINENO: result: $VTKDIR" >&5 12030 echo "${ECHO_T}$VTKDIR" >&6; } 7273 12031 7274 12032 7275 12033 7276 12034 # Check whether --with-matlab was given. 7277 if test "${with_matlab+set}" = set; then :12035 if test "${with_matlab+set}" = set; then 7278 12036 withval=$with_matlab; with_matlab=$withval 7279 12037 else … … 7292 12050 # Extract the first word of "matlab", so it can be a program name with args. 7293 12051 set dummy matlab; ac_word=$2 7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57295 $as_echo_n "checking for $ac_word..." >&6; }7296 if test "${ac_cv_path_MATLAB+set}" = set; then :7297 $as_echo_n "(cached)" >&612052 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12054 if test "${ac_cv_path_MATLAB+set}" = set; then 12055 echo $ECHO_N "(cached) $ECHO_C" >&6 7298 12056 else 7299 12057 case $MATLAB in … … 7307 12065 IFS=$as_save_IFS 7308 12066 test -z "$as_dir" && as_dir=. 7309 12067 for ac_exec_ext in '' $ac_executable_extensions; do 7310 12068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7311 12069 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 7312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7313 12071 break 2 7314 12072 fi 7315 12073 done 7316 12074 done 7317 12075 IFS=$as_save_IFS 7318 12076 … … 7322 12080 MATLAB=$ac_cv_path_MATLAB 7323 12081 if test -n "$MATLAB"; then 7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&57325 $as_echo "$MATLAB" >&6; }7326 else 7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57328 $as_echo "no" >&6; }12082 { echo "$as_me:$LINENO: result: $MATLAB" >&5 12083 echo "${ECHO_T}$MATLAB" >&6; } 12084 else 12085 { echo "$as_me:$LINENO: result: no" >&5 12086 echo "${ECHO_T}no" >&6; } 7329 12087 fi 7330 12088 … … 7333 12091 # Extract the first word of "matlab", so it can be a program name with args. 7334 12092 set dummy matlab; ac_word=$2 7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57336 $as_echo_n "checking for $ac_word..." >&6; }7337 if test "${ac_cv_path_MATLAB+set}" = set; then :7338 $as_echo_n "(cached)" >&612093 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12095 if test "${ac_cv_path_MATLAB+set}" = set; then 12096 echo $ECHO_N "(cached) $ECHO_C" >&6 7339 12097 else 7340 12098 case $MATLAB in … … 7349 12107 IFS=$as_save_IFS 7350 12108 test -z "$as_dir" && as_dir=. 7351 12109 for ac_exec_ext in '' $ac_executable_extensions; do 7352 12110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7353 12111 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7355 12113 break 2 7356 12114 fi 7357 12115 done 7358 12116 done 7359 12117 IFS=$as_save_IFS 7360 12118 … … 7364 12122 MATLAB=$ac_cv_path_MATLAB 7365 12123 if test -n "$MATLAB"; then 7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&57367 $as_echo "$MATLAB" >&6; }7368 else 7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57370 $as_echo "no" >&6; }12124 { echo "$as_me:$LINENO: result: $MATLAB" >&5 12125 echo "${ECHO_T}$MATLAB" >&6; } 12126 else 12127 { echo "$as_me:$LINENO: result: no" >&5 12128 echo "${ECHO_T}no" >&6; } 7371 12129 fi 7372 12130 … … 7384 12142 # Extract the first word of "mex", so it can be a program name with args. 7385 12143 set dummy mex; ac_word=$2 7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57387 $as_echo_n "checking for $ac_word..." >&6; }7388 if test "${ac_cv_path_MEX+set}" = set; then :7389 $as_echo_n "(cached)" >&612144 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12146 if test "${ac_cv_path_MEX+set}" = set; then 12147 echo $ECHO_N "(cached) $ECHO_C" >&6 7390 12148 else 7391 12149 case $MEX in … … 7399 12157 IFS=$as_save_IFS 7400 12158 test -z "$as_dir" && as_dir=. 7401 12159 for ac_exec_ext in '' $ac_executable_extensions; do 7402 12160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7403 12161 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 7404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7405 12163 break 2 7406 12164 fi 7407 12165 done 7408 12166 done 7409 12167 IFS=$as_save_IFS 7410 12168 … … 7414 12172 MEX=$ac_cv_path_MEX 7415 12173 if test -n "$MEX"; then 7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&57417 $as_echo "$MEX" >&6; }7418 else 7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57420 $as_echo "no" >&6; }12174 { echo "$as_me:$LINENO: result: $MEX" >&5 12175 echo "${ECHO_T}$MEX" >&6; } 12176 else 12177 { echo "$as_me:$LINENO: result: no" >&5 12178 echo "${ECHO_T}no" >&6; } 7421 12179 fi 7422 12180 … … 7424 12182 # Extract the first word of "mexext", so it can be a program name with args. 7425 12183 set dummy mexext; ac_word=$2 7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57427 $as_echo_n "checking for $ac_word..." >&6; }7428 if test "${ac_cv_path_MEXEXT+set}" = set; then :7429 $as_echo_n "(cached)" >&612184 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12186 if test "${ac_cv_path_MEXEXT+set}" = set; then 12187 echo $ECHO_N "(cached) $ECHO_C" >&6 7430 12188 else 7431 12189 case $MEXEXT in … … 7439 12197 IFS=$as_save_IFS 7440 12198 test -z "$as_dir" && as_dir=. 7441 12199 for ac_exec_ext in '' $ac_executable_extensions; do 7442 12200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7443 12201 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 7444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7445 12203 break 2 7446 12204 fi 7447 12205 done 7448 12206 done 7449 12207 IFS=$as_save_IFS 7450 12208 … … 7454 12212 MEXEXT=$ac_cv_path_MEXEXT 7455 12213 if test -n "$MEXEXT"; then 7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&57457 $as_echo "$MEXEXT" >&6; }7458 else 7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57460 $as_echo "no" >&6; }12214 { echo "$as_me:$LINENO: result: $MEXEXT" >&5 12215 echo "${ECHO_T}$MEXEXT" >&6; } 12216 else 12217 { echo "$as_me:$LINENO: result: no" >&5 12218 echo "${ECHO_T}no" >&6; } 7461 12219 fi 7462 12220 … … 7464 12222 7465 12223 # Run "mexext" to get the expected module extension for this platform. 7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&57467 $as_echo_n "checking for mex extension..." >&6; }12224 { echo "$as_me:$LINENO: checking for mex extension" >&5 12225 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; } 7468 12226 if test "x$MEXEXT" != "x" ; then 7469 12227 MEXEXT=`$MEXEXT` … … 7471 12229 MEXEXT="mexglx" 7472 12230 fi 7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&57474 $as_echo "$MEXEXT" >&6; }12231 { echo "$as_me:$LINENO: result: $MEXEXT" >&5 12232 echo "${ECHO_T}$MEXEXT" >&6; } 7475 12233 # Extract the first word of "mcc", so it can be a program name with args. 7476 12234 set dummy mcc; ac_word=$2 7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57478 $as_echo_n "checking for $ac_word..." >&6; }7479 if test "${ac_cv_path_MCC+set}" = set; then :7480 $as_echo_n "(cached)" >&612235 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12237 if test "${ac_cv_path_MCC+set}" = set; then 12238 echo $ECHO_N "(cached) $ECHO_C" >&6 7481 12239 else 7482 12240 case $MCC in … … 7490 12248 IFS=$as_save_IFS 7491 12249 test -z "$as_dir" && as_dir=. 7492 12250 for ac_exec_ext in '' $ac_executable_extensions; do 7493 12251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7494 12252 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 7495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7496 12254 break 2 7497 12255 fi 7498 12256 done 7499 12257 done 7500 12258 IFS=$as_save_IFS 7501 12259 … … 7505 12263 MCC=$ac_cv_path_MCC 7506 12264 if test -n "$MCC"; then 7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&57508 $as_echo "$MCC" >&6; }7509 else 7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57511 $as_echo "no" >&6; }7512 fi 7513 7514 7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&57516 $as_echo_n "checking for mcc extension..." >&6; }12265 { echo "$as_me:$LINENO: result: $MCC" >&5 12266 echo "${ECHO_T}$MCC" >&6; } 12267 else 12268 { echo "$as_me:$LINENO: result: no" >&5 12269 echo "${ECHO_T}no" >&6; } 12270 fi 12271 12272 12273 { echo "$as_me:$LINENO: checking for mcc extension" >&5 12274 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; } 7517 12275 fi 7518 12276 … … 7525 12283 7526 12284 # Check whether --with-octave was given. 7527 if test "${with_octave+set}" = set; then :12285 if test "${with_octave+set}" = set; then 7528 12286 withval=$with_octave; with_octave=$withval 7529 12287 else … … 7537 12295 MKOCTFILE= 7538 12296 if test "$with_octave" != "no" ; then 7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&57540 $as_echo_n "checking for octave and mkoctfile..." >&6; }12297 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&5 12298 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; } 7541 12299 if test "$with_octave" = "yes" ; then 7542 12300 # Extract the first word of "octave", so it can be a program name with args. 7543 12301 set dummy octave; ac_word=$2 7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57545 $as_echo_n "checking for $ac_word..." >&6; }7546 if test "${ac_cv_path_OCTAVE+set}" = set; then :7547 $as_echo_n "(cached)" >&612302 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12304 if test "${ac_cv_path_OCTAVE+set}" = set; then 12305 echo $ECHO_N "(cached) $ECHO_C" >&6 7548 12306 else 7549 12307 case $OCTAVE in … … 7557 12315 IFS=$as_save_IFS 7558 12316 test -z "$as_dir" && as_dir=. 7559 12317 for ac_exec_ext in '' $ac_executable_extensions; do 7560 12318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7561 12319 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7563 12321 break 2 7564 12322 fi 7565 12323 done 7566 12324 done 7567 12325 IFS=$as_save_IFS 7568 12326 … … 7572 12330 OCTAVE=$ac_cv_path_OCTAVE 7573 12331 if test -n "$OCTAVE"; then 7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&57575 $as_echo "$OCTAVE" >&6; }7576 else 7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57578 $as_echo "no" >&6; }12332 { echo "$as_me:$LINENO: result: $OCTAVE" >&5 12333 echo "${ECHO_T}$OCTAVE" >&6; } 12334 else 12335 { echo "$as_me:$LINENO: result: no" >&5 12336 echo "${ECHO_T}no" >&6; } 7579 12337 fi 7580 12338 … … 7582 12340 # Extract the first word of "mkoctfile", so it can be a program name with args. 7583 12341 set dummy mkoctfile; ac_word=$2 7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57585 $as_echo_n "checking for $ac_word..." >&6; }7586 if test "${ac_cv_path_MKOCTFILE+set}" = set; then :7587 $as_echo_n "(cached)" >&612342 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12344 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 12345 echo $ECHO_N "(cached) $ECHO_C" >&6 7588 12346 else 7589 12347 case $MKOCTFILE in … … 7597 12355 IFS=$as_save_IFS 7598 12356 test -z "$as_dir" && as_dir=. 7599 12357 for ac_exec_ext in '' $ac_executable_extensions; do 7600 12358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7601 12359 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7603 12361 break 2 7604 12362 fi 7605 12363 done 7606 12364 done 7607 12365 IFS=$as_save_IFS 7608 12366 … … 7612 12370 MKOCTFILE=$ac_cv_path_MKOCTFILE 7613 12371 if test -n "$MKOCTFILE"; then 7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&57615 $as_echo "$MKOCTFILE" >&6; }7616 else 7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57618 $as_echo "no" >&6; }12372 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&5 12373 echo "${ECHO_T}$MKOCTFILE" >&6; } 12374 else 12375 { echo "$as_me:$LINENO: result: no" >&5 12376 echo "${ECHO_T}no" >&6; } 7619 12377 fi 7620 12378 … … 7623 12381 # Extract the first word of "octave", so it can be a program name with args. 7624 12382 set dummy octave; ac_word=$2 7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57626 $as_echo_n "checking for $ac_word..." >&6; }7627 if test "${ac_cv_path_OCTAVE+set}" = set; then :7628 $as_echo_n "(cached)" >&612383 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12385 if test "${ac_cv_path_OCTAVE+set}" = set; then 12386 echo $ECHO_N "(cached) $ECHO_C" >&6 7629 12387 else 7630 12388 case $OCTAVE in … … 7639 12397 IFS=$as_save_IFS 7640 12398 test -z "$as_dir" && as_dir=. 7641 12399 for ac_exec_ext in '' $ac_executable_extensions; do 7642 12400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7643 12401 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7645 12403 break 2 7646 12404 fi 7647 12405 done 7648 12406 done 7649 12407 IFS=$as_save_IFS 7650 12408 … … 7654 12412 OCTAVE=$ac_cv_path_OCTAVE 7655 12413 if test -n "$OCTAVE"; then 7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&57657 $as_echo "$OCTAVE" >&6; }7658 else 7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57660 $as_echo "no" >&6; }12414 { echo "$as_me:$LINENO: result: $OCTAVE" >&5 12415 echo "${ECHO_T}$OCTAVE" >&6; } 12416 else 12417 { echo "$as_me:$LINENO: result: no" >&5 12418 echo "${ECHO_T}no" >&6; } 7661 12419 fi 7662 12420 … … 7664 12422 # Extract the first word of "mkoctfile", so it can be a program name with args. 7665 12423 set dummy mkoctfile; ac_word=$2 7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57667 $as_echo_n "checking for $ac_word..." >&6; }7668 if test "${ac_cv_path_MKOCTFILE+set}" = set; then :7669 $as_echo_n "(cached)" >&612424 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12426 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 12427 echo $ECHO_N "(cached) $ECHO_C" >&6 7670 12428 else 7671 12429 case $MKOCTFILE in … … 7680 12438 IFS=$as_save_IFS 7681 12439 test -z "$as_dir" && as_dir=. 7682 12440 for ac_exec_ext in '' $ac_executable_extensions; do 7683 12441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7684 12442 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 7685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7686 12444 break 2 7687 12445 fi 7688 12446 done 7689 12447 done 7690 12448 IFS=$as_save_IFS 7691 12449 … … 7695 12453 MKOCTFILE=$ac_cv_path_MKOCTFILE 7696 12454 if test -n "$MKOCTFILE"; then 7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&57698 $as_echo "$MKOCTFILE" >&6; }7699 else 7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57701 $as_echo "no" >&6; }12455 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&5 12456 echo "${ECHO_T}$MKOCTFILE" >&6; } 12457 else 12458 { echo "$as_me:$LINENO: result: no" >&5 12459 echo "${ECHO_T}no" >&6; } 7702 12460 fi 7703 12461 … … 7716 12474 7717 12475 # Check whether --with-perl was given. 7718 if test "${with_perl+set}" = set; then :12476 if test "${with_perl+set}" = set; then 7719 12477 withval=$with_perl; 7720 12478 else … … 7735 12493 PERL_LIBSPEC= 7736 12494 if test "$with_perl" != "no" ; then 7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&57738 $as_echo_n "checking for perl..." >&6; }12495 { echo "$as_me:$LINENO: checking for perl" >&5 12496 echo $ECHO_N "checking for perl... $ECHO_C" >&6; } 7739 12497 if test "$with_perl" != "yes" ; then 7740 12498 # Extract the first word of "perl", so it can be a program name with args. 7741 12499 set dummy perl; ac_word=$2 7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57743 $as_echo_n "checking for $ac_word..." >&6; }7744 if test "${ac_cv_path_PERL+set}" = set; then :7745 $as_echo_n "(cached)" >&612500 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12502 if test "${ac_cv_path_PERL+set}" = set; then 12503 echo $ECHO_N "(cached) $ECHO_C" >&6 7746 12504 else 7747 12505 case $PERL in … … 7756 12514 IFS=$as_save_IFS 7757 12515 test -z "$as_dir" && as_dir=. 7758 12516 for ac_exec_ext in '' $ac_executable_extensions; do 7759 12517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7760 12518 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 7761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7762 12520 break 2 7763 12521 fi 7764 12522 done 7765 12523 done 7766 12524 IFS=$as_save_IFS 7767 12525 … … 7771 12529 PERL=$ac_cv_path_PERL 7772 12530 if test -n "$PERL"; then 7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&57774 $as_echo "$PERL" >&6; }7775 else 7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57777 $as_echo "no" >&6; }12531 { echo "$as_me:$LINENO: result: $PERL" >&5 12532 echo "${ECHO_T}$PERL" >&6; } 12533 else 12534 { echo "$as_me:$LINENO: result: no" >&5 12535 echo "${ECHO_T}no" >&6; } 7778 12536 fi 7779 12537 … … 7782 12540 # Extract the first word of "perl", so it can be a program name with args. 7783 12541 set dummy perl; ac_word=$2 7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57785 $as_echo_n "checking for $ac_word..." >&6; }7786 if test "${ac_cv_path_PERL+set}" = set; then :7787 $as_echo_n "(cached)" >&612542 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12544 if test "${ac_cv_path_PERL+set}" = set; then 12545 echo $ECHO_N "(cached) $ECHO_C" >&6 7788 12546 else 7789 12547 case $PERL in … … 7797 12555 IFS=$as_save_IFS 7798 12556 test -z "$as_dir" && as_dir=. 7799 12557 for ac_exec_ext in '' $ac_executable_extensions; do 7800 12558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7801 12559 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 7802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7803 12561 break 2 7804 12562 fi 7805 12563 done 7806 12564 done 7807 12565 IFS=$as_save_IFS 7808 12566 … … 7812 12570 PERL=$ac_cv_path_PERL 7813 12571 if test -n "$PERL"; then 7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&57815 $as_echo "$PERL" >&6; }7816 else 7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57818 $as_echo "no" >&6; }12572 { echo "$as_me:$LINENO: result: $PERL" >&5 12573 echo "${ECHO_T}$PERL" >&6; } 12574 else 12575 { echo "$as_me:$LINENO: result: no" >&5 12576 echo "${ECHO_T}no" >&6; } 7819 12577 fi 7820 12578 … … 7839 12597 fi 7840 12598 fi 7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PERL}" >&57842 $as_echo "${PERL}" >&6; }12599 { echo "$as_me:$LINENO: result: ${PERL}" >&5 12600 echo "${ECHO_T}${PERL}" >&6; } 7843 12601 7844 12602 … … 7869 12627 7870 12628 # Check whether --with-python was given. 7871 if test "${with_python+set}" = set; then :12629 if test "${with_python+set}" = set; then 7872 12630 withval=$with_python; 7873 12631 else … … 7877 12635 7878 12636 if test "$with_python" != "no" ; then 7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&57880 $as_echo_n "checking for python..." >&6; }12637 { echo "$as_me:$LINENO: checking for python" >&5 12638 echo $ECHO_N "checking for python... $ECHO_C" >&6; } 7881 12639 if test -x "$with_python/bin/python"; then 7882 12640 echo Found python in $with_python/bin/python … … 7888 12646 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 7889 12647 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57891 $as_echo_n "checking for $ac_word..." >&6; }7892 if test "${ac_cv_path_PYTHON+set}" = set; then :7893 $as_echo_n "(cached)" >&612648 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12650 if test "${ac_cv_path_PYTHON+set}" = set; then 12651 echo $ECHO_N "(cached) $ECHO_C" >&6 7894 12652 else 7895 12653 case $PYTHON in … … 7903 12661 IFS=$as_save_IFS 7904 12662 test -z "$as_dir" && as_dir=. 7905 12663 for ac_exec_ext in '' $ac_executable_extensions; do 7906 12664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7907 12665 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7909 12667 break 2 7910 12668 fi 7911 12669 done 7912 12670 done 7913 12671 IFS=$as_save_IFS 7914 12672 … … 7918 12676 PYTHON=$ac_cv_path_PYTHON 7919 12677 if test -n "$PYTHON"; then 7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&57921 $as_echo "$PYTHON" >&6; }7922 else 7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57924 $as_echo "no" >&6; }12678 { echo "$as_me:$LINENO: result: $PYTHON" >&5 12679 echo "${ECHO_T}$PYTHON" >&6; } 12680 else 12681 { echo "$as_me:$LINENO: result: no" >&5 12682 echo "${ECHO_T}no" >&6; } 7925 12683 fi 7926 12684 … … 7959 12717 fi 7960 12718 7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python distutils" >&57962 $as_echo_n "checking for python distutils..." >&6; }12719 { echo "$as_me:$LINENO: checking for python distutils" >&5 12720 echo $ECHO_N "checking for python distutils... $ECHO_C" >&6; } 7963 12721 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 7964 12722 build build_ext 2>&1 > /dev/null … … 7968 12726 HAVE_PYTHON_DISTUTILS="no" 7969 12727 fi 7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PYTHON_DISTUTILS" >&57971 $as_echo "$HAVE_PYTHON_DISTUTILS" >&6; }12728 { echo "$as_me:$LINENO: result: $HAVE_PYTHON_DISTUTILS" >&5 12729 echo "${ECHO_T}$HAVE_PYTHON_DISTUTILS" >&6; } 7972 12730 7973 12731 if test "${HAVE_PYTHON_DISTUTILS}" = "yes"; then … … 7975 12733 # Check for Python include path 7976 12734 # 7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&57978 $as_echo_n "checking for Python include path..." >&6; }12735 { echo "$as_me:$LINENO: checking for Python include path" >&5 12736 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; } 7979 12737 if test "x${PYTHON_CPPFLAGS}" = "x"; then 7980 12738 incdir_path=`${PYTHON} -c "import distutils.sysconfig; \ … … 7985 12743 PYTHON_CPPFLAGS=$python_path 7986 12744 fi 7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&57988 $as_echo "$PYTHON_CPPFLAGS" >&6; }12745 { echo "$as_me:$LINENO: result: $PYTHON_CPPFLAGS" >&5 12746 echo "${ECHO_T}$PYTHON_CPPFLAGS" >&6; } 7989 12747 7990 12748 # 7991 12749 # python distutils found, get settings from python directly 7992 12750 # 7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of site-packages" >&57994 $as_echo_n "checking location of site-packages..." >&6; }12751 { echo "$as_me:$LINENO: checking location of site-packages" >&5 12752 echo $ECHO_N "checking location of site-packages... $ECHO_C" >&6; } 7995 12753 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 7996 12754 … … 8016 12774 8017 12775 # Check whether --with-ruby was given. 8018 if test "${with_ruby+set}" = set; then :12776 if test "${with_ruby+set}" = set; then 8019 12777 withval=$with_ruby; rappture_with_ruby=$with_val 8020 12778 fi … … 8024 12782 # Extract the first word of "ruby", so it can be a program name with args. 8025 12783 set dummy ruby; ac_word=$2 8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58027 $as_echo_n "checking for $ac_word..." >&6; }8028 if test "${ac_cv_path_RUBY+set}" = set; then :8029 $as_echo_n "(cached)" >&612784 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12786 if test "${ac_cv_path_RUBY+set}" = set; then 12787 echo $ECHO_N "(cached) $ECHO_C" >&6 8030 12788 else 8031 12789 case $RUBY in … … 8039 12797 IFS=$as_save_IFS 8040 12798 test -z "$as_dir" && as_dir=. 8041 12799 for ac_exec_ext in '' $ac_executable_extensions; do 8042 12800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8043 12801 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8045 12803 break 2 8046 12804 fi 8047 12805 done 8048 12806 done 8049 12807 IFS=$as_save_IFS 8050 12808 … … 8054 12812 RUBY=$ac_cv_path_RUBY 8055 12813 if test -n "$RUBY"; then 8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&58057 $as_echo "$RUBY" >&6; }8058 else 8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58060 $as_echo "no" >&6; }12814 { echo "$as_me:$LINENO: result: $RUBY" >&5 12815 echo "${ECHO_T}$RUBY" >&6; } 12816 else 12817 { echo "$as_me:$LINENO: result: no" >&5 12818 echo "${ECHO_T}no" >&6; } 8061 12819 fi 8062 12820 … … 8065 12823 # Extract the first word of "ruby", so it can be a program name with args. 8066 12824 set dummy ruby; ac_word=$2 8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58068 $as_echo_n "checking for $ac_word..." >&6; }8069 if test "${ac_cv_path_RUBY+set}" = set; then :8070 $as_echo_n "(cached)" >&612825 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12827 if test "${ac_cv_path_RUBY+set}" = set; then 12828 echo $ECHO_N "(cached) $ECHO_C" >&6 8071 12829 else 8072 12830 case $RUBY in … … 8081 12839 IFS=$as_save_IFS 8082 12840 test -z "$as_dir" && as_dir=. 8083 12841 for ac_exec_ext in '' $ac_executable_extensions; do 8084 12842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8085 12843 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 8086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8087 12845 break 2 8088 12846 fi 8089 12847 done 8090 12848 done 8091 12849 IFS=$as_save_IFS 8092 12850 … … 8096 12854 RUBY=$ac_cv_path_RUBY 8097 12855 if test -n "$RUBY"; then 8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&58099 $as_echo "$RUBY" >&6; }8100 else 8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58102 $as_echo "no" >&6; }12856 { echo "$as_me:$LINENO: result: $RUBY" >&5 12857 echo "${ECHO_T}$RUBY" >&6; } 12858 else 12859 { echo "$as_me:$LINENO: result: no" >&5 12860 echo "${ECHO_T}no" >&6; } 8103 12861 fi 8104 12862 … … 8111 12869 RUBY_PLATFORM= 8112 12870 if test "x${RUBY}" != "x" ; then 8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&58114 $as_echo_n "checking for a sed that does not truncate output..." >&6; }8115 if test "${ac_cv_path_SED+set}" = set; then :8116 $as_echo_n "(cached)" >&612871 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 12872 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } 12873 if test "${ac_cv_path_SED+set}" = set; then 12874 echo $ECHO_N "(cached) $ECHO_C" >&6 8117 12875 else 8118 12876 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 8120 12878 ac_script="$ac_script$as_nl$ac_script" 8121 12879 done 8122 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8123 { ac_script=; unset ac_script;} 8124 if test -z "$SED"; then 12880 echo "$ac_script" | sed 99q >conftest.sed 12881 $as_unset ac_script || ac_script= 12882 # Extract the first word of "sed gsed" to use in msg output 12883 if test -z "$SED"; then 12884 set dummy sed gsed; ac_prog_name=$2 12885 if test "${ac_cv_path_SED+set}" = set; then 12886 echo $ECHO_N "(cached) $ECHO_C" >&6 12887 else 8125 12888 ac_path_SED_found=false 8126 8127 12889 # Loop through the user's path and test for each of PROGNAME-LIST 12890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8128 12891 for as_dir in $PATH 8129 12892 do 8130 12893 IFS=$as_save_IFS 8131 12894 test -z "$as_dir" && as_dir=. 8132 8133 8134 8135 8136 # Check for GNU ac_path_SED and select it if it is found.12895 for ac_prog in sed gsed; do 12896 for ac_exec_ext in '' $ac_executable_extensions; do 12897 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 12898 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 12899 # Check for GNU ac_path_SED and select it if it is found. 8137 12900 # Check for GNU $ac_path_SED 8138 12901 case `"$ac_path_SED" --version 2>&1` in … … 8141 12904 *) 8142 12905 ac_count=0 8143 $as_echo_n 0123456789>"conftest.in"12906 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 8144 12907 while : 8145 12908 do … … 8147 12910 mv "conftest.tmp" "conftest.in" 8148 12911 cp "conftest.in" "conftest.nl" 8149 $as_echo '' >> "conftest.nl"12912 echo '' >> "conftest.nl" 8150 12913 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 8151 12914 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8152 a s_fn_arith $ac_count + 1 && ac_count=$as_val12915 ac_count=`expr $ac_count + 1` 8153 12916 if test $ac_count -gt ${ac_path_SED_max-0}; then 8154 12917 # Best one so far, save it but keep looking for a better one … … 8162 12925 esac 8163 12926 8164 $ac_path_SED_found && break 3 8165 done12927 12928 $ac_path_SED_found && break 3 8166 12929 done 8167 done 12930 done 12931 12932 done 8168 12933 IFS=$as_save_IFS 8169 if test -z "$ac_cv_path_SED"; then 8170 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 8171 fi 12934 12935 12936 fi 12937 12938 SED="$ac_cv_path_SED" 12939 if test -z "$SED"; then 12940 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 12941 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 12942 { (exit 1); exit 1; }; } 12943 fi 12944 8172 12945 else 8173 12946 ac_cv_path_SED=$SED … … 8175 12948 8176 12949 fi 8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&58178 $as_echo "$ac_cv_path_SED" >&6; }12950 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 12951 echo "${ECHO_T}$ac_cv_path_SED" >&6; } 8179 12952 SED="$ac_cv_path_SED" 8180 12953 rm -f conftest.sed … … 8184 12957 8185 12958 8186 if test -n "$RUBY"; then :12959 if test -n "$RUBY"; then 8187 12960 8188 12961 ax_ruby_version="" 8189 12962 8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&58191 $as_echo_n "checking for ruby version..." >&6; }12963 { echo "$as_me:$LINENO: checking for ruby version" >&5 12964 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; } 8192 12965 8193 12966 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 8194 12967 8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&58196 $as_echo "$ruby_version" >&6; }12968 { echo "$as_me:$LINENO: result: $ruby_version" >&5 12969 echo "${ECHO_T}$ruby_version" >&6; } 8197 12970 8198 12971 RUBY_VERSION=$ruby_version … … 8204 12977 # Extract the first word of "$ac_prog", so it can be a program name with args. 8205 12978 set dummy $ac_prog; ac_word=$2 8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58207 $as_echo_n "checking for $ac_word..." >&6; }8208 if test "${ac_cv_prog_AWK+set}" = set; then :8209 $as_echo_n "(cached)" >&612979 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12981 if test "${ac_cv_prog_AWK+set}" = set; then 12982 echo $ECHO_N "(cached) $ECHO_C" >&6 8210 12983 else 8211 12984 if test -n "$AWK"; then … … 8217 12990 IFS=$as_save_IFS 8218 12991 test -z "$as_dir" && as_dir=. 8219 12992 for ac_exec_ext in '' $ac_executable_extensions; do 8220 12993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8221 12994 ac_cv_prog_AWK="$ac_prog" 8222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8223 12996 break 2 8224 12997 fi 8225 12998 done 8226 12999 done 8227 13000 IFS=$as_save_IFS 8228 13001 … … 8231 13004 AWK=$ac_cv_prog_AWK 8232 13005 if test -n "$AWK"; then 8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&58234 $as_echo "$AWK" >&6; }8235 else 8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58237 $as_echo "no" >&6; }13006 { echo "$as_me:$LINENO: result: $AWK" >&5 13007 echo "${ECHO_T}$AWK" >&6; } 13008 else 13009 { echo "$as_me:$LINENO: result: no" >&5 13010 echo "${ECHO_T}no" >&6; } 8238 13011 fi 8239 13012 … … 8285 13058 else 8286 13059 8287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8288 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8289 8290 8291 fi 13060 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13061 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13062 13063 13064 fi 13065 8292 13066 8293 13067 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 8300 13074 # Check for Ruby include path 8301 13075 # 8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&58303 $as_echo_n "checking for Ruby include path..." >&6; }13076 { echo "$as_me:$LINENO: checking for Ruby include path" >&5 13077 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; } 8304 13078 if test -z "$RUBY_CPPFLAGS"; then 8305 13079 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 8309 13083 RUBY_CPPFLAGS=$ruby_path 8310 13084 fi 8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&58312 $as_echo "$RUBY_CPPFLAGS" >&6; }13085 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&5 13086 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; } 8313 13087 8314 13088 … … 8316 13090 # Check for Ruby library path 8317 13091 # 8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&58319 $as_echo_n "checking for Ruby library path..." >&6; }13092 { echo "$as_me:$LINENO: checking for Ruby library path" >&5 13093 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; } 8320 13094 if test -z "$RUBY_LDFLAGS"; then 8321 13095 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 8322 13096 fi 8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&58324 $as_echo "$RUBY_LDFLAGS" >&6; }13097 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&5 13098 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; } 8325 13099 8326 13100 … … 8328 13102 # Check for site packages 8329 13103 # 8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&58331 $as_echo_n "checking for Ruby site-packages path..." >&6; }13104 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&5 13105 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; } 8332 13106 if test -z "$RUBY_SITE_PKG"; then 8333 13107 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 8334 13108 fi 8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&58336 $as_echo "$RUBY_SITE_PKG" >&6; }13109 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&5 13110 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; } 8337 13111 8338 13112 … … 8340 13114 # libraries which must be linked in when embedding 8341 13115 # 8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&58343 $as_echo_n "checking ruby extra libraries..." >&6; }13116 { echo "$as_me:$LINENO: checking ruby extra libraries" >&5 13117 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; } 8344 13118 if test -z "$RUBY_EXTRA_LIBS"; then 8345 13119 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 8346 13120 fi 8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&58348 $as_echo "$RUBY_EXTRA_LIBS" >&6; }13121 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&5 13122 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; } 8349 13123 8350 13124 … … 8365 13139 # final check to see if everything compiles alright 8366 13140 # 8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&58368 $as_echo_n "checking consistency of all components of ruby development environment..." >&6; }13141 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&5 13142 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; } 8369 13143 ac_ext=c 8370 13144 ac_cpp='$CPP $CPPFLAGS' … … 8378 13152 ac_save_CPPFLAGS="$CPPFLAGS" 8379 13153 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 8380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13154 cat >conftest.$ac_ext <<_ACEOF 13155 /* confdefs.h. */ 13156 _ACEOF 13157 cat confdefs.h >>conftest.$ac_ext 13158 cat >>conftest.$ac_ext <<_ACEOF 8381 13159 /* end confdefs.h. */ 8382 13160 … … 8393 13171 } 8394 13172 _ACEOF 8395 if ac_fn_c_try_link "$LINENO"; then : 13173 rm -f conftest.$ac_objext conftest$ac_exeext 13174 if { (ac_try="$ac_link" 13175 case "(($ac_try" in 13176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13177 *) ac_try_echo=$ac_try;; 13178 esac 13179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13180 (eval "$ac_link") 2>conftest.er1 13181 ac_status=$? 13182 grep -v '^ *+' conftest.er1 >conftest.err 13183 rm -f conftest.er1 13184 cat conftest.err >&5 13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13186 (exit $ac_status); } && { 13187 test -z "$ac_c_werror_flag" || 13188 test ! -s conftest.err 13189 } && test -s conftest$ac_exeext && 13190 $as_test_x conftest$ac_exeext; then 8396 13191 rubyexists=yes 8397 13192 else 8398 rubyexists=no 8399 fi 8400 rm -f core conftest.err conftest.$ac_objext \ 8401 conftest$ac_exeext conftest.$ac_ext 8402 8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8404 $as_echo "$rubyexists" >&6; } 13193 echo "$as_me: failed program was:" >&5 13194 sed 's/^/| /' conftest.$ac_ext >&5 13195 13196 rubyexists=no 13197 fi 13198 13199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13200 conftest$ac_exeext conftest.$ac_ext 13201 13202 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13203 echo "${ECHO_T}$rubyexists" >&6; } 8405 13204 8406 13205 if test "$rubyexists" = "no"; then … … 8428 13227 8429 13228 # TODO: Check that these actually exist. 8430 JAVA= java8431 JAVAC= javac8432 JAVAH= javah13229 JAVA=/apps/java/bin/java 13230 JAVAC=/apps/java/bin/javac 13231 JAVAH=/apps/java/bin/javah 8433 13232 8434 13233 # TODO: Find the java install from path to java exectuable. 8435 JAVA_HOME=/ usr/lib/jvm/java-6-sun13234 JAVA_HOME=/apps/java/jdk1.6.0_01 8436 13235 8437 13236 # TODO: find the location of jni.h and jni_md.h. … … 8449 13248 8450 13249 8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&58452 $as_echo_n "checking how to build libraries..." >&6; }13250 { echo "$as_me:$LINENO: checking how to build libraries" >&5 13251 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; } 8453 13252 # Check whether --enable-shared was given. 8454 if test "${enable_shared+set}" = set; then :13253 if test "${enable_shared+set}" = set; then 8455 13254 enableval=$enable_shared; tcl_ok=$enableval 8456 13255 else … … 8467 13266 8468 13267 if test "$tcl_ok" = "yes" ; then 8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&58470 $as_echo "shared" >&6; }13268 { echo "$as_me:$LINENO: result: shared" >&5 13269 echo "${ECHO_T}shared" >&6; } 8471 13270 SHARED_BUILD=1 8472 13271 else 8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&58474 $as_echo "static" >&6; }13272 { echo "$as_me:$LINENO: result: static" >&5 13273 echo "${ECHO_T}static" >&6; } 8475 13274 SHARED_BUILD=0 8476 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13275 cat >>confdefs.h <<\_ACEOF 13276 #define STATIC_BUILD 1 13277 _ACEOF 8477 13278 8478 13279 fi … … 8509 13310 # ----------------------------------------------------------------------- 8510 13311 8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8512 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8513 if test "${ac_cv_c_bigendian+set}" = set; then : 8514 $as_echo_n "(cached) " >&6 8515 else 8516 ac_cv_c_bigendian=unknown 8517 # See if we're dealing with a universal compiler. 8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8519 /* end confdefs.h. */ 8520 #ifndef __APPLE_CC__ 8521 not a universal capable compiler 8522 #endif 8523 typedef int dummy; 8524 8525 _ACEOF 8526 if ac_fn_cxx_try_compile "$LINENO"; then : 8527 8528 # Check for potential -arch flags. It is not universal unless 8529 # there are at least two -arch flags with different values. 8530 ac_arch= 8531 ac_prev= 8532 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 8533 if test -n "$ac_prev"; then 8534 case $ac_word in 8535 i?86 | x86_64 | ppc | ppc64) 8536 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 8537 ac_arch=$ac_word 8538 else 8539 ac_cv_c_bigendian=universal 8540 break 8541 fi 8542 ;; 8543 esac 8544 ac_prev= 8545 elif test "x$ac_word" = "x-arch"; then 8546 ac_prev=arch 8547 fi 8548 done 8549 fi 8550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8551 if test $ac_cv_c_bigendian = unknown; then 8552 # See if sys/param.h defines the BYTE_ORDER macro. 8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13312 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13313 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13314 if test "${ac_cv_c_bigendian+set}" = set; then 13315 echo $ECHO_N "(cached) $ECHO_C" >&6 13316 else 13317 # See if sys/param.h defines the BYTE_ORDER macro. 13318 cat >conftest.$ac_ext <<_ACEOF 13319 /* confdefs.h. */ 13320 _ACEOF 13321 cat confdefs.h >>conftest.$ac_ext 13322 cat >>conftest.$ac_ext <<_ACEOF 8554 13323 /* end confdefs.h. */ 8555 13324 #include <sys/types.h> 8556 13325 #include <sys/param.h> 8557 13326 8558 13327 int 8559 13328 main () 8560 13329 { 8561 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8562 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8563 && LITTLE_ENDIAN) 8564 bogus endian macros 8565 #endif 13330 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13331 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13332 bogus endian macros 13333 #endif 8566 13334 8567 13335 ; … … 8569 13337 } 8570 13338 _ACEOF 8571 if ac_fn_cxx_try_compile "$LINENO"; then : 13339 rm -f conftest.$ac_objext 13340 if { (ac_try="$ac_compile" 13341 case "(($ac_try" in 13342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13343 *) ac_try_echo=$ac_try;; 13344 esac 13345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13346 (eval "$ac_compile") 2>conftest.er1 13347 ac_status=$? 13348 grep -v '^ *+' conftest.er1 >conftest.err 13349 rm -f conftest.er1 13350 cat conftest.err >&5 13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13352 (exit $ac_status); } && { 13353 test -z "$ac_cxx_werror_flag" || 13354 test ! -s conftest.err 13355 } && test -s conftest.$ac_objext; then 8572 13356 # It does; now see whether it defined to BIG_ENDIAN or not. 8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13357 cat >conftest.$ac_ext <<_ACEOF 13358 /* confdefs.h. */ 13359 _ACEOF 13360 cat confdefs.h >>conftest.$ac_ext 13361 cat >>conftest.$ac_ext <<_ACEOF 8574 13362 /* end confdefs.h. */ 8575 13363 #include <sys/types.h> 8576 13364 #include <sys/param.h> 8577 13365 8578 13366 int … … 8580 13368 { 8581 13369 #if BYTE_ORDER != BIG_ENDIAN 8582 8583 13370 not big endian 13371 #endif 8584 13372 8585 13373 ; … … 8587 13375 } 8588 13376 _ACEOF 8589 if ac_fn_cxx_try_compile "$LINENO"; then : 13377 rm -f conftest.$ac_objext 13378 if { (ac_try="$ac_compile" 13379 case "(($ac_try" in 13380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13381 *) ac_try_echo=$ac_try;; 13382 esac 13383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13384 (eval "$ac_compile") 2>conftest.er1 13385 ac_status=$? 13386 grep -v '^ *+' conftest.er1 >conftest.err 13387 rm -f conftest.er1 13388 cat conftest.err >&5 13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13390 (exit $ac_status); } && { 13391 test -z "$ac_cxx_werror_flag" || 13392 test ! -s conftest.err 13393 } && test -s conftest.$ac_objext; then 8590 13394 ac_cv_c_bigendian=yes 8591 13395 else 8592 ac_cv_c_bigendian=no 8593 fi 13396 echo "$as_me: failed program was:" >&5 13397 sed 's/^/| /' conftest.$ac_ext >&5 13398 13399 ac_cv_c_bigendian=no 13400 fi 13401 8594 13402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8595 fi 8596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8597 fi 8598 if test $ac_cv_c_bigendian = unknown; then 8599 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13403 else 13404 echo "$as_me: failed program was:" >&5 13405 sed 's/^/| /' conftest.$ac_ext >&5 13406 13407 # It does not; compile a test program. 13408 if test "$cross_compiling" = yes; then 13409 # try to guess the endianness by grepping values into an object file 13410 ac_cv_c_bigendian=unknown 13411 cat >conftest.$ac_ext <<_ACEOF 13412 /* confdefs.h. */ 13413 _ACEOF 13414 cat confdefs.h >>conftest.$ac_ext 13415 cat >>conftest.$ac_ext <<_ACEOF 8601 13416 /* end confdefs.h. */ 8602 #include <limits.h> 8603 13417 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13418 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13419 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 13420 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13421 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13422 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8604 13423 int 8605 13424 main () 8606 13425 { 8607 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8608 bogus endian macros 8609 #endif 8610 13426 _ascii (); _ebcdic (); 8611 13427 ; 8612 13428 return 0; 8613 13429 } 8614 13430 _ACEOF 8615 if ac_fn_cxx_try_compile "$LINENO"; then : 8616 # It does; now see whether it defined to _BIG_ENDIAN or not. 8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8618 /* end confdefs.h. */ 8619 #include <limits.h> 8620 8621 int 8622 main () 8623 { 8624 #ifndef _BIG_ENDIAN 8625 not big endian 8626 #endif 8627 8628 ;8629 return 0; 8630 } 8631 _ACEOF 8632 if ac_fn_cxx_try_compile "$LINENO"; then : 13431 rm -f conftest.$ac_objext 13432 if { (ac_try="$ac_compile" 13433 case "(($ac_try" in 13434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13435 *) ac_try_echo=$ac_try;; 13436 esac 13437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13438 (eval "$ac_compile") 2>conftest.er1 13439 ac_status=$? 13440 grep -v '^ *+' conftest.er1 >conftest.err 13441 rm -f conftest.er1 13442 cat conftest.err >&5 13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13444 (exit $ac_status); } && { 13445 test -z "$ac_cxx_werror_flag" || 13446 test ! -s conftest.err 13447 } && test -s conftest.$ac_objext; then 13448 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 8633 13449 ac_cv_c_bigendian=yes 8634 else 8635 ac_cv_c_bigendian=no 8636 fi 13450 fi 13451 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13452 if test "$ac_cv_c_bigendian" = unknown; then 13453 ac_cv_c_bigendian=no 13454 else 13455 # finding both strings is unlikely to happen, but who knows? 13456 ac_cv_c_bigendian=unknown 13457 fi 13458 fi 13459 else 13460 echo "$as_me: failed program was:" >&5 13461 sed 's/^/| /' conftest.$ac_ext >&5 13462 13463 13464 fi 13465 8637 13466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8638 fi 8639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8640 fi 8641 if test $ac_cv_c_bigendian = unknown; then 8642 # Compile a test program. 8643 if test "$cross_compiling" = yes; then : 8644 # Try to guess by grepping values from an object file. 8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8646 /* end confdefs.h. */ 8647 short int ascii_mm[] = 8648 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8649 short int ascii_ii[] = 8650 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8651 int use_ascii (int i) { 8652 return ascii_mm[i] + ascii_ii[i]; 8653 } 8654 short int ebcdic_ii[] = 8655 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8656 short int ebcdic_mm[] = 8657 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8658 int use_ebcdic (int i) { 8659 return ebcdic_mm[i] + ebcdic_ii[i]; 8660 } 8661 extern int foo; 8662 8663 int 8664 main () 8665 { 8666 return use_ascii (foo) == use_ebcdic (foo); 8667 ; 8668 return 0; 8669 } 8670 _ACEOF 8671 if ac_fn_cxx_try_compile "$LINENO"; then : 8672 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8673 ac_cv_c_bigendian=yes 8674 fi 8675 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8676 if test "$ac_cv_c_bigendian" = unknown; then 8677 ac_cv_c_bigendian=no 8678 else 8679 # finding both strings is unlikely to happen, but who knows? 8680 ac_cv_c_bigendian=unknown 8681 fi 8682 fi 8683 fi 8684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8685 else 8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13467 else 13468 cat >conftest.$ac_ext <<_ACEOF 13469 /* confdefs.h. */ 13470 _ACEOF 13471 cat confdefs.h >>conftest.$ac_ext 13472 cat >>conftest.$ac_ext <<_ACEOF 8687 13473 /* end confdefs.h. */ 8688 13474 $ac_includes_default … … 8691 13477 { 8692 13478 8693 8694 8695 8696 8697 8698 8699 8700 13479 /* Are we little or big endian? From Harbison&Steele. */ 13480 union 13481 { 13482 long int l; 13483 char c[sizeof (long int)]; 13484 } u; 13485 u.l = 1; 13486 return u.c[sizeof (long int) - 1] == 1; 8701 13487 8702 13488 ; … … 8704 13490 } 8705 13491 _ACEOF 8706 if ac_fn_cxx_try_run "$LINENO"; then : 13492 rm -f conftest$ac_exeext 13493 if { (ac_try="$ac_link" 13494 case "(($ac_try" in 13495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13496 *) ac_try_echo=$ac_try;; 13497 esac 13498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13499 (eval "$ac_link") 2>&5 13500 ac_status=$? 13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13503 { (case "(($ac_try" in 13504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13505 *) ac_try_echo=$ac_try;; 13506 esac 13507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13508 (eval "$ac_try") 2>&5 13509 ac_status=$? 13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13511 (exit $ac_status); }; }; then 8707 13512 ac_cv_c_bigendian=no 8708 13513 else 8709 ac_cv_c_bigendian=yes 8710 fi 8711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8712 conftest.$ac_objext conftest.beam conftest.$ac_ext 8713 fi 8714 8715 fi 8716 fi 8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 8718 $as_echo "$ac_cv_c_bigendian" >&6; } 8719 case $ac_cv_c_bigendian in #( 8720 yes) 8721 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 8722 ;; #( 8723 no) 8724 ;; #( 8725 universal) 8726 8727 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 8728 8729 ;; #( 8730 *) 8731 as_fn_error "unknown endianness 8732 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 8733 esac 13514 echo "$as_me: program exited with status $ac_status" >&5 13515 echo "$as_me: failed program was:" >&5 13516 sed 's/^/| /' conftest.$ac_ext >&5 13517 13518 ( exit $ac_status ) 13519 ac_cv_c_bigendian=yes 13520 fi 13521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13522 fi 13523 13524 13525 fi 13526 13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13528 fi 13529 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 13530 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 13531 case $ac_cv_c_bigendian in 13532 yes) 13533 13534 cat >>confdefs.h <<\_ACEOF 13535 #define WORDS_BIGENDIAN 1 13536 _ACEOF 13537 ;; 13538 no) 13539 ;; 13540 *) 13541 { { echo "$as_me:$LINENO: error: unknown endianness 13542 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 13543 echo "$as_me: error: unknown endianness 13544 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 13545 { (exit 1); exit 1; }; } ;; 13546 esac 13547 13548 { echo "$as_me:$LINENO: checking for int" >&5 13549 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 13550 if test "${ac_cv_type_int+set}" = set; then 13551 echo $ECHO_N "(cached) $ECHO_C" >&6 13552 else 13553 cat >conftest.$ac_ext <<_ACEOF 13554 /* confdefs.h. */ 13555 _ACEOF 13556 cat confdefs.h >>conftest.$ac_ext 13557 cat >>conftest.$ac_ext <<_ACEOF 13558 /* end confdefs.h. */ 13559 $ac_includes_default 13560 typedef int ac__type_new_; 13561 int 13562 main () 13563 { 13564 if ((ac__type_new_ *) 0) 13565 return 0; 13566 if (sizeof (ac__type_new_)) 13567 return 0; 13568 ; 13569 return 0; 13570 } 13571 _ACEOF 13572 rm -f conftest.$ac_objext 13573 if { (ac_try="$ac_compile" 13574 case "(($ac_try" in 13575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13576 *) ac_try_echo=$ac_try;; 13577 esac 13578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13579 (eval "$ac_compile") 2>conftest.er1 13580 ac_status=$? 13581 grep -v '^ *+' conftest.er1 >conftest.err 13582 rm -f conftest.er1 13583 cat conftest.err >&5 13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13585 (exit $ac_status); } && { 13586 test -z "$ac_cxx_werror_flag" || 13587 test ! -s conftest.err 13588 } && test -s conftest.$ac_objext; then 13589 ac_cv_type_int=yes 13590 else 13591 echo "$as_me: failed program was:" >&5 13592 sed 's/^/| /' conftest.$ac_ext >&5 13593 13594 ac_cv_type_int=no 13595 fi 13596 13597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13598 fi 13599 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 13600 echo "${ECHO_T}$ac_cv_type_int" >&6; } 8734 13601 8735 13602 # The cast to long int works around a bug in the HP C Compiler … … 8737 13604 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8738 13605 # This bug is HP SR number 8606223364. 8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 8740 $as_echo_n "checking size of int... " >&6; } 8741 if test "${ac_cv_sizeof_int+set}" = set; then : 8742 $as_echo_n "(cached) " >&6 8743 else 8744 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8745 8746 else 8747 if test "$ac_cv_type_int" = yes; then 8748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8750 { as_fn_set_status 77 8751 as_fn_error "cannot compute sizeof (int) 8752 See \`config.log' for more details." "$LINENO" 5; }; } 13606 { echo "$as_me:$LINENO: checking size of int" >&5 13607 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 13608 if test "${ac_cv_sizeof_int+set}" = set; then 13609 echo $ECHO_N "(cached) $ECHO_C" >&6 13610 else 13611 if test "$cross_compiling" = yes; then 13612 # Depending upon the size, compute the lo and hi bounds. 13613 cat >conftest.$ac_ext <<_ACEOF 13614 /* confdefs.h. */ 13615 _ACEOF 13616 cat confdefs.h >>conftest.$ac_ext 13617 cat >>conftest.$ac_ext <<_ACEOF 13618 /* end confdefs.h. */ 13619 $ac_includes_default 13620 typedef int ac__type_sizeof_; 13621 int 13622 main () 13623 { 13624 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 13625 test_array [0] = 0 13626 13627 ; 13628 return 0; 13629 } 13630 _ACEOF 13631 rm -f conftest.$ac_objext 13632 if { (ac_try="$ac_compile" 13633 case "(($ac_try" in 13634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13635 *) ac_try_echo=$ac_try;; 13636 esac 13637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13638 (eval "$ac_compile") 2>conftest.er1 13639 ac_status=$? 13640 grep -v '^ *+' conftest.er1 >conftest.err 13641 rm -f conftest.er1 13642 cat conftest.err >&5 13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13644 (exit $ac_status); } && { 13645 test -z "$ac_cxx_werror_flag" || 13646 test ! -s conftest.err 13647 } && test -s conftest.$ac_objext; then 13648 ac_lo=0 ac_mid=0 13649 while :; do 13650 cat >conftest.$ac_ext <<_ACEOF 13651 /* confdefs.h. */ 13652 _ACEOF 13653 cat confdefs.h >>conftest.$ac_ext 13654 cat >>conftest.$ac_ext <<_ACEOF 13655 /* end confdefs.h. */ 13656 $ac_includes_default 13657 typedef int ac__type_sizeof_; 13658 int 13659 main () 13660 { 13661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13662 test_array [0] = 0 13663 13664 ; 13665 return 0; 13666 } 13667 _ACEOF 13668 rm -f conftest.$ac_objext 13669 if { (ac_try="$ac_compile" 13670 case "(($ac_try" in 13671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13672 *) ac_try_echo=$ac_try;; 13673 esac 13674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13675 (eval "$ac_compile") 2>conftest.er1 13676 ac_status=$? 13677 grep -v '^ *+' conftest.er1 >conftest.err 13678 rm -f conftest.er1 13679 cat conftest.err >&5 13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13681 (exit $ac_status); } && { 13682 test -z "$ac_cxx_werror_flag" || 13683 test ! -s conftest.err 13684 } && test -s conftest.$ac_objext; then 13685 ac_hi=$ac_mid; break 13686 else 13687 echo "$as_me: failed program was:" >&5 13688 sed 's/^/| /' conftest.$ac_ext >&5 13689 13690 ac_lo=`expr $ac_mid + 1` 13691 if test $ac_lo -le $ac_mid; then 13692 ac_lo= ac_hi= 13693 break 13694 fi 13695 ac_mid=`expr 2 '*' $ac_mid + 1` 13696 fi 13697 13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13699 done 13700 else 13701 echo "$as_me: failed program was:" >&5 13702 sed 's/^/| /' conftest.$ac_ext >&5 13703 13704 cat >conftest.$ac_ext <<_ACEOF 13705 /* confdefs.h. */ 13706 _ACEOF 13707 cat confdefs.h >>conftest.$ac_ext 13708 cat >>conftest.$ac_ext <<_ACEOF 13709 /* end confdefs.h. */ 13710 $ac_includes_default 13711 typedef int ac__type_sizeof_; 13712 int 13713 main () 13714 { 13715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 13716 test_array [0] = 0 13717 13718 ; 13719 return 0; 13720 } 13721 _ACEOF 13722 rm -f conftest.$ac_objext 13723 if { (ac_try="$ac_compile" 13724 case "(($ac_try" in 13725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13726 *) ac_try_echo=$ac_try;; 13727 esac 13728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13729 (eval "$ac_compile") 2>conftest.er1 13730 ac_status=$? 13731 grep -v '^ *+' conftest.er1 >conftest.err 13732 rm -f conftest.er1 13733 cat conftest.err >&5 13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13735 (exit $ac_status); } && { 13736 test -z "$ac_cxx_werror_flag" || 13737 test ! -s conftest.err 13738 } && test -s conftest.$ac_objext; then 13739 ac_hi=-1 ac_mid=-1 13740 while :; do 13741 cat >conftest.$ac_ext <<_ACEOF 13742 /* confdefs.h. */ 13743 _ACEOF 13744 cat confdefs.h >>conftest.$ac_ext 13745 cat >>conftest.$ac_ext <<_ACEOF 13746 /* end confdefs.h. */ 13747 $ac_includes_default 13748 typedef int ac__type_sizeof_; 13749 int 13750 main () 13751 { 13752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 13753 test_array [0] = 0 13754 13755 ; 13756 return 0; 13757 } 13758 _ACEOF 13759 rm -f conftest.$ac_objext 13760 if { (ac_try="$ac_compile" 13761 case "(($ac_try" in 13762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13763 *) ac_try_echo=$ac_try;; 13764 esac 13765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13766 (eval "$ac_compile") 2>conftest.er1 13767 ac_status=$? 13768 grep -v '^ *+' conftest.er1 >conftest.err 13769 rm -f conftest.er1 13770 cat conftest.err >&5 13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13772 (exit $ac_status); } && { 13773 test -z "$ac_cxx_werror_flag" || 13774 test ! -s conftest.err 13775 } && test -s conftest.$ac_objext; then 13776 ac_lo=$ac_mid; break 13777 else 13778 echo "$as_me: failed program was:" >&5 13779 sed 's/^/| /' conftest.$ac_ext >&5 13780 13781 ac_hi=`expr '(' $ac_mid ')' - 1` 13782 if test $ac_mid -le $ac_hi; then 13783 ac_lo= ac_hi= 13784 break 13785 fi 13786 ac_mid=`expr 2 '*' $ac_mid` 13787 fi 13788 13789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13790 done 13791 else 13792 echo "$as_me: failed program was:" >&5 13793 sed 's/^/| /' conftest.$ac_ext >&5 13794 13795 ac_lo= ac_hi= 13796 fi 13797 13798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13799 fi 13800 13801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13802 # Binary search between lo and hi bounds. 13803 while test "x$ac_lo" != "x$ac_hi"; do 13804 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 13805 cat >conftest.$ac_ext <<_ACEOF 13806 /* confdefs.h. */ 13807 _ACEOF 13808 cat confdefs.h >>conftest.$ac_ext 13809 cat >>conftest.$ac_ext <<_ACEOF 13810 /* end confdefs.h. */ 13811 $ac_includes_default 13812 typedef int ac__type_sizeof_; 13813 int 13814 main () 13815 { 13816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13817 test_array [0] = 0 13818 13819 ; 13820 return 0; 13821 } 13822 _ACEOF 13823 rm -f conftest.$ac_objext 13824 if { (ac_try="$ac_compile" 13825 case "(($ac_try" in 13826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13827 *) ac_try_echo=$ac_try;; 13828 esac 13829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13830 (eval "$ac_compile") 2>conftest.er1 13831 ac_status=$? 13832 grep -v '^ *+' conftest.er1 >conftest.err 13833 rm -f conftest.er1 13834 cat conftest.err >&5 13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13836 (exit $ac_status); } && { 13837 test -z "$ac_cxx_werror_flag" || 13838 test ! -s conftest.err 13839 } && test -s conftest.$ac_objext; then 13840 ac_hi=$ac_mid 13841 else 13842 echo "$as_me: failed program was:" >&5 13843 sed 's/^/| /' conftest.$ac_ext >&5 13844 13845 ac_lo=`expr '(' $ac_mid ')' + 1` 13846 fi 13847 13848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13849 done 13850 case $ac_lo in 13851 ?*) ac_cv_sizeof_int=$ac_lo;; 13852 '') if test "$ac_cv_type_int" = yes; then 13853 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 13854 See \`config.log' for more details." >&5 13855 echo "$as_me: error: cannot compute sizeof (int) 13856 See \`config.log' for more details." >&2;} 13857 { (exit 77); exit 77; }; } 13858 else 13859 ac_cv_sizeof_int=0 13860 fi ;; 13861 esac 13862 else 13863 cat >conftest.$ac_ext <<_ACEOF 13864 /* confdefs.h. */ 13865 _ACEOF 13866 cat confdefs.h >>conftest.$ac_ext 13867 cat >>conftest.$ac_ext <<_ACEOF 13868 /* end confdefs.h. */ 13869 $ac_includes_default 13870 typedef int ac__type_sizeof_; 13871 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 13872 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 13873 #include <stdio.h> 13874 #include <stdlib.h> 13875 int 13876 main () 13877 { 13878 13879 FILE *f = fopen ("conftest.val", "w"); 13880 if (! f) 13881 return 1; 13882 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 13883 { 13884 long int i = longval (); 13885 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13886 return 1; 13887 fprintf (f, "%ld\n", i); 13888 } 13889 else 13890 { 13891 unsigned long int i = ulongval (); 13892 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13893 return 1; 13894 fprintf (f, "%lu\n", i); 13895 } 13896 return ferror (f) || fclose (f) != 0; 13897 13898 ; 13899 return 0; 13900 } 13901 _ACEOF 13902 rm -f conftest$ac_exeext 13903 if { (ac_try="$ac_link" 13904 case "(($ac_try" in 13905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13906 *) ac_try_echo=$ac_try;; 13907 esac 13908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13909 (eval "$ac_link") 2>&5 13910 ac_status=$? 13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13913 { (case "(($ac_try" in 13914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13915 *) ac_try_echo=$ac_try;; 13916 esac 13917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13918 (eval "$ac_try") 2>&5 13919 ac_status=$? 13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13921 (exit $ac_status); }; }; then 13922 ac_cv_sizeof_int=`cat conftest.val` 13923 else 13924 echo "$as_me: program exited with status $ac_status" >&5 13925 echo "$as_me: failed program was:" >&5 13926 sed 's/^/| /' conftest.$ac_ext >&5 13927 13928 ( exit $ac_status ) 13929 if test "$ac_cv_type_int" = yes; then 13930 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 13931 See \`config.log' for more details." >&5 13932 echo "$as_me: error: cannot compute sizeof (int) 13933 See \`config.log' for more details." >&2;} 13934 { (exit 77); exit 77; }; } 8753 13935 else 8754 13936 ac_cv_sizeof_int=0 8755 13937 fi 8756 13938 fi 8757 8758 fi 8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 8760 $as_echo "$ac_cv_sizeof_int" >&6; } 13939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13940 fi 13941 rm -f conftest.val 13942 fi 13943 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 13944 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 8761 13945 8762 13946 … … 8766 13950 _ACEOF 8767 13951 13952 13953 { echo "$as_me:$LINENO: checking for long" >&5 13954 echo $ECHO_N "checking for long... $ECHO_C" >&6; } 13955 if test "${ac_cv_type_long+set}" = set; then 13956 echo $ECHO_N "(cached) $ECHO_C" >&6 13957 else 13958 cat >conftest.$ac_ext <<_ACEOF 13959 /* confdefs.h. */ 13960 _ACEOF 13961 cat confdefs.h >>conftest.$ac_ext 13962 cat >>conftest.$ac_ext <<_ACEOF 13963 /* end confdefs.h. */ 13964 $ac_includes_default 13965 typedef long ac__type_new_; 13966 int 13967 main () 13968 { 13969 if ((ac__type_new_ *) 0) 13970 return 0; 13971 if (sizeof (ac__type_new_)) 13972 return 0; 13973 ; 13974 return 0; 13975 } 13976 _ACEOF 13977 rm -f conftest.$ac_objext 13978 if { (ac_try="$ac_compile" 13979 case "(($ac_try" in 13980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13981 *) ac_try_echo=$ac_try;; 13982 esac 13983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13984 (eval "$ac_compile") 2>conftest.er1 13985 ac_status=$? 13986 grep -v '^ *+' conftest.er1 >conftest.err 13987 rm -f conftest.er1 13988 cat conftest.err >&5 13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13990 (exit $ac_status); } && { 13991 test -z "$ac_cxx_werror_flag" || 13992 test ! -s conftest.err 13993 } && test -s conftest.$ac_objext; then 13994 ac_cv_type_long=yes 13995 else 13996 echo "$as_me: failed program was:" >&5 13997 sed 's/^/| /' conftest.$ac_ext >&5 13998 13999 ac_cv_type_long=no 14000 fi 14001 14002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14003 fi 14004 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 14005 echo "${ECHO_T}$ac_cv_type_long" >&6; } 8768 14006 8769 14007 # The cast to long int works around a bug in the HP C Compiler … … 8771 14009 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8772 14010 # This bug is HP SR number 8606223364. 8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 8774 $as_echo_n "checking size of long... " >&6; } 8775 if test "${ac_cv_sizeof_long+set}" = set; then : 8776 $as_echo_n "(cached) " >&6 8777 else 8778 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8779 8780 else 8781 if test "$ac_cv_type_long" = yes; then 8782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8784 { as_fn_set_status 77 8785 as_fn_error "cannot compute sizeof (long) 8786 See \`config.log' for more details." "$LINENO" 5; }; } 14011 { echo "$as_me:$LINENO: checking size of long" >&5 14012 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 14013 if test "${ac_cv_sizeof_long+set}" = set; then 14014 echo $ECHO_N "(cached) $ECHO_C" >&6 14015 else 14016 if test "$cross_compiling" = yes; then 14017 # Depending upon the size, compute the lo and hi bounds. 14018 cat >conftest.$ac_ext <<_ACEOF 14019 /* confdefs.h. */ 14020 _ACEOF 14021 cat confdefs.h >>conftest.$ac_ext 14022 cat >>conftest.$ac_ext <<_ACEOF 14023 /* end confdefs.h. */ 14024 $ac_includes_default 14025 typedef long ac__type_sizeof_; 14026 int 14027 main () 14028 { 14029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14030 test_array [0] = 0 14031 14032 ; 14033 return 0; 14034 } 14035 _ACEOF 14036 rm -f conftest.$ac_objext 14037 if { (ac_try="$ac_compile" 14038 case "(($ac_try" in 14039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14040 *) ac_try_echo=$ac_try;; 14041 esac 14042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14043 (eval "$ac_compile") 2>conftest.er1 14044 ac_status=$? 14045 grep -v '^ *+' conftest.er1 >conftest.err 14046 rm -f conftest.er1 14047 cat conftest.err >&5 14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14049 (exit $ac_status); } && { 14050 test -z "$ac_cxx_werror_flag" || 14051 test ! -s conftest.err 14052 } && test -s conftest.$ac_objext; then 14053 ac_lo=0 ac_mid=0 14054 while :; do 14055 cat >conftest.$ac_ext <<_ACEOF 14056 /* confdefs.h. */ 14057 _ACEOF 14058 cat confdefs.h >>conftest.$ac_ext 14059 cat >>conftest.$ac_ext <<_ACEOF 14060 /* end confdefs.h. */ 14061 $ac_includes_default 14062 typedef long ac__type_sizeof_; 14063 int 14064 main () 14065 { 14066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14067 test_array [0] = 0 14068 14069 ; 14070 return 0; 14071 } 14072 _ACEOF 14073 rm -f conftest.$ac_objext 14074 if { (ac_try="$ac_compile" 14075 case "(($ac_try" in 14076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14077 *) ac_try_echo=$ac_try;; 14078 esac 14079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14080 (eval "$ac_compile") 2>conftest.er1 14081 ac_status=$? 14082 grep -v '^ *+' conftest.er1 >conftest.err 14083 rm -f conftest.er1 14084 cat conftest.err >&5 14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14086 (exit $ac_status); } && { 14087 test -z "$ac_cxx_werror_flag" || 14088 test ! -s conftest.err 14089 } && test -s conftest.$ac_objext; then 14090 ac_hi=$ac_mid; break 14091 else 14092 echo "$as_me: failed program was:" >&5 14093 sed 's/^/| /' conftest.$ac_ext >&5 14094 14095 ac_lo=`expr $ac_mid + 1` 14096 if test $ac_lo -le $ac_mid; then 14097 ac_lo= ac_hi= 14098 break 14099 fi 14100 ac_mid=`expr 2 '*' $ac_mid + 1` 14101 fi 14102 14103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14104 done 14105 else 14106 echo "$as_me: failed program was:" >&5 14107 sed 's/^/| /' conftest.$ac_ext >&5 14108 14109 cat >conftest.$ac_ext <<_ACEOF 14110 /* confdefs.h. */ 14111 _ACEOF 14112 cat confdefs.h >>conftest.$ac_ext 14113 cat >>conftest.$ac_ext <<_ACEOF 14114 /* end confdefs.h. */ 14115 $ac_includes_default 14116 typedef long ac__type_sizeof_; 14117 int 14118 main () 14119 { 14120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14121 test_array [0] = 0 14122 14123 ; 14124 return 0; 14125 } 14126 _ACEOF 14127 rm -f conftest.$ac_objext 14128 if { (ac_try="$ac_compile" 14129 case "(($ac_try" in 14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14131 *) ac_try_echo=$ac_try;; 14132 esac 14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14134 (eval "$ac_compile") 2>conftest.er1 14135 ac_status=$? 14136 grep -v '^ *+' conftest.er1 >conftest.err 14137 rm -f conftest.er1 14138 cat conftest.err >&5 14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14140 (exit $ac_status); } && { 14141 test -z "$ac_cxx_werror_flag" || 14142 test ! -s conftest.err 14143 } && test -s conftest.$ac_objext; then 14144 ac_hi=-1 ac_mid=-1 14145 while :; do 14146 cat >conftest.$ac_ext <<_ACEOF 14147 /* confdefs.h. */ 14148 _ACEOF 14149 cat confdefs.h >>conftest.$ac_ext 14150 cat >>conftest.$ac_ext <<_ACEOF 14151 /* end confdefs.h. */ 14152 $ac_includes_default 14153 typedef long ac__type_sizeof_; 14154 int 14155 main () 14156 { 14157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14158 test_array [0] = 0 14159 14160 ; 14161 return 0; 14162 } 14163 _ACEOF 14164 rm -f conftest.$ac_objext 14165 if { (ac_try="$ac_compile" 14166 case "(($ac_try" in 14167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14168 *) ac_try_echo=$ac_try;; 14169 esac 14170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14171 (eval "$ac_compile") 2>conftest.er1 14172 ac_status=$? 14173 grep -v '^ *+' conftest.er1 >conftest.err 14174 rm -f conftest.er1 14175 cat conftest.err >&5 14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14177 (exit $ac_status); } && { 14178 test -z "$ac_cxx_werror_flag" || 14179 test ! -s conftest.err 14180 } && test -s conftest.$ac_objext; then 14181 ac_lo=$ac_mid; break 14182 else 14183 echo "$as_me: failed program was:" >&5 14184 sed 's/^/| /' conftest.$ac_ext >&5 14185 14186 ac_hi=`expr '(' $ac_mid ')' - 1` 14187 if test $ac_mid -le $ac_hi; then 14188 ac_lo= ac_hi= 14189 break 14190 fi 14191 ac_mid=`expr 2 '*' $ac_mid` 14192 fi 14193 14194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14195 done 14196 else 14197 echo "$as_me: failed program was:" >&5 14198 sed 's/^/| /' conftest.$ac_ext >&5 14199 14200 ac_lo= ac_hi= 14201 fi 14202 14203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14204 fi 14205 14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14207 # Binary search between lo and hi bounds. 14208 while test "x$ac_lo" != "x$ac_hi"; do 14209 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14210 cat >conftest.$ac_ext <<_ACEOF 14211 /* confdefs.h. */ 14212 _ACEOF 14213 cat confdefs.h >>conftest.$ac_ext 14214 cat >>conftest.$ac_ext <<_ACEOF 14215 /* end confdefs.h. */ 14216 $ac_includes_default 14217 typedef long ac__type_sizeof_; 14218 int 14219 main () 14220 { 14221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14222 test_array [0] = 0 14223 14224 ; 14225 return 0; 14226 } 14227 _ACEOF 14228 rm -f conftest.$ac_objext 14229 if { (ac_try="$ac_compile" 14230 case "(($ac_try" in 14231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14232 *) ac_try_echo=$ac_try;; 14233 esac 14234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14235 (eval "$ac_compile") 2>conftest.er1 14236 ac_status=$? 14237 grep -v '^ *+' conftest.er1 >conftest.err 14238 rm -f conftest.er1 14239 cat conftest.err >&5 14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14241 (exit $ac_status); } && { 14242 test -z "$ac_cxx_werror_flag" || 14243 test ! -s conftest.err 14244 } && test -s conftest.$ac_objext; then 14245 ac_hi=$ac_mid 14246 else 14247 echo "$as_me: failed program was:" >&5 14248 sed 's/^/| /' conftest.$ac_ext >&5 14249 14250 ac_lo=`expr '(' $ac_mid ')' + 1` 14251 fi 14252 14253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14254 done 14255 case $ac_lo in 14256 ?*) ac_cv_sizeof_long=$ac_lo;; 14257 '') if test "$ac_cv_type_long" = yes; then 14258 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14259 See \`config.log' for more details." >&5 14260 echo "$as_me: error: cannot compute sizeof (long) 14261 See \`config.log' for more details." >&2;} 14262 { (exit 77); exit 77; }; } 14263 else 14264 ac_cv_sizeof_long=0 14265 fi ;; 14266 esac 14267 else 14268 cat >conftest.$ac_ext <<_ACEOF 14269 /* confdefs.h. */ 14270 _ACEOF 14271 cat confdefs.h >>conftest.$ac_ext 14272 cat >>conftest.$ac_ext <<_ACEOF 14273 /* end confdefs.h. */ 14274 $ac_includes_default 14275 typedef long ac__type_sizeof_; 14276 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14277 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14278 #include <stdio.h> 14279 #include <stdlib.h> 14280 int 14281 main () 14282 { 14283 14284 FILE *f = fopen ("conftest.val", "w"); 14285 if (! f) 14286 return 1; 14287 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14288 { 14289 long int i = longval (); 14290 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14291 return 1; 14292 fprintf (f, "%ld\n", i); 14293 } 14294 else 14295 { 14296 unsigned long int i = ulongval (); 14297 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14298 return 1; 14299 fprintf (f, "%lu\n", i); 14300 } 14301 return ferror (f) || fclose (f) != 0; 14302 14303 ; 14304 return 0; 14305 } 14306 _ACEOF 14307 rm -f conftest$ac_exeext 14308 if { (ac_try="$ac_link" 14309 case "(($ac_try" in 14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14311 *) ac_try_echo=$ac_try;; 14312 esac 14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14314 (eval "$ac_link") 2>&5 14315 ac_status=$? 14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14318 { (case "(($ac_try" in 14319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14320 *) ac_try_echo=$ac_try;; 14321 esac 14322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14323 (eval "$ac_try") 2>&5 14324 ac_status=$? 14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14326 (exit $ac_status); }; }; then 14327 ac_cv_sizeof_long=`cat conftest.val` 14328 else 14329 echo "$as_me: program exited with status $ac_status" >&5 14330 echo "$as_me: failed program was:" >&5 14331 sed 's/^/| /' conftest.$ac_ext >&5 14332 14333 ( exit $ac_status ) 14334 if test "$ac_cv_type_long" = yes; then 14335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14336 See \`config.log' for more details." >&5 14337 echo "$as_me: error: cannot compute sizeof (long) 14338 See \`config.log' for more details." >&2;} 14339 { (exit 77); exit 77; }; } 8787 14340 else 8788 14341 ac_cv_sizeof_long=0 8789 14342 fi 8790 14343 fi 8791 8792 fi 8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 8794 $as_echo "$ac_cv_sizeof_long" >&6; } 14344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14345 fi 14346 rm -f conftest.val 14347 fi 14348 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 14349 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 8795 14350 8796 14351 … … 8800 14355 _ACEOF 8801 14356 14357 14358 { echo "$as_me:$LINENO: checking for long long" >&5 14359 echo $ECHO_N "checking for long long... $ECHO_C" >&6; } 14360 if test "${ac_cv_type_long_long+set}" = set; then 14361 echo $ECHO_N "(cached) $ECHO_C" >&6 14362 else 14363 cat >conftest.$ac_ext <<_ACEOF 14364 /* confdefs.h. */ 14365 _ACEOF 14366 cat confdefs.h >>conftest.$ac_ext 14367 cat >>conftest.$ac_ext <<_ACEOF 14368 /* end confdefs.h. */ 14369 $ac_includes_default 14370 typedef long long ac__type_new_; 14371 int 14372 main () 14373 { 14374 if ((ac__type_new_ *) 0) 14375 return 0; 14376 if (sizeof (ac__type_new_)) 14377 return 0; 14378 ; 14379 return 0; 14380 } 14381 _ACEOF 14382 rm -f conftest.$ac_objext 14383 if { (ac_try="$ac_compile" 14384 case "(($ac_try" in 14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14386 *) ac_try_echo=$ac_try;; 14387 esac 14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14389 (eval "$ac_compile") 2>conftest.er1 14390 ac_status=$? 14391 grep -v '^ *+' conftest.er1 >conftest.err 14392 rm -f conftest.er1 14393 cat conftest.err >&5 14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14395 (exit $ac_status); } && { 14396 test -z "$ac_cxx_werror_flag" || 14397 test ! -s conftest.err 14398 } && test -s conftest.$ac_objext; then 14399 ac_cv_type_long_long=yes 14400 else 14401 echo "$as_me: failed program was:" >&5 14402 sed 's/^/| /' conftest.$ac_ext >&5 14403 14404 ac_cv_type_long_long=no 14405 fi 14406 14407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14408 fi 14409 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 14410 echo "${ECHO_T}$ac_cv_type_long_long" >&6; } 8802 14411 8803 14412 # The cast to long int works around a bug in the HP C Compiler … … 8805 14414 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8806 14415 # This bug is HP SR number 8606223364. 8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 8808 $as_echo_n "checking size of long long... " >&6; } 8809 if test "${ac_cv_sizeof_long_long+set}" = set; then : 8810 $as_echo_n "(cached) " >&6 8811 else 8812 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8813 8814 else 8815 if test "$ac_cv_type_long_long" = yes; then 8816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8818 { as_fn_set_status 77 8819 as_fn_error "cannot compute sizeof (long long) 8820 See \`config.log' for more details." "$LINENO" 5; }; } 14416 { echo "$as_me:$LINENO: checking size of long long" >&5 14417 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 14418 if test "${ac_cv_sizeof_long_long+set}" = set; then 14419 echo $ECHO_N "(cached) $ECHO_C" >&6 14420 else 14421 if test "$cross_compiling" = yes; then 14422 # Depending upon the size, compute the lo and hi bounds. 14423 cat >conftest.$ac_ext <<_ACEOF 14424 /* confdefs.h. */ 14425 _ACEOF 14426 cat confdefs.h >>conftest.$ac_ext 14427 cat >>conftest.$ac_ext <<_ACEOF 14428 /* end confdefs.h. */ 14429 $ac_includes_default 14430 typedef long long ac__type_sizeof_; 14431 int 14432 main () 14433 { 14434 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14435 test_array [0] = 0 14436 14437 ; 14438 return 0; 14439 } 14440 _ACEOF 14441 rm -f conftest.$ac_objext 14442 if { (ac_try="$ac_compile" 14443 case "(($ac_try" in 14444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14445 *) ac_try_echo=$ac_try;; 14446 esac 14447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14448 (eval "$ac_compile") 2>conftest.er1 14449 ac_status=$? 14450 grep -v '^ *+' conftest.er1 >conftest.err 14451 rm -f conftest.er1 14452 cat conftest.err >&5 14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14454 (exit $ac_status); } && { 14455 test -z "$ac_cxx_werror_flag" || 14456 test ! -s conftest.err 14457 } && test -s conftest.$ac_objext; then 14458 ac_lo=0 ac_mid=0 14459 while :; do 14460 cat >conftest.$ac_ext <<_ACEOF 14461 /* confdefs.h. */ 14462 _ACEOF 14463 cat confdefs.h >>conftest.$ac_ext 14464 cat >>conftest.$ac_ext <<_ACEOF 14465 /* end confdefs.h. */ 14466 $ac_includes_default 14467 typedef long long ac__type_sizeof_; 14468 int 14469 main () 14470 { 14471 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14472 test_array [0] = 0 14473 14474 ; 14475 return 0; 14476 } 14477 _ACEOF 14478 rm -f conftest.$ac_objext 14479 if { (ac_try="$ac_compile" 14480 case "(($ac_try" in 14481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14482 *) ac_try_echo=$ac_try;; 14483 esac 14484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14485 (eval "$ac_compile") 2>conftest.er1 14486 ac_status=$? 14487 grep -v '^ *+' conftest.er1 >conftest.err 14488 rm -f conftest.er1 14489 cat conftest.err >&5 14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14491 (exit $ac_status); } && { 14492 test -z "$ac_cxx_werror_flag" || 14493 test ! -s conftest.err 14494 } && test -s conftest.$ac_objext; then 14495 ac_hi=$ac_mid; break 14496 else 14497 echo "$as_me: failed program was:" >&5 14498 sed 's/^/| /' conftest.$ac_ext >&5 14499 14500 ac_lo=`expr $ac_mid + 1` 14501 if test $ac_lo -le $ac_mid; then 14502 ac_lo= ac_hi= 14503 break 14504 fi 14505 ac_mid=`expr 2 '*' $ac_mid + 1` 14506 fi 14507 14508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14509 done 14510 else 14511 echo "$as_me: failed program was:" >&5 14512 sed 's/^/| /' conftest.$ac_ext >&5 14513 14514 cat >conftest.$ac_ext <<_ACEOF 14515 /* confdefs.h. */ 14516 _ACEOF 14517 cat confdefs.h >>conftest.$ac_ext 14518 cat >>conftest.$ac_ext <<_ACEOF 14519 /* end confdefs.h. */ 14520 $ac_includes_default 14521 typedef long long ac__type_sizeof_; 14522 int 14523 main () 14524 { 14525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14526 test_array [0] = 0 14527 14528 ; 14529 return 0; 14530 } 14531 _ACEOF 14532 rm -f conftest.$ac_objext 14533 if { (ac_try="$ac_compile" 14534 case "(($ac_try" in 14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14536 *) ac_try_echo=$ac_try;; 14537 esac 14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14539 (eval "$ac_compile") 2>conftest.er1 14540 ac_status=$? 14541 grep -v '^ *+' conftest.er1 >conftest.err 14542 rm -f conftest.er1 14543 cat conftest.err >&5 14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14545 (exit $ac_status); } && { 14546 test -z "$ac_cxx_werror_flag" || 14547 test ! -s conftest.err 14548 } && test -s conftest.$ac_objext; then 14549 ac_hi=-1 ac_mid=-1 14550 while :; do 14551 cat >conftest.$ac_ext <<_ACEOF 14552 /* confdefs.h. */ 14553 _ACEOF 14554 cat confdefs.h >>conftest.$ac_ext 14555 cat >>conftest.$ac_ext <<_ACEOF 14556 /* end confdefs.h. */ 14557 $ac_includes_default 14558 typedef long long ac__type_sizeof_; 14559 int 14560 main () 14561 { 14562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14563 test_array [0] = 0 14564 14565 ; 14566 return 0; 14567 } 14568 _ACEOF 14569 rm -f conftest.$ac_objext 14570 if { (ac_try="$ac_compile" 14571 case "(($ac_try" in 14572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14573 *) ac_try_echo=$ac_try;; 14574 esac 14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14576 (eval "$ac_compile") 2>conftest.er1 14577 ac_status=$? 14578 grep -v '^ *+' conftest.er1 >conftest.err 14579 rm -f conftest.er1 14580 cat conftest.err >&5 14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14582 (exit $ac_status); } && { 14583 test -z "$ac_cxx_werror_flag" || 14584 test ! -s conftest.err 14585 } && test -s conftest.$ac_objext; then 14586 ac_lo=$ac_mid; break 14587 else 14588 echo "$as_me: failed program was:" >&5 14589 sed 's/^/| /' conftest.$ac_ext >&5 14590 14591 ac_hi=`expr '(' $ac_mid ')' - 1` 14592 if test $ac_mid -le $ac_hi; then 14593 ac_lo= ac_hi= 14594 break 14595 fi 14596 ac_mid=`expr 2 '*' $ac_mid` 14597 fi 14598 14599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14600 done 14601 else 14602 echo "$as_me: failed program was:" >&5 14603 sed 's/^/| /' conftest.$ac_ext >&5 14604 14605 ac_lo= ac_hi= 14606 fi 14607 14608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14609 fi 14610 14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14612 # Binary search between lo and hi bounds. 14613 while test "x$ac_lo" != "x$ac_hi"; do 14614 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14615 cat >conftest.$ac_ext <<_ACEOF 14616 /* confdefs.h. */ 14617 _ACEOF 14618 cat confdefs.h >>conftest.$ac_ext 14619 cat >>conftest.$ac_ext <<_ACEOF 14620 /* end confdefs.h. */ 14621 $ac_includes_default 14622 typedef long long ac__type_sizeof_; 14623 int 14624 main () 14625 { 14626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14627 test_array [0] = 0 14628 14629 ; 14630 return 0; 14631 } 14632 _ACEOF 14633 rm -f conftest.$ac_objext 14634 if { (ac_try="$ac_compile" 14635 case "(($ac_try" in 14636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14637 *) ac_try_echo=$ac_try;; 14638 esac 14639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14640 (eval "$ac_compile") 2>conftest.er1 14641 ac_status=$? 14642 grep -v '^ *+' conftest.er1 >conftest.err 14643 rm -f conftest.er1 14644 cat conftest.err >&5 14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14646 (exit $ac_status); } && { 14647 test -z "$ac_cxx_werror_flag" || 14648 test ! -s conftest.err 14649 } && test -s conftest.$ac_objext; then 14650 ac_hi=$ac_mid 14651 else 14652 echo "$as_me: failed program was:" >&5 14653 sed 's/^/| /' conftest.$ac_ext >&5 14654 14655 ac_lo=`expr '(' $ac_mid ')' + 1` 14656 fi 14657 14658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14659 done 14660 case $ac_lo in 14661 ?*) ac_cv_sizeof_long_long=$ac_lo;; 14662 '') if test "$ac_cv_type_long_long" = yes; then 14663 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 14664 See \`config.log' for more details." >&5 14665 echo "$as_me: error: cannot compute sizeof (long long) 14666 See \`config.log' for more details." >&2;} 14667 { (exit 77); exit 77; }; } 14668 else 14669 ac_cv_sizeof_long_long=0 14670 fi ;; 14671 esac 14672 else 14673 cat >conftest.$ac_ext <<_ACEOF 14674 /* confdefs.h. */ 14675 _ACEOF 14676 cat confdefs.h >>conftest.$ac_ext 14677 cat >>conftest.$ac_ext <<_ACEOF 14678 /* end confdefs.h. */ 14679 $ac_includes_default 14680 typedef long long ac__type_sizeof_; 14681 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14682 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14683 #include <stdio.h> 14684 #include <stdlib.h> 14685 int 14686 main () 14687 { 14688 14689 FILE *f = fopen ("conftest.val", "w"); 14690 if (! f) 14691 return 1; 14692 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14693 { 14694 long int i = longval (); 14695 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14696 return 1; 14697 fprintf (f, "%ld\n", i); 14698 } 14699 else 14700 { 14701 unsigned long int i = ulongval (); 14702 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14703 return 1; 14704 fprintf (f, "%lu\n", i); 14705 } 14706 return ferror (f) || fclose (f) != 0; 14707 14708 ; 14709 return 0; 14710 } 14711 _ACEOF 14712 rm -f conftest$ac_exeext 14713 if { (ac_try="$ac_link" 14714 case "(($ac_try" in 14715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14716 *) ac_try_echo=$ac_try;; 14717 esac 14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14719 (eval "$ac_link") 2>&5 14720 ac_status=$? 14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14723 { (case "(($ac_try" in 14724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14725 *) ac_try_echo=$ac_try;; 14726 esac 14727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14728 (eval "$ac_try") 2>&5 14729 ac_status=$? 14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14731 (exit $ac_status); }; }; then 14732 ac_cv_sizeof_long_long=`cat conftest.val` 14733 else 14734 echo "$as_me: program exited with status $ac_status" >&5 14735 echo "$as_me: failed program was:" >&5 14736 sed 's/^/| /' conftest.$ac_ext >&5 14737 14738 ( exit $ac_status ) 14739 if test "$ac_cv_type_long_long" = yes; then 14740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 14741 See \`config.log' for more details." >&5 14742 echo "$as_me: error: cannot compute sizeof (long long) 14743 See \`config.log' for more details." >&2;} 14744 { (exit 77); exit 77; }; } 8821 14745 else 8822 14746 ac_cv_sizeof_long_long=0 8823 14747 fi 8824 14748 fi 8825 8826 fi 8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 8828 $as_echo "$ac_cv_sizeof_long_long" >&6; } 14749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14750 fi 14751 rm -f conftest.val 14752 fi 14753 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 14754 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 8829 14755 8830 14756 … … 8834 14760 _ACEOF 8835 14761 14762 14763 { echo "$as_me:$LINENO: checking for void *" >&5 14764 echo $ECHO_N "checking for void *... $ECHO_C" >&6; } 14765 if test "${ac_cv_type_void_p+set}" = set; then 14766 echo $ECHO_N "(cached) $ECHO_C" >&6 14767 else 14768 cat >conftest.$ac_ext <<_ACEOF 14769 /* confdefs.h. */ 14770 _ACEOF 14771 cat confdefs.h >>conftest.$ac_ext 14772 cat >>conftest.$ac_ext <<_ACEOF 14773 /* end confdefs.h. */ 14774 $ac_includes_default 14775 typedef void * ac__type_new_; 14776 int 14777 main () 14778 { 14779 if ((ac__type_new_ *) 0) 14780 return 0; 14781 if (sizeof (ac__type_new_)) 14782 return 0; 14783 ; 14784 return 0; 14785 } 14786 _ACEOF 14787 rm -f conftest.$ac_objext 14788 if { (ac_try="$ac_compile" 14789 case "(($ac_try" in 14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14791 *) ac_try_echo=$ac_try;; 14792 esac 14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14794 (eval "$ac_compile") 2>conftest.er1 14795 ac_status=$? 14796 grep -v '^ *+' conftest.er1 >conftest.err 14797 rm -f conftest.er1 14798 cat conftest.err >&5 14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14800 (exit $ac_status); } && { 14801 test -z "$ac_cxx_werror_flag" || 14802 test ! -s conftest.err 14803 } && test -s conftest.$ac_objext; then 14804 ac_cv_type_void_p=yes 14805 else 14806 echo "$as_me: failed program was:" >&5 14807 sed 's/^/| /' conftest.$ac_ext >&5 14808 14809 ac_cv_type_void_p=no 14810 fi 14811 14812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14813 fi 14814 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 14815 echo "${ECHO_T}$ac_cv_type_void_p" >&6; } 8836 14816 8837 14817 # The cast to long int works around a bug in the HP C Compiler … … 8839 14819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8840 14820 # This bug is HP SR number 8606223364. 8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 8842 $as_echo_n "checking size of void *... " >&6; } 8843 if test "${ac_cv_sizeof_void_p+set}" = set; then : 8844 $as_echo_n "(cached) " >&6 8845 else 8846 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8847 8848 else 8849 if test "$ac_cv_type_void_p" = yes; then 8850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8852 { as_fn_set_status 77 8853 as_fn_error "cannot compute sizeof (void *) 8854 See \`config.log' for more details." "$LINENO" 5; }; } 14821 { echo "$as_me:$LINENO: checking size of void *" >&5 14822 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 14823 if test "${ac_cv_sizeof_void_p+set}" = set; then 14824 echo $ECHO_N "(cached) $ECHO_C" >&6 14825 else 14826 if test "$cross_compiling" = yes; then 14827 # Depending upon the size, compute the lo and hi bounds. 14828 cat >conftest.$ac_ext <<_ACEOF 14829 /* confdefs.h. */ 14830 _ACEOF 14831 cat confdefs.h >>conftest.$ac_ext 14832 cat >>conftest.$ac_ext <<_ACEOF 14833 /* end confdefs.h. */ 14834 $ac_includes_default 14835 typedef void * ac__type_sizeof_; 14836 int 14837 main () 14838 { 14839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14840 test_array [0] = 0 14841 14842 ; 14843 return 0; 14844 } 14845 _ACEOF 14846 rm -f conftest.$ac_objext 14847 if { (ac_try="$ac_compile" 14848 case "(($ac_try" in 14849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14850 *) ac_try_echo=$ac_try;; 14851 esac 14852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14853 (eval "$ac_compile") 2>conftest.er1 14854 ac_status=$? 14855 grep -v '^ *+' conftest.er1 >conftest.err 14856 rm -f conftest.er1 14857 cat conftest.err >&5 14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14859 (exit $ac_status); } && { 14860 test -z "$ac_cxx_werror_flag" || 14861 test ! -s conftest.err 14862 } && test -s conftest.$ac_objext; then 14863 ac_lo=0 ac_mid=0 14864 while :; do 14865 cat >conftest.$ac_ext <<_ACEOF 14866 /* confdefs.h. */ 14867 _ACEOF 14868 cat confdefs.h >>conftest.$ac_ext 14869 cat >>conftest.$ac_ext <<_ACEOF 14870 /* end confdefs.h. */ 14871 $ac_includes_default 14872 typedef void * ac__type_sizeof_; 14873 int 14874 main () 14875 { 14876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14877 test_array [0] = 0 14878 14879 ; 14880 return 0; 14881 } 14882 _ACEOF 14883 rm -f conftest.$ac_objext 14884 if { (ac_try="$ac_compile" 14885 case "(($ac_try" in 14886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14887 *) ac_try_echo=$ac_try;; 14888 esac 14889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14890 (eval "$ac_compile") 2>conftest.er1 14891 ac_status=$? 14892 grep -v '^ *+' conftest.er1 >conftest.err 14893 rm -f conftest.er1 14894 cat conftest.err >&5 14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14896 (exit $ac_status); } && { 14897 test -z "$ac_cxx_werror_flag" || 14898 test ! -s conftest.err 14899 } && test -s conftest.$ac_objext; then 14900 ac_hi=$ac_mid; break 14901 else 14902 echo "$as_me: failed program was:" >&5 14903 sed 's/^/| /' conftest.$ac_ext >&5 14904 14905 ac_lo=`expr $ac_mid + 1` 14906 if test $ac_lo -le $ac_mid; then 14907 ac_lo= ac_hi= 14908 break 14909 fi 14910 ac_mid=`expr 2 '*' $ac_mid + 1` 14911 fi 14912 14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14914 done 14915 else 14916 echo "$as_me: failed program was:" >&5 14917 sed 's/^/| /' conftest.$ac_ext >&5 14918 14919 cat >conftest.$ac_ext <<_ACEOF 14920 /* confdefs.h. */ 14921 _ACEOF 14922 cat confdefs.h >>conftest.$ac_ext 14923 cat >>conftest.$ac_ext <<_ACEOF 14924 /* end confdefs.h. */ 14925 $ac_includes_default 14926 typedef void * ac__type_sizeof_; 14927 int 14928 main () 14929 { 14930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14931 test_array [0] = 0 14932 14933 ; 14934 return 0; 14935 } 14936 _ACEOF 14937 rm -f conftest.$ac_objext 14938 if { (ac_try="$ac_compile" 14939 case "(($ac_try" in 14940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14941 *) ac_try_echo=$ac_try;; 14942 esac 14943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14944 (eval "$ac_compile") 2>conftest.er1 14945 ac_status=$? 14946 grep -v '^ *+' conftest.er1 >conftest.err 14947 rm -f conftest.er1 14948 cat conftest.err >&5 14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14950 (exit $ac_status); } && { 14951 test -z "$ac_cxx_werror_flag" || 14952 test ! -s conftest.err 14953 } && test -s conftest.$ac_objext; then 14954 ac_hi=-1 ac_mid=-1 14955 while :; do 14956 cat >conftest.$ac_ext <<_ACEOF 14957 /* confdefs.h. */ 14958 _ACEOF 14959 cat confdefs.h >>conftest.$ac_ext 14960 cat >>conftest.$ac_ext <<_ACEOF 14961 /* end confdefs.h. */ 14962 $ac_includes_default 14963 typedef void * ac__type_sizeof_; 14964 int 14965 main () 14966 { 14967 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14968 test_array [0] = 0 14969 14970 ; 14971 return 0; 14972 } 14973 _ACEOF 14974 rm -f conftest.$ac_objext 14975 if { (ac_try="$ac_compile" 14976 case "(($ac_try" in 14977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14978 *) ac_try_echo=$ac_try;; 14979 esac 14980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14981 (eval "$ac_compile") 2>conftest.er1 14982 ac_status=$? 14983 grep -v '^ *+' conftest.er1 >conftest.err 14984 rm -f conftest.er1 14985 cat conftest.err >&5 14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14987 (exit $ac_status); } && { 14988 test -z "$ac_cxx_werror_flag" || 14989 test ! -s conftest.err 14990 } && test -s conftest.$ac_objext; then 14991 ac_lo=$ac_mid; break 14992 else 14993 echo "$as_me: failed program was:" >&5 14994 sed 's/^/| /' conftest.$ac_ext >&5 14995 14996 ac_hi=`expr '(' $ac_mid ')' - 1` 14997 if test $ac_mid -le $ac_hi; then 14998 ac_lo= ac_hi= 14999 break 15000 fi 15001 ac_mid=`expr 2 '*' $ac_mid` 15002 fi 15003 15004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15005 done 15006 else 15007 echo "$as_me: failed program was:" >&5 15008 sed 's/^/| /' conftest.$ac_ext >&5 15009 15010 ac_lo= ac_hi= 15011 fi 15012 15013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15014 fi 15015 15016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15017 # Binary search between lo and hi bounds. 15018 while test "x$ac_lo" != "x$ac_hi"; do 15019 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15020 cat >conftest.$ac_ext <<_ACEOF 15021 /* confdefs.h. */ 15022 _ACEOF 15023 cat confdefs.h >>conftest.$ac_ext 15024 cat >>conftest.$ac_ext <<_ACEOF 15025 /* end confdefs.h. */ 15026 $ac_includes_default 15027 typedef void * ac__type_sizeof_; 15028 int 15029 main () 15030 { 15031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15032 test_array [0] = 0 15033 15034 ; 15035 return 0; 15036 } 15037 _ACEOF 15038 rm -f conftest.$ac_objext 15039 if { (ac_try="$ac_compile" 15040 case "(($ac_try" in 15041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15042 *) ac_try_echo=$ac_try;; 15043 esac 15044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15045 (eval "$ac_compile") 2>conftest.er1 15046 ac_status=$? 15047 grep -v '^ *+' conftest.er1 >conftest.err 15048 rm -f conftest.er1 15049 cat conftest.err >&5 15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15051 (exit $ac_status); } && { 15052 test -z "$ac_cxx_werror_flag" || 15053 test ! -s conftest.err 15054 } && test -s conftest.$ac_objext; then 15055 ac_hi=$ac_mid 15056 else 15057 echo "$as_me: failed program was:" >&5 15058 sed 's/^/| /' conftest.$ac_ext >&5 15059 15060 ac_lo=`expr '(' $ac_mid ')' + 1` 15061 fi 15062 15063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15064 done 15065 case $ac_lo in 15066 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15067 '') if test "$ac_cv_type_void_p" = yes; then 15068 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15069 See \`config.log' for more details." >&5 15070 echo "$as_me: error: cannot compute sizeof (void *) 15071 See \`config.log' for more details." >&2;} 15072 { (exit 77); exit 77; }; } 15073 else 15074 ac_cv_sizeof_void_p=0 15075 fi ;; 15076 esac 15077 else 15078 cat >conftest.$ac_ext <<_ACEOF 15079 /* confdefs.h. */ 15080 _ACEOF 15081 cat confdefs.h >>conftest.$ac_ext 15082 cat >>conftest.$ac_ext <<_ACEOF 15083 /* end confdefs.h. */ 15084 $ac_includes_default 15085 typedef void * ac__type_sizeof_; 15086 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15087 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15088 #include <stdio.h> 15089 #include <stdlib.h> 15090 int 15091 main () 15092 { 15093 15094 FILE *f = fopen ("conftest.val", "w"); 15095 if (! f) 15096 return 1; 15097 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15098 { 15099 long int i = longval (); 15100 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15101 return 1; 15102 fprintf (f, "%ld\n", i); 15103 } 15104 else 15105 { 15106 unsigned long int i = ulongval (); 15107 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15108 return 1; 15109 fprintf (f, "%lu\n", i); 15110 } 15111 return ferror (f) || fclose (f) != 0; 15112 15113 ; 15114 return 0; 15115 } 15116 _ACEOF 15117 rm -f conftest$ac_exeext 15118 if { (ac_try="$ac_link" 15119 case "(($ac_try" in 15120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15121 *) ac_try_echo=$ac_try;; 15122 esac 15123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15124 (eval "$ac_link") 2>&5 15125 ac_status=$? 15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15128 { (case "(($ac_try" in 15129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15130 *) ac_try_echo=$ac_try;; 15131 esac 15132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15133 (eval "$ac_try") 2>&5 15134 ac_status=$? 15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15136 (exit $ac_status); }; }; then 15137 ac_cv_sizeof_void_p=`cat conftest.val` 15138 else 15139 echo "$as_me: program exited with status $ac_status" >&5 15140 echo "$as_me: failed program was:" >&5 15141 sed 's/^/| /' conftest.$ac_ext >&5 15142 15143 ( exit $ac_status ) 15144 if test "$ac_cv_type_void_p" = yes; then 15145 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15146 See \`config.log' for more details." >&5 15147 echo "$as_me: error: cannot compute sizeof (void *) 15148 See \`config.log' for more details." >&2;} 15149 { (exit 77); exit 77; }; } 8855 15150 else 8856 15151 ac_cv_sizeof_void_p=0 8857 15152 fi 8858 15153 fi 8859 8860 fi 8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 8862 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15155 fi 15156 rm -f conftest.val 15157 fi 15158 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15159 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 8863 15160 8864 15161 … … 8886 15183 8887 15184 8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&58889 $as_echo_n "checking for build with symbols..." >&6; }15185 { echo "$as_me:$LINENO: checking for build with symbols" >&5 15186 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; } 8890 15187 # Check whether --enable-symbols was given. 8891 if test "${enable_symbols+set}" = set; then :15188 if test "${enable_symbols+set}" = set; then 8892 15189 enableval=$enable_symbols; tcl_ok=$enableval 8893 15190 else … … 8900 15197 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 8901 15198 DBGX="" 8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58903 $as_echo "no" >&6; }15199 { echo "$as_me:$LINENO: result: no" >&5 15200 echo "${ECHO_T}no" >&6; } 8904 15201 else 8905 15202 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 8907 15204 DBGX=g 8908 15205 if test "$tcl_ok" = "yes"; then 8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&58910 $as_echo "yes (standard debugging)" >&6; }15206 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&5 15207 echo "${ECHO_T}yes (standard debugging)" >&6; } 8911 15208 fi 8912 15209 fi … … 8915 15212 8916 15213 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 8917 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15214 cat >>confdefs.h <<\_ACEOF 15215 #define TCL_MEM_DEBUG 1 15216 _ACEOF 8918 15217 8919 15218 fi 8920 15219 8921 15220 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 8922 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 8923 8924 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15221 cat >>confdefs.h <<\_ACEOF 15222 #define TCL_COMPILE_DEBUG 1 15223 _ACEOF 15224 15225 cat >>confdefs.h <<\_ACEOF 15226 #define TCL_COMPILE_STATS 1 15227 _ACEOF 8925 15228 8926 15229 fi … … 8928 15231 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 8929 15232 if test "$tcl_ok" = "all"; then 8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&58931 $as_echo "enabled symbols mem compile debugging" >&6; }15233 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5 15234 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; } 8932 15235 else 8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&58934 $as_echo "enabled $tcl_ok debugging" >&6; }15236 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5 15237 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; } 8935 15238 fi 8936 15239 fi … … 8944 15247 8945 15248 ac_configure_args="--disable-threads --enable-shared" 8946 8947 8948 15249 subdirs="$subdirs packages/optimizer/src" 8949 15250 … … 8978 15279 *${as_nl}*) 8979 15280 case $ac_var in #( 8980 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&58981 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;15281 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 15282 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 8982 15283 esac 8983 15284 case $ac_var in #( 8984 15285 _ | IFS | as_nl) ;; #( 8985 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8986 *) { eval $ac_var=; unset $ac_var;} ;; 15286 *) $as_unset $ac_var ;; 8987 15287 esac ;; 8988 15288 esac … … 8992 15292 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8993 15293 *${as_nl}ac_space=\ *) 8994 # `set' does not quote correctly, so add quotes :double-quote8995 # substitution turns \\\\ into \\, and sed turns \\ into \ .15294 # `set' does not quote correctly, so add quotes (double-quote 15295 # substitution turns \\\\ into \\, and sed turns \\ into \). 8996 15296 sed -n \ 8997 15297 "s/'/'\\\\''/g; … … 9016 15316 if test -w "$cache_file"; then 9017 15317 test "x$cache_file" != "x/dev/null" && 9018 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&59019 $as_echo "$as_me: updating cache $cache_file" >&6;}15318 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 15319 echo "$as_me: updating cache $cache_file" >&6;} 9020 15320 cat confcache >$cache_file 9021 15321 else 9022 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&59023 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}15322 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 15323 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9024 15324 fi 9025 15325 fi … … 9037 15337 # 1. Remove the extension, and $U if already installed. 9038 15338 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9039 ac_i=` $as_echo "$ac_i" | sed "$ac_script"`15339 ac_i=`echo "$ac_i" | sed "$ac_script"` 9040 15340 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9041 15341 # will be set to the directory where LIBOBJS objects are built. 9042 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"9043 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'15342 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15343 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 9044 15344 done 9045 15345 LIBOBJS=$ac_libobjs … … 9049 15349 9050 15350 9051 9052 15351 : ${CONFIG_STATUS=./config.status} 9053 ac_write_fail=09054 15352 ac_clean_files_save=$ac_clean_files 9055 15353 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9056 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9057 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9058 as_write_fail=0 9059 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15354 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 15355 echo "$as_me: creating $CONFIG_STATUS" >&6;} 15356 cat >$CONFIG_STATUS <<_ACEOF 9060 15357 #! $SHELL 9061 15358 # Generated by $as_me. … … 9067 15364 ac_cs_recheck=false 9068 15365 ac_cs_silent=false 9069 9070 15366 SHELL=\${CONFIG_SHELL-$SHELL} 9071 export SHELL 9072 _ASEOF 9073 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=19074 ## -------------------- ##9075 ## M4sh Initialization. ##9076 ## -------------------- ##15367 _ACEOF 15368 15369 cat >>$CONFIG_STATUS <<\_ACEOF 15370 ## --------------------- ## 15371 ## M4sh Initialization. ## 15372 ## --------------------- ## 9077 15373 9078 15374 # Be more Bourne compatible 9079 15375 DUALCASE=1; export DUALCASE # for MKS sh 9080 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :15376 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9081 15377 emulate sh 9082 15378 NULLCMD=: 9083 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which15379 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 9084 15380 # is contrary to our usage. Disable this feature. 9085 15381 alias -g '${1+"$@"}'='"$@"' 9086 15382 setopt NO_GLOB_SUBST 9087 15383 else 9088 case `(set -o) 2>/dev/null` in #( 9089 *posix*) : 9090 set -o posix ;; #( 9091 *) : 9092 ;; 9093 esac 9094 fi 9095 9096 9097 as_nl=' 9098 ' 9099 export as_nl 9100 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9101 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9102 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9103 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9104 # Prefer a ksh shell builtin over an external printf program on Solaris, 9105 # but without wasting forks for bash or zsh. 9106 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9107 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9108 as_echo='print -r --' 9109 as_echo_n='print -rn --' 9110 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9111 as_echo='printf %s\n' 9112 as_echo_n='printf %s' 9113 else 9114 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9115 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9116 as_echo_n='/usr/ucb/echo -n' 9117 else 9118 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9119 as_echo_n_body='eval 9120 arg=$1; 9121 case $arg in #( 9122 *"$as_nl"*) 9123 expr "X$arg" : "X\\(.*\\)$as_nl"; 9124 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9125 esac; 9126 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9127 ' 9128 export as_echo_n_body 9129 as_echo_n='sh -c $as_echo_n_body as_echo' 9130 fi 9131 export as_echo_body 9132 as_echo='sh -c $as_echo_body as_echo' 9133 fi 15384 case `(set -o) 2>/dev/null` in 15385 *posix*) set -o posix ;; 15386 esac 15387 15388 fi 15389 15390 15391 15392 15393 # PATH needs CR 15394 # Avoid depending upon Character Ranges. 15395 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15396 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15397 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15398 as_cr_digits='0123456789' 15399 as_cr_alnum=$as_cr_Letters$as_cr_digits 9134 15400 9135 15401 # The user is always right. 9136 15402 if test "${PATH_SEPARATOR+set}" != set; then 9137 PATH_SEPARATOR=: 9138 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9139 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9140 PATH_SEPARATOR=';' 9141 } 15403 echo "#! /bin/sh" >conf$$.sh 15404 echo "exit 0" >>conf$$.sh 15405 chmod +x conf$$.sh 15406 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 15407 PATH_SEPARATOR=';' 15408 else 15409 PATH_SEPARATOR=: 15410 fi 15411 rm -f conf$$.sh 15412 fi 15413 15414 # Support unset when possible. 15415 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 15416 as_unset=unset 15417 else 15418 as_unset=false 9142 15419 fi 9143 15420 … … 9148 15425 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9149 15426 # splitting by setting IFS to empty value.) 15427 as_nl=' 15428 ' 9150 15429 IFS=" "" $as_nl" 9151 15430 9152 15431 # Find who we are. Look in the path if we contain no directory separator. 9153 case $0 in #((15432 case $0 in 9154 15433 *[\\/]* ) as_myself=$0 ;; 9155 15434 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 9158 15437 IFS=$as_save_IFS 9159 15438 test -z "$as_dir" && as_dir=. 9160 9161 15439 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15440 done 9162 15441 IFS=$as_save_IFS 9163 15442 … … 9170 15449 fi 9171 15450 if test ! -f "$as_myself"; then 9172 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9173 exit 1 9174 fi 9175 9176 # Unset variables that we do not need and which cause bugs (e.g. in 9177 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9178 # suppresses any "Segmentation fault" message there. '((' could 9179 # trigger a bug in pdksh 5.2.14. 9180 for as_var in BASH_ENV ENV MAIL MAILPATH 9181 do eval test x\${$as_var+set} = xset \ 9182 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15451 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15452 { (exit 1); exit 1; } 15453 fi 15454 15455 # Work around bugs in pre-3.0 UWIN ksh. 15456 for as_var in ENV MAIL MAILPATH 15457 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9183 15458 done 9184 15459 PS1='$ ' … … 9187 15462 9188 15463 # NLS nuisances. 9189 LC_ALL=C 9190 export LC_ALL 9191 LANGUAGE=C 9192 export LANGUAGE 9193 9194 # CDPATH. 9195 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9196 9197 9198 # as_fn_error ERROR [LINENO LOG_FD] 9199 # --------------------------------- 9200 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9201 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9202 # script with status $?, using 1 if that was 0. 9203 as_fn_error () 9204 { 9205 as_status=$?; test $as_status -eq 0 && as_status=1 9206 if test "$3"; then 9207 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9208 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15464 for as_var in \ 15465 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 15466 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 15467 LC_TELEPHONE LC_TIME 15468 do 15469 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 15470 eval $as_var=C; export $as_var 15471 else 15472 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9209 15473 fi 9210 $as_echo "$as_me: error: $1" >&2 9211 as_fn_exit $as_status 9212 } # as_fn_error 9213 9214 9215 # as_fn_set_status STATUS 9216 # ----------------------- 9217 # Set $? to STATUS, without forking. 9218 as_fn_set_status () 9219 { 9220 return $1 9221 } # as_fn_set_status 9222 9223 # as_fn_exit STATUS 9224 # ----------------- 9225 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9226 as_fn_exit () 9227 { 9228 set +e 9229 as_fn_set_status $1 9230 exit $1 9231 } # as_fn_exit 9232 9233 # as_fn_unset VAR 9234 # --------------- 9235 # Portably unset VAR. 9236 as_fn_unset () 9237 { 9238 { eval $1=; unset $1;} 9239 } 9240 as_unset=as_fn_unset 9241 # as_fn_append VAR VALUE 9242 # ---------------------- 9243 # Append the text in VALUE to the end of the definition contained in VAR. Take 9244 # advantage of any shell optimizations that allow amortized linear growth over 9245 # repeated appends, instead of the typical quadratic growth present in naive 9246 # implementations. 9247 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9248 eval 'as_fn_append () 9249 { 9250 eval $1+=\$2 9251 }' 9252 else 9253 as_fn_append () 9254 { 9255 eval $1=\$$1\$2 9256 } 9257 fi # as_fn_append 9258 9259 # as_fn_arith ARG... 9260 # ------------------ 9261 # Perform arithmetic evaluation on the ARGs, and store the result in the 9262 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9263 # must be portable across $(()) and expr. 9264 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9265 eval 'as_fn_arith () 9266 { 9267 as_val=$(( $* )) 9268 }' 9269 else 9270 as_fn_arith () 9271 { 9272 as_val=`expr "$@" || test $? -eq 1` 9273 } 9274 fi # as_fn_arith 9275 9276 15474 done 15475 15476 # Required to use basename. 9277 15477 if expr a : '\(a\)' >/dev/null 2>&1 && 9278 15478 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 9288 15488 fi 9289 15489 9290 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9291 as_dirname=dirname 9292 else 9293 as_dirname=false 9294 fi 9295 15490 15491 # Name of the executable. 9296 15492 as_me=`$as_basename -- "$0" || 9297 15493 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9298 15494 X"$0" : 'X\(//\)$' \| \ 9299 15495 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9300 $as_echo X/"$0" |15496 echo X/"$0" | 9301 15497 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9302 15498 s//\1/ … … 9313 15509 s/.*/./; q'` 9314 15510 9315 # Avoid depending upon Character Ranges. 9316 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9317 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9318 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9319 as_cr_digits='0123456789' 9320 as_cr_alnum=$as_cr_Letters$as_cr_digits 15511 # CDPATH. 15512 $as_unset CDPATH 15513 15514 15515 15516 as_lineno_1=$LINENO 15517 as_lineno_2=$LINENO 15518 test "x$as_lineno_1" != "x$as_lineno_2" && 15519 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 15520 15521 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 15522 # uniformly replaced by the line number. The first 'sed' inserts a 15523 # line-number line after each line using $LINENO; the second 'sed' 15524 # does the real work. The second script uses 'N' to pair each 15525 # line-number line with the line containing $LINENO, and appends 15526 # trailing '-' during substitution so that $LINENO is not a special 15527 # case at line end. 15528 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 15529 # scripts with optimization help from Paolo Bonzini. Blame Lee 15530 # E. McMahon (1931-1989) for sed's syntax. :-) 15531 sed -n ' 15532 p 15533 /[$]LINENO/= 15534 ' <$as_myself | 15535 sed ' 15536 s/[$]LINENO.*/&-/ 15537 t lineno 15538 b 15539 :lineno 15540 N 15541 :loop 15542 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 15543 t loop 15544 s/-\n.*// 15545 ' >$as_me.lineno && 15546 chmod +x "$as_me.lineno" || 15547 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 15548 { (exit 1); exit 1; }; } 15549 15550 # Don't try to exec as it changes $[0], causing all sort of problems 15551 # (the dirname of $[0] is not the place where we might find the 15552 # original and so on. Autoconf is especially sensitive to this). 15553 . "./$as_me.lineno" 15554 # Exit status is that of the last command. 15555 exit 15556 } 15557 15558 15559 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15560 as_dirname=dirname 15561 else 15562 as_dirname=false 15563 fi 9321 15564 9322 15565 ECHO_C= ECHO_N= ECHO_T= 9323 case `echo -n x` in #(((((15566 case `echo -n x` in 9324 15567 -n*) 9325 case `echo 'x y\c'` in15568 case `echo 'x\c'` in 9326 15569 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9327 xy) ECHO_C='\c';; 9328 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9329 ECHO_T=' ';; 15570 *) ECHO_C='\c';; 9330 15571 esac;; 9331 15572 *) … … 9333 15574 esac 9334 15575 15576 if expr a : '\(a\)' >/dev/null 2>&1 && 15577 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15578 as_expr=expr 15579 else 15580 as_expr=false 15581 fi 15582 9335 15583 rm -f conf$$ conf$$.exe conf$$.file 9336 15584 if test -d conf$$.dir; then … … 9338 15586 else 9339 15587 rm -f conf$$.dir 9340 mkdir conf$$.dir 2>/dev/null 9341 fi 9342 if (echo >conf$$.file) 2>/dev/null; then 9343 if ln -s conf$$.file conf$$ 2>/dev/null; then 9344 as_ln_s='ln -s' 9345 # ... but there are two gotchas: 9346 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9347 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9348 # In both cases, we have to default to `cp -p'. 9349 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9350 as_ln_s='cp -p' 9351 elif ln conf$$.file conf$$ 2>/dev/null; then 9352 as_ln_s=ln 9353 else 15588 mkdir conf$$.dir 15589 fi 15590 echo >conf$$.file 15591 if ln -s conf$$.file conf$$ 2>/dev/null; then 15592 as_ln_s='ln -s' 15593 # ... but there are two gotchas: 15594 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15595 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15596 # In both cases, we have to default to `cp -p'. 15597 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9354 15598 as_ln_s='cp -p' 9355 fi 15599 elif ln conf$$.file conf$$ 2>/dev/null; then 15600 as_ln_s=ln 9356 15601 else 9357 15602 as_ln_s='cp -p' … … 9360 15605 rmdir conf$$.dir 2>/dev/null 9361 15606 9362 9363 # as_fn_mkdir_p9364 # -------------9365 # Create "$as_dir" as a directory, including parents if necessary.9366 as_fn_mkdir_p ()9367 {9368 9369 case $as_dir in #(9370 -*) as_dir=./$as_dir;;9371 esac9372 test -d "$as_dir" || eval $as_mkdir_p || {9373 as_dirs=9374 while :; do9375 case $as_dir in #(9376 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(9377 *) as_qdir=$as_dir;;9378 esac9379 as_dirs="'$as_qdir' $as_dirs"9380 as_dir=`$as_dirname -- "$as_dir" ||9381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9382 X"$as_dir" : 'X\(//\)[^/]' \| \9383 X"$as_dir" : 'X\(//\)$' \| \9384 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||9385 $as_echo X"$as_dir" |9386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{9387 s//\1/9388 q9389 }9390 /^X\(\/\/\)[^/].*/{9391 s//\1/9392 q9393 }9394 /^X\(\/\/\)$/{9395 s//\1/9396 q9397 }9398 /^X\(\/\).*/{9399 s//\1/9400 q9401 }9402 s/.*/./; q'`9403 test -d "$as_dir" && break9404 done9405 test -z "$as_dirs" || eval "mkdir $as_dirs"9406 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"9407 9408 9409 } # as_fn_mkdir_p9410 15607 if mkdir -p . 2>/dev/null; then 9411 as_mkdir_p= 'mkdir -p "$as_dir"'15608 as_mkdir_p=: 9412 15609 else 9413 15610 test -d ./-p && rmdir ./-p … … 9426 15623 eval sh -c '\'' 9427 15624 if test -d "$1"; then 9428 15625 test -d "$1/."; 9429 15626 else 9430 case $1 in #(9431 15627 case $1 in 15628 -*)set "./$1";; 9432 15629 esac; 9433 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((15630 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9434 15631 ???[sx]*):;;*)false;;esac;fi 9435 15632 '\'' sh … … 9446 15643 9447 15644 exec 6>&1 9448 ## ----------------------------------- ## 9449 ## Main body of $CONFIG_STATUS script. ## 9450 ## ----------------------------------- ## 9451 _ASEOF 9452 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9453 9454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9455 # Save the log message, to keep $0 and so on meaningful, and to 15645 15646 # Save the log message, to keep $[0] and so on meaningful, and to 9456 15647 # report actual input values of CONFIG_FILES etc. instead of their 9457 15648 # values after options handling. 9458 15649 ac_log=" 9459 15650 This file was extended by Rappture $as_me 1.1, which was 9460 generated by GNU Autoconf 2.6 5. Invocation command line was15651 generated by GNU Autoconf 2.61. Invocation command line was 9461 15652 9462 15653 CONFIG_FILES = $CONFIG_FILES … … 9471 15662 _ACEOF 9472 15663 9473 case $ac_config_files in *" 9474 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9475 esac 9476 9477 case $ac_config_headers in *" 9478 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9479 esac 9480 9481 9482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15664 cat >>$CONFIG_STATUS <<_ACEOF 9483 15665 # Files that config.status was made for. 9484 15666 config_files="$ac_config_files" … … 9487 15669 _ACEOF 9488 15670 9489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=115671 cat >>$CONFIG_STATUS <<\_ACEOF 9490 15672 ac_cs_usage="\ 9491 \`$as_me' instantiates files and other configuration actions 9492 from templates according to the current configuration. Unless the files 9493 and actions are specified as TAGs, all are instantiated by default. 9494 9495 Usage: $0 [OPTION]... [TAG]... 15673 \`$as_me' instantiates files from templates according to the 15674 current configuration. 15675 15676 Usage: $0 [OPTIONS] [FILE]... 9496 15677 9497 15678 -h, --help print this help, then exit 9498 15679 -V, --version print version number and configuration settings, then exit 9499 --config print configuration, then exit 9500 -q, --quiet, --silent 9501 do not print progress messages 15680 -q, --quiet do not print progress messages 9502 15681 -d, --debug don't remove temporary files 9503 15682 --recheck update $as_me by reconfiguring in the same conditions 9504 9505 9506 9507 15683 --file=FILE[:TEMPLATE] 15684 instantiate the configuration file FILE 15685 --header=FILE[:TEMPLATE] 15686 instantiate the configuration header FILE 9508 15687 9509 15688 Configuration files: … … 9513 15692 $config_headers 9514 15693 9515 Report bugs to <rappture@nanohub.org>." 9516 9517 _ACEOF 9518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9519 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15694 Report bugs to <bug-autoconf@gnu.org>." 15695 15696 _ACEOF 15697 cat >>$CONFIG_STATUS <<_ACEOF 9520 15698 ac_cs_version="\\ 9521 15699 Rappture config.status 1.1 9522 configured by $0, generated by GNU Autoconf 2.6 5,9523 with options \\" \$ac_cs_config\\"9524 9525 Copyright (C) 200 9Free Software Foundation, Inc.15700 configured by $0, generated by GNU Autoconf 2.61, 15701 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 15702 15703 Copyright (C) 2006 Free Software Foundation, Inc. 9526 15704 This config.status script is free software; the Free Software Foundation 9527 15705 gives unlimited permission to copy, distribute and modify it." … … 9531 15709 INSTALL='$INSTALL' 9532 15710 MKDIR_P='$MKDIR_P' 9533 AWK='$AWK' 9534 test -n "\$AWK" || AWK=awk 9535 _ACEOF 9536 9537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9538 # The default lists apply if the user does not specify any file. 15711 _ACEOF 15712 15713 cat >>$CONFIG_STATUS <<\_ACEOF 15714 # If no file are specified by the user, then we need to provide default 15715 # value. By we need to know if files were specified by the user. 9539 15716 ac_need_defaults=: 9540 15717 while test $# != 0 … … 9558 15735 ac_cs_recheck=: ;; 9559 15736 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9560 $as_echo "$ac_cs_version"; exit ;; 9561 --config | --confi | --conf | --con | --co | --c ) 9562 $as_echo "$ac_cs_config"; exit ;; 15737 echo "$ac_cs_version"; exit ;; 9563 15738 --debug | --debu | --deb | --de | --d | -d ) 9564 15739 debug=: ;; 9565 15740 --file | --fil | --fi | --f ) 9566 15741 $ac_shift 9567 case $ac_optarg in 9568 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9569 esac 9570 as_fn_append CONFIG_FILES " '$ac_optarg'" 15742 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 9571 15743 ac_need_defaults=false;; 9572 15744 --header | --heade | --head | --hea ) 9573 15745 $ac_shift 9574 case $ac_optarg in 9575 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9576 esac 9577 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15746 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 9578 15747 ac_need_defaults=false;; 9579 15748 --he | --h) 9580 15749 # Conflict between --help and --header 9581 as_fn_error "ambiguous option: \`$1' 9582 Try \`$0 --help' for more information.";; 15750 { echo "$as_me: error: ambiguous option: $1 15751 Try \`$0 --help' for more information." >&2 15752 { (exit 1); exit 1; }; };; 9583 15753 --help | --hel | -h ) 9584 $as_echo "$ac_cs_usage"; exit ;;15754 echo "$ac_cs_usage"; exit ;; 9585 15755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9586 15756 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 9588 15758 9589 15759 # This is an error. 9590 -*) as_fn_error "unrecognized option: \`$1' 9591 Try \`$0 --help' for more information." ;; 9592 9593 *) as_fn_append ac_config_targets " $1" 15760 -*) { echo "$as_me: error: unrecognized option: $1 15761 Try \`$0 --help' for more information." >&2 15762 { (exit 1); exit 1; }; } ;; 15763 15764 *) ac_config_targets="$ac_config_targets $1" 9594 15765 ac_need_defaults=false ;; 9595 15766 … … 9606 15777 9607 15778 _ACEOF 9608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=115779 cat >>$CONFIG_STATUS <<_ACEOF 9609 15780 if \$ac_cs_recheck; then 9610 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9611 shift 9612 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9613 CONFIG_SHELL='$SHELL' 15781 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 15782 CONFIG_SHELL=$SHELL 9614 15783 export CONFIG_SHELL 9615 exec "\$@"9616 fi 9617 9618 _ACEOF 9619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=115784 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15785 fi 15786 15787 _ACEOF 15788 cat >>$CONFIG_STATUS <<\_ACEOF 9620 15789 exec 5>>config.log 9621 15790 { … … 9624 15793 ## Running $as_me. ## 9625 15794 _ASBOX 9626 $as_echo "$ac_log"15795 echo "$ac_log" 9627 15796 } >&5 9628 15797 9629 15798 _ACEOF 9630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=19631 _ACEOF 9632 9633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=115799 cat >>$CONFIG_STATUS <<_ACEOF 15800 _ACEOF 15801 15802 cat >>$CONFIG_STATUS <<\_ACEOF 9634 15803 9635 15804 # Handling of arguments. … … 9754 15923 "test/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/src/Makefile" ;; 9755 15924 9756 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15925 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 15926 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 15927 { (exit 1); exit 1; }; };; 9757 15928 esac 9758 15929 done … … 9780 15951 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9781 15952 ' 0 9782 trap ' as_fn_exit 1' 1 2 13 1515953 trap '{ (exit 1); exit 1; }' 1 2 13 15 9783 15954 } 9784 15955 # Create a (secure) tmp directory for tmp files. … … 9791 15962 tmp=./conf$$-$RANDOM 9792 15963 (umask 077 && mkdir "$tmp") 9793 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 9794 9795 # Set up the scripts for CONFIG_FILES section. 9796 # No need to generate them if there are no CONFIG_FILES. 9797 # This happens for instance with `./config.status config.h'. 15964 } || 15965 { 15966 echo "$me: cannot create a temporary directory in ." >&2 15967 { (exit 1); exit 1; } 15968 } 15969 15970 # 15971 # Set up the sed scripts for CONFIG_FILES section. 15972 # 15973 15974 # No need to generate the scripts if there are no CONFIG_FILES. 15975 # This happens for instance when ./config.status config.h 9798 15976 if test -n "$CONFIG_FILES"; then 9799 15977 9800 9801 ac_cr=`echo X | tr X '\015'` 9802 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9803 # But we know of no other shell where ac_cr would be empty at this 9804 # point, so we can use a bashism as a fallback. 9805 if test "x$ac_cr" = x; then 9806 eval ac_cr=\$\'\\r\' 9807 fi 9808 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9809 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9810 ac_cs_awk_cr='\r' 9811 else 9812 ac_cs_awk_cr=$ac_cr 9813 fi 9814 9815 echo 'BEGIN {' >"$tmp/subs1.awk" && 9816 _ACEOF 9817 9818 9819 { 9820 echo "cat >conf$$subs.awk <<_ACEOF" && 9821 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9822 echo "_ACEOF" 9823 } >conf$$subs.sh || 9824 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9825 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15978 _ACEOF 15979 15980 15981 9826 15982 ac_delim='%!_!# ' 9827 15983 for ac_last_try in false false false false false :; do 9828 . ./conf$$subs.sh || 9829 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9830 9831 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9832 if test $ac_delim_n = $ac_delim_num; then 15984 cat >conf$$subs.sed <<_ACEOF 15985 SHELL!$SHELL$ac_delim 15986 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 15987 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 15988 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 15989 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 15990 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 15991 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 15992 exec_prefix!$exec_prefix$ac_delim 15993 prefix!$prefix$ac_delim 15994 program_transform_name!$program_transform_name$ac_delim 15995 bindir!$bindir$ac_delim 15996 sbindir!$sbindir$ac_delim 15997 libexecdir!$libexecdir$ac_delim 15998 datarootdir!$datarootdir$ac_delim 15999 datadir!$datadir$ac_delim 16000 sysconfdir!$sysconfdir$ac_delim 16001 sharedstatedir!$sharedstatedir$ac_delim 16002 localstatedir!$localstatedir$ac_delim 16003 includedir!$includedir$ac_delim 16004 oldincludedir!$oldincludedir$ac_delim 16005 docdir!$docdir$ac_delim 16006 infodir!$infodir$ac_delim 16007 htmldir!$htmldir$ac_delim 16008 dvidir!$dvidir$ac_delim 16009 pdfdir!$pdfdir$ac_delim 16010 psdir!$psdir$ac_delim 16011 libdir!$libdir$ac_delim 16012 localedir!$localedir$ac_delim 16013 mandir!$mandir$ac_delim 16014 DEFS!$DEFS$ac_delim 16015 ECHO_C!$ECHO_C$ac_delim 16016 ECHO_N!$ECHO_N$ac_delim 16017 ECHO_T!$ECHO_T$ac_delim 16018 LIBS!$LIBS$ac_delim 16019 build_alias!$build_alias$ac_delim 16020 host_alias!$host_alias$ac_delim 16021 target_alias!$target_alias$ac_delim 16022 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 16023 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 16024 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 16025 INSTALL_DATA!$INSTALL_DATA$ac_delim 16026 SET_MAKE!$SET_MAKE$ac_delim 16027 CC!$CC$ac_delim 16028 CFLAGS!$CFLAGS$ac_delim 16029 LDFLAGS!$LDFLAGS$ac_delim 16030 CPPFLAGS!$CPPFLAGS$ac_delim 16031 ac_ct_CC!$ac_ct_CC$ac_delim 16032 EXEEXT!$EXEEXT$ac_delim 16033 OBJEXT!$OBJEXT$ac_delim 16034 CXX!$CXX$ac_delim 16035 CXXFLAGS!$CXXFLAGS$ac_delim 16036 ac_ct_CXX!$ac_ct_CXX$ac_delim 16037 RANLIB!$RANLIB$ac_delim 16038 LN_S!$LN_S$ac_delim 16039 F77!$F77$ac_delim 16040 FFLAGS!$FFLAGS$ac_delim 16041 ac_ct_F77!$ac_ct_F77$ac_delim 16042 CPP!$CPP$ac_delim 16043 GREP!$GREP$ac_delim 16044 EGREP!$EGREP$ac_delim 16045 CXXCPP!$CXXCPP$ac_delim 16046 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 16047 AR!$AR$ac_delim 16048 DL_LIBS!$DL_LIBS$ac_delim 16049 DL_OBJS!$DL_OBJS$ac_delim 16050 PLAT_OBJS!$PLAT_OBJS$ac_delim 16051 PLAT_SRCS!$PLAT_SRCS$ac_delim 16052 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 16053 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 16054 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 16055 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 16056 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 16057 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 16058 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 16059 STLIB_LD!$STLIB_LD$ac_delim 16060 SHLIB_LD!$SHLIB_LD$ac_delim 16061 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 16062 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 16063 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 16064 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 16065 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 16066 MAKE_LIB!$MAKE_LIB$ac_delim 16067 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 16068 INSTALL_LIB!$INSTALL_LIB$ac_delim 16069 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 16070 MAKE!$MAKE$ac_delim 16071 ENABLE_GUI!$ENABLE_GUI$ac_delim 16072 TCLSH!$TCLSH$ac_delim 16073 VTKDIR!$VTKDIR$ac_delim 16074 MATLAB!$MATLAB$ac_delim 16075 MEX!$MEX$ac_delim 16076 MEXEXT!$MEXEXT$ac_delim 16077 MCC!$MCC$ac_delim 16078 MEX_ARCH!$MEX_ARCH$ac_delim 16079 OCTAVE!$OCTAVE$ac_delim 16080 MKOCTFILE!$MKOCTFILE$ac_delim 16081 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 16082 _ACEOF 16083 16084 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 9833 16085 break 9834 16086 elif $ac_last_try; then 9835 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16087 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16088 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16089 { (exit 1); exit 1; }; } 9836 16090 else 9837 16091 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9838 16092 fi 9839 16093 done 9840 rm -f conf$$subs.sh 9841 9842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9843 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9844 _ACEOF 9845 sed -n ' 9846 h 9847 s/^/S["/; s/!.*/"]=/ 9848 p 9849 g 9850 s/^[^!]*!// 9851 :repl 9852 t repl 9853 s/'"$ac_delim"'$// 9854 t delim 9855 :nl 9856 h 9857 s/\(.\{148\}\)..*/\1/ 9858 t more1 9859 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9860 p 9861 n 9862 b repl 9863 :more1 9864 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9865 p 9866 g 9867 s/.\{148\}// 9868 t nl 9869 :delim 9870 h 9871 s/\(.\{148\}\)..*/\1/ 9872 t more2 9873 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9874 p 9875 b 9876 :more2 9877 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9878 p 9879 g 9880 s/.\{148\}// 9881 t delim 9882 ' <conf$$subs.awk | sed ' 9883 /^[^""]/{ 9884 N 9885 s/\n// 9886 } 9887 ' >>$CONFIG_STATUS || ac_write_fail=1 9888 rm -f conf$$subs.awk 9889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9890 _ACAWK 9891 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9892 for (key in S) S_is_set[key] = 1 9893 FS = "" 9894 9895 } 9896 { 9897 line = $ 0 9898 nfields = split(line, field, "@") 9899 substed = 0 9900 len = length(field[1]) 9901 for (i = 2; i < nfields; i++) { 9902 key = field[i] 9903 keylen = length(key) 9904 if (S_is_set[key]) { 9905 value = S[key] 9906 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9907 len += length(value) + length(field[++i]) 9908 substed = 1 9909 } else 9910 len += 1 + keylen 9911 } 9912 9913 print line 9914 } 9915 9916 _ACAWK 9917 _ACEOF 9918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9919 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9920 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9921 else 9922 cat 9923 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9924 || as_fn_error "could not setup config files machinery" "$LINENO" 5 9925 _ACEOF 16094 16095 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 16096 if test -n "$ac_eof"; then 16097 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 16098 ac_eof=`expr $ac_eof + 1` 16099 fi 16100 16101 cat >>$CONFIG_STATUS <<_ACEOF 16102 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 16103 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16104 _ACEOF 16105 sed ' 16106 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 16107 s/^/s,@/; s/!/@,|#_!!_#|/ 16108 :n 16109 t n 16110 s/'"$ac_delim"'$/,g/; t 16111 s/$/\\/; p 16112 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 16113 ' >>$CONFIG_STATUS <conf$$subs.sed 16114 rm -f conf$$subs.sed 16115 cat >>$CONFIG_STATUS <<_ACEOF 16116 CEOF$ac_eof 16117 _ACEOF 16118 16119 16120 ac_delim='%!_!# ' 16121 for ac_last_try in false false false false false :; do 16122 cat >conf$$subs.sed <<_ACEOF 16123 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 16124 PERL!$PERL$ac_delim 16125 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 16126 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 16127 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 16128 PERL_VERSION!$PERL_VERSION$ac_delim 16129 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 16130 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 16131 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 16132 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 16133 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 16134 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 16135 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 16136 PYTHON!$PYTHON$ac_delim 16137 PYTHON_CPPFLAGS!$PYTHON_CPPFLAGS$ac_delim 16138 pythondir!$pythondir$ac_delim 16139 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 16140 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 16141 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 16142 HAVE_PYTHON_DISTUTILS!$HAVE_PYTHON_DISTUTILS$ac_delim 16143 RUBY!$RUBY$ac_delim 16144 SED!$SED$ac_delim 16145 RUBY_VERSION!$RUBY_VERSION$ac_delim 16146 AWK!$AWK$ac_delim 16147 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 16148 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 16149 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 16150 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 16151 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 16152 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 16153 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 16154 JAVA!$JAVA$ac_delim 16155 JAVAC!$JAVAC$ac_delim 16156 JAVAH!$JAVAH$ac_delim 16157 JAVA_HOME!$JAVA_HOME$ac_delim 16158 JAVA_INCLUDES!$JAVA_INCLUDES$ac_delim 16159 RP_BASE!$RP_BASE$ac_delim 16160 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 16161 TCL_VERSION!$TCL_VERSION$ac_delim 16162 TK_VERSION!$TK_VERSION$ac_delim 16163 SIZEOF_INT!$SIZEOF_INT$ac_delim 16164 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 16165 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 16166 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 16167 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 16168 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 16169 subdirs!$subdirs$ac_delim 16170 LIBOBJS!$LIBOBJS$ac_delim 16171 LTLIBOBJS!$LTLIBOBJS$ac_delim 16172 _ACEOF 16173 16174 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then 16175 break 16176 elif $ac_last_try; then 16177 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16178 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16179 { (exit 1); exit 1; }; } 16180 else 16181 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16182 fi 16183 done 16184 16185 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 16186 if test -n "$ac_eof"; then 16187 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 16188 ac_eof=`expr $ac_eof + 1` 16189 fi 16190 16191 cat >>$CONFIG_STATUS <<_ACEOF 16192 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 16193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 16194 _ACEOF 16195 sed ' 16196 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 16197 s/^/s,@/; s/!/@,|#_!!_#|/ 16198 :n 16199 t n 16200 s/'"$ac_delim"'$/,g/; t 16201 s/$/\\/; p 16202 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 16203 ' >>$CONFIG_STATUS <conf$$subs.sed 16204 rm -f conf$$subs.sed 16205 cat >>$CONFIG_STATUS <<_ACEOF 16206 :end 16207 s/|#_!!_#|//g 16208 CEOF$ac_eof 16209 _ACEOF 16210 9926 16211 9927 16212 # VPATH may cause trouble with some makes, so we remove $(srcdir), … … 9940 16225 fi 9941 16226 9942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=116227 cat >>$CONFIG_STATUS <<\_ACEOF 9943 16228 fi # test -n "$CONFIG_FILES" 9944 16229 9945 # Set up the scripts for CONFIG_HEADERS section. 9946 # No need to generate them if there are no CONFIG_HEADERS. 9947 # This happens for instance with `./config.status Makefile'. 9948 if test -n "$CONFIG_HEADERS"; then 9949 cat >"$tmp/defines.awk" <<\_ACAWK || 9950 BEGIN { 9951 _ACEOF 9952 9953 # Transform confdefs.h into an awk script `defines.awk', embedded as 9954 # here-document in config.status, that substitutes the proper values into 9955 # config.h.in to produce config.h. 9956 9957 # Create a delimiter string that does not exist in confdefs.h, to ease 9958 # handling of long lines. 9959 ac_delim='%!_!# ' 9960 for ac_last_try in false false :; do 9961 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9962 if test -z "$ac_t"; then 9963 break 9964 elif $ac_last_try; then 9965 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 9966 else 9967 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9968 fi 9969 done 9970 9971 # For the awk script, D is an array of macro values keyed by name, 9972 # likewise P contains macro parameters if any. Preserve backslash 9973 # newline sequences. 9974 9975 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9976 sed -n ' 9977 s/.\{148\}/&'"$ac_delim"'/g 9978 t rset 9979 :rset 9980 s/^[ ]*#[ ]*define[ ][ ]*/ / 9981 t def 9982 d 9983 :def 9984 s/\\$// 9985 t bsnl 9986 s/["\\]/\\&/g 9987 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9988 D["\1"]=" \3"/p 9989 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9990 d 9991 :bsnl 9992 s/["\\]/\\&/g 9993 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9994 D["\1"]=" \3\\\\\\n"\\/p 9995 t cont 9996 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9997 t cont 9998 d 9999 :cont 10000 n 10001 s/.\{148\}/&'"$ac_delim"'/g 10002 t clear 10003 :clear 10004 s/\\$// 10005 t bsnlc 10006 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10007 d 10008 :bsnlc 10009 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10010 b cont 10011 ' <confdefs.h | sed ' 10012 s/'"$ac_delim"'/"\\\ 10013 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10014 10015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10016 for (key in D) D_is_set[key] = 1 10017 FS = "" 10018 } 10019 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10020 line = \$ 0 10021 split(line, arg, " ") 10022 if (arg[1] == "#") { 10023 defundef = arg[2] 10024 mac1 = arg[3] 10025 } else { 10026 defundef = substr(arg[1], 2) 10027 mac1 = arg[2] 10028 } 10029 split(mac1, mac2, "(") #) 10030 macro = mac2[1] 10031 prefix = substr(line, 1, index(line, defundef) - 1) 10032 if (D_is_set[macro]) { 10033 # Preserve the white space surrounding the "#". 10034 print prefix "define", macro P[macro] D[macro] 10035 next 10036 } else { 10037 # Replace #undef with comments. This is necessary, for example, 10038 # in the case of _POSIX_SOURCE, which is predefined and required 10039 # on some systems where configure will not decide to define it. 10040 if (defundef == "undef") { 10041 print "/*", prefix defundef, macro, "*/" 10042 next 10043 } 10044 } 10045 } 10046 { print } 10047 _ACAWK 10048 _ACEOF 10049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10050 as_fn_error "could not setup config headers machinery" "$LINENO" 5 10051 fi # test -n "$CONFIG_HEADERS" 10052 10053 10054 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10055 shift 10056 for ac_tag 16230 16231 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 10057 16232 do 10058 16233 case $ac_tag in … … 10061 16236 case $ac_mode$ac_tag in 10062 16237 :[FHL]*:*);; 10063 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16238 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 16239 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 16240 { (exit 1); exit 1; }; };; 10064 16241 :[FH]-) ac_tag=-:-;; 10065 16242 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 10089 16266 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10090 16267 esac || 10091 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16268 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 16269 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 16270 { (exit 1); exit 1; }; };; 10092 16271 esac 10093 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10094 as_fn_append ac_file_inputs " '$ac_f'" 16272 ac_file_inputs="$ac_file_inputs $ac_f" 10095 16273 done 10096 16274 … … 10098 16276 # use $as_me), people would be surprised to read: 10099 16277 # /* config.h. Generated by config.status. */ 10100 configure_input='Generated from '` 10101 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10102 `' by configure.' 16278 configure_input="Generated from "`IFS=: 16279 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10103 16280 if test x"$ac_file" != x-; then 10104 16281 configure_input="$ac_file. $configure_input" 10105 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&510106 $as_echo "$as_me: creating $ac_file" >&6;}16282 { echo "$as_me:$LINENO: creating $ac_file" >&5 16283 echo "$as_me: creating $ac_file" >&6;} 10107 16284 fi 10108 # Neutralize special characters interpreted by sed in replacement strings.10109 case $configure_input in #(10110 *\&* | *\|* | *\\* )10111 ac_sed_conf_input=`$as_echo "$configure_input" |10112 sed 's/[\\\\&|]/\\\\&/g'`;; #(10113 *) ac_sed_conf_input=$configure_input;;10114 esac10115 16285 10116 16286 case $ac_tag in 10117 *:-:* | *:-) cat >"$tmp/stdin" \ 10118 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 16287 *:-:* | *:-) cat >"$tmp/stdin";; 10119 16288 esac 10120 16289 ;; … … 10126 16295 X"$ac_file" : 'X\(//\)$' \| \ 10127 16296 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10128 $as_echo X"$ac_file" |16297 echo X"$ac_file" | 10129 16298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10130 16299 s//\1/ … … 10144 16313 } 10145 16314 s/.*/./; q'` 10146 as_dir="$ac_dir"; as_fn_mkdir_p 16315 { as_dir="$ac_dir" 16316 case $as_dir in #( 16317 -*) as_dir=./$as_dir;; 16318 esac 16319 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16320 as_dirs= 16321 while :; do 16322 case $as_dir in #( 16323 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 16324 *) as_qdir=$as_dir;; 16325 esac 16326 as_dirs="'$as_qdir' $as_dirs" 16327 as_dir=`$as_dirname -- "$as_dir" || 16328 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16329 X"$as_dir" : 'X\(//\)[^/]' \| \ 16330 X"$as_dir" : 'X\(//\)$' \| \ 16331 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16332 echo X"$as_dir" | 16333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16334 s//\1/ 16335 q 16336 } 16337 /^X\(\/\/\)[^/].*/{ 16338 s//\1/ 16339 q 16340 } 16341 /^X\(\/\/\)$/{ 16342 s//\1/ 16343 q 16344 } 16345 /^X\(\/\).*/{ 16346 s//\1/ 16347 q 16348 } 16349 s/.*/./; q'` 16350 test -d "$as_dir" && break 16351 done 16352 test -z "$as_dirs" || eval "mkdir $as_dirs" 16353 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16354 echo "$as_me: error: cannot create directory $as_dir" >&2;} 16355 { (exit 1); exit 1; }; }; } 10147 16356 ac_builddir=. 10148 16357 … … 10150 16359 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10151 16360 *) 10152 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`16361 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 10153 16362 # A ".." for each directory in $ac_dir_suffix. 10154 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`16363 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 10155 16364 case $ac_top_builddir_sub in 10156 16365 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 10197 16406 _ACEOF 10198 16407 10199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=116408 cat >>$CONFIG_STATUS <<\_ACEOF 10200 16409 # If the template does not know about datarootdir, expand it. 10201 16410 # FIXME: This hack should be removed a few years after 2.60. 10202 16411 ac_datarootdir_hack=; ac_datarootdir_seen= 10203 ac_sed_dataroot=' 10204 /datarootdir/ {16412 16413 case `sed -n '/datarootdir/ { 10205 16414 p 10206 16415 q … … 10210 16419 /@infodir@/p 10211 16420 /@localedir@/p 10212 /@mandir@/p '10213 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in16421 /@mandir@/p 16422 ' $ac_file_inputs` in 10214 16423 *datarootdir*) ac_datarootdir_seen=yes;; 10215 16424 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&510217 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}10218 _ACEOF 10219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=116425 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16426 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16427 _ACEOF 16428 cat >>$CONFIG_STATUS <<_ACEOF 10220 16429 ac_datarootdir_hack=' 10221 16430 s&@datadir@&$datadir&g … … 10224 16433 s&@localedir@&$localedir&g 10225 16434 s&@mandir@&$mandir&g 10226 s&\\\${datarootdir}&$datarootdir&g' ;;16435 s&\\\${datarootdir}&$datarootdir&g' ;; 10227 16436 esac 10228 16437 _ACEOF … … 10231 16440 # Shell code in configure.ac might set extrasub. 10232 16441 # FIXME: do we really want to maintain this feature? 10233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=110234 ac_sed_extra="$ac_vpsub16442 cat >>$CONFIG_STATUS <<_ACEOF 16443 sed "$ac_vpsub 10235 16444 $extrasub 10236 16445 _ACEOF 10237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=116446 cat >>$CONFIG_STATUS <<\_ACEOF 10238 16447 :t 10239 16448 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 10240 s |@configure_input@|$ac_sed_conf_input|;t t16449 s&@configure_input@&$configure_input&;t t 10241 16450 s&@top_builddir@&$ac_top_builddir_sub&;t t 10242 s&@top_build_prefix@&$ac_top_build_prefix&;t t10243 16451 s&@srcdir@&$ac_srcdir&;t t 10244 16452 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 10251 16459 s&@MKDIR_P@&$ac_MKDIR_P&;t t 10252 16460 $ac_datarootdir_hack 10253 " 10254 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10255 || as_fn_error "could not create $ac_file" "$LINENO" 5 16461 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 10256 16462 10257 16463 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10258 16464 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10259 16465 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'16466 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10261 16467 which seems to be undefined. Please make sure it is defined." >&5 10262 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'16468 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10263 16469 which seems to be undefined. Please make sure it is defined." >&2;} 10264 16470 10265 16471 rm -f "$tmp/stdin" 10266 16472 case $ac_file in 10267 -) cat "$tmp/out" && rm -f "$tmp/out";; 10268 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10269 esac \ 10270 || as_fn_error "could not create $ac_file" "$LINENO" 5 16473 -) cat "$tmp/out"; rm -f "$tmp/out";; 16474 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 16475 esac 10271 16476 ;; 10272 16477 :H) … … 10274 16479 # CONFIG_HEADER 10275 16480 # 16481 _ACEOF 16482 16483 # Transform confdefs.h into a sed script `conftest.defines', that 16484 # substitutes the proper values into config.h.in to produce config.h. 16485 rm -f conftest.defines conftest.tail 16486 # First, append a space to every undef/define line, to ease matching. 16487 echo 's/$/ /' >conftest.defines 16488 # Then, protect against being on the right side of a sed subst, or in 16489 # an unquoted here document, in config.status. If some macros were 16490 # called several times there might be several #defines for the same 16491 # symbol, which is useless. But do not sort them, since the last 16492 # AC_DEFINE must be honored. 16493 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16494 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 16495 # NAME is the cpp macro being defined, VALUE is the value it is being given. 16496 # PARAMS is the parameter list in the macro definition--in most cases, it's 16497 # just an empty string. 16498 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 16499 ac_dB='\\)[ (].*,\\1define\\2' 16500 ac_dC=' ' 16501 ac_dD=' ,' 16502 16503 uniq confdefs.h | 16504 sed -n ' 16505 t rset 16506 :rset 16507 s/^[ ]*#[ ]*define[ ][ ]*// 16508 t ok 16509 d 16510 :ok 16511 s/[\\&,]/\\&/g 16512 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 16513 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 16514 ' >>conftest.defines 16515 16516 # Remove the space that was appended to ease matching. 16517 # Then replace #undef with comments. This is necessary, for 16518 # example, in the case of _POSIX_SOURCE, which is predefined and required 16519 # on some systems where configure will not decide to define it. 16520 # (The regexp can be short, since the line contains either #define or #undef.) 16521 echo 's/ $// 16522 s,^[ #]*u.*,/* & */,' >>conftest.defines 16523 16524 # Break up conftest.defines: 16525 ac_max_sed_lines=50 16526 16527 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 16528 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 16529 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 16530 # et cetera. 16531 ac_in='$ac_file_inputs' 16532 ac_out='"$tmp/out1"' 16533 ac_nxt='"$tmp/out2"' 16534 16535 while : 16536 do 16537 # Write a here document: 16538 cat >>$CONFIG_STATUS <<_ACEOF 16539 # First, check the format of the line: 16540 cat >"\$tmp/defines.sed" <<\\CEOF 16541 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 16542 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 16543 b 16544 :def 16545 _ACEOF 16546 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 16547 echo 'CEOF 16548 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 16549 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 16550 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 16551 grep . conftest.tail >/dev/null || break 16552 rm -f conftest.defines 16553 mv conftest.tail conftest.defines 16554 done 16555 rm -f conftest.defines conftest.tail 16556 16557 echo "ac_result=$ac_in" >>$CONFIG_STATUS 16558 cat >>$CONFIG_STATUS <<\_ACEOF 10276 16559 if test x"$ac_file" != x-; then 10277 { 10278 $as_echo "/* $configure_input */" \ 10279 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10280 } >"$tmp/config.h" \ 10281 || as_fn_error "could not create $ac_file" "$LINENO" 5 10282 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10283 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10284 $as_echo "$as_me: $ac_file is unchanged" >&6;} 16560 echo "/* $configure_input */" >"$tmp/config.h" 16561 cat "$ac_result" >>"$tmp/config.h" 16562 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 16563 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 16564 echo "$as_me: $ac_file is unchanged" >&6;} 10285 16565 else 10286 rm -f "$ac_file" 10287 mv "$tmp/config.h" "$ac_file" \ 10288 || as_fn_error "could not create $ac_file" "$LINENO" 5 16566 rm -f $ac_file 16567 mv "$tmp/config.h" $ac_file 10289 16568 fi 10290 16569 else 10291 $as_echo "/* $configure_input */" \ 10292 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10293 || as_fn_error "could not create -" "$LINENO" 5 16570 echo "/* $configure_input */" 16571 cat "$ac_result" 10294 16572 fi 16573 rm -f "$tmp/out12" 10295 16574 ;; 10296 16575 … … 10301 16580 10302 16581 10303 as_fn_exit 0 10304 _ACEOF 16582 { (exit 0); exit 0; } 16583 _ACEOF 16584 chmod +x $CONFIG_STATUS 10305 16585 ac_clean_files=$ac_clean_files_save 10306 10307 test $ac_write_fail = 0 ||10308 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 510309 16586 10310 16587 … … 10327 16604 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10328 16605 # would make configure fail if this is the last instruction. 10329 $ac_cs_success || as_fn_exit $?16606 $ac_cs_success || { (exit 1); exit 1; } 10330 16607 fi 10331 16608 … … 10335 16612 if test "$no_recursion" != yes; then 10336 16613 10337 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10338 # so they do not pile up. 16614 # Remove --cache-file and --srcdir arguments so they do not pile up. 10339 16615 ac_sub_configure_args= 10340 16616 ac_prev= … … 10365 16641 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 10366 16642 ;; 10367 --disable-option-checking)10368 ;;10369 16643 *) 10370 16644 case $ac_arg in 10371 *\'*) ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;16645 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10372 16646 esac 10373 a s_fn_append ac_sub_configure_args "'$ac_arg'" ;;16647 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 10374 16648 esac 10375 16649 done … … 10379 16653 ac_arg="--prefix=$prefix" 10380 16654 case $ac_arg in 10381 *\'*) ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;16655 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10382 16656 esac 10383 16657 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 10388 16662 fi 10389 16663 10390 # Always prepend --disable-option-checking to silence warnings, since10391 # different subdirs can have different --enable and --with options.10392 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"10393 10394 16664 ac_popdir=`pwd` 10395 16665 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 10400 16670 10401 16671 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10402 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 10403 $as_echo "$ac_msg" >&6 10404 as_dir="$ac_dir"; as_fn_mkdir_p 16672 echo "$as_me:$LINENO: $ac_msg" >&5 16673 echo "$ac_msg" >&6 16674 { as_dir="$ac_dir" 16675 case $as_dir in #( 16676 -*) as_dir=./$as_dir;; 16677 esac 16678 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16679 as_dirs= 16680 while :; do 16681 case $as_dir in #( 16682 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 16683 *) as_qdir=$as_dir;; 16684 esac 16685 as_dirs="'$as_qdir' $as_dirs" 16686 as_dir=`$as_dirname -- "$as_dir" || 16687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16688 X"$as_dir" : 'X\(//\)[^/]' \| \ 16689 X"$as_dir" : 'X\(//\)$' \| \ 16690 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16691 echo X"$as_dir" | 16692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16693 s//\1/ 16694 q 16695 } 16696 /^X\(\/\/\)[^/].*/{ 16697 s//\1/ 16698 q 16699 } 16700 /^X\(\/\/\)$/{ 16701 s//\1/ 16702 q 16703 } 16704 /^X\(\/\).*/{ 16705 s//\1/ 16706 q 16707 } 16708 s/.*/./; q'` 16709 test -d "$as_dir" && break 16710 done 16711 test -z "$as_dirs" || eval "mkdir $as_dirs" 16712 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16713 echo "$as_me: error: cannot create directory $as_dir" >&2;} 16714 { (exit 1); exit 1; }; }; } 10405 16715 ac_builddir=. 10406 16716 … … 10408 16718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10409 16719 *) 10410 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`16720 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 10411 16721 # A ".." for each directory in $ac_dir_suffix. 10412 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`16722 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 10413 16723 case $ac_top_builddir_sub in 10414 16724 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 10449 16759 ac_sub_configure=$ac_aux_dir/configure 10450 16760 else 10451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&510452 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}16761 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 16762 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10453 16763 ac_sub_configure= 10454 16764 fi … … 10463 16773 esac 10464 16774 10465 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&510466 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}16775 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 16776 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 10467 16777 # The eval makes quoting arguments work. 10468 16778 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10469 16779 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10470 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 16780 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 16781 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 16782 { (exit 1); exit 1; }; } 10471 16783 fi 10472 16784 … … 10474 16786 done 10475 16787 fi 10476 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10478 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10479 fi 10480 16788 -
trunk/configure.in
r1722 r1723 453 453 454 454 # TODO: Check that these actually exist. 455 JAVA= java456 JAVAC= javac457 JAVAH= javah455 JAVA=/apps/java/bin/java 456 JAVAC=/apps/java/bin/javac 457 JAVAH=/apps/java/bin/javah 458 458 459 459 # TODO: Find the java install from path to java exectuable. 460 JAVA_HOME=/ usr/lib/jvm/java-6-sun460 JAVA_HOME=/apps/java/jdk1.6.0_01 461 461 462 462 # TODO: find the location of jni.h and jni_md.h. -
trunk/lang/java/Makefile.in
r1722 r1723 39 39 RM = rm -f 40 40 41 INCLUDES = $(JAVA_INCLUDES) -I .41 INCLUDES = $(JAVA_INCLUDES) $(includedir) -I . 42 42 LIBS = -L $(LIB_SEARCH_DIRS) -lrappture 43 43
Note: See TracChangeset
for help on using the changeset viewer.