Changeset 1873 for trunk/configure
- Timestamp:
- Aug 24, 2010, 2:29:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r1872 r1873 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.67 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 25 # is contrary to our usage. Disable this feature. 22 26 alias -g '${1+"$@"}'='"$@"' 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 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 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 41 75 42 76 # The user is always right. 43 77 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 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 60 83 fi 61 84 … … 66 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 90 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 91 IFS=" "" $as_nl" 71 92 72 93 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 94 case $0 in #(( 74 95 *[\\/]* ) as_myself=$0 ;; 75 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 99 IFS=$as_save_IFS 79 100 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 82 103 IFS=$as_save_IFS 83 104 … … 90 111 fi 91 112 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 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115 fi 116 117 # Unset variables that we do not need and which cause bugs (e.g. in 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119 # suppresses any "Segmentation fault" message there. '((' could 120 # trigger a bug in pdksh 5.2.14. 121 for as_var in BASH_ENV ENV MAIL MAILPATH 122 do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 124 done 100 125 PS1='$ ' … … 103 128 104 129 # 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 130 LC_ALL=C 131 export LC_ALL 132 LANGUAGE=C 133 export LANGUAGE 134 135 # CDPATH. 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138 if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146 else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152 esac 153 fi 154 " 155 as_required="as_fn_return () { (exit \$1); } 156 as_fn_success () { as_fn_return 0; } 157 as_fn_failure () { as_fn_return 1; } 158 as_fn_ret_success () { return 0; } 159 as_fn_ret_failure () { return 1; } 160 161 exitcode=0 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168 else 169 exitcode=1; echo positional parameters were not saved. 170 fi 171 test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179 else 180 as_have_required=no 181 fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184 else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186 as_found=false 187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 188 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 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202 fi 203 fi 204 done;; 205 esac 206 as_found=false 207 done 208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211 fi; } 212 IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224 fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 232 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234 $0: rappture@nanohub.org about your system, including any 235 $0: error possibly output before this message. Then install 236 $0: a modern shell, or manually run the script under such a 237 $0: shell if you do have one." 114 238 fi 115 done 116 117 # Required to use basename. 239 exit 1 240 fi 241 fi 242 fi 243 SHELL=${CONFIG_SHELL-/bin/sh} 244 export SHELL 245 # Unset more variables known to interfere with behavior of common tools. 246 CLICOLOR_FORCE= GREP_OPTIONS= 247 unset CLICOLOR_FORCE GREP_OPTIONS 248 249 ## --------------------- ## 250 ## M4sh Shell Functions. ## 251 ## --------------------- ## 252 # as_fn_unset VAR 253 # --------------- 254 # Portably unset VAR. 255 as_fn_unset () 256 { 257 { eval $1=; unset $1;} 258 } 259 as_unset=as_fn_unset 260 261 # as_fn_set_status STATUS 262 # ----------------------- 263 # Set $? to STATUS, without forking. 264 as_fn_set_status () 265 { 266 return $1 267 } # as_fn_set_status 268 269 # as_fn_exit STATUS 270 # ----------------- 271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 272 as_fn_exit () 273 { 274 set +e 275 as_fn_set_status $1 276 exit $1 277 } # as_fn_exit 278 279 # as_fn_mkdir_p 280 # ------------- 281 # Create "$as_dir" as a directory, including parents if necessary. 282 as_fn_mkdir_p () 283 { 284 285 case $as_dir in #( 286 -*) as_dir=./$as_dir;; 287 esac 288 test -d "$as_dir" || eval $as_mkdir_p || { 289 as_dirs= 290 while :; do 291 case $as_dir in #( 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 293 *) as_qdir=$as_dir;; 294 esac 295 as_dirs="'$as_qdir' $as_dirs" 296 as_dir=`$as_dirname -- "$as_dir" || 297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 298 X"$as_dir" : 'X\(//\)[^/]' \| \ 299 X"$as_dir" : 'X\(//\)$' \| \ 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 301 $as_echo X"$as_dir" | 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)[^/].*/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\).*/{ 315 s//\1/ 316 q 317 } 318 s/.*/./; q'` 319 test -d "$as_dir" && break 320 done 321 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 323 324 325 } # as_fn_mkdir_p 326 # as_fn_append VAR VALUE 327 # ---------------------- 328 # Append the text in VALUE to the end of the definition contained in VAR. Take 329 # advantage of any shell optimizations that allow amortized linear growth over 330 # repeated appends, instead of the typical quadratic growth present in naive 331 # implementations. 332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 333 eval 'as_fn_append () 334 { 335 eval $1+=\$2 336 }' 337 else 338 as_fn_append () 339 { 340 eval $1=\$$1\$2 341 } 342 fi # as_fn_append 343 344 # as_fn_arith ARG... 345 # ------------------ 346 # Perform arithmetic evaluation on the ARGs, and store the result in the 347 # global $as_val. Take advantage of shells that can avoid forks. The arguments 348 # must be portable across $(()) and expr. 349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 350 eval 'as_fn_arith () 351 { 352 as_val=$(( $* )) 353 }' 354 else 355 as_fn_arith () 356 { 357 as_val=`expr "$@" || test $? -eq 1` 358 } 359 fi # as_fn_arith 360 361 362 # as_fn_error STATUS ERROR [LINENO LOG_FD] 363 # ---------------------------------------- 364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366 # script with STATUS, using 1 if that was 0. 367 as_fn_error () 368 { 369 as_status=$1; test $as_status -eq 0 && as_status=1 370 if test "$4"; then 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 373 fi 374 $as_echo "$as_me: error: $2" >&2 375 as_fn_exit $as_status 376 } # as_fn_error 377 118 378 if expr a : '\(a\)' >/dev/null 2>&1 && 119 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 389 fi 130 390 131 132 # Name of the executable. 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 392 as_dirname=dirname 393 else 394 as_dirname=false 395 fi 396 133 397 as_me=`$as_basename -- "$0" || 134 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 399 X"$0" : 'X\(//\)$' \| \ 136 400 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |401 $as_echo X/"$0" | 138 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 403 s//\1/ … … 150 414 s/.*/./; q'` 151 415 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. :-) 416 # Avoid depending upon Character Ranges. 417 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 420 as_cr_digits='0123456789' 421 as_cr_alnum=$as_cr_Letters$as_cr_digits 422 423 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 429 sed -n ' 441 430 p … … 454 443 ' >$as_me.lineno && 455 444 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; }; } 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 446 459 447 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 453 } 466 454 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 455 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 456 case `echo -n x` in #((((( 476 457 -n*) 477 case `echo 'x \c'` in458 case `echo 'xy\c'` in 478 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 480 463 esac;; 481 464 *) … … 483 466 esac 484 467 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 468 rm -f conf$$ conf$$.exe conf$$.file 493 469 if test -d conf$$.dir; then … … 495 471 else 496 472 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 || 473 mkdir conf$$.dir 2>/dev/null 474 fi 475 if (echo >conf$$.file) 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then 477 as_ln_s='ln -s' 478 # ... but there are two gotchas: 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 481 # In both cases, we have to default to `cp -p'. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 483 as_ln_s='cp -p' 484 elif ln conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s=ln 486 else 507 487 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 488 fi 510 489 else 511 490 as_ln_s='cp -p' … … 515 494 516 495 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :496 as_mkdir_p='mkdir -p "$as_dir"' 518 497 else 519 498 test -d ./-p && rmdir ./-p … … 532 511 eval sh -c '\'' 533 512 if test -d "$1"; then 534 513 test -d "$1/."; 535 514 else 536 case $1 in 537 515 case $1 in #( 516 -*)set "./$1";; 538 517 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 519 ???[sx]*):;;*)false;;esac;fi 541 520 '\'' sh … … 551 530 552 531 553 554 exec 7<&0 </dev/null6>&1532 test -n "$DJDIR" || exec 7<&0 </dev/null 533 exec 6>&1 555 534 556 535 # Name of the host. 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 558 537 # so uname gets run too. 559 538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 570 549 MFLAGS= 571 550 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 551 574 552 # Identity of this package. … … 578 556 PACKAGE_STRING='Rappture 1.1' 579 557 PACKAGE_BUGREPORT='rappture@nanohub.org' 558 PACKAGE_URL='' 580 559 581 560 # Factoring default headers for most tests. … … 615 594 #endif" 616 595 617 ac_subst_vars='SHELL 596 enable_option_checking=no 597 ac_subst_vars='LTLIBOBJS 598 LIBOBJS 599 subdirs 600 HAVE_FFMPEG_LIBS 601 LDFLAGS_DEFAULT 602 CFLAGS_DEFAULT 603 SIZEOF_VOID_P 604 SIZEOF_LONG_LONG 605 SIZEOF_LONG 606 SIZEOF_INT 607 TK_VERSION 608 SHLIB_LDFLAGS 609 RP_BASE 610 JAVA_INC_SPEC 611 JAVA_INC_DIR 612 JAVA_HOME 613 JAVAH 614 JAVAC 615 JAVA 616 RUBY_PLATFORM 617 RUBY_VERSION_RV 618 HAVE_RUBY_DEVEL 619 RUBY_EXTRA_LIBS 620 RUBY_SITE_PKG 621 RUBY_LDFLAGS 622 RUBY_CPPFLAGS 623 AWK 624 RUBY_VERSION 625 SED 626 RUBY 627 HAVE_PYTHON_DISTUTILS 628 PYTHON_SITE_PACKAGES 629 PYTHON_INCLUDES 630 PYTHON_VERSION 631 pythondir 632 PYTHON_CPPFLAGS 633 PYTHON 634 PERL_LIBSPEC 635 PERL_VERSION_RV 636 PERL_INSTALLARCHLIB 637 PERL_PRIVLIB 638 PERL_VENDORLIB 639 PERL_CPPFLAGS 640 PERL_CCFLAGS 641 PERL_VERSION 642 PERL_ARCHLIBEXP 643 PERL_ARCHLIB 644 PERL_INCLUDES 645 PERL 646 MKOCTFILE3 647 MKOCTFILE2 648 OCTAVE_VERSION_MAJOR 649 OCTAVE_VERSION 650 OCTAVE3 651 OCTAVE2 652 mkoctfile3 653 octave3 654 mkoctfile 655 octave2 656 MKOCTFILE 657 OCTAVE 658 MEX_ARCH 659 MCC 660 MEXEXT 661 MEX 662 MATLAB 663 VTKDIR 664 TCL_LIB_SPEC 665 TCL_INC_SPEC 666 TCL_VERSION 667 TCLSH 668 ENABLE_GUI 669 MAKE 670 INSTALL_STUB_LIB 671 INSTALL_LIB 672 MAKE_STUB_LIB 673 MAKE_LIB 674 SHLIB_SUFFIX 675 SHLIB_CFLAGS 676 SHLIB_LD_LIBS 677 TK_SHLIB_LD_EXTRAS 678 TCL_SHLIB_LD_EXTRAS 679 SHLIB_LD 680 STLIB_LD 681 LD_SEARCH_FLAGS 682 CC_SEARCH_FLAGS 683 LDFLAGS_OPTIMIZE 684 LDFLAGS_DEBUG 685 CFLAGS_WARNING 686 CFLAGS_OPTIMIZE 687 CFLAGS_DEBUG 688 PLAT_SRCS 689 PLAT_OBJS 690 DL_OBJS 691 DL_LIBS 692 AR 693 HAVE_INTTYPES_H 694 CXXCPP 695 EGREP 696 GREP 697 CPP 698 ac_ct_F77 699 FFLAGS 700 F77 701 ac_ct_CXX 702 CXXFLAGS 703 CXX 704 OBJEXT 705 EXEEXT 706 ac_ct_CC 707 CPPFLAGS 708 LDFLAGS 709 CFLAGS 710 CC 711 SET_MAKE 712 MKDIR_P 713 LN_S 714 RANLIB 715 INSTALL_DATA 716 INSTALL_SCRIPT 717 INSTALL_PROGRAM 718 LIB_SEARCH_DIRS 719 target_alias 720 host_alias 721 build_alias 722 LIBS 723 ECHO_T 724 ECHO_N 725 ECHO_C 726 DEFS 727 mandir 728 localedir 729 libdir 730 psdir 731 pdfdir 732 dvidir 733 htmldir 734 infodir 735 docdir 736 oldincludedir 737 includedir 738 localstatedir 739 sharedstatedir 740 sysconfdir 741 datadir 742 datarootdir 743 libexecdir 744 sbindir 745 bindir 746 program_transform_name 747 prefix 748 exec_prefix 749 PACKAGE_URL 750 PACKAGE_BUGREPORT 751 PACKAGE_STRING 752 PACKAGE_VERSION 753 PACKAGE_TARNAME 754 PACKAGE_NAME 618 755 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 RANLIB 659 LN_S 660 SET_MAKE 661 CC 662 CFLAGS 663 LDFLAGS 664 CPPFLAGS 665 ac_ct_CC 666 EXEEXT 667 OBJEXT 668 CXX 669 CXXFLAGS 670 ac_ct_CXX 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 TCL_VERSION 706 TCL_INC_SPEC 707 TCL_LIB_SPEC 708 VTKDIR 709 MATLAB 710 MEX 711 MEXEXT 712 MCC 713 MEX_ARCH 714 OCTAVE 715 MKOCTFILE 716 octave2 717 mkoctfile 718 octave3 719 mkoctfile3 720 OCTAVE2 721 OCTAVE3 722 OCTAVE_VERSION 723 OCTAVE_VERSION_MAJOR 724 MKOCTFILE2 725 MKOCTFILE3 726 PERL 727 PERL_INCLUDES 728 PERL_ARCHLIB 729 PERL_ARCHLIBEXP 730 PERL_VERSION 731 PERL_CCFLAGS 732 PERL_CPPFLAGS 733 PERL_VENDORLIB 734 PERL_PRIVLIB 735 PERL_INSTALLARCHLIB 736 PERL_VERSION_RV 737 PERL_LIBSPEC 738 PYTHON 739 PYTHON_CPPFLAGS 740 pythondir 741 PYTHON_VERSION 742 PYTHON_INCLUDES 743 PYTHON_SITE_PACKAGES 744 HAVE_PYTHON_DISTUTILS 745 RUBY 746 SED 747 RUBY_VERSION 748 AWK 749 RUBY_CPPFLAGS 750 RUBY_LDFLAGS 751 RUBY_SITE_PKG 752 RUBY_EXTRA_LIBS 753 HAVE_RUBY_DEVEL 754 RUBY_VERSION_RV 755 RUBY_PLATFORM 756 JAVA 757 JAVAC 758 JAVAH 759 JAVA_HOME 760 JAVA_INC_DIR 761 JAVA_INC_SPEC 762 RP_BASE 763 SHLIB_LDFLAGS 764 TK_VERSION 765 SIZEOF_INT 766 SIZEOF_LONG 767 SIZEOF_LONG_LONG 768 SIZEOF_VOID_P 769 CFLAGS_DEFAULT 770 LDFLAGS_DEFAULT 771 subdirs 772 LIBOBJS 773 LTLIBOBJS' 756 SHELL' 774 757 ac_subst_files='' 758 ac_user_opts=' 759 enable_option_checking 760 enable_64bit 761 enable_64bit_vis 762 enable_corefoundation 763 enable_load 764 enable_gui 765 with_tclsh 766 with_vtk 767 with_matlab 768 with_octave 769 with_octave2 770 with_octave3 771 with_perl 772 with_python 773 with_ruby 774 with_java 775 enable_shared 776 enable_symbols 777 ' 775 778 ac_precious_vars='build_alias 776 779 host_alias … … 793 796 ac_init_help= 794 797 ac_init_version=false 798 ac_unrecognized_opts= 799 ac_unrecognized_sep= 795 800 # The variables have the same names as the options, with 796 801 # dashes changed to underlines. … … 848 853 849 854 case $ac_option in 850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 851 *) ac_optarg=yes ;; 855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 856 *=) ac_optarg= ;; 857 *) ac_optarg=yes ;; 852 858 esac 853 859 … … 891 897 892 898 -disable-* | --disable-*) 893 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 894 900 # Reject names that are not valid shell variable names. 895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 897 { (exit 1); exit 1; }; } 898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 899 eval enable_$ac_feature=no ;; 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--disable-$ac_useropt_orig" 910 ac_unrecognized_sep=', ';; 911 esac 912 eval enable_$ac_useropt=no ;; 900 913 901 914 -docdir | --docdir | --docdi | --doc | --do) … … 910 923 911 924 -enable-* | --enable-*) 912 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 913 926 # Reject names that are not valid shell variable names. 914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 916 { (exit 1); exit 1; }; } 917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 918 eval enable_$ac_feature=\$ac_optarg ;; 927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 928 as_fn_error $? "invalid feature name: $ac_useropt" 929 ac_useropt_orig=$ac_useropt 930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 931 case $ac_user_opts in 932 *" 933 "enable_$ac_useropt" 934 "*) ;; 935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 936 ac_unrecognized_sep=', ';; 937 esac 938 eval enable_$ac_useropt=\$ac_optarg ;; 919 939 920 940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1107 1127 1108 1128 -with-* | --with-*) 1109 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1110 1130 # Reject names that are not valid shell variable names. 1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1112 { echo "$as_me: error: invalid package name: $ac_package" >&2 1113 { (exit 1); exit 1; }; } 1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1115 eval with_$ac_package=\$ac_optarg ;; 1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1132 as_fn_error $? "invalid package name: $ac_useropt" 1133 ac_useropt_orig=$ac_useropt 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1135 case $ac_user_opts in 1136 *" 1137 "with_$ac_useropt" 1138 "*) ;; 1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1140 ac_unrecognized_sep=', ';; 1141 esac 1142 eval with_$ac_useropt=\$ac_optarg ;; 1116 1143 1117 1144 -without-* | --without-*) 1118 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1119 1146 # Reject names that are not valid shell variable names. 1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1121 { echo "$as_me: error: invalid package name: $ac_package" >&2 1122 { (exit 1); exit 1; }; } 1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1124 eval with_$ac_package=no ;; 1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1148 as_fn_error $? "invalid package name: $ac_useropt" 1149 ac_useropt_orig=$ac_useropt 1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1151 case $ac_user_opts in 1152 *" 1153 "with_$ac_useropt" 1154 "*) ;; 1155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1156 ac_unrecognized_sep=', ';; 1157 esac 1158 eval with_$ac_useropt=no ;; 1125 1159 1126 1160 --x) … … 1142 1176 x_libraries=$ac_optarg ;; 1143 1177 1144 -*) { echo "$as_me: error: unrecognized option: $ac_option 1145 Try \`$0 --help' for more information." >&2 1146 { (exit 1); exit 1; }; } 1178 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1179 Try \`$0 --help' for more information" 1147 1180 ;; 1148 1181 … … 1150 1183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1151 1184 # Reject names that are not valid shell variable names. 1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1154 { (exit 1); exit 1; }; } 1185 case $ac_envvar in #( 1186 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1188 esac 1155 1189 eval $ac_envvar=\$ac_optarg 1156 1190 export $ac_envvar ;; … … 1158 1192 *) 1159 1193 # FIXME: should be removed in autoconf 3.0. 1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&21194 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1161 1195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&21196 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1163 1197 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1164 1198 ;; … … 1169 1203 if test -n "$ac_prev"; then 1170 1204 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1171 { echo "$as_me: error: missing argument to $ac_option" >&2 1172 { (exit 1); exit 1; }; } 1173 fi 1174 1175 # Be sure to have absolute directory names. 1205 as_fn_error $? "missing argument to $ac_option" 1206 fi 1207 1208 if test -n "$ac_unrecognized_opts"; then 1209 case $enable_option_checking in 1210 no) ;; 1211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1212 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1213 esac 1214 fi 1215 1216 # Check all directory arguments for consistency. 1176 1217 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1177 1218 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1180 1221 do 1181 1222 eval ac_val=\$$ac_var 1223 # Remove trailing slashes. 1224 case $ac_val in 1225 */ ) 1226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1227 eval $ac_var=\$ac_val;; 1228 esac 1229 # Be sure to have absolute directory names. 1182 1230 case $ac_val in 1183 1231 [\\/$]* | ?:[\\/]* ) continue;; 1184 1232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1185 1233 esac 1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1187 { (exit 1); exit 1; }; } 1234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1188 1235 done 1189 1236 … … 1199 1246 if test "x$build_alias" = x; then 1200 1247 cross_compiling=maybe 1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1202 If a cross compiler is detected then cross compile mode will be used ." >&21248 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1249 If a cross compiler is detected then cross compile mode will be used" >&2 1203 1250 elif test "x$build_alias" != "x$host_alias"; then 1204 1251 cross_compiling=yes … … 1215 1262 ac_ls_di=`ls -di .` && 1216 1263 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1217 { echo "$as_me: error: Working directory cannot be determined" >&2 1218 { (exit 1); exit 1; }; } 1264 as_fn_error $? "working directory cannot be determined" 1219 1265 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1220 { echo "$as_me: error: pwd does not report name of working directory" >&2 1221 { (exit 1); exit 1; }; } 1266 as_fn_error $? "pwd does not report name of working directory" 1222 1267 1223 1268 … … 1226 1271 ac_srcdir_defaulted=yes 1227 1272 # Try the directory containing this script, then the parent directory. 1228 ac_confdir=`$as_dirname -- "$ 0" ||1229 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1230 X"$ 0" : 'X\(//\)[^/]' \| \1231 X"$ 0" : 'X\(//\)$' \| \1232 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1233 echo X"$0" |1273 ac_confdir=`$as_dirname -- "$as_myself" || 1274 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1275 X"$as_myself" : 'X\(//\)[^/]' \| \ 1276 X"$as_myself" : 'X\(//\)$' \| \ 1277 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1278 $as_echo X"$as_myself" | 1234 1279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1235 1280 s//\1/ … … 1258 1303 if test ! -r "$srcdir/$ac_unique_file"; then 1259 1304 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1261 { (exit 1); exit 1; }; } 1305 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1262 1306 fi 1263 1307 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1264 1308 ac_abs_confdir=`( 1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1266 { (exit 1); exit 1; }; } 1309 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1267 1310 pwd)` 1268 1311 # When building in place, set srcdir=. … … 1304 1347 --help=recursive display the short help of all the included packages 1305 1348 -V, --version display version information and exit 1306 -q, --quiet, --silent do not print \`checking ...' messages1349 -q, --quiet, --silent do not print \`checking ...' messages 1307 1350 --cache-file=FILE cache test results in FILE [disabled] 1308 1351 -C, --config-cache alias for \`--cache-file=config.cache' … … 1312 1355 Installation directories: 1313 1356 --prefix=PREFIX install architecture-independent files in PREFIX 1314 1357 [$ac_default_prefix] 1315 1358 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1316 1359 [PREFIX] 1317 1360 1318 1361 By default, \`make install' will install all the files in … … 1324 1367 1325 1368 Fine tuning of the installation directories: 1326 --bindir=DIR user executables [EPREFIX/bin]1327 --sbindir=DIR system admin executables [EPREFIX/sbin]1328 --libexecdir=DIR program executables [EPREFIX/libexec]1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1332 --libdir=DIR object code libraries [EPREFIX/lib]1333 --includedir=DIR C header files [PREFIX/include]1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1337 --infodir=DIR info documentation [DATAROOTDIR/info]1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1339 --mandir=DIR man documentation [DATAROOTDIR/man]1340 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1341 --htmldir=DIR html documentation [DOCDIR]1342 --dvidir=DIR dvi documentation [DOCDIR]1343 --pdfdir=DIR pdf documentation [DOCDIR]1344 --psdir=DIR ps documentation [DOCDIR]1369 --bindir=DIR user executables [EPREFIX/bin] 1370 --sbindir=DIR system admin executables [EPREFIX/sbin] 1371 --libexecdir=DIR program executables [EPREFIX/libexec] 1372 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1373 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1374 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1375 --libdir=DIR object code libraries [EPREFIX/lib] 1376 --includedir=DIR C header files [PREFIX/include] 1377 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1380 --infodir=DIR info documentation [DATAROOTDIR/info] 1381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1382 --mandir=DIR man documentation [DATAROOTDIR/man] 1383 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1384 --htmldir=DIR html documentation [DOCDIR] 1385 --dvidir=DIR dvi documentation [DOCDIR] 1386 --pdfdir=DIR pdf documentation [DOCDIR] 1387 --psdir=DIR ps documentation [DOCDIR] 1345 1388 _ACEOF 1346 1389 … … 1356 1399 1357 1400 Optional Features: 1401 --disable-option-checking ignore unrecognized --enable/--with options 1358 1402 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1359 1403 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1387 1431 nonstandard directory <lib dir> 1388 1432 LIBS libraries to pass to the linker, e.g. -l<library> 1389 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1433 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1390 1434 you have headers in a nonstandard directory <include dir> 1391 1435 CXX C++ compiler command … … 1407 1451 # If there are subdirs, report their specific --help. 1408 1452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1409 test -d "$ac_dir" || continue 1453 test -d "$ac_dir" || 1454 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1455 continue 1410 1456 ac_builddir=. 1411 1457 … … 1413 1459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1414 1460 *) 1415 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1416 1462 # A ".." for each directory in $ac_dir_suffix. 1417 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1418 1464 case $ac_top_builddir_sub in 1419 1465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1451 1497 $SHELL "$ac_srcdir/configure" --help=recursive 1452 1498 else 1453 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1454 1500 fi || ac_status=$? 1455 1501 cd "$ac_pwd" || { ac_status=$?; break; } … … 1461 1507 cat <<\_ACEOF 1462 1508 Rappture configure 1.1 1463 generated by GNU Autoconf 2.61 1464 1465 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1466 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1509 generated by GNU Autoconf 2.67 1510 1511 Copyright (C) 2010 Free Software Foundation, Inc. 1467 1512 This configure script is free software; the Free Software Foundation 1468 1513 gives unlimited permission to copy, distribute and modify it. … … 1470 1515 exit 1471 1516 fi 1517 1518 ## ------------------------ ## 1519 ## Autoconf initialization. ## 1520 ## ------------------------ ## 1521 1522 # ac_fn_c_try_compile LINENO 1523 # -------------------------- 1524 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1525 ac_fn_c_try_compile () 1526 { 1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1528 rm -f conftest.$ac_objext 1529 if { { ac_try="$ac_compile" 1530 case "(($ac_try" in 1531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1532 *) ac_try_echo=$ac_try;; 1533 esac 1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1535 $as_echo "$ac_try_echo"; } >&5 1536 (eval "$ac_compile") 2>conftest.err 1537 ac_status=$? 1538 if test -s conftest.err; then 1539 grep -v '^ *+' conftest.err >conftest.er1 1540 cat conftest.er1 >&5 1541 mv -f conftest.er1 conftest.err 1542 fi 1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1544 test $ac_status = 0; } && { 1545 test -z "$ac_c_werror_flag" || 1546 test ! -s conftest.err 1547 } && test -s conftest.$ac_objext; then : 1548 ac_retval=0 1549 else 1550 $as_echo "$as_me: failed program was:" >&5 1551 sed 's/^/| /' conftest.$ac_ext >&5 1552 1553 ac_retval=1 1554 fi 1555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1556 as_fn_set_status $ac_retval 1557 1558 } # ac_fn_c_try_compile 1559 1560 # ac_fn_cxx_try_compile LINENO 1561 # ---------------------------- 1562 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1563 ac_fn_cxx_try_compile () 1564 { 1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1566 rm -f conftest.$ac_objext 1567 if { { ac_try="$ac_compile" 1568 case "(($ac_try" in 1569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1570 *) ac_try_echo=$ac_try;; 1571 esac 1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1573 $as_echo "$ac_try_echo"; } >&5 1574 (eval "$ac_compile") 2>conftest.err 1575 ac_status=$? 1576 if test -s conftest.err; then 1577 grep -v '^ *+' conftest.err >conftest.er1 1578 cat conftest.er1 >&5 1579 mv -f conftest.er1 conftest.err 1580 fi 1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1582 test $ac_status = 0; } && { 1583 test -z "$ac_cxx_werror_flag" || 1584 test ! -s conftest.err 1585 } && test -s conftest.$ac_objext; then : 1586 ac_retval=0 1587 else 1588 $as_echo "$as_me: failed program was:" >&5 1589 sed 's/^/| /' conftest.$ac_ext >&5 1590 1591 ac_retval=1 1592 fi 1593 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1594 as_fn_set_status $ac_retval 1595 1596 } # ac_fn_cxx_try_compile 1597 1598 # ac_fn_f77_try_compile LINENO 1599 # ---------------------------- 1600 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1601 ac_fn_f77_try_compile () 1602 { 1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1604 rm -f conftest.$ac_objext 1605 if { { ac_try="$ac_compile" 1606 case "(($ac_try" in 1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1608 *) ac_try_echo=$ac_try;; 1609 esac 1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1611 $as_echo "$ac_try_echo"; } >&5 1612 (eval "$ac_compile") 2>conftest.err 1613 ac_status=$? 1614 if test -s conftest.err; then 1615 grep -v '^ *+' conftest.err >conftest.er1 1616 cat conftest.er1 >&5 1617 mv -f conftest.er1 conftest.err 1618 fi 1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1620 test $ac_status = 0; } && { 1621 test -z "$ac_f77_werror_flag" || 1622 test ! -s conftest.err 1623 } && test -s conftest.$ac_objext; then : 1624 ac_retval=0 1625 else 1626 $as_echo "$as_me: failed program was:" >&5 1627 sed 's/^/| /' conftest.$ac_ext >&5 1628 1629 ac_retval=1 1630 fi 1631 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1632 as_fn_set_status $ac_retval 1633 1634 } # ac_fn_f77_try_compile 1635 1636 # ac_fn_c_try_cpp LINENO 1637 # ---------------------- 1638 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1639 ac_fn_c_try_cpp () 1640 { 1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1642 if { { ac_try="$ac_cpp conftest.$ac_ext" 1643 case "(($ac_try" in 1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1645 *) ac_try_echo=$ac_try;; 1646 esac 1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1648 $as_echo "$ac_try_echo"; } >&5 1649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1650 ac_status=$? 1651 if test -s conftest.err; then 1652 grep -v '^ *+' conftest.err >conftest.er1 1653 cat conftest.er1 >&5 1654 mv -f conftest.er1 conftest.err 1655 fi 1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1657 test $ac_status = 0; } > conftest.i && { 1658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1659 test ! -s conftest.err 1660 }; then : 1661 ac_retval=0 1662 else 1663 $as_echo "$as_me: failed program was:" >&5 1664 sed 's/^/| /' conftest.$ac_ext >&5 1665 1666 ac_retval=1 1667 fi 1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1669 as_fn_set_status $ac_retval 1670 1671 } # ac_fn_c_try_cpp 1672 1673 # ac_fn_c_try_run LINENO 1674 # ---------------------- 1675 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1676 # that executables *can* be run. 1677 ac_fn_c_try_run () 1678 { 1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1680 if { { ac_try="$ac_link" 1681 case "(($ac_try" in 1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1683 *) ac_try_echo=$ac_try;; 1684 esac 1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1686 $as_echo "$ac_try_echo"; } >&5 1687 (eval "$ac_link") 2>&5 1688 ac_status=$? 1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1690 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1691 { { case "(($ac_try" in 1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1693 *) ac_try_echo=$ac_try;; 1694 esac 1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1696 $as_echo "$ac_try_echo"; } >&5 1697 (eval "$ac_try") 2>&5 1698 ac_status=$? 1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1700 test $ac_status = 0; }; }; then : 1701 ac_retval=0 1702 else 1703 $as_echo "$as_me: program exited with status $ac_status" >&5 1704 $as_echo "$as_me: failed program was:" >&5 1705 sed 's/^/| /' conftest.$ac_ext >&5 1706 1707 ac_retval=$ac_status 1708 fi 1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1710 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1711 as_fn_set_status $ac_retval 1712 1713 } # ac_fn_c_try_run 1714 1715 # ac_fn_c_try_link LINENO 1716 # ----------------------- 1717 # Try to link conftest.$ac_ext, and return whether this succeeded. 1718 ac_fn_c_try_link () 1719 { 1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1721 rm -f conftest.$ac_objext conftest$ac_exeext 1722 if { { ac_try="$ac_link" 1723 case "(($ac_try" in 1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1725 *) ac_try_echo=$ac_try;; 1726 esac 1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1728 $as_echo "$ac_try_echo"; } >&5 1729 (eval "$ac_link") 2>conftest.err 1730 ac_status=$? 1731 if test -s conftest.err; then 1732 grep -v '^ *+' conftest.err >conftest.er1 1733 cat conftest.er1 >&5 1734 mv -f conftest.er1 conftest.err 1735 fi 1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1737 test $ac_status = 0; } && { 1738 test -z "$ac_c_werror_flag" || 1739 test ! -s conftest.err 1740 } && test -s conftest$ac_exeext && { 1741 test "$cross_compiling" = yes || 1742 $as_test_x conftest$ac_exeext 1743 }; then : 1744 ac_retval=0 1745 else 1746 $as_echo "$as_me: failed program was:" >&5 1747 sed 's/^/| /' conftest.$ac_ext >&5 1748 1749 ac_retval=1 1750 fi 1751 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1752 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1753 # interfere with the next link command; also delete a directory that is 1754 # left behind by Apple's compiler. We do this before executing the actions. 1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1757 as_fn_set_status $ac_retval 1758 1759 } # ac_fn_c_try_link 1760 1761 # ac_fn_c_check_func LINENO FUNC VAR 1762 # ---------------------------------- 1763 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1764 ac_fn_c_check_func () 1765 { 1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1768 $as_echo_n "checking for $2... " >&6; } 1769 if eval "test \"\${$3+set}\"" = set; then : 1770 $as_echo_n "(cached) " >&6 1771 else 1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1773 /* end confdefs.h. */ 1774 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1775 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1776 #define $2 innocuous_$2 1777 1778 /* System header to define __stub macros and hopefully few prototypes, 1779 which can conflict with char $2 (); below. 1780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1781 <limits.h> exists even on freestanding compilers. */ 1782 1783 #ifdef __STDC__ 1784 # include <limits.h> 1785 #else 1786 # include <assert.h> 1787 #endif 1788 1789 #undef $2 1790 1791 /* Override any GCC internal prototype to avoid an error. 1792 Use char because int might match the return type of a GCC 1793 builtin and then its argument prototype would still apply. */ 1794 #ifdef __cplusplus 1795 extern "C" 1796 #endif 1797 char $2 (); 1798 /* The GNU C library defines this for functions which it implements 1799 to always fail with ENOSYS. Some functions are actually named 1800 something starting with __ and the normal name is an alias. */ 1801 #if defined __stub_$2 || defined __stub___$2 1802 choke me 1803 #endif 1804 1805 int 1806 main () 1807 { 1808 return $2 (); 1809 ; 1810 return 0; 1811 } 1812 _ACEOF 1813 if ac_fn_c_try_link "$LINENO"; then : 1814 eval "$3=yes" 1815 else 1816 eval "$3=no" 1817 fi 1818 rm -f core conftest.err conftest.$ac_objext \ 1819 conftest$ac_exeext conftest.$ac_ext 1820 fi 1821 eval ac_res=\$$3 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1823 $as_echo "$ac_res" >&6; } 1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1825 1826 } # ac_fn_c_check_func 1827 1828 # ac_fn_cxx_try_link LINENO 1829 # ------------------------- 1830 # Try to link conftest.$ac_ext, and return whether this succeeded. 1831 ac_fn_cxx_try_link () 1832 { 1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1834 rm -f conftest.$ac_objext conftest$ac_exeext 1835 if { { ac_try="$ac_link" 1836 case "(($ac_try" in 1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1838 *) ac_try_echo=$ac_try;; 1839 esac 1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1841 $as_echo "$ac_try_echo"; } >&5 1842 (eval "$ac_link") 2>conftest.err 1843 ac_status=$? 1844 if test -s conftest.err; then 1845 grep -v '^ *+' conftest.err >conftest.er1 1846 cat conftest.er1 >&5 1847 mv -f conftest.er1 conftest.err 1848 fi 1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1850 test $ac_status = 0; } && { 1851 test -z "$ac_cxx_werror_flag" || 1852 test ! -s conftest.err 1853 } && test -s conftest$ac_exeext && { 1854 test "$cross_compiling" = yes || 1855 $as_test_x conftest$ac_exeext 1856 }; then : 1857 ac_retval=0 1858 else 1859 $as_echo "$as_me: failed program was:" >&5 1860 sed 's/^/| /' conftest.$ac_ext >&5 1861 1862 ac_retval=1 1863 fi 1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1866 # interfere with the next link command; also delete a directory that is 1867 # left behind by Apple's compiler. We do this before executing the actions. 1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1870 as_fn_set_status $ac_retval 1871 1872 } # ac_fn_cxx_try_link 1873 1874 # ac_fn_cxx_check_func LINENO FUNC VAR 1875 # ------------------------------------ 1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1877 ac_fn_cxx_check_func () 1878 { 1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1881 $as_echo_n "checking for $2... " >&6; } 1882 if eval "test \"\${$3+set}\"" = set; then : 1883 $as_echo_n "(cached) " >&6 1884 else 1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1886 /* end confdefs.h. */ 1887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1888 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1889 #define $2 innocuous_$2 1890 1891 /* System header to define __stub macros and hopefully few prototypes, 1892 which can conflict with char $2 (); below. 1893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1894 <limits.h> exists even on freestanding compilers. */ 1895 1896 #ifdef __STDC__ 1897 # include <limits.h> 1898 #else 1899 # include <assert.h> 1900 #endif 1901 1902 #undef $2 1903 1904 /* Override any GCC internal prototype to avoid an error. 1905 Use char because int might match the return type of a GCC 1906 builtin and then its argument prototype would still apply. */ 1907 #ifdef __cplusplus 1908 extern "C" 1909 #endif 1910 char $2 (); 1911 /* The GNU C library defines this for functions which it implements 1912 to always fail with ENOSYS. Some functions are actually named 1913 something starting with __ and the normal name is an alias. */ 1914 #if defined __stub_$2 || defined __stub___$2 1915 choke me 1916 #endif 1917 1918 int 1919 main () 1920 { 1921 return $2 (); 1922 ; 1923 return 0; 1924 } 1925 _ACEOF 1926 if ac_fn_cxx_try_link "$LINENO"; then : 1927 eval "$3=yes" 1928 else 1929 eval "$3=no" 1930 fi 1931 rm -f core conftest.err conftest.$ac_objext \ 1932 conftest$ac_exeext conftest.$ac_ext 1933 fi 1934 eval ac_res=\$$3 1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1936 $as_echo "$ac_res" >&6; } 1937 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1938 1939 } # ac_fn_cxx_check_func 1940 1941 # ac_fn_cxx_try_cpp LINENO 1942 # ------------------------ 1943 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1944 ac_fn_cxx_try_cpp () 1945 { 1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1947 if { { ac_try="$ac_cpp conftest.$ac_ext" 1948 case "(($ac_try" in 1949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1950 *) ac_try_echo=$ac_try;; 1951 esac 1952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1953 $as_echo "$ac_try_echo"; } >&5 1954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1955 ac_status=$? 1956 if test -s conftest.err; then 1957 grep -v '^ *+' conftest.err >conftest.er1 1958 cat conftest.er1 >&5 1959 mv -f conftest.er1 conftest.err 1960 fi 1961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1962 test $ac_status = 0; } > conftest.i && { 1963 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1964 test ! -s conftest.err 1965 }; then : 1966 ac_retval=0 1967 else 1968 $as_echo "$as_me: failed program was:" >&5 1969 sed 's/^/| /' conftest.$ac_ext >&5 1970 1971 ac_retval=1 1972 fi 1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1974 as_fn_set_status $ac_retval 1975 1976 } # ac_fn_cxx_try_cpp 1977 1978 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1979 # --------------------------------------------------------- 1980 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1981 # the include files in INCLUDES and setting the cache variable VAR 1982 # accordingly. 1983 ac_fn_cxx_check_header_mongrel () 1984 { 1985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1986 if eval "test \"\${$3+set}\"" = set; then : 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1988 $as_echo_n "checking for $2... " >&6; } 1989 if eval "test \"\${$3+set}\"" = set; then : 1990 $as_echo_n "(cached) " >&6 1991 fi 1992 eval ac_res=\$$3 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1994 $as_echo "$ac_res" >&6; } 1995 else 1996 # Is the header compilable? 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1998 $as_echo_n "checking $2 usability... " >&6; } 1999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2000 /* end confdefs.h. */ 2001 $4 2002 #include <$2> 2003 _ACEOF 2004 if ac_fn_cxx_try_compile "$LINENO"; then : 2005 ac_header_compiler=yes 2006 else 2007 ac_header_compiler=no 2008 fi 2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2011 $as_echo "$ac_header_compiler" >&6; } 2012 2013 # Is the header present? 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2015 $as_echo_n "checking $2 presence... " >&6; } 2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2017 /* end confdefs.h. */ 2018 #include <$2> 2019 _ACEOF 2020 if ac_fn_cxx_try_cpp "$LINENO"; then : 2021 ac_header_preproc=yes 2022 else 2023 ac_header_preproc=no 2024 fi 2025 rm -f conftest.err conftest.i conftest.$ac_ext 2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2027 $as_echo "$ac_header_preproc" >&6; } 2028 2029 # So? What about this header? 2030 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2031 yes:no: ) 2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2033 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2036 ;; 2037 no:yes:* ) 2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2039 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2041 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2043 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2045 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2047 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2048 ( $as_echo "## ----------------------------------- ## 2049 ## Report this to rappture@nanohub.org ## 2050 ## ----------------------------------- ##" 2051 ) | sed "s/^/$as_me: WARNING: /" >&2 2052 ;; 2053 esac 2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2055 $as_echo_n "checking for $2... " >&6; } 2056 if eval "test \"\${$3+set}\"" = set; then : 2057 $as_echo_n "(cached) " >&6 2058 else 2059 eval "$3=\$ac_header_compiler" 2060 fi 2061 eval ac_res=\$$3 2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2063 $as_echo "$ac_res" >&6; } 2064 fi 2065 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2066 2067 } # ac_fn_cxx_check_header_mongrel 2068 2069 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2070 # --------------------------------------------------------- 2071 # Tests whether HEADER exists and can be compiled using the include files in 2072 # INCLUDES, setting the cache variable VAR accordingly. 2073 ac_fn_cxx_check_header_compile () 2074 { 2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2077 $as_echo_n "checking for $2... " >&6; } 2078 if eval "test \"\${$3+set}\"" = set; then : 2079 $as_echo_n "(cached) " >&6 2080 else 2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2082 /* end confdefs.h. */ 2083 $4 2084 #include <$2> 2085 _ACEOF 2086 if ac_fn_cxx_try_compile "$LINENO"; then : 2087 eval "$3=yes" 2088 else 2089 eval "$3=no" 2090 fi 2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2092 fi 2093 eval ac_res=\$$3 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2095 $as_echo "$ac_res" >&6; } 2096 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2097 2098 } # ac_fn_cxx_check_header_compile 2099 2100 # ac_fn_cxx_try_run LINENO 2101 # ------------------------ 2102 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2103 # that executables *can* be run. 2104 ac_fn_cxx_try_run () 2105 { 2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2107 if { { ac_try="$ac_link" 2108 case "(($ac_try" in 2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2110 *) ac_try_echo=$ac_try;; 2111 esac 2112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2113 $as_echo "$ac_try_echo"; } >&5 2114 (eval "$ac_link") 2>&5 2115 ac_status=$? 2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2117 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2118 { { case "(($ac_try" in 2119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2120 *) ac_try_echo=$ac_try;; 2121 esac 2122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2123 $as_echo "$ac_try_echo"; } >&5 2124 (eval "$ac_try") 2>&5 2125 ac_status=$? 2126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2127 test $ac_status = 0; }; }; then : 2128 ac_retval=0 2129 else 2130 $as_echo "$as_me: program exited with status $ac_status" >&5 2131 $as_echo "$as_me: failed program was:" >&5 2132 sed 's/^/| /' conftest.$ac_ext >&5 2133 2134 ac_retval=$ac_status 2135 fi 2136 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2137 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2138 as_fn_set_status $ac_retval 2139 2140 } # ac_fn_cxx_try_run 2141 2142 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2143 # ---------------------------------------------- 2144 # Tries to find the compile-time value of EXPR in a program that includes 2145 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2146 # computed 2147 ac_fn_cxx_compute_int () 2148 { 2149 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2150 if test "$cross_compiling" = yes; then 2151 # Depending upon the size, compute the lo and hi bounds. 2152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2153 /* end confdefs.h. */ 2154 $4 2155 int 2156 main () 2157 { 2158 static int test_array [1 - 2 * !(($2) >= 0)]; 2159 test_array [0] = 0 2160 2161 ; 2162 return 0; 2163 } 2164 _ACEOF 2165 if ac_fn_cxx_try_compile "$LINENO"; then : 2166 ac_lo=0 ac_mid=0 2167 while :; do 2168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2169 /* end confdefs.h. */ 2170 $4 2171 int 2172 main () 2173 { 2174 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2175 test_array [0] = 0 2176 2177 ; 2178 return 0; 2179 } 2180 _ACEOF 2181 if ac_fn_cxx_try_compile "$LINENO"; then : 2182 ac_hi=$ac_mid; break 2183 else 2184 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2185 if test $ac_lo -le $ac_mid; then 2186 ac_lo= ac_hi= 2187 break 2188 fi 2189 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2190 fi 2191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2192 done 2193 else 2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2195 /* end confdefs.h. */ 2196 $4 2197 int 2198 main () 2199 { 2200 static int test_array [1 - 2 * !(($2) < 0)]; 2201 test_array [0] = 0 2202 2203 ; 2204 return 0; 2205 } 2206 _ACEOF 2207 if ac_fn_cxx_try_compile "$LINENO"; then : 2208 ac_hi=-1 ac_mid=-1 2209 while :; do 2210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2211 /* end confdefs.h. */ 2212 $4 2213 int 2214 main () 2215 { 2216 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2217 test_array [0] = 0 2218 2219 ; 2220 return 0; 2221 } 2222 _ACEOF 2223 if ac_fn_cxx_try_compile "$LINENO"; then : 2224 ac_lo=$ac_mid; break 2225 else 2226 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2227 if test $ac_mid -le $ac_hi; then 2228 ac_lo= ac_hi= 2229 break 2230 fi 2231 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2232 fi 2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2234 done 2235 else 2236 ac_lo= ac_hi= 2237 fi 2238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2239 fi 2240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2241 # Binary search between lo and hi bounds. 2242 while test "x$ac_lo" != "x$ac_hi"; do 2243 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2245 /* end confdefs.h. */ 2246 $4 2247 int 2248 main () 2249 { 2250 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2251 test_array [0] = 0 2252 2253 ; 2254 return 0; 2255 } 2256 _ACEOF 2257 if ac_fn_cxx_try_compile "$LINENO"; then : 2258 ac_hi=$ac_mid 2259 else 2260 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2261 fi 2262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2263 done 2264 case $ac_lo in #(( 2265 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2266 '') ac_retval=1 ;; 2267 esac 2268 else 2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2270 /* end confdefs.h. */ 2271 $4 2272 static long int longval () { return $2; } 2273 static unsigned long int ulongval () { return $2; } 2274 #include <stdio.h> 2275 #include <stdlib.h> 2276 int 2277 main () 2278 { 2279 2280 FILE *f = fopen ("conftest.val", "w"); 2281 if (! f) 2282 return 1; 2283 if (($2) < 0) 2284 { 2285 long int i = longval (); 2286 if (i != ($2)) 2287 return 1; 2288 fprintf (f, "%ld", i); 2289 } 2290 else 2291 { 2292 unsigned long int i = ulongval (); 2293 if (i != ($2)) 2294 return 1; 2295 fprintf (f, "%lu", i); 2296 } 2297 /* Do not output a trailing newline, as this causes \r\n confusion 2298 on some platforms. */ 2299 return ferror (f) || fclose (f) != 0; 2300 2301 ; 2302 return 0; 2303 } 2304 _ACEOF 2305 if ac_fn_cxx_try_run "$LINENO"; then : 2306 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2307 else 2308 ac_retval=1 2309 fi 2310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2311 conftest.$ac_objext conftest.beam conftest.$ac_ext 2312 rm -f conftest.val 2313 2314 fi 2315 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2316 as_fn_set_status $ac_retval 2317 2318 } # ac_fn_cxx_compute_int 1472 2319 cat >config.log <<_ACEOF 1473 2320 This file contains any messages produced by compilers while … … 1475 2322 1476 2323 It was created by Rappture $as_me 1.1, which was 1477 generated by GNU Autoconf 2.6 1. Invocation command line was2324 generated by GNU Autoconf 2.67. Invocation command line was 1478 2325 1479 2326 $ $0 $@ … … 1511 2358 IFS=$as_save_IFS 1512 2359 test -z "$as_dir" && as_dir=. 1513 echo "PATH: $as_dir"1514 done2360 $as_echo "PATH: $as_dir" 2361 done 1515 2362 IFS=$as_save_IFS 1516 2363 … … 1546 2393 continue ;; 1547 2394 *\'*) 1548 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2395 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1549 2396 esac 1550 2397 case $ac_pass in 1551 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2398 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1552 2399 2) 1553 a c_configure_args1="$ac_configure_args1'$ac_arg'"2400 as_fn_append ac_configure_args1 " '$ac_arg'" 1554 2401 if test $ac_must_keep_next = true; then 1555 2402 ac_must_keep_next=false # Got value, back to normal. … … 1567 2414 esac 1568 2415 fi 1569 a c_configure_args="$ac_configure_args'$ac_arg'"2416 as_fn_append ac_configure_args " '$ac_arg'" 1570 2417 ;; 1571 2418 esac 1572 2419 done 1573 2420 done 1574 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1575 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2421 { ac_configure_args0=; unset ac_configure_args0;} 2422 { ac_configure_args1=; unset ac_configure_args1;} 1576 2423 1577 2424 # When interrupted or exit'd, cleanup temporary files, and complete … … 1585 2432 echo 1586 2433 1587 cat <<\_ASBOX 1588 ## ---------------- ## 2434 $as_echo "## ---------------- ## 1589 2435 ## Cache variables. ## 1590 ## ---------------- ## 1591 _ASBOX 2436 ## ---------------- ##" 1592 2437 echo 1593 2438 # The following way of writing the cache mishandles newlines in values, … … 1598 2443 *${as_nl}*) 1599 2444 case $ac_var in #( 1600 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51601 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2445 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1602 2447 esac 1603 2448 case $ac_var in #( 1604 2449 _ | IFS | as_nl) ;; #( 1605 *) $as_unset $ac_var ;; 2450 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2451 *) { eval $ac_var=; unset $ac_var;} ;; 1606 2452 esac ;; 1607 2453 esac … … 1622 2468 echo 1623 2469 1624 cat <<\_ASBOX 1625 ## ----------------- ## 2470 $as_echo "## ----------------- ## 1626 2471 ## Output variables. ## 1627 ## ----------------- ## 1628 _ASBOX 2472 ## ----------------- ##" 1629 2473 echo 1630 2474 for ac_var in $ac_subst_vars … … 1632 2476 eval ac_val=\$$ac_var 1633 2477 case $ac_val in 1634 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2478 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1635 2479 esac 1636 echo "$ac_var='\''$ac_val'\''"2480 $as_echo "$ac_var='\''$ac_val'\''" 1637 2481 done | sort 1638 2482 echo 1639 2483 1640 2484 if test -n "$ac_subst_files"; then 1641 cat <<\_ASBOX 1642 ## ------------------- ## 2485 $as_echo "## ------------------- ## 1643 2486 ## File substitutions. ## 1644 ## ------------------- ## 1645 _ASBOX 2487 ## ------------------- ##" 1646 2488 echo 1647 2489 for ac_var in $ac_subst_files … … 1649 2491 eval ac_val=\$$ac_var 1650 2492 case $ac_val in 1651 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2493 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1652 2494 esac 1653 echo "$ac_var='\''$ac_val'\''"2495 $as_echo "$ac_var='\''$ac_val'\''" 1654 2496 done | sort 1655 2497 echo … … 1657 2499 1658 2500 if test -s confdefs.h; then 1659 cat <<\_ASBOX 1660 ## ----------- ## 2501 $as_echo "## ----------- ## 1661 2502 ## confdefs.h. ## 1662 ## ----------- ## 1663 _ASBOX 2503 ## ----------- ##" 1664 2504 echo 1665 2505 cat confdefs.h … … 1667 2507 fi 1668 2508 test "$ac_signal" != 0 && 1669 echo "$as_me: caught signal $ac_signal"1670 echo "$as_me: exit $exit_status"2509 $as_echo "$as_me: caught signal $ac_signal" 2510 $as_echo "$as_me: exit $exit_status" 1671 2511 } >&5 1672 2512 rm -f core *.core core.conftest.* && … … 1675 2515 ' 0 1676 2516 for ac_signal in 1 2 13 15; do 1677 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2517 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1678 2518 done 1679 2519 ac_signal=0 … … 1682 2522 rm -f -r conftest* confdefs.h 1683 2523 2524 $as_echo "/* confdefs.h */" > confdefs.h 2525 1684 2526 # Predefined preprocessor variables. 1685 2527 … … 1688 2530 _ACEOF 1689 2531 1690 1691 2532 cat >>confdefs.h <<_ACEOF 1692 2533 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1693 2534 _ACEOF 1694 2535 1695 1696 2536 cat >>confdefs.h <<_ACEOF 1697 2537 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1698 2538 _ACEOF 1699 2539 1700 1701 2540 cat >>confdefs.h <<_ACEOF 1702 2541 #define PACKAGE_STRING "$PACKAGE_STRING" 1703 2542 _ACEOF 1704 2543 1705 1706 2544 cat >>confdefs.h <<_ACEOF 1707 2545 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1708 2546 _ACEOF 1709 2547 2548 cat >>confdefs.h <<_ACEOF 2549 #define PACKAGE_URL "$PACKAGE_URL" 2550 _ACEOF 2551 1710 2552 1711 2553 # Let the site file select an alternate cache file if it wants to. 1712 # Prefer explicitly selected file to automatically selected ones. 2554 # Prefer an explicitly selected file to automatically selected ones. 2555 ac_site_file1=NONE 2556 ac_site_file2=NONE 1713 2557 if test -n "$CONFIG_SITE"; then 1714 set x "$CONFIG_SITE" 2558 # We do not want a PATH search for config.site. 2559 case $CONFIG_SITE in #(( 2560 -*) ac_site_file1=./$CONFIG_SITE;; 2561 */*) ac_site_file1=$CONFIG_SITE;; 2562 *) ac_site_file1=./$CONFIG_SITE;; 2563 esac 1715 2564 elif test "x$prefix" != xNONE; then 1716 set x "$prefix/share/config.site" "$prefix/etc/config.site"1717 else1718 set x "$ac_default_prefix/share/config.site" \ 1719 "$ac_default_prefix/etc/config.site" 1720 fi 1721 shift 1722 for ac_site_file 2565 ac_site_file1=$prefix/share/config.site 2566 ac_site_file2=$prefix/etc/config.site 2567 else 2568 ac_site_file1=$ac_default_prefix/share/config.site 2569 ac_site_file2=$ac_default_prefix/etc/config.site 2570 fi 2571 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1723 2572 do 1724 if test -r "$ac_site_file"; then 1725 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1726 echo "$as_me: loading site script $ac_site_file" >&6;} 2573 test "x$ac_site_file" = xNONE && continue 2574 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2576 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1727 2577 sed 's/^/| /' "$ac_site_file" >&5 1728 . "$ac_site_file" 2578 . "$ac_site_file" \ 2579 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2581 as_fn_error $? "failed to load site script $ac_site_file 2582 See \`config.log' for more details" "$LINENO" 5 ; } 1729 2583 fi 1730 2584 done 1731 2585 1732 2586 if test -r "$cache_file"; then 1733 # Some versions of bash will fail to source /dev/null (special 1734 # files actually), so we avoid doing that.1735 if test -f "$cache_file"; then1736 { echo "$as_me:$LINENO: loading cache $cache_file" >&51737 echo "$as_me: loading cache $cache_file" >&6;}2587 # Some versions of bash will fail to source /dev/null (special files 2588 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2589 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2590 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2591 $as_echo "$as_me: loading cache $cache_file" >&6;} 1738 2592 case $cache_file in 1739 2593 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1742 2596 fi 1743 2597 else 1744 { echo "$as_me:$LINENO: creating cache $cache_file" >&51745 echo "$as_me: creating cache $cache_file" >&6;}2598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2599 $as_echo "$as_me: creating cache $cache_file" >&6;} 1746 2600 >$cache_file 1747 2601 fi … … 1757 2611 case $ac_old_set,$ac_new_set in 1758 2612 set,) 1759 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51760 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2614 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1761 2615 ac_cache_corrupted=: ;; 1762 2616 ,set) 1763 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51764 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2618 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1765 2619 ac_cache_corrupted=: ;; 1766 2620 ,);; 1767 2621 *) 1768 2622 if test "x$ac_old_val" != "x$ac_new_val"; then 1769 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1770 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1771 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1772 echo "$as_me: former value: $ac_old_val" >&2;} 1773 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1774 echo "$as_me: current value: $ac_new_val" >&2;} 1775 ac_cache_corrupted=: 2623 # differences in whitespace do not lead to failure. 2624 ac_old_val_w=`echo x $ac_old_val` 2625 ac_new_val_w=`echo x $ac_new_val` 2626 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2628 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2629 ac_cache_corrupted=: 2630 else 2631 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2632 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2633 eval $ac_var=\$ac_old_val 2634 fi 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2636 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2637 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2638 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1776 2639 fi;; 1777 2640 esac … … 1779 2642 if test "$ac_new_set" = set; then 1780 2643 case $ac_new_val in 1781 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2644 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1782 2645 *) ac_arg=$ac_var=$ac_new_val ;; 1783 2646 esac 1784 2647 case " $ac_configure_args " in 1785 2648 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1786 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2649 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1787 2650 esac 1788 2651 fi 1789 2652 done 1790 2653 if $ac_cache_corrupted; then 1791 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1792 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1793 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1794 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1795 { (exit 1); exit 1; }; } 1796 fi 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2657 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2658 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2659 fi 2660 ## -------------------- ## 2661 ## Main body of script. ## 2662 ## -------------------- ## 1821 2663 1822 2664 ac_ext=c … … 1844 2686 done 1845 2687 if test -z "$ac_aux_dir"; then 1846 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1847 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1848 { (exit 1); exit 1; }; } 2688 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1849 2689 fi 1850 2690 … … 1893 2733 # OS/2's system install, which has a completely different semantic 1894 2734 # ./install, which can be erroneously created by make from ./install.sh. 1895 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1896 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2735 # Reject install programs that cannot install multiple files. 2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2737 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1897 2738 if test -z "$INSTALL"; then 1898 if test "${ac_cv_path_install+set}" = set; then 1899 echo $ECHO_N "(cached) $ECHO_C" >&62739 if test "${ac_cv_path_install+set}" = set; then : 2740 $as_echo_n "(cached) " >&6 1900 2741 else 1901 2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1904 2745 IFS=$as_save_IFS 1905 2746 test -z "$as_dir" && as_dir=. 1906 # Account for people who put trailing slashes in PATH elements.1907 case $as_dir/ in 1908 ./ | .// | / cC/* | \2747 # Account for people who put trailing slashes in PATH elements. 2748 case $as_dir/ in #(( 2749 ./ | .// | /[cC]/* | \ 1909 2750 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1910 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2751 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1911 2752 /usr/ucb/* ) ;; 1912 2753 *) … … 1926 2767 : 1927 2768 else 1928 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1929 break 3 2769 rm -rf conftest.one conftest.two conftest.dir 2770 echo one > conftest.one 2771 echo two > conftest.two 2772 mkdir conftest.dir 2773 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2774 test -s conftest.one && test -s conftest.two && 2775 test -s conftest.dir/conftest.one && 2776 test -s conftest.dir/conftest.two 2777 then 2778 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2779 break 3 2780 fi 1930 2781 fi 1931 2782 fi … … 1934 2785 ;; 1935 2786 esac 1936 done 2787 2788 done 1937 2789 IFS=$as_save_IFS 1938 2790 2791 rm -rf conftest.one conftest.two conftest.dir 1939 2792 1940 2793 fi … … 1949 2802 fi 1950 2803 fi 1951 { echo "$as_me:$LINENO: result: $INSTALL" >&51952 echo "${ECHO_T}$INSTALL" >&6; }2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2805 $as_echo "$INSTALL" >&6; } 1953 2806 1954 2807 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1960 2813 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1961 2814 1962 # Find a good install program. We prefer a C program (faster),1963 # so one script is as good as another. But avoid the broken or1964 # incompatible versions:1965 # SysV /etc/install, /usr/sbin/install1966 # SunOS /usr/etc/install1967 # IRIX /sbin/install1968 # AIX /bin/install1969 # AmigaOS /C/install, which installs bootblocks on floppy discs1970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1973 # OS/2's system install, which has a completely different semantic1974 # ./install, which can be erroneously created by make from ./install.sh.1975 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }1977 if test -z "$INSTALL"; then1978 if test "${ac_cv_path_install+set}" = set; then1979 echo $ECHO_N "(cached) $ECHO_C" >&61980 else1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1982 for as_dir in $PATH1983 do1984 IFS=$as_save_IFS1985 test -z "$as_dir" && as_dir=.1986 # Account for people who put trailing slashes in PATH elements.1987 case $as_dir/ in1988 ./ | .// | /cC/* | \1989 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \1990 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \1991 /usr/ucb/* ) ;;1992 *)1993 # OSF1 and SCO ODT 3.0 have their own names for install.1994 # Don't use installbsd from OSF since it installs stuff as root1995 # by default.1996 for ac_prog in ginstall scoinst install; do1997 for ac_exec_ext in '' $ac_executable_extensions; do1998 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then1999 if test $ac_prog = install &&2000 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2001 # AIX install. It has an incompatible calling convention.2002 :2003 elif test $ac_prog = install &&2004 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2005 # program-specific install script used by HP pwplus--don't use.2006 :2007 else2008 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2009 break 32010 fi2011 fi2012 done2013 done2014 ;;2015 esac2016 done2017 IFS=$as_save_IFS2018 2019 2020 fi2021 if test "${ac_cv_path_install+set}" = set; then2022 INSTALL=$ac_cv_path_install2023 else2024 # As a last resort, use the slow shell script. Don't cache a2025 # value for INSTALL within a source directory, because that will2026 # break other packages using the cache if that directory is2027 # removed, or if the value is a relative name.2028 INSTALL=$ac_install_sh2029 fi2030 fi2031 { echo "$as_me:$LINENO: result: $INSTALL" >&52032 echo "${ECHO_T}$INSTALL" >&6; }2033 2034 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2035 # It thinks the first close brace ends the variable substitution.2036 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2037 2038 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2039 2040 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2041 2815 2042 2816 if test -n "$ac_tool_prefix"; then 2043 2817 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2044 2818 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2045 { echo "$as_me:$LINENO: checking for $ac_word" >&52046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2047 if test "${ac_cv_prog_RANLIB+set}" = set; then 2048 echo $ECHO_N "(cached) $ECHO_C" >&62819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2820 $as_echo_n "checking for $ac_word... " >&6; } 2821 if test "${ac_cv_prog_RANLIB+set}" = set; then : 2822 $as_echo_n "(cached) " >&6 2049 2823 else 2050 2824 if test -n "$RANLIB"; then … … 2056 2830 IFS=$as_save_IFS 2057 2831 test -z "$as_dir" && as_dir=. 2058 for ac_exec_ext in '' $ac_executable_extensions; do2832 for ac_exec_ext in '' $ac_executable_extensions; do 2059 2833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2060 2834 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2062 2836 break 2 2063 2837 fi 2064 2838 done 2065 done2839 done 2066 2840 IFS=$as_save_IFS 2067 2841 … … 2070 2844 RANLIB=$ac_cv_prog_RANLIB 2071 2845 if test -n "$RANLIB"; then 2072 { echo "$as_me:$LINENO: result: $RANLIB" >&52073 echo "${ECHO_T}$RANLIB" >&6; }2074 else 2075 { echo "$as_me:$LINENO: result: no" >&52076 echo "${ECHO_T}no" >&6; }2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2847 $as_echo "$RANLIB" >&6; } 2848 else 2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2850 $as_echo "no" >&6; } 2077 2851 fi 2078 2852 … … 2083 2857 # Extract the first word of "ranlib", so it can be a program name with args. 2084 2858 set dummy ranlib; ac_word=$2 2085 { echo "$as_me:$LINENO: checking for $ac_word" >&52086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2087 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2088 echo $ECHO_N "(cached) $ECHO_C" >&62859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2860 $as_echo_n "checking for $ac_word... " >&6; } 2861 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 2862 $as_echo_n "(cached) " >&6 2089 2863 else 2090 2864 if test -n "$ac_ct_RANLIB"; then … … 2096 2870 IFS=$as_save_IFS 2097 2871 test -z "$as_dir" && as_dir=. 2098 for ac_exec_ext in '' $ac_executable_extensions; do2872 for ac_exec_ext in '' $ac_executable_extensions; do 2099 2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2100 2874 ac_cv_prog_ac_ct_RANLIB="ranlib" 2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2102 2876 break 2 2103 2877 fi 2104 2878 done 2105 done2879 done 2106 2880 IFS=$as_save_IFS 2107 2881 … … 2110 2884 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2111 2885 if test -n "$ac_ct_RANLIB"; then 2112 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52113 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2114 else 2115 { echo "$as_me:$LINENO: result: no" >&52116 echo "${ECHO_T}no" >&6; }2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2887 $as_echo "$ac_ct_RANLIB" >&6; } 2888 else 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2890 $as_echo "no" >&6; } 2117 2891 fi 2118 2892 … … 2122 2896 case $cross_compiling:$ac_tool_warned in 2123 2897 yes:) 2124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2125 whose name does not start with the host triplet. If you think this 2126 configuration is useful to you, please write to autoconf@gnu.org." >&5 2127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2128 whose name does not start with the host triplet. If you think this 2129 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2130 2900 ac_tool_warned=yes ;; 2131 2901 esac … … 2136 2906 fi 2137 2907 2138 { echo "$as_me:$LINENO: checking whether ln -s works" >&52139 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2909 $as_echo_n "checking whether ln -s works... " >&6; } 2140 2910 LN_S=$as_ln_s 2141 2911 if test "$LN_S" = "ln -s"; then 2142 { echo "$as_me:$LINENO: result: yes" >&52143 echo "${ECHO_T}yes" >&6; }2144 else 2145 { echo "$as_me:$LINENO: result: no, using $LN_S" >&52146 echo "${ECHO_T}no, using $LN_S" >&6; }2147 fi 2148 2149 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52150 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2913 $as_echo "yes" >&6; } 2914 else 2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2916 $as_echo "no, using $LN_S" >&6; } 2917 fi 2918 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2920 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2151 2921 if test -z "$MKDIR_P"; then 2152 if test "${ac_cv_path_mkdir+set}" = set; then 2153 echo $ECHO_N "(cached) $ECHO_C" >&62922 if test "${ac_cv_path_mkdir+set}" = set; then : 2923 $as_echo_n "(cached) " >&6 2154 2924 else 2155 2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2158 2928 IFS=$as_save_IFS 2159 2929 test -z "$as_dir" && as_dir=. 2160 for ac_prog in mkdir gmkdir; do2930 for ac_prog in mkdir gmkdir; do 2161 2931 for ac_exec_ext in '' $ac_executable_extensions; do 2162 2932 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 2170 2940 done 2171 2941 done 2172 done2942 done 2173 2943 IFS=$as_save_IFS 2174 2944 2175 2945 fi 2176 2946 2947 test -d ./--version && rmdir ./--version 2177 2948 if test "${ac_cv_path_mkdir+set}" = set; then 2178 2949 MKDIR_P="$ac_cv_path_mkdir -p" … … 2182 2953 # break other packages using the cache if that directory is 2183 2954 # removed, or if the value is a relative name. 2184 test -d ./--version && rmdir ./--version2185 2955 MKDIR_P="$ac_install_sh -d" 2186 2956 fi 2187 2957 fi 2188 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2189 echo "${ECHO_T}$MKDIR_P" >&6; } 2190 2191 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2192 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2193 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2194 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2195 echo $ECHO_N "(cached) $ECHO_C" >&6 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2959 $as_echo "$MKDIR_P" >&6; } 2960 2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2962 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2963 set x ${MAKE-make} 2964 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2965 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2966 $as_echo_n "(cached) " >&6 2196 2967 else 2197 2968 cat >conftest.make <<\_ACEOF … … 2200 2971 @echo '@@@%%%=$(MAKE)=@@@%%%' 2201 2972 _ACEOF 2202 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.2973 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2203 2974 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2204 2975 *@@@%%%=?*=@@@%%%*) … … 2210 2981 fi 2211 2982 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2212 { echo "$as_me:$LINENO: result: yes" >&52213 echo "${ECHO_T}yes" >&6; }2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2984 $as_echo "yes" >&6; } 2214 2985 SET_MAKE= 2215 2986 else 2216 { echo "$as_me:$LINENO: result: no" >&52217 echo "${ECHO_T}no" >&6; }2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2988 $as_echo "no" >&6; } 2218 2989 SET_MAKE="MAKE=${MAKE-make}" 2219 2990 fi … … 2229 3000 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2230 3001 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2231 { echo "$as_me:$LINENO: checking for $ac_word" >&52232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2233 if test "${ac_cv_prog_CC+set}" = set; then 2234 echo $ECHO_N "(cached) $ECHO_C" >&63002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3003 $as_echo_n "checking for $ac_word... " >&6; } 3004 if test "${ac_cv_prog_CC+set}" = set; then : 3005 $as_echo_n "(cached) " >&6 2235 3006 else 2236 3007 if test -n "$CC"; then … … 2242 3013 IFS=$as_save_IFS 2243 3014 test -z "$as_dir" && as_dir=. 2244 for ac_exec_ext in '' $ac_executable_extensions; do3015 for ac_exec_ext in '' $ac_executable_extensions; do 2245 3016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2246 3017 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2248 3019 break 2 2249 3020 fi 2250 3021 done 2251 done3022 done 2252 3023 IFS=$as_save_IFS 2253 3024 … … 2256 3027 CC=$ac_cv_prog_CC 2257 3028 if test -n "$CC"; then 2258 { echo "$as_me:$LINENO: result: $CC" >&52259 echo "${ECHO_T}$CC" >&6; }2260 else 2261 { echo "$as_me:$LINENO: result: no" >&52262 echo "${ECHO_T}no" >&6; }3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3030 $as_echo "$CC" >&6; } 3031 else 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3033 $as_echo "no" >&6; } 2263 3034 fi 2264 3035 … … 2269 3040 # Extract the first word of "gcc", so it can be a program name with args. 2270 3041 set dummy gcc; ac_word=$2 2271 { echo "$as_me:$LINENO: checking for $ac_word" >&52272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2274 echo $ECHO_N "(cached) $ECHO_C" >&63042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3043 $as_echo_n "checking for $ac_word... " >&6; } 3044 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3045 $as_echo_n "(cached) " >&6 2275 3046 else 2276 3047 if test -n "$ac_ct_CC"; then … … 2282 3053 IFS=$as_save_IFS 2283 3054 test -z "$as_dir" && as_dir=. 2284 for ac_exec_ext in '' $ac_executable_extensions; do3055 for ac_exec_ext in '' $ac_executable_extensions; do 2285 3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2286 3057 ac_cv_prog_ac_ct_CC="gcc" 2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2288 3059 break 2 2289 3060 fi 2290 3061 done 2291 done3062 done 2292 3063 IFS=$as_save_IFS 2293 3064 … … 2296 3067 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2297 3068 if test -n "$ac_ct_CC"; then 2298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52299 echo "${ECHO_T}$ac_ct_CC" >&6; }2300 else 2301 { echo "$as_me:$LINENO: result: no" >&52302 echo "${ECHO_T}no" >&6; }3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3070 $as_echo "$ac_ct_CC" >&6; } 3071 else 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3073 $as_echo "no" >&6; } 2303 3074 fi 2304 3075 … … 2308 3079 case $cross_compiling:$ac_tool_warned in 2309 3080 yes:) 2310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2311 whose name does not start with the host triplet. If you think this 2312 configuration is useful to you, please write to autoconf@gnu.org." >&5 2313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2314 whose name does not start with the host triplet. If you think this 2315 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2316 3083 ac_tool_warned=yes ;; 2317 3084 esac … … 2326 3093 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2327 3094 set dummy ${ac_tool_prefix}cc; ac_word=$2 2328 { echo "$as_me:$LINENO: checking for $ac_word" >&52329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2330 if test "${ac_cv_prog_CC+set}" = set; then 2331 echo $ECHO_N "(cached) $ECHO_C" >&63095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3096 $as_echo_n "checking for $ac_word... " >&6; } 3097 if test "${ac_cv_prog_CC+set}" = set; then : 3098 $as_echo_n "(cached) " >&6 2332 3099 else 2333 3100 if test -n "$CC"; then … … 2339 3106 IFS=$as_save_IFS 2340 3107 test -z "$as_dir" && as_dir=. 2341 for ac_exec_ext in '' $ac_executable_extensions; do3108 for ac_exec_ext in '' $ac_executable_extensions; do 2342 3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2343 3110 ac_cv_prog_CC="${ac_tool_prefix}cc" 2344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2345 3112 break 2 2346 3113 fi 2347 3114 done 2348 done3115 done 2349 3116 IFS=$as_save_IFS 2350 3117 … … 2353 3120 CC=$ac_cv_prog_CC 2354 3121 if test -n "$CC"; then 2355 { echo "$as_me:$LINENO: result: $CC" >&52356 echo "${ECHO_T}$CC" >&6; }2357 else 2358 { echo "$as_me:$LINENO: result: no" >&52359 echo "${ECHO_T}no" >&6; }3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3123 $as_echo "$CC" >&6; } 3124 else 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3126 $as_echo "no" >&6; } 2360 3127 fi 2361 3128 … … 2366 3133 # Extract the first word of "cc", so it can be a program name with args. 2367 3134 set dummy cc; ac_word=$2 2368 { echo "$as_me:$LINENO: checking for $ac_word" >&52369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2370 if test "${ac_cv_prog_CC+set}" = set; then 2371 echo $ECHO_N "(cached) $ECHO_C" >&63135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3136 $as_echo_n "checking for $ac_word... " >&6; } 3137 if test "${ac_cv_prog_CC+set}" = set; then : 3138 $as_echo_n "(cached) " >&6 2372 3139 else 2373 3140 if test -n "$CC"; then … … 2380 3147 IFS=$as_save_IFS 2381 3148 test -z "$as_dir" && as_dir=. 2382 for ac_exec_ext in '' $ac_executable_extensions; do3149 for ac_exec_ext in '' $ac_executable_extensions; do 2383 3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2384 3151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2387 3154 fi 2388 3155 ac_cv_prog_CC="cc" 2389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2390 3157 break 2 2391 3158 fi 2392 3159 done 2393 done3160 done 2394 3161 IFS=$as_save_IFS 2395 3162 … … 2410 3177 CC=$ac_cv_prog_CC 2411 3178 if test -n "$CC"; then 2412 { echo "$as_me:$LINENO: result: $CC" >&52413 echo "${ECHO_T}$CC" >&6; }2414 else 2415 { echo "$as_me:$LINENO: result: no" >&52416 echo "${ECHO_T}no" >&6; }3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3180 $as_echo "$CC" >&6; } 3181 else 3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3183 $as_echo "no" >&6; } 2417 3184 fi 2418 3185 … … 2425 3192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2426 3193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2427 { echo "$as_me:$LINENO: checking for $ac_word" >&52428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2429 if test "${ac_cv_prog_CC+set}" = set; then 2430 echo $ECHO_N "(cached) $ECHO_C" >&63194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3195 $as_echo_n "checking for $ac_word... " >&6; } 3196 if test "${ac_cv_prog_CC+set}" = set; then : 3197 $as_echo_n "(cached) " >&6 2431 3198 else 2432 3199 if test -n "$CC"; then … … 2438 3205 IFS=$as_save_IFS 2439 3206 test -z "$as_dir" && as_dir=. 2440 for ac_exec_ext in '' $ac_executable_extensions; do3207 for ac_exec_ext in '' $ac_executable_extensions; do 2441 3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2442 3209 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2444 3211 break 2 2445 3212 fi 2446 3213 done 2447 done3214 done 2448 3215 IFS=$as_save_IFS 2449 3216 … … 2452 3219 CC=$ac_cv_prog_CC 2453 3220 if test -n "$CC"; then 2454 { echo "$as_me:$LINENO: result: $CC" >&52455 echo "${ECHO_T}$CC" >&6; }2456 else 2457 { echo "$as_me:$LINENO: result: no" >&52458 echo "${ECHO_T}no" >&6; }3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3222 $as_echo "$CC" >&6; } 3223 else 3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3225 $as_echo "no" >&6; } 2459 3226 fi 2460 3227 … … 2469 3236 # Extract the first word of "$ac_prog", so it can be a program name with args. 2470 3237 set dummy $ac_prog; ac_word=$2 2471 { echo "$as_me:$LINENO: checking for $ac_word" >&52472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2473 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2474 echo $ECHO_N "(cached) $ECHO_C" >&63238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3239 $as_echo_n "checking for $ac_word... " >&6; } 3240 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3241 $as_echo_n "(cached) " >&6 2475 3242 else 2476 3243 if test -n "$ac_ct_CC"; then … … 2482 3249 IFS=$as_save_IFS 2483 3250 test -z "$as_dir" && as_dir=. 2484 for ac_exec_ext in '' $ac_executable_extensions; do3251 for ac_exec_ext in '' $ac_executable_extensions; do 2485 3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2486 3253 ac_cv_prog_ac_ct_CC="$ac_prog" 2487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2488 3255 break 2 2489 3256 fi 2490 3257 done 2491 done3258 done 2492 3259 IFS=$as_save_IFS 2493 3260 … … 2496 3263 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2497 3264 if test -n "$ac_ct_CC"; then 2498 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52499 echo "${ECHO_T}$ac_ct_CC" >&6; }2500 else 2501 { echo "$as_me:$LINENO: result: no" >&52502 echo "${ECHO_T}no" >&6; }3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3266 $as_echo "$ac_ct_CC" >&6; } 3267 else 3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3269 $as_echo "no" >&6; } 2503 3270 fi 2504 3271 … … 2512 3279 case $cross_compiling:$ac_tool_warned in 2513 3280 yes:) 2514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2515 whose name does not start with the host triplet. If you think this 2516 configuration is useful to you, please write to autoconf@gnu.org." >&5 2517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2518 whose name does not start with the host triplet. If you think this 2519 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2520 3283 ac_tool_warned=yes ;; 2521 3284 esac … … 2527 3290 2528 3291 2529 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2530 See \`config.log' for more details." >&5 2531 echo "$as_me: error: no acceptable C compiler found in \$PATH 2532 See \`config.log' for more details." >&2;} 2533 { (exit 1); exit 1; }; } 3292 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3294 as_fn_error $? "no acceptable C compiler found in \$PATH 3295 See \`config.log' for more details" "$LINENO" 5 ; } 2534 3296 2535 3297 # Provide some information about the compiler. 2536 echo "$as_me:$LINENO: checking for C compiler version" >&5 2537 ac_compiler=`set X $ac_compile; echo $2` 2538 { (ac_try="$ac_compiler --version >&5" 3298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3299 set X $ac_compile 3300 ac_compiler=$2 3301 for ac_option in --version -v -V -qversion; do 3302 { { ac_try="$ac_compiler $ac_option >&5" 2539 3303 case "(($ac_try" in 2540 3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2541 3305 *) ac_try_echo=$ac_try;; 2542 3306 esac 2543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2544 (eval "$ac_compiler --version >&5") 2>&5 3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3308 $as_echo "$ac_try_echo"; } >&5 3309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2545 3310 ac_status=$? 2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2547 (exit $ac_status); } 2548 { (ac_try="$ac_compiler -v >&5" 3311 if test -s conftest.err; then 3312 sed '10a\ 3313 ... rest of stderr output deleted ... 3314 10q' conftest.err >conftest.er1 3315 cat conftest.er1 >&5 3316 fi 3317 rm -f conftest.er1 conftest.err 3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3319 test $ac_status = 0; } 3320 done 3321 3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3323 /* end confdefs.h. */ 3324 3325 int 3326 main () 3327 { 3328 3329 ; 3330 return 0; 3331 } 3332 _ACEOF 3333 ac_clean_files_save=$ac_clean_files 3334 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3335 # Try to create an executable without -o first, disregard a.out. 3336 # It will help us diagnose broken compilers, and finding out an intuition 3337 # of exeext. 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3339 $as_echo_n "checking whether the C compiler works... " >&6; } 3340 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3341 3342 # The possible output files: 3343 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3344 3345 ac_rmfiles= 3346 for ac_file in $ac_files 3347 do 3348 case $ac_file in 3349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3350 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3351 esac 3352 done 3353 rm -f $ac_rmfiles 3354 3355 if { { ac_try="$ac_link_default" 2549 3356 case "(($ac_try" in 2550 3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2551 3358 *) ac_try_echo=$ac_try;; 2552 3359 esac 2553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2554 (eval "$ac_compiler -v >&5") 2>&5 2555 ac_status=$? 2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2557 (exit $ac_status); } 2558 { (ac_try="$ac_compiler -V >&5" 2559 case "(($ac_try" in 2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2561 *) ac_try_echo=$ac_try;; 2562 esac 2563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2564 (eval "$ac_compiler -V >&5") 2>&5 2565 ac_status=$? 2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2567 (exit $ac_status); } 2568 2569 cat >conftest.$ac_ext <<_ACEOF 2570 /* confdefs.h. */ 2571 _ACEOF 2572 cat confdefs.h >>conftest.$ac_ext 2573 cat >>conftest.$ac_ext <<_ACEOF 2574 /* end confdefs.h. */ 2575 2576 int 2577 main () 2578 { 2579 2580 ; 2581 return 0; 2582 } 2583 _ACEOF 2584 ac_clean_files_save=$ac_clean_files 2585 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2586 # Try to create an executable without -o first, disregard a.out. 2587 # It will help us diagnose broken compilers, and finding out an intuition 2588 # of exeext. 2589 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2590 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2591 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2592 # 2593 # List of possible output files, starting from the most likely. 2594 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2595 # only as a last resort. b.out is created by i960 compilers. 2596 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2597 # 2598 # The IRIX 6 linker writes into existing files which may not be 2599 # executable, retaining their permissions. Remove them first so a 2600 # subsequent execution test works. 2601 ac_rmfiles= 2602 for ac_file in $ac_files 2603 do 2604 case $ac_file in 2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2606 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2607 esac 2608 done 2609 rm -f $ac_rmfiles 2610 2611 if { (ac_try="$ac_link_default" 2612 case "(($ac_try" in 2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2614 *) ac_try_echo=$ac_try;; 2615 esac 2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3361 $as_echo "$ac_try_echo"; } >&5 2617 3362 (eval "$ac_link_default") 2>&5 2618 3363 ac_status=$? 2619 echo "$as_me:$LINENO: \$? = $ac_status" >&52620 (exit $ac_status); }; then3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3365 test $ac_status = 0; }; then : 2621 3366 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2622 3367 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2628 3373 test -f "$ac_file" || continue 2629 3374 case $ac_file in 2630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2631 3376 ;; 2632 3377 [ab].out ) … … 2635 3380 break;; 2636 3381 *.* ) 2637 3382 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2638 3383 then :; else 2639 3384 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2654 3399 ac_file='' 2655 3400 fi 2656 2657 { echo "$as_me:$LINENO: result: $ac_file" >&5 2658 echo "${ECHO_T}$ac_file" >&6; } 2659 if test -z "$ac_file"; then 2660 echo "$as_me: failed program was:" >&5 3401 if test -z "$ac_file"; then : 3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3403 $as_echo "no" >&6; } 3404 $as_echo "$as_me: failed program was:" >&5 2661 3405 sed 's/^/| /' conftest.$ac_ext >&5 2662 3406 2663 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2664 See \`config.log' for more details." >&5 2665 echo "$as_me: error: C compiler cannot create executables 2666 See \`config.log' for more details." >&2;} 2667 { (exit 77); exit 77; }; } 2668 fi 2669 3407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3409 as_fn_error 77 "C compiler cannot create executables 3410 See \`config.log' for more details" "$LINENO" 5 ; } 3411 else 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3413 $as_echo "yes" >&6; } 3414 fi 3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3416 $as_echo_n "checking for C compiler default output file name... " >&6; } 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3418 $as_echo "$ac_file" >&6; } 2670 3419 ac_exeext=$ac_cv_exeext 2671 3420 2672 # Check that the compiler produces executables we can run. If not, either 2673 # the compiler is broken, or we cross compile. 2674 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2675 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2676 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2677 # If not cross compiling, check that we can run a simple program. 2678 if test "$cross_compiling" != yes; then 2679 if { ac_try='./$ac_file' 2680 { (case "(($ac_try" in 2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2682 *) ac_try_echo=$ac_try;; 2683 esac 2684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2685 (eval "$ac_try") 2>&5 2686 ac_status=$? 2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2688 (exit $ac_status); }; }; then 2689 cross_compiling=no 2690 else 2691 if test "$cross_compiling" = maybe; then 2692 cross_compiling=yes 2693 else 2694 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2695 If you meant to cross compile, use \`--host'. 2696 See \`config.log' for more details." >&5 2697 echo "$as_me: error: cannot run C compiled programs. 2698 If you meant to cross compile, use \`--host'. 2699 See \`config.log' for more details." >&2;} 2700 { (exit 1); exit 1; }; } 2701 fi 2702 fi 2703 fi 2704 { echo "$as_me:$LINENO: result: yes" >&5 2705 echo "${ECHO_T}yes" >&6; } 2706 2707 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3421 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2708 3422 ac_clean_files=$ac_clean_files_save 2709 # Check that the compiler produces executables we can run. If not, either 2710 # the compiler is broken, or we cross compile. 2711 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2712 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2713 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2714 echo "${ECHO_T}$cross_compiling" >&6; } 2715 2716 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2717 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2718 if { (ac_try="$ac_link" 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3424 $as_echo_n "checking for suffix of executables... " >&6; } 3425 if { { ac_try="$ac_link" 2719 3426 case "(($ac_try" in 2720 3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2721 3428 *) ac_try_echo=$ac_try;; 2722 3429 esac 2723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3431 $as_echo "$ac_try_echo"; } >&5 2724 3432 (eval "$ac_link") 2>&5 2725 3433 ac_status=$? 2726 echo "$as_me:$LINENO: \$? = $ac_status" >&52727 (exit $ac_status); }; then3434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3435 test $ac_status = 0; }; then : 2728 3436 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2729 3437 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2733 3441 test -f "$ac_file" || continue 2734 3442 case $ac_file in 2735 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2736 3444 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2737 3445 break;; … … 2740 3448 done 2741 3449 else 2742 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2743 See \`config.log' for more details." >&5 2744 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2745 See \`config.log' for more details." >&2;} 2746 { (exit 1); exit 1; }; } 2747 fi 2748 2749 rm -f conftest$ac_cv_exeext 2750 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2751 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3452 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3453 See \`config.log' for more details" "$LINENO" 5 ; } 3454 fi 3455 rm -f conftest conftest$ac_cv_exeext 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3457 $as_echo "$ac_cv_exeext" >&6; } 2752 3458 2753 3459 rm -f conftest.$ac_ext 2754 3460 EXEEXT=$ac_cv_exeext 2755 3461 ac_exeext=$EXEEXT 2756 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2757 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2758 if test "${ac_cv_objext+set}" = set; then 2759 echo $ECHO_N "(cached) $ECHO_C" >&6 2760 else 2761 cat >conftest.$ac_ext <<_ACEOF 2762 /* confdefs.h. */ 2763 _ACEOF 2764 cat confdefs.h >>conftest.$ac_ext 2765 cat >>conftest.$ac_ext <<_ACEOF 3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2766 3463 /* end confdefs.h. */ 2767 3464 #include <stdio.h> 2768 3465 int 2769 3466 main () 2770 3467 { 3468 FILE *f = fopen ("conftest.out", "w"); 3469 return ferror (f) || fclose (f) != 0; 2771 3470 2772 3471 ; … … 2774 3473 } 2775 3474 _ACEOF 2776 rm -f conftest.o conftest.obj 2777 if { (ac_try="$ac_compile" 3475 ac_clean_files="$ac_clean_files conftest.out" 3476 # Check that the compiler produces executables we can run. If not, either 3477 # the compiler is broken, or we cross compile. 3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3479 $as_echo_n "checking whether we are cross compiling... " >&6; } 3480 if test "$cross_compiling" != yes; then 3481 { { ac_try="$ac_link" 2778 3482 case "(($ac_try" in 2779 3483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2780 3484 *) ac_try_echo=$ac_try;; 2781 3485 esac 2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3487 $as_echo "$ac_try_echo"; } >&5 3488 (eval "$ac_link") 2>&5 3489 ac_status=$? 3490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3491 test $ac_status = 0; } 3492 if { ac_try='./conftest$ac_cv_exeext' 3493 { { case "(($ac_try" in 3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3495 *) ac_try_echo=$ac_try;; 3496 esac 3497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3498 $as_echo "$ac_try_echo"; } >&5 3499 (eval "$ac_try") 2>&5 3500 ac_status=$? 3501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3502 test $ac_status = 0; }; }; then 3503 cross_compiling=no 3504 else 3505 if test "$cross_compiling" = maybe; then 3506 cross_compiling=yes 3507 else 3508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3510 as_fn_error $? "cannot run C compiled programs. 3511 If you meant to cross compile, use \`--host'. 3512 See \`config.log' for more details" "$LINENO" 5 ; } 3513 fi 3514 fi 3515 fi 3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3517 $as_echo "$cross_compiling" >&6; } 3518 3519 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3520 ac_clean_files=$ac_clean_files_save 3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3522 $as_echo_n "checking for suffix of object files... " >&6; } 3523 if test "${ac_cv_objext+set}" = set; then : 3524 $as_echo_n "(cached) " >&6 3525 else 3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3527 /* end confdefs.h. */ 3528 3529 int 3530 main () 3531 { 3532 3533 ; 3534 return 0; 3535 } 3536 _ACEOF 3537 rm -f conftest.o conftest.obj 3538 if { { ac_try="$ac_compile" 3539 case "(($ac_try" in 3540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3541 *) ac_try_echo=$ac_try;; 3542 esac 3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3544 $as_echo "$ac_try_echo"; } >&5 2783 3545 (eval "$ac_compile") 2>&5 2784 3546 ac_status=$? 2785 echo "$as_me:$LINENO: \$? = $ac_status" >&52786 (exit $ac_status); }; then3547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3548 test $ac_status = 0; }; then : 2787 3549 for ac_file in conftest.o conftest.obj conftest.*; do 2788 3550 test -f "$ac_file" || continue; 2789 3551 case $ac_file in 2790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2791 3553 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2792 3554 break;; … … 2794 3556 done 2795 3557 else 2796 echo "$as_me: failed program was:" >&53558 $as_echo "$as_me: failed program was:" >&5 2797 3559 sed 's/^/| /' conftest.$ac_ext >&5 2798 3560 2799 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2800 See \`config.log' for more details." >&5 2801 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2802 See \`config.log' for more details." >&2;} 2803 { (exit 1); exit 1; }; } 2804 fi 2805 3561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3563 as_fn_error $? "cannot compute suffix of object files: cannot compile 3564 See \`config.log' for more details" "$LINENO" 5 ; } 3565 fi 2806 3566 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2807 3567 fi 2808 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52809 echo "${ECHO_T}$ac_cv_objext" >&6; }3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3569 $as_echo "$ac_cv_objext" >&6; } 2810 3570 OBJEXT=$ac_cv_objext 2811 3571 ac_objext=$OBJEXT 2812 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2813 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2814 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2815 echo $ECHO_N "(cached) $ECHO_C" >&6 2816 else 2817 cat >conftest.$ac_ext <<_ACEOF 2818 /* confdefs.h. */ 2819 _ACEOF 2820 cat confdefs.h >>conftest.$ac_ext 2821 cat >>conftest.$ac_ext <<_ACEOF 3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3573 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3574 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3575 $as_echo_n "(cached) " >&6 3576 else 3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2822 3578 /* end confdefs.h. */ 2823 3579 … … 2833 3589 } 2834 3590 _ACEOF 2835 rm -f conftest.$ac_objext 2836 if { (ac_try="$ac_compile" 2837 case "(($ac_try" in 2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2839 *) ac_try_echo=$ac_try;; 2840 esac 2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2842 (eval "$ac_compile") 2>conftest.er1 2843 ac_status=$? 2844 grep -v '^ *+' conftest.er1 >conftest.err 2845 rm -f conftest.er1 2846 cat conftest.err >&5 2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2848 (exit $ac_status); } && { 2849 test -z "$ac_c_werror_flag" || 2850 test ! -s conftest.err 2851 } && test -s conftest.$ac_objext; then 3591 if ac_fn_c_try_compile "$LINENO"; then : 2852 3592 ac_compiler_gnu=yes 2853 3593 else 2854 echo "$as_me: failed program was:" >&5 2855 sed 's/^/| /' conftest.$ac_ext >&5 2856 2857 ac_compiler_gnu=no 2858 fi 2859 3594 ac_compiler_gnu=no 3595 fi 2860 3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2861 3597 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2862 3598 2863 3599 fi 2864 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2865 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2866 GCC=`test $ac_compiler_gnu = yes && echo yes` 3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3601 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3602 if test $ac_compiler_gnu = yes; then 3603 GCC=yes 3604 else 3605 GCC= 3606 fi 2867 3607 ac_test_CFLAGS=${CFLAGS+set} 2868 3608 ac_save_CFLAGS=$CFLAGS 2869 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52870 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2871 if test "${ac_cv_prog_cc_g+set}" = set; then 2872 echo $ECHO_N "(cached) $ECHO_C" >&63609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3610 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3611 if test "${ac_cv_prog_cc_g+set}" = set; then : 3612 $as_echo_n "(cached) " >&6 2873 3613 else 2874 3614 ac_save_c_werror_flag=$ac_c_werror_flag … … 2876 3616 ac_cv_prog_cc_g=no 2877 3617 CFLAGS="-g" 2878 cat >conftest.$ac_ext <<_ACEOF 2879 /* confdefs.h. */ 2880 _ACEOF 2881 cat confdefs.h >>conftest.$ac_ext 2882 cat >>conftest.$ac_ext <<_ACEOF 3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2883 3619 /* end confdefs.h. */ 2884 3620 … … 2891 3627 } 2892 3628 _ACEOF 2893 rm -f conftest.$ac_objext 2894 if { (ac_try="$ac_compile" 2895 case "(($ac_try" in 2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2897 *) ac_try_echo=$ac_try;; 2898 esac 2899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2900 (eval "$ac_compile") 2>conftest.er1 2901 ac_status=$? 2902 grep -v '^ *+' conftest.er1 >conftest.err 2903 rm -f conftest.er1 2904 cat conftest.err >&5 2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2906 (exit $ac_status); } && { 2907 test -z "$ac_c_werror_flag" || 2908 test ! -s conftest.err 2909 } && test -s conftest.$ac_objext; then 3629 if ac_fn_c_try_compile "$LINENO"; then : 2910 3630 ac_cv_prog_cc_g=yes 2911 3631 else 2912 echo "$as_me: failed program was:" >&5 2913 sed 's/^/| /' conftest.$ac_ext >&5 2914 2915 CFLAGS="" 2916 cat >conftest.$ac_ext <<_ACEOF 2917 /* confdefs.h. */ 2918 _ACEOF 2919 cat confdefs.h >>conftest.$ac_ext 2920 cat >>conftest.$ac_ext <<_ACEOF 3632 CFLAGS="" 3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2921 3634 /* end confdefs.h. */ 2922 3635 … … 2929 3642 } 2930 3643 _ACEOF 2931 rm -f conftest.$ac_objext 2932 if { (ac_try="$ac_compile" 2933 case "(($ac_try" in 2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2935 *) ac_try_echo=$ac_try;; 2936 esac 2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2938 (eval "$ac_compile") 2>conftest.er1 2939 ac_status=$? 2940 grep -v '^ *+' conftest.er1 >conftest.err 2941 rm -f conftest.er1 2942 cat conftest.err >&5 2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2944 (exit $ac_status); } && { 2945 test -z "$ac_c_werror_flag" || 2946 test ! -s conftest.err 2947 } && test -s conftest.$ac_objext; then 2948 : 2949 else 2950 echo "$as_me: failed program was:" >&5 2951 sed 's/^/| /' conftest.$ac_ext >&5 2952 2953 ac_c_werror_flag=$ac_save_c_werror_flag 3644 if ac_fn_c_try_compile "$LINENO"; then : 3645 3646 else 3647 ac_c_werror_flag=$ac_save_c_werror_flag 2954 3648 CFLAGS="-g" 2955 cat >conftest.$ac_ext <<_ACEOF 2956 /* confdefs.h. */ 2957 _ACEOF 2958 cat confdefs.h >>conftest.$ac_ext 2959 cat >>conftest.$ac_ext <<_ACEOF 3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2960 3650 /* end confdefs.h. */ 2961 3651 … … 2968 3658 } 2969 3659 _ACEOF 2970 rm -f conftest.$ac_objext 2971 if { (ac_try="$ac_compile" 2972 case "(($ac_try" in 2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2974 *) ac_try_echo=$ac_try;; 2975 esac 2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2977 (eval "$ac_compile") 2>conftest.er1 2978 ac_status=$? 2979 grep -v '^ *+' conftest.er1 >conftest.err 2980 rm -f conftest.er1 2981 cat conftest.err >&5 2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2983 (exit $ac_status); } && { 2984 test -z "$ac_c_werror_flag" || 2985 test ! -s conftest.err 2986 } && test -s conftest.$ac_objext; then 3660 if ac_fn_c_try_compile "$LINENO"; then : 2987 3661 ac_cv_prog_cc_g=yes 2988 else 2989 echo "$as_me: failed program was:" >&5 2990 sed 's/^/| /' conftest.$ac_ext >&5 2991 2992 2993 fi 2994 3662 fi 2995 3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2996 3664 fi 2997 2998 3665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2999 3666 fi 3000 3001 3667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3002 3668 ac_c_werror_flag=$ac_save_c_werror_flag 3003 3669 fi 3004 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53005 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3671 $as_echo "$ac_cv_prog_cc_g" >&6; } 3006 3672 if test "$ac_test_CFLAGS" = set; then 3007 3673 CFLAGS=$ac_save_CFLAGS … … 3019 3685 fi 3020 3686 fi 3021 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53022 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3023 if test "${ac_cv_prog_cc_c89+set}" = set; then 3024 echo $ECHO_N "(cached) $ECHO_C" >&63687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3688 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3689 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3690 $as_echo_n "(cached) " >&6 3025 3691 else 3026 3692 ac_cv_prog_cc_c89=no 3027 3693 ac_save_CC=$CC 3028 cat >conftest.$ac_ext <<_ACEOF 3029 /* confdefs.h. */ 3030 _ACEOF 3031 cat confdefs.h >>conftest.$ac_ext 3032 cat >>conftest.$ac_ext <<_ACEOF 3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3033 3695 /* end confdefs.h. */ 3034 3696 #include <stdarg.h> … … 3087 3749 do 3088 3750 CC="$ac_save_CC $ac_arg" 3089 rm -f conftest.$ac_objext 3090 if { (ac_try="$ac_compile" 3091 case "(($ac_try" in 3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3093 *) ac_try_echo=$ac_try;; 3094 esac 3095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3096 (eval "$ac_compile") 2>conftest.er1 3097 ac_status=$? 3098 grep -v '^ *+' conftest.er1 >conftest.err 3099 rm -f conftest.er1 3100 cat conftest.err >&5 3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3102 (exit $ac_status); } && { 3103 test -z "$ac_c_werror_flag" || 3104 test ! -s conftest.err 3105 } && test -s conftest.$ac_objext; then 3751 if ac_fn_c_try_compile "$LINENO"; then : 3106 3752 ac_cv_prog_cc_c89=$ac_arg 3107 else 3108 echo "$as_me: failed program was:" >&5 3109 sed 's/^/| /' conftest.$ac_ext >&5 3110 3111 3112 fi 3113 3753 fi 3114 3754 rm -f core conftest.err conftest.$ac_objext 3115 3755 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3122 3762 case "x$ac_cv_prog_cc_c89" in 3123 3763 x) 3124 { echo "$as_me:$LINENO: result: none needed" >&53125 echo "${ECHO_T}none needed" >&6; } ;;3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3765 $as_echo "none needed" >&6; } ;; 3126 3766 xno) 3127 { echo "$as_me:$LINENO: result: unsupported" >&53128 echo "${ECHO_T}unsupported" >&6; } ;;3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3768 $as_echo "unsupported" >&6; } ;; 3129 3769 *) 3130 3770 CC="$CC $ac_cv_prog_cc_c89" 3131 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53132 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3772 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3133 3773 esac 3134 3774 if test "x$ac_cv_prog_cc_c89" != xno; then : 3775 3776 fi 3135 3777 3136 3778 ac_ext=c … … 3154 3796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3155 3797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3156 { echo "$as_me:$LINENO: checking for $ac_word" >&53157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3158 if test "${ac_cv_prog_CXX+set}" = set; then 3159 echo $ECHO_N "(cached) $ECHO_C" >&63798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3799 $as_echo_n "checking for $ac_word... " >&6; } 3800 if test "${ac_cv_prog_CXX+set}" = set; then : 3801 $as_echo_n "(cached) " >&6 3160 3802 else 3161 3803 if test -n "$CXX"; then … … 3167 3809 IFS=$as_save_IFS 3168 3810 test -z "$as_dir" && as_dir=. 3169 for ac_exec_ext in '' $ac_executable_extensions; do3811 for ac_exec_ext in '' $ac_executable_extensions; do 3170 3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3171 3813 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3173 3815 break 2 3174 3816 fi 3175 3817 done 3176 done3818 done 3177 3819 IFS=$as_save_IFS 3178 3820 … … 3181 3823 CXX=$ac_cv_prog_CXX 3182 3824 if test -n "$CXX"; then 3183 { echo "$as_me:$LINENO: result: $CXX" >&53184 echo "${ECHO_T}$CXX" >&6; }3185 else 3186 { echo "$as_me:$LINENO: result: no" >&53187 echo "${ECHO_T}no" >&6; }3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3826 $as_echo "$CXX" >&6; } 3827 else 3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3829 $as_echo "no" >&6; } 3188 3830 fi 3189 3831 … … 3198 3840 # Extract the first word of "$ac_prog", so it can be a program name with args. 3199 3841 set dummy $ac_prog; ac_word=$2 3200 { echo "$as_me:$LINENO: checking for $ac_word" >&53201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3202 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 3203 echo $ECHO_N "(cached) $ECHO_C" >&63842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3843 $as_echo_n "checking for $ac_word... " >&6; } 3844 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3845 $as_echo_n "(cached) " >&6 3204 3846 else 3205 3847 if test -n "$ac_ct_CXX"; then … … 3211 3853 IFS=$as_save_IFS 3212 3854 test -z "$as_dir" && as_dir=. 3213 for ac_exec_ext in '' $ac_executable_extensions; do3855 for ac_exec_ext in '' $ac_executable_extensions; do 3214 3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3215 3857 ac_cv_prog_ac_ct_CXX="$ac_prog" 3216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3217 3859 break 2 3218 3860 fi 3219 3861 done 3220 done3862 done 3221 3863 IFS=$as_save_IFS 3222 3864 … … 3225 3867 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3226 3868 if test -n "$ac_ct_CXX"; then 3227 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53228 echo "${ECHO_T}$ac_ct_CXX" >&6; }3229 else 3230 { echo "$as_me:$LINENO: result: no" >&53231 echo "${ECHO_T}no" >&6; }3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3870 $as_echo "$ac_ct_CXX" >&6; } 3871 else 3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3873 $as_echo "no" >&6; } 3232 3874 fi 3233 3875 … … 3241 3883 case $cross_compiling:$ac_tool_warned in 3242 3884 yes:) 3243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3244 whose name does not start with the host triplet. If you think this 3245 configuration is useful to you, please write to autoconf@gnu.org." >&5 3246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3247 whose name does not start with the host triplet. If you think this 3248 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3249 3887 ac_tool_warned=yes ;; 3250 3888 esac … … 3256 3894 fi 3257 3895 # Provide some information about the compiler. 3258 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3259 ac_compiler=`set X $ac_compile; echo $2` 3260 { (ac_try="$ac_compiler --version >&5" 3896 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3897 set X $ac_compile 3898 ac_compiler=$2 3899 for ac_option in --version -v -V -qversion; do 3900 { { ac_try="$ac_compiler $ac_option >&5" 3261 3901 case "(($ac_try" in 3262 3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3263 3903 *) ac_try_echo=$ac_try;; 3264 3904 esac 3265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3266 (eval "$ac_compiler --version >&5") 2>&5 3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3906 $as_echo "$ac_try_echo"; } >&5 3907 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3267 3908 ac_status=$? 3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3269 (exit $ac_status); } 3270 { (ac_try="$ac_compiler -v >&5" 3271 case "(($ac_try" in 3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3273 *) ac_try_echo=$ac_try;; 3274 esac 3275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3276 (eval "$ac_compiler -v >&5") 2>&5 3277 ac_status=$? 3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3279 (exit $ac_status); } 3280 { (ac_try="$ac_compiler -V >&5" 3281 case "(($ac_try" in 3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *) ac_try_echo=$ac_try;; 3284 esac 3285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3286 (eval "$ac_compiler -V >&5") 2>&5 3287 ac_status=$? 3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3289 (exit $ac_status); } 3290 3291 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3292 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3293 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3294 echo $ECHO_N "(cached) $ECHO_C" >&6 3295 else 3296 cat >conftest.$ac_ext <<_ACEOF 3297 /* confdefs.h. */ 3298 _ACEOF 3299 cat confdefs.h >>conftest.$ac_ext 3300 cat >>conftest.$ac_ext <<_ACEOF 3909 if test -s conftest.err; then 3910 sed '10a\ 3911 ... rest of stderr output deleted ... 3912 10q' conftest.err >conftest.er1 3913 cat conftest.er1 >&5 3914 fi 3915 rm -f conftest.er1 conftest.err 3916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3917 test $ac_status = 0; } 3918 done 3919 3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3921 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3922 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3923 $as_echo_n "(cached) " >&6 3924 else 3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3301 3926 /* end confdefs.h. */ 3302 3927 … … 3312 3937 } 3313 3938 _ACEOF 3314 rm -f conftest.$ac_objext 3315 if { (ac_try="$ac_compile" 3316 case "(($ac_try" in 3317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3318 *) ac_try_echo=$ac_try;; 3319 esac 3320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3321 (eval "$ac_compile") 2>conftest.er1 3322 ac_status=$? 3323 grep -v '^ *+' conftest.er1 >conftest.err 3324 rm -f conftest.er1 3325 cat conftest.err >&5 3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3327 (exit $ac_status); } && { 3328 test -z "$ac_cxx_werror_flag" || 3329 test ! -s conftest.err 3330 } && test -s conftest.$ac_objext; then 3939 if ac_fn_cxx_try_compile "$LINENO"; then : 3331 3940 ac_compiler_gnu=yes 3332 3941 else 3333 echo "$as_me: failed program was:" >&5 3334 sed 's/^/| /' conftest.$ac_ext >&5 3335 3336 ac_compiler_gnu=no 3337 fi 3338 3942 ac_compiler_gnu=no 3943 fi 3339 3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3340 3945 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3341 3946 3342 3947 fi 3343 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3344 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3345 GXX=`test $ac_compiler_gnu = yes && echo yes` 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3949 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3950 if test $ac_compiler_gnu = yes; then 3951 GXX=yes 3952 else 3953 GXX= 3954 fi 3346 3955 ac_test_CXXFLAGS=${CXXFLAGS+set} 3347 3956 ac_save_CXXFLAGS=$CXXFLAGS 3348 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53349 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3350 if test "${ac_cv_prog_cxx_g+set}" = set; then 3351 echo $ECHO_N "(cached) $ECHO_C" >&63957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3958 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3959 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3960 $as_echo_n "(cached) " >&6 3352 3961 else 3353 3962 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3355 3964 ac_cv_prog_cxx_g=no 3356 3965 CXXFLAGS="-g" 3357 cat >conftest.$ac_ext <<_ACEOF 3358 /* confdefs.h. */ 3359 _ACEOF 3360 cat confdefs.h >>conftest.$ac_ext 3361 cat >>conftest.$ac_ext <<_ACEOF 3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362 3967 /* end confdefs.h. */ 3363 3968 … … 3370 3975 } 3371 3976 _ACEOF 3372 rm -f conftest.$ac_objext 3373 if { (ac_try="$ac_compile" 3374 case "(($ac_try" in 3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3376 *) ac_try_echo=$ac_try;; 3377 esac 3378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3379 (eval "$ac_compile") 2>conftest.er1 3380 ac_status=$? 3381 grep -v '^ *+' conftest.er1 >conftest.err 3382 rm -f conftest.er1 3383 cat conftest.err >&5 3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3385 (exit $ac_status); } && { 3386 test -z "$ac_cxx_werror_flag" || 3387 test ! -s conftest.err 3388 } && test -s conftest.$ac_objext; then 3977 if ac_fn_cxx_try_compile "$LINENO"; then : 3389 3978 ac_cv_prog_cxx_g=yes 3390 3979 else 3391 echo "$as_me: failed program was:" >&5 3392 sed 's/^/| /' conftest.$ac_ext >&5 3393 3394 CXXFLAGS="" 3395 cat >conftest.$ac_ext <<_ACEOF 3396 /* confdefs.h. */ 3397 _ACEOF 3398 cat confdefs.h >>conftest.$ac_ext 3399 cat >>conftest.$ac_ext <<_ACEOF 3980 CXXFLAGS="" 3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3400 3982 /* end confdefs.h. */ 3401 3983 … … 3408 3990 } 3409 3991 _ACEOF 3410 rm -f conftest.$ac_objext 3411 if { (ac_try="$ac_compile" 3412 case "(($ac_try" in 3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3414 *) ac_try_echo=$ac_try;; 3415 esac 3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3417 (eval "$ac_compile") 2>conftest.er1 3418 ac_status=$? 3419 grep -v '^ *+' conftest.er1 >conftest.err 3420 rm -f conftest.er1 3421 cat conftest.err >&5 3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3423 (exit $ac_status); } && { 3424 test -z "$ac_cxx_werror_flag" || 3425 test ! -s conftest.err 3426 } && test -s conftest.$ac_objext; then 3427 : 3428 else 3429 echo "$as_me: failed program was:" >&5 3430 sed 's/^/| /' conftest.$ac_ext >&5 3431 3432 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3992 if ac_fn_cxx_try_compile "$LINENO"; then : 3993 3994 else 3995 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3433 3996 CXXFLAGS="-g" 3434 cat >conftest.$ac_ext <<_ACEOF 3435 /* confdefs.h. */ 3436 _ACEOF 3437 cat confdefs.h >>conftest.$ac_ext 3438 cat >>conftest.$ac_ext <<_ACEOF 3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3439 3998 /* end confdefs.h. */ 3440 3999 … … 3447 4006 } 3448 4007 _ACEOF 3449 rm -f conftest.$ac_objext 3450 if { (ac_try="$ac_compile" 3451 case "(($ac_try" in 3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3453 *) ac_try_echo=$ac_try;; 3454 esac 3455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3456 (eval "$ac_compile") 2>conftest.er1 3457 ac_status=$? 3458 grep -v '^ *+' conftest.er1 >conftest.err 3459 rm -f conftest.er1 3460 cat conftest.err >&5 3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3462 (exit $ac_status); } && { 3463 test -z "$ac_cxx_werror_flag" || 3464 test ! -s conftest.err 3465 } && test -s conftest.$ac_objext; then 4008 if ac_fn_cxx_try_compile "$LINENO"; then : 3466 4009 ac_cv_prog_cxx_g=yes 3467 else 3468 echo "$as_me: failed program was:" >&5 3469 sed 's/^/| /' conftest.$ac_ext >&5 3470 3471 3472 fi 3473 4010 fi 3474 4011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3475 4012 fi 3476 3477 4013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3478 4014 fi 3479 3480 4015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3481 4016 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3482 4017 fi 3483 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53484 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4019 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3485 4020 if test "$ac_test_CXXFLAGS" = set; then 3486 4021 CXXFLAGS=$ac_save_CXXFLAGS … … 3514 4049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3515 4050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3516 { echo "$as_me:$LINENO: checking for $ac_word" >&53517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3518 if test "${ac_cv_prog_F77+set}" = set; then 3519 echo $ECHO_N "(cached) $ECHO_C" >&64051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4052 $as_echo_n "checking for $ac_word... " >&6; } 4053 if test "${ac_cv_prog_F77+set}" = set; then : 4054 $as_echo_n "(cached) " >&6 3520 4055 else 3521 4056 if test -n "$F77"; then … … 3527 4062 IFS=$as_save_IFS 3528 4063 test -z "$as_dir" && as_dir=. 3529 for ac_exec_ext in '' $ac_executable_extensions; do4064 for ac_exec_ext in '' $ac_executable_extensions; do 3530 4065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3531 4066 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3533 4068 break 2 3534 4069 fi 3535 4070 done 3536 done4071 done 3537 4072 IFS=$as_save_IFS 3538 4073 … … 3541 4076 F77=$ac_cv_prog_F77 3542 4077 if test -n "$F77"; then 3543 { echo "$as_me:$LINENO: result: $F77" >&53544 echo "${ECHO_T}$F77" >&6; }3545 else 3546 { echo "$as_me:$LINENO: result: no" >&53547 echo "${ECHO_T}no" >&6; }4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4079 $as_echo "$F77" >&6; } 4080 else 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4082 $as_echo "no" >&6; } 3548 4083 fi 3549 4084 … … 3558 4093 # Extract the first word of "$ac_prog", so it can be a program name with args. 3559 4094 set dummy $ac_prog; ac_word=$2 3560 { echo "$as_me:$LINENO: checking for $ac_word" >&53561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3562 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 3563 echo $ECHO_N "(cached) $ECHO_C" >&64095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4096 $as_echo_n "checking for $ac_word... " >&6; } 4097 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then : 4098 $as_echo_n "(cached) " >&6 3564 4099 else 3565 4100 if test -n "$ac_ct_F77"; then … … 3571 4106 IFS=$as_save_IFS 3572 4107 test -z "$as_dir" && as_dir=. 3573 for ac_exec_ext in '' $ac_executable_extensions; do4108 for ac_exec_ext in '' $ac_executable_extensions; do 3574 4109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3575 4110 ac_cv_prog_ac_ct_F77="$ac_prog" 3576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3577 4112 break 2 3578 4113 fi 3579 4114 done 3580 done4115 done 3581 4116 IFS=$as_save_IFS 3582 4117 … … 3585 4120 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3586 4121 if test -n "$ac_ct_F77"; then 3587 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53588 echo "${ECHO_T}$ac_ct_F77" >&6; }3589 else 3590 { echo "$as_me:$LINENO: result: no" >&53591 echo "${ECHO_T}no" >&6; }4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4123 $as_echo "$ac_ct_F77" >&6; } 4124 else 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4126 $as_echo "no" >&6; } 3592 4127 fi 3593 4128 … … 3601 4136 case $cross_compiling:$ac_tool_warned in 3602 4137 yes:) 3603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3604 whose name does not start with the host triplet. If you think this 3605 configuration is useful to you, please write to autoconf@gnu.org." >&5 3606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3607 whose name does not start with the host triplet. If you think this 3608 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3609 4140 ac_tool_warned=yes ;; 3610 4141 esac … … 3615 4146 3616 4147 # Provide some information about the compiler. 3617 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3618 ac_compiler=`set X $ac_compile; echo $2` 3619 { (ac_try="$ac_compiler --version >&5" 4148 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4149 set X $ac_compile 4150 ac_compiler=$2 4151 for ac_option in --version -v -V -qversion; do 4152 { { ac_try="$ac_compiler $ac_option >&5" 3620 4153 case "(($ac_try" in 3621 4154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3622 4155 *) ac_try_echo=$ac_try;; 3623 4156 esac 3624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3625 (eval "$ac_compiler --version >&5") 2>&5 4157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4158 $as_echo "$ac_try_echo"; } >&5 4159 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3626 4160 ac_status=$? 3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3628 (exit $ac_status); } 3629 { (ac_try="$ac_compiler -v >&5" 3630 case "(($ac_try" in 3631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3632 *) ac_try_echo=$ac_try;; 3633 esac 3634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3635 (eval "$ac_compiler -v >&5") 2>&5 3636 ac_status=$? 3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3638 (exit $ac_status); } 3639 { (ac_try="$ac_compiler -V >&5" 3640 case "(($ac_try" in 3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3642 *) ac_try_echo=$ac_try;; 3643 esac 3644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3645 (eval "$ac_compiler -V >&5") 2>&5 3646 ac_status=$? 3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3648 (exit $ac_status); } 4161 if test -s conftest.err; then 4162 sed '10a\ 4163 ... rest of stderr output deleted ... 4164 10q' conftest.err >conftest.er1 4165 cat conftest.er1 >&5 4166 fi 4167 rm -f conftest.er1 conftest.err 4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4169 test $ac_status = 0; } 4170 done 3649 4171 rm -f a.out 3650 4172 … … 3653 4175 ac_save_ext=$ac_ext 3654 4176 ac_ext=F 3655 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53656 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3657 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 3658 echo $ECHO_N "(cached) $ECHO_C" >&63659 else 3660 cat > conftest.$ac_ext <<_ACEOF4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4178 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4179 if test "${ac_cv_f77_compiler_gnu+set}" = set; then : 4180 $as_echo_n "(cached) " >&6 4181 else 4182 cat > conftest.$ac_ext <<_ACEOF 3661 4183 program main 3662 4184 #ifndef __GNUC__ … … 3666 4188 end 3667 4189 _ACEOF 3668 rm -f conftest.$ac_objext 3669 if { (ac_try="$ac_compile" 3670 case "(($ac_try" in 3671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3672 *) ac_try_echo=$ac_try;; 3673 esac 3674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3675 (eval "$ac_compile") 2>conftest.er1 3676 ac_status=$? 3677 grep -v '^ *+' conftest.er1 >conftest.err 3678 rm -f conftest.er1 3679 cat conftest.err >&5 3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3681 (exit $ac_status); } && { 3682 test -z "$ac_f77_werror_flag" || 3683 test ! -s conftest.err 3684 } && test -s conftest.$ac_objext; then 4190 if ac_fn_f77_try_compile "$LINENO"; then : 3685 4191 ac_compiler_gnu=yes 3686 4192 else 3687 echo "$as_me: failed program was:" >&5 3688 sed 's/^/| /' conftest.$ac_ext >&5 3689 3690 ac_compiler_gnu=no 3691 fi 3692 4193 ac_compiler_gnu=no 4194 fi 3693 4195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3694 4196 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3695 4197 3696 4198 fi 3697 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53698 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4200 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3699 4201 ac_ext=$ac_save_ext 3700 4202 ac_test_FFLAGS=${FFLAGS+set} 3701 4203 ac_save_FFLAGS=$FFLAGS 3702 4204 FFLAGS= 3703 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53704 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3705 if test "${ac_cv_prog_f77_g+set}" = set; then 3706 echo $ECHO_N "(cached) $ECHO_C" >&64205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4206 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4207 if test "${ac_cv_prog_f77_g+set}" = set; then : 4208 $as_echo_n "(cached) " >&6 3707 4209 else 3708 4210 FFLAGS=-g 3709 cat > conftest.$ac_ext <<_ACEOF4211 cat > conftest.$ac_ext <<_ACEOF 3710 4212 program main 3711 4213 3712 4214 end 3713 4215 _ACEOF 3714 rm -f conftest.$ac_objext 3715 if { (ac_try="$ac_compile" 3716 case "(($ac_try" in 3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3718 *) ac_try_echo=$ac_try;; 3719 esac 3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3721 (eval "$ac_compile") 2>conftest.er1 3722 ac_status=$? 3723 grep -v '^ *+' conftest.er1 >conftest.err 3724 rm -f conftest.er1 3725 cat conftest.err >&5 3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3727 (exit $ac_status); } && { 3728 test -z "$ac_f77_werror_flag" || 3729 test ! -s conftest.err 3730 } && test -s conftest.$ac_objext; then 4216 if ac_fn_f77_try_compile "$LINENO"; then : 3731 4217 ac_cv_prog_f77_g=yes 3732 4218 else 3733 echo "$as_me: failed program was:" >&5 3734 sed 's/^/| /' conftest.$ac_ext >&5 3735 3736 ac_cv_prog_f77_g=no 3737 fi 3738 4219 ac_cv_prog_f77_g=no 4220 fi 3739 4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3740 4222 3741 4223 fi 3742 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53743 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4225 $as_echo "$ac_cv_prog_f77_g" >&6; } 3744 4226 if test "$ac_test_FFLAGS" = set; then 3745 4227 FFLAGS=$ac_save_FFLAGS … … 3758 4240 fi 3759 4241 3760 G77=`test $ac_compiler_gnu = yes && echo yes` 4242 if test $ac_compiler_gnu = yes; then 4243 G77=yes 4244 else 4245 G77= 4246 fi 3761 4247 ac_ext=c 3762 4248 ac_cpp='$CPP $CPPFLAGS' … … 3779 4265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3780 4266 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3781 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53782 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4268 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3783 4269 # On Suns, sometimes $CPP names a directory. 3784 4270 if test -n "$CPP" && test -d "$CPP"; then … … 3786 4272 fi 3787 4273 if test -z "$CPP"; then 3788 if test "${ac_cv_prog_CPP+set}" = set; then 3789 echo $ECHO_N "(cached) $ECHO_C" >&64274 if test "${ac_cv_prog_CPP+set}" = set; then : 4275 $as_echo_n "(cached) " >&6 3790 4276 else 3791 4277 # Double quotes because CPP needs to be expanded … … 3801 4287 # On the NeXT, cc -E runs the code through the compiler's parser, 3802 4288 # not just through cpp. "Syntax error" is here to catch this case. 3803 cat >conftest.$ac_ext <<_ACEOF 3804 /* confdefs.h. */ 3805 _ACEOF 3806 cat confdefs.h >>conftest.$ac_ext 3807 cat >>conftest.$ac_ext <<_ACEOF 4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3808 4290 /* end confdefs.h. */ 3809 4291 #ifdef __STDC__ … … 3814 4296 Syntax error 3815 4297 _ACEOF 3816 if { (ac_try="$ac_cpp conftest.$ac_ext" 3817 case "(($ac_try" in 3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3819 *) ac_try_echo=$ac_try;; 3820 esac 3821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3823 ac_status=$? 3824 grep -v '^ *+' conftest.er1 >conftest.err 3825 rm -f conftest.er1 3826 cat conftest.err >&5 3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3828 (exit $ac_status); } >/dev/null && { 3829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3830 test ! -s conftest.err 3831 }; then 3832 : 3833 else 3834 echo "$as_me: failed program was:" >&5 3835 sed 's/^/| /' conftest.$ac_ext >&5 3836 4298 if ac_fn_c_try_cpp "$LINENO"; then : 4299 4300 else 3837 4301 # Broken: fails on valid input. 3838 4302 continue 3839 4303 fi 3840 3841 rm -f conftest.err conftest.$ac_ext 4304 rm -f conftest.err conftest.i conftest.$ac_ext 3842 4305 3843 4306 # OK, works on sane cases. Now check whether nonexistent headers 3844 4307 # can be detected and how. 3845 cat >conftest.$ac_ext <<_ACEOF 3846 /* confdefs.h. */ 3847 _ACEOF 3848 cat confdefs.h >>conftest.$ac_ext 3849 cat >>conftest.$ac_ext <<_ACEOF 4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3850 4309 /* end confdefs.h. */ 3851 4310 #include <ac_nonexistent.h> 3852 4311 _ACEOF 3853 if { (ac_try="$ac_cpp conftest.$ac_ext" 3854 case "(($ac_try" in 3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3856 *) ac_try_echo=$ac_try;; 3857 esac 3858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3860 ac_status=$? 3861 grep -v '^ *+' conftest.er1 >conftest.err 3862 rm -f conftest.er1 3863 cat conftest.err >&5 3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3865 (exit $ac_status); } >/dev/null && { 3866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3867 test ! -s conftest.err 3868 }; then 4312 if ac_fn_c_try_cpp "$LINENO"; then : 3869 4313 # Broken: success on invalid input. 3870 4314 continue 3871 4315 else 3872 echo "$as_me: failed program was:" >&53873 sed 's/^/| /' conftest.$ac_ext >&53874 3875 4316 # Passes both tests. 3876 4317 ac_preproc_ok=: 3877 4318 break 3878 4319 fi 3879 3880 rm -f conftest.err conftest.$ac_ext 4320 rm -f conftest.err conftest.i conftest.$ac_ext 3881 4321 3882 4322 done 3883 4323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3884 rm -f conftest. err conftest.$ac_ext3885 if $ac_preproc_ok; then 4324 rm -f conftest.i conftest.err conftest.$ac_ext 4325 if $ac_preproc_ok; then : 3886 4326 break 3887 4327 fi … … 3895 4335 ac_cv_prog_CPP=$CPP 3896 4336 fi 3897 { echo "$as_me:$LINENO: result: $CPP" >&53898 echo "${ECHO_T}$CPP" >&6; }4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4338 $as_echo "$CPP" >&6; } 3899 4339 ac_preproc_ok=false 3900 4340 for ac_c_preproc_warn_flag in '' yes … … 3906 4346 # On the NeXT, cc -E runs the code through the compiler's parser, 3907 4347 # not just through cpp. "Syntax error" is here to catch this case. 3908 cat >conftest.$ac_ext <<_ACEOF 3909 /* confdefs.h. */ 3910 _ACEOF 3911 cat confdefs.h >>conftest.$ac_ext 3912 cat >>conftest.$ac_ext <<_ACEOF 4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3913 4349 /* end confdefs.h. */ 3914 4350 #ifdef __STDC__ … … 3919 4355 Syntax error 3920 4356 _ACEOF 3921 if { (ac_try="$ac_cpp conftest.$ac_ext" 3922 case "(($ac_try" in 3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3924 *) ac_try_echo=$ac_try;; 3925 esac 3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3928 ac_status=$? 3929 grep -v '^ *+' conftest.er1 >conftest.err 3930 rm -f conftest.er1 3931 cat conftest.err >&5 3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3933 (exit $ac_status); } >/dev/null && { 3934 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3935 test ! -s conftest.err 3936 }; then 3937 : 3938 else 3939 echo "$as_me: failed program was:" >&5 3940 sed 's/^/| /' conftest.$ac_ext >&5 3941 4357 if ac_fn_c_try_cpp "$LINENO"; then : 4358 4359 else 3942 4360 # Broken: fails on valid input. 3943 4361 continue 3944 4362 fi 3945 3946 rm -f conftest.err conftest.$ac_ext 4363 rm -f conftest.err conftest.i conftest.$ac_ext 3947 4364 3948 4365 # OK, works on sane cases. Now check whether nonexistent headers 3949 4366 # can be detected and how. 3950 cat >conftest.$ac_ext <<_ACEOF 3951 /* confdefs.h. */ 3952 _ACEOF 3953 cat confdefs.h >>conftest.$ac_ext 3954 cat >>conftest.$ac_ext <<_ACEOF 4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3955 4368 /* end confdefs.h. */ 3956 4369 #include <ac_nonexistent.h> 3957 4370 _ACEOF 3958 if { (ac_try="$ac_cpp conftest.$ac_ext" 3959 case "(($ac_try" in 3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3961 *) ac_try_echo=$ac_try;; 3962 esac 3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3965 ac_status=$? 3966 grep -v '^ *+' conftest.er1 >conftest.err 3967 rm -f conftest.er1 3968 cat conftest.err >&5 3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3970 (exit $ac_status); } >/dev/null && { 3971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3972 test ! -s conftest.err 3973 }; then 4371 if ac_fn_c_try_cpp "$LINENO"; then : 3974 4372 # Broken: success on invalid input. 3975 4373 continue 3976 4374 else 3977 echo "$as_me: failed program was:" >&53978 sed 's/^/| /' conftest.$ac_ext >&53979 3980 4375 # Passes both tests. 3981 4376 ac_preproc_ok=: 3982 4377 break 3983 4378 fi 3984 3985 rm -f conftest.err conftest.$ac_ext 4379 rm -f conftest.err conftest.i conftest.$ac_ext 3986 4380 3987 4381 done 3988 4382 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3989 rm -f conftest.err conftest.$ac_ext 3990 if $ac_preproc_ok; then 3991 : 3992 else 3993 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3994 See \`config.log' for more details." >&5 3995 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3996 See \`config.log' for more details." >&2;} 3997 { (exit 1); exit 1; }; } 4383 rm -f conftest.i conftest.err conftest.$ac_ext 4384 if $ac_preproc_ok; then : 4385 4386 else 4387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4389 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4390 See \`config.log' for more details" "$LINENO" 5 ; } 3998 4391 fi 3999 4392 … … 4005 4398 4006 4399 4007 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4008 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4009 if test "${ac_cv_path_GREP+set}" = set; then 4010 echo $ECHO_N "(cached) $ECHO_C" >&6 4011 else 4012 # Extract the first word of "grep ggrep" to use in msg output 4013 if test -z "$GREP"; then 4014 set dummy grep ggrep; ac_prog_name=$2 4015 if test "${ac_cv_path_GREP+set}" = set; then 4016 echo $ECHO_N "(cached) $ECHO_C" >&6 4017 else 4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4401 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4402 if test "${ac_cv_path_GREP+set}" = set; then : 4403 $as_echo_n "(cached) " >&6 4404 else 4405 if test -z "$GREP"; then 4018 4406 ac_path_GREP_found=false 4019 # Loop through the user's path and test for each of PROGNAME-LIST4020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4407 # Loop through the user's path and test for each of PROGNAME-LIST 4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4021 4409 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4022 4410 do 4023 4411 IFS=$as_save_IFS 4024 4412 test -z "$as_dir" && as_dir=. 4025 for ac_prog in grep ggrep; do4026 for ac_exec_ext in '' $ac_executable_extensions; do4027 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4028 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4029 4413 for ac_prog in grep ggrep; do 4414 for ac_exec_ext in '' $ac_executable_extensions; do 4415 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4416 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4417 # Check for GNU ac_path_GREP and select it if it is found. 4030 4418 # Check for GNU $ac_path_GREP 4031 4419 case `"$ac_path_GREP" --version 2>&1` in … … 4034 4422 *) 4035 4423 ac_count=0 4036 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4424 $as_echo_n 0123456789 >"conftest.in" 4037 4425 while : 4038 4426 do … … 4040 4428 mv "conftest.tmp" "conftest.in" 4041 4429 cp "conftest.in" "conftest.nl" 4042 echo 'GREP' >> "conftest.nl"4430 $as_echo 'GREP' >> "conftest.nl" 4043 4431 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4044 4432 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4045 a c_count=`expr $ac_count + 1`4433 as_fn_arith $ac_count + 1 && ac_count=$as_val 4046 4434 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4047 4435 # Best one so far, save it but keep looking for a better one … … 4055 4443 esac 4056 4444 4057 4058 $ac_path_GREP_found && break 34445 $ac_path_GREP_found && break 3 4446 done 4059 4447 done 4060 done 4061 4062 done 4448 done 4063 4449 IFS=$as_save_IFS 4064 4065 4066 fi 4067 4068 GREP="$ac_cv_path_GREP" 4069 if test -z "$GREP"; then 4070 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4071 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4072 { (exit 1); exit 1; }; } 4073 fi 4074 4450 if test -z "$ac_cv_path_GREP"; then 4451 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4452 fi 4075 4453 else 4076 4454 ac_cv_path_GREP=$GREP 4077 4455 fi 4078 4456 4079 4080 fi 4081 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4082 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4457 fi 4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4459 $as_echo "$ac_cv_path_GREP" >&6; } 4083 4460 GREP="$ac_cv_path_GREP" 4084 4461 4085 4462 4086 { echo "$as_me:$LINENO: checking for egrep" >&54087 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4088 if test "${ac_cv_path_EGREP+set}" = set; then 4089 echo $ECHO_N "(cached) $ECHO_C" >&64463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4464 $as_echo_n "checking for egrep... " >&6; } 4465 if test "${ac_cv_path_EGREP+set}" = set; then : 4466 $as_echo_n "(cached) " >&6 4090 4467 else 4091 4468 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4092 4469 then ac_cv_path_EGREP="$GREP -E" 4093 4470 else 4094 # Extract the first word of "egrep" to use in msg output 4095 if test -z "$EGREP"; then 4096 set dummy egrep; ac_prog_name=$2 4097 if test "${ac_cv_path_EGREP+set}" = set; then 4098 echo $ECHO_N "(cached) $ECHO_C" >&6 4099 else 4471 if test -z "$EGREP"; then 4100 4472 ac_path_EGREP_found=false 4101 # Loop through the user's path and test for each of PROGNAME-LIST4102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4473 # Loop through the user's path and test for each of PROGNAME-LIST 4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4103 4475 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4104 4476 do 4105 4477 IFS=$as_save_IFS 4106 4478 test -z "$as_dir" && as_dir=. 4107 for ac_prog in egrep; do4108 for ac_exec_ext in '' $ac_executable_extensions; do4109 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4110 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4111 4479 for ac_prog in egrep; do 4480 for ac_exec_ext in '' $ac_executable_extensions; do 4481 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4482 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4483 # Check for GNU ac_path_EGREP and select it if it is found. 4112 4484 # Check for GNU $ac_path_EGREP 4113 4485 case `"$ac_path_EGREP" --version 2>&1` in … … 4116 4488 *) 4117 4489 ac_count=0 4118 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4490 $as_echo_n 0123456789 >"conftest.in" 4119 4491 while : 4120 4492 do … … 4122 4494 mv "conftest.tmp" "conftest.in" 4123 4495 cp "conftest.in" "conftest.nl" 4124 echo 'EGREP' >> "conftest.nl"4496 $as_echo 'EGREP' >> "conftest.nl" 4125 4497 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4126 4498 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4127 a c_count=`expr $ac_count + 1`4499 as_fn_arith $ac_count + 1 && ac_count=$as_val 4128 4500 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4129 4501 # Best one so far, save it but keep looking for a better one … … 4137 4509 esac 4138 4510 4139 4140 $ac_path_EGREP_found && break 34511 $ac_path_EGREP_found && break 3 4512 done 4141 4513 done 4142 done 4143 4144 done 4514 done 4145 4515 IFS=$as_save_IFS 4146 4147 4148 fi 4149 4150 EGREP="$ac_cv_path_EGREP" 4151 if test -z "$EGREP"; then 4152 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4153 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4154 { (exit 1); exit 1; }; } 4155 fi 4156 4516 if test -z "$ac_cv_path_EGREP"; then 4517 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4518 fi 4157 4519 else 4158 4520 ac_cv_path_EGREP=$EGREP 4159 4521 fi 4160 4522 4161 4162 4523 fi 4163 4524 fi 4164 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54165 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4526 $as_echo "$ac_cv_path_EGREP" >&6; } 4166 4527 EGREP="$ac_cv_path_EGREP" 4167 4528 4168 4529 4169 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4170 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4171 if test "${ac_cv_header_stdc+set}" = set; then 4172 echo $ECHO_N "(cached) $ECHO_C" >&6 4173 else 4174 cat >conftest.$ac_ext <<_ACEOF 4175 /* confdefs.h. */ 4176 _ACEOF 4177 cat confdefs.h >>conftest.$ac_ext 4178 cat >>conftest.$ac_ext <<_ACEOF 4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4531 $as_echo_n "checking for ANSI C header files... " >&6; } 4532 if test "${ac_cv_header_stdc+set}" = set; then : 4533 $as_echo_n "(cached) " >&6 4534 else 4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4179 4536 /* end confdefs.h. */ 4180 4537 #include <stdlib.h> … … 4191 4548 } 4192 4549 _ACEOF 4193 rm -f conftest.$ac_objext 4194 if { (ac_try="$ac_compile" 4195 case "(($ac_try" in 4196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4197 *) ac_try_echo=$ac_try;; 4198 esac 4199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4200 (eval "$ac_compile") 2>conftest.er1 4201 ac_status=$? 4202 grep -v '^ *+' conftest.er1 >conftest.err 4203 rm -f conftest.er1 4204 cat conftest.err >&5 4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4206 (exit $ac_status); } && { 4207 test -z "$ac_c_werror_flag" || 4208 test ! -s conftest.err 4209 } && test -s conftest.$ac_objext; then 4550 if ac_fn_c_try_compile "$LINENO"; then : 4210 4551 ac_cv_header_stdc=yes 4211 4552 else 4212 echo "$as_me: failed program was:" >&5 4213 sed 's/^/| /' conftest.$ac_ext >&5 4214 4215 ac_cv_header_stdc=no 4216 fi 4217 4553 ac_cv_header_stdc=no 4554 fi 4218 4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4219 4556 4220 4557 if test $ac_cv_header_stdc = yes; then 4221 4558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4222 cat >conftest.$ac_ext <<_ACEOF 4223 /* confdefs.h. */ 4224 _ACEOF 4225 cat confdefs.h >>conftest.$ac_ext 4226 cat >>conftest.$ac_ext <<_ACEOF 4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4227 4560 /* end confdefs.h. */ 4228 4561 #include <string.h> … … 4230 4563 _ACEOF 4231 4564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4232 $EGREP "memchr" >/dev/null 2>&1; then 4233 : 4565 $EGREP "memchr" >/dev/null 2>&1; then : 4566 4234 4567 else 4235 4568 ac_cv_header_stdc=no … … 4241 4574 if test $ac_cv_header_stdc = yes; then 4242 4575 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4243 cat >conftest.$ac_ext <<_ACEOF 4244 /* confdefs.h. */ 4245 _ACEOF 4246 cat confdefs.h >>conftest.$ac_ext 4247 cat >>conftest.$ac_ext <<_ACEOF 4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4248 4577 /* end confdefs.h. */ 4249 4578 #include <stdlib.h> … … 4251 4580 _ACEOF 4252 4581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4253 $EGREP "free" >/dev/null 2>&1; then 4254 : 4582 $EGREP "free" >/dev/null 2>&1; then : 4583 4255 4584 else 4256 4585 ac_cv_header_stdc=no … … 4262 4591 if test $ac_cv_header_stdc = yes; then 4263 4592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4264 if test "$cross_compiling" = yes; then 4593 if test "$cross_compiling" = yes; then : 4265 4594 : 4266 4595 else 4267 cat >conftest.$ac_ext <<_ACEOF 4268 /* confdefs.h. */ 4269 _ACEOF 4270 cat confdefs.h >>conftest.$ac_ext 4271 cat >>conftest.$ac_ext <<_ACEOF 4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4272 4597 /* end confdefs.h. */ 4273 4598 #include <ctype.h> … … 4296 4621 } 4297 4622 _ACEOF 4298 rm -f conftest$ac_exeext 4299 if { (ac_try="$ac_link" 4300 case "(($ac_try" in 4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4302 *) ac_try_echo=$ac_try;; 4303 esac 4304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4305 (eval "$ac_link") 2>&5 4306 ac_status=$? 4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4308 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4309 { (case "(($ac_try" in 4310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4311 *) ac_try_echo=$ac_try;; 4312 esac 4313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4314 (eval "$ac_try") 2>&5 4315 ac_status=$? 4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4317 (exit $ac_status); }; }; then 4318 : 4319 else 4320 echo "$as_me: program exited with status $ac_status" >&5 4321 echo "$as_me: failed program was:" >&5 4322 sed 's/^/| /' conftest.$ac_ext >&5 4323 4324 ( exit $ac_status ) 4325 ac_cv_header_stdc=no 4326 fi 4327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4328 fi 4329 4330 4331 fi 4332 fi 4333 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4334 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4623 if ac_fn_c_try_run "$LINENO"; then : 4624 4625 else 4626 ac_cv_header_stdc=no 4627 fi 4628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4629 conftest.$ac_objext conftest.beam conftest.$ac_ext 4630 fi 4631 4632 fi 4633 fi 4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4635 $as_echo "$ac_cv_header_stdc" >&6; } 4335 4636 if test $ac_cv_header_stdc = yes; then 4336 4637 4337 cat >>confdefs.h <<\_ACEOF 4338 #define STDC_HEADERS 1 4339 _ACEOF 4340 4341 fi 4342 4343 { echo "$as_me:$LINENO: checking for atol" >&5 4344 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4345 if test "${ac_cv_func_atol+set}" = set; then 4346 echo $ECHO_N "(cached) $ECHO_C" >&6 4347 else 4348 cat >conftest.$ac_ext <<_ACEOF 4349 /* confdefs.h. */ 4350 _ACEOF 4351 cat confdefs.h >>conftest.$ac_ext 4352 cat >>conftest.$ac_ext <<_ACEOF 4353 /* end confdefs.h. */ 4354 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4355 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4356 #define atol innocuous_atol 4357 4358 /* System header to define __stub macros and hopefully few prototypes, 4359 which can conflict with char atol (); below. 4360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4361 <limits.h> exists even on freestanding compilers. */ 4362 4363 #ifdef __STDC__ 4364 # include <limits.h> 4365 #else 4366 # include <assert.h> 4367 #endif 4368 4369 #undef atol 4370 4371 /* Override any GCC internal prototype to avoid an error. 4372 Use char because int might match the return type of a GCC 4373 builtin and then its argument prototype would still apply. */ 4374 #ifdef __cplusplus 4375 extern "C" 4376 #endif 4377 char atol (); 4378 /* The GNU C library defines this for functions which it implements 4379 to always fail with ENOSYS. Some functions are actually named 4380 something starting with __ and the normal name is an alias. */ 4381 #if defined __stub_atol || defined __stub___atol 4382 choke me 4383 #endif 4384 4385 int 4386 main () 4387 { 4388 return atol (); 4389 ; 4390 return 0; 4391 } 4392 _ACEOF 4393 rm -f conftest.$ac_objext conftest$ac_exeext 4394 if { (ac_try="$ac_link" 4395 case "(($ac_try" in 4396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4397 *) ac_try_echo=$ac_try;; 4398 esac 4399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4400 (eval "$ac_link") 2>conftest.er1 4401 ac_status=$? 4402 grep -v '^ *+' conftest.er1 >conftest.err 4403 rm -f conftest.er1 4404 cat conftest.err >&5 4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4406 (exit $ac_status); } && { 4407 test -z "$ac_c_werror_flag" || 4408 test ! -s conftest.err 4409 } && test -s conftest$ac_exeext && 4410 $as_test_x conftest$ac_exeext; then 4411 ac_cv_func_atol=yes 4412 else 4413 echo "$as_me: failed program was:" >&5 4414 sed 's/^/| /' conftest.$ac_ext >&5 4415 4416 ac_cv_func_atol=no 4417 fi 4418 4419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4420 conftest$ac_exeext conftest.$ac_ext 4421 fi 4422 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4423 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4424 if test $ac_cv_func_atol = yes; then 4425 : 4426 else 4427 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4428 echo "$as_me: error: oops! no atol ?!?" >&2;} 4429 { (exit 1); exit 1; }; } 4638 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4639 4640 fi 4641 4642 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4643 if test "x$ac_cv_func_atol" = x""yes; then : 4644 4645 else 4646 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4430 4647 fi 4431 4648 … … 4439 4656 4440 4657 4441 4442 4658 for ac_func in sysinfo 4443 do 4444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4445 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4447 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4448 echo $ECHO_N "(cached) $ECHO_C" >&6 4449 else 4450 cat >conftest.$ac_ext <<_ACEOF 4451 /* confdefs.h. */ 4452 _ACEOF 4453 cat confdefs.h >>conftest.$ac_ext 4454 cat >>conftest.$ac_ext <<_ACEOF 4455 /* end confdefs.h. */ 4456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4457 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4458 #define $ac_func innocuous_$ac_func 4459 4460 /* System header to define __stub macros and hopefully few prototypes, 4461 which can conflict with char $ac_func (); below. 4462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4463 <limits.h> exists even on freestanding compilers. */ 4464 4465 #ifdef __STDC__ 4466 # include <limits.h> 4467 #else 4468 # include <assert.h> 4469 #endif 4470 4471 #undef $ac_func 4472 4473 /* Override any GCC internal prototype to avoid an error. 4474 Use char because int might match the return type of a GCC 4475 builtin and then its argument prototype would still apply. */ 4476 #ifdef __cplusplus 4477 extern "C" 4478 #endif 4479 char $ac_func (); 4480 /* The GNU C library defines this for functions which it implements 4481 to always fail with ENOSYS. Some functions are actually named 4482 something starting with __ and the normal name is an alias. */ 4483 #if defined __stub_$ac_func || defined __stub___$ac_func 4484 choke me 4485 #endif 4486 4487 int 4488 main () 4489 { 4490 return $ac_func (); 4491 ; 4492 return 0; 4493 } 4494 _ACEOF 4495 rm -f conftest.$ac_objext conftest$ac_exeext 4496 if { (ac_try="$ac_link" 4497 case "(($ac_try" in 4498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4499 *) ac_try_echo=$ac_try;; 4500 esac 4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4502 (eval "$ac_link") 2>conftest.er1 4503 ac_status=$? 4504 grep -v '^ *+' conftest.er1 >conftest.err 4505 rm -f conftest.er1 4506 cat conftest.err >&5 4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4508 (exit $ac_status); } && { 4509 test -z "$ac_cxx_werror_flag" || 4510 test ! -s conftest.err 4511 } && test -s conftest$ac_exeext && 4512 $as_test_x conftest$ac_exeext; then 4513 eval "$as_ac_var=yes" 4514 else 4515 echo "$as_me: failed program was:" >&5 4516 sed 's/^/| /' conftest.$ac_ext >&5 4517 4518 eval "$as_ac_var=no" 4519 fi 4520 4521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4522 conftest$ac_exeext conftest.$ac_ext 4523 fi 4524 ac_res=`eval echo '${'$as_ac_var'}'` 4525 { echo "$as_me:$LINENO: result: $ac_res" >&5 4526 echo "${ECHO_T}$ac_res" >&6; } 4527 if test `eval echo '${'$as_ac_var'}'` = yes; then 4659 do : 4660 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4661 if test "x$ac_cv_func_sysinfo" = x""yes; then : 4528 4662 cat >>confdefs.h <<_ACEOF 4529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4530 _ACEOF 4531 4532 fi 4533 done 4534 4535 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4546 inttypes.h stdint.h unistd.h 4547 do 4548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4549 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4551 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4552 echo $ECHO_N "(cached) $ECHO_C" >&6 4553 else 4554 cat >conftest.$ac_ext <<_ACEOF 4555 /* confdefs.h. */ 4556 _ACEOF 4557 cat confdefs.h >>conftest.$ac_ext 4558 cat >>conftest.$ac_ext <<_ACEOF 4559 /* end confdefs.h. */ 4560 $ac_includes_default 4561 4562 #include <$ac_header> 4563 _ACEOF 4564 rm -f conftest.$ac_objext 4565 if { (ac_try="$ac_compile" 4566 case "(($ac_try" in 4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4568 *) ac_try_echo=$ac_try;; 4569 esac 4570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4571 (eval "$ac_compile") 2>conftest.er1 4572 ac_status=$? 4573 grep -v '^ *+' conftest.er1 >conftest.err 4574 rm -f conftest.er1 4575 cat conftest.err >&5 4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4577 (exit $ac_status); } && { 4578 test -z "$ac_cxx_werror_flag" || 4579 test ! -s conftest.err 4580 } && test -s conftest.$ac_objext; then 4581 eval "$as_ac_Header=yes" 4582 else 4583 echo "$as_me: failed program was:" >&5 4584 sed 's/^/| /' conftest.$ac_ext >&5 4585 4586 eval "$as_ac_Header=no" 4587 fi 4588 4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4590 fi 4591 ac_res=`eval echo '${'$as_ac_Header'}'` 4592 { echo "$as_me:$LINENO: result: $ac_res" >&5 4593 echo "${ECHO_T}$ac_res" >&6; } 4594 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4595 cat >>confdefs.h <<_ACEOF 4596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4597 _ACEOF 4598 4599 fi 4600 4601 done 4602 4663 #define HAVE_SYSINFO 1 4664 _ACEOF 4665 4666 fi 4667 done 4603 4668 4604 4669 ac_ext=cpp … … 4607 4672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4608 4673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4609 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54610 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4675 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4611 4676 if test -z "$CXXCPP"; then 4612 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4613 echo $ECHO_N "(cached) $ECHO_C" >&64677 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 4678 $as_echo_n "(cached) " >&6 4614 4679 else 4615 4680 # Double quotes because CXXCPP needs to be expanded … … 4625 4690 # On the NeXT, cc -E runs the code through the compiler's parser, 4626 4691 # not just through cpp. "Syntax error" is here to catch this case. 4627 cat >conftest.$ac_ext <<_ACEOF 4628 /* confdefs.h. */ 4629 _ACEOF 4630 cat confdefs.h >>conftest.$ac_ext 4631 cat >>conftest.$ac_ext <<_ACEOF 4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4632 4693 /* end confdefs.h. */ 4633 4694 #ifdef __STDC__ … … 4638 4699 Syntax error 4639 4700 _ACEOF 4640 if { (ac_try="$ac_cpp conftest.$ac_ext" 4641 case "(($ac_try" in 4642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4643 *) ac_try_echo=$ac_try;; 4644 esac 4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4647 ac_status=$? 4648 grep -v '^ *+' conftest.er1 >conftest.err 4649 rm -f conftest.er1 4650 cat conftest.err >&5 4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4652 (exit $ac_status); } >/dev/null && { 4653 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4654 test ! -s conftest.err 4655 }; then 4656 : 4657 else 4658 echo "$as_me: failed program was:" >&5 4659 sed 's/^/| /' conftest.$ac_ext >&5 4660 4701 if ac_fn_cxx_try_cpp "$LINENO"; then : 4702 4703 else 4661 4704 # Broken: fails on valid input. 4662 4705 continue 4663 4706 fi 4664 4665 rm -f conftest.err conftest.$ac_ext 4707 rm -f conftest.err conftest.i conftest.$ac_ext 4666 4708 4667 4709 # OK, works on sane cases. Now check whether nonexistent headers 4668 4710 # can be detected and how. 4669 cat >conftest.$ac_ext <<_ACEOF 4670 /* confdefs.h. */ 4671 _ACEOF 4672 cat confdefs.h >>conftest.$ac_ext 4673 cat >>conftest.$ac_ext <<_ACEOF 4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4674 4712 /* end confdefs.h. */ 4675 4713 #include <ac_nonexistent.h> 4676 4714 _ACEOF 4677 if { (ac_try="$ac_cpp conftest.$ac_ext" 4678 case "(($ac_try" in 4679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4680 *) ac_try_echo=$ac_try;; 4681 esac 4682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4684 ac_status=$? 4685 grep -v '^ *+' conftest.er1 >conftest.err 4686 rm -f conftest.er1 4687 cat conftest.err >&5 4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4689 (exit $ac_status); } >/dev/null && { 4690 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4691 test ! -s conftest.err 4692 }; then 4715 if ac_fn_cxx_try_cpp "$LINENO"; then : 4693 4716 # Broken: success on invalid input. 4694 4717 continue 4695 4718 else 4696 echo "$as_me: failed program was:" >&54697 sed 's/^/| /' conftest.$ac_ext >&54698 4699 4719 # Passes both tests. 4700 4720 ac_preproc_ok=: 4701 4721 break 4702 4722 fi 4703 4704 rm -f conftest.err conftest.$ac_ext 4723 rm -f conftest.err conftest.i conftest.$ac_ext 4705 4724 4706 4725 done 4707 4726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4708 rm -f conftest. err conftest.$ac_ext4709 if $ac_preproc_ok; then 4727 rm -f conftest.i conftest.err conftest.$ac_ext 4728 if $ac_preproc_ok; then : 4710 4729 break 4711 4730 fi … … 4719 4738 ac_cv_prog_CXXCPP=$CXXCPP 4720 4739 fi 4721 { echo "$as_me:$LINENO: result: $CXXCPP" >&54722 echo "${ECHO_T}$CXXCPP" >&6; }4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4741 $as_echo "$CXXCPP" >&6; } 4723 4742 ac_preproc_ok=false 4724 4743 for ac_cxx_preproc_warn_flag in '' yes … … 4730 4749 # On the NeXT, cc -E runs the code through the compiler's parser, 4731 4750 # not just through cpp. "Syntax error" is here to catch this case. 4732 cat >conftest.$ac_ext <<_ACEOF 4733 /* confdefs.h. */ 4734 _ACEOF 4735 cat confdefs.h >>conftest.$ac_ext 4736 cat >>conftest.$ac_ext <<_ACEOF 4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4737 4752 /* end confdefs.h. */ 4738 4753 #ifdef __STDC__ … … 4743 4758 Syntax error 4744 4759 _ACEOF 4745 if { (ac_try="$ac_cpp conftest.$ac_ext" 4746 case "(($ac_try" in 4747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4748 *) ac_try_echo=$ac_try;; 4749 esac 4750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4752 ac_status=$? 4753 grep -v '^ *+' conftest.er1 >conftest.err 4754 rm -f conftest.er1 4755 cat conftest.err >&5 4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4757 (exit $ac_status); } >/dev/null && { 4758 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4759 test ! -s conftest.err 4760 }; then 4761 : 4762 else 4763 echo "$as_me: failed program was:" >&5 4764 sed 's/^/| /' conftest.$ac_ext >&5 4765 4760 if ac_fn_cxx_try_cpp "$LINENO"; then : 4761 4762 else 4766 4763 # Broken: fails on valid input. 4767 4764 continue 4768 4765 fi 4769 4770 rm -f conftest.err conftest.$ac_ext 4766 rm -f conftest.err conftest.i conftest.$ac_ext 4771 4767 4772 4768 # OK, works on sane cases. Now check whether nonexistent headers 4773 4769 # can be detected and how. 4774 cat >conftest.$ac_ext <<_ACEOF 4775 /* confdefs.h. */ 4776 _ACEOF 4777 cat confdefs.h >>conftest.$ac_ext 4778 cat >>conftest.$ac_ext <<_ACEOF 4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4779 4771 /* end confdefs.h. */ 4780 4772 #include <ac_nonexistent.h> 4781 4773 _ACEOF 4782 if { (ac_try="$ac_cpp conftest.$ac_ext" 4783 case "(($ac_try" in 4784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4785 *) ac_try_echo=$ac_try;; 4786 esac 4787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4789 ac_status=$? 4790 grep -v '^ *+' conftest.er1 >conftest.err 4791 rm -f conftest.er1 4792 cat conftest.err >&5 4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4794 (exit $ac_status); } >/dev/null && { 4795 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4796 test ! -s conftest.err 4797 }; then 4774 if ac_fn_cxx_try_cpp "$LINENO"; then : 4798 4775 # Broken: success on invalid input. 4799 4776 continue 4800 4777 else 4801 echo "$as_me: failed program was:" >&54802 sed 's/^/| /' conftest.$ac_ext >&54803 4804 4778 # Passes both tests. 4805 4779 ac_preproc_ok=: 4806 4780 break 4807 4781 fi 4808 4809 rm -f conftest.err conftest.$ac_ext 4782 rm -f conftest.err conftest.i conftest.$ac_ext 4810 4783 4811 4784 done 4812 4785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4813 rm -f conftest.err conftest.$ac_ext 4814 if $ac_preproc_ok; then 4815 : 4816 else 4817 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4818 See \`config.log' for more details." >&5 4819 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4820 See \`config.log' for more details." >&2;} 4821 { (exit 1); exit 1; }; } 4786 rm -f conftest.i conftest.err conftest.$ac_ext 4787 if $ac_preproc_ok; then : 4788 4789 else 4790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4792 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4793 See \`config.log' for more details" "$LINENO" 5 ; } 4822 4794 fi 4823 4795 … … 4829 4801 4830 4802 4803 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4804 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4805 inttypes.h stdint.h unistd.h 4806 do : 4807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4808 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4809 " 4810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4811 cat >>confdefs.h <<_ACEOF 4812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4813 _ACEOF 4814 4815 fi 4816 4817 done 4818 4831 4819 4832 4820 for ac_header in sys/sysinfo.h 4833 do 4834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4836 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4839 echo $ECHO_N "(cached) $ECHO_C" >&6 4840 fi 4841 ac_res=`eval echo '${'$as_ac_Header'}'` 4842 { echo "$as_me:$LINENO: result: $ac_res" >&5 4843 echo "${ECHO_T}$ac_res" >&6; } 4844 else 4845 # Is the header compilable? 4846 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4848 cat >conftest.$ac_ext <<_ACEOF 4849 /* confdefs.h. */ 4850 _ACEOF 4851 cat confdefs.h >>conftest.$ac_ext 4852 cat >>conftest.$ac_ext <<_ACEOF 4853 /* end confdefs.h. */ 4854 $ac_includes_default 4855 #include <$ac_header> 4856 _ACEOF 4857 rm -f conftest.$ac_objext 4858 if { (ac_try="$ac_compile" 4859 case "(($ac_try" in 4860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4861 *) ac_try_echo=$ac_try;; 4862 esac 4863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4864 (eval "$ac_compile") 2>conftest.er1 4865 ac_status=$? 4866 grep -v '^ *+' conftest.er1 >conftest.err 4867 rm -f conftest.er1 4868 cat conftest.err >&5 4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4870 (exit $ac_status); } && { 4871 test -z "$ac_cxx_werror_flag" || 4872 test ! -s conftest.err 4873 } && test -s conftest.$ac_objext; then 4874 ac_header_compiler=yes 4875 else 4876 echo "$as_me: failed program was:" >&5 4877 sed 's/^/| /' conftest.$ac_ext >&5 4878 4879 ac_header_compiler=no 4880 fi 4881 4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4883 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4884 echo "${ECHO_T}$ac_header_compiler" >&6; } 4885 4886 # Is the header present? 4887 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4888 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4889 cat >conftest.$ac_ext <<_ACEOF 4890 /* confdefs.h. */ 4891 _ACEOF 4892 cat confdefs.h >>conftest.$ac_ext 4893 cat >>conftest.$ac_ext <<_ACEOF 4894 /* end confdefs.h. */ 4895 #include <$ac_header> 4896 _ACEOF 4897 if { (ac_try="$ac_cpp conftest.$ac_ext" 4898 case "(($ac_try" in 4899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4900 *) ac_try_echo=$ac_try;; 4901 esac 4902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4904 ac_status=$? 4905 grep -v '^ *+' conftest.er1 >conftest.err 4906 rm -f conftest.er1 4907 cat conftest.err >&5 4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4909 (exit $ac_status); } >/dev/null && { 4910 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4911 test ! -s conftest.err 4912 }; then 4913 ac_header_preproc=yes 4914 else 4915 echo "$as_me: failed program was:" >&5 4916 sed 's/^/| /' conftest.$ac_ext >&5 4917 4918 ac_header_preproc=no 4919 fi 4920 4921 rm -f conftest.err conftest.$ac_ext 4922 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4923 echo "${ECHO_T}$ac_header_preproc" >&6; } 4924 4925 # So? What about this header? 4926 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4927 yes:no: ) 4928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4932 ac_header_preproc=yes 4933 ;; 4934 no:yes:* ) 4935 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4937 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4938 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4939 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4941 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4942 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4945 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4947 ( cat <<\_ASBOX 4948 ## ----------------------------------- ## 4949 ## Report this to rappture@nanohub.org ## 4950 ## ----------------------------------- ## 4951 _ASBOX 4952 ) | sed "s/^/$as_me: WARNING: /" >&2 4953 ;; 4954 esac 4955 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4958 echo $ECHO_N "(cached) $ECHO_C" >&6 4959 else 4960 eval "$as_ac_Header=\$ac_header_preproc" 4961 fi 4962 ac_res=`eval echo '${'$as_ac_Header'}'` 4963 { echo "$as_me:$LINENO: result: $ac_res" >&5 4964 echo "${ECHO_T}$ac_res" >&6; } 4965 4966 fi 4967 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4821 do : 4822 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4823 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then : 4968 4824 cat >>confdefs.h <<_ACEOF 4969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4970 _ACEOF 4971 4972 fi 4973 4974 done 4975 4976 4977 4978 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4979 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4980 if test "${ac_cv_lib_m_main+set}" = set; then 4981 echo $ECHO_N "(cached) $ECHO_C" >&6 4825 #define HAVE_SYS_SYSINFO_H 1 4826 _ACEOF 4827 4828 fi 4829 4830 done 4831 4832 4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4834 $as_echo_n "checking for main in -lm... " >&6; } 4835 if test "${ac_cv_lib_m_main+set}" = set; then : 4836 $as_echo_n "(cached) " >&6 4982 4837 else 4983 4838 ac_check_lib_save_LIBS=$LIBS 4984 4839 LIBS="-lm $LIBS" 4985 cat >conftest.$ac_ext <<_ACEOF 4986 /* confdefs.h. */ 4987 _ACEOF 4988 cat confdefs.h >>conftest.$ac_ext 4989 cat >>conftest.$ac_ext <<_ACEOF 4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4990 4841 /* end confdefs.h. */ 4991 4842 … … 4999 4850 } 5000 4851 _ACEOF 5001 rm -f conftest.$ac_objext conftest$ac_exeext 5002 if { (ac_try="$ac_link" 5003 case "(($ac_try" in 5004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5005 *) ac_try_echo=$ac_try;; 5006 esac 5007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5008 (eval "$ac_link") 2>conftest.er1 5009 ac_status=$? 5010 grep -v '^ *+' conftest.er1 >conftest.err 5011 rm -f conftest.er1 5012 cat conftest.err >&5 5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5014 (exit $ac_status); } && { 5015 test -z "$ac_cxx_werror_flag" || 5016 test ! -s conftest.err 5017 } && test -s conftest$ac_exeext && 5018 $as_test_x conftest$ac_exeext; then 4852 if ac_fn_cxx_try_link "$LINENO"; then : 5019 4853 ac_cv_lib_m_main=yes 5020 4854 else 5021 echo "$as_me: failed program was:" >&5 5022 sed 's/^/| /' conftest.$ac_ext >&5 5023 5024 ac_cv_lib_m_main=no 5025 fi 5026 5027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5028 conftest$ac_exeext conftest.$ac_ext 4855 ac_cv_lib_m_main=no 4856 fi 4857 rm -f core conftest.err conftest.$ac_objext \ 4858 conftest$ac_exeext conftest.$ac_ext 5029 4859 LIBS=$ac_check_lib_save_LIBS 5030 4860 fi 5031 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55032 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5033 if test $ac_cv_lib_m_main = yes; then4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4862 $as_echo "$ac_cv_lib_m_main" >&6; } 4863 if test "x$ac_cv_lib_m_main" = x""yes; then : 5034 4864 cat >>confdefs.h <<_ACEOF 5035 4865 #define HAVE_LIBM 1 … … 5039 4869 5040 4870 else 5041 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5042 echo "$as_me: error: librappture requires libm" >&2;} 5043 { (exit 1); exit 1; }; } 5044 fi 5045 5046 5047 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5048 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5049 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5050 echo $ECHO_N "(cached) $ECHO_C" >&6 4871 as_fn_error $? "librappture requires libm" "$LINENO" 5 4872 fi 4873 4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4875 $as_echo_n "checking for main in -lstdc++... " >&6; } 4876 if test "${ac_cv_lib_stdcpp_main+set}" = set; then : 4877 $as_echo_n "(cached) " >&6 5051 4878 else 5052 4879 ac_check_lib_save_LIBS=$LIBS 5053 4880 LIBS="-lstdc++ $LIBS" 5054 cat >conftest.$ac_ext <<_ACEOF 5055 /* confdefs.h. */ 5056 _ACEOF 5057 cat confdefs.h >>conftest.$ac_ext 5058 cat >>conftest.$ac_ext <<_ACEOF 4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5059 4882 /* end confdefs.h. */ 5060 4883 … … 5068 4891 } 5069 4892 _ACEOF 5070 rm -f conftest.$ac_objext conftest$ac_exeext 5071 if { (ac_try="$ac_link" 5072 case "(($ac_try" in 5073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5074 *) ac_try_echo=$ac_try;; 5075 esac 5076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5077 (eval "$ac_link") 2>conftest.er1 5078 ac_status=$? 5079 grep -v '^ *+' conftest.er1 >conftest.err 5080 rm -f conftest.er1 5081 cat conftest.err >&5 5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5083 (exit $ac_status); } && { 5084 test -z "$ac_cxx_werror_flag" || 5085 test ! -s conftest.err 5086 } && test -s conftest$ac_exeext && 5087 $as_test_x conftest$ac_exeext; then 4893 if ac_fn_cxx_try_link "$LINENO"; then : 5088 4894 ac_cv_lib_stdcpp_main=yes 5089 4895 else 5090 echo "$as_me: failed program was:" >&5 5091 sed 's/^/| /' conftest.$ac_ext >&5 5092 5093 ac_cv_lib_stdcpp_main=no 5094 fi 5095 5096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5097 conftest$ac_exeext conftest.$ac_ext 4896 ac_cv_lib_stdcpp_main=no 4897 fi 4898 rm -f core conftest.err conftest.$ac_objext \ 4899 conftest$ac_exeext conftest.$ac_ext 5098 4900 LIBS=$ac_check_lib_save_LIBS 5099 4901 fi 5100 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55101 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5102 if test $ac_cv_lib_stdcpp_main = yes; then4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4903 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4904 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then : 5103 4905 cat >>confdefs.h <<_ACEOF 5104 4906 #define HAVE_LIBSTDC__ 1 … … 5108 4910 5109 4911 else 5110 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5111 echo "$as_me: error: librappture requires libstdc++" >&2;} 5112 { (exit 1); exit 1; }; } 5113 fi 5114 4912 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 4913 fi 5115 4914 5116 4915 for ac_header in algorithm 5117 do 5118 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5120 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5123 echo $ECHO_N "(cached) $ECHO_C" >&6 5124 fi 5125 ac_res=`eval echo '${'$as_ac_Header'}'` 5126 { echo "$as_me:$LINENO: result: $ac_res" >&5 5127 echo "${ECHO_T}$ac_res" >&6; } 5128 else 5129 # Is the header compilable? 5130 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5132 cat >conftest.$ac_ext <<_ACEOF 5133 /* confdefs.h. */ 5134 _ACEOF 5135 cat confdefs.h >>conftest.$ac_ext 5136 cat >>conftest.$ac_ext <<_ACEOF 5137 /* end confdefs.h. */ 5138 $ac_includes_default 5139 #include <$ac_header> 5140 _ACEOF 5141 rm -f conftest.$ac_objext 5142 if { (ac_try="$ac_compile" 5143 case "(($ac_try" in 5144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5145 *) ac_try_echo=$ac_try;; 5146 esac 5147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5148 (eval "$ac_compile") 2>conftest.er1 5149 ac_status=$? 5150 grep -v '^ *+' conftest.er1 >conftest.err 5151 rm -f conftest.er1 5152 cat conftest.err >&5 5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5154 (exit $ac_status); } && { 5155 test -z "$ac_cxx_werror_flag" || 5156 test ! -s conftest.err 5157 } && test -s conftest.$ac_objext; then 5158 ac_header_compiler=yes 5159 else 5160 echo "$as_me: failed program was:" >&5 5161 sed 's/^/| /' conftest.$ac_ext >&5 5162 5163 ac_header_compiler=no 5164 fi 5165 5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5167 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5168 echo "${ECHO_T}$ac_header_compiler" >&6; } 5169 5170 # Is the header present? 5171 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5173 cat >conftest.$ac_ext <<_ACEOF 5174 /* confdefs.h. */ 5175 _ACEOF 5176 cat confdefs.h >>conftest.$ac_ext 5177 cat >>conftest.$ac_ext <<_ACEOF 5178 /* end confdefs.h. */ 5179 #include <$ac_header> 5180 _ACEOF 5181 if { (ac_try="$ac_cpp conftest.$ac_ext" 5182 case "(($ac_try" in 5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5184 *) ac_try_echo=$ac_try;; 5185 esac 5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5187 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5188 ac_status=$? 5189 grep -v '^ *+' conftest.er1 >conftest.err 5190 rm -f conftest.er1 5191 cat conftest.err >&5 5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5193 (exit $ac_status); } >/dev/null && { 5194 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5195 test ! -s conftest.err 5196 }; then 5197 ac_header_preproc=yes 5198 else 5199 echo "$as_me: failed program was:" >&5 5200 sed 's/^/| /' conftest.$ac_ext >&5 5201 5202 ac_header_preproc=no 5203 fi 5204 5205 rm -f conftest.err conftest.$ac_ext 5206 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5207 echo "${ECHO_T}$ac_header_preproc" >&6; } 5208 5209 # So? What about this header? 5210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5211 yes:no: ) 5212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5216 ac_header_preproc=yes 5217 ;; 5218 no:yes:* ) 5219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5231 ( cat <<\_ASBOX 5232 ## ----------------------------------- ## 5233 ## Report this to rappture@nanohub.org ## 5234 ## ----------------------------------- ## 5235 _ASBOX 5236 ) | sed "s/^/$as_me: WARNING: /" >&2 5237 ;; 5238 esac 5239 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5242 echo $ECHO_N "(cached) $ECHO_C" >&6 5243 else 5244 eval "$as_ac_Header=\$ac_header_preproc" 5245 fi 5246 ac_res=`eval echo '${'$as_ac_Header'}'` 5247 { echo "$as_me:$LINENO: result: $ac_res" >&5 5248 echo "${ECHO_T}$ac_res" >&6; } 5249 5250 fi 5251 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4916 do : 4917 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4918 if test "x$ac_cv_header_algorithm" = x""yes; then : 5252 4919 cat >>confdefs.h <<_ACEOF 5253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5254 _ACEOF 5255 5256 else 5257 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5258 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5259 fi 5260 5261 done 5262 4920 #define HAVE_ALGORITHM 1 4921 _ACEOF 4922 4923 else 4924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4925 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4926 fi 4927 4928 done 5263 4929 5264 4930 for ac_header in cctype 5265 do 5266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5268 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5270 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5271 echo $ECHO_N "(cached) $ECHO_C" >&6 5272 fi 5273 ac_res=`eval echo '${'$as_ac_Header'}'` 5274 { echo "$as_me:$LINENO: result: $ac_res" >&5 5275 echo "${ECHO_T}$ac_res" >&6; } 5276 else 5277 # Is the header compilable? 5278 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5279 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5280 cat >conftest.$ac_ext <<_ACEOF 5281 /* confdefs.h. */ 5282 _ACEOF 5283 cat confdefs.h >>conftest.$ac_ext 5284 cat >>conftest.$ac_ext <<_ACEOF 5285 /* end confdefs.h. */ 5286 $ac_includes_default 5287 #include <$ac_header> 5288 _ACEOF 5289 rm -f conftest.$ac_objext 5290 if { (ac_try="$ac_compile" 5291 case "(($ac_try" in 5292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5293 *) ac_try_echo=$ac_try;; 5294 esac 5295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5296 (eval "$ac_compile") 2>conftest.er1 5297 ac_status=$? 5298 grep -v '^ *+' conftest.er1 >conftest.err 5299 rm -f conftest.er1 5300 cat conftest.err >&5 5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5302 (exit $ac_status); } && { 5303 test -z "$ac_cxx_werror_flag" || 5304 test ! -s conftest.err 5305 } && test -s conftest.$ac_objext; then 5306 ac_header_compiler=yes 5307 else 5308 echo "$as_me: failed program was:" >&5 5309 sed 's/^/| /' conftest.$ac_ext >&5 5310 5311 ac_header_compiler=no 5312 fi 5313 5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5315 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5316 echo "${ECHO_T}$ac_header_compiler" >&6; } 5317 5318 # Is the header present? 5319 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5321 cat >conftest.$ac_ext <<_ACEOF 5322 /* confdefs.h. */ 5323 _ACEOF 5324 cat confdefs.h >>conftest.$ac_ext 5325 cat >>conftest.$ac_ext <<_ACEOF 5326 /* end confdefs.h. */ 5327 #include <$ac_header> 5328 _ACEOF 5329 if { (ac_try="$ac_cpp conftest.$ac_ext" 5330 case "(($ac_try" in 5331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5332 *) ac_try_echo=$ac_try;; 5333 esac 5334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5335 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5336 ac_status=$? 5337 grep -v '^ *+' conftest.er1 >conftest.err 5338 rm -f conftest.er1 5339 cat conftest.err >&5 5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5341 (exit $ac_status); } >/dev/null && { 5342 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5343 test ! -s conftest.err 5344 }; then 5345 ac_header_preproc=yes 5346 else 5347 echo "$as_me: failed program was:" >&5 5348 sed 's/^/| /' conftest.$ac_ext >&5 5349 5350 ac_header_preproc=no 5351 fi 5352 5353 rm -f conftest.err conftest.$ac_ext 5354 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5355 echo "${ECHO_T}$ac_header_preproc" >&6; } 5356 5357 # So? What about this header? 5358 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5359 yes:no: ) 5360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5363 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5364 ac_header_preproc=yes 5365 ;; 5366 no:yes:* ) 5367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5371 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5372 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5373 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5374 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5377 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5378 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5379 ( cat <<\_ASBOX 5380 ## ----------------------------------- ## 5381 ## Report this to rappture@nanohub.org ## 5382 ## ----------------------------------- ## 5383 _ASBOX 5384 ) | sed "s/^/$as_me: WARNING: /" >&2 5385 ;; 5386 esac 5387 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5390 echo $ECHO_N "(cached) $ECHO_C" >&6 5391 else 5392 eval "$as_ac_Header=\$ac_header_preproc" 5393 fi 5394 ac_res=`eval echo '${'$as_ac_Header'}'` 5395 { echo "$as_me:$LINENO: result: $ac_res" >&5 5396 echo "${ECHO_T}$ac_res" >&6; } 5397 5398 fi 5399 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4931 do : 4932 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4933 if test "x$ac_cv_header_cctype" = x""yes; then : 5400 4934 cat >>confdefs.h <<_ACEOF 5401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5402 _ACEOF 5403 5404 else 5405 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5406 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5407 fi 5408 5409 done 5410 4935 #define HAVE_CCTYPE 1 4936 _ACEOF 4937 4938 else 4939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4940 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4941 fi 4942 4943 done 5411 4944 5412 4945 for ac_header in cfloat 5413 do 5414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5416 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5419 echo $ECHO_N "(cached) $ECHO_C" >&6 5420 fi 5421 ac_res=`eval echo '${'$as_ac_Header'}'` 5422 { echo "$as_me:$LINENO: result: $ac_res" >&5 5423 echo "${ECHO_T}$ac_res" >&6; } 5424 else 5425 # Is the header compilable? 5426 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5428 cat >conftest.$ac_ext <<_ACEOF 5429 /* confdefs.h. */ 5430 _ACEOF 5431 cat confdefs.h >>conftest.$ac_ext 5432 cat >>conftest.$ac_ext <<_ACEOF 5433 /* end confdefs.h. */ 5434 $ac_includes_default 5435 #include <$ac_header> 5436 _ACEOF 5437 rm -f conftest.$ac_objext 5438 if { (ac_try="$ac_compile" 5439 case "(($ac_try" in 5440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5441 *) ac_try_echo=$ac_try;; 5442 esac 5443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5444 (eval "$ac_compile") 2>conftest.er1 5445 ac_status=$? 5446 grep -v '^ *+' conftest.er1 >conftest.err 5447 rm -f conftest.er1 5448 cat conftest.err >&5 5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5450 (exit $ac_status); } && { 5451 test -z "$ac_cxx_werror_flag" || 5452 test ! -s conftest.err 5453 } && test -s conftest.$ac_objext; then 5454 ac_header_compiler=yes 5455 else 5456 echo "$as_me: failed program was:" >&5 5457 sed 's/^/| /' conftest.$ac_ext >&5 5458 5459 ac_header_compiler=no 5460 fi 5461 5462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5463 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5464 echo "${ECHO_T}$ac_header_compiler" >&6; } 5465 5466 # Is the header present? 5467 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5468 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5469 cat >conftest.$ac_ext <<_ACEOF 5470 /* confdefs.h. */ 5471 _ACEOF 5472 cat confdefs.h >>conftest.$ac_ext 5473 cat >>conftest.$ac_ext <<_ACEOF 5474 /* end confdefs.h. */ 5475 #include <$ac_header> 5476 _ACEOF 5477 if { (ac_try="$ac_cpp conftest.$ac_ext" 5478 case "(($ac_try" in 5479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5480 *) ac_try_echo=$ac_try;; 5481 esac 5482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5484 ac_status=$? 5485 grep -v '^ *+' conftest.er1 >conftest.err 5486 rm -f conftest.er1 5487 cat conftest.err >&5 5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5489 (exit $ac_status); } >/dev/null && { 5490 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5491 test ! -s conftest.err 5492 }; then 5493 ac_header_preproc=yes 5494 else 5495 echo "$as_me: failed program was:" >&5 5496 sed 's/^/| /' conftest.$ac_ext >&5 5497 5498 ac_header_preproc=no 5499 fi 5500 5501 rm -f conftest.err conftest.$ac_ext 5502 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5503 echo "${ECHO_T}$ac_header_preproc" >&6; } 5504 5505 # So? What about this header? 5506 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5507 yes:no: ) 5508 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5509 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5511 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5512 ac_header_preproc=yes 5513 ;; 5514 no:yes:* ) 5515 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5516 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5517 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5518 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5519 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5520 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5521 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5522 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5525 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5526 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5527 ( cat <<\_ASBOX 5528 ## ----------------------------------- ## 5529 ## Report this to rappture@nanohub.org ## 5530 ## ----------------------------------- ## 5531 _ASBOX 5532 ) | sed "s/^/$as_me: WARNING: /" >&2 5533 ;; 5534 esac 5535 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5538 echo $ECHO_N "(cached) $ECHO_C" >&6 5539 else 5540 eval "$as_ac_Header=\$ac_header_preproc" 5541 fi 5542 ac_res=`eval echo '${'$as_ac_Header'}'` 5543 { echo "$as_me:$LINENO: result: $ac_res" >&5 5544 echo "${ECHO_T}$ac_res" >&6; } 5545 5546 fi 5547 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4946 do : 4947 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4948 if test "x$ac_cv_header_cfloat" = x""yes; then : 5548 4949 cat >>confdefs.h <<_ACEOF 5549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5550 _ACEOF 5551 5552 else 5553 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5554 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5555 fi 5556 5557 done 5558 4950 #define HAVE_CFLOAT 1 4951 _ACEOF 4952 4953 else 4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4955 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4956 fi 4957 4958 done 5559 4959 5560 4960 for ac_header in cmath 5561 do 5562 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5564 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5567 echo $ECHO_N "(cached) $ECHO_C" >&6 5568 fi 5569 ac_res=`eval echo '${'$as_ac_Header'}'` 5570 { echo "$as_me:$LINENO: result: $ac_res" >&5 5571 echo "${ECHO_T}$ac_res" >&6; } 5572 else 5573 # Is the header compilable? 5574 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5576 cat >conftest.$ac_ext <<_ACEOF 5577 /* confdefs.h. */ 5578 _ACEOF 5579 cat confdefs.h >>conftest.$ac_ext 5580 cat >>conftest.$ac_ext <<_ACEOF 5581 /* end confdefs.h. */ 5582 $ac_includes_default 5583 #include <$ac_header> 5584 _ACEOF 5585 rm -f conftest.$ac_objext 5586 if { (ac_try="$ac_compile" 5587 case "(($ac_try" in 5588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5589 *) ac_try_echo=$ac_try;; 5590 esac 5591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5592 (eval "$ac_compile") 2>conftest.er1 5593 ac_status=$? 5594 grep -v '^ *+' conftest.er1 >conftest.err 5595 rm -f conftest.er1 5596 cat conftest.err >&5 5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5598 (exit $ac_status); } && { 5599 test -z "$ac_cxx_werror_flag" || 5600 test ! -s conftest.err 5601 } && test -s conftest.$ac_objext; then 5602 ac_header_compiler=yes 5603 else 5604 echo "$as_me: failed program was:" >&5 5605 sed 's/^/| /' conftest.$ac_ext >&5 5606 5607 ac_header_compiler=no 5608 fi 5609 5610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5611 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5612 echo "${ECHO_T}$ac_header_compiler" >&6; } 5613 5614 # Is the header present? 5615 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5617 cat >conftest.$ac_ext <<_ACEOF 5618 /* confdefs.h. */ 5619 _ACEOF 5620 cat confdefs.h >>conftest.$ac_ext 5621 cat >>conftest.$ac_ext <<_ACEOF 5622 /* end confdefs.h. */ 5623 #include <$ac_header> 5624 _ACEOF 5625 if { (ac_try="$ac_cpp conftest.$ac_ext" 5626 case "(($ac_try" in 5627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5628 *) ac_try_echo=$ac_try;; 5629 esac 5630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5632 ac_status=$? 5633 grep -v '^ *+' conftest.er1 >conftest.err 5634 rm -f conftest.er1 5635 cat conftest.err >&5 5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5637 (exit $ac_status); } >/dev/null && { 5638 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5639 test ! -s conftest.err 5640 }; then 5641 ac_header_preproc=yes 5642 else 5643 echo "$as_me: failed program was:" >&5 5644 sed 's/^/| /' conftest.$ac_ext >&5 5645 5646 ac_header_preproc=no 5647 fi 5648 5649 rm -f conftest.err conftest.$ac_ext 5650 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5651 echo "${ECHO_T}$ac_header_preproc" >&6; } 5652 5653 # So? What about this header? 5654 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5655 yes:no: ) 5656 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5657 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5659 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5660 ac_header_preproc=yes 5661 ;; 5662 no:yes:* ) 5663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5667 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5668 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5669 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5670 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5673 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5674 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5675 ( cat <<\_ASBOX 5676 ## ----------------------------------- ## 5677 ## Report this to rappture@nanohub.org ## 5678 ## ----------------------------------- ## 5679 _ASBOX 5680 ) | sed "s/^/$as_me: WARNING: /" >&2 5681 ;; 5682 esac 5683 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5686 echo $ECHO_N "(cached) $ECHO_C" >&6 5687 else 5688 eval "$as_ac_Header=\$ac_header_preproc" 5689 fi 5690 ac_res=`eval echo '${'$as_ac_Header'}'` 5691 { echo "$as_me:$LINENO: result: $ac_res" >&5 5692 echo "${ECHO_T}$ac_res" >&6; } 5693 5694 fi 5695 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4961 do : 4962 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 4963 if test "x$ac_cv_header_cmath" = x""yes; then : 5696 4964 cat >>confdefs.h <<_ACEOF 5697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5698 _ACEOF 5699 5700 else 5701 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5702 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5703 fi 5704 5705 done 5706 4965 #define HAVE_CMATH 1 4966 _ACEOF 4967 4968 else 4969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4970 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4971 fi 4972 4973 done 5707 4974 5708 4975 for ac_header in cstdio 5709 do 5710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5712 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5714 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5715 echo $ECHO_N "(cached) $ECHO_C" >&6 5716 fi 5717 ac_res=`eval echo '${'$as_ac_Header'}'` 5718 { echo "$as_me:$LINENO: result: $ac_res" >&5 5719 echo "${ECHO_T}$ac_res" >&6; } 5720 else 5721 # Is the header compilable? 5722 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5724 cat >conftest.$ac_ext <<_ACEOF 5725 /* confdefs.h. */ 5726 _ACEOF 5727 cat confdefs.h >>conftest.$ac_ext 5728 cat >>conftest.$ac_ext <<_ACEOF 5729 /* end confdefs.h. */ 5730 $ac_includes_default 5731 #include <$ac_header> 5732 _ACEOF 5733 rm -f conftest.$ac_objext 5734 if { (ac_try="$ac_compile" 5735 case "(($ac_try" in 5736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5737 *) ac_try_echo=$ac_try;; 5738 esac 5739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5740 (eval "$ac_compile") 2>conftest.er1 5741 ac_status=$? 5742 grep -v '^ *+' conftest.er1 >conftest.err 5743 rm -f conftest.er1 5744 cat conftest.err >&5 5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5746 (exit $ac_status); } && { 5747 test -z "$ac_cxx_werror_flag" || 5748 test ! -s conftest.err 5749 } && test -s conftest.$ac_objext; then 5750 ac_header_compiler=yes 5751 else 5752 echo "$as_me: failed program was:" >&5 5753 sed 's/^/| /' conftest.$ac_ext >&5 5754 5755 ac_header_compiler=no 5756 fi 5757 5758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5759 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5760 echo "${ECHO_T}$ac_header_compiler" >&6; } 5761 5762 # Is the header present? 5763 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5765 cat >conftest.$ac_ext <<_ACEOF 5766 /* confdefs.h. */ 5767 _ACEOF 5768 cat confdefs.h >>conftest.$ac_ext 5769 cat >>conftest.$ac_ext <<_ACEOF 5770 /* end confdefs.h. */ 5771 #include <$ac_header> 5772 _ACEOF 5773 if { (ac_try="$ac_cpp conftest.$ac_ext" 5774 case "(($ac_try" in 5775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5776 *) ac_try_echo=$ac_try;; 5777 esac 5778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5780 ac_status=$? 5781 grep -v '^ *+' conftest.er1 >conftest.err 5782 rm -f conftest.er1 5783 cat conftest.err >&5 5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5785 (exit $ac_status); } >/dev/null && { 5786 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5787 test ! -s conftest.err 5788 }; then 5789 ac_header_preproc=yes 5790 else 5791 echo "$as_me: failed program was:" >&5 5792 sed 's/^/| /' conftest.$ac_ext >&5 5793 5794 ac_header_preproc=no 5795 fi 5796 5797 rm -f conftest.err conftest.$ac_ext 5798 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5799 echo "${ECHO_T}$ac_header_preproc" >&6; } 5800 5801 # So? What about this header? 5802 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5803 yes:no: ) 5804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5807 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5808 ac_header_preproc=yes 5809 ;; 5810 no:yes:* ) 5811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5815 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5816 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5817 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5818 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5821 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5822 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5823 ( cat <<\_ASBOX 5824 ## ----------------------------------- ## 5825 ## Report this to rappture@nanohub.org ## 5826 ## ----------------------------------- ## 5827 _ASBOX 5828 ) | sed "s/^/$as_me: WARNING: /" >&2 5829 ;; 5830 esac 5831 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5833 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5834 echo $ECHO_N "(cached) $ECHO_C" >&6 5835 else 5836 eval "$as_ac_Header=\$ac_header_preproc" 5837 fi 5838 ac_res=`eval echo '${'$as_ac_Header'}'` 5839 { echo "$as_me:$LINENO: result: $ac_res" >&5 5840 echo "${ECHO_T}$ac_res" >&6; } 5841 5842 fi 5843 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4976 do : 4977 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 4978 if test "x$ac_cv_header_cstdio" = x""yes; then : 5844 4979 cat >>confdefs.h <<_ACEOF 5845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5846 _ACEOF 5847 5848 else 5849 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5850 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5851 fi 5852 5853 done 5854 4980 #define HAVE_CSTDIO 1 4981 _ACEOF 4982 4983 else 4984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4985 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4986 fi 4987 4988 done 5855 4989 5856 4990 for ac_header in cstdlib 5857 do 5858 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5859 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5860 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5863 echo $ECHO_N "(cached) $ECHO_C" >&6 5864 fi 5865 ac_res=`eval echo '${'$as_ac_Header'}'` 5866 { echo "$as_me:$LINENO: result: $ac_res" >&5 5867 echo "${ECHO_T}$ac_res" >&6; } 5868 else 5869 # Is the header compilable? 5870 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5871 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5872 cat >conftest.$ac_ext <<_ACEOF 5873 /* confdefs.h. */ 5874 _ACEOF 5875 cat confdefs.h >>conftest.$ac_ext 5876 cat >>conftest.$ac_ext <<_ACEOF 5877 /* end confdefs.h. */ 5878 $ac_includes_default 5879 #include <$ac_header> 5880 _ACEOF 5881 rm -f conftest.$ac_objext 5882 if { (ac_try="$ac_compile" 5883 case "(($ac_try" in 5884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5885 *) ac_try_echo=$ac_try;; 5886 esac 5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5888 (eval "$ac_compile") 2>conftest.er1 5889 ac_status=$? 5890 grep -v '^ *+' conftest.er1 >conftest.err 5891 rm -f conftest.er1 5892 cat conftest.err >&5 5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5894 (exit $ac_status); } && { 5895 test -z "$ac_cxx_werror_flag" || 5896 test ! -s conftest.err 5897 } && test -s conftest.$ac_objext; then 5898 ac_header_compiler=yes 5899 else 5900 echo "$as_me: failed program was:" >&5 5901 sed 's/^/| /' conftest.$ac_ext >&5 5902 5903 ac_header_compiler=no 5904 fi 5905 5906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5907 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5908 echo "${ECHO_T}$ac_header_compiler" >&6; } 5909 5910 # Is the header present? 5911 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5912 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5913 cat >conftest.$ac_ext <<_ACEOF 5914 /* confdefs.h. */ 5915 _ACEOF 5916 cat confdefs.h >>conftest.$ac_ext 5917 cat >>conftest.$ac_ext <<_ACEOF 5918 /* end confdefs.h. */ 5919 #include <$ac_header> 5920 _ACEOF 5921 if { (ac_try="$ac_cpp conftest.$ac_ext" 5922 case "(($ac_try" in 5923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5924 *) ac_try_echo=$ac_try;; 5925 esac 5926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5928 ac_status=$? 5929 grep -v '^ *+' conftest.er1 >conftest.err 5930 rm -f conftest.er1 5931 cat conftest.err >&5 5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5933 (exit $ac_status); } >/dev/null && { 5934 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5935 test ! -s conftest.err 5936 }; then 5937 ac_header_preproc=yes 5938 else 5939 echo "$as_me: failed program was:" >&5 5940 sed 's/^/| /' conftest.$ac_ext >&5 5941 5942 ac_header_preproc=no 5943 fi 5944 5945 rm -f conftest.err conftest.$ac_ext 5946 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5947 echo "${ECHO_T}$ac_header_preproc" >&6; } 5948 5949 # So? What about this header? 5950 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5951 yes:no: ) 5952 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5953 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5955 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5956 ac_header_preproc=yes 5957 ;; 5958 no:yes:* ) 5959 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5960 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5961 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5962 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5963 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5964 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5965 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5966 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5969 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5970 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5971 ( cat <<\_ASBOX 5972 ## ----------------------------------- ## 5973 ## Report this to rappture@nanohub.org ## 5974 ## ----------------------------------- ## 5975 _ASBOX 5976 ) | sed "s/^/$as_me: WARNING: /" >&2 5977 ;; 5978 esac 5979 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5981 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5982 echo $ECHO_N "(cached) $ECHO_C" >&6 5983 else 5984 eval "$as_ac_Header=\$ac_header_preproc" 5985 fi 5986 ac_res=`eval echo '${'$as_ac_Header'}'` 5987 { echo "$as_me:$LINENO: result: $ac_res" >&5 5988 echo "${ECHO_T}$ac_res" >&6; } 5989 5990 fi 5991 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4991 do : 4992 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 4993 if test "x$ac_cv_header_cstdlib" = x""yes; then : 5992 4994 cat >>confdefs.h <<_ACEOF 5993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5994 _ACEOF 5995 5996 else 5997 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5998 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5999 fi 6000 6001 done 6002 4995 #define HAVE_CSTDLIB 1 4996 _ACEOF 4997 4998 else 4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5000 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5001 fi 5002 5003 done 6003 5004 6004 5005 for ac_header in cstring 6005 do 6006 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6008 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6011 echo $ECHO_N "(cached) $ECHO_C" >&6 6012 fi 6013 ac_res=`eval echo '${'$as_ac_Header'}'` 6014 { echo "$as_me:$LINENO: result: $ac_res" >&5 6015 echo "${ECHO_T}$ac_res" >&6; } 6016 else 6017 # Is the header compilable? 6018 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6020 cat >conftest.$ac_ext <<_ACEOF 6021 /* confdefs.h. */ 6022 _ACEOF 6023 cat confdefs.h >>conftest.$ac_ext 6024 cat >>conftest.$ac_ext <<_ACEOF 6025 /* end confdefs.h. */ 6026 $ac_includes_default 6027 #include <$ac_header> 6028 _ACEOF 6029 rm -f conftest.$ac_objext 6030 if { (ac_try="$ac_compile" 6031 case "(($ac_try" in 6032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6033 *) ac_try_echo=$ac_try;; 6034 esac 6035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6036 (eval "$ac_compile") 2>conftest.er1 6037 ac_status=$? 6038 grep -v '^ *+' conftest.er1 >conftest.err 6039 rm -f conftest.er1 6040 cat conftest.err >&5 6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6042 (exit $ac_status); } && { 6043 test -z "$ac_cxx_werror_flag" || 6044 test ! -s conftest.err 6045 } && test -s conftest.$ac_objext; then 6046 ac_header_compiler=yes 6047 else 6048 echo "$as_me: failed program was:" >&5 6049 sed 's/^/| /' conftest.$ac_ext >&5 6050 6051 ac_header_compiler=no 6052 fi 6053 6054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6055 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6056 echo "${ECHO_T}$ac_header_compiler" >&6; } 6057 6058 # Is the header present? 6059 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6061 cat >conftest.$ac_ext <<_ACEOF 6062 /* confdefs.h. */ 6063 _ACEOF 6064 cat confdefs.h >>conftest.$ac_ext 6065 cat >>conftest.$ac_ext <<_ACEOF 6066 /* end confdefs.h. */ 6067 #include <$ac_header> 6068 _ACEOF 6069 if { (ac_try="$ac_cpp conftest.$ac_ext" 6070 case "(($ac_try" in 6071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6072 *) ac_try_echo=$ac_try;; 6073 esac 6074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6075 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6076 ac_status=$? 6077 grep -v '^ *+' conftest.er1 >conftest.err 6078 rm -f conftest.er1 6079 cat conftest.err >&5 6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6081 (exit $ac_status); } >/dev/null && { 6082 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6083 test ! -s conftest.err 6084 }; then 6085 ac_header_preproc=yes 6086 else 6087 echo "$as_me: failed program was:" >&5 6088 sed 's/^/| /' conftest.$ac_ext >&5 6089 6090 ac_header_preproc=no 6091 fi 6092 6093 rm -f conftest.err conftest.$ac_ext 6094 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6095 echo "${ECHO_T}$ac_header_preproc" >&6; } 6096 6097 # So? What about this header? 6098 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6099 yes:no: ) 6100 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6101 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6103 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6104 ac_header_preproc=yes 6105 ;; 6106 no:yes:* ) 6107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6111 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6112 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6113 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6114 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6117 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6118 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6119 ( cat <<\_ASBOX 6120 ## ----------------------------------- ## 6121 ## Report this to rappture@nanohub.org ## 6122 ## ----------------------------------- ## 6123 _ASBOX 6124 ) | sed "s/^/$as_me: WARNING: /" >&2 6125 ;; 6126 esac 6127 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6129 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6130 echo $ECHO_N "(cached) $ECHO_C" >&6 6131 else 6132 eval "$as_ac_Header=\$ac_header_preproc" 6133 fi 6134 ac_res=`eval echo '${'$as_ac_Header'}'` 6135 { echo "$as_me:$LINENO: result: $ac_res" >&5 6136 echo "${ECHO_T}$ac_res" >&6; } 6137 6138 fi 6139 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5006 do : 5007 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5008 if test "x$ac_cv_header_cstring" = x""yes; then : 6140 5009 cat >>confdefs.h <<_ACEOF 6141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6142 _ACEOF 6143 6144 else 6145 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6146 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6147 fi 6148 6149 done 6150 5010 #define HAVE_CSTRING 1 5011 _ACEOF 5012 5013 else 5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5015 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5016 fi 5017 5018 done 6151 5019 6152 5020 for ac_header in fstream 6153 do 6154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6156 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6159 echo $ECHO_N "(cached) $ECHO_C" >&6 6160 fi 6161 ac_res=`eval echo '${'$as_ac_Header'}'` 6162 { echo "$as_me:$LINENO: result: $ac_res" >&5 6163 echo "${ECHO_T}$ac_res" >&6; } 6164 else 6165 # Is the header compilable? 6166 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6168 cat >conftest.$ac_ext <<_ACEOF 6169 /* confdefs.h. */ 6170 _ACEOF 6171 cat confdefs.h >>conftest.$ac_ext 6172 cat >>conftest.$ac_ext <<_ACEOF 6173 /* end confdefs.h. */ 6174 $ac_includes_default 6175 #include <$ac_header> 6176 _ACEOF 6177 rm -f conftest.$ac_objext 6178 if { (ac_try="$ac_compile" 6179 case "(($ac_try" in 6180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6181 *) ac_try_echo=$ac_try;; 6182 esac 6183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6184 (eval "$ac_compile") 2>conftest.er1 6185 ac_status=$? 6186 grep -v '^ *+' conftest.er1 >conftest.err 6187 rm -f conftest.er1 6188 cat conftest.err >&5 6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6190 (exit $ac_status); } && { 6191 test -z "$ac_cxx_werror_flag" || 6192 test ! -s conftest.err 6193 } && test -s conftest.$ac_objext; then 6194 ac_header_compiler=yes 6195 else 6196 echo "$as_me: failed program was:" >&5 6197 sed 's/^/| /' conftest.$ac_ext >&5 6198 6199 ac_header_compiler=no 6200 fi 6201 6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6203 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6204 echo "${ECHO_T}$ac_header_compiler" >&6; } 6205 6206 # Is the header present? 6207 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6209 cat >conftest.$ac_ext <<_ACEOF 6210 /* confdefs.h. */ 6211 _ACEOF 6212 cat confdefs.h >>conftest.$ac_ext 6213 cat >>conftest.$ac_ext <<_ACEOF 6214 /* end confdefs.h. */ 6215 #include <$ac_header> 6216 _ACEOF 6217 if { (ac_try="$ac_cpp conftest.$ac_ext" 6218 case "(($ac_try" in 6219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6220 *) ac_try_echo=$ac_try;; 6221 esac 6222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6224 ac_status=$? 6225 grep -v '^ *+' conftest.er1 >conftest.err 6226 rm -f conftest.er1 6227 cat conftest.err >&5 6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6229 (exit $ac_status); } >/dev/null && { 6230 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6231 test ! -s conftest.err 6232 }; then 6233 ac_header_preproc=yes 6234 else 6235 echo "$as_me: failed program was:" >&5 6236 sed 's/^/| /' conftest.$ac_ext >&5 6237 6238 ac_header_preproc=no 6239 fi 6240 6241 rm -f conftest.err conftest.$ac_ext 6242 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6243 echo "${ECHO_T}$ac_header_preproc" >&6; } 6244 6245 # So? What about this header? 6246 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6247 yes:no: ) 6248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6252 ac_header_preproc=yes 6253 ;; 6254 no:yes:* ) 6255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6259 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6261 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6262 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6265 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6267 ( cat <<\_ASBOX 6268 ## ----------------------------------- ## 6269 ## Report this to rappture@nanohub.org ## 6270 ## ----------------------------------- ## 6271 _ASBOX 6272 ) | sed "s/^/$as_me: WARNING: /" >&2 6273 ;; 6274 esac 6275 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6278 echo $ECHO_N "(cached) $ECHO_C" >&6 6279 else 6280 eval "$as_ac_Header=\$ac_header_preproc" 6281 fi 6282 ac_res=`eval echo '${'$as_ac_Header'}'` 6283 { echo "$as_me:$LINENO: result: $ac_res" >&5 6284 echo "${ECHO_T}$ac_res" >&6; } 6285 6286 fi 6287 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5021 do : 5022 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5023 if test "x$ac_cv_header_fstream" = x""yes; then : 6288 5024 cat >>confdefs.h <<_ACEOF 6289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6290 _ACEOF 6291 6292 else 6293 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6294 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6295 fi 6296 6297 done 6298 5025 #define HAVE_FSTREAM 1 5026 _ACEOF 5027 5028 else 5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5030 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5031 fi 5032 5033 done 6299 5034 6300 5035 for ac_header in list 6301 do 6302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6304 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6307 echo $ECHO_N "(cached) $ECHO_C" >&6 6308 fi 6309 ac_res=`eval echo '${'$as_ac_Header'}'` 6310 { echo "$as_me:$LINENO: result: $ac_res" >&5 6311 echo "${ECHO_T}$ac_res" >&6; } 6312 else 6313 # Is the header compilable? 6314 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6316 cat >conftest.$ac_ext <<_ACEOF 6317 /* confdefs.h. */ 6318 _ACEOF 6319 cat confdefs.h >>conftest.$ac_ext 6320 cat >>conftest.$ac_ext <<_ACEOF 6321 /* end confdefs.h. */ 6322 $ac_includes_default 6323 #include <$ac_header> 6324 _ACEOF 6325 rm -f conftest.$ac_objext 6326 if { (ac_try="$ac_compile" 6327 case "(($ac_try" in 6328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6329 *) ac_try_echo=$ac_try;; 6330 esac 6331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6332 (eval "$ac_compile") 2>conftest.er1 6333 ac_status=$? 6334 grep -v '^ *+' conftest.er1 >conftest.err 6335 rm -f conftest.er1 6336 cat conftest.err >&5 6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6338 (exit $ac_status); } && { 6339 test -z "$ac_cxx_werror_flag" || 6340 test ! -s conftest.err 6341 } && test -s conftest.$ac_objext; then 6342 ac_header_compiler=yes 6343 else 6344 echo "$as_me: failed program was:" >&5 6345 sed 's/^/| /' conftest.$ac_ext >&5 6346 6347 ac_header_compiler=no 6348 fi 6349 6350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6351 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6352 echo "${ECHO_T}$ac_header_compiler" >&6; } 6353 6354 # Is the header present? 6355 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6357 cat >conftest.$ac_ext <<_ACEOF 6358 /* confdefs.h. */ 6359 _ACEOF 6360 cat confdefs.h >>conftest.$ac_ext 6361 cat >>conftest.$ac_ext <<_ACEOF 6362 /* end confdefs.h. */ 6363 #include <$ac_header> 6364 _ACEOF 6365 if { (ac_try="$ac_cpp conftest.$ac_ext" 6366 case "(($ac_try" in 6367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6368 *) ac_try_echo=$ac_try;; 6369 esac 6370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6372 ac_status=$? 6373 grep -v '^ *+' conftest.er1 >conftest.err 6374 rm -f conftest.er1 6375 cat conftest.err >&5 6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6377 (exit $ac_status); } >/dev/null && { 6378 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6379 test ! -s conftest.err 6380 }; then 6381 ac_header_preproc=yes 6382 else 6383 echo "$as_me: failed program was:" >&5 6384 sed 's/^/| /' conftest.$ac_ext >&5 6385 6386 ac_header_preproc=no 6387 fi 6388 6389 rm -f conftest.err conftest.$ac_ext 6390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6391 echo "${ECHO_T}$ac_header_preproc" >&6; } 6392 6393 # So? What about this header? 6394 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6395 yes:no: ) 6396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6400 ac_header_preproc=yes 6401 ;; 6402 no:yes:* ) 6403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6415 ( cat <<\_ASBOX 6416 ## ----------------------------------- ## 6417 ## Report this to rappture@nanohub.org ## 6418 ## ----------------------------------- ## 6419 _ASBOX 6420 ) | sed "s/^/$as_me: WARNING: /" >&2 6421 ;; 6422 esac 6423 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6426 echo $ECHO_N "(cached) $ECHO_C" >&6 6427 else 6428 eval "$as_ac_Header=\$ac_header_preproc" 6429 fi 6430 ac_res=`eval echo '${'$as_ac_Header'}'` 6431 { echo "$as_me:$LINENO: result: $ac_res" >&5 6432 echo "${ECHO_T}$ac_res" >&6; } 6433 6434 fi 6435 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5036 do : 5037 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5038 if test "x$ac_cv_header_list" = x""yes; then : 6436 5039 cat >>confdefs.h <<_ACEOF 6437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6438 _ACEOF 6439 6440 else 6441 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6442 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6443 fi 6444 6445 done 6446 5040 #define HAVE_LIST 1 5041 _ACEOF 5042 5043 else 5044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5045 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5046 fi 5047 5048 done 6447 5049 6448 5050 for ac_header in iostream 6449 do 6450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6452 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6455 echo $ECHO_N "(cached) $ECHO_C" >&6 6456 fi 6457 ac_res=`eval echo '${'$as_ac_Header'}'` 6458 { echo "$as_me:$LINENO: result: $ac_res" >&5 6459 echo "${ECHO_T}$ac_res" >&6; } 6460 else 6461 # Is the header compilable? 6462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6464 cat >conftest.$ac_ext <<_ACEOF 6465 /* confdefs.h. */ 6466 _ACEOF 6467 cat confdefs.h >>conftest.$ac_ext 6468 cat >>conftest.$ac_ext <<_ACEOF 6469 /* end confdefs.h. */ 6470 $ac_includes_default 6471 #include <$ac_header> 6472 _ACEOF 6473 rm -f conftest.$ac_objext 6474 if { (ac_try="$ac_compile" 6475 case "(($ac_try" in 6476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6477 *) ac_try_echo=$ac_try;; 6478 esac 6479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6480 (eval "$ac_compile") 2>conftest.er1 6481 ac_status=$? 6482 grep -v '^ *+' conftest.er1 >conftest.err 6483 rm -f conftest.er1 6484 cat conftest.err >&5 6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6486 (exit $ac_status); } && { 6487 test -z "$ac_cxx_werror_flag" || 6488 test ! -s conftest.err 6489 } && test -s conftest.$ac_objext; then 6490 ac_header_compiler=yes 6491 else 6492 echo "$as_me: failed program was:" >&5 6493 sed 's/^/| /' conftest.$ac_ext >&5 6494 6495 ac_header_compiler=no 6496 fi 6497 6498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6500 echo "${ECHO_T}$ac_header_compiler" >&6; } 6501 6502 # Is the header present? 6503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6505 cat >conftest.$ac_ext <<_ACEOF 6506 /* confdefs.h. */ 6507 _ACEOF 6508 cat confdefs.h >>conftest.$ac_ext 6509 cat >>conftest.$ac_ext <<_ACEOF 6510 /* end confdefs.h. */ 6511 #include <$ac_header> 6512 _ACEOF 6513 if { (ac_try="$ac_cpp conftest.$ac_ext" 6514 case "(($ac_try" in 6515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6516 *) ac_try_echo=$ac_try;; 6517 esac 6518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6520 ac_status=$? 6521 grep -v '^ *+' conftest.er1 >conftest.err 6522 rm -f conftest.er1 6523 cat conftest.err >&5 6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6525 (exit $ac_status); } >/dev/null && { 6526 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6527 test ! -s conftest.err 6528 }; then 6529 ac_header_preproc=yes 6530 else 6531 echo "$as_me: failed program was:" >&5 6532 sed 's/^/| /' conftest.$ac_ext >&5 6533 6534 ac_header_preproc=no 6535 fi 6536 6537 rm -f conftest.err conftest.$ac_ext 6538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6539 echo "${ECHO_T}$ac_header_preproc" >&6; } 6540 6541 # So? What about this header? 6542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6543 yes:no: ) 6544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6548 ac_header_preproc=yes 6549 ;; 6550 no:yes:* ) 6551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6563 ( cat <<\_ASBOX 6564 ## ----------------------------------- ## 6565 ## Report this to rappture@nanohub.org ## 6566 ## ----------------------------------- ## 6567 _ASBOX 6568 ) | sed "s/^/$as_me: WARNING: /" >&2 6569 ;; 6570 esac 6571 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6574 echo $ECHO_N "(cached) $ECHO_C" >&6 6575 else 6576 eval "$as_ac_Header=\$ac_header_preproc" 6577 fi 6578 ac_res=`eval echo '${'$as_ac_Header'}'` 6579 { echo "$as_me:$LINENO: result: $ac_res" >&5 6580 echo "${ECHO_T}$ac_res" >&6; } 6581 6582 fi 6583 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5051 do : 5052 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5053 if test "x$ac_cv_header_iostream" = x""yes; then : 6584 5054 cat >>confdefs.h <<_ACEOF 6585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6586 _ACEOF 6587 6588 else 6589 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6590 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6591 fi 6592 6593 done 6594 5055 #define HAVE_IOSTREAM 1 5056 _ACEOF 5057 5058 else 5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5060 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5061 fi 5062 5063 done 6595 5064 6596 5065 for ac_header in iterator 6597 do 6598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6600 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6603 echo $ECHO_N "(cached) $ECHO_C" >&6 6604 fi 6605 ac_res=`eval echo '${'$as_ac_Header'}'` 6606 { echo "$as_me:$LINENO: result: $ac_res" >&5 6607 echo "${ECHO_T}$ac_res" >&6; } 6608 else 6609 # Is the header compilable? 6610 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6612 cat >conftest.$ac_ext <<_ACEOF 6613 /* confdefs.h. */ 6614 _ACEOF 6615 cat confdefs.h >>conftest.$ac_ext 6616 cat >>conftest.$ac_ext <<_ACEOF 6617 /* end confdefs.h. */ 6618 $ac_includes_default 6619 #include <$ac_header> 6620 _ACEOF 6621 rm -f conftest.$ac_objext 6622 if { (ac_try="$ac_compile" 6623 case "(($ac_try" in 6624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6625 *) ac_try_echo=$ac_try;; 6626 esac 6627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6628 (eval "$ac_compile") 2>conftest.er1 6629 ac_status=$? 6630 grep -v '^ *+' conftest.er1 >conftest.err 6631 rm -f conftest.er1 6632 cat conftest.err >&5 6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6634 (exit $ac_status); } && { 6635 test -z "$ac_cxx_werror_flag" || 6636 test ! -s conftest.err 6637 } && test -s conftest.$ac_objext; then 6638 ac_header_compiler=yes 6639 else 6640 echo "$as_me: failed program was:" >&5 6641 sed 's/^/| /' conftest.$ac_ext >&5 6642 6643 ac_header_compiler=no 6644 fi 6645 6646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6647 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6648 echo "${ECHO_T}$ac_header_compiler" >&6; } 6649 6650 # Is the header present? 6651 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6653 cat >conftest.$ac_ext <<_ACEOF 6654 /* confdefs.h. */ 6655 _ACEOF 6656 cat confdefs.h >>conftest.$ac_ext 6657 cat >>conftest.$ac_ext <<_ACEOF 6658 /* end confdefs.h. */ 6659 #include <$ac_header> 6660 _ACEOF 6661 if { (ac_try="$ac_cpp conftest.$ac_ext" 6662 case "(($ac_try" in 6663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6664 *) ac_try_echo=$ac_try;; 6665 esac 6666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6667 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6668 ac_status=$? 6669 grep -v '^ *+' conftest.er1 >conftest.err 6670 rm -f conftest.er1 6671 cat conftest.err >&5 6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6673 (exit $ac_status); } >/dev/null && { 6674 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6675 test ! -s conftest.err 6676 }; then 6677 ac_header_preproc=yes 6678 else 6679 echo "$as_me: failed program was:" >&5 6680 sed 's/^/| /' conftest.$ac_ext >&5 6681 6682 ac_header_preproc=no 6683 fi 6684 6685 rm -f conftest.err conftest.$ac_ext 6686 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6687 echo "${ECHO_T}$ac_header_preproc" >&6; } 6688 6689 # So? What about this header? 6690 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6691 yes:no: ) 6692 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6693 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6695 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6696 ac_header_preproc=yes 6697 ;; 6698 no:yes:* ) 6699 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6700 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6701 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6702 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6703 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6704 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6705 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6706 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6709 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6710 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6711 ( cat <<\_ASBOX 6712 ## ----------------------------------- ## 6713 ## Report this to rappture@nanohub.org ## 6714 ## ----------------------------------- ## 6715 _ASBOX 6716 ) | sed "s/^/$as_me: WARNING: /" >&2 6717 ;; 6718 esac 6719 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6721 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6722 echo $ECHO_N "(cached) $ECHO_C" >&6 6723 else 6724 eval "$as_ac_Header=\$ac_header_preproc" 6725 fi 6726 ac_res=`eval echo '${'$as_ac_Header'}'` 6727 { echo "$as_me:$LINENO: result: $ac_res" >&5 6728 echo "${ECHO_T}$ac_res" >&6; } 6729 6730 fi 6731 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5066 do : 5067 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5068 if test "x$ac_cv_header_iterator" = x""yes; then : 6732 5069 cat >>confdefs.h <<_ACEOF 6733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6734 _ACEOF 6735 6736 else 6737 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6738 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6739 fi 6740 6741 done 6742 5070 #define HAVE_ITERATOR 1 5071 _ACEOF 5072 5073 else 5074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5075 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5076 fi 5077 5078 done 6743 5079 6744 5080 for ac_header in sstream 6745 do 6746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6748 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6750 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6751 echo $ECHO_N "(cached) $ECHO_C" >&6 6752 fi 6753 ac_res=`eval echo '${'$as_ac_Header'}'` 6754 { echo "$as_me:$LINENO: result: $ac_res" >&5 6755 echo "${ECHO_T}$ac_res" >&6; } 6756 else 6757 # Is the header compilable? 6758 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6760 cat >conftest.$ac_ext <<_ACEOF 6761 /* confdefs.h. */ 6762 _ACEOF 6763 cat confdefs.h >>conftest.$ac_ext 6764 cat >>conftest.$ac_ext <<_ACEOF 6765 /* end confdefs.h. */ 6766 $ac_includes_default 6767 #include <$ac_header> 6768 _ACEOF 6769 rm -f conftest.$ac_objext 6770 if { (ac_try="$ac_compile" 6771 case "(($ac_try" in 6772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6773 *) ac_try_echo=$ac_try;; 6774 esac 6775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6776 (eval "$ac_compile") 2>conftest.er1 6777 ac_status=$? 6778 grep -v '^ *+' conftest.er1 >conftest.err 6779 rm -f conftest.er1 6780 cat conftest.err >&5 6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6782 (exit $ac_status); } && { 6783 test -z "$ac_cxx_werror_flag" || 6784 test ! -s conftest.err 6785 } && test -s conftest.$ac_objext; then 6786 ac_header_compiler=yes 6787 else 6788 echo "$as_me: failed program was:" >&5 6789 sed 's/^/| /' conftest.$ac_ext >&5 6790 6791 ac_header_compiler=no 6792 fi 6793 6794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6795 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6796 echo "${ECHO_T}$ac_header_compiler" >&6; } 6797 6798 # Is the header present? 6799 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6801 cat >conftest.$ac_ext <<_ACEOF 6802 /* confdefs.h. */ 6803 _ACEOF 6804 cat confdefs.h >>conftest.$ac_ext 6805 cat >>conftest.$ac_ext <<_ACEOF 6806 /* end confdefs.h. */ 6807 #include <$ac_header> 6808 _ACEOF 6809 if { (ac_try="$ac_cpp conftest.$ac_ext" 6810 case "(($ac_try" in 6811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6812 *) ac_try_echo=$ac_try;; 6813 esac 6814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6816 ac_status=$? 6817 grep -v '^ *+' conftest.er1 >conftest.err 6818 rm -f conftest.er1 6819 cat conftest.err >&5 6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6821 (exit $ac_status); } >/dev/null && { 6822 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6823 test ! -s conftest.err 6824 }; then 6825 ac_header_preproc=yes 6826 else 6827 echo "$as_me: failed program was:" >&5 6828 sed 's/^/| /' conftest.$ac_ext >&5 6829 6830 ac_header_preproc=no 6831 fi 6832 6833 rm -f conftest.err conftest.$ac_ext 6834 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6835 echo "${ECHO_T}$ac_header_preproc" >&6; } 6836 6837 # So? What about this header? 6838 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6839 yes:no: ) 6840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6843 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6844 ac_header_preproc=yes 6845 ;; 6846 no:yes:* ) 6847 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6849 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6850 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6851 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6852 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6853 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6854 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6858 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6859 ( cat <<\_ASBOX 6860 ## ----------------------------------- ## 6861 ## Report this to rappture@nanohub.org ## 6862 ## ----------------------------------- ## 6863 _ASBOX 6864 ) | sed "s/^/$as_me: WARNING: /" >&2 6865 ;; 6866 esac 6867 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6870 echo $ECHO_N "(cached) $ECHO_C" >&6 6871 else 6872 eval "$as_ac_Header=\$ac_header_preproc" 6873 fi 6874 ac_res=`eval echo '${'$as_ac_Header'}'` 6875 { echo "$as_me:$LINENO: result: $ac_res" >&5 6876 echo "${ECHO_T}$ac_res" >&6; } 6877 6878 fi 6879 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5081 do : 5082 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5083 if test "x$ac_cv_header_sstream" = x""yes; then : 6880 5084 cat >>confdefs.h <<_ACEOF 6881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6882 _ACEOF 6883 6884 else 6885 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6886 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6887 fi 6888 6889 done 6890 5085 #define HAVE_SSTREAM 1 5086 _ACEOF 5087 5088 else 5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5090 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5091 fi 5092 5093 done 6891 5094 6892 5095 for ac_header in stack 6893 do 6894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6895 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6896 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6899 echo $ECHO_N "(cached) $ECHO_C" >&6 6900 fi 6901 ac_res=`eval echo '${'$as_ac_Header'}'` 6902 { echo "$as_me:$LINENO: result: $ac_res" >&5 6903 echo "${ECHO_T}$ac_res" >&6; } 6904 else 6905 # Is the header compilable? 6906 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6908 cat >conftest.$ac_ext <<_ACEOF 6909 /* confdefs.h. */ 6910 _ACEOF 6911 cat confdefs.h >>conftest.$ac_ext 6912 cat >>conftest.$ac_ext <<_ACEOF 6913 /* end confdefs.h. */ 6914 $ac_includes_default 6915 #include <$ac_header> 6916 _ACEOF 6917 rm -f conftest.$ac_objext 6918 if { (ac_try="$ac_compile" 6919 case "(($ac_try" in 6920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6921 *) ac_try_echo=$ac_try;; 6922 esac 6923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6924 (eval "$ac_compile") 2>conftest.er1 6925 ac_status=$? 6926 grep -v '^ *+' conftest.er1 >conftest.err 6927 rm -f conftest.er1 6928 cat conftest.err >&5 6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6930 (exit $ac_status); } && { 6931 test -z "$ac_cxx_werror_flag" || 6932 test ! -s conftest.err 6933 } && test -s conftest.$ac_objext; then 6934 ac_header_compiler=yes 6935 else 6936 echo "$as_me: failed program was:" >&5 6937 sed 's/^/| /' conftest.$ac_ext >&5 6938 6939 ac_header_compiler=no 6940 fi 6941 6942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6943 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6944 echo "${ECHO_T}$ac_header_compiler" >&6; } 6945 6946 # Is the header present? 6947 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6949 cat >conftest.$ac_ext <<_ACEOF 6950 /* confdefs.h. */ 6951 _ACEOF 6952 cat confdefs.h >>conftest.$ac_ext 6953 cat >>conftest.$ac_ext <<_ACEOF 6954 /* end confdefs.h. */ 6955 #include <$ac_header> 6956 _ACEOF 6957 if { (ac_try="$ac_cpp conftest.$ac_ext" 6958 case "(($ac_try" in 6959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6960 *) ac_try_echo=$ac_try;; 6961 esac 6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6964 ac_status=$? 6965 grep -v '^ *+' conftest.er1 >conftest.err 6966 rm -f conftest.er1 6967 cat conftest.err >&5 6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6969 (exit $ac_status); } >/dev/null && { 6970 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6971 test ! -s conftest.err 6972 }; then 6973 ac_header_preproc=yes 6974 else 6975 echo "$as_me: failed program was:" >&5 6976 sed 's/^/| /' conftest.$ac_ext >&5 6977 6978 ac_header_preproc=no 6979 fi 6980 6981 rm -f conftest.err conftest.$ac_ext 6982 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6983 echo "${ECHO_T}$ac_header_preproc" >&6; } 6984 6985 # So? What about this header? 6986 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6987 yes:no: ) 6988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6992 ac_header_preproc=yes 6993 ;; 6994 no:yes:* ) 6995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7007 ( cat <<\_ASBOX 7008 ## ----------------------------------- ## 7009 ## Report this to rappture@nanohub.org ## 7010 ## ----------------------------------- ## 7011 _ASBOX 7012 ) | sed "s/^/$as_me: WARNING: /" >&2 7013 ;; 7014 esac 7015 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7018 echo $ECHO_N "(cached) $ECHO_C" >&6 7019 else 7020 eval "$as_ac_Header=\$ac_header_preproc" 7021 fi 7022 ac_res=`eval echo '${'$as_ac_Header'}'` 7023 { echo "$as_me:$LINENO: result: $ac_res" >&5 7024 echo "${ECHO_T}$ac_res" >&6; } 7025 7026 fi 7027 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5096 do : 5097 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5098 if test "x$ac_cv_header_stack" = x""yes; then : 7028 5099 cat >>confdefs.h <<_ACEOF 7029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7030 _ACEOF 7031 7032 else 7033 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7034 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7035 fi 7036 7037 done 7038 5100 #define HAVE_STACK 1 5101 _ACEOF 5102 5103 else 5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5105 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5106 fi 5107 5108 done 7039 5109 7040 5110 for ac_header in string 7041 do 7042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7044 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7047 echo $ECHO_N "(cached) $ECHO_C" >&6 7048 fi 7049 ac_res=`eval echo '${'$as_ac_Header'}'` 7050 { echo "$as_me:$LINENO: result: $ac_res" >&5 7051 echo "${ECHO_T}$ac_res" >&6; } 7052 else 7053 # Is the header compilable? 7054 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7055 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7056 cat >conftest.$ac_ext <<_ACEOF 7057 /* confdefs.h. */ 7058 _ACEOF 7059 cat confdefs.h >>conftest.$ac_ext 7060 cat >>conftest.$ac_ext <<_ACEOF 7061 /* end confdefs.h. */ 7062 $ac_includes_default 7063 #include <$ac_header> 7064 _ACEOF 7065 rm -f conftest.$ac_objext 7066 if { (ac_try="$ac_compile" 7067 case "(($ac_try" in 7068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7069 *) ac_try_echo=$ac_try;; 7070 esac 7071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7072 (eval "$ac_compile") 2>conftest.er1 7073 ac_status=$? 7074 grep -v '^ *+' conftest.er1 >conftest.err 7075 rm -f conftest.er1 7076 cat conftest.err >&5 7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7078 (exit $ac_status); } && { 7079 test -z "$ac_cxx_werror_flag" || 7080 test ! -s conftest.err 7081 } && test -s conftest.$ac_objext; then 7082 ac_header_compiler=yes 7083 else 7084 echo "$as_me: failed program was:" >&5 7085 sed 's/^/| /' conftest.$ac_ext >&5 7086 7087 ac_header_compiler=no 7088 fi 7089 7090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7091 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7092 echo "${ECHO_T}$ac_header_compiler" >&6; } 7093 7094 # Is the header present? 7095 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7097 cat >conftest.$ac_ext <<_ACEOF 7098 /* confdefs.h. */ 7099 _ACEOF 7100 cat confdefs.h >>conftest.$ac_ext 7101 cat >>conftest.$ac_ext <<_ACEOF 7102 /* end confdefs.h. */ 7103 #include <$ac_header> 7104 _ACEOF 7105 if { (ac_try="$ac_cpp conftest.$ac_ext" 7106 case "(($ac_try" in 7107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7108 *) ac_try_echo=$ac_try;; 7109 esac 7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7112 ac_status=$? 7113 grep -v '^ *+' conftest.er1 >conftest.err 7114 rm -f conftest.er1 7115 cat conftest.err >&5 7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7117 (exit $ac_status); } >/dev/null && { 7118 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7119 test ! -s conftest.err 7120 }; then 7121 ac_header_preproc=yes 7122 else 7123 echo "$as_me: failed program was:" >&5 7124 sed 's/^/| /' conftest.$ac_ext >&5 7125 7126 ac_header_preproc=no 7127 fi 7128 7129 rm -f conftest.err conftest.$ac_ext 7130 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7131 echo "${ECHO_T}$ac_header_preproc" >&6; } 7132 7133 # So? What about this header? 7134 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7135 yes:no: ) 7136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7140 ac_header_preproc=yes 7141 ;; 7142 no:yes:* ) 7143 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7145 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7146 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7147 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7149 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7150 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7153 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7155 ( cat <<\_ASBOX 7156 ## ----------------------------------- ## 7157 ## Report this to rappture@nanohub.org ## 7158 ## ----------------------------------- ## 7159 _ASBOX 7160 ) | sed "s/^/$as_me: WARNING: /" >&2 7161 ;; 7162 esac 7163 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7165 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7166 echo $ECHO_N "(cached) $ECHO_C" >&6 7167 else 7168 eval "$as_ac_Header=\$ac_header_preproc" 7169 fi 7170 ac_res=`eval echo '${'$as_ac_Header'}'` 7171 { echo "$as_me:$LINENO: result: $ac_res" >&5 7172 echo "${ECHO_T}$ac_res" >&6; } 7173 7174 fi 7175 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5111 do : 5112 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5113 if test "x$ac_cv_header_string" = x""yes; then : 7176 5114 cat >>confdefs.h <<_ACEOF 7177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7178 _ACEOF 7179 7180 else 7181 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7182 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7183 fi 7184 7185 done 7186 5115 #define HAVE_STRING 1 5116 _ACEOF 5117 5118 else 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5120 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5121 fi 5122 5123 done 7187 5124 7188 5125 for ac_header in vector 7189 do 7190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7192 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7195 echo $ECHO_N "(cached) $ECHO_C" >&6 7196 fi 7197 ac_res=`eval echo '${'$as_ac_Header'}'` 7198 { echo "$as_me:$LINENO: result: $ac_res" >&5 7199 echo "${ECHO_T}$ac_res" >&6; } 7200 else 7201 # Is the header compilable? 7202 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7204 cat >conftest.$ac_ext <<_ACEOF 7205 /* confdefs.h. */ 7206 _ACEOF 7207 cat confdefs.h >>conftest.$ac_ext 7208 cat >>conftest.$ac_ext <<_ACEOF 7209 /* end confdefs.h. */ 7210 $ac_includes_default 7211 #include <$ac_header> 7212 _ACEOF 7213 rm -f conftest.$ac_objext 7214 if { (ac_try="$ac_compile" 7215 case "(($ac_try" in 7216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7217 *) ac_try_echo=$ac_try;; 7218 esac 7219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7220 (eval "$ac_compile") 2>conftest.er1 7221 ac_status=$? 7222 grep -v '^ *+' conftest.er1 >conftest.err 7223 rm -f conftest.er1 7224 cat conftest.err >&5 7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7226 (exit $ac_status); } && { 7227 test -z "$ac_cxx_werror_flag" || 7228 test ! -s conftest.err 7229 } && test -s conftest.$ac_objext; then 7230 ac_header_compiler=yes 7231 else 7232 echo "$as_me: failed program was:" >&5 7233 sed 's/^/| /' conftest.$ac_ext >&5 7234 7235 ac_header_compiler=no 7236 fi 7237 7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7239 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7240 echo "${ECHO_T}$ac_header_compiler" >&6; } 7241 7242 # Is the header present? 7243 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7244 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7245 cat >conftest.$ac_ext <<_ACEOF 7246 /* confdefs.h. */ 7247 _ACEOF 7248 cat confdefs.h >>conftest.$ac_ext 7249 cat >>conftest.$ac_ext <<_ACEOF 7250 /* end confdefs.h. */ 7251 #include <$ac_header> 7252 _ACEOF 7253 if { (ac_try="$ac_cpp conftest.$ac_ext" 7254 case "(($ac_try" in 7255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7256 *) ac_try_echo=$ac_try;; 7257 esac 7258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7259 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7260 ac_status=$? 7261 grep -v '^ *+' conftest.er1 >conftest.err 7262 rm -f conftest.er1 7263 cat conftest.err >&5 7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7265 (exit $ac_status); } >/dev/null && { 7266 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7267 test ! -s conftest.err 7268 }; then 7269 ac_header_preproc=yes 7270 else 7271 echo "$as_me: failed program was:" >&5 7272 sed 's/^/| /' conftest.$ac_ext >&5 7273 7274 ac_header_preproc=no 7275 fi 7276 7277 rm -f conftest.err conftest.$ac_ext 7278 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7279 echo "${ECHO_T}$ac_header_preproc" >&6; } 7280 7281 # So? What about this header? 7282 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7283 yes:no: ) 7284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7288 ac_header_preproc=yes 7289 ;; 7290 no:yes:* ) 7291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7303 ( cat <<\_ASBOX 7304 ## ----------------------------------- ## 7305 ## Report this to rappture@nanohub.org ## 7306 ## ----------------------------------- ## 7307 _ASBOX 7308 ) | sed "s/^/$as_me: WARNING: /" >&2 7309 ;; 7310 esac 7311 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7314 echo $ECHO_N "(cached) $ECHO_C" >&6 7315 else 7316 eval "$as_ac_Header=\$ac_header_preproc" 7317 fi 7318 ac_res=`eval echo '${'$as_ac_Header'}'` 7319 { echo "$as_me:$LINENO: result: $ac_res" >&5 7320 echo "${ECHO_T}$ac_res" >&6; } 7321 7322 fi 7323 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5126 do : 5127 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5128 if test "x$ac_cv_header_vector" = x""yes; then : 7324 5129 cat >>confdefs.h <<_ACEOF 7325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7326 _ACEOF 7327 7328 else 7329 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7330 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7331 fi 7332 7333 done 7334 5130 #define HAVE_VECTOR 1 5131 _ACEOF 5132 5133 else 5134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5135 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5136 fi 5137 5138 done 7335 5139 7336 5140 7337 5141 for ac_header in assert.h 7338 do 7339 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7341 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7344 echo $ECHO_N "(cached) $ECHO_C" >&6 7345 fi 7346 ac_res=`eval echo '${'$as_ac_Header'}'` 7347 { echo "$as_me:$LINENO: result: $ac_res" >&5 7348 echo "${ECHO_T}$ac_res" >&6; } 7349 else 7350 # Is the header compilable? 7351 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7353 cat >conftest.$ac_ext <<_ACEOF 7354 /* confdefs.h. */ 7355 _ACEOF 7356 cat confdefs.h >>conftest.$ac_ext 7357 cat >>conftest.$ac_ext <<_ACEOF 7358 /* end confdefs.h. */ 7359 $ac_includes_default 7360 #include <$ac_header> 7361 _ACEOF 7362 rm -f conftest.$ac_objext 7363 if { (ac_try="$ac_compile" 7364 case "(($ac_try" in 7365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7366 *) ac_try_echo=$ac_try;; 7367 esac 7368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7369 (eval "$ac_compile") 2>conftest.er1 7370 ac_status=$? 7371 grep -v '^ *+' conftest.er1 >conftest.err 7372 rm -f conftest.er1 7373 cat conftest.err >&5 7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7375 (exit $ac_status); } && { 7376 test -z "$ac_cxx_werror_flag" || 7377 test ! -s conftest.err 7378 } && test -s conftest.$ac_objext; then 7379 ac_header_compiler=yes 7380 else 7381 echo "$as_me: failed program was:" >&5 7382 sed 's/^/| /' conftest.$ac_ext >&5 7383 7384 ac_header_compiler=no 7385 fi 7386 7387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7388 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7389 echo "${ECHO_T}$ac_header_compiler" >&6; } 7390 7391 # Is the header present? 7392 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7394 cat >conftest.$ac_ext <<_ACEOF 7395 /* confdefs.h. */ 7396 _ACEOF 7397 cat confdefs.h >>conftest.$ac_ext 7398 cat >>conftest.$ac_ext <<_ACEOF 7399 /* end confdefs.h. */ 7400 #include <$ac_header> 7401 _ACEOF 7402 if { (ac_try="$ac_cpp conftest.$ac_ext" 7403 case "(($ac_try" in 7404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7405 *) ac_try_echo=$ac_try;; 7406 esac 7407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7409 ac_status=$? 7410 grep -v '^ *+' conftest.er1 >conftest.err 7411 rm -f conftest.er1 7412 cat conftest.err >&5 7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7414 (exit $ac_status); } >/dev/null && { 7415 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7416 test ! -s conftest.err 7417 }; then 7418 ac_header_preproc=yes 7419 else 7420 echo "$as_me: failed program was:" >&5 7421 sed 's/^/| /' conftest.$ac_ext >&5 7422 7423 ac_header_preproc=no 7424 fi 7425 7426 rm -f conftest.err conftest.$ac_ext 7427 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7428 echo "${ECHO_T}$ac_header_preproc" >&6; } 7429 7430 # So? What about this header? 7431 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7432 yes:no: ) 7433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7437 ac_header_preproc=yes 7438 ;; 7439 no:yes:* ) 7440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7447 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7452 ( cat <<\_ASBOX 7453 ## ----------------------------------- ## 7454 ## Report this to rappture@nanohub.org ## 7455 ## ----------------------------------- ## 7456 _ASBOX 7457 ) | sed "s/^/$as_me: WARNING: /" >&2 7458 ;; 7459 esac 7460 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7462 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7463 echo $ECHO_N "(cached) $ECHO_C" >&6 7464 else 7465 eval "$as_ac_Header=\$ac_header_preproc" 7466 fi 7467 ac_res=`eval echo '${'$as_ac_Header'}'` 7468 { echo "$as_me:$LINENO: result: $ac_res" >&5 7469 echo "${ECHO_T}$ac_res" >&6; } 7470 7471 fi 7472 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5142 do : 5143 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5144 if test "x$ac_cv_header_assert_h" = x""yes; then : 7473 5145 cat >>confdefs.h <<_ACEOF 7474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7475 _ACEOF 7476 7477 else 7478 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7479 echo "$as_me: WARNING: C headers missing ?" >&2;} 7480 fi 7481 7482 done 7483 5146 #define HAVE_ASSERT_H 1 5147 _ACEOF 5148 5149 else 5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5151 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5152 fi 5153 5154 done 7484 5155 7485 5156 for ac_header in ctype.h 7486 do 7487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7489 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7492 echo $ECHO_N "(cached) $ECHO_C" >&6 7493 fi 7494 ac_res=`eval echo '${'$as_ac_Header'}'` 7495 { echo "$as_me:$LINENO: result: $ac_res" >&5 7496 echo "${ECHO_T}$ac_res" >&6; } 7497 else 7498 # Is the header compilable? 7499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7501 cat >conftest.$ac_ext <<_ACEOF 7502 /* confdefs.h. */ 7503 _ACEOF 7504 cat confdefs.h >>conftest.$ac_ext 7505 cat >>conftest.$ac_ext <<_ACEOF 7506 /* end confdefs.h. */ 7507 $ac_includes_default 7508 #include <$ac_header> 7509 _ACEOF 7510 rm -f conftest.$ac_objext 7511 if { (ac_try="$ac_compile" 7512 case "(($ac_try" in 7513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7514 *) ac_try_echo=$ac_try;; 7515 esac 7516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7517 (eval "$ac_compile") 2>conftest.er1 7518 ac_status=$? 7519 grep -v '^ *+' conftest.er1 >conftest.err 7520 rm -f conftest.er1 7521 cat conftest.err >&5 7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7523 (exit $ac_status); } && { 7524 test -z "$ac_cxx_werror_flag" || 7525 test ! -s conftest.err 7526 } && test -s conftest.$ac_objext; then 7527 ac_header_compiler=yes 7528 else 7529 echo "$as_me: failed program was:" >&5 7530 sed 's/^/| /' conftest.$ac_ext >&5 7531 7532 ac_header_compiler=no 7533 fi 7534 7535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7537 echo "${ECHO_T}$ac_header_compiler" >&6; } 7538 7539 # Is the header present? 7540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7542 cat >conftest.$ac_ext <<_ACEOF 7543 /* confdefs.h. */ 7544 _ACEOF 7545 cat confdefs.h >>conftest.$ac_ext 7546 cat >>conftest.$ac_ext <<_ACEOF 7547 /* end confdefs.h. */ 7548 #include <$ac_header> 7549 _ACEOF 7550 if { (ac_try="$ac_cpp conftest.$ac_ext" 7551 case "(($ac_try" in 7552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7553 *) ac_try_echo=$ac_try;; 7554 esac 7555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7557 ac_status=$? 7558 grep -v '^ *+' conftest.er1 >conftest.err 7559 rm -f conftest.er1 7560 cat conftest.err >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7562 (exit $ac_status); } >/dev/null && { 7563 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7564 test ! -s conftest.err 7565 }; then 7566 ac_header_preproc=yes 7567 else 7568 echo "$as_me: failed program was:" >&5 7569 sed 's/^/| /' conftest.$ac_ext >&5 7570 7571 ac_header_preproc=no 7572 fi 7573 7574 rm -f conftest.err conftest.$ac_ext 7575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7576 echo "${ECHO_T}$ac_header_preproc" >&6; } 7577 7578 # So? What about this header? 7579 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7580 yes:no: ) 7581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7585 ac_header_preproc=yes 7586 ;; 7587 no:yes:* ) 7588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7600 ( cat <<\_ASBOX 7601 ## ----------------------------------- ## 7602 ## Report this to rappture@nanohub.org ## 7603 ## ----------------------------------- ## 7604 _ASBOX 7605 ) | sed "s/^/$as_me: WARNING: /" >&2 7606 ;; 7607 esac 7608 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7611 echo $ECHO_N "(cached) $ECHO_C" >&6 7612 else 7613 eval "$as_ac_Header=\$ac_header_preproc" 7614 fi 7615 ac_res=`eval echo '${'$as_ac_Header'}'` 7616 { echo "$as_me:$LINENO: result: $ac_res" >&5 7617 echo "${ECHO_T}$ac_res" >&6; } 7618 7619 fi 7620 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5157 do : 5158 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5159 if test "x$ac_cv_header_ctype_h" = x""yes; then : 7621 5160 cat >>confdefs.h <<_ACEOF 7622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7623 _ACEOF 7624 7625 else 7626 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7627 echo "$as_me: WARNING: C headers missing ?" >&2;} 7628 fi 7629 7630 done 7631 5161 #define HAVE_CTYPE_H 1 5162 _ACEOF 5163 5164 else 5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5166 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5167 fi 5168 5169 done 7632 5170 7633 5171 for ac_header in errno.h 7634 do 7635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7637 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7640 echo $ECHO_N "(cached) $ECHO_C" >&6 7641 fi 7642 ac_res=`eval echo '${'$as_ac_Header'}'` 7643 { echo "$as_me:$LINENO: result: $ac_res" >&5 7644 echo "${ECHO_T}$ac_res" >&6; } 7645 else 7646 # Is the header compilable? 7647 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7649 cat >conftest.$ac_ext <<_ACEOF 7650 /* confdefs.h. */ 7651 _ACEOF 7652 cat confdefs.h >>conftest.$ac_ext 7653 cat >>conftest.$ac_ext <<_ACEOF 7654 /* end confdefs.h. */ 7655 $ac_includes_default 7656 #include <$ac_header> 7657 _ACEOF 7658 rm -f conftest.$ac_objext 7659 if { (ac_try="$ac_compile" 7660 case "(($ac_try" in 7661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7662 *) ac_try_echo=$ac_try;; 7663 esac 7664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7665 (eval "$ac_compile") 2>conftest.er1 7666 ac_status=$? 7667 grep -v '^ *+' conftest.er1 >conftest.err 7668 rm -f conftest.er1 7669 cat conftest.err >&5 7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7671 (exit $ac_status); } && { 7672 test -z "$ac_cxx_werror_flag" || 7673 test ! -s conftest.err 7674 } && test -s conftest.$ac_objext; then 7675 ac_header_compiler=yes 7676 else 7677 echo "$as_me: failed program was:" >&5 7678 sed 's/^/| /' conftest.$ac_ext >&5 7679 7680 ac_header_compiler=no 7681 fi 7682 7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7684 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7685 echo "${ECHO_T}$ac_header_compiler" >&6; } 7686 7687 # Is the header present? 7688 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7690 cat >conftest.$ac_ext <<_ACEOF 7691 /* confdefs.h. */ 7692 _ACEOF 7693 cat confdefs.h >>conftest.$ac_ext 7694 cat >>conftest.$ac_ext <<_ACEOF 7695 /* end confdefs.h. */ 7696 #include <$ac_header> 7697 _ACEOF 7698 if { (ac_try="$ac_cpp conftest.$ac_ext" 7699 case "(($ac_try" in 7700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7701 *) ac_try_echo=$ac_try;; 7702 esac 7703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7705 ac_status=$? 7706 grep -v '^ *+' conftest.er1 >conftest.err 7707 rm -f conftest.er1 7708 cat conftest.err >&5 7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7710 (exit $ac_status); } >/dev/null && { 7711 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7712 test ! -s conftest.err 7713 }; then 7714 ac_header_preproc=yes 7715 else 7716 echo "$as_me: failed program was:" >&5 7717 sed 's/^/| /' conftest.$ac_ext >&5 7718 7719 ac_header_preproc=no 7720 fi 7721 7722 rm -f conftest.err conftest.$ac_ext 7723 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7724 echo "${ECHO_T}$ac_header_preproc" >&6; } 7725 7726 # So? What about this header? 7727 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7728 yes:no: ) 7729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7733 ac_header_preproc=yes 7734 ;; 7735 no:yes:* ) 7736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7748 ( cat <<\_ASBOX 7749 ## ----------------------------------- ## 7750 ## Report this to rappture@nanohub.org ## 7751 ## ----------------------------------- ## 7752 _ASBOX 7753 ) | sed "s/^/$as_me: WARNING: /" >&2 7754 ;; 7755 esac 7756 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7759 echo $ECHO_N "(cached) $ECHO_C" >&6 7760 else 7761 eval "$as_ac_Header=\$ac_header_preproc" 7762 fi 7763 ac_res=`eval echo '${'$as_ac_Header'}'` 7764 { echo "$as_me:$LINENO: result: $ac_res" >&5 7765 echo "${ECHO_T}$ac_res" >&6; } 7766 7767 fi 7768 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5172 do : 5173 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5174 if test "x$ac_cv_header_errno_h" = x""yes; then : 7769 5175 cat >>confdefs.h <<_ACEOF 7770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7771 _ACEOF 7772 7773 else 7774 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7775 echo "$as_me: WARNING: C headers missing ?" >&2;} 7776 fi 7777 7778 done 7779 5176 #define HAVE_ERRNO_H 1 5177 _ACEOF 5178 5179 else 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5181 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5182 fi 5183 5184 done 7780 5185 7781 5186 for ac_header in limits.h 7782 do 7783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7785 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7788 echo $ECHO_N "(cached) $ECHO_C" >&6 7789 fi 7790 ac_res=`eval echo '${'$as_ac_Header'}'` 7791 { echo "$as_me:$LINENO: result: $ac_res" >&5 7792 echo "${ECHO_T}$ac_res" >&6; } 7793 else 7794 # Is the header compilable? 7795 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7797 cat >conftest.$ac_ext <<_ACEOF 7798 /* confdefs.h. */ 7799 _ACEOF 7800 cat confdefs.h >>conftest.$ac_ext 7801 cat >>conftest.$ac_ext <<_ACEOF 7802 /* end confdefs.h. */ 7803 $ac_includes_default 7804 #include <$ac_header> 7805 _ACEOF 7806 rm -f conftest.$ac_objext 7807 if { (ac_try="$ac_compile" 7808 case "(($ac_try" in 7809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7810 *) ac_try_echo=$ac_try;; 7811 esac 7812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7813 (eval "$ac_compile") 2>conftest.er1 7814 ac_status=$? 7815 grep -v '^ *+' conftest.er1 >conftest.err 7816 rm -f conftest.er1 7817 cat conftest.err >&5 7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7819 (exit $ac_status); } && { 7820 test -z "$ac_cxx_werror_flag" || 7821 test ! -s conftest.err 7822 } && test -s conftest.$ac_objext; then 7823 ac_header_compiler=yes 7824 else 7825 echo "$as_me: failed program was:" >&5 7826 sed 's/^/| /' conftest.$ac_ext >&5 7827 7828 ac_header_compiler=no 7829 fi 7830 7831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7832 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7833 echo "${ECHO_T}$ac_header_compiler" >&6; } 7834 7835 # Is the header present? 7836 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7838 cat >conftest.$ac_ext <<_ACEOF 7839 /* confdefs.h. */ 7840 _ACEOF 7841 cat confdefs.h >>conftest.$ac_ext 7842 cat >>conftest.$ac_ext <<_ACEOF 7843 /* end confdefs.h. */ 7844 #include <$ac_header> 7845 _ACEOF 7846 if { (ac_try="$ac_cpp conftest.$ac_ext" 7847 case "(($ac_try" in 7848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7849 *) ac_try_echo=$ac_try;; 7850 esac 7851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7853 ac_status=$? 7854 grep -v '^ *+' conftest.er1 >conftest.err 7855 rm -f conftest.er1 7856 cat conftest.err >&5 7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7858 (exit $ac_status); } >/dev/null && { 7859 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7860 test ! -s conftest.err 7861 }; then 7862 ac_header_preproc=yes 7863 else 7864 echo "$as_me: failed program was:" >&5 7865 sed 's/^/| /' conftest.$ac_ext >&5 7866 7867 ac_header_preproc=no 7868 fi 7869 7870 rm -f conftest.err conftest.$ac_ext 7871 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7872 echo "${ECHO_T}$ac_header_preproc" >&6; } 7873 7874 # So? What about this header? 7875 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7876 yes:no: ) 7877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7881 ac_header_preproc=yes 7882 ;; 7883 no:yes:* ) 7884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7896 ( cat <<\_ASBOX 7897 ## ----------------------------------- ## 7898 ## Report this to rappture@nanohub.org ## 7899 ## ----------------------------------- ## 7900 _ASBOX 7901 ) | sed "s/^/$as_me: WARNING: /" >&2 7902 ;; 7903 esac 7904 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7907 echo $ECHO_N "(cached) $ECHO_C" >&6 7908 else 7909 eval "$as_ac_Header=\$ac_header_preproc" 7910 fi 7911 ac_res=`eval echo '${'$as_ac_Header'}'` 7912 { echo "$as_me:$LINENO: result: $ac_res" >&5 7913 echo "${ECHO_T}$ac_res" >&6; } 7914 7915 fi 7916 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5187 do : 5188 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5189 if test "x$ac_cv_header_limits_h" = x""yes; then : 7917 5190 cat >>confdefs.h <<_ACEOF 7918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7919 _ACEOF 7920 7921 else 7922 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7923 echo "$as_me: WARNING: C headers missing ?" >&2;} 7924 fi 7925 7926 done 7927 5191 #define HAVE_LIMITS_H 1 5192 _ACEOF 5193 5194 else 5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5196 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5197 fi 5198 5199 done 7928 5200 7929 5201 for ac_header in string.h 7930 do 7931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7933 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7936 echo $ECHO_N "(cached) $ECHO_C" >&6 7937 fi 7938 ac_res=`eval echo '${'$as_ac_Header'}'` 7939 { echo "$as_me:$LINENO: result: $ac_res" >&5 7940 echo "${ECHO_T}$ac_res" >&6; } 7941 else 7942 # Is the header compilable? 7943 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7945 cat >conftest.$ac_ext <<_ACEOF 7946 /* confdefs.h. */ 7947 _ACEOF 7948 cat confdefs.h >>conftest.$ac_ext 7949 cat >>conftest.$ac_ext <<_ACEOF 7950 /* end confdefs.h. */ 7951 $ac_includes_default 7952 #include <$ac_header> 7953 _ACEOF 7954 rm -f conftest.$ac_objext 7955 if { (ac_try="$ac_compile" 7956 case "(($ac_try" in 7957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7958 *) ac_try_echo=$ac_try;; 7959 esac 7960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7961 (eval "$ac_compile") 2>conftest.er1 7962 ac_status=$? 7963 grep -v '^ *+' conftest.er1 >conftest.err 7964 rm -f conftest.er1 7965 cat conftest.err >&5 7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7967 (exit $ac_status); } && { 7968 test -z "$ac_cxx_werror_flag" || 7969 test ! -s conftest.err 7970 } && test -s conftest.$ac_objext; then 7971 ac_header_compiler=yes 7972 else 7973 echo "$as_me: failed program was:" >&5 7974 sed 's/^/| /' conftest.$ac_ext >&5 7975 7976 ac_header_compiler=no 7977 fi 7978 7979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7980 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7981 echo "${ECHO_T}$ac_header_compiler" >&6; } 7982 7983 # Is the header present? 7984 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7986 cat >conftest.$ac_ext <<_ACEOF 7987 /* confdefs.h. */ 7988 _ACEOF 7989 cat confdefs.h >>conftest.$ac_ext 7990 cat >>conftest.$ac_ext <<_ACEOF 7991 /* end confdefs.h. */ 7992 #include <$ac_header> 7993 _ACEOF 7994 if { (ac_try="$ac_cpp conftest.$ac_ext" 7995 case "(($ac_try" in 7996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7997 *) ac_try_echo=$ac_try;; 7998 esac 7999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8001 ac_status=$? 8002 grep -v '^ *+' conftest.er1 >conftest.err 8003 rm -f conftest.er1 8004 cat conftest.err >&5 8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8006 (exit $ac_status); } >/dev/null && { 8007 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8008 test ! -s conftest.err 8009 }; then 8010 ac_header_preproc=yes 8011 else 8012 echo "$as_me: failed program was:" >&5 8013 sed 's/^/| /' conftest.$ac_ext >&5 8014 8015 ac_header_preproc=no 8016 fi 8017 8018 rm -f conftest.err conftest.$ac_ext 8019 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8020 echo "${ECHO_T}$ac_header_preproc" >&6; } 8021 8022 # So? What about this header? 8023 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8024 yes:no: ) 8025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8029 ac_header_preproc=yes 8030 ;; 8031 no:yes:* ) 8032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8044 ( cat <<\_ASBOX 8045 ## ----------------------------------- ## 8046 ## Report this to rappture@nanohub.org ## 8047 ## ----------------------------------- ## 8048 _ASBOX 8049 ) | sed "s/^/$as_me: WARNING: /" >&2 8050 ;; 8051 esac 8052 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8055 echo $ECHO_N "(cached) $ECHO_C" >&6 8056 else 8057 eval "$as_ac_Header=\$ac_header_preproc" 8058 fi 8059 ac_res=`eval echo '${'$as_ac_Header'}'` 8060 { echo "$as_me:$LINENO: result: $ac_res" >&5 8061 echo "${ECHO_T}$ac_res" >&6; } 8062 8063 fi 8064 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5202 do : 5203 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5204 if test "x$ac_cv_header_string_h" = x""yes; then : 8065 5205 cat >>confdefs.h <<_ACEOF 8066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8067 _ACEOF 8068 8069 else 8070 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8071 echo "$as_me: WARNING: C headers missing ?" >&2;} 8072 fi 8073 8074 done 8075 5206 #define HAVE_STRING_H 1 5207 _ACEOF 5208 5209 else 5210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5211 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5212 fi 5213 5214 done 8076 5215 8077 5216 for ac_header in stdlib.h 8078 do 8079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8081 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8084 echo $ECHO_N "(cached) $ECHO_C" >&6 8085 fi 8086 ac_res=`eval echo '${'$as_ac_Header'}'` 8087 { echo "$as_me:$LINENO: result: $ac_res" >&5 8088 echo "${ECHO_T}$ac_res" >&6; } 8089 else 8090 # Is the header compilable? 8091 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8093 cat >conftest.$ac_ext <<_ACEOF 8094 /* confdefs.h. */ 8095 _ACEOF 8096 cat confdefs.h >>conftest.$ac_ext 8097 cat >>conftest.$ac_ext <<_ACEOF 8098 /* end confdefs.h. */ 8099 $ac_includes_default 8100 #include <$ac_header> 8101 _ACEOF 8102 rm -f conftest.$ac_objext 8103 if { (ac_try="$ac_compile" 8104 case "(($ac_try" in 8105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8106 *) ac_try_echo=$ac_try;; 8107 esac 8108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8109 (eval "$ac_compile") 2>conftest.er1 8110 ac_status=$? 8111 grep -v '^ *+' conftest.er1 >conftest.err 8112 rm -f conftest.er1 8113 cat conftest.err >&5 8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8115 (exit $ac_status); } && { 8116 test -z "$ac_cxx_werror_flag" || 8117 test ! -s conftest.err 8118 } && test -s conftest.$ac_objext; then 8119 ac_header_compiler=yes 8120 else 8121 echo "$as_me: failed program was:" >&5 8122 sed 's/^/| /' conftest.$ac_ext >&5 8123 8124 ac_header_compiler=no 8125 fi 8126 8127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8128 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8129 echo "${ECHO_T}$ac_header_compiler" >&6; } 8130 8131 # Is the header present? 8132 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8134 cat >conftest.$ac_ext <<_ACEOF 8135 /* confdefs.h. */ 8136 _ACEOF 8137 cat confdefs.h >>conftest.$ac_ext 8138 cat >>conftest.$ac_ext <<_ACEOF 8139 /* end confdefs.h. */ 8140 #include <$ac_header> 8141 _ACEOF 8142 if { (ac_try="$ac_cpp conftest.$ac_ext" 8143 case "(($ac_try" in 8144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8145 *) ac_try_echo=$ac_try;; 8146 esac 8147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8149 ac_status=$? 8150 grep -v '^ *+' conftest.er1 >conftest.err 8151 rm -f conftest.er1 8152 cat conftest.err >&5 8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8154 (exit $ac_status); } >/dev/null && { 8155 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8156 test ! -s conftest.err 8157 }; then 8158 ac_header_preproc=yes 8159 else 8160 echo "$as_me: failed program was:" >&5 8161 sed 's/^/| /' conftest.$ac_ext >&5 8162 8163 ac_header_preproc=no 8164 fi 8165 8166 rm -f conftest.err conftest.$ac_ext 8167 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8168 echo "${ECHO_T}$ac_header_preproc" >&6; } 8169 8170 # So? What about this header? 8171 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8172 yes:no: ) 8173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8177 ac_header_preproc=yes 8178 ;; 8179 no:yes:* ) 8180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8192 ( cat <<\_ASBOX 8193 ## ----------------------------------- ## 8194 ## Report this to rappture@nanohub.org ## 8195 ## ----------------------------------- ## 8196 _ASBOX 8197 ) | sed "s/^/$as_me: WARNING: /" >&2 8198 ;; 8199 esac 8200 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8203 echo $ECHO_N "(cached) $ECHO_C" >&6 8204 else 8205 eval "$as_ac_Header=\$ac_header_preproc" 8206 fi 8207 ac_res=`eval echo '${'$as_ac_Header'}'` 8208 { echo "$as_me:$LINENO: result: $ac_res" >&5 8209 echo "${ECHO_T}$ac_res" >&6; } 8210 8211 fi 8212 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5217 do : 5218 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5219 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 8213 5220 cat >>confdefs.h <<_ACEOF 8214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8215 _ACEOF 8216 8217 else 8218 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8219 echo "$as_me: WARNING: C headers missing ?" >&2;} 8220 fi 8221 8222 done 8223 5221 #define HAVE_STDLIB_H 1 5222 _ACEOF 5223 5224 else 5225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5226 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5227 fi 5228 5229 done 8224 5230 8225 5231 for ac_header in stddef.h 8226 do 8227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8229 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8232 echo $ECHO_N "(cached) $ECHO_C" >&6 8233 fi 8234 ac_res=`eval echo '${'$as_ac_Header'}'` 8235 { echo "$as_me:$LINENO: result: $ac_res" >&5 8236 echo "${ECHO_T}$ac_res" >&6; } 8237 else 8238 # Is the header compilable? 8239 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8240 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8241 cat >conftest.$ac_ext <<_ACEOF 8242 /* confdefs.h. */ 8243 _ACEOF 8244 cat confdefs.h >>conftest.$ac_ext 8245 cat >>conftest.$ac_ext <<_ACEOF 8246 /* end confdefs.h. */ 8247 $ac_includes_default 8248 #include <$ac_header> 8249 _ACEOF 8250 rm -f conftest.$ac_objext 8251 if { (ac_try="$ac_compile" 8252 case "(($ac_try" in 8253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8254 *) ac_try_echo=$ac_try;; 8255 esac 8256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8257 (eval "$ac_compile") 2>conftest.er1 8258 ac_status=$? 8259 grep -v '^ *+' conftest.er1 >conftest.err 8260 rm -f conftest.er1 8261 cat conftest.err >&5 8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8263 (exit $ac_status); } && { 8264 test -z "$ac_cxx_werror_flag" || 8265 test ! -s conftest.err 8266 } && test -s conftest.$ac_objext; then 8267 ac_header_compiler=yes 8268 else 8269 echo "$as_me: failed program was:" >&5 8270 sed 's/^/| /' conftest.$ac_ext >&5 8271 8272 ac_header_compiler=no 8273 fi 8274 8275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8276 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8277 echo "${ECHO_T}$ac_header_compiler" >&6; } 8278 8279 # Is the header present? 8280 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8282 cat >conftest.$ac_ext <<_ACEOF 8283 /* confdefs.h. */ 8284 _ACEOF 8285 cat confdefs.h >>conftest.$ac_ext 8286 cat >>conftest.$ac_ext <<_ACEOF 8287 /* end confdefs.h. */ 8288 #include <$ac_header> 8289 _ACEOF 8290 if { (ac_try="$ac_cpp conftest.$ac_ext" 8291 case "(($ac_try" in 8292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8293 *) ac_try_echo=$ac_try;; 8294 esac 8295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8296 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8297 ac_status=$? 8298 grep -v '^ *+' conftest.er1 >conftest.err 8299 rm -f conftest.er1 8300 cat conftest.err >&5 8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8302 (exit $ac_status); } >/dev/null && { 8303 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8304 test ! -s conftest.err 8305 }; then 8306 ac_header_preproc=yes 8307 else 8308 echo "$as_me: failed program was:" >&5 8309 sed 's/^/| /' conftest.$ac_ext >&5 8310 8311 ac_header_preproc=no 8312 fi 8313 8314 rm -f conftest.err conftest.$ac_ext 8315 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8316 echo "${ECHO_T}$ac_header_preproc" >&6; } 8317 8318 # So? What about this header? 8319 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8320 yes:no: ) 8321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8325 ac_header_preproc=yes 8326 ;; 8327 no:yes:* ) 8328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8340 ( cat <<\_ASBOX 8341 ## ----------------------------------- ## 8342 ## Report this to rappture@nanohub.org ## 8343 ## ----------------------------------- ## 8344 _ASBOX 8345 ) | sed "s/^/$as_me: WARNING: /" >&2 8346 ;; 8347 esac 8348 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8351 echo $ECHO_N "(cached) $ECHO_C" >&6 8352 else 8353 eval "$as_ac_Header=\$ac_header_preproc" 8354 fi 8355 ac_res=`eval echo '${'$as_ac_Header'}'` 8356 { echo "$as_me:$LINENO: result: $ac_res" >&5 8357 echo "${ECHO_T}$ac_res" >&6; } 8358 8359 fi 8360 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5232 do : 5233 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5234 if test "x$ac_cv_header_stddef_h" = x""yes; then : 8361 5235 cat >>confdefs.h <<_ACEOF 8362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8363 _ACEOF 8364 8365 else 8366 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8367 echo "$as_me: WARNING: C headers missing ?" >&2;} 8368 fi 8369 8370 done 8371 5236 #define HAVE_STDDEF_H 1 5237 _ACEOF 5238 5239 else 5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5241 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5242 fi 5243 5244 done 8372 5245 8373 5246 for ac_header in float.h 8374 do 8375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8377 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8380 echo $ECHO_N "(cached) $ECHO_C" >&6 8381 fi 8382 ac_res=`eval echo '${'$as_ac_Header'}'` 8383 { echo "$as_me:$LINENO: result: $ac_res" >&5 8384 echo "${ECHO_T}$ac_res" >&6; } 8385 else 8386 # Is the header compilable? 8387 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8389 cat >conftest.$ac_ext <<_ACEOF 8390 /* confdefs.h. */ 8391 _ACEOF 8392 cat confdefs.h >>conftest.$ac_ext 8393 cat >>conftest.$ac_ext <<_ACEOF 8394 /* end confdefs.h. */ 8395 $ac_includes_default 8396 #include <$ac_header> 8397 _ACEOF 8398 rm -f conftest.$ac_objext 8399 if { (ac_try="$ac_compile" 8400 case "(($ac_try" in 8401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8402 *) ac_try_echo=$ac_try;; 8403 esac 8404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8405 (eval "$ac_compile") 2>conftest.er1 8406 ac_status=$? 8407 grep -v '^ *+' conftest.er1 >conftest.err 8408 rm -f conftest.er1 8409 cat conftest.err >&5 8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8411 (exit $ac_status); } && { 8412 test -z "$ac_cxx_werror_flag" || 8413 test ! -s conftest.err 8414 } && test -s conftest.$ac_objext; then 8415 ac_header_compiler=yes 8416 else 8417 echo "$as_me: failed program was:" >&5 8418 sed 's/^/| /' conftest.$ac_ext >&5 8419 8420 ac_header_compiler=no 8421 fi 8422 8423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8424 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8425 echo "${ECHO_T}$ac_header_compiler" >&6; } 8426 8427 # Is the header present? 8428 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8430 cat >conftest.$ac_ext <<_ACEOF 8431 /* confdefs.h. */ 8432 _ACEOF 8433 cat confdefs.h >>conftest.$ac_ext 8434 cat >>conftest.$ac_ext <<_ACEOF 8435 /* end confdefs.h. */ 8436 #include <$ac_header> 8437 _ACEOF 8438 if { (ac_try="$ac_cpp conftest.$ac_ext" 8439 case "(($ac_try" in 8440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8441 *) ac_try_echo=$ac_try;; 8442 esac 8443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8445 ac_status=$? 8446 grep -v '^ *+' conftest.er1 >conftest.err 8447 rm -f conftest.er1 8448 cat conftest.err >&5 8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8450 (exit $ac_status); } >/dev/null && { 8451 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8452 test ! -s conftest.err 8453 }; then 8454 ac_header_preproc=yes 8455 else 8456 echo "$as_me: failed program was:" >&5 8457 sed 's/^/| /' conftest.$ac_ext >&5 8458 8459 ac_header_preproc=no 8460 fi 8461 8462 rm -f conftest.err conftest.$ac_ext 8463 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8464 echo "${ECHO_T}$ac_header_preproc" >&6; } 8465 8466 # So? What about this header? 8467 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8468 yes:no: ) 8469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8473 ac_header_preproc=yes 8474 ;; 8475 no:yes:* ) 8476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8488 ( cat <<\_ASBOX 8489 ## ----------------------------------- ## 8490 ## Report this to rappture@nanohub.org ## 8491 ## ----------------------------------- ## 8492 _ASBOX 8493 ) | sed "s/^/$as_me: WARNING: /" >&2 8494 ;; 8495 esac 8496 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8499 echo $ECHO_N "(cached) $ECHO_C" >&6 8500 else 8501 eval "$as_ac_Header=\$ac_header_preproc" 8502 fi 8503 ac_res=`eval echo '${'$as_ac_Header'}'` 8504 { echo "$as_me:$LINENO: result: $ac_res" >&5 8505 echo "${ECHO_T}$ac_res" >&6; } 8506 8507 fi 8508 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5247 do : 5248 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5249 if test "x$ac_cv_header_float_h" = x""yes; then : 8509 5250 cat >>confdefs.h <<_ACEOF 8510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8511 _ACEOF 8512 8513 else 8514 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8515 echo "$as_me: WARNING: C headers missing ?" >&2;} 8516 fi 8517 8518 done 8519 5251 #define HAVE_FLOAT_H 1 5252 _ACEOF 5253 5254 else 5255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5256 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5257 fi 5258 5259 done 8520 5260 8521 5261 for ac_header in math.h 8522 do 8523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8525 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8528 echo $ECHO_N "(cached) $ECHO_C" >&6 8529 fi 8530 ac_res=`eval echo '${'$as_ac_Header'}'` 8531 { echo "$as_me:$LINENO: result: $ac_res" >&5 8532 echo "${ECHO_T}$ac_res" >&6; } 8533 else 8534 # Is the header compilable? 8535 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8537 cat >conftest.$ac_ext <<_ACEOF 8538 /* confdefs.h. */ 8539 _ACEOF 8540 cat confdefs.h >>conftest.$ac_ext 8541 cat >>conftest.$ac_ext <<_ACEOF 8542 /* end confdefs.h. */ 8543 $ac_includes_default 8544 #include <$ac_header> 8545 _ACEOF 8546 rm -f conftest.$ac_objext 8547 if { (ac_try="$ac_compile" 8548 case "(($ac_try" in 8549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8550 *) ac_try_echo=$ac_try;; 8551 esac 8552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8553 (eval "$ac_compile") 2>conftest.er1 8554 ac_status=$? 8555 grep -v '^ *+' conftest.er1 >conftest.err 8556 rm -f conftest.er1 8557 cat conftest.err >&5 8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8559 (exit $ac_status); } && { 8560 test -z "$ac_cxx_werror_flag" || 8561 test ! -s conftest.err 8562 } && test -s conftest.$ac_objext; then 8563 ac_header_compiler=yes 8564 else 8565 echo "$as_me: failed program was:" >&5 8566 sed 's/^/| /' conftest.$ac_ext >&5 8567 8568 ac_header_compiler=no 8569 fi 8570 8571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8572 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8573 echo "${ECHO_T}$ac_header_compiler" >&6; } 8574 8575 # Is the header present? 8576 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8578 cat >conftest.$ac_ext <<_ACEOF 8579 /* confdefs.h. */ 8580 _ACEOF 8581 cat confdefs.h >>conftest.$ac_ext 8582 cat >>conftest.$ac_ext <<_ACEOF 8583 /* end confdefs.h. */ 8584 #include <$ac_header> 8585 _ACEOF 8586 if { (ac_try="$ac_cpp conftest.$ac_ext" 8587 case "(($ac_try" in 8588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8589 *) ac_try_echo=$ac_try;; 8590 esac 8591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8593 ac_status=$? 8594 grep -v '^ *+' conftest.er1 >conftest.err 8595 rm -f conftest.er1 8596 cat conftest.err >&5 8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8598 (exit $ac_status); } >/dev/null && { 8599 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8600 test ! -s conftest.err 8601 }; then 8602 ac_header_preproc=yes 8603 else 8604 echo "$as_me: failed program was:" >&5 8605 sed 's/^/| /' conftest.$ac_ext >&5 8606 8607 ac_header_preproc=no 8608 fi 8609 8610 rm -f conftest.err conftest.$ac_ext 8611 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8612 echo "${ECHO_T}$ac_header_preproc" >&6; } 8613 8614 # So? What about this header? 8615 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8616 yes:no: ) 8617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8621 ac_header_preproc=yes 8622 ;; 8623 no:yes:* ) 8624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8636 ( cat <<\_ASBOX 8637 ## ----------------------------------- ## 8638 ## Report this to rappture@nanohub.org ## 8639 ## ----------------------------------- ## 8640 _ASBOX 8641 ) | sed "s/^/$as_me: WARNING: /" >&2 8642 ;; 8643 esac 8644 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8647 echo $ECHO_N "(cached) $ECHO_C" >&6 8648 else 8649 eval "$as_ac_Header=\$ac_header_preproc" 8650 fi 8651 ac_res=`eval echo '${'$as_ac_Header'}'` 8652 { echo "$as_me:$LINENO: result: $ac_res" >&5 8653 echo "${ECHO_T}$ac_res" >&6; } 8654 8655 fi 8656 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5262 do : 5263 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5264 if test "x$ac_cv_header_math_h" = x""yes; then : 8657 5265 cat >>confdefs.h <<_ACEOF 8658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8659 _ACEOF 8660 8661 else 8662 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8663 echo "$as_me: WARNING: C headers missing ?" >&2;} 8664 fi 8665 8666 done 8667 5266 #define HAVE_MATH_H 1 5267 _ACEOF 5268 5269 else 5270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5271 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5272 fi 5273 5274 done 8668 5275 8669 5276 for ac_header in malloc.h 8670 do 8671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8673 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8676 echo $ECHO_N "(cached) $ECHO_C" >&6 8677 fi 8678 ac_res=`eval echo '${'$as_ac_Header'}'` 8679 { echo "$as_me:$LINENO: result: $ac_res" >&5 8680 echo "${ECHO_T}$ac_res" >&6; } 8681 else 8682 # Is the header compilable? 8683 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8685 cat >conftest.$ac_ext <<_ACEOF 8686 /* confdefs.h. */ 8687 _ACEOF 8688 cat confdefs.h >>conftest.$ac_ext 8689 cat >>conftest.$ac_ext <<_ACEOF 8690 /* end confdefs.h. */ 8691 $ac_includes_default 8692 #include <$ac_header> 8693 _ACEOF 8694 rm -f conftest.$ac_objext 8695 if { (ac_try="$ac_compile" 8696 case "(($ac_try" in 8697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8698 *) ac_try_echo=$ac_try;; 8699 esac 8700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8701 (eval "$ac_compile") 2>conftest.er1 8702 ac_status=$? 8703 grep -v '^ *+' conftest.er1 >conftest.err 8704 rm -f conftest.er1 8705 cat conftest.err >&5 8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8707 (exit $ac_status); } && { 8708 test -z "$ac_cxx_werror_flag" || 8709 test ! -s conftest.err 8710 } && test -s conftest.$ac_objext; then 8711 ac_header_compiler=yes 8712 else 8713 echo "$as_me: failed program was:" >&5 8714 sed 's/^/| /' conftest.$ac_ext >&5 8715 8716 ac_header_compiler=no 8717 fi 8718 8719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8720 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8721 echo "${ECHO_T}$ac_header_compiler" >&6; } 8722 8723 # Is the header present? 8724 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8726 cat >conftest.$ac_ext <<_ACEOF 8727 /* confdefs.h. */ 8728 _ACEOF 8729 cat confdefs.h >>conftest.$ac_ext 8730 cat >>conftest.$ac_ext <<_ACEOF 8731 /* end confdefs.h. */ 8732 #include <$ac_header> 8733 _ACEOF 8734 if { (ac_try="$ac_cpp conftest.$ac_ext" 8735 case "(($ac_try" in 8736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8737 *) ac_try_echo=$ac_try;; 8738 esac 8739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8741 ac_status=$? 8742 grep -v '^ *+' conftest.er1 >conftest.err 8743 rm -f conftest.er1 8744 cat conftest.err >&5 8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8746 (exit $ac_status); } >/dev/null && { 8747 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8748 test ! -s conftest.err 8749 }; then 8750 ac_header_preproc=yes 8751 else 8752 echo "$as_me: failed program was:" >&5 8753 sed 's/^/| /' conftest.$ac_ext >&5 8754 8755 ac_header_preproc=no 8756 fi 8757 8758 rm -f conftest.err conftest.$ac_ext 8759 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8760 echo "${ECHO_T}$ac_header_preproc" >&6; } 8761 8762 # So? What about this header? 8763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8764 yes:no: ) 8765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8769 ac_header_preproc=yes 8770 ;; 8771 no:yes:* ) 8772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8779 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8784 ( cat <<\_ASBOX 8785 ## ----------------------------------- ## 8786 ## Report this to rappture@nanohub.org ## 8787 ## ----------------------------------- ## 8788 _ASBOX 8789 ) | sed "s/^/$as_me: WARNING: /" >&2 8790 ;; 8791 esac 8792 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8795 echo $ECHO_N "(cached) $ECHO_C" >&6 8796 else 8797 eval "$as_ac_Header=\$ac_header_preproc" 8798 fi 8799 ac_res=`eval echo '${'$as_ac_Header'}'` 8800 { echo "$as_me:$LINENO: result: $ac_res" >&5 8801 echo "${ECHO_T}$ac_res" >&6; } 8802 8803 fi 8804 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5277 do : 5278 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5279 if test "x$ac_cv_header_malloc_h" = x""yes; then : 8805 5280 cat >>confdefs.h <<_ACEOF 8806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8807 _ACEOF 8808 8809 else 8810 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8811 echo "$as_me: WARNING: C headers missing ?" >&2;} 8812 fi 8813 8814 done 8815 5281 #define HAVE_MALLOC_H 1 5282 _ACEOF 5283 5284 else 5285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5286 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5287 fi 5288 5289 done 8816 5290 8817 5291 for ac_header in memory.h 8818 do 8819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8821 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8824 echo $ECHO_N "(cached) $ECHO_C" >&6 8825 fi 8826 ac_res=`eval echo '${'$as_ac_Header'}'` 8827 { echo "$as_me:$LINENO: result: $ac_res" >&5 8828 echo "${ECHO_T}$ac_res" >&6; } 8829 else 8830 # Is the header compilable? 8831 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8833 cat >conftest.$ac_ext <<_ACEOF 8834 /* confdefs.h. */ 8835 _ACEOF 8836 cat confdefs.h >>conftest.$ac_ext 8837 cat >>conftest.$ac_ext <<_ACEOF 8838 /* end confdefs.h. */ 8839 $ac_includes_default 8840 #include <$ac_header> 8841 _ACEOF 8842 rm -f conftest.$ac_objext 8843 if { (ac_try="$ac_compile" 8844 case "(($ac_try" in 8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8846 *) ac_try_echo=$ac_try;; 8847 esac 8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8849 (eval "$ac_compile") 2>conftest.er1 8850 ac_status=$? 8851 grep -v '^ *+' conftest.er1 >conftest.err 8852 rm -f conftest.er1 8853 cat conftest.err >&5 8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8855 (exit $ac_status); } && { 8856 test -z "$ac_cxx_werror_flag" || 8857 test ! -s conftest.err 8858 } && test -s conftest.$ac_objext; then 8859 ac_header_compiler=yes 8860 else 8861 echo "$as_me: failed program was:" >&5 8862 sed 's/^/| /' conftest.$ac_ext >&5 8863 8864 ac_header_compiler=no 8865 fi 8866 8867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8868 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8869 echo "${ECHO_T}$ac_header_compiler" >&6; } 8870 8871 # Is the header present? 8872 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8874 cat >conftest.$ac_ext <<_ACEOF 8875 /* confdefs.h. */ 8876 _ACEOF 8877 cat confdefs.h >>conftest.$ac_ext 8878 cat >>conftest.$ac_ext <<_ACEOF 8879 /* end confdefs.h. */ 8880 #include <$ac_header> 8881 _ACEOF 8882 if { (ac_try="$ac_cpp conftest.$ac_ext" 8883 case "(($ac_try" in 8884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8885 *) ac_try_echo=$ac_try;; 8886 esac 8887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8889 ac_status=$? 8890 grep -v '^ *+' conftest.er1 >conftest.err 8891 rm -f conftest.er1 8892 cat conftest.err >&5 8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8894 (exit $ac_status); } >/dev/null && { 8895 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8896 test ! -s conftest.err 8897 }; then 8898 ac_header_preproc=yes 8899 else 8900 echo "$as_me: failed program was:" >&5 8901 sed 's/^/| /' conftest.$ac_ext >&5 8902 8903 ac_header_preproc=no 8904 fi 8905 8906 rm -f conftest.err conftest.$ac_ext 8907 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8908 echo "${ECHO_T}$ac_header_preproc" >&6; } 8909 8910 # So? What about this header? 8911 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8912 yes:no: ) 8913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8917 ac_header_preproc=yes 8918 ;; 8919 no:yes:* ) 8920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8932 ( cat <<\_ASBOX 8933 ## ----------------------------------- ## 8934 ## Report this to rappture@nanohub.org ## 8935 ## ----------------------------------- ## 8936 _ASBOX 8937 ) | sed "s/^/$as_me: WARNING: /" >&2 8938 ;; 8939 esac 8940 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8943 echo $ECHO_N "(cached) $ECHO_C" >&6 8944 else 8945 eval "$as_ac_Header=\$ac_header_preproc" 8946 fi 8947 ac_res=`eval echo '${'$as_ac_Header'}'` 8948 { echo "$as_me:$LINENO: result: $ac_res" >&5 8949 echo "${ECHO_T}$ac_res" >&6; } 8950 8951 fi 8952 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5292 do : 5293 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5294 if test "x$ac_cv_header_memory_h" = x""yes; then : 8953 5295 cat >>confdefs.h <<_ACEOF 8954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8955 _ACEOF 8956 8957 else 8958 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8959 echo "$as_me: WARNING: C headers missing ?" >&2;} 8960 fi 8961 8962 done 8963 5296 #define HAVE_MEMORY_H 1 5297 _ACEOF 5298 5299 else 5300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5301 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5302 fi 5303 5304 done 8964 5305 8965 5306 for ac_header in unistd.h 8966 do 8967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8969 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8972 echo $ECHO_N "(cached) $ECHO_C" >&6 8973 fi 8974 ac_res=`eval echo '${'$as_ac_Header'}'` 8975 { echo "$as_me:$LINENO: result: $ac_res" >&5 8976 echo "${ECHO_T}$ac_res" >&6; } 8977 else 8978 # Is the header compilable? 8979 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8981 cat >conftest.$ac_ext <<_ACEOF 8982 /* confdefs.h. */ 8983 _ACEOF 8984 cat confdefs.h >>conftest.$ac_ext 8985 cat >>conftest.$ac_ext <<_ACEOF 8986 /* end confdefs.h. */ 8987 $ac_includes_default 8988 #include <$ac_header> 8989 _ACEOF 8990 rm -f conftest.$ac_objext 8991 if { (ac_try="$ac_compile" 8992 case "(($ac_try" in 8993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8994 *) ac_try_echo=$ac_try;; 8995 esac 8996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8997 (eval "$ac_compile") 2>conftest.er1 8998 ac_status=$? 8999 grep -v '^ *+' conftest.er1 >conftest.err 9000 rm -f conftest.er1 9001 cat conftest.err >&5 9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9003 (exit $ac_status); } && { 9004 test -z "$ac_cxx_werror_flag" || 9005 test ! -s conftest.err 9006 } && test -s conftest.$ac_objext; then 9007 ac_header_compiler=yes 9008 else 9009 echo "$as_me: failed program was:" >&5 9010 sed 's/^/| /' conftest.$ac_ext >&5 9011 9012 ac_header_compiler=no 9013 fi 9014 9015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9016 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9017 echo "${ECHO_T}$ac_header_compiler" >&6; } 9018 9019 # Is the header present? 9020 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9022 cat >conftest.$ac_ext <<_ACEOF 9023 /* confdefs.h. */ 9024 _ACEOF 9025 cat confdefs.h >>conftest.$ac_ext 9026 cat >>conftest.$ac_ext <<_ACEOF 9027 /* end confdefs.h. */ 9028 #include <$ac_header> 9029 _ACEOF 9030 if { (ac_try="$ac_cpp conftest.$ac_ext" 9031 case "(($ac_try" in 9032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9033 *) ac_try_echo=$ac_try;; 9034 esac 9035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9037 ac_status=$? 9038 grep -v '^ *+' conftest.er1 >conftest.err 9039 rm -f conftest.er1 9040 cat conftest.err >&5 9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9042 (exit $ac_status); } >/dev/null && { 9043 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9044 test ! -s conftest.err 9045 }; then 9046 ac_header_preproc=yes 9047 else 9048 echo "$as_me: failed program was:" >&5 9049 sed 's/^/| /' conftest.$ac_ext >&5 9050 9051 ac_header_preproc=no 9052 fi 9053 9054 rm -f conftest.err conftest.$ac_ext 9055 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9056 echo "${ECHO_T}$ac_header_preproc" >&6; } 9057 9058 # So? What about this header? 9059 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9060 yes:no: ) 9061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9065 ac_header_preproc=yes 9066 ;; 9067 no:yes:* ) 9068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9080 ( cat <<\_ASBOX 9081 ## ----------------------------------- ## 9082 ## Report this to rappture@nanohub.org ## 9083 ## ----------------------------------- ## 9084 _ASBOX 9085 ) | sed "s/^/$as_me: WARNING: /" >&2 9086 ;; 9087 esac 9088 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9091 echo $ECHO_N "(cached) $ECHO_C" >&6 9092 else 9093 eval "$as_ac_Header=\$ac_header_preproc" 9094 fi 9095 ac_res=`eval echo '${'$as_ac_Header'}'` 9096 { echo "$as_me:$LINENO: result: $ac_res" >&5 9097 echo "${ECHO_T}$ac_res" >&6; } 9098 9099 fi 9100 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5307 do : 5308 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5309 if test "x$ac_cv_header_unistd_h" = x""yes; then : 9101 5310 cat >>confdefs.h <<_ACEOF 9102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9103 _ACEOF 9104 9105 else 9106 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 9107 echo "$as_me: WARNING: C headers missing ?" >&2;} 9108 fi 9109 9110 done 9111 5311 #define HAVE_UNISTD_H 1 5312 _ACEOF 5313 5314 else 5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5316 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5317 fi 5318 5319 done 9112 5320 9113 5321 9114 5322 for ac_header in inttypes.h 9115 do 9116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9118 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9121 echo $ECHO_N "(cached) $ECHO_C" >&6 9122 fi 9123 ac_res=`eval echo '${'$as_ac_Header'}'` 9124 { echo "$as_me:$LINENO: result: $ac_res" >&5 9125 echo "${ECHO_T}$ac_res" >&6; } 9126 else 9127 # Is the header compilable? 9128 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9130 cat >conftest.$ac_ext <<_ACEOF 9131 /* confdefs.h. */ 9132 _ACEOF 9133 cat confdefs.h >>conftest.$ac_ext 9134 cat >>conftest.$ac_ext <<_ACEOF 9135 /* end confdefs.h. */ 9136 $ac_includes_default 9137 #include <$ac_header> 9138 _ACEOF 9139 rm -f conftest.$ac_objext 9140 if { (ac_try="$ac_compile" 9141 case "(($ac_try" in 9142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9143 *) ac_try_echo=$ac_try;; 9144 esac 9145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9146 (eval "$ac_compile") 2>conftest.er1 9147 ac_status=$? 9148 grep -v '^ *+' conftest.er1 >conftest.err 9149 rm -f conftest.er1 9150 cat conftest.err >&5 9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9152 (exit $ac_status); } && { 9153 test -z "$ac_cxx_werror_flag" || 9154 test ! -s conftest.err 9155 } && test -s conftest.$ac_objext; then 9156 ac_header_compiler=yes 9157 else 9158 echo "$as_me: failed program was:" >&5 9159 sed 's/^/| /' conftest.$ac_ext >&5 9160 9161 ac_header_compiler=no 9162 fi 9163 9164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9165 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9166 echo "${ECHO_T}$ac_header_compiler" >&6; } 9167 9168 # Is the header present? 9169 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9171 cat >conftest.$ac_ext <<_ACEOF 9172 /* confdefs.h. */ 9173 _ACEOF 9174 cat confdefs.h >>conftest.$ac_ext 9175 cat >>conftest.$ac_ext <<_ACEOF 9176 /* end confdefs.h. */ 9177 #include <$ac_header> 9178 _ACEOF 9179 if { (ac_try="$ac_cpp conftest.$ac_ext" 9180 case "(($ac_try" in 9181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9182 *) ac_try_echo=$ac_try;; 9183 esac 9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9186 ac_status=$? 9187 grep -v '^ *+' conftest.er1 >conftest.err 9188 rm -f conftest.er1 9189 cat conftest.err >&5 9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9191 (exit $ac_status); } >/dev/null && { 9192 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9193 test ! -s conftest.err 9194 }; then 9195 ac_header_preproc=yes 9196 else 9197 echo "$as_me: failed program was:" >&5 9198 sed 's/^/| /' conftest.$ac_ext >&5 9199 9200 ac_header_preproc=no 9201 fi 9202 9203 rm -f conftest.err conftest.$ac_ext 9204 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9205 echo "${ECHO_T}$ac_header_preproc" >&6; } 9206 9207 # So? What about this header? 9208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9209 yes:no: ) 9210 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9214 ac_header_preproc=yes 9215 ;; 9216 no:yes:* ) 9217 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9219 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9220 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9221 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9223 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9224 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9227 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9229 ( cat <<\_ASBOX 9230 ## ----------------------------------- ## 9231 ## Report this to rappture@nanohub.org ## 9232 ## ----------------------------------- ## 9233 _ASBOX 9234 ) | sed "s/^/$as_me: WARNING: /" >&2 9235 ;; 9236 esac 9237 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9240 echo $ECHO_N "(cached) $ECHO_C" >&6 9241 else 9242 eval "$as_ac_Header=\$ac_header_preproc" 9243 fi 9244 ac_res=`eval echo '${'$as_ac_Header'}'` 9245 { echo "$as_me:$LINENO: result: $ac_res" >&5 9246 echo "${ECHO_T}$ac_res" >&6; } 9247 9248 fi 9249 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5323 do : 5324 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5325 if test "x$ac_cv_header_inttypes_h" = x""yes; then : 9250 5326 cat >>confdefs.h <<_ACEOF 9251 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19252 _ACEOF 9253 9254 else 9255 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59256 echo "$as_me: WARNING: C headers missing ?" >&2;}5327 #define HAVE_INTTYPES_H 1 5328 _ACEOF 5329 5330 else 5331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5332 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9257 5333 fi 9258 5334 … … 9271 5347 # Step 0.a: Enable 64 bit support? 9272 5348 9273 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&59274 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 5350 $as_echo_n "checking if 64bit support is requested... " >&6; } 9275 5351 # Check whether --enable-64bit was given. 9276 if test "${enable_64bit+set}" = set; then 5352 if test "${enable_64bit+set}" = set; then : 9277 5353 enableval=$enable_64bit; do64bit=$enableval 9278 5354 else … … 9280 5356 fi 9281 5357 9282 { echo "$as_me:$LINENO: result: $do64bit" >&59283 echo "${ECHO_T}$do64bit" >&6; }5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 5359 $as_echo "$do64bit" >&6; } 9284 5360 9285 5361 # Step 0.b: Enable Solaris 64 bit VIS support? 9286 5362 9287 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&59288 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 5364 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9289 5365 # Check whether --enable-64bit-vis was given. 9290 if test "${enable_64bit_vis+set}" = set; then 5366 if test "${enable_64bit_vis+set}" = set; then : 9291 5367 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9292 5368 else … … 9294 5370 fi 9295 5371 9296 { echo "$as_me:$LINENO: result: $do64bitVIS" >&59297 echo "${ECHO_T}$do64bitVIS" >&6; }5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 5373 $as_echo "$do64bitVIS" >&6; } 9298 5374 9299 5375 if test "$do64bitVIS" = "yes"; then … … 9306 5382 9307 5383 9308 { echo "$as_me:$LINENO: checking system version" >&59309 echo $ECHO_N "checking system version... $ECHO_C" >&6; }9310 if test "${tcl_cv_sys_version+set}" = set; then 9311 echo $ECHO_N "(cached) $ECHO_C" >&65384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 5385 $as_echo_n "checking system version... " >&6; } 5386 if test "${tcl_cv_sys_version+set}" = set; then : 5387 $as_echo_n "(cached) " >&6 9312 5388 else 9313 5389 … … 9317 5393 tcl_cv_sys_version=`uname -s`-`uname -r` 9318 5394 if test "$?" -ne 0 ; then 9319 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&59320 echo "$as_me: WARNING: can't find uname command" >&2;}5395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 5396 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9321 5397 tcl_cv_sys_version=unknown 9322 5398 else … … 9334 5410 9335 5411 fi 9336 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&59337 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 5413 $as_echo "$tcl_cv_sys_version" >&6; } 9338 5414 system=$tcl_cv_sys_version 9339 5415 … … 9342 5418 # Linux can use either -ldl or -ldld for dynamic loading. 9343 5419 9344 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&59345 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }9346 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 9347 echo $ECHO_N "(cached) $ECHO_C" >&65420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5421 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5422 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 5423 $as_echo_n "(cached) " >&6 9348 5424 else 9349 5425 ac_check_lib_save_LIBS=$LIBS 9350 5426 LIBS="-ldl $LIBS" 9351 cat >conftest.$ac_ext <<_ACEOF 9352 /* confdefs.h. */ 9353 _ACEOF 9354 cat confdefs.h >>conftest.$ac_ext 9355 cat >>conftest.$ac_ext <<_ACEOF 5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9356 5428 /* end confdefs.h. */ 9357 5429 … … 9371 5443 } 9372 5444 _ACEOF 9373 rm -f conftest.$ac_objext conftest$ac_exeext 9374 if { (ac_try="$ac_link" 9375 case "(($ac_try" in 9376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9377 *) ac_try_echo=$ac_try;; 9378 esac 9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9380 (eval "$ac_link") 2>conftest.er1 9381 ac_status=$? 9382 grep -v '^ *+' conftest.er1 >conftest.err 9383 rm -f conftest.er1 9384 cat conftest.err >&5 9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9386 (exit $ac_status); } && { 9387 test -z "$ac_cxx_werror_flag" || 9388 test ! -s conftest.err 9389 } && test -s conftest$ac_exeext && 9390 $as_test_x conftest$ac_exeext; then 5445 if ac_fn_cxx_try_link "$LINENO"; then : 9391 5446 ac_cv_lib_dl_dlopen=yes 9392 5447 else 9393 echo "$as_me: failed program was:" >&5 9394 sed 's/^/| /' conftest.$ac_ext >&5 9395 9396 ac_cv_lib_dl_dlopen=no 9397 fi 9398 9399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9400 conftest$ac_exeext conftest.$ac_ext 5448 ac_cv_lib_dl_dlopen=no 5449 fi 5450 rm -f core conftest.err conftest.$ac_objext \ 5451 conftest$ac_exeext conftest.$ac_ext 9401 5452 LIBS=$ac_check_lib_save_LIBS 9402 5453 fi 9403 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&59404 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }9405 if test $ac_cv_lib_dl_dlopen = yes; then5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5455 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5456 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 9406 5457 have_dl=yes 9407 5458 else … … 9435 5486 # Extract the first word of "ar", so it can be a program name with args. 9436 5487 set dummy ar; ac_word=$2 9437 { echo "$as_me:$LINENO: checking for $ac_word" >&59438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }9439 if test "${ac_cv_prog_AR+set}" = set; then 9440 echo $ECHO_N "(cached) $ECHO_C" >&65488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5489 $as_echo_n "checking for $ac_word... " >&6; } 5490 if test "${ac_cv_prog_AR+set}" = set; then : 5491 $as_echo_n "(cached) " >&6 9441 5492 else 9442 5493 if test -n "$AR"; then … … 9448 5499 IFS=$as_save_IFS 9449 5500 test -z "$as_dir" && as_dir=. 9450 for ac_exec_ext in '' $ac_executable_extensions; do5501 for ac_exec_ext in '' $ac_executable_extensions; do 9451 5502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9452 5503 ac_cv_prog_AR="ar" 9453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9454 5505 break 2 9455 5506 fi 9456 5507 done 9457 done5508 done 9458 5509 IFS=$as_save_IFS 9459 5510 … … 9462 5513 AR=$ac_cv_prog_AR 9463 5514 if test -n "$AR"; then 9464 { echo "$as_me:$LINENO: result: $AR" >&59465 echo "${ECHO_T}$AR" >&6; }9466 else 9467 { echo "$as_me:$LINENO: result: no" >&59468 echo "${ECHO_T}no" >&6; }5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5516 $as_echo "$AR" >&6; } 5517 else 5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5519 $as_echo "no" >&6; } 9469 5520 fi 9470 5521 9471 5522 9472 5523 if test "${AR}" = "" ; then 9473 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9474 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9475 { (exit 1); exit 1; }; } 5524 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9476 5525 fi 9477 5526 STLIB_LD='${AR} cr' … … 9491 5540 ;; 9492 5541 esac 9493 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&59494 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 5543 $as_echo "Using $CC for compiling with threads" >&6; } 9495 5544 fi 9496 5545 LIBS="$LIBS -lc" … … 9507 5556 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 9508 5557 if test "$GCC" = "yes" ; then 9509 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59510 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5559 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9511 5560 else 9512 5561 do64bit_ok=yes … … 9562 5611 # known GMT value. 9563 5612 9564 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&59565 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }9566 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 9567 echo $ECHO_N "(cached) $ECHO_C" >&65613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 5614 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5615 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then : 5616 $as_echo_n "(cached) " >&6 9568 5617 else 9569 5618 ac_check_lib_save_LIBS=$LIBS 9570 5619 LIBS="-lbsd $LIBS" 9571 cat >conftest.$ac_ext <<_ACEOF 9572 /* confdefs.h. */ 9573 _ACEOF 9574 cat confdefs.h >>conftest.$ac_ext 9575 cat >>conftest.$ac_ext <<_ACEOF 5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9576 5621 /* end confdefs.h. */ 9577 5622 … … 9591 5636 } 9592 5637 _ACEOF 9593 rm -f conftest.$ac_objext conftest$ac_exeext 9594 if { (ac_try="$ac_link" 9595 case "(($ac_try" in 9596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9597 *) ac_try_echo=$ac_try;; 9598 esac 9599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9600 (eval "$ac_link") 2>conftest.er1 9601 ac_status=$? 9602 grep -v '^ *+' conftest.er1 >conftest.err 9603 rm -f conftest.er1 9604 cat conftest.err >&5 9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9606 (exit $ac_status); } && { 9607 test -z "$ac_cxx_werror_flag" || 9608 test ! -s conftest.err 9609 } && test -s conftest$ac_exeext && 9610 $as_test_x conftest$ac_exeext; then 5638 if ac_fn_cxx_try_link "$LINENO"; then : 9611 5639 ac_cv_lib_bsd_gettimeofday=yes 9612 5640 else 9613 echo "$as_me: failed program was:" >&5 9614 sed 's/^/| /' conftest.$ac_ext >&5 9615 9616 ac_cv_lib_bsd_gettimeofday=no 9617 fi 9618 9619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9620 conftest$ac_exeext conftest.$ac_ext 5641 ac_cv_lib_bsd_gettimeofday=no 5642 fi 5643 rm -f core conftest.err conftest.$ac_objext \ 5644 conftest$ac_exeext conftest.$ac_ext 9621 5645 LIBS=$ac_check_lib_save_LIBS 9622 5646 fi 9623 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&59624 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }9625 if test $ac_cv_lib_bsd_gettimeofday = yes; then5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 5648 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5649 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then : 9626 5650 libbsd=yes 9627 5651 else … … 9631 5655 if test $libbsd = yes; then 9632 5656 MATH_LIBS="$MATH_LIBS -lbsd" 9633 cat >>confdefs.h <<\_ACEOF 9634 #define USE_DELTA_FOR_TZ 1 9635 _ACEOF 5657 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9636 5658 9637 5659 fi … … 9650 5672 # is always linked to, for compatibility. 9651 5673 #----------------------------------------------------------- 9652 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&59653 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }9654 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 9655 echo $ECHO_N "(cached) $ECHO_C" >&65674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 5675 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5676 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then : 5677 $as_echo_n "(cached) " >&6 9656 5678 else 9657 5679 ac_check_lib_save_LIBS=$LIBS 9658 5680 LIBS="-lbind $LIBS" 9659 cat >conftest.$ac_ext <<_ACEOF 9660 /* confdefs.h. */ 9661 _ACEOF 9662 cat confdefs.h >>conftest.$ac_ext 9663 cat >>conftest.$ac_ext <<_ACEOF 5681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9664 5682 /* end confdefs.h. */ 9665 5683 … … 9679 5697 } 9680 5698 _ACEOF 9681 rm -f conftest.$ac_objext conftest$ac_exeext 9682 if { (ac_try="$ac_link" 9683 case "(($ac_try" in 9684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9685 *) ac_try_echo=$ac_try;; 9686 esac 9687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9688 (eval "$ac_link") 2>conftest.er1 9689 ac_status=$? 9690 grep -v '^ *+' conftest.er1 >conftest.err 9691 rm -f conftest.er1 9692 cat conftest.err >&5 9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9694 (exit $ac_status); } && { 9695 test -z "$ac_cxx_werror_flag" || 9696 test ! -s conftest.err 9697 } && test -s conftest$ac_exeext && 9698 $as_test_x conftest$ac_exeext; then 5699 if ac_fn_cxx_try_link "$LINENO"; then : 9699 5700 ac_cv_lib_bind_inet_ntoa=yes 9700 5701 else 9701 echo "$as_me: failed program was:" >&5 9702 sed 's/^/| /' conftest.$ac_ext >&5 9703 9704 ac_cv_lib_bind_inet_ntoa=no 9705 fi 9706 9707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9708 conftest$ac_exeext conftest.$ac_ext 5702 ac_cv_lib_bind_inet_ntoa=no 5703 fi 5704 rm -f core conftest.err conftest.$ac_objext \ 5705 conftest$ac_exeext conftest.$ac_ext 9709 5706 LIBS=$ac_check_lib_save_LIBS 9710 5707 fi 9711 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&59712 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }9713 if test $ac_cv_lib_bind_inet_ntoa = yes; then5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 5709 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5710 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then : 9714 5711 LIBS="$LIBS -lbind -lsocket" 9715 5712 fi … … 9749 5746 HP-UX-*.11.*) 9750 5747 # Use updated header definitions where possible 9751 cat >>confdefs.h <<\_ACEOF 9752 #define _XOPEN_SOURCE 1 9753 _ACEOF 5748 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9754 5749 # Use the XOPEN network library 9755 cat >>confdefs.h <<\_ACEOF 9756 #define _XOPEN_SOURCE_EXTENDED 1 9757 _ACEOF 5750 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9758 5751 # Use the XOPEN network library 9759 5752 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 9764 5757 SHLIB_SUFFIX=".sl" 9765 5758 fi 9766 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59767 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9768 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9769 echo $ECHO_N "(cached) $ECHO_C" >&65759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5760 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5761 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 5762 $as_echo_n "(cached) " >&6 9770 5763 else 9771 5764 ac_check_lib_save_LIBS=$LIBS 9772 5765 LIBS="-ldld $LIBS" 9773 cat >conftest.$ac_ext <<_ACEOF 9774 /* confdefs.h. */ 9775 _ACEOF 9776 cat confdefs.h >>conftest.$ac_ext 9777 cat >>conftest.$ac_ext <<_ACEOF 5766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9778 5767 /* end confdefs.h. */ 9779 5768 … … 9793 5782 } 9794 5783 _ACEOF 9795 rm -f conftest.$ac_objext conftest$ac_exeext 9796 if { (ac_try="$ac_link" 9797 case "(($ac_try" in 9798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9799 *) ac_try_echo=$ac_try;; 9800 esac 9801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9802 (eval "$ac_link") 2>conftest.er1 9803 ac_status=$? 9804 grep -v '^ *+' conftest.er1 >conftest.err 9805 rm -f conftest.er1 9806 cat conftest.err >&5 9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9808 (exit $ac_status); } && { 9809 test -z "$ac_cxx_werror_flag" || 9810 test ! -s conftest.err 9811 } && test -s conftest$ac_exeext && 9812 $as_test_x conftest$ac_exeext; then 5784 if ac_fn_cxx_try_link "$LINENO"; then : 9813 5785 ac_cv_lib_dld_shl_load=yes 9814 5786 else 9815 echo "$as_me: failed program was:" >&5 9816 sed 's/^/| /' conftest.$ac_ext >&5 9817 9818 ac_cv_lib_dld_shl_load=no 9819 fi 9820 9821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9822 conftest$ac_exeext conftest.$ac_ext 5787 ac_cv_lib_dld_shl_load=no 5788 fi 5789 rm -f core conftest.err conftest.$ac_objext \ 5790 conftest$ac_exeext conftest.$ac_ext 9823 5791 LIBS=$ac_check_lib_save_LIBS 9824 5792 fi 9825 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59826 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9827 if test $ac_cv_lib_dld_shl_load = yes; then5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5794 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5795 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 9828 5796 tcl_ok=yes 9829 5797 else … … 9865 5833 ;; 9866 5834 *) 9867 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59868 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5836 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9869 5837 ;; 9870 5838 esac … … 9878 5846 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 9879 5847 SHLIB_SUFFIX=".sl" 9880 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59881 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9882 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9883 echo $ECHO_N "(cached) $ECHO_C" >&65848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5849 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5850 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 5851 $as_echo_n "(cached) " >&6 9884 5852 else 9885 5853 ac_check_lib_save_LIBS=$LIBS 9886 5854 LIBS="-ldld $LIBS" 9887 cat >conftest.$ac_ext <<_ACEOF 9888 /* confdefs.h. */ 9889 _ACEOF 9890 cat confdefs.h >>conftest.$ac_ext 9891 cat >>conftest.$ac_ext <<_ACEOF 5855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9892 5856 /* end confdefs.h. */ 9893 5857 … … 9907 5871 } 9908 5872 _ACEOF 9909 rm -f conftest.$ac_objext conftest$ac_exeext 9910 if { (ac_try="$ac_link" 9911 case "(($ac_try" in 9912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9913 *) ac_try_echo=$ac_try;; 9914 esac 9915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9916 (eval "$ac_link") 2>conftest.er1 9917 ac_status=$? 9918 grep -v '^ *+' conftest.er1 >conftest.err 9919 rm -f conftest.er1 9920 cat conftest.err >&5 9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9922 (exit $ac_status); } && { 9923 test -z "$ac_cxx_werror_flag" || 9924 test ! -s conftest.err 9925 } && test -s conftest$ac_exeext && 9926 $as_test_x conftest$ac_exeext; then 5873 if ac_fn_cxx_try_link "$LINENO"; then : 9927 5874 ac_cv_lib_dld_shl_load=yes 9928 5875 else 9929 echo "$as_me: failed program was:" >&5 9930 sed 's/^/| /' conftest.$ac_ext >&5 9931 9932 ac_cv_lib_dld_shl_load=no 9933 fi 9934 9935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9936 conftest$ac_exeext conftest.$ac_ext 5876 ac_cv_lib_dld_shl_load=no 5877 fi 5878 rm -f core conftest.err conftest.$ac_objext \ 5879 conftest$ac_exeext conftest.$ac_ext 9937 5880 LIBS=$ac_check_lib_save_LIBS 9938 5881 fi 9939 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59940 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9941 if test $ac_cv_lib_dld_shl_load = yes; then5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5883 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5884 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 9942 5885 tcl_ok=yes 9943 5886 else … … 10018 5961 if test "$do64bit" = "yes" ; then 10019 5962 if test "$GCC" = "yes" ; then 10020 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&510021 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}5963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 5964 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10022 5965 else 10023 5966 do64bit_ok=yes … … 10047 5990 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10048 5991 else 10049 if test "${ac_cv_header_dld_h+set}" = set; then 10050 { echo "$as_me:$LINENO: checking for dld.h" >&5 10051 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10052 if test "${ac_cv_header_dld_h+set}" = set; then 10053 echo $ECHO_N "(cached) $ECHO_C" >&6 10054 fi 10055 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10056 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10057 else 10058 # Is the header compilable? 10059 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10060 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10061 cat >conftest.$ac_ext <<_ACEOF 10062 /* confdefs.h. */ 10063 _ACEOF 10064 cat confdefs.h >>conftest.$ac_ext 10065 cat >>conftest.$ac_ext <<_ACEOF 10066 /* end confdefs.h. */ 10067 $ac_includes_default 10068 #include <dld.h> 10069 _ACEOF 10070 rm -f conftest.$ac_objext 10071 if { (ac_try="$ac_compile" 10072 case "(($ac_try" in 10073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10074 *) ac_try_echo=$ac_try;; 10075 esac 10076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10077 (eval "$ac_compile") 2>conftest.er1 10078 ac_status=$? 10079 grep -v '^ *+' conftest.er1 >conftest.err 10080 rm -f conftest.er1 10081 cat conftest.err >&5 10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10083 (exit $ac_status); } && { 10084 test -z "$ac_cxx_werror_flag" || 10085 test ! -s conftest.err 10086 } && test -s conftest.$ac_objext; then 10087 ac_header_compiler=yes 10088 else 10089 echo "$as_me: failed program was:" >&5 10090 sed 's/^/| /' conftest.$ac_ext >&5 10091 10092 ac_header_compiler=no 10093 fi 10094 10095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10096 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10097 echo "${ECHO_T}$ac_header_compiler" >&6; } 10098 10099 # Is the header present? 10100 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10101 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10102 cat >conftest.$ac_ext <<_ACEOF 10103 /* confdefs.h. */ 10104 _ACEOF 10105 cat confdefs.h >>conftest.$ac_ext 10106 cat >>conftest.$ac_ext <<_ACEOF 10107 /* end confdefs.h. */ 10108 #include <dld.h> 10109 _ACEOF 10110 if { (ac_try="$ac_cpp conftest.$ac_ext" 10111 case "(($ac_try" in 10112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10113 *) ac_try_echo=$ac_try;; 10114 esac 10115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10116 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10117 ac_status=$? 10118 grep -v '^ *+' conftest.er1 >conftest.err 10119 rm -f conftest.er1 10120 cat conftest.err >&5 10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10122 (exit $ac_status); } >/dev/null && { 10123 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10124 test ! -s conftest.err 10125 }; then 10126 ac_header_preproc=yes 10127 else 10128 echo "$as_me: failed program was:" >&5 10129 sed 's/^/| /' conftest.$ac_ext >&5 10130 10131 ac_header_preproc=no 10132 fi 10133 10134 rm -f conftest.err conftest.$ac_ext 10135 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10136 echo "${ECHO_T}$ac_header_preproc" >&6; } 10137 10138 # So? What about this header? 10139 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10140 yes:no: ) 10141 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10142 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10143 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10144 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10145 ac_header_preproc=yes 10146 ;; 10147 no:yes:* ) 10148 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10149 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10150 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10151 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10152 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10153 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10154 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10155 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10156 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10157 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10158 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10159 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10160 ( cat <<\_ASBOX 10161 ## ----------------------------------- ## 10162 ## Report this to rappture@nanohub.org ## 10163 ## ----------------------------------- ## 10164 _ASBOX 10165 ) | sed "s/^/$as_me: WARNING: /" >&2 10166 ;; 10167 esac 10168 { echo "$as_me:$LINENO: checking for dld.h" >&5 10169 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10170 if test "${ac_cv_header_dld_h+set}" = set; then 10171 echo $ECHO_N "(cached) $ECHO_C" >&6 10172 else 10173 ac_cv_header_dld_h=$ac_header_preproc 10174 fi 10175 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10176 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10177 10178 fi 10179 if test $ac_cv_header_dld_h = yes; then 5992 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 5993 if test "x$ac_cv_header_dld_h" = x""yes; then : 10180 5994 10181 5995 SHLIB_LD="ld -shared" … … 10192 6006 fi 10193 6007 if test $do64bit = yes; then 10194 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&510195 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }10196 if test "${tcl_cv_cc_m64+set}" = set; then 10197 echo $ECHO_N "(cached) $ECHO_C" >&66008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 6009 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 6010 if test "${tcl_cv_cc_m64+set}" = set; then : 6011 $as_echo_n "(cached) " >&6 10198 6012 else 10199 6013 10200 6014 hold_cflags=$CFLAGS 10201 6015 CFLAGS="$CFLAGS -m64" 10202 cat >conftest.$ac_ext <<_ACEOF 10203 /* confdefs.h. */ 10204 _ACEOF 10205 cat confdefs.h >>conftest.$ac_ext 10206 cat >>conftest.$ac_ext <<_ACEOF 6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10207 6017 /* end confdefs.h. */ 10208 6018 … … 10215 6025 } 10216 6026 _ACEOF 10217 rm -f conftest.$ac_objext conftest$ac_exeext 10218 if { (ac_try="$ac_link" 10219 case "(($ac_try" in 10220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10221 *) ac_try_echo=$ac_try;; 10222 esac 10223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10224 (eval "$ac_link") 2>conftest.er1 10225 ac_status=$? 10226 grep -v '^ *+' conftest.er1 >conftest.err 10227 rm -f conftest.er1 10228 cat conftest.err >&5 10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10230 (exit $ac_status); } && { 10231 test -z "$ac_cxx_werror_flag" || 10232 test ! -s conftest.err 10233 } && test -s conftest$ac_exeext && 10234 $as_test_x conftest$ac_exeext; then 6027 if ac_fn_cxx_try_link "$LINENO"; then : 10235 6028 tcl_cv_cc_m64=yes 10236 6029 else 10237 echo "$as_me: failed program was:" >&5 10238 sed 's/^/| /' conftest.$ac_ext >&5 10239 10240 tcl_cv_cc_m64=no 10241 fi 10242 10243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10244 conftest$ac_exeext conftest.$ac_ext 6030 tcl_cv_cc_m64=no 6031 fi 6032 rm -f core conftest.err conftest.$ac_objext \ 6033 conftest$ac_exeext conftest.$ac_ext 10245 6034 CFLAGS=$hold_cflags 10246 6035 fi 10247 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&510248 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 6037 $as_echo "$tcl_cv_cc_m64" >&6; } 10249 6038 if test $tcl_cv_cc_m64 = yes; then 10250 6039 CFLAGS="$CFLAGS -m64" … … 10265 6054 10266 6055 # XIM peeking works under XFree86. 10267 cat >>confdefs.h <<\_ACEOF 10268 #define PEEK_XCLOSEIM 1 10269 _ACEOF 6056 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10270 6057 10271 6058 … … 10284 6071 LD_SEARCH_FLAGS="" 10285 6072 else 10286 if test "${ac_cv_header_dld_h+set}" = set; then 10287 { echo "$as_me:$LINENO: checking for dld.h" >&5 10288 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10289 if test "${ac_cv_header_dld_h+set}" = set; then 10290 echo $ECHO_N "(cached) $ECHO_C" >&6 10291 fi 10292 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10293 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10294 else 10295 # Is the header compilable? 10296 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10297 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10298 cat >conftest.$ac_ext <<_ACEOF 10299 /* confdefs.h. */ 10300 _ACEOF 10301 cat confdefs.h >>conftest.$ac_ext 10302 cat >>conftest.$ac_ext <<_ACEOF 10303 /* end confdefs.h. */ 10304 $ac_includes_default 10305 #include <dld.h> 10306 _ACEOF 10307 rm -f conftest.$ac_objext 10308 if { (ac_try="$ac_compile" 10309 case "(($ac_try" in 10310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10311 *) ac_try_echo=$ac_try;; 10312 esac 10313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10314 (eval "$ac_compile") 2>conftest.er1 10315 ac_status=$? 10316 grep -v '^ *+' conftest.er1 >conftest.err 10317 rm -f conftest.er1 10318 cat conftest.err >&5 10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10320 (exit $ac_status); } && { 10321 test -z "$ac_cxx_werror_flag" || 10322 test ! -s conftest.err 10323 } && test -s conftest.$ac_objext; then 10324 ac_header_compiler=yes 10325 else 10326 echo "$as_me: failed program was:" >&5 10327 sed 's/^/| /' conftest.$ac_ext >&5 10328 10329 ac_header_compiler=no 10330 fi 10331 10332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10333 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10334 echo "${ECHO_T}$ac_header_compiler" >&6; } 10335 10336 # Is the header present? 10337 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10338 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10339 cat >conftest.$ac_ext <<_ACEOF 10340 /* confdefs.h. */ 10341 _ACEOF 10342 cat confdefs.h >>conftest.$ac_ext 10343 cat >>conftest.$ac_ext <<_ACEOF 10344 /* end confdefs.h. */ 10345 #include <dld.h> 10346 _ACEOF 10347 if { (ac_try="$ac_cpp conftest.$ac_ext" 10348 case "(($ac_try" in 10349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10350 *) ac_try_echo=$ac_try;; 10351 esac 10352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10354 ac_status=$? 10355 grep -v '^ *+' conftest.er1 >conftest.err 10356 rm -f conftest.er1 10357 cat conftest.err >&5 10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10359 (exit $ac_status); } >/dev/null && { 10360 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10361 test ! -s conftest.err 10362 }; then 10363 ac_header_preproc=yes 10364 else 10365 echo "$as_me: failed program was:" >&5 10366 sed 's/^/| /' conftest.$ac_ext >&5 10367 10368 ac_header_preproc=no 10369 fi 10370 10371 rm -f conftest.err conftest.$ac_ext 10372 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10373 echo "${ECHO_T}$ac_header_preproc" >&6; } 10374 10375 # So? What about this header? 10376 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10377 yes:no: ) 10378 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10379 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10380 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10381 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10382 ac_header_preproc=yes 10383 ;; 10384 no:yes:* ) 10385 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10386 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10387 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10388 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10389 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10390 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10391 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10392 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10393 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10394 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10395 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10396 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10397 ( cat <<\_ASBOX 10398 ## ----------------------------------- ## 10399 ## Report this to rappture@nanohub.org ## 10400 ## ----------------------------------- ## 10401 _ASBOX 10402 ) | sed "s/^/$as_me: WARNING: /" >&2 10403 ;; 10404 esac 10405 { echo "$as_me:$LINENO: checking for dld.h" >&5 10406 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10407 if test "${ac_cv_header_dld_h+set}" = set; then 10408 echo $ECHO_N "(cached) $ECHO_C" >&6 10409 else 10410 ac_cv_header_dld_h=$ac_header_preproc 10411 fi 10412 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10413 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10414 10415 fi 10416 if test $ac_cv_header_dld_h = yes; then 6073 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6074 if test "x$ac_cv_header_dld_h" = x""yes; then : 10417 6075 10418 6076 SHLIB_LD="ld -shared" … … 10464 6122 NetBSD-*|FreeBSD-[1-2].*) 10465 6123 # Not available on all versions: check for include file. 10466 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10467 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10468 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10469 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10470 echo $ECHO_N "(cached) $ECHO_C" >&6 10471 fi 10472 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10473 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10474 else 10475 # Is the header compilable? 10476 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10477 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10478 cat >conftest.$ac_ext <<_ACEOF 10479 /* confdefs.h. */ 10480 _ACEOF 10481 cat confdefs.h >>conftest.$ac_ext 10482 cat >>conftest.$ac_ext <<_ACEOF 10483 /* end confdefs.h. */ 10484 $ac_includes_default 10485 #include <dlfcn.h> 10486 _ACEOF 10487 rm -f conftest.$ac_objext 10488 if { (ac_try="$ac_compile" 10489 case "(($ac_try" in 10490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10491 *) ac_try_echo=$ac_try;; 10492 esac 10493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10494 (eval "$ac_compile") 2>conftest.er1 10495 ac_status=$? 10496 grep -v '^ *+' conftest.er1 >conftest.err 10497 rm -f conftest.er1 10498 cat conftest.err >&5 10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10500 (exit $ac_status); } && { 10501 test -z "$ac_cxx_werror_flag" || 10502 test ! -s conftest.err 10503 } && test -s conftest.$ac_objext; then 10504 ac_header_compiler=yes 10505 else 10506 echo "$as_me: failed program was:" >&5 10507 sed 's/^/| /' conftest.$ac_ext >&5 10508 10509 ac_header_compiler=no 10510 fi 10511 10512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10513 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10514 echo "${ECHO_T}$ac_header_compiler" >&6; } 10515 10516 # Is the header present? 10517 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10518 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10519 cat >conftest.$ac_ext <<_ACEOF 10520 /* confdefs.h. */ 10521 _ACEOF 10522 cat confdefs.h >>conftest.$ac_ext 10523 cat >>conftest.$ac_ext <<_ACEOF 10524 /* end confdefs.h. */ 10525 #include <dlfcn.h> 10526 _ACEOF 10527 if { (ac_try="$ac_cpp conftest.$ac_ext" 10528 case "(($ac_try" in 10529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10530 *) ac_try_echo=$ac_try;; 10531 esac 10532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10534 ac_status=$? 10535 grep -v '^ *+' conftest.er1 >conftest.err 10536 rm -f conftest.er1 10537 cat conftest.err >&5 10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10539 (exit $ac_status); } >/dev/null && { 10540 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10541 test ! -s conftest.err 10542 }; then 10543 ac_header_preproc=yes 10544 else 10545 echo "$as_me: failed program was:" >&5 10546 sed 's/^/| /' conftest.$ac_ext >&5 10547 10548 ac_header_preproc=no 10549 fi 10550 10551 rm -f conftest.err conftest.$ac_ext 10552 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10553 echo "${ECHO_T}$ac_header_preproc" >&6; } 10554 10555 # So? What about this header? 10556 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10557 yes:no: ) 10558 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10559 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10560 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10561 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10562 ac_header_preproc=yes 10563 ;; 10564 no:yes:* ) 10565 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10566 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10567 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10568 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10569 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10570 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10571 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10572 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10573 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10574 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10575 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10576 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10577 ( cat <<\_ASBOX 10578 ## ----------------------------------- ## 10579 ## Report this to rappture@nanohub.org ## 10580 ## ----------------------------------- ## 10581 _ASBOX 10582 ) | sed "s/^/$as_me: WARNING: /" >&2 10583 ;; 10584 esac 10585 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10586 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10587 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10588 echo $ECHO_N "(cached) $ECHO_C" >&6 10589 else 10590 ac_cv_header_dlfcn_h=$ac_header_preproc 10591 fi 10592 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10593 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10594 10595 fi 10596 if test $ac_cv_header_dlfcn_h = yes; then 6124 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6125 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 10597 6126 10598 6127 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 10605 6134 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10606 6135 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10607 { echo "$as_me:$LINENO: checking for ELF" >&5 10608 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10609 if test "${tcl_cv_ld_elf+set}" = set; then 10610 echo $ECHO_N "(cached) $ECHO_C" >&6 10611 else 10612 10613 cat >conftest.$ac_ext <<_ACEOF 10614 /* confdefs.h. */ 10615 _ACEOF 10616 cat confdefs.h >>conftest.$ac_ext 10617 cat >>conftest.$ac_ext <<_ACEOF 6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6137 $as_echo_n "checking for ELF... " >&6; } 6138 if test "${tcl_cv_ld_elf+set}" = set; then : 6139 $as_echo_n "(cached) " >&6 6140 else 6141 6142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10618 6143 /* end confdefs.h. */ 10619 6144 … … 10624 6149 _ACEOF 10625 6150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10626 $EGREP "yes" >/dev/null 2>&1; then 6151 $EGREP "yes" >/dev/null 2>&1; then : 10627 6152 tcl_cv_ld_elf=yes 10628 6153 else … … 10632 6157 10633 6158 fi 10634 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510635 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6160 $as_echo "$tcl_cv_ld_elf" >&6; } 10636 6161 if test $tcl_cv_ld_elf = yes; then 10637 6162 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 10691 6216 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10692 6217 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 10693 { echo "$as_me:$LINENO: checking for ELF" >&5 10694 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10695 if test "${tcl_cv_ld_elf+set}" = set; then 10696 echo $ECHO_N "(cached) $ECHO_C" >&6 10697 else 10698 10699 cat >conftest.$ac_ext <<_ACEOF 10700 /* confdefs.h. */ 10701 _ACEOF 10702 cat confdefs.h >>conftest.$ac_ext 10703 cat >>conftest.$ac_ext <<_ACEOF 6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6219 $as_echo_n "checking for ELF... " >&6; } 6220 if test "${tcl_cv_ld_elf+set}" = set; then : 6221 $as_echo_n "(cached) " >&6 6222 else 6223 6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10704 6225 /* end confdefs.h. */ 10705 6226 … … 10710 6231 _ACEOF 10711 6232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10712 $EGREP "yes" >/dev/null 2>&1; then 6233 $EGREP "yes" >/dev/null 2>&1; then : 10713 6234 tcl_cv_ld_elf=yes 10714 6235 else … … 10718 6239 10719 6240 fi 10720 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510721 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6242 $as_echo "$tcl_cv_ld_elf" >&6; } 10722 6243 if test $tcl_cv_ld_elf = yes; then 10723 6244 LDFLAGS=-Wl,-export-dynamic … … 10773 6294 case `arch` in 10774 6295 ppc) 10775 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&510776 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }10777 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 10778 echo $ECHO_N "(cached) $ECHO_C" >&66296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 6297 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6298 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then : 6299 $as_echo_n "(cached) " >&6 10779 6300 else 10780 6301 10781 6302 hold_cflags=$CFLAGS 10782 6303 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 10783 cat >conftest.$ac_ext <<_ACEOF 10784 /* confdefs.h. */ 10785 _ACEOF 10786 cat confdefs.h >>conftest.$ac_ext 10787 cat >>conftest.$ac_ext <<_ACEOF 6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10788 6305 /* end confdefs.h. */ 10789 6306 … … 10796 6313 } 10797 6314 _ACEOF 10798 rm -f conftest.$ac_objext conftest$ac_exeext 10799 if { (ac_try="$ac_link" 10800 case "(($ac_try" in 10801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10802 *) ac_try_echo=$ac_try;; 10803 esac 10804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10805 (eval "$ac_link") 2>conftest.er1 10806 ac_status=$? 10807 grep -v '^ *+' conftest.er1 >conftest.err 10808 rm -f conftest.er1 10809 cat conftest.err >&5 10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10811 (exit $ac_status); } && { 10812 test -z "$ac_cxx_werror_flag" || 10813 test ! -s conftest.err 10814 } && test -s conftest$ac_exeext && 10815 $as_test_x conftest$ac_exeext; then 6315 if ac_fn_cxx_try_link "$LINENO"; then : 10816 6316 tcl_cv_cc_arch_ppc64=yes 10817 6317 else 10818 echo "$as_me: failed program was:" >&5 10819 sed 's/^/| /' conftest.$ac_ext >&5 10820 10821 tcl_cv_cc_arch_ppc64=no 10822 fi 10823 10824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10825 conftest$ac_exeext conftest.$ac_ext 6318 tcl_cv_cc_arch_ppc64=no 6319 fi 6320 rm -f core conftest.err conftest.$ac_objext \ 6321 conftest$ac_exeext conftest.$ac_ext 10826 6322 CFLAGS=$hold_cflags 10827 6323 fi 10828 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&510829 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 6325 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 10830 6326 if test $tcl_cv_cc_arch_ppc64 = yes; then 10831 6327 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 10833 6329 fi;; 10834 6330 i386) 10835 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&510836 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }10837 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 10838 echo $ECHO_N "(cached) $ECHO_C" >&66331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 6332 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6333 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then : 6334 $as_echo_n "(cached) " >&6 10839 6335 else 10840 6336 10841 6337 hold_cflags=$CFLAGS 10842 6338 CFLAGS="$CFLAGS -arch x86_64" 10843 cat >conftest.$ac_ext <<_ACEOF 10844 /* confdefs.h. */ 10845 _ACEOF 10846 cat confdefs.h >>conftest.$ac_ext 10847 cat >>conftest.$ac_ext <<_ACEOF 6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10848 6340 /* end confdefs.h. */ 10849 6341 … … 10856 6348 } 10857 6349 _ACEOF 10858 rm -f conftest.$ac_objext conftest$ac_exeext 10859 if { (ac_try="$ac_link" 10860 case "(($ac_try" in 10861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10862 *) ac_try_echo=$ac_try;; 10863 esac 10864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10865 (eval "$ac_link") 2>conftest.er1 10866 ac_status=$? 10867 grep -v '^ *+' conftest.er1 >conftest.err 10868 rm -f conftest.er1 10869 cat conftest.err >&5 10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10871 (exit $ac_status); } && { 10872 test -z "$ac_cxx_werror_flag" || 10873 test ! -s conftest.err 10874 } && test -s conftest$ac_exeext && 10875 $as_test_x conftest$ac_exeext; then 6350 if ac_fn_cxx_try_link "$LINENO"; then : 10876 6351 tcl_cv_cc_arch_x86_64=yes 10877 6352 else 10878 echo "$as_me: failed program was:" >&5 10879 sed 's/^/| /' conftest.$ac_ext >&5 10880 10881 tcl_cv_cc_arch_x86_64=no 10882 fi 10883 10884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10885 conftest$ac_exeext conftest.$ac_ext 6353 tcl_cv_cc_arch_x86_64=no 6354 fi 6355 rm -f core conftest.err conftest.$ac_objext \ 6356 conftest$ac_exeext conftest.$ac_ext 10886 6357 CFLAGS=$hold_cflags 10887 6358 fi 10888 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&510889 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 6360 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 10890 6361 if test $tcl_cv_cc_arch_x86_64 = yes; then 10891 6362 CFLAGS="$CFLAGS -arch x86_64" … … 10893 6364 fi;; 10894 6365 *) 10895 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&510896 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6367 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 10897 6368 esac 10898 6369 else … … 10903 6374 fi 10904 6375 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 10905 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&510906 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }10907 if test "${tcl_cv_ld_single_module+set}" = set; then 10908 echo $ECHO_N "(cached) $ECHO_C" >&66376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 6377 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6378 if test "${tcl_cv_ld_single_module+set}" = set; then : 6379 $as_echo_n "(cached) " >&6 10909 6380 else 10910 6381 10911 6382 hold_ldflags=$LDFLAGS 10912 6383 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10913 cat >conftest.$ac_ext <<_ACEOF 10914 /* confdefs.h. */ 10915 _ACEOF 10916 cat confdefs.h >>conftest.$ac_ext 10917 cat >>conftest.$ac_ext <<_ACEOF 6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10918 6385 /* end confdefs.h. */ 10919 6386 … … 10926 6393 } 10927 6394 _ACEOF 10928 rm -f conftest.$ac_objext conftest$ac_exeext 10929 if { (ac_try="$ac_link" 10930 case "(($ac_try" in 10931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10932 *) ac_try_echo=$ac_try;; 10933 esac 10934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10935 (eval "$ac_link") 2>conftest.er1 10936 ac_status=$? 10937 grep -v '^ *+' conftest.er1 >conftest.err 10938 rm -f conftest.er1 10939 cat conftest.err >&5 10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10941 (exit $ac_status); } && { 10942 test -z "$ac_cxx_werror_flag" || 10943 test ! -s conftest.err 10944 } && test -s conftest$ac_exeext && 10945 $as_test_x conftest$ac_exeext; then 6395 if ac_fn_cxx_try_link "$LINENO"; then : 10946 6396 tcl_cv_ld_single_module=yes 10947 6397 else 10948 echo "$as_me: failed program was:" >&5 10949 sed 's/^/| /' conftest.$ac_ext >&5 10950 10951 tcl_cv_ld_single_module=no 10952 fi 10953 10954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10955 conftest$ac_exeext conftest.$ac_ext 6398 tcl_cv_ld_single_module=no 6399 fi 6400 rm -f core conftest.err conftest.$ac_objext \ 6401 conftest$ac_exeext conftest.$ac_ext 10956 6402 LDFLAGS=$hold_ldflags 10957 6403 fi 10958 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&510959 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 6405 $as_echo "$tcl_cv_ld_single_module" >&6; } 10960 6406 if test $tcl_cv_ld_single_module = yes; then 10961 6407 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 10970 6416 LDFLAGS="$LDFLAGS -prebind" 10971 6417 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10972 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&510973 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }10974 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 10975 echo $ECHO_N "(cached) $ECHO_C" >&66418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 6419 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6420 if test "${tcl_cv_ld_search_paths_first+set}" = set; then : 6421 $as_echo_n "(cached) " >&6 10976 6422 else 10977 6423 10978 6424 hold_ldflags=$LDFLAGS 10979 6425 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 10980 cat >conftest.$ac_ext <<_ACEOF 10981 /* confdefs.h. */ 10982 _ACEOF 10983 cat confdefs.h >>conftest.$ac_ext 10984 cat >>conftest.$ac_ext <<_ACEOF 6426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10985 6427 /* end confdefs.h. */ 10986 6428 … … 10993 6435 } 10994 6436 _ACEOF 10995 rm -f conftest.$ac_objext conftest$ac_exeext 10996 if { (ac_try="$ac_link" 10997 case "(($ac_try" in 10998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10999 *) ac_try_echo=$ac_try;; 11000 esac 11001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11002 (eval "$ac_link") 2>conftest.er1 11003 ac_status=$? 11004 grep -v '^ *+' conftest.er1 >conftest.err 11005 rm -f conftest.er1 11006 cat conftest.err >&5 11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11008 (exit $ac_status); } && { 11009 test -z "$ac_cxx_werror_flag" || 11010 test ! -s conftest.err 11011 } && test -s conftest$ac_exeext && 11012 $as_test_x conftest$ac_exeext; then 6437 if ac_fn_cxx_try_link "$LINENO"; then : 11013 6438 tcl_cv_ld_search_paths_first=yes 11014 6439 else 11015 echo "$as_me: failed program was:" >&5 11016 sed 's/^/| /' conftest.$ac_ext >&5 11017 11018 tcl_cv_ld_search_paths_first=no 11019 fi 11020 11021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11022 conftest$ac_exeext conftest.$ac_ext 6440 tcl_cv_ld_search_paths_first=no 6441 fi 6442 rm -f core conftest.err conftest.$ac_objext \ 6443 conftest$ac_exeext conftest.$ac_ext 11023 6444 LDFLAGS=$hold_ldflags 11024 6445 fi 11025 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&511026 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 6447 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11027 6448 if test $tcl_cv_ld_search_paths_first = yes; then 11028 6449 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 11033 6454 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11034 6455 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11035 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&511036 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 6457 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11037 6458 # Check whether --enable-corefoundation was given. 11038 if test "${enable_corefoundation+set}" = set; then 6459 if test "${enable_corefoundation+set}" = set; then : 11039 6460 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11040 6461 else … … 11042 6463 fi 11043 6464 11044 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&511045 echo "${ECHO_T}$tcl_corefoundation" >&6; }6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 6466 $as_echo "$tcl_corefoundation" >&6; } 11046 6467 if test $tcl_corefoundation = yes; then 11047 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&511048 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }11049 if test "${tcl_cv_lib_corefoundation+set}" = set; then 11050 echo $ECHO_N "(cached) $ECHO_C" >&66468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 6469 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6470 if test "${tcl_cv_lib_corefoundation+set}" = set; then : 6471 $as_echo_n "(cached) " >&6 11051 6472 else 11052 6473 … … 11059 6480 done; fi 11060 6481 LIBS="$LIBS -framework CoreFoundation" 11061 cat >conftest.$ac_ext <<_ACEOF 11062 /* confdefs.h. */ 11063 _ACEOF 11064 cat confdefs.h >>conftest.$ac_ext 11065 cat >>conftest.$ac_ext <<_ACEOF 6482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11066 6483 /* end confdefs.h. */ 11067 6484 #include <CoreFoundation/CoreFoundation.h> … … 11074 6491 } 11075 6492 _ACEOF 11076 rm -f conftest.$ac_objext conftest$ac_exeext 11077 if { (ac_try="$ac_link" 11078 case "(($ac_try" in 11079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11080 *) ac_try_echo=$ac_try;; 11081 esac 11082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11083 (eval "$ac_link") 2>conftest.er1 11084 ac_status=$? 11085 grep -v '^ *+' conftest.er1 >conftest.err 11086 rm -f conftest.er1 11087 cat conftest.err >&5 11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11089 (exit $ac_status); } && { 11090 test -z "$ac_cxx_werror_flag" || 11091 test ! -s conftest.err 11092 } && test -s conftest$ac_exeext && 11093 $as_test_x conftest$ac_exeext; then 6493 if ac_fn_cxx_try_link "$LINENO"; then : 11094 6494 tcl_cv_lib_corefoundation=yes 11095 6495 else 11096 echo "$as_me: failed program was:" >&5 11097 sed 's/^/| /' conftest.$ac_ext >&5 11098 11099 tcl_cv_lib_corefoundation=no 11100 fi 11101 11102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11103 conftest$ac_exeext conftest.$ac_ext 6496 tcl_cv_lib_corefoundation=no 6497 fi 6498 rm -f core conftest.err conftest.$ac_objext \ 6499 conftest$ac_exeext conftest.$ac_ext 11104 6500 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11105 6501 eval $v'="$hold_'$v'"' 11106 6502 done; fi; LIBS=$hold_libs 11107 6503 fi 11108 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&511109 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 6505 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11110 6506 if test $tcl_cv_lib_corefoundation = yes; then 11111 6507 LIBS="$LIBS -framework CoreFoundation" 11112 cat >>confdefs.h <<\_ACEOF 11113 #define HAVE_COREFOUNDATION 1 11114 _ACEOF 6508 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11115 6509 11116 6510 else … … 11118 6512 fi 11119 6513 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11120 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&511121 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }11122 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 11123 echo $ECHO_N "(cached) $ECHO_C" >&66514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 6515 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6516 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then : 6517 $as_echo_n "(cached) " >&6 11124 6518 else 11125 6519 … … 11127 6521 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11128 6522 done 11129 cat >conftest.$ac_ext <<_ACEOF 11130 /* confdefs.h. */ 11131 _ACEOF 11132 cat confdefs.h >>conftest.$ac_ext 11133 cat >>conftest.$ac_ext <<_ACEOF 6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11134 6524 /* end confdefs.h. */ 11135 6525 #include <CoreFoundation/CoreFoundation.h> … … 11142 6532 } 11143 6533 _ACEOF 11144 rm -f conftest.$ac_objext conftest$ac_exeext 11145 if { (ac_try="$ac_link" 11146 case "(($ac_try" in 11147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11148 *) ac_try_echo=$ac_try;; 11149 esac 11150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11151 (eval "$ac_link") 2>conftest.er1 11152 ac_status=$? 11153 grep -v '^ *+' conftest.er1 >conftest.err 11154 rm -f conftest.er1 11155 cat conftest.err >&5 11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11157 (exit $ac_status); } && { 11158 test -z "$ac_cxx_werror_flag" || 11159 test ! -s conftest.err 11160 } && test -s conftest$ac_exeext && 11161 $as_test_x conftest$ac_exeext; then 6534 if ac_fn_cxx_try_link "$LINENO"; then : 11162 6535 tcl_cv_lib_corefoundation_64=yes 11163 6536 else 11164 echo "$as_me: failed program was:" >&5 11165 sed 's/^/| /' conftest.$ac_ext >&5 11166 11167 tcl_cv_lib_corefoundation_64=no 11168 fi 11169 11170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11171 conftest$ac_exeext conftest.$ac_ext 6537 tcl_cv_lib_corefoundation_64=no 6538 fi 6539 rm -f core conftest.err conftest.$ac_objext \ 6540 conftest$ac_exeext conftest.$ac_ext 11172 6541 for v in CFLAGS CPPFLAGS LDFLAGS; do 11173 6542 eval $v'="$hold_'$v'"' 11174 6543 done 11175 6544 fi 11176 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&511177 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 6546 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11178 6547 if test $tcl_cv_lib_corefoundation_64 = no; then 11179 cat >>confdefs.h <<\_ACEOF 11180 #define NO_COREFOUNDATION_64 1 11181 _ACEOF 6548 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11182 6549 11183 6550 fi 11184 6551 fi 11185 6552 fi 11186 cat >>confdefs.h <<\_ACEOF 11187 #define MAC_OSX_TCL 1 11188 _ACEOF 6553 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11189 6554 11190 6555 ;; … … 11201 6566 OS/390-*) 11202 6567 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11203 cat >>confdefs.h <<\_ACEOF 11204 #define _OE_SOCKETS 1 11205 _ACEOF 6568 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11206 6569 # needed in sys/socket.h 11207 6570 ;; … … 11344 6707 # won't define thread-safe library routines. 11345 6708 11346 cat >>confdefs.h <<\_ACEOF 11347 #define _REENTRANT 1 11348 _ACEOF 11349 11350 cat >>confdefs.h <<\_ACEOF 11351 #define _POSIX_PTHREAD_SEMANTICS 1 11352 _ACEOF 6709 $as_echo "#define _REENTRANT 1" >>confdefs.h 6710 6711 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11353 6712 11354 6713 … … 11376 6735 # won't define thread-safe library routines. 11377 6736 11378 cat >>confdefs.h <<\_ACEOF 11379 #define _REENTRANT 1 11380 _ACEOF 11381 11382 cat >>confdefs.h <<\_ACEOF 11383 #define _POSIX_PTHREAD_SEMANTICS 1 11384 _ACEOF 6737 $as_echo "#define _REENTRANT 1" >>confdefs.h 6738 6739 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11385 6740 11386 6741 … … 11393 6748 if test "$GCC" = "yes" ; then 11394 6749 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11395 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&511396 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}6750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6751 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11397 6752 else 11398 6753 do64bit_ok=yes … … 11415 6770 elif test "$arch" = "amd64 i386" ; then 11416 6771 if test "$GCC" = "yes" ; then 11417 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&511418 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6773 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11419 6774 else 11420 6775 do64bit_ok=yes … … 11423 6778 fi 11424 6779 else 11425 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&511426 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6781 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11427 6782 fi 11428 6783 fi … … 11482 6837 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11483 6838 # that don't grok the -Bexport option. Test that it does. 11484 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&511485 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }11486 if test "${tcl_cv_ld_Bexport+set}" = set; then 11487 echo $ECHO_N "(cached) $ECHO_C" >&66839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6840 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6841 if test "${tcl_cv_ld_Bexport+set}" = set; then : 6842 $as_echo_n "(cached) " >&6 11488 6843 else 11489 6844 11490 6845 hold_ldflags=$LDFLAGS 11491 6846 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11492 cat >conftest.$ac_ext <<_ACEOF 11493 /* confdefs.h. */ 11494 _ACEOF 11495 cat confdefs.h >>conftest.$ac_ext 11496 cat >>conftest.$ac_ext <<_ACEOF 6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11497 6848 /* end confdefs.h. */ 11498 6849 … … 11505 6856 } 11506 6857 _ACEOF 11507 rm -f conftest.$ac_objext conftest$ac_exeext 11508 if { (ac_try="$ac_link" 11509 case "(($ac_try" in 11510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11511 *) ac_try_echo=$ac_try;; 11512 esac 11513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11514 (eval "$ac_link") 2>conftest.er1 11515 ac_status=$? 11516 grep -v '^ *+' conftest.er1 >conftest.err 11517 rm -f conftest.er1 11518 cat conftest.err >&5 11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11520 (exit $ac_status); } && { 11521 test -z "$ac_cxx_werror_flag" || 11522 test ! -s conftest.err 11523 } && test -s conftest$ac_exeext && 11524 $as_test_x conftest$ac_exeext; then 6858 if ac_fn_cxx_try_link "$LINENO"; then : 11525 6859 tcl_cv_ld_Bexport=yes 11526 6860 else 11527 echo "$as_me: failed program was:" >&5 11528 sed 's/^/| /' conftest.$ac_ext >&5 11529 11530 tcl_cv_ld_Bexport=no 11531 fi 11532 11533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11534 conftest$ac_exeext conftest.$ac_ext 6861 tcl_cv_ld_Bexport=no 6862 fi 6863 rm -f core conftest.err conftest.$ac_objext \ 6864 conftest$ac_exeext conftest.$ac_ext 11535 6865 LDFLAGS=$hold_ldflags 11536 6866 fi 11537 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&511538 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6868 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11539 6869 if test $tcl_cv_ld_Bexport = yes; then 11540 6870 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 11546 6876 11547 6877 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11548 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&511549 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}6878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6879 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11550 6880 fi 11551 6881 … … 11573 6903 11574 6904 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 11575 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11576 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11577 if test "${tcl_cv_sysexec_h+set}" = set; then 11578 echo $ECHO_N "(cached) $ECHO_C" >&6 11579 else 11580 11581 cat >conftest.$ac_ext <<_ACEOF 11582 /* confdefs.h. */ 11583 _ACEOF 11584 cat confdefs.h >>conftest.$ac_ext 11585 cat >>conftest.$ac_ext <<_ACEOF 6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6906 $as_echo_n "checking sys/exec.h... " >&6; } 6907 if test "${tcl_cv_sysexec_h+set}" = set; then : 6908 $as_echo_n "(cached) " >&6 6909 else 6910 6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11586 6912 /* end confdefs.h. */ 11587 6913 #include <sys/exec.h> … … 11605 6931 } 11606 6932 _ACEOF 11607 rm -f conftest.$ac_objext 11608 if { (ac_try="$ac_compile" 11609 case "(($ac_try" in 11610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11611 *) ac_try_echo=$ac_try;; 11612 esac 11613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11614 (eval "$ac_compile") 2>conftest.er1 11615 ac_status=$? 11616 grep -v '^ *+' conftest.er1 >conftest.err 11617 rm -f conftest.er1 11618 cat conftest.err >&5 11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11620 (exit $ac_status); } && { 11621 test -z "$ac_cxx_werror_flag" || 11622 test ! -s conftest.err 11623 } && test -s conftest.$ac_objext; then 6933 if ac_fn_cxx_try_compile "$LINENO"; then : 11624 6934 tcl_cv_sysexec_h=usable 11625 6935 else 11626 echo "$as_me: failed program was:" >&5 11627 sed 's/^/| /' conftest.$ac_ext >&5 11628 11629 tcl_cv_sysexec_h=unusable 11630 fi 11631 6936 tcl_cv_sysexec_h=unusable 6937 fi 11632 6938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11633 6939 fi 11634 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&511635 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6941 $as_echo "$tcl_cv_sysexec_h" >&6; } 11636 6942 if test $tcl_cv_sysexec_h = usable; then 11637 cat >>confdefs.h <<\_ACEOF 11638 #define USE_SYS_EXEC_H 1 11639 _ACEOF 6943 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11640 6944 11641 6945 else 11642 { echo "$as_me:$LINENO: checking a.out.h" >&5 11643 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11644 if test "${tcl_cv_aout_h+set}" = set; then 11645 echo $ECHO_N "(cached) $ECHO_C" >&6 11646 else 11647 11648 cat >conftest.$ac_ext <<_ACEOF 11649 /* confdefs.h. */ 11650 _ACEOF 11651 cat confdefs.h >>conftest.$ac_ext 11652 cat >>conftest.$ac_ext <<_ACEOF 6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6947 $as_echo_n "checking a.out.h... " >&6; } 6948 if test "${tcl_cv_aout_h+set}" = set; then : 6949 $as_echo_n "(cached) " >&6 6950 else 6951 6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11653 6953 /* end confdefs.h. */ 11654 6954 #include <a.out.h> … … 11672 6972 } 11673 6973 _ACEOF 11674 rm -f conftest.$ac_objext 11675 if { (ac_try="$ac_compile" 11676 case "(($ac_try" in 11677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11678 *) ac_try_echo=$ac_try;; 11679 esac 11680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11681 (eval "$ac_compile") 2>conftest.er1 11682 ac_status=$? 11683 grep -v '^ *+' conftest.er1 >conftest.err 11684 rm -f conftest.er1 11685 cat conftest.err >&5 11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11687 (exit $ac_status); } && { 11688 test -z "$ac_cxx_werror_flag" || 11689 test ! -s conftest.err 11690 } && test -s conftest.$ac_objext; then 6974 if ac_fn_cxx_try_compile "$LINENO"; then : 11691 6975 tcl_cv_aout_h=usable 11692 6976 else 11693 echo "$as_me: failed program was:" >&5 11694 sed 's/^/| /' conftest.$ac_ext >&5 11695 11696 tcl_cv_aout_h=unusable 11697 fi 11698 6977 tcl_cv_aout_h=unusable 6978 fi 11699 6979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11700 6980 fi 11701 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&511702 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6982 $as_echo "$tcl_cv_aout_h" >&6; } 11703 6983 if test $tcl_cv_aout_h = usable; then 11704 cat >>confdefs.h <<\_ACEOF 11705 #define USE_A_OUT_H 1 11706 _ACEOF 6984 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11707 6985 11708 6986 else 11709 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11710 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11711 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11712 echo $ECHO_N "(cached) $ECHO_C" >&6 11713 else 11714 11715 cat >conftest.$ac_ext <<_ACEOF 11716 /* confdefs.h. */ 11717 _ACEOF 11718 cat confdefs.h >>conftest.$ac_ext 11719 cat >>conftest.$ac_ext <<_ACEOF 6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6988 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6989 if test "${tcl_cv_sysexecaout_h+set}" = set; then : 6990 $as_echo_n "(cached) " >&6 6991 else 6992 6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11720 6994 /* end confdefs.h. */ 11721 6995 #include <sys/exec_aout.h> … … 11739 7013 } 11740 7014 _ACEOF 11741 rm -f conftest.$ac_objext 11742 if { (ac_try="$ac_compile" 11743 case "(($ac_try" in 11744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11745 *) ac_try_echo=$ac_try;; 11746 esac 11747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11748 (eval "$ac_compile") 2>conftest.er1 11749 ac_status=$? 11750 grep -v '^ *+' conftest.er1 >conftest.err 11751 rm -f conftest.er1 11752 cat conftest.err >&5 11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11754 (exit $ac_status); } && { 11755 test -z "$ac_cxx_werror_flag" || 11756 test ! -s conftest.err 11757 } && test -s conftest.$ac_objext; then 7015 if ac_fn_cxx_try_compile "$LINENO"; then : 11758 7016 tcl_cv_sysexecaout_h=usable 11759 7017 else 11760 echo "$as_me: failed program was:" >&5 11761 sed 's/^/| /' conftest.$ac_ext >&5 11762 11763 tcl_cv_sysexecaout_h=unusable 11764 fi 11765 7018 tcl_cv_sysexecaout_h=unusable 7019 fi 11766 7020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11767 7021 fi 11768 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&511769 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 7023 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 11770 7024 if test $tcl_cv_sysexecaout_h = usable; then 11771 cat >>confdefs.h <<\_ACEOF 11772 #define USE_SYS_EXEC_AOUT_H 1 11773 _ACEOF 7025 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11774 7026 11775 7027 else … … 11783 7035 11784 7036 # Check whether --enable-load was given. 11785 if test "${enable_load+set}" = set; then 7037 if test "${enable_load+set}" = set; then : 11786 7038 enableval=$enable_load; tcl_ok=$enableval 11787 7039 else … … 11914 7166 done 11915 7167 if test "x${make_command}" = "x" ; then 11916 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11917 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11918 { (exit 1); exit 1; }; } 7168 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11919 7169 fi 11920 7170 MAKE=${make_command} … … 11922 7172 11923 7173 # Check whether --enable-gui was given. 11924 if test "${enable_gui+set}" = set; then 7174 if test "${enable_gui+set}" = set; then : 11925 7175 enableval=$enable_gui; 11926 7176 else … … 11938 7188 11939 7189 # Check whether --with-tclsh was given. 11940 if test "${with_tclsh+set}" = set; then 7190 if test "${with_tclsh+set}" = set; then : 11941 7191 withval=$with_tclsh; 11942 7192 else … … 11947 7197 TCLSH= 11948 7198 if test "$with_tclsh" != "no" ; then 11949 { echo "$as_me:$LINENO: checking for tclsh" >&511950 echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5 7200 $as_echo_n "checking for tclsh... " >&6; } 11951 7201 if test -x "$with_tclsh/bin/tclsh" 11952 7202 then … … 11979 7229 # Extract the first word of "tclsh", so it can be a program name with args. 11980 7230 set dummy tclsh; ac_word=$2 11981 { echo "$as_me:$LINENO: checking for $ac_word" >&511982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }11983 if test "${ac_cv_path_TCLSH+set}" = set; then 11984 echo $ECHO_N "(cached) $ECHO_C" >&67231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7232 $as_echo_n "checking for $ac_word... " >&6; } 7233 if test "${ac_cv_path_TCLSH+set}" = set; then : 7234 $as_echo_n "(cached) " >&6 11985 7235 else 11986 7236 case $TCLSH in … … 11994 7244 IFS=$as_save_IFS 11995 7245 test -z "$as_dir" && as_dir=. 11996 for ac_exec_ext in '' $ac_executable_extensions; do7246 for ac_exec_ext in '' $ac_executable_extensions; do 11997 7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11998 7248 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 11999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12000 7250 break 2 12001 7251 fi 12002 7252 done 12003 done7253 done 12004 7254 IFS=$as_save_IFS 12005 7255 … … 12009 7259 TCLSH=$ac_cv_path_TCLSH 12010 7260 if test -n "$TCLSH"; then 12011 { echo "$as_me:$LINENO: result: $TCLSH" >&512012 echo "${ECHO_T}$TCLSH" >&6; }12013 else 12014 { echo "$as_me:$LINENO: result: no" >&512015 echo "${ECHO_T}no" >&6; }7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7262 $as_echo "$TCLSH" >&6; } 7263 else 7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7265 $as_echo "no" >&6; } 12016 7266 fi 12017 7267 … … 12020 7270 fi 12021 7271 12022 { echo "$as_me:$LINENO: result: ${TCLSH}" >&512023 echo "${ECHO_T}${TCLSH}" >&6; }7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5 7273 $as_echo "${TCLSH}" >&6; } 12024 7274 12025 7275 … … 12053 7303 12054 7304 # Check whether --with-vtk was given. 12055 if test "${with_vtk+set}" = set; then 7305 if test "${with_vtk+set}" = set; then : 12056 7306 withval=$with_vtk; with_vtk=$withval 12057 7307 else … … 12060 7310 12061 7311 12062 { echo "$as_me:$LINENO: checking for vtk" >&512063 echo $ECHO_N "checking for vtk... $ECHO_C" >&6; }7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 7313 $as_echo_n "checking for vtk... " >&6; } 12064 7314 VTKDIR="" 12065 7315 … … 12073 7323 do 12074 7324 for vtk in $path/vtk-* ; do 12075 12076 12077 7325 if test -d "${vtk}" ; then 7326 VTKDIR=${vtk} 7327 fi 12078 7328 done 12079 7329 if test "x${VTKDIR}" != "x" ; then 12080 7330 break 12081 7331 fi 12082 7332 done … … 12084 7334 fi 12085 7335 12086 { echo "$as_me:$LINENO: result: $VTKDIR" >&512087 echo "${ECHO_T}$VTKDIR" >&6; }7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 7337 $as_echo "$VTKDIR" >&6; } 12088 7338 12089 7339 12090 7340 12091 7341 # Check whether --with-matlab was given. 12092 if test "${with_matlab+set}" = set; then 7342 if test "${with_matlab+set}" = set; then : 12093 7343 withval=$with_matlab; with_matlab=$withval 12094 7344 else … … 12106 7356 # Extract the first word of "matlab", so it can be a program name with args. 12107 7357 set dummy matlab; ac_word=$2 12108 { echo "$as_me:$LINENO: checking for $ac_word" >&512109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12110 if test "${ac_cv_path_MATLAB+set}" = set; then 12111 echo $ECHO_N "(cached) $ECHO_C" >&67358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7359 $as_echo_n "checking for $ac_word... " >&6; } 7360 if test "${ac_cv_path_MATLAB+set}" = set; then : 7361 $as_echo_n "(cached) " >&6 12112 7362 else 12113 7363 case $MATLAB in … … 12121 7371 IFS=$as_save_IFS 12122 7372 test -z "$as_dir" && as_dir=. 12123 for ac_exec_ext in '' $ac_executable_extensions; do7373 for ac_exec_ext in '' $ac_executable_extensions; do 12124 7374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12125 7375 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12127 7377 break 2 12128 7378 fi 12129 7379 done 12130 done7380 done 12131 7381 IFS=$as_save_IFS 12132 7382 … … 12136 7386 MATLAB=$ac_cv_path_MATLAB 12137 7387 if test -n "$MATLAB"; then 12138 { echo "$as_me:$LINENO: result: $MATLAB" >&512139 echo "${ECHO_T}$MATLAB" >&6; }12140 else 12141 { echo "$as_me:$LINENO: result: no" >&512142 echo "${ECHO_T}no" >&6; }7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7389 $as_echo "$MATLAB" >&6; } 7390 else 7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7392 $as_echo "no" >&6; } 12143 7393 fi 12144 7394 … … 12147 7397 # Extract the first word of "matlab", so it can be a program name with args. 12148 7398 set dummy matlab; ac_word=$2 12149 { echo "$as_me:$LINENO: checking for $ac_word" >&512150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12151 if test "${ac_cv_path_MATLAB+set}" = set; then 12152 echo $ECHO_N "(cached) $ECHO_C" >&67399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7400 $as_echo_n "checking for $ac_word... " >&6; } 7401 if test "${ac_cv_path_MATLAB+set}" = set; then : 7402 $as_echo_n "(cached) " >&6 12153 7403 else 12154 7404 case $MATLAB in … … 12163 7413 IFS=$as_save_IFS 12164 7414 test -z "$as_dir" && as_dir=. 12165 for ac_exec_ext in '' $ac_executable_extensions; do7415 for ac_exec_ext in '' $ac_executable_extensions; do 12166 7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12167 7417 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12169 7419 break 2 12170 7420 fi 12171 7421 done 12172 done7422 done 12173 7423 IFS=$as_save_IFS 12174 7424 … … 12178 7428 MATLAB=$ac_cv_path_MATLAB 12179 7429 if test -n "$MATLAB"; then 12180 { echo "$as_me:$LINENO: result: $MATLAB" >&512181 echo "${ECHO_T}$MATLAB" >&6; }12182 else 12183 { echo "$as_me:$LINENO: result: no" >&512184 echo "${ECHO_T}no" >&6; }7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7431 $as_echo "$MATLAB" >&6; } 7432 else 7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7434 $as_echo "no" >&6; } 12185 7435 fi 12186 7436 … … 12198 7448 # Extract the first word of "mex", so it can be a program name with args. 12199 7449 set dummy mex; ac_word=$2 12200 { echo "$as_me:$LINENO: checking for $ac_word" >&512201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12202 if test "${ac_cv_path_MEX+set}" = set; then 12203 echo $ECHO_N "(cached) $ECHO_C" >&67450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7451 $as_echo_n "checking for $ac_word... " >&6; } 7452 if test "${ac_cv_path_MEX+set}" = set; then : 7453 $as_echo_n "(cached) " >&6 12204 7454 else 12205 7455 case $MEX in … … 12213 7463 IFS=$as_save_IFS 12214 7464 test -z "$as_dir" && as_dir=. 12215 for ac_exec_ext in '' $ac_executable_extensions; do7465 for ac_exec_ext in '' $ac_executable_extensions; do 12216 7466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12217 7467 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12219 7469 break 2 12220 7470 fi 12221 7471 done 12222 done7472 done 12223 7473 IFS=$as_save_IFS 12224 7474 … … 12228 7478 MEX=$ac_cv_path_MEX 12229 7479 if test -n "$MEX"; then 12230 { echo "$as_me:$LINENO: result: $MEX" >&512231 echo "${ECHO_T}$MEX" >&6; }12232 else 12233 { echo "$as_me:$LINENO: result: no" >&512234 echo "${ECHO_T}no" >&6; }7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 7481 $as_echo "$MEX" >&6; } 7482 else 7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7484 $as_echo "no" >&6; } 12235 7485 fi 12236 7486 … … 12238 7488 # Extract the first word of "mexext", so it can be a program name with args. 12239 7489 set dummy mexext; ac_word=$2 12240 { echo "$as_me:$LINENO: checking for $ac_word" >&512241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12242 if test "${ac_cv_path_MEXEXT+set}" = set; then 12243 echo $ECHO_N "(cached) $ECHO_C" >&67490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7491 $as_echo_n "checking for $ac_word... " >&6; } 7492 if test "${ac_cv_path_MEXEXT+set}" = set; then : 7493 $as_echo_n "(cached) " >&6 12244 7494 else 12245 7495 case $MEXEXT in … … 12253 7503 IFS=$as_save_IFS 12254 7504 test -z "$as_dir" && as_dir=. 12255 for ac_exec_ext in '' $ac_executable_extensions; do7505 for ac_exec_ext in '' $ac_executable_extensions; do 12256 7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12257 7507 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12259 7509 break 2 12260 7510 fi 12261 7511 done 12262 done7512 done 12263 7513 IFS=$as_save_IFS 12264 7514 … … 12268 7518 MEXEXT=$ac_cv_path_MEXEXT 12269 7519 if test -n "$MEXEXT"; then 12270 { echo "$as_me:$LINENO: result: $MEXEXT" >&512271 echo "${ECHO_T}$MEXEXT" >&6; }12272 else 12273 { echo "$as_me:$LINENO: result: no" >&512274 echo "${ECHO_T}no" >&6; }7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7521 $as_echo "$MEXEXT" >&6; } 7522 else 7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7524 $as_echo "no" >&6; } 12275 7525 fi 12276 7526 … … 12278 7528 12279 7529 # Run "mexext" to get the expected module extension for this platform. 12280 { echo "$as_me:$LINENO: checking for mex extension" >&512281 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 7531 $as_echo_n "checking for mex extension... " >&6; } 12282 7532 if test "x$MEXEXT" != "x" ; then 12283 7533 MEXEXT=`$MEXEXT` … … 12285 7535 MEXEXT="mexglx" 12286 7536 fi 12287 { echo "$as_me:$LINENO: result: $MEXEXT" >&512288 echo "${ECHO_T}$MEXEXT" >&6; }7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7538 $as_echo "$MEXEXT" >&6; } 12289 7539 # Extract the first word of "mcc", so it can be a program name with args. 12290 7540 set dummy mcc; ac_word=$2 12291 { echo "$as_me:$LINENO: checking for $ac_word" >&512292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12293 if test "${ac_cv_path_MCC+set}" = set; then 12294 echo $ECHO_N "(cached) $ECHO_C" >&67541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7542 $as_echo_n "checking for $ac_word... " >&6; } 7543 if test "${ac_cv_path_MCC+set}" = set; then : 7544 $as_echo_n "(cached) " >&6 12295 7545 else 12296 7546 case $MCC in … … 12304 7554 IFS=$as_save_IFS 12305 7555 test -z "$as_dir" && as_dir=. 12306 for ac_exec_ext in '' $ac_executable_extensions; do7556 for ac_exec_ext in '' $ac_executable_extensions; do 12307 7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12308 7558 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12310 7560 break 2 12311 7561 fi 12312 7562 done 12313 done7563 done 12314 7564 IFS=$as_save_IFS 12315 7565 … … 12319 7569 MCC=$ac_cv_path_MCC 12320 7570 if test -n "$MCC"; then 12321 { echo "$as_me:$LINENO: result: $MCC" >&512322 echo "${ECHO_T}$MCC" >&6; }12323 else 12324 { echo "$as_me:$LINENO: result: no" >&512325 echo "${ECHO_T}no" >&6; }12326 fi 12327 12328 12329 { echo "$as_me:$LINENO: checking for mcc extension" >&512330 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; }7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 7572 $as_echo "$MCC" >&6; } 7573 else 7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7575 $as_echo "no" >&6; } 7576 fi 7577 7578 7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 7580 $as_echo_n "checking for mcc extension... " >&6; } 12331 7581 fi 12332 7582 … … 12340 7590 12341 7591 # Check whether --with-octave was given. 12342 if test "${with_octave+set}" = set; then 7592 if test "${with_octave+set}" = set; then : 12343 7593 withval=$with_octave; with_octave=$withval 12344 7594 else … … 12356 7606 MKOCTFILE3= 12357 7607 if test "$with_octave" != "no" ; then 12358 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512359 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7609 $as_echo_n "checking for octave and mkoctfile... " >&6; } 12360 7610 if test "$with_octave" = "yes" ; then 12361 7611 # Extract the first word of "octave", so it can be a program name with args. 12362 7612 set dummy octave; ac_word=$2 12363 { echo "$as_me:$LINENO: checking for $ac_word" >&512364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12365 if test "${ac_cv_path_OCTAVE+set}" = set; then 12366 echo $ECHO_N "(cached) $ECHO_C" >&67613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7614 $as_echo_n "checking for $ac_word... " >&6; } 7615 if test "${ac_cv_path_OCTAVE+set}" = set; then : 7616 $as_echo_n "(cached) " >&6 12367 7617 else 12368 7618 case $OCTAVE in … … 12376 7626 IFS=$as_save_IFS 12377 7627 test -z "$as_dir" && as_dir=. 12378 for ac_exec_ext in '' $ac_executable_extensions; do7628 for ac_exec_ext in '' $ac_executable_extensions; do 12379 7629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12380 7630 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12382 7632 break 2 12383 7633 fi 12384 7634 done 12385 done7635 done 12386 7636 IFS=$as_save_IFS 12387 7637 … … 12391 7641 OCTAVE=$ac_cv_path_OCTAVE 12392 7642 if test -n "$OCTAVE"; then 12393 { echo "$as_me:$LINENO: result: $OCTAVE" >&512394 echo "${ECHO_T}$OCTAVE" >&6; }12395 else 12396 { echo "$as_me:$LINENO: result: no" >&512397 echo "${ECHO_T}no" >&6; }7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7644 $as_echo "$OCTAVE" >&6; } 7645 else 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7647 $as_echo "no" >&6; } 12398 7648 fi 12399 7649 … … 12401 7651 # Extract the first word of "mkoctfile", so it can be a program name with args. 12402 7652 set dummy mkoctfile; ac_word=$2 12403 { echo "$as_me:$LINENO: checking for $ac_word" >&512404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12405 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 12406 echo $ECHO_N "(cached) $ECHO_C" >&67653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7654 $as_echo_n "checking for $ac_word... " >&6; } 7655 if test "${ac_cv_path_MKOCTFILE+set}" = set; then : 7656 $as_echo_n "(cached) " >&6 12407 7657 else 12408 7658 case $MKOCTFILE in … … 12416 7666 IFS=$as_save_IFS 12417 7667 test -z "$as_dir" && as_dir=. 12418 for ac_exec_ext in '' $ac_executable_extensions; do7668 for ac_exec_ext in '' $ac_executable_extensions; do 12419 7669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12420 7670 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12422 7672 break 2 12423 7673 fi 12424 7674 done 12425 done7675 done 12426 7676 IFS=$as_save_IFS 12427 7677 … … 12431 7681 MKOCTFILE=$ac_cv_path_MKOCTFILE 12432 7682 if test -n "$MKOCTFILE"; then 12433 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512434 echo "${ECHO_T}$MKOCTFILE" >&6; }12435 else 12436 { echo "$as_me:$LINENO: result: no" >&512437 echo "${ECHO_T}no" >&6; }7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7684 $as_echo "$MKOCTFILE" >&6; } 7685 else 7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7687 $as_echo "no" >&6; } 12438 7688 fi 12439 7689 … … 12442 7692 # Extract the first word of "octave", so it can be a program name with args. 12443 7693 set dummy octave; ac_word=$2 12444 { echo "$as_me:$LINENO: checking for $ac_word" >&512445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12446 if test "${ac_cv_path_OCTAVE+set}" = set; then 12447 echo $ECHO_N "(cached) $ECHO_C" >&67694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7695 $as_echo_n "checking for $ac_word... " >&6; } 7696 if test "${ac_cv_path_OCTAVE+set}" = set; then : 7697 $as_echo_n "(cached) " >&6 12448 7698 else 12449 7699 case $OCTAVE in … … 12458 7708 IFS=$as_save_IFS 12459 7709 test -z "$as_dir" && as_dir=. 12460 for ac_exec_ext in '' $ac_executable_extensions; do7710 for ac_exec_ext in '' $ac_executable_extensions; do 12461 7711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12462 7712 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12464 7714 break 2 12465 7715 fi 12466 7716 done 12467 done7717 done 12468 7718 IFS=$as_save_IFS 12469 7719 … … 12473 7723 OCTAVE=$ac_cv_path_OCTAVE 12474 7724 if test -n "$OCTAVE"; then 12475 { echo "$as_me:$LINENO: result: $OCTAVE" >&512476 echo "${ECHO_T}$OCTAVE" >&6; }12477 else 12478 { echo "$as_me:$LINENO: result: no" >&512479 echo "${ECHO_T}no" >&6; }7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7726 $as_echo "$OCTAVE" >&6; } 7727 else 7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7729 $as_echo "no" >&6; } 12480 7730 fi 12481 7731 … … 12483 7733 # Extract the first word of "mkoctfile", so it can be a program name with args. 12484 7734 set dummy mkoctfile; ac_word=$2 12485 { echo "$as_me:$LINENO: checking for $ac_word" >&512486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12487 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 12488 echo $ECHO_N "(cached) $ECHO_C" >&67735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7736 $as_echo_n "checking for $ac_word... " >&6; } 7737 if test "${ac_cv_path_MKOCTFILE+set}" = set; then : 7738 $as_echo_n "(cached) " >&6 12489 7739 else 12490 7740 case $MKOCTFILE in … … 12499 7749 IFS=$as_save_IFS 12500 7750 test -z "$as_dir" && as_dir=. 12501 for ac_exec_ext in '' $ac_executable_extensions; do7751 for ac_exec_ext in '' $ac_executable_extensions; do 12502 7752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12503 7753 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12505 7755 break 2 12506 7756 fi 12507 7757 done 12508 done7758 done 12509 7759 IFS=$as_save_IFS 12510 7760 … … 12514 7764 MKOCTFILE=$ac_cv_path_MKOCTFILE 12515 7765 if test -n "$MKOCTFILE"; then 12516 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512517 echo "${ECHO_T}$MKOCTFILE" >&6; }12518 else 12519 { echo "$as_me:$LINENO: result: no" >&512520 echo "${ECHO_T}no" >&6; }7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7767 $as_echo "$MKOCTFILE" >&6; } 7768 else 7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7770 $as_echo "no" >&6; } 12521 7771 fi 12522 7772 … … 12540 7790 12541 7791 # Check whether --with-octave2 was given. 12542 if test "${with_octave2+set}" = set; then 7792 if test "${with_octave2+set}" = set; then : 12543 7793 withval=$with_octave2; with_octave2=$withval 12544 7794 else … … 12548 7798 12549 7799 if test "$with_octave2" != "no" ; then 12550 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512551 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7801 $as_echo_n "checking for octave and mkoctfile... " >&6; } 12552 7802 # Extract the first word of "octave", so it can be a program name with args. 12553 7803 set dummy octave; ac_word=$2 12554 { echo "$as_me:$LINENO: checking for $ac_word" >&512555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12556 if test "${ac_cv_path_octave2+set}" = set; then 12557 echo $ECHO_N "(cached) $ECHO_C" >&67804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7805 $as_echo_n "checking for $ac_word... " >&6; } 7806 if test "${ac_cv_path_octave2+set}" = set; then : 7807 $as_echo_n "(cached) " >&6 12558 7808 else 12559 7809 case $octave2 in … … 12568 7818 IFS=$as_save_IFS 12569 7819 test -z "$as_dir" && as_dir=. 12570 for ac_exec_ext in '' $ac_executable_extensions; do7820 for ac_exec_ext in '' $ac_executable_extensions; do 12571 7821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12572 7822 ac_cv_path_octave2="$as_dir/$ac_word$ac_exec_ext" 12573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12574 7824 break 2 12575 7825 fi 12576 7826 done 12577 done7827 done 12578 7828 IFS=$as_save_IFS 12579 7829 … … 12583 7833 octave2=$ac_cv_path_octave2 12584 7834 if test -n "$octave2"; then 12585 { echo "$as_me:$LINENO: result: $octave2" >&512586 echo "${ECHO_T}$octave2" >&6; }12587 else 12588 { echo "$as_me:$LINENO: result: no" >&512589 echo "${ECHO_T}no" >&6; }7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave2" >&5 7836 $as_echo "$octave2" >&6; } 7837 else 7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7839 $as_echo "no" >&6; } 12590 7840 fi 12591 7841 … … 12593 7843 # Extract the first word of "mkoctfile", so it can be a program name with args. 12594 7844 set dummy mkoctfile; ac_word=$2 12595 { echo "$as_me:$LINENO: checking for $ac_word" >&512596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12597 if test "${ac_cv_path_mkoctfile+set}" = set; then 12598 echo $ECHO_N "(cached) $ECHO_C" >&67845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7846 $as_echo_n "checking for $ac_word... " >&6; } 7847 if test "${ac_cv_path_mkoctfile+set}" = set; then : 7848 $as_echo_n "(cached) " >&6 12599 7849 else 12600 7850 case $mkoctfile in … … 12609 7859 IFS=$as_save_IFS 12610 7860 test -z "$as_dir" && as_dir=. 12611 for ac_exec_ext in '' $ac_executable_extensions; do7861 for ac_exec_ext in '' $ac_executable_extensions; do 12612 7862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12613 7863 ac_cv_path_mkoctfile="$as_dir/$ac_word$ac_exec_ext" 12614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12615 7865 break 2 12616 7866 fi 12617 7867 done 12618 done7868 done 12619 7869 IFS=$as_save_IFS 12620 7870 … … 12624 7874 mkoctfile=$ac_cv_path_mkoctfile 12625 7875 if test -n "$mkoctfile"; then 12626 { echo "$as_me:$LINENO: result: $mkoctfile" >&512627 echo "${ECHO_T}$mkoctfile" >&6; }12628 else 12629 { echo "$as_me:$LINENO: result: no" >&512630 echo "${ECHO_T}no" >&6; }7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile" >&5 7877 $as_echo "$mkoctfile" >&6; } 7878 else 7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7880 $as_echo "no" >&6; } 12631 7881 fi 12632 7882 … … 12644 7894 12645 7895 # Check whether --with-octave3 was given. 12646 if test "${with_octave3+set}" = set; then 7896 if test "${with_octave3+set}" = set; then : 12647 7897 withval=$with_octave3; with_octave3=$withval 12648 7898 else … … 12651 7901 12652 7902 if test "$with_octave3" != "no" ; then 12653 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512654 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7904 $as_echo_n "checking for octave and mkoctfile... " >&6; } 12655 7905 # Extract the first word of "octave", so it can be a program name with args. 12656 7906 set dummy octave; ac_word=$2 12657 { echo "$as_me:$LINENO: checking for $ac_word" >&512658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12659 if test "${ac_cv_path_octave3+set}" = set; then 12660 echo $ECHO_N "(cached) $ECHO_C" >&67907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7908 $as_echo_n "checking for $ac_word... " >&6; } 7909 if test "${ac_cv_path_octave3+set}" = set; then : 7910 $as_echo_n "(cached) " >&6 12661 7911 else 12662 7912 case $octave3 in … … 12671 7921 IFS=$as_save_IFS 12672 7922 test -z "$as_dir" && as_dir=. 12673 for ac_exec_ext in '' $ac_executable_extensions; do7923 for ac_exec_ext in '' $ac_executable_extensions; do 12674 7924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12675 7925 ac_cv_path_octave3="$as_dir/$ac_word$ac_exec_ext" 12676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12677 7927 break 2 12678 7928 fi 12679 7929 done 12680 done7930 done 12681 7931 IFS=$as_save_IFS 12682 7932 … … 12686 7936 octave3=$ac_cv_path_octave3 12687 7937 if test -n "$octave3"; then 12688 { echo "$as_me:$LINENO: result: $octave3" >&512689 echo "${ECHO_T}$octave3" >&6; }12690 else 12691 { echo "$as_me:$LINENO: result: no" >&512692 echo "${ECHO_T}no" >&6; }7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave3" >&5 7939 $as_echo "$octave3" >&6; } 7940 else 7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7942 $as_echo "no" >&6; } 12693 7943 fi 12694 7944 … … 12696 7946 # Extract the first word of "mkoctfile", so it can be a program name with args. 12697 7947 set dummy mkoctfile; ac_word=$2 12698 { echo "$as_me:$LINENO: checking for $ac_word" >&512699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12700 if test "${ac_cv_path_mkoctfile3+set}" = set; then 12701 echo $ECHO_N "(cached) $ECHO_C" >&67948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7949 $as_echo_n "checking for $ac_word... " >&6; } 7950 if test "${ac_cv_path_mkoctfile3+set}" = set; then : 7951 $as_echo_n "(cached) " >&6 12702 7952 else 12703 7953 case $mkoctfile3 in … … 12712 7962 IFS=$as_save_IFS 12713 7963 test -z "$as_dir" && as_dir=. 12714 for ac_exec_ext in '' $ac_executable_extensions; do7964 for ac_exec_ext in '' $ac_executable_extensions; do 12715 7965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12716 7966 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 12717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12718 7968 break 2 12719 7969 fi 12720 7970 done 12721 done7971 done 12722 7972 IFS=$as_save_IFS 12723 7973 … … 12727 7977 mkoctfile3=$ac_cv_path_mkoctfile3 12728 7978 if test -n "$mkoctfile3"; then 12729 { echo "$as_me:$LINENO: result: $mkoctfile3" >&512730 echo "${ECHO_T}$mkoctfile3" >&6; }12731 else 12732 { echo "$as_me:$LINENO: result: no" >&512733 echo "${ECHO_T}no" >&6; }7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5 7980 $as_echo "$mkoctfile3" >&6; } 7981 else 7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7983 $as_echo "no" >&6; } 12734 7984 fi 12735 7985 … … 12756 8006 12757 8007 # Check whether --with-perl was given. 12758 if test "${with_perl+set}" = set; then 8008 if test "${with_perl+set}" = set; then : 12759 8009 withval=$with_perl; 12760 8010 else … … 12775 8025 PERL_LIBSPEC= 12776 8026 if test "$with_perl" != "no" ; then 12777 { echo "$as_me:$LINENO: checking for perl" >&512778 echo $ECHO_N "checking for perl... $ECHO_C" >&6; }8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5 8028 $as_echo_n "checking for perl... " >&6; } 12779 8029 if test "$with_perl" != "yes" ; then 12780 8030 # Extract the first word of "perl", so it can be a program name with args. 12781 8031 set dummy perl; ac_word=$2 12782 { echo "$as_me:$LINENO: checking for $ac_word" >&512783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12784 if test "${ac_cv_path_PERL+set}" = set; then 12785 echo $ECHO_N "(cached) $ECHO_C" >&68032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8033 $as_echo_n "checking for $ac_word... " >&6; } 8034 if test "${ac_cv_path_PERL+set}" = set; then : 8035 $as_echo_n "(cached) " >&6 12786 8036 else 12787 8037 case $PERL in … … 12796 8046 IFS=$as_save_IFS 12797 8047 test -z "$as_dir" && as_dir=. 12798 for ac_exec_ext in '' $ac_executable_extensions; do8048 for ac_exec_ext in '' $ac_executable_extensions; do 12799 8049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12800 8050 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12802 8052 break 2 12803 8053 fi 12804 8054 done 12805 done8055 done 12806 8056 IFS=$as_save_IFS 12807 8057 … … 12811 8061 PERL=$ac_cv_path_PERL 12812 8062 if test -n "$PERL"; then 12813 { echo "$as_me:$LINENO: result: $PERL" >&512814 echo "${ECHO_T}$PERL" >&6; }12815 else 12816 { echo "$as_me:$LINENO: result: no" >&512817 echo "${ECHO_T}no" >&6; }8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8064 $as_echo "$PERL" >&6; } 8065 else 8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8067 $as_echo "no" >&6; } 12818 8068 fi 12819 8069 … … 12822 8072 # Extract the first word of "perl", so it can be a program name with args. 12823 8073 set dummy perl; ac_word=$2 12824 { echo "$as_me:$LINENO: checking for $ac_word" >&512825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12826 if test "${ac_cv_path_PERL+set}" = set; then 12827 echo $ECHO_N "(cached) $ECHO_C" >&68074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8075 $as_echo_n "checking for $ac_word... " >&6; } 8076 if test "${ac_cv_path_PERL+set}" = set; then : 8077 $as_echo_n "(cached) " >&6 12828 8078 else 12829 8079 case $PERL in … … 12837 8087 IFS=$as_save_IFS 12838 8088 test -z "$as_dir" && as_dir=. 12839 for ac_exec_ext in '' $ac_executable_extensions; do8089 for ac_exec_ext in '' $ac_executable_extensions; do 12840 8090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12841 8091 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12843 8093 break 2 12844 8094 fi 12845 8095 done 12846 done8096 done 12847 8097 IFS=$as_save_IFS 12848 8098 … … 12852 8102 PERL=$ac_cv_path_PERL 12853 8103 if test -n "$PERL"; then 12854 { echo "$as_me:$LINENO: result: $PERL" >&512855 echo "${ECHO_T}$PERL" >&6; }12856 else 12857 { echo "$as_me:$LINENO: result: no" >&512858 echo "${ECHO_T}no" >&6; }8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8105 $as_echo "$PERL" >&6; } 8106 else 8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8108 $as_echo "no" >&6; } 12859 8109 fi 12860 8110 … … 12879 8129 fi 12880 8130 fi 12881 { echo "$as_me:$LINENO: result: ${PERL}" >&512882 echo "${ECHO_T}${PERL}" >&6; }8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PERL}" >&5 8132 $as_echo "${PERL}" >&6; } 12883 8133 12884 8134 … … 12909 8159 12910 8160 # Check whether --with-python was given. 12911 if test "${with_python+set}" = set; then 8161 if test "${with_python+set}" = set; then : 12912 8162 withval=$with_python; 12913 8163 else … … 12917 8167 12918 8168 if test "$with_python" != "no" ; then 12919 { echo "$as_me:$LINENO: checking for python" >&512920 echo $ECHO_N "checking for python... $ECHO_C" >&6; }8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5 8170 $as_echo_n "checking for python... " >&6; } 12921 8171 if test -x "$with_python/bin/python"; then 12922 8172 echo Found python in $with_python/bin/python … … 12928 8178 # 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. 12929 8179 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 12930 { echo "$as_me:$LINENO: checking for $ac_word" >&512931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12932 if test "${ac_cv_path_PYTHON+set}" = set; then 12933 echo $ECHO_N "(cached) $ECHO_C" >&68180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8181 $as_echo_n "checking for $ac_word... " >&6; } 8182 if test "${ac_cv_path_PYTHON+set}" = set; then : 8183 $as_echo_n "(cached) " >&6 12934 8184 else 12935 8185 case $PYTHON in … … 12943 8193 IFS=$as_save_IFS 12944 8194 test -z "$as_dir" && as_dir=. 12945 for ac_exec_ext in '' $ac_executable_extensions; do8195 for ac_exec_ext in '' $ac_executable_extensions; do 12946 8196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12947 8197 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12949 8199 break 2 12950 8200 fi 12951 8201 done 12952 done8202 done 12953 8203 IFS=$as_save_IFS 12954 8204 … … 12958 8208 PYTHON=$ac_cv_path_PYTHON 12959 8209 if test -n "$PYTHON"; then 12960 { echo "$as_me:$LINENO: result: $PYTHON" >&512961 echo "${ECHO_T}$PYTHON" >&6; }12962 else 12963 { echo "$as_me:$LINENO: result: no" >&512964 echo "${ECHO_T}no" >&6; }8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8211 $as_echo "$PYTHON" >&6; } 8212 else 8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8214 $as_echo "no" >&6; } 12965 8215 fi 12966 8216 … … 12999 8249 fi 13000 8250 13001 { echo "$as_me:$LINENO: checking for python distutils" >&513002 echo $ECHO_N "checking for python distutils... $ECHO_C" >&6; }8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python distutils" >&5 8252 $as_echo_n "checking for python distutils... " >&6; } 13003 8253 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 13004 8254 build build_ext 2>&1 > /dev/null … … 13008 8258 HAVE_PYTHON_DISTUTILS="no" 13009 8259 fi 13010 { echo "$as_me:$LINENO: result: $HAVE_PYTHON_DISTUTILS" >&513011 echo "${ECHO_T}$HAVE_PYTHON_DISTUTILS" >&6; }8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PYTHON_DISTUTILS" >&5 8261 $as_echo "$HAVE_PYTHON_DISTUTILS" >&6; } 13012 8262 13013 8263 if test "${HAVE_PYTHON_DISTUTILS}" = "yes"; then … … 13015 8265 # Check for Python include path 13016 8266 # 13017 { echo "$as_me:$LINENO: checking for Python include path" >&513018 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; }8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 8268 $as_echo_n "checking for Python include path... " >&6; } 13019 8269 if test "x${PYTHON_CPPFLAGS}" = "x"; then 13020 8270 incdir_path=`${PYTHON} -c "import distutils.sysconfig; \ … … 13025 8275 PYTHON_CPPFLAGS=$python_path 13026 8276 fi 13027 { echo "$as_me:$LINENO: result: $PYTHON_CPPFLAGS" >&513028 echo "${ECHO_T}$PYTHON_CPPFLAGS" >&6; }8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5 8278 $as_echo "$PYTHON_CPPFLAGS" >&6; } 13029 8279 13030 8280 # 13031 8281 # python distutils found, get settings from python directly 13032 8282 # 13033 { echo "$as_me:$LINENO: checking location of site-packages" >&513034 echo $ECHO_N "checking location of site-packages... $ECHO_C" >&6; }8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of site-packages" >&5 8284 $as_echo_n "checking location of site-packages... " >&6; } 13035 8285 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 13036 8286 … … 13056 8306 13057 8307 # Check whether --with-ruby was given. 13058 if test "${with_ruby+set}" = set; then 8308 if test "${with_ruby+set}" = set; then : 13059 8309 withval=$with_ruby; rappture_with_ruby=$with_val 13060 8310 fi … … 13064 8314 # Extract the first word of "ruby", so it can be a program name with args. 13065 8315 set dummy ruby; ac_word=$2 13066 { echo "$as_me:$LINENO: checking for $ac_word" >&513067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13068 if test "${ac_cv_path_RUBY+set}" = set; then 13069 echo $ECHO_N "(cached) $ECHO_C" >&68316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8317 $as_echo_n "checking for $ac_word... " >&6; } 8318 if test "${ac_cv_path_RUBY+set}" = set; then : 8319 $as_echo_n "(cached) " >&6 13070 8320 else 13071 8321 case $RUBY in … … 13079 8329 IFS=$as_save_IFS 13080 8330 test -z "$as_dir" && as_dir=. 13081 for ac_exec_ext in '' $ac_executable_extensions; do8331 for ac_exec_ext in '' $ac_executable_extensions; do 13082 8332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13083 8333 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13085 8335 break 2 13086 8336 fi 13087 8337 done 13088 done8338 done 13089 8339 IFS=$as_save_IFS 13090 8340 … … 13094 8344 RUBY=$ac_cv_path_RUBY 13095 8345 if test -n "$RUBY"; then 13096 { echo "$as_me:$LINENO: result: $RUBY" >&513097 echo "${ECHO_T}$RUBY" >&6; }13098 else 13099 { echo "$as_me:$LINENO: result: no" >&513100 echo "${ECHO_T}no" >&6; }8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8347 $as_echo "$RUBY" >&6; } 8348 else 8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8350 $as_echo "no" >&6; } 13101 8351 fi 13102 8352 … … 13105 8355 # Extract the first word of "ruby", so it can be a program name with args. 13106 8356 set dummy ruby; ac_word=$2 13107 { echo "$as_me:$LINENO: checking for $ac_word" >&513108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13109 if test "${ac_cv_path_RUBY+set}" = set; then 13110 echo $ECHO_N "(cached) $ECHO_C" >&68357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8358 $as_echo_n "checking for $ac_word... " >&6; } 8359 if test "${ac_cv_path_RUBY+set}" = set; then : 8360 $as_echo_n "(cached) " >&6 13111 8361 else 13112 8362 case $RUBY in … … 13121 8371 IFS=$as_save_IFS 13122 8372 test -z "$as_dir" && as_dir=. 13123 for ac_exec_ext in '' $ac_executable_extensions; do8373 for ac_exec_ext in '' $ac_executable_extensions; do 13124 8374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13125 8375 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13127 8377 break 2 13128 8378 fi 13129 8379 done 13130 done8380 done 13131 8381 IFS=$as_save_IFS 13132 8382 … … 13136 8386 RUBY=$ac_cv_path_RUBY 13137 8387 if test -n "$RUBY"; then 13138 { echo "$as_me:$LINENO: result: $RUBY" >&513139 echo "${ECHO_T}$RUBY" >&6; }13140 else 13141 { echo "$as_me:$LINENO: result: no" >&513142 echo "${ECHO_T}no" >&6; }8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8389 $as_echo "$RUBY" >&6; } 8390 else 8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8392 $as_echo "no" >&6; } 13143 8393 fi 13144 8394 … … 13151 8401 RUBY_PLATFORM= 13152 8402 if test "x${RUBY}" != "x" ; then 13153 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&513154 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }13155 if test "${ac_cv_path_SED+set}" = set; then 13156 echo $ECHO_N "(cached) $ECHO_C" >&68403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8404 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8405 if test "${ac_cv_path_SED+set}" = set; then : 8406 $as_echo_n "(cached) " >&6 13157 8407 else 13158 8408 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 13160 8410 ac_script="$ac_script$as_nl$ac_script" 13161 8411 done 13162 echo "$ac_script" | sed 99q >conftest.sed 13163 $as_unset ac_script || ac_script= 13164 # Extract the first word of "sed gsed" to use in msg output 13165 if test -z "$SED"; then 13166 set dummy sed gsed; ac_prog_name=$2 13167 if test "${ac_cv_path_SED+set}" = set; then 13168 echo $ECHO_N "(cached) $ECHO_C" >&6 13169 else 8412 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8413 { ac_script=; unset ac_script;} 8414 if test -z "$SED"; then 13170 8415 ac_path_SED_found=false 13171 # Loop through the user's path and test for each of PROGNAME-LIST13172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8416 # Loop through the user's path and test for each of PROGNAME-LIST 8417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13173 8418 for as_dir in $PATH 13174 8419 do 13175 8420 IFS=$as_save_IFS 13176 8421 test -z "$as_dir" && as_dir=. 13177 for ac_prog in sed gsed; do13178 for ac_exec_ext in '' $ac_executable_extensions; do13179 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"13180 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue13181 8422 for ac_prog in sed gsed; do 8423 for ac_exec_ext in '' $ac_executable_extensions; do 8424 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8425 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 8426 # Check for GNU ac_path_SED and select it if it is found. 13182 8427 # Check for GNU $ac_path_SED 13183 8428 case `"$ac_path_SED" --version 2>&1` in … … 13186 8431 *) 13187 8432 ac_count=0 13188 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"8433 $as_echo_n 0123456789 >"conftest.in" 13189 8434 while : 13190 8435 do … … 13192 8437 mv "conftest.tmp" "conftest.in" 13193 8438 cp "conftest.in" "conftest.nl" 13194 echo '' >> "conftest.nl"8439 $as_echo '' >> "conftest.nl" 13195 8440 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 13196 8441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 13197 a c_count=`expr $ac_count + 1`8442 as_fn_arith $ac_count + 1 && ac_count=$as_val 13198 8443 if test $ac_count -gt ${ac_path_SED_max-0}; then 13199 8444 # Best one so far, save it but keep looking for a better one … … 13207 8452 esac 13208 8453 13209 13210 $ac_path_SED_found && break 38454 $ac_path_SED_found && break 3 8455 done 13211 8456 done 13212 done 13213 13214 done 8457 done 13215 8458 IFS=$as_save_IFS 13216 13217 13218 fi 13219 13220 SED="$ac_cv_path_SED" 13221 if test -z "$SED"; then 13222 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 13223 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 13224 { (exit 1); exit 1; }; } 13225 fi 13226 8459 if test -z "$ac_cv_path_SED"; then 8460 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8461 fi 13227 8462 else 13228 8463 ac_cv_path_SED=$SED … … 13230 8465 13231 8466 fi 13232 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&513233 echo "${ECHO_T}$ac_cv_path_SED" >&6; }8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8468 $as_echo "$ac_cv_path_SED" >&6; } 13234 8469 SED="$ac_cv_path_SED" 13235 8470 rm -f conftest.sed … … 13239 8474 13240 8475 13241 if test -n "$RUBY"; then 8476 if test -n "$RUBY"; then : 13242 8477 13243 8478 ax_ruby_version="" 13244 8479 13245 { echo "$as_me:$LINENO: checking for ruby version" >&513246 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5 8481 $as_echo_n "checking for ruby version... " >&6; } 13247 8482 13248 8483 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 13249 8484 13250 { echo "$as_me:$LINENO: result: $ruby_version" >&513251 echo "${ECHO_T}$ruby_version" >&6; }8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5 8486 $as_echo "$ruby_version" >&6; } 13252 8487 13253 8488 RUBY_VERSION=$ruby_version … … 13259 8494 # Extract the first word of "$ac_prog", so it can be a program name with args. 13260 8495 set dummy $ac_prog; ac_word=$2 13261 { echo "$as_me:$LINENO: checking for $ac_word" >&513262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13263 if test "${ac_cv_prog_AWK+set}" = set; then 13264 echo $ECHO_N "(cached) $ECHO_C" >&68496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8497 $as_echo_n "checking for $ac_word... " >&6; } 8498 if test "${ac_cv_prog_AWK+set}" = set; then : 8499 $as_echo_n "(cached) " >&6 13265 8500 else 13266 8501 if test -n "$AWK"; then … … 13272 8507 IFS=$as_save_IFS 13273 8508 test -z "$as_dir" && as_dir=. 13274 for ac_exec_ext in '' $ac_executable_extensions; do8509 for ac_exec_ext in '' $ac_executable_extensions; do 13275 8510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13276 8511 ac_cv_prog_AWK="$ac_prog" 13277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13278 8513 break 2 13279 8514 fi 13280 8515 done 13281 done8516 done 13282 8517 IFS=$as_save_IFS 13283 8518 … … 13286 8521 AWK=$ac_cv_prog_AWK 13287 8522 if test -n "$AWK"; then 13288 { echo "$as_me:$LINENO: result: $AWK" >&513289 echo "${ECHO_T}$AWK" >&6; }13290 else 13291 { echo "$as_me:$LINENO: result: no" >&513292 echo "${ECHO_T}no" >&6; }8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 8524 $as_echo "$AWK" >&6; } 8525 else 8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8527 $as_echo "no" >&6; } 13293 8528 fi 13294 8529 … … 13340 8575 else 13341 8576 13342 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13343 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13344 13345 13346 fi 13347 8577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8578 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8579 8580 8581 fi 13348 8582 13349 8583 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 13356 8590 # Check for Ruby include path 13357 8591 # 13358 { echo "$as_me:$LINENO: checking for Ruby include path" >&513359 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5 8593 $as_echo_n "checking for Ruby include path... " >&6; } 13360 8594 if test -z "$RUBY_CPPFLAGS"; then 13361 8595 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 13365 8599 RUBY_CPPFLAGS=$ruby_path 13366 8600 fi 13367 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&513368 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5 8602 $as_echo "$RUBY_CPPFLAGS" >&6; } 13369 8603 13370 8604 … … 13372 8606 # Check for Ruby library path 13373 8607 # 13374 { echo "$as_me:$LINENO: checking for Ruby library path" >&513375 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5 8609 $as_echo_n "checking for Ruby library path... " >&6; } 13376 8610 if test -z "$RUBY_LDFLAGS"; then 13377 8611 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 13378 8612 fi 13379 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&513380 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5 8614 $as_echo "$RUBY_LDFLAGS" >&6; } 13381 8615 13382 8616 … … 13384 8618 # Check for site packages 13385 8619 # 13386 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&513387 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5 8621 $as_echo_n "checking for Ruby site-packages path... " >&6; } 13388 8622 if test -z "$RUBY_SITE_PKG"; then 13389 8623 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 13390 8624 fi 13391 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&513392 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5 8626 $as_echo "$RUBY_SITE_PKG" >&6; } 13393 8627 13394 8628 … … 13396 8630 # libraries which must be linked in when embedding 13397 8631 # 13398 { echo "$as_me:$LINENO: checking ruby extra libraries" >&513399 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5 8633 $as_echo_n "checking ruby extra libraries... " >&6; } 13400 8634 if test -z "$RUBY_EXTRA_LIBS"; then 13401 8635 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 13402 8636 fi 13403 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&513404 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5 8638 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 13405 8639 13406 8640 … … 13421 8655 # final check to see if everything compiles alright 13422 8656 # 13423 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&513424 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5 8658 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 13425 8659 ac_ext=c 13426 8660 ac_cpp='$CPP $CPPFLAGS' … … 13434 8668 ac_save_CPPFLAGS="$CPPFLAGS" 13435 8669 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 13436 cat >conftest.$ac_ext <<_ACEOF 13437 /* confdefs.h. */ 13438 _ACEOF 13439 cat confdefs.h >>conftest.$ac_ext 13440 cat >>conftest.$ac_ext <<_ACEOF 8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13441 8671 /* end confdefs.h. */ 13442 8672 … … 13453 8683 } 13454 8684 _ACEOF 13455 rm -f conftest.$ac_objext conftest$ac_exeext 13456 if { (ac_try="$ac_link" 13457 case "(($ac_try" in 13458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13459 *) ac_try_echo=$ac_try;; 13460 esac 13461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13462 (eval "$ac_link") 2>conftest.er1 13463 ac_status=$? 13464 grep -v '^ *+' conftest.er1 >conftest.err 13465 rm -f conftest.er1 13466 cat conftest.err >&5 13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13468 (exit $ac_status); } && { 13469 test -z "$ac_c_werror_flag" || 13470 test ! -s conftest.err 13471 } && test -s conftest$ac_exeext && 13472 $as_test_x conftest$ac_exeext; then 8685 if ac_fn_c_try_link "$LINENO"; then : 13473 8686 rubyexists=yes 13474 8687 else 13475 echo "$as_me: failed program was:" >&5 13476 sed 's/^/| /' conftest.$ac_ext >&5 13477 13478 rubyexists=no 13479 fi 13480 13481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13482 conftest$ac_exeext conftest.$ac_ext 13483 13484 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13485 echo "${ECHO_T}$rubyexists" >&6; } 8688 rubyexists=no 8689 fi 8690 rm -f core conftest.err conftest.$ac_objext \ 8691 conftest$ac_exeext conftest.$ac_ext 8692 8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8694 $as_echo "$rubyexists" >&6; } 13486 8695 13487 8696 if test "$rubyexists" = "no"; then … … 13516 8725 13517 8726 # Check whether --with-java was given. 13518 if test "${with_java+set}" = set; then 8727 if test "${with_java+set}" = set; then : 13519 8728 withval=$with_java; rappture_with_java=$with_val 13520 8729 fi … … 13524 8733 # Extract the first word of "java", so it can be a program name with args. 13525 8734 set dummy java; ac_word=$2 13526 { echo "$as_me:$LINENO: checking for $ac_word" >&513527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13528 if test "${ac_cv_path_JAVA+set}" = set; then 13529 echo $ECHO_N "(cached) $ECHO_C" >&68735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8736 $as_echo_n "checking for $ac_word... " >&6; } 8737 if test "${ac_cv_path_JAVA+set}" = set; then : 8738 $as_echo_n "(cached) " >&6 13530 8739 else 13531 8740 case $JAVA in … … 13539 8748 IFS=$as_save_IFS 13540 8749 test -z "$as_dir" && as_dir=. 13541 for ac_exec_ext in '' $ac_executable_extensions; do8750 for ac_exec_ext in '' $ac_executable_extensions; do 13542 8751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13543 8752 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13545 8754 break 2 13546 8755 fi 13547 8756 done 13548 done8757 done 13549 8758 IFS=$as_save_IFS 13550 8759 … … 13554 8763 JAVA=$ac_cv_path_JAVA 13555 8764 if test -n "$JAVA"; then 13556 { echo "$as_me:$LINENO: result: $JAVA" >&513557 echo "${ECHO_T}$JAVA" >&6; }13558 else 13559 { echo "$as_me:$LINENO: result: no" >&513560 echo "${ECHO_T}no" >&6; }8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8766 $as_echo "$JAVA" >&6; } 8767 else 8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8769 $as_echo "no" >&6; } 13561 8770 fi 13562 8771 … … 13564 8773 # Extract the first word of "javac", so it can be a program name with args. 13565 8774 set dummy javac; ac_word=$2 13566 { echo "$as_me:$LINENO: checking for $ac_word" >&513567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13568 if test "${ac_cv_path_JAVAC+set}" = set; then 13569 echo $ECHO_N "(cached) $ECHO_C" >&68775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8776 $as_echo_n "checking for $ac_word... " >&6; } 8777 if test "${ac_cv_path_JAVAC+set}" = set; then : 8778 $as_echo_n "(cached) " >&6 13570 8779 else 13571 8780 case $JAVAC in … … 13579 8788 IFS=$as_save_IFS 13580 8789 test -z "$as_dir" && as_dir=. 13581 for ac_exec_ext in '' $ac_executable_extensions; do8790 for ac_exec_ext in '' $ac_executable_extensions; do 13582 8791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13583 8792 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13585 8794 break 2 13586 8795 fi 13587 8796 done 13588 done8797 done 13589 8798 IFS=$as_save_IFS 13590 8799 … … 13594 8803 JAVAC=$ac_cv_path_JAVAC 13595 8804 if test -n "$JAVAC"; then 13596 { echo "$as_me:$LINENO: result: $JAVAC" >&513597 echo "${ECHO_T}$JAVAC" >&6; }13598 else 13599 { echo "$as_me:$LINENO: result: no" >&513600 echo "${ECHO_T}no" >&6; }8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8806 $as_echo "$JAVAC" >&6; } 8807 else 8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8809 $as_echo "no" >&6; } 13601 8810 fi 13602 8811 … … 13604 8813 # Extract the first word of "javah", so it can be a program name with args. 13605 8814 set dummy javah; ac_word=$2 13606 { echo "$as_me:$LINENO: checking for $ac_word" >&513607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13608 if test "${ac_cv_path_JAVAH+set}" = set; then 13609 echo $ECHO_N "(cached) $ECHO_C" >&68815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8816 $as_echo_n "checking for $ac_word... " >&6; } 8817 if test "${ac_cv_path_JAVAH+set}" = set; then : 8818 $as_echo_n "(cached) " >&6 13610 8819 else 13611 8820 case $JAVAH in … … 13619 8828 IFS=$as_save_IFS 13620 8829 test -z "$as_dir" && as_dir=. 13621 for ac_exec_ext in '' $ac_executable_extensions; do8830 for ac_exec_ext in '' $ac_executable_extensions; do 13622 8831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13623 8832 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13625 8834 break 2 13626 8835 fi 13627 8836 done 13628 done8837 done 13629 8838 IFS=$as_save_IFS 13630 8839 … … 13634 8843 JAVAH=$ac_cv_path_JAVAH 13635 8844 if test -n "$JAVAH"; then 13636 { echo "$as_me:$LINENO: result: $JAVAH" >&513637 echo "${ECHO_T}$JAVAH" >&6; }13638 else 13639 { echo "$as_me:$LINENO: result: no" >&513640 echo "${ECHO_T}no" >&6; }8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8846 $as_echo "$JAVAH" >&6; } 8847 else 8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8849 $as_echo "no" >&6; } 13641 8850 fi 13642 8851 … … 13645 8854 # Extract the first word of "java", so it can be a program name with args. 13646 8855 set dummy java; ac_word=$2 13647 { echo "$as_me:$LINENO: checking for $ac_word" >&513648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13649 if test "${ac_cv_path_JAVA+set}" = set; then 13650 echo $ECHO_N "(cached) $ECHO_C" >&68856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8857 $as_echo_n "checking for $ac_word... " >&6; } 8858 if test "${ac_cv_path_JAVA+set}" = set; then : 8859 $as_echo_n "(cached) " >&6 13651 8860 else 13652 8861 case $JAVA in … … 13661 8870 IFS=$as_save_IFS 13662 8871 test -z "$as_dir" && as_dir=. 13663 for ac_exec_ext in '' $ac_executable_extensions; do8872 for ac_exec_ext in '' $ac_executable_extensions; do 13664 8873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13665 8874 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13667 8876 break 2 13668 8877 fi 13669 8878 done 13670 done8879 done 13671 8880 IFS=$as_save_IFS 13672 8881 … … 13676 8885 JAVA=$ac_cv_path_JAVA 13677 8886 if test -n "$JAVA"; then 13678 { echo "$as_me:$LINENO: result: $JAVA" >&513679 echo "${ECHO_T}$JAVA" >&6; }13680 else 13681 { echo "$as_me:$LINENO: result: no" >&513682 echo "${ECHO_T}no" >&6; }8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8888 $as_echo "$JAVA" >&6; } 8889 else 8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8891 $as_echo "no" >&6; } 13683 8892 fi 13684 8893 … … 13686 8895 # Extract the first word of "javac", so it can be a program name with args. 13687 8896 set dummy javac; ac_word=$2 13688 { echo "$as_me:$LINENO: checking for $ac_word" >&513689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13690 if test "${ac_cv_path_JAVAC+set}" = set; then 13691 echo $ECHO_N "(cached) $ECHO_C" >&68897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8898 $as_echo_n "checking for $ac_word... " >&6; } 8899 if test "${ac_cv_path_JAVAC+set}" = set; then : 8900 $as_echo_n "(cached) " >&6 13692 8901 else 13693 8902 case $JAVAC in … … 13702 8911 IFS=$as_save_IFS 13703 8912 test -z "$as_dir" && as_dir=. 13704 for ac_exec_ext in '' $ac_executable_extensions; do8913 for ac_exec_ext in '' $ac_executable_extensions; do 13705 8914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13706 8915 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13708 8917 break 2 13709 8918 fi 13710 8919 done 13711 done8920 done 13712 8921 IFS=$as_save_IFS 13713 8922 … … 13717 8926 JAVAC=$ac_cv_path_JAVAC 13718 8927 if test -n "$JAVAC"; then 13719 { echo "$as_me:$LINENO: result: $JAVAC" >&513720 echo "${ECHO_T}$JAVAC" >&6; }13721 else 13722 { echo "$as_me:$LINENO: result: no" >&513723 echo "${ECHO_T}no" >&6; }8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8929 $as_echo "$JAVAC" >&6; } 8930 else 8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8932 $as_echo "no" >&6; } 13724 8933 fi 13725 8934 … … 13727 8936 # Extract the first word of "javah", so it can be a program name with args. 13728 8937 set dummy javah; ac_word=$2 13729 { echo "$as_me:$LINENO: checking for $ac_word" >&513730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13731 if test "${ac_cv_path_JAVAH+set}" = set; then 13732 echo $ECHO_N "(cached) $ECHO_C" >&68938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8939 $as_echo_n "checking for $ac_word... " >&6; } 8940 if test "${ac_cv_path_JAVAH+set}" = set; then : 8941 $as_echo_n "(cached) " >&6 13733 8942 else 13734 8943 case $JAVAH in … … 13743 8952 IFS=$as_save_IFS 13744 8953 test -z "$as_dir" && as_dir=. 13745 for ac_exec_ext in '' $ac_executable_extensions; do8954 for ac_exec_ext in '' $ac_executable_extensions; do 13746 8955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13747 8956 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13749 8958 break 2 13750 8959 fi 13751 8960 done 13752 done8961 done 13753 8962 IFS=$as_save_IFS 13754 8963 … … 13758 8967 JAVAH=$ac_cv_path_JAVAH 13759 8968 if test -n "$JAVAH"; then 13760 { echo "$as_me:$LINENO: result: $JAVAH" >&513761 echo "${ECHO_T}$JAVAH" >&6; }13762 else 13763 { echo "$as_me:$LINENO: result: no" >&513764 echo "${ECHO_T}no" >&6; }8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8970 $as_echo "$JAVAH" >&6; } 8971 else 8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8973 $as_echo "no" >&6; } 13765 8974 fi 13766 8975 … … 13804 9013 13805 9014 13806 { echo "$as_me:$LINENO: checking how to build libraries" >&513807 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 9016 $as_echo_n "checking how to build libraries... " >&6; } 13808 9017 # Check whether --enable-shared was given. 13809 if test "${enable_shared+set}" = set; then 9018 if test "${enable_shared+set}" = set; then : 13810 9019 enableval=$enable_shared; tcl_ok=$enableval 13811 9020 else … … 13822 9031 13823 9032 if test "$tcl_ok" = "yes" ; then 13824 { echo "$as_me:$LINENO: result: shared" >&513825 echo "${ECHO_T}shared" >&6; }9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 9034 $as_echo "shared" >&6; } 13826 9035 SHARED_BUILD=1 13827 9036 else 13828 { echo "$as_me:$LINENO: result: static" >&513829 echo "${ECHO_T}static" >&6; }9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 9038 $as_echo "static" >&6; } 13830 9039 SHARED_BUILD=0 13831 cat >>confdefs.h <<\_ACEOF 13832 #define STATIC_BUILD 1 13833 _ACEOF 9040 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13834 9041 13835 9042 fi … … 13866 9073 # ----------------------------------------------------------------------- 13867 9074 13868 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13869 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13870 if test "${ac_cv_c_bigendian+set}" = set; then 13871 echo $ECHO_N "(cached) $ECHO_C" >&6 13872 else 13873 # See if sys/param.h defines the BYTE_ORDER macro. 13874 cat >conftest.$ac_ext <<_ACEOF 13875 /* confdefs.h. */ 13876 _ACEOF 13877 cat confdefs.h >>conftest.$ac_ext 13878 cat >>conftest.$ac_ext <<_ACEOF 9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9076 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9077 if test "${ac_cv_c_bigendian+set}" = set; then : 9078 $as_echo_n "(cached) " >&6 9079 else 9080 ac_cv_c_bigendian=unknown 9081 # See if we're dealing with a universal compiler. 9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9083 /* end confdefs.h. */ 9084 #ifndef __APPLE_CC__ 9085 not a universal capable compiler 9086 #endif 9087 typedef int dummy; 9088 9089 _ACEOF 9090 if ac_fn_cxx_try_compile "$LINENO"; then : 9091 9092 # Check for potential -arch flags. It is not universal unless 9093 # there are at least two -arch flags with different values. 9094 ac_arch= 9095 ac_prev= 9096 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9097 if test -n "$ac_prev"; then 9098 case $ac_word in 9099 i?86 | x86_64 | ppc | ppc64) 9100 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9101 ac_arch=$ac_word 9102 else 9103 ac_cv_c_bigendian=universal 9104 break 9105 fi 9106 ;; 9107 esac 9108 ac_prev= 9109 elif test "x$ac_word" = "x-arch"; then 9110 ac_prev=arch 9111 fi 9112 done 9113 fi 9114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9115 if test $ac_cv_c_bigendian = unknown; then 9116 # See if sys/param.h defines the BYTE_ORDER macro. 9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13879 9118 /* end confdefs.h. */ 13880 9119 #include <sys/types.h> 13881 #include <sys/param.h>9120 #include <sys/param.h> 13882 9121 13883 9122 int 13884 9123 main () 13885 9124 { 13886 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13887 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13888 bogus endian macros 13889 #endif 9125 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 9126 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 9127 && LITTLE_ENDIAN) 9128 bogus endian macros 9129 #endif 13890 9130 13891 9131 ; … … 13893 9133 } 13894 9134 _ACEOF 13895 rm -f conftest.$ac_objext 13896 if { (ac_try="$ac_compile" 13897 case "(($ac_try" in 13898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13899 *) ac_try_echo=$ac_try;; 13900 esac 13901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13902 (eval "$ac_compile") 2>conftest.er1 13903 ac_status=$? 13904 grep -v '^ *+' conftest.er1 >conftest.err 13905 rm -f conftest.er1 13906 cat conftest.err >&5 13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13908 (exit $ac_status); } && { 13909 test -z "$ac_cxx_werror_flag" || 13910 test ! -s conftest.err 13911 } && test -s conftest.$ac_objext; then 9135 if ac_fn_cxx_try_compile "$LINENO"; then : 13912 9136 # It does; now see whether it defined to BIG_ENDIAN or not. 13913 cat >conftest.$ac_ext <<_ACEOF 13914 /* confdefs.h. */ 13915 _ACEOF 13916 cat confdefs.h >>conftest.$ac_ext 13917 cat >>conftest.$ac_ext <<_ACEOF 9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13918 9138 /* end confdefs.h. */ 13919 9139 #include <sys/types.h> 13920 #include <sys/param.h>9140 #include <sys/param.h> 13921 9141 13922 9142 int … … 13924 9144 { 13925 9145 #if BYTE_ORDER != BIG_ENDIAN 13926 not big endian13927 #endif9146 not big endian 9147 #endif 13928 9148 13929 9149 ; … … 13931 9151 } 13932 9152 _ACEOF 13933 rm -f conftest.$ac_objext 13934 if { (ac_try="$ac_compile" 13935 case "(($ac_try" in 13936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13937 *) ac_try_echo=$ac_try;; 13938 esac 13939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13940 (eval "$ac_compile") 2>conftest.er1 13941 ac_status=$? 13942 grep -v '^ *+' conftest.er1 >conftest.err 13943 rm -f conftest.er1 13944 cat conftest.err >&5 13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13946 (exit $ac_status); } && { 13947 test -z "$ac_cxx_werror_flag" || 13948 test ! -s conftest.err 13949 } && test -s conftest.$ac_objext; then 9153 if ac_fn_cxx_try_compile "$LINENO"; then : 13950 9154 ac_cv_c_bigendian=yes 13951 9155 else 13952 echo "$as_me: failed program was:" >&5 13953 sed 's/^/| /' conftest.$ac_ext >&5 13954 13955 ac_cv_c_bigendian=no 13956 fi 13957 9156 ac_cv_c_bigendian=no 9157 fi 13958 9158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13959 else 13960 echo "$as_me: failed program was:" >&5 13961 sed 's/^/| /' conftest.$ac_ext >&5 13962 13963 # It does not; compile a test program. 13964 if test "$cross_compiling" = yes; then 13965 # try to guess the endianness by grepping values into an object file 13966 ac_cv_c_bigendian=unknown 13967 cat >conftest.$ac_ext <<_ACEOF 13968 /* confdefs.h. */ 13969 _ACEOF 13970 cat confdefs.h >>conftest.$ac_ext 13971 cat >>conftest.$ac_ext <<_ACEOF 9159 fi 9160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9161 fi 9162 if test $ac_cv_c_bigendian = unknown; then 9163 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13972 9165 /* end confdefs.h. */ 13973 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13974 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13975 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 13976 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13977 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13978 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 9166 #include <limits.h> 9167 13979 9168 int 13980 9169 main () 13981 9170 { 13982 _ascii (); _ebcdic (); 9171 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 9172 bogus endian macros 9173 #endif 9174 13983 9175 ; 13984 9176 return 0; 13985 9177 } 13986 9178 _ACEOF 13987 rm -f conftest.$ac_objext 13988 if { (ac_try="$ac_compile" 13989 case "(($ac_try" in 13990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13991 *) ac_try_echo=$ac_try;; 13992 esac 13993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13994 (eval "$ac_compile") 2>conftest.er1 13995 ac_status=$? 13996 grep -v '^ *+' conftest.er1 >conftest.err 13997 rm -f conftest.er1 13998 cat conftest.err >&5 13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14000 (exit $ac_status); } && {14001 test -z "$ac_cxx_werror_flag" || 14002 test ! -s conftest.err 14003 } && test -s conftest.$ac_objext; then 14004 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 9179 if ac_fn_cxx_try_compile "$LINENO"; then : 9180 # It does; now see whether it defined to _BIG_ENDIAN or not. 9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9182 /* end confdefs.h. */ 9183 #include <limits.h> 9184 9185 int 9186 main () 9187 { 9188 #ifndef _BIG_ENDIAN 9189 not big endian 9190 #endif 9191 9192 ; 9193 return 0; 9194 } 9195 _ACEOF 9196 if ac_fn_cxx_try_compile "$LINENO"; then : 14005 9197 ac_cv_c_bigendian=yes 14006 fi 14007 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14008 if test "$ac_cv_c_bigendian" = unknown; then 14009 ac_cv_c_bigendian=no 14010 else 14011 # finding both strings is unlikely to happen, but who knows? 14012 ac_cv_c_bigendian=unknown 14013 fi 14014 fi 14015 else 14016 echo "$as_me: failed program was:" >&5 14017 sed 's/^/| /' conftest.$ac_ext >&5 14018 14019 14020 fi 14021 9198 else 9199 ac_cv_c_bigendian=no 9200 fi 14022 9201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14023 else 14024 cat >conftest.$ac_ext <<_ACEOF 14025 /* confdefs.h. */ 14026 _ACEOF 14027 cat confdefs.h >>conftest.$ac_ext 14028 cat >>conftest.$ac_ext <<_ACEOF 9202 fi 9203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9204 fi 9205 if test $ac_cv_c_bigendian = unknown; then 9206 # Compile a test program. 9207 if test "$cross_compiling" = yes; then : 9208 # Try to guess by grepping values from an object file. 9209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9210 /* end confdefs.h. */ 9211 short int ascii_mm[] = 9212 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9213 short int ascii_ii[] = 9214 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9215 int use_ascii (int i) { 9216 return ascii_mm[i] + ascii_ii[i]; 9217 } 9218 short int ebcdic_ii[] = 9219 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9220 short int ebcdic_mm[] = 9221 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9222 int use_ebcdic (int i) { 9223 return ebcdic_mm[i] + ebcdic_ii[i]; 9224 } 9225 extern int foo; 9226 9227 int 9228 main () 9229 { 9230 return use_ascii (foo) == use_ebcdic (foo); 9231 ; 9232 return 0; 9233 } 9234 _ACEOF 9235 if ac_fn_cxx_try_compile "$LINENO"; then : 9236 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9237 ac_cv_c_bigendian=yes 9238 fi 9239 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9240 if test "$ac_cv_c_bigendian" = unknown; then 9241 ac_cv_c_bigendian=no 9242 else 9243 # finding both strings is unlikely to happen, but who knows? 9244 ac_cv_c_bigendian=unknown 9245 fi 9246 fi 9247 fi 9248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9249 else 9250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14029 9251 /* end confdefs.h. */ 14030 9252 $ac_includes_default … … 14033 9255 { 14034 9256 14035 /* Are we little or big endian? From Harbison&Steele. */14036 union14037 {14038 long int l;14039 char c[sizeof (long int)];14040 } u;14041 u.l = 1;14042 return u.c[sizeof (long int) - 1] == 1;9257 /* Are we little or big endian? From Harbison&Steele. */ 9258 union 9259 { 9260 long int l; 9261 char c[sizeof (long int)]; 9262 } u; 9263 u.l = 1; 9264 return u.c[sizeof (long int) - 1] == 1; 14043 9265 14044 9266 ; … … 14046 9268 } 14047 9269 _ACEOF 14048 rm -f conftest$ac_exeext 14049 if { (ac_try="$ac_link" 14050 case "(($ac_try" in 14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14052 *) ac_try_echo=$ac_try;; 14053 esac 14054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14055 (eval "$ac_link") 2>&5 14056 ac_status=$? 14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14059 { (case "(($ac_try" in 14060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14061 *) ac_try_echo=$ac_try;; 14062 esac 14063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14064 (eval "$ac_try") 2>&5 14065 ac_status=$? 14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14067 (exit $ac_status); }; }; then 9270 if ac_fn_cxx_try_run "$LINENO"; then : 14068 9271 ac_cv_c_bigendian=no 14069 9272 else 14070 echo "$as_me: program exited with status $ac_status" >&5 14071 echo "$as_me: failed program was:" >&5 14072 sed 's/^/| /' conftest.$ac_ext >&5 14073 14074 ( exit $ac_status ) 14075 ac_cv_c_bigendian=yes 14076 fi 14077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14078 fi 14079 14080 14081 fi 14082 14083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14084 fi 14085 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 14086 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 14087 case $ac_cv_c_bigendian in 14088 yes) 14089 14090 cat >>confdefs.h <<\_ACEOF 14091 #define WORDS_BIGENDIAN 1 14092 _ACEOF 14093 ;; 14094 no) 14095 ;; 14096 *) 14097 { { echo "$as_me:$LINENO: error: unknown endianness 14098 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 14099 echo "$as_me: error: unknown endianness 14100 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 14101 { (exit 1); exit 1; }; } ;; 14102 esac 14103 14104 { echo "$as_me:$LINENO: checking for int" >&5 14105 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 14106 if test "${ac_cv_type_int+set}" = set; then 14107 echo $ECHO_N "(cached) $ECHO_C" >&6 14108 else 14109 cat >conftest.$ac_ext <<_ACEOF 14110 /* confdefs.h. */ 14111 _ACEOF 14112 cat confdefs.h >>conftest.$ac_ext 14113 cat >>conftest.$ac_ext <<_ACEOF 14114 /* end confdefs.h. */ 14115 $ac_includes_default 14116 typedef int ac__type_new_; 14117 int 14118 main () 14119 { 14120 if ((ac__type_new_ *) 0) 14121 return 0; 14122 if (sizeof (ac__type_new_)) 14123 return 0; 14124 ; 14125 return 0; 14126 } 14127 _ACEOF 14128 rm -f conftest.$ac_objext 14129 if { (ac_try="$ac_compile" 14130 case "(($ac_try" in 14131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14132 *) ac_try_echo=$ac_try;; 14133 esac 14134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14135 (eval "$ac_compile") 2>conftest.er1 14136 ac_status=$? 14137 grep -v '^ *+' conftest.er1 >conftest.err 14138 rm -f conftest.er1 14139 cat conftest.err >&5 14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14141 (exit $ac_status); } && { 14142 test -z "$ac_cxx_werror_flag" || 14143 test ! -s conftest.err 14144 } && test -s conftest.$ac_objext; then 14145 ac_cv_type_int=yes 14146 else 14147 echo "$as_me: failed program was:" >&5 14148 sed 's/^/| /' conftest.$ac_ext >&5 14149 14150 ac_cv_type_int=no 14151 fi 14152 14153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14154 fi 14155 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 14156 echo "${ECHO_T}$ac_cv_type_int" >&6; } 9273 ac_cv_c_bigendian=yes 9274 fi 9275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9276 conftest.$ac_objext conftest.beam conftest.$ac_ext 9277 fi 9278 9279 fi 9280 fi 9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9282 $as_echo "$ac_cv_c_bigendian" >&6; } 9283 case $ac_cv_c_bigendian in #( 9284 yes) 9285 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9286 ;; #( 9287 no) 9288 ;; #( 9289 universal) 9290 9291 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9292 9293 ;; #( 9294 *) 9295 as_fn_error $? "unknown endianness 9296 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9297 esac 14157 9298 14158 9299 # The cast to long int works around a bug in the HP C Compiler … … 14160 9301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14161 9302 # This bug is HP SR number 8606223364. 14162 { echo "$as_me:$LINENO: checking size of int" >&5 14163 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 14164 if test "${ac_cv_sizeof_int+set}" = set; then 14165 echo $ECHO_N "(cached) $ECHO_C" >&6 14166 else 14167 if test "$cross_compiling" = yes; then 14168 # Depending upon the size, compute the lo and hi bounds. 14169 cat >conftest.$ac_ext <<_ACEOF 14170 /* confdefs.h. */ 14171 _ACEOF 14172 cat confdefs.h >>conftest.$ac_ext 14173 cat >>conftest.$ac_ext <<_ACEOF 14174 /* end confdefs.h. */ 14175 $ac_includes_default 14176 typedef int ac__type_sizeof_; 14177 int 14178 main () 14179 { 14180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14181 test_array [0] = 0 14182 14183 ; 14184 return 0; 14185 } 14186 _ACEOF 14187 rm -f conftest.$ac_objext 14188 if { (ac_try="$ac_compile" 14189 case "(($ac_try" in 14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14191 *) ac_try_echo=$ac_try;; 14192 esac 14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14194 (eval "$ac_compile") 2>conftest.er1 14195 ac_status=$? 14196 grep -v '^ *+' conftest.er1 >conftest.err 14197 rm -f conftest.er1 14198 cat conftest.err >&5 14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14200 (exit $ac_status); } && { 14201 test -z "$ac_cxx_werror_flag" || 14202 test ! -s conftest.err 14203 } && test -s conftest.$ac_objext; then 14204 ac_lo=0 ac_mid=0 14205 while :; do 14206 cat >conftest.$ac_ext <<_ACEOF 14207 /* confdefs.h. */ 14208 _ACEOF 14209 cat confdefs.h >>conftest.$ac_ext 14210 cat >>conftest.$ac_ext <<_ACEOF 14211 /* end confdefs.h. */ 14212 $ac_includes_default 14213 typedef int ac__type_sizeof_; 14214 int 14215 main () 14216 { 14217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14218 test_array [0] = 0 14219 14220 ; 14221 return 0; 14222 } 14223 _ACEOF 14224 rm -f conftest.$ac_objext 14225 if { (ac_try="$ac_compile" 14226 case "(($ac_try" in 14227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14228 *) ac_try_echo=$ac_try;; 14229 esac 14230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14231 (eval "$ac_compile") 2>conftest.er1 14232 ac_status=$? 14233 grep -v '^ *+' conftest.er1 >conftest.err 14234 rm -f conftest.er1 14235 cat conftest.err >&5 14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14237 (exit $ac_status); } && { 14238 test -z "$ac_cxx_werror_flag" || 14239 test ! -s conftest.err 14240 } && test -s conftest.$ac_objext; then 14241 ac_hi=$ac_mid; break 14242 else 14243 echo "$as_me: failed program was:" >&5 14244 sed 's/^/| /' conftest.$ac_ext >&5 14245 14246 ac_lo=`expr $ac_mid + 1` 14247 if test $ac_lo -le $ac_mid; then 14248 ac_lo= ac_hi= 14249 break 14250 fi 14251 ac_mid=`expr 2 '*' $ac_mid + 1` 14252 fi 14253 14254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14255 done 14256 else 14257 echo "$as_me: failed program was:" >&5 14258 sed 's/^/| /' conftest.$ac_ext >&5 14259 14260 cat >conftest.$ac_ext <<_ACEOF 14261 /* confdefs.h. */ 14262 _ACEOF 14263 cat confdefs.h >>conftest.$ac_ext 14264 cat >>conftest.$ac_ext <<_ACEOF 14265 /* end confdefs.h. */ 14266 $ac_includes_default 14267 typedef int ac__type_sizeof_; 14268 int 14269 main () 14270 { 14271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14272 test_array [0] = 0 14273 14274 ; 14275 return 0; 14276 } 14277 _ACEOF 14278 rm -f conftest.$ac_objext 14279 if { (ac_try="$ac_compile" 14280 case "(($ac_try" in 14281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14282 *) ac_try_echo=$ac_try;; 14283 esac 14284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14285 (eval "$ac_compile") 2>conftest.er1 14286 ac_status=$? 14287 grep -v '^ *+' conftest.er1 >conftest.err 14288 rm -f conftest.er1 14289 cat conftest.err >&5 14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14291 (exit $ac_status); } && { 14292 test -z "$ac_cxx_werror_flag" || 14293 test ! -s conftest.err 14294 } && test -s conftest.$ac_objext; then 14295 ac_hi=-1 ac_mid=-1 14296 while :; do 14297 cat >conftest.$ac_ext <<_ACEOF 14298 /* confdefs.h. */ 14299 _ACEOF 14300 cat confdefs.h >>conftest.$ac_ext 14301 cat >>conftest.$ac_ext <<_ACEOF 14302 /* end confdefs.h. */ 14303 $ac_includes_default 14304 typedef int ac__type_sizeof_; 14305 int 14306 main () 14307 { 14308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14309 test_array [0] = 0 14310 14311 ; 14312 return 0; 14313 } 14314 _ACEOF 14315 rm -f conftest.$ac_objext 14316 if { (ac_try="$ac_compile" 14317 case "(($ac_try" in 14318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14319 *) ac_try_echo=$ac_try;; 14320 esac 14321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14322 (eval "$ac_compile") 2>conftest.er1 14323 ac_status=$? 14324 grep -v '^ *+' conftest.er1 >conftest.err 14325 rm -f conftest.er1 14326 cat conftest.err >&5 14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14328 (exit $ac_status); } && { 14329 test -z "$ac_cxx_werror_flag" || 14330 test ! -s conftest.err 14331 } && test -s conftest.$ac_objext; then 14332 ac_lo=$ac_mid; break 14333 else 14334 echo "$as_me: failed program was:" >&5 14335 sed 's/^/| /' conftest.$ac_ext >&5 14336 14337 ac_hi=`expr '(' $ac_mid ')' - 1` 14338 if test $ac_mid -le $ac_hi; then 14339 ac_lo= ac_hi= 14340 break 14341 fi 14342 ac_mid=`expr 2 '*' $ac_mid` 14343 fi 14344 14345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14346 done 14347 else 14348 echo "$as_me: failed program was:" >&5 14349 sed 's/^/| /' conftest.$ac_ext >&5 14350 14351 ac_lo= ac_hi= 14352 fi 14353 14354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14355 fi 14356 14357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14358 # Binary search between lo and hi bounds. 14359 while test "x$ac_lo" != "x$ac_hi"; do 14360 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14361 cat >conftest.$ac_ext <<_ACEOF 14362 /* confdefs.h. */ 14363 _ACEOF 14364 cat confdefs.h >>conftest.$ac_ext 14365 cat >>conftest.$ac_ext <<_ACEOF 14366 /* end confdefs.h. */ 14367 $ac_includes_default 14368 typedef int ac__type_sizeof_; 14369 int 14370 main () 14371 { 14372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14373 test_array [0] = 0 14374 14375 ; 14376 return 0; 14377 } 14378 _ACEOF 14379 rm -f conftest.$ac_objext 14380 if { (ac_try="$ac_compile" 14381 case "(($ac_try" in 14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14383 *) ac_try_echo=$ac_try;; 14384 esac 14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14386 (eval "$ac_compile") 2>conftest.er1 14387 ac_status=$? 14388 grep -v '^ *+' conftest.er1 >conftest.err 14389 rm -f conftest.er1 14390 cat conftest.err >&5 14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14392 (exit $ac_status); } && { 14393 test -z "$ac_cxx_werror_flag" || 14394 test ! -s conftest.err 14395 } && test -s conftest.$ac_objext; then 14396 ac_hi=$ac_mid 14397 else 14398 echo "$as_me: failed program was:" >&5 14399 sed 's/^/| /' conftest.$ac_ext >&5 14400 14401 ac_lo=`expr '(' $ac_mid ')' + 1` 14402 fi 14403 14404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14405 done 14406 case $ac_lo in 14407 ?*) ac_cv_sizeof_int=$ac_lo;; 14408 '') if test "$ac_cv_type_int" = yes; then 14409 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14410 See \`config.log' for more details." >&5 14411 echo "$as_me: error: cannot compute sizeof (int) 14412 See \`config.log' for more details." >&2;} 14413 { (exit 77); exit 77; }; } 14414 else 14415 ac_cv_sizeof_int=0 14416 fi ;; 14417 esac 14418 else 14419 cat >conftest.$ac_ext <<_ACEOF 14420 /* confdefs.h. */ 14421 _ACEOF 14422 cat confdefs.h >>conftest.$ac_ext 14423 cat >>conftest.$ac_ext <<_ACEOF 14424 /* end confdefs.h. */ 14425 $ac_includes_default 14426 typedef int ac__type_sizeof_; 14427 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14428 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14429 #include <stdio.h> 14430 #include <stdlib.h> 14431 int 14432 main () 14433 { 14434 14435 FILE *f = fopen ("conftest.val", "w"); 14436 if (! f) 14437 return 1; 14438 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14439 { 14440 long int i = longval (); 14441 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14442 return 1; 14443 fprintf (f, "%ld\n", i); 14444 } 14445 else 14446 { 14447 unsigned long int i = ulongval (); 14448 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14449 return 1; 14450 fprintf (f, "%lu\n", i); 14451 } 14452 return ferror (f) || fclose (f) != 0; 14453 14454 ; 14455 return 0; 14456 } 14457 _ACEOF 14458 rm -f conftest$ac_exeext 14459 if { (ac_try="$ac_link" 14460 case "(($ac_try" in 14461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14462 *) ac_try_echo=$ac_try;; 14463 esac 14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14465 (eval "$ac_link") 2>&5 14466 ac_status=$? 14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14469 { (case "(($ac_try" in 14470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14471 *) ac_try_echo=$ac_try;; 14472 esac 14473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14474 (eval "$ac_try") 2>&5 14475 ac_status=$? 14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14477 (exit $ac_status); }; }; then 14478 ac_cv_sizeof_int=`cat conftest.val` 14479 else 14480 echo "$as_me: program exited with status $ac_status" >&5 14481 echo "$as_me: failed program was:" >&5 14482 sed 's/^/| /' conftest.$ac_ext >&5 14483 14484 ( exit $ac_status ) 14485 if test "$ac_cv_type_int" = yes; then 14486 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14487 See \`config.log' for more details." >&5 14488 echo "$as_me: error: cannot compute sizeof (int) 14489 See \`config.log' for more details." >&2;} 14490 { (exit 77); exit 77; }; } 9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9304 $as_echo_n "checking size of int... " >&6; } 9305 if test "${ac_cv_sizeof_int+set}" = set; then : 9306 $as_echo_n "(cached) " >&6 9307 else 9308 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9309 9310 else 9311 if test "$ac_cv_type_int" = yes; then 9312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9314 as_fn_error 77 "cannot compute sizeof (int) 9315 See \`config.log' for more details" "$LINENO" 5 ; } 14491 9316 else 14492 9317 ac_cv_sizeof_int=0 14493 9318 fi 14494 9319 fi 14495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14496 fi 14497 rm -f conftest.val 14498 fi 14499 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 14500 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 9320 9321 fi 9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9323 $as_echo "$ac_cv_sizeof_int" >&6; } 14501 9324 14502 9325 … … 14506 9329 _ACEOF 14507 9330 14508 14509 { echo "$as_me:$LINENO: checking for long" >&514510 echo $ECHO_N "checking for long... $ECHO_C" >&6; }14511 if test "${ac_cv_type_long+set}" = set; then14512 echo $ECHO_N "(cached) $ECHO_C" >&614513 else14514 cat >conftest.$ac_ext <<_ACEOF14515 /* confdefs.h. */14516 _ACEOF14517 cat confdefs.h >>conftest.$ac_ext14518 cat >>conftest.$ac_ext <<_ACEOF14519 /* end confdefs.h. */14520 $ac_includes_default14521 typedef long ac__type_new_;14522 int14523 main ()14524 {14525 if ((ac__type_new_ *) 0)14526 return 0;14527 if (sizeof (ac__type_new_))14528 return 0;14529 ;14530 return 0;14531 }14532 _ACEOF14533 rm -f conftest.$ac_objext14534 if { (ac_try="$ac_compile"14535 case "(($ac_try" in14536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14537 *) ac_try_echo=$ac_try;;14538 esac14539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514540 (eval "$ac_compile") 2>conftest.er114541 ac_status=$?14542 grep -v '^ *+' conftest.er1 >conftest.err14543 rm -f conftest.er114544 cat conftest.err >&514545 echo "$as_me:$LINENO: \$? = $ac_status" >&514546 (exit $ac_status); } && {14547 test -z "$ac_cxx_werror_flag" ||14548 test ! -s conftest.err14549 } && test -s conftest.$ac_objext; then14550 ac_cv_type_long=yes14551 else14552 echo "$as_me: failed program was:" >&514553 sed 's/^/| /' conftest.$ac_ext >&514554 14555 ac_cv_type_long=no14556 fi14557 14558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14559 fi14560 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&514561 echo "${ECHO_T}$ac_cv_type_long" >&6; }14562 9331 14563 9332 # The cast to long int works around a bug in the HP C Compiler … … 14565 9334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14566 9335 # This bug is HP SR number 8606223364. 14567 { echo "$as_me:$LINENO: checking size of long" >&5 14568 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 14569 if test "${ac_cv_sizeof_long+set}" = set; then 14570 echo $ECHO_N "(cached) $ECHO_C" >&6 14571 else 14572 if test "$cross_compiling" = yes; then 14573 # Depending upon the size, compute the lo and hi bounds. 14574 cat >conftest.$ac_ext <<_ACEOF 14575 /* confdefs.h. */ 14576 _ACEOF 14577 cat confdefs.h >>conftest.$ac_ext 14578 cat >>conftest.$ac_ext <<_ACEOF 14579 /* end confdefs.h. */ 14580 $ac_includes_default 14581 typedef long ac__type_sizeof_; 14582 int 14583 main () 14584 { 14585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14586 test_array [0] = 0 14587 14588 ; 14589 return 0; 14590 } 14591 _ACEOF 14592 rm -f conftest.$ac_objext 14593 if { (ac_try="$ac_compile" 14594 case "(($ac_try" in 14595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14596 *) ac_try_echo=$ac_try;; 14597 esac 14598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14599 (eval "$ac_compile") 2>conftest.er1 14600 ac_status=$? 14601 grep -v '^ *+' conftest.er1 >conftest.err 14602 rm -f conftest.er1 14603 cat conftest.err >&5 14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14605 (exit $ac_status); } && { 14606 test -z "$ac_cxx_werror_flag" || 14607 test ! -s conftest.err 14608 } && test -s conftest.$ac_objext; then 14609 ac_lo=0 ac_mid=0 14610 while :; do 14611 cat >conftest.$ac_ext <<_ACEOF 14612 /* confdefs.h. */ 14613 _ACEOF 14614 cat confdefs.h >>conftest.$ac_ext 14615 cat >>conftest.$ac_ext <<_ACEOF 14616 /* end confdefs.h. */ 14617 $ac_includes_default 14618 typedef long ac__type_sizeof_; 14619 int 14620 main () 14621 { 14622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14623 test_array [0] = 0 14624 14625 ; 14626 return 0; 14627 } 14628 _ACEOF 14629 rm -f conftest.$ac_objext 14630 if { (ac_try="$ac_compile" 14631 case "(($ac_try" in 14632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14633 *) ac_try_echo=$ac_try;; 14634 esac 14635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14636 (eval "$ac_compile") 2>conftest.er1 14637 ac_status=$? 14638 grep -v '^ *+' conftest.er1 >conftest.err 14639 rm -f conftest.er1 14640 cat conftest.err >&5 14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14642 (exit $ac_status); } && { 14643 test -z "$ac_cxx_werror_flag" || 14644 test ! -s conftest.err 14645 } && test -s conftest.$ac_objext; then 14646 ac_hi=$ac_mid; break 14647 else 14648 echo "$as_me: failed program was:" >&5 14649 sed 's/^/| /' conftest.$ac_ext >&5 14650 14651 ac_lo=`expr $ac_mid + 1` 14652 if test $ac_lo -le $ac_mid; then 14653 ac_lo= ac_hi= 14654 break 14655 fi 14656 ac_mid=`expr 2 '*' $ac_mid + 1` 14657 fi 14658 14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14660 done 14661 else 14662 echo "$as_me: failed program was:" >&5 14663 sed 's/^/| /' conftest.$ac_ext >&5 14664 14665 cat >conftest.$ac_ext <<_ACEOF 14666 /* confdefs.h. */ 14667 _ACEOF 14668 cat confdefs.h >>conftest.$ac_ext 14669 cat >>conftest.$ac_ext <<_ACEOF 14670 /* end confdefs.h. */ 14671 $ac_includes_default 14672 typedef long ac__type_sizeof_; 14673 int 14674 main () 14675 { 14676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14677 test_array [0] = 0 14678 14679 ; 14680 return 0; 14681 } 14682 _ACEOF 14683 rm -f conftest.$ac_objext 14684 if { (ac_try="$ac_compile" 14685 case "(($ac_try" in 14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14687 *) ac_try_echo=$ac_try;; 14688 esac 14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14690 (eval "$ac_compile") 2>conftest.er1 14691 ac_status=$? 14692 grep -v '^ *+' conftest.er1 >conftest.err 14693 rm -f conftest.er1 14694 cat conftest.err >&5 14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14696 (exit $ac_status); } && { 14697 test -z "$ac_cxx_werror_flag" || 14698 test ! -s conftest.err 14699 } && test -s conftest.$ac_objext; then 14700 ac_hi=-1 ac_mid=-1 14701 while :; do 14702 cat >conftest.$ac_ext <<_ACEOF 14703 /* confdefs.h. */ 14704 _ACEOF 14705 cat confdefs.h >>conftest.$ac_ext 14706 cat >>conftest.$ac_ext <<_ACEOF 14707 /* end confdefs.h. */ 14708 $ac_includes_default 14709 typedef long ac__type_sizeof_; 14710 int 14711 main () 14712 { 14713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14714 test_array [0] = 0 14715 14716 ; 14717 return 0; 14718 } 14719 _ACEOF 14720 rm -f conftest.$ac_objext 14721 if { (ac_try="$ac_compile" 14722 case "(($ac_try" in 14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14724 *) ac_try_echo=$ac_try;; 14725 esac 14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14727 (eval "$ac_compile") 2>conftest.er1 14728 ac_status=$? 14729 grep -v '^ *+' conftest.er1 >conftest.err 14730 rm -f conftest.er1 14731 cat conftest.err >&5 14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14733 (exit $ac_status); } && { 14734 test -z "$ac_cxx_werror_flag" || 14735 test ! -s conftest.err 14736 } && test -s conftest.$ac_objext; then 14737 ac_lo=$ac_mid; break 14738 else 14739 echo "$as_me: failed program was:" >&5 14740 sed 's/^/| /' conftest.$ac_ext >&5 14741 14742 ac_hi=`expr '(' $ac_mid ')' - 1` 14743 if test $ac_mid -le $ac_hi; then 14744 ac_lo= ac_hi= 14745 break 14746 fi 14747 ac_mid=`expr 2 '*' $ac_mid` 14748 fi 14749 14750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14751 done 14752 else 14753 echo "$as_me: failed program was:" >&5 14754 sed 's/^/| /' conftest.$ac_ext >&5 14755 14756 ac_lo= ac_hi= 14757 fi 14758 14759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14760 fi 14761 14762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14763 # Binary search between lo and hi bounds. 14764 while test "x$ac_lo" != "x$ac_hi"; do 14765 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14766 cat >conftest.$ac_ext <<_ACEOF 14767 /* confdefs.h. */ 14768 _ACEOF 14769 cat confdefs.h >>conftest.$ac_ext 14770 cat >>conftest.$ac_ext <<_ACEOF 14771 /* end confdefs.h. */ 14772 $ac_includes_default 14773 typedef long ac__type_sizeof_; 14774 int 14775 main () 14776 { 14777 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14778 test_array [0] = 0 14779 14780 ; 14781 return 0; 14782 } 14783 _ACEOF 14784 rm -f conftest.$ac_objext 14785 if { (ac_try="$ac_compile" 14786 case "(($ac_try" in 14787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14788 *) ac_try_echo=$ac_try;; 14789 esac 14790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14791 (eval "$ac_compile") 2>conftest.er1 14792 ac_status=$? 14793 grep -v '^ *+' conftest.er1 >conftest.err 14794 rm -f conftest.er1 14795 cat conftest.err >&5 14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14797 (exit $ac_status); } && { 14798 test -z "$ac_cxx_werror_flag" || 14799 test ! -s conftest.err 14800 } && test -s conftest.$ac_objext; then 14801 ac_hi=$ac_mid 14802 else 14803 echo "$as_me: failed program was:" >&5 14804 sed 's/^/| /' conftest.$ac_ext >&5 14805 14806 ac_lo=`expr '(' $ac_mid ')' + 1` 14807 fi 14808 14809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14810 done 14811 case $ac_lo in 14812 ?*) ac_cv_sizeof_long=$ac_lo;; 14813 '') if test "$ac_cv_type_long" = yes; then 14814 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14815 See \`config.log' for more details." >&5 14816 echo "$as_me: error: cannot compute sizeof (long) 14817 See \`config.log' for more details." >&2;} 14818 { (exit 77); exit 77; }; } 14819 else 14820 ac_cv_sizeof_long=0 14821 fi ;; 14822 esac 14823 else 14824 cat >conftest.$ac_ext <<_ACEOF 14825 /* confdefs.h. */ 14826 _ACEOF 14827 cat confdefs.h >>conftest.$ac_ext 14828 cat >>conftest.$ac_ext <<_ACEOF 14829 /* end confdefs.h. */ 14830 $ac_includes_default 14831 typedef long ac__type_sizeof_; 14832 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14833 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14834 #include <stdio.h> 14835 #include <stdlib.h> 14836 int 14837 main () 14838 { 14839 14840 FILE *f = fopen ("conftest.val", "w"); 14841 if (! f) 14842 return 1; 14843 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14844 { 14845 long int i = longval (); 14846 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14847 return 1; 14848 fprintf (f, "%ld\n", i); 14849 } 14850 else 14851 { 14852 unsigned long int i = ulongval (); 14853 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14854 return 1; 14855 fprintf (f, "%lu\n", i); 14856 } 14857 return ferror (f) || fclose (f) != 0; 14858 14859 ; 14860 return 0; 14861 } 14862 _ACEOF 14863 rm -f conftest$ac_exeext 14864 if { (ac_try="$ac_link" 14865 case "(($ac_try" in 14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14867 *) ac_try_echo=$ac_try;; 14868 esac 14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14870 (eval "$ac_link") 2>&5 14871 ac_status=$? 14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14874 { (case "(($ac_try" in 14875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14876 *) ac_try_echo=$ac_try;; 14877 esac 14878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14879 (eval "$ac_try") 2>&5 14880 ac_status=$? 14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14882 (exit $ac_status); }; }; then 14883 ac_cv_sizeof_long=`cat conftest.val` 14884 else 14885 echo "$as_me: program exited with status $ac_status" >&5 14886 echo "$as_me: failed program was:" >&5 14887 sed 's/^/| /' conftest.$ac_ext >&5 14888 14889 ( exit $ac_status ) 14890 if test "$ac_cv_type_long" = yes; then 14891 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14892 See \`config.log' for more details." >&5 14893 echo "$as_me: error: cannot compute sizeof (long) 14894 See \`config.log' for more details." >&2;} 14895 { (exit 77); exit 77; }; } 9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9337 $as_echo_n "checking size of long... " >&6; } 9338 if test "${ac_cv_sizeof_long+set}" = set; then : 9339 $as_echo_n "(cached) " >&6 9340 else 9341 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9342 9343 else 9344 if test "$ac_cv_type_long" = yes; then 9345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9347 as_fn_error 77 "cannot compute sizeof (long) 9348 See \`config.log' for more details" "$LINENO" 5 ; } 14896 9349 else 14897 9350 ac_cv_sizeof_long=0 14898 9351 fi 14899 9352 fi 14900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14901 fi 14902 rm -f conftest.val 14903 fi 14904 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 14905 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 9353 9354 fi 9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9356 $as_echo "$ac_cv_sizeof_long" >&6; } 14906 9357 14907 9358 … … 14911 9362 _ACEOF 14912 9363 14913 14914 { echo "$as_me:$LINENO: checking for long long" >&514915 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }14916 if test "${ac_cv_type_long_long+set}" = set; then14917 echo $ECHO_N "(cached) $ECHO_C" >&614918 else14919 cat >conftest.$ac_ext <<_ACEOF14920 /* confdefs.h. */14921 _ACEOF14922 cat confdefs.h >>conftest.$ac_ext14923 cat >>conftest.$ac_ext <<_ACEOF14924 /* end confdefs.h. */14925 $ac_includes_default14926 typedef long long ac__type_new_;14927 int14928 main ()14929 {14930 if ((ac__type_new_ *) 0)14931 return 0;14932 if (sizeof (ac__type_new_))14933 return 0;14934 ;14935 return 0;14936 }14937 _ACEOF14938 rm -f conftest.$ac_objext14939 if { (ac_try="$ac_compile"14940 case "(($ac_try" in14941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14942 *) ac_try_echo=$ac_try;;14943 esac14944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514945 (eval "$ac_compile") 2>conftest.er114946 ac_status=$?14947 grep -v '^ *+' conftest.er1 >conftest.err14948 rm -f conftest.er114949 cat conftest.err >&514950 echo "$as_me:$LINENO: \$? = $ac_status" >&514951 (exit $ac_status); } && {14952 test -z "$ac_cxx_werror_flag" ||14953 test ! -s conftest.err14954 } && test -s conftest.$ac_objext; then14955 ac_cv_type_long_long=yes14956 else14957 echo "$as_me: failed program was:" >&514958 sed 's/^/| /' conftest.$ac_ext >&514959 14960 ac_cv_type_long_long=no14961 fi14962 14963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14964 fi14965 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&514966 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }14967 9364 14968 9365 # The cast to long int works around a bug in the HP C Compiler … … 14970 9367 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14971 9368 # This bug is HP SR number 8606223364. 14972 { echo "$as_me:$LINENO: checking size of long long" >&5 14973 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 14974 if test "${ac_cv_sizeof_long_long+set}" = set; then 14975 echo $ECHO_N "(cached) $ECHO_C" >&6 14976 else 14977 if test "$cross_compiling" = yes; then 14978 # Depending upon the size, compute the lo and hi bounds. 14979 cat >conftest.$ac_ext <<_ACEOF 14980 /* confdefs.h. */ 14981 _ACEOF 14982 cat confdefs.h >>conftest.$ac_ext 14983 cat >>conftest.$ac_ext <<_ACEOF 14984 /* end confdefs.h. */ 14985 $ac_includes_default 14986 typedef long long ac__type_sizeof_; 14987 int 14988 main () 14989 { 14990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14991 test_array [0] = 0 14992 14993 ; 14994 return 0; 14995 } 14996 _ACEOF 14997 rm -f conftest.$ac_objext 14998 if { (ac_try="$ac_compile" 14999 case "(($ac_try" in 15000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15001 *) ac_try_echo=$ac_try;; 15002 esac 15003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15004 (eval "$ac_compile") 2>conftest.er1 15005 ac_status=$? 15006 grep -v '^ *+' conftest.er1 >conftest.err 15007 rm -f conftest.er1 15008 cat conftest.err >&5 15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15010 (exit $ac_status); } && { 15011 test -z "$ac_cxx_werror_flag" || 15012 test ! -s conftest.err 15013 } && test -s conftest.$ac_objext; then 15014 ac_lo=0 ac_mid=0 15015 while :; do 15016 cat >conftest.$ac_ext <<_ACEOF 15017 /* confdefs.h. */ 15018 _ACEOF 15019 cat confdefs.h >>conftest.$ac_ext 15020 cat >>conftest.$ac_ext <<_ACEOF 15021 /* end confdefs.h. */ 15022 $ac_includes_default 15023 typedef long long ac__type_sizeof_; 15024 int 15025 main () 15026 { 15027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15028 test_array [0] = 0 15029 15030 ; 15031 return 0; 15032 } 15033 _ACEOF 15034 rm -f conftest.$ac_objext 15035 if { (ac_try="$ac_compile" 15036 case "(($ac_try" in 15037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15038 *) ac_try_echo=$ac_try;; 15039 esac 15040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15041 (eval "$ac_compile") 2>conftest.er1 15042 ac_status=$? 15043 grep -v '^ *+' conftest.er1 >conftest.err 15044 rm -f conftest.er1 15045 cat conftest.err >&5 15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15047 (exit $ac_status); } && { 15048 test -z "$ac_cxx_werror_flag" || 15049 test ! -s conftest.err 15050 } && test -s conftest.$ac_objext; then 15051 ac_hi=$ac_mid; break 15052 else 15053 echo "$as_me: failed program was:" >&5 15054 sed 's/^/| /' conftest.$ac_ext >&5 15055 15056 ac_lo=`expr $ac_mid + 1` 15057 if test $ac_lo -le $ac_mid; then 15058 ac_lo= ac_hi= 15059 break 15060 fi 15061 ac_mid=`expr 2 '*' $ac_mid + 1` 15062 fi 15063 15064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15065 done 15066 else 15067 echo "$as_me: failed program was:" >&5 15068 sed 's/^/| /' conftest.$ac_ext >&5 15069 15070 cat >conftest.$ac_ext <<_ACEOF 15071 /* confdefs.h. */ 15072 _ACEOF 15073 cat confdefs.h >>conftest.$ac_ext 15074 cat >>conftest.$ac_ext <<_ACEOF 15075 /* end confdefs.h. */ 15076 $ac_includes_default 15077 typedef long long ac__type_sizeof_; 15078 int 15079 main () 15080 { 15081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15082 test_array [0] = 0 15083 15084 ; 15085 return 0; 15086 } 15087 _ACEOF 15088 rm -f conftest.$ac_objext 15089 if { (ac_try="$ac_compile" 15090 case "(($ac_try" in 15091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15092 *) ac_try_echo=$ac_try;; 15093 esac 15094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15095 (eval "$ac_compile") 2>conftest.er1 15096 ac_status=$? 15097 grep -v '^ *+' conftest.er1 >conftest.err 15098 rm -f conftest.er1 15099 cat conftest.err >&5 15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15101 (exit $ac_status); } && { 15102 test -z "$ac_cxx_werror_flag" || 15103 test ! -s conftest.err 15104 } && test -s conftest.$ac_objext; then 15105 ac_hi=-1 ac_mid=-1 15106 while :; do 15107 cat >conftest.$ac_ext <<_ACEOF 15108 /* confdefs.h. */ 15109 _ACEOF 15110 cat confdefs.h >>conftest.$ac_ext 15111 cat >>conftest.$ac_ext <<_ACEOF 15112 /* end confdefs.h. */ 15113 $ac_includes_default 15114 typedef long long ac__type_sizeof_; 15115 int 15116 main () 15117 { 15118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15119 test_array [0] = 0 15120 15121 ; 15122 return 0; 15123 } 15124 _ACEOF 15125 rm -f conftest.$ac_objext 15126 if { (ac_try="$ac_compile" 15127 case "(($ac_try" in 15128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15129 *) ac_try_echo=$ac_try;; 15130 esac 15131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15132 (eval "$ac_compile") 2>conftest.er1 15133 ac_status=$? 15134 grep -v '^ *+' conftest.er1 >conftest.err 15135 rm -f conftest.er1 15136 cat conftest.err >&5 15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15138 (exit $ac_status); } && { 15139 test -z "$ac_cxx_werror_flag" || 15140 test ! -s conftest.err 15141 } && test -s conftest.$ac_objext; then 15142 ac_lo=$ac_mid; break 15143 else 15144 echo "$as_me: failed program was:" >&5 15145 sed 's/^/| /' conftest.$ac_ext >&5 15146 15147 ac_hi=`expr '(' $ac_mid ')' - 1` 15148 if test $ac_mid -le $ac_hi; then 15149 ac_lo= ac_hi= 15150 break 15151 fi 15152 ac_mid=`expr 2 '*' $ac_mid` 15153 fi 15154 15155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15156 done 15157 else 15158 echo "$as_me: failed program was:" >&5 15159 sed 's/^/| /' conftest.$ac_ext >&5 15160 15161 ac_lo= ac_hi= 15162 fi 15163 15164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15165 fi 15166 15167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15168 # Binary search between lo and hi bounds. 15169 while test "x$ac_lo" != "x$ac_hi"; do 15170 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15171 cat >conftest.$ac_ext <<_ACEOF 15172 /* confdefs.h. */ 15173 _ACEOF 15174 cat confdefs.h >>conftest.$ac_ext 15175 cat >>conftest.$ac_ext <<_ACEOF 15176 /* end confdefs.h. */ 15177 $ac_includes_default 15178 typedef long long ac__type_sizeof_; 15179 int 15180 main () 15181 { 15182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15183 test_array [0] = 0 15184 15185 ; 15186 return 0; 15187 } 15188 _ACEOF 15189 rm -f conftest.$ac_objext 15190 if { (ac_try="$ac_compile" 15191 case "(($ac_try" in 15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15193 *) ac_try_echo=$ac_try;; 15194 esac 15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15196 (eval "$ac_compile") 2>conftest.er1 15197 ac_status=$? 15198 grep -v '^ *+' conftest.er1 >conftest.err 15199 rm -f conftest.er1 15200 cat conftest.err >&5 15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15202 (exit $ac_status); } && { 15203 test -z "$ac_cxx_werror_flag" || 15204 test ! -s conftest.err 15205 } && test -s conftest.$ac_objext; then 15206 ac_hi=$ac_mid 15207 else 15208 echo "$as_me: failed program was:" >&5 15209 sed 's/^/| /' conftest.$ac_ext >&5 15210 15211 ac_lo=`expr '(' $ac_mid ')' + 1` 15212 fi 15213 15214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15215 done 15216 case $ac_lo in 15217 ?*) ac_cv_sizeof_long_long=$ac_lo;; 15218 '') if test "$ac_cv_type_long_long" = yes; then 15219 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15220 See \`config.log' for more details." >&5 15221 echo "$as_me: error: cannot compute sizeof (long long) 15222 See \`config.log' for more details." >&2;} 15223 { (exit 77); exit 77; }; } 15224 else 15225 ac_cv_sizeof_long_long=0 15226 fi ;; 15227 esac 15228 else 15229 cat >conftest.$ac_ext <<_ACEOF 15230 /* confdefs.h. */ 15231 _ACEOF 15232 cat confdefs.h >>conftest.$ac_ext 15233 cat >>conftest.$ac_ext <<_ACEOF 15234 /* end confdefs.h. */ 15235 $ac_includes_default 15236 typedef long long ac__type_sizeof_; 15237 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15238 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15239 #include <stdio.h> 15240 #include <stdlib.h> 15241 int 15242 main () 15243 { 15244 15245 FILE *f = fopen ("conftest.val", "w"); 15246 if (! f) 15247 return 1; 15248 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15249 { 15250 long int i = longval (); 15251 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15252 return 1; 15253 fprintf (f, "%ld\n", i); 15254 } 15255 else 15256 { 15257 unsigned long int i = ulongval (); 15258 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15259 return 1; 15260 fprintf (f, "%lu\n", i); 15261 } 15262 return ferror (f) || fclose (f) != 0; 15263 15264 ; 15265 return 0; 15266 } 15267 _ACEOF 15268 rm -f conftest$ac_exeext 15269 if { (ac_try="$ac_link" 15270 case "(($ac_try" in 15271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15272 *) ac_try_echo=$ac_try;; 15273 esac 15274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15275 (eval "$ac_link") 2>&5 15276 ac_status=$? 15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15279 { (case "(($ac_try" in 15280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15281 *) ac_try_echo=$ac_try;; 15282 esac 15283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15284 (eval "$ac_try") 2>&5 15285 ac_status=$? 15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15287 (exit $ac_status); }; }; then 15288 ac_cv_sizeof_long_long=`cat conftest.val` 15289 else 15290 echo "$as_me: program exited with status $ac_status" >&5 15291 echo "$as_me: failed program was:" >&5 15292 sed 's/^/| /' conftest.$ac_ext >&5 15293 15294 ( exit $ac_status ) 15295 if test "$ac_cv_type_long_long" = yes; then 15296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15297 See \`config.log' for more details." >&5 15298 echo "$as_me: error: cannot compute sizeof (long long) 15299 See \`config.log' for more details." >&2;} 15300 { (exit 77); exit 77; }; } 9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 9370 $as_echo_n "checking size of long long... " >&6; } 9371 if test "${ac_cv_sizeof_long_long+set}" = set; then : 9372 $as_echo_n "(cached) " >&6 9373 else 9374 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9375 9376 else 9377 if test "$ac_cv_type_long_long" = yes; then 9378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9380 as_fn_error 77 "cannot compute sizeof (long long) 9381 See \`config.log' for more details" "$LINENO" 5 ; } 15301 9382 else 15302 9383 ac_cv_sizeof_long_long=0 15303 9384 fi 15304 9385 fi 15305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15306 fi 15307 rm -f conftest.val 15308 fi 15309 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 15310 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 9386 9387 fi 9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 9389 $as_echo "$ac_cv_sizeof_long_long" >&6; } 15311 9390 15312 9391 … … 15316 9395 _ACEOF 15317 9396 15318 15319 { echo "$as_me:$LINENO: checking for void *" >&515320 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }15321 if test "${ac_cv_type_void_p+set}" = set; then15322 echo $ECHO_N "(cached) $ECHO_C" >&615323 else15324 cat >conftest.$ac_ext <<_ACEOF15325 /* confdefs.h. */15326 _ACEOF15327 cat confdefs.h >>conftest.$ac_ext15328 cat >>conftest.$ac_ext <<_ACEOF15329 /* end confdefs.h. */15330 $ac_includes_default15331 typedef void * ac__type_new_;15332 int15333 main ()15334 {15335 if ((ac__type_new_ *) 0)15336 return 0;15337 if (sizeof (ac__type_new_))15338 return 0;15339 ;15340 return 0;15341 }15342 _ACEOF15343 rm -f conftest.$ac_objext15344 if { (ac_try="$ac_compile"15345 case "(($ac_try" in15346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15347 *) ac_try_echo=$ac_try;;15348 esac15349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515350 (eval "$ac_compile") 2>conftest.er115351 ac_status=$?15352 grep -v '^ *+' conftest.er1 >conftest.err15353 rm -f conftest.er115354 cat conftest.err >&515355 echo "$as_me:$LINENO: \$? = $ac_status" >&515356 (exit $ac_status); } && {15357 test -z "$ac_cxx_werror_flag" ||15358 test ! -s conftest.err15359 } && test -s conftest.$ac_objext; then15360 ac_cv_type_void_p=yes15361 else15362 echo "$as_me: failed program was:" >&515363 sed 's/^/| /' conftest.$ac_ext >&515364 15365 ac_cv_type_void_p=no15366 fi15367 15368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15369 fi15370 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&515371 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }15372 9397 15373 9398 # The cast to long int works around a bug in the HP C Compiler … … 15375 9400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15376 9401 # This bug is HP SR number 8606223364. 15377 { echo "$as_me:$LINENO: checking size of void *" >&5 15378 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 15379 if test "${ac_cv_sizeof_void_p+set}" = set; then 15380 echo $ECHO_N "(cached) $ECHO_C" >&6 15381 else 15382 if test "$cross_compiling" = yes; then 15383 # Depending upon the size, compute the lo and hi bounds. 15384 cat >conftest.$ac_ext <<_ACEOF 15385 /* confdefs.h. */ 15386 _ACEOF 15387 cat confdefs.h >>conftest.$ac_ext 15388 cat >>conftest.$ac_ext <<_ACEOF 15389 /* end confdefs.h. */ 15390 $ac_includes_default 15391 typedef void * ac__type_sizeof_; 15392 int 15393 main () 15394 { 15395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15396 test_array [0] = 0 15397 15398 ; 15399 return 0; 15400 } 15401 _ACEOF 15402 rm -f conftest.$ac_objext 15403 if { (ac_try="$ac_compile" 15404 case "(($ac_try" in 15405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15406 *) ac_try_echo=$ac_try;; 15407 esac 15408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15409 (eval "$ac_compile") 2>conftest.er1 15410 ac_status=$? 15411 grep -v '^ *+' conftest.er1 >conftest.err 15412 rm -f conftest.er1 15413 cat conftest.err >&5 15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15415 (exit $ac_status); } && { 15416 test -z "$ac_cxx_werror_flag" || 15417 test ! -s conftest.err 15418 } && test -s conftest.$ac_objext; then 15419 ac_lo=0 ac_mid=0 15420 while :; do 15421 cat >conftest.$ac_ext <<_ACEOF 15422 /* confdefs.h. */ 15423 _ACEOF 15424 cat confdefs.h >>conftest.$ac_ext 15425 cat >>conftest.$ac_ext <<_ACEOF 15426 /* end confdefs.h. */ 15427 $ac_includes_default 15428 typedef void * ac__type_sizeof_; 15429 int 15430 main () 15431 { 15432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15433 test_array [0] = 0 15434 15435 ; 15436 return 0; 15437 } 15438 _ACEOF 15439 rm -f conftest.$ac_objext 15440 if { (ac_try="$ac_compile" 15441 case "(($ac_try" in 15442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15443 *) ac_try_echo=$ac_try;; 15444 esac 15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15446 (eval "$ac_compile") 2>conftest.er1 15447 ac_status=$? 15448 grep -v '^ *+' conftest.er1 >conftest.err 15449 rm -f conftest.er1 15450 cat conftest.err >&5 15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15452 (exit $ac_status); } && { 15453 test -z "$ac_cxx_werror_flag" || 15454 test ! -s conftest.err 15455 } && test -s conftest.$ac_objext; then 15456 ac_hi=$ac_mid; break 15457 else 15458 echo "$as_me: failed program was:" >&5 15459 sed 's/^/| /' conftest.$ac_ext >&5 15460 15461 ac_lo=`expr $ac_mid + 1` 15462 if test $ac_lo -le $ac_mid; then 15463 ac_lo= ac_hi= 15464 break 15465 fi 15466 ac_mid=`expr 2 '*' $ac_mid + 1` 15467 fi 15468 15469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15470 done 15471 else 15472 echo "$as_me: failed program was:" >&5 15473 sed 's/^/| /' conftest.$ac_ext >&5 15474 15475 cat >conftest.$ac_ext <<_ACEOF 15476 /* confdefs.h. */ 15477 _ACEOF 15478 cat confdefs.h >>conftest.$ac_ext 15479 cat >>conftest.$ac_ext <<_ACEOF 15480 /* end confdefs.h. */ 15481 $ac_includes_default 15482 typedef void * ac__type_sizeof_; 15483 int 15484 main () 15485 { 15486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15487 test_array [0] = 0 15488 15489 ; 15490 return 0; 15491 } 15492 _ACEOF 15493 rm -f conftest.$ac_objext 15494 if { (ac_try="$ac_compile" 15495 case "(($ac_try" in 15496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15497 *) ac_try_echo=$ac_try;; 15498 esac 15499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15500 (eval "$ac_compile") 2>conftest.er1 15501 ac_status=$? 15502 grep -v '^ *+' conftest.er1 >conftest.err 15503 rm -f conftest.er1 15504 cat conftest.err >&5 15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15506 (exit $ac_status); } && { 15507 test -z "$ac_cxx_werror_flag" || 15508 test ! -s conftest.err 15509 } && test -s conftest.$ac_objext; then 15510 ac_hi=-1 ac_mid=-1 15511 while :; do 15512 cat >conftest.$ac_ext <<_ACEOF 15513 /* confdefs.h. */ 15514 _ACEOF 15515 cat confdefs.h >>conftest.$ac_ext 15516 cat >>conftest.$ac_ext <<_ACEOF 15517 /* end confdefs.h. */ 15518 $ac_includes_default 15519 typedef void * ac__type_sizeof_; 15520 int 15521 main () 15522 { 15523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15524 test_array [0] = 0 15525 15526 ; 15527 return 0; 15528 } 15529 _ACEOF 15530 rm -f conftest.$ac_objext 15531 if { (ac_try="$ac_compile" 15532 case "(($ac_try" in 15533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15534 *) ac_try_echo=$ac_try;; 15535 esac 15536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15537 (eval "$ac_compile") 2>conftest.er1 15538 ac_status=$? 15539 grep -v '^ *+' conftest.er1 >conftest.err 15540 rm -f conftest.er1 15541 cat conftest.err >&5 15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15543 (exit $ac_status); } && { 15544 test -z "$ac_cxx_werror_flag" || 15545 test ! -s conftest.err 15546 } && test -s conftest.$ac_objext; then 15547 ac_lo=$ac_mid; break 15548 else 15549 echo "$as_me: failed program was:" >&5 15550 sed 's/^/| /' conftest.$ac_ext >&5 15551 15552 ac_hi=`expr '(' $ac_mid ')' - 1` 15553 if test $ac_mid -le $ac_hi; then 15554 ac_lo= ac_hi= 15555 break 15556 fi 15557 ac_mid=`expr 2 '*' $ac_mid` 15558 fi 15559 15560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15561 done 15562 else 15563 echo "$as_me: failed program was:" >&5 15564 sed 's/^/| /' conftest.$ac_ext >&5 15565 15566 ac_lo= ac_hi= 15567 fi 15568 15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15570 fi 15571 15572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15573 # Binary search between lo and hi bounds. 15574 while test "x$ac_lo" != "x$ac_hi"; do 15575 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15576 cat >conftest.$ac_ext <<_ACEOF 15577 /* confdefs.h. */ 15578 _ACEOF 15579 cat confdefs.h >>conftest.$ac_ext 15580 cat >>conftest.$ac_ext <<_ACEOF 15581 /* end confdefs.h. */ 15582 $ac_includes_default 15583 typedef void * ac__type_sizeof_; 15584 int 15585 main () 15586 { 15587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15588 test_array [0] = 0 15589 15590 ; 15591 return 0; 15592 } 15593 _ACEOF 15594 rm -f conftest.$ac_objext 15595 if { (ac_try="$ac_compile" 15596 case "(($ac_try" in 15597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15598 *) ac_try_echo=$ac_try;; 15599 esac 15600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15601 (eval "$ac_compile") 2>conftest.er1 15602 ac_status=$? 15603 grep -v '^ *+' conftest.er1 >conftest.err 15604 rm -f conftest.er1 15605 cat conftest.err >&5 15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15607 (exit $ac_status); } && { 15608 test -z "$ac_cxx_werror_flag" || 15609 test ! -s conftest.err 15610 } && test -s conftest.$ac_objext; then 15611 ac_hi=$ac_mid 15612 else 15613 echo "$as_me: failed program was:" >&5 15614 sed 's/^/| /' conftest.$ac_ext >&5 15615 15616 ac_lo=`expr '(' $ac_mid ')' + 1` 15617 fi 15618 15619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15620 done 15621 case $ac_lo in 15622 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15623 '') if test "$ac_cv_type_void_p" = yes; then 15624 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15625 See \`config.log' for more details." >&5 15626 echo "$as_me: error: cannot compute sizeof (void *) 15627 See \`config.log' for more details." >&2;} 15628 { (exit 77); exit 77; }; } 15629 else 15630 ac_cv_sizeof_void_p=0 15631 fi ;; 15632 esac 15633 else 15634 cat >conftest.$ac_ext <<_ACEOF 15635 /* confdefs.h. */ 15636 _ACEOF 15637 cat confdefs.h >>conftest.$ac_ext 15638 cat >>conftest.$ac_ext <<_ACEOF 15639 /* end confdefs.h. */ 15640 $ac_includes_default 15641 typedef void * ac__type_sizeof_; 15642 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15643 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15644 #include <stdio.h> 15645 #include <stdlib.h> 15646 int 15647 main () 15648 { 15649 15650 FILE *f = fopen ("conftest.val", "w"); 15651 if (! f) 15652 return 1; 15653 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15654 { 15655 long int i = longval (); 15656 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15657 return 1; 15658 fprintf (f, "%ld\n", i); 15659 } 15660 else 15661 { 15662 unsigned long int i = ulongval (); 15663 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15664 return 1; 15665 fprintf (f, "%lu\n", i); 15666 } 15667 return ferror (f) || fclose (f) != 0; 15668 15669 ; 15670 return 0; 15671 } 15672 _ACEOF 15673 rm -f conftest$ac_exeext 15674 if { (ac_try="$ac_link" 15675 case "(($ac_try" in 15676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15677 *) ac_try_echo=$ac_try;; 15678 esac 15679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15680 (eval "$ac_link") 2>&5 15681 ac_status=$? 15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15684 { (case "(($ac_try" in 15685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15686 *) ac_try_echo=$ac_try;; 15687 esac 15688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15689 (eval "$ac_try") 2>&5 15690 ac_status=$? 15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15692 (exit $ac_status); }; }; then 15693 ac_cv_sizeof_void_p=`cat conftest.val` 15694 else 15695 echo "$as_me: program exited with status $ac_status" >&5 15696 echo "$as_me: failed program was:" >&5 15697 sed 's/^/| /' conftest.$ac_ext >&5 15698 15699 ( exit $ac_status ) 15700 if test "$ac_cv_type_void_p" = yes; then 15701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15702 See \`config.log' for more details." >&5 15703 echo "$as_me: error: cannot compute sizeof (void *) 15704 See \`config.log' for more details." >&2;} 15705 { (exit 77); exit 77; }; } 9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 9403 $as_echo_n "checking size of void *... " >&6; } 9404 if test "${ac_cv_sizeof_void_p+set}" = set; then : 9405 $as_echo_n "(cached) " >&6 9406 else 9407 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9408 9409 else 9410 if test "$ac_cv_type_void_p" = yes; then 9411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9413 as_fn_error 77 "cannot compute sizeof (void *) 9414 See \`config.log' for more details" "$LINENO" 5 ; } 15706 9415 else 15707 9416 ac_cv_sizeof_void_p=0 15708 9417 fi 15709 9418 fi 15710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15711 fi 15712 rm -f conftest.val 15713 fi 15714 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15715 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 9419 9420 fi 9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 9422 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15716 9423 15717 9424 … … 15739 9446 15740 9447 15741 { echo "$as_me:$LINENO: checking for build with symbols" >&515742 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 9449 $as_echo_n "checking for build with symbols... " >&6; } 15743 9450 # Check whether --enable-symbols was given. 15744 if test "${enable_symbols+set}" = set; then 9451 if test "${enable_symbols+set}" = set; then : 15745 9452 enableval=$enable_symbols; tcl_ok=$enableval 15746 9453 else … … 15753 9460 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 15754 9461 DBGX="" 15755 { echo "$as_me:$LINENO: result: no" >&515756 echo "${ECHO_T}no" >&6; }9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9463 $as_echo "no" >&6; } 15757 9464 else 15758 9465 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 15760 9467 DBGX=g 15761 9468 if test "$tcl_ok" = "yes"; then 15762 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&515763 echo "${ECHO_T}yes (standard debugging)" >&6; }9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 9470 $as_echo "yes (standard debugging)" >&6; } 15764 9471 fi 15765 9472 fi … … 15768 9475 15769 9476 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 15770 cat >>confdefs.h <<\_ACEOF 15771 #define TCL_MEM_DEBUG 1 15772 _ACEOF 9477 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15773 9478 15774 9479 fi 15775 9480 15776 9481 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 15777 cat >>confdefs.h <<\_ACEOF 15778 #define TCL_COMPILE_DEBUG 1 15779 _ACEOF 15780 15781 cat >>confdefs.h <<\_ACEOF 15782 #define TCL_COMPILE_STATS 1 15783 _ACEOF 9482 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9483 9484 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15784 9485 15785 9486 fi … … 15787 9488 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 15788 9489 if test "$tcl_ok" = "all"; then 15789 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&515790 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 9491 $as_echo "enabled symbols mem compile debugging" >&6; } 15791 9492 else 15792 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&515793 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 9494 $as_echo "enabled $tcl_ok debugging" >&6; } 15794 9495 fi 15795 9496 fi … … 15802 9503 fi 15803 9504 9505 9506 #-------------------------------------------------------------------- 9507 # search for ffmpeg libraries libavcodec, libavformat, libswscale 9508 #-------------------------------------------------------------------- 9509 9510 for ac_header in ffmpeg/avcodec.h 9511 do : 9512 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avcodec.h" "ac_cv_header_ffmpeg_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 9513 #ifdef HAVE_FFMPEG_AVCODEC_H 9514 # include <ffmpeg/avcodec.h> 9515 #endif 9516 9517 " 9518 if test "x$ac_cv_header_ffmpeg_avcodec_h" = x""yes; then : 9519 cat >>confdefs.h <<_ACEOF 9520 #define HAVE_FFMPEG_AVCODEC_H 1 9521 _ACEOF 9522 9523 fi 9524 9525 done 9526 9527 9528 for ac_header in libavcodec/avcodec.h 9529 do : 9530 ac_fn_cxx_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 9531 #ifdef HAVE_LIBAVCODEC_AVCODEC_H 9532 # include <libavcodec/avcodec.h> 9533 #endif 9534 9535 " 9536 if test "x$ac_cv_header_libavcodec_avcodec_h" = x""yes; then : 9537 cat >>confdefs.h <<_ACEOF 9538 #define HAVE_LIBAVCODEC_AVCODEC_H 1 9539 _ACEOF 9540 9541 fi 9542 9543 done 9544 9545 9546 for ac_header in ffmpeg/avformat.h 9547 do : 9548 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avformat.h" "ac_cv_header_ffmpeg_avformat_h" "#define __STDC_CONSTANT_MACROS 1 9549 #ifdef HAVE_FFMPEG_AVFORMAT_H 9550 # include <ffmpeg/avformat.h> 9551 #endif 9552 9553 " 9554 if test "x$ac_cv_header_ffmpeg_avformat_h" = x""yes; then : 9555 cat >>confdefs.h <<_ACEOF 9556 #define HAVE_FFMPEG_AVFORMAT_H 1 9557 _ACEOF 9558 9559 fi 9560 9561 done 9562 9563 9564 for ac_header in libavformat/avformat.h 9565 do : 9566 ac_fn_cxx_check_header_compile "$LINENO" "libavformat/avformat.h" "ac_cv_header_libavformat_avformat_h" "#define __STDC_CONSTANT_MACROS 1 9567 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H 9568 # include <libavformat/avformat.h> 9569 #endif 9570 9571 " 9572 if test "x$ac_cv_header_libavformat_avformat_h" = x""yes; then : 9573 cat >>confdefs.h <<_ACEOF 9574 #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 9575 _ACEOF 9576 9577 fi 9578 9579 done 9580 9581 9582 for ac_header in ffmpeg/avutil.h 9583 do : 9584 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "#define __STDC_CONSTANT_MACROS 1 9585 #ifdef HAVE_FFMPEG_AVUTIL_H 9586 # include <ffmpeg/avutil.h> 9587 #endif 9588 9589 " 9590 if test "x$ac_cv_header_ffmpeg_avutil_h" = x""yes; then : 9591 cat >>confdefs.h <<_ACEOF 9592 #define HAVE_FFMPEG_AVUTIL_H 1 9593 _ACEOF 9594 9595 fi 9596 9597 done 9598 9599 9600 for ac_header in libavutil/avutil.h 9601 do : 9602 ac_fn_cxx_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "#define __STDC_CONSTANT_MACROS 1 9603 #ifdef HAVE_LIBAVUTIL_AVUTIL_H 9604 # include <libavutil/avutil.h> 9605 #endif 9606 9607 " 9608 if test "x$ac_cv_header_libavutil_avutil_h" = x""yes; then : 9609 cat >>confdefs.h <<_ACEOF 9610 #define HAVE_LIBAVUTIL_AVUTIL_H 1 9611 _ACEOF 9612 9613 fi 9614 9615 done 9616 9617 9618 for ac_header in ffmpeg/swscale.h 9619 do : 9620 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/swscale.h" "ac_cv_header_ffmpeg_swscale_h" "#define __STDC_CONSTANT_MACROS 1 9621 #ifdef HAVE_FFMPEG_SWSCALE_H 9622 # include <ffmpeg/swscale.h> 9623 #endif 9624 9625 " 9626 if test "x$ac_cv_header_ffmpeg_swscale_h" = x""yes; then : 9627 cat >>confdefs.h <<_ACEOF 9628 #define HAVE_FFMPEG_SWSCALE_H 1 9629 _ACEOF 9630 9631 fi 9632 9633 done 9634 9635 9636 for ac_header in libswscale/swscale.h 9637 do : 9638 ac_fn_cxx_check_header_compile "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "#define __STDC_CONSTANT_MACROS 1 9639 #ifdef HAVE_LIBSWSCALE_SWSCALE_H 9640 # include <libswscale/swscale.h> 9641 #endif 9642 9643 " 9644 if test "x$ac_cv_header_libswscale_swscale_h" = x""yes; then : 9645 cat >>confdefs.h <<_ACEOF 9646 #define HAVE_LIBSWSCALE_SWSCALE_H 1 9647 _ACEOF 9648 9649 fi 9650 9651 done 9652 9653 9654 HAVE_FFMPEG_LIBS="" 9655 if [ \( "${ac_cv_header_ffmpeg_avcodec_h}" = "yes" -o \ 9656 "${ac_cv_header_libavcodec_avcodec_h}" = "yes" \) -a \ 9657 \( "${ac_cv_header_ffmpeg_avformat_h}" = "yes" -o \ 9658 "${ac_cv_header_libavformat_avformat_h}" = "yes" \) -a \ 9659 \( "${ac_cv_header_ffmpeg_avutil_h}" = "yes" -o \ 9660 "${ac_cv_header_libavutil_avutil_h}" = "yes" \) -a \ 9661 \( "${ac_cv_header_ffmpeg_swscale_h}" = "yes" -o \ 9662 "${ac_cv_header_libswscale_swscale_h}" = "yes" \) ] ; then 9663 HAVE_FFMPEG_LIBS="yes" 9664 9665 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 9666 9667 else 9668 HAVE_FFMPEG_LIBS="" 9669 fi 9670 9671 for ac_func in img_convert 9672 do : 9673 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9674 if test "x$ac_cv_func_img_convert" = x""yes; then : 9675 cat >>confdefs.h <<_ACEOF 9676 #define HAVE_IMG_CONVERT 1 9677 _ACEOF 9678 9679 fi 9680 done 9681 9682 for ac_func in sws_scale 9683 do : 9684 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9685 if test "x$ac_cv_func_sws_scale" = x""yes; then : 9686 cat >>confdefs.h <<_ACEOF 9687 #define HAVE_SWS_SCALE 1 9688 _ACEOF 9689 9690 fi 9691 done 9692 9693 9694 9695 15804 9696 ac_configure_args="--disable-threads --enable-shared" 9697 9698 15805 9699 subdirs="$subdirs packages/optimizer/src" 15806 9700 … … 15835 9729 *${as_nl}*) 15836 9730 case $ac_var in #( 15837 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&515838 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;9731 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9732 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15839 9733 esac 15840 9734 case $ac_var in #( 15841 9735 _ | IFS | as_nl) ;; #( 15842 *) $as_unset $ac_var ;; 9736 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9737 *) { eval $ac_var=; unset $ac_var;} ;; 15843 9738 esac ;; 15844 9739 esac … … 15848 9743 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15849 9744 *${as_nl}ac_space=\ *) 15850 # `set' does not quote correctly, so add quotes (double-quote15851 # substitution turns \\\\ into \\, and sed turns \\ into \ ).9745 # `set' does not quote correctly, so add quotes: double-quote 9746 # substitution turns \\\\ into \\, and sed turns \\ into \. 15852 9747 sed -n \ 15853 9748 "s/'/'\\\\''/g; … … 15872 9767 if test -w "$cache_file"; then 15873 9768 test "x$cache_file" != "x/dev/null" && 15874 { echo "$as_me:$LINENO: updating cache $cache_file" >&515875 echo "$as_me: updating cache $cache_file" >&6;}9769 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9770 $as_echo "$as_me: updating cache $cache_file" >&6;} 15876 9771 cat confcache >$cache_file 15877 9772 else 15878 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&515879 echo "$as_me: not updating unwritable cache $cache_file" >&6;}9773 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9774 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15880 9775 fi 15881 9776 fi … … 15890 9785 ac_libobjs= 15891 9786 ac_ltlibobjs= 9787 U= 15892 9788 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15893 9789 # 1. Remove the extension, and $U if already installed. 15894 9790 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15895 ac_i=` echo "$ac_i" | sed "$ac_script"`9791 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15896 9792 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15897 9793 # will be set to the directory where LIBOBJS objects are built. 15898 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"15899 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'9794 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9795 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15900 9796 done 15901 9797 LIBOBJS=$ac_libobjs … … 15905 9801 15906 9802 9803 15907 9804 : ${CONFIG_STATUS=./config.status} 9805 ac_write_fail=0 15908 9806 ac_clean_files_save=$ac_clean_files 15909 9807 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15910 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 15911 echo "$as_me: creating $CONFIG_STATUS" >&6;} 15912 cat >$CONFIG_STATUS <<_ACEOF 9808 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9809 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9810 as_write_fail=0 9811 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15913 9812 #! $SHELL 15914 9813 # Generated by $as_me. … … 15920 9819 ac_cs_recheck=false 15921 9820 ac_cs_silent=false 9821 15922 9822 SHELL=\${CONFIG_SHELL-$SHELL} 15923 _ACEOF 15924 15925 cat >>$CONFIG_STATUS <<\_A CEOF15926 ## -------------------- -##15927 ## M4sh Initialization. 15928 ## -------------------- -##9823 export SHELL 9824 _ASEOF 9825 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9826 ## -------------------- ## 9827 ## M4sh Initialization. ## 9828 ## -------------------- ## 15929 9829 15930 9830 # Be more Bourne compatible 15931 9831 DUALCASE=1; export DUALCASE # for MKS sh 15932 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9832 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15933 9833 emulate sh 15934 9834 NULLCMD=: 15935 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9835 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15936 9836 # is contrary to our usage. Disable this feature. 15937 9837 alias -g '${1+"$@"}'='"$@"' 15938 9838 setopt NO_GLOB_SUBST 15939 9839 else 15940 case `(set -o) 2>/dev/null` in 15941 *posix*) set -o posix ;; 9840 case `(set -o) 2>/dev/null` in #( 9841 *posix*) : 9842 set -o posix ;; #( 9843 *) : 9844 ;; 15942 9845 esac 15943 15944 fi 15945 15946 15947 15948 15949 # PATH needs CR 15950 # Avoid depending upon Character Ranges. 15951 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15952 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15953 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15954 as_cr_digits='0123456789' 15955 as_cr_alnum=$as_cr_Letters$as_cr_digits 9846 fi 9847 9848 9849 as_nl=' 9850 ' 9851 export as_nl 9852 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9853 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9854 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9855 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9856 # Prefer a ksh shell builtin over an external printf program on Solaris, 9857 # but without wasting forks for bash or zsh. 9858 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9859 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9860 as_echo='print -r --' 9861 as_echo_n='print -rn --' 9862 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9863 as_echo='printf %s\n' 9864 as_echo_n='printf %s' 9865 else 9866 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9867 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9868 as_echo_n='/usr/ucb/echo -n' 9869 else 9870 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9871 as_echo_n_body='eval 9872 arg=$1; 9873 case $arg in #( 9874 *"$as_nl"*) 9875 expr "X$arg" : "X\\(.*\\)$as_nl"; 9876 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9877 esac; 9878 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9879 ' 9880 export as_echo_n_body 9881 as_echo_n='sh -c $as_echo_n_body as_echo' 9882 fi 9883 export as_echo_body 9884 as_echo='sh -c $as_echo_body as_echo' 9885 fi 15956 9886 15957 9887 # The user is always right. 15958 9888 if test "${PATH_SEPARATOR+set}" != set; then 15959 echo "#! /bin/sh" >conf$$.sh 15960 echo "exit 0" >>conf$$.sh 15961 chmod +x conf$$.sh 15962 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 15963 PATH_SEPARATOR=';' 15964 else 15965 PATH_SEPARATOR=: 15966 fi 15967 rm -f conf$$.sh 15968 fi 15969 15970 # Support unset when possible. 15971 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 15972 as_unset=unset 15973 else 15974 as_unset=false 9889 PATH_SEPARATOR=: 9890 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9891 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9892 PATH_SEPARATOR=';' 9893 } 15975 9894 fi 15976 9895 … … 15981 9900 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 15982 9901 # splitting by setting IFS to empty value.) 15983 as_nl='15984 '15985 9902 IFS=" "" $as_nl" 15986 9903 15987 9904 # Find who we are. Look in the path if we contain no directory separator. 15988 case $0 in 9905 case $0 in #(( 15989 9906 *[\\/]* ) as_myself=$0 ;; 15990 9907 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 15993 9910 IFS=$as_save_IFS 15994 9911 test -z "$as_dir" && as_dir=. 15995 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break15996 done9912 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9913 done 15997 9914 IFS=$as_save_IFS 15998 9915 … … 16005 9922 fi 16006 9923 if test ! -f "$as_myself"; then 16007 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16008 { (exit 1); exit 1; } 16009 fi 16010 16011 # Work around bugs in pre-3.0 UWIN ksh. 16012 for as_var in ENV MAIL MAILPATH 16013 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9924 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9925 exit 1 9926 fi 9927 9928 # Unset variables that we do not need and which cause bugs (e.g. in 9929 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9930 # suppresses any "Segmentation fault" message there. '((' could 9931 # trigger a bug in pdksh 5.2.14. 9932 for as_var in BASH_ENV ENV MAIL MAILPATH 9933 do eval test x\${$as_var+set} = xset \ 9934 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16014 9935 done 16015 9936 PS1='$ ' … … 16018 9939 16019 9940 # NLS nuisances. 16020 for as_var in \ 16021 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 16022 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 16023 LC_TELEPHONE LC_TIME 16024 do 16025 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 16026 eval $as_var=C; export $as_var 16027 else 16028 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9941 LC_ALL=C 9942 export LC_ALL 9943 LANGUAGE=C 9944 export LANGUAGE 9945 9946 # CDPATH. 9947 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9948 9949 9950 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9951 # ---------------------------------------- 9952 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9953 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9954 # script with STATUS, using 1 if that was 0. 9955 as_fn_error () 9956 { 9957 as_status=$1; test $as_status -eq 0 && as_status=1 9958 if test "$4"; then 9959 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9960 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16029 9961 fi 16030 done 16031 16032 # Required to use basename. 9962 $as_echo "$as_me: error: $2" >&2 9963 as_fn_exit $as_status 9964 } # as_fn_error 9965 9966 9967 # as_fn_set_status STATUS 9968 # ----------------------- 9969 # Set $? to STATUS, without forking. 9970 as_fn_set_status () 9971 { 9972 return $1 9973 } # as_fn_set_status 9974 9975 # as_fn_exit STATUS 9976 # ----------------- 9977 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9978 as_fn_exit () 9979 { 9980 set +e 9981 as_fn_set_status $1 9982 exit $1 9983 } # as_fn_exit 9984 9985 # as_fn_unset VAR 9986 # --------------- 9987 # Portably unset VAR. 9988 as_fn_unset () 9989 { 9990 { eval $1=; unset $1;} 9991 } 9992 as_unset=as_fn_unset 9993 # as_fn_append VAR VALUE 9994 # ---------------------- 9995 # Append the text in VALUE to the end of the definition contained in VAR. Take 9996 # advantage of any shell optimizations that allow amortized linear growth over 9997 # repeated appends, instead of the typical quadratic growth present in naive 9998 # implementations. 9999 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 10000 eval 'as_fn_append () 10001 { 10002 eval $1+=\$2 10003 }' 10004 else 10005 as_fn_append () 10006 { 10007 eval $1=\$$1\$2 10008 } 10009 fi # as_fn_append 10010 10011 # as_fn_arith ARG... 10012 # ------------------ 10013 # Perform arithmetic evaluation on the ARGs, and store the result in the 10014 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10015 # must be portable across $(()) and expr. 10016 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10017 eval 'as_fn_arith () 10018 { 10019 as_val=$(( $* )) 10020 }' 10021 else 10022 as_fn_arith () 10023 { 10024 as_val=`expr "$@" || test $? -eq 1` 10025 } 10026 fi # as_fn_arith 10027 10028 16033 10029 if expr a : '\(a\)' >/dev/null 2>&1 && 16034 10030 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 16044 10040 fi 16045 10041 16046 16047 # Name of the executable. 10042 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10043 as_dirname=dirname 10044 else 10045 as_dirname=false 10046 fi 10047 16048 10048 as_me=`$as_basename -- "$0" || 16049 10049 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16050 10050 X"$0" : 'X\(//\)$' \| \ 16051 10051 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16052 echo X/"$0" |10052 $as_echo X/"$0" | 16053 10053 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16054 10054 s//\1/ … … 16065 10065 s/.*/./; q'` 16066 10066 16067 # CDPATH. 16068 $as_unset CDPATH 16069 16070 16071 16072 as_lineno_1=$LINENO 16073 as_lineno_2=$LINENO 16074 test "x$as_lineno_1" != "x$as_lineno_2" && 16075 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 16076 16077 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 16078 # uniformly replaced by the line number. The first 'sed' inserts a 16079 # line-number line after each line using $LINENO; the second 'sed' 16080 # does the real work. The second script uses 'N' to pair each 16081 # line-number line with the line containing $LINENO, and appends 16082 # trailing '-' during substitution so that $LINENO is not a special 16083 # case at line end. 16084 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16085 # scripts with optimization help from Paolo Bonzini. Blame Lee 16086 # E. McMahon (1931-1989) for sed's syntax. :-) 16087 sed -n ' 16088 p 16089 /[$]LINENO/= 16090 ' <$as_myself | 16091 sed ' 16092 s/[$]LINENO.*/&-/ 16093 t lineno 16094 b 16095 :lineno 16096 N 16097 :loop 16098 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 16099 t loop 16100 s/-\n.*// 16101 ' >$as_me.lineno && 16102 chmod +x "$as_me.lineno" || 16103 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 16104 { (exit 1); exit 1; }; } 16105 16106 # Don't try to exec as it changes $[0], causing all sort of problems 16107 # (the dirname of $[0] is not the place where we might find the 16108 # original and so on. Autoconf is especially sensitive to this). 16109 . "./$as_me.lineno" 16110 # Exit status is that of the last command. 16111 exit 16112 } 16113 16114 16115 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16116 as_dirname=dirname 16117 else 16118 as_dirname=false 16119 fi 10067 # Avoid depending upon Character Ranges. 10068 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10069 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10070 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10071 as_cr_digits='0123456789' 10072 as_cr_alnum=$as_cr_Letters$as_cr_digits 16120 10073 16121 10074 ECHO_C= ECHO_N= ECHO_T= 16122 case `echo -n x` in 10075 case `echo -n x` in #((((( 16123 10076 -n*) 16124 case `echo 'x \c'` in10077 case `echo 'xy\c'` in 16125 10078 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16126 *) ECHO_C='\c';; 10079 xy) ECHO_C='\c';; 10080 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10081 ECHO_T=' ';; 16127 10082 esac;; 16128 10083 *) … … 16130 10085 esac 16131 10086 16132 if expr a : '\(a\)' >/dev/null 2>&1 &&16133 test "X`expr 00001 : '.*\(...\)'`" = X001; then16134 as_expr=expr16135 else16136 as_expr=false16137 fi16138 16139 10087 rm -f conf$$ conf$$.exe conf$$.file 16140 10088 if test -d conf$$.dir; then … … 16142 10090 else 16143 10091 rm -f conf$$.dir 16144 mkdir conf$$.dir 16145 fi 16146 echo >conf$$.file 16147 if ln -s conf$$.file conf$$ 2>/dev/null; then 16148 as_ln_s='ln -s' 16149 # ... but there are two gotchas: 16150 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16151 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16152 # In both cases, we have to default to `cp -p'. 16153 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10092 mkdir conf$$.dir 2>/dev/null 10093 fi 10094 if (echo >conf$$.file) 2>/dev/null; then 10095 if ln -s conf$$.file conf$$ 2>/dev/null; then 10096 as_ln_s='ln -s' 10097 # ... but there are two gotchas: 10098 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10099 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10100 # In both cases, we have to default to `cp -p'. 10101 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10102 as_ln_s='cp -p' 10103 elif ln conf$$.file conf$$ 2>/dev/null; then 10104 as_ln_s=ln 10105 else 16154 10106 as_ln_s='cp -p' 16155 elif ln conf$$.file conf$$ 2>/dev/null; then 16156 as_ln_s=ln 10107 fi 16157 10108 else 16158 10109 as_ln_s='cp -p' … … 16161 10112 rmdir conf$$.dir 2>/dev/null 16162 10113 10114 10115 # as_fn_mkdir_p 10116 # ------------- 10117 # Create "$as_dir" as a directory, including parents if necessary. 10118 as_fn_mkdir_p () 10119 { 10120 10121 case $as_dir in #( 10122 -*) as_dir=./$as_dir;; 10123 esac 10124 test -d "$as_dir" || eval $as_mkdir_p || { 10125 as_dirs= 10126 while :; do 10127 case $as_dir in #( 10128 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10129 *) as_qdir=$as_dir;; 10130 esac 10131 as_dirs="'$as_qdir' $as_dirs" 10132 as_dir=`$as_dirname -- "$as_dir" || 10133 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10134 X"$as_dir" : 'X\(//\)[^/]' \| \ 10135 X"$as_dir" : 'X\(//\)$' \| \ 10136 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10137 $as_echo X"$as_dir" | 10138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10139 s//\1/ 10140 q 10141 } 10142 /^X\(\/\/\)[^/].*/{ 10143 s//\1/ 10144 q 10145 } 10146 /^X\(\/\/\)$/{ 10147 s//\1/ 10148 q 10149 } 10150 /^X\(\/\).*/{ 10151 s//\1/ 10152 q 10153 } 10154 s/.*/./; q'` 10155 test -d "$as_dir" && break 10156 done 10157 test -z "$as_dirs" || eval "mkdir $as_dirs" 10158 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10159 10160 10161 } # as_fn_mkdir_p 16163 10162 if mkdir -p . 2>/dev/null; then 16164 as_mkdir_p= :10163 as_mkdir_p='mkdir -p "$as_dir"' 16165 10164 else 16166 10165 test -d ./-p && rmdir ./-p … … 16179 10178 eval sh -c '\'' 16180 10179 if test -d "$1"; then 16181 10180 test -d "$1/."; 16182 10181 else 16183 case $1 in 16184 10182 case $1 in #( 10183 -*)set "./$1";; 16185 10184 esac; 16186 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 10185 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 16187 10186 ???[sx]*):;;*)false;;esac;fi 16188 10187 '\'' sh … … 16199 10198 16200 10199 exec 6>&1 16201 16202 # Save the log message, to keep $[0] and so on meaningful, and to 10200 ## ----------------------------------- ## 10201 ## Main body of $CONFIG_STATUS script. ## 10202 ## ----------------------------------- ## 10203 _ASEOF 10204 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10205 10206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10207 # Save the log message, to keep $0 and so on meaningful, and to 16203 10208 # report actual input values of CONFIG_FILES etc. instead of their 16204 10209 # values after options handling. 16205 10210 ac_log=" 16206 10211 This file was extended by Rappture $as_me 1.1, which was 16207 generated by GNU Autoconf 2.6 1. Invocation command line was10212 generated by GNU Autoconf 2.67. Invocation command line was 16208 10213 16209 10214 CONFIG_FILES = $CONFIG_FILES … … 16218 10223 _ACEOF 16219 10224 16220 cat >>$CONFIG_STATUS <<_ACEOF 10225 case $ac_config_files in *" 10226 "*) set x $ac_config_files; shift; ac_config_files=$*;; 10227 esac 10228 10229 case $ac_config_headers in *" 10230 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10231 esac 10232 10233 10234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16221 10235 # Files that config.status was made for. 16222 10236 config_files="$ac_config_files" … … 16225 10239 _ACEOF 16226 10240 16227 cat >>$CONFIG_STATUS <<\_ACEOF 10241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16228 10242 ac_cs_usage="\ 16229 \`$as_me' instantiates files from templates according to the 16230 current configuration. 16231 16232 Usage: $0 [OPTIONS] [FILE]... 10243 \`$as_me' instantiates files and other configuration actions 10244 from templates according to the current configuration. Unless the files 10245 and actions are specified as TAGs, all are instantiated by default. 10246 10247 Usage: $0 [OPTION]... [TAG]... 16233 10248 16234 10249 -h, --help print this help, then exit 16235 10250 -V, --version print version number and configuration settings, then exit 16236 -q, --quiet do not print progress messages 10251 --config print configuration, then exit 10252 -q, --quiet, --silent 10253 do not print progress messages 16237 10254 -d, --debug don't remove temporary files 16238 10255 --recheck update $as_me by reconfiguring in the same conditions 16239 --file=FILE[:TEMPLATE]16240 16241 --header=FILE[:TEMPLATE]16242 10256 --file=FILE[:TEMPLATE] 10257 instantiate the configuration file FILE 10258 --header=FILE[:TEMPLATE] 10259 instantiate the configuration header FILE 16243 10260 16244 10261 Configuration files: … … 16248 10265 $config_headers 16249 10266 16250 Report bugs to <bug-autoconf@gnu.org>." 16251 16252 _ACEOF 16253 cat >>$CONFIG_STATUS <<_ACEOF 10267 Report bugs to <rappture@nanohub.org>." 10268 10269 _ACEOF 10270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10271 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16254 10272 ac_cs_version="\\ 16255 10273 Rappture config.status 1.1 16256 configured by $0, generated by GNU Autoconf 2.6 1,16257 with options \\" `echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"16258 16259 Copyright (C) 20 06Free Software Foundation, Inc.10274 configured by $0, generated by GNU Autoconf 2.67, 10275 with options \\"\$ac_cs_config\\" 10276 10277 Copyright (C) 2010 Free Software Foundation, Inc. 16260 10278 This config.status script is free software; the Free Software Foundation 16261 10279 gives unlimited permission to copy, distribute and modify it." … … 16265 10283 INSTALL='$INSTALL' 16266 10284 MKDIR_P='$MKDIR_P' 16267 _ACEOF 16268 16269 cat >>$CONFIG_STATUS <<\_ACEOF 16270 # If no file are specified by the user, then we need to provide default 16271 # value. By we need to know if files were specified by the user. 10285 AWK='$AWK' 10286 test -n "\$AWK" || AWK=awk 10287 _ACEOF 10288 10289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10290 # The default lists apply if the user does not specify any file. 16272 10291 ac_need_defaults=: 16273 10292 while test $# != 0 16274 10293 do 16275 10294 case $1 in 16276 --*= *)10295 --*=?*) 16277 10296 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16278 10297 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10298 ac_shift=: 10299 ;; 10300 --*=) 10301 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10302 ac_optarg= 16279 10303 ac_shift=: 16280 10304 ;; … … 16291 10315 ac_cs_recheck=: ;; 16292 10316 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16293 echo "$ac_cs_version"; exit ;; 10317 $as_echo "$ac_cs_version"; exit ;; 10318 --config | --confi | --conf | --con | --co | --c ) 10319 $as_echo "$ac_cs_config"; exit ;; 16294 10320 --debug | --debu | --deb | --de | --d | -d ) 16295 10321 debug=: ;; 16296 10322 --file | --fil | --fi | --f ) 16297 10323 $ac_shift 16298 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 10324 case $ac_optarg in 10325 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10326 '') as_fn_error $? "missing file argument" ;; 10327 esac 10328 as_fn_append CONFIG_FILES " '$ac_optarg'" 16299 10329 ac_need_defaults=false;; 16300 10330 --header | --heade | --head | --hea ) 16301 10331 $ac_shift 16302 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 10332 case $ac_optarg in 10333 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10334 esac 10335 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16303 10336 ac_need_defaults=false;; 16304 10337 --he | --h) 16305 10338 # Conflict between --help and --header 16306 { echo "$as_me: error: ambiguous option: $1 16307 Try \`$0 --help' for more information." >&2 16308 { (exit 1); exit 1; }; };; 10339 as_fn_error $? "ambiguous option: \`$1' 10340 Try \`$0 --help' for more information.";; 16309 10341 --help | --hel | -h ) 16310 echo "$ac_cs_usage"; exit ;;10342 $as_echo "$ac_cs_usage"; exit ;; 16311 10343 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16312 10344 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 16314 10346 16315 10347 # This is an error. 16316 -*) { echo "$as_me: error: unrecognized option: $1 16317 Try \`$0 --help' for more information." >&2 16318 { (exit 1); exit 1; }; } ;; 16319 16320 *) ac_config_targets="$ac_config_targets $1" 10348 -*) as_fn_error $? "unrecognized option: \`$1' 10349 Try \`$0 --help' for more information." ;; 10350 10351 *) as_fn_append ac_config_targets " $1" 16321 10352 ac_need_defaults=false ;; 16322 10353 … … 16333 10364 16334 10365 _ACEOF 16335 cat >>$CONFIG_STATUS <<_ACEOF 10366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16336 10367 if \$ac_cs_recheck; then 16337 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 16338 CONFIG_SHELL=$SHELL 10368 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10369 shift 10370 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10371 CONFIG_SHELL='$SHELL' 16339 10372 export CONFIG_SHELL 16340 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion16341 fi 16342 16343 _ACEOF 16344 cat >>$CONFIG_STATUS <<\_ACEOF 10373 exec "\$@" 10374 fi 10375 10376 _ACEOF 10377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16345 10378 exec 5>>config.log 16346 10379 { … … 16349 10382 ## Running $as_me. ## 16350 10383 _ASBOX 16351 echo "$ac_log"10384 $as_echo "$ac_log" 16352 10385 } >&5 16353 10386 16354 10387 _ACEOF 16355 cat >>$CONFIG_STATUS <<_ACEOF 16356 _ACEOF 16357 16358 cat >>$CONFIG_STATUS <<\_ACEOF 10388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10389 _ACEOF 10390 10391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16359 10392 16360 10393 # Handling of arguments. … … 16484 10517 "test/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/src/Makefile" ;; 16485 10518 16486 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 16487 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 16488 { (exit 1); exit 1; }; };; 10519 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 16489 10520 esac 16490 10521 done … … 16512 10543 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 16513 10544 ' 0 16514 trap ' { (exit 1); exit 1; }' 1 2 13 1510545 trap 'as_fn_exit 1' 1 2 13 15 16515 10546 } 16516 10547 # Create a (secure) tmp directory for tmp files. … … 16523 10554 tmp=./conf$$-$RANDOM 16524 10555 (umask 077 && mkdir "$tmp") 16525 } || 10556 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10557 10558 # Set up the scripts for CONFIG_FILES section. 10559 # No need to generate them if there are no CONFIG_FILES. 10560 # This happens for instance with `./config.status config.h'. 10561 if test -n "$CONFIG_FILES"; then 10562 10563 10564 ac_cr=`echo X | tr X '\015'` 10565 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10566 # But we know of no other shell where ac_cr would be empty at this 10567 # point, so we can use a bashism as a fallback. 10568 if test "x$ac_cr" = x; then 10569 eval ac_cr=\$\'\\r\' 10570 fi 10571 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10572 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10573 ac_cs_awk_cr='\\r' 10574 else 10575 ac_cs_awk_cr=$ac_cr 10576 fi 10577 10578 echo 'BEGIN {' >"$tmp/subs1.awk" && 10579 _ACEOF 10580 10581 16526 10582 { 16527 echo "$me: cannot create a temporary directory in ." >&2 16528 { (exit 1); exit 1; } 16529 } 16530 16531 # 16532 # Set up the sed scripts for CONFIG_FILES section. 16533 # 16534 16535 # No need to generate the scripts if there are no CONFIG_FILES. 16536 # This happens for instance when ./config.status config.h 16537 if test -n "$CONFIG_FILES"; then 16538 16539 _ACEOF 16540 16541 16542 10583 echo "cat >conf$$subs.awk <<_ACEOF" && 10584 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10585 echo "_ACEOF" 10586 } >conf$$subs.sh || 10587 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10588 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 16543 10589 ac_delim='%!_!# ' 16544 10590 for ac_last_try in false false false false false :; do 16545 cat >conf$$subs.sed <<_ACEOF 16546 SHELL!$SHELL$ac_delim 16547 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 16548 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 16549 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 16550 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 16551 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 16552 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 16553 exec_prefix!$exec_prefix$ac_delim 16554 prefix!$prefix$ac_delim 16555 program_transform_name!$program_transform_name$ac_delim 16556 bindir!$bindir$ac_delim 16557 sbindir!$sbindir$ac_delim 16558 libexecdir!$libexecdir$ac_delim 16559 datarootdir!$datarootdir$ac_delim 16560 datadir!$datadir$ac_delim 16561 sysconfdir!$sysconfdir$ac_delim 16562 sharedstatedir!$sharedstatedir$ac_delim 16563 localstatedir!$localstatedir$ac_delim 16564 includedir!$includedir$ac_delim 16565 oldincludedir!$oldincludedir$ac_delim 16566 docdir!$docdir$ac_delim 16567 infodir!$infodir$ac_delim 16568 htmldir!$htmldir$ac_delim 16569 dvidir!$dvidir$ac_delim 16570 pdfdir!$pdfdir$ac_delim 16571 psdir!$psdir$ac_delim 16572 libdir!$libdir$ac_delim 16573 localedir!$localedir$ac_delim 16574 mandir!$mandir$ac_delim 16575 DEFS!$DEFS$ac_delim 16576 ECHO_C!$ECHO_C$ac_delim 16577 ECHO_N!$ECHO_N$ac_delim 16578 ECHO_T!$ECHO_T$ac_delim 16579 LIBS!$LIBS$ac_delim 16580 build_alias!$build_alias$ac_delim 16581 host_alias!$host_alias$ac_delim 16582 target_alias!$target_alias$ac_delim 16583 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 16584 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 16585 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 16586 INSTALL_DATA!$INSTALL_DATA$ac_delim 16587 RANLIB!$RANLIB$ac_delim 16588 LN_S!$LN_S$ac_delim 16589 SET_MAKE!$SET_MAKE$ac_delim 16590 CC!$CC$ac_delim 16591 CFLAGS!$CFLAGS$ac_delim 16592 LDFLAGS!$LDFLAGS$ac_delim 16593 CPPFLAGS!$CPPFLAGS$ac_delim 16594 ac_ct_CC!$ac_ct_CC$ac_delim 16595 EXEEXT!$EXEEXT$ac_delim 16596 OBJEXT!$OBJEXT$ac_delim 16597 CXX!$CXX$ac_delim 16598 CXXFLAGS!$CXXFLAGS$ac_delim 16599 ac_ct_CXX!$ac_ct_CXX$ac_delim 16600 F77!$F77$ac_delim 16601 FFLAGS!$FFLAGS$ac_delim 16602 ac_ct_F77!$ac_ct_F77$ac_delim 16603 CPP!$CPP$ac_delim 16604 GREP!$GREP$ac_delim 16605 EGREP!$EGREP$ac_delim 16606 CXXCPP!$CXXCPP$ac_delim 16607 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 16608 AR!$AR$ac_delim 16609 DL_LIBS!$DL_LIBS$ac_delim 16610 DL_OBJS!$DL_OBJS$ac_delim 16611 PLAT_OBJS!$PLAT_OBJS$ac_delim 16612 PLAT_SRCS!$PLAT_SRCS$ac_delim 16613 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 16614 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 16615 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 16616 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 16617 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 16618 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 16619 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 16620 STLIB_LD!$STLIB_LD$ac_delim 16621 SHLIB_LD!$SHLIB_LD$ac_delim 16622 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 16623 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 16624 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 16625 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 16626 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 16627 MAKE_LIB!$MAKE_LIB$ac_delim 16628 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 16629 INSTALL_LIB!$INSTALL_LIB$ac_delim 16630 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 16631 MAKE!$MAKE$ac_delim 16632 ENABLE_GUI!$ENABLE_GUI$ac_delim 16633 TCLSH!$TCLSH$ac_delim 16634 TCL_VERSION!$TCL_VERSION$ac_delim 16635 TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim 16636 TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim 16637 VTKDIR!$VTKDIR$ac_delim 16638 MATLAB!$MATLAB$ac_delim 16639 MEX!$MEX$ac_delim 16640 MEXEXT!$MEXEXT$ac_delim 16641 MCC!$MCC$ac_delim 16642 MEX_ARCH!$MEX_ARCH$ac_delim 16643 _ACEOF 16644 16645 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 10591 . ./conf$$subs.sh || 10592 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10593 10594 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10595 if test $ac_delim_n = $ac_delim_num; then 16646 10596 break 16647 10597 elif $ac_last_try; then 16648 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16649 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16650 { (exit 1); exit 1; }; } 10598 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16651 10599 else 16652 10600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16653 10601 fi 16654 10602 done 16655 16656 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 16657 if test -n "$ac_eof"; then 16658 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 16659 ac_eof=`expr $ac_eof + 1` 16660 fi 16661 16662 cat >>$CONFIG_STATUS <<_ACEOF 16663 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 16664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16665 _ACEOF 16666 sed ' 16667 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 16668 s/^/s,@/; s/!/@,|#_!!_#|/ 16669 :n 16670 t n 16671 s/'"$ac_delim"'$/,g/; t 16672 s/$/\\/; p 16673 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 16674 ' >>$CONFIG_STATUS <conf$$subs.sed 16675 rm -f conf$$subs.sed 16676 cat >>$CONFIG_STATUS <<_ACEOF 16677 CEOF$ac_eof 16678 _ACEOF 16679 16680 10603 rm -f conf$$subs.sh 10604 10605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10606 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10607 _ACEOF 10608 sed -n ' 10609 h 10610 s/^/S["/; s/!.*/"]=/ 10611 p 10612 g 10613 s/^[^!]*!// 10614 :repl 10615 t repl 10616 s/'"$ac_delim"'$// 10617 t delim 10618 :nl 10619 h 10620 s/\(.\{148\}\)..*/\1/ 10621 t more1 10622 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10623 p 10624 n 10625 b repl 10626 :more1 10627 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10628 p 10629 g 10630 s/.\{148\}// 10631 t nl 10632 :delim 10633 h 10634 s/\(.\{148\}\)..*/\1/ 10635 t more2 10636 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10637 p 10638 b 10639 :more2 10640 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10641 p 10642 g 10643 s/.\{148\}// 10644 t delim 10645 ' <conf$$subs.awk | sed ' 10646 /^[^""]/{ 10647 N 10648 s/\n// 10649 } 10650 ' >>$CONFIG_STATUS || ac_write_fail=1 10651 rm -f conf$$subs.awk 10652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10653 _ACAWK 10654 cat >>"\$tmp/subs1.awk" <<_ACAWK && 10655 for (key in S) S_is_set[key] = 1 10656 FS = "" 10657 10658 } 10659 { 10660 line = $ 0 10661 nfields = split(line, field, "@") 10662 substed = 0 10663 len = length(field[1]) 10664 for (i = 2; i < nfields; i++) { 10665 key = field[i] 10666 keylen = length(key) 10667 if (S_is_set[key]) { 10668 value = S[key] 10669 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10670 len += length(value) + length(field[++i]) 10671 substed = 1 10672 } else 10673 len += 1 + keylen 10674 } 10675 10676 print line 10677 } 10678 10679 _ACAWK 10680 _ACEOF 10681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10682 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10683 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10684 else 10685 cat 10686 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 10687 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10688 _ACEOF 10689 10690 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10691 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 10692 # trailing colons and then remove the whole line if VPATH becomes empty 10693 # (actually we leave an empty line to preserve line numbers). 10694 if test "x$srcdir" = x.; then 10695 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10696 h 10697 s/// 10698 s/^/:/ 10699 s/[ ]*$/:/ 10700 s/:\$(srcdir):/:/g 10701 s/:\${srcdir}:/:/g 10702 s/:@srcdir@:/:/g 10703 s/^:*// 10704 s/:*$// 10705 x 10706 s/\(=[ ]*\).*/\1/ 10707 G 10708 s/\n// 10709 s/^[^=]*=[ ]*$// 10710 }' 10711 fi 10712 10713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10714 fi # test -n "$CONFIG_FILES" 10715 10716 # Set up the scripts for CONFIG_HEADERS section. 10717 # No need to generate them if there are no CONFIG_HEADERS. 10718 # This happens for instance with `./config.status Makefile'. 10719 if test -n "$CONFIG_HEADERS"; then 10720 cat >"$tmp/defines.awk" <<\_ACAWK || 10721 BEGIN { 10722 _ACEOF 10723 10724 # Transform confdefs.h into an awk script `defines.awk', embedded as 10725 # here-document in config.status, that substitutes the proper values into 10726 # config.h.in to produce config.h. 10727 10728 # Create a delimiter string that does not exist in confdefs.h, to ease 10729 # handling of long lines. 16681 10730 ac_delim='%!_!# ' 16682 for ac_last_try in false false false false false :; do 16683 cat >conf$$subs.sed <<_ACEOF 16684 OCTAVE!$OCTAVE$ac_delim 16685 MKOCTFILE!$MKOCTFILE$ac_delim 16686 octave2!$octave2$ac_delim 16687 mkoctfile!$mkoctfile$ac_delim 16688 octave3!$octave3$ac_delim 16689 mkoctfile3!$mkoctfile3$ac_delim 16690 OCTAVE2!$OCTAVE2$ac_delim 16691 OCTAVE3!$OCTAVE3$ac_delim 16692 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 16693 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 16694 MKOCTFILE2!$MKOCTFILE2$ac_delim 16695 MKOCTFILE3!$MKOCTFILE3$ac_delim 16696 PERL!$PERL$ac_delim 16697 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 16698 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 16699 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 16700 PERL_VERSION!$PERL_VERSION$ac_delim 16701 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 16702 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 16703 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 16704 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 16705 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 16706 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 16707 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 16708 PYTHON!$PYTHON$ac_delim 16709 PYTHON_CPPFLAGS!$PYTHON_CPPFLAGS$ac_delim 16710 pythondir!$pythondir$ac_delim 16711 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 16712 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 16713 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 16714 HAVE_PYTHON_DISTUTILS!$HAVE_PYTHON_DISTUTILS$ac_delim 16715 RUBY!$RUBY$ac_delim 16716 SED!$SED$ac_delim 16717 RUBY_VERSION!$RUBY_VERSION$ac_delim 16718 AWK!$AWK$ac_delim 16719 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 16720 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 16721 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 16722 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 16723 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 16724 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 16725 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 16726 JAVA!$JAVA$ac_delim 16727 JAVAC!$JAVAC$ac_delim 16728 JAVAH!$JAVAH$ac_delim 16729 JAVA_HOME!$JAVA_HOME$ac_delim 16730 JAVA_INC_DIR!$JAVA_INC_DIR$ac_delim 16731 JAVA_INC_SPEC!$JAVA_INC_SPEC$ac_delim 16732 RP_BASE!$RP_BASE$ac_delim 16733 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 16734 TK_VERSION!$TK_VERSION$ac_delim 16735 SIZEOF_INT!$SIZEOF_INT$ac_delim 16736 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 16737 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 16738 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 16739 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 16740 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 16741 subdirs!$subdirs$ac_delim 16742 LIBOBJS!$LIBOBJS$ac_delim 16743 LTLIBOBJS!$LTLIBOBJS$ac_delim 16744 _ACEOF 16745 16746 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then 10731 for ac_last_try in false false :; do 10732 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 10733 if test -z "$ac_t"; then 16747 10734 break 16748 10735 elif $ac_last_try; then 16749 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16750 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16751 { (exit 1); exit 1; }; } 10736 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 16752 10737 else 16753 10738 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 16755 10740 done 16756 10741 16757 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 16758 if test -n "$ac_eof"; then 16759 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 16760 ac_eof=`expr $ac_eof + 1` 16761 fi 16762 16763 cat >>$CONFIG_STATUS <<_ACEOF 16764 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 16765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 16766 _ACEOF 16767 sed ' 16768 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 16769 s/^/s,@/; s/!/@,|#_!!_#|/ 16770 :n 16771 t n 16772 s/'"$ac_delim"'$/,g/; t 16773 s/$/\\/; p 16774 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 16775 ' >>$CONFIG_STATUS <conf$$subs.sed 16776 rm -f conf$$subs.sed 16777 cat >>$CONFIG_STATUS <<_ACEOF 16778 :end 16779 s/|#_!!_#|//g 16780 CEOF$ac_eof 16781 _ACEOF 16782 16783 16784 # VPATH may cause trouble with some makes, so we remove $(srcdir), 16785 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 16786 # trailing colons and then remove the whole line if VPATH becomes empty 16787 # (actually we leave an empty line to preserve line numbers). 16788 if test "x$srcdir" = x.; then 16789 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 16790 s/:*\$(srcdir):*/:/ 16791 s/:*\${srcdir}:*/:/ 16792 s/:*@srcdir@:*/:/ 16793 s/^\([^=]*=[ ]*\):*/\1/ 16794 s/:*$// 16795 s/^[^=]*=[ ]*$// 16796 }' 16797 fi 16798 16799 cat >>$CONFIG_STATUS <<\_ACEOF 16800 fi # test -n "$CONFIG_FILES" 16801 16802 16803 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 10742 # For the awk script, D is an array of macro values keyed by name, 10743 # likewise P contains macro parameters if any. Preserve backslash 10744 # newline sequences. 10745 10746 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10747 sed -n ' 10748 s/.\{148\}/&'"$ac_delim"'/g 10749 t rset 10750 :rset 10751 s/^[ ]*#[ ]*define[ ][ ]*/ / 10752 t def 10753 d 10754 :def 10755 s/\\$// 10756 t bsnl 10757 s/["\\]/\\&/g 10758 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10759 D["\1"]=" \3"/p 10760 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10761 d 10762 :bsnl 10763 s/["\\]/\\&/g 10764 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10765 D["\1"]=" \3\\\\\\n"\\/p 10766 t cont 10767 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10768 t cont 10769 d 10770 :cont 10771 n 10772 s/.\{148\}/&'"$ac_delim"'/g 10773 t clear 10774 :clear 10775 s/\\$// 10776 t bsnlc 10777 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10778 d 10779 :bsnlc 10780 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10781 b cont 10782 ' <confdefs.h | sed ' 10783 s/'"$ac_delim"'/"\\\ 10784 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10785 10786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10787 for (key in D) D_is_set[key] = 1 10788 FS = "" 10789 } 10790 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10791 line = \$ 0 10792 split(line, arg, " ") 10793 if (arg[1] == "#") { 10794 defundef = arg[2] 10795 mac1 = arg[3] 10796 } else { 10797 defundef = substr(arg[1], 2) 10798 mac1 = arg[2] 10799 } 10800 split(mac1, mac2, "(") #) 10801 macro = mac2[1] 10802 prefix = substr(line, 1, index(line, defundef) - 1) 10803 if (D_is_set[macro]) { 10804 # Preserve the white space surrounding the "#". 10805 print prefix "define", macro P[macro] D[macro] 10806 next 10807 } else { 10808 # Replace #undef with comments. This is necessary, for example, 10809 # in the case of _POSIX_SOURCE, which is predefined and required 10810 # on some systems where configure will not decide to define it. 10811 if (defundef == "undef") { 10812 print "/*", prefix defundef, macro, "*/" 10813 next 10814 } 10815 } 10816 } 10817 { print } 10818 _ACAWK 10819 _ACEOF 10820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10821 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10822 fi # test -n "$CONFIG_HEADERS" 10823 10824 10825 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10826 shift 10827 for ac_tag 16804 10828 do 16805 10829 case $ac_tag in … … 16808 10832 case $ac_mode$ac_tag in 16809 10833 :[FHL]*:*);; 16810 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 16811 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 16812 { (exit 1); exit 1; }; };; 10834 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 16813 10835 :[FH]-) ac_tag=-:-;; 16814 10836 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 16838 10860 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16839 10861 esac || 16840 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 16841 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 16842 { (exit 1); exit 1; }; };; 10862 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 16843 10863 esac 16844 ac_file_inputs="$ac_file_inputs $ac_f" 10864 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10865 as_fn_append ac_file_inputs " '$ac_f'" 16845 10866 done 16846 10867 … … 16848 10869 # use $as_me), people would be surprised to read: 16849 10870 # /* config.h. Generated by config.status. */ 16850 configure_input="Generated from "`IFS=: 16851 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10871 configure_input='Generated from '` 10872 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10873 `' by configure.' 16852 10874 if test x"$ac_file" != x-; then 16853 10875 configure_input="$ac_file. $configure_input" 16854 { echo "$as_me:$LINENO: creating $ac_file" >&516855 echo "$as_me: creating $ac_file" >&6;}10876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10877 $as_echo "$as_me: creating $ac_file" >&6;} 16856 10878 fi 10879 # Neutralize special characters interpreted by sed in replacement strings. 10880 case $configure_input in #( 10881 *\&* | *\|* | *\\* ) 10882 ac_sed_conf_input=`$as_echo "$configure_input" | 10883 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10884 *) ac_sed_conf_input=$configure_input;; 10885 esac 16857 10886 16858 10887 case $ac_tag in 16859 *:-:* | *:-) cat >"$tmp/stdin";; 10888 *:-:* | *:-) cat >"$tmp/stdin" \ 10889 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16860 10890 esac 16861 10891 ;; … … 16867 10897 X"$ac_file" : 'X\(//\)$' \| \ 16868 10898 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16869 echo X"$ac_file" |10899 $as_echo X"$ac_file" | 16870 10900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16871 10901 s//\1/ … … 16885 10915 } 16886 10916 s/.*/./; q'` 16887 { as_dir="$ac_dir" 16888 case $as_dir in #( 16889 -*) as_dir=./$as_dir;; 16890 esac 16891 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16892 as_dirs= 16893 while :; do 16894 case $as_dir in #( 16895 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 16896 *) as_qdir=$as_dir;; 16897 esac 16898 as_dirs="'$as_qdir' $as_dirs" 16899 as_dir=`$as_dirname -- "$as_dir" || 16900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16901 X"$as_dir" : 'X\(//\)[^/]' \| \ 16902 X"$as_dir" : 'X\(//\)$' \| \ 16903 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16904 echo X"$as_dir" | 16905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16906 s//\1/ 16907 q 16908 } 16909 /^X\(\/\/\)[^/].*/{ 16910 s//\1/ 16911 q 16912 } 16913 /^X\(\/\/\)$/{ 16914 s//\1/ 16915 q 16916 } 16917 /^X\(\/\).*/{ 16918 s//\1/ 16919 q 16920 } 16921 s/.*/./; q'` 16922 test -d "$as_dir" && break 16923 done 16924 test -z "$as_dirs" || eval "mkdir $as_dirs" 16925 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16926 echo "$as_me: error: cannot create directory $as_dir" >&2;} 16927 { (exit 1); exit 1; }; }; } 10917 as_dir="$ac_dir"; as_fn_mkdir_p 16928 10918 ac_builddir=. 16929 10919 … … 16931 10921 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16932 10922 *) 16933 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10923 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16934 10924 # A ".." for each directory in $ac_dir_suffix. 16935 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10925 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16936 10926 case $ac_top_builddir_sub in 16937 10927 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 16978 10968 _ACEOF 16979 10969 16980 cat >>$CONFIG_STATUS <<\_ACEOF 10970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16981 10971 # If the template does not know about datarootdir, expand it. 16982 10972 # FIXME: This hack should be removed a few years after 2.60. 16983 10973 ac_datarootdir_hack=; ac_datarootdir_seen= 16984 16985 case `sed -n '/datarootdir/ {10974 ac_sed_dataroot=' 10975 /datarootdir/ { 16986 10976 p 16987 10977 q … … 16991 10981 /@infodir@/p 16992 10982 /@localedir@/p 16993 /@mandir@/p 16994 ' $ac_file_inputs` in10983 /@mandir@/p' 10984 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16995 10985 *datarootdir*) ac_datarootdir_seen=yes;; 16996 10986 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16997 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&516998 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}16999 _ACEOF 17000 cat >>$CONFIG_STATUS <<_ACEOF 10987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10988 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10989 _ACEOF 10990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17001 10991 ac_datarootdir_hack=' 17002 10992 s&@datadir@&$datadir&g … … 17005 10995 s&@localedir@&$localedir&g 17006 10996 s&@mandir@&$mandir&g 17007 10997 s&\\\${datarootdir}&$datarootdir&g' ;; 17008 10998 esac 17009 10999 _ACEOF … … 17012 11002 # Shell code in configure.ac might set extrasub. 17013 11003 # FIXME: do we really want to maintain this feature? 17014 cat >>$CONFIG_STATUS <<_ACEOF 17015 sed"$ac_vpsub11004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11005 ac_sed_extra="$ac_vpsub 17016 11006 $extrasub 17017 11007 _ACEOF 17018 cat >>$CONFIG_STATUS <<\_ACEOF 11008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17019 11009 :t 17020 11010 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17021 s &@configure_input@&$configure_input&;t t11011 s|@configure_input@|$ac_sed_conf_input|;t t 17022 11012 s&@top_builddir@&$ac_top_builddir_sub&;t t 11013 s&@top_build_prefix@&$ac_top_build_prefix&;t t 17023 11014 s&@srcdir@&$ac_srcdir&;t t 17024 11015 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 17031 11022 s&@MKDIR_P@&$ac_MKDIR_P&;t t 17032 11023 $ac_datarootdir_hack 17033 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 11024 " 11025 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 11026 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17034 11027 17035 11028 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17036 11029 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17037 11030 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17038 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'17039 which seems to be undefined. Please make sure it is defined ." >&517040 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'17041 which seems to be undefined. Please make sure it is defined ." >&2;}11031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11032 which seems to be undefined. Please make sure it is defined" >&5 11033 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11034 which seems to be undefined. Please make sure it is defined" >&2;} 17042 11035 17043 11036 rm -f "$tmp/stdin" 17044 11037 case $ac_file in 17045 -) cat "$tmp/out"; rm -f "$tmp/out";; 17046 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 17047 esac 11038 -) cat "$tmp/out" && rm -f "$tmp/out";; 11039 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 11040 esac \ 11041 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17048 11042 ;; 17049 11043 :H) … … 17051 11045 # CONFIG_HEADER 17052 11046 # 17053 _ACEOF17054 17055 # Transform confdefs.h into a sed script `conftest.defines', that17056 # substitutes the proper values into config.h.in to produce config.h.17057 rm -f conftest.defines conftest.tail17058 # First, append a space to every undef/define line, to ease matching.17059 echo 's/$/ /' >conftest.defines17060 # Then, protect against being on the right side of a sed subst, or in17061 # an unquoted here document, in config.status. If some macros were17062 # called several times there might be several #defines for the same17063 # symbol, which is useless. But do not sort them, since the last17064 # AC_DEFINE must be honored.17065 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*17066 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where17067 # NAME is the cpp macro being defined, VALUE is the value it is being given.17068 # PARAMS is the parameter list in the macro definition--in most cases, it's17069 # just an empty string.17070 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'17071 ac_dB='\\)[ (].*,\\1define\\2'17072 ac_dC=' '17073 ac_dD=' ,'17074 17075 uniq confdefs.h |17076 sed -n '17077 t rset17078 :rset17079 s/^[ ]*#[ ]*define[ ][ ]*//17080 t ok17081 d17082 :ok17083 s/[\\&,]/\\&/g17084 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p17085 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p17086 ' >>conftest.defines17087 17088 # Remove the space that was appended to ease matching.17089 # Then replace #undef with comments. This is necessary, for17090 # example, in the case of _POSIX_SOURCE, which is predefined and required17091 # on some systems where configure will not decide to define it.17092 # (The regexp can be short, since the line contains either #define or #undef.)17093 echo 's/ $//17094 s,^[ #]*u.*,/* & */,' >>conftest.defines17095 17096 # Break up conftest.defines:17097 ac_max_sed_lines=5017098 17099 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"17100 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"17101 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"17102 # et cetera.17103 ac_in='$ac_file_inputs'17104 ac_out='"$tmp/out1"'17105 ac_nxt='"$tmp/out2"'17106 17107 while :17108 do17109 # Write a here document:17110 cat >>$CONFIG_STATUS <<_ACEOF17111 # First, check the format of the line:17112 cat >"\$tmp/defines.sed" <<\\CEOF17113 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def17114 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def17115 b17116 :def17117 _ACEOF17118 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS17119 echo 'CEOF17120 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS17121 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in17122 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail17123 grep . conftest.tail >/dev/null || break17124 rm -f conftest.defines17125 mv conftest.tail conftest.defines17126 done17127 rm -f conftest.defines conftest.tail17128 17129 echo "ac_result=$ac_in" >>$CONFIG_STATUS17130 cat >>$CONFIG_STATUS <<\_ACEOF17131 11047 if test x"$ac_file" != x-; then 17132 echo "/* $configure_input */" >"$tmp/config.h" 17133 cat "$ac_result" >>"$tmp/config.h" 17134 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 17135 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 17136 echo "$as_me: $ac_file is unchanged" >&6;} 11048 { 11049 $as_echo "/* $configure_input */" \ 11050 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 11051 } >"$tmp/config.h" \ 11052 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11053 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 11054 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11055 $as_echo "$as_me: $ac_file is unchanged" >&6;} 17137 11056 else 17138 rm -f $ac_file 17139 mv "$tmp/config.h" $ac_file 11057 rm -f "$ac_file" 11058 mv "$tmp/config.h" "$ac_file" \ 11059 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17140 11060 fi 17141 11061 else 17142 echo "/* $configure_input */" 17143 cat "$ac_result" 11062 $as_echo "/* $configure_input */" \ 11063 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 11064 || as_fn_error $? "could not create -" "$LINENO" 5 17144 11065 fi 17145 rm -f "$tmp/out12"17146 11066 ;; 17147 11067 … … 17152 11072 17153 11073 17154 { (exit 0); exit 0; } 17155 _ACEOF 17156 chmod +x $CONFIG_STATUS 11074 as_fn_exit 0 11075 _ACEOF 17157 11076 ac_clean_files=$ac_clean_files_save 11077 11078 test $ac_write_fail = 0 || 11079 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17158 11080 17159 11081 … … 17176 11098 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17177 11099 # would make configure fail if this is the last instruction. 17178 $ac_cs_success || { (exit 1); exit 1; }11100 $ac_cs_success || as_fn_exit 1 17179 11101 fi 17180 11102 … … 17184 11106 if test "$no_recursion" != yes; then 17185 11107 17186 # Remove --cache-file and --srcdir arguments so they do not pile up. 11108 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 11109 # so they do not pile up. 17187 11110 ac_sub_configure_args= 17188 11111 ac_prev= … … 17213 11136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 17214 11137 ;; 11138 --disable-option-checking) 11139 ;; 17215 11140 *) 17216 11141 case $ac_arg in 17217 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11142 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17218 11143 esac 17219 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;11144 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 17220 11145 esac 17221 11146 done … … 17225 11150 ac_arg="--prefix=$prefix" 17226 11151 case $ac_arg in 17227 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11152 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17228 11153 esac 17229 11154 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 17234 11159 fi 17235 11160 11161 # Always prepend --disable-option-checking to silence warnings, since 11162 # different subdirs can have different --enable and --with options. 11163 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 11164 17236 11165 ac_popdir=`pwd` 17237 11166 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 17242 11171 17243 11172 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 17244 echo "$as_me:$LINENO: $ac_msg" >&5 17245 echo "$ac_msg" >&6 17246 { as_dir="$ac_dir" 17247 case $as_dir in #( 17248 -*) as_dir=./$as_dir;; 17249 esac 17250 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17251 as_dirs= 17252 while :; do 17253 case $as_dir in #( 17254 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 17255 *) as_qdir=$as_dir;; 17256 esac 17257 as_dirs="'$as_qdir' $as_dirs" 17258 as_dir=`$as_dirname -- "$as_dir" || 17259 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17260 X"$as_dir" : 'X\(//\)[^/]' \| \ 17261 X"$as_dir" : 'X\(//\)$' \| \ 17262 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17263 echo X"$as_dir" | 17264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17265 s//\1/ 17266 q 17267 } 17268 /^X\(\/\/\)[^/].*/{ 17269 s//\1/ 17270 q 17271 } 17272 /^X\(\/\/\)$/{ 17273 s//\1/ 17274 q 17275 } 17276 /^X\(\/\).*/{ 17277 s//\1/ 17278 q 17279 } 17280 s/.*/./; q'` 17281 test -d "$as_dir" && break 17282 done 17283 test -z "$as_dirs" || eval "mkdir $as_dirs" 17284 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17285 echo "$as_me: error: cannot create directory $as_dir" >&2;} 17286 { (exit 1); exit 1; }; }; } 11173 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 11174 $as_echo "$ac_msg" >&6 11175 as_dir="$ac_dir"; as_fn_mkdir_p 17287 11176 ac_builddir=. 17288 11177 … … 17290 11179 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17291 11180 *) 17292 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`11181 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17293 11182 # A ".." for each directory in $ac_dir_suffix. 17294 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`11183 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17295 11184 case $ac_top_builddir_sub in 17296 11185 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 17331 11220 ac_sub_configure=$ac_aux_dir/configure 17332 11221 else 17333 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&517334 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}11222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 11223 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 17335 11224 ac_sub_configure= 17336 11225 fi … … 17345 11234 esac 17346 11235 17347 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&517348 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}11236 { $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 11237 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 17349 11238 # The eval makes quoting arguments work. 17350 11239 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 17351 11240 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 17352 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 17353 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 17354 { (exit 1); exit 1; }; } 11241 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 17355 11242 fi 17356 11243 … … 17358 11245 done 17359 11246 fi 17360 11247 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11249 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11250 fi 11251
Note: See TracChangeset
for help on using the changeset viewer.