Changeset 1566
- Timestamp:
- Sep 14, 2009 3:18:36 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r1548 r1566 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for Rappture 1.1.3 # Generated by GNU Autoconf 2.64 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 9 # Foundation, Inc. 10 # 9 11 # This configure script is free software; the Free Software Foundation 10 12 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 14 16 15 17 # Be more Bourne compatible 16 18 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 20 emulate sh 19 21 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 23 # is contrary to our usage. Disable this feature. 22 24 alias -g '${1+"$@"}'='"$@"' 23 25 setopt NO_GLOB_SUBST 24 26 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 27 32 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 41 73 42 74 # The user is always right. 43 75 if test "${PATH_SEPARATOR+set}" != set; then 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 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 60 81 fi 61 82 … … 66 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 88 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 89 IFS=" "" $as_nl" 71 90 72 91 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 92 case $0 in #(( 74 93 *[\\/]* ) as_myself=$0 ;; 75 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 97 IFS=$as_save_IFS 79 98 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 82 101 IFS=$as_save_IFS 83 102 … … 90 109 fi 91 110 if test ! -f "$as_myself"; then 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 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 122 done 100 123 PS1='$ ' … … 103 126 104 127 # NLS nuisances. 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 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 186 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 230 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 231 $as_echo "$0: Please tell bug-autoconf@gnu.org and 232 $0: rappture@nanohub.org about your system, including any 233 $0: error possibly output before this message. Then install 234 $0: a modern shell, or manually run the script under such a 235 $0: shell if you do have one." 114 236 fi 115 done 116 117 # Required to use basename. 237 exit 1 238 fi 239 fi 240 fi 241 SHELL=${CONFIG_SHELL-/bin/sh} 242 export SHELL 243 # Unset more variables known to interfere with behavior of common tools. 244 CLICOLOR_FORCE= GREP_OPTIONS= 245 unset CLICOLOR_FORCE GREP_OPTIONS 246 247 ## --------------------- ## 248 ## M4sh Shell Functions. ## 249 ## --------------------- ## 250 # as_fn_unset VAR 251 # --------------- 252 # Portably unset VAR. 253 as_fn_unset () 254 { 255 { eval $1=; unset $1;} 256 } 257 as_unset=as_fn_unset 258 259 # as_fn_set_status STATUS 260 # ----------------------- 261 # Set $? to STATUS, without forking. 262 as_fn_set_status () 263 { 264 return $1 265 } # as_fn_set_status 266 267 # as_fn_exit STATUS 268 # ----------------- 269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 270 as_fn_exit () 271 { 272 set +e 273 as_fn_set_status $1 274 exit $1 275 } # as_fn_exit 276 277 # as_fn_mkdir_p 278 # ------------- 279 # Create "$as_dir" as a directory, including parents if necessary. 280 as_fn_mkdir_p () 281 { 282 283 case $as_dir in #( 284 -*) as_dir=./$as_dir;; 285 esac 286 test -d "$as_dir" || eval $as_mkdir_p || { 287 as_dirs= 288 while :; do 289 case $as_dir in #( 290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 291 *) as_qdir=$as_dir;; 292 esac 293 as_dirs="'$as_qdir' $as_dirs" 294 as_dir=`$as_dirname -- "$as_dir" || 295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 296 X"$as_dir" : 'X\(//\)[^/]' \| \ 297 X"$as_dir" : 'X\(//\)$' \| \ 298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 299 $as_echo X"$as_dir" | 300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 301 s//\1/ 302 q 303 } 304 /^X\(\/\/\)[^/].*/{ 305 s//\1/ 306 q 307 } 308 /^X\(\/\/\)$/{ 309 s//\1/ 310 q 311 } 312 /^X\(\/\).*/{ 313 s//\1/ 314 q 315 } 316 s/.*/./; q'` 317 test -d "$as_dir" && break 318 done 319 test -z "$as_dirs" || eval "mkdir $as_dirs" 320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 321 322 323 } # as_fn_mkdir_p 324 # as_fn_append VAR VALUE 325 # ---------------------- 326 # Append the text in VALUE to the end of the definition contained in VAR. Take 327 # advantage of any shell optimizations that allow amortized linear growth over 328 # repeated appends, instead of the typical quadratic growth present in naive 329 # implementations. 330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 331 eval 'as_fn_append () 332 { 333 eval $1+=\$2 334 }' 335 else 336 as_fn_append () 337 { 338 eval $1=\$$1\$2 339 } 340 fi # as_fn_append 341 342 # as_fn_arith ARG... 343 # ------------------ 344 # Perform arithmetic evaluation on the ARGs, and store the result in the 345 # global $as_val. Take advantage of shells that can avoid forks. The arguments 346 # must be portable across $(()) and expr. 347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 348 eval 'as_fn_arith () 349 { 350 as_val=$(( $* )) 351 }' 352 else 353 as_fn_arith () 354 { 355 as_val=`expr "$@" || test $? -eq 1` 356 } 357 fi # as_fn_arith 358 359 360 # as_fn_error ERROR [LINENO LOG_FD] 361 # --------------------------------- 362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 364 # script with status $?, using 1 if that was 0. 365 as_fn_error () 366 { 367 as_status=$?; test $as_status -eq 0 && as_status=1 368 if test "$3"; then 369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 371 fi 372 $as_echo "$as_me: error: $1" >&2 373 as_fn_exit $as_status 374 } # as_fn_error 375 118 376 if expr a : '\(a\)' >/dev/null 2>&1 && 119 377 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 387 fi 130 388 131 132 # Name of the executable. 389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 390 as_dirname=dirname 391 else 392 as_dirname=false 393 fi 394 133 395 as_me=`$as_basename -- "$0" || 134 396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 397 X"$0" : 'X\(//\)$' \| \ 136 398 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |399 $as_echo X/"$0" | 138 400 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 401 s//\1/ … … 150 412 s/.*/./; q'` 151 413 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. :-) 414 # Avoid depending upon Character Ranges. 415 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 418 as_cr_digits='0123456789' 419 as_cr_alnum=$as_cr_Letters$as_cr_digits 420 421 422 as_lineno_1=$LINENO as_lineno_1a=$LINENO 423 as_lineno_2=$LINENO as_lineno_2a=$LINENO 424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 427 sed -n ' 441 428 p … … 454 441 ' >$as_me.lineno && 455 442 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 444 459 445 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 451 } 466 452 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then469 as_dirname=dirname470 else471 as_dirname=false472 fi473 474 453 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 454 case `echo -n x` in #((((( 476 455 -n*) 477 case `echo 'x \c'` in456 case `echo 'xy\c'` in 478 457 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 458 xy) ECHO_C='\c';; 459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 460 ECHO_T=' ';; 480 461 esac;; 481 462 *) … … 483 464 esac 484 465 485 if expr a : '\(a\)' >/dev/null 2>&1 &&486 test "X`expr 00001 : '.*\(...\)'`" = X001; then487 as_expr=expr488 else489 as_expr=false490 fi491 492 466 rm -f conf$$ conf$$.exe conf$$.file 493 467 if test -d conf$$.dir; then … … 495 469 else 496 470 rm -f conf$$.dir 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 || 471 mkdir conf$$.dir 2>/dev/null 472 fi 473 if (echo >conf$$.file) 2>/dev/null; then 474 if ln -s conf$$.file conf$$ 2>/dev/null; then 475 as_ln_s='ln -s' 476 # ... but there are two gotchas: 477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 479 # In both cases, we have to default to `cp -p'. 480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 481 as_ln_s='cp -p' 482 elif ln conf$$.file conf$$ 2>/dev/null; then 483 as_ln_s=ln 484 else 507 485 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 486 fi 510 487 else 511 488 as_ln_s='cp -p' … … 515 492 516 493 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :494 as_mkdir_p='mkdir -p "$as_dir"' 518 495 else 519 496 test -d ./-p && rmdir ./-p … … 532 509 eval sh -c '\'' 533 510 if test -d "$1"; then 534 511 test -d "$1/."; 535 512 else 536 case $1 in 537 513 case $1 in #( 514 -*)set "./$1";; 538 515 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 517 ???[sx]*):;;*)false;;esac;fi 541 518 '\'' sh … … 549 526 # Sed expression to map a string onto a valid variable name. 550 527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 551 552 528 553 529 … … 570 546 MFLAGS= 571 547 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 548 574 549 # Identity of this package. … … 578 553 PACKAGE_STRING='Rappture 1.1' 579 554 PACKAGE_BUGREPORT='rappture@nanohub.org' 555 PACKAGE_URL='' 580 556 581 557 # Factoring default headers for most tests. … … 615 591 #endif" 616 592 617 ac_subst_vars='SHELL 593 enable_option_checking=no 594 ac_subst_vars='LTLIBOBJS 595 LIBOBJS 596 subdirs 597 LDFLAGS_DEFAULT 598 CFLAGS_DEFAULT 599 SIZEOF_VOID_P 600 SIZEOF_LONG_LONG 601 SIZEOF_LONG 602 SIZEOF_INT 603 TK_VERSION 604 TCL_VERSION 605 SHLIB_LDFLAGS 606 RP_BASE 607 RUBY_PLATFORM 608 RUBY_VERSION_RV 609 HAVE_RUBY_DEVEL 610 RUBY_EXTRA_LIBS 611 RUBY_SITE_PKG 612 RUBY_LDFLAGS 613 RUBY_CPPFLAGS 614 AWK 615 RUBY_VERSION 616 SED 617 RUBY 618 HAVE_PYTHON_DISTUTILS 619 PYTHON_SITE_PACKAGES 620 PYTHON_INCLUDES 621 PYTHON_VERSION 622 pythondir 623 PYTHON_CPPFLAGS 624 PYTHON 625 PERL_LIBSPEC 626 PERL_VERSION_RV 627 PERL_INSTALLARCHLIB 628 PERL_PRIVLIB 629 PERL_VENDORLIB 630 PERL_CPPFLAGS 631 PERL_CCFLAGS 632 PERL_VERSION 633 PERL_ARCHLIBEXP 634 PERL_ARCHLIB 635 PERL_INCLUDES 636 PERL 637 OCTAVE_VERSION_MAJOR 638 OCTAVE_VERSION 639 MKOCTFILE 640 OCTAVE 641 MEX_ARCH 642 MCC 643 MEXEXT 644 MEX 645 MATLAB 646 TCLSH 647 ENABLE_GUI 648 MAKE 649 INSTALL_STUB_LIB 650 INSTALL_LIB 651 MAKE_STUB_LIB 652 MAKE_LIB 653 SHLIB_SUFFIX 654 SHLIB_CFLAGS 655 SHLIB_LD_LIBS 656 TK_SHLIB_LD_EXTRAS 657 TCL_SHLIB_LD_EXTRAS 658 SHLIB_LD 659 STLIB_LD 660 LD_SEARCH_FLAGS 661 CC_SEARCH_FLAGS 662 LDFLAGS_OPTIMIZE 663 LDFLAGS_DEBUG 664 CFLAGS_WARNING 665 CFLAGS_OPTIMIZE 666 CFLAGS_DEBUG 667 PLAT_SRCS 668 PLAT_OBJS 669 DL_OBJS 670 DL_LIBS 671 AR 672 HAVE_INTTYPES_H 673 CXXCPP 674 EGREP 675 GREP 676 CPP 677 ac_ct_F77 678 FFLAGS 679 F77 680 MKDIR_P 681 LN_S 682 RANLIB 683 ac_ct_CXX 684 CXXFLAGS 685 CXX 686 OBJEXT 687 EXEEXT 688 ac_ct_CC 689 CPPFLAGS 690 LDFLAGS 691 CFLAGS 692 CC 693 SET_MAKE 694 INSTALL_DATA 695 INSTALL_SCRIPT 696 INSTALL_PROGRAM 697 LIB_SEARCH_DIRS 698 target_alias 699 host_alias 700 build_alias 701 LIBS 702 ECHO_T 703 ECHO_N 704 ECHO_C 705 DEFS 706 mandir 707 localedir 708 libdir 709 psdir 710 pdfdir 711 dvidir 712 htmldir 713 infodir 714 docdir 715 oldincludedir 716 includedir 717 localstatedir 718 sharedstatedir 719 sysconfdir 720 datadir 721 datarootdir 722 libexecdir 723 sbindir 724 bindir 725 program_transform_name 726 prefix 727 exec_prefix 728 PACKAGE_URL 729 PACKAGE_BUGREPORT 730 PACKAGE_STRING 731 PACKAGE_VERSION 732 PACKAGE_TARNAME 733 PACKAGE_NAME 618 734 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 MATLAB 706 MEX 707 MEXEXT 708 MCC 709 MEX_ARCH 710 OCTAVE 711 MKOCTFILE 712 OCTAVE_VERSION 713 OCTAVE_VERSION_MAJOR 714 PERL 715 PERL_INCLUDES 716 PERL_ARCHLIB 717 PERL_ARCHLIBEXP 718 PERL_VERSION 719 PERL_CCFLAGS 720 PERL_CPPFLAGS 721 PERL_VENDORLIB 722 PERL_PRIVLIB 723 PERL_INSTALLARCHLIB 724 PERL_VERSION_RV 725 PERL_LIBSPEC 726 PYTHON 727 PYTHON_CPPFLAGS 728 pythondir 729 PYTHON_VERSION 730 PYTHON_INCLUDES 731 PYTHON_SITE_PACKAGES 732 HAVE_PYTHON_DISTUTILS 733 RUBY 734 SED 735 RUBY_VERSION 736 AWK 737 RUBY_CPPFLAGS 738 RUBY_LDFLAGS 739 RUBY_SITE_PKG 740 RUBY_EXTRA_LIBS 741 HAVE_RUBY_DEVEL 742 RUBY_VERSION_RV 743 RUBY_PLATFORM 744 RP_BASE 745 SHLIB_LDFLAGS 746 TCL_VERSION 747 TK_VERSION 748 SIZEOF_INT 749 SIZEOF_LONG 750 SIZEOF_LONG_LONG 751 SIZEOF_VOID_P 752 CFLAGS_DEFAULT 753 LDFLAGS_DEFAULT 754 subdirs 755 LIBOBJS 756 LTLIBOBJS' 735 SHELL' 757 736 ac_subst_files='' 737 ac_user_opts=' 738 enable_option_checking 739 enable_64bit 740 enable_64bit_vis 741 enable_corefoundation 742 enable_load 743 enable_gui 744 with_tclsh 745 with_matlab 746 with_octave 747 with_perl 748 with_python 749 with_ruby 750 enable_shared 751 enable_symbols 752 ' 758 753 ac_precious_vars='build_alias 759 754 host_alias … … 776 771 ac_init_help= 777 772 ac_init_version=false 773 ac_unrecognized_opts= 774 ac_unrecognized_sep= 778 775 # The variables have the same names as the options, with 779 776 # dashes changed to underlines. … … 874 871 875 872 -disable-* | --disable-*) 876 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`873 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 877 874 # Reject names that are not valid shell variable names. 878 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 879 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 880 { (exit 1); exit 1; }; } 881 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 882 eval enable_$ac_feature=no ;; 875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 876 as_fn_error "invalid feature name: $ac_useropt" 877 ac_useropt_orig=$ac_useropt 878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 879 case $ac_user_opts in 880 *" 881 "enable_$ac_useropt" 882 "*) ;; 883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 884 ac_unrecognized_sep=', ';; 885 esac 886 eval enable_$ac_useropt=no ;; 883 887 884 888 -docdir | --docdir | --docdi | --doc | --do) … … 893 897 894 898 -enable-* | --enable-*) 895 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`899 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 896 900 # Reject names that are not valid shell variable names. 897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 899 { (exit 1); exit 1; }; } 900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 901 eval enable_$ac_feature=\$ac_optarg ;; 901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 902 as_fn_error "invalid feature name: $ac_useropt" 903 ac_useropt_orig=$ac_useropt 904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 905 case $ac_user_opts in 906 *" 907 "enable_$ac_useropt" 908 "*) ;; 909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 910 ac_unrecognized_sep=', ';; 911 esac 912 eval enable_$ac_useropt=\$ac_optarg ;; 902 913 903 914 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1090 1101 1091 1102 -with-* | --with-*) 1092 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1103 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1093 1104 # Reject names that are not valid shell variable names. 1094 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1095 { echo "$as_me: error: invalid package name: $ac_package" >&2 1096 { (exit 1); exit 1; }; } 1097 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1098 eval with_$ac_package=\$ac_optarg ;; 1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1106 as_fn_error "invalid package name: $ac_useropt" 1107 ac_useropt_orig=$ac_useropt 1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1109 case $ac_user_opts in 1110 *" 1111 "with_$ac_useropt" 1112 "*) ;; 1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1114 ac_unrecognized_sep=', ';; 1115 esac 1116 eval with_$ac_useropt=\$ac_optarg ;; 1099 1117 1100 1118 -without-* | --without-*) 1101 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1119 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1102 1120 # Reject names that are not valid shell variable names. 1103 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1104 { echo "$as_me: error: invalid package name: $ac_package" >&2 1105 { (exit 1); exit 1; }; } 1106 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1107 eval with_$ac_package=no ;; 1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1122 as_fn_error "invalid package name: $ac_useropt" 1123 ac_useropt_orig=$ac_useropt 1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1125 case $ac_user_opts in 1126 *" 1127 "with_$ac_useropt" 1128 "*) ;; 1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1130 ac_unrecognized_sep=', ';; 1131 esac 1132 eval with_$ac_useropt=no ;; 1108 1133 1109 1134 --x) … … 1125 1150 x_libraries=$ac_optarg ;; 1126 1151 1127 -*) { echo "$as_me: error: unrecognized option: $ac_option 1128 Try \`$0 --help' for more information." >&2 1129 { (exit 1); exit 1; }; } 1152 -*) as_fn_error "unrecognized option: \`$ac_option' 1153 Try \`$0 --help' for more information." 1130 1154 ;; 1131 1155 … … 1133 1157 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1134 1158 # Reject names that are not valid shell variable names. 1135 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1136 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1137 { (exit 1); exit 1; }; } 1159 case $ac_envvar in #( 1160 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1161 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1162 esac 1138 1163 eval $ac_envvar=\$ac_optarg 1139 1164 export $ac_envvar ;; … … 1141 1166 *) 1142 1167 # FIXME: should be removed in autoconf 3.0. 1143 echo "$as_me: WARNING: you should use --build, --host, --target" >&21168 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1144 1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1145 echo "$as_me: WARNING: invalid host type: $ac_option" >&21170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1146 1171 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1147 1172 ;; … … 1152 1177 if test -n "$ac_prev"; then 1153 1178 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1154 { echo "$as_me: error: missing argument to $ac_option" >&2 1155 { (exit 1); exit 1; }; } 1156 fi 1157 1158 # Be sure to have absolute directory names. 1179 as_fn_error "missing argument to $ac_option" 1180 fi 1181 1182 if test -n "$ac_unrecognized_opts"; then 1183 case $enable_option_checking in 1184 no) ;; 1185 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1187 esac 1188 fi 1189 1190 # Check all directory arguments for consistency. 1159 1191 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1160 1192 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1163 1195 do 1164 1196 eval ac_val=\$$ac_var 1197 # Remove trailing slashes. 1198 case $ac_val in 1199 */ ) 1200 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1201 eval $ac_var=\$ac_val;; 1202 esac 1203 # Be sure to have absolute directory names. 1165 1204 case $ac_val in 1166 1205 [\\/$]* | ?:[\\/]* ) continue;; 1167 1206 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1168 1207 esac 1169 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1170 { (exit 1); exit 1; }; } 1208 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1171 1209 done 1172 1210 … … 1182 1220 if test "x$build_alias" = x; then 1183 1221 cross_compiling=maybe 1184 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1222 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1185 1223 If a cross compiler is detected then cross compile mode will be used." >&2 1186 1224 elif test "x$build_alias" != "x$host_alias"; then … … 1198 1236 ac_ls_di=`ls -di .` && 1199 1237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1200 { echo "$as_me: error: Working directory cannot be determined" >&2 1201 { (exit 1); exit 1; }; } 1238 as_fn_error "working directory cannot be determined" 1202 1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1203 { echo "$as_me: error: pwd does not report name of working directory" >&2 1204 { (exit 1); exit 1; }; } 1240 as_fn_error "pwd does not report name of working directory" 1205 1241 1206 1242 … … 1209 1245 ac_srcdir_defaulted=yes 1210 1246 # Try the directory containing this script, then the parent directory. 1211 ac_confdir=`$as_dirname -- "$ 0" ||1212 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1213 X"$ 0" : 'X\(//\)[^/]' \| \1214 X"$ 0" : 'X\(//\)$' \| \1215 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1216 echo X"$0" |1247 ac_confdir=`$as_dirname -- "$as_myself" || 1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1249 X"$as_myself" : 'X\(//\)[^/]' \| \ 1250 X"$as_myself" : 'X\(//\)$' \| \ 1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1252 $as_echo X"$as_myself" | 1217 1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1218 1254 s//\1/ … … 1241 1277 if test ! -r "$srcdir/$ac_unique_file"; then 1242 1278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1243 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1244 { (exit 1); exit 1; }; } 1279 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1245 1280 fi 1246 1281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1247 1282 ac_abs_confdir=`( 1248 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1249 { (exit 1); exit 1; }; } 1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1250 1284 pwd)` 1251 1285 # When building in place, set srcdir=. … … 1295 1329 Installation directories: 1296 1330 --prefix=PREFIX install architecture-independent files in PREFIX 1297 1331 [$ac_default_prefix] 1298 1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1299 1333 [PREFIX] 1300 1334 1301 1335 By default, \`make install' will install all the files in … … 1307 1341 1308 1342 Fine tuning of the installation directories: 1309 --bindir=DIR user executables [EPREFIX/bin]1310 --sbindir=DIR system admin executables [EPREFIX/sbin]1311 --libexecdir=DIR program executables [EPREFIX/libexec]1312 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1313 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1314 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1315 --libdir=DIR object code libraries [EPREFIX/lib]1316 --includedir=DIR C header files [PREFIX/include]1317 --oldincludedir=DIR C header files for non-gcc [/usr/include]1318 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1319 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1320 --infodir=DIR info documentation [DATAROOTDIR/info]1321 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1322 --mandir=DIR man documentation [DATAROOTDIR/man]1323 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1324 --htmldir=DIR html documentation [DOCDIR]1325 --dvidir=DIR dvi documentation [DOCDIR]1326 --pdfdir=DIR pdf documentation [DOCDIR]1327 --psdir=DIR ps documentation [DOCDIR]1343 --bindir=DIR user executables [EPREFIX/bin] 1344 --sbindir=DIR system admin executables [EPREFIX/sbin] 1345 --libexecdir=DIR program executables [EPREFIX/libexec] 1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1349 --libdir=DIR object code libraries [EPREFIX/lib] 1350 --includedir=DIR C header files [PREFIX/include] 1351 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1354 --infodir=DIR info documentation [DATAROOTDIR/info] 1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1356 --mandir=DIR man documentation [DATAROOTDIR/man] 1357 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1358 --htmldir=DIR html documentation [DOCDIR] 1359 --dvidir=DIR dvi documentation [DOCDIR] 1360 --pdfdir=DIR pdf documentation [DOCDIR] 1361 --psdir=DIR ps documentation [DOCDIR] 1328 1362 _ACEOF 1329 1363 … … 1339 1373 1340 1374 Optional Features: 1375 --disable-option-checking ignore unrecognized --enable/--with options 1341 1376 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1342 1377 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1387 1422 # If there are subdirs, report their specific --help. 1388 1423 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1389 test -d "$ac_dir" || continue 1424 test -d "$ac_dir" || 1425 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1426 continue 1390 1427 ac_builddir=. 1391 1428 … … 1393 1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1394 1431 *) 1395 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1432 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1396 1433 # A ".." for each directory in $ac_dir_suffix. 1397 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1434 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1398 1435 case $ac_top_builddir_sub in 1399 1436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1431 1468 $SHELL "$ac_srcdir/configure" --help=recursive 1432 1469 else 1433 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1434 1471 fi || ac_status=$? 1435 1472 cd "$ac_pwd" || { ac_status=$?; break; } … … 1441 1478 cat <<\_ACEOF 1442 1479 Rappture configure 1.1 1443 generated by GNU Autoconf 2.61 1444 1445 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1446 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1480 generated by GNU Autoconf 2.64 1481 1482 Copyright (C) 2009 Free Software Foundation, Inc. 1447 1483 This configure script is free software; the Free Software Foundation 1448 1484 gives unlimited permission to copy, distribute and modify it. … … 1450 1486 exit 1451 1487 fi 1488 1489 ## ------------------------ ## 1490 ## Autoconf initialization. ## 1491 ## ------------------------ ## 1492 1493 # ac_fn_c_try_compile LINENO 1494 # -------------------------- 1495 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1496 ac_fn_c_try_compile () 1497 { 1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1499 rm -f conftest.$ac_objext 1500 if { { ac_try="$ac_compile" 1501 case "(($ac_try" in 1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1503 *) ac_try_echo=$ac_try;; 1504 esac 1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1506 $as_echo "$ac_try_echo"; } >&5 1507 (eval "$ac_compile") 2>conftest.err 1508 ac_status=$? 1509 if test -s conftest.err; then 1510 grep -v '^ *+' conftest.err >conftest.er1 1511 cat conftest.er1 >&5 1512 mv -f conftest.er1 conftest.err 1513 fi 1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1515 test $ac_status = 0; } && { 1516 test -z "$ac_c_werror_flag" || 1517 test ! -s conftest.err 1518 } && test -s conftest.$ac_objext; then : 1519 ac_retval=0 1520 else 1521 $as_echo "$as_me: failed program was:" >&5 1522 sed 's/^/| /' conftest.$ac_ext >&5 1523 1524 ac_retval=1 1525 fi 1526 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1527 return $ac_retval 1528 1529 } # ac_fn_c_try_compile 1530 1531 # ac_fn_cxx_try_compile LINENO 1532 # ---------------------------- 1533 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1534 ac_fn_cxx_try_compile () 1535 { 1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1537 rm -f conftest.$ac_objext 1538 if { { ac_try="$ac_compile" 1539 case "(($ac_try" in 1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1541 *) ac_try_echo=$ac_try;; 1542 esac 1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1544 $as_echo "$ac_try_echo"; } >&5 1545 (eval "$ac_compile") 2>conftest.err 1546 ac_status=$? 1547 if test -s conftest.err; then 1548 grep -v '^ *+' conftest.err >conftest.er1 1549 cat conftest.er1 >&5 1550 mv -f conftest.er1 conftest.err 1551 fi 1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1553 test $ac_status = 0; } && { 1554 test -z "$ac_cxx_werror_flag" || 1555 test ! -s conftest.err 1556 } && test -s conftest.$ac_objext; then : 1557 ac_retval=0 1558 else 1559 $as_echo "$as_me: failed program was:" >&5 1560 sed 's/^/| /' conftest.$ac_ext >&5 1561 1562 ac_retval=1 1563 fi 1564 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1565 return $ac_retval 1566 1567 } # ac_fn_cxx_try_compile 1568 1569 # ac_fn_f77_try_compile LINENO 1570 # ---------------------------- 1571 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1572 ac_fn_f77_try_compile () 1573 { 1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1575 rm -f conftest.$ac_objext 1576 if { { ac_try="$ac_compile" 1577 case "(($ac_try" in 1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1579 *) ac_try_echo=$ac_try;; 1580 esac 1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1582 $as_echo "$ac_try_echo"; } >&5 1583 (eval "$ac_compile") 2>conftest.err 1584 ac_status=$? 1585 if test -s conftest.err; then 1586 grep -v '^ *+' conftest.err >conftest.er1 1587 cat conftest.er1 >&5 1588 mv -f conftest.er1 conftest.err 1589 fi 1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1591 test $ac_status = 0; } && { 1592 test -z "$ac_f77_werror_flag" || 1593 test ! -s conftest.err 1594 } && test -s conftest.$ac_objext; then : 1595 ac_retval=0 1596 else 1597 $as_echo "$as_me: failed program was:" >&5 1598 sed 's/^/| /' conftest.$ac_ext >&5 1599 1600 ac_retval=1 1601 fi 1602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1603 return $ac_retval 1604 1605 } # ac_fn_f77_try_compile 1606 1607 # ac_fn_c_try_cpp LINENO 1608 # ---------------------- 1609 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1610 ac_fn_c_try_cpp () 1611 { 1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1613 if { { ac_try="$ac_cpp conftest.$ac_ext" 1614 case "(($ac_try" in 1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1616 *) ac_try_echo=$ac_try;; 1617 esac 1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1619 $as_echo "$ac_try_echo"; } >&5 1620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1621 ac_status=$? 1622 if test -s conftest.err; then 1623 grep -v '^ *+' conftest.err >conftest.er1 1624 cat conftest.er1 >&5 1625 mv -f conftest.er1 conftest.err 1626 fi 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; } >/dev/null && { 1629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1630 test ! -s conftest.err 1631 }; then : 1632 ac_retval=0 1633 else 1634 $as_echo "$as_me: failed program was:" >&5 1635 sed 's/^/| /' conftest.$ac_ext >&5 1636 1637 ac_retval=1 1638 fi 1639 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1640 return $ac_retval 1641 1642 } # ac_fn_c_try_cpp 1643 1644 # ac_fn_c_try_run LINENO 1645 # ---------------------- 1646 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1647 # that executables *can* be run. 1648 ac_fn_c_try_run () 1649 { 1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1651 if { { ac_try="$ac_link" 1652 case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655 esac 1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657 $as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_link") 2>&5 1659 ac_status=$? 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1662 { { case "(($ac_try" in 1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1664 *) ac_try_echo=$ac_try;; 1665 esac 1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1667 $as_echo "$ac_try_echo"; } >&5 1668 (eval "$ac_try") 2>&5 1669 ac_status=$? 1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1671 test $ac_status = 0; }; }; then : 1672 ac_retval=0 1673 else 1674 $as_echo "$as_me: program exited with status $ac_status" >&5 1675 $as_echo "$as_me: failed program was:" >&5 1676 sed 's/^/| /' conftest.$ac_ext >&5 1677 1678 ac_retval=$ac_status 1679 fi 1680 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1682 return $ac_retval 1683 1684 } # ac_fn_c_try_run 1685 1686 # ac_fn_c_try_link LINENO 1687 # ----------------------- 1688 # Try to link conftest.$ac_ext, and return whether this succeeded. 1689 ac_fn_c_try_link () 1690 { 1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 rm -f conftest.$ac_objext conftest$ac_exeext 1693 if { { ac_try="$ac_link" 1694 case "(($ac_try" in 1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1696 *) ac_try_echo=$ac_try;; 1697 esac 1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1699 $as_echo "$ac_try_echo"; } >&5 1700 (eval "$ac_link") 2>conftest.err 1701 ac_status=$? 1702 if test -s conftest.err; then 1703 grep -v '^ *+' conftest.err >conftest.er1 1704 cat conftest.er1 >&5 1705 mv -f conftest.er1 conftest.err 1706 fi 1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1708 test $ac_status = 0; } && { 1709 test -z "$ac_c_werror_flag" || 1710 test ! -s conftest.err 1711 } && test -s conftest$ac_exeext && { 1712 test "$cross_compiling" = yes || 1713 $as_test_x conftest$ac_exeext 1714 }; then : 1715 ac_retval=0 1716 else 1717 $as_echo "$as_me: failed program was:" >&5 1718 sed 's/^/| /' conftest.$ac_ext >&5 1719 1720 ac_retval=1 1721 fi 1722 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1723 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1724 # interfere with the next link command; also delete a directory that is 1725 # left behind by Apple's compiler. We do this before executing the actions. 1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1728 return $ac_retval 1729 1730 } # ac_fn_c_try_link 1731 1732 # ac_fn_c_check_func LINENO FUNC VAR 1733 # ---------------------------------- 1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1735 ac_fn_c_check_func () 1736 { 1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1739 $as_echo_n "checking for $2... " >&6; } 1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1741 $as_echo_n "(cached) " >&6 1742 else 1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1744 /* end confdefs.h. */ 1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1747 #define $2 innocuous_$2 1748 1749 /* System header to define __stub macros and hopefully few prototypes, 1750 which can conflict with char $2 (); below. 1751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1752 <limits.h> exists even on freestanding compilers. */ 1753 1754 #ifdef __STDC__ 1755 # include <limits.h> 1756 #else 1757 # include <assert.h> 1758 #endif 1759 1760 #undef $2 1761 1762 /* Override any GCC internal prototype to avoid an error. 1763 Use char because int might match the return type of a GCC 1764 builtin and then its argument prototype would still apply. */ 1765 #ifdef __cplusplus 1766 extern "C" 1767 #endif 1768 char $2 (); 1769 /* The GNU C library defines this for functions which it implements 1770 to always fail with ENOSYS. Some functions are actually named 1771 something starting with __ and the normal name is an alias. */ 1772 #if defined __stub_$2 || defined __stub___$2 1773 choke me 1774 #endif 1775 1776 int 1777 main () 1778 { 1779 return $2 (); 1780 ; 1781 return 0; 1782 } 1783 _ACEOF 1784 if ac_fn_c_try_link "$LINENO"; then : 1785 eval "$3=yes" 1786 else 1787 eval "$3=no" 1788 fi 1789 rm -f core conftest.err conftest.$ac_objext \ 1790 conftest$ac_exeext conftest.$ac_ext 1791 fi 1792 eval ac_res=\$$3 1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1794 $as_echo "$ac_res" >&6; } 1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1796 1797 } # ac_fn_c_check_func 1798 1799 # ac_fn_cxx_try_link LINENO 1800 # ------------------------- 1801 # Try to link conftest.$ac_ext, and return whether this succeeded. 1802 ac_fn_cxx_try_link () 1803 { 1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1805 rm -f conftest.$ac_objext conftest$ac_exeext 1806 if { { ac_try="$ac_link" 1807 case "(($ac_try" in 1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1809 *) ac_try_echo=$ac_try;; 1810 esac 1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1812 $as_echo "$ac_try_echo"; } >&5 1813 (eval "$ac_link") 2>conftest.err 1814 ac_status=$? 1815 if test -s conftest.err; then 1816 grep -v '^ *+' conftest.err >conftest.er1 1817 cat conftest.er1 >&5 1818 mv -f conftest.er1 conftest.err 1819 fi 1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1821 test $ac_status = 0; } && { 1822 test -z "$ac_cxx_werror_flag" || 1823 test ! -s conftest.err 1824 } && test -s conftest$ac_exeext && { 1825 test "$cross_compiling" = yes || 1826 $as_test_x conftest$ac_exeext 1827 }; then : 1828 ac_retval=0 1829 else 1830 $as_echo "$as_me: failed program was:" >&5 1831 sed 's/^/| /' conftest.$ac_ext >&5 1832 1833 ac_retval=1 1834 fi 1835 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1836 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1837 # interfere with the next link command; also delete a directory that is 1838 # left behind by Apple's compiler. We do this before executing the actions. 1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1841 return $ac_retval 1842 1843 } # ac_fn_cxx_try_link 1844 1845 # ac_fn_cxx_check_func LINENO FUNC VAR 1846 # ------------------------------------ 1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1848 ac_fn_cxx_check_func () 1849 { 1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1852 $as_echo_n "checking for $2... " >&6; } 1853 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1854 $as_echo_n "(cached) " >&6 1855 else 1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1857 /* end confdefs.h. */ 1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1859 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1860 #define $2 innocuous_$2 1861 1862 /* System header to define __stub macros and hopefully few prototypes, 1863 which can conflict with char $2 (); below. 1864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1865 <limits.h> exists even on freestanding compilers. */ 1866 1867 #ifdef __STDC__ 1868 # include <limits.h> 1869 #else 1870 # include <assert.h> 1871 #endif 1872 1873 #undef $2 1874 1875 /* Override any GCC internal prototype to avoid an error. 1876 Use char because int might match the return type of a GCC 1877 builtin and then its argument prototype would still apply. */ 1878 #ifdef __cplusplus 1879 extern "C" 1880 #endif 1881 char $2 (); 1882 /* The GNU C library defines this for functions which it implements 1883 to always fail with ENOSYS. Some functions are actually named 1884 something starting with __ and the normal name is an alias. */ 1885 #if defined __stub_$2 || defined __stub___$2 1886 choke me 1887 #endif 1888 1889 int 1890 main () 1891 { 1892 return $2 (); 1893 ; 1894 return 0; 1895 } 1896 _ACEOF 1897 if ac_fn_cxx_try_link "$LINENO"; then : 1898 eval "$3=yes" 1899 else 1900 eval "$3=no" 1901 fi 1902 rm -f core conftest.err conftest.$ac_objext \ 1903 conftest$ac_exeext conftest.$ac_ext 1904 fi 1905 eval ac_res=\$$3 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1907 $as_echo "$ac_res" >&6; } 1908 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1909 1910 } # ac_fn_cxx_check_func 1911 1912 # ac_fn_cxx_try_cpp LINENO 1913 # ------------------------ 1914 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1915 ac_fn_cxx_try_cpp () 1916 { 1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1918 if { { ac_try="$ac_cpp conftest.$ac_ext" 1919 case "(($ac_try" in 1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1921 *) ac_try_echo=$ac_try;; 1922 esac 1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1924 $as_echo "$ac_try_echo"; } >&5 1925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1926 ac_status=$? 1927 if test -s conftest.err; then 1928 grep -v '^ *+' conftest.err >conftest.er1 1929 cat conftest.er1 >&5 1930 mv -f conftest.er1 conftest.err 1931 fi 1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1933 test $ac_status = 0; } >/dev/null && { 1934 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1935 test ! -s conftest.err 1936 }; then : 1937 ac_retval=0 1938 else 1939 $as_echo "$as_me: failed program was:" >&5 1940 sed 's/^/| /' conftest.$ac_ext >&5 1941 1942 ac_retval=1 1943 fi 1944 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1945 return $ac_retval 1946 1947 } # ac_fn_cxx_try_cpp 1948 1949 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1950 # --------------------------------------------------------- 1951 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1952 # the include files in INCLUDES and setting the cache variable VAR 1953 # accordingly. 1954 ac_fn_cxx_check_header_mongrel () 1955 { 1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1957 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1959 $as_echo_n "checking for $2... " >&6; } 1960 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1961 $as_echo_n "(cached) " >&6 1962 fi 1963 eval ac_res=\$$3 1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1965 $as_echo "$ac_res" >&6; } 1966 else 1967 # Is the header compilable? 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1969 $as_echo_n "checking $2 usability... " >&6; } 1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1971 /* end confdefs.h. */ 1972 $4 1973 #include <$2> 1974 _ACEOF 1975 if ac_fn_cxx_try_compile "$LINENO"; then : 1976 ac_header_compiler=yes 1977 else 1978 ac_header_compiler=no 1979 fi 1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1982 $as_echo "$ac_header_compiler" >&6; } 1983 1984 # Is the header present? 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1986 $as_echo_n "checking $2 presence... " >&6; } 1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1988 /* end confdefs.h. */ 1989 #include <$2> 1990 _ACEOF 1991 if ac_fn_cxx_try_cpp "$LINENO"; then : 1992 ac_header_preproc=yes 1993 else 1994 ac_header_preproc=no 1995 fi 1996 rm -f conftest.err conftest.$ac_ext 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1998 $as_echo "$ac_header_preproc" >&6; } 1999 2000 # So? What about this header? 2001 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2002 yes:no: ) 2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2004 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2006 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2007 ;; 2008 no:yes:* ) 2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2010 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2012 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2014 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2016 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2018 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2019 ( cat <<\_ASBOX 2020 ## ----------------------------------- ## 2021 ## Report this to rappture@nanohub.org ## 2022 ## ----------------------------------- ## 2023 _ASBOX 2024 ) | sed "s/^/$as_me: WARNING: /" >&2 2025 ;; 2026 esac 2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2028 $as_echo_n "checking for $2... " >&6; } 2029 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2030 $as_echo_n "(cached) " >&6 2031 else 2032 eval "$3=\$ac_header_compiler" 2033 fi 2034 eval ac_res=\$$3 2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2036 $as_echo "$ac_res" >&6; } 2037 fi 2038 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2039 2040 } # ac_fn_cxx_check_header_mongrel 2041 2042 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2043 # --------------------------------------------------------- 2044 # Tests whether HEADER exists and can be compiled using the include files in 2045 # INCLUDES, setting the cache variable VAR accordingly. 2046 ac_fn_cxx_check_header_compile () 2047 { 2048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2050 $as_echo_n "checking for $2... " >&6; } 2051 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2052 $as_echo_n "(cached) " >&6 2053 else 2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2055 /* end confdefs.h. */ 2056 $4 2057 #include <$2> 2058 _ACEOF 2059 if ac_fn_cxx_try_compile "$LINENO"; then : 2060 eval "$3=yes" 2061 else 2062 eval "$3=no" 2063 fi 2064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2065 fi 2066 eval ac_res=\$$3 2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2068 $as_echo "$ac_res" >&6; } 2069 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2070 2071 } # ac_fn_cxx_check_header_compile 2072 2073 # ac_fn_cxx_try_run LINENO 2074 # ------------------------ 2075 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2076 # that executables *can* be run. 2077 ac_fn_cxx_try_run () 2078 { 2079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2080 if { { ac_try="$ac_link" 2081 case "(($ac_try" in 2082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2083 *) ac_try_echo=$ac_try;; 2084 esac 2085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2086 $as_echo "$ac_try_echo"; } >&5 2087 (eval "$ac_link") 2>&5 2088 ac_status=$? 2089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2090 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2091 { { case "(($ac_try" in 2092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2093 *) ac_try_echo=$ac_try;; 2094 esac 2095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2096 $as_echo "$ac_try_echo"; } >&5 2097 (eval "$ac_try") 2>&5 2098 ac_status=$? 2099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2100 test $ac_status = 0; }; }; then : 2101 ac_retval=0 2102 else 2103 $as_echo "$as_me: program exited with status $ac_status" >&5 2104 $as_echo "$as_me: failed program was:" >&5 2105 sed 's/^/| /' conftest.$ac_ext >&5 2106 2107 ac_retval=$ac_status 2108 fi 2109 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2110 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2111 return $ac_retval 2112 2113 } # ac_fn_cxx_try_run 2114 2115 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2116 # ---------------------------------------------- 2117 # Tries to find the compile-time value of EXPR in a program that includes 2118 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2119 # computed 2120 ac_fn_cxx_compute_int () 2121 { 2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2123 if test "$cross_compiling" = yes; then 2124 # Depending upon the size, compute the lo and hi bounds. 2125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2126 /* end confdefs.h. */ 2127 $4 2128 int 2129 main () 2130 { 2131 static int test_array [1 - 2 * !(($2) >= 0)]; 2132 test_array [0] = 0 2133 2134 ; 2135 return 0; 2136 } 2137 _ACEOF 2138 if ac_fn_cxx_try_compile "$LINENO"; then : 2139 ac_lo=0 ac_mid=0 2140 while :; do 2141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2142 /* end confdefs.h. */ 2143 $4 2144 int 2145 main () 2146 { 2147 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2148 test_array [0] = 0 2149 2150 ; 2151 return 0; 2152 } 2153 _ACEOF 2154 if ac_fn_cxx_try_compile "$LINENO"; then : 2155 ac_hi=$ac_mid; break 2156 else 2157 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2158 if test $ac_lo -le $ac_mid; then 2159 ac_lo= ac_hi= 2160 break 2161 fi 2162 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2163 fi 2164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2165 done 2166 else 2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2168 /* end confdefs.h. */ 2169 $4 2170 int 2171 main () 2172 { 2173 static int test_array [1 - 2 * !(($2) < 0)]; 2174 test_array [0] = 0 2175 2176 ; 2177 return 0; 2178 } 2179 _ACEOF 2180 if ac_fn_cxx_try_compile "$LINENO"; then : 2181 ac_hi=-1 ac_mid=-1 2182 while :; do 2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2184 /* end confdefs.h. */ 2185 $4 2186 int 2187 main () 2188 { 2189 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2190 test_array [0] = 0 2191 2192 ; 2193 return 0; 2194 } 2195 _ACEOF 2196 if ac_fn_cxx_try_compile "$LINENO"; then : 2197 ac_lo=$ac_mid; break 2198 else 2199 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2200 if test $ac_mid -le $ac_hi; then 2201 ac_lo= ac_hi= 2202 break 2203 fi 2204 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2205 fi 2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2207 done 2208 else 2209 ac_lo= ac_hi= 2210 fi 2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2212 fi 2213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2214 # Binary search between lo and hi bounds. 2215 while test "x$ac_lo" != "x$ac_hi"; do 2216 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2218 /* end confdefs.h. */ 2219 $4 2220 int 2221 main () 2222 { 2223 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2224 test_array [0] = 0 2225 2226 ; 2227 return 0; 2228 } 2229 _ACEOF 2230 if ac_fn_cxx_try_compile "$LINENO"; then : 2231 ac_hi=$ac_mid 2232 else 2233 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2234 fi 2235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2236 done 2237 case $ac_lo in #(( 2238 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2239 '') ac_retval=1 ;; 2240 esac 2241 else 2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2243 /* end confdefs.h. */ 2244 $4 2245 static long int longval () { return $2; } 2246 static unsigned long int ulongval () { return $2; } 2247 #include <stdio.h> 2248 #include <stdlib.h> 2249 int 2250 main () 2251 { 2252 2253 FILE *f = fopen ("conftest.val", "w"); 2254 if (! f) 2255 return 1; 2256 if (($2) < 0) 2257 { 2258 long int i = longval (); 2259 if (i != ($2)) 2260 return 1; 2261 fprintf (f, "%ld", i); 2262 } 2263 else 2264 { 2265 unsigned long int i = ulongval (); 2266 if (i != ($2)) 2267 return 1; 2268 fprintf (f, "%lu", i); 2269 } 2270 /* Do not output a trailing newline, as this causes \r\n confusion 2271 on some platforms. */ 2272 return ferror (f) || fclose (f) != 0; 2273 2274 ; 2275 return 0; 2276 } 2277 _ACEOF 2278 if ac_fn_cxx_try_run "$LINENO"; then : 2279 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2280 else 2281 ac_retval=1 2282 fi 2283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2284 conftest.$ac_objext conftest.beam conftest.$ac_ext 2285 rm -f conftest.val 2286 2287 fi 2288 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2289 return $ac_retval 2290 2291 } # ac_fn_cxx_compute_int 1452 2292 cat >config.log <<_ACEOF 1453 2293 This file contains any messages produced by compilers while … … 1455 2295 1456 2296 It was created by Rappture $as_me 1.1, which was 1457 generated by GNU Autoconf 2.6 1. Invocation command line was2297 generated by GNU Autoconf 2.64. Invocation command line was 1458 2298 1459 2299 $ $0 $@ … … 1491 2331 IFS=$as_save_IFS 1492 2332 test -z "$as_dir" && as_dir=. 1493 echo "PATH: $as_dir"1494 done2333 $as_echo "PATH: $as_dir" 2334 done 1495 2335 IFS=$as_save_IFS 1496 2336 … … 1526 2366 continue ;; 1527 2367 *\'*) 1528 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2368 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1529 2369 esac 1530 2370 case $ac_pass in 1531 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2371 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1532 2372 2) 1533 a c_configure_args1="$ac_configure_args1'$ac_arg'"2373 as_fn_append ac_configure_args1 " '$ac_arg'" 1534 2374 if test $ac_must_keep_next = true; then 1535 2375 ac_must_keep_next=false # Got value, back to normal. … … 1547 2387 esac 1548 2388 fi 1549 a c_configure_args="$ac_configure_args'$ac_arg'"2389 as_fn_append ac_configure_args " '$ac_arg'" 1550 2390 ;; 1551 2391 esac 1552 2392 done 1553 2393 done 1554 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1555 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2394 { ac_configure_args0=; unset ac_configure_args0;} 2395 { ac_configure_args1=; unset ac_configure_args1;} 1556 2396 1557 2397 # When interrupted or exit'd, cleanup temporary files, and complete … … 1578 2418 *${as_nl}*) 1579 2419 case $ac_var in #( 1580 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51581 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2420 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2421 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1582 2422 esac 1583 2423 case $ac_var in #( 1584 2424 _ | IFS | as_nl) ;; #( 1585 *) $as_unset $ac_var ;; 2425 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2426 *) { eval $ac_var=; unset $ac_var;} ;; 1586 2427 esac ;; 1587 2428 esac … … 1612 2453 eval ac_val=\$$ac_var 1613 2454 case $ac_val in 1614 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2455 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1615 2456 esac 1616 echo "$ac_var='\''$ac_val'\''"2457 $as_echo "$ac_var='\''$ac_val'\''" 1617 2458 done | sort 1618 2459 echo … … 1629 2470 eval ac_val=\$$ac_var 1630 2471 case $ac_val in 1631 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2472 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1632 2473 esac 1633 echo "$ac_var='\''$ac_val'\''"2474 $as_echo "$ac_var='\''$ac_val'\''" 1634 2475 done | sort 1635 2476 echo … … 1647 2488 fi 1648 2489 test "$ac_signal" != 0 && 1649 echo "$as_me: caught signal $ac_signal"1650 echo "$as_me: exit $exit_status"2490 $as_echo "$as_me: caught signal $ac_signal" 2491 $as_echo "$as_me: exit $exit_status" 1651 2492 } >&5 1652 2493 rm -f core *.core core.conftest.* && … … 1655 2496 ' 0 1656 2497 for ac_signal in 1 2 13 15; do 1657 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2498 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1658 2499 done 1659 2500 ac_signal=0 … … 1662 2503 rm -f -r conftest* confdefs.h 1663 2504 2505 $as_echo "/* confdefs.h */" > confdefs.h 2506 1664 2507 # Predefined preprocessor variables. 1665 2508 … … 1668 2511 _ACEOF 1669 2512 1670 1671 2513 cat >>confdefs.h <<_ACEOF 1672 2514 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1673 2515 _ACEOF 1674 2516 1675 1676 2517 cat >>confdefs.h <<_ACEOF 1677 2518 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1678 2519 _ACEOF 1679 2520 1680 1681 2521 cat >>confdefs.h <<_ACEOF 1682 2522 #define PACKAGE_STRING "$PACKAGE_STRING" 1683 2523 _ACEOF 1684 2524 1685 1686 2525 cat >>confdefs.h <<_ACEOF 1687 2526 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1688 2527 _ACEOF 1689 2528 2529 cat >>confdefs.h <<_ACEOF 2530 #define PACKAGE_URL "$PACKAGE_URL" 2531 _ACEOF 2532 1690 2533 1691 2534 # Let the site file select an alternate cache file if it wants to. 1692 # Prefer explicitly selected file to automatically selected ones. 2535 # Prefer an explicitly selected file to automatically selected ones. 2536 ac_site_file1=NONE 2537 ac_site_file2=NONE 1693 2538 if test -n "$CONFIG_SITE"; then 1694 set x "$CONFIG_SITE"2539 ac_site_file1=$CONFIG_SITE 1695 2540 elif test "x$prefix" != xNONE; then 1696 set x "$prefix/share/config.site" "$prefix/etc/config.site"1697 else1698 set x "$ac_default_prefix/share/config.site" \ 1699 "$ac_default_prefix/etc/config.site" 1700 fi 1701 shift 1702 for ac_site_file 2541 ac_site_file1=$prefix/share/config.site 2542 ac_site_file2=$prefix/etc/config.site 2543 else 2544 ac_site_file1=$ac_default_prefix/share/config.site 2545 ac_site_file2=$ac_default_prefix/etc/config.site 2546 fi 2547 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1703 2548 do 2549 test "x$ac_site_file" = xNONE && continue 1704 2550 if test -r "$ac_site_file"; then 1705 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51706 echo "$as_me: loading site script $ac_site_file" >&6;}2551 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2552 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1707 2553 sed 's/^/| /' "$ac_site_file" >&5 1708 2554 . "$ac_site_file" … … 1714 2560 # files actually), so we avoid doing that. 1715 2561 if test -f "$cache_file"; then 1716 { echo "$as_me:$LINENO: loading cache $cache_file" >&51717 echo "$as_me: loading cache $cache_file" >&6;}2562 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2563 $as_echo "$as_me: loading cache $cache_file" >&6;} 1718 2564 case $cache_file in 1719 2565 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1722 2568 fi 1723 2569 else 1724 { echo "$as_me:$LINENO: creating cache $cache_file" >&51725 echo "$as_me: creating cache $cache_file" >&6;}2570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2571 $as_echo "$as_me: creating cache $cache_file" >&6;} 1726 2572 >$cache_file 1727 2573 fi … … 1737 2583 case $ac_old_set,$ac_new_set in 1738 2584 set,) 1739 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51740 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2585 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2586 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1741 2587 ac_cache_corrupted=: ;; 1742 2588 ,set) 1743 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51744 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2589 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2590 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1745 2591 ac_cache_corrupted=: ;; 1746 2592 ,);; 1747 2593 *) 1748 2594 if test "x$ac_old_val" != "x$ac_new_val"; then 1749 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1750 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1751 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1752 echo "$as_me: former value: $ac_old_val" >&2;} 1753 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1754 echo "$as_me: current value: $ac_new_val" >&2;} 1755 ac_cache_corrupted=: 2595 # differences in whitespace do not lead to failure. 2596 ac_old_val_w=`echo x $ac_old_val` 2597 ac_new_val_w=`echo x $ac_new_val` 2598 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2599 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2600 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2601 ac_cache_corrupted=: 2602 else 2603 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2604 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2605 eval $ac_var=\$ac_old_val 2606 fi 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2608 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2610 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1756 2611 fi;; 1757 2612 esac … … 1759 2614 if test "$ac_new_set" = set; then 1760 2615 case $ac_new_val in 1761 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2616 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1762 2617 *) ac_arg=$ac_var=$ac_new_val ;; 1763 2618 esac 1764 2619 case " $ac_configure_args " in 1765 2620 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1766 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2621 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1767 2622 esac 1768 2623 fi 1769 2624 done 1770 2625 if $ac_cache_corrupted; then 1771 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1772 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1773 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1774 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1775 { (exit 1); exit 1; }; } 1776 fi 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2629 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2630 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2631 fi 2632 ## -------------------- ## 2633 ## Main body of script. ## 2634 ## -------------------- ## 1801 2635 1802 2636 ac_ext=c … … 1809 2643 ac_aux_dir= 1810 2644 for ac_dir in cf "$srcdir"/cf; do 1811 if test -f "$ac_dir/install-sh"; then 1812 ac_aux_dir=$ac_dir 1813 ac_install_sh="$ac_aux_dir/install-sh -c" 1814 break 1815 elif test -f "$ac_dir/install.sh"; then 1816 ac_aux_dir=$ac_dir 1817 ac_install_sh="$ac_aux_dir/install.sh -c" 1818 break 1819 elif test -f "$ac_dir/shtool"; then 1820 ac_aux_dir=$ac_dir 1821 ac_install_sh="$ac_aux_dir/shtool install -c" 1822 break 1823 fi 2645 for ac_t in install-sh install.sh shtool; do 2646 if test -f "$ac_dir/$ac_t"; then 2647 ac_aux_dir=$ac_dir 2648 ac_install_sh="$ac_aux_dir/$ac_t -c" 2649 break 2 2650 fi 2651 done 1824 2652 done 1825 2653 if test -z "$ac_aux_dir"; then 1826 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1827 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1828 { (exit 1); exit 1; }; } 2654 as_fn_error "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1829 2655 fi 1830 2656 … … 1873 2699 # OS/2's system install, which has a completely different semantic 1874 2700 # ./install, which can be erroneously created by make from ./install.sh. 1875 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1876 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2701 # Reject install programs that cannot install multiple files. 2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2703 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1877 2704 if test -z "$INSTALL"; then 1878 if test "${ac_cv_path_install+set}" = set; then 1879 echo $ECHO_N "(cached) $ECHO_C" >&62705 if test "${ac_cv_path_install+set}" = set; then : 2706 $as_echo_n "(cached) " >&6 1880 2707 else 1881 2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1884 2711 IFS=$as_save_IFS 1885 2712 test -z "$as_dir" && as_dir=. 1886 # Account for people who put trailing slashes in PATH elements.1887 case $as_dir/ in 1888 ./ | .// | / cC/* | \2713 # Account for people who put trailing slashes in PATH elements. 2714 case $as_dir/ in #(( 2715 ./ | .// | /[cC]/* | \ 1889 2716 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1890 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2717 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1891 2718 /usr/ucb/* ) ;; 1892 2719 *) … … 1906 2733 : 1907 2734 else 1908 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1909 break 3 2735 rm -rf conftest.one conftest.two conftest.dir 2736 echo one > conftest.one 2737 echo two > conftest.two 2738 mkdir conftest.dir 2739 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2740 test -s conftest.one && test -s conftest.two && 2741 test -s conftest.dir/conftest.one && 2742 test -s conftest.dir/conftest.two 2743 then 2744 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2745 break 3 2746 fi 1910 2747 fi 1911 2748 fi … … 1914 2751 ;; 1915 2752 esac 1916 done 2753 2754 done 1917 2755 IFS=$as_save_IFS 1918 2756 2757 rm -rf conftest.one conftest.two conftest.dir 1919 2758 1920 2759 fi … … 1929 2768 fi 1930 2769 fi 1931 { echo "$as_me:$LINENO: result: $INSTALL" >&51932 echo "${ECHO_T}$INSTALL" >&6; }2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2771 $as_echo "$INSTALL" >&6; } 1933 2772 1934 2773 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1940 2779 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1941 2780 1942 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1943 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1944 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1945 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1946 echo $ECHO_N "(cached) $ECHO_C" >&6 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2782 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2783 set x ${MAKE-make} 2784 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2785 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2786 $as_echo_n "(cached) " >&6 1947 2787 else 1948 2788 cat >conftest.make <<\_ACEOF … … 1961 2801 fi 1962 2802 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1963 { echo "$as_me:$LINENO: result: yes" >&51964 echo "${ECHO_T}yes" >&6; }2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2804 $as_echo "yes" >&6; } 1965 2805 SET_MAKE= 1966 2806 else 1967 { echo "$as_me:$LINENO: result: no" >&51968 echo "${ECHO_T}no" >&6; }2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2808 $as_echo "no" >&6; } 1969 2809 SET_MAKE="MAKE=${MAKE-make}" 1970 2810 fi … … 1980 2820 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1981 2821 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1982 { echo "$as_me:$LINENO: checking for $ac_word" >&51983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1984 if test "${ac_cv_prog_CC+set}" = set; then 1985 echo $ECHO_N "(cached) $ECHO_C" >&62822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2823 $as_echo_n "checking for $ac_word... " >&6; } 2824 if test "${ac_cv_prog_CC+set}" = set; then : 2825 $as_echo_n "(cached) " >&6 1986 2826 else 1987 2827 if test -n "$CC"; then … … 1993 2833 IFS=$as_save_IFS 1994 2834 test -z "$as_dir" && as_dir=. 1995 for ac_exec_ext in '' $ac_executable_extensions; do2835 for ac_exec_ext in '' $ac_executable_extensions; do 1996 2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1997 2837 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1999 2839 break 2 2000 2840 fi 2001 2841 done 2002 done2842 done 2003 2843 IFS=$as_save_IFS 2004 2844 … … 2007 2847 CC=$ac_cv_prog_CC 2008 2848 if test -n "$CC"; then 2009 { echo "$as_me:$LINENO: result: $CC" >&52010 echo "${ECHO_T}$CC" >&6; }2011 else 2012 { echo "$as_me:$LINENO: result: no" >&52013 echo "${ECHO_T}no" >&6; }2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2850 $as_echo "$CC" >&6; } 2851 else 2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2853 $as_echo "no" >&6; } 2014 2854 fi 2015 2855 … … 2020 2860 # Extract the first word of "gcc", so it can be a program name with args. 2021 2861 set dummy gcc; ac_word=$2 2022 { echo "$as_me:$LINENO: checking for $ac_word" >&52023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2025 echo $ECHO_N "(cached) $ECHO_C" >&62862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2863 $as_echo_n "checking for $ac_word... " >&6; } 2864 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2865 $as_echo_n "(cached) " >&6 2026 2866 else 2027 2867 if test -n "$ac_ct_CC"; then … … 2033 2873 IFS=$as_save_IFS 2034 2874 test -z "$as_dir" && as_dir=. 2035 for ac_exec_ext in '' $ac_executable_extensions; do2875 for ac_exec_ext in '' $ac_executable_extensions; do 2036 2876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2037 2877 ac_cv_prog_ac_ct_CC="gcc" 2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2039 2879 break 2 2040 2880 fi 2041 2881 done 2042 done2882 done 2043 2883 IFS=$as_save_IFS 2044 2884 … … 2047 2887 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2048 2888 if test -n "$ac_ct_CC"; then 2049 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52050 echo "${ECHO_T}$ac_ct_CC" >&6; }2051 else 2052 { echo "$as_me:$LINENO: result: no" >&52053 echo "${ECHO_T}no" >&6; }2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2890 $as_echo "$ac_ct_CC" >&6; } 2891 else 2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2893 $as_echo "no" >&6; } 2054 2894 fi 2055 2895 … … 2059 2899 case $cross_compiling:$ac_tool_warned in 2060 2900 yes:) 2061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2062 whose name does not start with the host triplet. If you think this 2063 configuration is useful to you, please write to autoconf@gnu.org." >&5 2064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2065 whose name does not start with the host triplet. If you think this 2066 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2067 2903 ac_tool_warned=yes ;; 2068 2904 esac … … 2077 2913 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2078 2914 set dummy ${ac_tool_prefix}cc; ac_word=$2 2079 { echo "$as_me:$LINENO: checking for $ac_word" >&52080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2081 if test "${ac_cv_prog_CC+set}" = set; then 2082 echo $ECHO_N "(cached) $ECHO_C" >&62915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2916 $as_echo_n "checking for $ac_word... " >&6; } 2917 if test "${ac_cv_prog_CC+set}" = set; then : 2918 $as_echo_n "(cached) " >&6 2083 2919 else 2084 2920 if test -n "$CC"; then … … 2090 2926 IFS=$as_save_IFS 2091 2927 test -z "$as_dir" && as_dir=. 2092 for ac_exec_ext in '' $ac_executable_extensions; do2928 for ac_exec_ext in '' $ac_executable_extensions; do 2093 2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2094 2930 ac_cv_prog_CC="${ac_tool_prefix}cc" 2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2096 2932 break 2 2097 2933 fi 2098 2934 done 2099 done2935 done 2100 2936 IFS=$as_save_IFS 2101 2937 … … 2104 2940 CC=$ac_cv_prog_CC 2105 2941 if test -n "$CC"; then 2106 { echo "$as_me:$LINENO: result: $CC" >&52107 echo "${ECHO_T}$CC" >&6; }2108 else 2109 { echo "$as_me:$LINENO: result: no" >&52110 echo "${ECHO_T}no" >&6; }2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2943 $as_echo "$CC" >&6; } 2944 else 2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2946 $as_echo "no" >&6; } 2111 2947 fi 2112 2948 … … 2117 2953 # Extract the first word of "cc", so it can be a program name with args. 2118 2954 set dummy cc; ac_word=$2 2119 { echo "$as_me:$LINENO: checking for $ac_word" >&52120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2121 if test "${ac_cv_prog_CC+set}" = set; then 2122 echo $ECHO_N "(cached) $ECHO_C" >&62955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2956 $as_echo_n "checking for $ac_word... " >&6; } 2957 if test "${ac_cv_prog_CC+set}" = set; then : 2958 $as_echo_n "(cached) " >&6 2123 2959 else 2124 2960 if test -n "$CC"; then … … 2131 2967 IFS=$as_save_IFS 2132 2968 test -z "$as_dir" && as_dir=. 2133 for ac_exec_ext in '' $ac_executable_extensions; do2969 for ac_exec_ext in '' $ac_executable_extensions; do 2134 2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2135 2971 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2138 2974 fi 2139 2975 ac_cv_prog_CC="cc" 2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2141 2977 break 2 2142 2978 fi 2143 2979 done 2144 done2980 done 2145 2981 IFS=$as_save_IFS 2146 2982 … … 2161 2997 CC=$ac_cv_prog_CC 2162 2998 if test -n "$CC"; then 2163 { echo "$as_me:$LINENO: result: $CC" >&52164 echo "${ECHO_T}$CC" >&6; }2165 else 2166 { echo "$as_me:$LINENO: result: no" >&52167 echo "${ECHO_T}no" >&6; }2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3000 $as_echo "$CC" >&6; } 3001 else 3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3003 $as_echo "no" >&6; } 2168 3004 fi 2169 3005 … … 2176 3012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2177 3013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2178 { echo "$as_me:$LINENO: checking for $ac_word" >&52179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2180 if test "${ac_cv_prog_CC+set}" = set; then 2181 echo $ECHO_N "(cached) $ECHO_C" >&63014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3015 $as_echo_n "checking for $ac_word... " >&6; } 3016 if test "${ac_cv_prog_CC+set}" = set; then : 3017 $as_echo_n "(cached) " >&6 2182 3018 else 2183 3019 if test -n "$CC"; then … … 2189 3025 IFS=$as_save_IFS 2190 3026 test -z "$as_dir" && as_dir=. 2191 for ac_exec_ext in '' $ac_executable_extensions; do3027 for ac_exec_ext in '' $ac_executable_extensions; do 2192 3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2193 3029 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2195 3031 break 2 2196 3032 fi 2197 3033 done 2198 done3034 done 2199 3035 IFS=$as_save_IFS 2200 3036 … … 2203 3039 CC=$ac_cv_prog_CC 2204 3040 if test -n "$CC"; then 2205 { echo "$as_me:$LINENO: result: $CC" >&52206 echo "${ECHO_T}$CC" >&6; }2207 else 2208 { echo "$as_me:$LINENO: result: no" >&52209 echo "${ECHO_T}no" >&6; }3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3042 $as_echo "$CC" >&6; } 3043 else 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3045 $as_echo "no" >&6; } 2210 3046 fi 2211 3047 … … 2220 3056 # Extract the first word of "$ac_prog", so it can be a program name with args. 2221 3057 set dummy $ac_prog; ac_word=$2 2222 { echo "$as_me:$LINENO: checking for $ac_word" >&52223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2225 echo $ECHO_N "(cached) $ECHO_C" >&63058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3059 $as_echo_n "checking for $ac_word... " >&6; } 3060 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3061 $as_echo_n "(cached) " >&6 2226 3062 else 2227 3063 if test -n "$ac_ct_CC"; then … … 2233 3069 IFS=$as_save_IFS 2234 3070 test -z "$as_dir" && as_dir=. 2235 for ac_exec_ext in '' $ac_executable_extensions; do3071 for ac_exec_ext in '' $ac_executable_extensions; do 2236 3072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2237 3073 ac_cv_prog_ac_ct_CC="$ac_prog" 2238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2239 3075 break 2 2240 3076 fi 2241 3077 done 2242 done3078 done 2243 3079 IFS=$as_save_IFS 2244 3080 … … 2247 3083 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2248 3084 if test -n "$ac_ct_CC"; then 2249 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52250 echo "${ECHO_T}$ac_ct_CC" >&6; }2251 else 2252 { echo "$as_me:$LINENO: result: no" >&52253 echo "${ECHO_T}no" >&6; }3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3086 $as_echo "$ac_ct_CC" >&6; } 3087 else 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3089 $as_echo "no" >&6; } 2254 3090 fi 2255 3091 … … 2263 3099 case $cross_compiling:$ac_tool_warned in 2264 3100 yes:) 2265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2266 whose name does not start with the host triplet. If you think this 2267 configuration is useful to you, please write to autoconf@gnu.org." >&5 2268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2269 whose name does not start with the host triplet. If you think this 2270 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2271 3103 ac_tool_warned=yes ;; 2272 3104 esac … … 2278 3110 2279 3111 2280 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2281 See \`config.log' for more details." >&5 2282 echo "$as_me: error: no acceptable C compiler found in \$PATH 2283 See \`config.log' for more details." >&2;} 2284 { (exit 1); exit 1; }; } 3112 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3114 as_fn_error "no acceptable C compiler found in \$PATH 3115 See \`config.log' for more details." "$LINENO" 5; } 2285 3116 2286 3117 # Provide some information about the compiler. 2287 echo "$as_me:$LINENO: checking for C compiler version" >&5 2288 ac_compiler=`set X $ac_compile; echo $2` 2289 { (ac_try="$ac_compiler --version >&5" 3118 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3119 set X $ac_compile 3120 ac_compiler=$2 3121 for ac_option in --version -v -V -qversion; do 3122 { { ac_try="$ac_compiler $ac_option >&5" 2290 3123 case "(($ac_try" in 2291 3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2292 3125 *) ac_try_echo=$ac_try;; 2293 3126 esac 2294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2295 (eval "$ac_compiler --version >&5") 2>&5 3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3128 $as_echo "$ac_try_echo"; } >&5 3129 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2296 3130 ac_status=$? 2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2298 (exit $ac_status); } 2299 { (ac_try="$ac_compiler -v >&5" 3131 if test -s conftest.err; then 3132 sed '10a\ 3133 ... rest of stderr output deleted ... 3134 10q' conftest.err >conftest.er1 3135 cat conftest.er1 >&5 3136 rm -f conftest.er1 conftest.err 3137 fi 3138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3139 test $ac_status = 0; } 3140 done 3141 3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3143 /* end confdefs.h. */ 3144 #include <stdio.h> 3145 int 3146 main () 3147 { 3148 FILE *f = fopen ("conftest.out", "w"); 3149 return ferror (f) || fclose (f) != 0; 3150 3151 ; 3152 return 0; 3153 } 3154 _ACEOF 3155 ac_clean_files_save=$ac_clean_files 3156 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3157 # Try to create an executable without -o first, disregard a.out. 3158 # It will help us diagnose broken compilers, and finding out an intuition 3159 # of exeext. 3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3161 $as_echo_n "checking for C compiler default output file name... " >&6; } 3162 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3163 3164 # The possible output files: 3165 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3166 3167 ac_rmfiles= 3168 for ac_file in $ac_files 3169 do 3170 case $ac_file in 3171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3172 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3173 esac 3174 done 3175 rm -f $ac_rmfiles 3176 3177 if { { ac_try="$ac_link_default" 2300 3178 case "(($ac_try" in 2301 3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2302 3180 *) ac_try_echo=$ac_try;; 2303 3181 esac 2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2305 (eval "$ac_compiler -v >&5") 2>&5 2306 ac_status=$? 2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 (exit $ac_status); } 2309 { (ac_try="$ac_compiler -V >&5" 2310 case "(($ac_try" in 2311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2312 *) ac_try_echo=$ac_try;; 2313 esac 2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2315 (eval "$ac_compiler -V >&5") 2>&5 2316 ac_status=$? 2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2318 (exit $ac_status); } 2319 2320 cat >conftest.$ac_ext <<_ACEOF 2321 /* confdefs.h. */ 2322 _ACEOF 2323 cat confdefs.h >>conftest.$ac_ext 2324 cat >>conftest.$ac_ext <<_ACEOF 2325 /* end confdefs.h. */ 2326 2327 int 2328 main () 2329 { 2330 2331 ; 2332 return 0; 2333 } 2334 _ACEOF 2335 ac_clean_files_save=$ac_clean_files 2336 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2337 # Try to create an executable without -o first, disregard a.out. 2338 # It will help us diagnose broken compilers, and finding out an intuition 2339 # of exeext. 2340 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2341 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2342 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2343 # 2344 # List of possible output files, starting from the most likely. 2345 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2346 # only as a last resort. b.out is created by i960 compilers. 2347 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2348 # 2349 # The IRIX 6 linker writes into existing files which may not be 2350 # executable, retaining their permissions. Remove them first so a 2351 # subsequent execution test works. 2352 ac_rmfiles= 2353 for ac_file in $ac_files 2354 do 2355 case $ac_file in 2356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2357 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2358 esac 2359 done 2360 rm -f $ac_rmfiles 2361 2362 if { (ac_try="$ac_link_default" 2363 case "(($ac_try" in 2364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2365 *) ac_try_echo=$ac_try;; 2366 esac 2367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3183 $as_echo "$ac_try_echo"; } >&5 2368 3184 (eval "$ac_link_default") 2>&5 2369 3185 ac_status=$? 2370 echo "$as_me:$LINENO: \$? = $ac_status" >&52371 (exit $ac_status); }; then3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3187 test $ac_status = 0; }; then : 2372 3188 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2373 3189 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2379 3195 test -f "$ac_file" || continue 2380 3196 case $ac_file in 2381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2382 3198 ;; 2383 3199 [ab].out ) … … 2386 3202 break;; 2387 3203 *.* ) 2388 3204 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2389 3205 then :; else 2390 3206 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2405 3221 ac_file='' 2406 3222 fi 2407 2408 { echo "$as_me:$LINENO: result: $ac_file" >&5 2409 echo "${ECHO_T}$ac_file" >&6; } 2410 if test -z "$ac_file"; then 2411 echo "$as_me: failed program was:" >&5 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3224 $as_echo "$ac_file" >&6; } 3225 if test -z "$ac_file"; then : 3226 $as_echo "$as_me: failed program was:" >&5 2412 3227 sed 's/^/| /' conftest.$ac_ext >&5 2413 3228 2414 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2415 See \`config.log' for more details." >&5 2416 echo "$as_me: error: C compiler cannot create executables 2417 See \`config.log' for more details." >&2;} 2418 { (exit 77); exit 77; }; } 2419 fi 2420 3229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3231 { as_fn_set_status 77 3232 as_fn_error "C compiler cannot create executables 3233 See \`config.log' for more details." "$LINENO" 5; }; } 3234 fi 2421 3235 ac_exeext=$ac_cv_exeext 2422 3236 2423 3237 # Check that the compiler produces executables we can run. If not, either 2424 3238 # the compiler is broken, or we cross compile. 2425 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2426 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2427 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3240 $as_echo_n "checking whether the C compiler works... " >&6; } 2428 3241 # If not cross compiling, check that we can run a simple program. 2429 3242 if test "$cross_compiling" != yes; then 2430 3243 if { ac_try='./$ac_file' 2431 { (case "(($ac_try" in3244 { { case "(($ac_try" in 2432 3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2433 3246 *) ac_try_echo=$ac_try;; 2434 3247 esac 2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3249 $as_echo "$ac_try_echo"; } >&5 2436 3250 (eval "$ac_try") 2>&5 2437 3251 ac_status=$? 2438 echo "$as_me:$LINENO: \$? = $ac_status" >&52439 (exit $ac_status); }; }; then3252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3253 test $ac_status = 0; }; }; then 2440 3254 cross_compiling=no 2441 3255 else … … 2443 3257 cross_compiling=yes 2444 3258 else 2445 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 3259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3261 as_fn_error "cannot run C compiled programs. 2446 3262 If you meant to cross compile, use \`--host'. 2447 See \`config.log' for more details." >&5 2448 echo "$as_me: error: cannot run C compiled programs. 2449 If you meant to cross compile, use \`--host'. 2450 See \`config.log' for more details." >&2;} 2451 { (exit 1); exit 1; }; } 3263 See \`config.log' for more details." "$LINENO" 5; } 2452 3264 fi 2453 3265 fi 2454 3266 fi 2455 { echo "$as_me:$LINENO: result: yes" >&52456 echo "${ECHO_T}yes" >&6; }2457 2458 rm -f a.out a.exe conftest$ac_cv_exeext b.out3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3268 $as_echo "yes" >&6; } 3269 3270 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 2459 3271 ac_clean_files=$ac_clean_files_save 2460 3272 # Check that the compiler produces executables we can run. If not, either 2461 3273 # the compiler is broken, or we cross compile. 2462 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&52463 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }2464 { echo "$as_me:$LINENO: result: $cross_compiling" >&52465 echo "${ECHO_T}$cross_compiling" >&6; }2466 2467 { echo "$as_me:$LINENO: checking for suffix of executables" >&52468 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }2469 if { (ac_try="$ac_link"3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3275 $as_echo_n "checking whether we are cross compiling... " >&6; } 3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3277 $as_echo "$cross_compiling" >&6; } 3278 3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3280 $as_echo_n "checking for suffix of executables... " >&6; } 3281 if { { ac_try="$ac_link" 2470 3282 case "(($ac_try" in 2471 3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2472 3284 *) ac_try_echo=$ac_try;; 2473 3285 esac 2474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3287 $as_echo "$ac_try_echo"; } >&5 2475 3288 (eval "$ac_link") 2>&5 2476 3289 ac_status=$? 2477 echo "$as_me:$LINENO: \$? = $ac_status" >&52478 (exit $ac_status); }; then3290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3291 test $ac_status = 0; }; then : 2479 3292 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2480 3293 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2484 3297 test -f "$ac_file" || continue 2485 3298 case $ac_file in 2486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2487 3300 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2488 3301 break;; … … 2491 3304 done 2492 3305 else 2493 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2494 See \`config.log' for more details." >&5 2495 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2496 See \`config.log' for more details." >&2;} 2497 { (exit 1); exit 1; }; } 2498 fi 2499 3306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3308 as_fn_error "cannot compute suffix of executables: cannot compile and link 3309 See \`config.log' for more details." "$LINENO" 5; } 3310 fi 2500 3311 rm -f conftest$ac_cv_exeext 2501 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52502 echo "${ECHO_T}$ac_cv_exeext" >&6; }3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3313 $as_echo "$ac_cv_exeext" >&6; } 2503 3314 2504 3315 rm -f conftest.$ac_ext 2505 3316 EXEEXT=$ac_cv_exeext 2506 3317 ac_exeext=$EXEEXT 2507 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2508 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2509 if test "${ac_cv_objext+set}" = set; then 2510 echo $ECHO_N "(cached) $ECHO_C" >&6 2511 else 2512 cat >conftest.$ac_ext <<_ACEOF 2513 /* confdefs.h. */ 2514 _ACEOF 2515 cat confdefs.h >>conftest.$ac_ext 2516 cat >>conftest.$ac_ext <<_ACEOF 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3319 $as_echo_n "checking for suffix of object files... " >&6; } 3320 if test "${ac_cv_objext+set}" = set; then : 3321 $as_echo_n "(cached) " >&6 3322 else 3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2517 3324 /* end confdefs.h. */ 2518 3325 … … 2526 3333 _ACEOF 2527 3334 rm -f conftest.o conftest.obj 2528 if { (ac_try="$ac_compile"3335 if { { ac_try="$ac_compile" 2529 3336 case "(($ac_try" in 2530 3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2531 3338 *) ac_try_echo=$ac_try;; 2532 3339 esac 2533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3341 $as_echo "$ac_try_echo"; } >&5 2534 3342 (eval "$ac_compile") 2>&5 2535 3343 ac_status=$? 2536 echo "$as_me:$LINENO: \$? = $ac_status" >&52537 (exit $ac_status); }; then3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3345 test $ac_status = 0; }; then : 2538 3346 for ac_file in conftest.o conftest.obj conftest.*; do 2539 3347 test -f "$ac_file" || continue; 2540 3348 case $ac_file in 2541 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2542 3350 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2543 3351 break;; … … 2545 3353 done 2546 3354 else 2547 echo "$as_me: failed program was:" >&53355 $as_echo "$as_me: failed program was:" >&5 2548 3356 sed 's/^/| /' conftest.$ac_ext >&5 2549 3357 2550 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2551 See \`config.log' for more details." >&5 2552 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2553 See \`config.log' for more details." >&2;} 2554 { (exit 1); exit 1; }; } 2555 fi 2556 3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3360 as_fn_error "cannot compute suffix of object files: cannot compile 3361 See \`config.log' for more details." "$LINENO" 5; } 3362 fi 2557 3363 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2558 3364 fi 2559 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52560 echo "${ECHO_T}$ac_cv_objext" >&6; }3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3366 $as_echo "$ac_cv_objext" >&6; } 2561 3367 OBJEXT=$ac_cv_objext 2562 3368 ac_objext=$OBJEXT 2563 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2564 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2565 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2566 echo $ECHO_N "(cached) $ECHO_C" >&6 2567 else 2568 cat >conftest.$ac_ext <<_ACEOF 2569 /* confdefs.h. */ 2570 _ACEOF 2571 cat confdefs.h >>conftest.$ac_ext 2572 cat >>conftest.$ac_ext <<_ACEOF 3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3370 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3371 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3372 $as_echo_n "(cached) " >&6 3373 else 3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2573 3375 /* end confdefs.h. */ 2574 3376 … … 2584 3386 } 2585 3387 _ACEOF 2586 rm -f conftest.$ac_objext 2587 if { (ac_try="$ac_compile" 2588 case "(($ac_try" in 2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2590 *) ac_try_echo=$ac_try;; 2591 esac 2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2593 (eval "$ac_compile") 2>conftest.er1 2594 ac_status=$? 2595 grep -v '^ *+' conftest.er1 >conftest.err 2596 rm -f conftest.er1 2597 cat conftest.err >&5 2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2599 (exit $ac_status); } && { 2600 test -z "$ac_c_werror_flag" || 2601 test ! -s conftest.err 2602 } && test -s conftest.$ac_objext; then 3388 if ac_fn_c_try_compile "$LINENO"; then : 2603 3389 ac_compiler_gnu=yes 2604 3390 else 2605 echo "$as_me: failed program was:" >&5 2606 sed 's/^/| /' conftest.$ac_ext >&5 2607 2608 ac_compiler_gnu=no 2609 fi 2610 3391 ac_compiler_gnu=no 3392 fi 2611 3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2612 3394 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2613 3395 2614 3396 fi 2615 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2616 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2617 GCC=`test $ac_compiler_gnu = yes && echo yes` 3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3398 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3399 if test $ac_compiler_gnu = yes; then 3400 GCC=yes 3401 else 3402 GCC= 3403 fi 2618 3404 ac_test_CFLAGS=${CFLAGS+set} 2619 3405 ac_save_CFLAGS=$CFLAGS 2620 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52621 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2622 if test "${ac_cv_prog_cc_g+set}" = set; then 2623 echo $ECHO_N "(cached) $ECHO_C" >&63406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3407 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3408 if test "${ac_cv_prog_cc_g+set}" = set; then : 3409 $as_echo_n "(cached) " >&6 2624 3410 else 2625 3411 ac_save_c_werror_flag=$ac_c_werror_flag … … 2627 3413 ac_cv_prog_cc_g=no 2628 3414 CFLAGS="-g" 2629 cat >conftest.$ac_ext <<_ACEOF 2630 /* confdefs.h. */ 2631 _ACEOF 2632 cat confdefs.h >>conftest.$ac_ext 2633 cat >>conftest.$ac_ext <<_ACEOF 3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2634 3416 /* end confdefs.h. */ 2635 3417 … … 2642 3424 } 2643 3425 _ACEOF 2644 rm -f conftest.$ac_objext 2645 if { (ac_try="$ac_compile" 2646 case "(($ac_try" in 2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2648 *) ac_try_echo=$ac_try;; 2649 esac 2650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2651 (eval "$ac_compile") 2>conftest.er1 2652 ac_status=$? 2653 grep -v '^ *+' conftest.er1 >conftest.err 2654 rm -f conftest.er1 2655 cat conftest.err >&5 2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2657 (exit $ac_status); } && { 2658 test -z "$ac_c_werror_flag" || 2659 test ! -s conftest.err 2660 } && test -s conftest.$ac_objext; then 3426 if ac_fn_c_try_compile "$LINENO"; then : 2661 3427 ac_cv_prog_cc_g=yes 2662 3428 else 2663 echo "$as_me: failed program was:" >&5 2664 sed 's/^/| /' conftest.$ac_ext >&5 2665 2666 CFLAGS="" 2667 cat >conftest.$ac_ext <<_ACEOF 2668 /* confdefs.h. */ 2669 _ACEOF 2670 cat confdefs.h >>conftest.$ac_ext 2671 cat >>conftest.$ac_ext <<_ACEOF 3429 CFLAGS="" 3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2672 3431 /* end confdefs.h. */ 2673 3432 … … 2680 3439 } 2681 3440 _ACEOF 2682 rm -f conftest.$ac_objext 2683 if { (ac_try="$ac_compile" 2684 case "(($ac_try" in 2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2686 *) ac_try_echo=$ac_try;; 2687 esac 2688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2689 (eval "$ac_compile") 2>conftest.er1 2690 ac_status=$? 2691 grep -v '^ *+' conftest.er1 >conftest.err 2692 rm -f conftest.er1 2693 cat conftest.err >&5 2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2695 (exit $ac_status); } && { 2696 test -z "$ac_c_werror_flag" || 2697 test ! -s conftest.err 2698 } && test -s conftest.$ac_objext; then 2699 : 2700 else 2701 echo "$as_me: failed program was:" >&5 2702 sed 's/^/| /' conftest.$ac_ext >&5 2703 2704 ac_c_werror_flag=$ac_save_c_werror_flag 3441 if ac_fn_c_try_compile "$LINENO"; then : 3442 3443 else 3444 ac_c_werror_flag=$ac_save_c_werror_flag 2705 3445 CFLAGS="-g" 2706 cat >conftest.$ac_ext <<_ACEOF 2707 /* confdefs.h. */ 2708 _ACEOF 2709 cat confdefs.h >>conftest.$ac_ext 2710 cat >>conftest.$ac_ext <<_ACEOF 3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2711 3447 /* end confdefs.h. */ 2712 3448 … … 2719 3455 } 2720 3456 _ACEOF 2721 rm -f conftest.$ac_objext 2722 if { (ac_try="$ac_compile" 2723 case "(($ac_try" in 2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2725 *) ac_try_echo=$ac_try;; 2726 esac 2727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2728 (eval "$ac_compile") 2>conftest.er1 2729 ac_status=$? 2730 grep -v '^ *+' conftest.er1 >conftest.err 2731 rm -f conftest.er1 2732 cat conftest.err >&5 2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2734 (exit $ac_status); } && { 2735 test -z "$ac_c_werror_flag" || 2736 test ! -s conftest.err 2737 } && test -s conftest.$ac_objext; then 3457 if ac_fn_c_try_compile "$LINENO"; then : 2738 3458 ac_cv_prog_cc_g=yes 2739 else 2740 echo "$as_me: failed program was:" >&5 2741 sed 's/^/| /' conftest.$ac_ext >&5 2742 2743 2744 fi 2745 3459 fi 2746 3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2747 3461 fi 2748 2749 3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2750 3463 fi 2751 2752 3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2753 3465 ac_c_werror_flag=$ac_save_c_werror_flag 2754 3466 fi 2755 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52756 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3468 $as_echo "$ac_cv_prog_cc_g" >&6; } 2757 3469 if test "$ac_test_CFLAGS" = set; then 2758 3470 CFLAGS=$ac_save_CFLAGS … … 2770 3482 fi 2771 3483 fi 2772 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52773 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2774 if test "${ac_cv_prog_cc_c89+set}" = set; then 2775 echo $ECHO_N "(cached) $ECHO_C" >&63484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3485 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3486 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3487 $as_echo_n "(cached) " >&6 2776 3488 else 2777 3489 ac_cv_prog_cc_c89=no 2778 3490 ac_save_CC=$CC 2779 cat >conftest.$ac_ext <<_ACEOF 2780 /* confdefs.h. */ 2781 _ACEOF 2782 cat confdefs.h >>conftest.$ac_ext 2783 cat >>conftest.$ac_ext <<_ACEOF 3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2784 3492 /* end confdefs.h. */ 2785 3493 #include <stdarg.h> … … 2838 3546 do 2839 3547 CC="$ac_save_CC $ac_arg" 2840 rm -f conftest.$ac_objext 2841 if { (ac_try="$ac_compile" 2842 case "(($ac_try" in 2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2844 *) ac_try_echo=$ac_try;; 2845 esac 2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2847 (eval "$ac_compile") 2>conftest.er1 2848 ac_status=$? 2849 grep -v '^ *+' conftest.er1 >conftest.err 2850 rm -f conftest.er1 2851 cat conftest.err >&5 2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2853 (exit $ac_status); } && { 2854 test -z "$ac_c_werror_flag" || 2855 test ! -s conftest.err 2856 } && test -s conftest.$ac_objext; then 3548 if ac_fn_c_try_compile "$LINENO"; then : 2857 3549 ac_cv_prog_cc_c89=$ac_arg 2858 else 2859 echo "$as_me: failed program was:" >&5 2860 sed 's/^/| /' conftest.$ac_ext >&5 2861 2862 2863 fi 2864 3550 fi 2865 3551 rm -f core conftest.err conftest.$ac_objext 2866 3552 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2873 3559 case "x$ac_cv_prog_cc_c89" in 2874 3560 x) 2875 { echo "$as_me:$LINENO: result: none needed" >&52876 echo "${ECHO_T}none needed" >&6; } ;;3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3562 $as_echo "none needed" >&6; } ;; 2877 3563 xno) 2878 { echo "$as_me:$LINENO: result: unsupported" >&52879 echo "${ECHO_T}unsupported" >&6; } ;;3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3565 $as_echo "unsupported" >&6; } ;; 2880 3566 *) 2881 3567 CC="$CC $ac_cv_prog_cc_c89" 2882 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52883 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3569 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2884 3570 esac 2885 3571 if test "x$ac_cv_prog_cc_c89" != xno; then : 3572 3573 fi 2886 3574 2887 3575 ac_ext=c … … 2905 3593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2906 3594 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2907 { echo "$as_me:$LINENO: checking for $ac_word" >&52908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2909 if test "${ac_cv_prog_CXX+set}" = set; then 2910 echo $ECHO_N "(cached) $ECHO_C" >&63595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3596 $as_echo_n "checking for $ac_word... " >&6; } 3597 if test "${ac_cv_prog_CXX+set}" = set; then : 3598 $as_echo_n "(cached) " >&6 2911 3599 else 2912 3600 if test -n "$CXX"; then … … 2918 3606 IFS=$as_save_IFS 2919 3607 test -z "$as_dir" && as_dir=. 2920 for ac_exec_ext in '' $ac_executable_extensions; do3608 for ac_exec_ext in '' $ac_executable_extensions; do 2921 3609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2922 3610 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2924 3612 break 2 2925 3613 fi 2926 3614 done 2927 done3615 done 2928 3616 IFS=$as_save_IFS 2929 3617 … … 2932 3620 CXX=$ac_cv_prog_CXX 2933 3621 if test -n "$CXX"; then 2934 { echo "$as_me:$LINENO: result: $CXX" >&52935 echo "${ECHO_T}$CXX" >&6; }2936 else 2937 { echo "$as_me:$LINENO: result: no" >&52938 echo "${ECHO_T}no" >&6; }3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3623 $as_echo "$CXX" >&6; } 3624 else 3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3626 $as_echo "no" >&6; } 2939 3627 fi 2940 3628 … … 2949 3637 # Extract the first word of "$ac_prog", so it can be a program name with args. 2950 3638 set dummy $ac_prog; ac_word=$2 2951 { echo "$as_me:$LINENO: checking for $ac_word" >&52952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2953 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2954 echo $ECHO_N "(cached) $ECHO_C" >&63639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3640 $as_echo_n "checking for $ac_word... " >&6; } 3641 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3642 $as_echo_n "(cached) " >&6 2955 3643 else 2956 3644 if test -n "$ac_ct_CXX"; then … … 2962 3650 IFS=$as_save_IFS 2963 3651 test -z "$as_dir" && as_dir=. 2964 for ac_exec_ext in '' $ac_executable_extensions; do3652 for ac_exec_ext in '' $ac_executable_extensions; do 2965 3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2966 3654 ac_cv_prog_ac_ct_CXX="$ac_prog" 2967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2968 3656 break 2 2969 3657 fi 2970 3658 done 2971 done3659 done 2972 3660 IFS=$as_save_IFS 2973 3661 … … 2976 3664 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2977 3665 if test -n "$ac_ct_CXX"; then 2978 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52979 echo "${ECHO_T}$ac_ct_CXX" >&6; }2980 else 2981 { echo "$as_me:$LINENO: result: no" >&52982 echo "${ECHO_T}no" >&6; }3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3667 $as_echo "$ac_ct_CXX" >&6; } 3668 else 3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3670 $as_echo "no" >&6; } 2983 3671 fi 2984 3672 … … 2992 3680 case $cross_compiling:$ac_tool_warned in 2993 3681 yes:) 2994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2995 whose name does not start with the host triplet. If you think this 2996 configuration is useful to you, please write to autoconf@gnu.org." >&5 2997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2998 whose name does not start with the host triplet. If you think this 2999 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3000 3684 ac_tool_warned=yes ;; 3001 3685 esac … … 3007 3691 fi 3008 3692 # Provide some information about the compiler. 3009 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3010 ac_compiler=`set X $ac_compile; echo $2` 3011 { (ac_try="$ac_compiler --version >&5" 3693 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3694 set X $ac_compile 3695 ac_compiler=$2 3696 for ac_option in --version -v -V -qversion; do 3697 { { ac_try="$ac_compiler $ac_option >&5" 3012 3698 case "(($ac_try" in 3013 3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3014 3700 *) ac_try_echo=$ac_try;; 3015 3701 esac 3016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3017 (eval "$ac_compiler --version >&5") 2>&5 3702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3703 $as_echo "$ac_try_echo"; } >&5 3704 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3018 3705 ac_status=$? 3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3020 (exit $ac_status); } 3021 { (ac_try="$ac_compiler -v >&5" 3022 case "(($ac_try" in 3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3024 *) ac_try_echo=$ac_try;; 3025 esac 3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3027 (eval "$ac_compiler -v >&5") 2>&5 3028 ac_status=$? 3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3030 (exit $ac_status); } 3031 { (ac_try="$ac_compiler -V >&5" 3032 case "(($ac_try" in 3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3034 *) ac_try_echo=$ac_try;; 3035 esac 3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3037 (eval "$ac_compiler -V >&5") 2>&5 3038 ac_status=$? 3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3040 (exit $ac_status); } 3041 3042 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3043 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3044 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3045 echo $ECHO_N "(cached) $ECHO_C" >&6 3046 else 3047 cat >conftest.$ac_ext <<_ACEOF 3048 /* confdefs.h. */ 3049 _ACEOF 3050 cat confdefs.h >>conftest.$ac_ext 3051 cat >>conftest.$ac_ext <<_ACEOF 3706 if test -s conftest.err; then 3707 sed '10a\ 3708 ... rest of stderr output deleted ... 3709 10q' conftest.err >conftest.er1 3710 cat conftest.er1 >&5 3711 rm -f conftest.er1 conftest.err 3712 fi 3713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3714 test $ac_status = 0; } 3715 done 3716 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3718 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3719 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3720 $as_echo_n "(cached) " >&6 3721 else 3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3052 3723 /* end confdefs.h. */ 3053 3724 … … 3063 3734 } 3064 3735 _ACEOF 3065 rm -f conftest.$ac_objext 3066 if { (ac_try="$ac_compile" 3067 case "(($ac_try" in 3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3069 *) ac_try_echo=$ac_try;; 3070 esac 3071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3072 (eval "$ac_compile") 2>conftest.er1 3073 ac_status=$? 3074 grep -v '^ *+' conftest.er1 >conftest.err 3075 rm -f conftest.er1 3076 cat conftest.err >&5 3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3078 (exit $ac_status); } && { 3079 test -z "$ac_cxx_werror_flag" || 3080 test ! -s conftest.err 3081 } && test -s conftest.$ac_objext; then 3736 if ac_fn_cxx_try_compile "$LINENO"; then : 3082 3737 ac_compiler_gnu=yes 3083 3738 else 3084 echo "$as_me: failed program was:" >&5 3085 sed 's/^/| /' conftest.$ac_ext >&5 3086 3087 ac_compiler_gnu=no 3088 fi 3089 3739 ac_compiler_gnu=no 3740 fi 3090 3741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3091 3742 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3092 3743 3093 3744 fi 3094 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3095 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3096 GXX=`test $ac_compiler_gnu = yes && echo yes` 3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3746 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3747 if test $ac_compiler_gnu = yes; then 3748 GXX=yes 3749 else 3750 GXX= 3751 fi 3097 3752 ac_test_CXXFLAGS=${CXXFLAGS+set} 3098 3753 ac_save_CXXFLAGS=$CXXFLAGS 3099 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53100 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3101 if test "${ac_cv_prog_cxx_g+set}" = set; then 3102 echo $ECHO_N "(cached) $ECHO_C" >&63754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3755 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3756 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3757 $as_echo_n "(cached) " >&6 3103 3758 else 3104 3759 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3106 3761 ac_cv_prog_cxx_g=no 3107 3762 CXXFLAGS="-g" 3108 cat >conftest.$ac_ext <<_ACEOF 3109 /* confdefs.h. */ 3110 _ACEOF 3111 cat confdefs.h >>conftest.$ac_ext 3112 cat >>conftest.$ac_ext <<_ACEOF 3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3113 3764 /* end confdefs.h. */ 3114 3765 … … 3121 3772 } 3122 3773 _ACEOF 3123 rm -f conftest.$ac_objext 3124 if { (ac_try="$ac_compile" 3125 case "(($ac_try" in 3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3127 *) ac_try_echo=$ac_try;; 3128 esac 3129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3130 (eval "$ac_compile") 2>conftest.er1 3131 ac_status=$? 3132 grep -v '^ *+' conftest.er1 >conftest.err 3133 rm -f conftest.er1 3134 cat conftest.err >&5 3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3136 (exit $ac_status); } && { 3137 test -z "$ac_cxx_werror_flag" || 3138 test ! -s conftest.err 3139 } && test -s conftest.$ac_objext; then 3774 if ac_fn_cxx_try_compile "$LINENO"; then : 3140 3775 ac_cv_prog_cxx_g=yes 3141 3776 else 3142 echo "$as_me: failed program was:" >&5 3143 sed 's/^/| /' conftest.$ac_ext >&5 3144 3145 CXXFLAGS="" 3146 cat >conftest.$ac_ext <<_ACEOF 3147 /* confdefs.h. */ 3148 _ACEOF 3149 cat confdefs.h >>conftest.$ac_ext 3150 cat >>conftest.$ac_ext <<_ACEOF 3777 CXXFLAGS="" 3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3151 3779 /* end confdefs.h. */ 3152 3780 … … 3159 3787 } 3160 3788 _ACEOF 3161 rm -f conftest.$ac_objext 3162 if { (ac_try="$ac_compile" 3163 case "(($ac_try" in 3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3165 *) ac_try_echo=$ac_try;; 3166 esac 3167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3168 (eval "$ac_compile") 2>conftest.er1 3169 ac_status=$? 3170 grep -v '^ *+' conftest.er1 >conftest.err 3171 rm -f conftest.er1 3172 cat conftest.err >&5 3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3174 (exit $ac_status); } && { 3175 test -z "$ac_cxx_werror_flag" || 3176 test ! -s conftest.err 3177 } && test -s conftest.$ac_objext; then 3178 : 3179 else 3180 echo "$as_me: failed program was:" >&5 3181 sed 's/^/| /' conftest.$ac_ext >&5 3182 3183 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3789 if ac_fn_cxx_try_compile "$LINENO"; then : 3790 3791 else 3792 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3184 3793 CXXFLAGS="-g" 3185 cat >conftest.$ac_ext <<_ACEOF 3186 /* confdefs.h. */ 3187 _ACEOF 3188 cat confdefs.h >>conftest.$ac_ext 3189 cat >>conftest.$ac_ext <<_ACEOF 3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3190 3795 /* end confdefs.h. */ 3191 3796 … … 3198 3803 } 3199 3804 _ACEOF 3200 rm -f conftest.$ac_objext 3201 if { (ac_try="$ac_compile" 3202 case "(($ac_try" in 3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3204 *) ac_try_echo=$ac_try;; 3205 esac 3206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3207 (eval "$ac_compile") 2>conftest.er1 3208 ac_status=$? 3209 grep -v '^ *+' conftest.er1 >conftest.err 3210 rm -f conftest.er1 3211 cat conftest.err >&5 3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3213 (exit $ac_status); } && { 3214 test -z "$ac_cxx_werror_flag" || 3215 test ! -s conftest.err 3216 } && test -s conftest.$ac_objext; then 3805 if ac_fn_cxx_try_compile "$LINENO"; then : 3217 3806 ac_cv_prog_cxx_g=yes 3218 else 3219 echo "$as_me: failed program was:" >&5 3220 sed 's/^/| /' conftest.$ac_ext >&5 3221 3222 3223 fi 3224 3807 fi 3225 3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3226 3809 fi 3227 3228 3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3229 3811 fi 3230 3231 3812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3232 3813 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3233 3814 fi 3234 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53235 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3816 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3236 3817 if test "$ac_test_CXXFLAGS" = set; then 3237 3818 CXXFLAGS=$ac_save_CXXFLAGS … … 3256 3837 3257 3838 # Avoid g95 3258 # Find a good install program. We prefer a C program (faster),3259 # so one script is as good as another. But avoid the broken or3260 # incompatible versions:3261 # SysV /etc/install, /usr/sbin/install3262 # SunOS /usr/etc/install3263 # IRIX /sbin/install3264 # AIX /bin/install3265 # AmigaOS /C/install, which installs bootblocks on floppy discs3266 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag3267 # AFS /usr/afsws/bin/install, which mishandles nonexistent args3268 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"3269 # OS/2's system install, which has a completely different semantic3270 # ./install, which can be erroneously created by make from ./install.sh.3271 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&53272 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }3273 if test -z "$INSTALL"; then3274 if test "${ac_cv_path_install+set}" = set; then3275 echo $ECHO_N "(cached) $ECHO_C" >&63276 else3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3278 for as_dir in $PATH3279 do3280 IFS=$as_save_IFS3281 test -z "$as_dir" && as_dir=.3282 # Account for people who put trailing slashes in PATH elements.3283 case $as_dir/ in3284 ./ | .// | /cC/* | \3285 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \3286 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3287 /usr/ucb/* ) ;;3288 *)3289 # OSF1 and SCO ODT 3.0 have their own names for install.3290 # Don't use installbsd from OSF since it installs stuff as root3291 # by default.3292 for ac_prog in ginstall scoinst install; do3293 for ac_exec_ext in '' $ac_executable_extensions; do3294 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then3295 if test $ac_prog = install &&3296 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then3297 # AIX install. It has an incompatible calling convention.3298 :3299 elif test $ac_prog = install &&3300 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then3301 # program-specific install script used by HP pwplus--don't use.3302 :3303 else3304 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"3305 break 33306 fi3307 fi3308 done3309 done3310 ;;3311 esac3312 done3313 IFS=$as_save_IFS3314 3315 3316 fi3317 if test "${ac_cv_path_install+set}" = set; then3318 INSTALL=$ac_cv_path_install3319 else3320 # As a last resort, use the slow shell script. Don't cache a3321 # value for INSTALL within a source directory, because that will3322 # break other packages using the cache if that directory is3323 # removed, or if the value is a relative name.3324 INSTALL=$ac_install_sh3325 fi3326 fi3327 { echo "$as_me:$LINENO: result: $INSTALL" >&53328 echo "${ECHO_T}$INSTALL" >&6; }3329 3330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.3331 # It thinks the first close brace ends the variable substitution.3332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'3333 3334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'3335 3336 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'3337 3839 3338 3840 if test -n "$ac_tool_prefix"; then 3339 3841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3340 3842 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3341 { echo "$as_me:$LINENO: checking for $ac_word" >&53342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3343 if test "${ac_cv_prog_RANLIB+set}" = set; then 3344 echo $ECHO_N "(cached) $ECHO_C" >&63843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3844 $as_echo_n "checking for $ac_word... " >&6; } 3845 if test "${ac_cv_prog_RANLIB+set}" = set; then : 3846 $as_echo_n "(cached) " >&6 3345 3847 else 3346 3848 if test -n "$RANLIB"; then … … 3352 3854 IFS=$as_save_IFS 3353 3855 test -z "$as_dir" && as_dir=. 3354 for ac_exec_ext in '' $ac_executable_extensions; do3856 for ac_exec_ext in '' $ac_executable_extensions; do 3355 3857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3356 3858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3358 3860 break 2 3359 3861 fi 3360 3862 done 3361 done3863 done 3362 3864 IFS=$as_save_IFS 3363 3865 … … 3366 3868 RANLIB=$ac_cv_prog_RANLIB 3367 3869 if test -n "$RANLIB"; then 3368 { echo "$as_me:$LINENO: result: $RANLIB" >&53369 echo "${ECHO_T}$RANLIB" >&6; }3370 else 3371 { echo "$as_me:$LINENO: result: no" >&53372 echo "${ECHO_T}no" >&6; }3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3871 $as_echo "$RANLIB" >&6; } 3872 else 3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3874 $as_echo "no" >&6; } 3373 3875 fi 3374 3876 … … 3379 3881 # Extract the first word of "ranlib", so it can be a program name with args. 3380 3882 set dummy ranlib; ac_word=$2 3381 { echo "$as_me:$LINENO: checking for $ac_word" >&53382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3383 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3384 echo $ECHO_N "(cached) $ECHO_C" >&63883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3884 $as_echo_n "checking for $ac_word... " >&6; } 3885 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 3886 $as_echo_n "(cached) " >&6 3385 3887 else 3386 3888 if test -n "$ac_ct_RANLIB"; then … … 3392 3894 IFS=$as_save_IFS 3393 3895 test -z "$as_dir" && as_dir=. 3394 for ac_exec_ext in '' $ac_executable_extensions; do3896 for ac_exec_ext in '' $ac_executable_extensions; do 3395 3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3396 3898 ac_cv_prog_ac_ct_RANLIB="ranlib" 3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3398 3900 break 2 3399 3901 fi 3400 3902 done 3401 done3903 done 3402 3904 IFS=$as_save_IFS 3403 3905 … … 3406 3908 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3407 3909 if test -n "$ac_ct_RANLIB"; then 3408 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&53409 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }3410 else 3411 { echo "$as_me:$LINENO: result: no" >&53412 echo "${ECHO_T}no" >&6; }3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3911 $as_echo "$ac_ct_RANLIB" >&6; } 3912 else 3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3914 $as_echo "no" >&6; } 3413 3915 fi 3414 3916 … … 3418 3920 case $cross_compiling:$ac_tool_warned in 3419 3921 yes:) 3420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3421 whose name does not start with the host triplet. If you think this 3422 configuration is useful to you, please write to autoconf@gnu.org." >&5 3423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3424 whose name does not start with the host triplet. If you think this 3425 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3426 3924 ac_tool_warned=yes ;; 3427 3925 esac … … 3432 3930 fi 3433 3931 3434 { echo "$as_me:$LINENO: checking whether ln -s works" >&53435 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3933 $as_echo_n "checking whether ln -s works... " >&6; } 3436 3934 LN_S=$as_ln_s 3437 3935 if test "$LN_S" = "ln -s"; then 3438 { echo "$as_me:$LINENO: result: yes" >&53439 echo "${ECHO_T}yes" >&6; }3440 else 3441 { echo "$as_me:$LINENO: result: no, using $LN_S" >&53442 echo "${ECHO_T}no, using $LN_S" >&6; }3443 fi 3444 3445 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&53446 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3937 $as_echo "yes" >&6; } 3938 else 3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3940 $as_echo "no, using $LN_S" >&6; } 3941 fi 3942 3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3944 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3447 3945 if test -z "$MKDIR_P"; then 3448 if test "${ac_cv_path_mkdir+set}" = set; then 3449 echo $ECHO_N "(cached) $ECHO_C" >&63946 if test "${ac_cv_path_mkdir+set}" = set; then : 3947 $as_echo_n "(cached) " >&6 3450 3948 else 3451 3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3454 3952 IFS=$as_save_IFS 3455 3953 test -z "$as_dir" && as_dir=. 3456 for ac_prog in mkdir gmkdir; do3954 for ac_prog in mkdir gmkdir; do 3457 3955 for ac_exec_ext in '' $ac_executable_extensions; do 3458 3956 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 3466 3964 done 3467 3965 done 3468 done3966 done 3469 3967 IFS=$as_save_IFS 3470 3968 … … 3482 3980 fi 3483 3981 fi 3484 { echo "$as_me:$LINENO: result: $MKDIR_P" >&53485 echo "${ECHO_T}$MKDIR_P" >&6; }3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3983 $as_echo "$MKDIR_P" >&6; } 3486 3984 3487 3985 … … 3495 3993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3496 3994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3497 { echo "$as_me:$LINENO: checking for $ac_word" >&53498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3499 if test "${ac_cv_prog_F77+set}" = set; then 3500 echo $ECHO_N "(cached) $ECHO_C" >&63995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3996 $as_echo_n "checking for $ac_word... " >&6; } 3997 if test "${ac_cv_prog_F77+set}" = set; then : 3998 $as_echo_n "(cached) " >&6 3501 3999 else 3502 4000 if test -n "$F77"; then … … 3508 4006 IFS=$as_save_IFS 3509 4007 test -z "$as_dir" && as_dir=. 3510 for ac_exec_ext in '' $ac_executable_extensions; do4008 for ac_exec_ext in '' $ac_executable_extensions; do 3511 4009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3512 4010 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3514 4012 break 2 3515 4013 fi 3516 4014 done 3517 done4015 done 3518 4016 IFS=$as_save_IFS 3519 4017 … … 3522 4020 F77=$ac_cv_prog_F77 3523 4021 if test -n "$F77"; then 3524 { echo "$as_me:$LINENO: result: $F77" >&53525 echo "${ECHO_T}$F77" >&6; }3526 else 3527 { echo "$as_me:$LINENO: result: no" >&53528 echo "${ECHO_T}no" >&6; }4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4023 $as_echo "$F77" >&6; } 4024 else 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4026 $as_echo "no" >&6; } 3529 4027 fi 3530 4028 … … 3539 4037 # Extract the first word of "$ac_prog", so it can be a program name with args. 3540 4038 set dummy $ac_prog; ac_word=$2 3541 { echo "$as_me:$LINENO: checking for $ac_word" >&53542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3543 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 3544 echo $ECHO_N "(cached) $ECHO_C" >&64039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4040 $as_echo_n "checking for $ac_word... " >&6; } 4041 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then : 4042 $as_echo_n "(cached) " >&6 3545 4043 else 3546 4044 if test -n "$ac_ct_F77"; then … … 3552 4050 IFS=$as_save_IFS 3553 4051 test -z "$as_dir" && as_dir=. 3554 for ac_exec_ext in '' $ac_executable_extensions; do4052 for ac_exec_ext in '' $ac_executable_extensions; do 3555 4053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3556 4054 ac_cv_prog_ac_ct_F77="$ac_prog" 3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3558 4056 break 2 3559 4057 fi 3560 4058 done 3561 done4059 done 3562 4060 IFS=$as_save_IFS 3563 4061 … … 3566 4064 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3567 4065 if test -n "$ac_ct_F77"; then 3568 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53569 echo "${ECHO_T}$ac_ct_F77" >&6; }3570 else 3571 { echo "$as_me:$LINENO: result: no" >&53572 echo "${ECHO_T}no" >&6; }4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4067 $as_echo "$ac_ct_F77" >&6; } 4068 else 4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4070 $as_echo "no" >&6; } 3573 4071 fi 3574 4072 … … 3582 4080 case $cross_compiling:$ac_tool_warned in 3583 4081 yes:) 3584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3585 whose name does not start with the host triplet. If you think this 3586 configuration is useful to you, please write to autoconf@gnu.org." >&5 3587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3588 whose name does not start with the host triplet. If you think this 3589 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3590 4084 ac_tool_warned=yes ;; 3591 4085 esac … … 3596 4090 3597 4091 # Provide some information about the compiler. 3598 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3599 ac_compiler=`set X $ac_compile; echo $2` 3600 { (ac_try="$ac_compiler --version >&5" 4092 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4093 set X $ac_compile 4094 ac_compiler=$2 4095 for ac_option in --version -v -V -qversion; do 4096 { { ac_try="$ac_compiler $ac_option >&5" 3601 4097 case "(($ac_try" in 3602 4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3603 4099 *) ac_try_echo=$ac_try;; 3604 4100 esac 3605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3606 (eval "$ac_compiler --version >&5") 2>&5 4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4102 $as_echo "$ac_try_echo"; } >&5 4103 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3607 4104 ac_status=$? 3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3609 (exit $ac_status); } 3610 { (ac_try="$ac_compiler -v >&5" 3611 case "(($ac_try" in 3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3613 *) ac_try_echo=$ac_try;; 3614 esac 3615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3616 (eval "$ac_compiler -v >&5") 2>&5 3617 ac_status=$? 3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3619 (exit $ac_status); } 3620 { (ac_try="$ac_compiler -V >&5" 3621 case "(($ac_try" in 3622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3623 *) ac_try_echo=$ac_try;; 3624 esac 3625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3626 (eval "$ac_compiler -V >&5") 2>&5 3627 ac_status=$? 3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3629 (exit $ac_status); } 4105 if test -s conftest.err; then 4106 sed '10a\ 4107 ... rest of stderr output deleted ... 4108 10q' conftest.err >conftest.er1 4109 cat conftest.er1 >&5 4110 rm -f conftest.er1 conftest.err 4111 fi 4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4113 test $ac_status = 0; } 4114 done 3630 4115 rm -f a.out 3631 4116 … … 3634 4119 ac_save_ext=$ac_ext 3635 4120 ac_ext=F 3636 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53637 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3638 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 3639 echo $ECHO_N "(cached) $ECHO_C" >&63640 else 3641 cat > conftest.$ac_ext <<_ACEOF4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4122 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4123 if test "${ac_cv_f77_compiler_gnu+set}" = set; then : 4124 $as_echo_n "(cached) " >&6 4125 else 4126 cat > conftest.$ac_ext <<_ACEOF 3642 4127 program main 3643 4128 #ifndef __GNUC__ … … 3647 4132 end 3648 4133 _ACEOF 3649 rm -f conftest.$ac_objext 3650 if { (ac_try="$ac_compile" 3651 case "(($ac_try" in 3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3653 *) ac_try_echo=$ac_try;; 3654 esac 3655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3656 (eval "$ac_compile") 2>conftest.er1 3657 ac_status=$? 3658 grep -v '^ *+' conftest.er1 >conftest.err 3659 rm -f conftest.er1 3660 cat conftest.err >&5 3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3662 (exit $ac_status); } && { 3663 test -z "$ac_f77_werror_flag" || 3664 test ! -s conftest.err 3665 } && test -s conftest.$ac_objext; then 4134 if ac_fn_f77_try_compile "$LINENO"; then : 3666 4135 ac_compiler_gnu=yes 3667 4136 else 3668 echo "$as_me: failed program was:" >&5 3669 sed 's/^/| /' conftest.$ac_ext >&5 3670 3671 ac_compiler_gnu=no 3672 fi 3673 4137 ac_compiler_gnu=no 4138 fi 3674 4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3675 4140 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3676 4141 3677 4142 fi 3678 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53679 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4144 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3680 4145 ac_ext=$ac_save_ext 3681 4146 ac_test_FFLAGS=${FFLAGS+set} 3682 4147 ac_save_FFLAGS=$FFLAGS 3683 4148 FFLAGS= 3684 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53685 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3686 if test "${ac_cv_prog_f77_g+set}" = set; then 3687 echo $ECHO_N "(cached) $ECHO_C" >&64149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4150 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4151 if test "${ac_cv_prog_f77_g+set}" = set; then : 4152 $as_echo_n "(cached) " >&6 3688 4153 else 3689 4154 FFLAGS=-g 3690 cat > conftest.$ac_ext <<_ACEOF4155 cat > conftest.$ac_ext <<_ACEOF 3691 4156 program main 3692 4157 3693 4158 end 3694 4159 _ACEOF 3695 rm -f conftest.$ac_objext 3696 if { (ac_try="$ac_compile" 3697 case "(($ac_try" in 3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3699 *) ac_try_echo=$ac_try;; 3700 esac 3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3702 (eval "$ac_compile") 2>conftest.er1 3703 ac_status=$? 3704 grep -v '^ *+' conftest.er1 >conftest.err 3705 rm -f conftest.er1 3706 cat conftest.err >&5 3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3708 (exit $ac_status); } && { 3709 test -z "$ac_f77_werror_flag" || 3710 test ! -s conftest.err 3711 } && test -s conftest.$ac_objext; then 4160 if ac_fn_f77_try_compile "$LINENO"; then : 3712 4161 ac_cv_prog_f77_g=yes 3713 4162 else 3714 echo "$as_me: failed program was:" >&5 3715 sed 's/^/| /' conftest.$ac_ext >&5 3716 3717 ac_cv_prog_f77_g=no 3718 fi 3719 4163 ac_cv_prog_f77_g=no 4164 fi 3720 4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3721 4166 3722 4167 fi 3723 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53724 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4169 $as_echo "$ac_cv_prog_f77_g" >&6; } 3725 4170 if test "$ac_test_FFLAGS" = set; then 3726 4171 FFLAGS=$ac_save_FFLAGS … … 3739 4184 fi 3740 4185 3741 G77=`test $ac_compiler_gnu = yes && echo yes` 4186 if test $ac_compiler_gnu = yes; then 4187 G77=yes 4188 else 4189 G77= 4190 fi 3742 4191 ac_ext=c 3743 4192 ac_cpp='$CPP $CPPFLAGS' … … 3760 4209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3761 4210 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3762 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53763 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4212 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3764 4213 # On Suns, sometimes $CPP names a directory. 3765 4214 if test -n "$CPP" && test -d "$CPP"; then … … 3767 4216 fi 3768 4217 if test -z "$CPP"; then 3769 if test "${ac_cv_prog_CPP+set}" = set; then 3770 echo $ECHO_N "(cached) $ECHO_C" >&64218 if test "${ac_cv_prog_CPP+set}" = set; then : 4219 $as_echo_n "(cached) " >&6 3771 4220 else 3772 4221 # Double quotes because CPP needs to be expanded … … 3782 4231 # On the NeXT, cc -E runs the code through the compiler's parser, 3783 4232 # not just through cpp. "Syntax error" is here to catch this case. 3784 cat >conftest.$ac_ext <<_ACEOF 3785 /* confdefs.h. */ 3786 _ACEOF 3787 cat confdefs.h >>conftest.$ac_ext 3788 cat >>conftest.$ac_ext <<_ACEOF 4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3789 4234 /* end confdefs.h. */ 3790 4235 #ifdef __STDC__ … … 3795 4240 Syntax error 3796 4241 _ACEOF 3797 if { (ac_try="$ac_cpp conftest.$ac_ext" 3798 case "(($ac_try" in 3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3800 *) ac_try_echo=$ac_try;; 3801 esac 3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3804 ac_status=$? 3805 grep -v '^ *+' conftest.er1 >conftest.err 3806 rm -f conftest.er1 3807 cat conftest.err >&5 3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3809 (exit $ac_status); } >/dev/null && { 3810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3811 test ! -s conftest.err 3812 }; then 3813 : 3814 else 3815 echo "$as_me: failed program was:" >&5 3816 sed 's/^/| /' conftest.$ac_ext >&5 3817 4242 if ac_fn_c_try_cpp "$LINENO"; then : 4243 4244 else 3818 4245 # Broken: fails on valid input. 3819 4246 continue 3820 4247 fi 3821 3822 4248 rm -f conftest.err conftest.$ac_ext 3823 4249 3824 4250 # OK, works on sane cases. Now check whether nonexistent headers 3825 4251 # can be detected and how. 3826 cat >conftest.$ac_ext <<_ACEOF 3827 /* confdefs.h. */ 3828 _ACEOF 3829 cat confdefs.h >>conftest.$ac_ext 3830 cat >>conftest.$ac_ext <<_ACEOF 4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3831 4253 /* end confdefs.h. */ 3832 4254 #include <ac_nonexistent.h> 3833 4255 _ACEOF 3834 if { (ac_try="$ac_cpp conftest.$ac_ext" 3835 case "(($ac_try" in 3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3837 *) ac_try_echo=$ac_try;; 3838 esac 3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3841 ac_status=$? 3842 grep -v '^ *+' conftest.er1 >conftest.err 3843 rm -f conftest.er1 3844 cat conftest.err >&5 3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3846 (exit $ac_status); } >/dev/null && { 3847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3848 test ! -s conftest.err 3849 }; then 4256 if ac_fn_c_try_cpp "$LINENO"; then : 3850 4257 # Broken: success on invalid input. 3851 4258 continue 3852 4259 else 3853 echo "$as_me: failed program was:" >&53854 sed 's/^/| /' conftest.$ac_ext >&53855 3856 4260 # Passes both tests. 3857 4261 ac_preproc_ok=: 3858 4262 break 3859 4263 fi 3860 3861 4264 rm -f conftest.err conftest.$ac_ext 3862 4265 … … 3864 4267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3865 4268 rm -f conftest.err conftest.$ac_ext 3866 if $ac_preproc_ok; then 4269 if $ac_preproc_ok; then : 3867 4270 break 3868 4271 fi … … 3876 4279 ac_cv_prog_CPP=$CPP 3877 4280 fi 3878 { echo "$as_me:$LINENO: result: $CPP" >&53879 echo "${ECHO_T}$CPP" >&6; }4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4282 $as_echo "$CPP" >&6; } 3880 4283 ac_preproc_ok=false 3881 4284 for ac_c_preproc_warn_flag in '' yes … … 3887 4290 # On the NeXT, cc -E runs the code through the compiler's parser, 3888 4291 # not just through cpp. "Syntax error" is here to catch this case. 3889 cat >conftest.$ac_ext <<_ACEOF 3890 /* confdefs.h. */ 3891 _ACEOF 3892 cat confdefs.h >>conftest.$ac_ext 3893 cat >>conftest.$ac_ext <<_ACEOF 4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3894 4293 /* end confdefs.h. */ 3895 4294 #ifdef __STDC__ … … 3900 4299 Syntax error 3901 4300 _ACEOF 3902 if { (ac_try="$ac_cpp conftest.$ac_ext" 3903 case "(($ac_try" in 3904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3905 *) ac_try_echo=$ac_try;; 3906 esac 3907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3909 ac_status=$? 3910 grep -v '^ *+' conftest.er1 >conftest.err 3911 rm -f conftest.er1 3912 cat conftest.err >&5 3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3914 (exit $ac_status); } >/dev/null && { 3915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3916 test ! -s conftest.err 3917 }; then 3918 : 3919 else 3920 echo "$as_me: failed program was:" >&5 3921 sed 's/^/| /' conftest.$ac_ext >&5 3922 4301 if ac_fn_c_try_cpp "$LINENO"; then : 4302 4303 else 3923 4304 # Broken: fails on valid input. 3924 4305 continue 3925 4306 fi 3926 3927 4307 rm -f conftest.err conftest.$ac_ext 3928 4308 3929 4309 # OK, works on sane cases. Now check whether nonexistent headers 3930 4310 # can be detected and how. 3931 cat >conftest.$ac_ext <<_ACEOF 3932 /* confdefs.h. */ 3933 _ACEOF 3934 cat confdefs.h >>conftest.$ac_ext 3935 cat >>conftest.$ac_ext <<_ACEOF 4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3936 4312 /* end confdefs.h. */ 3937 4313 #include <ac_nonexistent.h> 3938 4314 _ACEOF 3939 if { (ac_try="$ac_cpp conftest.$ac_ext" 3940 case "(($ac_try" in 3941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3942 *) ac_try_echo=$ac_try;; 3943 esac 3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3946 ac_status=$? 3947 grep -v '^ *+' conftest.er1 >conftest.err 3948 rm -f conftest.er1 3949 cat conftest.err >&5 3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3951 (exit $ac_status); } >/dev/null && { 3952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3953 test ! -s conftest.err 3954 }; then 4315 if ac_fn_c_try_cpp "$LINENO"; then : 3955 4316 # Broken: success on invalid input. 3956 4317 continue 3957 4318 else 3958 echo "$as_me: failed program was:" >&53959 sed 's/^/| /' conftest.$ac_ext >&53960 3961 4319 # Passes both tests. 3962 4320 ac_preproc_ok=: 3963 4321 break 3964 4322 fi 3965 3966 4323 rm -f conftest.err conftest.$ac_ext 3967 4324 … … 3969 4326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3970 4327 rm -f conftest.err conftest.$ac_ext 3971 if $ac_preproc_ok; then 3972 : 3973 else 3974 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3975 See \`config.log' for more details." >&5 3976 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3977 See \`config.log' for more details." >&2;} 3978 { (exit 1); exit 1; }; } 4328 if $ac_preproc_ok; then : 4329 4330 else 4331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4333 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4334 See \`config.log' for more details." "$LINENO" 5; } 3979 4335 fi 3980 4336 … … 3986 4342 3987 4343 3988 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3989 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3990 if test "${ac_cv_path_GREP+set}" = set; then 3991 echo $ECHO_N "(cached) $ECHO_C" >&6 3992 else 3993 # Extract the first word of "grep ggrep" to use in msg output 3994 if test -z "$GREP"; then 3995 set dummy grep ggrep; ac_prog_name=$2 3996 if test "${ac_cv_path_GREP+set}" = set; then 3997 echo $ECHO_N "(cached) $ECHO_C" >&6 3998 else 4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4345 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4346 if test "${ac_cv_path_GREP+set}" = set; then : 4347 $as_echo_n "(cached) " >&6 4348 else 4349 if test -z "$GREP"; then 3999 4350 ac_path_GREP_found=false 4000 # Loop through the user's path and test for each of PROGNAME-LIST4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4351 # Loop through the user's path and test for each of PROGNAME-LIST 4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4002 4353 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4003 4354 do 4004 4355 IFS=$as_save_IFS 4005 4356 test -z "$as_dir" && as_dir=. 4006 for ac_prog in grep ggrep; do4007 for ac_exec_ext in '' $ac_executable_extensions; do4008 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4009 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4010 4357 for ac_prog in grep ggrep; do 4358 for ac_exec_ext in '' $ac_executable_extensions; do 4359 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4360 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4361 # Check for GNU ac_path_GREP and select it if it is found. 4011 4362 # Check for GNU $ac_path_GREP 4012 4363 case `"$ac_path_GREP" --version 2>&1` in … … 4015 4366 *) 4016 4367 ac_count=0 4017 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4368 $as_echo_n 0123456789 >"conftest.in" 4018 4369 while : 4019 4370 do … … 4021 4372 mv "conftest.tmp" "conftest.in" 4022 4373 cp "conftest.in" "conftest.nl" 4023 echo 'GREP' >> "conftest.nl"4374 $as_echo 'GREP' >> "conftest.nl" 4024 4375 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4025 4376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4026 a c_count=`expr $ac_count + 1`4377 as_fn_arith $ac_count + 1 && ac_count=$as_val 4027 4378 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4028 4379 # Best one so far, save it but keep looking for a better one … … 4036 4387 esac 4037 4388 4038 4039 $ac_path_GREP_found && break 34389 $ac_path_GREP_found && break 3 4390 done 4040 4391 done 4041 done 4042 4043 done 4392 done 4044 4393 IFS=$as_save_IFS 4045 4046 4047 fi 4048 4049 GREP="$ac_cv_path_GREP" 4050 if test -z "$GREP"; then 4051 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4052 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4053 { (exit 1); exit 1; }; } 4054 fi 4055 4394 if test -z "$ac_cv_path_GREP"; then 4395 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4396 fi 4056 4397 else 4057 4398 ac_cv_path_GREP=$GREP 4058 4399 fi 4059 4400 4060 4061 fi 4062 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4063 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4401 fi 4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4403 $as_echo "$ac_cv_path_GREP" >&6; } 4064 4404 GREP="$ac_cv_path_GREP" 4065 4405 4066 4406 4067 { echo "$as_me:$LINENO: checking for egrep" >&54068 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4069 if test "${ac_cv_path_EGREP+set}" = set; then 4070 echo $ECHO_N "(cached) $ECHO_C" >&64407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4408 $as_echo_n "checking for egrep... " >&6; } 4409 if test "${ac_cv_path_EGREP+set}" = set; then : 4410 $as_echo_n "(cached) " >&6 4071 4411 else 4072 4412 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4073 4413 then ac_cv_path_EGREP="$GREP -E" 4074 4414 else 4075 # Extract the first word of "egrep" to use in msg output 4076 if test -z "$EGREP"; then 4077 set dummy egrep; ac_prog_name=$2 4078 if test "${ac_cv_path_EGREP+set}" = set; then 4079 echo $ECHO_N "(cached) $ECHO_C" >&6 4080 else 4415 if test -z "$EGREP"; then 4081 4416 ac_path_EGREP_found=false 4082 # Loop through the user's path and test for each of PROGNAME-LIST4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4417 # Loop through the user's path and test for each of PROGNAME-LIST 4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4084 4419 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4085 4420 do 4086 4421 IFS=$as_save_IFS 4087 4422 test -z "$as_dir" && as_dir=. 4088 for ac_prog in egrep; do4089 for ac_exec_ext in '' $ac_executable_extensions; do4090 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4091 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4092 4423 for ac_prog in egrep; do 4424 for ac_exec_ext in '' $ac_executable_extensions; do 4425 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4426 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4427 # Check for GNU ac_path_EGREP and select it if it is found. 4093 4428 # Check for GNU $ac_path_EGREP 4094 4429 case `"$ac_path_EGREP" --version 2>&1` in … … 4097 4432 *) 4098 4433 ac_count=0 4099 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4434 $as_echo_n 0123456789 >"conftest.in" 4100 4435 while : 4101 4436 do … … 4103 4438 mv "conftest.tmp" "conftest.in" 4104 4439 cp "conftest.in" "conftest.nl" 4105 echo 'EGREP' >> "conftest.nl"4440 $as_echo 'EGREP' >> "conftest.nl" 4106 4441 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4107 4442 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4108 a c_count=`expr $ac_count + 1`4443 as_fn_arith $ac_count + 1 && ac_count=$as_val 4109 4444 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4110 4445 # Best one so far, save it but keep looking for a better one … … 4118 4453 esac 4119 4454 4120 4121 $ac_path_EGREP_found && break 34455 $ac_path_EGREP_found && break 3 4456 done 4122 4457 done 4123 done 4124 4125 done 4458 done 4126 4459 IFS=$as_save_IFS 4127 4128 4129 fi 4130 4131 EGREP="$ac_cv_path_EGREP" 4132 if test -z "$EGREP"; then 4133 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4134 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4135 { (exit 1); exit 1; }; } 4136 fi 4137 4460 if test -z "$ac_cv_path_EGREP"; then 4461 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4462 fi 4138 4463 else 4139 4464 ac_cv_path_EGREP=$EGREP 4140 4465 fi 4141 4466 4142 4143 4467 fi 4144 4468 fi 4145 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54146 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4470 $as_echo "$ac_cv_path_EGREP" >&6; } 4147 4471 EGREP="$ac_cv_path_EGREP" 4148 4472 4149 4473 4150 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4151 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4152 if test "${ac_cv_header_stdc+set}" = set; then 4153 echo $ECHO_N "(cached) $ECHO_C" >&6 4154 else 4155 cat >conftest.$ac_ext <<_ACEOF 4156 /* confdefs.h. */ 4157 _ACEOF 4158 cat confdefs.h >>conftest.$ac_ext 4159 cat >>conftest.$ac_ext <<_ACEOF 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4475 $as_echo_n "checking for ANSI C header files... " >&6; } 4476 if test "${ac_cv_header_stdc+set}" = set; then : 4477 $as_echo_n "(cached) " >&6 4478 else 4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4160 4480 /* end confdefs.h. */ 4161 4481 #include <stdlib.h> … … 4172 4492 } 4173 4493 _ACEOF 4174 rm -f conftest.$ac_objext 4175 if { (ac_try="$ac_compile" 4176 case "(($ac_try" in 4177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4178 *) ac_try_echo=$ac_try;; 4179 esac 4180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4181 (eval "$ac_compile") 2>conftest.er1 4182 ac_status=$? 4183 grep -v '^ *+' conftest.er1 >conftest.err 4184 rm -f conftest.er1 4185 cat conftest.err >&5 4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4187 (exit $ac_status); } && { 4188 test -z "$ac_c_werror_flag" || 4189 test ! -s conftest.err 4190 } && test -s conftest.$ac_objext; then 4494 if ac_fn_c_try_compile "$LINENO"; then : 4191 4495 ac_cv_header_stdc=yes 4192 4496 else 4193 echo "$as_me: failed program was:" >&5 4194 sed 's/^/| /' conftest.$ac_ext >&5 4195 4196 ac_cv_header_stdc=no 4197 fi 4198 4497 ac_cv_header_stdc=no 4498 fi 4199 4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4200 4500 4201 4501 if test $ac_cv_header_stdc = yes; then 4202 4502 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4203 cat >conftest.$ac_ext <<_ACEOF 4204 /* confdefs.h. */ 4205 _ACEOF 4206 cat confdefs.h >>conftest.$ac_ext 4207 cat >>conftest.$ac_ext <<_ACEOF 4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4208 4504 /* end confdefs.h. */ 4209 4505 #include <string.h> … … 4211 4507 _ACEOF 4212 4508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4213 $EGREP "memchr" >/dev/null 2>&1; then 4214 : 4509 $EGREP "memchr" >/dev/null 2>&1; then : 4510 4215 4511 else 4216 4512 ac_cv_header_stdc=no … … 4222 4518 if test $ac_cv_header_stdc = yes; then 4223 4519 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4224 cat >conftest.$ac_ext <<_ACEOF 4225 /* confdefs.h. */ 4226 _ACEOF 4227 cat confdefs.h >>conftest.$ac_ext 4228 cat >>conftest.$ac_ext <<_ACEOF 4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4229 4521 /* end confdefs.h. */ 4230 4522 #include <stdlib.h> … … 4232 4524 _ACEOF 4233 4525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4234 $EGREP "free" >/dev/null 2>&1; then 4235 : 4526 $EGREP "free" >/dev/null 2>&1; then : 4527 4236 4528 else 4237 4529 ac_cv_header_stdc=no … … 4243 4535 if test $ac_cv_header_stdc = yes; then 4244 4536 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4245 if test "$cross_compiling" = yes; then 4537 if test "$cross_compiling" = yes; then : 4246 4538 : 4247 4539 else 4248 cat >conftest.$ac_ext <<_ACEOF 4249 /* confdefs.h. */ 4250 _ACEOF 4251 cat confdefs.h >>conftest.$ac_ext 4252 cat >>conftest.$ac_ext <<_ACEOF 4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4253 4541 /* end confdefs.h. */ 4254 4542 #include <ctype.h> … … 4277 4565 } 4278 4566 _ACEOF 4279 rm -f conftest$ac_exeext 4280 if { (ac_try="$ac_link" 4281 case "(($ac_try" in 4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4283 *) ac_try_echo=$ac_try;; 4284 esac 4285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4286 (eval "$ac_link") 2>&5 4287 ac_status=$? 4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4290 { (case "(($ac_try" in 4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4292 *) ac_try_echo=$ac_try;; 4293 esac 4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4295 (eval "$ac_try") 2>&5 4296 ac_status=$? 4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4298 (exit $ac_status); }; }; then 4299 : 4300 else 4301 echo "$as_me: program exited with status $ac_status" >&5 4302 echo "$as_me: failed program was:" >&5 4303 sed 's/^/| /' conftest.$ac_ext >&5 4304 4305 ( exit $ac_status ) 4306 ac_cv_header_stdc=no 4307 fi 4308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4309 fi 4310 4311 4312 fi 4313 fi 4314 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4315 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4567 if ac_fn_c_try_run "$LINENO"; then : 4568 4569 else 4570 ac_cv_header_stdc=no 4571 fi 4572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4573 conftest.$ac_objext conftest.beam conftest.$ac_ext 4574 fi 4575 4576 fi 4577 fi 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4579 $as_echo "$ac_cv_header_stdc" >&6; } 4316 4580 if test $ac_cv_header_stdc = yes; then 4317 4581 4318 cat >>confdefs.h <<\_ACEOF 4319 #define STDC_HEADERS 1 4320 _ACEOF 4321 4322 fi 4323 4324 { echo "$as_me:$LINENO: checking for atol" >&5 4325 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4326 if test "${ac_cv_func_atol+set}" = set; then 4327 echo $ECHO_N "(cached) $ECHO_C" >&6 4328 else 4329 cat >conftest.$ac_ext <<_ACEOF 4330 /* confdefs.h. */ 4331 _ACEOF 4332 cat confdefs.h >>conftest.$ac_ext 4333 cat >>conftest.$ac_ext <<_ACEOF 4334 /* end confdefs.h. */ 4335 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4336 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4337 #define atol innocuous_atol 4338 4339 /* System header to define __stub macros and hopefully few prototypes, 4340 which can conflict with char atol (); below. 4341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4342 <limits.h> exists even on freestanding compilers. */ 4343 4344 #ifdef __STDC__ 4345 # include <limits.h> 4346 #else 4347 # include <assert.h> 4348 #endif 4349 4350 #undef atol 4351 4352 /* Override any GCC internal prototype to avoid an error. 4353 Use char because int might match the return type of a GCC 4354 builtin and then its argument prototype would still apply. */ 4355 #ifdef __cplusplus 4356 extern "C" 4357 #endif 4358 char atol (); 4359 /* The GNU C library defines this for functions which it implements 4360 to always fail with ENOSYS. Some functions are actually named 4361 something starting with __ and the normal name is an alias. */ 4362 #if defined __stub_atol || defined __stub___atol 4363 choke me 4364 #endif 4365 4366 int 4367 main () 4368 { 4369 return atol (); 4370 ; 4371 return 0; 4372 } 4373 _ACEOF 4374 rm -f conftest.$ac_objext conftest$ac_exeext 4375 if { (ac_try="$ac_link" 4376 case "(($ac_try" in 4377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4378 *) ac_try_echo=$ac_try;; 4379 esac 4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4381 (eval "$ac_link") 2>conftest.er1 4382 ac_status=$? 4383 grep -v '^ *+' conftest.er1 >conftest.err 4384 rm -f conftest.er1 4385 cat conftest.err >&5 4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4387 (exit $ac_status); } && { 4388 test -z "$ac_c_werror_flag" || 4389 test ! -s conftest.err 4390 } && test -s conftest$ac_exeext && 4391 $as_test_x conftest$ac_exeext; then 4392 ac_cv_func_atol=yes 4393 else 4394 echo "$as_me: failed program was:" >&5 4395 sed 's/^/| /' conftest.$ac_ext >&5 4396 4397 ac_cv_func_atol=no 4398 fi 4399 4400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4401 conftest$ac_exeext conftest.$ac_ext 4402 fi 4403 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4404 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4405 if test $ac_cv_func_atol = yes; then 4406 : 4407 else 4408 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4409 echo "$as_me: error: oops! no atol ?!?" >&2;} 4410 { (exit 1); exit 1; }; } 4582 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4583 4584 fi 4585 4586 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4587 if test "x$ac_cv_func_atol" = x""yes; then : 4588 4589 else 4590 as_fn_error "oops! no atol ?!?" "$LINENO" 5 4411 4591 fi 4412 4592 … … 4420 4600 4421 4601 4422 4423 4602 for ac_func in sysinfo 4424 do 4425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4426 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4429 echo $ECHO_N "(cached) $ECHO_C" >&6 4430 else 4431 cat >conftest.$ac_ext <<_ACEOF 4432 /* confdefs.h. */ 4433 _ACEOF 4434 cat confdefs.h >>conftest.$ac_ext 4435 cat >>conftest.$ac_ext <<_ACEOF 4436 /* end confdefs.h. */ 4437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4438 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4439 #define $ac_func innocuous_$ac_func 4440 4441 /* System header to define __stub macros and hopefully few prototypes, 4442 which can conflict with char $ac_func (); below. 4443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4444 <limits.h> exists even on freestanding compilers. */ 4445 4446 #ifdef __STDC__ 4447 # include <limits.h> 4448 #else 4449 # include <assert.h> 4450 #endif 4451 4452 #undef $ac_func 4453 4454 /* Override any GCC internal prototype to avoid an error. 4455 Use char because int might match the return type of a GCC 4456 builtin and then its argument prototype would still apply. */ 4457 #ifdef __cplusplus 4458 extern "C" 4459 #endif 4460 char $ac_func (); 4461 /* The GNU C library defines this for functions which it implements 4462 to always fail with ENOSYS. Some functions are actually named 4463 something starting with __ and the normal name is an alias. */ 4464 #if defined __stub_$ac_func || defined __stub___$ac_func 4465 choke me 4466 #endif 4467 4468 int 4469 main () 4470 { 4471 return $ac_func (); 4472 ; 4473 return 0; 4474 } 4475 _ACEOF 4476 rm -f conftest.$ac_objext conftest$ac_exeext 4477 if { (ac_try="$ac_link" 4478 case "(($ac_try" in 4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4480 *) ac_try_echo=$ac_try;; 4481 esac 4482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4483 (eval "$ac_link") 2>conftest.er1 4484 ac_status=$? 4485 grep -v '^ *+' conftest.er1 >conftest.err 4486 rm -f conftest.er1 4487 cat conftest.err >&5 4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4489 (exit $ac_status); } && { 4490 test -z "$ac_cxx_werror_flag" || 4491 test ! -s conftest.err 4492 } && test -s conftest$ac_exeext && 4493 $as_test_x conftest$ac_exeext; then 4494 eval "$as_ac_var=yes" 4495 else 4496 echo "$as_me: failed program was:" >&5 4497 sed 's/^/| /' conftest.$ac_ext >&5 4498 4499 eval "$as_ac_var=no" 4500 fi 4501 4502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4503 conftest$ac_exeext conftest.$ac_ext 4504 fi 4505 ac_res=`eval echo '${'$as_ac_var'}'` 4506 { echo "$as_me:$LINENO: result: $ac_res" >&5 4507 echo "${ECHO_T}$ac_res" >&6; } 4508 if test `eval echo '${'$as_ac_var'}'` = yes; then 4603 do : 4604 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4605 if test "x$ac_cv_func_sysinfo" = x""yes; then : 4509 4606 cat >>confdefs.h <<_ACEOF 4510 #define `echo "HAVE_$ac_func" | $as_tr_cpp`14607 #define HAVE_SYSINFO 1 4511 4608 _ACEOF 4512 4609 4513 4610 fi 4514 4611 done 4515 4516 # On IRIX 5.3, sys/types and inttypes.h are conflicting.4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \4527 inttypes.h stdint.h unistd.h4528 do4529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`4530 { echo "$as_me:$LINENO: checking for $ac_header" >&54531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4533 echo $ECHO_N "(cached) $ECHO_C" >&64534 else4535 cat >conftest.$ac_ext <<_ACEOF4536 /* confdefs.h. */4537 _ACEOF4538 cat confdefs.h >>conftest.$ac_ext4539 cat >>conftest.$ac_ext <<_ACEOF4540 /* end confdefs.h. */4541 $ac_includes_default4542 4543 #include <$ac_header>4544 _ACEOF4545 rm -f conftest.$ac_objext4546 if { (ac_try="$ac_compile"4547 case "(($ac_try" in4548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4549 *) ac_try_echo=$ac_try;;4550 esac4551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54552 (eval "$ac_compile") 2>conftest.er14553 ac_status=$?4554 grep -v '^ *+' conftest.er1 >conftest.err4555 rm -f conftest.er14556 cat conftest.err >&54557 echo "$as_me:$LINENO: \$? = $ac_status" >&54558 (exit $ac_status); } && {4559 test -z "$ac_cxx_werror_flag" ||4560 test ! -s conftest.err4561 } && test -s conftest.$ac_objext; then4562 eval "$as_ac_Header=yes"4563 else4564 echo "$as_me: failed program was:" >&54565 sed 's/^/| /' conftest.$ac_ext >&54566 4567 eval "$as_ac_Header=no"4568 fi4569 4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4571 fi4572 ac_res=`eval echo '${'$as_ac_Header'}'`4573 { echo "$as_me:$LINENO: result: $ac_res" >&54574 echo "${ECHO_T}$ac_res" >&6; }4575 if test `eval echo '${'$as_ac_Header'}'` = yes; then4576 cat >>confdefs.h <<_ACEOF4577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 14578 _ACEOF4579 4580 fi4581 4582 done4583 4584 4612 4585 4613 ac_ext=cpp … … 4588 4616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4589 4617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4590 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54591 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4619 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4592 4620 if test -z "$CXXCPP"; then 4593 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4594 echo $ECHO_N "(cached) $ECHO_C" >&64621 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 4622 $as_echo_n "(cached) " >&6 4595 4623 else 4596 4624 # Double quotes because CXXCPP needs to be expanded … … 4606 4634 # On the NeXT, cc -E runs the code through the compiler's parser, 4607 4635 # not just through cpp. "Syntax error" is here to catch this case. 4608 cat >conftest.$ac_ext <<_ACEOF 4609 /* confdefs.h. */ 4610 _ACEOF 4611 cat confdefs.h >>conftest.$ac_ext 4612 cat >>conftest.$ac_ext <<_ACEOF 4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4613 4637 /* end confdefs.h. */ 4614 4638 #ifdef __STDC__ … … 4619 4643 Syntax error 4620 4644 _ACEOF 4621 if { (ac_try="$ac_cpp conftest.$ac_ext" 4622 case "(($ac_try" in 4623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4624 *) ac_try_echo=$ac_try;; 4625 esac 4626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4628 ac_status=$? 4629 grep -v '^ *+' conftest.er1 >conftest.err 4630 rm -f conftest.er1 4631 cat conftest.err >&5 4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4633 (exit $ac_status); } >/dev/null && { 4634 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4635 test ! -s conftest.err 4636 }; then 4637 : 4638 else 4639 echo "$as_me: failed program was:" >&5 4640 sed 's/^/| /' conftest.$ac_ext >&5 4641 4645 if ac_fn_cxx_try_cpp "$LINENO"; then : 4646 4647 else 4642 4648 # Broken: fails on valid input. 4643 4649 continue 4644 4650 fi 4645 4646 4651 rm -f conftest.err conftest.$ac_ext 4647 4652 4648 4653 # OK, works on sane cases. Now check whether nonexistent headers 4649 4654 # can be detected and how. 4650 cat >conftest.$ac_ext <<_ACEOF 4651 /* confdefs.h. */ 4652 _ACEOF 4653 cat confdefs.h >>conftest.$ac_ext 4654 cat >>conftest.$ac_ext <<_ACEOF 4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4655 4656 /* end confdefs.h. */ 4656 4657 #include <ac_nonexistent.h> 4657 4658 _ACEOF 4658 if { (ac_try="$ac_cpp conftest.$ac_ext" 4659 case "(($ac_try" in 4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4661 *) ac_try_echo=$ac_try;; 4662 esac 4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4665 ac_status=$? 4666 grep -v '^ *+' conftest.er1 >conftest.err 4667 rm -f conftest.er1 4668 cat conftest.err >&5 4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4670 (exit $ac_status); } >/dev/null && { 4671 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4672 test ! -s conftest.err 4673 }; then 4659 if ac_fn_cxx_try_cpp "$LINENO"; then : 4674 4660 # Broken: success on invalid input. 4675 4661 continue 4676 4662 else 4677 echo "$as_me: failed program was:" >&54678 sed 's/^/| /' conftest.$ac_ext >&54679 4680 4663 # Passes both tests. 4681 4664 ac_preproc_ok=: 4682 4665 break 4683 4666 fi 4684 4685 4667 rm -f conftest.err conftest.$ac_ext 4686 4668 … … 4688 4670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4689 4671 rm -f conftest.err conftest.$ac_ext 4690 if $ac_preproc_ok; then 4672 if $ac_preproc_ok; then : 4691 4673 break 4692 4674 fi … … 4700 4682 ac_cv_prog_CXXCPP=$CXXCPP 4701 4683 fi 4702 { echo "$as_me:$LINENO: result: $CXXCPP" >&54703 echo "${ECHO_T}$CXXCPP" >&6; }4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4685 $as_echo "$CXXCPP" >&6; } 4704 4686 ac_preproc_ok=false 4705 4687 for ac_cxx_preproc_warn_flag in '' yes … … 4711 4693 # On the NeXT, cc -E runs the code through the compiler's parser, 4712 4694 # not just through cpp. "Syntax error" is here to catch this case. 4713 cat >conftest.$ac_ext <<_ACEOF 4714 /* confdefs.h. */ 4715 _ACEOF 4716 cat confdefs.h >>conftest.$ac_ext 4717 cat >>conftest.$ac_ext <<_ACEOF 4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4718 4696 /* end confdefs.h. */ 4719 4697 #ifdef __STDC__ … … 4724 4702 Syntax error 4725 4703 _ACEOF 4726 if { (ac_try="$ac_cpp conftest.$ac_ext" 4727 case "(($ac_try" in 4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4729 *) ac_try_echo=$ac_try;; 4730 esac 4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4733 ac_status=$? 4734 grep -v '^ *+' conftest.er1 >conftest.err 4735 rm -f conftest.er1 4736 cat conftest.err >&5 4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4738 (exit $ac_status); } >/dev/null && { 4739 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4740 test ! -s conftest.err 4741 }; then 4742 : 4743 else 4744 echo "$as_me: failed program was:" >&5 4745 sed 's/^/| /' conftest.$ac_ext >&5 4746 4704 if ac_fn_cxx_try_cpp "$LINENO"; then : 4705 4706 else 4747 4707 # Broken: fails on valid input. 4748 4708 continue 4749 4709 fi 4750 4751 4710 rm -f conftest.err conftest.$ac_ext 4752 4711 4753 4712 # OK, works on sane cases. Now check whether nonexistent headers 4754 4713 # can be detected and how. 4755 cat >conftest.$ac_ext <<_ACEOF 4756 /* confdefs.h. */ 4757 _ACEOF 4758 cat confdefs.h >>conftest.$ac_ext 4759 cat >>conftest.$ac_ext <<_ACEOF 4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4760 4715 /* end confdefs.h. */ 4761 4716 #include <ac_nonexistent.h> 4762 4717 _ACEOF 4763 if { (ac_try="$ac_cpp conftest.$ac_ext" 4764 case "(($ac_try" in 4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4766 *) ac_try_echo=$ac_try;; 4767 esac 4768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4770 ac_status=$? 4771 grep -v '^ *+' conftest.er1 >conftest.err 4772 rm -f conftest.er1 4773 cat conftest.err >&5 4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4775 (exit $ac_status); } >/dev/null && { 4776 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4777 test ! -s conftest.err 4778 }; then 4718 if ac_fn_cxx_try_cpp "$LINENO"; then : 4779 4719 # Broken: success on invalid input. 4780 4720 continue 4781 4721 else 4782 echo "$as_me: failed program was:" >&54783 sed 's/^/| /' conftest.$ac_ext >&54784 4785 4722 # Passes both tests. 4786 4723 ac_preproc_ok=: 4787 4724 break 4788 4725 fi 4789 4790 4726 rm -f conftest.err conftest.$ac_ext 4791 4727 … … 4793 4729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4794 4730 rm -f conftest.err conftest.$ac_ext 4795 if $ac_preproc_ok; then 4796 : 4797 else 4798 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4799 See \`config.log' for more details." >&5 4800 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4801 See \`config.log' for more details." >&2;} 4802 { (exit 1); exit 1; }; } 4731 if $ac_preproc_ok; then : 4732 4733 else 4734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4736 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check 4737 See \`config.log' for more details." "$LINENO" 5; } 4803 4738 fi 4804 4739 … … 4810 4745 4811 4746 4747 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4748 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4749 inttypes.h stdint.h unistd.h 4750 do : 4751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4752 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4753 " 4754 eval as_val=\$$as_ac_Header 4755 if test "x$as_val" = x""yes; then : 4756 cat >>confdefs.h <<_ACEOF 4757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4758 _ACEOF 4759 4760 fi 4761 4762 done 4763 4812 4764 4813 4765 for ac_header in sys/sysinfo.h 4814 do 4815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4817 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4820 echo $ECHO_N "(cached) $ECHO_C" >&6 4821 fi 4822 ac_res=`eval echo '${'$as_ac_Header'}'` 4823 { echo "$as_me:$LINENO: result: $ac_res" >&5 4824 echo "${ECHO_T}$ac_res" >&6; } 4825 else 4826 # Is the header compilable? 4827 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4829 cat >conftest.$ac_ext <<_ACEOF 4830 /* confdefs.h. */ 4831 _ACEOF 4832 cat confdefs.h >>conftest.$ac_ext 4833 cat >>conftest.$ac_ext <<_ACEOF 4834 /* end confdefs.h. */ 4835 $ac_includes_default 4836 #include <$ac_header> 4837 _ACEOF 4838 rm -f conftest.$ac_objext 4839 if { (ac_try="$ac_compile" 4840 case "(($ac_try" in 4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4842 *) ac_try_echo=$ac_try;; 4843 esac 4844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4845 (eval "$ac_compile") 2>conftest.er1 4846 ac_status=$? 4847 grep -v '^ *+' conftest.er1 >conftest.err 4848 rm -f conftest.er1 4849 cat conftest.err >&5 4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4851 (exit $ac_status); } && { 4852 test -z "$ac_cxx_werror_flag" || 4853 test ! -s conftest.err 4854 } && test -s conftest.$ac_objext; then 4855 ac_header_compiler=yes 4856 else 4857 echo "$as_me: failed program was:" >&5 4858 sed 's/^/| /' conftest.$ac_ext >&5 4859 4860 ac_header_compiler=no 4861 fi 4862 4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4864 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4865 echo "${ECHO_T}$ac_header_compiler" >&6; } 4866 4867 # Is the header present? 4868 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4870 cat >conftest.$ac_ext <<_ACEOF 4871 /* confdefs.h. */ 4872 _ACEOF 4873 cat confdefs.h >>conftest.$ac_ext 4874 cat >>conftest.$ac_ext <<_ACEOF 4875 /* end confdefs.h. */ 4876 #include <$ac_header> 4877 _ACEOF 4878 if { (ac_try="$ac_cpp conftest.$ac_ext" 4879 case "(($ac_try" in 4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4881 *) ac_try_echo=$ac_try;; 4882 esac 4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4885 ac_status=$? 4886 grep -v '^ *+' conftest.er1 >conftest.err 4887 rm -f conftest.er1 4888 cat conftest.err >&5 4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4890 (exit $ac_status); } >/dev/null && { 4891 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4892 test ! -s conftest.err 4893 }; then 4894 ac_header_preproc=yes 4895 else 4896 echo "$as_me: failed program was:" >&5 4897 sed 's/^/| /' conftest.$ac_ext >&5 4898 4899 ac_header_preproc=no 4900 fi 4901 4902 rm -f conftest.err conftest.$ac_ext 4903 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4904 echo "${ECHO_T}$ac_header_preproc" >&6; } 4905 4906 # So? What about this header? 4907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4908 yes:no: ) 4909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4912 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4913 ac_header_preproc=yes 4914 ;; 4915 no:yes:* ) 4916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4919 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4920 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4921 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4922 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4923 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4926 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4927 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4928 ( cat <<\_ASBOX 4929 ## ----------------------------------- ## 4930 ## Report this to rappture@nanohub.org ## 4931 ## ----------------------------------- ## 4932 _ASBOX 4933 ) | sed "s/^/$as_me: WARNING: /" >&2 4934 ;; 4935 esac 4936 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4939 echo $ECHO_N "(cached) $ECHO_C" >&6 4940 else 4941 eval "$as_ac_Header=\$ac_header_preproc" 4942 fi 4943 ac_res=`eval echo '${'$as_ac_Header'}'` 4944 { echo "$as_me:$LINENO: result: $ac_res" >&5 4945 echo "${ECHO_T}$ac_res" >&6; } 4946 4947 fi 4948 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4766 do : 4767 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4768 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then : 4949 4769 cat >>confdefs.h <<_ACEOF 4950 #define `echo "HAVE_$ac_header" | $as_tr_cpp`14770 #define HAVE_SYS_SYSINFO_H 1 4951 4771 _ACEOF 4952 4772 … … 4956 4776 4957 4777 4958 4959 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4960 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4961 if test "${ac_cv_lib_m_main+set}" = set; then 4962 echo $ECHO_N "(cached) $ECHO_C" >&6 4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4779 $as_echo_n "checking for main in -lm... " >&6; } 4780 if test "${ac_cv_lib_m_main+set}" = set; then : 4781 $as_echo_n "(cached) " >&6 4963 4782 else 4964 4783 ac_check_lib_save_LIBS=$LIBS 4965 4784 LIBS="-lm $LIBS" 4966 cat >conftest.$ac_ext <<_ACEOF 4967 /* confdefs.h. */ 4968 _ACEOF 4969 cat confdefs.h >>conftest.$ac_ext 4970 cat >>conftest.$ac_ext <<_ACEOF 4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4971 4786 /* end confdefs.h. */ 4972 4787 … … 4980 4795 } 4981 4796 _ACEOF 4982 rm -f conftest.$ac_objext conftest$ac_exeext 4983 if { (ac_try="$ac_link" 4984 case "(($ac_try" in 4985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4986 *) ac_try_echo=$ac_try;; 4987 esac 4988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4989 (eval "$ac_link") 2>conftest.er1 4990 ac_status=$? 4991 grep -v '^ *+' conftest.er1 >conftest.err 4992 rm -f conftest.er1 4993 cat conftest.err >&5 4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4995 (exit $ac_status); } && { 4996 test -z "$ac_cxx_werror_flag" || 4997 test ! -s conftest.err 4998 } && test -s conftest$ac_exeext && 4999 $as_test_x conftest$ac_exeext; then 4797 if ac_fn_cxx_try_link "$LINENO"; then : 5000 4798 ac_cv_lib_m_main=yes 5001 4799 else 5002 echo "$as_me: failed program was:" >&5 5003 sed 's/^/| /' conftest.$ac_ext >&5 5004 5005 ac_cv_lib_m_main=no 5006 fi 5007 5008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5009 conftest$ac_exeext conftest.$ac_ext 4800 ac_cv_lib_m_main=no 4801 fi 4802 rm -f core conftest.err conftest.$ac_objext \ 4803 conftest$ac_exeext conftest.$ac_ext 5010 4804 LIBS=$ac_check_lib_save_LIBS 5011 4805 fi 5012 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55013 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5014 if test $ac_cv_lib_m_main = yes; then4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4807 $as_echo "$ac_cv_lib_m_main" >&6; } 4808 if test "x$ac_cv_lib_m_main" = x""yes; then : 5015 4809 cat >>confdefs.h <<_ACEOF 5016 4810 #define HAVE_LIBM 1 … … 5020 4814 5021 4815 else 5022 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5023 echo "$as_me: error: librappture requires libm" >&2;} 5024 { (exit 1); exit 1; }; } 5025 fi 5026 5027 5028 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5029 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5030 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5031 echo $ECHO_N "(cached) $ECHO_C" >&6 4816 as_fn_error "librappture requires libm" "$LINENO" 5 4817 fi 4818 4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4820 $as_echo_n "checking for main in -lstdc++... " >&6; } 4821 if test "${ac_cv_lib_stdcpp_main+set}" = set; then : 4822 $as_echo_n "(cached) " >&6 5032 4823 else 5033 4824 ac_check_lib_save_LIBS=$LIBS 5034 4825 LIBS="-lstdc++ $LIBS" 5035 cat >conftest.$ac_ext <<_ACEOF 5036 /* confdefs.h. */ 5037 _ACEOF 5038 cat confdefs.h >>conftest.$ac_ext 5039 cat >>conftest.$ac_ext <<_ACEOF 4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5040 4827 /* end confdefs.h. */ 5041 4828 … … 5049 4836 } 5050 4837 _ACEOF 5051 rm -f conftest.$ac_objext conftest$ac_exeext 5052 if { (ac_try="$ac_link" 5053 case "(($ac_try" in 5054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5055 *) ac_try_echo=$ac_try;; 5056 esac 5057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5058 (eval "$ac_link") 2>conftest.er1 5059 ac_status=$? 5060 grep -v '^ *+' conftest.er1 >conftest.err 5061 rm -f conftest.er1 5062 cat conftest.err >&5 5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5064 (exit $ac_status); } && { 5065 test -z "$ac_cxx_werror_flag" || 5066 test ! -s conftest.err 5067 } && test -s conftest$ac_exeext && 5068 $as_test_x conftest$ac_exeext; then 4838 if ac_fn_cxx_try_link "$LINENO"; then : 5069 4839 ac_cv_lib_stdcpp_main=yes 5070 4840 else 5071 echo "$as_me: failed program was:" >&5 5072 sed 's/^/| /' conftest.$ac_ext >&5 5073 5074 ac_cv_lib_stdcpp_main=no 5075 fi 5076 5077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5078 conftest$ac_exeext conftest.$ac_ext 4841 ac_cv_lib_stdcpp_main=no 4842 fi 4843 rm -f core conftest.err conftest.$ac_objext \ 4844 conftest$ac_exeext conftest.$ac_ext 5079 4845 LIBS=$ac_check_lib_save_LIBS 5080 4846 fi 5081 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55082 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5083 if test $ac_cv_lib_stdcpp_main = yes; then4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4848 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4849 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then : 5084 4850 cat >>confdefs.h <<_ACEOF 5085 4851 #define HAVE_LIBSTDC__ 1 … … 5089 4855 5090 4856 else 5091 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5092 echo "$as_me: error: librappture requires libstdc++" >&2;} 5093 { (exit 1); exit 1; }; } 5094 fi 5095 4857 as_fn_error "librappture requires libstdc++" "$LINENO" 5 4858 fi 5096 4859 5097 4860 for ac_header in algorithm 5098 do 5099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5101 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5104 echo $ECHO_N "(cached) $ECHO_C" >&6 5105 fi 5106 ac_res=`eval echo '${'$as_ac_Header'}'` 5107 { echo "$as_me:$LINENO: result: $ac_res" >&5 5108 echo "${ECHO_T}$ac_res" >&6; } 5109 else 5110 # Is the header compilable? 5111 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5113 cat >conftest.$ac_ext <<_ACEOF 5114 /* confdefs.h. */ 5115 _ACEOF 5116 cat confdefs.h >>conftest.$ac_ext 5117 cat >>conftest.$ac_ext <<_ACEOF 5118 /* end confdefs.h. */ 5119 $ac_includes_default 5120 #include <$ac_header> 5121 _ACEOF 5122 rm -f conftest.$ac_objext 5123 if { (ac_try="$ac_compile" 5124 case "(($ac_try" in 5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5126 *) ac_try_echo=$ac_try;; 5127 esac 5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5129 (eval "$ac_compile") 2>conftest.er1 5130 ac_status=$? 5131 grep -v '^ *+' conftest.er1 >conftest.err 5132 rm -f conftest.er1 5133 cat conftest.err >&5 5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5135 (exit $ac_status); } && { 5136 test -z "$ac_cxx_werror_flag" || 5137 test ! -s conftest.err 5138 } && test -s conftest.$ac_objext; then 5139 ac_header_compiler=yes 5140 else 5141 echo "$as_me: failed program was:" >&5 5142 sed 's/^/| /' conftest.$ac_ext >&5 5143 5144 ac_header_compiler=no 5145 fi 5146 5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5149 echo "${ECHO_T}$ac_header_compiler" >&6; } 5150 5151 # Is the header present? 5152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5154 cat >conftest.$ac_ext <<_ACEOF 5155 /* confdefs.h. */ 5156 _ACEOF 5157 cat confdefs.h >>conftest.$ac_ext 5158 cat >>conftest.$ac_ext <<_ACEOF 5159 /* end confdefs.h. */ 5160 #include <$ac_header> 5161 _ACEOF 5162 if { (ac_try="$ac_cpp conftest.$ac_ext" 5163 case "(($ac_try" in 5164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5165 *) ac_try_echo=$ac_try;; 5166 esac 5167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5169 ac_status=$? 5170 grep -v '^ *+' conftest.er1 >conftest.err 5171 rm -f conftest.er1 5172 cat conftest.err >&5 5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5174 (exit $ac_status); } >/dev/null && { 5175 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5176 test ! -s conftest.err 5177 }; then 5178 ac_header_preproc=yes 5179 else 5180 echo "$as_me: failed program was:" >&5 5181 sed 's/^/| /' conftest.$ac_ext >&5 5182 5183 ac_header_preproc=no 5184 fi 5185 5186 rm -f conftest.err conftest.$ac_ext 5187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5188 echo "${ECHO_T}$ac_header_preproc" >&6; } 5189 5190 # So? What about this header? 5191 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5192 yes:no: ) 5193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5197 ac_header_preproc=yes 5198 ;; 5199 no:yes:* ) 5200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5212 ( cat <<\_ASBOX 5213 ## ----------------------------------- ## 5214 ## Report this to rappture@nanohub.org ## 5215 ## ----------------------------------- ## 5216 _ASBOX 5217 ) | sed "s/^/$as_me: WARNING: /" >&2 5218 ;; 5219 esac 5220 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5223 echo $ECHO_N "(cached) $ECHO_C" >&6 5224 else 5225 eval "$as_ac_Header=\$ac_header_preproc" 5226 fi 5227 ac_res=`eval echo '${'$as_ac_Header'}'` 5228 { echo "$as_me:$LINENO: result: $ac_res" >&5 5229 echo "${ECHO_T}$ac_res" >&6; } 5230 5231 fi 5232 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4861 do : 4862 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4863 if test "x$ac_cv_header_algorithm" = x""yes; then : 5233 4864 cat >>confdefs.h <<_ACEOF 5234 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15235 _ACEOF 5236 5237 else 5238 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55239 echo "$as_me: WARNING: STL classes missing ?" >&2;}4865 #define HAVE_ALGORITHM 1 4866 _ACEOF 4867 4868 else 4869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4870 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5240 4871 fi 5241 4872 5242 4873 done 5243 4874 5244 5245 4875 for ac_header in cctype 5246 do 5247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5249 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5252 echo $ECHO_N "(cached) $ECHO_C" >&6 5253 fi 5254 ac_res=`eval echo '${'$as_ac_Header'}'` 5255 { echo "$as_me:$LINENO: result: $ac_res" >&5 5256 echo "${ECHO_T}$ac_res" >&6; } 5257 else 5258 # Is the header compilable? 5259 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5261 cat >conftest.$ac_ext <<_ACEOF 5262 /* confdefs.h. */ 5263 _ACEOF 5264 cat confdefs.h >>conftest.$ac_ext 5265 cat >>conftest.$ac_ext <<_ACEOF 5266 /* end confdefs.h. */ 5267 $ac_includes_default 5268 #include <$ac_header> 5269 _ACEOF 5270 rm -f conftest.$ac_objext 5271 if { (ac_try="$ac_compile" 5272 case "(($ac_try" in 5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5274 *) ac_try_echo=$ac_try;; 5275 esac 5276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5277 (eval "$ac_compile") 2>conftest.er1 5278 ac_status=$? 5279 grep -v '^ *+' conftest.er1 >conftest.err 5280 rm -f conftest.er1 5281 cat conftest.err >&5 5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5283 (exit $ac_status); } && { 5284 test -z "$ac_cxx_werror_flag" || 5285 test ! -s conftest.err 5286 } && test -s conftest.$ac_objext; then 5287 ac_header_compiler=yes 5288 else 5289 echo "$as_me: failed program was:" >&5 5290 sed 's/^/| /' conftest.$ac_ext >&5 5291 5292 ac_header_compiler=no 5293 fi 5294 5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5296 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5297 echo "${ECHO_T}$ac_header_compiler" >&6; } 5298 5299 # Is the header present? 5300 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5302 cat >conftest.$ac_ext <<_ACEOF 5303 /* confdefs.h. */ 5304 _ACEOF 5305 cat confdefs.h >>conftest.$ac_ext 5306 cat >>conftest.$ac_ext <<_ACEOF 5307 /* end confdefs.h. */ 5308 #include <$ac_header> 5309 _ACEOF 5310 if { (ac_try="$ac_cpp conftest.$ac_ext" 5311 case "(($ac_try" in 5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5313 *) ac_try_echo=$ac_try;; 5314 esac 5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5316 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5317 ac_status=$? 5318 grep -v '^ *+' conftest.er1 >conftest.err 5319 rm -f conftest.er1 5320 cat conftest.err >&5 5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5322 (exit $ac_status); } >/dev/null && { 5323 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5324 test ! -s conftest.err 5325 }; then 5326 ac_header_preproc=yes 5327 else 5328 echo "$as_me: failed program was:" >&5 5329 sed 's/^/| /' conftest.$ac_ext >&5 5330 5331 ac_header_preproc=no 5332 fi 5333 5334 rm -f conftest.err conftest.$ac_ext 5335 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5336 echo "${ECHO_T}$ac_header_preproc" >&6; } 5337 5338 # So? What about this header? 5339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5340 yes:no: ) 5341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5345 ac_header_preproc=yes 5346 ;; 5347 no:yes:* ) 5348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5360 ( cat <<\_ASBOX 5361 ## ----------------------------------- ## 5362 ## Report this to rappture@nanohub.org ## 5363 ## ----------------------------------- ## 5364 _ASBOX 5365 ) | sed "s/^/$as_me: WARNING: /" >&2 5366 ;; 5367 esac 5368 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5371 echo $ECHO_N "(cached) $ECHO_C" >&6 5372 else 5373 eval "$as_ac_Header=\$ac_header_preproc" 5374 fi 5375 ac_res=`eval echo '${'$as_ac_Header'}'` 5376 { echo "$as_me:$LINENO: result: $ac_res" >&5 5377 echo "${ECHO_T}$ac_res" >&6; } 5378 5379 fi 5380 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4876 do : 4877 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4878 if test "x$ac_cv_header_cctype" = x""yes; then : 5381 4879 cat >>confdefs.h <<_ACEOF 5382 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15383 _ACEOF 5384 5385 else 5386 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55387 echo "$as_me: WARNING: STL classes missing ?" >&2;}4880 #define HAVE_CCTYPE 1 4881 _ACEOF 4882 4883 else 4884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4885 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5388 4886 fi 5389 4887 5390 4888 done 5391 4889 5392 5393 4890 for ac_header in cfloat 5394 do 5395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5397 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5400 echo $ECHO_N "(cached) $ECHO_C" >&6 5401 fi 5402 ac_res=`eval echo '${'$as_ac_Header'}'` 5403 { echo "$as_me:$LINENO: result: $ac_res" >&5 5404 echo "${ECHO_T}$ac_res" >&6; } 5405 else 5406 # Is the header compilable? 5407 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5409 cat >conftest.$ac_ext <<_ACEOF 5410 /* confdefs.h. */ 5411 _ACEOF 5412 cat confdefs.h >>conftest.$ac_ext 5413 cat >>conftest.$ac_ext <<_ACEOF 5414 /* end confdefs.h. */ 5415 $ac_includes_default 5416 #include <$ac_header> 5417 _ACEOF 5418 rm -f conftest.$ac_objext 5419 if { (ac_try="$ac_compile" 5420 case "(($ac_try" in 5421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5422 *) ac_try_echo=$ac_try;; 5423 esac 5424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5425 (eval "$ac_compile") 2>conftest.er1 5426 ac_status=$? 5427 grep -v '^ *+' conftest.er1 >conftest.err 5428 rm -f conftest.er1 5429 cat conftest.err >&5 5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5431 (exit $ac_status); } && { 5432 test -z "$ac_cxx_werror_flag" || 5433 test ! -s conftest.err 5434 } && test -s conftest.$ac_objext; then 5435 ac_header_compiler=yes 5436 else 5437 echo "$as_me: failed program was:" >&5 5438 sed 's/^/| /' conftest.$ac_ext >&5 5439 5440 ac_header_compiler=no 5441 fi 5442 5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5444 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5445 echo "${ECHO_T}$ac_header_compiler" >&6; } 5446 5447 # Is the header present? 5448 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5450 cat >conftest.$ac_ext <<_ACEOF 5451 /* confdefs.h. */ 5452 _ACEOF 5453 cat confdefs.h >>conftest.$ac_ext 5454 cat >>conftest.$ac_ext <<_ACEOF 5455 /* end confdefs.h. */ 5456 #include <$ac_header> 5457 _ACEOF 5458 if { (ac_try="$ac_cpp conftest.$ac_ext" 5459 case "(($ac_try" in 5460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5461 *) ac_try_echo=$ac_try;; 5462 esac 5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5464 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5465 ac_status=$? 5466 grep -v '^ *+' conftest.er1 >conftest.err 5467 rm -f conftest.er1 5468 cat conftest.err >&5 5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5470 (exit $ac_status); } >/dev/null && { 5471 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5472 test ! -s conftest.err 5473 }; then 5474 ac_header_preproc=yes 5475 else 5476 echo "$as_me: failed program was:" >&5 5477 sed 's/^/| /' conftest.$ac_ext >&5 5478 5479 ac_header_preproc=no 5480 fi 5481 5482 rm -f conftest.err conftest.$ac_ext 5483 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5484 echo "${ECHO_T}$ac_header_preproc" >&6; } 5485 5486 # So? What about this header? 5487 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5488 yes:no: ) 5489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5493 ac_header_preproc=yes 5494 ;; 5495 no:yes:* ) 5496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5500 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5502 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5503 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5506 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5508 ( cat <<\_ASBOX 5509 ## ----------------------------------- ## 5510 ## Report this to rappture@nanohub.org ## 5511 ## ----------------------------------- ## 5512 _ASBOX 5513 ) | sed "s/^/$as_me: WARNING: /" >&2 5514 ;; 5515 esac 5516 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5519 echo $ECHO_N "(cached) $ECHO_C" >&6 5520 else 5521 eval "$as_ac_Header=\$ac_header_preproc" 5522 fi 5523 ac_res=`eval echo '${'$as_ac_Header'}'` 5524 { echo "$as_me:$LINENO: result: $ac_res" >&5 5525 echo "${ECHO_T}$ac_res" >&6; } 5526 5527 fi 5528 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4891 do : 4892 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4893 if test "x$ac_cv_header_cfloat" = x""yes; then : 5529 4894 cat >>confdefs.h <<_ACEOF 5530 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15531 _ACEOF 5532 5533 else 5534 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55535 echo "$as_me: WARNING: STL classes missing ?" >&2;}4895 #define HAVE_CFLOAT 1 4896 _ACEOF 4897 4898 else 4899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4900 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5536 4901 fi 5537 4902 5538 4903 done 5539 4904 5540 5541 4905 for ac_header in cmath 5542 do 5543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5545 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5548 echo $ECHO_N "(cached) $ECHO_C" >&6 5549 fi 5550 ac_res=`eval echo '${'$as_ac_Header'}'` 5551 { echo "$as_me:$LINENO: result: $ac_res" >&5 5552 echo "${ECHO_T}$ac_res" >&6; } 5553 else 5554 # Is the header compilable? 5555 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5557 cat >conftest.$ac_ext <<_ACEOF 5558 /* confdefs.h. */ 5559 _ACEOF 5560 cat confdefs.h >>conftest.$ac_ext 5561 cat >>conftest.$ac_ext <<_ACEOF 5562 /* end confdefs.h. */ 5563 $ac_includes_default 5564 #include <$ac_header> 5565 _ACEOF 5566 rm -f conftest.$ac_objext 5567 if { (ac_try="$ac_compile" 5568 case "(($ac_try" in 5569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5570 *) ac_try_echo=$ac_try;; 5571 esac 5572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5573 (eval "$ac_compile") 2>conftest.er1 5574 ac_status=$? 5575 grep -v '^ *+' conftest.er1 >conftest.err 5576 rm -f conftest.er1 5577 cat conftest.err >&5 5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5579 (exit $ac_status); } && { 5580 test -z "$ac_cxx_werror_flag" || 5581 test ! -s conftest.err 5582 } && test -s conftest.$ac_objext; then 5583 ac_header_compiler=yes 5584 else 5585 echo "$as_me: failed program was:" >&5 5586 sed 's/^/| /' conftest.$ac_ext >&5 5587 5588 ac_header_compiler=no 5589 fi 5590 5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5592 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5593 echo "${ECHO_T}$ac_header_compiler" >&6; } 5594 5595 # Is the header present? 5596 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5598 cat >conftest.$ac_ext <<_ACEOF 5599 /* confdefs.h. */ 5600 _ACEOF 5601 cat confdefs.h >>conftest.$ac_ext 5602 cat >>conftest.$ac_ext <<_ACEOF 5603 /* end confdefs.h. */ 5604 #include <$ac_header> 5605 _ACEOF 5606 if { (ac_try="$ac_cpp conftest.$ac_ext" 5607 case "(($ac_try" in 5608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5609 *) ac_try_echo=$ac_try;; 5610 esac 5611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5613 ac_status=$? 5614 grep -v '^ *+' conftest.er1 >conftest.err 5615 rm -f conftest.er1 5616 cat conftest.err >&5 5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5618 (exit $ac_status); } >/dev/null && { 5619 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5620 test ! -s conftest.err 5621 }; then 5622 ac_header_preproc=yes 5623 else 5624 echo "$as_me: failed program was:" >&5 5625 sed 's/^/| /' conftest.$ac_ext >&5 5626 5627 ac_header_preproc=no 5628 fi 5629 5630 rm -f conftest.err conftest.$ac_ext 5631 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5632 echo "${ECHO_T}$ac_header_preproc" >&6; } 5633 5634 # So? What about this header? 5635 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5636 yes:no: ) 5637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5641 ac_header_preproc=yes 5642 ;; 5643 no:yes:* ) 5644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5656 ( cat <<\_ASBOX 5657 ## ----------------------------------- ## 5658 ## Report this to rappture@nanohub.org ## 5659 ## ----------------------------------- ## 5660 _ASBOX 5661 ) | sed "s/^/$as_me: WARNING: /" >&2 5662 ;; 5663 esac 5664 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5667 echo $ECHO_N "(cached) $ECHO_C" >&6 5668 else 5669 eval "$as_ac_Header=\$ac_header_preproc" 5670 fi 5671 ac_res=`eval echo '${'$as_ac_Header'}'` 5672 { echo "$as_me:$LINENO: result: $ac_res" >&5 5673 echo "${ECHO_T}$ac_res" >&6; } 5674 5675 fi 5676 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4906 do : 4907 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 4908 if test "x$ac_cv_header_cmath" = x""yes; then : 5677 4909 cat >>confdefs.h <<_ACEOF 5678 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15679 _ACEOF 5680 5681 else 5682 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55683 echo "$as_me: WARNING: STL classes missing ?" >&2;}4910 #define HAVE_CMATH 1 4911 _ACEOF 4912 4913 else 4914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4915 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5684 4916 fi 5685 4917 5686 4918 done 5687 4919 5688 5689 4920 for ac_header in cstdio 5690 do 5691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5693 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5696 echo $ECHO_N "(cached) $ECHO_C" >&6 5697 fi 5698 ac_res=`eval echo '${'$as_ac_Header'}'` 5699 { echo "$as_me:$LINENO: result: $ac_res" >&5 5700 echo "${ECHO_T}$ac_res" >&6; } 5701 else 5702 # Is the header compilable? 5703 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5705 cat >conftest.$ac_ext <<_ACEOF 5706 /* confdefs.h. */ 5707 _ACEOF 5708 cat confdefs.h >>conftest.$ac_ext 5709 cat >>conftest.$ac_ext <<_ACEOF 5710 /* end confdefs.h. */ 5711 $ac_includes_default 5712 #include <$ac_header> 5713 _ACEOF 5714 rm -f conftest.$ac_objext 5715 if { (ac_try="$ac_compile" 5716 case "(($ac_try" in 5717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5718 *) ac_try_echo=$ac_try;; 5719 esac 5720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5721 (eval "$ac_compile") 2>conftest.er1 5722 ac_status=$? 5723 grep -v '^ *+' conftest.er1 >conftest.err 5724 rm -f conftest.er1 5725 cat conftest.err >&5 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5727 (exit $ac_status); } && { 5728 test -z "$ac_cxx_werror_flag" || 5729 test ! -s conftest.err 5730 } && test -s conftest.$ac_objext; then 5731 ac_header_compiler=yes 5732 else 5733 echo "$as_me: failed program was:" >&5 5734 sed 's/^/| /' conftest.$ac_ext >&5 5735 5736 ac_header_compiler=no 5737 fi 5738 5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5740 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5741 echo "${ECHO_T}$ac_header_compiler" >&6; } 5742 5743 # Is the header present? 5744 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5746 cat >conftest.$ac_ext <<_ACEOF 5747 /* confdefs.h. */ 5748 _ACEOF 5749 cat confdefs.h >>conftest.$ac_ext 5750 cat >>conftest.$ac_ext <<_ACEOF 5751 /* end confdefs.h. */ 5752 #include <$ac_header> 5753 _ACEOF 5754 if { (ac_try="$ac_cpp conftest.$ac_ext" 5755 case "(($ac_try" in 5756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5757 *) ac_try_echo=$ac_try;; 5758 esac 5759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5761 ac_status=$? 5762 grep -v '^ *+' conftest.er1 >conftest.err 5763 rm -f conftest.er1 5764 cat conftest.err >&5 5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5766 (exit $ac_status); } >/dev/null && { 5767 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5768 test ! -s conftest.err 5769 }; then 5770 ac_header_preproc=yes 5771 else 5772 echo "$as_me: failed program was:" >&5 5773 sed 's/^/| /' conftest.$ac_ext >&5 5774 5775 ac_header_preproc=no 5776 fi 5777 5778 rm -f conftest.err conftest.$ac_ext 5779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5780 echo "${ECHO_T}$ac_header_preproc" >&6; } 5781 5782 # So? What about this header? 5783 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5784 yes:no: ) 5785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5789 ac_header_preproc=yes 5790 ;; 5791 no:yes:* ) 5792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5804 ( cat <<\_ASBOX 5805 ## ----------------------------------- ## 5806 ## Report this to rappture@nanohub.org ## 5807 ## ----------------------------------- ## 5808 _ASBOX 5809 ) | sed "s/^/$as_me: WARNING: /" >&2 5810 ;; 5811 esac 5812 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5814 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5815 echo $ECHO_N "(cached) $ECHO_C" >&6 5816 else 5817 eval "$as_ac_Header=\$ac_header_preproc" 5818 fi 5819 ac_res=`eval echo '${'$as_ac_Header'}'` 5820 { echo "$as_me:$LINENO: result: $ac_res" >&5 5821 echo "${ECHO_T}$ac_res" >&6; } 5822 5823 fi 5824 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4921 do : 4922 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 4923 if test "x$ac_cv_header_cstdio" = x""yes; then : 5825 4924 cat >>confdefs.h <<_ACEOF 5826 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15827 _ACEOF 5828 5829 else 5830 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55831 echo "$as_me: WARNING: STL classes missing ?" >&2;}4925 #define HAVE_CSTDIO 1 4926 _ACEOF 4927 4928 else 4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4930 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5832 4931 fi 5833 4932 5834 4933 done 5835 4934 5836 5837 4935 for ac_header in cstdlib 5838 do 5839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5841 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5844 echo $ECHO_N "(cached) $ECHO_C" >&6 5845 fi 5846 ac_res=`eval echo '${'$as_ac_Header'}'` 5847 { echo "$as_me:$LINENO: result: $ac_res" >&5 5848 echo "${ECHO_T}$ac_res" >&6; } 5849 else 5850 # Is the header compilable? 5851 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5853 cat >conftest.$ac_ext <<_ACEOF 5854 /* confdefs.h. */ 5855 _ACEOF 5856 cat confdefs.h >>conftest.$ac_ext 5857 cat >>conftest.$ac_ext <<_ACEOF 5858 /* end confdefs.h. */ 5859 $ac_includes_default 5860 #include <$ac_header> 5861 _ACEOF 5862 rm -f conftest.$ac_objext 5863 if { (ac_try="$ac_compile" 5864 case "(($ac_try" in 5865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5866 *) ac_try_echo=$ac_try;; 5867 esac 5868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5869 (eval "$ac_compile") 2>conftest.er1 5870 ac_status=$? 5871 grep -v '^ *+' conftest.er1 >conftest.err 5872 rm -f conftest.er1 5873 cat conftest.err >&5 5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5875 (exit $ac_status); } && { 5876 test -z "$ac_cxx_werror_flag" || 5877 test ! -s conftest.err 5878 } && test -s conftest.$ac_objext; then 5879 ac_header_compiler=yes 5880 else 5881 echo "$as_me: failed program was:" >&5 5882 sed 's/^/| /' conftest.$ac_ext >&5 5883 5884 ac_header_compiler=no 5885 fi 5886 5887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5889 echo "${ECHO_T}$ac_header_compiler" >&6; } 5890 5891 # Is the header present? 5892 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5894 cat >conftest.$ac_ext <<_ACEOF 5895 /* confdefs.h. */ 5896 _ACEOF 5897 cat confdefs.h >>conftest.$ac_ext 5898 cat >>conftest.$ac_ext <<_ACEOF 5899 /* end confdefs.h. */ 5900 #include <$ac_header> 5901 _ACEOF 5902 if { (ac_try="$ac_cpp conftest.$ac_ext" 5903 case "(($ac_try" in 5904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5905 *) ac_try_echo=$ac_try;; 5906 esac 5907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5909 ac_status=$? 5910 grep -v '^ *+' conftest.er1 >conftest.err 5911 rm -f conftest.er1 5912 cat conftest.err >&5 5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5914 (exit $ac_status); } >/dev/null && { 5915 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5916 test ! -s conftest.err 5917 }; then 5918 ac_header_preproc=yes 5919 else 5920 echo "$as_me: failed program was:" >&5 5921 sed 's/^/| /' conftest.$ac_ext >&5 5922 5923 ac_header_preproc=no 5924 fi 5925 5926 rm -f conftest.err conftest.$ac_ext 5927 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5928 echo "${ECHO_T}$ac_header_preproc" >&6; } 5929 5930 # So? What about this header? 5931 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5932 yes:no: ) 5933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5937 ac_header_preproc=yes 5938 ;; 5939 no:yes:* ) 5940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5952 ( cat <<\_ASBOX 5953 ## ----------------------------------- ## 5954 ## Report this to rappture@nanohub.org ## 5955 ## ----------------------------------- ## 5956 _ASBOX 5957 ) | sed "s/^/$as_me: WARNING: /" >&2 5958 ;; 5959 esac 5960 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5963 echo $ECHO_N "(cached) $ECHO_C" >&6 5964 else 5965 eval "$as_ac_Header=\$ac_header_preproc" 5966 fi 5967 ac_res=`eval echo '${'$as_ac_Header'}'` 5968 { echo "$as_me:$LINENO: result: $ac_res" >&5 5969 echo "${ECHO_T}$ac_res" >&6; } 5970 5971 fi 5972 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4936 do : 4937 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 4938 if test "x$ac_cv_header_cstdlib" = x""yes; then : 5973 4939 cat >>confdefs.h <<_ACEOF 5974 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15975 _ACEOF 5976 5977 else 5978 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55979 echo "$as_me: WARNING: STL classes missing ?" >&2;}4940 #define HAVE_CSTDLIB 1 4941 _ACEOF 4942 4943 else 4944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4945 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5980 4946 fi 5981 4947 5982 4948 done 5983 4949 5984 5985 4950 for ac_header in cstring 5986 do 5987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5989 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5992 echo $ECHO_N "(cached) $ECHO_C" >&6 5993 fi 5994 ac_res=`eval echo '${'$as_ac_Header'}'` 5995 { echo "$as_me:$LINENO: result: $ac_res" >&5 5996 echo "${ECHO_T}$ac_res" >&6; } 5997 else 5998 # Is the header compilable? 5999 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6001 cat >conftest.$ac_ext <<_ACEOF 6002 /* confdefs.h. */ 6003 _ACEOF 6004 cat confdefs.h >>conftest.$ac_ext 6005 cat >>conftest.$ac_ext <<_ACEOF 6006 /* end confdefs.h. */ 6007 $ac_includes_default 6008 #include <$ac_header> 6009 _ACEOF 6010 rm -f conftest.$ac_objext 6011 if { (ac_try="$ac_compile" 6012 case "(($ac_try" in 6013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6014 *) ac_try_echo=$ac_try;; 6015 esac 6016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6017 (eval "$ac_compile") 2>conftest.er1 6018 ac_status=$? 6019 grep -v '^ *+' conftest.er1 >conftest.err 6020 rm -f conftest.er1 6021 cat conftest.err >&5 6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6023 (exit $ac_status); } && { 6024 test -z "$ac_cxx_werror_flag" || 6025 test ! -s conftest.err 6026 } && test -s conftest.$ac_objext; then 6027 ac_header_compiler=yes 6028 else 6029 echo "$as_me: failed program was:" >&5 6030 sed 's/^/| /' conftest.$ac_ext >&5 6031 6032 ac_header_compiler=no 6033 fi 6034 6035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6036 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6037 echo "${ECHO_T}$ac_header_compiler" >&6; } 6038 6039 # Is the header present? 6040 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6042 cat >conftest.$ac_ext <<_ACEOF 6043 /* confdefs.h. */ 6044 _ACEOF 6045 cat confdefs.h >>conftest.$ac_ext 6046 cat >>conftest.$ac_ext <<_ACEOF 6047 /* end confdefs.h. */ 6048 #include <$ac_header> 6049 _ACEOF 6050 if { (ac_try="$ac_cpp conftest.$ac_ext" 6051 case "(($ac_try" in 6052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6053 *) ac_try_echo=$ac_try;; 6054 esac 6055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6057 ac_status=$? 6058 grep -v '^ *+' conftest.er1 >conftest.err 6059 rm -f conftest.er1 6060 cat conftest.err >&5 6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6062 (exit $ac_status); } >/dev/null && { 6063 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6064 test ! -s conftest.err 6065 }; then 6066 ac_header_preproc=yes 6067 else 6068 echo "$as_me: failed program was:" >&5 6069 sed 's/^/| /' conftest.$ac_ext >&5 6070 6071 ac_header_preproc=no 6072 fi 6073 6074 rm -f conftest.err conftest.$ac_ext 6075 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6076 echo "${ECHO_T}$ac_header_preproc" >&6; } 6077 6078 # So? What about this header? 6079 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6080 yes:no: ) 6081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6082 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6084 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6085 ac_header_preproc=yes 6086 ;; 6087 no:yes:* ) 6088 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6089 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6090 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6091 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6092 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6093 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6094 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6095 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6098 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6099 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6100 ( cat <<\_ASBOX 6101 ## ----------------------------------- ## 6102 ## Report this to rappture@nanohub.org ## 6103 ## ----------------------------------- ## 6104 _ASBOX 6105 ) | sed "s/^/$as_me: WARNING: /" >&2 6106 ;; 6107 esac 6108 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6111 echo $ECHO_N "(cached) $ECHO_C" >&6 6112 else 6113 eval "$as_ac_Header=\$ac_header_preproc" 6114 fi 6115 ac_res=`eval echo '${'$as_ac_Header'}'` 6116 { echo "$as_me:$LINENO: result: $ac_res" >&5 6117 echo "${ECHO_T}$ac_res" >&6; } 6118 6119 fi 6120 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4951 do : 4952 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 4953 if test "x$ac_cv_header_cstring" = x""yes; then : 6121 4954 cat >>confdefs.h <<_ACEOF 6122 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16123 _ACEOF 6124 6125 else 6126 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56127 echo "$as_me: WARNING: STL classes missing ?" >&2;}4955 #define HAVE_CSTRING 1 4956 _ACEOF 4957 4958 else 4959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4960 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6128 4961 fi 6129 4962 6130 4963 done 6131 4964 6132 6133 4965 for ac_header in fstream 6134 do 6135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6137 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6140 echo $ECHO_N "(cached) $ECHO_C" >&6 6141 fi 6142 ac_res=`eval echo '${'$as_ac_Header'}'` 6143 { echo "$as_me:$LINENO: result: $ac_res" >&5 6144 echo "${ECHO_T}$ac_res" >&6; } 6145 else 6146 # Is the header compilable? 6147 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6149 cat >conftest.$ac_ext <<_ACEOF 6150 /* confdefs.h. */ 6151 _ACEOF 6152 cat confdefs.h >>conftest.$ac_ext 6153 cat >>conftest.$ac_ext <<_ACEOF 6154 /* end confdefs.h. */ 6155 $ac_includes_default 6156 #include <$ac_header> 6157 _ACEOF 6158 rm -f conftest.$ac_objext 6159 if { (ac_try="$ac_compile" 6160 case "(($ac_try" in 6161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6162 *) ac_try_echo=$ac_try;; 6163 esac 6164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6165 (eval "$ac_compile") 2>conftest.er1 6166 ac_status=$? 6167 grep -v '^ *+' conftest.er1 >conftest.err 6168 rm -f conftest.er1 6169 cat conftest.err >&5 6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6171 (exit $ac_status); } && { 6172 test -z "$ac_cxx_werror_flag" || 6173 test ! -s conftest.err 6174 } && test -s conftest.$ac_objext; then 6175 ac_header_compiler=yes 6176 else 6177 echo "$as_me: failed program was:" >&5 6178 sed 's/^/| /' conftest.$ac_ext >&5 6179 6180 ac_header_compiler=no 6181 fi 6182 6183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6184 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6185 echo "${ECHO_T}$ac_header_compiler" >&6; } 6186 6187 # Is the header present? 6188 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6190 cat >conftest.$ac_ext <<_ACEOF 6191 /* confdefs.h. */ 6192 _ACEOF 6193 cat confdefs.h >>conftest.$ac_ext 6194 cat >>conftest.$ac_ext <<_ACEOF 6195 /* end confdefs.h. */ 6196 #include <$ac_header> 6197 _ACEOF 6198 if { (ac_try="$ac_cpp conftest.$ac_ext" 6199 case "(($ac_try" in 6200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6201 *) ac_try_echo=$ac_try;; 6202 esac 6203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6205 ac_status=$? 6206 grep -v '^ *+' conftest.er1 >conftest.err 6207 rm -f conftest.er1 6208 cat conftest.err >&5 6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6210 (exit $ac_status); } >/dev/null && { 6211 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6212 test ! -s conftest.err 6213 }; then 6214 ac_header_preproc=yes 6215 else 6216 echo "$as_me: failed program was:" >&5 6217 sed 's/^/| /' conftest.$ac_ext >&5 6218 6219 ac_header_preproc=no 6220 fi 6221 6222 rm -f conftest.err conftest.$ac_ext 6223 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6224 echo "${ECHO_T}$ac_header_preproc" >&6; } 6225 6226 # So? What about this header? 6227 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6228 yes:no: ) 6229 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6233 ac_header_preproc=yes 6234 ;; 6235 no:yes:* ) 6236 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6238 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6239 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6240 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6241 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6242 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6243 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6246 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6247 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6248 ( cat <<\_ASBOX 6249 ## ----------------------------------- ## 6250 ## Report this to rappture@nanohub.org ## 6251 ## ----------------------------------- ## 6252 _ASBOX 6253 ) | sed "s/^/$as_me: WARNING: /" >&2 6254 ;; 6255 esac 6256 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6259 echo $ECHO_N "(cached) $ECHO_C" >&6 6260 else 6261 eval "$as_ac_Header=\$ac_header_preproc" 6262 fi 6263 ac_res=`eval echo '${'$as_ac_Header'}'` 6264 { echo "$as_me:$LINENO: result: $ac_res" >&5 6265 echo "${ECHO_T}$ac_res" >&6; } 6266 6267 fi 6268 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4966 do : 4967 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 4968 if test "x$ac_cv_header_fstream" = x""yes; then : 6269 4969 cat >>confdefs.h <<_ACEOF 6270 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16271 _ACEOF 6272 6273 else 6274 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56275 echo "$as_me: WARNING: STL classes missing ?" >&2;}4970 #define HAVE_FSTREAM 1 4971 _ACEOF 4972 4973 else 4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4975 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6276 4976 fi 6277 4977 6278 4978 done 6279 4979 6280 6281 4980 for ac_header in list 6282 do 6283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6285 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6288 echo $ECHO_N "(cached) $ECHO_C" >&6 6289 fi 6290 ac_res=`eval echo '${'$as_ac_Header'}'` 6291 { echo "$as_me:$LINENO: result: $ac_res" >&5 6292 echo "${ECHO_T}$ac_res" >&6; } 6293 else 6294 # Is the header compilable? 6295 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6296 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6297 cat >conftest.$ac_ext <<_ACEOF 6298 /* confdefs.h. */ 6299 _ACEOF 6300 cat confdefs.h >>conftest.$ac_ext 6301 cat >>conftest.$ac_ext <<_ACEOF 6302 /* end confdefs.h. */ 6303 $ac_includes_default 6304 #include <$ac_header> 6305 _ACEOF 6306 rm -f conftest.$ac_objext 6307 if { (ac_try="$ac_compile" 6308 case "(($ac_try" in 6309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6310 *) ac_try_echo=$ac_try;; 6311 esac 6312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6313 (eval "$ac_compile") 2>conftest.er1 6314 ac_status=$? 6315 grep -v '^ *+' conftest.er1 >conftest.err 6316 rm -f conftest.er1 6317 cat conftest.err >&5 6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6319 (exit $ac_status); } && { 6320 test -z "$ac_cxx_werror_flag" || 6321 test ! -s conftest.err 6322 } && test -s conftest.$ac_objext; then 6323 ac_header_compiler=yes 6324 else 6325 echo "$as_me: failed program was:" >&5 6326 sed 's/^/| /' conftest.$ac_ext >&5 6327 6328 ac_header_compiler=no 6329 fi 6330 6331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6332 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6333 echo "${ECHO_T}$ac_header_compiler" >&6; } 6334 6335 # Is the header present? 6336 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6338 cat >conftest.$ac_ext <<_ACEOF 6339 /* confdefs.h. */ 6340 _ACEOF 6341 cat confdefs.h >>conftest.$ac_ext 6342 cat >>conftest.$ac_ext <<_ACEOF 6343 /* end confdefs.h. */ 6344 #include <$ac_header> 6345 _ACEOF 6346 if { (ac_try="$ac_cpp conftest.$ac_ext" 6347 case "(($ac_try" in 6348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6349 *) ac_try_echo=$ac_try;; 6350 esac 6351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6352 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6353 ac_status=$? 6354 grep -v '^ *+' conftest.er1 >conftest.err 6355 rm -f conftest.er1 6356 cat conftest.err >&5 6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6358 (exit $ac_status); } >/dev/null && { 6359 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6360 test ! -s conftest.err 6361 }; then 6362 ac_header_preproc=yes 6363 else 6364 echo "$as_me: failed program was:" >&5 6365 sed 's/^/| /' conftest.$ac_ext >&5 6366 6367 ac_header_preproc=no 6368 fi 6369 6370 rm -f conftest.err conftest.$ac_ext 6371 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6372 echo "${ECHO_T}$ac_header_preproc" >&6; } 6373 6374 # So? What about this header? 6375 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6376 yes:no: ) 6377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6380 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6381 ac_header_preproc=yes 6382 ;; 6383 no:yes:* ) 6384 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6386 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6387 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6388 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6389 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6390 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6391 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6394 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6395 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6396 ( cat <<\_ASBOX 6397 ## ----------------------------------- ## 6398 ## Report this to rappture@nanohub.org ## 6399 ## ----------------------------------- ## 6400 _ASBOX 6401 ) | sed "s/^/$as_me: WARNING: /" >&2 6402 ;; 6403 esac 6404 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6407 echo $ECHO_N "(cached) $ECHO_C" >&6 6408 else 6409 eval "$as_ac_Header=\$ac_header_preproc" 6410 fi 6411 ac_res=`eval echo '${'$as_ac_Header'}'` 6412 { echo "$as_me:$LINENO: result: $ac_res" >&5 6413 echo "${ECHO_T}$ac_res" >&6; } 6414 6415 fi 6416 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4981 do : 4982 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 4983 if test "x$ac_cv_header_list" = x""yes; then : 6417 4984 cat >>confdefs.h <<_ACEOF 6418 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16419 _ACEOF 6420 6421 else 6422 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56423 echo "$as_me: WARNING: STL classes missing ?" >&2;}4985 #define HAVE_LIST 1 4986 _ACEOF 4987 4988 else 4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4990 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6424 4991 fi 6425 4992 6426 4993 done 6427 4994 6428 6429 4995 for ac_header in iostream 6430 do 6431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6433 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6436 echo $ECHO_N "(cached) $ECHO_C" >&6 6437 fi 6438 ac_res=`eval echo '${'$as_ac_Header'}'` 6439 { echo "$as_me:$LINENO: result: $ac_res" >&5 6440 echo "${ECHO_T}$ac_res" >&6; } 6441 else 6442 # Is the header compilable? 6443 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6445 cat >conftest.$ac_ext <<_ACEOF 6446 /* confdefs.h. */ 6447 _ACEOF 6448 cat confdefs.h >>conftest.$ac_ext 6449 cat >>conftest.$ac_ext <<_ACEOF 6450 /* end confdefs.h. */ 6451 $ac_includes_default 6452 #include <$ac_header> 6453 _ACEOF 6454 rm -f conftest.$ac_objext 6455 if { (ac_try="$ac_compile" 6456 case "(($ac_try" in 6457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6458 *) ac_try_echo=$ac_try;; 6459 esac 6460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6461 (eval "$ac_compile") 2>conftest.er1 6462 ac_status=$? 6463 grep -v '^ *+' conftest.er1 >conftest.err 6464 rm -f conftest.er1 6465 cat conftest.err >&5 6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6467 (exit $ac_status); } && { 6468 test -z "$ac_cxx_werror_flag" || 6469 test ! -s conftest.err 6470 } && test -s conftest.$ac_objext; then 6471 ac_header_compiler=yes 6472 else 6473 echo "$as_me: failed program was:" >&5 6474 sed 's/^/| /' conftest.$ac_ext >&5 6475 6476 ac_header_compiler=no 6477 fi 6478 6479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6480 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6481 echo "${ECHO_T}$ac_header_compiler" >&6; } 6482 6483 # Is the header present? 6484 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6486 cat >conftest.$ac_ext <<_ACEOF 6487 /* confdefs.h. */ 6488 _ACEOF 6489 cat confdefs.h >>conftest.$ac_ext 6490 cat >>conftest.$ac_ext <<_ACEOF 6491 /* end confdefs.h. */ 6492 #include <$ac_header> 6493 _ACEOF 6494 if { (ac_try="$ac_cpp conftest.$ac_ext" 6495 case "(($ac_try" in 6496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6497 *) ac_try_echo=$ac_try;; 6498 esac 6499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6501 ac_status=$? 6502 grep -v '^ *+' conftest.er1 >conftest.err 6503 rm -f conftest.er1 6504 cat conftest.err >&5 6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6506 (exit $ac_status); } >/dev/null && { 6507 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6508 test ! -s conftest.err 6509 }; then 6510 ac_header_preproc=yes 6511 else 6512 echo "$as_me: failed program was:" >&5 6513 sed 's/^/| /' conftest.$ac_ext >&5 6514 6515 ac_header_preproc=no 6516 fi 6517 6518 rm -f conftest.err conftest.$ac_ext 6519 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6520 echo "${ECHO_T}$ac_header_preproc" >&6; } 6521 6522 # So? What about this header? 6523 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6524 yes:no: ) 6525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6528 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6529 ac_header_preproc=yes 6530 ;; 6531 no:yes:* ) 6532 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6533 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6534 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6535 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6536 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6537 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6538 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6539 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6542 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6543 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6544 ( cat <<\_ASBOX 6545 ## ----------------------------------- ## 6546 ## Report this to rappture@nanohub.org ## 6547 ## ----------------------------------- ## 6548 _ASBOX 6549 ) | sed "s/^/$as_me: WARNING: /" >&2 6550 ;; 6551 esac 6552 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6554 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6555 echo $ECHO_N "(cached) $ECHO_C" >&6 6556 else 6557 eval "$as_ac_Header=\$ac_header_preproc" 6558 fi 6559 ac_res=`eval echo '${'$as_ac_Header'}'` 6560 { echo "$as_me:$LINENO: result: $ac_res" >&5 6561 echo "${ECHO_T}$ac_res" >&6; } 6562 6563 fi 6564 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4996 do : 4997 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 4998 if test "x$ac_cv_header_iostream" = x""yes; then : 6565 4999 cat >>confdefs.h <<_ACEOF 6566 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16567 _ACEOF 6568 6569 else 6570 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56571 echo "$as_me: WARNING: STL classes missing ?" >&2;}5000 #define HAVE_IOSTREAM 1 5001 _ACEOF 5002 5003 else 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5005 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6572 5006 fi 6573 5007 6574 5008 done 6575 5009 6576 6577 5010 for ac_header in iterator 6578 do 6579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6581 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6584 echo $ECHO_N "(cached) $ECHO_C" >&6 6585 fi 6586 ac_res=`eval echo '${'$as_ac_Header'}'` 6587 { echo "$as_me:$LINENO: result: $ac_res" >&5 6588 echo "${ECHO_T}$ac_res" >&6; } 6589 else 6590 # Is the header compilable? 6591 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6593 cat >conftest.$ac_ext <<_ACEOF 6594 /* confdefs.h. */ 6595 _ACEOF 6596 cat confdefs.h >>conftest.$ac_ext 6597 cat >>conftest.$ac_ext <<_ACEOF 6598 /* end confdefs.h. */ 6599 $ac_includes_default 6600 #include <$ac_header> 6601 _ACEOF 6602 rm -f conftest.$ac_objext 6603 if { (ac_try="$ac_compile" 6604 case "(($ac_try" in 6605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6606 *) ac_try_echo=$ac_try;; 6607 esac 6608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6609 (eval "$ac_compile") 2>conftest.er1 6610 ac_status=$? 6611 grep -v '^ *+' conftest.er1 >conftest.err 6612 rm -f conftest.er1 6613 cat conftest.err >&5 6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6615 (exit $ac_status); } && { 6616 test -z "$ac_cxx_werror_flag" || 6617 test ! -s conftest.err 6618 } && test -s conftest.$ac_objext; then 6619 ac_header_compiler=yes 6620 else 6621 echo "$as_me: failed program was:" >&5 6622 sed 's/^/| /' conftest.$ac_ext >&5 6623 6624 ac_header_compiler=no 6625 fi 6626 6627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6628 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6629 echo "${ECHO_T}$ac_header_compiler" >&6; } 6630 6631 # Is the header present? 6632 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6634 cat >conftest.$ac_ext <<_ACEOF 6635 /* confdefs.h. */ 6636 _ACEOF 6637 cat confdefs.h >>conftest.$ac_ext 6638 cat >>conftest.$ac_ext <<_ACEOF 6639 /* end confdefs.h. */ 6640 #include <$ac_header> 6641 _ACEOF 6642 if { (ac_try="$ac_cpp conftest.$ac_ext" 6643 case "(($ac_try" in 6644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6645 *) ac_try_echo=$ac_try;; 6646 esac 6647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6649 ac_status=$? 6650 grep -v '^ *+' conftest.er1 >conftest.err 6651 rm -f conftest.er1 6652 cat conftest.err >&5 6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6654 (exit $ac_status); } >/dev/null && { 6655 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6656 test ! -s conftest.err 6657 }; then 6658 ac_header_preproc=yes 6659 else 6660 echo "$as_me: failed program was:" >&5 6661 sed 's/^/| /' conftest.$ac_ext >&5 6662 6663 ac_header_preproc=no 6664 fi 6665 6666 rm -f conftest.err conftest.$ac_ext 6667 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6668 echo "${ECHO_T}$ac_header_preproc" >&6; } 6669 6670 # So? What about this header? 6671 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6672 yes:no: ) 6673 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6674 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6676 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6677 ac_header_preproc=yes 6678 ;; 6679 no:yes:* ) 6680 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6681 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6682 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6683 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6684 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6685 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6686 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6687 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6690 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6691 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6692 ( cat <<\_ASBOX 6693 ## ----------------------------------- ## 6694 ## Report this to rappture@nanohub.org ## 6695 ## ----------------------------------- ## 6696 _ASBOX 6697 ) | sed "s/^/$as_me: WARNING: /" >&2 6698 ;; 6699 esac 6700 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6702 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6703 echo $ECHO_N "(cached) $ECHO_C" >&6 6704 else 6705 eval "$as_ac_Header=\$ac_header_preproc" 6706 fi 6707 ac_res=`eval echo '${'$as_ac_Header'}'` 6708 { echo "$as_me:$LINENO: result: $ac_res" >&5 6709 echo "${ECHO_T}$ac_res" >&6; } 6710 6711 fi 6712 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5011 do : 5012 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5013 if test "x$ac_cv_header_iterator" = x""yes; then : 6713 5014 cat >>confdefs.h <<_ACEOF 6714 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16715 _ACEOF 6716 6717 else 6718 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56719 echo "$as_me: WARNING: STL classes missing ?" >&2;}5015 #define HAVE_ITERATOR 1 5016 _ACEOF 5017 5018 else 5019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5020 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6720 5021 fi 6721 5022 6722 5023 done 6723 5024 6724 6725 5025 for ac_header in sstream 6726 do 6727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6729 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6732 echo $ECHO_N "(cached) $ECHO_C" >&6 6733 fi 6734 ac_res=`eval echo '${'$as_ac_Header'}'` 6735 { echo "$as_me:$LINENO: result: $ac_res" >&5 6736 echo "${ECHO_T}$ac_res" >&6; } 6737 else 6738 # Is the header compilable? 6739 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6741 cat >conftest.$ac_ext <<_ACEOF 6742 /* confdefs.h. */ 6743 _ACEOF 6744 cat confdefs.h >>conftest.$ac_ext 6745 cat >>conftest.$ac_ext <<_ACEOF 6746 /* end confdefs.h. */ 6747 $ac_includes_default 6748 #include <$ac_header> 6749 _ACEOF 6750 rm -f conftest.$ac_objext 6751 if { (ac_try="$ac_compile" 6752 case "(($ac_try" in 6753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6754 *) ac_try_echo=$ac_try;; 6755 esac 6756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6757 (eval "$ac_compile") 2>conftest.er1 6758 ac_status=$? 6759 grep -v '^ *+' conftest.er1 >conftest.err 6760 rm -f conftest.er1 6761 cat conftest.err >&5 6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6763 (exit $ac_status); } && { 6764 test -z "$ac_cxx_werror_flag" || 6765 test ! -s conftest.err 6766 } && test -s conftest.$ac_objext; then 6767 ac_header_compiler=yes 6768 else 6769 echo "$as_me: failed program was:" >&5 6770 sed 's/^/| /' conftest.$ac_ext >&5 6771 6772 ac_header_compiler=no 6773 fi 6774 6775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6776 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6777 echo "${ECHO_T}$ac_header_compiler" >&6; } 6778 6779 # Is the header present? 6780 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6781 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6782 cat >conftest.$ac_ext <<_ACEOF 6783 /* confdefs.h. */ 6784 _ACEOF 6785 cat confdefs.h >>conftest.$ac_ext 6786 cat >>conftest.$ac_ext <<_ACEOF 6787 /* end confdefs.h. */ 6788 #include <$ac_header> 6789 _ACEOF 6790 if { (ac_try="$ac_cpp conftest.$ac_ext" 6791 case "(($ac_try" in 6792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6793 *) ac_try_echo=$ac_try;; 6794 esac 6795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6797 ac_status=$? 6798 grep -v '^ *+' conftest.er1 >conftest.err 6799 rm -f conftest.er1 6800 cat conftest.err >&5 6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6802 (exit $ac_status); } >/dev/null && { 6803 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6804 test ! -s conftest.err 6805 }; then 6806 ac_header_preproc=yes 6807 else 6808 echo "$as_me: failed program was:" >&5 6809 sed 's/^/| /' conftest.$ac_ext >&5 6810 6811 ac_header_preproc=no 6812 fi 6813 6814 rm -f conftest.err conftest.$ac_ext 6815 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6816 echo "${ECHO_T}$ac_header_preproc" >&6; } 6817 6818 # So? What about this header? 6819 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6820 yes:no: ) 6821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6825 ac_header_preproc=yes 6826 ;; 6827 no:yes:* ) 6828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6840 ( cat <<\_ASBOX 6841 ## ----------------------------------- ## 6842 ## Report this to rappture@nanohub.org ## 6843 ## ----------------------------------- ## 6844 _ASBOX 6845 ) | sed "s/^/$as_me: WARNING: /" >&2 6846 ;; 6847 esac 6848 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6851 echo $ECHO_N "(cached) $ECHO_C" >&6 6852 else 6853 eval "$as_ac_Header=\$ac_header_preproc" 6854 fi 6855 ac_res=`eval echo '${'$as_ac_Header'}'` 6856 { echo "$as_me:$LINENO: result: $ac_res" >&5 6857 echo "${ECHO_T}$ac_res" >&6; } 6858 6859 fi 6860 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5026 do : 5027 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5028 if test "x$ac_cv_header_sstream" = x""yes; then : 6861 5029 cat >>confdefs.h <<_ACEOF 6862 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16863 _ACEOF 6864 6865 else 6866 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56867 echo "$as_me: WARNING: STL classes missing ?" >&2;}5030 #define HAVE_SSTREAM 1 5031 _ACEOF 5032 5033 else 5034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5035 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6868 5036 fi 6869 5037 6870 5038 done 6871 5039 6872 6873 5040 for ac_header in stack 6874 do 6875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6877 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6880 echo $ECHO_N "(cached) $ECHO_C" >&6 6881 fi 6882 ac_res=`eval echo '${'$as_ac_Header'}'` 6883 { echo "$as_me:$LINENO: result: $ac_res" >&5 6884 echo "${ECHO_T}$ac_res" >&6; } 6885 else 6886 # Is the header compilable? 6887 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6889 cat >conftest.$ac_ext <<_ACEOF 6890 /* confdefs.h. */ 6891 _ACEOF 6892 cat confdefs.h >>conftest.$ac_ext 6893 cat >>conftest.$ac_ext <<_ACEOF 6894 /* end confdefs.h. */ 6895 $ac_includes_default 6896 #include <$ac_header> 6897 _ACEOF 6898 rm -f conftest.$ac_objext 6899 if { (ac_try="$ac_compile" 6900 case "(($ac_try" in 6901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6902 *) ac_try_echo=$ac_try;; 6903 esac 6904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6905 (eval "$ac_compile") 2>conftest.er1 6906 ac_status=$? 6907 grep -v '^ *+' conftest.er1 >conftest.err 6908 rm -f conftest.er1 6909 cat conftest.err >&5 6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6911 (exit $ac_status); } && { 6912 test -z "$ac_cxx_werror_flag" || 6913 test ! -s conftest.err 6914 } && test -s conftest.$ac_objext; then 6915 ac_header_compiler=yes 6916 else 6917 echo "$as_me: failed program was:" >&5 6918 sed 's/^/| /' conftest.$ac_ext >&5 6919 6920 ac_header_compiler=no 6921 fi 6922 6923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6924 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6925 echo "${ECHO_T}$ac_header_compiler" >&6; } 6926 6927 # Is the header present? 6928 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6930 cat >conftest.$ac_ext <<_ACEOF 6931 /* confdefs.h. */ 6932 _ACEOF 6933 cat confdefs.h >>conftest.$ac_ext 6934 cat >>conftest.$ac_ext <<_ACEOF 6935 /* end confdefs.h. */ 6936 #include <$ac_header> 6937 _ACEOF 6938 if { (ac_try="$ac_cpp conftest.$ac_ext" 6939 case "(($ac_try" in 6940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6941 *) ac_try_echo=$ac_try;; 6942 esac 6943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6945 ac_status=$? 6946 grep -v '^ *+' conftest.er1 >conftest.err 6947 rm -f conftest.er1 6948 cat conftest.err >&5 6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6950 (exit $ac_status); } >/dev/null && { 6951 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6952 test ! -s conftest.err 6953 }; then 6954 ac_header_preproc=yes 6955 else 6956 echo "$as_me: failed program was:" >&5 6957 sed 's/^/| /' conftest.$ac_ext >&5 6958 6959 ac_header_preproc=no 6960 fi 6961 6962 rm -f conftest.err conftest.$ac_ext 6963 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6964 echo "${ECHO_T}$ac_header_preproc" >&6; } 6965 6966 # So? What about this header? 6967 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6968 yes:no: ) 6969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6973 ac_header_preproc=yes 6974 ;; 6975 no:yes:* ) 6976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6988 ( cat <<\_ASBOX 6989 ## ----------------------------------- ## 6990 ## Report this to rappture@nanohub.org ## 6991 ## ----------------------------------- ## 6992 _ASBOX 6993 ) | sed "s/^/$as_me: WARNING: /" >&2 6994 ;; 6995 esac 6996 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6999 echo $ECHO_N "(cached) $ECHO_C" >&6 7000 else 7001 eval "$as_ac_Header=\$ac_header_preproc" 7002 fi 7003 ac_res=`eval echo '${'$as_ac_Header'}'` 7004 { echo "$as_me:$LINENO: result: $ac_res" >&5 7005 echo "${ECHO_T}$ac_res" >&6; } 7006 7007 fi 7008 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5041 do : 5042 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5043 if test "x$ac_cv_header_stack" = x""yes; then : 7009 5044 cat >>confdefs.h <<_ACEOF 7010 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17011 _ACEOF 7012 7013 else 7014 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57015 echo "$as_me: WARNING: STL classes missing ?" >&2;}5045 #define HAVE_STACK 1 5046 _ACEOF 5047 5048 else 5049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5050 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7016 5051 fi 7017 5052 7018 5053 done 7019 5054 7020 7021 5055 for ac_header in string 7022 do 7023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7025 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7028 echo $ECHO_N "(cached) $ECHO_C" >&6 7029 fi 7030 ac_res=`eval echo '${'$as_ac_Header'}'` 7031 { echo "$as_me:$LINENO: result: $ac_res" >&5 7032 echo "${ECHO_T}$ac_res" >&6; } 7033 else 7034 # Is the header compilable? 7035 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7037 cat >conftest.$ac_ext <<_ACEOF 7038 /* confdefs.h. */ 7039 _ACEOF 7040 cat confdefs.h >>conftest.$ac_ext 7041 cat >>conftest.$ac_ext <<_ACEOF 7042 /* end confdefs.h. */ 7043 $ac_includes_default 7044 #include <$ac_header> 7045 _ACEOF 7046 rm -f conftest.$ac_objext 7047 if { (ac_try="$ac_compile" 7048 case "(($ac_try" in 7049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7050 *) ac_try_echo=$ac_try;; 7051 esac 7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7053 (eval "$ac_compile") 2>conftest.er1 7054 ac_status=$? 7055 grep -v '^ *+' conftest.er1 >conftest.err 7056 rm -f conftest.er1 7057 cat conftest.err >&5 7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7059 (exit $ac_status); } && { 7060 test -z "$ac_cxx_werror_flag" || 7061 test ! -s conftest.err 7062 } && test -s conftest.$ac_objext; then 7063 ac_header_compiler=yes 7064 else 7065 echo "$as_me: failed program was:" >&5 7066 sed 's/^/| /' conftest.$ac_ext >&5 7067 7068 ac_header_compiler=no 7069 fi 7070 7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7072 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7073 echo "${ECHO_T}$ac_header_compiler" >&6; } 7074 7075 # Is the header present? 7076 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7078 cat >conftest.$ac_ext <<_ACEOF 7079 /* confdefs.h. */ 7080 _ACEOF 7081 cat confdefs.h >>conftest.$ac_ext 7082 cat >>conftest.$ac_ext <<_ACEOF 7083 /* end confdefs.h. */ 7084 #include <$ac_header> 7085 _ACEOF 7086 if { (ac_try="$ac_cpp conftest.$ac_ext" 7087 case "(($ac_try" in 7088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7089 *) ac_try_echo=$ac_try;; 7090 esac 7091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7093 ac_status=$? 7094 grep -v '^ *+' conftest.er1 >conftest.err 7095 rm -f conftest.er1 7096 cat conftest.err >&5 7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7098 (exit $ac_status); } >/dev/null && { 7099 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7100 test ! -s conftest.err 7101 }; then 7102 ac_header_preproc=yes 7103 else 7104 echo "$as_me: failed program was:" >&5 7105 sed 's/^/| /' conftest.$ac_ext >&5 7106 7107 ac_header_preproc=no 7108 fi 7109 7110 rm -f conftest.err conftest.$ac_ext 7111 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7112 echo "${ECHO_T}$ac_header_preproc" >&6; } 7113 7114 # So? What about this header? 7115 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7116 yes:no: ) 7117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7121 ac_header_preproc=yes 7122 ;; 7123 no:yes:* ) 7124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7136 ( cat <<\_ASBOX 7137 ## ----------------------------------- ## 7138 ## Report this to rappture@nanohub.org ## 7139 ## ----------------------------------- ## 7140 _ASBOX 7141 ) | sed "s/^/$as_me: WARNING: /" >&2 7142 ;; 7143 esac 7144 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7147 echo $ECHO_N "(cached) $ECHO_C" >&6 7148 else 7149 eval "$as_ac_Header=\$ac_header_preproc" 7150 fi 7151 ac_res=`eval echo '${'$as_ac_Header'}'` 7152 { echo "$as_me:$LINENO: result: $ac_res" >&5 7153 echo "${ECHO_T}$ac_res" >&6; } 7154 7155 fi 7156 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5056 do : 5057 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5058 if test "x$ac_cv_header_string" = x""yes; then : 7157 5059 cat >>confdefs.h <<_ACEOF 7158 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17159 _ACEOF 7160 7161 else 7162 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57163 echo "$as_me: WARNING: STL classes missing ?" >&2;}5060 #define HAVE_STRING 1 5061 _ACEOF 5062 5063 else 5064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5065 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7164 5066 fi 7165 5067 7166 5068 done 7167 5069 7168 7169 5070 for ac_header in vector 7170 do 7171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7173 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7176 echo $ECHO_N "(cached) $ECHO_C" >&6 7177 fi 7178 ac_res=`eval echo '${'$as_ac_Header'}'` 7179 { echo "$as_me:$LINENO: result: $ac_res" >&5 7180 echo "${ECHO_T}$ac_res" >&6; } 7181 else 7182 # Is the header compilable? 7183 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7185 cat >conftest.$ac_ext <<_ACEOF 7186 /* confdefs.h. */ 7187 _ACEOF 7188 cat confdefs.h >>conftest.$ac_ext 7189 cat >>conftest.$ac_ext <<_ACEOF 7190 /* end confdefs.h. */ 7191 $ac_includes_default 7192 #include <$ac_header> 7193 _ACEOF 7194 rm -f conftest.$ac_objext 7195 if { (ac_try="$ac_compile" 7196 case "(($ac_try" in 7197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7198 *) ac_try_echo=$ac_try;; 7199 esac 7200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7201 (eval "$ac_compile") 2>conftest.er1 7202 ac_status=$? 7203 grep -v '^ *+' conftest.er1 >conftest.err 7204 rm -f conftest.er1 7205 cat conftest.err >&5 7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7207 (exit $ac_status); } && { 7208 test -z "$ac_cxx_werror_flag" || 7209 test ! -s conftest.err 7210 } && test -s conftest.$ac_objext; then 7211 ac_header_compiler=yes 7212 else 7213 echo "$as_me: failed program was:" >&5 7214 sed 's/^/| /' conftest.$ac_ext >&5 7215 7216 ac_header_compiler=no 7217 fi 7218 7219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7220 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7221 echo "${ECHO_T}$ac_header_compiler" >&6; } 7222 7223 # Is the header present? 7224 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7226 cat >conftest.$ac_ext <<_ACEOF 7227 /* confdefs.h. */ 7228 _ACEOF 7229 cat confdefs.h >>conftest.$ac_ext 7230 cat >>conftest.$ac_ext <<_ACEOF 7231 /* end confdefs.h. */ 7232 #include <$ac_header> 7233 _ACEOF 7234 if { (ac_try="$ac_cpp conftest.$ac_ext" 7235 case "(($ac_try" in 7236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7237 *) ac_try_echo=$ac_try;; 7238 esac 7239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7241 ac_status=$? 7242 grep -v '^ *+' conftest.er1 >conftest.err 7243 rm -f conftest.er1 7244 cat conftest.err >&5 7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7246 (exit $ac_status); } >/dev/null && { 7247 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7248 test ! -s conftest.err 7249 }; then 7250 ac_header_preproc=yes 7251 else 7252 echo "$as_me: failed program was:" >&5 7253 sed 's/^/| /' conftest.$ac_ext >&5 7254 7255 ac_header_preproc=no 7256 fi 7257 7258 rm -f conftest.err conftest.$ac_ext 7259 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7260 echo "${ECHO_T}$ac_header_preproc" >&6; } 7261 7262 # So? What about this header? 7263 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7264 yes:no: ) 7265 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7269 ac_header_preproc=yes 7270 ;; 7271 no:yes:* ) 7272 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7274 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7275 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7276 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7278 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7279 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7282 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7284 ( cat <<\_ASBOX 7285 ## ----------------------------------- ## 7286 ## Report this to rappture@nanohub.org ## 7287 ## ----------------------------------- ## 7288 _ASBOX 7289 ) | sed "s/^/$as_me: WARNING: /" >&2 7290 ;; 7291 esac 7292 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7295 echo $ECHO_N "(cached) $ECHO_C" >&6 7296 else 7297 eval "$as_ac_Header=\$ac_header_preproc" 7298 fi 7299 ac_res=`eval echo '${'$as_ac_Header'}'` 7300 { echo "$as_me:$LINENO: result: $ac_res" >&5 7301 echo "${ECHO_T}$ac_res" >&6; } 7302 7303 fi 7304 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5071 do : 5072 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5073 if test "x$ac_cv_header_vector" = x""yes; then : 7305 5074 cat >>confdefs.h <<_ACEOF 7306 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17307 _ACEOF 7308 7309 else 7310 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57311 echo "$as_me: WARNING: STL classes missing ?" >&2;}5075 #define HAVE_VECTOR 1 5076 _ACEOF 5077 5078 else 5079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5080 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7312 5081 fi 7313 5082 … … 7315 5084 7316 5085 7317 7318 5086 for ac_header in assert.h 7319 do 7320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7322 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7325 echo $ECHO_N "(cached) $ECHO_C" >&6 7326 fi 7327 ac_res=`eval echo '${'$as_ac_Header'}'` 7328 { echo "$as_me:$LINENO: result: $ac_res" >&5 7329 echo "${ECHO_T}$ac_res" >&6; } 7330 else 7331 # Is the header compilable? 7332 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7333 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7334 cat >conftest.$ac_ext <<_ACEOF 7335 /* confdefs.h. */ 7336 _ACEOF 7337 cat confdefs.h >>conftest.$ac_ext 7338 cat >>conftest.$ac_ext <<_ACEOF 7339 /* end confdefs.h. */ 7340 $ac_includes_default 7341 #include <$ac_header> 7342 _ACEOF 7343 rm -f conftest.$ac_objext 7344 if { (ac_try="$ac_compile" 7345 case "(($ac_try" in 7346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7347 *) ac_try_echo=$ac_try;; 7348 esac 7349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7350 (eval "$ac_compile") 2>conftest.er1 7351 ac_status=$? 7352 grep -v '^ *+' conftest.er1 >conftest.err 7353 rm -f conftest.er1 7354 cat conftest.err >&5 7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7356 (exit $ac_status); } && { 7357 test -z "$ac_cxx_werror_flag" || 7358 test ! -s conftest.err 7359 } && test -s conftest.$ac_objext; then 7360 ac_header_compiler=yes 7361 else 7362 echo "$as_me: failed program was:" >&5 7363 sed 's/^/| /' conftest.$ac_ext >&5 7364 7365 ac_header_compiler=no 7366 fi 7367 7368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7369 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7370 echo "${ECHO_T}$ac_header_compiler" >&6; } 7371 7372 # Is the header present? 7373 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7375 cat >conftest.$ac_ext <<_ACEOF 7376 /* confdefs.h. */ 7377 _ACEOF 7378 cat confdefs.h >>conftest.$ac_ext 7379 cat >>conftest.$ac_ext <<_ACEOF 7380 /* end confdefs.h. */ 7381 #include <$ac_header> 7382 _ACEOF 7383 if { (ac_try="$ac_cpp conftest.$ac_ext" 7384 case "(($ac_try" in 7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7386 *) ac_try_echo=$ac_try;; 7387 esac 7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7390 ac_status=$? 7391 grep -v '^ *+' conftest.er1 >conftest.err 7392 rm -f conftest.er1 7393 cat conftest.err >&5 7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7395 (exit $ac_status); } >/dev/null && { 7396 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7397 test ! -s conftest.err 7398 }; then 7399 ac_header_preproc=yes 7400 else 7401 echo "$as_me: failed program was:" >&5 7402 sed 's/^/| /' conftest.$ac_ext >&5 7403 7404 ac_header_preproc=no 7405 fi 7406 7407 rm -f conftest.err conftest.$ac_ext 7408 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7409 echo "${ECHO_T}$ac_header_preproc" >&6; } 7410 7411 # So? What about this header? 7412 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7413 yes:no: ) 7414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7418 ac_header_preproc=yes 7419 ;; 7420 no:yes:* ) 7421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7433 ( cat <<\_ASBOX 7434 ## ----------------------------------- ## 7435 ## Report this to rappture@nanohub.org ## 7436 ## ----------------------------------- ## 7437 _ASBOX 7438 ) | sed "s/^/$as_me: WARNING: /" >&2 7439 ;; 7440 esac 7441 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7444 echo $ECHO_N "(cached) $ECHO_C" >&6 7445 else 7446 eval "$as_ac_Header=\$ac_header_preproc" 7447 fi 7448 ac_res=`eval echo '${'$as_ac_Header'}'` 7449 { echo "$as_me:$LINENO: result: $ac_res" >&5 7450 echo "${ECHO_T}$ac_res" >&6; } 7451 7452 fi 7453 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5087 do : 5088 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5089 if test "x$ac_cv_header_assert_h" = x""yes; then : 7454 5090 cat >>confdefs.h <<_ACEOF 7455 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17456 _ACEOF 7457 7458 else 7459 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57460 echo "$as_me: WARNING: C headers missing ?" >&2;}5091 #define HAVE_ASSERT_H 1 5092 _ACEOF 5093 5094 else 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5096 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7461 5097 fi 7462 5098 7463 5099 done 7464 5100 7465 7466 5101 for ac_header in ctype.h 7467 do 7468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7470 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7473 echo $ECHO_N "(cached) $ECHO_C" >&6 7474 fi 7475 ac_res=`eval echo '${'$as_ac_Header'}'` 7476 { echo "$as_me:$LINENO: result: $ac_res" >&5 7477 echo "${ECHO_T}$ac_res" >&6; } 7478 else 7479 # Is the header compilable? 7480 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7482 cat >conftest.$ac_ext <<_ACEOF 7483 /* confdefs.h. */ 7484 _ACEOF 7485 cat confdefs.h >>conftest.$ac_ext 7486 cat >>conftest.$ac_ext <<_ACEOF 7487 /* end confdefs.h. */ 7488 $ac_includes_default 7489 #include <$ac_header> 7490 _ACEOF 7491 rm -f conftest.$ac_objext 7492 if { (ac_try="$ac_compile" 7493 case "(($ac_try" in 7494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7495 *) ac_try_echo=$ac_try;; 7496 esac 7497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7498 (eval "$ac_compile") 2>conftest.er1 7499 ac_status=$? 7500 grep -v '^ *+' conftest.er1 >conftest.err 7501 rm -f conftest.er1 7502 cat conftest.err >&5 7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7504 (exit $ac_status); } && { 7505 test -z "$ac_cxx_werror_flag" || 7506 test ! -s conftest.err 7507 } && test -s conftest.$ac_objext; then 7508 ac_header_compiler=yes 7509 else 7510 echo "$as_me: failed program was:" >&5 7511 sed 's/^/| /' conftest.$ac_ext >&5 7512 7513 ac_header_compiler=no 7514 fi 7515 7516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7517 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7518 echo "${ECHO_T}$ac_header_compiler" >&6; } 7519 7520 # Is the header present? 7521 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7523 cat >conftest.$ac_ext <<_ACEOF 7524 /* confdefs.h. */ 7525 _ACEOF 7526 cat confdefs.h >>conftest.$ac_ext 7527 cat >>conftest.$ac_ext <<_ACEOF 7528 /* end confdefs.h. */ 7529 #include <$ac_header> 7530 _ACEOF 7531 if { (ac_try="$ac_cpp conftest.$ac_ext" 7532 case "(($ac_try" in 7533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7534 *) ac_try_echo=$ac_try;; 7535 esac 7536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7538 ac_status=$? 7539 grep -v '^ *+' conftest.er1 >conftest.err 7540 rm -f conftest.er1 7541 cat conftest.err >&5 7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7543 (exit $ac_status); } >/dev/null && { 7544 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7545 test ! -s conftest.err 7546 }; then 7547 ac_header_preproc=yes 7548 else 7549 echo "$as_me: failed program was:" >&5 7550 sed 's/^/| /' conftest.$ac_ext >&5 7551 7552 ac_header_preproc=no 7553 fi 7554 7555 rm -f conftest.err conftest.$ac_ext 7556 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7557 echo "${ECHO_T}$ac_header_preproc" >&6; } 7558 7559 # So? What about this header? 7560 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7561 yes:no: ) 7562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7566 ac_header_preproc=yes 7567 ;; 7568 no:yes:* ) 7569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7581 ( cat <<\_ASBOX 7582 ## ----------------------------------- ## 7583 ## Report this to rappture@nanohub.org ## 7584 ## ----------------------------------- ## 7585 _ASBOX 7586 ) | sed "s/^/$as_me: WARNING: /" >&2 7587 ;; 7588 esac 7589 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7592 echo $ECHO_N "(cached) $ECHO_C" >&6 7593 else 7594 eval "$as_ac_Header=\$ac_header_preproc" 7595 fi 7596 ac_res=`eval echo '${'$as_ac_Header'}'` 7597 { echo "$as_me:$LINENO: result: $ac_res" >&5 7598 echo "${ECHO_T}$ac_res" >&6; } 7599 7600 fi 7601 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5102 do : 5103 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5104 if test "x$ac_cv_header_ctype_h" = x""yes; then : 7602 5105 cat >>confdefs.h <<_ACEOF 7603 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17604 _ACEOF 7605 7606 else 7607 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57608 echo "$as_me: WARNING: C headers missing ?" >&2;}5106 #define HAVE_CTYPE_H 1 5107 _ACEOF 5108 5109 else 5110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5111 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7609 5112 fi 7610 5113 7611 5114 done 7612 5115 7613 7614 5116 for ac_header in errno.h 7615 do 7616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7618 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7621 echo $ECHO_N "(cached) $ECHO_C" >&6 7622 fi 7623 ac_res=`eval echo '${'$as_ac_Header'}'` 7624 { echo "$as_me:$LINENO: result: $ac_res" >&5 7625 echo "${ECHO_T}$ac_res" >&6; } 7626 else 7627 # Is the header compilable? 7628 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7630 cat >conftest.$ac_ext <<_ACEOF 7631 /* confdefs.h. */ 7632 _ACEOF 7633 cat confdefs.h >>conftest.$ac_ext 7634 cat >>conftest.$ac_ext <<_ACEOF 7635 /* end confdefs.h. */ 7636 $ac_includes_default 7637 #include <$ac_header> 7638 _ACEOF 7639 rm -f conftest.$ac_objext 7640 if { (ac_try="$ac_compile" 7641 case "(($ac_try" in 7642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7643 *) ac_try_echo=$ac_try;; 7644 esac 7645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7646 (eval "$ac_compile") 2>conftest.er1 7647 ac_status=$? 7648 grep -v '^ *+' conftest.er1 >conftest.err 7649 rm -f conftest.er1 7650 cat conftest.err >&5 7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7652 (exit $ac_status); } && { 7653 test -z "$ac_cxx_werror_flag" || 7654 test ! -s conftest.err 7655 } && test -s conftest.$ac_objext; then 7656 ac_header_compiler=yes 7657 else 7658 echo "$as_me: failed program was:" >&5 7659 sed 's/^/| /' conftest.$ac_ext >&5 7660 7661 ac_header_compiler=no 7662 fi 7663 7664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7665 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7666 echo "${ECHO_T}$ac_header_compiler" >&6; } 7667 7668 # Is the header present? 7669 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7671 cat >conftest.$ac_ext <<_ACEOF 7672 /* confdefs.h. */ 7673 _ACEOF 7674 cat confdefs.h >>conftest.$ac_ext 7675 cat >>conftest.$ac_ext <<_ACEOF 7676 /* end confdefs.h. */ 7677 #include <$ac_header> 7678 _ACEOF 7679 if { (ac_try="$ac_cpp conftest.$ac_ext" 7680 case "(($ac_try" in 7681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7682 *) ac_try_echo=$ac_try;; 7683 esac 7684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7686 ac_status=$? 7687 grep -v '^ *+' conftest.er1 >conftest.err 7688 rm -f conftest.er1 7689 cat conftest.err >&5 7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7691 (exit $ac_status); } >/dev/null && { 7692 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7693 test ! -s conftest.err 7694 }; then 7695 ac_header_preproc=yes 7696 else 7697 echo "$as_me: failed program was:" >&5 7698 sed 's/^/| /' conftest.$ac_ext >&5 7699 7700 ac_header_preproc=no 7701 fi 7702 7703 rm -f conftest.err conftest.$ac_ext 7704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7705 echo "${ECHO_T}$ac_header_preproc" >&6; } 7706 7707 # So? What about this header? 7708 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7709 yes:no: ) 7710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7714 ac_header_preproc=yes 7715 ;; 7716 no:yes:* ) 7717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7721 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7723 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7724 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7729 ( cat <<\_ASBOX 7730 ## ----------------------------------- ## 7731 ## Report this to rappture@nanohub.org ## 7732 ## ----------------------------------- ## 7733 _ASBOX 7734 ) | sed "s/^/$as_me: WARNING: /" >&2 7735 ;; 7736 esac 7737 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7739 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7740 echo $ECHO_N "(cached) $ECHO_C" >&6 7741 else 7742 eval "$as_ac_Header=\$ac_header_preproc" 7743 fi 7744 ac_res=`eval echo '${'$as_ac_Header'}'` 7745 { echo "$as_me:$LINENO: result: $ac_res" >&5 7746 echo "${ECHO_T}$ac_res" >&6; } 7747 7748 fi 7749 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5117 do : 5118 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5119 if test "x$ac_cv_header_errno_h" = x""yes; then : 7750 5120 cat >>confdefs.h <<_ACEOF 7751 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17752 _ACEOF 7753 7754 else 7755 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57756 echo "$as_me: WARNING: C headers missing ?" >&2;}5121 #define HAVE_ERRNO_H 1 5122 _ACEOF 5123 5124 else 5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5126 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7757 5127 fi 7758 5128 7759 5129 done 7760 5130 7761 7762 5131 for ac_header in limits.h 7763 do 7764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7766 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7768 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7769 echo $ECHO_N "(cached) $ECHO_C" >&6 7770 fi 7771 ac_res=`eval echo '${'$as_ac_Header'}'` 7772 { echo "$as_me:$LINENO: result: $ac_res" >&5 7773 echo "${ECHO_T}$ac_res" >&6; } 7774 else 7775 # Is the header compilable? 7776 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7778 cat >conftest.$ac_ext <<_ACEOF 7779 /* confdefs.h. */ 7780 _ACEOF 7781 cat confdefs.h >>conftest.$ac_ext 7782 cat >>conftest.$ac_ext <<_ACEOF 7783 /* end confdefs.h. */ 7784 $ac_includes_default 7785 #include <$ac_header> 7786 _ACEOF 7787 rm -f conftest.$ac_objext 7788 if { (ac_try="$ac_compile" 7789 case "(($ac_try" in 7790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7791 *) ac_try_echo=$ac_try;; 7792 esac 7793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7794 (eval "$ac_compile") 2>conftest.er1 7795 ac_status=$? 7796 grep -v '^ *+' conftest.er1 >conftest.err 7797 rm -f conftest.er1 7798 cat conftest.err >&5 7799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7800 (exit $ac_status); } && { 7801 test -z "$ac_cxx_werror_flag" || 7802 test ! -s conftest.err 7803 } && test -s conftest.$ac_objext; then 7804 ac_header_compiler=yes 7805 else 7806 echo "$as_me: failed program was:" >&5 7807 sed 's/^/| /' conftest.$ac_ext >&5 7808 7809 ac_header_compiler=no 7810 fi 7811 7812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7813 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7814 echo "${ECHO_T}$ac_header_compiler" >&6; } 7815 7816 # Is the header present? 7817 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7819 cat >conftest.$ac_ext <<_ACEOF 7820 /* confdefs.h. */ 7821 _ACEOF 7822 cat confdefs.h >>conftest.$ac_ext 7823 cat >>conftest.$ac_ext <<_ACEOF 7824 /* end confdefs.h. */ 7825 #include <$ac_header> 7826 _ACEOF 7827 if { (ac_try="$ac_cpp conftest.$ac_ext" 7828 case "(($ac_try" in 7829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7830 *) ac_try_echo=$ac_try;; 7831 esac 7832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7834 ac_status=$? 7835 grep -v '^ *+' conftest.er1 >conftest.err 7836 rm -f conftest.er1 7837 cat conftest.err >&5 7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7839 (exit $ac_status); } >/dev/null && { 7840 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7841 test ! -s conftest.err 7842 }; then 7843 ac_header_preproc=yes 7844 else 7845 echo "$as_me: failed program was:" >&5 7846 sed 's/^/| /' conftest.$ac_ext >&5 7847 7848 ac_header_preproc=no 7849 fi 7850 7851 rm -f conftest.err conftest.$ac_ext 7852 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7853 echo "${ECHO_T}$ac_header_preproc" >&6; } 7854 7855 # So? What about this header? 7856 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7857 yes:no: ) 7858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7862 ac_header_preproc=yes 7863 ;; 7864 no:yes:* ) 7865 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7866 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7867 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7868 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7869 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7870 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7871 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7872 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7875 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7876 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7877 ( cat <<\_ASBOX 7878 ## ----------------------------------- ## 7879 ## Report this to rappture@nanohub.org ## 7880 ## ----------------------------------- ## 7881 _ASBOX 7882 ) | sed "s/^/$as_me: WARNING: /" >&2 7883 ;; 7884 esac 7885 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7888 echo $ECHO_N "(cached) $ECHO_C" >&6 7889 else 7890 eval "$as_ac_Header=\$ac_header_preproc" 7891 fi 7892 ac_res=`eval echo '${'$as_ac_Header'}'` 7893 { echo "$as_me:$LINENO: result: $ac_res" >&5 7894 echo "${ECHO_T}$ac_res" >&6; } 7895 7896 fi 7897 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5132 do : 5133 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5134 if test "x$ac_cv_header_limits_h" = x""yes; then : 7898 5135 cat >>confdefs.h <<_ACEOF 7899 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17900 _ACEOF 7901 7902 else 7903 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57904 echo "$as_me: WARNING: C headers missing ?" >&2;}5136 #define HAVE_LIMITS_H 1 5137 _ACEOF 5138 5139 else 5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5141 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7905 5142 fi 7906 5143 7907 5144 done 7908 5145 7909 7910 5146 for ac_header in string.h 7911 do 7912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7914 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7917 echo $ECHO_N "(cached) $ECHO_C" >&6 7918 fi 7919 ac_res=`eval echo '${'$as_ac_Header'}'` 7920 { echo "$as_me:$LINENO: result: $ac_res" >&5 7921 echo "${ECHO_T}$ac_res" >&6; } 7922 else 7923 # Is the header compilable? 7924 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7926 cat >conftest.$ac_ext <<_ACEOF 7927 /* confdefs.h. */ 7928 _ACEOF 7929 cat confdefs.h >>conftest.$ac_ext 7930 cat >>conftest.$ac_ext <<_ACEOF 7931 /* end confdefs.h. */ 7932 $ac_includes_default 7933 #include <$ac_header> 7934 _ACEOF 7935 rm -f conftest.$ac_objext 7936 if { (ac_try="$ac_compile" 7937 case "(($ac_try" in 7938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7939 *) ac_try_echo=$ac_try;; 7940 esac 7941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7942 (eval "$ac_compile") 2>conftest.er1 7943 ac_status=$? 7944 grep -v '^ *+' conftest.er1 >conftest.err 7945 rm -f conftest.er1 7946 cat conftest.err >&5 7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7948 (exit $ac_status); } && { 7949 test -z "$ac_cxx_werror_flag" || 7950 test ! -s conftest.err 7951 } && test -s conftest.$ac_objext; then 7952 ac_header_compiler=yes 7953 else 7954 echo "$as_me: failed program was:" >&5 7955 sed 's/^/| /' conftest.$ac_ext >&5 7956 7957 ac_header_compiler=no 7958 fi 7959 7960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7961 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7962 echo "${ECHO_T}$ac_header_compiler" >&6; } 7963 7964 # Is the header present? 7965 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7967 cat >conftest.$ac_ext <<_ACEOF 7968 /* confdefs.h. */ 7969 _ACEOF 7970 cat confdefs.h >>conftest.$ac_ext 7971 cat >>conftest.$ac_ext <<_ACEOF 7972 /* end confdefs.h. */ 7973 #include <$ac_header> 7974 _ACEOF 7975 if { (ac_try="$ac_cpp conftest.$ac_ext" 7976 case "(($ac_try" in 7977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7978 *) ac_try_echo=$ac_try;; 7979 esac 7980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7982 ac_status=$? 7983 grep -v '^ *+' conftest.er1 >conftest.err 7984 rm -f conftest.er1 7985 cat conftest.err >&5 7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7987 (exit $ac_status); } >/dev/null && { 7988 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7989 test ! -s conftest.err 7990 }; then 7991 ac_header_preproc=yes 7992 else 7993 echo "$as_me: failed program was:" >&5 7994 sed 's/^/| /' conftest.$ac_ext >&5 7995 7996 ac_header_preproc=no 7997 fi 7998 7999 rm -f conftest.err conftest.$ac_ext 8000 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8001 echo "${ECHO_T}$ac_header_preproc" >&6; } 8002 8003 # So? What about this header? 8004 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8005 yes:no: ) 8006 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8007 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8009 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8010 ac_header_preproc=yes 8011 ;; 8012 no:yes:* ) 8013 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8014 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8015 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8016 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8017 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8018 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8019 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8020 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8022 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8023 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8024 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8025 ( cat <<\_ASBOX 8026 ## ----------------------------------- ## 8027 ## Report this to rappture@nanohub.org ## 8028 ## ----------------------------------- ## 8029 _ASBOX 8030 ) | sed "s/^/$as_me: WARNING: /" >&2 8031 ;; 8032 esac 8033 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8036 echo $ECHO_N "(cached) $ECHO_C" >&6 8037 else 8038 eval "$as_ac_Header=\$ac_header_preproc" 8039 fi 8040 ac_res=`eval echo '${'$as_ac_Header'}'` 8041 { echo "$as_me:$LINENO: result: $ac_res" >&5 8042 echo "${ECHO_T}$ac_res" >&6; } 8043 8044 fi 8045 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5147 do : 5148 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5149 if test "x$ac_cv_header_string_h" = x""yes; then : 8046 5150 cat >>confdefs.h <<_ACEOF 8047 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18048 _ACEOF 8049 8050 else 8051 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58052 echo "$as_me: WARNING: C headers missing ?" >&2;}5151 #define HAVE_STRING_H 1 5152 _ACEOF 5153 5154 else 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5156 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8053 5157 fi 8054 5158 8055 5159 done 8056 5160 8057 8058 5161 for ac_header in stdlib.h 8059 do 8060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8062 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8064 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8065 echo $ECHO_N "(cached) $ECHO_C" >&6 8066 fi 8067 ac_res=`eval echo '${'$as_ac_Header'}'` 8068 { echo "$as_me:$LINENO: result: $ac_res" >&5 8069 echo "${ECHO_T}$ac_res" >&6; } 8070 else 8071 # Is the header compilable? 8072 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8074 cat >conftest.$ac_ext <<_ACEOF 8075 /* confdefs.h. */ 8076 _ACEOF 8077 cat confdefs.h >>conftest.$ac_ext 8078 cat >>conftest.$ac_ext <<_ACEOF 8079 /* end confdefs.h. */ 8080 $ac_includes_default 8081 #include <$ac_header> 8082 _ACEOF 8083 rm -f conftest.$ac_objext 8084 if { (ac_try="$ac_compile" 8085 case "(($ac_try" in 8086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8087 *) ac_try_echo=$ac_try;; 8088 esac 8089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8090 (eval "$ac_compile") 2>conftest.er1 8091 ac_status=$? 8092 grep -v '^ *+' conftest.er1 >conftest.err 8093 rm -f conftest.er1 8094 cat conftest.err >&5 8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8096 (exit $ac_status); } && { 8097 test -z "$ac_cxx_werror_flag" || 8098 test ! -s conftest.err 8099 } && test -s conftest.$ac_objext; then 8100 ac_header_compiler=yes 8101 else 8102 echo "$as_me: failed program was:" >&5 8103 sed 's/^/| /' conftest.$ac_ext >&5 8104 8105 ac_header_compiler=no 8106 fi 8107 8108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8109 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8110 echo "${ECHO_T}$ac_header_compiler" >&6; } 8111 8112 # Is the header present? 8113 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8114 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8115 cat >conftest.$ac_ext <<_ACEOF 8116 /* confdefs.h. */ 8117 _ACEOF 8118 cat confdefs.h >>conftest.$ac_ext 8119 cat >>conftest.$ac_ext <<_ACEOF 8120 /* end confdefs.h. */ 8121 #include <$ac_header> 8122 _ACEOF 8123 if { (ac_try="$ac_cpp conftest.$ac_ext" 8124 case "(($ac_try" in 8125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8126 *) ac_try_echo=$ac_try;; 8127 esac 8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8130 ac_status=$? 8131 grep -v '^ *+' conftest.er1 >conftest.err 8132 rm -f conftest.er1 8133 cat conftest.err >&5 8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8135 (exit $ac_status); } >/dev/null && { 8136 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8137 test ! -s conftest.err 8138 }; then 8139 ac_header_preproc=yes 8140 else 8141 echo "$as_me: failed program was:" >&5 8142 sed 's/^/| /' conftest.$ac_ext >&5 8143 8144 ac_header_preproc=no 8145 fi 8146 8147 rm -f conftest.err conftest.$ac_ext 8148 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8149 echo "${ECHO_T}$ac_header_preproc" >&6; } 8150 8151 # So? What about this header? 8152 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8153 yes:no: ) 8154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8158 ac_header_preproc=yes 8159 ;; 8160 no:yes:* ) 8161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8173 ( cat <<\_ASBOX 8174 ## ----------------------------------- ## 8175 ## Report this to rappture@nanohub.org ## 8176 ## ----------------------------------- ## 8177 _ASBOX 8178 ) | sed "s/^/$as_me: WARNING: /" >&2 8179 ;; 8180 esac 8181 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8184 echo $ECHO_N "(cached) $ECHO_C" >&6 8185 else 8186 eval "$as_ac_Header=\$ac_header_preproc" 8187 fi 8188 ac_res=`eval echo '${'$as_ac_Header'}'` 8189 { echo "$as_me:$LINENO: result: $ac_res" >&5 8190 echo "${ECHO_T}$ac_res" >&6; } 8191 8192 fi 8193 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5162 do : 5163 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5164 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 8194 5165 cat >>confdefs.h <<_ACEOF 8195 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18196 _ACEOF 8197 8198 else 8199 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58200 echo "$as_me: WARNING: C headers missing ?" >&2;}5166 #define HAVE_STDLIB_H 1 5167 _ACEOF 5168 5169 else 5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5171 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8201 5172 fi 8202 5173 8203 5174 done 8204 5175 8205 8206 5176 for ac_header in stddef.h 8207 do 8208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8210 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8213 echo $ECHO_N "(cached) $ECHO_C" >&6 8214 fi 8215 ac_res=`eval echo '${'$as_ac_Header'}'` 8216 { echo "$as_me:$LINENO: result: $ac_res" >&5 8217 echo "${ECHO_T}$ac_res" >&6; } 8218 else 8219 # Is the header compilable? 8220 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8222 cat >conftest.$ac_ext <<_ACEOF 8223 /* confdefs.h. */ 8224 _ACEOF 8225 cat confdefs.h >>conftest.$ac_ext 8226 cat >>conftest.$ac_ext <<_ACEOF 8227 /* end confdefs.h. */ 8228 $ac_includes_default 8229 #include <$ac_header> 8230 _ACEOF 8231 rm -f conftest.$ac_objext 8232 if { (ac_try="$ac_compile" 8233 case "(($ac_try" in 8234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8235 *) ac_try_echo=$ac_try;; 8236 esac 8237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8238 (eval "$ac_compile") 2>conftest.er1 8239 ac_status=$? 8240 grep -v '^ *+' conftest.er1 >conftest.err 8241 rm -f conftest.er1 8242 cat conftest.err >&5 8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 (exit $ac_status); } && { 8245 test -z "$ac_cxx_werror_flag" || 8246 test ! -s conftest.err 8247 } && test -s conftest.$ac_objext; then 8248 ac_header_compiler=yes 8249 else 8250 echo "$as_me: failed program was:" >&5 8251 sed 's/^/| /' conftest.$ac_ext >&5 8252 8253 ac_header_compiler=no 8254 fi 8255 8256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8257 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8258 echo "${ECHO_T}$ac_header_compiler" >&6; } 8259 8260 # Is the header present? 8261 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8263 cat >conftest.$ac_ext <<_ACEOF 8264 /* confdefs.h. */ 8265 _ACEOF 8266 cat confdefs.h >>conftest.$ac_ext 8267 cat >>conftest.$ac_ext <<_ACEOF 8268 /* end confdefs.h. */ 8269 #include <$ac_header> 8270 _ACEOF 8271 if { (ac_try="$ac_cpp conftest.$ac_ext" 8272 case "(($ac_try" in 8273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8274 *) ac_try_echo=$ac_try;; 8275 esac 8276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8278 ac_status=$? 8279 grep -v '^ *+' conftest.er1 >conftest.err 8280 rm -f conftest.er1 8281 cat conftest.err >&5 8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8283 (exit $ac_status); } >/dev/null && { 8284 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8285 test ! -s conftest.err 8286 }; then 8287 ac_header_preproc=yes 8288 else 8289 echo "$as_me: failed program was:" >&5 8290 sed 's/^/| /' conftest.$ac_ext >&5 8291 8292 ac_header_preproc=no 8293 fi 8294 8295 rm -f conftest.err conftest.$ac_ext 8296 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8297 echo "${ECHO_T}$ac_header_preproc" >&6; } 8298 8299 # So? What about this header? 8300 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8301 yes:no: ) 8302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8306 ac_header_preproc=yes 8307 ;; 8308 no:yes:* ) 8309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8321 ( cat <<\_ASBOX 8322 ## ----------------------------------- ## 8323 ## Report this to rappture@nanohub.org ## 8324 ## ----------------------------------- ## 8325 _ASBOX 8326 ) | sed "s/^/$as_me: WARNING: /" >&2 8327 ;; 8328 esac 8329 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8332 echo $ECHO_N "(cached) $ECHO_C" >&6 8333 else 8334 eval "$as_ac_Header=\$ac_header_preproc" 8335 fi 8336 ac_res=`eval echo '${'$as_ac_Header'}'` 8337 { echo "$as_me:$LINENO: result: $ac_res" >&5 8338 echo "${ECHO_T}$ac_res" >&6; } 8339 8340 fi 8341 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5177 do : 5178 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5179 if test "x$ac_cv_header_stddef_h" = x""yes; then : 8342 5180 cat >>confdefs.h <<_ACEOF 8343 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18344 _ACEOF 8345 8346 else 8347 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58348 echo "$as_me: WARNING: C headers missing ?" >&2;}5181 #define HAVE_STDDEF_H 1 5182 _ACEOF 5183 5184 else 5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5186 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8349 5187 fi 8350 5188 8351 5189 done 8352 5190 8353 8354 5191 for ac_header in float.h 8355 do 8356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8358 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8361 echo $ECHO_N "(cached) $ECHO_C" >&6 8362 fi 8363 ac_res=`eval echo '${'$as_ac_Header'}'` 8364 { echo "$as_me:$LINENO: result: $ac_res" >&5 8365 echo "${ECHO_T}$ac_res" >&6; } 8366 else 8367 # Is the header compilable? 8368 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8370 cat >conftest.$ac_ext <<_ACEOF 8371 /* confdefs.h. */ 8372 _ACEOF 8373 cat confdefs.h >>conftest.$ac_ext 8374 cat >>conftest.$ac_ext <<_ACEOF 8375 /* end confdefs.h. */ 8376 $ac_includes_default 8377 #include <$ac_header> 8378 _ACEOF 8379 rm -f conftest.$ac_objext 8380 if { (ac_try="$ac_compile" 8381 case "(($ac_try" in 8382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8383 *) ac_try_echo=$ac_try;; 8384 esac 8385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8386 (eval "$ac_compile") 2>conftest.er1 8387 ac_status=$? 8388 grep -v '^ *+' conftest.er1 >conftest.err 8389 rm -f conftest.er1 8390 cat conftest.err >&5 8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8392 (exit $ac_status); } && { 8393 test -z "$ac_cxx_werror_flag" || 8394 test ! -s conftest.err 8395 } && test -s conftest.$ac_objext; then 8396 ac_header_compiler=yes 8397 else 8398 echo "$as_me: failed program was:" >&5 8399 sed 's/^/| /' conftest.$ac_ext >&5 8400 8401 ac_header_compiler=no 8402 fi 8403 8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8405 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8406 echo "${ECHO_T}$ac_header_compiler" >&6; } 8407 8408 # Is the header present? 8409 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8411 cat >conftest.$ac_ext <<_ACEOF 8412 /* confdefs.h. */ 8413 _ACEOF 8414 cat confdefs.h >>conftest.$ac_ext 8415 cat >>conftest.$ac_ext <<_ACEOF 8416 /* end confdefs.h. */ 8417 #include <$ac_header> 8418 _ACEOF 8419 if { (ac_try="$ac_cpp conftest.$ac_ext" 8420 case "(($ac_try" in 8421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8422 *) ac_try_echo=$ac_try;; 8423 esac 8424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8426 ac_status=$? 8427 grep -v '^ *+' conftest.er1 >conftest.err 8428 rm -f conftest.er1 8429 cat conftest.err >&5 8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8431 (exit $ac_status); } >/dev/null && { 8432 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8433 test ! -s conftest.err 8434 }; then 8435 ac_header_preproc=yes 8436 else 8437 echo "$as_me: failed program was:" >&5 8438 sed 's/^/| /' conftest.$ac_ext >&5 8439 8440 ac_header_preproc=no 8441 fi 8442 8443 rm -f conftest.err conftest.$ac_ext 8444 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8445 echo "${ECHO_T}$ac_header_preproc" >&6; } 8446 8447 # So? What about this header? 8448 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8449 yes:no: ) 8450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8454 ac_header_preproc=yes 8455 ;; 8456 no:yes:* ) 8457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8469 ( cat <<\_ASBOX 8470 ## ----------------------------------- ## 8471 ## Report this to rappture@nanohub.org ## 8472 ## ----------------------------------- ## 8473 _ASBOX 8474 ) | sed "s/^/$as_me: WARNING: /" >&2 8475 ;; 8476 esac 8477 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8480 echo $ECHO_N "(cached) $ECHO_C" >&6 8481 else 8482 eval "$as_ac_Header=\$ac_header_preproc" 8483 fi 8484 ac_res=`eval echo '${'$as_ac_Header'}'` 8485 { echo "$as_me:$LINENO: result: $ac_res" >&5 8486 echo "${ECHO_T}$ac_res" >&6; } 8487 8488 fi 8489 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5192 do : 5193 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5194 if test "x$ac_cv_header_float_h" = x""yes; then : 8490 5195 cat >>confdefs.h <<_ACEOF 8491 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18492 _ACEOF 8493 8494 else 8495 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58496 echo "$as_me: WARNING: C headers missing ?" >&2;}5196 #define HAVE_FLOAT_H 1 5197 _ACEOF 5198 5199 else 5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5201 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8497 5202 fi 8498 5203 8499 5204 done 8500 5205 8501 8502 5206 for ac_header in math.h 8503 do 8504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8506 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8509 echo $ECHO_N "(cached) $ECHO_C" >&6 8510 fi 8511 ac_res=`eval echo '${'$as_ac_Header'}'` 8512 { echo "$as_me:$LINENO: result: $ac_res" >&5 8513 echo "${ECHO_T}$ac_res" >&6; } 8514 else 8515 # Is the header compilable? 8516 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8518 cat >conftest.$ac_ext <<_ACEOF 8519 /* confdefs.h. */ 8520 _ACEOF 8521 cat confdefs.h >>conftest.$ac_ext 8522 cat >>conftest.$ac_ext <<_ACEOF 8523 /* end confdefs.h. */ 8524 $ac_includes_default 8525 #include <$ac_header> 8526 _ACEOF 8527 rm -f conftest.$ac_objext 8528 if { (ac_try="$ac_compile" 8529 case "(($ac_try" in 8530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8531 *) ac_try_echo=$ac_try;; 8532 esac 8533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8534 (eval "$ac_compile") 2>conftest.er1 8535 ac_status=$? 8536 grep -v '^ *+' conftest.er1 >conftest.err 8537 rm -f conftest.er1 8538 cat conftest.err >&5 8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8540 (exit $ac_status); } && { 8541 test -z "$ac_cxx_werror_flag" || 8542 test ! -s conftest.err 8543 } && test -s conftest.$ac_objext; then 8544 ac_header_compiler=yes 8545 else 8546 echo "$as_me: failed program was:" >&5 8547 sed 's/^/| /' conftest.$ac_ext >&5 8548 8549 ac_header_compiler=no 8550 fi 8551 8552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8553 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8554 echo "${ECHO_T}$ac_header_compiler" >&6; } 8555 8556 # Is the header present? 8557 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8559 cat >conftest.$ac_ext <<_ACEOF 8560 /* confdefs.h. */ 8561 _ACEOF 8562 cat confdefs.h >>conftest.$ac_ext 8563 cat >>conftest.$ac_ext <<_ACEOF 8564 /* end confdefs.h. */ 8565 #include <$ac_header> 8566 _ACEOF 8567 if { (ac_try="$ac_cpp conftest.$ac_ext" 8568 case "(($ac_try" in 8569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8570 *) ac_try_echo=$ac_try;; 8571 esac 8572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8574 ac_status=$? 8575 grep -v '^ *+' conftest.er1 >conftest.err 8576 rm -f conftest.er1 8577 cat conftest.err >&5 8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8579 (exit $ac_status); } >/dev/null && { 8580 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8581 test ! -s conftest.err 8582 }; then 8583 ac_header_preproc=yes 8584 else 8585 echo "$as_me: failed program was:" >&5 8586 sed 's/^/| /' conftest.$ac_ext >&5 8587 8588 ac_header_preproc=no 8589 fi 8590 8591 rm -f conftest.err conftest.$ac_ext 8592 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8593 echo "${ECHO_T}$ac_header_preproc" >&6; } 8594 8595 # So? What about this header? 8596 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8597 yes:no: ) 8598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8601 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8602 ac_header_preproc=yes 8603 ;; 8604 no:yes:* ) 8605 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8606 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8607 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8608 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8609 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8610 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8611 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8612 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8617 ( cat <<\_ASBOX 8618 ## ----------------------------------- ## 8619 ## Report this to rappture@nanohub.org ## 8620 ## ----------------------------------- ## 8621 _ASBOX 8622 ) | sed "s/^/$as_me: WARNING: /" >&2 8623 ;; 8624 esac 8625 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8628 echo $ECHO_N "(cached) $ECHO_C" >&6 8629 else 8630 eval "$as_ac_Header=\$ac_header_preproc" 8631 fi 8632 ac_res=`eval echo '${'$as_ac_Header'}'` 8633 { echo "$as_me:$LINENO: result: $ac_res" >&5 8634 echo "${ECHO_T}$ac_res" >&6; } 8635 8636 fi 8637 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5207 do : 5208 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5209 if test "x$ac_cv_header_math_h" = x""yes; then : 8638 5210 cat >>confdefs.h <<_ACEOF 8639 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18640 _ACEOF 8641 8642 else 8643 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58644 echo "$as_me: WARNING: C headers missing ?" >&2;}5211 #define HAVE_MATH_H 1 5212 _ACEOF 5213 5214 else 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5216 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8645 5217 fi 8646 5218 8647 5219 done 8648 5220 8649 8650 5221 for ac_header in malloc.h 8651 do 8652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8654 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8657 echo $ECHO_N "(cached) $ECHO_C" >&6 8658 fi 8659 ac_res=`eval echo '${'$as_ac_Header'}'` 8660 { echo "$as_me:$LINENO: result: $ac_res" >&5 8661 echo "${ECHO_T}$ac_res" >&6; } 8662 else 8663 # Is the header compilable? 8664 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8666 cat >conftest.$ac_ext <<_ACEOF 8667 /* confdefs.h. */ 8668 _ACEOF 8669 cat confdefs.h >>conftest.$ac_ext 8670 cat >>conftest.$ac_ext <<_ACEOF 8671 /* end confdefs.h. */ 8672 $ac_includes_default 8673 #include <$ac_header> 8674 _ACEOF 8675 rm -f conftest.$ac_objext 8676 if { (ac_try="$ac_compile" 8677 case "(($ac_try" in 8678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8679 *) ac_try_echo=$ac_try;; 8680 esac 8681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8682 (eval "$ac_compile") 2>conftest.er1 8683 ac_status=$? 8684 grep -v '^ *+' conftest.er1 >conftest.err 8685 rm -f conftest.er1 8686 cat conftest.err >&5 8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8688 (exit $ac_status); } && { 8689 test -z "$ac_cxx_werror_flag" || 8690 test ! -s conftest.err 8691 } && test -s conftest.$ac_objext; then 8692 ac_header_compiler=yes 8693 else 8694 echo "$as_me: failed program was:" >&5 8695 sed 's/^/| /' conftest.$ac_ext >&5 8696 8697 ac_header_compiler=no 8698 fi 8699 8700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8701 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8702 echo "${ECHO_T}$ac_header_compiler" >&6; } 8703 8704 # Is the header present? 8705 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8707 cat >conftest.$ac_ext <<_ACEOF 8708 /* confdefs.h. */ 8709 _ACEOF 8710 cat confdefs.h >>conftest.$ac_ext 8711 cat >>conftest.$ac_ext <<_ACEOF 8712 /* end confdefs.h. */ 8713 #include <$ac_header> 8714 _ACEOF 8715 if { (ac_try="$ac_cpp conftest.$ac_ext" 8716 case "(($ac_try" in 8717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8718 *) ac_try_echo=$ac_try;; 8719 esac 8720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8722 ac_status=$? 8723 grep -v '^ *+' conftest.er1 >conftest.err 8724 rm -f conftest.er1 8725 cat conftest.err >&5 8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8727 (exit $ac_status); } >/dev/null && { 8728 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8729 test ! -s conftest.err 8730 }; then 8731 ac_header_preproc=yes 8732 else 8733 echo "$as_me: failed program was:" >&5 8734 sed 's/^/| /' conftest.$ac_ext >&5 8735 8736 ac_header_preproc=no 8737 fi 8738 8739 rm -f conftest.err conftest.$ac_ext 8740 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8741 echo "${ECHO_T}$ac_header_preproc" >&6; } 8742 8743 # So? What about this header? 8744 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8745 yes:no: ) 8746 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8749 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8750 ac_header_preproc=yes 8751 ;; 8752 no:yes:* ) 8753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8757 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8758 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8759 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8760 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8763 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8764 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8765 ( cat <<\_ASBOX 8766 ## ----------------------------------- ## 8767 ## Report this to rappture@nanohub.org ## 8768 ## ----------------------------------- ## 8769 _ASBOX 8770 ) | sed "s/^/$as_me: WARNING: /" >&2 8771 ;; 8772 esac 8773 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8776 echo $ECHO_N "(cached) $ECHO_C" >&6 8777 else 8778 eval "$as_ac_Header=\$ac_header_preproc" 8779 fi 8780 ac_res=`eval echo '${'$as_ac_Header'}'` 8781 { echo "$as_me:$LINENO: result: $ac_res" >&5 8782 echo "${ECHO_T}$ac_res" >&6; } 8783 8784 fi 8785 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5222 do : 5223 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5224 if test "x$ac_cv_header_malloc_h" = x""yes; then : 8786 5225 cat >>confdefs.h <<_ACEOF 8787 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18788 _ACEOF 8789 8790 else 8791 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58792 echo "$as_me: WARNING: C headers missing ?" >&2;}5226 #define HAVE_MALLOC_H 1 5227 _ACEOF 5228 5229 else 5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5231 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8793 5232 fi 8794 5233 8795 5234 done 8796 5235 8797 8798 5236 for ac_header in memory.h 8799 do 8800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8802 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8805 echo $ECHO_N "(cached) $ECHO_C" >&6 8806 fi 8807 ac_res=`eval echo '${'$as_ac_Header'}'` 8808 { echo "$as_me:$LINENO: result: $ac_res" >&5 8809 echo "${ECHO_T}$ac_res" >&6; } 8810 else 8811 # Is the header compilable? 8812 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8814 cat >conftest.$ac_ext <<_ACEOF 8815 /* confdefs.h. */ 8816 _ACEOF 8817 cat confdefs.h >>conftest.$ac_ext 8818 cat >>conftest.$ac_ext <<_ACEOF 8819 /* end confdefs.h. */ 8820 $ac_includes_default 8821 #include <$ac_header> 8822 _ACEOF 8823 rm -f conftest.$ac_objext 8824 if { (ac_try="$ac_compile" 8825 case "(($ac_try" in 8826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8827 *) ac_try_echo=$ac_try;; 8828 esac 8829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8830 (eval "$ac_compile") 2>conftest.er1 8831 ac_status=$? 8832 grep -v '^ *+' conftest.er1 >conftest.err 8833 rm -f conftest.er1 8834 cat conftest.err >&5 8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8836 (exit $ac_status); } && { 8837 test -z "$ac_cxx_werror_flag" || 8838 test ! -s conftest.err 8839 } && test -s conftest.$ac_objext; then 8840 ac_header_compiler=yes 8841 else 8842 echo "$as_me: failed program was:" >&5 8843 sed 's/^/| /' conftest.$ac_ext >&5 8844 8845 ac_header_compiler=no 8846 fi 8847 8848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8849 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8850 echo "${ECHO_T}$ac_header_compiler" >&6; } 8851 8852 # Is the header present? 8853 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8855 cat >conftest.$ac_ext <<_ACEOF 8856 /* confdefs.h. */ 8857 _ACEOF 8858 cat confdefs.h >>conftest.$ac_ext 8859 cat >>conftest.$ac_ext <<_ACEOF 8860 /* end confdefs.h. */ 8861 #include <$ac_header> 8862 _ACEOF 8863 if { (ac_try="$ac_cpp conftest.$ac_ext" 8864 case "(($ac_try" in 8865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8866 *) ac_try_echo=$ac_try;; 8867 esac 8868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8870 ac_status=$? 8871 grep -v '^ *+' conftest.er1 >conftest.err 8872 rm -f conftest.er1 8873 cat conftest.err >&5 8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8875 (exit $ac_status); } >/dev/null && { 8876 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8877 test ! -s conftest.err 8878 }; then 8879 ac_header_preproc=yes 8880 else 8881 echo "$as_me: failed program was:" >&5 8882 sed 's/^/| /' conftest.$ac_ext >&5 8883 8884 ac_header_preproc=no 8885 fi 8886 8887 rm -f conftest.err conftest.$ac_ext 8888 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8889 echo "${ECHO_T}$ac_header_preproc" >&6; } 8890 8891 # So? What about this header? 8892 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8893 yes:no: ) 8894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8897 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8898 ac_header_preproc=yes 8899 ;; 8900 no:yes:* ) 8901 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8902 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8903 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8904 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8905 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8906 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8907 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8908 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8911 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8912 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8913 ( cat <<\_ASBOX 8914 ## ----------------------------------- ## 8915 ## Report this to rappture@nanohub.org ## 8916 ## ----------------------------------- ## 8917 _ASBOX 8918 ) | sed "s/^/$as_me: WARNING: /" >&2 8919 ;; 8920 esac 8921 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8923 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8924 echo $ECHO_N "(cached) $ECHO_C" >&6 8925 else 8926 eval "$as_ac_Header=\$ac_header_preproc" 8927 fi 8928 ac_res=`eval echo '${'$as_ac_Header'}'` 8929 { echo "$as_me:$LINENO: result: $ac_res" >&5 8930 echo "${ECHO_T}$ac_res" >&6; } 8931 8932 fi 8933 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5237 do : 5238 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5239 if test "x$ac_cv_header_memory_h" = x""yes; then : 8934 5240 cat >>confdefs.h <<_ACEOF 8935 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18936 _ACEOF 8937 8938 else 8939 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58940 echo "$as_me: WARNING: C headers missing ?" >&2;}5241 #define HAVE_MEMORY_H 1 5242 _ACEOF 5243 5244 else 5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5246 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8941 5247 fi 8942 5248 8943 5249 done 8944 5250 8945 8946 5251 for ac_header in unistd.h 8947 do 8948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8950 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8953 echo $ECHO_N "(cached) $ECHO_C" >&6 8954 fi 8955 ac_res=`eval echo '${'$as_ac_Header'}'` 8956 { echo "$as_me:$LINENO: result: $ac_res" >&5 8957 echo "${ECHO_T}$ac_res" >&6; } 8958 else 8959 # Is the header compilable? 8960 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8962 cat >conftest.$ac_ext <<_ACEOF 8963 /* confdefs.h. */ 8964 _ACEOF 8965 cat confdefs.h >>conftest.$ac_ext 8966 cat >>conftest.$ac_ext <<_ACEOF 8967 /* end confdefs.h. */ 8968 $ac_includes_default 8969 #include <$ac_header> 8970 _ACEOF 8971 rm -f conftest.$ac_objext 8972 if { (ac_try="$ac_compile" 8973 case "(($ac_try" in 8974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8975 *) ac_try_echo=$ac_try;; 8976 esac 8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8978 (eval "$ac_compile") 2>conftest.er1 8979 ac_status=$? 8980 grep -v '^ *+' conftest.er1 >conftest.err 8981 rm -f conftest.er1 8982 cat conftest.err >&5 8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8984 (exit $ac_status); } && { 8985 test -z "$ac_cxx_werror_flag" || 8986 test ! -s conftest.err 8987 } && test -s conftest.$ac_objext; then 8988 ac_header_compiler=yes 8989 else 8990 echo "$as_me: failed program was:" >&5 8991 sed 's/^/| /' conftest.$ac_ext >&5 8992 8993 ac_header_compiler=no 8994 fi 8995 8996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8997 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8998 echo "${ECHO_T}$ac_header_compiler" >&6; } 8999 9000 # Is the header present? 9001 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9003 cat >conftest.$ac_ext <<_ACEOF 9004 /* confdefs.h. */ 9005 _ACEOF 9006 cat confdefs.h >>conftest.$ac_ext 9007 cat >>conftest.$ac_ext <<_ACEOF 9008 /* end confdefs.h. */ 9009 #include <$ac_header> 9010 _ACEOF 9011 if { (ac_try="$ac_cpp conftest.$ac_ext" 9012 case "(($ac_try" in 9013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9014 *) ac_try_echo=$ac_try;; 9015 esac 9016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9018 ac_status=$? 9019 grep -v '^ *+' conftest.er1 >conftest.err 9020 rm -f conftest.er1 9021 cat conftest.err >&5 9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9023 (exit $ac_status); } >/dev/null && { 9024 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9025 test ! -s conftest.err 9026 }; then 9027 ac_header_preproc=yes 9028 else 9029 echo "$as_me: failed program was:" >&5 9030 sed 's/^/| /' conftest.$ac_ext >&5 9031 9032 ac_header_preproc=no 9033 fi 9034 9035 rm -f conftest.err conftest.$ac_ext 9036 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9037 echo "${ECHO_T}$ac_header_preproc" >&6; } 9038 9039 # So? What about this header? 9040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9041 yes:no: ) 9042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9046 ac_header_preproc=yes 9047 ;; 9048 no:yes:* ) 9049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9061 ( cat <<\_ASBOX 9062 ## ----------------------------------- ## 9063 ## Report this to rappture@nanohub.org ## 9064 ## ----------------------------------- ## 9065 _ASBOX 9066 ) | sed "s/^/$as_me: WARNING: /" >&2 9067 ;; 9068 esac 9069 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9072 echo $ECHO_N "(cached) $ECHO_C" >&6 9073 else 9074 eval "$as_ac_Header=\$ac_header_preproc" 9075 fi 9076 ac_res=`eval echo '${'$as_ac_Header'}'` 9077 { echo "$as_me:$LINENO: result: $ac_res" >&5 9078 echo "${ECHO_T}$ac_res" >&6; } 9079 9080 fi 9081 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5252 do : 5253 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5254 if test "x$ac_cv_header_unistd_h" = x""yes; then : 9082 5255 cat >>confdefs.h <<_ACEOF 9083 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19084 _ACEOF 9085 9086 else 9087 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59088 echo "$as_me: WARNING: C headers missing ?" >&2;}5256 #define HAVE_UNISTD_H 1 5257 _ACEOF 5258 5259 else 5260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5261 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9089 5262 fi 9090 5263 … … 9092 5265 9093 5266 9094 9095 5267 for ac_header in inttypes.h 9096 do 9097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9099 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9101 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9102 echo $ECHO_N "(cached) $ECHO_C" >&6 9103 fi 9104 ac_res=`eval echo '${'$as_ac_Header'}'` 9105 { echo "$as_me:$LINENO: result: $ac_res" >&5 9106 echo "${ECHO_T}$ac_res" >&6; } 9107 else 9108 # Is the header compilable? 9109 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9111 cat >conftest.$ac_ext <<_ACEOF 9112 /* confdefs.h. */ 9113 _ACEOF 9114 cat confdefs.h >>conftest.$ac_ext 9115 cat >>conftest.$ac_ext <<_ACEOF 9116 /* end confdefs.h. */ 9117 $ac_includes_default 9118 #include <$ac_header> 9119 _ACEOF 9120 rm -f conftest.$ac_objext 9121 if { (ac_try="$ac_compile" 9122 case "(($ac_try" in 9123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9124 *) ac_try_echo=$ac_try;; 9125 esac 9126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9127 (eval "$ac_compile") 2>conftest.er1 9128 ac_status=$? 9129 grep -v '^ *+' conftest.er1 >conftest.err 9130 rm -f conftest.er1 9131 cat conftest.err >&5 9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9133 (exit $ac_status); } && { 9134 test -z "$ac_cxx_werror_flag" || 9135 test ! -s conftest.err 9136 } && test -s conftest.$ac_objext; then 9137 ac_header_compiler=yes 9138 else 9139 echo "$as_me: failed program was:" >&5 9140 sed 's/^/| /' conftest.$ac_ext >&5 9141 9142 ac_header_compiler=no 9143 fi 9144 9145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9146 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9147 echo "${ECHO_T}$ac_header_compiler" >&6; } 9148 9149 # Is the header present? 9150 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9152 cat >conftest.$ac_ext <<_ACEOF 9153 /* confdefs.h. */ 9154 _ACEOF 9155 cat confdefs.h >>conftest.$ac_ext 9156 cat >>conftest.$ac_ext <<_ACEOF 9157 /* end confdefs.h. */ 9158 #include <$ac_header> 9159 _ACEOF 9160 if { (ac_try="$ac_cpp conftest.$ac_ext" 9161 case "(($ac_try" in 9162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9163 *) ac_try_echo=$ac_try;; 9164 esac 9165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9167 ac_status=$? 9168 grep -v '^ *+' conftest.er1 >conftest.err 9169 rm -f conftest.er1 9170 cat conftest.err >&5 9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9172 (exit $ac_status); } >/dev/null && { 9173 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9174 test ! -s conftest.err 9175 }; then 9176 ac_header_preproc=yes 9177 else 9178 echo "$as_me: failed program was:" >&5 9179 sed 's/^/| /' conftest.$ac_ext >&5 9180 9181 ac_header_preproc=no 9182 fi 9183 9184 rm -f conftest.err conftest.$ac_ext 9185 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9186 echo "${ECHO_T}$ac_header_preproc" >&6; } 9187 9188 # So? What about this header? 9189 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9190 yes:no: ) 9191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9195 ac_header_preproc=yes 9196 ;; 9197 no:yes:* ) 9198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9210 ( cat <<\_ASBOX 9211 ## ----------------------------------- ## 9212 ## Report this to rappture@nanohub.org ## 9213 ## ----------------------------------- ## 9214 _ASBOX 9215 ) | sed "s/^/$as_me: WARNING: /" >&2 9216 ;; 9217 esac 9218 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9221 echo $ECHO_N "(cached) $ECHO_C" >&6 9222 else 9223 eval "$as_ac_Header=\$ac_header_preproc" 9224 fi 9225 ac_res=`eval echo '${'$as_ac_Header'}'` 9226 { echo "$as_me:$LINENO: result: $ac_res" >&5 9227 echo "${ECHO_T}$ac_res" >&6; } 9228 9229 fi 9230 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5268 do : 5269 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5270 if test "x$ac_cv_header_inttypes_h" = x""yes; then : 9231 5271 cat >>confdefs.h <<_ACEOF 9232 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19233 _ACEOF 9234 9235 else 9236 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59237 echo "$as_me: WARNING: C headers missing ?" >&2;}5272 #define HAVE_INTTYPES_H 1 5273 _ACEOF 5274 5275 else 5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5277 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9238 5278 fi 9239 5279 … … 9252 5292 # Step 0.a: Enable 64 bit support? 9253 5293 9254 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&59255 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 5295 $as_echo_n "checking if 64bit support is requested... " >&6; } 9256 5296 # Check whether --enable-64bit was given. 9257 if test "${enable_64bit+set}" = set; then 5297 if test "${enable_64bit+set}" = set; then : 9258 5298 enableval=$enable_64bit; do64bit=$enableval 9259 5299 else … … 9261 5301 fi 9262 5302 9263 { echo "$as_me:$LINENO: result: $do64bit" >&59264 echo "${ECHO_T}$do64bit" >&6; }5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 5304 $as_echo "$do64bit" >&6; } 9265 5305 9266 5306 # Step 0.b: Enable Solaris 64 bit VIS support? 9267 5307 9268 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&59269 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 5309 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9270 5310 # Check whether --enable-64bit-vis was given. 9271 if test "${enable_64bit_vis+set}" = set; then 5311 if test "${enable_64bit_vis+set}" = set; then : 9272 5312 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9273 5313 else … … 9275 5315 fi 9276 5316 9277 { echo "$as_me:$LINENO: result: $do64bitVIS" >&59278 echo "${ECHO_T}$do64bitVIS" >&6; }5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 5318 $as_echo "$do64bitVIS" >&6; } 9279 5319 9280 5320 if test "$do64bitVIS" = "yes"; then … … 9287 5327 9288 5328 9289 { echo "$as_me:$LINENO: checking system version" >&59290 echo $ECHO_N "checking system version... $ECHO_C" >&6; }9291 if test "${tcl_cv_sys_version+set}" = set; then 9292 echo $ECHO_N "(cached) $ECHO_C" >&65329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 5330 $as_echo_n "checking system version... " >&6; } 5331 if test "${tcl_cv_sys_version+set}" = set; then : 5332 $as_echo_n "(cached) " >&6 9293 5333 else 9294 5334 … … 9298 5338 tcl_cv_sys_version=`uname -s`-`uname -r` 9299 5339 if test "$?" -ne 0 ; then 9300 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&59301 echo "$as_me: WARNING: can't find uname command" >&2;}5340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 5341 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9302 5342 tcl_cv_sys_version=unknown 9303 5343 else … … 9315 5355 9316 5356 fi 9317 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&59318 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 5358 $as_echo "$tcl_cv_sys_version" >&6; } 9319 5359 system=$tcl_cv_sys_version 9320 5360 … … 9323 5363 # Linux can use either -ldl or -ldld for dynamic loading. 9324 5364 9325 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&59326 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }9327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 9328 echo $ECHO_N "(cached) $ECHO_C" >&65365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5366 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5367 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 5368 $as_echo_n "(cached) " >&6 9329 5369 else 9330 5370 ac_check_lib_save_LIBS=$LIBS 9331 5371 LIBS="-ldl $LIBS" 9332 cat >conftest.$ac_ext <<_ACEOF 9333 /* confdefs.h. */ 9334 _ACEOF 9335 cat confdefs.h >>conftest.$ac_ext 9336 cat >>conftest.$ac_ext <<_ACEOF 5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9337 5373 /* end confdefs.h. */ 9338 5374 … … 9352 5388 } 9353 5389 _ACEOF 9354 rm -f conftest.$ac_objext conftest$ac_exeext 9355 if { (ac_try="$ac_link" 9356 case "(($ac_try" in 9357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9358 *) ac_try_echo=$ac_try;; 9359 esac 9360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9361 (eval "$ac_link") 2>conftest.er1 9362 ac_status=$? 9363 grep -v '^ *+' conftest.er1 >conftest.err 9364 rm -f conftest.er1 9365 cat conftest.err >&5 9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9367 (exit $ac_status); } && { 9368 test -z "$ac_cxx_werror_flag" || 9369 test ! -s conftest.err 9370 } && test -s conftest$ac_exeext && 9371 $as_test_x conftest$ac_exeext; then 5390 if ac_fn_cxx_try_link "$LINENO"; then : 9372 5391 ac_cv_lib_dl_dlopen=yes 9373 5392 else 9374 echo "$as_me: failed program was:" >&5 9375 sed 's/^/| /' conftest.$ac_ext >&5 9376 9377 ac_cv_lib_dl_dlopen=no 9378 fi 9379 9380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9381 conftest$ac_exeext conftest.$ac_ext 5393 ac_cv_lib_dl_dlopen=no 5394 fi 5395 rm -f core conftest.err conftest.$ac_objext \ 5396 conftest$ac_exeext conftest.$ac_ext 9382 5397 LIBS=$ac_check_lib_save_LIBS 9383 5398 fi 9384 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&59385 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }9386 if test $ac_cv_lib_dl_dlopen = yes; then5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5400 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5401 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 9387 5402 have_dl=yes 9388 5403 else … … 9416 5431 # Extract the first word of "ar", so it can be a program name with args. 9417 5432 set dummy ar; ac_word=$2 9418 { echo "$as_me:$LINENO: checking for $ac_word" >&59419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }9420 if test "${ac_cv_prog_AR+set}" = set; then 9421 echo $ECHO_N "(cached) $ECHO_C" >&65433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5434 $as_echo_n "checking for $ac_word... " >&6; } 5435 if test "${ac_cv_prog_AR+set}" = set; then : 5436 $as_echo_n "(cached) " >&6 9422 5437 else 9423 5438 if test -n "$AR"; then … … 9429 5444 IFS=$as_save_IFS 9430 5445 test -z "$as_dir" && as_dir=. 9431 for ac_exec_ext in '' $ac_executable_extensions; do5446 for ac_exec_ext in '' $ac_executable_extensions; do 9432 5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9433 5448 ac_cv_prog_AR="ar" 9434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9435 5450 break 2 9436 5451 fi 9437 5452 done 9438 done5453 done 9439 5454 IFS=$as_save_IFS 9440 5455 … … 9443 5458 AR=$ac_cv_prog_AR 9444 5459 if test -n "$AR"; then 9445 { echo "$as_me:$LINENO: result: $AR" >&59446 echo "${ECHO_T}$AR" >&6; }9447 else 9448 { echo "$as_me:$LINENO: result: no" >&59449 echo "${ECHO_T}no" >&6; }5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5461 $as_echo "$AR" >&6; } 5462 else 5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5464 $as_echo "no" >&6; } 9450 5465 fi 9451 5466 9452 5467 9453 5468 if test "${AR}" = "" ; then 9454 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9455 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9456 { (exit 1); exit 1; }; } 5469 as_fn_error "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9457 5470 fi 9458 5471 STLIB_LD='${AR} cr' … … 9472 5485 ;; 9473 5486 esac 9474 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&59475 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 5488 $as_echo "Using $CC for compiling with threads" >&6; } 9476 5489 fi 9477 5490 LIBS="$LIBS -lc" … … 9488 5501 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 9489 5502 if test "$GCC" = "yes" ; then 9490 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59491 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5504 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9492 5505 else 9493 5506 do64bit_ok=yes … … 9543 5556 # known GMT value. 9544 5557 9545 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&59546 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }9547 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 9548 echo $ECHO_N "(cached) $ECHO_C" >&65558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 5559 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5560 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then : 5561 $as_echo_n "(cached) " >&6 9549 5562 else 9550 5563 ac_check_lib_save_LIBS=$LIBS 9551 5564 LIBS="-lbsd $LIBS" 9552 cat >conftest.$ac_ext <<_ACEOF 9553 /* confdefs.h. */ 9554 _ACEOF 9555 cat confdefs.h >>conftest.$ac_ext 9556 cat >>conftest.$ac_ext <<_ACEOF 5565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9557 5566 /* end confdefs.h. */ 9558 5567 … … 9572 5581 } 9573 5582 _ACEOF 9574 rm -f conftest.$ac_objext conftest$ac_exeext 9575 if { (ac_try="$ac_link" 9576 case "(($ac_try" in 9577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9578 *) ac_try_echo=$ac_try;; 9579 esac 9580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9581 (eval "$ac_link") 2>conftest.er1 9582 ac_status=$? 9583 grep -v '^ *+' conftest.er1 >conftest.err 9584 rm -f conftest.er1 9585 cat conftest.err >&5 9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9587 (exit $ac_status); } && { 9588 test -z "$ac_cxx_werror_flag" || 9589 test ! -s conftest.err 9590 } && test -s conftest$ac_exeext && 9591 $as_test_x conftest$ac_exeext; then 5583 if ac_fn_cxx_try_link "$LINENO"; then : 9592 5584 ac_cv_lib_bsd_gettimeofday=yes 9593 5585 else 9594 echo "$as_me: failed program was:" >&5 9595 sed 's/^/| /' conftest.$ac_ext >&5 9596 9597 ac_cv_lib_bsd_gettimeofday=no 9598 fi 9599 9600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9601 conftest$ac_exeext conftest.$ac_ext 5586 ac_cv_lib_bsd_gettimeofday=no 5587 fi 5588 rm -f core conftest.err conftest.$ac_objext \ 5589 conftest$ac_exeext conftest.$ac_ext 9602 5590 LIBS=$ac_check_lib_save_LIBS 9603 5591 fi 9604 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&59605 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }9606 if test $ac_cv_lib_bsd_gettimeofday = yes; then5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 5593 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5594 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then : 9607 5595 libbsd=yes 9608 5596 else … … 9612 5600 if test $libbsd = yes; then 9613 5601 MATH_LIBS="$MATH_LIBS -lbsd" 9614 cat >>confdefs.h <<\_ACEOF 9615 #define USE_DELTA_FOR_TZ 1 9616 _ACEOF 5602 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9617 5603 9618 5604 fi … … 9631 5617 # is always linked to, for compatibility. 9632 5618 #----------------------------------------------------------- 9633 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&59634 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }9635 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 9636 echo $ECHO_N "(cached) $ECHO_C" >&65619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 5620 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5621 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then : 5622 $as_echo_n "(cached) " >&6 9637 5623 else 9638 5624 ac_check_lib_save_LIBS=$LIBS 9639 5625 LIBS="-lbind $LIBS" 9640 cat >conftest.$ac_ext <<_ACEOF 9641 /* confdefs.h. */ 9642 _ACEOF 9643 cat confdefs.h >>conftest.$ac_ext 9644 cat >>conftest.$ac_ext <<_ACEOF 5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9645 5627 /* end confdefs.h. */ 9646 5628 … … 9660 5642 } 9661 5643 _ACEOF 9662 rm -f conftest.$ac_objext conftest$ac_exeext 9663 if { (ac_try="$ac_link" 9664 case "(($ac_try" in 9665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9666 *) ac_try_echo=$ac_try;; 9667 esac 9668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9669 (eval "$ac_link") 2>conftest.er1 9670 ac_status=$? 9671 grep -v '^ *+' conftest.er1 >conftest.err 9672 rm -f conftest.er1 9673 cat conftest.err >&5 9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9675 (exit $ac_status); } && { 9676 test -z "$ac_cxx_werror_flag" || 9677 test ! -s conftest.err 9678 } && test -s conftest$ac_exeext && 9679 $as_test_x conftest$ac_exeext; then 5644 if ac_fn_cxx_try_link "$LINENO"; then : 9680 5645 ac_cv_lib_bind_inet_ntoa=yes 9681 5646 else 9682 echo "$as_me: failed program was:" >&5 9683 sed 's/^/| /' conftest.$ac_ext >&5 9684 9685 ac_cv_lib_bind_inet_ntoa=no 9686 fi 9687 9688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9689 conftest$ac_exeext conftest.$ac_ext 5647 ac_cv_lib_bind_inet_ntoa=no 5648 fi 5649 rm -f core conftest.err conftest.$ac_objext \ 5650 conftest$ac_exeext conftest.$ac_ext 9690 5651 LIBS=$ac_check_lib_save_LIBS 9691 5652 fi 9692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&59693 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }9694 if test $ac_cv_lib_bind_inet_ntoa = yes; then5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 5654 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5655 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then : 9695 5656 LIBS="$LIBS -lbind -lsocket" 9696 5657 fi … … 9730 5691 HP-UX-*.11.*) 9731 5692 # Use updated header definitions where possible 9732 cat >>confdefs.h <<\_ACEOF 9733 #define _XOPEN_SOURCE 1 9734 _ACEOF 5693 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9735 5694 # Use the XOPEN network library 9736 cat >>confdefs.h <<\_ACEOF 9737 #define _XOPEN_SOURCE_EXTENDED 1 9738 _ACEOF 5695 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9739 5696 # Use the XOPEN network library 9740 5697 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 9745 5702 SHLIB_SUFFIX=".sl" 9746 5703 fi 9747 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59748 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9749 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9750 echo $ECHO_N "(cached) $ECHO_C" >&65704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5705 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5706 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 5707 $as_echo_n "(cached) " >&6 9751 5708 else 9752 5709 ac_check_lib_save_LIBS=$LIBS 9753 5710 LIBS="-ldld $LIBS" 9754 cat >conftest.$ac_ext <<_ACEOF 9755 /* confdefs.h. */ 9756 _ACEOF 9757 cat confdefs.h >>conftest.$ac_ext 9758 cat >>conftest.$ac_ext <<_ACEOF 5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9759 5712 /* end confdefs.h. */ 9760 5713 … … 9774 5727 } 9775 5728 _ACEOF 9776 rm -f conftest.$ac_objext conftest$ac_exeext 9777 if { (ac_try="$ac_link" 9778 case "(($ac_try" in 9779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9780 *) ac_try_echo=$ac_try;; 9781 esac 9782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9783 (eval "$ac_link") 2>conftest.er1 9784 ac_status=$? 9785 grep -v '^ *+' conftest.er1 >conftest.err 9786 rm -f conftest.er1 9787 cat conftest.err >&5 9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9789 (exit $ac_status); } && { 9790 test -z "$ac_cxx_werror_flag" || 9791 test ! -s conftest.err 9792 } && test -s conftest$ac_exeext && 9793 $as_test_x conftest$ac_exeext; then 5729 if ac_fn_cxx_try_link "$LINENO"; then : 9794 5730 ac_cv_lib_dld_shl_load=yes 9795 5731 else 9796 echo "$as_me: failed program was:" >&5 9797 sed 's/^/| /' conftest.$ac_ext >&5 9798 9799 ac_cv_lib_dld_shl_load=no 9800 fi 9801 9802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9803 conftest$ac_exeext conftest.$ac_ext 5732 ac_cv_lib_dld_shl_load=no 5733 fi 5734 rm -f core conftest.err conftest.$ac_objext \ 5735 conftest$ac_exeext conftest.$ac_ext 9804 5736 LIBS=$ac_check_lib_save_LIBS 9805 5737 fi 9806 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59807 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9808 if test $ac_cv_lib_dld_shl_load = yes; then5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5739 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5740 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 9809 5741 tcl_ok=yes 9810 5742 else … … 9846 5778 ;; 9847 5779 *) 9848 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59849 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5781 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9850 5782 ;; 9851 5783 esac … … 9859 5791 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 9860 5792 SHLIB_SUFFIX=".sl" 9861 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59862 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9863 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9864 echo $ECHO_N "(cached) $ECHO_C" >&65793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5794 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5795 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 5796 $as_echo_n "(cached) " >&6 9865 5797 else 9866 5798 ac_check_lib_save_LIBS=$LIBS 9867 5799 LIBS="-ldld $LIBS" 9868 cat >conftest.$ac_ext <<_ACEOF 9869 /* confdefs.h. */ 9870 _ACEOF 9871 cat confdefs.h >>conftest.$ac_ext 9872 cat >>conftest.$ac_ext <<_ACEOF 5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9873 5801 /* end confdefs.h. */ 9874 5802 … … 9888 5816 } 9889 5817 _ACEOF 9890 rm -f conftest.$ac_objext conftest$ac_exeext 9891 if { (ac_try="$ac_link" 9892 case "(($ac_try" in 9893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9894 *) ac_try_echo=$ac_try;; 9895 esac 9896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9897 (eval "$ac_link") 2>conftest.er1 9898 ac_status=$? 9899 grep -v '^ *+' conftest.er1 >conftest.err 9900 rm -f conftest.er1 9901 cat conftest.err >&5 9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9903 (exit $ac_status); } && { 9904 test -z "$ac_cxx_werror_flag" || 9905 test ! -s conftest.err 9906 } && test -s conftest$ac_exeext && 9907 $as_test_x conftest$ac_exeext; then 5818 if ac_fn_cxx_try_link "$LINENO"; then : 9908 5819 ac_cv_lib_dld_shl_load=yes 9909 5820 else 9910 echo "$as_me: failed program was:" >&5 9911 sed 's/^/| /' conftest.$ac_ext >&5 9912 9913 ac_cv_lib_dld_shl_load=no 9914 fi 9915 9916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9917 conftest$ac_exeext conftest.$ac_ext 5821 ac_cv_lib_dld_shl_load=no 5822 fi 5823 rm -f core conftest.err conftest.$ac_objext \ 5824 conftest$ac_exeext conftest.$ac_ext 9918 5825 LIBS=$ac_check_lib_save_LIBS 9919 5826 fi 9920 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59921 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9922 if test $ac_cv_lib_dld_shl_load = yes; then5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5828 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5829 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 9923 5830 tcl_ok=yes 9924 5831 else … … 9999 5906 if test "$do64bit" = "yes" ; then 10000 5907 if test "$GCC" = "yes" ; then 10001 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&510002 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}5908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 5909 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10003 5910 else 10004 5911 do64bit_ok=yes … … 10028 5935 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10029 5936 else 10030 if test "${ac_cv_header_dld_h+set}" = set; then 10031 { echo "$as_me:$LINENO: checking for dld.h" >&5 10032 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10033 if test "${ac_cv_header_dld_h+set}" = set; then 10034 echo $ECHO_N "(cached) $ECHO_C" >&6 10035 fi 10036 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10037 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10038 else 10039 # Is the header compilable? 10040 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10041 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10042 cat >conftest.$ac_ext <<_ACEOF 10043 /* confdefs.h. */ 10044 _ACEOF 10045 cat confdefs.h >>conftest.$ac_ext 10046 cat >>conftest.$ac_ext <<_ACEOF 10047 /* end confdefs.h. */ 10048 $ac_includes_default 10049 #include <dld.h> 10050 _ACEOF 10051 rm -f conftest.$ac_objext 10052 if { (ac_try="$ac_compile" 10053 case "(($ac_try" in 10054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10055 *) ac_try_echo=$ac_try;; 10056 esac 10057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10058 (eval "$ac_compile") 2>conftest.er1 10059 ac_status=$? 10060 grep -v '^ *+' conftest.er1 >conftest.err 10061 rm -f conftest.er1 10062 cat conftest.err >&5 10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10064 (exit $ac_status); } && { 10065 test -z "$ac_cxx_werror_flag" || 10066 test ! -s conftest.err 10067 } && test -s conftest.$ac_objext; then 10068 ac_header_compiler=yes 10069 else 10070 echo "$as_me: failed program was:" >&5 10071 sed 's/^/| /' conftest.$ac_ext >&5 10072 10073 ac_header_compiler=no 10074 fi 10075 10076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10077 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10078 echo "${ECHO_T}$ac_header_compiler" >&6; } 10079 10080 # Is the header present? 10081 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10082 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10083 cat >conftest.$ac_ext <<_ACEOF 10084 /* confdefs.h. */ 10085 _ACEOF 10086 cat confdefs.h >>conftest.$ac_ext 10087 cat >>conftest.$ac_ext <<_ACEOF 10088 /* end confdefs.h. */ 10089 #include <dld.h> 10090 _ACEOF 10091 if { (ac_try="$ac_cpp conftest.$ac_ext" 10092 case "(($ac_try" in 10093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10094 *) ac_try_echo=$ac_try;; 10095 esac 10096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10098 ac_status=$? 10099 grep -v '^ *+' conftest.er1 >conftest.err 10100 rm -f conftest.er1 10101 cat conftest.err >&5 10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10103 (exit $ac_status); } >/dev/null && { 10104 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10105 test ! -s conftest.err 10106 }; then 10107 ac_header_preproc=yes 10108 else 10109 echo "$as_me: failed program was:" >&5 10110 sed 's/^/| /' conftest.$ac_ext >&5 10111 10112 ac_header_preproc=no 10113 fi 10114 10115 rm -f conftest.err conftest.$ac_ext 10116 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10117 echo "${ECHO_T}$ac_header_preproc" >&6; } 10118 10119 # So? What about this header? 10120 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10121 yes:no: ) 10122 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10123 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10124 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10125 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10126 ac_header_preproc=yes 10127 ;; 10128 no:yes:* ) 10129 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10130 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10131 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10132 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10133 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10134 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10135 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10136 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10137 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10138 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10139 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10140 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10141 ( cat <<\_ASBOX 10142 ## ----------------------------------- ## 10143 ## Report this to rappture@nanohub.org ## 10144 ## ----------------------------------- ## 10145 _ASBOX 10146 ) | sed "s/^/$as_me: WARNING: /" >&2 10147 ;; 10148 esac 10149 { echo "$as_me:$LINENO: checking for dld.h" >&5 10150 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10151 if test "${ac_cv_header_dld_h+set}" = set; then 10152 echo $ECHO_N "(cached) $ECHO_C" >&6 10153 else 10154 ac_cv_header_dld_h=$ac_header_preproc 10155 fi 10156 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10157 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10158 10159 fi 10160 if test $ac_cv_header_dld_h = yes; then 5937 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 5938 if test "x$ac_cv_header_dld_h" = x""yes; then : 10161 5939 10162 5940 SHLIB_LD="ld -shared" … … 10173 5951 fi 10174 5952 if test $do64bit = yes; then 10175 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&510176 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }10177 if test "${tcl_cv_cc_m64+set}" = set; then 10178 echo $ECHO_N "(cached) $ECHO_C" >&65953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 5954 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 5955 if test "${tcl_cv_cc_m64+set}" = set; then : 5956 $as_echo_n "(cached) " >&6 10179 5957 else 10180 5958 10181 5959 hold_cflags=$CFLAGS 10182 5960 CFLAGS="$CFLAGS -m64" 10183 cat >conftest.$ac_ext <<_ACEOF 10184 /* confdefs.h. */ 10185 _ACEOF 10186 cat confdefs.h >>conftest.$ac_ext 10187 cat >>conftest.$ac_ext <<_ACEOF 5961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10188 5962 /* end confdefs.h. */ 10189 5963 … … 10196 5970 } 10197 5971 _ACEOF 10198 rm -f conftest.$ac_objext conftest$ac_exeext 10199 if { (ac_try="$ac_link" 10200 case "(($ac_try" in 10201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10202 *) ac_try_echo=$ac_try;; 10203 esac 10204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10205 (eval "$ac_link") 2>conftest.er1 10206 ac_status=$? 10207 grep -v '^ *+' conftest.er1 >conftest.err 10208 rm -f conftest.er1 10209 cat conftest.err >&5 10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10211 (exit $ac_status); } && { 10212 test -z "$ac_cxx_werror_flag" || 10213 test ! -s conftest.err 10214 } && test -s conftest$ac_exeext && 10215 $as_test_x conftest$ac_exeext; then 5972 if ac_fn_cxx_try_link "$LINENO"; then : 10216 5973 tcl_cv_cc_m64=yes 10217 5974 else 10218 echo "$as_me: failed program was:" >&5 10219 sed 's/^/| /' conftest.$ac_ext >&5 10220 10221 tcl_cv_cc_m64=no 10222 fi 10223 10224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10225 conftest$ac_exeext conftest.$ac_ext 5975 tcl_cv_cc_m64=no 5976 fi 5977 rm -f core conftest.err conftest.$ac_objext \ 5978 conftest$ac_exeext conftest.$ac_ext 10226 5979 CFLAGS=$hold_cflags 10227 5980 fi 10228 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&510229 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 5982 $as_echo "$tcl_cv_cc_m64" >&6; } 10230 5983 if test $tcl_cv_cc_m64 = yes; then 10231 5984 CFLAGS="$CFLAGS -m64" … … 10246 5999 10247 6000 # XIM peeking works under XFree86. 10248 cat >>confdefs.h <<\_ACEOF 10249 #define PEEK_XCLOSEIM 1 10250 _ACEOF 6001 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10251 6002 10252 6003 … … 10265 6016 LD_SEARCH_FLAGS="" 10266 6017 else 10267 if test "${ac_cv_header_dld_h+set}" = set; then 10268 { echo "$as_me:$LINENO: checking for dld.h" >&5 10269 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10270 if test "${ac_cv_header_dld_h+set}" = set; then 10271 echo $ECHO_N "(cached) $ECHO_C" >&6 10272 fi 10273 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10274 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10275 else 10276 # Is the header compilable? 10277 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10278 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10279 cat >conftest.$ac_ext <<_ACEOF 10280 /* confdefs.h. */ 10281 _ACEOF 10282 cat confdefs.h >>conftest.$ac_ext 10283 cat >>conftest.$ac_ext <<_ACEOF 10284 /* end confdefs.h. */ 10285 $ac_includes_default 10286 #include <dld.h> 10287 _ACEOF 10288 rm -f conftest.$ac_objext 10289 if { (ac_try="$ac_compile" 10290 case "(($ac_try" in 10291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10292 *) ac_try_echo=$ac_try;; 10293 esac 10294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10295 (eval "$ac_compile") 2>conftest.er1 10296 ac_status=$? 10297 grep -v '^ *+' conftest.er1 >conftest.err 10298 rm -f conftest.er1 10299 cat conftest.err >&5 10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10301 (exit $ac_status); } && { 10302 test -z "$ac_cxx_werror_flag" || 10303 test ! -s conftest.err 10304 } && test -s conftest.$ac_objext; then 10305 ac_header_compiler=yes 10306 else 10307 echo "$as_me: failed program was:" >&5 10308 sed 's/^/| /' conftest.$ac_ext >&5 10309 10310 ac_header_compiler=no 10311 fi 10312 10313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10314 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10315 echo "${ECHO_T}$ac_header_compiler" >&6; } 10316 10317 # Is the header present? 10318 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10319 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10320 cat >conftest.$ac_ext <<_ACEOF 10321 /* confdefs.h. */ 10322 _ACEOF 10323 cat confdefs.h >>conftest.$ac_ext 10324 cat >>conftest.$ac_ext <<_ACEOF 10325 /* end confdefs.h. */ 10326 #include <dld.h> 10327 _ACEOF 10328 if { (ac_try="$ac_cpp conftest.$ac_ext" 10329 case "(($ac_try" in 10330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10331 *) ac_try_echo=$ac_try;; 10332 esac 10333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10334 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10335 ac_status=$? 10336 grep -v '^ *+' conftest.er1 >conftest.err 10337 rm -f conftest.er1 10338 cat conftest.err >&5 10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10340 (exit $ac_status); } >/dev/null && { 10341 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10342 test ! -s conftest.err 10343 }; then 10344 ac_header_preproc=yes 10345 else 10346 echo "$as_me: failed program was:" >&5 10347 sed 's/^/| /' conftest.$ac_ext >&5 10348 10349 ac_header_preproc=no 10350 fi 10351 10352 rm -f conftest.err conftest.$ac_ext 10353 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10354 echo "${ECHO_T}$ac_header_preproc" >&6; } 10355 10356 # So? What about this header? 10357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10358 yes:no: ) 10359 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10360 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10361 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10362 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10363 ac_header_preproc=yes 10364 ;; 10365 no:yes:* ) 10366 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10367 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10368 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10369 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10370 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10371 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10372 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10373 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10374 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10375 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10376 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10377 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10378 ( cat <<\_ASBOX 10379 ## ----------------------------------- ## 10380 ## Report this to rappture@nanohub.org ## 10381 ## ----------------------------------- ## 10382 _ASBOX 10383 ) | sed "s/^/$as_me: WARNING: /" >&2 10384 ;; 10385 esac 10386 { echo "$as_me:$LINENO: checking for dld.h" >&5 10387 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10388 if test "${ac_cv_header_dld_h+set}" = set; then 10389 echo $ECHO_N "(cached) $ECHO_C" >&6 10390 else 10391 ac_cv_header_dld_h=$ac_header_preproc 10392 fi 10393 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10394 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10395 10396 fi 10397 if test $ac_cv_header_dld_h = yes; then 6018 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6019 if test "x$ac_cv_header_dld_h" = x""yes; then : 10398 6020 10399 6021 SHLIB_LD="ld -shared" … … 10445 6067 NetBSD-*|FreeBSD-[1-2].*) 10446 6068 # Not available on all versions: check for include file. 10447 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10448 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10449 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10450 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10451 echo $ECHO_N "(cached) $ECHO_C" >&6 10452 fi 10453 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10454 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10455 else 10456 # Is the header compilable? 10457 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10458 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10459 cat >conftest.$ac_ext <<_ACEOF 10460 /* confdefs.h. */ 10461 _ACEOF 10462 cat confdefs.h >>conftest.$ac_ext 10463 cat >>conftest.$ac_ext <<_ACEOF 10464 /* end confdefs.h. */ 10465 $ac_includes_default 10466 #include <dlfcn.h> 10467 _ACEOF 10468 rm -f conftest.$ac_objext 10469 if { (ac_try="$ac_compile" 10470 case "(($ac_try" in 10471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10472 *) ac_try_echo=$ac_try;; 10473 esac 10474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10475 (eval "$ac_compile") 2>conftest.er1 10476 ac_status=$? 10477 grep -v '^ *+' conftest.er1 >conftest.err 10478 rm -f conftest.er1 10479 cat conftest.err >&5 10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10481 (exit $ac_status); } && { 10482 test -z "$ac_cxx_werror_flag" || 10483 test ! -s conftest.err 10484 } && test -s conftest.$ac_objext; then 10485 ac_header_compiler=yes 10486 else 10487 echo "$as_me: failed program was:" >&5 10488 sed 's/^/| /' conftest.$ac_ext >&5 10489 10490 ac_header_compiler=no 10491 fi 10492 10493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10494 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10495 echo "${ECHO_T}$ac_header_compiler" >&6; } 10496 10497 # Is the header present? 10498 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10499 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10500 cat >conftest.$ac_ext <<_ACEOF 10501 /* confdefs.h. */ 10502 _ACEOF 10503 cat confdefs.h >>conftest.$ac_ext 10504 cat >>conftest.$ac_ext <<_ACEOF 10505 /* end confdefs.h. */ 10506 #include <dlfcn.h> 10507 _ACEOF 10508 if { (ac_try="$ac_cpp conftest.$ac_ext" 10509 case "(($ac_try" in 10510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10511 *) ac_try_echo=$ac_try;; 10512 esac 10513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10515 ac_status=$? 10516 grep -v '^ *+' conftest.er1 >conftest.err 10517 rm -f conftest.er1 10518 cat conftest.err >&5 10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10520 (exit $ac_status); } >/dev/null && { 10521 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10522 test ! -s conftest.err 10523 }; then 10524 ac_header_preproc=yes 10525 else 10526 echo "$as_me: failed program was:" >&5 10527 sed 's/^/| /' conftest.$ac_ext >&5 10528 10529 ac_header_preproc=no 10530 fi 10531 10532 rm -f conftest.err conftest.$ac_ext 10533 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10534 echo "${ECHO_T}$ac_header_preproc" >&6; } 10535 10536 # So? What about this header? 10537 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10538 yes:no: ) 10539 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10540 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10541 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10542 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10543 ac_header_preproc=yes 10544 ;; 10545 no:yes:* ) 10546 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10547 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10548 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10549 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10550 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10551 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10552 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10553 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10554 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10555 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10556 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10557 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10558 ( cat <<\_ASBOX 10559 ## ----------------------------------- ## 10560 ## Report this to rappture@nanohub.org ## 10561 ## ----------------------------------- ## 10562 _ASBOX 10563 ) | sed "s/^/$as_me: WARNING: /" >&2 10564 ;; 10565 esac 10566 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10567 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10568 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10569 echo $ECHO_N "(cached) $ECHO_C" >&6 10570 else 10571 ac_cv_header_dlfcn_h=$ac_header_preproc 10572 fi 10573 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10574 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10575 10576 fi 10577 if test $ac_cv_header_dlfcn_h = yes; then 6069 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6070 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 10578 6071 10579 6072 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 10586 6079 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10587 6080 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10588 { echo "$as_me:$LINENO: checking for ELF" >&5 10589 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10590 if test "${tcl_cv_ld_elf+set}" = set; then 10591 echo $ECHO_N "(cached) $ECHO_C" >&6 10592 else 10593 10594 cat >conftest.$ac_ext <<_ACEOF 10595 /* confdefs.h. */ 10596 _ACEOF 10597 cat confdefs.h >>conftest.$ac_ext 10598 cat >>conftest.$ac_ext <<_ACEOF 6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6082 $as_echo_n "checking for ELF... " >&6; } 6083 if test "${tcl_cv_ld_elf+set}" = set; then : 6084 $as_echo_n "(cached) " >&6 6085 else 6086 6087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10599 6088 /* end confdefs.h. */ 10600 6089 … … 10605 6094 _ACEOF 10606 6095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10607 $EGREP "yes" >/dev/null 2>&1; then 6096 $EGREP "yes" >/dev/null 2>&1; then : 10608 6097 tcl_cv_ld_elf=yes 10609 6098 else … … 10613 6102 10614 6103 fi 10615 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510616 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6105 $as_echo "$tcl_cv_ld_elf" >&6; } 10617 6106 if test $tcl_cv_ld_elf = yes; then 10618 6107 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 10672 6161 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10673 6162 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 10674 { echo "$as_me:$LINENO: checking for ELF" >&5 10675 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10676 if test "${tcl_cv_ld_elf+set}" = set; then 10677 echo $ECHO_N "(cached) $ECHO_C" >&6 10678 else 10679 10680 cat >conftest.$ac_ext <<_ACEOF 10681 /* confdefs.h. */ 10682 _ACEOF 10683 cat confdefs.h >>conftest.$ac_ext 10684 cat >>conftest.$ac_ext <<_ACEOF 6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6164 $as_echo_n "checking for ELF... " >&6; } 6165 if test "${tcl_cv_ld_elf+set}" = set; then : 6166 $as_echo_n "(cached) " >&6 6167 else 6168 6169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10685 6170 /* end confdefs.h. */ 10686 6171 … … 10691 6176 _ACEOF 10692 6177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10693 $EGREP "yes" >/dev/null 2>&1; then 6178 $EGREP "yes" >/dev/null 2>&1; then : 10694 6179 tcl_cv_ld_elf=yes 10695 6180 else … … 10699 6184 10700 6185 fi 10701 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510702 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6187 $as_echo "$tcl_cv_ld_elf" >&6; } 10703 6188 if test $tcl_cv_ld_elf = yes; then 10704 6189 LDFLAGS=-Wl,-export-dynamic … … 10754 6239 case `arch` in 10755 6240 ppc) 10756 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&510757 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }10758 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 10759 echo $ECHO_N "(cached) $ECHO_C" >&66241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 6242 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6243 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then : 6244 $as_echo_n "(cached) " >&6 10760 6245 else 10761 6246 10762 6247 hold_cflags=$CFLAGS 10763 6248 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 10764 cat >conftest.$ac_ext <<_ACEOF 10765 /* confdefs.h. */ 10766 _ACEOF 10767 cat confdefs.h >>conftest.$ac_ext 10768 cat >>conftest.$ac_ext <<_ACEOF 6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10769 6250 /* end confdefs.h. */ 10770 6251 … … 10777 6258 } 10778 6259 _ACEOF 10779 rm -f conftest.$ac_objext conftest$ac_exeext 10780 if { (ac_try="$ac_link" 10781 case "(($ac_try" in 10782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10783 *) ac_try_echo=$ac_try;; 10784 esac 10785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10786 (eval "$ac_link") 2>conftest.er1 10787 ac_status=$? 10788 grep -v '^ *+' conftest.er1 >conftest.err 10789 rm -f conftest.er1 10790 cat conftest.err >&5 10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10792 (exit $ac_status); } && { 10793 test -z "$ac_cxx_werror_flag" || 10794 test ! -s conftest.err 10795 } && test -s conftest$ac_exeext && 10796 $as_test_x conftest$ac_exeext; then 6260 if ac_fn_cxx_try_link "$LINENO"; then : 10797 6261 tcl_cv_cc_arch_ppc64=yes 10798 6262 else 10799 echo "$as_me: failed program was:" >&5 10800 sed 's/^/| /' conftest.$ac_ext >&5 10801 10802 tcl_cv_cc_arch_ppc64=no 10803 fi 10804 10805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10806 conftest$ac_exeext conftest.$ac_ext 6263 tcl_cv_cc_arch_ppc64=no 6264 fi 6265 rm -f core conftest.err conftest.$ac_objext \ 6266 conftest$ac_exeext conftest.$ac_ext 10807 6267 CFLAGS=$hold_cflags 10808 6268 fi 10809 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&510810 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 6270 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 10811 6271 if test $tcl_cv_cc_arch_ppc64 = yes; then 10812 6272 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 10814 6274 fi;; 10815 6275 i386) 10816 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&510817 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }10818 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 10819 echo $ECHO_N "(cached) $ECHO_C" >&66276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 6277 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6278 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then : 6279 $as_echo_n "(cached) " >&6 10820 6280 else 10821 6281 10822 6282 hold_cflags=$CFLAGS 10823 6283 CFLAGS="$CFLAGS -arch x86_64" 10824 cat >conftest.$ac_ext <<_ACEOF 10825 /* confdefs.h. */ 10826 _ACEOF 10827 cat confdefs.h >>conftest.$ac_ext 10828 cat >>conftest.$ac_ext <<_ACEOF 6284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10829 6285 /* end confdefs.h. */ 10830 6286 … … 10837 6293 } 10838 6294 _ACEOF 10839 rm -f conftest.$ac_objext conftest$ac_exeext 10840 if { (ac_try="$ac_link" 10841 case "(($ac_try" in 10842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10843 *) ac_try_echo=$ac_try;; 10844 esac 10845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10846 (eval "$ac_link") 2>conftest.er1 10847 ac_status=$? 10848 grep -v '^ *+' conftest.er1 >conftest.err 10849 rm -f conftest.er1 10850 cat conftest.err >&5 10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10852 (exit $ac_status); } && { 10853 test -z "$ac_cxx_werror_flag" || 10854 test ! -s conftest.err 10855 } && test -s conftest$ac_exeext && 10856 $as_test_x conftest$ac_exeext; then 6295 if ac_fn_cxx_try_link "$LINENO"; then : 10857 6296 tcl_cv_cc_arch_x86_64=yes 10858 6297 else 10859 echo "$as_me: failed program was:" >&5 10860 sed 's/^/| /' conftest.$ac_ext >&5 10861 10862 tcl_cv_cc_arch_x86_64=no 10863 fi 10864 10865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10866 conftest$ac_exeext conftest.$ac_ext 6298 tcl_cv_cc_arch_x86_64=no 6299 fi 6300 rm -f core conftest.err conftest.$ac_objext \ 6301 conftest$ac_exeext conftest.$ac_ext 10867 6302 CFLAGS=$hold_cflags 10868 6303 fi 10869 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&510870 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 6305 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 10871 6306 if test $tcl_cv_cc_arch_x86_64 = yes; then 10872 6307 CFLAGS="$CFLAGS -arch x86_64" … … 10874 6309 fi;; 10875 6310 *) 10876 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&510877 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;6311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6312 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 10878 6313 esac 10879 6314 else … … 10884 6319 fi 10885 6320 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 10886 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&510887 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }10888 if test "${tcl_cv_ld_single_module+set}" = set; then 10889 echo $ECHO_N "(cached) $ECHO_C" >&66321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 6322 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6323 if test "${tcl_cv_ld_single_module+set}" = set; then : 6324 $as_echo_n "(cached) " >&6 10890 6325 else 10891 6326 10892 6327 hold_ldflags=$LDFLAGS 10893 6328 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10894 cat >conftest.$ac_ext <<_ACEOF 10895 /* confdefs.h. */ 10896 _ACEOF 10897 cat confdefs.h >>conftest.$ac_ext 10898 cat >>conftest.$ac_ext <<_ACEOF 6329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10899 6330 /* end confdefs.h. */ 10900 6331 … … 10907 6338 } 10908 6339 _ACEOF 10909 rm -f conftest.$ac_objext conftest$ac_exeext 10910 if { (ac_try="$ac_link" 10911 case "(($ac_try" in 10912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10913 *) ac_try_echo=$ac_try;; 10914 esac 10915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10916 (eval "$ac_link") 2>conftest.er1 10917 ac_status=$? 10918 grep -v '^ *+' conftest.er1 >conftest.err 10919 rm -f conftest.er1 10920 cat conftest.err >&5 10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10922 (exit $ac_status); } && { 10923 test -z "$ac_cxx_werror_flag" || 10924 test ! -s conftest.err 10925 } && test -s conftest$ac_exeext && 10926 $as_test_x conftest$ac_exeext; then 6340 if ac_fn_cxx_try_link "$LINENO"; then : 10927 6341 tcl_cv_ld_single_module=yes 10928 6342 else 10929 echo "$as_me: failed program was:" >&5 10930 sed 's/^/| /' conftest.$ac_ext >&5 10931 10932 tcl_cv_ld_single_module=no 10933 fi 10934 10935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10936 conftest$ac_exeext conftest.$ac_ext 6343 tcl_cv_ld_single_module=no 6344 fi 6345 rm -f core conftest.err conftest.$ac_objext \ 6346 conftest$ac_exeext conftest.$ac_ext 10937 6347 LDFLAGS=$hold_ldflags 10938 6348 fi 10939 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&510940 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 6350 $as_echo "$tcl_cv_ld_single_module" >&6; } 10941 6351 if test $tcl_cv_ld_single_module = yes; then 10942 6352 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 10951 6361 LDFLAGS="$LDFLAGS -prebind" 10952 6362 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10953 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&510954 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }10955 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 10956 echo $ECHO_N "(cached) $ECHO_C" >&66363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 6364 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6365 if test "${tcl_cv_ld_search_paths_first+set}" = set; then : 6366 $as_echo_n "(cached) " >&6 10957 6367 else 10958 6368 10959 6369 hold_ldflags=$LDFLAGS 10960 6370 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 10961 cat >conftest.$ac_ext <<_ACEOF 10962 /* confdefs.h. */ 10963 _ACEOF 10964 cat confdefs.h >>conftest.$ac_ext 10965 cat >>conftest.$ac_ext <<_ACEOF 6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10966 6372 /* end confdefs.h. */ 10967 6373 … … 10974 6380 } 10975 6381 _ACEOF 10976 rm -f conftest.$ac_objext conftest$ac_exeext 10977 if { (ac_try="$ac_link" 10978 case "(($ac_try" in 10979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10980 *) ac_try_echo=$ac_try;; 10981 esac 10982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10983 (eval "$ac_link") 2>conftest.er1 10984 ac_status=$? 10985 grep -v '^ *+' conftest.er1 >conftest.err 10986 rm -f conftest.er1 10987 cat conftest.err >&5 10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10989 (exit $ac_status); } && { 10990 test -z "$ac_cxx_werror_flag" || 10991 test ! -s conftest.err 10992 } && test -s conftest$ac_exeext && 10993 $as_test_x conftest$ac_exeext; then 6382 if ac_fn_cxx_try_link "$LINENO"; then : 10994 6383 tcl_cv_ld_search_paths_first=yes 10995 6384 else 10996 echo "$as_me: failed program was:" >&5 10997 sed 's/^/| /' conftest.$ac_ext >&5 10998 10999 tcl_cv_ld_search_paths_first=no 11000 fi 11001 11002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11003 conftest$ac_exeext conftest.$ac_ext 6385 tcl_cv_ld_search_paths_first=no 6386 fi 6387 rm -f core conftest.err conftest.$ac_objext \ 6388 conftest$ac_exeext conftest.$ac_ext 11004 6389 LDFLAGS=$hold_ldflags 11005 6390 fi 11006 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&511007 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 6392 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11008 6393 if test $tcl_cv_ld_search_paths_first = yes; then 11009 6394 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 11014 6399 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11015 6400 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11016 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&511017 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 6402 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11018 6403 # Check whether --enable-corefoundation was given. 11019 if test "${enable_corefoundation+set}" = set; then 6404 if test "${enable_corefoundation+set}" = set; then : 11020 6405 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11021 6406 else … … 11023 6408 fi 11024 6409 11025 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&511026 echo "${ECHO_T}$tcl_corefoundation" >&6; }6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 6411 $as_echo "$tcl_corefoundation" >&6; } 11027 6412 if test $tcl_corefoundation = yes; then 11028 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&511029 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }11030 if test "${tcl_cv_lib_corefoundation+set}" = set; then 11031 echo $ECHO_N "(cached) $ECHO_C" >&66413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 6414 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6415 if test "${tcl_cv_lib_corefoundation+set}" = set; then : 6416 $as_echo_n "(cached) " >&6 11032 6417 else 11033 6418 … … 11040 6425 done; fi 11041 6426 LIBS="$LIBS -framework CoreFoundation" 11042 cat >conftest.$ac_ext <<_ACEOF 11043 /* confdefs.h. */ 11044 _ACEOF 11045 cat confdefs.h >>conftest.$ac_ext 11046 cat >>conftest.$ac_ext <<_ACEOF 6427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11047 6428 /* end confdefs.h. */ 11048 6429 #include <CoreFoundation/CoreFoundation.h> … … 11055 6436 } 11056 6437 _ACEOF 11057 rm -f conftest.$ac_objext conftest$ac_exeext 11058 if { (ac_try="$ac_link" 11059 case "(($ac_try" in 11060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11061 *) ac_try_echo=$ac_try;; 11062 esac 11063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11064 (eval "$ac_link") 2>conftest.er1 11065 ac_status=$? 11066 grep -v '^ *+' conftest.er1 >conftest.err 11067 rm -f conftest.er1 11068 cat conftest.err >&5 11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11070 (exit $ac_status); } && { 11071 test -z "$ac_cxx_werror_flag" || 11072 test ! -s conftest.err 11073 } && test -s conftest$ac_exeext && 11074 $as_test_x conftest$ac_exeext; then 6438 if ac_fn_cxx_try_link "$LINENO"; then : 11075 6439 tcl_cv_lib_corefoundation=yes 11076 6440 else 11077 echo "$as_me: failed program was:" >&5 11078 sed 's/^/| /' conftest.$ac_ext >&5 11079 11080 tcl_cv_lib_corefoundation=no 11081 fi 11082 11083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11084 conftest$ac_exeext conftest.$ac_ext 6441 tcl_cv_lib_corefoundation=no 6442 fi 6443 rm -f core conftest.err conftest.$ac_objext \ 6444 conftest$ac_exeext conftest.$ac_ext 11085 6445 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11086 6446 eval $v'="$hold_'$v'"' 11087 6447 done; fi; LIBS=$hold_libs 11088 6448 fi 11089 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&511090 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 6450 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11091 6451 if test $tcl_cv_lib_corefoundation = yes; then 11092 6452 LIBS="$LIBS -framework CoreFoundation" 11093 cat >>confdefs.h <<\_ACEOF 11094 #define HAVE_COREFOUNDATION 1 11095 _ACEOF 6453 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11096 6454 11097 6455 else … … 11099 6457 fi 11100 6458 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11101 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&511102 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }11103 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 11104 echo $ECHO_N "(cached) $ECHO_C" >&66459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 6460 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6461 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then : 6462 $as_echo_n "(cached) " >&6 11105 6463 else 11106 6464 … … 11108 6466 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11109 6467 done 11110 cat >conftest.$ac_ext <<_ACEOF 11111 /* confdefs.h. */ 11112 _ACEOF 11113 cat confdefs.h >>conftest.$ac_ext 11114 cat >>conftest.$ac_ext <<_ACEOF 6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11115 6469 /* end confdefs.h. */ 11116 6470 #include <CoreFoundation/CoreFoundation.h> … … 11123 6477 } 11124 6478 _ACEOF 11125 rm -f conftest.$ac_objext conftest$ac_exeext 11126 if { (ac_try="$ac_link" 11127 case "(($ac_try" in 11128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11129 *) ac_try_echo=$ac_try;; 11130 esac 11131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11132 (eval "$ac_link") 2>conftest.er1 11133 ac_status=$? 11134 grep -v '^ *+' conftest.er1 >conftest.err 11135 rm -f conftest.er1 11136 cat conftest.err >&5 11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11138 (exit $ac_status); } && { 11139 test -z "$ac_cxx_werror_flag" || 11140 test ! -s conftest.err 11141 } && test -s conftest$ac_exeext && 11142 $as_test_x conftest$ac_exeext; then 6479 if ac_fn_cxx_try_link "$LINENO"; then : 11143 6480 tcl_cv_lib_corefoundation_64=yes 11144 6481 else 11145 echo "$as_me: failed program was:" >&5 11146 sed 's/^/| /' conftest.$ac_ext >&5 11147 11148 tcl_cv_lib_corefoundation_64=no 11149 fi 11150 11151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11152 conftest$ac_exeext conftest.$ac_ext 6482 tcl_cv_lib_corefoundation_64=no 6483 fi 6484 rm -f core conftest.err conftest.$ac_objext \ 6485 conftest$ac_exeext conftest.$ac_ext 11153 6486 for v in CFLAGS CPPFLAGS LDFLAGS; do 11154 6487 eval $v'="$hold_'$v'"' 11155 6488 done 11156 6489 fi 11157 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&511158 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 6491 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11159 6492 if test $tcl_cv_lib_corefoundation_64 = no; then 11160 cat >>confdefs.h <<\_ACEOF 11161 #define NO_COREFOUNDATION_64 1 11162 _ACEOF 6493 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11163 6494 11164 6495 fi 11165 6496 fi 11166 6497 fi 11167 cat >>confdefs.h <<\_ACEOF 11168 #define MAC_OSX_TCL 1 11169 _ACEOF 6498 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11170 6499 11171 6500 ;; … … 11182 6511 OS/390-*) 11183 6512 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11184 cat >>confdefs.h <<\_ACEOF 11185 #define _OE_SOCKETS 1 11186 _ACEOF 6513 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11187 6514 # needed in sys/socket.h 11188 6515 ;; … … 11325 6652 # won't define thread-safe library routines. 11326 6653 11327 cat >>confdefs.h <<\_ACEOF 11328 #define _REENTRANT 1 11329 _ACEOF 11330 11331 cat >>confdefs.h <<\_ACEOF 11332 #define _POSIX_PTHREAD_SEMANTICS 1 11333 _ACEOF 6654 $as_echo "#define _REENTRANT 1" >>confdefs.h 6655 6656 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11334 6657 11335 6658 … … 11357 6680 # won't define thread-safe library routines. 11358 6681 11359 cat >>confdefs.h <<\_ACEOF 11360 #define _REENTRANT 1 11361 _ACEOF 11362 11363 cat >>confdefs.h <<\_ACEOF 11364 #define _POSIX_PTHREAD_SEMANTICS 1 11365 _ACEOF 6682 $as_echo "#define _REENTRANT 1" >>confdefs.h 6683 6684 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11366 6685 11367 6686 … … 11374 6693 if test "$GCC" = "yes" ; then 11375 6694 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11376 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&511377 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6696 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11378 6697 else 11379 6698 do64bit_ok=yes … … 11396 6715 elif test "$arch" = "amd64 i386" ; then 11397 6716 if test "$GCC" = "yes" ; then 11398 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&511399 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6718 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11400 6719 else 11401 6720 do64bit_ok=yes … … 11404 6723 fi 11405 6724 else 11406 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&511407 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}6725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6726 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11408 6727 fi 11409 6728 fi … … 11463 6782 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11464 6783 # that don't grok the -Bexport option. Test that it does. 11465 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&511466 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }11467 if test "${tcl_cv_ld_Bexport+set}" = set; then 11468 echo $ECHO_N "(cached) $ECHO_C" >&66784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6785 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6786 if test "${tcl_cv_ld_Bexport+set}" = set; then : 6787 $as_echo_n "(cached) " >&6 11469 6788 else 11470 6789 11471 6790 hold_ldflags=$LDFLAGS 11472 6791 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11473 cat >conftest.$ac_ext <<_ACEOF 11474 /* confdefs.h. */ 11475 _ACEOF 11476 cat confdefs.h >>conftest.$ac_ext 11477 cat >>conftest.$ac_ext <<_ACEOF 6792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11478 6793 /* end confdefs.h. */ 11479 6794 … … 11486 6801 } 11487 6802 _ACEOF 11488 rm -f conftest.$ac_objext conftest$ac_exeext 11489 if { (ac_try="$ac_link" 11490 case "(($ac_try" in 11491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11492 *) ac_try_echo=$ac_try;; 11493 esac 11494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11495 (eval "$ac_link") 2>conftest.er1 11496 ac_status=$? 11497 grep -v '^ *+' conftest.er1 >conftest.err 11498 rm -f conftest.er1 11499 cat conftest.err >&5 11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11501 (exit $ac_status); } && { 11502 test -z "$ac_cxx_werror_flag" || 11503 test ! -s conftest.err 11504 } && test -s conftest$ac_exeext && 11505 $as_test_x conftest$ac_exeext; then 6803 if ac_fn_cxx_try_link "$LINENO"; then : 11506 6804 tcl_cv_ld_Bexport=yes 11507 6805 else 11508 echo "$as_me: failed program was:" >&5 11509 sed 's/^/| /' conftest.$ac_ext >&5 11510 11511 tcl_cv_ld_Bexport=no 11512 fi 11513 11514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11515 conftest$ac_exeext conftest.$ac_ext 6806 tcl_cv_ld_Bexport=no 6807 fi 6808 rm -f core conftest.err conftest.$ac_objext \ 6809 conftest$ac_exeext conftest.$ac_ext 11516 6810 LDFLAGS=$hold_ldflags 11517 6811 fi 11518 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&511519 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6813 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11520 6814 if test $tcl_cv_ld_Bexport = yes; then 11521 6815 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 11527 6821 11528 6822 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11529 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&511530 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}6823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6824 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11531 6825 fi 11532 6826 … … 11554 6848 11555 6849 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 11556 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11557 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11558 if test "${tcl_cv_sysexec_h+set}" = set; then 11559 echo $ECHO_N "(cached) $ECHO_C" >&6 11560 else 11561 11562 cat >conftest.$ac_ext <<_ACEOF 11563 /* confdefs.h. */ 11564 _ACEOF 11565 cat confdefs.h >>conftest.$ac_ext 11566 cat >>conftest.$ac_ext <<_ACEOF 6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6851 $as_echo_n "checking sys/exec.h... " >&6; } 6852 if test "${tcl_cv_sysexec_h+set}" = set; then : 6853 $as_echo_n "(cached) " >&6 6854 else 6855 6856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11567 6857 /* end confdefs.h. */ 11568 6858 #include <sys/exec.h> … … 11586 6876 } 11587 6877 _ACEOF 11588 rm -f conftest.$ac_objext 11589 if { (ac_try="$ac_compile" 11590 case "(($ac_try" in 11591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11592 *) ac_try_echo=$ac_try;; 11593 esac 11594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11595 (eval "$ac_compile") 2>conftest.er1 11596 ac_status=$? 11597 grep -v '^ *+' conftest.er1 >conftest.err 11598 rm -f conftest.er1 11599 cat conftest.err >&5 11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11601 (exit $ac_status); } && { 11602 test -z "$ac_cxx_werror_flag" || 11603 test ! -s conftest.err 11604 } && test -s conftest.$ac_objext; then 6878 if ac_fn_cxx_try_compile "$LINENO"; then : 11605 6879 tcl_cv_sysexec_h=usable 11606 6880 else 11607 echo "$as_me: failed program was:" >&5 11608 sed 's/^/| /' conftest.$ac_ext >&5 11609 11610 tcl_cv_sysexec_h=unusable 11611 fi 11612 6881 tcl_cv_sysexec_h=unusable 6882 fi 11613 6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11614 6884 fi 11615 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&511616 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6886 $as_echo "$tcl_cv_sysexec_h" >&6; } 11617 6887 if test $tcl_cv_sysexec_h = usable; then 11618 cat >>confdefs.h <<\_ACEOF 11619 #define USE_SYS_EXEC_H 1 11620 _ACEOF 6888 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11621 6889 11622 6890 else 11623 { echo "$as_me:$LINENO: checking a.out.h" >&5 11624 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11625 if test "${tcl_cv_aout_h+set}" = set; then 11626 echo $ECHO_N "(cached) $ECHO_C" >&6 11627 else 11628 11629 cat >conftest.$ac_ext <<_ACEOF 11630 /* confdefs.h. */ 11631 _ACEOF 11632 cat confdefs.h >>conftest.$ac_ext 11633 cat >>conftest.$ac_ext <<_ACEOF 6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6892 $as_echo_n "checking a.out.h... " >&6; } 6893 if test "${tcl_cv_aout_h+set}" = set; then : 6894 $as_echo_n "(cached) " >&6 6895 else 6896 6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11634 6898 /* end confdefs.h. */ 11635 6899 #include <a.out.h> … … 11653 6917 } 11654 6918 _ACEOF 11655 rm -f conftest.$ac_objext 11656 if { (ac_try="$ac_compile" 11657 case "(($ac_try" in 11658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11659 *) ac_try_echo=$ac_try;; 11660 esac 11661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11662 (eval "$ac_compile") 2>conftest.er1 11663 ac_status=$? 11664 grep -v '^ *+' conftest.er1 >conftest.err 11665 rm -f conftest.er1 11666 cat conftest.err >&5 11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11668 (exit $ac_status); } && { 11669 test -z "$ac_cxx_werror_flag" || 11670 test ! -s conftest.err 11671 } && test -s conftest.$ac_objext; then 6919 if ac_fn_cxx_try_compile "$LINENO"; then : 11672 6920 tcl_cv_aout_h=usable 11673 6921 else 11674 echo "$as_me: failed program was:" >&5 11675 sed 's/^/| /' conftest.$ac_ext >&5 11676 11677 tcl_cv_aout_h=unusable 11678 fi 11679 6922 tcl_cv_aout_h=unusable 6923 fi 11680 6924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11681 6925 fi 11682 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&511683 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6927 $as_echo "$tcl_cv_aout_h" >&6; } 11684 6928 if test $tcl_cv_aout_h = usable; then 11685 cat >>confdefs.h <<\_ACEOF 11686 #define USE_A_OUT_H 1 11687 _ACEOF 6929 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11688 6930 11689 6931 else 11690 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11691 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11692 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11693 echo $ECHO_N "(cached) $ECHO_C" >&6 11694 else 11695 11696 cat >conftest.$ac_ext <<_ACEOF 11697 /* confdefs.h. */ 11698 _ACEOF 11699 cat confdefs.h >>conftest.$ac_ext 11700 cat >>conftest.$ac_ext <<_ACEOF 6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6933 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6934 if test "${tcl_cv_sysexecaout_h+set}" = set; then : 6935 $as_echo_n "(cached) " >&6 6936 else 6937 6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11701 6939 /* end confdefs.h. */ 11702 6940 #include <sys/exec_aout.h> … … 11720 6958 } 11721 6959 _ACEOF 11722 rm -f conftest.$ac_objext 11723 if { (ac_try="$ac_compile" 11724 case "(($ac_try" in 11725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11726 *) ac_try_echo=$ac_try;; 11727 esac 11728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11729 (eval "$ac_compile") 2>conftest.er1 11730 ac_status=$? 11731 grep -v '^ *+' conftest.er1 >conftest.err 11732 rm -f conftest.er1 11733 cat conftest.err >&5 11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11735 (exit $ac_status); } && { 11736 test -z "$ac_cxx_werror_flag" || 11737 test ! -s conftest.err 11738 } && test -s conftest.$ac_objext; then 6960 if ac_fn_cxx_try_compile "$LINENO"; then : 11739 6961 tcl_cv_sysexecaout_h=usable 11740 6962 else 11741 echo "$as_me: failed program was:" >&5 11742 sed 's/^/| /' conftest.$ac_ext >&5 11743 11744 tcl_cv_sysexecaout_h=unusable 11745 fi 11746 6963 tcl_cv_sysexecaout_h=unusable 6964 fi 11747 6965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11748 6966 fi 11749 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&511750 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 6968 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 11751 6969 if test $tcl_cv_sysexecaout_h = usable; then 11752 cat >>confdefs.h <<\_ACEOF 11753 #define USE_SYS_EXEC_AOUT_H 1 11754 _ACEOF 6970 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11755 6971 11756 6972 else … … 11764 6980 11765 6981 # Check whether --enable-load was given. 11766 if test "${enable_load+set}" = set; then 6982 if test "${enable_load+set}" = set; then : 11767 6983 enableval=$enable_load; tcl_ok=$enableval 11768 6984 else … … 11895 7111 done 11896 7112 if test "x${make_command}" = "x" ; then 11897 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11898 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11899 { (exit 1); exit 1; }; } 7113 as_fn_error "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11900 7114 fi 11901 7115 MAKE=${make_command} … … 11903 7117 11904 7118 # Check whether --enable-gui was given. 11905 if test "${enable_gui+set}" = set; then 7119 if test "${enable_gui+set}" = set; then : 11906 7120 enableval=$enable_gui; 11907 7121 else … … 11919 7133 11920 7134 # Check whether --with-tclsh was given. 11921 if test "${with_tclsh+set}" = set; then 7135 if test "${with_tclsh+set}" = set; then : 11922 7136 withval=$with_tclsh; 11923 7137 else … … 11928 7142 TCLSH= 11929 7143 if test "$with_tclsh" != "no" ; then 11930 { echo "$as_me:$LINENO: checking for tclsh" >&511931 echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5 7145 $as_echo_n "checking for tclsh... " >&6; } 11932 7146 if test -x "$with_tclsh/bin/tclsh" 11933 7147 then … … 11942 7156 # Extract the first word of "tclsh", so it can be a program name with args. 11943 7157 set dummy tclsh; ac_word=$2 11944 { echo "$as_me:$LINENO: checking for $ac_word" >&511945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }11946 if test "${ac_cv_path_TCLSH+set}" = set; then 11947 echo $ECHO_N "(cached) $ECHO_C" >&67158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7159 $as_echo_n "checking for $ac_word... " >&6; } 7160 if test "${ac_cv_path_TCLSH+set}" = set; then : 7161 $as_echo_n "(cached) " >&6 11948 7162 else 11949 7163 case $TCLSH in … … 11957 7171 IFS=$as_save_IFS 11958 7172 test -z "$as_dir" && as_dir=. 11959 for ac_exec_ext in '' $ac_executable_extensions; do7173 for ac_exec_ext in '' $ac_executable_extensions; do 11960 7174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11961 7175 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 11962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11963 7177 break 2 11964 7178 fi 11965 7179 done 11966 done7180 done 11967 7181 IFS=$as_save_IFS 11968 7182 … … 11972 7186 TCLSH=$ac_cv_path_TCLSH 11973 7187 if test -n "$TCLSH"; then 11974 { echo "$as_me:$LINENO: result: $TCLSH" >&511975 echo "${ECHO_T}$TCLSH" >&6; }11976 else 11977 { echo "$as_me:$LINENO: result: no" >&511978 echo "${ECHO_T}no" >&6; }7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7189 $as_echo "$TCLSH" >&6; } 7190 else 7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7192 $as_echo "no" >&6; } 11979 7193 fi 11980 7194 … … 11983 7197 fi 11984 7198 fi 11985 { echo "$as_me:$LINENO: result: ${TCLSH}" >&511986 echo "${ECHO_T}${TCLSH}" >&6; }7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5 7200 $as_echo "${TCLSH}" >&6; } 11987 7201 11988 7202 … … 11990 7204 11991 7205 # Check whether --with-matlab was given. 11992 if test "${with_matlab+set}" = set; then 7206 if test "${with_matlab+set}" = set; then : 11993 7207 withval=$with_matlab; with_matlab=$withval 11994 7208 else … … 12006 7220 # Extract the first word of "matlab", so it can be a program name with args. 12007 7221 set dummy matlab; ac_word=$2 12008 { echo "$as_me:$LINENO: checking for $ac_word" >&512009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12010 if test "${ac_cv_path_MATLAB+set}" = set; then 12011 echo $ECHO_N "(cached) $ECHO_C" >&67222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7223 $as_echo_n "checking for $ac_word... " >&6; } 7224 if test "${ac_cv_path_MATLAB+set}" = set; then : 7225 $as_echo_n "(cached) " >&6 12012 7226 else 12013 7227 case $MATLAB in … … 12021 7235 IFS=$as_save_IFS 12022 7236 test -z "$as_dir" && as_dir=. 12023 for ac_exec_ext in '' $ac_executable_extensions; do7237 for ac_exec_ext in '' $ac_executable_extensions; do 12024 7238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12025 7239 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12027 7241 break 2 12028 7242 fi 12029 7243 done 12030 done7244 done 12031 7245 IFS=$as_save_IFS 12032 7246 … … 12036 7250 MATLAB=$ac_cv_path_MATLAB 12037 7251 if test -n "$MATLAB"; then 12038 { echo "$as_me:$LINENO: result: $MATLAB" >&512039 echo "${ECHO_T}$MATLAB" >&6; }12040 else 12041 { echo "$as_me:$LINENO: result: no" >&512042 echo "${ECHO_T}no" >&6; }7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7253 $as_echo "$MATLAB" >&6; } 7254 else 7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7256 $as_echo "no" >&6; } 12043 7257 fi 12044 7258 … … 12047 7261 # Extract the first word of "matlab", so it can be a program name with args. 12048 7262 set dummy matlab; ac_word=$2 12049 { echo "$as_me:$LINENO: checking for $ac_word" >&512050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12051 if test "${ac_cv_path_MATLAB+set}" = set; then 12052 echo $ECHO_N "(cached) $ECHO_C" >&67263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7264 $as_echo_n "checking for $ac_word... " >&6; } 7265 if test "${ac_cv_path_MATLAB+set}" = set; then : 7266 $as_echo_n "(cached) " >&6 12053 7267 else 12054 7268 case $MATLAB in … … 12062 7276 IFS=$as_save_IFS 12063 7277 test -z "$as_dir" && as_dir=. 12064 for ac_exec_ext in '' $ac_executable_extensions; do7278 for ac_exec_ext in '' $ac_executable_extensions; do 12065 7279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12066 7280 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12068 7282 break 2 12069 7283 fi 12070 7284 done 12071 done7285 done 12072 7286 IFS=$as_save_IFS 12073 7287 … … 12078 7292 MATLAB=$ac_cv_path_MATLAB 12079 7293 if test -n "$MATLAB"; then 12080 { echo "$as_me:$LINENO: result: $MATLAB" >&512081 echo "${ECHO_T}$MATLAB" >&6; }12082 else 12083 { echo "$as_me:$LINENO: result: no" >&512084 echo "${ECHO_T}no" >&6; }7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7295 $as_echo "$MATLAB" >&6; } 7296 else 7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7298 $as_echo "no" >&6; } 12085 7299 fi 12086 7300 … … 12098 7312 # Extract the first word of "mex", so it can be a program name with args. 12099 7313 set dummy mex; ac_word=$2 12100 { echo "$as_me:$LINENO: checking for $ac_word" >&512101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12102 if test "${ac_cv_path_MEX+set}" = set; then 12103 echo $ECHO_N "(cached) $ECHO_C" >&67314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7315 $as_echo_n "checking for $ac_word... " >&6; } 7316 if test "${ac_cv_path_MEX+set}" = set; then : 7317 $as_echo_n "(cached) " >&6 12104 7318 else 12105 7319 case $MEX in … … 12113 7327 IFS=$as_save_IFS 12114 7328 test -z "$as_dir" && as_dir=. 12115 for ac_exec_ext in '' $ac_executable_extensions; do7329 for ac_exec_ext in '' $ac_executable_extensions; do 12116 7330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12117 7331 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12119 7333 break 2 12120 7334 fi 12121 7335 done 12122 done7336 done 12123 7337 IFS=$as_save_IFS 12124 7338 … … 12129 7343 MEX=$ac_cv_path_MEX 12130 7344 if test -n "$MEX"; then 12131 { echo "$as_me:$LINENO: result: $MEX" >&512132 echo "${ECHO_T}$MEX" >&6; }12133 else 12134 { echo "$as_me:$LINENO: result: no" >&512135 echo "${ECHO_T}no" >&6; }7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 7346 $as_echo "$MEX" >&6; } 7347 else 7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7349 $as_echo "no" >&6; } 12136 7350 fi 12137 7351 … … 12139 7353 # Extract the first word of "mexext", so it can be a program name with args. 12140 7354 set dummy mexext; ac_word=$2 12141 { echo "$as_me:$LINENO: checking for $ac_word" >&512142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12143 if test "${ac_cv_path_MEXEXT+set}" = set; then 12144 echo $ECHO_N "(cached) $ECHO_C" >&67355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7356 $as_echo_n "checking for $ac_word... " >&6; } 7357 if test "${ac_cv_path_MEXEXT+set}" = set; then : 7358 $as_echo_n "(cached) " >&6 12145 7359 else 12146 7360 case $MEXEXT in … … 12154 7368 IFS=$as_save_IFS 12155 7369 test -z "$as_dir" && as_dir=. 12156 for ac_exec_ext in '' $ac_executable_extensions; do7370 for ac_exec_ext in '' $ac_executable_extensions; do 12157 7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12158 7372 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12160 7374 break 2 12161 7375 fi 12162 7376 done 12163 done7377 done 12164 7378 IFS=$as_save_IFS 12165 7379 … … 12170 7384 MEXEXT=$ac_cv_path_MEXEXT 12171 7385 if test -n "$MEXEXT"; then 12172 { echo "$as_me:$LINENO: result: $MEXEXT" >&512173 echo "${ECHO_T}$MEXEXT" >&6; }12174 else 12175 { echo "$as_me:$LINENO: result: no" >&512176 echo "${ECHO_T}no" >&6; }7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7387 $as_echo "$MEXEXT" >&6; } 7388 else 7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7390 $as_echo "no" >&6; } 12177 7391 fi 12178 7392 … … 12180 7394 12181 7395 # Run "mexext" to get the expected module extension for this platform. 12182 { echo "$as_me:$LINENO: checking for mex extension" >&512183 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 7397 $as_echo_n "checking for mex extension... " >&6; } 12184 7398 if test "x$MEXEXT" != "x" ; then 12185 7399 MEXEXT=`$MEXEXT` … … 12187 7401 MEXEXT="mexglx" 12188 7402 fi 12189 { echo "$as_me:$LINENO: result: $MEXEXT" >&512190 echo "${ECHO_T}$MEXEXT" >&6; }7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7404 $as_echo "$MEXEXT" >&6; } 12191 7405 # Extract the first word of "mcc", so it can be a program name with args. 12192 7406 set dummy mcc; ac_word=$2 12193 { echo "$as_me:$LINENO: checking for $ac_word" >&512194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12195 if test "${ac_cv_path_MCC+set}" = set; then 12196 echo $ECHO_N "(cached) $ECHO_C" >&67407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7408 $as_echo_n "checking for $ac_word... " >&6; } 7409 if test "${ac_cv_path_MCC+set}" = set; then : 7410 $as_echo_n "(cached) " >&6 12197 7411 else 12198 7412 case $MCC in … … 12206 7420 IFS=$as_save_IFS 12207 7421 test -z "$as_dir" && as_dir=. 12208 for ac_exec_ext in '' $ac_executable_extensions; do7422 for ac_exec_ext in '' $ac_executable_extensions; do 12209 7423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12210 7424 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12212 7426 break 2 12213 7427 fi 12214 7428 done 12215 done7429 done 12216 7430 IFS=$as_save_IFS 12217 7431 … … 12222 7436 MCC=$ac_cv_path_MCC 12223 7437 if test -n "$MCC"; then 12224 { echo "$as_me:$LINENO: result: $MCC" >&512225 echo "${ECHO_T}$MCC" >&6; }12226 else 12227 { echo "$as_me:$LINENO: result: no" >&512228 echo "${ECHO_T}no" >&6; }12229 fi 12230 12231 12232 { echo "$as_me:$LINENO: checking for mcc extension" >&512233 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; }7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 7439 $as_echo "$MCC" >&6; } 7440 else 7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7442 $as_echo "no" >&6; } 7443 fi 7444 7445 7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 7447 $as_echo_n "checking for mcc extension... " >&6; } 12234 7448 fi 12235 7449 … … 12242 7456 12243 7457 # Check whether --with-octave was given. 12244 if test "${with_octave+set}" = set; then 7458 if test "${with_octave+set}" = set; then : 12245 7459 withval=$with_octave; with_octave=$withval 12246 7460 else … … 12254 7468 MKOCTFILE= 12255 7469 if test "$with_octave" != "no" ; then 12256 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512257 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7471 $as_echo_n "checking for octave and mkoctfile... " >&6; } 12258 7472 if test "$with_octave" = "yes" ; then 12259 7473 # Extract the first word of "octave", so it can be a program name with args. 12260 7474 set dummy octave; ac_word=$2 12261 { echo "$as_me:$LINENO: checking for $ac_word" >&512262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12263 if test "${ac_cv_path_OCTAVE+set}" = set; then 12264 echo $ECHO_N "(cached) $ECHO_C" >&67475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7476 $as_echo_n "checking for $ac_word... " >&6; } 7477 if test "${ac_cv_path_OCTAVE+set}" = set; then : 7478 $as_echo_n "(cached) " >&6 12265 7479 else 12266 7480 case $OCTAVE in … … 12274 7488 IFS=$as_save_IFS 12275 7489 test -z "$as_dir" && as_dir=. 12276 for ac_exec_ext in '' $ac_executable_extensions; do7490 for ac_exec_ext in '' $ac_executable_extensions; do 12277 7491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12278 7492 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12280 7494 break 2 12281 7495 fi 12282 7496 done 12283 done7497 done 12284 7498 IFS=$as_save_IFS 12285 7499 … … 12289 7503 OCTAVE=$ac_cv_path_OCTAVE 12290 7504 if test -n "$OCTAVE"; then 12291 { echo "$as_me:$LINENO: result: $OCTAVE" >&512292 echo "${ECHO_T}$OCTAVE" >&6; }12293 else 12294 { echo "$as_me:$LINENO: result: no" >&512295 echo "${ECHO_T}no" >&6; }7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7506 $as_echo "$OCTAVE" >&6; } 7507 else 7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7509 $as_echo "no" >&6; } 12296 7510 fi 12297 7511 … … 12299 7513 # Extract the first word of "mkoctfile", so it can be a program name with args. 12300 7514 set dummy mkoctfile; ac_word=$2 12301 { echo "$as_me:$LINENO: checking for $ac_word" >&512302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12303 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 12304 echo $ECHO_N "(cached) $ECHO_C" >&67515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7516 $as_echo_n "checking for $ac_word... " >&6; } 7517 if test "${ac_cv_path_MKOCTFILE+set}" = set; then : 7518 $as_echo_n "(cached) " >&6 12305 7519 else 12306 7520 case $MKOCTFILE in … … 12314 7528 IFS=$as_save_IFS 12315 7529 test -z "$as_dir" && as_dir=. 12316 for ac_exec_ext in '' $ac_executable_extensions; do7530 for ac_exec_ext in '' $ac_executable_extensions; do 12317 7531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12318 7532 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12320 7534 break 2 12321 7535 fi 12322 7536 done 12323 done7537 done 12324 7538 IFS=$as_save_IFS 12325 7539 … … 12329 7543 MKOCTFILE=$ac_cv_path_MKOCTFILE 12330 7544 if test -n "$MKOCTFILE"; then 12331 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512332 echo "${ECHO_T}$MKOCTFILE" >&6; }12333 else 12334 { echo "$as_me:$LINENO: result: no" >&512335 echo "${ECHO_T}no" >&6; }7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7546 $as_echo "$MKOCTFILE" >&6; } 7547 else 7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7549 $as_echo "no" >&6; } 12336 7550 fi 12337 7551 … … 12340 7554 # Extract the first word of "octave", so it can be a program name with args. 12341 7555 set dummy octave; ac_word=$2 12342 { echo "$as_me:$LINENO: checking for $ac_word" >&512343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12344 if test "${ac_cv_path_OCTAVE+set}" = set; then 12345 echo $ECHO_N "(cached) $ECHO_C" >&67556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7557 $as_echo_n "checking for $ac_word... " >&6; } 7558 if test "${ac_cv_path_OCTAVE+set}" = set; then : 7559 $as_echo_n "(cached) " >&6 12346 7560 else 12347 7561 case $OCTAVE in … … 12355 7569 IFS=$as_save_IFS 12356 7570 test -z "$as_dir" && as_dir=. 12357 for ac_exec_ext in '' $ac_executable_extensions; do7571 for ac_exec_ext in '' $ac_executable_extensions; do 12358 7572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12359 7573 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12361 7575 break 2 12362 7576 fi 12363 7577 done 12364 done7578 done 12365 7579 IFS=$as_save_IFS 12366 7580 … … 12371 7585 OCTAVE=$ac_cv_path_OCTAVE 12372 7586 if test -n "$OCTAVE"; then 12373 { echo "$as_me:$LINENO: result: $OCTAVE" >&512374 echo "${ECHO_T}$OCTAVE" >&6; }12375 else 12376 { echo "$as_me:$LINENO: result: no" >&512377 echo "${ECHO_T}no" >&6; }7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7588 $as_echo "$OCTAVE" >&6; } 7589 else 7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7591 $as_echo "no" >&6; } 12378 7592 fi 12379 7593 … … 12381 7595 # Extract the first word of "mkoctfile", so it can be a program name with args. 12382 7596 set dummy mkoctfile; ac_word=$2 12383 { echo "$as_me:$LINENO: checking for $ac_word" >&512384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12385 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 12386 echo $ECHO_N "(cached) $ECHO_C" >&67597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7598 $as_echo_n "checking for $ac_word... " >&6; } 7599 if test "${ac_cv_path_MKOCTFILE+set}" = set; then : 7600 $as_echo_n "(cached) " >&6 12387 7601 else 12388 7602 case $MKOCTFILE in … … 12396 7610 IFS=$as_save_IFS 12397 7611 test -z "$as_dir" && as_dir=. 12398 for ac_exec_ext in '' $ac_executable_extensions; do7612 for ac_exec_ext in '' $ac_executable_extensions; do 12399 7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12400 7614 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12402 7616 break 2 12403 7617 fi 12404 7618 done 12405 done7619 done 12406 7620 IFS=$as_save_IFS 12407 7621 … … 12412 7626 MKOCTFILE=$ac_cv_path_MKOCTFILE 12413 7627 if test -n "$MKOCTFILE"; then 12414 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512415 echo "${ECHO_T}$MKOCTFILE" >&6; }12416 else 12417 { echo "$as_me:$LINENO: result: no" >&512418 echo "${ECHO_T}no" >&6; }7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7629 $as_echo "$MKOCTFILE" >&6; } 7630 else 7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7632 $as_echo "no" >&6; } 12419 7633 fi 12420 7634 … … 12434 7648 12435 7649 # Check whether --with-perl was given. 12436 if test "${with_perl+set}" = set; then 7650 if test "${with_perl+set}" = set; then : 12437 7651 withval=$with_perl; 12438 7652 else … … 12453 7667 PERL_LIBSPEC= 12454 7668 if test "$with_perl" != "no" ; then 12455 { echo "$as_me:$LINENO: checking for perl" >&512456 echo $ECHO_N "checking for perl... $ECHO_C" >&6; }7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5 7670 $as_echo_n "checking for perl... " >&6; } 12457 7671 if test "$with_perl" != "yes" ; then 12458 7672 # Extract the first word of "perl", so it can be a program name with args. 12459 7673 set dummy perl; ac_word=$2 12460 { echo "$as_me:$LINENO: checking for $ac_word" >&512461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12462 if test "${ac_cv_path_PERL+set}" = set; then 12463 echo $ECHO_N "(cached) $ECHO_C" >&67674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7675 $as_echo_n "checking for $ac_word... " >&6; } 7676 if test "${ac_cv_path_PERL+set}" = set; then : 7677 $as_echo_n "(cached) " >&6 12464 7678 else 12465 7679 case $PERL in … … 12473 7687 IFS=$as_save_IFS 12474 7688 test -z "$as_dir" && as_dir=. 12475 for ac_exec_ext in '' $ac_executable_extensions; do7689 for ac_exec_ext in '' $ac_executable_extensions; do 12476 7690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12477 7691 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12479 7693 break 2 12480 7694 fi 12481 7695 done 12482 done7696 done 12483 7697 IFS=$as_save_IFS 12484 7698 … … 12489 7703 PERL=$ac_cv_path_PERL 12490 7704 if test -n "$PERL"; then 12491 { echo "$as_me:$LINENO: result: $PERL" >&512492 echo "${ECHO_T}$PERL" >&6; }12493 else 12494 { echo "$as_me:$LINENO: result: no" >&512495 echo "${ECHO_T}no" >&6; }7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7706 $as_echo "$PERL" >&6; } 7707 else 7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7709 $as_echo "no" >&6; } 12496 7710 fi 12497 7711 … … 12500 7714 # Extract the first word of "perl", so it can be a program name with args. 12501 7715 set dummy perl; ac_word=$2 12502 { echo "$as_me:$LINENO: checking for $ac_word" >&512503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12504 if test "${ac_cv_path_PERL+set}" = set; then 12505 echo $ECHO_N "(cached) $ECHO_C" >&67716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7717 $as_echo_n "checking for $ac_word... " >&6; } 7718 if test "${ac_cv_path_PERL+set}" = set; then : 7719 $as_echo_n "(cached) " >&6 12506 7720 else 12507 7721 case $PERL in … … 12515 7729 IFS=$as_save_IFS 12516 7730 test -z "$as_dir" && as_dir=. 12517 for ac_exec_ext in '' $ac_executable_extensions; do7731 for ac_exec_ext in '' $ac_executable_extensions; do 12518 7732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12519 7733 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12521 7735 break 2 12522 7736 fi 12523 7737 done 12524 done7738 done 12525 7739 IFS=$as_save_IFS 12526 7740 … … 12530 7744 PERL=$ac_cv_path_PERL 12531 7745 if test -n "$PERL"; then 12532 { echo "$as_me:$LINENO: result: $PERL" >&512533 echo "${ECHO_T}$PERL" >&6; }12534 else 12535 { echo "$as_me:$LINENO: result: no" >&512536 echo "${ECHO_T}no" >&6; }7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7747 $as_echo "$PERL" >&6; } 7748 else 7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7750 $as_echo "no" >&6; } 12537 7751 fi 12538 7752 … … 12557 7771 fi 12558 7772 fi 12559 { echo "$as_me:$LINENO: result: ${PERL}" >&512560 echo "${ECHO_T}${PERL}" >&6; }7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PERL}" >&5 7774 $as_echo "${PERL}" >&6; } 12561 7775 12562 7776 … … 12587 7801 12588 7802 # Check whether --with-python was given. 12589 if test "${with_python+set}" = set; then 7803 if test "${with_python+set}" = set; then : 12590 7804 withval=$with_python; 12591 7805 else … … 12595 7809 12596 7810 if test "$with_python" != "no" ; then 12597 { echo "$as_me:$LINENO: checking for python" >&512598 echo $ECHO_N "checking for python... $ECHO_C" >&6; }7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5 7812 $as_echo_n "checking for python... " >&6; } 12599 7813 if test -x "$with_python/bin/python"; then 12600 7814 echo Found python in $with_python/bin/python … … 12606 7820 # 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. 12607 7821 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 12608 { echo "$as_me:$LINENO: checking for $ac_word" >&512609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12610 if test "${ac_cv_path_PYTHON+set}" = set; then 12611 echo $ECHO_N "(cached) $ECHO_C" >&67822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7823 $as_echo_n "checking for $ac_word... " >&6; } 7824 if test "${ac_cv_path_PYTHON+set}" = set; then : 7825 $as_echo_n "(cached) " >&6 12612 7826 else 12613 7827 case $PYTHON in … … 12621 7835 IFS=$as_save_IFS 12622 7836 test -z "$as_dir" && as_dir=. 12623 for ac_exec_ext in '' $ac_executable_extensions; do7837 for ac_exec_ext in '' $ac_executable_extensions; do 12624 7838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12625 7839 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12627 7841 break 2 12628 7842 fi 12629 7843 done 12630 done7844 done 12631 7845 IFS=$as_save_IFS 12632 7846 … … 12636 7850 PYTHON=$ac_cv_path_PYTHON 12637 7851 if test -n "$PYTHON"; then 12638 { echo "$as_me:$LINENO: result: $PYTHON" >&512639 echo "${ECHO_T}$PYTHON" >&6; }12640 else 12641 { echo "$as_me:$LINENO: result: no" >&512642 echo "${ECHO_T}no" >&6; }7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 7853 $as_echo "$PYTHON" >&6; } 7854 else 7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7856 $as_echo "no" >&6; } 12643 7857 fi 12644 7858 … … 12677 7891 fi 12678 7892 12679 { echo "$as_me:$LINENO: checking for python distutils" >&512680 echo $ECHO_N "checking for python distutils... $ECHO_C" >&6; }7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python distutils" >&5 7894 $as_echo_n "checking for python distutils... " >&6; } 12681 7895 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 12682 7896 build build_ext 2>&1 > /dev/null … … 12686 7900 HAVE_PYTHON_DISTUTILS="no" 12687 7901 fi 12688 { echo "$as_me:$LINENO: result: $HAVE_PYTHON_DISTUTILS" >&512689 echo "${ECHO_T}$HAVE_PYTHON_DISTUTILS" >&6; }7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PYTHON_DISTUTILS" >&5 7903 $as_echo "$HAVE_PYTHON_DISTUTILS" >&6; } 12690 7904 12691 7905 if test "${HAVE_PYTHON_DISTUTILS}" = "yes"; then … … 12693 7907 # Check for Python include path 12694 7908 # 12695 { echo "$as_me:$LINENO: checking for Python include path" >&512696 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; }7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 7910 $as_echo_n "checking for Python include path... " >&6; } 12697 7911 if test "x${PYTHON_CPPFLAGS}" = "x"; then 12698 7912 incdir_path=`${PYTHON} -c "import distutils.sysconfig; \ … … 12703 7917 PYTHON_CPPFLAGS=$python_path 12704 7918 fi 12705 { echo "$as_me:$LINENO: result: $PYTHON_CPPFLAGS" >&512706 echo "${ECHO_T}$PYTHON_CPPFLAGS" >&6; }7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5 7920 $as_echo "$PYTHON_CPPFLAGS" >&6; } 12707 7921 12708 7922 # 12709 7923 # python distutils found, get settings from python directly 12710 7924 # 12711 { echo "$as_me:$LINENO: checking location of site-packages" >&512712 echo $ECHO_N "checking location of site-packages... $ECHO_C" >&6; }7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of site-packages" >&5 7926 $as_echo_n "checking location of site-packages... " >&6; } 12713 7927 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 12714 7928 … … 12734 7948 12735 7949 # Check whether --with-ruby was given. 12736 if test "${with_ruby+set}" = set; then 7950 if test "${with_ruby+set}" = set; then : 12737 7951 withval=$with_ruby; rappture_with_ruby=$with_val 12738 7952 fi … … 12742 7956 # Extract the first word of "ruby", so it can be a program name with args. 12743 7957 set dummy ruby; ac_word=$2 12744 { echo "$as_me:$LINENO: checking for $ac_word" >&512745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12746 if test "${ac_cv_path_RUBY+set}" = set; then 12747 echo $ECHO_N "(cached) $ECHO_C" >&67958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7959 $as_echo_n "checking for $ac_word... " >&6; } 7960 if test "${ac_cv_path_RUBY+set}" = set; then : 7961 $as_echo_n "(cached) " >&6 12748 7962 else 12749 7963 case $RUBY in … … 12757 7971 IFS=$as_save_IFS 12758 7972 test -z "$as_dir" && as_dir=. 12759 for ac_exec_ext in '' $ac_executable_extensions; do7973 for ac_exec_ext in '' $ac_executable_extensions; do 12760 7974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12761 7975 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 12762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12763 7977 break 2 12764 7978 fi 12765 7979 done 12766 done7980 done 12767 7981 IFS=$as_save_IFS 12768 7982 … … 12772 7986 RUBY=$ac_cv_path_RUBY 12773 7987 if test -n "$RUBY"; then 12774 { echo "$as_me:$LINENO: result: $RUBY" >&512775 echo "${ECHO_T}$RUBY" >&6; }12776 else 12777 { echo "$as_me:$LINENO: result: no" >&512778 echo "${ECHO_T}no" >&6; }7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 7989 $as_echo "$RUBY" >&6; } 7990 else 7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7992 $as_echo "no" >&6; } 12779 7993 fi 12780 7994 … … 12783 7997 # Extract the first word of "ruby", so it can be a program name with args. 12784 7998 set dummy ruby; ac_word=$2 12785 { echo "$as_me:$LINENO: checking for $ac_word" >&512786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12787 if test "${ac_cv_path_RUBY+set}" = set; then 12788 echo $ECHO_N "(cached) $ECHO_C" >&67999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8000 $as_echo_n "checking for $ac_word... " >&6; } 8001 if test "${ac_cv_path_RUBY+set}" = set; then : 8002 $as_echo_n "(cached) " >&6 12789 8003 else 12790 8004 case $RUBY in … … 12798 8012 IFS=$as_save_IFS 12799 8013 test -z "$as_dir" && as_dir=. 12800 for ac_exec_ext in '' $ac_executable_extensions; do8014 for ac_exec_ext in '' $ac_executable_extensions; do 12801 8015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12802 8016 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 12803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12804 8018 break 2 12805 8019 fi 12806 8020 done 12807 done8021 done 12808 8022 IFS=$as_save_IFS 12809 8023 … … 12814 8028 RUBY=$ac_cv_path_RUBY 12815 8029 if test -n "$RUBY"; then 12816 { echo "$as_me:$LINENO: result: $RUBY" >&512817 echo "${ECHO_T}$RUBY" >&6; }12818 else 12819 { echo "$as_me:$LINENO: result: no" >&512820 echo "${ECHO_T}no" >&6; }8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8031 $as_echo "$RUBY" >&6; } 8032 else 8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8034 $as_echo "no" >&6; } 12821 8035 fi 12822 8036 … … 12829 8043 RUBY_PLATFORM= 12830 8044 if test "x${RUBY}" != "x" ; then 12831 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&512832 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }12833 if test "${ac_cv_path_SED+set}" = set; then 12834 echo $ECHO_N "(cached) $ECHO_C" >&68045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8046 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8047 if test "${ac_cv_path_SED+set}" = set; then : 8048 $as_echo_n "(cached) " >&6 12835 8049 else 12836 8050 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 12838 8052 ac_script="$ac_script$as_nl$ac_script" 12839 8053 done 12840 echo "$ac_script" | sed 99q >conftest.sed 12841 $as_unset ac_script || ac_script= 12842 # Extract the first word of "sed gsed" to use in msg output 12843 if test -z "$SED"; then 12844 set dummy sed gsed; ac_prog_name=$2 12845 if test "${ac_cv_path_SED+set}" = set; then 12846 echo $ECHO_N "(cached) $ECHO_C" >&6 12847 else 8054 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8055 { ac_script=; unset ac_script;} 8056 if test -z "$SED"; then 12848 8057 ac_path_SED_found=false 12849 # Loop through the user's path and test for each of PROGNAME-LIST12850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8058 # Loop through the user's path and test for each of PROGNAME-LIST 8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12851 8060 for as_dir in $PATH 12852 8061 do 12853 8062 IFS=$as_save_IFS 12854 8063 test -z "$as_dir" && as_dir=. 12855 for ac_prog in sed gsed; do12856 for ac_exec_ext in '' $ac_executable_extensions; do12857 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"12858 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue12859 8064 for ac_prog in sed gsed; do 8065 for ac_exec_ext in '' $ac_executable_extensions; do 8066 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8067 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 8068 # Check for GNU ac_path_SED and select it if it is found. 12860 8069 # Check for GNU $ac_path_SED 12861 8070 case `"$ac_path_SED" --version 2>&1` in … … 12864 8073 *) 12865 8074 ac_count=0 12866 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"8075 $as_echo_n 0123456789 >"conftest.in" 12867 8076 while : 12868 8077 do … … 12870 8079 mv "conftest.tmp" "conftest.in" 12871 8080 cp "conftest.in" "conftest.nl" 12872 echo '' >> "conftest.nl"8081 $as_echo '' >> "conftest.nl" 12873 8082 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 12874 8083 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 12875 a c_count=`expr $ac_count + 1`8084 as_fn_arith $ac_count + 1 && ac_count=$as_val 12876 8085 if test $ac_count -gt ${ac_path_SED_max-0}; then 12877 8086 # Best one so far, save it but keep looking for a better one … … 12885 8094 esac 12886 8095 12887 12888 $ac_path_SED_found && break 38096 $ac_path_SED_found && break 3 8097 done 12889 8098 done 12890 done 12891 12892 done 8099 done 12893 8100 IFS=$as_save_IFS 12894 12895 12896 fi 12897 12898 SED="$ac_cv_path_SED" 12899 if test -z "$SED"; then 12900 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 12901 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 12902 { (exit 1); exit 1; }; } 12903 fi 12904 8101 if test -z "$ac_cv_path_SED"; then 8102 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 8103 fi 12905 8104 else 12906 8105 ac_cv_path_SED=$SED … … 12908 8107 12909 8108 fi 12910 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&512911 echo "${ECHO_T}$ac_cv_path_SED" >&6; }8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8110 $as_echo "$ac_cv_path_SED" >&6; } 12912 8111 SED="$ac_cv_path_SED" 12913 8112 rm -f conftest.sed … … 12917 8116 12918 8117 12919 if test -n "$RUBY"; then 8118 if test -n "$RUBY"; then : 12920 8119 12921 8120 ax_ruby_version="" 12922 8121 12923 { echo "$as_me:$LINENO: checking for ruby version" >&512924 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5 8123 $as_echo_n "checking for ruby version... " >&6; } 12925 8124 12926 8125 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 12927 8126 12928 { echo "$as_me:$LINENO: result: $ruby_version" >&512929 echo "${ECHO_T}$ruby_version" >&6; }8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5 8128 $as_echo "$ruby_version" >&6; } 12930 8129 12931 8130 RUBY_VERSION=$ruby_version … … 12937 8136 # Extract the first word of "$ac_prog", so it can be a program name with args. 12938 8137 set dummy $ac_prog; ac_word=$2 12939 { echo "$as_me:$LINENO: checking for $ac_word" >&512940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12941 if test "${ac_cv_prog_AWK+set}" = set; then 12942 echo $ECHO_N "(cached) $ECHO_C" >&68138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8139 $as_echo_n "checking for $ac_word... " >&6; } 8140 if test "${ac_cv_prog_AWK+set}" = set; then : 8141 $as_echo_n "(cached) " >&6 12943 8142 else 12944 8143 if test -n "$AWK"; then … … 12950 8149 IFS=$as_save_IFS 12951 8150 test -z "$as_dir" && as_dir=. 12952 for ac_exec_ext in '' $ac_executable_extensions; do8151 for ac_exec_ext in '' $ac_executable_extensions; do 12953 8152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12954 8153 ac_cv_prog_AWK="$ac_prog" 12955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12956 8155 break 2 12957 8156 fi 12958 8157 done 12959 done8158 done 12960 8159 IFS=$as_save_IFS 12961 8160 … … 12964 8163 AWK=$ac_cv_prog_AWK 12965 8164 if test -n "$AWK"; then 12966 { echo "$as_me:$LINENO: result: $AWK" >&512967 echo "${ECHO_T}$AWK" >&6; }12968 else 12969 { echo "$as_me:$LINENO: result: no" >&512970 echo "${ECHO_T}no" >&6; }8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 8166 $as_echo "$AWK" >&6; } 8167 else 8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8169 $as_echo "no" >&6; } 12971 8170 fi 12972 8171 … … 13018 8217 else 13019 8218 13020 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13021 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13022 13023 13024 fi 13025 8219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8220 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8221 8222 8223 fi 13026 8224 13027 8225 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 13034 8232 # Check for Ruby include path 13035 8233 # 13036 { echo "$as_me:$LINENO: checking for Ruby include path" >&513037 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5 8235 $as_echo_n "checking for Ruby include path... " >&6; } 13038 8236 if test -z "$RUBY_CPPFLAGS"; then 13039 8237 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 13043 8241 RUBY_CPPFLAGS=$ruby_path 13044 8242 fi 13045 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&513046 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5 8244 $as_echo "$RUBY_CPPFLAGS" >&6; } 13047 8245 13048 8246 … … 13050 8248 # Check for Ruby library path 13051 8249 # 13052 { echo "$as_me:$LINENO: checking for Ruby library path" >&513053 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5 8251 $as_echo_n "checking for Ruby library path... " >&6; } 13054 8252 if test -z "$RUBY_LDFLAGS"; then 13055 8253 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 13056 8254 fi 13057 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&513058 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5 8256 $as_echo "$RUBY_LDFLAGS" >&6; } 13059 8257 13060 8258 … … 13062 8260 # Check for site packages 13063 8261 # 13064 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&513065 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5 8263 $as_echo_n "checking for Ruby site-packages path... " >&6; } 13066 8264 if test -z "$RUBY_SITE_PKG"; then 13067 8265 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 13068 8266 fi 13069 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&513070 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5 8268 $as_echo "$RUBY_SITE_PKG" >&6; } 13071 8269 13072 8270 … … 13074 8272 # libraries which must be linked in when embedding 13075 8273 # 13076 { echo "$as_me:$LINENO: checking ruby extra libraries" >&513077 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5 8275 $as_echo_n "checking ruby extra libraries... " >&6; } 13078 8276 if test -z "$RUBY_EXTRA_LIBS"; then 13079 8277 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 13080 8278 fi 13081 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&513082 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5 8280 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 13083 8281 13084 8282 … … 13099 8297 # final check to see if everything compiles alright 13100 8298 # 13101 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&513102 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5 8300 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 13103 8301 ac_ext=c 13104 8302 ac_cpp='$CPP $CPPFLAGS' … … 13112 8310 ac_save_CPPFLAGS="$CPPFLAGS" 13113 8311 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 13114 cat >conftest.$ac_ext <<_ACEOF 13115 /* confdefs.h. */ 13116 _ACEOF 13117 cat confdefs.h >>conftest.$ac_ext 13118 cat >>conftest.$ac_ext <<_ACEOF 8312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13119 8313 /* end confdefs.h. */ 13120 8314 … … 13131 8325 } 13132 8326 _ACEOF 13133 rm -f conftest.$ac_objext conftest$ac_exeext 13134 if { (ac_try="$ac_link" 13135 case "(($ac_try" in 13136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13137 *) ac_try_echo=$ac_try;; 13138 esac 13139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13140 (eval "$ac_link") 2>conftest.er1 13141 ac_status=$? 13142 grep -v '^ *+' conftest.er1 >conftest.err 13143 rm -f conftest.er1 13144 cat conftest.err >&5 13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13146 (exit $ac_status); } && { 13147 test -z "$ac_c_werror_flag" || 13148 test ! -s conftest.err 13149 } && test -s conftest$ac_exeext && 13150 $as_test_x conftest$ac_exeext; then 8327 if ac_fn_c_try_link "$LINENO"; then : 13151 8328 rubyexists=yes 13152 8329 else 13153 echo "$as_me: failed program was:" >&5 13154 sed 's/^/| /' conftest.$ac_ext >&5 13155 13156 rubyexists=no 13157 fi 13158 13159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13160 conftest$ac_exeext conftest.$ac_ext 13161 13162 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13163 echo "${ECHO_T}$rubyexists" >&6; } 8330 rubyexists=no 8331 fi 8332 rm -f core conftest.err conftest.$ac_objext \ 8333 conftest$ac_exeext conftest.$ac_ext 8334 8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8336 $as_echo "$rubyexists" >&6; } 13164 8337 13165 8338 if test "$rubyexists" = "no"; then … … 13190 8363 13191 8364 13192 { echo "$as_me:$LINENO: checking how to build libraries" >&513193 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 8366 $as_echo_n "checking how to build libraries... " >&6; } 13194 8367 # Check whether --enable-shared was given. 13195 if test "${enable_shared+set}" = set; then 8368 if test "${enable_shared+set}" = set; then : 13196 8369 enableval=$enable_shared; tcl_ok=$enableval 13197 8370 else … … 13208 8381 13209 8382 if test "$tcl_ok" = "yes" ; then 13210 { echo "$as_me:$LINENO: result: shared" >&513211 echo "${ECHO_T}shared" >&6; }8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 8384 $as_echo "shared" >&6; } 13212 8385 SHARED_BUILD=1 13213 8386 else 13214 { echo "$as_me:$LINENO: result: static" >&513215 echo "${ECHO_T}static" >&6; }8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 8388 $as_echo "static" >&6; } 13216 8389 SHARED_BUILD=0 13217 cat >>confdefs.h <<\_ACEOF 13218 #define STATIC_BUILD 1 13219 _ACEOF 8390 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13220 8391 13221 8392 fi … … 13252 8423 # ----------------------------------------------------------------------- 13253 8424 13254 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13255 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13256 if test "${ac_cv_c_bigendian+set}" = set; then 13257 echo $ECHO_N "(cached) $ECHO_C" >&6 13258 else 13259 # See if sys/param.h defines the BYTE_ORDER macro. 13260 cat >conftest.$ac_ext <<_ACEOF 13261 /* confdefs.h. */ 13262 _ACEOF 13263 cat confdefs.h >>conftest.$ac_ext 13264 cat >>conftest.$ac_ext <<_ACEOF 8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8426 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8427 if test "${ac_cv_c_bigendian+set}" = set; then : 8428 $as_echo_n "(cached) " >&6 8429 else 8430 ac_cv_c_bigendian=unknown 8431 # See if we're dealing with a universal compiler. 8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8433 /* end confdefs.h. */ 8434 #ifndef __APPLE_CC__ 8435 not a universal capable compiler 8436 #endif 8437 typedef int dummy; 8438 8439 _ACEOF 8440 if ac_fn_cxx_try_compile "$LINENO"; then : 8441 8442 # Check for potential -arch flags. It is not universal unless 8443 # there are at least two -arch flags with different values. 8444 ac_arch= 8445 ac_prev= 8446 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 8447 if test -n "$ac_prev"; then 8448 case $ac_word in 8449 i?86 | x86_64 | ppc | ppc64) 8450 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 8451 ac_arch=$ac_word 8452 else 8453 ac_cv_c_bigendian=universal 8454 break 8455 fi 8456 ;; 8457 esac 8458 ac_prev= 8459 elif test "x$ac_word" = "x-arch"; then 8460 ac_prev=arch 8461 fi 8462 done 8463 fi 8464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8465 if test $ac_cv_c_bigendian = unknown; then 8466 # See if sys/param.h defines the BYTE_ORDER macro. 8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13265 8468 /* end confdefs.h. */ 13266 8469 #include <sys/types.h> 13267 #include <sys/param.h>8470 #include <sys/param.h> 13268 8471 13269 8472 int 13270 8473 main () 13271 8474 { 13272 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13273 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13274 bogus endian macros 13275 #endif 8475 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8476 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8477 && LITTLE_ENDIAN) 8478 bogus endian macros 8479 #endif 13276 8480 13277 8481 ; … … 13279 8483 } 13280 8484 _ACEOF 13281 rm -f conftest.$ac_objext 13282 if { (ac_try="$ac_compile" 13283 case "(($ac_try" in 13284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13285 *) ac_try_echo=$ac_try;; 13286 esac 13287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13288 (eval "$ac_compile") 2>conftest.er1 13289 ac_status=$? 13290 grep -v '^ *+' conftest.er1 >conftest.err 13291 rm -f conftest.er1 13292 cat conftest.err >&5 13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13294 (exit $ac_status); } && { 13295 test -z "$ac_cxx_werror_flag" || 13296 test ! -s conftest.err 13297 } && test -s conftest.$ac_objext; then 8485 if ac_fn_cxx_try_compile "$LINENO"; then : 13298 8486 # It does; now see whether it defined to BIG_ENDIAN or not. 13299 cat >conftest.$ac_ext <<_ACEOF 13300 /* confdefs.h. */ 13301 _ACEOF 13302 cat confdefs.h >>conftest.$ac_ext 13303 cat >>conftest.$ac_ext <<_ACEOF 8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13304 8488 /* end confdefs.h. */ 13305 8489 #include <sys/types.h> 13306 #include <sys/param.h>8490 #include <sys/param.h> 13307 8491 13308 8492 int … … 13310 8494 { 13311 8495 #if BYTE_ORDER != BIG_ENDIAN 13312 not big endian13313 #endif8496 not big endian 8497 #endif 13314 8498 13315 8499 ; … … 13317 8501 } 13318 8502 _ACEOF 13319 rm -f conftest.$ac_objext 13320 if { (ac_try="$ac_compile" 13321 case "(($ac_try" in 13322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13323 *) ac_try_echo=$ac_try;; 13324 esac 13325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13326 (eval "$ac_compile") 2>conftest.er1 13327 ac_status=$? 13328 grep -v '^ *+' conftest.er1 >conftest.err 13329 rm -f conftest.er1 13330 cat conftest.err >&5 13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13332 (exit $ac_status); } && { 13333 test -z "$ac_cxx_werror_flag" || 13334 test ! -s conftest.err 13335 } && test -s conftest.$ac_objext; then 8503 if ac_fn_cxx_try_compile "$LINENO"; then : 13336 8504 ac_cv_c_bigendian=yes 13337 8505 else 13338 echo "$as_me: failed program was:" >&5 13339 sed 's/^/| /' conftest.$ac_ext >&5 13340 13341 ac_cv_c_bigendian=no 13342 fi 13343 8506 ac_cv_c_bigendian=no 8507 fi 13344 8508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13345 else 13346 echo "$as_me: failed program was:" >&5 13347 sed 's/^/| /' conftest.$ac_ext >&5 13348 13349 # It does not; compile a test program. 13350 if test "$cross_compiling" = yes; then 13351 # try to guess the endianness by grepping values into an object file 13352 ac_cv_c_bigendian=unknown 13353 cat >conftest.$ac_ext <<_ACEOF 13354 /* confdefs.h. */ 13355 _ACEOF 13356 cat confdefs.h >>conftest.$ac_ext 13357 cat >>conftest.$ac_ext <<_ACEOF 8509 fi 8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8511 fi 8512 if test $ac_cv_c_bigendian = unknown; then 8513 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13358 8515 /* end confdefs.h. */ 13359 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13360 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13361 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 13362 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13363 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13364 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8516 #include <limits.h> 8517 13365 8518 int 13366 8519 main () 13367 8520 { 13368 _ascii (); _ebcdic (); 8521 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8522 bogus endian macros 8523 #endif 8524 13369 8525 ; 13370 8526 return 0; 13371 8527 } 13372 8528 _ACEOF 13373 rm -f conftest.$ac_objext 13374 if { (ac_try="$ac_compile" 13375 case "(($ac_try" in 13376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13377 *) ac_try_echo=$ac_try;; 13378 esac 13379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13380 (eval "$ac_compile") 2>conftest.er1 13381 ac_status=$? 13382 grep -v '^ *+' conftest.er1 >conftest.err 13383 rm -f conftest.er1 13384 cat conftest.err >&5 13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13386 (exit $ac_status); } && {13387 test -z "$ac_cxx_werror_flag" || 13388 test ! -s conftest.err 13389 } && test -s conftest.$ac_objext; then 13390 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 8529 if ac_fn_cxx_try_compile "$LINENO"; then : 8530 # It does; now see whether it defined to _BIG_ENDIAN or not. 8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8532 /* end confdefs.h. */ 8533 #include <limits.h> 8534 8535 int 8536 main () 8537 { 8538 #ifndef _BIG_ENDIAN 8539 not big endian 8540 #endif 8541 8542 ; 8543 return 0; 8544 } 8545 _ACEOF 8546 if ac_fn_cxx_try_compile "$LINENO"; then : 13391 8547 ac_cv_c_bigendian=yes 13392 fi 13393 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13394 if test "$ac_cv_c_bigendian" = unknown; then 13395 ac_cv_c_bigendian=no 13396 else 13397 # finding both strings is unlikely to happen, but who knows? 13398 ac_cv_c_bigendian=unknown 13399 fi 13400 fi 13401 else 13402 echo "$as_me: failed program was:" >&5 13403 sed 's/^/| /' conftest.$ac_ext >&5 13404 13405 13406 fi 13407 8548 else 8549 ac_cv_c_bigendian=no 8550 fi 13408 8551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13409 else 13410 cat >conftest.$ac_ext <<_ACEOF 13411 /* confdefs.h. */ 13412 _ACEOF 13413 cat confdefs.h >>conftest.$ac_ext 13414 cat >>conftest.$ac_ext <<_ACEOF 8552 fi 8553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8554 fi 8555 if test $ac_cv_c_bigendian = unknown; then 8556 # Compile a test program. 8557 if test "$cross_compiling" = yes; then : 8558 # Try to guess by grepping values from an object file. 8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8560 /* end confdefs.h. */ 8561 short int ascii_mm[] = 8562 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8563 short int ascii_ii[] = 8564 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8565 int use_ascii (int i) { 8566 return ascii_mm[i] + ascii_ii[i]; 8567 } 8568 short int ebcdic_ii[] = 8569 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8570 short int ebcdic_mm[] = 8571 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8572 int use_ebcdic (int i) { 8573 return ebcdic_mm[i] + ebcdic_ii[i]; 8574 } 8575 extern int foo; 8576 8577 int 8578 main () 8579 { 8580 return use_ascii (foo) == use_ebcdic (foo); 8581 ; 8582 return 0; 8583 } 8584 _ACEOF 8585 if ac_fn_cxx_try_compile "$LINENO"; then : 8586 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8587 ac_cv_c_bigendian=yes 8588 fi 8589 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8590 if test "$ac_cv_c_bigendian" = unknown; then 8591 ac_cv_c_bigendian=no 8592 else 8593 # finding both strings is unlikely to happen, but who knows? 8594 ac_cv_c_bigendian=unknown 8595 fi 8596 fi 8597 fi 8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8599 else 8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13415 8601 /* end confdefs.h. */ 13416 8602 $ac_includes_default … … 13419 8605 { 13420 8606 13421 /* Are we little or big endian? From Harbison&Steele. */13422 union13423 {13424 long int l;13425 char c[sizeof (long int)];13426 } u;13427 u.l = 1;13428 return u.c[sizeof (long int) - 1] == 1;8607 /* Are we little or big endian? From Harbison&Steele. */ 8608 union 8609 { 8610 long int l; 8611 char c[sizeof (long int)]; 8612 } u; 8613 u.l = 1; 8614 return u.c[sizeof (long int) - 1] == 1; 13429 8615 13430 8616 ; … … 13432 8618 } 13433 8619 _ACEOF 13434 rm -f conftest$ac_exeext 13435 if { (ac_try="$ac_link" 13436 case "(($ac_try" in 13437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13438 *) ac_try_echo=$ac_try;; 13439 esac 13440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13441 (eval "$ac_link") 2>&5 13442 ac_status=$? 13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13445 { (case "(($ac_try" in 13446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13447 *) ac_try_echo=$ac_try;; 13448 esac 13449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13450 (eval "$ac_try") 2>&5 13451 ac_status=$? 13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13453 (exit $ac_status); }; }; then 8620 if ac_fn_cxx_try_run "$LINENO"; then : 13454 8621 ac_cv_c_bigendian=no 13455 8622 else 13456 echo "$as_me: program exited with status $ac_status" >&5 13457 echo "$as_me: failed program was:" >&5 13458 sed 's/^/| /' conftest.$ac_ext >&5 13459 13460 ( exit $ac_status ) 13461 ac_cv_c_bigendian=yes 13462 fi 13463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13464 fi 13465 13466 13467 fi 13468 13469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13470 fi 13471 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 13472 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 13473 case $ac_cv_c_bigendian in 13474 yes) 13475 13476 cat >>confdefs.h <<\_ACEOF 13477 #define WORDS_BIGENDIAN 1 13478 _ACEOF 13479 ;; 13480 no) 13481 ;; 13482 *) 13483 { { echo "$as_me:$LINENO: error: unknown endianness 13484 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 13485 echo "$as_me: error: unknown endianness 13486 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 13487 { (exit 1); exit 1; }; } ;; 13488 esac 13489 13490 { echo "$as_me:$LINENO: checking for int" >&5 13491 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 13492 if test "${ac_cv_type_int+set}" = set; then 13493 echo $ECHO_N "(cached) $ECHO_C" >&6 13494 else 13495 cat >conftest.$ac_ext <<_ACEOF 13496 /* confdefs.h. */ 13497 _ACEOF 13498 cat confdefs.h >>conftest.$ac_ext 13499 cat >>conftest.$ac_ext <<_ACEOF 13500 /* end confdefs.h. */ 13501 $ac_includes_default 13502 typedef int ac__type_new_; 13503 int 13504 main () 13505 { 13506 if ((ac__type_new_ *) 0) 13507 return 0; 13508 if (sizeof (ac__type_new_)) 13509 return 0; 13510 ; 13511 return 0; 13512 } 13513 _ACEOF 13514 rm -f conftest.$ac_objext 13515 if { (ac_try="$ac_compile" 13516 case "(($ac_try" in 13517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13518 *) ac_try_echo=$ac_try;; 13519 esac 13520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13521 (eval "$ac_compile") 2>conftest.er1 13522 ac_status=$? 13523 grep -v '^ *+' conftest.er1 >conftest.err 13524 rm -f conftest.er1 13525 cat conftest.err >&5 13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13527 (exit $ac_status); } && { 13528 test -z "$ac_cxx_werror_flag" || 13529 test ! -s conftest.err 13530 } && test -s conftest.$ac_objext; then 13531 ac_cv_type_int=yes 13532 else 13533 echo "$as_me: failed program was:" >&5 13534 sed 's/^/| /' conftest.$ac_ext >&5 13535 13536 ac_cv_type_int=no 13537 fi 13538 13539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13540 fi 13541 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 13542 echo "${ECHO_T}$ac_cv_type_int" >&6; } 8623 ac_cv_c_bigendian=yes 8624 fi 8625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8626 conftest.$ac_objext conftest.beam conftest.$ac_ext 8627 fi 8628 8629 fi 8630 fi 8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 8632 $as_echo "$ac_cv_c_bigendian" >&6; } 8633 case $ac_cv_c_bigendian in #( 8634 yes) 8635 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 8636 ;; #( 8637 no) 8638 ;; #( 8639 universal) 8640 8641 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 8642 8643 ;; #( 8644 *) 8645 as_fn_error "unknown endianness 8646 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 8647 esac 13543 8648 13544 8649 # The cast to long int works around a bug in the HP C Compiler … … 13546 8651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13547 8652 # This bug is HP SR number 8606223364. 13548 { echo "$as_me:$LINENO: checking size of int" >&5 13549 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 13550 if test "${ac_cv_sizeof_int+set}" = set; then 13551 echo $ECHO_N "(cached) $ECHO_C" >&6 13552 else 13553 if test "$cross_compiling" = yes; then 13554 # Depending upon the size, compute the lo and hi bounds. 13555 cat >conftest.$ac_ext <<_ACEOF 13556 /* confdefs.h. */ 13557 _ACEOF 13558 cat confdefs.h >>conftest.$ac_ext 13559 cat >>conftest.$ac_ext <<_ACEOF 13560 /* end confdefs.h. */ 13561 $ac_includes_default 13562 typedef int ac__type_sizeof_; 13563 int 13564 main () 13565 { 13566 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 13567 test_array [0] = 0 13568 13569 ; 13570 return 0; 13571 } 13572 _ACEOF 13573 rm -f conftest.$ac_objext 13574 if { (ac_try="$ac_compile" 13575 case "(($ac_try" in 13576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13577 *) ac_try_echo=$ac_try;; 13578 esac 13579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13580 (eval "$ac_compile") 2>conftest.er1 13581 ac_status=$? 13582 grep -v '^ *+' conftest.er1 >conftest.err 13583 rm -f conftest.er1 13584 cat conftest.err >&5 13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13586 (exit $ac_status); } && { 13587 test -z "$ac_cxx_werror_flag" || 13588 test ! -s conftest.err 13589 } && test -s conftest.$ac_objext; then 13590 ac_lo=0 ac_mid=0 13591 while :; do 13592 cat >conftest.$ac_ext <<_ACEOF 13593 /* confdefs.h. */ 13594 _ACEOF 13595 cat confdefs.h >>conftest.$ac_ext 13596 cat >>conftest.$ac_ext <<_ACEOF 13597 /* end confdefs.h. */ 13598 $ac_includes_default 13599 typedef int ac__type_sizeof_; 13600 int 13601 main () 13602 { 13603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13604 test_array [0] = 0 13605 13606 ; 13607 return 0; 13608 } 13609 _ACEOF 13610 rm -f conftest.$ac_objext 13611 if { (ac_try="$ac_compile" 13612 case "(($ac_try" in 13613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13614 *) ac_try_echo=$ac_try;; 13615 esac 13616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13617 (eval "$ac_compile") 2>conftest.er1 13618 ac_status=$? 13619 grep -v '^ *+' conftest.er1 >conftest.err 13620 rm -f conftest.er1 13621 cat conftest.err >&5 13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13623 (exit $ac_status); } && { 13624 test -z "$ac_cxx_werror_flag" || 13625 test ! -s conftest.err 13626 } && test -s conftest.$ac_objext; then 13627 ac_hi=$ac_mid; break 13628 else 13629 echo "$as_me: failed program was:" >&5 13630 sed 's/^/| /' conftest.$ac_ext >&5 13631 13632 ac_lo=`expr $ac_mid + 1` 13633 if test $ac_lo -le $ac_mid; then 13634 ac_lo= ac_hi= 13635 break 13636 fi 13637 ac_mid=`expr 2 '*' $ac_mid + 1` 13638 fi 13639 13640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13641 done 13642 else 13643 echo "$as_me: failed program was:" >&5 13644 sed 's/^/| /' conftest.$ac_ext >&5 13645 13646 cat >conftest.$ac_ext <<_ACEOF 13647 /* confdefs.h. */ 13648 _ACEOF 13649 cat confdefs.h >>conftest.$ac_ext 13650 cat >>conftest.$ac_ext <<_ACEOF 13651 /* end confdefs.h. */ 13652 $ac_includes_default 13653 typedef int ac__type_sizeof_; 13654 int 13655 main () 13656 { 13657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 13658 test_array [0] = 0 13659 13660 ; 13661 return 0; 13662 } 13663 _ACEOF 13664 rm -f conftest.$ac_objext 13665 if { (ac_try="$ac_compile" 13666 case "(($ac_try" in 13667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13668 *) ac_try_echo=$ac_try;; 13669 esac 13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13671 (eval "$ac_compile") 2>conftest.er1 13672 ac_status=$? 13673 grep -v '^ *+' conftest.er1 >conftest.err 13674 rm -f conftest.er1 13675 cat conftest.err >&5 13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13677 (exit $ac_status); } && { 13678 test -z "$ac_cxx_werror_flag" || 13679 test ! -s conftest.err 13680 } && test -s conftest.$ac_objext; then 13681 ac_hi=-1 ac_mid=-1 13682 while :; do 13683 cat >conftest.$ac_ext <<_ACEOF 13684 /* confdefs.h. */ 13685 _ACEOF 13686 cat confdefs.h >>conftest.$ac_ext 13687 cat >>conftest.$ac_ext <<_ACEOF 13688 /* end confdefs.h. */ 13689 $ac_includes_default 13690 typedef int ac__type_sizeof_; 13691 int 13692 main () 13693 { 13694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 13695 test_array [0] = 0 13696 13697 ; 13698 return 0; 13699 } 13700 _ACEOF 13701 rm -f conftest.$ac_objext 13702 if { (ac_try="$ac_compile" 13703 case "(($ac_try" in 13704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13705 *) ac_try_echo=$ac_try;; 13706 esac 13707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13708 (eval "$ac_compile") 2>conftest.er1 13709 ac_status=$? 13710 grep -v '^ *+' conftest.er1 >conftest.err 13711 rm -f conftest.er1 13712 cat conftest.err >&5 13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13714 (exit $ac_status); } && { 13715 test -z "$ac_cxx_werror_flag" || 13716 test ! -s conftest.err 13717 } && test -s conftest.$ac_objext; then 13718 ac_lo=$ac_mid; break 13719 else 13720 echo "$as_me: failed program was:" >&5 13721 sed 's/^/| /' conftest.$ac_ext >&5 13722 13723 ac_hi=`expr '(' $ac_mid ')' - 1` 13724 if test $ac_mid -le $ac_hi; then 13725 ac_lo= ac_hi= 13726 break 13727 fi 13728 ac_mid=`expr 2 '*' $ac_mid` 13729 fi 13730 13731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13732 done 13733 else 13734 echo "$as_me: failed program was:" >&5 13735 sed 's/^/| /' conftest.$ac_ext >&5 13736 13737 ac_lo= ac_hi= 13738 fi 13739 13740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13741 fi 13742 13743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13744 # Binary search between lo and hi bounds. 13745 while test "x$ac_lo" != "x$ac_hi"; do 13746 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 13747 cat >conftest.$ac_ext <<_ACEOF 13748 /* confdefs.h. */ 13749 _ACEOF 13750 cat confdefs.h >>conftest.$ac_ext 13751 cat >>conftest.$ac_ext <<_ACEOF 13752 /* end confdefs.h. */ 13753 $ac_includes_default 13754 typedef int ac__type_sizeof_; 13755 int 13756 main () 13757 { 13758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13759 test_array [0] = 0 13760 13761 ; 13762 return 0; 13763 } 13764 _ACEOF 13765 rm -f conftest.$ac_objext 13766 if { (ac_try="$ac_compile" 13767 case "(($ac_try" in 13768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13769 *) ac_try_echo=$ac_try;; 13770 esac 13771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13772 (eval "$ac_compile") 2>conftest.er1 13773 ac_status=$? 13774 grep -v '^ *+' conftest.er1 >conftest.err 13775 rm -f conftest.er1 13776 cat conftest.err >&5 13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13778 (exit $ac_status); } && { 13779 test -z "$ac_cxx_werror_flag" || 13780 test ! -s conftest.err 13781 } && test -s conftest.$ac_objext; then 13782 ac_hi=$ac_mid 13783 else 13784 echo "$as_me: failed program was:" >&5 13785 sed 's/^/| /' conftest.$ac_ext >&5 13786 13787 ac_lo=`expr '(' $ac_mid ')' + 1` 13788 fi 13789 13790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13791 done 13792 case $ac_lo in 13793 ?*) ac_cv_sizeof_int=$ac_lo;; 13794 '') if test "$ac_cv_type_int" = yes; then 13795 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 13796 See \`config.log' for more details." >&5 13797 echo "$as_me: error: cannot compute sizeof (int) 13798 See \`config.log' for more details." >&2;} 13799 { (exit 77); exit 77; }; } 13800 else 13801 ac_cv_sizeof_int=0 13802 fi ;; 13803 esac 13804 else 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 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 13814 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 13815 #include <stdio.h> 13816 #include <stdlib.h> 13817 int 13818 main () 13819 { 13820 13821 FILE *f = fopen ("conftest.val", "w"); 13822 if (! f) 13823 return 1; 13824 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 13825 { 13826 long int i = longval (); 13827 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13828 return 1; 13829 fprintf (f, "%ld\n", i); 13830 } 13831 else 13832 { 13833 unsigned long int i = ulongval (); 13834 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13835 return 1; 13836 fprintf (f, "%lu\n", i); 13837 } 13838 return ferror (f) || fclose (f) != 0; 13839 13840 ; 13841 return 0; 13842 } 13843 _ACEOF 13844 rm -f conftest$ac_exeext 13845 if { (ac_try="$ac_link" 13846 case "(($ac_try" in 13847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13848 *) ac_try_echo=$ac_try;; 13849 esac 13850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13851 (eval "$ac_link") 2>&5 13852 ac_status=$? 13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13854 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13855 { (case "(($ac_try" in 13856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13857 *) ac_try_echo=$ac_try;; 13858 esac 13859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13860 (eval "$ac_try") 2>&5 13861 ac_status=$? 13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13863 (exit $ac_status); }; }; then 13864 ac_cv_sizeof_int=`cat conftest.val` 13865 else 13866 echo "$as_me: program exited with status $ac_status" >&5 13867 echo "$as_me: failed program was:" >&5 13868 sed 's/^/| /' conftest.$ac_ext >&5 13869 13870 ( exit $ac_status ) 13871 if test "$ac_cv_type_int" = yes; then 13872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 13873 See \`config.log' for more details." >&5 13874 echo "$as_me: error: cannot compute sizeof (int) 13875 See \`config.log' for more details." >&2;} 13876 { (exit 77); exit 77; }; } 8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 8654 $as_echo_n "checking size of int... " >&6; } 8655 if test "${ac_cv_sizeof_int+set}" = set; then : 8656 $as_echo_n "(cached) " >&6 8657 else 8658 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8659 8660 else 8661 if test "$ac_cv_type_int" = yes; then 8662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8664 { as_fn_set_status 77 8665 as_fn_error "cannot compute sizeof (int) 8666 See \`config.log' for more details." "$LINENO" 5; }; } 13877 8667 else 13878 8668 ac_cv_sizeof_int=0 13879 8669 fi 13880 8670 fi 13881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13882 fi 13883 rm -f conftest.val 13884 fi 13885 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 13886 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 8671 8672 fi 8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 8674 $as_echo "$ac_cv_sizeof_int" >&6; } 13887 8675 13888 8676 … … 13892 8680 _ACEOF 13893 8681 13894 13895 { echo "$as_me:$LINENO: checking for long" >&513896 echo $ECHO_N "checking for long... $ECHO_C" >&6; }13897 if test "${ac_cv_type_long+set}" = set; then13898 echo $ECHO_N "(cached) $ECHO_C" >&613899 else13900 cat >conftest.$ac_ext <<_ACEOF13901 /* confdefs.h. */13902 _ACEOF13903 cat confdefs.h >>conftest.$ac_ext13904 cat >>conftest.$ac_ext <<_ACEOF13905 /* end confdefs.h. */13906 $ac_includes_default13907 typedef long ac__type_new_;13908 int13909 main ()13910 {13911 if ((ac__type_new_ *) 0)13912 return 0;13913 if (sizeof (ac__type_new_))13914 return 0;13915 ;13916 return 0;13917 }13918 _ACEOF13919 rm -f conftest.$ac_objext13920 if { (ac_try="$ac_compile"13921 case "(($ac_try" in13922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;13923 *) ac_try_echo=$ac_try;;13924 esac13925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&513926 (eval "$ac_compile") 2>conftest.er113927 ac_status=$?13928 grep -v '^ *+' conftest.er1 >conftest.err13929 rm -f conftest.er113930 cat conftest.err >&513931 echo "$as_me:$LINENO: \$? = $ac_status" >&513932 (exit $ac_status); } && {13933 test -z "$ac_cxx_werror_flag" ||13934 test ! -s conftest.err13935 } && test -s conftest.$ac_objext; then13936 ac_cv_type_long=yes13937 else13938 echo "$as_me: failed program was:" >&513939 sed 's/^/| /' conftest.$ac_ext >&513940 13941 ac_cv_type_long=no13942 fi13943 13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext13945 fi13946 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&513947 echo "${ECHO_T}$ac_cv_type_long" >&6; }13948 8682 13949 8683 # The cast to long int works around a bug in the HP C Compiler … … 13951 8685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13952 8686 # This bug is HP SR number 8606223364. 13953 { echo "$as_me:$LINENO: checking size of long" >&5 13954 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 13955 if test "${ac_cv_sizeof_long+set}" = set; then 13956 echo $ECHO_N "(cached) $ECHO_C" >&6 13957 else 13958 if test "$cross_compiling" = yes; then 13959 # Depending upon the size, compute the lo and hi bounds. 13960 cat >conftest.$ac_ext <<_ACEOF 13961 /* confdefs.h. */ 13962 _ACEOF 13963 cat confdefs.h >>conftest.$ac_ext 13964 cat >>conftest.$ac_ext <<_ACEOF 13965 /* end confdefs.h. */ 13966 $ac_includes_default 13967 typedef long ac__type_sizeof_; 13968 int 13969 main () 13970 { 13971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 13972 test_array [0] = 0 13973 13974 ; 13975 return 0; 13976 } 13977 _ACEOF 13978 rm -f conftest.$ac_objext 13979 if { (ac_try="$ac_compile" 13980 case "(($ac_try" in 13981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13982 *) ac_try_echo=$ac_try;; 13983 esac 13984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13985 (eval "$ac_compile") 2>conftest.er1 13986 ac_status=$? 13987 grep -v '^ *+' conftest.er1 >conftest.err 13988 rm -f conftest.er1 13989 cat conftest.err >&5 13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13991 (exit $ac_status); } && { 13992 test -z "$ac_cxx_werror_flag" || 13993 test ! -s conftest.err 13994 } && test -s conftest.$ac_objext; then 13995 ac_lo=0 ac_mid=0 13996 while :; do 13997 cat >conftest.$ac_ext <<_ACEOF 13998 /* confdefs.h. */ 13999 _ACEOF 14000 cat confdefs.h >>conftest.$ac_ext 14001 cat >>conftest.$ac_ext <<_ACEOF 14002 /* end confdefs.h. */ 14003 $ac_includes_default 14004 typedef long ac__type_sizeof_; 14005 int 14006 main () 14007 { 14008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14009 test_array [0] = 0 14010 14011 ; 14012 return 0; 14013 } 14014 _ACEOF 14015 rm -f conftest.$ac_objext 14016 if { (ac_try="$ac_compile" 14017 case "(($ac_try" in 14018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14019 *) ac_try_echo=$ac_try;; 14020 esac 14021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14022 (eval "$ac_compile") 2>conftest.er1 14023 ac_status=$? 14024 grep -v '^ *+' conftest.er1 >conftest.err 14025 rm -f conftest.er1 14026 cat conftest.err >&5 14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14028 (exit $ac_status); } && { 14029 test -z "$ac_cxx_werror_flag" || 14030 test ! -s conftest.err 14031 } && test -s conftest.$ac_objext; then 14032 ac_hi=$ac_mid; break 14033 else 14034 echo "$as_me: failed program was:" >&5 14035 sed 's/^/| /' conftest.$ac_ext >&5 14036 14037 ac_lo=`expr $ac_mid + 1` 14038 if test $ac_lo -le $ac_mid; then 14039 ac_lo= ac_hi= 14040 break 14041 fi 14042 ac_mid=`expr 2 '*' $ac_mid + 1` 14043 fi 14044 14045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14046 done 14047 else 14048 echo "$as_me: failed program was:" >&5 14049 sed 's/^/| /' conftest.$ac_ext >&5 14050 14051 cat >conftest.$ac_ext <<_ACEOF 14052 /* confdefs.h. */ 14053 _ACEOF 14054 cat confdefs.h >>conftest.$ac_ext 14055 cat >>conftest.$ac_ext <<_ACEOF 14056 /* end confdefs.h. */ 14057 $ac_includes_default 14058 typedef long ac__type_sizeof_; 14059 int 14060 main () 14061 { 14062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14063 test_array [0] = 0 14064 14065 ; 14066 return 0; 14067 } 14068 _ACEOF 14069 rm -f conftest.$ac_objext 14070 if { (ac_try="$ac_compile" 14071 case "(($ac_try" in 14072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14073 *) ac_try_echo=$ac_try;; 14074 esac 14075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14076 (eval "$ac_compile") 2>conftest.er1 14077 ac_status=$? 14078 grep -v '^ *+' conftest.er1 >conftest.err 14079 rm -f conftest.er1 14080 cat conftest.err >&5 14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14082 (exit $ac_status); } && { 14083 test -z "$ac_cxx_werror_flag" || 14084 test ! -s conftest.err 14085 } && test -s conftest.$ac_objext; then 14086 ac_hi=-1 ac_mid=-1 14087 while :; do 14088 cat >conftest.$ac_ext <<_ACEOF 14089 /* confdefs.h. */ 14090 _ACEOF 14091 cat confdefs.h >>conftest.$ac_ext 14092 cat >>conftest.$ac_ext <<_ACEOF 14093 /* end confdefs.h. */ 14094 $ac_includes_default 14095 typedef long ac__type_sizeof_; 14096 int 14097 main () 14098 { 14099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14100 test_array [0] = 0 14101 14102 ; 14103 return 0; 14104 } 14105 _ACEOF 14106 rm -f conftest.$ac_objext 14107 if { (ac_try="$ac_compile" 14108 case "(($ac_try" in 14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14110 *) ac_try_echo=$ac_try;; 14111 esac 14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14113 (eval "$ac_compile") 2>conftest.er1 14114 ac_status=$? 14115 grep -v '^ *+' conftest.er1 >conftest.err 14116 rm -f conftest.er1 14117 cat conftest.err >&5 14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14119 (exit $ac_status); } && { 14120 test -z "$ac_cxx_werror_flag" || 14121 test ! -s conftest.err 14122 } && test -s conftest.$ac_objext; then 14123 ac_lo=$ac_mid; break 14124 else 14125 echo "$as_me: failed program was:" >&5 14126 sed 's/^/| /' conftest.$ac_ext >&5 14127 14128 ac_hi=`expr '(' $ac_mid ')' - 1` 14129 if test $ac_mid -le $ac_hi; then 14130 ac_lo= ac_hi= 14131 break 14132 fi 14133 ac_mid=`expr 2 '*' $ac_mid` 14134 fi 14135 14136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14137 done 14138 else 14139 echo "$as_me: failed program was:" >&5 14140 sed 's/^/| /' conftest.$ac_ext >&5 14141 14142 ac_lo= ac_hi= 14143 fi 14144 14145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14146 fi 14147 14148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14149 # Binary search between lo and hi bounds. 14150 while test "x$ac_lo" != "x$ac_hi"; do 14151 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14152 cat >conftest.$ac_ext <<_ACEOF 14153 /* confdefs.h. */ 14154 _ACEOF 14155 cat confdefs.h >>conftest.$ac_ext 14156 cat >>conftest.$ac_ext <<_ACEOF 14157 /* end confdefs.h. */ 14158 $ac_includes_default 14159 typedef long ac__type_sizeof_; 14160 int 14161 main () 14162 { 14163 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14164 test_array [0] = 0 14165 14166 ; 14167 return 0; 14168 } 14169 _ACEOF 14170 rm -f conftest.$ac_objext 14171 if { (ac_try="$ac_compile" 14172 case "(($ac_try" in 14173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14174 *) ac_try_echo=$ac_try;; 14175 esac 14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14177 (eval "$ac_compile") 2>conftest.er1 14178 ac_status=$? 14179 grep -v '^ *+' conftest.er1 >conftest.err 14180 rm -f conftest.er1 14181 cat conftest.err >&5 14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14183 (exit $ac_status); } && { 14184 test -z "$ac_cxx_werror_flag" || 14185 test ! -s conftest.err 14186 } && test -s conftest.$ac_objext; then 14187 ac_hi=$ac_mid 14188 else 14189 echo "$as_me: failed program was:" >&5 14190 sed 's/^/| /' conftest.$ac_ext >&5 14191 14192 ac_lo=`expr '(' $ac_mid ')' + 1` 14193 fi 14194 14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14196 done 14197 case $ac_lo in 14198 ?*) ac_cv_sizeof_long=$ac_lo;; 14199 '') if test "$ac_cv_type_long" = yes; then 14200 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14201 See \`config.log' for more details." >&5 14202 echo "$as_me: error: cannot compute sizeof (long) 14203 See \`config.log' for more details." >&2;} 14204 { (exit 77); exit 77; }; } 14205 else 14206 ac_cv_sizeof_long=0 14207 fi ;; 14208 esac 14209 else 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 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14219 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14220 #include <stdio.h> 14221 #include <stdlib.h> 14222 int 14223 main () 14224 { 14225 14226 FILE *f = fopen ("conftest.val", "w"); 14227 if (! f) 14228 return 1; 14229 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14230 { 14231 long int i = longval (); 14232 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14233 return 1; 14234 fprintf (f, "%ld\n", i); 14235 } 14236 else 14237 { 14238 unsigned long int i = ulongval (); 14239 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14240 return 1; 14241 fprintf (f, "%lu\n", i); 14242 } 14243 return ferror (f) || fclose (f) != 0; 14244 14245 ; 14246 return 0; 14247 } 14248 _ACEOF 14249 rm -f conftest$ac_exeext 14250 if { (ac_try="$ac_link" 14251 case "(($ac_try" in 14252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14253 *) ac_try_echo=$ac_try;; 14254 esac 14255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14256 (eval "$ac_link") 2>&5 14257 ac_status=$? 14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14260 { (case "(($ac_try" in 14261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14262 *) ac_try_echo=$ac_try;; 14263 esac 14264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14265 (eval "$ac_try") 2>&5 14266 ac_status=$? 14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14268 (exit $ac_status); }; }; then 14269 ac_cv_sizeof_long=`cat conftest.val` 14270 else 14271 echo "$as_me: program exited with status $ac_status" >&5 14272 echo "$as_me: failed program was:" >&5 14273 sed 's/^/| /' conftest.$ac_ext >&5 14274 14275 ( exit $ac_status ) 14276 if test "$ac_cv_type_long" = yes; then 14277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14278 See \`config.log' for more details." >&5 14279 echo "$as_me: error: cannot compute sizeof (long) 14280 See \`config.log' for more details." >&2;} 14281 { (exit 77); exit 77; }; } 8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 8688 $as_echo_n "checking size of long... " >&6; } 8689 if test "${ac_cv_sizeof_long+set}" = set; then : 8690 $as_echo_n "(cached) " >&6 8691 else 8692 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8693 8694 else 8695 if test "$ac_cv_type_long" = yes; then 8696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8698 { as_fn_set_status 77 8699 as_fn_error "cannot compute sizeof (long) 8700 See \`config.log' for more details." "$LINENO" 5; }; } 14282 8701 else 14283 8702 ac_cv_sizeof_long=0 14284 8703 fi 14285 8704 fi 14286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14287 fi 14288 rm -f conftest.val 14289 fi 14290 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 14291 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 8705 8706 fi 8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 8708 $as_echo "$ac_cv_sizeof_long" >&6; } 14292 8709 14293 8710 … … 14297 8714 _ACEOF 14298 8715 14299 14300 { echo "$as_me:$LINENO: checking for long long" >&514301 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }14302 if test "${ac_cv_type_long_long+set}" = set; then14303 echo $ECHO_N "(cached) $ECHO_C" >&614304 else14305 cat >conftest.$ac_ext <<_ACEOF14306 /* confdefs.h. */14307 _ACEOF14308 cat confdefs.h >>conftest.$ac_ext14309 cat >>conftest.$ac_ext <<_ACEOF14310 /* end confdefs.h. */14311 $ac_includes_default14312 typedef long long ac__type_new_;14313 int14314 main ()14315 {14316 if ((ac__type_new_ *) 0)14317 return 0;14318 if (sizeof (ac__type_new_))14319 return 0;14320 ;14321 return 0;14322 }14323 _ACEOF14324 rm -f conftest.$ac_objext14325 if { (ac_try="$ac_compile"14326 case "(($ac_try" in14327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14328 *) ac_try_echo=$ac_try;;14329 esac14330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514331 (eval "$ac_compile") 2>conftest.er114332 ac_status=$?14333 grep -v '^ *+' conftest.er1 >conftest.err14334 rm -f conftest.er114335 cat conftest.err >&514336 echo "$as_me:$LINENO: \$? = $ac_status" >&514337 (exit $ac_status); } && {14338 test -z "$ac_cxx_werror_flag" ||14339 test ! -s conftest.err14340 } && test -s conftest.$ac_objext; then14341 ac_cv_type_long_long=yes14342 else14343 echo "$as_me: failed program was:" >&514344 sed 's/^/| /' conftest.$ac_ext >&514345 14346 ac_cv_type_long_long=no14347 fi14348 14349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14350 fi14351 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&514352 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }14353 8716 14354 8717 # The cast to long int works around a bug in the HP C Compiler … … 14356 8719 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14357 8720 # This bug is HP SR number 8606223364. 14358 { echo "$as_me:$LINENO: checking size of long long" >&5 14359 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 14360 if test "${ac_cv_sizeof_long_long+set}" = set; then 14361 echo $ECHO_N "(cached) $ECHO_C" >&6 14362 else 14363 if test "$cross_compiling" = yes; then 14364 # Depending upon the size, compute the lo and hi bounds. 14365 cat >conftest.$ac_ext <<_ACEOF 14366 /* confdefs.h. */ 14367 _ACEOF 14368 cat confdefs.h >>conftest.$ac_ext 14369 cat >>conftest.$ac_ext <<_ACEOF 14370 /* end confdefs.h. */ 14371 $ac_includes_default 14372 typedef long long ac__type_sizeof_; 14373 int 14374 main () 14375 { 14376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14377 test_array [0] = 0 14378 14379 ; 14380 return 0; 14381 } 14382 _ACEOF 14383 rm -f conftest.$ac_objext 14384 if { (ac_try="$ac_compile" 14385 case "(($ac_try" in 14386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14387 *) ac_try_echo=$ac_try;; 14388 esac 14389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14390 (eval "$ac_compile") 2>conftest.er1 14391 ac_status=$? 14392 grep -v '^ *+' conftest.er1 >conftest.err 14393 rm -f conftest.er1 14394 cat conftest.err >&5 14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14396 (exit $ac_status); } && { 14397 test -z "$ac_cxx_werror_flag" || 14398 test ! -s conftest.err 14399 } && test -s conftest.$ac_objext; then 14400 ac_lo=0 ac_mid=0 14401 while :; do 14402 cat >conftest.$ac_ext <<_ACEOF 14403 /* confdefs.h. */ 14404 _ACEOF 14405 cat confdefs.h >>conftest.$ac_ext 14406 cat >>conftest.$ac_ext <<_ACEOF 14407 /* end confdefs.h. */ 14408 $ac_includes_default 14409 typedef long long ac__type_sizeof_; 14410 int 14411 main () 14412 { 14413 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14414 test_array [0] = 0 14415 14416 ; 14417 return 0; 14418 } 14419 _ACEOF 14420 rm -f conftest.$ac_objext 14421 if { (ac_try="$ac_compile" 14422 case "(($ac_try" in 14423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14424 *) ac_try_echo=$ac_try;; 14425 esac 14426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14427 (eval "$ac_compile") 2>conftest.er1 14428 ac_status=$? 14429 grep -v '^ *+' conftest.er1 >conftest.err 14430 rm -f conftest.er1 14431 cat conftest.err >&5 14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14433 (exit $ac_status); } && { 14434 test -z "$ac_cxx_werror_flag" || 14435 test ! -s conftest.err 14436 } && test -s conftest.$ac_objext; then 14437 ac_hi=$ac_mid; break 14438 else 14439 echo "$as_me: failed program was:" >&5 14440 sed 's/^/| /' conftest.$ac_ext >&5 14441 14442 ac_lo=`expr $ac_mid + 1` 14443 if test $ac_lo -le $ac_mid; then 14444 ac_lo= ac_hi= 14445 break 14446 fi 14447 ac_mid=`expr 2 '*' $ac_mid + 1` 14448 fi 14449 14450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14451 done 14452 else 14453 echo "$as_me: failed program was:" >&5 14454 sed 's/^/| /' conftest.$ac_ext >&5 14455 14456 cat >conftest.$ac_ext <<_ACEOF 14457 /* confdefs.h. */ 14458 _ACEOF 14459 cat confdefs.h >>conftest.$ac_ext 14460 cat >>conftest.$ac_ext <<_ACEOF 14461 /* end confdefs.h. */ 14462 $ac_includes_default 14463 typedef long long ac__type_sizeof_; 14464 int 14465 main () 14466 { 14467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14468 test_array [0] = 0 14469 14470 ; 14471 return 0; 14472 } 14473 _ACEOF 14474 rm -f conftest.$ac_objext 14475 if { (ac_try="$ac_compile" 14476 case "(($ac_try" in 14477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14478 *) ac_try_echo=$ac_try;; 14479 esac 14480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14481 (eval "$ac_compile") 2>conftest.er1 14482 ac_status=$? 14483 grep -v '^ *+' conftest.er1 >conftest.err 14484 rm -f conftest.er1 14485 cat conftest.err >&5 14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14487 (exit $ac_status); } && { 14488 test -z "$ac_cxx_werror_flag" || 14489 test ! -s conftest.err 14490 } && test -s conftest.$ac_objext; then 14491 ac_hi=-1 ac_mid=-1 14492 while :; do 14493 cat >conftest.$ac_ext <<_ACEOF 14494 /* confdefs.h. */ 14495 _ACEOF 14496 cat confdefs.h >>conftest.$ac_ext 14497 cat >>conftest.$ac_ext <<_ACEOF 14498 /* end confdefs.h. */ 14499 $ac_includes_default 14500 typedef long long ac__type_sizeof_; 14501 int 14502 main () 14503 { 14504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14505 test_array [0] = 0 14506 14507 ; 14508 return 0; 14509 } 14510 _ACEOF 14511 rm -f conftest.$ac_objext 14512 if { (ac_try="$ac_compile" 14513 case "(($ac_try" in 14514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14515 *) ac_try_echo=$ac_try;; 14516 esac 14517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14518 (eval "$ac_compile") 2>conftest.er1 14519 ac_status=$? 14520 grep -v '^ *+' conftest.er1 >conftest.err 14521 rm -f conftest.er1 14522 cat conftest.err >&5 14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14524 (exit $ac_status); } && { 14525 test -z "$ac_cxx_werror_flag" || 14526 test ! -s conftest.err 14527 } && test -s conftest.$ac_objext; then 14528 ac_lo=$ac_mid; break 14529 else 14530 echo "$as_me: failed program was:" >&5 14531 sed 's/^/| /' conftest.$ac_ext >&5 14532 14533 ac_hi=`expr '(' $ac_mid ')' - 1` 14534 if test $ac_mid -le $ac_hi; then 14535 ac_lo= ac_hi= 14536 break 14537 fi 14538 ac_mid=`expr 2 '*' $ac_mid` 14539 fi 14540 14541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14542 done 14543 else 14544 echo "$as_me: failed program was:" >&5 14545 sed 's/^/| /' conftest.$ac_ext >&5 14546 14547 ac_lo= ac_hi= 14548 fi 14549 14550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14551 fi 14552 14553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14554 # Binary search between lo and hi bounds. 14555 while test "x$ac_lo" != "x$ac_hi"; do 14556 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14557 cat >conftest.$ac_ext <<_ACEOF 14558 /* confdefs.h. */ 14559 _ACEOF 14560 cat confdefs.h >>conftest.$ac_ext 14561 cat >>conftest.$ac_ext <<_ACEOF 14562 /* end confdefs.h. */ 14563 $ac_includes_default 14564 typedef long long ac__type_sizeof_; 14565 int 14566 main () 14567 { 14568 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14569 test_array [0] = 0 14570 14571 ; 14572 return 0; 14573 } 14574 _ACEOF 14575 rm -f conftest.$ac_objext 14576 if { (ac_try="$ac_compile" 14577 case "(($ac_try" in 14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14579 *) ac_try_echo=$ac_try;; 14580 esac 14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14582 (eval "$ac_compile") 2>conftest.er1 14583 ac_status=$? 14584 grep -v '^ *+' conftest.er1 >conftest.err 14585 rm -f conftest.er1 14586 cat conftest.err >&5 14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14588 (exit $ac_status); } && { 14589 test -z "$ac_cxx_werror_flag" || 14590 test ! -s conftest.err 14591 } && test -s conftest.$ac_objext; then 14592 ac_hi=$ac_mid 14593 else 14594 echo "$as_me: failed program was:" >&5 14595 sed 's/^/| /' conftest.$ac_ext >&5 14596 14597 ac_lo=`expr '(' $ac_mid ')' + 1` 14598 fi 14599 14600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14601 done 14602 case $ac_lo in 14603 ?*) ac_cv_sizeof_long_long=$ac_lo;; 14604 '') if test "$ac_cv_type_long_long" = yes; then 14605 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 14606 See \`config.log' for more details." >&5 14607 echo "$as_me: error: cannot compute sizeof (long long) 14608 See \`config.log' for more details." >&2;} 14609 { (exit 77); exit 77; }; } 14610 else 14611 ac_cv_sizeof_long_long=0 14612 fi ;; 14613 esac 14614 else 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 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14624 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14625 #include <stdio.h> 14626 #include <stdlib.h> 14627 int 14628 main () 14629 { 14630 14631 FILE *f = fopen ("conftest.val", "w"); 14632 if (! f) 14633 return 1; 14634 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14635 { 14636 long int i = longval (); 14637 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14638 return 1; 14639 fprintf (f, "%ld\n", i); 14640 } 14641 else 14642 { 14643 unsigned long int i = ulongval (); 14644 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14645 return 1; 14646 fprintf (f, "%lu\n", i); 14647 } 14648 return ferror (f) || fclose (f) != 0; 14649 14650 ; 14651 return 0; 14652 } 14653 _ACEOF 14654 rm -f conftest$ac_exeext 14655 if { (ac_try="$ac_link" 14656 case "(($ac_try" in 14657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14658 *) ac_try_echo=$ac_try;; 14659 esac 14660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14661 (eval "$ac_link") 2>&5 14662 ac_status=$? 14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14664 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14665 { (case "(($ac_try" in 14666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14667 *) ac_try_echo=$ac_try;; 14668 esac 14669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14670 (eval "$ac_try") 2>&5 14671 ac_status=$? 14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14673 (exit $ac_status); }; }; then 14674 ac_cv_sizeof_long_long=`cat conftest.val` 14675 else 14676 echo "$as_me: program exited with status $ac_status" >&5 14677 echo "$as_me: failed program was:" >&5 14678 sed 's/^/| /' conftest.$ac_ext >&5 14679 14680 ( exit $ac_status ) 14681 if test "$ac_cv_type_long_long" = yes; then 14682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 14683 See \`config.log' for more details." >&5 14684 echo "$as_me: error: cannot compute sizeof (long long) 14685 See \`config.log' for more details." >&2;} 14686 { (exit 77); exit 77; }; } 8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 8722 $as_echo_n "checking size of long long... " >&6; } 8723 if test "${ac_cv_sizeof_long_long+set}" = set; then : 8724 $as_echo_n "(cached) " >&6 8725 else 8726 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8727 8728 else 8729 if test "$ac_cv_type_long_long" = yes; then 8730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8732 { as_fn_set_status 77 8733 as_fn_error "cannot compute sizeof (long long) 8734 See \`config.log' for more details." "$LINENO" 5; }; } 14687 8735 else 14688 8736 ac_cv_sizeof_long_long=0 14689 8737 fi 14690 8738 fi 14691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14692 fi 14693 rm -f conftest.val 14694 fi 14695 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 14696 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 8739 8740 fi 8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 8742 $as_echo "$ac_cv_sizeof_long_long" >&6; } 14697 8743 14698 8744 … … 14702 8748 _ACEOF 14703 8749 14704 14705 { echo "$as_me:$LINENO: checking for void *" >&514706 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }14707 if test "${ac_cv_type_void_p+set}" = set; then14708 echo $ECHO_N "(cached) $ECHO_C" >&614709 else14710 cat >conftest.$ac_ext <<_ACEOF14711 /* confdefs.h. */14712 _ACEOF14713 cat confdefs.h >>conftest.$ac_ext14714 cat >>conftest.$ac_ext <<_ACEOF14715 /* end confdefs.h. */14716 $ac_includes_default14717 typedef void * ac__type_new_;14718 int14719 main ()14720 {14721 if ((ac__type_new_ *) 0)14722 return 0;14723 if (sizeof (ac__type_new_))14724 return 0;14725 ;14726 return 0;14727 }14728 _ACEOF14729 rm -f conftest.$ac_objext14730 if { (ac_try="$ac_compile"14731 case "(($ac_try" in14732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14733 *) ac_try_echo=$ac_try;;14734 esac14735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514736 (eval "$ac_compile") 2>conftest.er114737 ac_status=$?14738 grep -v '^ *+' conftest.er1 >conftest.err14739 rm -f conftest.er114740 cat conftest.err >&514741 echo "$as_me:$LINENO: \$? = $ac_status" >&514742 (exit $ac_status); } && {14743 test -z "$ac_cxx_werror_flag" ||14744 test ! -s conftest.err14745 } && test -s conftest.$ac_objext; then14746 ac_cv_type_void_p=yes14747 else14748 echo "$as_me: failed program was:" >&514749 sed 's/^/| /' conftest.$ac_ext >&514750 14751 ac_cv_type_void_p=no14752 fi14753 14754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14755 fi14756 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&514757 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }14758 8750 14759 8751 # The cast to long int works around a bug in the HP C Compiler … … 14761 8753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14762 8754 # This bug is HP SR number 8606223364. 14763 { echo "$as_me:$LINENO: checking size of void *" >&5 14764 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 14765 if test "${ac_cv_sizeof_void_p+set}" = set; then 14766 echo $ECHO_N "(cached) $ECHO_C" >&6 14767 else 14768 if test "$cross_compiling" = yes; then 14769 # Depending upon the size, compute the lo and hi bounds. 14770 cat >conftest.$ac_ext <<_ACEOF 14771 /* confdefs.h. */ 14772 _ACEOF 14773 cat confdefs.h >>conftest.$ac_ext 14774 cat >>conftest.$ac_ext <<_ACEOF 14775 /* end confdefs.h. */ 14776 $ac_includes_default 14777 typedef void * ac__type_sizeof_; 14778 int 14779 main () 14780 { 14781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14782 test_array [0] = 0 14783 14784 ; 14785 return 0; 14786 } 14787 _ACEOF 14788 rm -f conftest.$ac_objext 14789 if { (ac_try="$ac_compile" 14790 case "(($ac_try" in 14791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14792 *) ac_try_echo=$ac_try;; 14793 esac 14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14795 (eval "$ac_compile") 2>conftest.er1 14796 ac_status=$? 14797 grep -v '^ *+' conftest.er1 >conftest.err 14798 rm -f conftest.er1 14799 cat conftest.err >&5 14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14801 (exit $ac_status); } && { 14802 test -z "$ac_cxx_werror_flag" || 14803 test ! -s conftest.err 14804 } && test -s conftest.$ac_objext; then 14805 ac_lo=0 ac_mid=0 14806 while :; do 14807 cat >conftest.$ac_ext <<_ACEOF 14808 /* confdefs.h. */ 14809 _ACEOF 14810 cat confdefs.h >>conftest.$ac_ext 14811 cat >>conftest.$ac_ext <<_ACEOF 14812 /* end confdefs.h. */ 14813 $ac_includes_default 14814 typedef void * ac__type_sizeof_; 14815 int 14816 main () 14817 { 14818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14819 test_array [0] = 0 14820 14821 ; 14822 return 0; 14823 } 14824 _ACEOF 14825 rm -f conftest.$ac_objext 14826 if { (ac_try="$ac_compile" 14827 case "(($ac_try" in 14828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14829 *) ac_try_echo=$ac_try;; 14830 esac 14831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14832 (eval "$ac_compile") 2>conftest.er1 14833 ac_status=$? 14834 grep -v '^ *+' conftest.er1 >conftest.err 14835 rm -f conftest.er1 14836 cat conftest.err >&5 14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14838 (exit $ac_status); } && { 14839 test -z "$ac_cxx_werror_flag" || 14840 test ! -s conftest.err 14841 } && test -s conftest.$ac_objext; then 14842 ac_hi=$ac_mid; break 14843 else 14844 echo "$as_me: failed program was:" >&5 14845 sed 's/^/| /' conftest.$ac_ext >&5 14846 14847 ac_lo=`expr $ac_mid + 1` 14848 if test $ac_lo -le $ac_mid; then 14849 ac_lo= ac_hi= 14850 break 14851 fi 14852 ac_mid=`expr 2 '*' $ac_mid + 1` 14853 fi 14854 14855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14856 done 14857 else 14858 echo "$as_me: failed program was:" >&5 14859 sed 's/^/| /' conftest.$ac_ext >&5 14860 14861 cat >conftest.$ac_ext <<_ACEOF 14862 /* confdefs.h. */ 14863 _ACEOF 14864 cat confdefs.h >>conftest.$ac_ext 14865 cat >>conftest.$ac_ext <<_ACEOF 14866 /* end confdefs.h. */ 14867 $ac_includes_default 14868 typedef void * ac__type_sizeof_; 14869 int 14870 main () 14871 { 14872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14873 test_array [0] = 0 14874 14875 ; 14876 return 0; 14877 } 14878 _ACEOF 14879 rm -f conftest.$ac_objext 14880 if { (ac_try="$ac_compile" 14881 case "(($ac_try" in 14882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14883 *) ac_try_echo=$ac_try;; 14884 esac 14885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14886 (eval "$ac_compile") 2>conftest.er1 14887 ac_status=$? 14888 grep -v '^ *+' conftest.er1 >conftest.err 14889 rm -f conftest.er1 14890 cat conftest.err >&5 14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14892 (exit $ac_status); } && { 14893 test -z "$ac_cxx_werror_flag" || 14894 test ! -s conftest.err 14895 } && test -s conftest.$ac_objext; then 14896 ac_hi=-1 ac_mid=-1 14897 while :; do 14898 cat >conftest.$ac_ext <<_ACEOF 14899 /* confdefs.h. */ 14900 _ACEOF 14901 cat confdefs.h >>conftest.$ac_ext 14902 cat >>conftest.$ac_ext <<_ACEOF 14903 /* end confdefs.h. */ 14904 $ac_includes_default 14905 typedef void * ac__type_sizeof_; 14906 int 14907 main () 14908 { 14909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14910 test_array [0] = 0 14911 14912 ; 14913 return 0; 14914 } 14915 _ACEOF 14916 rm -f conftest.$ac_objext 14917 if { (ac_try="$ac_compile" 14918 case "(($ac_try" in 14919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14920 *) ac_try_echo=$ac_try;; 14921 esac 14922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14923 (eval "$ac_compile") 2>conftest.er1 14924 ac_status=$? 14925 grep -v '^ *+' conftest.er1 >conftest.err 14926 rm -f conftest.er1 14927 cat conftest.err >&5 14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14929 (exit $ac_status); } && { 14930 test -z "$ac_cxx_werror_flag" || 14931 test ! -s conftest.err 14932 } && test -s conftest.$ac_objext; then 14933 ac_lo=$ac_mid; break 14934 else 14935 echo "$as_me: failed program was:" >&5 14936 sed 's/^/| /' conftest.$ac_ext >&5 14937 14938 ac_hi=`expr '(' $ac_mid ')' - 1` 14939 if test $ac_mid -le $ac_hi; then 14940 ac_lo= ac_hi= 14941 break 14942 fi 14943 ac_mid=`expr 2 '*' $ac_mid` 14944 fi 14945 14946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14947 done 14948 else 14949 echo "$as_me: failed program was:" >&5 14950 sed 's/^/| /' conftest.$ac_ext >&5 14951 14952 ac_lo= ac_hi= 14953 fi 14954 14955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14956 fi 14957 14958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14959 # Binary search between lo and hi bounds. 14960 while test "x$ac_lo" != "x$ac_hi"; do 14961 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14962 cat >conftest.$ac_ext <<_ACEOF 14963 /* confdefs.h. */ 14964 _ACEOF 14965 cat confdefs.h >>conftest.$ac_ext 14966 cat >>conftest.$ac_ext <<_ACEOF 14967 /* end confdefs.h. */ 14968 $ac_includes_default 14969 typedef void * ac__type_sizeof_; 14970 int 14971 main () 14972 { 14973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14974 test_array [0] = 0 14975 14976 ; 14977 return 0; 14978 } 14979 _ACEOF 14980 rm -f conftest.$ac_objext 14981 if { (ac_try="$ac_compile" 14982 case "(($ac_try" in 14983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14984 *) ac_try_echo=$ac_try;; 14985 esac 14986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14987 (eval "$ac_compile") 2>conftest.er1 14988 ac_status=$? 14989 grep -v '^ *+' conftest.er1 >conftest.err 14990 rm -f conftest.er1 14991 cat conftest.err >&5 14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14993 (exit $ac_status); } && { 14994 test -z "$ac_cxx_werror_flag" || 14995 test ! -s conftest.err 14996 } && test -s conftest.$ac_objext; then 14997 ac_hi=$ac_mid 14998 else 14999 echo "$as_me: failed program was:" >&5 15000 sed 's/^/| /' conftest.$ac_ext >&5 15001 15002 ac_lo=`expr '(' $ac_mid ')' + 1` 15003 fi 15004 15005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15006 done 15007 case $ac_lo in 15008 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15009 '') if test "$ac_cv_type_void_p" = yes; then 15010 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15011 See \`config.log' for more details." >&5 15012 echo "$as_me: error: cannot compute sizeof (void *) 15013 See \`config.log' for more details." >&2;} 15014 { (exit 77); exit 77; }; } 15015 else 15016 ac_cv_sizeof_void_p=0 15017 fi ;; 15018 esac 15019 else 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 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15029 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15030 #include <stdio.h> 15031 #include <stdlib.h> 15032 int 15033 main () 15034 { 15035 15036 FILE *f = fopen ("conftest.val", "w"); 15037 if (! f) 15038 return 1; 15039 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15040 { 15041 long int i = longval (); 15042 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15043 return 1; 15044 fprintf (f, "%ld\n", i); 15045 } 15046 else 15047 { 15048 unsigned long int i = ulongval (); 15049 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15050 return 1; 15051 fprintf (f, "%lu\n", i); 15052 } 15053 return ferror (f) || fclose (f) != 0; 15054 15055 ; 15056 return 0; 15057 } 15058 _ACEOF 15059 rm -f conftest$ac_exeext 15060 if { (ac_try="$ac_link" 15061 case "(($ac_try" in 15062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15063 *) ac_try_echo=$ac_try;; 15064 esac 15065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15066 (eval "$ac_link") 2>&5 15067 ac_status=$? 15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15070 { (case "(($ac_try" in 15071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15072 *) ac_try_echo=$ac_try;; 15073 esac 15074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15075 (eval "$ac_try") 2>&5 15076 ac_status=$? 15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15078 (exit $ac_status); }; }; then 15079 ac_cv_sizeof_void_p=`cat conftest.val` 15080 else 15081 echo "$as_me: program exited with status $ac_status" >&5 15082 echo "$as_me: failed program was:" >&5 15083 sed 's/^/| /' conftest.$ac_ext >&5 15084 15085 ( exit $ac_status ) 15086 if test "$ac_cv_type_void_p" = yes; then 15087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15088 See \`config.log' for more details." >&5 15089 echo "$as_me: error: cannot compute sizeof (void *) 15090 See \`config.log' for more details." >&2;} 15091 { (exit 77); exit 77; }; } 8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 8756 $as_echo_n "checking size of void *... " >&6; } 8757 if test "${ac_cv_sizeof_void_p+set}" = set; then : 8758 $as_echo_n "(cached) " >&6 8759 else 8760 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8761 8762 else 8763 if test "$ac_cv_type_void_p" = yes; then 8764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8766 { as_fn_set_status 77 8767 as_fn_error "cannot compute sizeof (void *) 8768 See \`config.log' for more details." "$LINENO" 5; }; } 15092 8769 else 15093 8770 ac_cv_sizeof_void_p=0 15094 8771 fi 15095 8772 fi 15096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15097 fi 15098 rm -f conftest.val 15099 fi 15100 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15101 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 8773 8774 fi 8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 8776 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15102 8777 15103 8778 … … 15125 8800 15126 8801 15127 { echo "$as_me:$LINENO: checking for build with symbols" >&515128 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 8803 $as_echo_n "checking for build with symbols... " >&6; } 15129 8804 # Check whether --enable-symbols was given. 15130 if test "${enable_symbols+set}" = set; then 8805 if test "${enable_symbols+set}" = set; then : 15131 8806 enableval=$enable_symbols; tcl_ok=$enableval 15132 8807 else … … 15139 8814 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 15140 8815 DBGX="" 15141 { echo "$as_me:$LINENO: result: no" >&515142 echo "${ECHO_T}no" >&6; }8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8817 $as_echo "no" >&6; } 15143 8818 else 15144 8819 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 15146 8821 DBGX=g 15147 8822 if test "$tcl_ok" = "yes"; then 15148 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&515149 echo "${ECHO_T}yes (standard debugging)" >&6; }8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 8824 $as_echo "yes (standard debugging)" >&6; } 15150 8825 fi 15151 8826 fi … … 15154 8829 15155 8830 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 15156 cat >>confdefs.h <<\_ACEOF 15157 #define TCL_MEM_DEBUG 1 15158 _ACEOF 8831 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15159 8832 15160 8833 fi 15161 8834 15162 8835 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 15163 cat >>confdefs.h <<\_ACEOF 15164 #define TCL_COMPILE_DEBUG 1 15165 _ACEOF 15166 15167 cat >>confdefs.h <<\_ACEOF 15168 #define TCL_COMPILE_STATS 1 15169 _ACEOF 8836 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 8837 8838 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15170 8839 15171 8840 fi … … 15173 8842 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 15174 8843 if test "$tcl_ok" = "all"; then 15175 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&515176 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 8845 $as_echo "enabled symbols mem compile debugging" >&6; } 15177 8846 else 15178 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&515179 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 8848 $as_echo "enabled $tcl_ok debugging" >&6; } 15180 8849 fi 15181 8850 fi … … 15189 8858 15190 8859 ac_configure_args="--disable-threads --enable-shared" 8860 8861 15191 8862 subdirs="$subdirs packages/optimizer/src" 15192 8863 15193 8864 15194 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile lang/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/RpOctaveInterface.h lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/ number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile"8865 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile lang/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/RpOctaveInterface.h lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile" 15195 8866 15196 8867 cat >confcache <<\_ACEOF … … 15221 8892 *${as_nl}*) 15222 8893 case $ac_var in #( 15223 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&515224 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;8894 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 8895 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15225 8896 esac 15226 8897 case $ac_var in #( 15227 8898 _ | IFS | as_nl) ;; #( 15228 *) $as_unset $ac_var ;; 8899 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8900 *) { eval $ac_var=; unset $ac_var;} ;; 15229 8901 esac ;; 15230 8902 esac … … 15234 8906 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15235 8907 *${as_nl}ac_space=\ *) 15236 # `set' does not quote correctly, so add quotes (double-quote15237 # substitution turns \\\\ into \\, and sed turns \\ into \ ).8908 # `set' does not quote correctly, so add quotes: double-quote 8909 # substitution turns \\\\ into \\, and sed turns \\ into \. 15238 8910 sed -n \ 15239 8911 "s/'/'\\\\''/g; … … 15258 8930 if test -w "$cache_file"; then 15259 8931 test "x$cache_file" != "x/dev/null" && 15260 { echo "$as_me:$LINENO: updating cache $cache_file" >&515261 echo "$as_me: updating cache $cache_file" >&6;}8932 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8933 $as_echo "$as_me: updating cache $cache_file" >&6;} 15262 8934 cat confcache >$cache_file 15263 8935 else 15264 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&515265 echo "$as_me: not updating unwritable cache $cache_file" >&6;}8936 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8937 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15266 8938 fi 15267 8939 fi … … 15279 8951 # 1. Remove the extension, and $U if already installed. 15280 8952 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15281 ac_i=` echo "$ac_i" | sed "$ac_script"`8953 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15282 8954 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15283 8955 # will be set to the directory where LIBOBJS objects are built. 15284 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"15285 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'8956 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8957 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15286 8958 done 15287 8959 LIBOBJS=$ac_libobjs … … 15291 8963 15292 8964 8965 15293 8966 : ${CONFIG_STATUS=./config.status} 8967 ac_write_fail=0 15294 8968 ac_clean_files_save=$ac_clean_files 15295 8969 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15296 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 15297 echo "$as_me: creating $CONFIG_STATUS" >&6;} 15298 cat >$CONFIG_STATUS <<_ACEOF 8970 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8971 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8972 as_write_fail=0 8973 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15299 8974 #! $SHELL 15300 8975 # Generated by $as_me. … … 15306 8981 ac_cs_recheck=false 15307 8982 ac_cs_silent=false 8983 15308 8984 SHELL=\${CONFIG_SHELL-$SHELL} 15309 _ACEOF 15310 15311 cat >>$CONFIG_STATUS <<\_A CEOF15312 ## -------------------- -##15313 ## M4sh Initialization. 15314 ## -------------------- -##8985 export SHELL 8986 _ASEOF 8987 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8988 ## -------------------- ## 8989 ## M4sh Initialization. ## 8990 ## -------------------- ## 15315 8991 15316 8992 # Be more Bourne compatible 15317 8993 DUALCASE=1; export DUALCASE # for MKS sh 15318 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8994 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15319 8995 emulate sh 15320 8996 NULLCMD=: 15321 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which8997 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15322 8998 # is contrary to our usage. Disable this feature. 15323 8999 alias -g '${1+"$@"}'='"$@"' 15324 9000 setopt NO_GLOB_SUBST 15325 9001 else 15326 case `(set -o) 2>/dev/null` in 15327 *posix*) set -o posix ;; 9002 case `(set -o) 2>/dev/null` in #( 9003 *posix*) : 9004 set -o posix ;; #( 9005 *) : 9006 ;; 15328 9007 esac 15329 15330 fi 15331 15332 15333 15334 15335 # PATH needs CR 15336 # Avoid depending upon Character Ranges. 15337 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15338 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15339 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15340 as_cr_digits='0123456789' 15341 as_cr_alnum=$as_cr_Letters$as_cr_digits 9008 fi 9009 9010 9011 as_nl=' 9012 ' 9013 export as_nl 9014 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9015 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9016 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9017 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9018 # Prefer a ksh shell builtin over an external printf program on Solaris, 9019 # but without wasting forks for bash or zsh. 9020 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9021 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9022 as_echo='print -r --' 9023 as_echo_n='print -rn --' 9024 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9025 as_echo='printf %s\n' 9026 as_echo_n='printf %s' 9027 else 9028 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9029 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9030 as_echo_n='/usr/ucb/echo -n' 9031 else 9032 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9033 as_echo_n_body='eval 9034 arg=$1; 9035 case $arg in #( 9036 *"$as_nl"*) 9037 expr "X$arg" : "X\\(.*\\)$as_nl"; 9038 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9039 esac; 9040 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9041 ' 9042 export as_echo_n_body 9043 as_echo_n='sh -c $as_echo_n_body as_echo' 9044 fi 9045 export as_echo_body 9046 as_echo='sh -c $as_echo_body as_echo' 9047 fi 15342 9048 15343 9049 # The user is always right. 15344 9050 if test "${PATH_SEPARATOR+set}" != set; then 15345 echo "#! /bin/sh" >conf$$.sh 15346 echo "exit 0" >>conf$$.sh 15347 chmod +x conf$$.sh 15348 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 15349 PATH_SEPARATOR=';' 15350 else 15351 PATH_SEPARATOR=: 15352 fi 15353 rm -f conf$$.sh 15354 fi 15355 15356 # Support unset when possible. 15357 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 15358 as_unset=unset 15359 else 15360 as_unset=false 9051 PATH_SEPARATOR=: 9052 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9053 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9054 PATH_SEPARATOR=';' 9055 } 15361 9056 fi 15362 9057 … … 15367 9062 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 15368 9063 # splitting by setting IFS to empty value.) 15369 as_nl='15370 '15371 9064 IFS=" "" $as_nl" 15372 9065 15373 9066 # Find who we are. Look in the path if we contain no directory separator. 15374 case $0 in 9067 case $0 in #(( 15375 9068 *[\\/]* ) as_myself=$0 ;; 15376 9069 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 15379 9072 IFS=$as_save_IFS 15380 9073 test -z "$as_dir" && as_dir=. 15381 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break15382 done9074 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9075 done 15383 9076 IFS=$as_save_IFS 15384 9077 … … 15391 9084 fi 15392 9085 if test ! -f "$as_myself"; then 15393 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15394 { (exit 1); exit 1; } 15395 fi 15396 15397 # Work around bugs in pre-3.0 UWIN ksh. 15398 for as_var in ENV MAIL MAILPATH 15399 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9086 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9087 exit 1 9088 fi 9089 9090 # Unset variables that we do not need and which cause bugs (e.g. in 9091 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9092 # suppresses any "Segmentation fault" message there. '((' could 9093 # trigger a bug in pdksh 5.2.14. 9094 for as_var in BASH_ENV ENV MAIL MAILPATH 9095 do eval test x\${$as_var+set} = xset \ 9096 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15400 9097 done 15401 9098 PS1='$ ' … … 15404 9101 15405 9102 # NLS nuisances. 15406 for as_var in \ 15407 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 15408 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 15409 LC_TELEPHONE LC_TIME 15410 do 15411 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 15412 eval $as_var=C; export $as_var 15413 else 15414 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9103 LC_ALL=C 9104 export LC_ALL 9105 LANGUAGE=C 9106 export LANGUAGE 9107 9108 # CDPATH. 9109 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9110 9111 9112 # as_fn_error ERROR [LINENO LOG_FD] 9113 # --------------------------------- 9114 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9115 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9116 # script with status $?, using 1 if that was 0. 9117 as_fn_error () 9118 { 9119 as_status=$?; test $as_status -eq 0 && as_status=1 9120 if test "$3"; then 9121 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9122 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15415 9123 fi 15416 done 15417 15418 # Required to use basename. 9124 $as_echo "$as_me: error: $1" >&2 9125 as_fn_exit $as_status 9126 } # as_fn_error 9127 9128 9129 # as_fn_set_status STATUS 9130 # ----------------------- 9131 # Set $? to STATUS, without forking. 9132 as_fn_set_status () 9133 { 9134 return $1 9135 } # as_fn_set_status 9136 9137 # as_fn_exit STATUS 9138 # ----------------- 9139 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9140 as_fn_exit () 9141 { 9142 set +e 9143 as_fn_set_status $1 9144 exit $1 9145 } # as_fn_exit 9146 9147 # as_fn_unset VAR 9148 # --------------- 9149 # Portably unset VAR. 9150 as_fn_unset () 9151 { 9152 { eval $1=; unset $1;} 9153 } 9154 as_unset=as_fn_unset 9155 # as_fn_append VAR VALUE 9156 # ---------------------- 9157 # Append the text in VALUE to the end of the definition contained in VAR. Take 9158 # advantage of any shell optimizations that allow amortized linear growth over 9159 # repeated appends, instead of the typical quadratic growth present in naive 9160 # implementations. 9161 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9162 eval 'as_fn_append () 9163 { 9164 eval $1+=\$2 9165 }' 9166 else 9167 as_fn_append () 9168 { 9169 eval $1=\$$1\$2 9170 } 9171 fi # as_fn_append 9172 9173 # as_fn_arith ARG... 9174 # ------------------ 9175 # Perform arithmetic evaluation on the ARGs, and store the result in the 9176 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9177 # must be portable across $(()) and expr. 9178 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9179 eval 'as_fn_arith () 9180 { 9181 as_val=$(( $* )) 9182 }' 9183 else 9184 as_fn_arith () 9185 { 9186 as_val=`expr "$@" || test $? -eq 1` 9187 } 9188 fi # as_fn_arith 9189 9190 15419 9191 if expr a : '\(a\)' >/dev/null 2>&1 && 15420 9192 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 15430 9202 fi 15431 9203 15432 15433 # Name of the executable. 9204 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9205 as_dirname=dirname 9206 else 9207 as_dirname=false 9208 fi 9209 15434 9210 as_me=`$as_basename -- "$0" || 15435 9211 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15436 9212 X"$0" : 'X\(//\)$' \| \ 15437 9213 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15438 echo X/"$0" |9214 $as_echo X/"$0" | 15439 9215 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15440 9216 s//\1/ … … 15451 9227 s/.*/./; q'` 15452 9228 15453 # CDPATH. 15454 $as_unset CDPATH 15455 15456 15457 15458 as_lineno_1=$LINENO 15459 as_lineno_2=$LINENO 15460 test "x$as_lineno_1" != "x$as_lineno_2" && 15461 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 15462 15463 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 15464 # uniformly replaced by the line number. The first 'sed' inserts a 15465 # line-number line after each line using $LINENO; the second 'sed' 15466 # does the real work. The second script uses 'N' to pair each 15467 # line-number line with the line containing $LINENO, and appends 15468 # trailing '-' during substitution so that $LINENO is not a special 15469 # case at line end. 15470 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 15471 # scripts with optimization help from Paolo Bonzini. Blame Lee 15472 # E. McMahon (1931-1989) for sed's syntax. :-) 15473 sed -n ' 15474 p 15475 /[$]LINENO/= 15476 ' <$as_myself | 15477 sed ' 15478 s/[$]LINENO.*/&-/ 15479 t lineno 15480 b 15481 :lineno 15482 N 15483 :loop 15484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 15485 t loop 15486 s/-\n.*// 15487 ' >$as_me.lineno && 15488 chmod +x "$as_me.lineno" || 15489 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 15490 { (exit 1); exit 1; }; } 15491 15492 # Don't try to exec as it changes $[0], causing all sort of problems 15493 # (the dirname of $[0] is not the place where we might find the 15494 # original and so on. Autoconf is especially sensitive to this). 15495 . "./$as_me.lineno" 15496 # Exit status is that of the last command. 15497 exit 15498 } 15499 15500 15501 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15502 as_dirname=dirname 15503 else 15504 as_dirname=false 15505 fi 9229 # Avoid depending upon Character Ranges. 9230 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9231 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9232 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9233 as_cr_digits='0123456789' 9234 as_cr_alnum=$as_cr_Letters$as_cr_digits 15506 9235 15507 9236 ECHO_C= ECHO_N= ECHO_T= 15508 case `echo -n x` in 9237 case `echo -n x` in #((((( 15509 9238 -n*) 15510 case `echo 'x \c'` in9239 case `echo 'xy\c'` in 15511 9240 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15512 *) ECHO_C='\c';; 9241 xy) ECHO_C='\c';; 9242 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9243 ECHO_T=' ';; 15513 9244 esac;; 15514 9245 *) … … 15516 9247 esac 15517 9248 15518 if expr a : '\(a\)' >/dev/null 2>&1 &&15519 test "X`expr 00001 : '.*\(...\)'`" = X001; then15520 as_expr=expr15521 else15522 as_expr=false15523 fi15524 15525 9249 rm -f conf$$ conf$$.exe conf$$.file 15526 9250 if test -d conf$$.dir; then … … 15528 9252 else 15529 9253 rm -f conf$$.dir 15530 mkdir conf$$.dir 15531 fi 15532 echo >conf$$.file 15533 if ln -s conf$$.file conf$$ 2>/dev/null; then 15534 as_ln_s='ln -s' 15535 # ... but there are two gotchas: 15536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15538 # In both cases, we have to default to `cp -p'. 15539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9254 mkdir conf$$.dir 2>/dev/null 9255 fi 9256 if (echo >conf$$.file) 2>/dev/null; then 9257 if ln -s conf$$.file conf$$ 2>/dev/null; then 9258 as_ln_s='ln -s' 9259 # ... but there are two gotchas: 9260 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9261 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9262 # In both cases, we have to default to `cp -p'. 9263 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9264 as_ln_s='cp -p' 9265 elif ln conf$$.file conf$$ 2>/dev/null; then 9266 as_ln_s=ln 9267 else 15540 9268 as_ln_s='cp -p' 15541 elif ln conf$$.file conf$$ 2>/dev/null; then 15542 as_ln_s=ln 9269 fi 15543 9270 else 15544 9271 as_ln_s='cp -p' … … 15547 9274 rmdir conf$$.dir 2>/dev/null 15548 9275 9276 9277 # as_fn_mkdir_p 9278 # ------------- 9279 # Create "$as_dir" as a directory, including parents if necessary. 9280 as_fn_mkdir_p () 9281 { 9282 9283 case $as_dir in #( 9284 -*) as_dir=./$as_dir;; 9285 esac 9286 test -d "$as_dir" || eval $as_mkdir_p || { 9287 as_dirs= 9288 while :; do 9289 case $as_dir in #( 9290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9291 *) as_qdir=$as_dir;; 9292 esac 9293 as_dirs="'$as_qdir' $as_dirs" 9294 as_dir=`$as_dirname -- "$as_dir" || 9295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9296 X"$as_dir" : 'X\(//\)[^/]' \| \ 9297 X"$as_dir" : 'X\(//\)$' \| \ 9298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9299 $as_echo X"$as_dir" | 9300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9301 s//\1/ 9302 q 9303 } 9304 /^X\(\/\/\)[^/].*/{ 9305 s//\1/ 9306 q 9307 } 9308 /^X\(\/\/\)$/{ 9309 s//\1/ 9310 q 9311 } 9312 /^X\(\/\).*/{ 9313 s//\1/ 9314 q 9315 } 9316 s/.*/./; q'` 9317 test -d "$as_dir" && break 9318 done 9319 test -z "$as_dirs" || eval "mkdir $as_dirs" 9320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 9321 9322 9323 } # as_fn_mkdir_p 15549 9324 if mkdir -p . 2>/dev/null; then 15550 as_mkdir_p= :9325 as_mkdir_p='mkdir -p "$as_dir"' 15551 9326 else 15552 9327 test -d ./-p && rmdir ./-p … … 15565 9340 eval sh -c '\'' 15566 9341 if test -d "$1"; then 15567 9342 test -d "$1/."; 15568 9343 else 15569 case $1 in 15570 9344 case $1 in #( 9345 -*)set "./$1";; 15571 9346 esac; 15572 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9347 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 15573 9348 ???[sx]*):;;*)false;;esac;fi 15574 9349 '\'' sh … … 15585 9360 15586 9361 exec 6>&1 15587 15588 # Save the log message, to keep $[0] and so on meaningful, and to 9362 ## ----------------------------------- ## 9363 ## Main body of $CONFIG_STATUS script. ## 9364 ## ----------------------------------- ## 9365 _ASEOF 9366 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9367 9368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9369 # Save the log message, to keep $0 and so on meaningful, and to 15589 9370 # report actual input values of CONFIG_FILES etc. instead of their 15590 9371 # values after options handling. 15591 9372 ac_log=" 15592 9373 This file was extended by Rappture $as_me 1.1, which was 15593 generated by GNU Autoconf 2.6 1. Invocation command line was9374 generated by GNU Autoconf 2.64. Invocation command line was 15594 9375 15595 9376 CONFIG_FILES = $CONFIG_FILES … … 15604 9385 _ACEOF 15605 9386 15606 cat >>$CONFIG_STATUS <<_ACEOF 9387 case $ac_config_files in *" 9388 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9389 esac 9390 9391 case $ac_config_headers in *" 9392 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9393 esac 9394 9395 9396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15607 9397 # Files that config.status was made for. 15608 9398 config_files="$ac_config_files" … … 15611 9401 _ACEOF 15612 9402 15613 cat >>$CONFIG_STATUS <<\_ACEOF 9403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15614 9404 ac_cs_usage="\ 15615 \`$as_me' instantiates files from templates according to the 15616 current configuration. 15617 15618 Usage: $0 [OPTIONS] [FILE]... 9405 \`$as_me' instantiates files and other configuration actions 9406 from templates according to the current configuration. Unless the files 9407 and actions are specified as TAGs, all are instantiated by default. 9408 9409 Usage: $0 [OPTION]... [TAG]... 15619 9410 15620 9411 -h, --help print this help, then exit 15621 9412 -V, --version print version number and configuration settings, then exit 15622 -q, --quiet do not print progress messages 9413 -q, --quiet, --silent 9414 do not print progress messages 15623 9415 -d, --debug don't remove temporary files 15624 9416 --recheck update $as_me by reconfiguring in the same conditions 15625 --file=FILE[:TEMPLATE]15626 15627 --header=FILE[:TEMPLATE]15628 9417 --file=FILE[:TEMPLATE] 9418 instantiate the configuration file FILE 9419 --header=FILE[:TEMPLATE] 9420 instantiate the configuration header FILE 15629 9421 15630 9422 Configuration files: … … 15634 9426 $config_headers 15635 9427 15636 Report bugs to < bug-autoconf@gnu.org>."15637 15638 _ACEOF 15639 cat >>$CONFIG_STATUS <<_ACEOF 9428 Report bugs to <rappture@nanohub.org>." 9429 9430 _ACEOF 9431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15640 9432 ac_cs_version="\\ 15641 9433 Rappture config.status 1.1 15642 configured by $0, generated by GNU Autoconf 2.6 1,15643 with options \\"` echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"15644 15645 Copyright (C) 200 6Free Software Foundation, Inc.9434 configured by $0, generated by GNU Autoconf 2.64, 9435 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9436 9437 Copyright (C) 2009 Free Software Foundation, Inc. 15646 9438 This config.status script is free software; the Free Software Foundation 15647 9439 gives unlimited permission to copy, distribute and modify it." … … 15651 9443 INSTALL='$INSTALL' 15652 9444 MKDIR_P='$MKDIR_P' 15653 _ACEOF 15654 15655 cat >>$CONFIG_STATUS <<\_ACEOF 15656 # If no file are specified by the user, then we need to provide default 15657 # value. By we need to know if files were specified by the user. 9445 AWK='$AWK' 9446 test -n "\$AWK" || AWK=awk 9447 _ACEOF 9448 9449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9450 # The default lists apply if the user does not specify any file. 15658 9451 ac_need_defaults=: 15659 9452 while test $# != 0 … … 15677 9470 ac_cs_recheck=: ;; 15678 9471 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15679 echo "$ac_cs_version"; exit ;;9472 $as_echo "$ac_cs_version"; exit ;; 15680 9473 --debug | --debu | --deb | --de | --d | -d ) 15681 9474 debug=: ;; 15682 9475 --file | --fil | --fi | --f ) 15683 9476 $ac_shift 15684 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 9477 case $ac_optarg in 9478 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9479 esac 9480 as_fn_append CONFIG_FILES " '$ac_optarg'" 15685 9481 ac_need_defaults=false;; 15686 9482 --header | --heade | --head | --hea ) 15687 9483 $ac_shift 15688 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 9484 case $ac_optarg in 9485 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9486 esac 9487 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15689 9488 ac_need_defaults=false;; 15690 9489 --he | --h) 15691 9490 # Conflict between --help and --header 15692 { echo "$as_me: error: ambiguous option: $1 15693 Try \`$0 --help' for more information." >&2 15694 { (exit 1); exit 1; }; };; 9491 as_fn_error "ambiguous option: \`$1' 9492 Try \`$0 --help' for more information.";; 15695 9493 --help | --hel | -h ) 15696 echo "$ac_cs_usage"; exit ;;9494 $as_echo "$ac_cs_usage"; exit ;; 15697 9495 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15698 9496 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 15700 9498 15701 9499 # This is an error. 15702 -*) { echo "$as_me: error: unrecognized option: $1 15703 Try \`$0 --help' for more information." >&2 15704 { (exit 1); exit 1; }; } ;; 15705 15706 *) ac_config_targets="$ac_config_targets $1" 9500 -*) as_fn_error "unrecognized option: \`$1' 9501 Try \`$0 --help' for more information." ;; 9502 9503 *) as_fn_append ac_config_targets " $1" 15707 9504 ac_need_defaults=false ;; 15708 9505 … … 15719 9516 15720 9517 _ACEOF 15721 cat >>$CONFIG_STATUS <<_ACEOF 9518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15722 9519 if \$ac_cs_recheck; then 15723 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 15724 CONFIG_SHELL=$SHELL 9520 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9521 shift 9522 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9523 CONFIG_SHELL='$SHELL' 15725 9524 export CONFIG_SHELL 15726 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion15727 fi 15728 15729 _ACEOF 15730 cat >>$CONFIG_STATUS <<\_ACEOF 9525 exec "\$@" 9526 fi 9527 9528 _ACEOF 9529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15731 9530 exec 5>>config.log 15732 9531 { … … 15735 9534 ## Running $as_me. ## 15736 9535 _ASBOX 15737 echo "$ac_log"9536 $as_echo "$ac_log" 15738 9537 } >&5 15739 9538 15740 9539 _ACEOF 15741 cat >>$CONFIG_STATUS <<_ACEOF 15742 _ACEOF 15743 15744 cat >>$CONFIG_STATUS <<\_ACEOF 9540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9541 _ACEOF 9542 9543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15745 9544 15746 9545 # Handling of arguments. … … 15817 9616 "examples/objects/floatBuffer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/floatBuffer/Makefile" ;; 15818 9617 "examples/objects/histogram/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/histogram/Makefile" ;; 9618 "examples/objects/library/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/library/Makefile" ;; 15819 9619 "examples/objects/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/number/Makefile" ;; 15820 9620 "examples/objects/path/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/path/Makefile" ;; … … 15858 9658 "test/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/src/Makefile" ;; 15859 9659 15860 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 15861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 15862 { (exit 1); exit 1; }; };; 9660 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15863 9661 esac 15864 9662 done … … 15886 9684 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15887 9685 ' 0 15888 trap ' { (exit 1); exit 1; }' 1 2 13 159686 trap 'as_fn_exit 1' 1 2 13 15 15889 9687 } 15890 9688 # Create a (secure) tmp directory for tmp files. … … 15897 9695 tmp=./conf$$-$RANDOM 15898 9696 (umask 077 && mkdir "$tmp") 15899 } || 9697 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 9698 9699 # Set up the scripts for CONFIG_FILES section. 9700 # No need to generate them if there are no CONFIG_FILES. 9701 # This happens for instance with `./config.status config.h'. 9702 if test -n "$CONFIG_FILES"; then 9703 9704 9705 ac_cr=`echo X | tr X '\015'` 9706 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9707 # But we know of no other shell where ac_cr would be empty at this 9708 # point, so we can use a bashism as a fallback. 9709 if test "x$ac_cr" = x; then 9710 eval ac_cr=\$\'\\r\' 9711 fi 9712 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9713 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9714 ac_cs_awk_cr='\r' 9715 else 9716 ac_cs_awk_cr=$ac_cr 9717 fi 9718 9719 echo 'BEGIN {' >"$tmp/subs1.awk" && 9720 _ACEOF 9721 9722 15900 9723 { 15901 echo "$me: cannot create a temporary directory in ." >&2 15902 { (exit 1); exit 1; } 15903 } 15904 15905 # 15906 # Set up the sed scripts for CONFIG_FILES section. 15907 # 15908 15909 # No need to generate the scripts if there are no CONFIG_FILES. 15910 # This happens for instance when ./config.status config.h 15911 if test -n "$CONFIG_FILES"; then 15912 15913 _ACEOF 15914 15915 15916 9724 echo "cat >conf$$subs.awk <<_ACEOF" && 9725 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9726 echo "_ACEOF" 9727 } >conf$$subs.sh || 9728 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9729 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15917 9730 ac_delim='%!_!# ' 15918 9731 for ac_last_try in false false false false false :; do 15919 cat >conf$$subs.sed <<_ACEOF 15920 SHELL!$SHELL$ac_delim 15921 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 15922 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 15923 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 15924 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 15925 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 15926 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 15927 exec_prefix!$exec_prefix$ac_delim 15928 prefix!$prefix$ac_delim 15929 program_transform_name!$program_transform_name$ac_delim 15930 bindir!$bindir$ac_delim 15931 sbindir!$sbindir$ac_delim 15932 libexecdir!$libexecdir$ac_delim 15933 datarootdir!$datarootdir$ac_delim 15934 datadir!$datadir$ac_delim 15935 sysconfdir!$sysconfdir$ac_delim 15936 sharedstatedir!$sharedstatedir$ac_delim 15937 localstatedir!$localstatedir$ac_delim 15938 includedir!$includedir$ac_delim 15939 oldincludedir!$oldincludedir$ac_delim 15940 docdir!$docdir$ac_delim 15941 infodir!$infodir$ac_delim 15942 htmldir!$htmldir$ac_delim 15943 dvidir!$dvidir$ac_delim 15944 pdfdir!$pdfdir$ac_delim 15945 psdir!$psdir$ac_delim 15946 libdir!$libdir$ac_delim 15947 localedir!$localedir$ac_delim 15948 mandir!$mandir$ac_delim 15949 DEFS!$DEFS$ac_delim 15950 ECHO_C!$ECHO_C$ac_delim 15951 ECHO_N!$ECHO_N$ac_delim 15952 ECHO_T!$ECHO_T$ac_delim 15953 LIBS!$LIBS$ac_delim 15954 build_alias!$build_alias$ac_delim 15955 host_alias!$host_alias$ac_delim 15956 target_alias!$target_alias$ac_delim 15957 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 15958 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 15959 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 15960 INSTALL_DATA!$INSTALL_DATA$ac_delim 15961 SET_MAKE!$SET_MAKE$ac_delim 15962 CC!$CC$ac_delim 15963 CFLAGS!$CFLAGS$ac_delim 15964 LDFLAGS!$LDFLAGS$ac_delim 15965 CPPFLAGS!$CPPFLAGS$ac_delim 15966 ac_ct_CC!$ac_ct_CC$ac_delim 15967 EXEEXT!$EXEEXT$ac_delim 15968 OBJEXT!$OBJEXT$ac_delim 15969 CXX!$CXX$ac_delim 15970 CXXFLAGS!$CXXFLAGS$ac_delim 15971 ac_ct_CXX!$ac_ct_CXX$ac_delim 15972 RANLIB!$RANLIB$ac_delim 15973 LN_S!$LN_S$ac_delim 15974 F77!$F77$ac_delim 15975 FFLAGS!$FFLAGS$ac_delim 15976 ac_ct_F77!$ac_ct_F77$ac_delim 15977 CPP!$CPP$ac_delim 15978 GREP!$GREP$ac_delim 15979 EGREP!$EGREP$ac_delim 15980 CXXCPP!$CXXCPP$ac_delim 15981 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 15982 AR!$AR$ac_delim 15983 DL_LIBS!$DL_LIBS$ac_delim 15984 DL_OBJS!$DL_OBJS$ac_delim 15985 PLAT_OBJS!$PLAT_OBJS$ac_delim 15986 PLAT_SRCS!$PLAT_SRCS$ac_delim 15987 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 15988 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 15989 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 15990 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 15991 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 15992 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 15993 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 15994 STLIB_LD!$STLIB_LD$ac_delim 15995 SHLIB_LD!$SHLIB_LD$ac_delim 15996 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 15997 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 15998 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 15999 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 16000 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 16001 MAKE_LIB!$MAKE_LIB$ac_delim 16002 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 16003 INSTALL_LIB!$INSTALL_LIB$ac_delim 16004 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 16005 MAKE!$MAKE$ac_delim 16006 ENABLE_GUI!$ENABLE_GUI$ac_delim 16007 TCLSH!$TCLSH$ac_delim 16008 MATLAB!$MATLAB$ac_delim 16009 MEX!$MEX$ac_delim 16010 MEXEXT!$MEXEXT$ac_delim 16011 MCC!$MCC$ac_delim 16012 MEX_ARCH!$MEX_ARCH$ac_delim 16013 OCTAVE!$OCTAVE$ac_delim 16014 MKOCTFILE!$MKOCTFILE$ac_delim 16015 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 16016 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 16017 _ACEOF 16018 16019 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 9732 . ./conf$$subs.sh || 9733 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9734 9735 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9736 if test $ac_delim_n = $ac_delim_num; then 16020 9737 break 16021 9738 elif $ac_last_try; then 16022 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16023 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16024 { (exit 1); exit 1; }; } 9739 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16025 9740 else 16026 9741 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16027 9742 fi 16028 9743 done 16029 16030 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 16031 if test -n "$ac_eof"; then 16032 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 16033 ac_eof=`expr $ac_eof + 1` 16034 fi 16035 16036 cat >>$CONFIG_STATUS <<_ACEOF 16037 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 16038 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16039 _ACEOF 16040 sed ' 16041 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 16042 s/^/s,@/; s/!/@,|#_!!_#|/ 16043 :n 16044 t n 16045 s/'"$ac_delim"'$/,g/; t 16046 s/$/\\/; p 16047 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 16048 ' >>$CONFIG_STATUS <conf$$subs.sed 16049 rm -f conf$$subs.sed 16050 cat >>$CONFIG_STATUS <<_ACEOF 16051 CEOF$ac_eof 16052 _ACEOF 16053 16054 16055 ac_delim='%!_!# ' 16056 for ac_last_try in false false false false false :; do 16057 cat >conf$$subs.sed <<_ACEOF 16058 PERL!$PERL$ac_delim 16059 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 16060 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 16061 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 16062 PERL_VERSION!$PERL_VERSION$ac_delim 16063 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 16064 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 16065 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 16066 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 16067 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 16068 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 16069 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 16070 PYTHON!$PYTHON$ac_delim 16071 PYTHON_CPPFLAGS!$PYTHON_CPPFLAGS$ac_delim 16072 pythondir!$pythondir$ac_delim 16073 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 16074 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 16075 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 16076 HAVE_PYTHON_DISTUTILS!$HAVE_PYTHON_DISTUTILS$ac_delim 16077 RUBY!$RUBY$ac_delim 16078 SED!$SED$ac_delim 16079 RUBY_VERSION!$RUBY_VERSION$ac_delim 16080 AWK!$AWK$ac_delim 16081 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 16082 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 16083 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 16084 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 16085 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 16086 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 16087 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 16088 RP_BASE!$RP_BASE$ac_delim 16089 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 16090 TCL_VERSION!$TCL_VERSION$ac_delim 16091 TK_VERSION!$TK_VERSION$ac_delim 16092 SIZEOF_INT!$SIZEOF_INT$ac_delim 16093 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 16094 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 16095 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 16096 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 16097 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 16098 subdirs!$subdirs$ac_delim 16099 LIBOBJS!$LIBOBJS$ac_delim 16100 LTLIBOBJS!$LTLIBOBJS$ac_delim 16101 _ACEOF 16102 16103 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 43; then 16104 break 16105 elif $ac_last_try; then 16106 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16107 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16108 { (exit 1); exit 1; }; } 16109 else 16110 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16111 fi 16112 done 16113 16114 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 16115 if test -n "$ac_eof"; then 16116 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 16117 ac_eof=`expr $ac_eof + 1` 16118 fi 16119 16120 cat >>$CONFIG_STATUS <<_ACEOF 16121 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 16122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 16123 _ACEOF 16124 sed ' 16125 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 16126 s/^/s,@/; s/!/@,|#_!!_#|/ 16127 :n 16128 t n 16129 s/'"$ac_delim"'$/,g/; t 16130 s/$/\\/; p 16131 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 16132 ' >>$CONFIG_STATUS <conf$$subs.sed 16133 rm -f conf$$subs.sed 16134 cat >>$CONFIG_STATUS <<_ACEOF 16135 :end 16136 s/|#_!!_#|//g 16137 CEOF$ac_eof 16138 _ACEOF 16139 9744 rm -f conf$$subs.sh 9745 9746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9747 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9748 _ACEOF 9749 sed -n ' 9750 h 9751 s/^/S["/; s/!.*/"]=/ 9752 p 9753 g 9754 s/^[^!]*!// 9755 :repl 9756 t repl 9757 s/'"$ac_delim"'$// 9758 t delim 9759 :nl 9760 h 9761 s/\(.\{148\}\).*/\1/ 9762 t more1 9763 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9764 p 9765 n 9766 b repl 9767 :more1 9768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9769 p 9770 g 9771 s/.\{148\}// 9772 t nl 9773 :delim 9774 h 9775 s/\(.\{148\}\).*/\1/ 9776 t more2 9777 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9778 p 9779 b 9780 :more2 9781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9782 p 9783 g 9784 s/.\{148\}// 9785 t delim 9786 ' <conf$$subs.awk | sed ' 9787 /^[^""]/{ 9788 N 9789 s/\n// 9790 } 9791 ' >>$CONFIG_STATUS || ac_write_fail=1 9792 rm -f conf$$subs.awk 9793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9794 _ACAWK 9795 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9796 for (key in S) S_is_set[key] = 1 9797 FS = "" 9798 9799 } 9800 { 9801 line = $ 0 9802 nfields = split(line, field, "@") 9803 substed = 0 9804 len = length(field[1]) 9805 for (i = 2; i < nfields; i++) { 9806 key = field[i] 9807 keylen = length(key) 9808 if (S_is_set[key]) { 9809 value = S[key] 9810 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9811 len += length(value) + length(field[++i]) 9812 substed = 1 9813 } else 9814 len += 1 + keylen 9815 } 9816 9817 print line 9818 } 9819 9820 _ACAWK 9821 _ACEOF 9822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9823 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9824 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9825 else 9826 cat 9827 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9828 || as_fn_error "could not setup config files machinery" "$LINENO" 5 9829 _ACEOF 16140 9830 16141 9831 # VPATH may cause trouble with some makes, so we remove $(srcdir), … … 16154 9844 fi 16155 9845 16156 cat >>$CONFIG_STATUS <<\_ACEOF 9846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16157 9847 fi # test -n "$CONFIG_FILES" 16158 9848 16159 16160 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 9849 # Set up the scripts for CONFIG_HEADERS section. 9850 # No need to generate them if there are no CONFIG_HEADERS. 9851 # This happens for instance with `./config.status Makefile'. 9852 if test -n "$CONFIG_HEADERS"; then 9853 cat >"$tmp/defines.awk" <<\_ACAWK || 9854 BEGIN { 9855 _ACEOF 9856 9857 # Transform confdefs.h into an awk script `defines.awk', embedded as 9858 # here-document in config.status, that substitutes the proper values into 9859 # config.h.in to produce config.h. 9860 9861 # Create a delimiter string that does not exist in confdefs.h, to ease 9862 # handling of long lines. 9863 ac_delim='%!_!# ' 9864 for ac_last_try in false false :; do 9865 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9866 if test -z "$ac_t"; then 9867 break 9868 elif $ac_last_try; then 9869 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 9870 else 9871 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9872 fi 9873 done 9874 9875 # For the awk script, D is an array of macro values keyed by name, 9876 # likewise P contains macro parameters if any. Preserve backslash 9877 # newline sequences. 9878 9879 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9880 sed -n ' 9881 s/.\{148\}/&'"$ac_delim"'/g 9882 t rset 9883 :rset 9884 s/^[ ]*#[ ]*define[ ][ ]*/ / 9885 t def 9886 d 9887 :def 9888 s/\\$// 9889 t bsnl 9890 s/["\\]/\\&/g 9891 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9892 D["\1"]=" \3"/p 9893 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9894 d 9895 :bsnl 9896 s/["\\]/\\&/g 9897 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9898 D["\1"]=" \3\\\\\\n"\\/p 9899 t cont 9900 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9901 t cont 9902 d 9903 :cont 9904 n 9905 s/.\{148\}/&'"$ac_delim"'/g 9906 t clear 9907 :clear 9908 s/\\$// 9909 t bsnlc 9910 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9911 d 9912 :bsnlc 9913 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9914 b cont 9915 ' <confdefs.h | sed ' 9916 s/'"$ac_delim"'/"\\\ 9917 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9918 9919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9920 for (key in D) D_is_set[key] = 1 9921 FS = "" 9922 } 9923 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9924 line = \$ 0 9925 split(line, arg, " ") 9926 if (arg[1] == "#") { 9927 defundef = arg[2] 9928 mac1 = arg[3] 9929 } else { 9930 defundef = substr(arg[1], 2) 9931 mac1 = arg[2] 9932 } 9933 split(mac1, mac2, "(") #) 9934 macro = mac2[1] 9935 prefix = substr(line, 1, index(line, defundef) - 1) 9936 if (D_is_set[macro]) { 9937 # Preserve the white space surrounding the "#". 9938 print prefix "define", macro P[macro] D[macro] 9939 next 9940 } else { 9941 # Replace #undef with comments. This is necessary, for example, 9942 # in the case of _POSIX_SOURCE, which is predefined and required 9943 # on some systems where configure will not decide to define it. 9944 if (defundef == "undef") { 9945 print "/*", prefix defundef, macro, "*/" 9946 next 9947 } 9948 } 9949 } 9950 { print } 9951 _ACAWK 9952 _ACEOF 9953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9954 as_fn_error "could not setup config headers machinery" "$LINENO" 5 9955 fi # test -n "$CONFIG_HEADERS" 9956 9957 9958 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9959 shift 9960 for ac_tag 16161 9961 do 16162 9962 case $ac_tag in … … 16165 9965 case $ac_mode$ac_tag in 16166 9966 :[FHL]*:*);; 16167 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 16168 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 16169 { (exit 1); exit 1; }; };; 9967 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16170 9968 :[FH]-) ac_tag=-:-;; 16171 9969 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 16195 9993 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16196 9994 esac || 16197 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 16198 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 16199 { (exit 1); exit 1; }; };; 9995 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16200 9996 esac 16201 ac_file_inputs="$ac_file_inputs $ac_f" 9997 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9998 as_fn_append ac_file_inputs " '$ac_f'" 16202 9999 done 16203 10000 … … 16205 10002 # use $as_me), people would be surprised to read: 16206 10003 # /* config.h. Generated by config.status. */ 16207 configure_input="Generated from "`IFS=: 16208 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10004 configure_input='Generated from '` 10005 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10006 `' by configure.' 16209 10007 if test x"$ac_file" != x-; then 16210 10008 configure_input="$ac_file. $configure_input" 16211 { echo "$as_me:$LINENO: creating $ac_file" >&516212 echo "$as_me: creating $ac_file" >&6;}10009 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10010 $as_echo "$as_me: creating $ac_file" >&6;} 16213 10011 fi 10012 # Neutralize special characters interpreted by sed in replacement strings. 10013 case $configure_input in #( 10014 *\&* | *\|* | *\\* ) 10015 ac_sed_conf_input=`$as_echo "$configure_input" | 10016 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10017 *) ac_sed_conf_input=$configure_input;; 10018 esac 16214 10019 16215 10020 case $ac_tag in 16216 *:-:* | *:-) cat >"$tmp/stdin";; 10021 *:-:* | *:-) cat >"$tmp/stdin" \ 10022 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 16217 10023 esac 16218 10024 ;; … … 16224 10030 X"$ac_file" : 'X\(//\)$' \| \ 16225 10031 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16226 echo X"$ac_file" |10032 $as_echo X"$ac_file" | 16227 10033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16228 10034 s//\1/ … … 16242 10048 } 16243 10049 s/.*/./; q'` 16244 { as_dir="$ac_dir" 16245 case $as_dir in #( 16246 -*) as_dir=./$as_dir;; 16247 esac 16248 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16249 as_dirs= 16250 while :; do 16251 case $as_dir in #( 16252 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 16253 *) as_qdir=$as_dir;; 16254 esac 16255 as_dirs="'$as_qdir' $as_dirs" 16256 as_dir=`$as_dirname -- "$as_dir" || 16257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16258 X"$as_dir" : 'X\(//\)[^/]' \| \ 16259 X"$as_dir" : 'X\(//\)$' \| \ 16260 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16261 echo X"$as_dir" | 16262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16263 s//\1/ 16264 q 16265 } 16266 /^X\(\/\/\)[^/].*/{ 16267 s//\1/ 16268 q 16269 } 16270 /^X\(\/\/\)$/{ 16271 s//\1/ 16272 q 16273 } 16274 /^X\(\/\).*/{ 16275 s//\1/ 16276 q 16277 } 16278 s/.*/./; q'` 16279 test -d "$as_dir" && break 16280 done 16281 test -z "$as_dirs" || eval "mkdir $as_dirs" 16282 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16283 echo "$as_me: error: cannot create directory $as_dir" >&2;} 16284 { (exit 1); exit 1; }; }; } 10050 as_dir="$ac_dir"; as_fn_mkdir_p 16285 10051 ac_builddir=. 16286 10052 … … 16288 10054 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16289 10055 *) 16290 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10056 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16291 10057 # A ".." for each directory in $ac_dir_suffix. 16292 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10058 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16293 10059 case $ac_top_builddir_sub in 16294 10060 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 16335 10101 _ACEOF 16336 10102 16337 cat >>$CONFIG_STATUS <<\_ACEOF 10103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16338 10104 # If the template does not know about datarootdir, expand it. 16339 10105 # FIXME: This hack should be removed a few years after 2.60. 16340 10106 ac_datarootdir_hack=; ac_datarootdir_seen= 16341 16342 case `sed -n '/datarootdir/ {10107 ac_sed_dataroot=' 10108 /datarootdir/ { 16343 10109 p 16344 10110 q … … 16348 10114 /@infodir@/p 16349 10115 /@localedir@/p 16350 /@mandir@/p 16351 ' $ac_file_inputs` in10116 /@mandir@/p' 10117 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16352 10118 *datarootdir*) ac_datarootdir_seen=yes;; 16353 10119 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16354 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&516355 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}16356 _ACEOF 16357 cat >>$CONFIG_STATUS <<_ACEOF 10120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10121 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10122 _ACEOF 10123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16358 10124 ac_datarootdir_hack=' 16359 10125 s&@datadir@&$datadir&g … … 16362 10128 s&@localedir@&$localedir&g 16363 10129 s&@mandir@&$mandir&g 16364 10130 s&\\\${datarootdir}&$datarootdir&g' ;; 16365 10131 esac 16366 10132 _ACEOF … … 16369 10135 # Shell code in configure.ac might set extrasub. 16370 10136 # FIXME: do we really want to maintain this feature? 16371 cat >>$CONFIG_STATUS <<_ACEOF 16372 sed"$ac_vpsub10137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10138 ac_sed_extra="$ac_vpsub 16373 10139 $extrasub 16374 10140 _ACEOF 16375 cat >>$CONFIG_STATUS <<\_ACEOF 10141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16376 10142 :t 16377 10143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16378 s &@configure_input@&$configure_input&;t t10144 s|@configure_input@|$ac_sed_conf_input|;t t 16379 10145 s&@top_builddir@&$ac_top_builddir_sub&;t t 10146 s&@top_build_prefix@&$ac_top_build_prefix&;t t 16380 10147 s&@srcdir@&$ac_srcdir&;t t 16381 10148 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 16388 10155 s&@MKDIR_P@&$ac_MKDIR_P&;t t 16389 10156 $ac_datarootdir_hack 16390 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 10157 " 10158 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10159 || as_fn_error "could not create $ac_file" "$LINENO" 5 16391 10160 16392 10161 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16393 10162 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16394 10163 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16395 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'10164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16396 10165 which seems to be undefined. Please make sure it is defined." >&5 16397 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'10166 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16398 10167 which seems to be undefined. Please make sure it is defined." >&2;} 16399 10168 16400 10169 rm -f "$tmp/stdin" 16401 10170 case $ac_file in 16402 -) cat "$tmp/out"; rm -f "$tmp/out";; 16403 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 16404 esac 10171 -) cat "$tmp/out" && rm -f "$tmp/out";; 10172 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10173 esac \ 10174 || as_fn_error "could not create $ac_file" "$LINENO" 5 16405 10175 ;; 16406 10176 :H) … … 16408 10178 # CONFIG_HEADER 16409 10179 # 16410 _ACEOF16411 16412 # Transform confdefs.h into a sed script `conftest.defines', that16413 # substitutes the proper values into config.h.in to produce config.h.16414 rm -f conftest.defines conftest.tail16415 # First, append a space to every undef/define line, to ease matching.16416 echo 's/$/ /' >conftest.defines16417 # Then, protect against being on the right side of a sed subst, or in16418 # an unquoted here document, in config.status. If some macros were16419 # called several times there might be several #defines for the same16420 # symbol, which is useless. But do not sort them, since the last16421 # AC_DEFINE must be honored.16422 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*16423 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where16424 # NAME is the cpp macro being defined, VALUE is the value it is being given.16425 # PARAMS is the parameter list in the macro definition--in most cases, it's16426 # just an empty string.16427 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'16428 ac_dB='\\)[ (].*,\\1define\\2'16429 ac_dC=' '16430 ac_dD=' ,'16431 16432 uniq confdefs.h |16433 sed -n '16434 t rset16435 :rset16436 s/^[ ]*#[ ]*define[ ][ ]*//16437 t ok16438 d16439 :ok16440 s/[\\&,]/\\&/g16441 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p16442 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p16443 ' >>conftest.defines16444 16445 # Remove the space that was appended to ease matching.16446 # Then replace #undef with comments. This is necessary, for16447 # example, in the case of _POSIX_SOURCE, which is predefined and required16448 # on some systems where configure will not decide to define it.16449 # (The regexp can be short, since the line contains either #define or #undef.)16450 echo 's/ $//16451 s,^[ #]*u.*,/* & */,' >>conftest.defines16452 16453 # Break up conftest.defines:16454 ac_max_sed_lines=5016455 16456 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"16457 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"16458 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"16459 # et cetera.16460 ac_in='$ac_file_inputs'16461 ac_out='"$tmp/out1"'16462 ac_nxt='"$tmp/out2"'16463 16464 while :16465 do16466 # Write a here document:16467 cat >>$CONFIG_STATUS <<_ACEOF16468 # First, check the format of the line:16469 cat >"\$tmp/defines.sed" <<\\CEOF16470 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def16471 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def16472 b16473 :def16474 _ACEOF16475 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS16476 echo 'CEOF16477 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS16478 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in16479 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail16480 grep . conftest.tail >/dev/null || break16481 rm -f conftest.defines16482 mv conftest.tail conftest.defines16483 done16484 rm -f conftest.defines conftest.tail16485 16486 echo "ac_result=$ac_in" >>$CONFIG_STATUS16487 cat >>$CONFIG_STATUS <<\_ACEOF16488 10180 if test x"$ac_file" != x-; then 16489 echo "/* $configure_input */" >"$tmp/config.h" 16490 cat "$ac_result" >>"$tmp/config.h" 16491 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 16492 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 16493 echo "$as_me: $ac_file is unchanged" >&6;} 10181 { 10182 $as_echo "/* $configure_input */" \ 10183 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10184 } >"$tmp/config.h" \ 10185 || as_fn_error "could not create $ac_file" "$LINENO" 5 10186 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10187 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10188 $as_echo "$as_me: $ac_file is unchanged" >&6;} 16494 10189 else 16495 rm -f $ac_file 16496 mv "$tmp/config.h" $ac_file 10190 rm -f "$ac_file" 10191 mv "$tmp/config.h" "$ac_file" \ 10192 || as_fn_error "could not create $ac_file" "$LINENO" 5 16497 10193 fi 16498 10194 else 16499 echo "/* $configure_input */" 16500 cat "$ac_result" 10195 $as_echo "/* $configure_input */" \ 10196 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10197 || as_fn_error "could not create -" "$LINENO" 5 16501 10198 fi 16502 rm -f "$tmp/out12"16503 10199 ;; 16504 10200 … … 16509 10205 16510 10206 16511 { (exit 0); exit 0; } 16512 _ACEOF 16513 chmod +x $CONFIG_STATUS 10207 as_fn_exit 0 10208 _ACEOF 16514 10209 ac_clean_files=$ac_clean_files_save 10210 10211 test $ac_write_fail = 0 || 10212 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 16515 10213 16516 10214 … … 16533 10231 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16534 10232 # would make configure fail if this is the last instruction. 16535 $ac_cs_success || { (exit 1); exit 1; }10233 $ac_cs_success || as_fn_exit $? 16536 10234 fi 16537 10235 … … 16541 10239 if test "$no_recursion" != yes; then 16542 10240 16543 # Remove --cache-file and --srcdir arguments so they do not pile up. 10241 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10242 # so they do not pile up. 16544 10243 ac_sub_configure_args= 16545 10244 ac_prev= … … 16570 10269 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 16571 10270 ;; 10271 --disable-option-checking) 10272 ;; 16572 10273 *) 16573 10274 case $ac_arg in 16574 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;10275 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 16575 10276 esac 16576 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;10277 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 16577 10278 esac 16578 10279 done … … 16582 10283 ac_arg="--prefix=$prefix" 16583 10284 case $ac_arg in 16584 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;10285 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 16585 10286 esac 16586 10287 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 16591 10292 fi 16592 10293 10294 # Always prepend --disable-option-checking to silence warnings, since 10295 # different subdirs can have different --enable and --with options. 10296 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 10297 16593 10298 ac_popdir=`pwd` 16594 10299 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 16599 10304 16600 10305 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 16601 echo "$as_me:$LINENO: $ac_msg" >&5 16602 echo "$ac_msg" >&6 16603 { as_dir="$ac_dir" 16604 case $as_dir in #( 16605 -*) as_dir=./$as_dir;; 16606 esac 16607 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16608 as_dirs= 16609 while :; do 16610 case $as_dir in #( 16611 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 16612 *) as_qdir=$as_dir;; 16613 esac 16614 as_dirs="'$as_qdir' $as_dirs" 16615 as_dir=`$as_dirname -- "$as_dir" || 16616 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16617 X"$as_dir" : 'X\(//\)[^/]' \| \ 16618 X"$as_dir" : 'X\(//\)$' \| \ 16619 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16620 echo X"$as_dir" | 16621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16622 s//\1/ 16623 q 16624 } 16625 /^X\(\/\/\)[^/].*/{ 16626 s//\1/ 16627 q 16628 } 16629 /^X\(\/\/\)$/{ 16630 s//\1/ 16631 q 16632 } 16633 /^X\(\/\).*/{ 16634 s//\1/ 16635 q 16636 } 16637 s/.*/./; q'` 16638 test -d "$as_dir" && break 16639 done 16640 test -z "$as_dirs" || eval "mkdir $as_dirs" 16641 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16642 echo "$as_me: error: cannot create directory $as_dir" >&2;} 16643 { (exit 1); exit 1; }; }; } 10306 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 10307 $as_echo "$ac_msg" >&6 10308 as_dir="$ac_dir"; as_fn_mkdir_p 16644 10309 ac_builddir=. 16645 10310 … … 16647 10312 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16648 10313 *) 16649 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10314 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16650 10315 # A ".." for each directory in $ac_dir_suffix. 16651 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10316 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16652 10317 case $ac_top_builddir_sub in 16653 10318 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 16688 10353 ac_sub_configure=$ac_aux_dir/configure 16689 10354 else 16690 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&516691 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}10355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 10356 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 16692 10357 ac_sub_configure= 16693 10358 fi … … 16702 10367 esac 16703 10368 16704 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&516705 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10369 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10370 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 16706 10371 # The eval makes quoting arguments work. 16707 10372 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 16708 10373 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 16709 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 16710 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 16711 { (exit 1); exit 1; }; } 10374 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 16712 10375 fi 16713 10376 … … 16715 10378 done 16716 10379 fi 16717 10380 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10382 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10383 fi 10384 -
trunk/configure.in
r1528 r1566 557 557 examples/objects/floatBuffer/Makefile 558 558 examples/objects/histogram/Makefile 559 examples/objects/library/Makefile 559 560 examples/objects/number/Makefile 560 561 examples/objects/path/Makefile -
trunk/examples/objects/Makefile.in
r1561 r1566 15 15 RM = rm -f 16 16 17 # dxReader \ 18 # dxWriter \ 19 17 20 examples = \ 18 21 axis \ … … 20 23 floatBuffer \ 21 24 histogram \ 25 library \ 22 26 number \ 23 27 path \ -
trunk/examples/objects/number/number.cc
r1560 r1566 20 20 std::cout << "max: " << n->max() << std::endl; 21 21 std::cout << "units: " << n->units() << std::endl; 22 std::cout << "xml:\n" << n->xml(indent,tabstop) << std::endl;22 // std::cout << "xml:\n" << n->xml(indent,tabstop) << std::endl; 23 23 return 0; 24 24 } … … 85 85 if (memblock == NULL) { 86 86 fprintf(stderr,"can't allocate %zu bytes for file \"%s\": %s", 87 size, filePath, strerror(errno));87 (size_t)size, filePath, strerror(errno)); 88 88 fclose(f); 89 89 return 0; … … 95 95 96 96 if (nRead != (size_t)size) { 97 fprintf(stderr,"can't read %zu bytes from \"%s\": %s", size, filePath,98 strerror(errno));97 fprintf(stderr,"can't read %zu bytes from \"%s\": %s", 98 (size_t) size, filePath, strerror(errno)); 99 99 return 0; 100 100 } … … 197 197 Rappture::Number n; 198 198 199 n. xml(buf);199 n.configure(Rappture::RPCONFIG_XML,(void*)buf); 200 200 201 201 retVal |= testStringVal(testname,testdesc,name,n.name()); -
trunk/examples/objects/tree/tree.c
r1560 r1566 170 170 const char *childNodeName = "mychildnode"; 171 171 const char *childNodeValue = "quick brown fox"; 172 const char *expected = "quick brown fox 1";172 const char *expected = "quick brown fox"; 173 173 const char *received = NULL; 174 174 -
trunk/examples/objects/xmlparser/Makefile.in
r1560 r1566 37 37 $(srcdir)/xmlparser_1_0_out.xml \ 38 38 $(srcdir)/xmlparser_2_0_in.xml \ 39 $(srcdir)/xmlparser_5_0_in.xml \ 39 40 $(srcdir)/tool.xml \ 40 41 Makefile -
trunk/examples/objects/xmlparser/xmlparser.cc
r1560 r1566 267 267 run.input.number(Ef).max 10eV\n\ 268 268 run.input.number(Ef).default 0eV\n\ 269 run.input.number(Ef).current 0eV\n"; 269 run.input.number(Ef).current 0eV\n\ 270 run.input.number(Ef).preset.value 300K\n\ 271 run.input.number(Ef).preset.label 300K (room temperature)\n\ 272 run.input.number(Ef).preset.value 77K\n\ 273 run.input.number(Ef).preset.label 77K (liquid nitrogen)\n\ 274 run.input.number(Ef).preset.value 4.2K\n\ 275 run.input.number(Ef).preset.label 4.2K (liquid helium)\n\ 276 "; 270 277 271 278 const char *received = NULL; … … 298 305 // FIXME: test get function 299 306 // FIXME: test put function 307 // FIXME: test putf function 308 // FIXME: test appendf function 300 309 // FIXME: look into why Rp_ParserXmlPathVal hits some nodes twice in gdb 301 310 -
trunk/src/core/RpOutcome.cc
r1366 r1566 18 18 * Create a negative outcome, with the given error message. 19 19 */ 20 Outcome::Outcome(const char *errmsg) : 20 Outcome::Outcome(const char *errmsg) : 21 21 _status(0) 22 22 { … … 27 27 28 28 /// Copy constructor 29 Outcome::Outcome(const Outcome& oc) : 29 Outcome::Outcome(const Outcome& oc) : 30 30 _status(oc._status), 31 31 _remark(oc._remark), … … 71 71 n = vsnprintf(bufPtr, 1024, format, lst); 72 72 if (n >= 1024) { 73 74 73 bufPtr = (char *)malloc(n); 74 vsnprintf(bufPtr, n, format, lst); 75 75 } 76 76 if (_remark == "") { 77 78 79 77 _remark = _context; 78 _remark.append(":\n"); 79 _remark.append(bufPtr); 80 80 } else { 81 81 _remark.append("\n"); 82 83 } 84 _status = 1; 82 _remark.append(bufPtr); 83 } 84 _status = 1; /* Set to error */ 85 85 if (bufPtr != stackSpace) { 86 86 free(bufPtr); 87 87 } 88 88 return *this; … … 168 168 n = vsnprintf(bufPtr, 1024, format, lst); 169 169 if (n >= 1024) { 170 171 170 bufPtr = (char *)malloc(n); 171 vsnprintf(bufPtr, n, format, lst); 172 172 } 173 173 _contexts.push_front(bufPtr); … … 187 187 { 188 188 list<const char *>::interator iter; 189 189 190 190 for (iter = _contexts.begin(); iter != _contexts.end(); iter++) { 191 191 fprintf(stderr, "Called from %s\n", *iter); 192 192 } 193 193 } -
trunk/src/objects/Makefile.in
r1560 r1566 64 64 RpHashHelper.h \ 65 65 RpHistogram.h \ 66 RpLibObj.h \ 66 67 RpNumber.h \ 67 68 RpParserXML.h \ … … 72 73 RpString.h \ 73 74 RpTree.h \ 75 RpObjConfig.h \ 74 76 RpObject.h 75 77 … … 92 94 RpHashHelper.o \ 93 95 RpHistogram.o \ 96 RpLibObj.o \ 94 97 RpNumber.o \ 95 98 RpParserXML.o \ … … 115 118 $(RM) $@ 116 119 $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) \ 117 $(LIB_SEARCH_DIRS) $(LIBS) -lstdc++ 120 $(LIB_SEARCH_DIRS) $(LIBS) -lstdc++ -lexpat 118 121 119 122 $(lib): $(OBJS) -
trunk/src/objects/RpChainHelper.c
r1528 r1566 56 56 Rp_ChainUnlinkLink(c2,l); 57 57 Rp_ChainAppendLink(c1,l); 58 l = Rp_ChainFirstLink(c2); 59 } 60 61 return c1; 62 } 63 64 Rp_Chain * 65 Rp_ChainInsertChainAfter ( 66 Rp_Chain *c1, 67 Rp_Chain *c2, 68 Rp_ChainLink *at) 69 { 70 Rp_ChainLink *l = NULL; 71 72 if (c1 == NULL) { 73 return c2; 74 } 75 76 if (c2 == NULL) { 77 return c1; 78 } 79 80 l = Rp_ChainLastLink(c2); 81 while (l != NULL) { 82 Rp_ChainUnlinkLink(c2,l); 83 Rp_ChainLinkAfter(c1,l,at); 84 l = Rp_ChainLastLink(c2); 85 } 86 87 return c1; 88 } 89 90 Rp_Chain * 91 Rp_ChainInsertChainBefore ( 92 Rp_Chain *c1, 93 Rp_Chain *c2, 94 Rp_ChainLink *at) 95 { 96 Rp_ChainLink *l = NULL; 97 98 if (c1 == NULL) { 99 return c2; 100 } 101 102 if (c2 == NULL) { 103 return c1; 104 } 105 106 l = Rp_ChainFirstLink(c2); 107 while (l != NULL) { 108 Rp_ChainUnlinkLink(c2,l); 109 Rp_ChainLinkBefore(c1,l,at); 58 110 l = Rp_ChainFirstLink(c2); 59 111 } -
trunk/src/objects/RpChainHelper.h
r1528 r1566 12 12 // int chain2hash(Rp_Chain *c, Rp_HashTable *h); 13 13 14 Rp_Chain * Rp_ChainJoin ( Rp_Chain *c1, 15 Rp_Chain *c2); 14 Rp_Chain *Rp_ChainJoin (Rp_Chain *c1, Rp_Chain *c2); 16 15 17 Rp_Chain * Rp_ChainConcat ( Rp_Chain *c1, 18 Rp_Chain *c2); 16 Rp_Chain *Rp_ChainConcat (Rp_Chain *c1, Rp_Chain *c2); 17 Rp_Chain *Rp_ChainInsertChainAfter (Rp_Chain *c1, Rp_Chain *c2, Rp_ChainLink *at); 18 Rp_Chain *Rp_ChainInsertChainBefore (Rp_Chain *c1, Rp_Chain *c2, Rp_ChainLink *at); 19 19 20 int Rp_ChainCopy ( Rp_Chain *c1, 21 Rp_Chain *c2, 22 int (*cpyFxn)(void **to,void *from)); 20 int Rp_ChainCopy (Rp_Chain *c1, Rp_Chain *c2, 21 int (*cpyFxn)(void **to,void *from)); 23 22 24 23 int Rp_ChainCharCpyFxn (void **to, void *from); -
trunk/src/objects/RpNumber.cc
r1560 r1566 16 16 #include "RpSimpleBuffer.h" 17 17 #include "RpUnitsCInterface.h" 18 #include "RpParserXML.h"19 18 #include "RpPath.h" 20 19 … … 302 301 303 302 /**********************************************************************/ 304 // METHOD: xml() 305 /// view this object's xml 306 /** 307 * View this object as an xml element returned as text. 308 */ 309 310 const char * 311 Number::xml(size_t indent, size_t tabstop) 312 { 313 size_t l1width = indent + (1*tabstop); 314 size_t l2width = indent + (2*tabstop); 315 const char *sp = ""; 316 317 Path p(path()); 318 _tmpBuf.clear(); 319 320 _tmpBuf.appendf( 321 "%8$*5$s<number id='%1$s'>\n\ 322 %8$*6$s<about>\n\ 323 %8$*7$s<label>%2$s</label>\n\ 324 %8$*7$s<description>%3$s</description>\n\ 325 %8$*6$s</about>\n\ 326 %8$*6$s<units>%4$s</units>\n", 327 p.id(),label(),desc(),units(),indent,l1width,l2width,sp); 328 329 if (_minSet) { 330 _tmpBuf.appendf("%4$*3$s<min>%1$g%2$s</min>\n", min(),units(),l1width,sp); 331 } 332 if (_maxSet) { 333 _tmpBuf.appendf("%4$*3$s<max>%1$g%2$s</max>\n", max(),units(),l1width,sp); 334 } 335 336 _tmpBuf.appendf( 337 "%6$*5$s<default>%1$g%3$s</default>\n\ 338 %6$*5$s<current>%2$g%3$s</current>\n\ 339 %6$*4$s</number>", 340 def(),cur(),units(),indent,l1width,sp); 341 342 return _tmpBuf.bytes(); 343 } 344 345 /**********************************************************************/ 346 // METHOD: xml(const char *xmltext) 303 // METHOD: configure(Rp_ParserXml *p) 304 /// construct a number object from the provided tree 305 /** 306 * construct a number object from the provided tree 307 */ 308 309 void 310 Number::configure(size_t as, void *p) 311 { 312 if (as == RPCONFIG_XML) { 313 __configureFromXml((const char *)p); 314 } else if (as == RPCONFIG_TREE) { 315 __configureFromTree((Rp_ParserXml *)p); 316 } 317 } 318 319 /**********************************************************************/ 320 // METHOD: configureFromXml(const char *xmltext) 347 321 /// configure the object based on Rappture1.1 xmltext 348 322 /** … … 351 325 352 326 void 353 Number::xml(const char *xmltext) 354 { 355 Rp_ParserXml *p = NULL; 356 357 p = Rp_ParserXmlCreate(); 358 327 Number::__configureFromXml(const char *xmltext) 328 { 329 if (xmltext == NULL) { 330 // FIXME: setup error 331 return; 332 } 333 334 Rp_ParserXml *p = Rp_ParserXmlCreate(); 359 335 Rp_ParserXmlParse(p, xmltext); 336 configure(RPCONFIG_TREE, p); 337 338 return; 339 } 340 341 void 342 Number::__configureFromTree(Rp_ParserXml *p) 343 { 344 if (p == NULL) { 345 // FIXME: setup error 346 return; 347 } 360 348 361 349 Rp_TreeNode node = Rp_ParserXmlElement(p,NULL); 350 351 Rappture::Path pathObj(Rp_ParserXmlNodePath(p,node)); 352 353 path(pathObj.parent()); 362 354 name(Rp_ParserXmlNodeId(p,node)); 363 355 label(Rp_ParserXmlGet(p,"about.label")); … … 390 382 // return the base node to the tree root 391 383 Rp_ParserXmlBaseNode(p,NULL); 392 } 393 394 /**********************************************************************/ 395 // METHOD: tree() 396 /// return the object as a tree 397 /** 398 * Represent the object as a tree. 399 * An Rp_TreeNode is returned. 400 */ 401 402 /* 403 Rp_TreeNode 404 tree() 405 { 406 return NULL; 407 } 408 */ 409 410 /**********************************************************************/ 411 // METHOD: tree(Rp_TreeNode root) 384 385 return; 386 } 387 388 /**********************************************************************/ 389 // METHOD: dump(size_t as, void *p) 412 390 /// construct a number object from the provided tree 413 391 /** … … 415 393 */ 416 394 417 /* 418 void 419 tree( 420 Rp_TreeNode root) 421 { 422 if (root == NULL) { 395 void 396 Number::dump(size_t as, ClientData p) 397 { 398 if (as == RPCONFIG_XML) { 399 __dumpToXml((clientdata_xml *)p); 400 } else if (as == RPCONFIG_TREE) { 401 __dumpToTree((clientdata_tree *)p); 402 } 403 } 404 405 /**********************************************************************/ 406 // METHOD: dumpToXml(ClientData p) 407 /// configure the object based on Rappture1.1 xmltext 408 /** 409 * Configure the object based on the provided xml 410 */ 411 412 void 413 Number::__dumpToXml(ClientData c) 414 { 415 if (c == NULL) { 423 416 // FIXME: setup error 424 } 425 } 426 */ 417 return; 418 } 419 420 clientdata_xml *d = (clientdata_xml *)c; 421 422 size_t l1width = d->indent + (1*d->tabstop); 423 size_t l2width = d->indent + (2*d->tabstop); 424 const char *sp = ""; 425 426 Path p(path()); 427 _tmpBuf.clear(); 428 429 _tmpBuf.appendf( 430 "%8$*5$s<number id='%1$s'>\n\ 431 %8$*6$s<about>\n\ 432 %8$*7$s<label>%2$s</label>\n\ 433 %8$*7$s<description>%3$s</description>\n\ 434 %8$*6$s</about>\n\ 435 %8$*6$s<units>%4$s</units>\n", 436 p.id(),label(),desc(),units(),d->indent,l1width,l2width,sp); 437 438 if (_minSet) { 439 _tmpBuf.appendf("%4$*3$s<min>%1$g%2$s</min>\n", min(),units(),l1width,sp); 440 } 441 if (_maxSet) { 442 _tmpBuf.appendf("%4$*3$s<max>%1$g%2$s</max>\n", max(),units(),l1width,sp); 443 } 444 445 _tmpBuf.appendf( 446 "%6$*5$s<default>%1$g%3$s</default>\n\ 447 %6$*5$s<current>%2$g%3$s</current>\n\ 448 %6$*4$s</number>", 449 def(),cur(),units(),d->indent,l1width,sp); 450 451 d->retStr = _tmpBuf.bytes(); 452 } 453 454 /**********************************************************************/ 455 // METHOD: dumpToTree(ClientData p) 456 /// dump the object to a Rappture1.1 based tree 457 /** 458 * Dump the object to a Rappture1.1 based tree 459 */ 460 461 void 462 Number::__dumpToTree(ClientData c) 463 { 464 if (c == NULL) { 465 // FIXME: setup error 466 return; 467 } 468 469 Rp_ParserXml *parser = (Rp_ParserXml *)c; 470 471 Path p; 472 473 p.parent(path()); 474 p.last(); 475 476 p.add("number"); 477 p.id(name()); 478 479 p.add("about"); 480 481 p.add("label"); 482 Rp_ParserXmlPutF(parser,p.path(),"%s",label()); 483 484 p.del(); 485 p.add("description"); 486 Rp_ParserXmlPutF(parser,p.path(),"%s",desc()); 487 488 p.del(); 489 p.del(); 490 p.add("units"); 491 Rp_ParserXmlPutF(parser,p.path(),"%s",units()); 492 493 494 if (_minSet) { 495 p.del(); 496 p.add("min"); 497 Rp_ParserXmlPutF(parser,p.path(),"%g",min()); 498 } 499 500 if (_maxSet) { 501 p.del(); 502 p.add("max"); 503 Rp_ParserXmlPutF(parser,p.path(),"%g",max()); 504 } 505 506 p.del(); 507 p.add("default"); 508 Rp_ParserXmlPutF(parser,p.path(),"%g",def()); 509 510 p.del(); 511 p.add("current"); 512 Rp_ParserXmlPutF(parser,p.path(),"%g",cur()); 513 514 // still need to add presets 515 return; 516 } 427 517 428 518 /**********************************************************************/ -
trunk/src/objects/RpNumber.h
r1560 r1566 57 57 Number& delPreset(const char *label); 58 58 59 const char* xml(size_t indent, size_t tabstop);60 void xml(const char *xmltext);61 59 62 /* 63 Rp_TreeNode tree(); 64 void tree(Rp_TreeNode root); 65 */ 60 void configure(size_t as, ClientData p); 61 void dump(size_t as, ClientData p); 62 // const char* xml(size_t indent, size_t tabstop); 66 63 67 64 const int is() const; … … 88 85 }; 89 86 87 void __configureFromXml(const char *p); 88 void __configureFromTree(Rp_ParserXml *p); 89 void __dumpToXml(ClientData c); 90 void __dumpToTree(ClientData c); 90 91 }; 91 92 -
trunk/src/objects/RpObject.cc
r1560 r1566 303 303 } 304 304 305 /* 305 306 void 306 307 Object::xml(const char *xmltext) 308 { 309 return; 310 } 311 */ 312 313 void 314 Object::configure(size_t as, void *p) 315 { 316 return; 317 } 318 319 void 320 Object::dump(size_t as, void *p) 307 321 { 308 322 return; -
trunk/src/objects/RpObject.h
r1560 r1566 17 17 #include "RpBuffer.h" 18 18 #include "RpPath.h" 19 #include "RpParserXML.h" 20 #include "RpObjConfig.h" 19 21 20 22 namespace Rappture { … … 73 75 74 76 // set the object properties based on Rappture1.1 xml text 75 virtual void xml(const char *xmltext); 77 // virtual void xml(const char *xmltext); 78 79 // configure the object properties based on Rappture1.1 xml text 80 virtual void configure(size_t as, void *p); 81 virtual void dump(size_t as, void *p); 76 82 77 83 virtual const int is() const; -
trunk/src/objects/RpParserXML.cc
r1560 r1566 12 12 */ 13 13 14 #include <errno.h> 15 #include <expat.h> 16 #include <string.h> 17 #include <stdarg.h> 14 18 #include "RpParserXML.h" 15 19 #include "RpSimpleBuffer.h" 16 20 #include "RpPath.h" 17 18 static const char *Rp_ParserXml_Field_ID = "id";19 static const char *Rp_ParserXml_Field_VALUE = "value";20 static const char *Rp_ParserXml_Field_VISITED = "visited";21 21 22 22 struct Rp_ParserXmlStruct { … … 27 27 }; 28 28 29 const char *Rp_ParserXml_Field_ID = "id"; 30 const char *Rp_ParserXml_Field_VALUE = "value"; 31 const char *Rp_ParserXml_Field_VISITED = "visited"; 32 const char *Rp_ParserXml_TreeRootName = "rapptureTree"; 29 33 30 34 static void XMLCALL … … 127 131 Rp_ParserXml *p = new Rp_ParserXml(); 128 132 129 Rp_TreeCreate( "rapptureTree",&(p->tree));133 Rp_TreeCreate(Rp_ParserXml_TreeRootName,&(p->tree)); 130 134 p->curr = Rp_TreeRootNode(p->tree); 131 135 p->path = new Rappture::Path(); … … 340 344 Rp_TreeNode child = Rp_ParserXmlSearch(p, path, 1); 341 345 342 if (child != NULL) { 343 // check to see if there is already a value 344 if (RP_OK == Rp_TreeGetValue(p->tree,child, 346 if (child == NULL) { 347 // error while searching for node? 348 return; 349 } 350 351 // check to see if there is already a value 352 if (RP_OK == Rp_TreeGetValue(p->tree,child, 353 Rp_ParserXml_Field_VALUE, 354 (void **)&oldval)) { 355 if (oldval != NULL) { 356 // FIXME: use the RPXML_APPEND flag 357 if (append) { 358 oldval_len = strlen(oldval); 359 val_len = strlen(val); 360 newval = new char[oldval_len + val_len + 1]; 361 strncpy(newval,oldval,oldval_len); 362 } 363 // free the old data 364 delete(oldval); 365 oldval = NULL; 366 } 367 } 368 369 // allocate space for our new value if needed 370 if (newval == NULL) { 371 // set the new value for the node 372 val_len = strlen(val); 373 newval = new char[val_len + 1]; 374 } 375 376 strcpy(newval+oldval_len,val); 377 378 // set the value of the child node 379 if (RP_ERROR == Rp_TreeSetValue(p->tree,child, 345 380 Rp_ParserXml_Field_VALUE, 346 (void **)&oldval)) { 347 if (oldval != NULL) { 348 // FIXME: use the RPXML_APPEND flag 349 if (append) { 350 oldval_len = strlen(oldval); 351 val_len = strlen(val); 352 newval = new char[oldval_len + val_len + 1]; 353 strncpy(newval,oldval,oldval_len); 354 } 355 // free the old data 356 delete(oldval); 357 oldval = NULL; 358 } 359 } 360 361 // allocate space for our new value if needed 362 if (newval == NULL) { 363 // set the new value for the node 364 val_len = strlen(val); 365 newval = new char[val_len + 1]; 366 } 367 368 strcpy(newval+oldval_len,val); 369 370 // set the value of the child node 371 if (RP_ERROR == Rp_TreeSetValue(p->tree,child, 372 Rp_ParserXml_Field_VALUE, 373 (void *)newval)) { 374 fprintf(stderr,"error while setting value of %s\n",path); 375 } 376 } 381 (void *)newval)) { 382 fprintf(stderr,"error while setting value of %s\n",path); 383 } 384 385 /* 386 if (p->curr == p->root) { 387 // reset the root node 388 p->curr = Rp_TreeFirstChild(p->root); 389 } 390 */ 391 377 392 return; 378 393 } 394 395 void 396 Rp_ParserXmlPutF( 397 Rp_ParserXml *p, 398 const char *path, 399 const char *format, 400 ...) 401 { 402 if (format == NULL) { 403 // no value, do nothing 404 return; 405 } 406 407 Rp_TreeNode child = Rp_ParserXmlSearch(p, path, 1); 408 409 if (child == NULL) { 410 fprintf(stderr, "child node %s does not exist", path); 411 return; 412 } 413 414 // check to see if there is already a value 415 const char *oldval = NULL; 416 if (RP_OK == Rp_TreeGetValue(p->tree,child, 417 Rp_ParserXml_Field_VALUE, 418 (void **)&oldval)) { 419 if (oldval != NULL) { 420 // free the old data 421 delete(oldval); 422 oldval = NULL; 423 } 424 } 425 426 // store the formatted string in the tree node 427 size_t stackSize = 1024; 428 char *stackSpace = new char[stackSize]; 429 va_list lst; 430 size_t n; 431 432 va_start(lst, format); 433 n = vsnprintf(stackSpace, stackSize, format, lst); 434 if (n >= stackSize) { 435 delete stackSpace; 436 stackSpace = new char[n]; 437 vsnprintf(stackSpace, n, format, lst); 438 } 439 440 // set the value of the child node 441 if (RP_ERROR == Rp_TreeSetValue(p->tree,child, 442 Rp_ParserXml_Field_VALUE, 443 (void *)stackSpace)) { 444 fprintf(stderr,"error while setting value of %s\n",path); 445 } 446 447 /* 448 if (p->curr == p->root) { 449 // reset the root node 450 p->curr = Rp_TreeFirstChild(p->root); 451 } 452 */ 453 454 return; 455 } 456 457 void 458 Rp_ParserXmlAppendF( 459 Rp_ParserXml *p, 460 const char *path, 461 const char *format, 462 ...) 463 { 464 if (format == NULL) { 465 // no value, do nothing 466 return; 467 } 468 469 Rp_TreeNode child = Rp_ParserXmlSearch(p, path, 1); 470 471 if (child == NULL) { 472 fprintf(stderr, "child node %s does not exist", path); 473 return; 474 } 475 476 // check to see if there is already a value 477 const char *oldval = NULL; 478 Rp_TreeGetValue(p->tree,child, Rp_ParserXml_Field_VALUE, (void **)&oldval); 479 480 // get the formatted string 481 size_t stackSize = 1024; 482 char *stackSpace = new char[stackSize]; 483 va_list lst; 484 size_t n; 485 486 va_start(lst, format); 487 n = vsnprintf(stackSpace, stackSize, format, lst); 488 if (n >= stackSize) { 489 delete stackSpace; 490 stackSpace = new char[n]; 491 vsnprintf(stackSpace, n, format, lst); 492 } 493 494 // concatenate the formatted string and the old value 495 char *newval = stackSpace; 496 if (oldval != NULL) { 497 size_t oldval_len = strlen(oldval); 498 newval = new char[n+oldval_len+1]; 499 strcpy(newval, oldval); 500 strcat(newval,stackSpace); 501 // free the old data 502 delete(oldval); 503 oldval = NULL; 504 delete(stackSpace); 505 stackSpace = NULL; 506 } 507 508 // set the value of the child node 509 if (RP_ERROR == Rp_TreeSetValue(p->tree,child, 510 Rp_ParserXml_Field_VALUE, 511 (void *)newval)) { 512 fprintf(stderr,"error while setting value of %s\n",path); 513 } 514 515 /* 516 if (p->curr == p->root) { 517 // reset the root node 518 p->curr = Rp_TreeFirstChild(p->root); 519 } 520 */ 521 522 return; 523 } 524 379 525 380 526 Rp_Tree … … 408 554 409 555 Rp_TreeGetValue(p->tree,node,Rp_ParserXml_Field_VALUE,(void **)&value); 410 size_t valLen = strlen(value); 556 size_t valLen = 0; 557 if (value != NULL) { 558 valLen = strlen(value); 559 } 411 560 412 561 if (!Rp_TreeValueExists(p->tree,node,Rp_ParserXml_Field_VISITED)) { … … 468 617 p->buf->appendf("<?xml version=\"1.0\"?>\n"); 469 618 470 Rp_TreeNode root = p->curr; 619 Rp_TreeNode root = Rp_TreeRootNode(p->tree); 620 if (p->curr == root) { 621 // reset the root node 622 root = Rp_TreeFirstChild(root); 623 } else { 624 root = p->curr; 625 } 471 626 472 627 Rp_TreeApplyDFS(root, printXmlData, (ClientData)p, TREE_PREORDER|TREE_POSTORDER); … … 540 695 p->path = new Rappture::Path(); 541 696 542 Rp_TreeNode root = p->curr; 697 // Rp_TreeNode root = p->curr; 698 Rp_TreeNode root = Rp_TreeRootNode(p->tree); 699 if (p->curr == root) { 700 // reset the root node 701 root = Rp_TreeFirstChild(root); 702 } else { 703 root = p->curr; 704 } 543 705 544 706 Rp_TreeApplyDFS(root, printPathVal, (ClientData)p, TREE_PREORDER|TREE_POSTORDER); … … 599 761 Rp_TreeNode node = Rp_ParserXmlSearch(p,path,!RPXML_CREATE); 600 762 601 if (node != NULL) { 763 if (node == NULL) { 764 return count; 765 } 766 767 if (type == NULL) { 768 node = Rp_TreeFirstChild(node); 769 while (node != NULL) { 770 count++; 771 Rp_ChainAppend(children,(void*)node); 772 node = Rp_TreeNextSibling(node); 773 } 774 } else { 602 775 node = Rp_TreeFindChild(node,type); 603 776 while (node != NULL) { … … 607 780 } 608 781 } 782 609 783 return count; 610 784 } … … 648 822 } 649 823 650 /*651 824 const char * 652 825 Rp_ParserXmlNodePath( … … 654 827 Rp_TreeNode node) 655 828 { 656 Path pathObj("junk");829 Rappture::Path pathObj; 657 830 658 831 const char *type = NULL; 659 832 const char *id = NULL; 660 833 661 // FIXME: path's add and del don't work on the current node662 834 if (p != NULL) { 663 while (node != p->curr) { 664 type = Rp_TreeNodeLabel(node) 665 Rp_TreeGetValue(p->tree,child, Rp_ParserXml_Field_ID,(void **)&id); 666 pathObj.first(); 667 pathObj.add(type); 668 pathObj.id(id); 835 while (node != NULL) { 836 type = Rp_TreeNodeLabel(node); 837 pathObj.parent(type); 838 if (RP_OK == Rp_TreeGetValue(p->tree,node, 839 Rp_ParserXml_Field_ID,(void **)&id)) { 840 pathObj.id(id); 841 } 669 842 node = Rp_TreeNodeParent(node); 670 843 } 671 844 } 672 845 846 // remove the tree name from the path 673 847 pathObj.first(); 674 848 pathObj.del(); 675 return path 676 } 677 */ 849 // remove the <run> tag from the path 850 // pathObj.del(); 851 852 p->path->path(pathObj.path()); 853 return p->path->path(); 854 } 678 855 679 856 const char * -
trunk/src/objects/RpParserXML.h
r1560 r1566 8 8 * ====================================================================== 9 9 */ 10 #include <errno.h>11 #include <expat.h>12 #include <string.h>13 10 #include "RpTree.h" 14 11 #include "RpChain.h" … … 24 21 }; 25 22 23 extern const char *Rp_ParserXml_Field_ID; 26 24 27 25 typedef struct Rp_ParserXmlStruct Rp_ParserXml; … … 33 31 Rp_TreeNode Rp_ParserXmlSearch( Rp_ParserXml *p, const char *path, int create); 34 32 const char *Rp_ParserXmlGet(Rp_ParserXml *p, const char *path); 35 void Rp_ParserXmlPut(Rp_ParserXml *p, const char *path, const char *val, 36 int append); 33 void Rp_ParserXmlPut(Rp_ParserXml *p, const char *path, const char *val, int append); 34 void Rp_ParserXmlPutF(Rp_ParserXml *p, const char *path, const char *val, ...); 35 void Rp_ParserXmlAppendF(Rp_ParserXml *p, const char *path, const char *val, ...); 37 36 38 37 Rp_Tree Rp_ParserXmlTreeClient(Rp_ParserXml *p); … … 46 45 void Rp_ParserXmlBaseNode(Rp_ParserXml *p, Rp_TreeNode node); 47 46 48 //const char *Rp_ParserXmlNodePath(Rp_ParserXml *p, Rp_TreeNode node);47 const char *Rp_ParserXmlNodePath(Rp_ParserXml *p, Rp_TreeNode node); 49 48 const char *Rp_ParserXmlNodeId(Rp_ParserXml *p, Rp_TreeNode node); 50 49 -
trunk/src/objects/RpPath.cc
r1560 r1566 5 5 * AUTHOR: Derrick Kearney, Purdue University 6 6 * 7 * Copyright (c) 200 4-2008Purdue Research Foundation7 * Copyright (c) 2005-2009 Purdue Research Foundation 8 8 * ---------------------------------------------------------------------- 9 9 * See the file "license.terms" for information on usage and … … 328 328 { 329 329 Rp_Chain *addList = NULL; 330 Rp_ChainLink *tmpLink = NULL; 330 331 331 332 addList = __parse(el); 332 Rp_ChainConcat(_pathList,addList); 333 tmpLink = Rp_ChainLastLink(addList); 334 Rp_ChainInsertChainAfter(_pathList,addList,_currLink); 335 _currLink = tmpLink; 333 336 334 337 __updateBuffer(); … … 342 345 Rp_ChainLink *l = NULL; 343 346 344 l = Rp_ChainLastLink(_pathList); 347 // l = Rp_ChainLastLink(_pathList); 348 349 if (_currLink != NULL) { 350 l = _currLink; 351 } else { 352 l = Rp_ChainLastLink(_pathList); 353 } 345 354 346 355 if (l != NULL) { … … 348 357 __deleteComponent(c); 349 358 c = NULL; 359 _currLink = Rp_ChainPrevLink(l); 360 if (_currLink == NULL) { 361 // don't go off the beginning of the list 362 _currLink = Rp_ChainNextLink(l); 363 // if _currLink is still NULL, it means the list is blank 364 } 350 365 Rp_ChainDeleteLink(_pathList,l); 351 366 } … … 767 782 Path::parent(const char *p) 768 783 { 769 // FIXME:770 /*771 if (p == NULL) {772 return;773 }774 775 784 Rp_Chain *addList = NULL; 776 Rp_ChainLink * l= NULL;785 Rp_ChainLink *tmpLink = NULL; 777 786 778 787 addList = __parse(p); 779 780 if (addList == NULL) { 781 // no parent path? 782 return; 783 } 784 785 // get the last component of pathList 786 l = Rp_ChainLastLink(_pathList); 787 788 if (l == NULL) { 789 // nothing to add 790 Rp_ChainDestroy(addList); 791 return; 792 } 793 794 componentStruct *aLcomp = (componentStruct *) Rp_ChainGetValue(l); 795 Rp_ChainDeleteLink(_pathList,l); 796 797 // delete addList 798 l = Rp_ChainFirstLink(addList); 799 while (l != NULL) { 800 componentStruct *c = (componentStruct *) Rp_ChainGetValue(l); 801 delete c; 802 l = Rp_ChainNextLink(l); 803 } 804 Rp_ChainDestroy(addList); 805 806 // update the last component from the current path 807 l = Rp_ChainLastLink(_pathList); 808 809 if (l != NULL) { 810 componentStruct *last = (componentStruct *) Rp_ChainGetValue(l); 811 Rp_ChainDeleteLink(_pathList,l); 812 delete last->type; 813 last->type = aLcomp->type; 814 delete aLcomp->type; 815 delete aLcomp; 816 } else { 817 // append the new component onto the current path 818 delete aLcomp->id; 819 Rp_ChainAppend(_pathList,aLcomp); 820 } 788 // maybe make this an input flag, FirstLink (default) or LastLink 789 tmpLink = Rp_ChainFirstLink(addList); 790 Rp_ChainInsertChainBefore(_pathList,addList,_currLink); 791 _currLink = tmpLink; 821 792 822 793 __updateBuffer(); 823 794 824 */825 795 return; 826 796 }
Note: See TracChangeset
for help on using the changeset viewer.