- Timestamp:
- Jan 25, 2011, 12:31:51 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r2064 r2065 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.68 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 as_myself= 95 case $0 in #(( 74 96 *[\\/]* ) as_myself=$0 ;; 75 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 100 IFS=$as_save_IFS 79 101 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 82 104 IFS=$as_save_IFS 83 105 … … 90 112 fi 91 113 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 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 125 done 100 126 PS1='$ ' … … 103 129 104 130 # 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 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 189 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 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 240 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 115 done 116 117 # Required to use basename. 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 118 386 if expr a : '\(a\)' >/dev/null 2>&1 && 119 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 397 fi 130 398 131 132 # Name of the executable. 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 133 405 as_me=`$as_basename -- "$0" || 134 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 407 X"$0" : 'X\(//\)$' \| \ 136 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |409 $as_echo X/"$0" | 138 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 411 s//\1/ … … 150 422 s/.*/./; q'` 151 423 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. :-) 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 437 sed -n ' 441 438 p … … 454 451 ' >$as_me.lineno && 455 452 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; }; } 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 454 459 455 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 461 } 466 462 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 463 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 464 case `echo -n x` in #((((( 476 465 -n*) 477 case `echo 'x \c'` in466 case `echo 'xy\c'` in 478 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 480 471 esac;; 481 472 *) … … 483 474 esac 484 475 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 476 rm -f conf$$ conf$$.exe conf$$.file 493 477 if test -d conf$$.dir; then … … 495 479 else 496 480 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 || 481 mkdir conf$$.dir 2>/dev/null 482 fi 483 if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 507 495 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 496 fi 510 497 else 511 498 as_ln_s='cp -p' … … 515 502 516 503 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :504 as_mkdir_p='mkdir -p "$as_dir"' 518 505 else 519 506 test -d ./-p && rmdir ./-p … … 532 519 eval sh -c '\'' 533 520 if test -d "$1"; then 534 521 test -d "$1/."; 535 522 else 536 case $1 in 537 523 case $1 in #( 524 -*)set "./$1";; 538 525 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 527 ???[sx]*):;;*)false;;esac;fi 541 528 '\'' sh … … 551 538 552 539 553 554 exec 7<&0 </dev/null6>&1540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 555 542 556 543 # Name of the host. 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 558 545 # so uname gets run too. 559 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 570 557 MFLAGS= 571 558 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 559 574 560 # Identity of this package. … … 578 564 PACKAGE_STRING='Rappture 1.1' 579 565 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL='' 580 567 581 568 # Factoring default headers for most tests. … … 615 602 #endif" 616 603 617 ac_subst_vars='SHELL 604 enable_option_checking=no 605 ac_subst_vars='LTLIBOBJS 606 LIBOBJS 607 subdirs 608 HAVE_FFMPEG_LIBS 609 LDFLAGS_DEFAULT 610 CFLAGS_DEFAULT 611 SIZEOF_VOID_P 612 SIZEOF_LONG_LONG 613 SIZEOF_LONG 614 SIZEOF_INT 615 TK_VERSION 616 SHLIB_LDFLAGS 617 RP_BASE 618 JAVA_INC_SPEC 619 JAVA_INC_DIR 620 JAVA_HOME 621 JAVAH 622 JAVAC 623 JAVA 624 RUBY_PLATFORM 625 RUBY_VERSION_RV 626 HAVE_RUBY_DEVEL 627 RUBY_EXTRA_LIBS 628 RUBY_SITE_PKG 629 RUBY_LDFLAGS 630 RUBY_CPPFLAGS 631 AWK 632 RUBY_VERSION 633 SED 634 RUBY 635 PYTHON_DISTUTILS 636 PYTHON_SITE_PACKAGES 637 PYTHON_LIBDIR 638 PYTHON_SITE_DIR 639 PYTHON_LIB 640 PYTHON_LDFLAGS 641 PYTHON_INCDIR 642 PYTHON_CFLAGS 643 PYTHON_INCLUDES 644 PYTHON_VERSION 645 PYTHON 646 PERL_LIBSPEC 647 PERL_VERSION_RV 648 PERL_INSTALLARCHLIB 649 PERL_PRIVLIB 650 PERL_VENDORLIB 651 PERL_CPPFLAGS 652 PERL_CCFLAGS 653 PERL_VERSION 654 PERL_ARCHLIBEXP 655 PERL_ARCHLIB 656 PERL_INCLUDES 657 PERL 658 MKOCTFILE3 659 MKOCTFILE2 660 OCTAVE_VERSION_MAJOR 661 OCTAVE_VERSION 662 OCTAVE3 663 OCTAVE2 664 mkoctfile3 665 octave3 666 mkoctfile2 667 octave2 668 MKOCTFILE 669 OCTAVE 670 MEX_ARCH 671 MCC 672 MEXEXT 673 MEX 674 MATLAB 675 VTKDIR 676 TCL_LIB_SPEC 677 TCL_INC_SPEC 678 TCL_VERSION 679 TCLSH 680 ENABLE_GUI 681 MAKE 682 INSTALL_STUB_LIB 683 INSTALL_LIB 684 MAKE_STUB_LIB 685 MAKE_LIB 686 SHLIB_SUFFIX 687 SHLIB_CFLAGS 688 SHLIB_LD_LIBS 689 TK_SHLIB_LD_EXTRAS 690 TCL_SHLIB_LD_EXTRAS 691 SHLIB_LD 692 STLIB_LD 693 LD_SEARCH_FLAGS 694 CC_SEARCH_FLAGS 695 LDFLAGS_OPTIMIZE 696 LDFLAGS_DEBUG 697 CFLAGS_WARNING 698 CFLAGS_OPTIMIZE 699 CFLAGS_DEBUG 700 PLAT_SRCS 701 PLAT_OBJS 702 DL_OBJS 703 DL_LIBS 704 AR 705 HAVE_INTTYPES_H 706 CXXCPP 707 EGREP 708 GREP 709 CPP 710 ac_ct_F77 711 FFLAGS 712 F77 713 ac_ct_CXX 714 CXXFLAGS 715 CXX 716 OBJEXT 717 EXEEXT 718 ac_ct_CC 719 CPPFLAGS 720 LDFLAGS 721 CFLAGS 722 CC 723 SET_MAKE 724 MKDIR_P 725 LN_S 726 RANLIB 727 INSTALL_DATA 728 INSTALL_SCRIPT 729 INSTALL_PROGRAM 730 LIB_SEARCH_DIRS 731 target_alias 732 host_alias 733 build_alias 734 LIBS 735 ECHO_T 736 ECHO_N 737 ECHO_C 738 DEFS 739 mandir 740 localedir 741 libdir 742 psdir 743 pdfdir 744 dvidir 745 htmldir 746 infodir 747 docdir 748 oldincludedir 749 includedir 750 localstatedir 751 sharedstatedir 752 sysconfdir 753 datadir 754 datarootdir 755 libexecdir 756 sbindir 757 bindir 758 program_transform_name 759 prefix 760 exec_prefix 761 PACKAGE_URL 762 PACKAGE_BUGREPORT 763 PACKAGE_STRING 764 PACKAGE_VERSION 765 PACKAGE_TARNAME 766 PACKAGE_NAME 618 767 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 mkoctfile2 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_VERSION 740 PYTHON_INCLUDES 741 PYTHON_CFLAGS 742 PYTHON_INCDIR 743 PYTHON_LDFLAGS 744 PYTHON_LIB 745 PYTHON_SITE_DIR 746 PYTHON_LIBDIR 747 PYTHON_SITE_PACKAGES 748 PYTHON_DISTUTILS 749 RUBY 750 SED 751 RUBY_VERSION 752 AWK 753 RUBY_CPPFLAGS 754 RUBY_LDFLAGS 755 RUBY_SITE_PKG 756 RUBY_EXTRA_LIBS 757 HAVE_RUBY_DEVEL 758 RUBY_VERSION_RV 759 RUBY_PLATFORM 760 JAVA 761 JAVAC 762 JAVAH 763 JAVA_HOME 764 JAVA_INC_DIR 765 JAVA_INC_SPEC 766 RP_BASE 767 SHLIB_LDFLAGS 768 TK_VERSION 769 SIZEOF_INT 770 SIZEOF_LONG 771 SIZEOF_LONG_LONG 772 SIZEOF_VOID_P 773 CFLAGS_DEFAULT 774 LDFLAGS_DEFAULT 775 HAVE_FFMPEG_LIBS 776 subdirs 777 LIBOBJS 778 LTLIBOBJS' 768 SHELL' 779 769 ac_subst_files='' 770 ac_user_opts=' 771 enable_option_checking 772 enable_64bit 773 enable_64bit_vis 774 enable_corefoundation 775 enable_load 776 enable_gui 777 with_tclsh 778 with_vtk 779 with_matlab 780 with_octave 781 with_octave2 782 with_octave3 783 with_perl 784 with_python 785 with_ruby 786 with_java 787 enable_shared 788 enable_symbols 789 ' 780 790 ac_precious_vars='build_alias 781 791 host_alias … … 798 808 ac_init_help= 799 809 ac_init_version=false 810 ac_unrecognized_opts= 811 ac_unrecognized_sep= 800 812 # The variables have the same names as the options, with 801 813 # dashes changed to underlines. … … 853 865 854 866 case $ac_option in 855 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 856 *) ac_optarg=yes ;; 867 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 868 *=) ac_optarg= ;; 869 *) ac_optarg=yes ;; 857 870 esac 858 871 … … 896 909 897 910 -disable-* | --disable-*) 898 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`911 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 899 912 # Reject names that are not valid shell variable names. 900 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 901 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 902 { (exit 1); exit 1; }; } 903 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 904 eval enable_$ac_feature=no ;; 913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 914 as_fn_error $? "invalid feature name: $ac_useropt" 915 ac_useropt_orig=$ac_useropt 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 917 case $ac_user_opts in 918 *" 919 "enable_$ac_useropt" 920 "*) ;; 921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 922 ac_unrecognized_sep=', ';; 923 esac 924 eval enable_$ac_useropt=no ;; 905 925 906 926 -docdir | --docdir | --docdi | --doc | --do) … … 915 935 916 936 -enable-* | --enable-*) 917 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`937 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 918 938 # Reject names that are not valid shell variable names. 919 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 920 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 921 { (exit 1); exit 1; }; } 922 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 923 eval enable_$ac_feature=\$ac_optarg ;; 939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 940 as_fn_error $? "invalid feature name: $ac_useropt" 941 ac_useropt_orig=$ac_useropt 942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 943 case $ac_user_opts in 944 *" 945 "enable_$ac_useropt" 946 "*) ;; 947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 948 ac_unrecognized_sep=', ';; 949 esac 950 eval enable_$ac_useropt=\$ac_optarg ;; 924 951 925 952 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1112 1139 1113 1140 -with-* | --with-*) 1114 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1141 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1115 1142 # Reject names that are not valid shell variable names. 1116 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1117 { echo "$as_me: error: invalid package name: $ac_package" >&2 1118 { (exit 1); exit 1; }; } 1119 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1120 eval with_$ac_package=\$ac_optarg ;; 1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1144 as_fn_error $? "invalid package name: $ac_useropt" 1145 ac_useropt_orig=$ac_useropt 1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1147 case $ac_user_opts in 1148 *" 1149 "with_$ac_useropt" 1150 "*) ;; 1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1152 ac_unrecognized_sep=', ';; 1153 esac 1154 eval with_$ac_useropt=\$ac_optarg ;; 1121 1155 1122 1156 -without-* | --without-*) 1123 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1157 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1124 1158 # Reject names that are not valid shell variable names. 1125 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1126 { echo "$as_me: error: invalid package name: $ac_package" >&2 1127 { (exit 1); exit 1; }; } 1128 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1129 eval with_$ac_package=no ;; 1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160 as_fn_error $? "invalid package name: $ac_useropt" 1161 ac_useropt_orig=$ac_useropt 1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 case $ac_user_opts in 1164 *" 1165 "with_$ac_useropt" 1166 "*) ;; 1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1168 ac_unrecognized_sep=', ';; 1169 esac 1170 eval with_$ac_useropt=no ;; 1130 1171 1131 1172 --x) … … 1147 1188 x_libraries=$ac_optarg ;; 1148 1189 1149 -*) { echo "$as_me: error: unrecognized option: $ac_option 1150 Try \`$0 --help' for more information." >&2 1151 { (exit 1); exit 1; }; } 1190 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1191 Try \`$0 --help' for more information" 1152 1192 ;; 1153 1193 … … 1155 1195 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1156 1196 # Reject names that are not valid shell variable names. 1157 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1158 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1159 { (exit 1); exit 1; }; } 1197 case $ac_envvar in #( 1198 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1199 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1200 esac 1160 1201 eval $ac_envvar=\$ac_optarg 1161 1202 export $ac_envvar ;; … … 1163 1204 *) 1164 1205 # FIXME: should be removed in autoconf 3.0. 1165 echo "$as_me: WARNING: you should use --build, --host, --target" >&21206 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1166 1207 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1167 echo "$as_me: WARNING: invalid host type: $ac_option" >&21168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1208 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1209 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1169 1210 ;; 1170 1211 … … 1174 1215 if test -n "$ac_prev"; then 1175 1216 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1176 { echo "$as_me: error: missing argument to $ac_option" >&2 1177 { (exit 1); exit 1; }; } 1178 fi 1179 1180 # Be sure to have absolute directory names. 1217 as_fn_error $? "missing argument to $ac_option" 1218 fi 1219 1220 if test -n "$ac_unrecognized_opts"; then 1221 case $enable_option_checking in 1222 no) ;; 1223 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1224 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1225 esac 1226 fi 1227 1228 # Check all directory arguments for consistency. 1181 1229 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1182 1230 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1185 1233 do 1186 1234 eval ac_val=\$$ac_var 1235 # Remove trailing slashes. 1236 case $ac_val in 1237 */ ) 1238 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1239 eval $ac_var=\$ac_val;; 1240 esac 1241 # Be sure to have absolute directory names. 1187 1242 case $ac_val in 1188 1243 [\\/$]* | ?:[\\/]* ) continue;; 1189 1244 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1190 1245 esac 1191 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1192 { (exit 1); exit 1; }; } 1246 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1193 1247 done 1194 1248 … … 1204 1258 if test "x$build_alias" = x; then 1205 1259 cross_compiling=maybe 1206 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1207 If a cross compiler is detected then cross compile mode will be used ." >&21260 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1261 If a cross compiler is detected then cross compile mode will be used" >&2 1208 1262 elif test "x$build_alias" != "x$host_alias"; then 1209 1263 cross_compiling=yes … … 1220 1274 ac_ls_di=`ls -di .` && 1221 1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1222 { echo "$as_me: error: Working directory cannot be determined" >&2 1223 { (exit 1); exit 1; }; } 1276 as_fn_error $? "working directory cannot be determined" 1224 1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1225 { echo "$as_me: error: pwd does not report name of working directory" >&2 1226 { (exit 1); exit 1; }; } 1278 as_fn_error $? "pwd does not report name of working directory" 1227 1279 1228 1280 … … 1231 1283 ac_srcdir_defaulted=yes 1232 1284 # Try the directory containing this script, then the parent directory. 1233 ac_confdir=`$as_dirname -- "$ 0" ||1234 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1235 X"$ 0" : 'X\(//\)[^/]' \| \1236 X"$ 0" : 'X\(//\)$' \| \1237 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1238 echo X"$0" |1285 ac_confdir=`$as_dirname -- "$as_myself" || 1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1287 X"$as_myself" : 'X\(//\)[^/]' \| \ 1288 X"$as_myself" : 'X\(//\)$' \| \ 1289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1290 $as_echo X"$as_myself" | 1239 1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1240 1292 s//\1/ … … 1263 1315 if test ! -r "$srcdir/$ac_unique_file"; then 1264 1316 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1265 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1266 { (exit 1); exit 1; }; } 1317 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1267 1318 fi 1268 1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1269 1320 ac_abs_confdir=`( 1270 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1271 { (exit 1); exit 1; }; } 1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1272 1322 pwd)` 1273 1323 # When building in place, set srcdir=. … … 1309 1359 --help=recursive display the short help of all the included packages 1310 1360 -V, --version display version information and exit 1311 -q, --quiet, --silent do not print \`checking ...' messages1361 -q, --quiet, --silent do not print \`checking ...' messages 1312 1362 --cache-file=FILE cache test results in FILE [disabled] 1313 1363 -C, --config-cache alias for \`--cache-file=config.cache' … … 1317 1367 Installation directories: 1318 1368 --prefix=PREFIX install architecture-independent files in PREFIX 1319 1369 [$ac_default_prefix] 1320 1370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1321 1371 [PREFIX] 1322 1372 1323 1373 By default, \`make install' will install all the files in … … 1329 1379 1330 1380 Fine tuning of the installation directories: 1331 --bindir=DIR user executables [EPREFIX/bin]1332 --sbindir=DIR system admin executables [EPREFIX/sbin]1333 --libexecdir=DIR program executables [EPREFIX/libexec]1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1337 --libdir=DIR object code libraries [EPREFIX/lib]1338 --includedir=DIR C header files [PREFIX/include]1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1342 --infodir=DIR info documentation [DATAROOTDIR/info]1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1344 --mandir=DIR man documentation [DATAROOTDIR/man]1345 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1346 --htmldir=DIR html documentation [DOCDIR]1347 --dvidir=DIR dvi documentation [DOCDIR]1348 --pdfdir=DIR pdf documentation [DOCDIR]1349 --psdir=DIR ps documentation [DOCDIR]1381 --bindir=DIR user executables [EPREFIX/bin] 1382 --sbindir=DIR system admin executables [EPREFIX/sbin] 1383 --libexecdir=DIR program executables [EPREFIX/libexec] 1384 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1385 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1386 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1387 --libdir=DIR object code libraries [EPREFIX/lib] 1388 --includedir=DIR C header files [PREFIX/include] 1389 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1392 --infodir=DIR info documentation [DATAROOTDIR/info] 1393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1394 --mandir=DIR man documentation [DATAROOTDIR/man] 1395 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1396 --htmldir=DIR html documentation [DOCDIR] 1397 --dvidir=DIR dvi documentation [DOCDIR] 1398 --pdfdir=DIR pdf documentation [DOCDIR] 1399 --psdir=DIR ps documentation [DOCDIR] 1350 1400 _ACEOF 1351 1401 … … 1361 1411 1362 1412 Optional Features: 1413 --disable-option-checking ignore unrecognized --enable/--with options 1363 1414 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1364 1415 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1392 1443 nonstandard directory <lib dir> 1393 1444 LIBS libraries to pass to the linker, e.g. -l<library> 1394 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1445 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1395 1446 you have headers in a nonstandard directory <include dir> 1396 1447 CXX C++ compiler command … … 1412 1463 # If there are subdirs, report their specific --help. 1413 1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1414 test -d "$ac_dir" || continue 1465 test -d "$ac_dir" || 1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1467 continue 1415 1468 ac_builddir=. 1416 1469 … … 1418 1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1419 1472 *) 1420 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1421 1474 # A ".." for each directory in $ac_dir_suffix. 1422 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1475 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1423 1476 case $ac_top_builddir_sub in 1424 1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1456 1509 $SHELL "$ac_srcdir/configure" --help=recursive 1457 1510 else 1458 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1459 1512 fi || ac_status=$? 1460 1513 cd "$ac_pwd" || { ac_status=$?; break; } … … 1466 1519 cat <<\_ACEOF 1467 1520 Rappture configure 1.1 1468 generated by GNU Autoconf 2.61 1469 1470 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1471 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1521 generated by GNU Autoconf 2.68 1522 1523 Copyright (C) 2010 Free Software Foundation, Inc. 1472 1524 This configure script is free software; the Free Software Foundation 1473 1525 gives unlimited permission to copy, distribute and modify it. … … 1475 1527 exit 1476 1528 fi 1529 1530 ## ------------------------ ## 1531 ## Autoconf initialization. ## 1532 ## ------------------------ ## 1533 1534 # ac_fn_c_try_compile LINENO 1535 # -------------------------- 1536 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1537 ac_fn_c_try_compile () 1538 { 1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1540 rm -f conftest.$ac_objext 1541 if { { ac_try="$ac_compile" 1542 case "(($ac_try" in 1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1544 *) ac_try_echo=$ac_try;; 1545 esac 1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1547 $as_echo "$ac_try_echo"; } >&5 1548 (eval "$ac_compile") 2>conftest.err 1549 ac_status=$? 1550 if test -s conftest.err; then 1551 grep -v '^ *+' conftest.err >conftest.er1 1552 cat conftest.er1 >&5 1553 mv -f conftest.er1 conftest.err 1554 fi 1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1556 test $ac_status = 0; } && { 1557 test -z "$ac_c_werror_flag" || 1558 test ! -s conftest.err 1559 } && test -s conftest.$ac_objext; then : 1560 ac_retval=0 1561 else 1562 $as_echo "$as_me: failed program was:" >&5 1563 sed 's/^/| /' conftest.$ac_ext >&5 1564 1565 ac_retval=1 1566 fi 1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1568 as_fn_set_status $ac_retval 1569 1570 } # ac_fn_c_try_compile 1571 1572 # ac_fn_cxx_try_compile LINENO 1573 # ---------------------------- 1574 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1575 ac_fn_cxx_try_compile () 1576 { 1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1578 rm -f conftest.$ac_objext 1579 if { { ac_try="$ac_compile" 1580 case "(($ac_try" in 1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1582 *) ac_try_echo=$ac_try;; 1583 esac 1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1585 $as_echo "$ac_try_echo"; } >&5 1586 (eval "$ac_compile") 2>conftest.err 1587 ac_status=$? 1588 if test -s conftest.err; then 1589 grep -v '^ *+' conftest.err >conftest.er1 1590 cat conftest.er1 >&5 1591 mv -f conftest.er1 conftest.err 1592 fi 1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1594 test $ac_status = 0; } && { 1595 test -z "$ac_cxx_werror_flag" || 1596 test ! -s conftest.err 1597 } && test -s conftest.$ac_objext; then : 1598 ac_retval=0 1599 else 1600 $as_echo "$as_me: failed program was:" >&5 1601 sed 's/^/| /' conftest.$ac_ext >&5 1602 1603 ac_retval=1 1604 fi 1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1606 as_fn_set_status $ac_retval 1607 1608 } # ac_fn_cxx_try_compile 1609 1610 # ac_fn_f77_try_compile LINENO 1611 # ---------------------------- 1612 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1613 ac_fn_f77_try_compile () 1614 { 1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1616 rm -f conftest.$ac_objext 1617 if { { ac_try="$ac_compile" 1618 case "(($ac_try" in 1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1620 *) ac_try_echo=$ac_try;; 1621 esac 1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1623 $as_echo "$ac_try_echo"; } >&5 1624 (eval "$ac_compile") 2>conftest.err 1625 ac_status=$? 1626 if test -s conftest.err; then 1627 grep -v '^ *+' conftest.err >conftest.er1 1628 cat conftest.er1 >&5 1629 mv -f conftest.er1 conftest.err 1630 fi 1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1632 test $ac_status = 0; } && { 1633 test -z "$ac_f77_werror_flag" || 1634 test ! -s conftest.err 1635 } && test -s conftest.$ac_objext; then : 1636 ac_retval=0 1637 else 1638 $as_echo "$as_me: failed program was:" >&5 1639 sed 's/^/| /' conftest.$ac_ext >&5 1640 1641 ac_retval=1 1642 fi 1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1644 as_fn_set_status $ac_retval 1645 1646 } # ac_fn_f77_try_compile 1647 1648 # ac_fn_c_try_cpp LINENO 1649 # ---------------------- 1650 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1651 ac_fn_c_try_cpp () 1652 { 1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1654 if { { ac_try="$ac_cpp conftest.$ac_ext" 1655 case "(($ac_try" in 1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1657 *) ac_try_echo=$ac_try;; 1658 esac 1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1660 $as_echo "$ac_try_echo"; } >&5 1661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1662 ac_status=$? 1663 if test -s conftest.err; then 1664 grep -v '^ *+' conftest.err >conftest.er1 1665 cat conftest.er1 >&5 1666 mv -f conftest.er1 conftest.err 1667 fi 1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1669 test $ac_status = 0; } > conftest.i && { 1670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1671 test ! -s conftest.err 1672 }; then : 1673 ac_retval=0 1674 else 1675 $as_echo "$as_me: failed program was:" >&5 1676 sed 's/^/| /' conftest.$ac_ext >&5 1677 1678 ac_retval=1 1679 fi 1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1681 as_fn_set_status $ac_retval 1682 1683 } # ac_fn_c_try_cpp 1684 1685 # ac_fn_c_try_run LINENO 1686 # ---------------------- 1687 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1688 # that executables *can* be run. 1689 ac_fn_c_try_run () 1690 { 1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 if { { ac_try="$ac_link" 1693 case "(($ac_try" in 1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1695 *) ac_try_echo=$ac_try;; 1696 esac 1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1698 $as_echo "$ac_try_echo"; } >&5 1699 (eval "$ac_link") 2>&5 1700 ac_status=$? 1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1702 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1703 { { case "(($ac_try" in 1704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1705 *) ac_try_echo=$ac_try;; 1706 esac 1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1708 $as_echo "$ac_try_echo"; } >&5 1709 (eval "$ac_try") 2>&5 1710 ac_status=$? 1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1712 test $ac_status = 0; }; }; then : 1713 ac_retval=0 1714 else 1715 $as_echo "$as_me: program exited with status $ac_status" >&5 1716 $as_echo "$as_me: failed program was:" >&5 1717 sed 's/^/| /' conftest.$ac_ext >&5 1718 1719 ac_retval=$ac_status 1720 fi 1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1723 as_fn_set_status $ac_retval 1724 1725 } # ac_fn_c_try_run 1726 1727 # ac_fn_c_try_link LINENO 1728 # ----------------------- 1729 # Try to link conftest.$ac_ext, and return whether this succeeded. 1730 ac_fn_c_try_link () 1731 { 1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1733 rm -f conftest.$ac_objext conftest$ac_exeext 1734 if { { ac_try="$ac_link" 1735 case "(($ac_try" in 1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1737 *) ac_try_echo=$ac_try;; 1738 esac 1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1740 $as_echo "$ac_try_echo"; } >&5 1741 (eval "$ac_link") 2>conftest.err 1742 ac_status=$? 1743 if test -s conftest.err; then 1744 grep -v '^ *+' conftest.err >conftest.er1 1745 cat conftest.er1 >&5 1746 mv -f conftest.er1 conftest.err 1747 fi 1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1749 test $ac_status = 0; } && { 1750 test -z "$ac_c_werror_flag" || 1751 test ! -s conftest.err 1752 } && test -s conftest$ac_exeext && { 1753 test "$cross_compiling" = yes || 1754 $as_test_x conftest$ac_exeext 1755 }; then : 1756 ac_retval=0 1757 else 1758 $as_echo "$as_me: failed program was:" >&5 1759 sed 's/^/| /' conftest.$ac_ext >&5 1760 1761 ac_retval=1 1762 fi 1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1765 # interfere with the next link command; also delete a directory that is 1766 # left behind by Apple's compiler. We do this before executing the actions. 1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1769 as_fn_set_status $ac_retval 1770 1771 } # ac_fn_c_try_link 1772 1773 # ac_fn_c_check_func LINENO FUNC VAR 1774 # ---------------------------------- 1775 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1776 ac_fn_c_check_func () 1777 { 1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1780 $as_echo_n "checking for $2... " >&6; } 1781 if eval \${$3+:} false; then : 1782 $as_echo_n "(cached) " >&6 1783 else 1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1785 /* end confdefs.h. */ 1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1787 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1788 #define $2 innocuous_$2 1789 1790 /* System header to define __stub macros and hopefully few prototypes, 1791 which can conflict with char $2 (); below. 1792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1793 <limits.h> exists even on freestanding compilers. */ 1794 1795 #ifdef __STDC__ 1796 # include <limits.h> 1797 #else 1798 # include <assert.h> 1799 #endif 1800 1801 #undef $2 1802 1803 /* Override any GCC internal prototype to avoid an error. 1804 Use char because int might match the return type of a GCC 1805 builtin and then its argument prototype would still apply. */ 1806 #ifdef __cplusplus 1807 extern "C" 1808 #endif 1809 char $2 (); 1810 /* The GNU C library defines this for functions which it implements 1811 to always fail with ENOSYS. Some functions are actually named 1812 something starting with __ and the normal name is an alias. */ 1813 #if defined __stub_$2 || defined __stub___$2 1814 choke me 1815 #endif 1816 1817 int 1818 main () 1819 { 1820 return $2 (); 1821 ; 1822 return 0; 1823 } 1824 _ACEOF 1825 if ac_fn_c_try_link "$LINENO"; then : 1826 eval "$3=yes" 1827 else 1828 eval "$3=no" 1829 fi 1830 rm -f core conftest.err conftest.$ac_objext \ 1831 conftest$ac_exeext conftest.$ac_ext 1832 fi 1833 eval ac_res=\$$3 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1835 $as_echo "$ac_res" >&6; } 1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1837 1838 } # ac_fn_c_check_func 1839 1840 # ac_fn_cxx_try_link LINENO 1841 # ------------------------- 1842 # Try to link conftest.$ac_ext, and return whether this succeeded. 1843 ac_fn_cxx_try_link () 1844 { 1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1846 rm -f conftest.$ac_objext conftest$ac_exeext 1847 if { { ac_try="$ac_link" 1848 case "(($ac_try" in 1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1850 *) ac_try_echo=$ac_try;; 1851 esac 1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1853 $as_echo "$ac_try_echo"; } >&5 1854 (eval "$ac_link") 2>conftest.err 1855 ac_status=$? 1856 if test -s conftest.err; then 1857 grep -v '^ *+' conftest.err >conftest.er1 1858 cat conftest.er1 >&5 1859 mv -f conftest.er1 conftest.err 1860 fi 1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1862 test $ac_status = 0; } && { 1863 test -z "$ac_cxx_werror_flag" || 1864 test ! -s conftest.err 1865 } && test -s conftest$ac_exeext && { 1866 test "$cross_compiling" = yes || 1867 $as_test_x conftest$ac_exeext 1868 }; then : 1869 ac_retval=0 1870 else 1871 $as_echo "$as_me: failed program was:" >&5 1872 sed 's/^/| /' conftest.$ac_ext >&5 1873 1874 ac_retval=1 1875 fi 1876 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1877 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1878 # interfere with the next link command; also delete a directory that is 1879 # left behind by Apple's compiler. We do this before executing the actions. 1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1882 as_fn_set_status $ac_retval 1883 1884 } # ac_fn_cxx_try_link 1885 1886 # ac_fn_cxx_check_func LINENO FUNC VAR 1887 # ------------------------------------ 1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1889 ac_fn_cxx_check_func () 1890 { 1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1893 $as_echo_n "checking for $2... " >&6; } 1894 if eval \${$3+:} false; then : 1895 $as_echo_n "(cached) " >&6 1896 else 1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1898 /* end confdefs.h. */ 1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1901 #define $2 innocuous_$2 1902 1903 /* System header to define __stub macros and hopefully few prototypes, 1904 which can conflict with char $2 (); below. 1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1906 <limits.h> exists even on freestanding compilers. */ 1907 1908 #ifdef __STDC__ 1909 # include <limits.h> 1910 #else 1911 # include <assert.h> 1912 #endif 1913 1914 #undef $2 1915 1916 /* Override any GCC internal prototype to avoid an error. 1917 Use char because int might match the return type of a GCC 1918 builtin and then its argument prototype would still apply. */ 1919 #ifdef __cplusplus 1920 extern "C" 1921 #endif 1922 char $2 (); 1923 /* The GNU C library defines this for functions which it implements 1924 to always fail with ENOSYS. Some functions are actually named 1925 something starting with __ and the normal name is an alias. */ 1926 #if defined __stub_$2 || defined __stub___$2 1927 choke me 1928 #endif 1929 1930 int 1931 main () 1932 { 1933 return $2 (); 1934 ; 1935 return 0; 1936 } 1937 _ACEOF 1938 if ac_fn_cxx_try_link "$LINENO"; then : 1939 eval "$3=yes" 1940 else 1941 eval "$3=no" 1942 fi 1943 rm -f core conftest.err conftest.$ac_objext \ 1944 conftest$ac_exeext conftest.$ac_ext 1945 fi 1946 eval ac_res=\$$3 1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1948 $as_echo "$ac_res" >&6; } 1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1950 1951 } # ac_fn_cxx_check_func 1952 1953 # ac_fn_cxx_try_cpp LINENO 1954 # ------------------------ 1955 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1956 ac_fn_cxx_try_cpp () 1957 { 1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1959 if { { ac_try="$ac_cpp conftest.$ac_ext" 1960 case "(($ac_try" in 1961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1962 *) ac_try_echo=$ac_try;; 1963 esac 1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1965 $as_echo "$ac_try_echo"; } >&5 1966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1967 ac_status=$? 1968 if test -s conftest.err; then 1969 grep -v '^ *+' conftest.err >conftest.er1 1970 cat conftest.er1 >&5 1971 mv -f conftest.er1 conftest.err 1972 fi 1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1974 test $ac_status = 0; } > conftest.i && { 1975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1976 test ! -s conftest.err 1977 }; then : 1978 ac_retval=0 1979 else 1980 $as_echo "$as_me: failed program was:" >&5 1981 sed 's/^/| /' conftest.$ac_ext >&5 1982 1983 ac_retval=1 1984 fi 1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1986 as_fn_set_status $ac_retval 1987 1988 } # ac_fn_cxx_try_cpp 1989 1990 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1991 # --------------------------------------------------------- 1992 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1993 # the include files in INCLUDES and setting the cache variable VAR 1994 # accordingly. 1995 ac_fn_cxx_check_header_mongrel () 1996 { 1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1998 if eval \${$3+:} false; then : 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2000 $as_echo_n "checking for $2... " >&6; } 2001 if eval \${$3+:} false; then : 2002 $as_echo_n "(cached) " >&6 2003 fi 2004 eval ac_res=\$$3 2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2006 $as_echo "$ac_res" >&6; } 2007 else 2008 # Is the header compilable? 2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2010 $as_echo_n "checking $2 usability... " >&6; } 2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2012 /* end confdefs.h. */ 2013 $4 2014 #include <$2> 2015 _ACEOF 2016 if ac_fn_cxx_try_compile "$LINENO"; then : 2017 ac_header_compiler=yes 2018 else 2019 ac_header_compiler=no 2020 fi 2021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2023 $as_echo "$ac_header_compiler" >&6; } 2024 2025 # Is the header present? 2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2027 $as_echo_n "checking $2 presence... " >&6; } 2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2029 /* end confdefs.h. */ 2030 #include <$2> 2031 _ACEOF 2032 if ac_fn_cxx_try_cpp "$LINENO"; then : 2033 ac_header_preproc=yes 2034 else 2035 ac_header_preproc=no 2036 fi 2037 rm -f conftest.err conftest.i conftest.$ac_ext 2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2039 $as_echo "$ac_header_preproc" >&6; } 2040 2041 # So? What about this header? 2042 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2043 yes:no: ) 2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2045 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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 ;; 2049 no:yes:* ) 2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2051 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2053 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2055 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2057 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2059 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2060 ( $as_echo "## ----------------------------------- ## 2061 ## Report this to rappture@nanohub.org ## 2062 ## ----------------------------------- ##" 2063 ) | sed "s/^/$as_me: WARNING: /" >&2 2064 ;; 2065 esac 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2067 $as_echo_n "checking for $2... " >&6; } 2068 if eval \${$3+:} false; then : 2069 $as_echo_n "(cached) " >&6 2070 else 2071 eval "$3=\$ac_header_compiler" 2072 fi 2073 eval ac_res=\$$3 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2075 $as_echo "$ac_res" >&6; } 2076 fi 2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2078 2079 } # ac_fn_cxx_check_header_mongrel 2080 2081 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2082 # --------------------------------------------------------- 2083 # Tests whether HEADER exists and can be compiled using the include files in 2084 # INCLUDES, setting the cache variable VAR accordingly. 2085 ac_fn_cxx_check_header_compile () 2086 { 2087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2089 $as_echo_n "checking for $2... " >&6; } 2090 if eval \${$3+:} false; then : 2091 $as_echo_n "(cached) " >&6 2092 else 2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2094 /* end confdefs.h. */ 2095 $4 2096 #include <$2> 2097 _ACEOF 2098 if ac_fn_cxx_try_compile "$LINENO"; then : 2099 eval "$3=yes" 2100 else 2101 eval "$3=no" 2102 fi 2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2104 fi 2105 eval ac_res=\$$3 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2107 $as_echo "$ac_res" >&6; } 2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2109 2110 } # ac_fn_cxx_check_header_compile 2111 2112 # ac_fn_cxx_try_run LINENO 2113 # ------------------------ 2114 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2115 # that executables *can* be run. 2116 ac_fn_cxx_try_run () 2117 { 2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2119 if { { ac_try="$ac_link" 2120 case "(($ac_try" in 2121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2122 *) ac_try_echo=$ac_try;; 2123 esac 2124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2125 $as_echo "$ac_try_echo"; } >&5 2126 (eval "$ac_link") 2>&5 2127 ac_status=$? 2128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2129 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2130 { { case "(($ac_try" in 2131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2132 *) ac_try_echo=$ac_try;; 2133 esac 2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2135 $as_echo "$ac_try_echo"; } >&5 2136 (eval "$ac_try") 2>&5 2137 ac_status=$? 2138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2139 test $ac_status = 0; }; }; then : 2140 ac_retval=0 2141 else 2142 $as_echo "$as_me: program exited with status $ac_status" >&5 2143 $as_echo "$as_me: failed program was:" >&5 2144 sed 's/^/| /' conftest.$ac_ext >&5 2145 2146 ac_retval=$ac_status 2147 fi 2148 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2150 as_fn_set_status $ac_retval 2151 2152 } # ac_fn_cxx_try_run 2153 2154 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2155 # ---------------------------------------------- 2156 # Tries to find the compile-time value of EXPR in a program that includes 2157 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2158 # computed 2159 ac_fn_cxx_compute_int () 2160 { 2161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2162 if test "$cross_compiling" = yes; then 2163 # Depending upon the size, compute the lo and hi bounds. 2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2165 /* end confdefs.h. */ 2166 $4 2167 int 2168 main () 2169 { 2170 static int test_array [1 - 2 * !(($2) >= 0)]; 2171 test_array [0] = 0 2172 2173 ; 2174 return 0; 2175 } 2176 _ACEOF 2177 if ac_fn_cxx_try_compile "$LINENO"; then : 2178 ac_lo=0 ac_mid=0 2179 while :; do 2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2181 /* end confdefs.h. */ 2182 $4 2183 int 2184 main () 2185 { 2186 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2187 test_array [0] = 0 2188 2189 ; 2190 return 0; 2191 } 2192 _ACEOF 2193 if ac_fn_cxx_try_compile "$LINENO"; then : 2194 ac_hi=$ac_mid; break 2195 else 2196 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2197 if test $ac_lo -le $ac_mid; then 2198 ac_lo= ac_hi= 2199 break 2200 fi 2201 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2202 fi 2203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2204 done 2205 else 2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2207 /* end confdefs.h. */ 2208 $4 2209 int 2210 main () 2211 { 2212 static int test_array [1 - 2 * !(($2) < 0)]; 2213 test_array [0] = 0 2214 2215 ; 2216 return 0; 2217 } 2218 _ACEOF 2219 if ac_fn_cxx_try_compile "$LINENO"; then : 2220 ac_hi=-1 ac_mid=-1 2221 while :; do 2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2223 /* end confdefs.h. */ 2224 $4 2225 int 2226 main () 2227 { 2228 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2229 test_array [0] = 0 2230 2231 ; 2232 return 0; 2233 } 2234 _ACEOF 2235 if ac_fn_cxx_try_compile "$LINENO"; then : 2236 ac_lo=$ac_mid; break 2237 else 2238 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2239 if test $ac_mid -le $ac_hi; then 2240 ac_lo= ac_hi= 2241 break 2242 fi 2243 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2244 fi 2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2246 done 2247 else 2248 ac_lo= ac_hi= 2249 fi 2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2251 fi 2252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2253 # Binary search between lo and hi bounds. 2254 while test "x$ac_lo" != "x$ac_hi"; do 2255 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2257 /* end confdefs.h. */ 2258 $4 2259 int 2260 main () 2261 { 2262 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2263 test_array [0] = 0 2264 2265 ; 2266 return 0; 2267 } 2268 _ACEOF 2269 if ac_fn_cxx_try_compile "$LINENO"; then : 2270 ac_hi=$ac_mid 2271 else 2272 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2273 fi 2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2275 done 2276 case $ac_lo in #(( 2277 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2278 '') ac_retval=1 ;; 2279 esac 2280 else 2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2282 /* end confdefs.h. */ 2283 $4 2284 static long int longval () { return $2; } 2285 static unsigned long int ulongval () { return $2; } 2286 #include <stdio.h> 2287 #include <stdlib.h> 2288 int 2289 main () 2290 { 2291 2292 FILE *f = fopen ("conftest.val", "w"); 2293 if (! f) 2294 return 1; 2295 if (($2) < 0) 2296 { 2297 long int i = longval (); 2298 if (i != ($2)) 2299 return 1; 2300 fprintf (f, "%ld", i); 2301 } 2302 else 2303 { 2304 unsigned long int i = ulongval (); 2305 if (i != ($2)) 2306 return 1; 2307 fprintf (f, "%lu", i); 2308 } 2309 /* Do not output a trailing newline, as this causes \r\n confusion 2310 on some platforms. */ 2311 return ferror (f) || fclose (f) != 0; 2312 2313 ; 2314 return 0; 2315 } 2316 _ACEOF 2317 if ac_fn_cxx_try_run "$LINENO"; then : 2318 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2319 else 2320 ac_retval=1 2321 fi 2322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2323 conftest.$ac_objext conftest.beam conftest.$ac_ext 2324 rm -f conftest.val 2325 2326 fi 2327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2328 as_fn_set_status $ac_retval 2329 2330 } # ac_fn_cxx_compute_int 1477 2331 cat >config.log <<_ACEOF 1478 2332 This file contains any messages produced by compilers while … … 1480 2334 1481 2335 It was created by Rappture $as_me 1.1, which was 1482 generated by GNU Autoconf 2.6 1. Invocation command line was2336 generated by GNU Autoconf 2.68. Invocation command line was 1483 2337 1484 2338 $ $0 $@ … … 1516 2370 IFS=$as_save_IFS 1517 2371 test -z "$as_dir" && as_dir=. 1518 echo "PATH: $as_dir"1519 done2372 $as_echo "PATH: $as_dir" 2373 done 1520 2374 IFS=$as_save_IFS 1521 2375 … … 1551 2405 continue ;; 1552 2406 *\'*) 1553 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2407 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1554 2408 esac 1555 2409 case $ac_pass in 1556 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2410 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1557 2411 2) 1558 a c_configure_args1="$ac_configure_args1'$ac_arg'"2412 as_fn_append ac_configure_args1 " '$ac_arg'" 1559 2413 if test $ac_must_keep_next = true; then 1560 2414 ac_must_keep_next=false # Got value, back to normal. … … 1572 2426 esac 1573 2427 fi 1574 a c_configure_args="$ac_configure_args'$ac_arg'"2428 as_fn_append ac_configure_args " '$ac_arg'" 1575 2429 ;; 1576 2430 esac 1577 2431 done 1578 2432 done 1579 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1580 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2433 { ac_configure_args0=; unset ac_configure_args0;} 2434 { ac_configure_args1=; unset ac_configure_args1;} 1581 2435 1582 2436 # When interrupted or exit'd, cleanup temporary files, and complete … … 1590 2444 echo 1591 2445 1592 cat <<\_ASBOX 1593 ## ---------------- ## 2446 $as_echo "## ---------------- ## 1594 2447 ## Cache variables. ## 1595 ## ---------------- ## 1596 _ASBOX 2448 ## ---------------- ##" 1597 2449 echo 1598 2450 # The following way of writing the cache mishandles newlines in values, … … 1603 2455 *${as_nl}*) 1604 2456 case $ac_var in #( 1605 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51606 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2457 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2458 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1607 2459 esac 1608 2460 case $ac_var in #( 1609 2461 _ | IFS | as_nl) ;; #( 1610 *) $as_unset $ac_var ;; 2462 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2463 *) { eval $ac_var=; unset $ac_var;} ;; 1611 2464 esac ;; 1612 2465 esac … … 1627 2480 echo 1628 2481 1629 cat <<\_ASBOX 1630 ## ----------------- ## 2482 $as_echo "## ----------------- ## 1631 2483 ## Output variables. ## 1632 ## ----------------- ## 1633 _ASBOX 2484 ## ----------------- ##" 1634 2485 echo 1635 2486 for ac_var in $ac_subst_vars … … 1637 2488 eval ac_val=\$$ac_var 1638 2489 case $ac_val in 1639 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2490 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1640 2491 esac 1641 echo "$ac_var='\''$ac_val'\''"2492 $as_echo "$ac_var='\''$ac_val'\''" 1642 2493 done | sort 1643 2494 echo 1644 2495 1645 2496 if test -n "$ac_subst_files"; then 1646 cat <<\_ASBOX 1647 ## ------------------- ## 2497 $as_echo "## ------------------- ## 1648 2498 ## File substitutions. ## 1649 ## ------------------- ## 1650 _ASBOX 2499 ## ------------------- ##" 1651 2500 echo 1652 2501 for ac_var in $ac_subst_files … … 1654 2503 eval ac_val=\$$ac_var 1655 2504 case $ac_val in 1656 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2505 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1657 2506 esac 1658 echo "$ac_var='\''$ac_val'\''"2507 $as_echo "$ac_var='\''$ac_val'\''" 1659 2508 done | sort 1660 2509 echo … … 1662 2511 1663 2512 if test -s confdefs.h; then 1664 cat <<\_ASBOX 1665 ## ----------- ## 2513 $as_echo "## ----------- ## 1666 2514 ## confdefs.h. ## 1667 ## ----------- ## 1668 _ASBOX 2515 ## ----------- ##" 1669 2516 echo 1670 2517 cat confdefs.h … … 1672 2519 fi 1673 2520 test "$ac_signal" != 0 && 1674 echo "$as_me: caught signal $ac_signal"1675 echo "$as_me: exit $exit_status"2521 $as_echo "$as_me: caught signal $ac_signal" 2522 $as_echo "$as_me: exit $exit_status" 1676 2523 } >&5 1677 2524 rm -f core *.core core.conftest.* && … … 1680 2527 ' 0 1681 2528 for ac_signal in 1 2 13 15; do 1682 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2529 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1683 2530 done 1684 2531 ac_signal=0 … … 1687 2534 rm -f -r conftest* confdefs.h 1688 2535 2536 $as_echo "/* confdefs.h */" > confdefs.h 2537 1689 2538 # Predefined preprocessor variables. 1690 2539 … … 1693 2542 _ACEOF 1694 2543 1695 1696 2544 cat >>confdefs.h <<_ACEOF 1697 2545 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1698 2546 _ACEOF 1699 2547 1700 1701 2548 cat >>confdefs.h <<_ACEOF 1702 2549 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1703 2550 _ACEOF 1704 2551 1705 1706 2552 cat >>confdefs.h <<_ACEOF 1707 2553 #define PACKAGE_STRING "$PACKAGE_STRING" 1708 2554 _ACEOF 1709 2555 1710 1711 2556 cat >>confdefs.h <<_ACEOF 1712 2557 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1713 2558 _ACEOF 1714 2559 2560 cat >>confdefs.h <<_ACEOF 2561 #define PACKAGE_URL "$PACKAGE_URL" 2562 _ACEOF 2563 1715 2564 1716 2565 # Let the site file select an alternate cache file if it wants to. 1717 # Prefer explicitly selected file to automatically selected ones. 2566 # Prefer an explicitly selected file to automatically selected ones. 2567 ac_site_file1=NONE 2568 ac_site_file2=NONE 1718 2569 if test -n "$CONFIG_SITE"; then 1719 set x "$CONFIG_SITE" 2570 # We do not want a PATH search for config.site. 2571 case $CONFIG_SITE in #(( 2572 -*) ac_site_file1=./$CONFIG_SITE;; 2573 */*) ac_site_file1=$CONFIG_SITE;; 2574 *) ac_site_file1=./$CONFIG_SITE;; 2575 esac 1720 2576 elif test "x$prefix" != xNONE; then 1721 set x "$prefix/share/config.site" "$prefix/etc/config.site"1722 else1723 set x "$ac_default_prefix/share/config.site" \ 1724 "$ac_default_prefix/etc/config.site" 1725 fi 1726 shift 1727 for ac_site_file 2577 ac_site_file1=$prefix/share/config.site 2578 ac_site_file2=$prefix/etc/config.site 2579 else 2580 ac_site_file1=$ac_default_prefix/share/config.site 2581 ac_site_file2=$ac_default_prefix/etc/config.site 2582 fi 2583 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1728 2584 do 1729 if test -r "$ac_site_file"; then 1730 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1731 echo "$as_me: loading site script $ac_site_file" >&6;} 2585 test "x$ac_site_file" = xNONE && continue 2586 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2588 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1732 2589 sed 's/^/| /' "$ac_site_file" >&5 1733 . "$ac_site_file" 2590 . "$ac_site_file" \ 2591 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2593 as_fn_error $? "failed to load site script $ac_site_file 2594 See \`config.log' for more details" "$LINENO" 5; } 1734 2595 fi 1735 2596 done 1736 2597 1737 2598 if test -r "$cache_file"; then 1738 # Some versions of bash will fail to source /dev/null (special 1739 # files actually), so we avoid doing that.1740 if test -f "$cache_file"; then1741 { echo "$as_me:$LINENO: loading cache $cache_file" >&51742 echo "$as_me: loading cache $cache_file" >&6;}2599 # Some versions of bash will fail to source /dev/null (special files 2600 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2601 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2602 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2603 $as_echo "$as_me: loading cache $cache_file" >&6;} 1743 2604 case $cache_file in 1744 2605 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1747 2608 fi 1748 2609 else 1749 { echo "$as_me:$LINENO: creating cache $cache_file" >&51750 echo "$as_me: creating cache $cache_file" >&6;}2610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2611 $as_echo "$as_me: creating cache $cache_file" >&6;} 1751 2612 >$cache_file 1752 2613 fi … … 1762 2623 case $ac_old_set,$ac_new_set in 1763 2624 set,) 1764 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51765 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2626 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1766 2627 ac_cache_corrupted=: ;; 1767 2628 ,set) 1768 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51769 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2630 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1770 2631 ac_cache_corrupted=: ;; 1771 2632 ,);; 1772 2633 *) 1773 2634 if test "x$ac_old_val" != "x$ac_new_val"; then 1774 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1775 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1776 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1777 echo "$as_me: former value: $ac_old_val" >&2;} 1778 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1779 echo "$as_me: current value: $ac_new_val" >&2;} 1780 ac_cache_corrupted=: 2635 # differences in whitespace do not lead to failure. 2636 ac_old_val_w=`echo x $ac_old_val` 2637 ac_new_val_w=`echo x $ac_new_val` 2638 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2640 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2641 ac_cache_corrupted=: 2642 else 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2644 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2645 eval $ac_var=\$ac_old_val 2646 fi 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2648 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2650 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1781 2651 fi;; 1782 2652 esac … … 1784 2654 if test "$ac_new_set" = set; then 1785 2655 case $ac_new_val in 1786 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2656 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1787 2657 *) ac_arg=$ac_var=$ac_new_val ;; 1788 2658 esac 1789 2659 case " $ac_configure_args " in 1790 2660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1791 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2661 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1792 2662 esac 1793 2663 fi 1794 2664 done 1795 2665 if $ac_cache_corrupted; then 1796 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1797 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1798 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1799 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1800 { (exit 1); exit 1; }; } 1801 fi 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2669 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2670 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2671 fi 2672 ## -------------------- ## 2673 ## Main body of script. ## 2674 ## -------------------- ## 1826 2675 1827 2676 ac_ext=c … … 1849 2698 done 1850 2699 if test -z "$ac_aux_dir"; then 1851 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1852 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1853 { (exit 1); exit 1; }; } 2700 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1854 2701 fi 1855 2702 … … 1900 2747 # OS/2's system install, which has a completely different semantic 1901 2748 # ./install, which can be erroneously created by make from ./install.sh. 1902 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1903 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2749 # Reject install programs that cannot install multiple files. 2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2751 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1904 2752 if test -z "$INSTALL"; then 1905 if test "${ac_cv_path_install+set}" = set; then1906 echo $ECHO_N "(cached) $ECHO_C" >&62753 if ${ac_cv_path_install+:} false; then : 2754 $as_echo_n "(cached) " >&6 1907 2755 else 1908 2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1911 2759 IFS=$as_save_IFS 1912 2760 test -z "$as_dir" && as_dir=. 1913 # Account for people who put trailing slashes in PATH elements.1914 case $as_dir/ in 1915 ./ | .// | / cC/* | \2761 # Account for people who put trailing slashes in PATH elements. 2762 case $as_dir/ in #(( 2763 ./ | .// | /[cC]/* | \ 1916 2764 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1917 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2765 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1918 2766 /usr/ucb/* ) ;; 1919 2767 *) … … 1933 2781 : 1934 2782 else 1935 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1936 break 3 2783 rm -rf conftest.one conftest.two conftest.dir 2784 echo one > conftest.one 2785 echo two > conftest.two 2786 mkdir conftest.dir 2787 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2788 test -s conftest.one && test -s conftest.two && 2789 test -s conftest.dir/conftest.one && 2790 test -s conftest.dir/conftest.two 2791 then 2792 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2793 break 3 2794 fi 1937 2795 fi 1938 2796 fi … … 1941 2799 ;; 1942 2800 esac 1943 done 2801 2802 done 1944 2803 IFS=$as_save_IFS 1945 2804 2805 rm -rf conftest.one conftest.two conftest.dir 1946 2806 1947 2807 fi … … 1956 2816 fi 1957 2817 fi 1958 { echo "$as_me:$LINENO: result: $INSTALL" >&51959 echo "${ECHO_T}$INSTALL" >&6; }2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2819 $as_echo "$INSTALL" >&6; } 1960 2820 1961 2821 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1967 2827 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1968 2828 1969 # Find a good install program. We prefer a C program (faster),1970 # so one script is as good as another. But avoid the broken or1971 # incompatible versions:1972 # SysV /etc/install, /usr/sbin/install1973 # SunOS /usr/etc/install1974 # IRIX /sbin/install1975 # AIX /bin/install1976 # AmigaOS /C/install, which installs bootblocks on floppy discs1977 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1978 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1979 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1980 # OS/2's system install, which has a completely different semantic1981 # ./install, which can be erroneously created by make from ./install.sh.1982 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51983 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }1984 if test -z "$INSTALL"; then1985 if test "${ac_cv_path_install+set}" = set; then1986 echo $ECHO_N "(cached) $ECHO_C" >&61987 else1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1989 for as_dir in $PATH1990 do1991 IFS=$as_save_IFS1992 test -z "$as_dir" && as_dir=.1993 # Account for people who put trailing slashes in PATH elements.1994 case $as_dir/ in1995 ./ | .// | /cC/* | \1996 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \1997 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \1998 /usr/ucb/* ) ;;1999 *)2000 # OSF1 and SCO ODT 3.0 have their own names for install.2001 # Don't use installbsd from OSF since it installs stuff as root2002 # by default.2003 for ac_prog in ginstall scoinst install; do2004 for ac_exec_ext in '' $ac_executable_extensions; do2005 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2006 if test $ac_prog = install &&2007 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2008 # AIX install. It has an incompatible calling convention.2009 :2010 elif test $ac_prog = install &&2011 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2012 # program-specific install script used by HP pwplus--don't use.2013 :2014 else2015 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2016 break 32017 fi2018 fi2019 done2020 done2021 ;;2022 esac2023 done2024 IFS=$as_save_IFS2025 2026 2027 fi2028 if test "${ac_cv_path_install+set}" = set; then2029 INSTALL=$ac_cv_path_install2030 else2031 # As a last resort, use the slow shell script. Don't cache a2032 # value for INSTALL within a source directory, because that will2033 # break other packages using the cache if that directory is2034 # removed, or if the value is a relative name.2035 INSTALL=$ac_install_sh2036 fi2037 fi2038 { echo "$as_me:$LINENO: result: $INSTALL" >&52039 echo "${ECHO_T}$INSTALL" >&6; }2040 2041 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2042 # It thinks the first close brace ends the variable substitution.2043 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2044 2045 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2046 2047 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2048 2829 2049 2830 if test -n "$ac_tool_prefix"; then 2050 2831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2051 2832 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2052 { echo "$as_me:$LINENO: checking for $ac_word" >&52053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2054 if test "${ac_cv_prog_RANLIB+set}" = set; then2055 echo $ECHO_N "(cached) $ECHO_C" >&62833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2834 $as_echo_n "checking for $ac_word... " >&6; } 2835 if ${ac_cv_prog_RANLIB+:} false; then : 2836 $as_echo_n "(cached) " >&6 2056 2837 else 2057 2838 if test -n "$RANLIB"; then … … 2063 2844 IFS=$as_save_IFS 2064 2845 test -z "$as_dir" && as_dir=. 2065 for ac_exec_ext in '' $ac_executable_extensions; do2846 for ac_exec_ext in '' $ac_executable_extensions; do 2066 2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2067 2848 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2069 2850 break 2 2070 2851 fi 2071 2852 done 2072 done2853 done 2073 2854 IFS=$as_save_IFS 2074 2855 … … 2077 2858 RANLIB=$ac_cv_prog_RANLIB 2078 2859 if test -n "$RANLIB"; then 2079 { echo "$as_me:$LINENO: result: $RANLIB" >&52080 echo "${ECHO_T}$RANLIB" >&6; }2081 else 2082 { echo "$as_me:$LINENO: result: no" >&52083 echo "${ECHO_T}no" >&6; }2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2861 $as_echo "$RANLIB" >&6; } 2862 else 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2864 $as_echo "no" >&6; } 2084 2865 fi 2085 2866 … … 2090 2871 # Extract the first word of "ranlib", so it can be a program name with args. 2091 2872 set dummy ranlib; ac_word=$2 2092 { echo "$as_me:$LINENO: checking for $ac_word" >&52093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2094 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2095 echo $ECHO_N "(cached) $ECHO_C" >&62873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2874 $as_echo_n "checking for $ac_word... " >&6; } 2875 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2876 $as_echo_n "(cached) " >&6 2096 2877 else 2097 2878 if test -n "$ac_ct_RANLIB"; then … … 2103 2884 IFS=$as_save_IFS 2104 2885 test -z "$as_dir" && as_dir=. 2105 for ac_exec_ext in '' $ac_executable_extensions; do2886 for ac_exec_ext in '' $ac_executable_extensions; do 2106 2887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2107 2888 ac_cv_prog_ac_ct_RANLIB="ranlib" 2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2109 2890 break 2 2110 2891 fi 2111 2892 done 2112 done2893 done 2113 2894 IFS=$as_save_IFS 2114 2895 … … 2117 2898 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2118 2899 if test -n "$ac_ct_RANLIB"; then 2119 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52120 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2121 else 2122 { echo "$as_me:$LINENO: result: no" >&52123 echo "${ECHO_T}no" >&6; }2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2901 $as_echo "$ac_ct_RANLIB" >&6; } 2902 else 2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2904 $as_echo "no" >&6; } 2124 2905 fi 2125 2906 … … 2129 2910 case $cross_compiling:$ac_tool_warned in 2130 2911 yes:) 2131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2132 whose name does not start with the host triplet. If you think this 2133 configuration is useful to you, please write to autoconf@gnu.org." >&5 2134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2135 whose name does not start with the host triplet. If you think this 2136 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2137 2914 ac_tool_warned=yes ;; 2138 2915 esac … … 2143 2920 fi 2144 2921 2145 { echo "$as_me:$LINENO: checking whether ln -s works" >&52146 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2923 $as_echo_n "checking whether ln -s works... " >&6; } 2147 2924 LN_S=$as_ln_s 2148 2925 if test "$LN_S" = "ln -s"; then 2149 { echo "$as_me:$LINENO: result: yes" >&52150 echo "${ECHO_T}yes" >&6; }2151 else 2152 { echo "$as_me:$LINENO: result: no, using $LN_S" >&52153 echo "${ECHO_T}no, using $LN_S" >&6; }2154 fi 2155 2156 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52157 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2927 $as_echo "yes" >&6; } 2928 else 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2930 $as_echo "no, using $LN_S" >&6; } 2931 fi 2932 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2934 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2158 2935 if test -z "$MKDIR_P"; then 2159 if test "${ac_cv_path_mkdir+set}" = set; then2160 echo $ECHO_N "(cached) $ECHO_C" >&62936 if ${ac_cv_path_mkdir+:} false; then : 2937 $as_echo_n "(cached) " >&6 2161 2938 else 2162 2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2165 2942 IFS=$as_save_IFS 2166 2943 test -z "$as_dir" && as_dir=. 2167 for ac_prog in mkdir gmkdir; do2944 for ac_prog in mkdir gmkdir; do 2168 2945 for ac_exec_ext in '' $ac_executable_extensions; do 2169 2946 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 2177 2954 done 2178 2955 done 2179 done2956 done 2180 2957 IFS=$as_save_IFS 2181 2958 2182 2959 fi 2183 2960 2961 test -d ./--version && rmdir ./--version 2184 2962 if test "${ac_cv_path_mkdir+set}" = set; then 2185 2963 MKDIR_P="$ac_cv_path_mkdir -p" … … 2189 2967 # break other packages using the cache if that directory is 2190 2968 # removed, or if the value is a relative name. 2191 test -d ./--version && rmdir ./--version2192 2969 MKDIR_P="$ac_install_sh -d" 2193 2970 fi 2194 2971 fi 2195 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2196 echo "${ECHO_T}$MKDIR_P" >&6; } 2197 2198 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2199 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2200 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2201 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2202 echo $ECHO_N "(cached) $ECHO_C" >&6 2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2973 $as_echo "$MKDIR_P" >&6; } 2974 2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2976 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2977 set x ${MAKE-make} 2978 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2979 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2980 $as_echo_n "(cached) " >&6 2203 2981 else 2204 2982 cat >conftest.make <<\_ACEOF … … 2207 2985 @echo '@@@%%%=$(MAKE)=@@@%%%' 2208 2986 _ACEOF 2209 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.2987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2210 2988 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2211 2989 *@@@%%%=?*=@@@%%%*) … … 2217 2995 fi 2218 2996 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2219 { echo "$as_me:$LINENO: result: yes" >&52220 echo "${ECHO_T}yes" >&6; }2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2998 $as_echo "yes" >&6; } 2221 2999 SET_MAKE= 2222 3000 else 2223 { echo "$as_me:$LINENO: result: no" >&52224 echo "${ECHO_T}no" >&6; }3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3002 $as_echo "no" >&6; } 2225 3003 SET_MAKE="MAKE=${MAKE-make}" 2226 3004 fi … … 2236 3014 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2237 3015 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2238 { echo "$as_me:$LINENO: checking for $ac_word" >&52239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2240 if test "${ac_cv_prog_CC+set}" = set; then2241 echo $ECHO_N "(cached) $ECHO_C" >&63016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3017 $as_echo_n "checking for $ac_word... " >&6; } 3018 if ${ac_cv_prog_CC+:} false; then : 3019 $as_echo_n "(cached) " >&6 2242 3020 else 2243 3021 if test -n "$CC"; then … … 2249 3027 IFS=$as_save_IFS 2250 3028 test -z "$as_dir" && as_dir=. 2251 for ac_exec_ext in '' $ac_executable_extensions; do3029 for ac_exec_ext in '' $ac_executable_extensions; do 2252 3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2253 3031 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2255 3033 break 2 2256 3034 fi 2257 3035 done 2258 done3036 done 2259 3037 IFS=$as_save_IFS 2260 3038 … … 2263 3041 CC=$ac_cv_prog_CC 2264 3042 if test -n "$CC"; then 2265 { echo "$as_me:$LINENO: result: $CC" >&52266 echo "${ECHO_T}$CC" >&6; }2267 else 2268 { echo "$as_me:$LINENO: result: no" >&52269 echo "${ECHO_T}no" >&6; }3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3044 $as_echo "$CC" >&6; } 3045 else 3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3047 $as_echo "no" >&6; } 2270 3048 fi 2271 3049 … … 2276 3054 # Extract the first word of "gcc", so it can be a program name with args. 2277 3055 set dummy gcc; ac_word=$2 2278 { echo "$as_me:$LINENO: checking for $ac_word" >&52279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2280 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2281 echo $ECHO_N "(cached) $ECHO_C" >&63056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3057 $as_echo_n "checking for $ac_word... " >&6; } 3058 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3059 $as_echo_n "(cached) " >&6 2282 3060 else 2283 3061 if test -n "$ac_ct_CC"; then … … 2289 3067 IFS=$as_save_IFS 2290 3068 test -z "$as_dir" && as_dir=. 2291 for ac_exec_ext in '' $ac_executable_extensions; do3069 for ac_exec_ext in '' $ac_executable_extensions; do 2292 3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2293 3071 ac_cv_prog_ac_ct_CC="gcc" 2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2295 3073 break 2 2296 3074 fi 2297 3075 done 2298 done3076 done 2299 3077 IFS=$as_save_IFS 2300 3078 … … 2303 3081 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2304 3082 if test -n "$ac_ct_CC"; then 2305 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52306 echo "${ECHO_T}$ac_ct_CC" >&6; }2307 else 2308 { echo "$as_me:$LINENO: result: no" >&52309 echo "${ECHO_T}no" >&6; }3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3084 $as_echo "$ac_ct_CC" >&6; } 3085 else 3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3087 $as_echo "no" >&6; } 2310 3088 fi 2311 3089 … … 2315 3093 case $cross_compiling:$ac_tool_warned in 2316 3094 yes:) 2317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2318 whose name does not start with the host triplet. If you think this 2319 configuration is useful to you, please write to autoconf@gnu.org." >&5 2320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2321 whose name does not start with the host triplet. If you think this 2322 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2323 3097 ac_tool_warned=yes ;; 2324 3098 esac … … 2333 3107 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2334 3108 set dummy ${ac_tool_prefix}cc; ac_word=$2 2335 { echo "$as_me:$LINENO: checking for $ac_word" >&52336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2337 if test "${ac_cv_prog_CC+set}" = set; then2338 echo $ECHO_N "(cached) $ECHO_C" >&63109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3110 $as_echo_n "checking for $ac_word... " >&6; } 3111 if ${ac_cv_prog_CC+:} false; then : 3112 $as_echo_n "(cached) " >&6 2339 3113 else 2340 3114 if test -n "$CC"; then … … 2346 3120 IFS=$as_save_IFS 2347 3121 test -z "$as_dir" && as_dir=. 2348 for ac_exec_ext in '' $ac_executable_extensions; do3122 for ac_exec_ext in '' $ac_executable_extensions; do 2349 3123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2350 3124 ac_cv_prog_CC="${ac_tool_prefix}cc" 2351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2352 3126 break 2 2353 3127 fi 2354 3128 done 2355 done3129 done 2356 3130 IFS=$as_save_IFS 2357 3131 … … 2360 3134 CC=$ac_cv_prog_CC 2361 3135 if test -n "$CC"; then 2362 { echo "$as_me:$LINENO: result: $CC" >&52363 echo "${ECHO_T}$CC" >&6; }2364 else 2365 { echo "$as_me:$LINENO: result: no" >&52366 echo "${ECHO_T}no" >&6; }3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3137 $as_echo "$CC" >&6; } 3138 else 3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3140 $as_echo "no" >&6; } 2367 3141 fi 2368 3142 … … 2373 3147 # Extract the first word of "cc", so it can be a program name with args. 2374 3148 set dummy cc; ac_word=$2 2375 { echo "$as_me:$LINENO: checking for $ac_word" >&52376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2377 if test "${ac_cv_prog_CC+set}" = set; then2378 echo $ECHO_N "(cached) $ECHO_C" >&63149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3150 $as_echo_n "checking for $ac_word... " >&6; } 3151 if ${ac_cv_prog_CC+:} false; then : 3152 $as_echo_n "(cached) " >&6 2379 3153 else 2380 3154 if test -n "$CC"; then … … 2387 3161 IFS=$as_save_IFS 2388 3162 test -z "$as_dir" && as_dir=. 2389 for ac_exec_ext in '' $ac_executable_extensions; do3163 for ac_exec_ext in '' $ac_executable_extensions; do 2390 3164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2391 3165 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2394 3168 fi 2395 3169 ac_cv_prog_CC="cc" 2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2397 3171 break 2 2398 3172 fi 2399 3173 done 2400 done3174 done 2401 3175 IFS=$as_save_IFS 2402 3176 … … 2417 3191 CC=$ac_cv_prog_CC 2418 3192 if test -n "$CC"; then 2419 { echo "$as_me:$LINENO: result: $CC" >&52420 echo "${ECHO_T}$CC" >&6; }2421 else 2422 { echo "$as_me:$LINENO: result: no" >&52423 echo "${ECHO_T}no" >&6; }3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3194 $as_echo "$CC" >&6; } 3195 else 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3197 $as_echo "no" >&6; } 2424 3198 fi 2425 3199 … … 2432 3206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2433 3207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2434 { echo "$as_me:$LINENO: checking for $ac_word" >&52435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2436 if test "${ac_cv_prog_CC+set}" = set; then2437 echo $ECHO_N "(cached) $ECHO_C" >&63208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3209 $as_echo_n "checking for $ac_word... " >&6; } 3210 if ${ac_cv_prog_CC+:} false; then : 3211 $as_echo_n "(cached) " >&6 2438 3212 else 2439 3213 if test -n "$CC"; then … … 2445 3219 IFS=$as_save_IFS 2446 3220 test -z "$as_dir" && as_dir=. 2447 for ac_exec_ext in '' $ac_executable_extensions; do3221 for ac_exec_ext in '' $ac_executable_extensions; do 2448 3222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2449 3223 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2451 3225 break 2 2452 3226 fi 2453 3227 done 2454 done3228 done 2455 3229 IFS=$as_save_IFS 2456 3230 … … 2459 3233 CC=$ac_cv_prog_CC 2460 3234 if test -n "$CC"; then 2461 { echo "$as_me:$LINENO: result: $CC" >&52462 echo "${ECHO_T}$CC" >&6; }2463 else 2464 { echo "$as_me:$LINENO: result: no" >&52465 echo "${ECHO_T}no" >&6; }3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3236 $as_echo "$CC" >&6; } 3237 else 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3239 $as_echo "no" >&6; } 2466 3240 fi 2467 3241 … … 2476 3250 # Extract the first word of "$ac_prog", so it can be a program name with args. 2477 3251 set dummy $ac_prog; ac_word=$2 2478 { echo "$as_me:$LINENO: checking for $ac_word" >&52479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2481 echo $ECHO_N "(cached) $ECHO_C" >&63252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3253 $as_echo_n "checking for $ac_word... " >&6; } 3254 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3255 $as_echo_n "(cached) " >&6 2482 3256 else 2483 3257 if test -n "$ac_ct_CC"; then … … 2489 3263 IFS=$as_save_IFS 2490 3264 test -z "$as_dir" && as_dir=. 2491 for ac_exec_ext in '' $ac_executable_extensions; do3265 for ac_exec_ext in '' $ac_executable_extensions; do 2492 3266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2493 3267 ac_cv_prog_ac_ct_CC="$ac_prog" 2494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2495 3269 break 2 2496 3270 fi 2497 3271 done 2498 done3272 done 2499 3273 IFS=$as_save_IFS 2500 3274 … … 2503 3277 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2504 3278 if test -n "$ac_ct_CC"; then 2505 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52506 echo "${ECHO_T}$ac_ct_CC" >&6; }2507 else 2508 { echo "$as_me:$LINENO: result: no" >&52509 echo "${ECHO_T}no" >&6; }3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3280 $as_echo "$ac_ct_CC" >&6; } 3281 else 3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3283 $as_echo "no" >&6; } 2510 3284 fi 2511 3285 … … 2519 3293 case $cross_compiling:$ac_tool_warned in 2520 3294 yes:) 2521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2522 whose name does not start with the host triplet. If you think this 2523 configuration is useful to you, please write to autoconf@gnu.org." >&5 2524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2525 whose name does not start with the host triplet. If you think this 2526 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2527 3297 ac_tool_warned=yes ;; 2528 3298 esac … … 2534 3304 2535 3305 2536 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2537 See \`config.log' for more details." >&5 2538 echo "$as_me: error: no acceptable C compiler found in \$PATH 2539 See \`config.log' for more details." >&2;} 2540 { (exit 1); exit 1; }; } 3306 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3308 as_fn_error $? "no acceptable C compiler found in \$PATH 3309 See \`config.log' for more details" "$LINENO" 5; } 2541 3310 2542 3311 # Provide some information about the compiler. 2543 echo "$as_me:$LINENO: checking for C compiler version" >&5 2544 ac_compiler=`set X $ac_compile; echo $2` 2545 { (ac_try="$ac_compiler --version >&5" 3312 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3313 set X $ac_compile 3314 ac_compiler=$2 3315 for ac_option in --version -v -V -qversion; do 3316 { { ac_try="$ac_compiler $ac_option >&5" 2546 3317 case "(($ac_try" in 2547 3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2548 3319 *) ac_try_echo=$ac_try;; 2549 3320 esac 2550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2551 (eval "$ac_compiler --version >&5") 2>&5 3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3322 $as_echo "$ac_try_echo"; } >&5 3323 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2552 3324 ac_status=$? 2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2554 (exit $ac_status); } 2555 { (ac_try="$ac_compiler -v >&5" 3325 if test -s conftest.err; then 3326 sed '10a\ 3327 ... rest of stderr output deleted ... 3328 10q' conftest.err >conftest.er1 3329 cat conftest.er1 >&5 3330 fi 3331 rm -f conftest.er1 conftest.err 3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3333 test $ac_status = 0; } 3334 done 3335 3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3337 /* end confdefs.h. */ 3338 3339 int 3340 main () 3341 { 3342 3343 ; 3344 return 0; 3345 } 3346 _ACEOF 3347 ac_clean_files_save=$ac_clean_files 3348 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3349 # Try to create an executable without -o first, disregard a.out. 3350 # It will help us diagnose broken compilers, and finding out an intuition 3351 # of exeext. 3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3353 $as_echo_n "checking whether the C compiler works... " >&6; } 3354 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3355 3356 # The possible output files: 3357 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3358 3359 ac_rmfiles= 3360 for ac_file in $ac_files 3361 do 3362 case $ac_file in 3363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3364 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3365 esac 3366 done 3367 rm -f $ac_rmfiles 3368 3369 if { { ac_try="$ac_link_default" 2556 3370 case "(($ac_try" in 2557 3371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2558 3372 *) ac_try_echo=$ac_try;; 2559 3373 esac 2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2561 (eval "$ac_compiler -v >&5") 2>&5 2562 ac_status=$? 2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2564 (exit $ac_status); } 2565 { (ac_try="$ac_compiler -V >&5" 2566 case "(($ac_try" in 2567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2568 *) ac_try_echo=$ac_try;; 2569 esac 2570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2571 (eval "$ac_compiler -V >&5") 2>&5 2572 ac_status=$? 2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2574 (exit $ac_status); } 2575 2576 cat >conftest.$ac_ext <<_ACEOF 2577 /* confdefs.h. */ 2578 _ACEOF 2579 cat confdefs.h >>conftest.$ac_ext 2580 cat >>conftest.$ac_ext <<_ACEOF 2581 /* end confdefs.h. */ 2582 2583 int 2584 main () 2585 { 2586 2587 ; 2588 return 0; 2589 } 2590 _ACEOF 2591 ac_clean_files_save=$ac_clean_files 2592 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2593 # Try to create an executable without -o first, disregard a.out. 2594 # It will help us diagnose broken compilers, and finding out an intuition 2595 # of exeext. 2596 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2597 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2598 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2599 # 2600 # List of possible output files, starting from the most likely. 2601 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2602 # only as a last resort. b.out is created by i960 compilers. 2603 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2604 # 2605 # The IRIX 6 linker writes into existing files which may not be 2606 # executable, retaining their permissions. Remove them first so a 2607 # subsequent execution test works. 2608 ac_rmfiles= 2609 for ac_file in $ac_files 2610 do 2611 case $ac_file in 2612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2613 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2614 esac 2615 done 2616 rm -f $ac_rmfiles 2617 2618 if { (ac_try="$ac_link_default" 2619 case "(($ac_try" in 2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2621 *) ac_try_echo=$ac_try;; 2622 esac 2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3375 $as_echo "$ac_try_echo"; } >&5 2624 3376 (eval "$ac_link_default") 2>&5 2625 3377 ac_status=$? 2626 echo "$as_me:$LINENO: \$? = $ac_status" >&52627 (exit $ac_status); }; then3378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3379 test $ac_status = 0; }; then : 2628 3380 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2629 3381 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2635 3387 test -f "$ac_file" || continue 2636 3388 case $ac_file in 2637 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2638 3390 ;; 2639 3391 [ab].out ) … … 2642 3394 break;; 2643 3395 *.* ) 2644 3396 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2645 3397 then :; else 2646 3398 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2661 3413 ac_file='' 2662 3414 fi 2663 2664 { echo "$as_me:$LINENO: result: $ac_file" >&5 2665 echo "${ECHO_T}$ac_file" >&6; } 2666 if test -z "$ac_file"; then 2667 echo "$as_me: failed program was:" >&5 3415 if test -z "$ac_file"; then : 3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3417 $as_echo "no" >&6; } 3418 $as_echo "$as_me: failed program was:" >&5 2668 3419 sed 's/^/| /' conftest.$ac_ext >&5 2669 3420 2670 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2671 See \`config.log' for more details." >&5 2672 echo "$as_me: error: C compiler cannot create executables 2673 See \`config.log' for more details." >&2;} 2674 { (exit 77); exit 77; }; } 2675 fi 2676 3421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3423 as_fn_error 77 "C compiler cannot create executables 3424 See \`config.log' for more details" "$LINENO" 5; } 3425 else 3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3427 $as_echo "yes" >&6; } 3428 fi 3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3430 $as_echo_n "checking for C compiler default output file name... " >&6; } 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3432 $as_echo "$ac_file" >&6; } 2677 3433 ac_exeext=$ac_cv_exeext 2678 3434 2679 # Check that the compiler produces executables we can run. If not, either 2680 # the compiler is broken, or we cross compile. 2681 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2682 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2683 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2684 # If not cross compiling, check that we can run a simple program. 2685 if test "$cross_compiling" != yes; then 2686 if { ac_try='./$ac_file' 2687 { (case "(($ac_try" in 2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2689 *) ac_try_echo=$ac_try;; 2690 esac 2691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2692 (eval "$ac_try") 2>&5 2693 ac_status=$? 2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2695 (exit $ac_status); }; }; then 2696 cross_compiling=no 2697 else 2698 if test "$cross_compiling" = maybe; then 2699 cross_compiling=yes 2700 else 2701 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2702 If you meant to cross compile, use \`--host'. 2703 See \`config.log' for more details." >&5 2704 echo "$as_me: error: cannot run C compiled programs. 2705 If you meant to cross compile, use \`--host'. 2706 See \`config.log' for more details." >&2;} 2707 { (exit 1); exit 1; }; } 2708 fi 2709 fi 2710 fi 2711 { echo "$as_me:$LINENO: result: yes" >&5 2712 echo "${ECHO_T}yes" >&6; } 2713 2714 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3435 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2715 3436 ac_clean_files=$ac_clean_files_save 2716 # Check that the compiler produces executables we can run. If not, either 2717 # the compiler is broken, or we cross compile. 2718 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2719 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2720 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2721 echo "${ECHO_T}$cross_compiling" >&6; } 2722 2723 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2724 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2725 if { (ac_try="$ac_link" 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3438 $as_echo_n "checking for suffix of executables... " >&6; } 3439 if { { ac_try="$ac_link" 2726 3440 case "(($ac_try" in 2727 3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2728 3442 *) ac_try_echo=$ac_try;; 2729 3443 esac 2730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3445 $as_echo "$ac_try_echo"; } >&5 2731 3446 (eval "$ac_link") 2>&5 2732 3447 ac_status=$? 2733 echo "$as_me:$LINENO: \$? = $ac_status" >&52734 (exit $ac_status); }; then3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3449 test $ac_status = 0; }; then : 2735 3450 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2736 3451 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2740 3455 test -f "$ac_file" || continue 2741 3456 case $ac_file in 2742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3457 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2743 3458 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2744 3459 break;; … … 2747 3462 done 2748 3463 else 2749 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2750 See \`config.log' for more details." >&5 2751 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2752 See \`config.log' for more details." >&2;} 2753 { (exit 1); exit 1; }; } 2754 fi 2755 2756 rm -f conftest$ac_cv_exeext 2757 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2758 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3466 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3467 See \`config.log' for more details" "$LINENO" 5; } 3468 fi 3469 rm -f conftest conftest$ac_cv_exeext 3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3471 $as_echo "$ac_cv_exeext" >&6; } 2759 3472 2760 3473 rm -f conftest.$ac_ext 2761 3474 EXEEXT=$ac_cv_exeext 2762 3475 ac_exeext=$EXEEXT 2763 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2764 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2765 if test "${ac_cv_objext+set}" = set; then 2766 echo $ECHO_N "(cached) $ECHO_C" >&6 2767 else 2768 cat >conftest.$ac_ext <<_ACEOF 2769 /* confdefs.h. */ 2770 _ACEOF 2771 cat confdefs.h >>conftest.$ac_ext 2772 cat >>conftest.$ac_ext <<_ACEOF 3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2773 3477 /* end confdefs.h. */ 2774 3478 #include <stdio.h> 2775 3479 int 2776 3480 main () 2777 3481 { 3482 FILE *f = fopen ("conftest.out", "w"); 3483 return ferror (f) || fclose (f) != 0; 2778 3484 2779 3485 ; … … 2781 3487 } 2782 3488 _ACEOF 2783 rm -f conftest.o conftest.obj 2784 if { (ac_try="$ac_compile" 3489 ac_clean_files="$ac_clean_files conftest.out" 3490 # Check that the compiler produces executables we can run. If not, either 3491 # the compiler is broken, or we cross compile. 3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3493 $as_echo_n "checking whether we are cross compiling... " >&6; } 3494 if test "$cross_compiling" != yes; then 3495 { { ac_try="$ac_link" 2785 3496 case "(($ac_try" in 2786 3497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2787 3498 *) ac_try_echo=$ac_try;; 2788 3499 esac 2789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3501 $as_echo "$ac_try_echo"; } >&5 3502 (eval "$ac_link") 2>&5 3503 ac_status=$? 3504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3505 test $ac_status = 0; } 3506 if { ac_try='./conftest$ac_cv_exeext' 3507 { { case "(($ac_try" in 3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3509 *) ac_try_echo=$ac_try;; 3510 esac 3511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3512 $as_echo "$ac_try_echo"; } >&5 3513 (eval "$ac_try") 2>&5 3514 ac_status=$? 3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3516 test $ac_status = 0; }; }; then 3517 cross_compiling=no 3518 else 3519 if test "$cross_compiling" = maybe; then 3520 cross_compiling=yes 3521 else 3522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3524 as_fn_error $? "cannot run C compiled programs. 3525 If you meant to cross compile, use \`--host'. 3526 See \`config.log' for more details" "$LINENO" 5; } 3527 fi 3528 fi 3529 fi 3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3531 $as_echo "$cross_compiling" >&6; } 3532 3533 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3534 ac_clean_files=$ac_clean_files_save 3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3536 $as_echo_n "checking for suffix of object files... " >&6; } 3537 if ${ac_cv_objext+:} false; then : 3538 $as_echo_n "(cached) " >&6 3539 else 3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3541 /* end confdefs.h. */ 3542 3543 int 3544 main () 3545 { 3546 3547 ; 3548 return 0; 3549 } 3550 _ACEOF 3551 rm -f conftest.o conftest.obj 3552 if { { ac_try="$ac_compile" 3553 case "(($ac_try" in 3554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3555 *) ac_try_echo=$ac_try;; 3556 esac 3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3558 $as_echo "$ac_try_echo"; } >&5 2790 3559 (eval "$ac_compile") 2>&5 2791 3560 ac_status=$? 2792 echo "$as_me:$LINENO: \$? = $ac_status" >&52793 (exit $ac_status); }; then3561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3562 test $ac_status = 0; }; then : 2794 3563 for ac_file in conftest.o conftest.obj conftest.*; do 2795 3564 test -f "$ac_file" || continue; 2796 3565 case $ac_file in 2797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3566 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2798 3567 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2799 3568 break;; … … 2801 3570 done 2802 3571 else 2803 echo "$as_me: failed program was:" >&53572 $as_echo "$as_me: failed program was:" >&5 2804 3573 sed 's/^/| /' conftest.$ac_ext >&5 2805 3574 2806 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2807 See \`config.log' for more details." >&5 2808 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2809 See \`config.log' for more details." >&2;} 2810 { (exit 1); exit 1; }; } 2811 fi 2812 3575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3577 as_fn_error $? "cannot compute suffix of object files: cannot compile 3578 See \`config.log' for more details" "$LINENO" 5; } 3579 fi 2813 3580 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2814 3581 fi 2815 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52816 echo "${ECHO_T}$ac_cv_objext" >&6; }3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3583 $as_echo "$ac_cv_objext" >&6; } 2817 3584 OBJEXT=$ac_cv_objext 2818 3585 ac_objext=$OBJEXT 2819 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2820 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2821 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2822 echo $ECHO_N "(cached) $ECHO_C" >&6 2823 else 2824 cat >conftest.$ac_ext <<_ACEOF 2825 /* confdefs.h. */ 2826 _ACEOF 2827 cat confdefs.h >>conftest.$ac_ext 2828 cat >>conftest.$ac_ext <<_ACEOF 3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3587 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3588 if ${ac_cv_c_compiler_gnu+:} false; then : 3589 $as_echo_n "(cached) " >&6 3590 else 3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2829 3592 /* end confdefs.h. */ 2830 3593 … … 2840 3603 } 2841 3604 _ACEOF 2842 rm -f conftest.$ac_objext 2843 if { (ac_try="$ac_compile" 2844 case "(($ac_try" in 2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2846 *) ac_try_echo=$ac_try;; 2847 esac 2848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2849 (eval "$ac_compile") 2>conftest.er1 2850 ac_status=$? 2851 grep -v '^ *+' conftest.er1 >conftest.err 2852 rm -f conftest.er1 2853 cat conftest.err >&5 2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); } && { 2856 test -z "$ac_c_werror_flag" || 2857 test ! -s conftest.err 2858 } && test -s conftest.$ac_objext; then 3605 if ac_fn_c_try_compile "$LINENO"; then : 2859 3606 ac_compiler_gnu=yes 2860 3607 else 2861 echo "$as_me: failed program was:" >&5 2862 sed 's/^/| /' conftest.$ac_ext >&5 2863 2864 ac_compiler_gnu=no 2865 fi 2866 3608 ac_compiler_gnu=no 3609 fi 2867 3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2868 3611 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2869 3612 2870 3613 fi 2871 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2872 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2873 GCC=`test $ac_compiler_gnu = yes && echo yes` 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3615 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3616 if test $ac_compiler_gnu = yes; then 3617 GCC=yes 3618 else 3619 GCC= 3620 fi 2874 3621 ac_test_CFLAGS=${CFLAGS+set} 2875 3622 ac_save_CFLAGS=$CFLAGS 2876 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52877 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2878 if test "${ac_cv_prog_cc_g+set}" = set; then2879 echo $ECHO_N "(cached) $ECHO_C" >&63623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3624 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3625 if ${ac_cv_prog_cc_g+:} false; then : 3626 $as_echo_n "(cached) " >&6 2880 3627 else 2881 3628 ac_save_c_werror_flag=$ac_c_werror_flag … … 2883 3630 ac_cv_prog_cc_g=no 2884 3631 CFLAGS="-g" 2885 cat >conftest.$ac_ext <<_ACEOF 2886 /* confdefs.h. */ 2887 _ACEOF 2888 cat confdefs.h >>conftest.$ac_ext 2889 cat >>conftest.$ac_ext <<_ACEOF 3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2890 3633 /* end confdefs.h. */ 2891 3634 … … 2898 3641 } 2899 3642 _ACEOF 2900 rm -f conftest.$ac_objext 2901 if { (ac_try="$ac_compile" 2902 case "(($ac_try" in 2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2904 *) ac_try_echo=$ac_try;; 2905 esac 2906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2907 (eval "$ac_compile") 2>conftest.er1 2908 ac_status=$? 2909 grep -v '^ *+' conftest.er1 >conftest.err 2910 rm -f conftest.er1 2911 cat conftest.err >&5 2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2913 (exit $ac_status); } && { 2914 test -z "$ac_c_werror_flag" || 2915 test ! -s conftest.err 2916 } && test -s conftest.$ac_objext; then 3643 if ac_fn_c_try_compile "$LINENO"; then : 2917 3644 ac_cv_prog_cc_g=yes 2918 3645 else 2919 echo "$as_me: failed program was:" >&5 2920 sed 's/^/| /' conftest.$ac_ext >&5 2921 2922 CFLAGS="" 2923 cat >conftest.$ac_ext <<_ACEOF 2924 /* confdefs.h. */ 2925 _ACEOF 2926 cat confdefs.h >>conftest.$ac_ext 2927 cat >>conftest.$ac_ext <<_ACEOF 3646 CFLAGS="" 3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2928 3648 /* end confdefs.h. */ 2929 3649 … … 2936 3656 } 2937 3657 _ACEOF 2938 rm -f conftest.$ac_objext 2939 if { (ac_try="$ac_compile" 2940 case "(($ac_try" in 2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2942 *) ac_try_echo=$ac_try;; 2943 esac 2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2945 (eval "$ac_compile") 2>conftest.er1 2946 ac_status=$? 2947 grep -v '^ *+' conftest.er1 >conftest.err 2948 rm -f conftest.er1 2949 cat conftest.err >&5 2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2951 (exit $ac_status); } && { 2952 test -z "$ac_c_werror_flag" || 2953 test ! -s conftest.err 2954 } && test -s conftest.$ac_objext; then 2955 : 2956 else 2957 echo "$as_me: failed program was:" >&5 2958 sed 's/^/| /' conftest.$ac_ext >&5 2959 2960 ac_c_werror_flag=$ac_save_c_werror_flag 3658 if ac_fn_c_try_compile "$LINENO"; then : 3659 3660 else 3661 ac_c_werror_flag=$ac_save_c_werror_flag 2961 3662 CFLAGS="-g" 2962 cat >conftest.$ac_ext <<_ACEOF 2963 /* confdefs.h. */ 2964 _ACEOF 2965 cat confdefs.h >>conftest.$ac_ext 2966 cat >>conftest.$ac_ext <<_ACEOF 3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2967 3664 /* end confdefs.h. */ 2968 3665 … … 2975 3672 } 2976 3673 _ACEOF 2977 rm -f conftest.$ac_objext 2978 if { (ac_try="$ac_compile" 2979 case "(($ac_try" in 2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2981 *) ac_try_echo=$ac_try;; 2982 esac 2983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2984 (eval "$ac_compile") 2>conftest.er1 2985 ac_status=$? 2986 grep -v '^ *+' conftest.er1 >conftest.err 2987 rm -f conftest.er1 2988 cat conftest.err >&5 2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2990 (exit $ac_status); } && { 2991 test -z "$ac_c_werror_flag" || 2992 test ! -s conftest.err 2993 } && test -s conftest.$ac_objext; then 3674 if ac_fn_c_try_compile "$LINENO"; then : 2994 3675 ac_cv_prog_cc_g=yes 2995 else 2996 echo "$as_me: failed program was:" >&5 2997 sed 's/^/| /' conftest.$ac_ext >&5 2998 2999 3000 fi 3001 3676 fi 3002 3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3003 3678 fi 3004 3005 3679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3006 3680 fi 3007 3008 3681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3009 3682 ac_c_werror_flag=$ac_save_c_werror_flag 3010 3683 fi 3011 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53012 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3685 $as_echo "$ac_cv_prog_cc_g" >&6; } 3013 3686 if test "$ac_test_CFLAGS" = set; then 3014 3687 CFLAGS=$ac_save_CFLAGS … … 3026 3699 fi 3027 3700 fi 3028 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53029 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3030 if test "${ac_cv_prog_cc_c89+set}" = set; then3031 echo $ECHO_N "(cached) $ECHO_C" >&63701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3702 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3703 if ${ac_cv_prog_cc_c89+:} false; then : 3704 $as_echo_n "(cached) " >&6 3032 3705 else 3033 3706 ac_cv_prog_cc_c89=no 3034 3707 ac_save_CC=$CC 3035 cat >conftest.$ac_ext <<_ACEOF 3036 /* confdefs.h. */ 3037 _ACEOF 3038 cat confdefs.h >>conftest.$ac_ext 3039 cat >>conftest.$ac_ext <<_ACEOF 3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3040 3709 /* end confdefs.h. */ 3041 3710 #include <stdarg.h> … … 3094 3763 do 3095 3764 CC="$ac_save_CC $ac_arg" 3096 rm -f conftest.$ac_objext 3097 if { (ac_try="$ac_compile" 3098 case "(($ac_try" in 3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3100 *) ac_try_echo=$ac_try;; 3101 esac 3102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3103 (eval "$ac_compile") 2>conftest.er1 3104 ac_status=$? 3105 grep -v '^ *+' conftest.er1 >conftest.err 3106 rm -f conftest.er1 3107 cat conftest.err >&5 3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3109 (exit $ac_status); } && { 3110 test -z "$ac_c_werror_flag" || 3111 test ! -s conftest.err 3112 } && test -s conftest.$ac_objext; then 3765 if ac_fn_c_try_compile "$LINENO"; then : 3113 3766 ac_cv_prog_cc_c89=$ac_arg 3114 else 3115 echo "$as_me: failed program was:" >&5 3116 sed 's/^/| /' conftest.$ac_ext >&5 3117 3118 3119 fi 3120 3767 fi 3121 3768 rm -f core conftest.err conftest.$ac_objext 3122 3769 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3129 3776 case "x$ac_cv_prog_cc_c89" in 3130 3777 x) 3131 { echo "$as_me:$LINENO: result: none needed" >&53132 echo "${ECHO_T}none needed" >&6; } ;;3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3779 $as_echo "none needed" >&6; } ;; 3133 3780 xno) 3134 { echo "$as_me:$LINENO: result: unsupported" >&53135 echo "${ECHO_T}unsupported" >&6; } ;;3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3782 $as_echo "unsupported" >&6; } ;; 3136 3783 *) 3137 3784 CC="$CC $ac_cv_prog_cc_c89" 3138 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53139 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3786 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3140 3787 esac 3141 3788 if test "x$ac_cv_prog_cc_c89" != xno; then : 3789 3790 fi 3142 3791 3143 3792 ac_ext=c … … 3161 3810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3162 3811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3163 { echo "$as_me:$LINENO: checking for $ac_word" >&53164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3165 if test "${ac_cv_prog_CXX+set}" = set; then3166 echo $ECHO_N "(cached) $ECHO_C" >&63812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3813 $as_echo_n "checking for $ac_word... " >&6; } 3814 if ${ac_cv_prog_CXX+:} false; then : 3815 $as_echo_n "(cached) " >&6 3167 3816 else 3168 3817 if test -n "$CXX"; then … … 3174 3823 IFS=$as_save_IFS 3175 3824 test -z "$as_dir" && as_dir=. 3176 for ac_exec_ext in '' $ac_executable_extensions; do3825 for ac_exec_ext in '' $ac_executable_extensions; do 3177 3826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3178 3827 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3180 3829 break 2 3181 3830 fi 3182 3831 done 3183 done3832 done 3184 3833 IFS=$as_save_IFS 3185 3834 … … 3188 3837 CXX=$ac_cv_prog_CXX 3189 3838 if test -n "$CXX"; then 3190 { echo "$as_me:$LINENO: result: $CXX" >&53191 echo "${ECHO_T}$CXX" >&6; }3192 else 3193 { echo "$as_me:$LINENO: result: no" >&53194 echo "${ECHO_T}no" >&6; }3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3840 $as_echo "$CXX" >&6; } 3841 else 3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3843 $as_echo "no" >&6; } 3195 3844 fi 3196 3845 … … 3205 3854 # Extract the first word of "$ac_prog", so it can be a program name with args. 3206 3855 set dummy $ac_prog; ac_word=$2 3207 { echo "$as_me:$LINENO: checking for $ac_word" >&53208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3209 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3210 echo $ECHO_N "(cached) $ECHO_C" >&63856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3857 $as_echo_n "checking for $ac_word... " >&6; } 3858 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3859 $as_echo_n "(cached) " >&6 3211 3860 else 3212 3861 if test -n "$ac_ct_CXX"; then … … 3218 3867 IFS=$as_save_IFS 3219 3868 test -z "$as_dir" && as_dir=. 3220 for ac_exec_ext in '' $ac_executable_extensions; do3869 for ac_exec_ext in '' $ac_executable_extensions; do 3221 3870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3222 3871 ac_cv_prog_ac_ct_CXX="$ac_prog" 3223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3224 3873 break 2 3225 3874 fi 3226 3875 done 3227 done3876 done 3228 3877 IFS=$as_save_IFS 3229 3878 … … 3232 3881 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3233 3882 if test -n "$ac_ct_CXX"; then 3234 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53235 echo "${ECHO_T}$ac_ct_CXX" >&6; }3236 else 3237 { echo "$as_me:$LINENO: result: no" >&53238 echo "${ECHO_T}no" >&6; }3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3884 $as_echo "$ac_ct_CXX" >&6; } 3885 else 3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3887 $as_echo "no" >&6; } 3239 3888 fi 3240 3889 … … 3248 3897 case $cross_compiling:$ac_tool_warned in 3249 3898 yes:) 3250 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3251 whose name does not start with the host triplet. If you think this 3252 configuration is useful to you, please write to autoconf@gnu.org." >&5 3253 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3254 whose name does not start with the host triplet. If you think this 3255 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3256 3901 ac_tool_warned=yes ;; 3257 3902 esac … … 3263 3908 fi 3264 3909 # Provide some information about the compiler. 3265 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3266 ac_compiler=`set X $ac_compile; echo $2` 3267 { (ac_try="$ac_compiler --version >&5" 3910 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3911 set X $ac_compile 3912 ac_compiler=$2 3913 for ac_option in --version -v -V -qversion; do 3914 { { ac_try="$ac_compiler $ac_option >&5" 3268 3915 case "(($ac_try" in 3269 3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3270 3917 *) ac_try_echo=$ac_try;; 3271 3918 esac 3272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3273 (eval "$ac_compiler --version >&5") 2>&5 3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3920 $as_echo "$ac_try_echo"; } >&5 3921 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3274 3922 ac_status=$? 3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3276 (exit $ac_status); } 3277 { (ac_try="$ac_compiler -v >&5" 3278 case "(($ac_try" in 3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3280 *) ac_try_echo=$ac_try;; 3281 esac 3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3283 (eval "$ac_compiler -v >&5") 2>&5 3284 ac_status=$? 3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3286 (exit $ac_status); } 3287 { (ac_try="$ac_compiler -V >&5" 3288 case "(($ac_try" in 3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3290 *) ac_try_echo=$ac_try;; 3291 esac 3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3293 (eval "$ac_compiler -V >&5") 2>&5 3294 ac_status=$? 3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3296 (exit $ac_status); } 3297 3298 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3299 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3300 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3301 echo $ECHO_N "(cached) $ECHO_C" >&6 3302 else 3303 cat >conftest.$ac_ext <<_ACEOF 3304 /* confdefs.h. */ 3305 _ACEOF 3306 cat confdefs.h >>conftest.$ac_ext 3307 cat >>conftest.$ac_ext <<_ACEOF 3923 if test -s conftest.err; then 3924 sed '10a\ 3925 ... rest of stderr output deleted ... 3926 10q' conftest.err >conftest.er1 3927 cat conftest.er1 >&5 3928 fi 3929 rm -f conftest.er1 conftest.err 3930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3931 test $ac_status = 0; } 3932 done 3933 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3935 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3936 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3937 $as_echo_n "(cached) " >&6 3938 else 3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3308 3940 /* end confdefs.h. */ 3309 3941 … … 3319 3951 } 3320 3952 _ACEOF 3321 rm -f conftest.$ac_objext 3322 if { (ac_try="$ac_compile" 3323 case "(($ac_try" in 3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3325 *) ac_try_echo=$ac_try;; 3326 esac 3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3328 (eval "$ac_compile") 2>conftest.er1 3329 ac_status=$? 3330 grep -v '^ *+' conftest.er1 >conftest.err 3331 rm -f conftest.er1 3332 cat conftest.err >&5 3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3334 (exit $ac_status); } && { 3335 test -z "$ac_cxx_werror_flag" || 3336 test ! -s conftest.err 3337 } && test -s conftest.$ac_objext; then 3953 if ac_fn_cxx_try_compile "$LINENO"; then : 3338 3954 ac_compiler_gnu=yes 3339 3955 else 3340 echo "$as_me: failed program was:" >&5 3341 sed 's/^/| /' conftest.$ac_ext >&5 3342 3343 ac_compiler_gnu=no 3344 fi 3345 3956 ac_compiler_gnu=no 3957 fi 3346 3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3347 3959 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3348 3960 3349 3961 fi 3350 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3351 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3352 GXX=`test $ac_compiler_gnu = yes && echo yes` 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3963 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3964 if test $ac_compiler_gnu = yes; then 3965 GXX=yes 3966 else 3967 GXX= 3968 fi 3353 3969 ac_test_CXXFLAGS=${CXXFLAGS+set} 3354 3970 ac_save_CXXFLAGS=$CXXFLAGS 3355 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53356 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3357 if test "${ac_cv_prog_cxx_g+set}" = set; then3358 echo $ECHO_N "(cached) $ECHO_C" >&63971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3972 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3973 if ${ac_cv_prog_cxx_g+:} false; then : 3974 $as_echo_n "(cached) " >&6 3359 3975 else 3360 3976 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3362 3978 ac_cv_prog_cxx_g=no 3363 3979 CXXFLAGS="-g" 3364 cat >conftest.$ac_ext <<_ACEOF 3365 /* confdefs.h. */ 3366 _ACEOF 3367 cat confdefs.h >>conftest.$ac_ext 3368 cat >>conftest.$ac_ext <<_ACEOF 3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3369 3981 /* end confdefs.h. */ 3370 3982 … … 3377 3989 } 3378 3990 _ACEOF 3379 rm -f conftest.$ac_objext 3380 if { (ac_try="$ac_compile" 3381 case "(($ac_try" in 3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3383 *) ac_try_echo=$ac_try;; 3384 esac 3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3386 (eval "$ac_compile") 2>conftest.er1 3387 ac_status=$? 3388 grep -v '^ *+' conftest.er1 >conftest.err 3389 rm -f conftest.er1 3390 cat conftest.err >&5 3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3392 (exit $ac_status); } && { 3393 test -z "$ac_cxx_werror_flag" || 3394 test ! -s conftest.err 3395 } && test -s conftest.$ac_objext; then 3991 if ac_fn_cxx_try_compile "$LINENO"; then : 3396 3992 ac_cv_prog_cxx_g=yes 3397 3993 else 3398 echo "$as_me: failed program was:" >&5 3399 sed 's/^/| /' conftest.$ac_ext >&5 3400 3401 CXXFLAGS="" 3402 cat >conftest.$ac_ext <<_ACEOF 3403 /* confdefs.h. */ 3404 _ACEOF 3405 cat confdefs.h >>conftest.$ac_ext 3406 cat >>conftest.$ac_ext <<_ACEOF 3994 CXXFLAGS="" 3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3407 3996 /* end confdefs.h. */ 3408 3997 … … 3415 4004 } 3416 4005 _ACEOF 3417 rm -f conftest.$ac_objext 3418 if { (ac_try="$ac_compile" 3419 case "(($ac_try" in 3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3421 *) ac_try_echo=$ac_try;; 3422 esac 3423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3424 (eval "$ac_compile") 2>conftest.er1 3425 ac_status=$? 3426 grep -v '^ *+' conftest.er1 >conftest.err 3427 rm -f conftest.er1 3428 cat conftest.err >&5 3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3430 (exit $ac_status); } && { 3431 test -z "$ac_cxx_werror_flag" || 3432 test ! -s conftest.err 3433 } && test -s conftest.$ac_objext; then 3434 : 3435 else 3436 echo "$as_me: failed program was:" >&5 3437 sed 's/^/| /' conftest.$ac_ext >&5 3438 3439 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4006 if ac_fn_cxx_try_compile "$LINENO"; then : 4007 4008 else 4009 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3440 4010 CXXFLAGS="-g" 3441 cat >conftest.$ac_ext <<_ACEOF 3442 /* confdefs.h. */ 3443 _ACEOF 3444 cat confdefs.h >>conftest.$ac_ext 3445 cat >>conftest.$ac_ext <<_ACEOF 4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3446 4012 /* end confdefs.h. */ 3447 4013 … … 3454 4020 } 3455 4021 _ACEOF 3456 rm -f conftest.$ac_objext 3457 if { (ac_try="$ac_compile" 3458 case "(($ac_try" in 3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3460 *) ac_try_echo=$ac_try;; 3461 esac 3462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3463 (eval "$ac_compile") 2>conftest.er1 3464 ac_status=$? 3465 grep -v '^ *+' conftest.er1 >conftest.err 3466 rm -f conftest.er1 3467 cat conftest.err >&5 3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3469 (exit $ac_status); } && { 3470 test -z "$ac_cxx_werror_flag" || 3471 test ! -s conftest.err 3472 } && test -s conftest.$ac_objext; then 4022 if ac_fn_cxx_try_compile "$LINENO"; then : 3473 4023 ac_cv_prog_cxx_g=yes 3474 else 3475 echo "$as_me: failed program was:" >&5 3476 sed 's/^/| /' conftest.$ac_ext >&5 3477 3478 3479 fi 3480 4024 fi 3481 4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3482 4026 fi 3483 3484 4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3485 4028 fi 3486 3487 4029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3488 4030 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3489 4031 fi 3490 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53491 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4033 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3492 4034 if test "$ac_test_CXXFLAGS" = set; then 3493 4035 CXXFLAGS=$ac_save_CXXFLAGS … … 3521 4063 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3522 4064 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3523 { echo "$as_me:$LINENO: checking for $ac_word" >&53524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3525 if test "${ac_cv_prog_F77+set}" = set; then3526 echo $ECHO_N "(cached) $ECHO_C" >&64065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4066 $as_echo_n "checking for $ac_word... " >&6; } 4067 if ${ac_cv_prog_F77+:} false; then : 4068 $as_echo_n "(cached) " >&6 3527 4069 else 3528 4070 if test -n "$F77"; then … … 3534 4076 IFS=$as_save_IFS 3535 4077 test -z "$as_dir" && as_dir=. 3536 for ac_exec_ext in '' $ac_executable_extensions; do4078 for ac_exec_ext in '' $ac_executable_extensions; do 3537 4079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3538 4080 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3540 4082 break 2 3541 4083 fi 3542 4084 done 3543 done4085 done 3544 4086 IFS=$as_save_IFS 3545 4087 … … 3548 4090 F77=$ac_cv_prog_F77 3549 4091 if test -n "$F77"; then 3550 { echo "$as_me:$LINENO: result: $F77" >&53551 echo "${ECHO_T}$F77" >&6; }3552 else 3553 { echo "$as_me:$LINENO: result: no" >&53554 echo "${ECHO_T}no" >&6; }4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4093 $as_echo "$F77" >&6; } 4094 else 4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4096 $as_echo "no" >&6; } 3555 4097 fi 3556 4098 … … 3565 4107 # Extract the first word of "$ac_prog", so it can be a program name with args. 3566 4108 set dummy $ac_prog; ac_word=$2 3567 { echo "$as_me:$LINENO: checking for $ac_word" >&53568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3569 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then3570 echo $ECHO_N "(cached) $ECHO_C" >&64109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4110 $as_echo_n "checking for $ac_word... " >&6; } 4111 if ${ac_cv_prog_ac_ct_F77+:} false; then : 4112 $as_echo_n "(cached) " >&6 3571 4113 else 3572 4114 if test -n "$ac_ct_F77"; then … … 3578 4120 IFS=$as_save_IFS 3579 4121 test -z "$as_dir" && as_dir=. 3580 for ac_exec_ext in '' $ac_executable_extensions; do4122 for ac_exec_ext in '' $ac_executable_extensions; do 3581 4123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3582 4124 ac_cv_prog_ac_ct_F77="$ac_prog" 3583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3584 4126 break 2 3585 4127 fi 3586 4128 done 3587 done4129 done 3588 4130 IFS=$as_save_IFS 3589 4131 … … 3592 4134 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3593 4135 if test -n "$ac_ct_F77"; then 3594 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53595 echo "${ECHO_T}$ac_ct_F77" >&6; }3596 else 3597 { echo "$as_me:$LINENO: result: no" >&53598 echo "${ECHO_T}no" >&6; }4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4137 $as_echo "$ac_ct_F77" >&6; } 4138 else 4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4140 $as_echo "no" >&6; } 3599 4141 fi 3600 4142 … … 3608 4150 case $cross_compiling:$ac_tool_warned in 3609 4151 yes:) 3610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3611 whose name does not start with the host triplet. If you think this 3612 configuration is useful to you, please write to autoconf@gnu.org." >&5 3613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3614 whose name does not start with the host triplet. If you think this 3615 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3616 4154 ac_tool_warned=yes ;; 3617 4155 esac … … 3622 4160 3623 4161 # Provide some information about the compiler. 3624 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3625 ac_compiler=`set X $ac_compile; echo $2` 3626 { (ac_try="$ac_compiler --version >&5" 4162 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4163 set X $ac_compile 4164 ac_compiler=$2 4165 for ac_option in --version -v -V -qversion; do 4166 { { ac_try="$ac_compiler $ac_option >&5" 3627 4167 case "(($ac_try" in 3628 4168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3629 4169 *) ac_try_echo=$ac_try;; 3630 4170 esac 3631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3632 (eval "$ac_compiler --version >&5") 2>&5 4171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4172 $as_echo "$ac_try_echo"; } >&5 4173 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3633 4174 ac_status=$? 3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3635 (exit $ac_status); } 3636 { (ac_try="$ac_compiler -v >&5" 3637 case "(($ac_try" in 3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3639 *) ac_try_echo=$ac_try;; 3640 esac 3641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3642 (eval "$ac_compiler -v >&5") 2>&5 3643 ac_status=$? 3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3645 (exit $ac_status); } 3646 { (ac_try="$ac_compiler -V >&5" 3647 case "(($ac_try" in 3648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3649 *) ac_try_echo=$ac_try;; 3650 esac 3651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3652 (eval "$ac_compiler -V >&5") 2>&5 3653 ac_status=$? 3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3655 (exit $ac_status); } 4175 if test -s conftest.err; then 4176 sed '10a\ 4177 ... rest of stderr output deleted ... 4178 10q' conftest.err >conftest.er1 4179 cat conftest.er1 >&5 4180 fi 4181 rm -f conftest.er1 conftest.err 4182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4183 test $ac_status = 0; } 4184 done 3656 4185 rm -f a.out 3657 4186 … … 3660 4189 ac_save_ext=$ac_ext 3661 4190 ac_ext=F 3662 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53663 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3664 if test "${ac_cv_f77_compiler_gnu+set}" = set; then3665 echo $ECHO_N "(cached) $ECHO_C" >&63666 else 3667 cat > conftest.$ac_ext <<_ACEOF4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4192 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4193 if ${ac_cv_f77_compiler_gnu+:} false; then : 4194 $as_echo_n "(cached) " >&6 4195 else 4196 cat > conftest.$ac_ext <<_ACEOF 3668 4197 program main 3669 4198 #ifndef __GNUC__ … … 3673 4202 end 3674 4203 _ACEOF 3675 rm -f conftest.$ac_objext 3676 if { (ac_try="$ac_compile" 3677 case "(($ac_try" in 3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3679 *) ac_try_echo=$ac_try;; 3680 esac 3681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3682 (eval "$ac_compile") 2>conftest.er1 3683 ac_status=$? 3684 grep -v '^ *+' conftest.er1 >conftest.err 3685 rm -f conftest.er1 3686 cat conftest.err >&5 3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3688 (exit $ac_status); } && { 3689 test -z "$ac_f77_werror_flag" || 3690 test ! -s conftest.err 3691 } && test -s conftest.$ac_objext; then 4204 if ac_fn_f77_try_compile "$LINENO"; then : 3692 4205 ac_compiler_gnu=yes 3693 4206 else 3694 echo "$as_me: failed program was:" >&5 3695 sed 's/^/| /' conftest.$ac_ext >&5 3696 3697 ac_compiler_gnu=no 3698 fi 3699 4207 ac_compiler_gnu=no 4208 fi 3700 4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3701 4210 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3702 4211 3703 4212 fi 3704 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53705 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4214 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3706 4215 ac_ext=$ac_save_ext 3707 4216 ac_test_FFLAGS=${FFLAGS+set} 3708 4217 ac_save_FFLAGS=$FFLAGS 3709 4218 FFLAGS= 3710 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53711 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3712 if test "${ac_cv_prog_f77_g+set}" = set; then3713 echo $ECHO_N "(cached) $ECHO_C" >&64219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4220 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4221 if ${ac_cv_prog_f77_g+:} false; then : 4222 $as_echo_n "(cached) " >&6 3714 4223 else 3715 4224 FFLAGS=-g 3716 cat > conftest.$ac_ext <<_ACEOF4225 cat > conftest.$ac_ext <<_ACEOF 3717 4226 program main 3718 4227 3719 4228 end 3720 4229 _ACEOF 3721 rm -f conftest.$ac_objext 3722 if { (ac_try="$ac_compile" 3723 case "(($ac_try" in 3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3725 *) ac_try_echo=$ac_try;; 3726 esac 3727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3728 (eval "$ac_compile") 2>conftest.er1 3729 ac_status=$? 3730 grep -v '^ *+' conftest.er1 >conftest.err 3731 rm -f conftest.er1 3732 cat conftest.err >&5 3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3734 (exit $ac_status); } && { 3735 test -z "$ac_f77_werror_flag" || 3736 test ! -s conftest.err 3737 } && test -s conftest.$ac_objext; then 4230 if ac_fn_f77_try_compile "$LINENO"; then : 3738 4231 ac_cv_prog_f77_g=yes 3739 4232 else 3740 echo "$as_me: failed program was:" >&5 3741 sed 's/^/| /' conftest.$ac_ext >&5 3742 3743 ac_cv_prog_f77_g=no 3744 fi 3745 4233 ac_cv_prog_f77_g=no 4234 fi 3746 4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3747 4236 3748 4237 fi 3749 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53750 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4239 $as_echo "$ac_cv_prog_f77_g" >&6; } 3751 4240 if test "$ac_test_FFLAGS" = set; then 3752 4241 FFLAGS=$ac_save_FFLAGS … … 3765 4254 fi 3766 4255 3767 G77=`test $ac_compiler_gnu = yes && echo yes` 4256 if test $ac_compiler_gnu = yes; then 4257 G77=yes 4258 else 4259 G77= 4260 fi 3768 4261 ac_ext=c 3769 4262 ac_cpp='$CPP $CPPFLAGS' … … 3786 4279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3787 4280 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3788 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53789 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4282 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3790 4283 # On Suns, sometimes $CPP names a directory. 3791 4284 if test -n "$CPP" && test -d "$CPP"; then … … 3793 4286 fi 3794 4287 if test -z "$CPP"; then 3795 if test "${ac_cv_prog_CPP+set}" = set; then3796 echo $ECHO_N "(cached) $ECHO_C" >&64288 if ${ac_cv_prog_CPP+:} false; then : 4289 $as_echo_n "(cached) " >&6 3797 4290 else 3798 4291 # Double quotes because CPP needs to be expanded … … 3808 4301 # On the NeXT, cc -E runs the code through the compiler's parser, 3809 4302 # not just through cpp. "Syntax error" is here to catch this case. 3810 cat >conftest.$ac_ext <<_ACEOF 3811 /* confdefs.h. */ 3812 _ACEOF 3813 cat confdefs.h >>conftest.$ac_ext 3814 cat >>conftest.$ac_ext <<_ACEOF 4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3815 4304 /* end confdefs.h. */ 3816 4305 #ifdef __STDC__ … … 3821 4310 Syntax error 3822 4311 _ACEOF 3823 if { (ac_try="$ac_cpp conftest.$ac_ext" 3824 case "(($ac_try" in 3825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3826 *) ac_try_echo=$ac_try;; 3827 esac 3828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3830 ac_status=$? 3831 grep -v '^ *+' conftest.er1 >conftest.err 3832 rm -f conftest.er1 3833 cat conftest.err >&5 3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3835 (exit $ac_status); } >/dev/null && { 3836 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3837 test ! -s conftest.err 3838 }; then 3839 : 3840 else 3841 echo "$as_me: failed program was:" >&5 3842 sed 's/^/| /' conftest.$ac_ext >&5 3843 4312 if ac_fn_c_try_cpp "$LINENO"; then : 4313 4314 else 3844 4315 # Broken: fails on valid input. 3845 4316 continue 3846 4317 fi 3847 3848 rm -f conftest.err conftest.$ac_ext 4318 rm -f conftest.err conftest.i conftest.$ac_ext 3849 4319 3850 4320 # OK, works on sane cases. Now check whether nonexistent headers 3851 4321 # can be detected and how. 3852 cat >conftest.$ac_ext <<_ACEOF 3853 /* confdefs.h. */ 3854 _ACEOF 3855 cat confdefs.h >>conftest.$ac_ext 3856 cat >>conftest.$ac_ext <<_ACEOF 4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3857 4323 /* end confdefs.h. */ 3858 4324 #include <ac_nonexistent.h> 3859 4325 _ACEOF 3860 if { (ac_try="$ac_cpp conftest.$ac_ext" 3861 case "(($ac_try" in 3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3863 *) ac_try_echo=$ac_try;; 3864 esac 3865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3867 ac_status=$? 3868 grep -v '^ *+' conftest.er1 >conftest.err 3869 rm -f conftest.er1 3870 cat conftest.err >&5 3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3872 (exit $ac_status); } >/dev/null && { 3873 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3874 test ! -s conftest.err 3875 }; then 4326 if ac_fn_c_try_cpp "$LINENO"; then : 3876 4327 # Broken: success on invalid input. 3877 4328 continue 3878 4329 else 3879 echo "$as_me: failed program was:" >&53880 sed 's/^/| /' conftest.$ac_ext >&53881 3882 4330 # Passes both tests. 3883 4331 ac_preproc_ok=: 3884 4332 break 3885 4333 fi 3886 3887 rm -f conftest.err conftest.$ac_ext 4334 rm -f conftest.err conftest.i conftest.$ac_ext 3888 4335 3889 4336 done 3890 4337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3891 rm -f conftest. err conftest.$ac_ext3892 if $ac_preproc_ok; then 4338 rm -f conftest.i conftest.err conftest.$ac_ext 4339 if $ac_preproc_ok; then : 3893 4340 break 3894 4341 fi … … 3902 4349 ac_cv_prog_CPP=$CPP 3903 4350 fi 3904 { echo "$as_me:$LINENO: result: $CPP" >&53905 echo "${ECHO_T}$CPP" >&6; }4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4352 $as_echo "$CPP" >&6; } 3906 4353 ac_preproc_ok=false 3907 4354 for ac_c_preproc_warn_flag in '' yes … … 3913 4360 # On the NeXT, cc -E runs the code through the compiler's parser, 3914 4361 # not just through cpp. "Syntax error" is here to catch this case. 3915 cat >conftest.$ac_ext <<_ACEOF 3916 /* confdefs.h. */ 3917 _ACEOF 3918 cat confdefs.h >>conftest.$ac_ext 3919 cat >>conftest.$ac_ext <<_ACEOF 4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3920 4363 /* end confdefs.h. */ 3921 4364 #ifdef __STDC__ … … 3926 4369 Syntax error 3927 4370 _ACEOF 3928 if { (ac_try="$ac_cpp conftest.$ac_ext" 3929 case "(($ac_try" in 3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3931 *) ac_try_echo=$ac_try;; 3932 esac 3933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3935 ac_status=$? 3936 grep -v '^ *+' conftest.er1 >conftest.err 3937 rm -f conftest.er1 3938 cat conftest.err >&5 3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3940 (exit $ac_status); } >/dev/null && { 3941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3942 test ! -s conftest.err 3943 }; then 3944 : 3945 else 3946 echo "$as_me: failed program was:" >&5 3947 sed 's/^/| /' conftest.$ac_ext >&5 3948 4371 if ac_fn_c_try_cpp "$LINENO"; then : 4372 4373 else 3949 4374 # Broken: fails on valid input. 3950 4375 continue 3951 4376 fi 3952 3953 rm -f conftest.err conftest.$ac_ext 4377 rm -f conftest.err conftest.i conftest.$ac_ext 3954 4378 3955 4379 # OK, works on sane cases. Now check whether nonexistent headers 3956 4380 # can be detected and how. 3957 cat >conftest.$ac_ext <<_ACEOF 3958 /* confdefs.h. */ 3959 _ACEOF 3960 cat confdefs.h >>conftest.$ac_ext 3961 cat >>conftest.$ac_ext <<_ACEOF 4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3962 4382 /* end confdefs.h. */ 3963 4383 #include <ac_nonexistent.h> 3964 4384 _ACEOF 3965 if { (ac_try="$ac_cpp conftest.$ac_ext" 3966 case "(($ac_try" in 3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3968 *) ac_try_echo=$ac_try;; 3969 esac 3970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3972 ac_status=$? 3973 grep -v '^ *+' conftest.er1 >conftest.err 3974 rm -f conftest.er1 3975 cat conftest.err >&5 3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3977 (exit $ac_status); } >/dev/null && { 3978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3979 test ! -s conftest.err 3980 }; then 4385 if ac_fn_c_try_cpp "$LINENO"; then : 3981 4386 # Broken: success on invalid input. 3982 4387 continue 3983 4388 else 3984 echo "$as_me: failed program was:" >&53985 sed 's/^/| /' conftest.$ac_ext >&53986 3987 4389 # Passes both tests. 3988 4390 ac_preproc_ok=: 3989 4391 break 3990 4392 fi 3991 3992 rm -f conftest.err conftest.$ac_ext 4393 rm -f conftest.err conftest.i conftest.$ac_ext 3993 4394 3994 4395 done 3995 4396 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3996 rm -f conftest.err conftest.$ac_ext 3997 if $ac_preproc_ok; then 3998 : 3999 else 4000 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4001 See \`config.log' for more details." >&5 4002 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4003 See \`config.log' for more details." >&2;} 4004 { (exit 1); exit 1; }; } 4397 rm -f conftest.i conftest.err conftest.$ac_ext 4398 if $ac_preproc_ok; then : 4399 4400 else 4401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4403 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4404 See \`config.log' for more details" "$LINENO" 5; } 4005 4405 fi 4006 4406 … … 4012 4412 4013 4413 4014 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4015 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4016 if test "${ac_cv_path_GREP+set}" = set; then 4017 echo $ECHO_N "(cached) $ECHO_C" >&6 4018 else 4019 # Extract the first word of "grep ggrep" to use in msg output 4020 if test -z "$GREP"; then 4021 set dummy grep ggrep; ac_prog_name=$2 4022 if test "${ac_cv_path_GREP+set}" = set; then 4023 echo $ECHO_N "(cached) $ECHO_C" >&6 4024 else 4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4415 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4416 if ${ac_cv_path_GREP+:} false; then : 4417 $as_echo_n "(cached) " >&6 4418 else 4419 if test -z "$GREP"; then 4025 4420 ac_path_GREP_found=false 4026 # Loop through the user's path and test for each of PROGNAME-LIST4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4421 # Loop through the user's path and test for each of PROGNAME-LIST 4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4028 4423 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4029 4424 do 4030 4425 IFS=$as_save_IFS 4031 4426 test -z "$as_dir" && as_dir=. 4032 for ac_prog in grep ggrep; do4033 for ac_exec_ext in '' $ac_executable_extensions; do4034 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4035 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4036 4427 for ac_prog in grep ggrep; do 4428 for ac_exec_ext in '' $ac_executable_extensions; do 4429 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4430 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4431 # Check for GNU ac_path_GREP and select it if it is found. 4037 4432 # Check for GNU $ac_path_GREP 4038 4433 case `"$ac_path_GREP" --version 2>&1` in … … 4041 4436 *) 4042 4437 ac_count=0 4043 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4438 $as_echo_n 0123456789 >"conftest.in" 4044 4439 while : 4045 4440 do … … 4047 4442 mv "conftest.tmp" "conftest.in" 4048 4443 cp "conftest.in" "conftest.nl" 4049 echo 'GREP' >> "conftest.nl"4444 $as_echo 'GREP' >> "conftest.nl" 4050 4445 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4051 4446 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4052 a c_count=`expr $ac_count + 1`4447 as_fn_arith $ac_count + 1 && ac_count=$as_val 4053 4448 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4054 4449 # Best one so far, save it but keep looking for a better one … … 4062 4457 esac 4063 4458 4064 4065 $ac_path_GREP_found && break 34459 $ac_path_GREP_found && break 3 4460 done 4066 4461 done 4067 done 4068 4069 done 4462 done 4070 4463 IFS=$as_save_IFS 4071 4072 4073 fi 4074 4075 GREP="$ac_cv_path_GREP" 4076 if test -z "$GREP"; then 4077 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4078 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4079 { (exit 1); exit 1; }; } 4080 fi 4081 4464 if test -z "$ac_cv_path_GREP"; then 4465 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4466 fi 4082 4467 else 4083 4468 ac_cv_path_GREP=$GREP 4084 4469 fi 4085 4470 4086 4087 fi 4088 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4089 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4471 fi 4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4473 $as_echo "$ac_cv_path_GREP" >&6; } 4090 4474 GREP="$ac_cv_path_GREP" 4091 4475 4092 4476 4093 { echo "$as_me:$LINENO: checking for egrep" >&54094 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4095 if test "${ac_cv_path_EGREP+set}" = set; then4096 echo $ECHO_N "(cached) $ECHO_C" >&64477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4478 $as_echo_n "checking for egrep... " >&6; } 4479 if ${ac_cv_path_EGREP+:} false; then : 4480 $as_echo_n "(cached) " >&6 4097 4481 else 4098 4482 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4099 4483 then ac_cv_path_EGREP="$GREP -E" 4100 4484 else 4101 # Extract the first word of "egrep" to use in msg output 4102 if test -z "$EGREP"; then 4103 set dummy egrep; ac_prog_name=$2 4104 if test "${ac_cv_path_EGREP+set}" = set; then 4105 echo $ECHO_N "(cached) $ECHO_C" >&6 4106 else 4485 if test -z "$EGREP"; then 4107 4486 ac_path_EGREP_found=false 4108 # Loop through the user's path and test for each of PROGNAME-LIST4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4487 # Loop through the user's path and test for each of PROGNAME-LIST 4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4110 4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4111 4490 do 4112 4491 IFS=$as_save_IFS 4113 4492 test -z "$as_dir" && as_dir=. 4114 for ac_prog in egrep; do4115 for ac_exec_ext in '' $ac_executable_extensions; do4116 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4117 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4118 4493 for ac_prog in egrep; do 4494 for ac_exec_ext in '' $ac_executable_extensions; do 4495 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4496 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4497 # Check for GNU ac_path_EGREP and select it if it is found. 4119 4498 # Check for GNU $ac_path_EGREP 4120 4499 case `"$ac_path_EGREP" --version 2>&1` in … … 4123 4502 *) 4124 4503 ac_count=0 4125 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4504 $as_echo_n 0123456789 >"conftest.in" 4126 4505 while : 4127 4506 do … … 4129 4508 mv "conftest.tmp" "conftest.in" 4130 4509 cp "conftest.in" "conftest.nl" 4131 echo 'EGREP' >> "conftest.nl"4510 $as_echo 'EGREP' >> "conftest.nl" 4132 4511 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4133 4512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4134 a c_count=`expr $ac_count + 1`4513 as_fn_arith $ac_count + 1 && ac_count=$as_val 4135 4514 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4136 4515 # Best one so far, save it but keep looking for a better one … … 4144 4523 esac 4145 4524 4146 4147 $ac_path_EGREP_found && break 34525 $ac_path_EGREP_found && break 3 4526 done 4148 4527 done 4149 done 4150 4151 done 4528 done 4152 4529 IFS=$as_save_IFS 4153 4154 4155 fi 4156 4157 EGREP="$ac_cv_path_EGREP" 4158 if test -z "$EGREP"; then 4159 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4160 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4161 { (exit 1); exit 1; }; } 4162 fi 4163 4530 if test -z "$ac_cv_path_EGREP"; then 4531 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4532 fi 4164 4533 else 4165 4534 ac_cv_path_EGREP=$EGREP 4166 4535 fi 4167 4536 4168 4169 4537 fi 4170 4538 fi 4171 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54172 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4540 $as_echo "$ac_cv_path_EGREP" >&6; } 4173 4541 EGREP="$ac_cv_path_EGREP" 4174 4542 4175 4543 4176 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4177 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4178 if test "${ac_cv_header_stdc+set}" = set; then 4179 echo $ECHO_N "(cached) $ECHO_C" >&6 4180 else 4181 cat >conftest.$ac_ext <<_ACEOF 4182 /* confdefs.h. */ 4183 _ACEOF 4184 cat confdefs.h >>conftest.$ac_ext 4185 cat >>conftest.$ac_ext <<_ACEOF 4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4545 $as_echo_n "checking for ANSI C header files... " >&6; } 4546 if ${ac_cv_header_stdc+:} false; then : 4547 $as_echo_n "(cached) " >&6 4548 else 4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4186 4550 /* end confdefs.h. */ 4187 4551 #include <stdlib.h> … … 4198 4562 } 4199 4563 _ACEOF 4200 rm -f conftest.$ac_objext 4201 if { (ac_try="$ac_compile" 4202 case "(($ac_try" in 4203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4204 *) ac_try_echo=$ac_try;; 4205 esac 4206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4207 (eval "$ac_compile") 2>conftest.er1 4208 ac_status=$? 4209 grep -v '^ *+' conftest.er1 >conftest.err 4210 rm -f conftest.er1 4211 cat conftest.err >&5 4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4213 (exit $ac_status); } && { 4214 test -z "$ac_c_werror_flag" || 4215 test ! -s conftest.err 4216 } && test -s conftest.$ac_objext; then 4564 if ac_fn_c_try_compile "$LINENO"; then : 4217 4565 ac_cv_header_stdc=yes 4218 4566 else 4219 echo "$as_me: failed program was:" >&5 4220 sed 's/^/| /' conftest.$ac_ext >&5 4221 4222 ac_cv_header_stdc=no 4223 fi 4224 4567 ac_cv_header_stdc=no 4568 fi 4225 4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4226 4570 4227 4571 if test $ac_cv_header_stdc = yes; then 4228 4572 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4229 cat >conftest.$ac_ext <<_ACEOF 4230 /* confdefs.h. */ 4231 _ACEOF 4232 cat confdefs.h >>conftest.$ac_ext 4233 cat >>conftest.$ac_ext <<_ACEOF 4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4234 4574 /* end confdefs.h. */ 4235 4575 #include <string.h> … … 4237 4577 _ACEOF 4238 4578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4239 $EGREP "memchr" >/dev/null 2>&1; then 4240 : 4579 $EGREP "memchr" >/dev/null 2>&1; then : 4580 4241 4581 else 4242 4582 ac_cv_header_stdc=no … … 4248 4588 if test $ac_cv_header_stdc = yes; then 4249 4589 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4250 cat >conftest.$ac_ext <<_ACEOF 4251 /* confdefs.h. */ 4252 _ACEOF 4253 cat confdefs.h >>conftest.$ac_ext 4254 cat >>conftest.$ac_ext <<_ACEOF 4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4255 4591 /* end confdefs.h. */ 4256 4592 #include <stdlib.h> … … 4258 4594 _ACEOF 4259 4595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4260 $EGREP "free" >/dev/null 2>&1; then 4261 : 4596 $EGREP "free" >/dev/null 2>&1; then : 4597 4262 4598 else 4263 4599 ac_cv_header_stdc=no … … 4269 4605 if test $ac_cv_header_stdc = yes; then 4270 4606 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4271 if test "$cross_compiling" = yes; then 4607 if test "$cross_compiling" = yes; then : 4272 4608 : 4273 4609 else 4274 cat >conftest.$ac_ext <<_ACEOF 4275 /* confdefs.h. */ 4276 _ACEOF 4277 cat confdefs.h >>conftest.$ac_ext 4278 cat >>conftest.$ac_ext <<_ACEOF 4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4279 4611 /* end confdefs.h. */ 4280 4612 #include <ctype.h> … … 4303 4635 } 4304 4636 _ACEOF 4305 rm -f conftest$ac_exeext 4306 if { (ac_try="$ac_link" 4307 case "(($ac_try" in 4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4309 *) ac_try_echo=$ac_try;; 4310 esac 4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4312 (eval "$ac_link") 2>&5 4313 ac_status=$? 4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4316 { (case "(($ac_try" in 4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4318 *) ac_try_echo=$ac_try;; 4319 esac 4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4321 (eval "$ac_try") 2>&5 4322 ac_status=$? 4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4324 (exit $ac_status); }; }; then 4325 : 4326 else 4327 echo "$as_me: program exited with status $ac_status" >&5 4328 echo "$as_me: failed program was:" >&5 4329 sed 's/^/| /' conftest.$ac_ext >&5 4330 4331 ( exit $ac_status ) 4332 ac_cv_header_stdc=no 4333 fi 4334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4335 fi 4336 4337 4338 fi 4339 fi 4340 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4341 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4637 if ac_fn_c_try_run "$LINENO"; then : 4638 4639 else 4640 ac_cv_header_stdc=no 4641 fi 4642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4643 conftest.$ac_objext conftest.beam conftest.$ac_ext 4644 fi 4645 4646 fi 4647 fi 4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4649 $as_echo "$ac_cv_header_stdc" >&6; } 4342 4650 if test $ac_cv_header_stdc = yes; then 4343 4651 4344 cat >>confdefs.h <<\_ACEOF 4345 #define STDC_HEADERS 1 4346 _ACEOF 4347 4348 fi 4349 4350 { echo "$as_me:$LINENO: checking for atol" >&5 4351 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4352 if test "${ac_cv_func_atol+set}" = set; then 4353 echo $ECHO_N "(cached) $ECHO_C" >&6 4354 else 4355 cat >conftest.$ac_ext <<_ACEOF 4356 /* confdefs.h. */ 4357 _ACEOF 4358 cat confdefs.h >>conftest.$ac_ext 4359 cat >>conftest.$ac_ext <<_ACEOF 4360 /* end confdefs.h. */ 4361 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4362 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4363 #define atol innocuous_atol 4364 4365 /* System header to define __stub macros and hopefully few prototypes, 4366 which can conflict with char atol (); below. 4367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4368 <limits.h> exists even on freestanding compilers. */ 4369 4370 #ifdef __STDC__ 4371 # include <limits.h> 4372 #else 4373 # include <assert.h> 4374 #endif 4375 4376 #undef atol 4377 4378 /* Override any GCC internal prototype to avoid an error. 4379 Use char because int might match the return type of a GCC 4380 builtin and then its argument prototype would still apply. */ 4381 #ifdef __cplusplus 4382 extern "C" 4383 #endif 4384 char atol (); 4385 /* The GNU C library defines this for functions which it implements 4386 to always fail with ENOSYS. Some functions are actually named 4387 something starting with __ and the normal name is an alias. */ 4388 #if defined __stub_atol || defined __stub___atol 4389 choke me 4390 #endif 4391 4392 int 4393 main () 4394 { 4395 return atol (); 4396 ; 4397 return 0; 4398 } 4399 _ACEOF 4400 rm -f conftest.$ac_objext conftest$ac_exeext 4401 if { (ac_try="$ac_link" 4402 case "(($ac_try" in 4403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4404 *) ac_try_echo=$ac_try;; 4405 esac 4406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4407 (eval "$ac_link") 2>conftest.er1 4408 ac_status=$? 4409 grep -v '^ *+' conftest.er1 >conftest.err 4410 rm -f conftest.er1 4411 cat conftest.err >&5 4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4413 (exit $ac_status); } && { 4414 test -z "$ac_c_werror_flag" || 4415 test ! -s conftest.err 4416 } && test -s conftest$ac_exeext && 4417 $as_test_x conftest$ac_exeext; then 4418 ac_cv_func_atol=yes 4419 else 4420 echo "$as_me: failed program was:" >&5 4421 sed 's/^/| /' conftest.$ac_ext >&5 4422 4423 ac_cv_func_atol=no 4424 fi 4425 4426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4427 conftest$ac_exeext conftest.$ac_ext 4428 fi 4429 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4430 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4431 if test $ac_cv_func_atol = yes; then 4432 : 4433 else 4434 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4435 echo "$as_me: error: oops! no atol ?!?" >&2;} 4436 { (exit 1); exit 1; }; } 4652 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4653 4654 fi 4655 4656 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4657 if test "x$ac_cv_func_atol" = xyes; then : 4658 4659 else 4660 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4437 4661 fi 4438 4662 … … 4446 4670 4447 4671 4448 4449 4672 for ac_func in sysinfo 4450 do 4451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4452 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4454 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4455 echo $ECHO_N "(cached) $ECHO_C" >&6 4456 else 4457 cat >conftest.$ac_ext <<_ACEOF 4458 /* confdefs.h. */ 4459 _ACEOF 4460 cat confdefs.h >>conftest.$ac_ext 4461 cat >>conftest.$ac_ext <<_ACEOF 4462 /* end confdefs.h. */ 4463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4464 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4465 #define $ac_func innocuous_$ac_func 4466 4467 /* System header to define __stub macros and hopefully few prototypes, 4468 which can conflict with char $ac_func (); below. 4469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4470 <limits.h> exists even on freestanding compilers. */ 4471 4472 #ifdef __STDC__ 4473 # include <limits.h> 4474 #else 4475 # include <assert.h> 4476 #endif 4477 4478 #undef $ac_func 4479 4480 /* Override any GCC internal prototype to avoid an error. 4481 Use char because int might match the return type of a GCC 4482 builtin and then its argument prototype would still apply. */ 4483 #ifdef __cplusplus 4484 extern "C" 4485 #endif 4486 char $ac_func (); 4487 /* The GNU C library defines this for functions which it implements 4488 to always fail with ENOSYS. Some functions are actually named 4489 something starting with __ and the normal name is an alias. */ 4490 #if defined __stub_$ac_func || defined __stub___$ac_func 4491 choke me 4492 #endif 4493 4494 int 4495 main () 4496 { 4497 return $ac_func (); 4498 ; 4499 return 0; 4500 } 4501 _ACEOF 4502 rm -f conftest.$ac_objext conftest$ac_exeext 4503 if { (ac_try="$ac_link" 4504 case "(($ac_try" in 4505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4506 *) ac_try_echo=$ac_try;; 4507 esac 4508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4509 (eval "$ac_link") 2>conftest.er1 4510 ac_status=$? 4511 grep -v '^ *+' conftest.er1 >conftest.err 4512 rm -f conftest.er1 4513 cat conftest.err >&5 4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4515 (exit $ac_status); } && { 4516 test -z "$ac_cxx_werror_flag" || 4517 test ! -s conftest.err 4518 } && test -s conftest$ac_exeext && 4519 $as_test_x conftest$ac_exeext; then 4520 eval "$as_ac_var=yes" 4521 else 4522 echo "$as_me: failed program was:" >&5 4523 sed 's/^/| /' conftest.$ac_ext >&5 4524 4525 eval "$as_ac_var=no" 4526 fi 4527 4528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4529 conftest$ac_exeext conftest.$ac_ext 4530 fi 4531 ac_res=`eval echo '${'$as_ac_var'}'` 4532 { echo "$as_me:$LINENO: result: $ac_res" >&5 4533 echo "${ECHO_T}$ac_res" >&6; } 4534 if test `eval echo '${'$as_ac_var'}'` = yes; then 4673 do : 4674 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4675 if test "x$ac_cv_func_sysinfo" = xyes; then : 4535 4676 cat >>confdefs.h <<_ACEOF 4536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4537 _ACEOF 4538 4539 fi 4540 done 4541 4542 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4553 inttypes.h stdint.h unistd.h 4554 do 4555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4556 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4559 echo $ECHO_N "(cached) $ECHO_C" >&6 4560 else 4561 cat >conftest.$ac_ext <<_ACEOF 4562 /* confdefs.h. */ 4563 _ACEOF 4564 cat confdefs.h >>conftest.$ac_ext 4565 cat >>conftest.$ac_ext <<_ACEOF 4566 /* end confdefs.h. */ 4567 $ac_includes_default 4568 4569 #include <$ac_header> 4570 _ACEOF 4571 rm -f conftest.$ac_objext 4572 if { (ac_try="$ac_compile" 4573 case "(($ac_try" in 4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4575 *) ac_try_echo=$ac_try;; 4576 esac 4577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4578 (eval "$ac_compile") 2>conftest.er1 4579 ac_status=$? 4580 grep -v '^ *+' conftest.er1 >conftest.err 4581 rm -f conftest.er1 4582 cat conftest.err >&5 4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4584 (exit $ac_status); } && { 4585 test -z "$ac_cxx_werror_flag" || 4586 test ! -s conftest.err 4587 } && test -s conftest.$ac_objext; then 4588 eval "$as_ac_Header=yes" 4589 else 4590 echo "$as_me: failed program was:" >&5 4591 sed 's/^/| /' conftest.$ac_ext >&5 4592 4593 eval "$as_ac_Header=no" 4594 fi 4595 4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4597 fi 4598 ac_res=`eval echo '${'$as_ac_Header'}'` 4599 { echo "$as_me:$LINENO: result: $ac_res" >&5 4600 echo "${ECHO_T}$ac_res" >&6; } 4601 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4602 cat >>confdefs.h <<_ACEOF 4603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4604 _ACEOF 4605 4606 fi 4607 4608 done 4609 4677 #define HAVE_SYSINFO 1 4678 _ACEOF 4679 4680 fi 4681 done 4610 4682 4611 4683 ac_ext=cpp … … 4614 4686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4615 4687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4616 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54617 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4689 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4618 4690 if test -z "$CXXCPP"; then 4619 if test "${ac_cv_prog_CXXCPP+set}" = set; then4620 echo $ECHO_N "(cached) $ECHO_C" >&64691 if ${ac_cv_prog_CXXCPP+:} false; then : 4692 $as_echo_n "(cached) " >&6 4621 4693 else 4622 4694 # Double quotes because CXXCPP needs to be expanded … … 4632 4704 # On the NeXT, cc -E runs the code through the compiler's parser, 4633 4705 # not just through cpp. "Syntax error" is here to catch this case. 4634 cat >conftest.$ac_ext <<_ACEOF 4635 /* confdefs.h. */ 4636 _ACEOF 4637 cat confdefs.h >>conftest.$ac_ext 4638 cat >>conftest.$ac_ext <<_ACEOF 4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4639 4707 /* end confdefs.h. */ 4640 4708 #ifdef __STDC__ … … 4645 4713 Syntax error 4646 4714 _ACEOF 4647 if { (ac_try="$ac_cpp conftest.$ac_ext" 4648 case "(($ac_try" in 4649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4650 *) ac_try_echo=$ac_try;; 4651 esac 4652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4654 ac_status=$? 4655 grep -v '^ *+' conftest.er1 >conftest.err 4656 rm -f conftest.er1 4657 cat conftest.err >&5 4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4659 (exit $ac_status); } >/dev/null && { 4660 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4661 test ! -s conftest.err 4662 }; then 4663 : 4664 else 4665 echo "$as_me: failed program was:" >&5 4666 sed 's/^/| /' conftest.$ac_ext >&5 4667 4715 if ac_fn_cxx_try_cpp "$LINENO"; then : 4716 4717 else 4668 4718 # Broken: fails on valid input. 4669 4719 continue 4670 4720 fi 4671 4672 rm -f conftest.err conftest.$ac_ext 4721 rm -f conftest.err conftest.i conftest.$ac_ext 4673 4722 4674 4723 # OK, works on sane cases. Now check whether nonexistent headers 4675 4724 # can be detected and how. 4676 cat >conftest.$ac_ext <<_ACEOF 4677 /* confdefs.h. */ 4678 _ACEOF 4679 cat confdefs.h >>conftest.$ac_ext 4680 cat >>conftest.$ac_ext <<_ACEOF 4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4681 4726 /* end confdefs.h. */ 4682 4727 #include <ac_nonexistent.h> 4683 4728 _ACEOF 4684 if { (ac_try="$ac_cpp conftest.$ac_ext" 4685 case "(($ac_try" in 4686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4687 *) ac_try_echo=$ac_try;; 4688 esac 4689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4691 ac_status=$? 4692 grep -v '^ *+' conftest.er1 >conftest.err 4693 rm -f conftest.er1 4694 cat conftest.err >&5 4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4696 (exit $ac_status); } >/dev/null && { 4697 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4698 test ! -s conftest.err 4699 }; then 4729 if ac_fn_cxx_try_cpp "$LINENO"; then : 4700 4730 # Broken: success on invalid input. 4701 4731 continue 4702 4732 else 4703 echo "$as_me: failed program was:" >&54704 sed 's/^/| /' conftest.$ac_ext >&54705 4706 4733 # Passes both tests. 4707 4734 ac_preproc_ok=: 4708 4735 break 4709 4736 fi 4710 4711 rm -f conftest.err conftest.$ac_ext 4737 rm -f conftest.err conftest.i conftest.$ac_ext 4712 4738 4713 4739 done 4714 4740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4715 rm -f conftest. err conftest.$ac_ext4716 if $ac_preproc_ok; then 4741 rm -f conftest.i conftest.err conftest.$ac_ext 4742 if $ac_preproc_ok; then : 4717 4743 break 4718 4744 fi … … 4726 4752 ac_cv_prog_CXXCPP=$CXXCPP 4727 4753 fi 4728 { echo "$as_me:$LINENO: result: $CXXCPP" >&54729 echo "${ECHO_T}$CXXCPP" >&6; }4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4755 $as_echo "$CXXCPP" >&6; } 4730 4756 ac_preproc_ok=false 4731 4757 for ac_cxx_preproc_warn_flag in '' yes … … 4737 4763 # On the NeXT, cc -E runs the code through the compiler's parser, 4738 4764 # not just through cpp. "Syntax error" is here to catch this case. 4739 cat >conftest.$ac_ext <<_ACEOF 4740 /* confdefs.h. */ 4741 _ACEOF 4742 cat confdefs.h >>conftest.$ac_ext 4743 cat >>conftest.$ac_ext <<_ACEOF 4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4744 4766 /* end confdefs.h. */ 4745 4767 #ifdef __STDC__ … … 4750 4772 Syntax error 4751 4773 _ACEOF 4752 if { (ac_try="$ac_cpp conftest.$ac_ext" 4753 case "(($ac_try" in 4754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4755 *) ac_try_echo=$ac_try;; 4756 esac 4757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4759 ac_status=$? 4760 grep -v '^ *+' conftest.er1 >conftest.err 4761 rm -f conftest.er1 4762 cat conftest.err >&5 4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4764 (exit $ac_status); } >/dev/null && { 4765 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4766 test ! -s conftest.err 4767 }; then 4768 : 4769 else 4770 echo "$as_me: failed program was:" >&5 4771 sed 's/^/| /' conftest.$ac_ext >&5 4772 4774 if ac_fn_cxx_try_cpp "$LINENO"; then : 4775 4776 else 4773 4777 # Broken: fails on valid input. 4774 4778 continue 4775 4779 fi 4776 4777 rm -f conftest.err conftest.$ac_ext 4780 rm -f conftest.err conftest.i conftest.$ac_ext 4778 4781 4779 4782 # OK, works on sane cases. Now check whether nonexistent headers 4780 4783 # can be detected and how. 4781 cat >conftest.$ac_ext <<_ACEOF 4782 /* confdefs.h. */ 4783 _ACEOF 4784 cat confdefs.h >>conftest.$ac_ext 4785 cat >>conftest.$ac_ext <<_ACEOF 4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4786 4785 /* end confdefs.h. */ 4787 4786 #include <ac_nonexistent.h> 4788 4787 _ACEOF 4789 if { (ac_try="$ac_cpp conftest.$ac_ext" 4790 case "(($ac_try" in 4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4792 *) ac_try_echo=$ac_try;; 4793 esac 4794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4796 ac_status=$? 4797 grep -v '^ *+' conftest.er1 >conftest.err 4798 rm -f conftest.er1 4799 cat conftest.err >&5 4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4801 (exit $ac_status); } >/dev/null && { 4802 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4803 test ! -s conftest.err 4804 }; then 4788 if ac_fn_cxx_try_cpp "$LINENO"; then : 4805 4789 # Broken: success on invalid input. 4806 4790 continue 4807 4791 else 4808 echo "$as_me: failed program was:" >&54809 sed 's/^/| /' conftest.$ac_ext >&54810 4811 4792 # Passes both tests. 4812 4793 ac_preproc_ok=: 4813 4794 break 4814 4795 fi 4815 4816 rm -f conftest.err conftest.$ac_ext 4796 rm -f conftest.err conftest.i conftest.$ac_ext 4817 4797 4818 4798 done 4819 4799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4820 rm -f conftest.err conftest.$ac_ext 4821 if $ac_preproc_ok; then 4822 : 4823 else 4824 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4825 See \`config.log' for more details." >&5 4826 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4827 See \`config.log' for more details." >&2;} 4828 { (exit 1); exit 1; }; } 4800 rm -f conftest.i conftest.err conftest.$ac_ext 4801 if $ac_preproc_ok; then : 4802 4803 else 4804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4806 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4807 See \`config.log' for more details" "$LINENO" 5; } 4829 4808 fi 4830 4809 … … 4836 4815 4837 4816 4817 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4818 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4819 inttypes.h stdint.h unistd.h 4820 do : 4821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4822 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4823 " 4824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4825 cat >>confdefs.h <<_ACEOF 4826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4827 _ACEOF 4828 4829 fi 4830 4831 done 4832 4838 4833 4839 4834 for ac_header in sys/sysinfo.h 4840 do 4841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4843 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4846 echo $ECHO_N "(cached) $ECHO_C" >&6 4847 fi 4848 ac_res=`eval echo '${'$as_ac_Header'}'` 4849 { echo "$as_me:$LINENO: result: $ac_res" >&5 4850 echo "${ECHO_T}$ac_res" >&6; } 4851 else 4852 # Is the header compilable? 4853 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4855 cat >conftest.$ac_ext <<_ACEOF 4856 /* confdefs.h. */ 4857 _ACEOF 4858 cat confdefs.h >>conftest.$ac_ext 4859 cat >>conftest.$ac_ext <<_ACEOF 4860 /* end confdefs.h. */ 4861 $ac_includes_default 4862 #include <$ac_header> 4863 _ACEOF 4864 rm -f conftest.$ac_objext 4865 if { (ac_try="$ac_compile" 4866 case "(($ac_try" in 4867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4868 *) ac_try_echo=$ac_try;; 4869 esac 4870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4871 (eval "$ac_compile") 2>conftest.er1 4872 ac_status=$? 4873 grep -v '^ *+' conftest.er1 >conftest.err 4874 rm -f conftest.er1 4875 cat conftest.err >&5 4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4877 (exit $ac_status); } && { 4878 test -z "$ac_cxx_werror_flag" || 4879 test ! -s conftest.err 4880 } && test -s conftest.$ac_objext; then 4881 ac_header_compiler=yes 4882 else 4883 echo "$as_me: failed program was:" >&5 4884 sed 's/^/| /' conftest.$ac_ext >&5 4885 4886 ac_header_compiler=no 4887 fi 4888 4889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4890 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4891 echo "${ECHO_T}$ac_header_compiler" >&6; } 4892 4893 # Is the header present? 4894 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4896 cat >conftest.$ac_ext <<_ACEOF 4897 /* confdefs.h. */ 4898 _ACEOF 4899 cat confdefs.h >>conftest.$ac_ext 4900 cat >>conftest.$ac_ext <<_ACEOF 4901 /* end confdefs.h. */ 4902 #include <$ac_header> 4903 _ACEOF 4904 if { (ac_try="$ac_cpp conftest.$ac_ext" 4905 case "(($ac_try" in 4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4907 *) ac_try_echo=$ac_try;; 4908 esac 4909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4911 ac_status=$? 4912 grep -v '^ *+' conftest.er1 >conftest.err 4913 rm -f conftest.er1 4914 cat conftest.err >&5 4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4916 (exit $ac_status); } >/dev/null && { 4917 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4918 test ! -s conftest.err 4919 }; then 4920 ac_header_preproc=yes 4921 else 4922 echo "$as_me: failed program was:" >&5 4923 sed 's/^/| /' conftest.$ac_ext >&5 4924 4925 ac_header_preproc=no 4926 fi 4927 4928 rm -f conftest.err conftest.$ac_ext 4929 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4930 echo "${ECHO_T}$ac_header_preproc" >&6; } 4931 4932 # So? What about this header? 4933 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4934 yes:no: ) 4935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4938 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4939 ac_header_preproc=yes 4940 ;; 4941 no:yes:* ) 4942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4946 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4947 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4948 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4949 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4952 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4953 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4954 ( cat <<\_ASBOX 4955 ## ----------------------------------- ## 4956 ## Report this to rappture@nanohub.org ## 4957 ## ----------------------------------- ## 4958 _ASBOX 4959 ) | sed "s/^/$as_me: WARNING: /" >&2 4960 ;; 4961 esac 4962 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4965 echo $ECHO_N "(cached) $ECHO_C" >&6 4966 else 4967 eval "$as_ac_Header=\$ac_header_preproc" 4968 fi 4969 ac_res=`eval echo '${'$as_ac_Header'}'` 4970 { echo "$as_me:$LINENO: result: $ac_res" >&5 4971 echo "${ECHO_T}$ac_res" >&6; } 4972 4973 fi 4974 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4835 do : 4836 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4837 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4975 4838 cat >>confdefs.h <<_ACEOF 4976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4977 _ACEOF 4978 4979 fi 4980 4981 done 4982 4983 4984 4985 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4986 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4987 if test "${ac_cv_lib_m_main+set}" = set; then 4988 echo $ECHO_N "(cached) $ECHO_C" >&6 4839 #define HAVE_SYS_SYSINFO_H 1 4840 _ACEOF 4841 4842 fi 4843 4844 done 4845 4846 4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4848 $as_echo_n "checking for main in -lm... " >&6; } 4849 if ${ac_cv_lib_m_main+:} false; then : 4850 $as_echo_n "(cached) " >&6 4989 4851 else 4990 4852 ac_check_lib_save_LIBS=$LIBS 4991 4853 LIBS="-lm $LIBS" 4992 cat >conftest.$ac_ext <<_ACEOF 4993 /* confdefs.h. */ 4994 _ACEOF 4995 cat confdefs.h >>conftest.$ac_ext 4996 cat >>conftest.$ac_ext <<_ACEOF 4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4997 4855 /* end confdefs.h. */ 4998 4856 … … 5006 4864 } 5007 4865 _ACEOF 5008 rm -f conftest.$ac_objext conftest$ac_exeext 5009 if { (ac_try="$ac_link" 5010 case "(($ac_try" in 5011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5012 *) ac_try_echo=$ac_try;; 5013 esac 5014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5015 (eval "$ac_link") 2>conftest.er1 5016 ac_status=$? 5017 grep -v '^ *+' conftest.er1 >conftest.err 5018 rm -f conftest.er1 5019 cat conftest.err >&5 5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5021 (exit $ac_status); } && { 5022 test -z "$ac_cxx_werror_flag" || 5023 test ! -s conftest.err 5024 } && test -s conftest$ac_exeext && 5025 $as_test_x conftest$ac_exeext; then 4866 if ac_fn_cxx_try_link "$LINENO"; then : 5026 4867 ac_cv_lib_m_main=yes 5027 4868 else 5028 echo "$as_me: failed program was:" >&5 5029 sed 's/^/| /' conftest.$ac_ext >&5 5030 5031 ac_cv_lib_m_main=no 5032 fi 5033 5034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5035 conftest$ac_exeext conftest.$ac_ext 4869 ac_cv_lib_m_main=no 4870 fi 4871 rm -f core conftest.err conftest.$ac_objext \ 4872 conftest$ac_exeext conftest.$ac_ext 5036 4873 LIBS=$ac_check_lib_save_LIBS 5037 4874 fi 5038 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55039 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5040 if test $ac_cv_lib_m_main = yes; then4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4876 $as_echo "$ac_cv_lib_m_main" >&6; } 4877 if test "x$ac_cv_lib_m_main" = xyes; then : 5041 4878 cat >>confdefs.h <<_ACEOF 5042 4879 #define HAVE_LIBM 1 … … 5046 4883 5047 4884 else 5048 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5049 echo "$as_me: error: librappture requires libm" >&2;} 5050 { (exit 1); exit 1; }; } 5051 fi 5052 5053 5054 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5055 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5056 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5057 echo $ECHO_N "(cached) $ECHO_C" >&6 4885 as_fn_error $? "librappture requires libm" "$LINENO" 5 4886 fi 4887 4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4889 $as_echo_n "checking for main in -lstdc++... " >&6; } 4890 if ${ac_cv_lib_stdcpp_main+:} false; then : 4891 $as_echo_n "(cached) " >&6 5058 4892 else 5059 4893 ac_check_lib_save_LIBS=$LIBS 5060 4894 LIBS="-lstdc++ $LIBS" 5061 cat >conftest.$ac_ext <<_ACEOF 5062 /* confdefs.h. */ 5063 _ACEOF 5064 cat confdefs.h >>conftest.$ac_ext 5065 cat >>conftest.$ac_ext <<_ACEOF 4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5066 4896 /* end confdefs.h. */ 5067 4897 … … 5075 4905 } 5076 4906 _ACEOF 5077 rm -f conftest.$ac_objext conftest$ac_exeext 5078 if { (ac_try="$ac_link" 5079 case "(($ac_try" in 5080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5081 *) ac_try_echo=$ac_try;; 5082 esac 5083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5084 (eval "$ac_link") 2>conftest.er1 5085 ac_status=$? 5086 grep -v '^ *+' conftest.er1 >conftest.err 5087 rm -f conftest.er1 5088 cat conftest.err >&5 5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5090 (exit $ac_status); } && { 5091 test -z "$ac_cxx_werror_flag" || 5092 test ! -s conftest.err 5093 } && test -s conftest$ac_exeext && 5094 $as_test_x conftest$ac_exeext; then 4907 if ac_fn_cxx_try_link "$LINENO"; then : 5095 4908 ac_cv_lib_stdcpp_main=yes 5096 4909 else 5097 echo "$as_me: failed program was:" >&5 5098 sed 's/^/| /' conftest.$ac_ext >&5 5099 5100 ac_cv_lib_stdcpp_main=no 5101 fi 5102 5103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5104 conftest$ac_exeext conftest.$ac_ext 4910 ac_cv_lib_stdcpp_main=no 4911 fi 4912 rm -f core conftest.err conftest.$ac_objext \ 4913 conftest$ac_exeext conftest.$ac_ext 5105 4914 LIBS=$ac_check_lib_save_LIBS 5106 4915 fi 5107 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55108 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5109 if test $ac_cv_lib_stdcpp_main = yes; then4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4917 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4918 if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 5110 4919 cat >>confdefs.h <<_ACEOF 5111 4920 #define HAVE_LIBSTDC__ 1 … … 5115 4924 5116 4925 else 5117 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5118 echo "$as_me: error: librappture requires libstdc++" >&2;} 5119 { (exit 1); exit 1; }; } 5120 fi 5121 4926 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 4927 fi 5122 4928 5123 4929 for ac_header in algorithm 5124 do 5125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5127 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5129 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5130 echo $ECHO_N "(cached) $ECHO_C" >&6 5131 fi 5132 ac_res=`eval echo '${'$as_ac_Header'}'` 5133 { echo "$as_me:$LINENO: result: $ac_res" >&5 5134 echo "${ECHO_T}$ac_res" >&6; } 5135 else 5136 # Is the header compilable? 5137 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5139 cat >conftest.$ac_ext <<_ACEOF 5140 /* confdefs.h. */ 5141 _ACEOF 5142 cat confdefs.h >>conftest.$ac_ext 5143 cat >>conftest.$ac_ext <<_ACEOF 5144 /* end confdefs.h. */ 5145 $ac_includes_default 5146 #include <$ac_header> 5147 _ACEOF 5148 rm -f conftest.$ac_objext 5149 if { (ac_try="$ac_compile" 5150 case "(($ac_try" in 5151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5152 *) ac_try_echo=$ac_try;; 5153 esac 5154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5155 (eval "$ac_compile") 2>conftest.er1 5156 ac_status=$? 5157 grep -v '^ *+' conftest.er1 >conftest.err 5158 rm -f conftest.er1 5159 cat conftest.err >&5 5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5161 (exit $ac_status); } && { 5162 test -z "$ac_cxx_werror_flag" || 5163 test ! -s conftest.err 5164 } && test -s conftest.$ac_objext; then 5165 ac_header_compiler=yes 5166 else 5167 echo "$as_me: failed program was:" >&5 5168 sed 's/^/| /' conftest.$ac_ext >&5 5169 5170 ac_header_compiler=no 5171 fi 5172 5173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5174 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5175 echo "${ECHO_T}$ac_header_compiler" >&6; } 5176 5177 # Is the header present? 5178 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5180 cat >conftest.$ac_ext <<_ACEOF 5181 /* confdefs.h. */ 5182 _ACEOF 5183 cat confdefs.h >>conftest.$ac_ext 5184 cat >>conftest.$ac_ext <<_ACEOF 5185 /* end confdefs.h. */ 5186 #include <$ac_header> 5187 _ACEOF 5188 if { (ac_try="$ac_cpp conftest.$ac_ext" 5189 case "(($ac_try" in 5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5191 *) ac_try_echo=$ac_try;; 5192 esac 5193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5194 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5195 ac_status=$? 5196 grep -v '^ *+' conftest.er1 >conftest.err 5197 rm -f conftest.er1 5198 cat conftest.err >&5 5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5200 (exit $ac_status); } >/dev/null && { 5201 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5202 test ! -s conftest.err 5203 }; then 5204 ac_header_preproc=yes 5205 else 5206 echo "$as_me: failed program was:" >&5 5207 sed 's/^/| /' conftest.$ac_ext >&5 5208 5209 ac_header_preproc=no 5210 fi 5211 5212 rm -f conftest.err conftest.$ac_ext 5213 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5214 echo "${ECHO_T}$ac_header_preproc" >&6; } 5215 5216 # So? What about this header? 5217 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5218 yes:no: ) 5219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5223 ac_header_preproc=yes 5224 ;; 5225 no:yes:* ) 5226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5238 ( cat <<\_ASBOX 5239 ## ----------------------------------- ## 5240 ## Report this to rappture@nanohub.org ## 5241 ## ----------------------------------- ## 5242 _ASBOX 5243 ) | sed "s/^/$as_me: WARNING: /" >&2 5244 ;; 5245 esac 5246 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5249 echo $ECHO_N "(cached) $ECHO_C" >&6 5250 else 5251 eval "$as_ac_Header=\$ac_header_preproc" 5252 fi 5253 ac_res=`eval echo '${'$as_ac_Header'}'` 5254 { echo "$as_me:$LINENO: result: $ac_res" >&5 5255 echo "${ECHO_T}$ac_res" >&6; } 5256 5257 fi 5258 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4930 do : 4931 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4932 if test "x$ac_cv_header_algorithm" = xyes; then : 5259 4933 cat >>confdefs.h <<_ACEOF 5260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5261 _ACEOF 5262 5263 else 5264 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5265 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5266 fi 5267 5268 done 5269 4934 #define HAVE_ALGORITHM 1 4935 _ACEOF 4936 4937 else 4938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4939 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4940 fi 4941 4942 done 5270 4943 5271 4944 for ac_header in cctype 5272 do 5273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5275 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5278 echo $ECHO_N "(cached) $ECHO_C" >&6 5279 fi 5280 ac_res=`eval echo '${'$as_ac_Header'}'` 5281 { echo "$as_me:$LINENO: result: $ac_res" >&5 5282 echo "${ECHO_T}$ac_res" >&6; } 5283 else 5284 # Is the header compilable? 5285 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5287 cat >conftest.$ac_ext <<_ACEOF 5288 /* confdefs.h. */ 5289 _ACEOF 5290 cat confdefs.h >>conftest.$ac_ext 5291 cat >>conftest.$ac_ext <<_ACEOF 5292 /* end confdefs.h. */ 5293 $ac_includes_default 5294 #include <$ac_header> 5295 _ACEOF 5296 rm -f conftest.$ac_objext 5297 if { (ac_try="$ac_compile" 5298 case "(($ac_try" in 5299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5300 *) ac_try_echo=$ac_try;; 5301 esac 5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5303 (eval "$ac_compile") 2>conftest.er1 5304 ac_status=$? 5305 grep -v '^ *+' conftest.er1 >conftest.err 5306 rm -f conftest.er1 5307 cat conftest.err >&5 5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5309 (exit $ac_status); } && { 5310 test -z "$ac_cxx_werror_flag" || 5311 test ! -s conftest.err 5312 } && test -s conftest.$ac_objext; then 5313 ac_header_compiler=yes 5314 else 5315 echo "$as_me: failed program was:" >&5 5316 sed 's/^/| /' conftest.$ac_ext >&5 5317 5318 ac_header_compiler=no 5319 fi 5320 5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5322 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5323 echo "${ECHO_T}$ac_header_compiler" >&6; } 5324 5325 # Is the header present? 5326 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5327 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5328 cat >conftest.$ac_ext <<_ACEOF 5329 /* confdefs.h. */ 5330 _ACEOF 5331 cat confdefs.h >>conftest.$ac_ext 5332 cat >>conftest.$ac_ext <<_ACEOF 5333 /* end confdefs.h. */ 5334 #include <$ac_header> 5335 _ACEOF 5336 if { (ac_try="$ac_cpp conftest.$ac_ext" 5337 case "(($ac_try" in 5338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5339 *) ac_try_echo=$ac_try;; 5340 esac 5341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5343 ac_status=$? 5344 grep -v '^ *+' conftest.er1 >conftest.err 5345 rm -f conftest.er1 5346 cat conftest.err >&5 5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5348 (exit $ac_status); } >/dev/null && { 5349 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5350 test ! -s conftest.err 5351 }; then 5352 ac_header_preproc=yes 5353 else 5354 echo "$as_me: failed program was:" >&5 5355 sed 's/^/| /' conftest.$ac_ext >&5 5356 5357 ac_header_preproc=no 5358 fi 5359 5360 rm -f conftest.err conftest.$ac_ext 5361 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5362 echo "${ECHO_T}$ac_header_preproc" >&6; } 5363 5364 # So? What about this header? 5365 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5366 yes:no: ) 5367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5371 ac_header_preproc=yes 5372 ;; 5373 no:yes:* ) 5374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5386 ( cat <<\_ASBOX 5387 ## ----------------------------------- ## 5388 ## Report this to rappture@nanohub.org ## 5389 ## ----------------------------------- ## 5390 _ASBOX 5391 ) | sed "s/^/$as_me: WARNING: /" >&2 5392 ;; 5393 esac 5394 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5397 echo $ECHO_N "(cached) $ECHO_C" >&6 5398 else 5399 eval "$as_ac_Header=\$ac_header_preproc" 5400 fi 5401 ac_res=`eval echo '${'$as_ac_Header'}'` 5402 { echo "$as_me:$LINENO: result: $ac_res" >&5 5403 echo "${ECHO_T}$ac_res" >&6; } 5404 5405 fi 5406 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4945 do : 4946 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4947 if test "x$ac_cv_header_cctype" = xyes; then : 5407 4948 cat >>confdefs.h <<_ACEOF 5408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5409 _ACEOF 5410 5411 else 5412 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5413 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5414 fi 5415 5416 done 5417 4949 #define HAVE_CCTYPE 1 4950 _ACEOF 4951 4952 else 4953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4954 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4955 fi 4956 4957 done 5418 4958 5419 4959 for ac_header in cfloat 5420 do 5421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5423 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5426 echo $ECHO_N "(cached) $ECHO_C" >&6 5427 fi 5428 ac_res=`eval echo '${'$as_ac_Header'}'` 5429 { echo "$as_me:$LINENO: result: $ac_res" >&5 5430 echo "${ECHO_T}$ac_res" >&6; } 5431 else 5432 # Is the header compilable? 5433 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5435 cat >conftest.$ac_ext <<_ACEOF 5436 /* confdefs.h. */ 5437 _ACEOF 5438 cat confdefs.h >>conftest.$ac_ext 5439 cat >>conftest.$ac_ext <<_ACEOF 5440 /* end confdefs.h. */ 5441 $ac_includes_default 5442 #include <$ac_header> 5443 _ACEOF 5444 rm -f conftest.$ac_objext 5445 if { (ac_try="$ac_compile" 5446 case "(($ac_try" in 5447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5448 *) ac_try_echo=$ac_try;; 5449 esac 5450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5451 (eval "$ac_compile") 2>conftest.er1 5452 ac_status=$? 5453 grep -v '^ *+' conftest.er1 >conftest.err 5454 rm -f conftest.er1 5455 cat conftest.err >&5 5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5457 (exit $ac_status); } && { 5458 test -z "$ac_cxx_werror_flag" || 5459 test ! -s conftest.err 5460 } && test -s conftest.$ac_objext; then 5461 ac_header_compiler=yes 5462 else 5463 echo "$as_me: failed program was:" >&5 5464 sed 's/^/| /' conftest.$ac_ext >&5 5465 5466 ac_header_compiler=no 5467 fi 5468 5469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5470 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5471 echo "${ECHO_T}$ac_header_compiler" >&6; } 5472 5473 # Is the header present? 5474 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5476 cat >conftest.$ac_ext <<_ACEOF 5477 /* confdefs.h. */ 5478 _ACEOF 5479 cat confdefs.h >>conftest.$ac_ext 5480 cat >>conftest.$ac_ext <<_ACEOF 5481 /* end confdefs.h. */ 5482 #include <$ac_header> 5483 _ACEOF 5484 if { (ac_try="$ac_cpp conftest.$ac_ext" 5485 case "(($ac_try" in 5486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5487 *) ac_try_echo=$ac_try;; 5488 esac 5489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5491 ac_status=$? 5492 grep -v '^ *+' conftest.er1 >conftest.err 5493 rm -f conftest.er1 5494 cat conftest.err >&5 5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5496 (exit $ac_status); } >/dev/null && { 5497 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5498 test ! -s conftest.err 5499 }; then 5500 ac_header_preproc=yes 5501 else 5502 echo "$as_me: failed program was:" >&5 5503 sed 's/^/| /' conftest.$ac_ext >&5 5504 5505 ac_header_preproc=no 5506 fi 5507 5508 rm -f conftest.err conftest.$ac_ext 5509 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5510 echo "${ECHO_T}$ac_header_preproc" >&6; } 5511 5512 # So? What about this header? 5513 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5514 yes:no: ) 5515 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5516 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5518 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5519 ac_header_preproc=yes 5520 ;; 5521 no:yes:* ) 5522 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5523 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5524 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5525 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5526 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5527 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5528 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5529 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5532 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5533 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5534 ( cat <<\_ASBOX 5535 ## ----------------------------------- ## 5536 ## Report this to rappture@nanohub.org ## 5537 ## ----------------------------------- ## 5538 _ASBOX 5539 ) | sed "s/^/$as_me: WARNING: /" >&2 5540 ;; 5541 esac 5542 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5545 echo $ECHO_N "(cached) $ECHO_C" >&6 5546 else 5547 eval "$as_ac_Header=\$ac_header_preproc" 5548 fi 5549 ac_res=`eval echo '${'$as_ac_Header'}'` 5550 { echo "$as_me:$LINENO: result: $ac_res" >&5 5551 echo "${ECHO_T}$ac_res" >&6; } 5552 5553 fi 5554 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4960 do : 4961 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4962 if test "x$ac_cv_header_cfloat" = xyes; then : 5555 4963 cat >>confdefs.h <<_ACEOF 5556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5557 _ACEOF 5558 5559 else 5560 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5561 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5562 fi 5563 5564 done 5565 4964 #define HAVE_CFLOAT 1 4965 _ACEOF 4966 4967 else 4968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4969 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4970 fi 4971 4972 done 5566 4973 5567 4974 for ac_header in cmath 5568 do 5569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5571 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5574 echo $ECHO_N "(cached) $ECHO_C" >&6 5575 fi 5576 ac_res=`eval echo '${'$as_ac_Header'}'` 5577 { echo "$as_me:$LINENO: result: $ac_res" >&5 5578 echo "${ECHO_T}$ac_res" >&6; } 5579 else 5580 # Is the header compilable? 5581 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5583 cat >conftest.$ac_ext <<_ACEOF 5584 /* confdefs.h. */ 5585 _ACEOF 5586 cat confdefs.h >>conftest.$ac_ext 5587 cat >>conftest.$ac_ext <<_ACEOF 5588 /* end confdefs.h. */ 5589 $ac_includes_default 5590 #include <$ac_header> 5591 _ACEOF 5592 rm -f conftest.$ac_objext 5593 if { (ac_try="$ac_compile" 5594 case "(($ac_try" in 5595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5596 *) ac_try_echo=$ac_try;; 5597 esac 5598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5599 (eval "$ac_compile") 2>conftest.er1 5600 ac_status=$? 5601 grep -v '^ *+' conftest.er1 >conftest.err 5602 rm -f conftest.er1 5603 cat conftest.err >&5 5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5605 (exit $ac_status); } && { 5606 test -z "$ac_cxx_werror_flag" || 5607 test ! -s conftest.err 5608 } && test -s conftest.$ac_objext; then 5609 ac_header_compiler=yes 5610 else 5611 echo "$as_me: failed program was:" >&5 5612 sed 's/^/| /' conftest.$ac_ext >&5 5613 5614 ac_header_compiler=no 5615 fi 5616 5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5618 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5619 echo "${ECHO_T}$ac_header_compiler" >&6; } 5620 5621 # Is the header present? 5622 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5624 cat >conftest.$ac_ext <<_ACEOF 5625 /* confdefs.h. */ 5626 _ACEOF 5627 cat confdefs.h >>conftest.$ac_ext 5628 cat >>conftest.$ac_ext <<_ACEOF 5629 /* end confdefs.h. */ 5630 #include <$ac_header> 5631 _ACEOF 5632 if { (ac_try="$ac_cpp conftest.$ac_ext" 5633 case "(($ac_try" in 5634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5635 *) ac_try_echo=$ac_try;; 5636 esac 5637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5639 ac_status=$? 5640 grep -v '^ *+' conftest.er1 >conftest.err 5641 rm -f conftest.er1 5642 cat conftest.err >&5 5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5644 (exit $ac_status); } >/dev/null && { 5645 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5646 test ! -s conftest.err 5647 }; then 5648 ac_header_preproc=yes 5649 else 5650 echo "$as_me: failed program was:" >&5 5651 sed 's/^/| /' conftest.$ac_ext >&5 5652 5653 ac_header_preproc=no 5654 fi 5655 5656 rm -f conftest.err conftest.$ac_ext 5657 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5658 echo "${ECHO_T}$ac_header_preproc" >&6; } 5659 5660 # So? What about this header? 5661 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5662 yes:no: ) 5663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5667 ac_header_preproc=yes 5668 ;; 5669 no:yes:* ) 5670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5682 ( cat <<\_ASBOX 5683 ## ----------------------------------- ## 5684 ## Report this to rappture@nanohub.org ## 5685 ## ----------------------------------- ## 5686 _ASBOX 5687 ) | sed "s/^/$as_me: WARNING: /" >&2 5688 ;; 5689 esac 5690 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5693 echo $ECHO_N "(cached) $ECHO_C" >&6 5694 else 5695 eval "$as_ac_Header=\$ac_header_preproc" 5696 fi 5697 ac_res=`eval echo '${'$as_ac_Header'}'` 5698 { echo "$as_me:$LINENO: result: $ac_res" >&5 5699 echo "${ECHO_T}$ac_res" >&6; } 5700 5701 fi 5702 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4975 do : 4976 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 4977 if test "x$ac_cv_header_cmath" = xyes; then : 5703 4978 cat >>confdefs.h <<_ACEOF 5704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5705 _ACEOF 5706 5707 else 5708 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5709 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5710 fi 5711 5712 done 5713 4979 #define HAVE_CMATH 1 4980 _ACEOF 4981 4982 else 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4984 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4985 fi 4986 4987 done 5714 4988 5715 4989 for ac_header in cstdio 5716 do 5717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5719 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5721 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5722 echo $ECHO_N "(cached) $ECHO_C" >&6 5723 fi 5724 ac_res=`eval echo '${'$as_ac_Header'}'` 5725 { echo "$as_me:$LINENO: result: $ac_res" >&5 5726 echo "${ECHO_T}$ac_res" >&6; } 5727 else 5728 # Is the header compilable? 5729 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5731 cat >conftest.$ac_ext <<_ACEOF 5732 /* confdefs.h. */ 5733 _ACEOF 5734 cat confdefs.h >>conftest.$ac_ext 5735 cat >>conftest.$ac_ext <<_ACEOF 5736 /* end confdefs.h. */ 5737 $ac_includes_default 5738 #include <$ac_header> 5739 _ACEOF 5740 rm -f conftest.$ac_objext 5741 if { (ac_try="$ac_compile" 5742 case "(($ac_try" in 5743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5744 *) ac_try_echo=$ac_try;; 5745 esac 5746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5747 (eval "$ac_compile") 2>conftest.er1 5748 ac_status=$? 5749 grep -v '^ *+' conftest.er1 >conftest.err 5750 rm -f conftest.er1 5751 cat conftest.err >&5 5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5753 (exit $ac_status); } && { 5754 test -z "$ac_cxx_werror_flag" || 5755 test ! -s conftest.err 5756 } && test -s conftest.$ac_objext; then 5757 ac_header_compiler=yes 5758 else 5759 echo "$as_me: failed program was:" >&5 5760 sed 's/^/| /' conftest.$ac_ext >&5 5761 5762 ac_header_compiler=no 5763 fi 5764 5765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5766 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5767 echo "${ECHO_T}$ac_header_compiler" >&6; } 5768 5769 # Is the header present? 5770 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5772 cat >conftest.$ac_ext <<_ACEOF 5773 /* confdefs.h. */ 5774 _ACEOF 5775 cat confdefs.h >>conftest.$ac_ext 5776 cat >>conftest.$ac_ext <<_ACEOF 5777 /* end confdefs.h. */ 5778 #include <$ac_header> 5779 _ACEOF 5780 if { (ac_try="$ac_cpp conftest.$ac_ext" 5781 case "(($ac_try" in 5782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5783 *) ac_try_echo=$ac_try;; 5784 esac 5785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5787 ac_status=$? 5788 grep -v '^ *+' conftest.er1 >conftest.err 5789 rm -f conftest.er1 5790 cat conftest.err >&5 5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5792 (exit $ac_status); } >/dev/null && { 5793 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5794 test ! -s conftest.err 5795 }; then 5796 ac_header_preproc=yes 5797 else 5798 echo "$as_me: failed program was:" >&5 5799 sed 's/^/| /' conftest.$ac_ext >&5 5800 5801 ac_header_preproc=no 5802 fi 5803 5804 rm -f conftest.err conftest.$ac_ext 5805 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5806 echo "${ECHO_T}$ac_header_preproc" >&6; } 5807 5808 # So? What about this header? 5809 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5810 yes:no: ) 5811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5815 ac_header_preproc=yes 5816 ;; 5817 no:yes:* ) 5818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5825 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5830 ( cat <<\_ASBOX 5831 ## ----------------------------------- ## 5832 ## Report this to rappture@nanohub.org ## 5833 ## ----------------------------------- ## 5834 _ASBOX 5835 ) | sed "s/^/$as_me: WARNING: /" >&2 5836 ;; 5837 esac 5838 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5841 echo $ECHO_N "(cached) $ECHO_C" >&6 5842 else 5843 eval "$as_ac_Header=\$ac_header_preproc" 5844 fi 5845 ac_res=`eval echo '${'$as_ac_Header'}'` 5846 { echo "$as_me:$LINENO: result: $ac_res" >&5 5847 echo "${ECHO_T}$ac_res" >&6; } 5848 5849 fi 5850 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4990 do : 4991 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 4992 if test "x$ac_cv_header_cstdio" = xyes; then : 5851 4993 cat >>confdefs.h <<_ACEOF 5852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5853 _ACEOF 5854 5855 else 5856 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5857 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5858 fi 5859 5860 done 5861 4994 #define HAVE_CSTDIO 1 4995 _ACEOF 4996 4997 else 4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4999 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5000 fi 5001 5002 done 5862 5003 5863 5004 for ac_header in cstdlib 5864 do 5865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5866 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5867 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5870 echo $ECHO_N "(cached) $ECHO_C" >&6 5871 fi 5872 ac_res=`eval echo '${'$as_ac_Header'}'` 5873 { echo "$as_me:$LINENO: result: $ac_res" >&5 5874 echo "${ECHO_T}$ac_res" >&6; } 5875 else 5876 # Is the header compilable? 5877 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5879 cat >conftest.$ac_ext <<_ACEOF 5880 /* confdefs.h. */ 5881 _ACEOF 5882 cat confdefs.h >>conftest.$ac_ext 5883 cat >>conftest.$ac_ext <<_ACEOF 5884 /* end confdefs.h. */ 5885 $ac_includes_default 5886 #include <$ac_header> 5887 _ACEOF 5888 rm -f conftest.$ac_objext 5889 if { (ac_try="$ac_compile" 5890 case "(($ac_try" in 5891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5892 *) ac_try_echo=$ac_try;; 5893 esac 5894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5895 (eval "$ac_compile") 2>conftest.er1 5896 ac_status=$? 5897 grep -v '^ *+' conftest.er1 >conftest.err 5898 rm -f conftest.er1 5899 cat conftest.err >&5 5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5901 (exit $ac_status); } && { 5902 test -z "$ac_cxx_werror_flag" || 5903 test ! -s conftest.err 5904 } && test -s conftest.$ac_objext; then 5905 ac_header_compiler=yes 5906 else 5907 echo "$as_me: failed program was:" >&5 5908 sed 's/^/| /' conftest.$ac_ext >&5 5909 5910 ac_header_compiler=no 5911 fi 5912 5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5914 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5915 echo "${ECHO_T}$ac_header_compiler" >&6; } 5916 5917 # Is the header present? 5918 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5919 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5920 cat >conftest.$ac_ext <<_ACEOF 5921 /* confdefs.h. */ 5922 _ACEOF 5923 cat confdefs.h >>conftest.$ac_ext 5924 cat >>conftest.$ac_ext <<_ACEOF 5925 /* end confdefs.h. */ 5926 #include <$ac_header> 5927 _ACEOF 5928 if { (ac_try="$ac_cpp conftest.$ac_ext" 5929 case "(($ac_try" in 5930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5931 *) ac_try_echo=$ac_try;; 5932 esac 5933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5935 ac_status=$? 5936 grep -v '^ *+' conftest.er1 >conftest.err 5937 rm -f conftest.er1 5938 cat conftest.err >&5 5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5940 (exit $ac_status); } >/dev/null && { 5941 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5942 test ! -s conftest.err 5943 }; then 5944 ac_header_preproc=yes 5945 else 5946 echo "$as_me: failed program was:" >&5 5947 sed 's/^/| /' conftest.$ac_ext >&5 5948 5949 ac_header_preproc=no 5950 fi 5951 5952 rm -f conftest.err conftest.$ac_ext 5953 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5954 echo "${ECHO_T}$ac_header_preproc" >&6; } 5955 5956 # So? What about this header? 5957 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5958 yes:no: ) 5959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5963 ac_header_preproc=yes 5964 ;; 5965 no:yes:* ) 5966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5978 ( cat <<\_ASBOX 5979 ## ----------------------------------- ## 5980 ## Report this to rappture@nanohub.org ## 5981 ## ----------------------------------- ## 5982 _ASBOX 5983 ) | sed "s/^/$as_me: WARNING: /" >&2 5984 ;; 5985 esac 5986 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5989 echo $ECHO_N "(cached) $ECHO_C" >&6 5990 else 5991 eval "$as_ac_Header=\$ac_header_preproc" 5992 fi 5993 ac_res=`eval echo '${'$as_ac_Header'}'` 5994 { echo "$as_me:$LINENO: result: $ac_res" >&5 5995 echo "${ECHO_T}$ac_res" >&6; } 5996 5997 fi 5998 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5005 do : 5006 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 5007 if test "x$ac_cv_header_cstdlib" = xyes; then : 5999 5008 cat >>confdefs.h <<_ACEOF 6000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6001 _ACEOF 6002 6003 else 6004 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6005 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6006 fi 6007 6008 done 6009 5009 #define HAVE_CSTDLIB 1 5010 _ACEOF 5011 5012 else 5013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5014 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5015 fi 5016 5017 done 6010 5018 6011 5019 for ac_header in cstring 6012 do 6013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6015 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6018 echo $ECHO_N "(cached) $ECHO_C" >&6 6019 fi 6020 ac_res=`eval echo '${'$as_ac_Header'}'` 6021 { echo "$as_me:$LINENO: result: $ac_res" >&5 6022 echo "${ECHO_T}$ac_res" >&6; } 6023 else 6024 # Is the header compilable? 6025 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6027 cat >conftest.$ac_ext <<_ACEOF 6028 /* confdefs.h. */ 6029 _ACEOF 6030 cat confdefs.h >>conftest.$ac_ext 6031 cat >>conftest.$ac_ext <<_ACEOF 6032 /* end confdefs.h. */ 6033 $ac_includes_default 6034 #include <$ac_header> 6035 _ACEOF 6036 rm -f conftest.$ac_objext 6037 if { (ac_try="$ac_compile" 6038 case "(($ac_try" in 6039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6040 *) ac_try_echo=$ac_try;; 6041 esac 6042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6043 (eval "$ac_compile") 2>conftest.er1 6044 ac_status=$? 6045 grep -v '^ *+' conftest.er1 >conftest.err 6046 rm -f conftest.er1 6047 cat conftest.err >&5 6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6049 (exit $ac_status); } && { 6050 test -z "$ac_cxx_werror_flag" || 6051 test ! -s conftest.err 6052 } && test -s conftest.$ac_objext; then 6053 ac_header_compiler=yes 6054 else 6055 echo "$as_me: failed program was:" >&5 6056 sed 's/^/| /' conftest.$ac_ext >&5 6057 6058 ac_header_compiler=no 6059 fi 6060 6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6062 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6063 echo "${ECHO_T}$ac_header_compiler" >&6; } 6064 6065 # Is the header present? 6066 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6068 cat >conftest.$ac_ext <<_ACEOF 6069 /* confdefs.h. */ 6070 _ACEOF 6071 cat confdefs.h >>conftest.$ac_ext 6072 cat >>conftest.$ac_ext <<_ACEOF 6073 /* end confdefs.h. */ 6074 #include <$ac_header> 6075 _ACEOF 6076 if { (ac_try="$ac_cpp conftest.$ac_ext" 6077 case "(($ac_try" in 6078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6079 *) ac_try_echo=$ac_try;; 6080 esac 6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6083 ac_status=$? 6084 grep -v '^ *+' conftest.er1 >conftest.err 6085 rm -f conftest.er1 6086 cat conftest.err >&5 6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6088 (exit $ac_status); } >/dev/null && { 6089 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6090 test ! -s conftest.err 6091 }; then 6092 ac_header_preproc=yes 6093 else 6094 echo "$as_me: failed program was:" >&5 6095 sed 's/^/| /' conftest.$ac_ext >&5 6096 6097 ac_header_preproc=no 6098 fi 6099 6100 rm -f conftest.err conftest.$ac_ext 6101 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6102 echo "${ECHO_T}$ac_header_preproc" >&6; } 6103 6104 # So? What about this header? 6105 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6106 yes:no: ) 6107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6111 ac_header_preproc=yes 6112 ;; 6113 no:yes:* ) 6114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6126 ( cat <<\_ASBOX 6127 ## ----------------------------------- ## 6128 ## Report this to rappture@nanohub.org ## 6129 ## ----------------------------------- ## 6130 _ASBOX 6131 ) | sed "s/^/$as_me: WARNING: /" >&2 6132 ;; 6133 esac 6134 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6137 echo $ECHO_N "(cached) $ECHO_C" >&6 6138 else 6139 eval "$as_ac_Header=\$ac_header_preproc" 6140 fi 6141 ac_res=`eval echo '${'$as_ac_Header'}'` 6142 { echo "$as_me:$LINENO: result: $ac_res" >&5 6143 echo "${ECHO_T}$ac_res" >&6; } 6144 6145 fi 6146 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5020 do : 5021 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5022 if test "x$ac_cv_header_cstring" = xyes; then : 6147 5023 cat >>confdefs.h <<_ACEOF 6148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6149 _ACEOF 6150 6151 else 6152 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6153 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6154 fi 6155 6156 done 6157 5024 #define HAVE_CSTRING 1 5025 _ACEOF 5026 5027 else 5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5029 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5030 fi 5031 5032 done 6158 5033 6159 5034 for ac_header in fstream 6160 do 6161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6163 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6165 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6166 echo $ECHO_N "(cached) $ECHO_C" >&6 6167 fi 6168 ac_res=`eval echo '${'$as_ac_Header'}'` 6169 { echo "$as_me:$LINENO: result: $ac_res" >&5 6170 echo "${ECHO_T}$ac_res" >&6; } 6171 else 6172 # Is the header compilable? 6173 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6175 cat >conftest.$ac_ext <<_ACEOF 6176 /* confdefs.h. */ 6177 _ACEOF 6178 cat confdefs.h >>conftest.$ac_ext 6179 cat >>conftest.$ac_ext <<_ACEOF 6180 /* end confdefs.h. */ 6181 $ac_includes_default 6182 #include <$ac_header> 6183 _ACEOF 6184 rm -f conftest.$ac_objext 6185 if { (ac_try="$ac_compile" 6186 case "(($ac_try" in 6187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6188 *) ac_try_echo=$ac_try;; 6189 esac 6190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6191 (eval "$ac_compile") 2>conftest.er1 6192 ac_status=$? 6193 grep -v '^ *+' conftest.er1 >conftest.err 6194 rm -f conftest.er1 6195 cat conftest.err >&5 6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6197 (exit $ac_status); } && { 6198 test -z "$ac_cxx_werror_flag" || 6199 test ! -s conftest.err 6200 } && test -s conftest.$ac_objext; then 6201 ac_header_compiler=yes 6202 else 6203 echo "$as_me: failed program was:" >&5 6204 sed 's/^/| /' conftest.$ac_ext >&5 6205 6206 ac_header_compiler=no 6207 fi 6208 6209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6210 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6211 echo "${ECHO_T}$ac_header_compiler" >&6; } 6212 6213 # Is the header present? 6214 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6215 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6216 cat >conftest.$ac_ext <<_ACEOF 6217 /* confdefs.h. */ 6218 _ACEOF 6219 cat confdefs.h >>conftest.$ac_ext 6220 cat >>conftest.$ac_ext <<_ACEOF 6221 /* end confdefs.h. */ 6222 #include <$ac_header> 6223 _ACEOF 6224 if { (ac_try="$ac_cpp conftest.$ac_ext" 6225 case "(($ac_try" in 6226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6227 *) ac_try_echo=$ac_try;; 6228 esac 6229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6231 ac_status=$? 6232 grep -v '^ *+' conftest.er1 >conftest.err 6233 rm -f conftest.er1 6234 cat conftest.err >&5 6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6236 (exit $ac_status); } >/dev/null && { 6237 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6238 test ! -s conftest.err 6239 }; then 6240 ac_header_preproc=yes 6241 else 6242 echo "$as_me: failed program was:" >&5 6243 sed 's/^/| /' conftest.$ac_ext >&5 6244 6245 ac_header_preproc=no 6246 fi 6247 6248 rm -f conftest.err conftest.$ac_ext 6249 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6250 echo "${ECHO_T}$ac_header_preproc" >&6; } 6251 6252 # So? What about this header? 6253 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6254 yes:no: ) 6255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6259 ac_header_preproc=yes 6260 ;; 6261 no:yes:* ) 6262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6274 ( cat <<\_ASBOX 6275 ## ----------------------------------- ## 6276 ## Report this to rappture@nanohub.org ## 6277 ## ----------------------------------- ## 6278 _ASBOX 6279 ) | sed "s/^/$as_me: WARNING: /" >&2 6280 ;; 6281 esac 6282 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6285 echo $ECHO_N "(cached) $ECHO_C" >&6 6286 else 6287 eval "$as_ac_Header=\$ac_header_preproc" 6288 fi 6289 ac_res=`eval echo '${'$as_ac_Header'}'` 6290 { echo "$as_me:$LINENO: result: $ac_res" >&5 6291 echo "${ECHO_T}$ac_res" >&6; } 6292 6293 fi 6294 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5035 do : 5036 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5037 if test "x$ac_cv_header_fstream" = xyes; then : 6295 5038 cat >>confdefs.h <<_ACEOF 6296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6297 _ACEOF 6298 6299 else 6300 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6301 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6302 fi 6303 6304 done 6305 5039 #define HAVE_FSTREAM 1 5040 _ACEOF 5041 5042 else 5043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5044 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5045 fi 5046 5047 done 6306 5048 6307 5049 for ac_header in list 6308 do 6309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6311 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6314 echo $ECHO_N "(cached) $ECHO_C" >&6 6315 fi 6316 ac_res=`eval echo '${'$as_ac_Header'}'` 6317 { echo "$as_me:$LINENO: result: $ac_res" >&5 6318 echo "${ECHO_T}$ac_res" >&6; } 6319 else 6320 # Is the header compilable? 6321 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6322 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6323 cat >conftest.$ac_ext <<_ACEOF 6324 /* confdefs.h. */ 6325 _ACEOF 6326 cat confdefs.h >>conftest.$ac_ext 6327 cat >>conftest.$ac_ext <<_ACEOF 6328 /* end confdefs.h. */ 6329 $ac_includes_default 6330 #include <$ac_header> 6331 _ACEOF 6332 rm -f conftest.$ac_objext 6333 if { (ac_try="$ac_compile" 6334 case "(($ac_try" in 6335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6336 *) ac_try_echo=$ac_try;; 6337 esac 6338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6339 (eval "$ac_compile") 2>conftest.er1 6340 ac_status=$? 6341 grep -v '^ *+' conftest.er1 >conftest.err 6342 rm -f conftest.er1 6343 cat conftest.err >&5 6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6345 (exit $ac_status); } && { 6346 test -z "$ac_cxx_werror_flag" || 6347 test ! -s conftest.err 6348 } && test -s conftest.$ac_objext; then 6349 ac_header_compiler=yes 6350 else 6351 echo "$as_me: failed program was:" >&5 6352 sed 's/^/| /' conftest.$ac_ext >&5 6353 6354 ac_header_compiler=no 6355 fi 6356 6357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6358 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6359 echo "${ECHO_T}$ac_header_compiler" >&6; } 6360 6361 # Is the header present? 6362 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6364 cat >conftest.$ac_ext <<_ACEOF 6365 /* confdefs.h. */ 6366 _ACEOF 6367 cat confdefs.h >>conftest.$ac_ext 6368 cat >>conftest.$ac_ext <<_ACEOF 6369 /* end confdefs.h. */ 6370 #include <$ac_header> 6371 _ACEOF 6372 if { (ac_try="$ac_cpp conftest.$ac_ext" 6373 case "(($ac_try" in 6374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6375 *) ac_try_echo=$ac_try;; 6376 esac 6377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6378 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6379 ac_status=$? 6380 grep -v '^ *+' conftest.er1 >conftest.err 6381 rm -f conftest.er1 6382 cat conftest.err >&5 6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6384 (exit $ac_status); } >/dev/null && { 6385 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6386 test ! -s conftest.err 6387 }; then 6388 ac_header_preproc=yes 6389 else 6390 echo "$as_me: failed program was:" >&5 6391 sed 's/^/| /' conftest.$ac_ext >&5 6392 6393 ac_header_preproc=no 6394 fi 6395 6396 rm -f conftest.err conftest.$ac_ext 6397 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6398 echo "${ECHO_T}$ac_header_preproc" >&6; } 6399 6400 # So? What about this header? 6401 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6402 yes:no: ) 6403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6406 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6407 ac_header_preproc=yes 6408 ;; 6409 no:yes:* ) 6410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6414 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6415 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6416 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6417 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6420 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6421 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6422 ( cat <<\_ASBOX 6423 ## ----------------------------------- ## 6424 ## Report this to rappture@nanohub.org ## 6425 ## ----------------------------------- ## 6426 _ASBOX 6427 ) | sed "s/^/$as_me: WARNING: /" >&2 6428 ;; 6429 esac 6430 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6433 echo $ECHO_N "(cached) $ECHO_C" >&6 6434 else 6435 eval "$as_ac_Header=\$ac_header_preproc" 6436 fi 6437 ac_res=`eval echo '${'$as_ac_Header'}'` 6438 { echo "$as_me:$LINENO: result: $ac_res" >&5 6439 echo "${ECHO_T}$ac_res" >&6; } 6440 6441 fi 6442 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5050 do : 5051 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5052 if test "x$ac_cv_header_list" = xyes; then : 6443 5053 cat >>confdefs.h <<_ACEOF 6444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6445 _ACEOF 6446 6447 else 6448 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6449 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6450 fi 6451 6452 done 6453 5054 #define HAVE_LIST 1 5055 _ACEOF 5056 5057 else 5058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5059 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5060 fi 5061 5062 done 6454 5063 6455 5064 for ac_header in iostream 6456 do 6457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6459 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6462 echo $ECHO_N "(cached) $ECHO_C" >&6 6463 fi 6464 ac_res=`eval echo '${'$as_ac_Header'}'` 6465 { echo "$as_me:$LINENO: result: $ac_res" >&5 6466 echo "${ECHO_T}$ac_res" >&6; } 6467 else 6468 # Is the header compilable? 6469 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6471 cat >conftest.$ac_ext <<_ACEOF 6472 /* confdefs.h. */ 6473 _ACEOF 6474 cat confdefs.h >>conftest.$ac_ext 6475 cat >>conftest.$ac_ext <<_ACEOF 6476 /* end confdefs.h. */ 6477 $ac_includes_default 6478 #include <$ac_header> 6479 _ACEOF 6480 rm -f conftest.$ac_objext 6481 if { (ac_try="$ac_compile" 6482 case "(($ac_try" in 6483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6484 *) ac_try_echo=$ac_try;; 6485 esac 6486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6487 (eval "$ac_compile") 2>conftest.er1 6488 ac_status=$? 6489 grep -v '^ *+' conftest.er1 >conftest.err 6490 rm -f conftest.er1 6491 cat conftest.err >&5 6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6493 (exit $ac_status); } && { 6494 test -z "$ac_cxx_werror_flag" || 6495 test ! -s conftest.err 6496 } && test -s conftest.$ac_objext; then 6497 ac_header_compiler=yes 6498 else 6499 echo "$as_me: failed program was:" >&5 6500 sed 's/^/| /' conftest.$ac_ext >&5 6501 6502 ac_header_compiler=no 6503 fi 6504 6505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6506 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6507 echo "${ECHO_T}$ac_header_compiler" >&6; } 6508 6509 # Is the header present? 6510 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6512 cat >conftest.$ac_ext <<_ACEOF 6513 /* confdefs.h. */ 6514 _ACEOF 6515 cat confdefs.h >>conftest.$ac_ext 6516 cat >>conftest.$ac_ext <<_ACEOF 6517 /* end confdefs.h. */ 6518 #include <$ac_header> 6519 _ACEOF 6520 if { (ac_try="$ac_cpp conftest.$ac_ext" 6521 case "(($ac_try" in 6522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6523 *) ac_try_echo=$ac_try;; 6524 esac 6525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6527 ac_status=$? 6528 grep -v '^ *+' conftest.er1 >conftest.err 6529 rm -f conftest.er1 6530 cat conftest.err >&5 6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6532 (exit $ac_status); } >/dev/null && { 6533 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6534 test ! -s conftest.err 6535 }; then 6536 ac_header_preproc=yes 6537 else 6538 echo "$as_me: failed program was:" >&5 6539 sed 's/^/| /' conftest.$ac_ext >&5 6540 6541 ac_header_preproc=no 6542 fi 6543 6544 rm -f conftest.err conftest.$ac_ext 6545 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6546 echo "${ECHO_T}$ac_header_preproc" >&6; } 6547 6548 # So? What about this header? 6549 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6550 yes:no: ) 6551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6555 ac_header_preproc=yes 6556 ;; 6557 no:yes:* ) 6558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6570 ( cat <<\_ASBOX 6571 ## ----------------------------------- ## 6572 ## Report this to rappture@nanohub.org ## 6573 ## ----------------------------------- ## 6574 _ASBOX 6575 ) | sed "s/^/$as_me: WARNING: /" >&2 6576 ;; 6577 esac 6578 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6581 echo $ECHO_N "(cached) $ECHO_C" >&6 6582 else 6583 eval "$as_ac_Header=\$ac_header_preproc" 6584 fi 6585 ac_res=`eval echo '${'$as_ac_Header'}'` 6586 { echo "$as_me:$LINENO: result: $ac_res" >&5 6587 echo "${ECHO_T}$ac_res" >&6; } 6588 6589 fi 6590 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5065 do : 5066 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5067 if test "x$ac_cv_header_iostream" = xyes; then : 6591 5068 cat >>confdefs.h <<_ACEOF 6592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6593 _ACEOF 6594 6595 else 6596 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6597 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6598 fi 6599 6600 done 6601 5069 #define HAVE_IOSTREAM 1 5070 _ACEOF 5071 5072 else 5073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5074 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5075 fi 5076 5077 done 6602 5078 6603 5079 for ac_header in iterator 6604 do 6605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6607 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6610 echo $ECHO_N "(cached) $ECHO_C" >&6 6611 fi 6612 ac_res=`eval echo '${'$as_ac_Header'}'` 6613 { echo "$as_me:$LINENO: result: $ac_res" >&5 6614 echo "${ECHO_T}$ac_res" >&6; } 6615 else 6616 # Is the header compilable? 6617 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6618 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6619 cat >conftest.$ac_ext <<_ACEOF 6620 /* confdefs.h. */ 6621 _ACEOF 6622 cat confdefs.h >>conftest.$ac_ext 6623 cat >>conftest.$ac_ext <<_ACEOF 6624 /* end confdefs.h. */ 6625 $ac_includes_default 6626 #include <$ac_header> 6627 _ACEOF 6628 rm -f conftest.$ac_objext 6629 if { (ac_try="$ac_compile" 6630 case "(($ac_try" in 6631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6632 *) ac_try_echo=$ac_try;; 6633 esac 6634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6635 (eval "$ac_compile") 2>conftest.er1 6636 ac_status=$? 6637 grep -v '^ *+' conftest.er1 >conftest.err 6638 rm -f conftest.er1 6639 cat conftest.err >&5 6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6641 (exit $ac_status); } && { 6642 test -z "$ac_cxx_werror_flag" || 6643 test ! -s conftest.err 6644 } && test -s conftest.$ac_objext; then 6645 ac_header_compiler=yes 6646 else 6647 echo "$as_me: failed program was:" >&5 6648 sed 's/^/| /' conftest.$ac_ext >&5 6649 6650 ac_header_compiler=no 6651 fi 6652 6653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6654 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6655 echo "${ECHO_T}$ac_header_compiler" >&6; } 6656 6657 # Is the header present? 6658 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6660 cat >conftest.$ac_ext <<_ACEOF 6661 /* confdefs.h. */ 6662 _ACEOF 6663 cat confdefs.h >>conftest.$ac_ext 6664 cat >>conftest.$ac_ext <<_ACEOF 6665 /* end confdefs.h. */ 6666 #include <$ac_header> 6667 _ACEOF 6668 if { (ac_try="$ac_cpp conftest.$ac_ext" 6669 case "(($ac_try" in 6670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6671 *) ac_try_echo=$ac_try;; 6672 esac 6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6675 ac_status=$? 6676 grep -v '^ *+' conftest.er1 >conftest.err 6677 rm -f conftest.er1 6678 cat conftest.err >&5 6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6680 (exit $ac_status); } >/dev/null && { 6681 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6682 test ! -s conftest.err 6683 }; then 6684 ac_header_preproc=yes 6685 else 6686 echo "$as_me: failed program was:" >&5 6687 sed 's/^/| /' conftest.$ac_ext >&5 6688 6689 ac_header_preproc=no 6690 fi 6691 6692 rm -f conftest.err conftest.$ac_ext 6693 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6694 echo "${ECHO_T}$ac_header_preproc" >&6; } 6695 6696 # So? What about this header? 6697 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6698 yes:no: ) 6699 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6700 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6702 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6703 ac_header_preproc=yes 6704 ;; 6705 no:yes:* ) 6706 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6707 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6708 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6709 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6710 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6711 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6712 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6713 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6716 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6717 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6718 ( cat <<\_ASBOX 6719 ## ----------------------------------- ## 6720 ## Report this to rappture@nanohub.org ## 6721 ## ----------------------------------- ## 6722 _ASBOX 6723 ) | sed "s/^/$as_me: WARNING: /" >&2 6724 ;; 6725 esac 6726 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6729 echo $ECHO_N "(cached) $ECHO_C" >&6 6730 else 6731 eval "$as_ac_Header=\$ac_header_preproc" 6732 fi 6733 ac_res=`eval echo '${'$as_ac_Header'}'` 6734 { echo "$as_me:$LINENO: result: $ac_res" >&5 6735 echo "${ECHO_T}$ac_res" >&6; } 6736 6737 fi 6738 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5080 do : 5081 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5082 if test "x$ac_cv_header_iterator" = xyes; then : 6739 5083 cat >>confdefs.h <<_ACEOF 6740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6741 _ACEOF 6742 6743 else 6744 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6745 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6746 fi 6747 6748 done 6749 5084 #define HAVE_ITERATOR 1 5085 _ACEOF 5086 5087 else 5088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5089 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5090 fi 5091 5092 done 6750 5093 6751 5094 for ac_header in sstream 6752 do 6753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6755 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6758 echo $ECHO_N "(cached) $ECHO_C" >&6 6759 fi 6760 ac_res=`eval echo '${'$as_ac_Header'}'` 6761 { echo "$as_me:$LINENO: result: $ac_res" >&5 6762 echo "${ECHO_T}$ac_res" >&6; } 6763 else 6764 # Is the header compilable? 6765 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6766 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6767 cat >conftest.$ac_ext <<_ACEOF 6768 /* confdefs.h. */ 6769 _ACEOF 6770 cat confdefs.h >>conftest.$ac_ext 6771 cat >>conftest.$ac_ext <<_ACEOF 6772 /* end confdefs.h. */ 6773 $ac_includes_default 6774 #include <$ac_header> 6775 _ACEOF 6776 rm -f conftest.$ac_objext 6777 if { (ac_try="$ac_compile" 6778 case "(($ac_try" in 6779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6780 *) ac_try_echo=$ac_try;; 6781 esac 6782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6783 (eval "$ac_compile") 2>conftest.er1 6784 ac_status=$? 6785 grep -v '^ *+' conftest.er1 >conftest.err 6786 rm -f conftest.er1 6787 cat conftest.err >&5 6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6789 (exit $ac_status); } && { 6790 test -z "$ac_cxx_werror_flag" || 6791 test ! -s conftest.err 6792 } && test -s conftest.$ac_objext; then 6793 ac_header_compiler=yes 6794 else 6795 echo "$as_me: failed program was:" >&5 6796 sed 's/^/| /' conftest.$ac_ext >&5 6797 6798 ac_header_compiler=no 6799 fi 6800 6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6802 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6803 echo "${ECHO_T}$ac_header_compiler" >&6; } 6804 6805 # Is the header present? 6806 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6808 cat >conftest.$ac_ext <<_ACEOF 6809 /* confdefs.h. */ 6810 _ACEOF 6811 cat confdefs.h >>conftest.$ac_ext 6812 cat >>conftest.$ac_ext <<_ACEOF 6813 /* end confdefs.h. */ 6814 #include <$ac_header> 6815 _ACEOF 6816 if { (ac_try="$ac_cpp conftest.$ac_ext" 6817 case "(($ac_try" in 6818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6819 *) ac_try_echo=$ac_try;; 6820 esac 6821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6823 ac_status=$? 6824 grep -v '^ *+' conftest.er1 >conftest.err 6825 rm -f conftest.er1 6826 cat conftest.err >&5 6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6828 (exit $ac_status); } >/dev/null && { 6829 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6830 test ! -s conftest.err 6831 }; then 6832 ac_header_preproc=yes 6833 else 6834 echo "$as_me: failed program was:" >&5 6835 sed 's/^/| /' conftest.$ac_ext >&5 6836 6837 ac_header_preproc=no 6838 fi 6839 6840 rm -f conftest.err conftest.$ac_ext 6841 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6842 echo "${ECHO_T}$ac_header_preproc" >&6; } 6843 6844 # So? What about this header? 6845 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6846 yes:no: ) 6847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6851 ac_header_preproc=yes 6852 ;; 6853 no:yes:* ) 6854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6866 ( cat <<\_ASBOX 6867 ## ----------------------------------- ## 6868 ## Report this to rappture@nanohub.org ## 6869 ## ----------------------------------- ## 6870 _ASBOX 6871 ) | sed "s/^/$as_me: WARNING: /" >&2 6872 ;; 6873 esac 6874 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6877 echo $ECHO_N "(cached) $ECHO_C" >&6 6878 else 6879 eval "$as_ac_Header=\$ac_header_preproc" 6880 fi 6881 ac_res=`eval echo '${'$as_ac_Header'}'` 6882 { echo "$as_me:$LINENO: result: $ac_res" >&5 6883 echo "${ECHO_T}$ac_res" >&6; } 6884 6885 fi 6886 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5095 do : 5096 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5097 if test "x$ac_cv_header_sstream" = xyes; then : 6887 5098 cat >>confdefs.h <<_ACEOF 6888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6889 _ACEOF 6890 6891 else 6892 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6893 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6894 fi 6895 6896 done 6897 5099 #define HAVE_SSTREAM 1 5100 _ACEOF 5101 5102 else 5103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5104 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5105 fi 5106 5107 done 6898 5108 6899 5109 for ac_header in stack 6900 do 6901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6903 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6906 echo $ECHO_N "(cached) $ECHO_C" >&6 6907 fi 6908 ac_res=`eval echo '${'$as_ac_Header'}'` 6909 { echo "$as_me:$LINENO: result: $ac_res" >&5 6910 echo "${ECHO_T}$ac_res" >&6; } 6911 else 6912 # Is the header compilable? 6913 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6915 cat >conftest.$ac_ext <<_ACEOF 6916 /* confdefs.h. */ 6917 _ACEOF 6918 cat confdefs.h >>conftest.$ac_ext 6919 cat >>conftest.$ac_ext <<_ACEOF 6920 /* end confdefs.h. */ 6921 $ac_includes_default 6922 #include <$ac_header> 6923 _ACEOF 6924 rm -f conftest.$ac_objext 6925 if { (ac_try="$ac_compile" 6926 case "(($ac_try" in 6927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6928 *) ac_try_echo=$ac_try;; 6929 esac 6930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6931 (eval "$ac_compile") 2>conftest.er1 6932 ac_status=$? 6933 grep -v '^ *+' conftest.er1 >conftest.err 6934 rm -f conftest.er1 6935 cat conftest.err >&5 6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6937 (exit $ac_status); } && { 6938 test -z "$ac_cxx_werror_flag" || 6939 test ! -s conftest.err 6940 } && test -s conftest.$ac_objext; then 6941 ac_header_compiler=yes 6942 else 6943 echo "$as_me: failed program was:" >&5 6944 sed 's/^/| /' conftest.$ac_ext >&5 6945 6946 ac_header_compiler=no 6947 fi 6948 6949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6950 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6951 echo "${ECHO_T}$ac_header_compiler" >&6; } 6952 6953 # Is the header present? 6954 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6956 cat >conftest.$ac_ext <<_ACEOF 6957 /* confdefs.h. */ 6958 _ACEOF 6959 cat confdefs.h >>conftest.$ac_ext 6960 cat >>conftest.$ac_ext <<_ACEOF 6961 /* end confdefs.h. */ 6962 #include <$ac_header> 6963 _ACEOF 6964 if { (ac_try="$ac_cpp conftest.$ac_ext" 6965 case "(($ac_try" in 6966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6967 *) ac_try_echo=$ac_try;; 6968 esac 6969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6971 ac_status=$? 6972 grep -v '^ *+' conftest.er1 >conftest.err 6973 rm -f conftest.er1 6974 cat conftest.err >&5 6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6976 (exit $ac_status); } >/dev/null && { 6977 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6978 test ! -s conftest.err 6979 }; then 6980 ac_header_preproc=yes 6981 else 6982 echo "$as_me: failed program was:" >&5 6983 sed 's/^/| /' conftest.$ac_ext >&5 6984 6985 ac_header_preproc=no 6986 fi 6987 6988 rm -f conftest.err conftest.$ac_ext 6989 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6990 echo "${ECHO_T}$ac_header_preproc" >&6; } 6991 6992 # So? What about this header? 6993 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6994 yes:no: ) 6995 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6999 ac_header_preproc=yes 7000 ;; 7001 no:yes:* ) 7002 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7004 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7005 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7006 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7008 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7009 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7012 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7014 ( cat <<\_ASBOX 7015 ## ----------------------------------- ## 7016 ## Report this to rappture@nanohub.org ## 7017 ## ----------------------------------- ## 7018 _ASBOX 7019 ) | sed "s/^/$as_me: WARNING: /" >&2 7020 ;; 7021 esac 7022 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7025 echo $ECHO_N "(cached) $ECHO_C" >&6 7026 else 7027 eval "$as_ac_Header=\$ac_header_preproc" 7028 fi 7029 ac_res=`eval echo '${'$as_ac_Header'}'` 7030 { echo "$as_me:$LINENO: result: $ac_res" >&5 7031 echo "${ECHO_T}$ac_res" >&6; } 7032 7033 fi 7034 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5110 do : 5111 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5112 if test "x$ac_cv_header_stack" = xyes; then : 7035 5113 cat >>confdefs.h <<_ACEOF 7036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7037 _ACEOF 7038 7039 else 7040 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7041 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7042 fi 7043 7044 done 7045 5114 #define HAVE_STACK 1 5115 _ACEOF 5116 5117 else 5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5119 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5120 fi 5121 5122 done 7046 5123 7047 5124 for ac_header in string 7048 do 7049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7051 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7054 echo $ECHO_N "(cached) $ECHO_C" >&6 7055 fi 7056 ac_res=`eval echo '${'$as_ac_Header'}'` 7057 { echo "$as_me:$LINENO: result: $ac_res" >&5 7058 echo "${ECHO_T}$ac_res" >&6; } 7059 else 7060 # Is the header compilable? 7061 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7062 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7063 cat >conftest.$ac_ext <<_ACEOF 7064 /* confdefs.h. */ 7065 _ACEOF 7066 cat confdefs.h >>conftest.$ac_ext 7067 cat >>conftest.$ac_ext <<_ACEOF 7068 /* end confdefs.h. */ 7069 $ac_includes_default 7070 #include <$ac_header> 7071 _ACEOF 7072 rm -f conftest.$ac_objext 7073 if { (ac_try="$ac_compile" 7074 case "(($ac_try" in 7075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7076 *) ac_try_echo=$ac_try;; 7077 esac 7078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7079 (eval "$ac_compile") 2>conftest.er1 7080 ac_status=$? 7081 grep -v '^ *+' conftest.er1 >conftest.err 7082 rm -f conftest.er1 7083 cat conftest.err >&5 7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7085 (exit $ac_status); } && { 7086 test -z "$ac_cxx_werror_flag" || 7087 test ! -s conftest.err 7088 } && test -s conftest.$ac_objext; then 7089 ac_header_compiler=yes 7090 else 7091 echo "$as_me: failed program was:" >&5 7092 sed 's/^/| /' conftest.$ac_ext >&5 7093 7094 ac_header_compiler=no 7095 fi 7096 7097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7098 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7099 echo "${ECHO_T}$ac_header_compiler" >&6; } 7100 7101 # Is the header present? 7102 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7104 cat >conftest.$ac_ext <<_ACEOF 7105 /* confdefs.h. */ 7106 _ACEOF 7107 cat confdefs.h >>conftest.$ac_ext 7108 cat >>conftest.$ac_ext <<_ACEOF 7109 /* end confdefs.h. */ 7110 #include <$ac_header> 7111 _ACEOF 7112 if { (ac_try="$ac_cpp conftest.$ac_ext" 7113 case "(($ac_try" in 7114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7115 *) ac_try_echo=$ac_try;; 7116 esac 7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7119 ac_status=$? 7120 grep -v '^ *+' conftest.er1 >conftest.err 7121 rm -f conftest.er1 7122 cat conftest.err >&5 7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7124 (exit $ac_status); } >/dev/null && { 7125 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7126 test ! -s conftest.err 7127 }; then 7128 ac_header_preproc=yes 7129 else 7130 echo "$as_me: failed program was:" >&5 7131 sed 's/^/| /' conftest.$ac_ext >&5 7132 7133 ac_header_preproc=no 7134 fi 7135 7136 rm -f conftest.err conftest.$ac_ext 7137 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7138 echo "${ECHO_T}$ac_header_preproc" >&6; } 7139 7140 # So? What about this header? 7141 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7142 yes:no: ) 7143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7144 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7146 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7147 ac_header_preproc=yes 7148 ;; 7149 no:yes:* ) 7150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7154 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7155 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7156 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7157 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7161 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7162 ( cat <<\_ASBOX 7163 ## ----------------------------------- ## 7164 ## Report this to rappture@nanohub.org ## 7165 ## ----------------------------------- ## 7166 _ASBOX 7167 ) | sed "s/^/$as_me: WARNING: /" >&2 7168 ;; 7169 esac 7170 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7173 echo $ECHO_N "(cached) $ECHO_C" >&6 7174 else 7175 eval "$as_ac_Header=\$ac_header_preproc" 7176 fi 7177 ac_res=`eval echo '${'$as_ac_Header'}'` 7178 { echo "$as_me:$LINENO: result: $ac_res" >&5 7179 echo "${ECHO_T}$ac_res" >&6; } 7180 7181 fi 7182 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5125 do : 5126 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5127 if test "x$ac_cv_header_string" = xyes; then : 7183 5128 cat >>confdefs.h <<_ACEOF 7184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7185 _ACEOF 7186 7187 else 7188 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7189 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7190 fi 7191 7192 done 7193 5129 #define HAVE_STRING 1 5130 _ACEOF 5131 5132 else 5133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5134 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5135 fi 5136 5137 done 7194 5138 7195 5139 for ac_header in vector 7196 do 7197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7199 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7202 echo $ECHO_N "(cached) $ECHO_C" >&6 7203 fi 7204 ac_res=`eval echo '${'$as_ac_Header'}'` 7205 { echo "$as_me:$LINENO: result: $ac_res" >&5 7206 echo "${ECHO_T}$ac_res" >&6; } 7207 else 7208 # Is the header compilable? 7209 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7210 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7211 cat >conftest.$ac_ext <<_ACEOF 7212 /* confdefs.h. */ 7213 _ACEOF 7214 cat confdefs.h >>conftest.$ac_ext 7215 cat >>conftest.$ac_ext <<_ACEOF 7216 /* end confdefs.h. */ 7217 $ac_includes_default 7218 #include <$ac_header> 7219 _ACEOF 7220 rm -f conftest.$ac_objext 7221 if { (ac_try="$ac_compile" 7222 case "(($ac_try" in 7223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7224 *) ac_try_echo=$ac_try;; 7225 esac 7226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7227 (eval "$ac_compile") 2>conftest.er1 7228 ac_status=$? 7229 grep -v '^ *+' conftest.er1 >conftest.err 7230 rm -f conftest.er1 7231 cat conftest.err >&5 7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7233 (exit $ac_status); } && { 7234 test -z "$ac_cxx_werror_flag" || 7235 test ! -s conftest.err 7236 } && test -s conftest.$ac_objext; then 7237 ac_header_compiler=yes 7238 else 7239 echo "$as_me: failed program was:" >&5 7240 sed 's/^/| /' conftest.$ac_ext >&5 7241 7242 ac_header_compiler=no 7243 fi 7244 7245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7246 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7247 echo "${ECHO_T}$ac_header_compiler" >&6; } 7248 7249 # Is the header present? 7250 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7252 cat >conftest.$ac_ext <<_ACEOF 7253 /* confdefs.h. */ 7254 _ACEOF 7255 cat confdefs.h >>conftest.$ac_ext 7256 cat >>conftest.$ac_ext <<_ACEOF 7257 /* end confdefs.h. */ 7258 #include <$ac_header> 7259 _ACEOF 7260 if { (ac_try="$ac_cpp conftest.$ac_ext" 7261 case "(($ac_try" in 7262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7263 *) ac_try_echo=$ac_try;; 7264 esac 7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7266 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7267 ac_status=$? 7268 grep -v '^ *+' conftest.er1 >conftest.err 7269 rm -f conftest.er1 7270 cat conftest.err >&5 7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7272 (exit $ac_status); } >/dev/null && { 7273 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7274 test ! -s conftest.err 7275 }; then 7276 ac_header_preproc=yes 7277 else 7278 echo "$as_me: failed program was:" >&5 7279 sed 's/^/| /' conftest.$ac_ext >&5 7280 7281 ac_header_preproc=no 7282 fi 7283 7284 rm -f conftest.err conftest.$ac_ext 7285 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7286 echo "${ECHO_T}$ac_header_preproc" >&6; } 7287 7288 # So? What about this header? 7289 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7290 yes:no: ) 7291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7295 ac_header_preproc=yes 7296 ;; 7297 no:yes:* ) 7298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7310 ( cat <<\_ASBOX 7311 ## ----------------------------------- ## 7312 ## Report this to rappture@nanohub.org ## 7313 ## ----------------------------------- ## 7314 _ASBOX 7315 ) | sed "s/^/$as_me: WARNING: /" >&2 7316 ;; 7317 esac 7318 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7321 echo $ECHO_N "(cached) $ECHO_C" >&6 7322 else 7323 eval "$as_ac_Header=\$ac_header_preproc" 7324 fi 7325 ac_res=`eval echo '${'$as_ac_Header'}'` 7326 { echo "$as_me:$LINENO: result: $ac_res" >&5 7327 echo "${ECHO_T}$ac_res" >&6; } 7328 7329 fi 7330 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5140 do : 5141 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5142 if test "x$ac_cv_header_vector" = xyes; then : 7331 5143 cat >>confdefs.h <<_ACEOF 7332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7333 _ACEOF 7334 7335 else 7336 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7337 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7338 fi 7339 7340 done 7341 5144 #define HAVE_VECTOR 1 5145 _ACEOF 5146 5147 else 5148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5149 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5150 fi 5151 5152 done 7342 5153 7343 5154 7344 5155 for ac_header in assert.h 7345 do 7346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7348 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7351 echo $ECHO_N "(cached) $ECHO_C" >&6 7352 fi 7353 ac_res=`eval echo '${'$as_ac_Header'}'` 7354 { echo "$as_me:$LINENO: result: $ac_res" >&5 7355 echo "${ECHO_T}$ac_res" >&6; } 7356 else 7357 # Is the header compilable? 7358 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7359 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7360 cat >conftest.$ac_ext <<_ACEOF 7361 /* confdefs.h. */ 7362 _ACEOF 7363 cat confdefs.h >>conftest.$ac_ext 7364 cat >>conftest.$ac_ext <<_ACEOF 7365 /* end confdefs.h. */ 7366 $ac_includes_default 7367 #include <$ac_header> 7368 _ACEOF 7369 rm -f conftest.$ac_objext 7370 if { (ac_try="$ac_compile" 7371 case "(($ac_try" in 7372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7373 *) ac_try_echo=$ac_try;; 7374 esac 7375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7376 (eval "$ac_compile") 2>conftest.er1 7377 ac_status=$? 7378 grep -v '^ *+' conftest.er1 >conftest.err 7379 rm -f conftest.er1 7380 cat conftest.err >&5 7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7382 (exit $ac_status); } && { 7383 test -z "$ac_cxx_werror_flag" || 7384 test ! -s conftest.err 7385 } && test -s conftest.$ac_objext; then 7386 ac_header_compiler=yes 7387 else 7388 echo "$as_me: failed program was:" >&5 7389 sed 's/^/| /' conftest.$ac_ext >&5 7390 7391 ac_header_compiler=no 7392 fi 7393 7394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7395 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7396 echo "${ECHO_T}$ac_header_compiler" >&6; } 7397 7398 # Is the header present? 7399 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7401 cat >conftest.$ac_ext <<_ACEOF 7402 /* confdefs.h. */ 7403 _ACEOF 7404 cat confdefs.h >>conftest.$ac_ext 7405 cat >>conftest.$ac_ext <<_ACEOF 7406 /* end confdefs.h. */ 7407 #include <$ac_header> 7408 _ACEOF 7409 if { (ac_try="$ac_cpp conftest.$ac_ext" 7410 case "(($ac_try" in 7411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7412 *) ac_try_echo=$ac_try;; 7413 esac 7414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7416 ac_status=$? 7417 grep -v '^ *+' conftest.er1 >conftest.err 7418 rm -f conftest.er1 7419 cat conftest.err >&5 7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7421 (exit $ac_status); } >/dev/null && { 7422 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7423 test ! -s conftest.err 7424 }; then 7425 ac_header_preproc=yes 7426 else 7427 echo "$as_me: failed program was:" >&5 7428 sed 's/^/| /' conftest.$ac_ext >&5 7429 7430 ac_header_preproc=no 7431 fi 7432 7433 rm -f conftest.err conftest.$ac_ext 7434 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7435 echo "${ECHO_T}$ac_header_preproc" >&6; } 7436 7437 # So? What about this header? 7438 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7439 yes:no: ) 7440 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7444 ac_header_preproc=yes 7445 ;; 7446 no:yes:* ) 7447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7450 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7451 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7453 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7454 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7457 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7459 ( cat <<\_ASBOX 7460 ## ----------------------------------- ## 7461 ## Report this to rappture@nanohub.org ## 7462 ## ----------------------------------- ## 7463 _ASBOX 7464 ) | sed "s/^/$as_me: WARNING: /" >&2 7465 ;; 7466 esac 7467 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7470 echo $ECHO_N "(cached) $ECHO_C" >&6 7471 else 7472 eval "$as_ac_Header=\$ac_header_preproc" 7473 fi 7474 ac_res=`eval echo '${'$as_ac_Header'}'` 7475 { echo "$as_me:$LINENO: result: $ac_res" >&5 7476 echo "${ECHO_T}$ac_res" >&6; } 7477 7478 fi 7479 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5156 do : 5157 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5158 if test "x$ac_cv_header_assert_h" = xyes; then : 7480 5159 cat >>confdefs.h <<_ACEOF 7481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7482 _ACEOF 7483 7484 else 7485 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7486 echo "$as_me: WARNING: C headers missing ?" >&2;} 7487 fi 7488 7489 done 7490 5160 #define HAVE_ASSERT_H 1 5161 _ACEOF 5162 5163 else 5164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5165 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5166 fi 5167 5168 done 7491 5169 7492 5170 for ac_header in ctype.h 7493 do 7494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7499 echo $ECHO_N "(cached) $ECHO_C" >&6 7500 fi 7501 ac_res=`eval echo '${'$as_ac_Header'}'` 7502 { echo "$as_me:$LINENO: result: $ac_res" >&5 7503 echo "${ECHO_T}$ac_res" >&6; } 7504 else 7505 # Is the header compilable? 7506 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7508 cat >conftest.$ac_ext <<_ACEOF 7509 /* confdefs.h. */ 7510 _ACEOF 7511 cat confdefs.h >>conftest.$ac_ext 7512 cat >>conftest.$ac_ext <<_ACEOF 7513 /* end confdefs.h. */ 7514 $ac_includes_default 7515 #include <$ac_header> 7516 _ACEOF 7517 rm -f conftest.$ac_objext 7518 if { (ac_try="$ac_compile" 7519 case "(($ac_try" in 7520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7521 *) ac_try_echo=$ac_try;; 7522 esac 7523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7524 (eval "$ac_compile") 2>conftest.er1 7525 ac_status=$? 7526 grep -v '^ *+' conftest.er1 >conftest.err 7527 rm -f conftest.er1 7528 cat conftest.err >&5 7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7530 (exit $ac_status); } && { 7531 test -z "$ac_cxx_werror_flag" || 7532 test ! -s conftest.err 7533 } && test -s conftest.$ac_objext; then 7534 ac_header_compiler=yes 7535 else 7536 echo "$as_me: failed program was:" >&5 7537 sed 's/^/| /' conftest.$ac_ext >&5 7538 7539 ac_header_compiler=no 7540 fi 7541 7542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7543 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7544 echo "${ECHO_T}$ac_header_compiler" >&6; } 7545 7546 # Is the header present? 7547 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7549 cat >conftest.$ac_ext <<_ACEOF 7550 /* confdefs.h. */ 7551 _ACEOF 7552 cat confdefs.h >>conftest.$ac_ext 7553 cat >>conftest.$ac_ext <<_ACEOF 7554 /* end confdefs.h. */ 7555 #include <$ac_header> 7556 _ACEOF 7557 if { (ac_try="$ac_cpp conftest.$ac_ext" 7558 case "(($ac_try" in 7559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7560 *) ac_try_echo=$ac_try;; 7561 esac 7562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7564 ac_status=$? 7565 grep -v '^ *+' conftest.er1 >conftest.err 7566 rm -f conftest.er1 7567 cat conftest.err >&5 7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7569 (exit $ac_status); } >/dev/null && { 7570 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7571 test ! -s conftest.err 7572 }; then 7573 ac_header_preproc=yes 7574 else 7575 echo "$as_me: failed program was:" >&5 7576 sed 's/^/| /' conftest.$ac_ext >&5 7577 7578 ac_header_preproc=no 7579 fi 7580 7581 rm -f conftest.err conftest.$ac_ext 7582 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7583 echo "${ECHO_T}$ac_header_preproc" >&6; } 7584 7585 # So? What about this header? 7586 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7587 yes:no: ) 7588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7592 ac_header_preproc=yes 7593 ;; 7594 no:yes:* ) 7595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7607 ( cat <<\_ASBOX 7608 ## ----------------------------------- ## 7609 ## Report this to rappture@nanohub.org ## 7610 ## ----------------------------------- ## 7611 _ASBOX 7612 ) | sed "s/^/$as_me: WARNING: /" >&2 7613 ;; 7614 esac 7615 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7618 echo $ECHO_N "(cached) $ECHO_C" >&6 7619 else 7620 eval "$as_ac_Header=\$ac_header_preproc" 7621 fi 7622 ac_res=`eval echo '${'$as_ac_Header'}'` 7623 { echo "$as_me:$LINENO: result: $ac_res" >&5 7624 echo "${ECHO_T}$ac_res" >&6; } 7625 7626 fi 7627 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5171 do : 5172 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5173 if test "x$ac_cv_header_ctype_h" = xyes; then : 7628 5174 cat >>confdefs.h <<_ACEOF 7629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7630 _ACEOF 7631 7632 else 7633 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7634 echo "$as_me: WARNING: C headers missing ?" >&2;} 7635 fi 7636 7637 done 7638 5175 #define HAVE_CTYPE_H 1 5176 _ACEOF 5177 5178 else 5179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5180 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5181 fi 5182 5183 done 7639 5184 7640 5185 for ac_header in errno.h 7641 do 7642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7644 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7647 echo $ECHO_N "(cached) $ECHO_C" >&6 7648 fi 7649 ac_res=`eval echo '${'$as_ac_Header'}'` 7650 { echo "$as_me:$LINENO: result: $ac_res" >&5 7651 echo "${ECHO_T}$ac_res" >&6; } 7652 else 7653 # Is the header compilable? 7654 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7656 cat >conftest.$ac_ext <<_ACEOF 7657 /* confdefs.h. */ 7658 _ACEOF 7659 cat confdefs.h >>conftest.$ac_ext 7660 cat >>conftest.$ac_ext <<_ACEOF 7661 /* end confdefs.h. */ 7662 $ac_includes_default 7663 #include <$ac_header> 7664 _ACEOF 7665 rm -f conftest.$ac_objext 7666 if { (ac_try="$ac_compile" 7667 case "(($ac_try" in 7668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7669 *) ac_try_echo=$ac_try;; 7670 esac 7671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7672 (eval "$ac_compile") 2>conftest.er1 7673 ac_status=$? 7674 grep -v '^ *+' conftest.er1 >conftest.err 7675 rm -f conftest.er1 7676 cat conftest.err >&5 7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7678 (exit $ac_status); } && { 7679 test -z "$ac_cxx_werror_flag" || 7680 test ! -s conftest.err 7681 } && test -s conftest.$ac_objext; then 7682 ac_header_compiler=yes 7683 else 7684 echo "$as_me: failed program was:" >&5 7685 sed 's/^/| /' conftest.$ac_ext >&5 7686 7687 ac_header_compiler=no 7688 fi 7689 7690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7691 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7692 echo "${ECHO_T}$ac_header_compiler" >&6; } 7693 7694 # Is the header present? 7695 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7696 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7697 cat >conftest.$ac_ext <<_ACEOF 7698 /* confdefs.h. */ 7699 _ACEOF 7700 cat confdefs.h >>conftest.$ac_ext 7701 cat >>conftest.$ac_ext <<_ACEOF 7702 /* end confdefs.h. */ 7703 #include <$ac_header> 7704 _ACEOF 7705 if { (ac_try="$ac_cpp conftest.$ac_ext" 7706 case "(($ac_try" in 7707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7708 *) ac_try_echo=$ac_try;; 7709 esac 7710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7712 ac_status=$? 7713 grep -v '^ *+' conftest.er1 >conftest.err 7714 rm -f conftest.er1 7715 cat conftest.err >&5 7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7717 (exit $ac_status); } >/dev/null && { 7718 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7719 test ! -s conftest.err 7720 }; then 7721 ac_header_preproc=yes 7722 else 7723 echo "$as_me: failed program was:" >&5 7724 sed 's/^/| /' conftest.$ac_ext >&5 7725 7726 ac_header_preproc=no 7727 fi 7728 7729 rm -f conftest.err conftest.$ac_ext 7730 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7731 echo "${ECHO_T}$ac_header_preproc" >&6; } 7732 7733 # So? What about this header? 7734 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7735 yes:no: ) 7736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7740 ac_header_preproc=yes 7741 ;; 7742 no:yes:* ) 7743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7755 ( cat <<\_ASBOX 7756 ## ----------------------------------- ## 7757 ## Report this to rappture@nanohub.org ## 7758 ## ----------------------------------- ## 7759 _ASBOX 7760 ) | sed "s/^/$as_me: WARNING: /" >&2 7761 ;; 7762 esac 7763 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7766 echo $ECHO_N "(cached) $ECHO_C" >&6 7767 else 7768 eval "$as_ac_Header=\$ac_header_preproc" 7769 fi 7770 ac_res=`eval echo '${'$as_ac_Header'}'` 7771 { echo "$as_me:$LINENO: result: $ac_res" >&5 7772 echo "${ECHO_T}$ac_res" >&6; } 7773 7774 fi 7775 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5186 do : 5187 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5188 if test "x$ac_cv_header_errno_h" = xyes; then : 7776 5189 cat >>confdefs.h <<_ACEOF 7777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7778 _ACEOF 7779 7780 else 7781 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7782 echo "$as_me: WARNING: C headers missing ?" >&2;} 7783 fi 7784 7785 done 7786 5190 #define HAVE_ERRNO_H 1 5191 _ACEOF 5192 5193 else 5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5195 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5196 fi 5197 5198 done 7787 5199 7788 5200 for ac_header in limits.h 7789 do 7790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7791 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7792 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7795 echo $ECHO_N "(cached) $ECHO_C" >&6 7796 fi 7797 ac_res=`eval echo '${'$as_ac_Header'}'` 7798 { echo "$as_me:$LINENO: result: $ac_res" >&5 7799 echo "${ECHO_T}$ac_res" >&6; } 7800 else 7801 # Is the header compilable? 7802 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7804 cat >conftest.$ac_ext <<_ACEOF 7805 /* confdefs.h. */ 7806 _ACEOF 7807 cat confdefs.h >>conftest.$ac_ext 7808 cat >>conftest.$ac_ext <<_ACEOF 7809 /* end confdefs.h. */ 7810 $ac_includes_default 7811 #include <$ac_header> 7812 _ACEOF 7813 rm -f conftest.$ac_objext 7814 if { (ac_try="$ac_compile" 7815 case "(($ac_try" in 7816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7817 *) ac_try_echo=$ac_try;; 7818 esac 7819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7820 (eval "$ac_compile") 2>conftest.er1 7821 ac_status=$? 7822 grep -v '^ *+' conftest.er1 >conftest.err 7823 rm -f conftest.er1 7824 cat conftest.err >&5 7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7826 (exit $ac_status); } && { 7827 test -z "$ac_cxx_werror_flag" || 7828 test ! -s conftest.err 7829 } && test -s conftest.$ac_objext; then 7830 ac_header_compiler=yes 7831 else 7832 echo "$as_me: failed program was:" >&5 7833 sed 's/^/| /' conftest.$ac_ext >&5 7834 7835 ac_header_compiler=no 7836 fi 7837 7838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7839 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7840 echo "${ECHO_T}$ac_header_compiler" >&6; } 7841 7842 # Is the header present? 7843 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7845 cat >conftest.$ac_ext <<_ACEOF 7846 /* confdefs.h. */ 7847 _ACEOF 7848 cat confdefs.h >>conftest.$ac_ext 7849 cat >>conftest.$ac_ext <<_ACEOF 7850 /* end confdefs.h. */ 7851 #include <$ac_header> 7852 _ACEOF 7853 if { (ac_try="$ac_cpp conftest.$ac_ext" 7854 case "(($ac_try" in 7855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7856 *) ac_try_echo=$ac_try;; 7857 esac 7858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7860 ac_status=$? 7861 grep -v '^ *+' conftest.er1 >conftest.err 7862 rm -f conftest.er1 7863 cat conftest.err >&5 7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7865 (exit $ac_status); } >/dev/null && { 7866 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7867 test ! -s conftest.err 7868 }; then 7869 ac_header_preproc=yes 7870 else 7871 echo "$as_me: failed program was:" >&5 7872 sed 's/^/| /' conftest.$ac_ext >&5 7873 7874 ac_header_preproc=no 7875 fi 7876 7877 rm -f conftest.err conftest.$ac_ext 7878 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7879 echo "${ECHO_T}$ac_header_preproc" >&6; } 7880 7881 # So? What about this header? 7882 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7883 yes:no: ) 7884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7887 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7888 ac_header_preproc=yes 7889 ;; 7890 no:yes:* ) 7891 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7893 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7895 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7896 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7897 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7898 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7901 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7902 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7903 ( cat <<\_ASBOX 7904 ## ----------------------------------- ## 7905 ## Report this to rappture@nanohub.org ## 7906 ## ----------------------------------- ## 7907 _ASBOX 7908 ) | sed "s/^/$as_me: WARNING: /" >&2 7909 ;; 7910 esac 7911 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7914 echo $ECHO_N "(cached) $ECHO_C" >&6 7915 else 7916 eval "$as_ac_Header=\$ac_header_preproc" 7917 fi 7918 ac_res=`eval echo '${'$as_ac_Header'}'` 7919 { echo "$as_me:$LINENO: result: $ac_res" >&5 7920 echo "${ECHO_T}$ac_res" >&6; } 7921 7922 fi 7923 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5201 do : 5202 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5203 if test "x$ac_cv_header_limits_h" = xyes; then : 7924 5204 cat >>confdefs.h <<_ACEOF 7925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7926 _ACEOF 7927 7928 else 7929 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7930 echo "$as_me: WARNING: C headers missing ?" >&2;} 7931 fi 7932 7933 done 7934 5205 #define HAVE_LIMITS_H 1 5206 _ACEOF 5207 5208 else 5209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5210 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5211 fi 5212 5213 done 7935 5214 7936 5215 for ac_header in string.h 7937 do 7938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7940 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7943 echo $ECHO_N "(cached) $ECHO_C" >&6 7944 fi 7945 ac_res=`eval echo '${'$as_ac_Header'}'` 7946 { echo "$as_me:$LINENO: result: $ac_res" >&5 7947 echo "${ECHO_T}$ac_res" >&6; } 7948 else 7949 # Is the header compilable? 7950 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7952 cat >conftest.$ac_ext <<_ACEOF 7953 /* confdefs.h. */ 7954 _ACEOF 7955 cat confdefs.h >>conftest.$ac_ext 7956 cat >>conftest.$ac_ext <<_ACEOF 7957 /* end confdefs.h. */ 7958 $ac_includes_default 7959 #include <$ac_header> 7960 _ACEOF 7961 rm -f conftest.$ac_objext 7962 if { (ac_try="$ac_compile" 7963 case "(($ac_try" in 7964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7965 *) ac_try_echo=$ac_try;; 7966 esac 7967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7968 (eval "$ac_compile") 2>conftest.er1 7969 ac_status=$? 7970 grep -v '^ *+' conftest.er1 >conftest.err 7971 rm -f conftest.er1 7972 cat conftest.err >&5 7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7974 (exit $ac_status); } && { 7975 test -z "$ac_cxx_werror_flag" || 7976 test ! -s conftest.err 7977 } && test -s conftest.$ac_objext; then 7978 ac_header_compiler=yes 7979 else 7980 echo "$as_me: failed program was:" >&5 7981 sed 's/^/| /' conftest.$ac_ext >&5 7982 7983 ac_header_compiler=no 7984 fi 7985 7986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7988 echo "${ECHO_T}$ac_header_compiler" >&6; } 7989 7990 # Is the header present? 7991 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7993 cat >conftest.$ac_ext <<_ACEOF 7994 /* confdefs.h. */ 7995 _ACEOF 7996 cat confdefs.h >>conftest.$ac_ext 7997 cat >>conftest.$ac_ext <<_ACEOF 7998 /* end confdefs.h. */ 7999 #include <$ac_header> 8000 _ACEOF 8001 if { (ac_try="$ac_cpp conftest.$ac_ext" 8002 case "(($ac_try" in 8003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8004 *) ac_try_echo=$ac_try;; 8005 esac 8006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8008 ac_status=$? 8009 grep -v '^ *+' conftest.er1 >conftest.err 8010 rm -f conftest.er1 8011 cat conftest.err >&5 8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8013 (exit $ac_status); } >/dev/null && { 8014 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8015 test ! -s conftest.err 8016 }; then 8017 ac_header_preproc=yes 8018 else 8019 echo "$as_me: failed program was:" >&5 8020 sed 's/^/| /' conftest.$ac_ext >&5 8021 8022 ac_header_preproc=no 8023 fi 8024 8025 rm -f conftest.err conftest.$ac_ext 8026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8027 echo "${ECHO_T}$ac_header_preproc" >&6; } 8028 8029 # So? What about this header? 8030 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8031 yes:no: ) 8032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8036 ac_header_preproc=yes 8037 ;; 8038 no:yes:* ) 8039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8051 ( cat <<\_ASBOX 8052 ## ----------------------------------- ## 8053 ## Report this to rappture@nanohub.org ## 8054 ## ----------------------------------- ## 8055 _ASBOX 8056 ) | sed "s/^/$as_me: WARNING: /" >&2 8057 ;; 8058 esac 8059 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8062 echo $ECHO_N "(cached) $ECHO_C" >&6 8063 else 8064 eval "$as_ac_Header=\$ac_header_preproc" 8065 fi 8066 ac_res=`eval echo '${'$as_ac_Header'}'` 8067 { echo "$as_me:$LINENO: result: $ac_res" >&5 8068 echo "${ECHO_T}$ac_res" >&6; } 8069 8070 fi 8071 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5216 do : 5217 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5218 if test "x$ac_cv_header_string_h" = xyes; then : 8072 5219 cat >>confdefs.h <<_ACEOF 8073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8074 _ACEOF 8075 8076 else 8077 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8078 echo "$as_me: WARNING: C headers missing ?" >&2;} 8079 fi 8080 8081 done 8082 5220 #define HAVE_STRING_H 1 5221 _ACEOF 5222 5223 else 5224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5225 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5226 fi 5227 5228 done 8083 5229 8084 5230 for ac_header in stdlib.h 8085 do 8086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8088 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8091 echo $ECHO_N "(cached) $ECHO_C" >&6 8092 fi 8093 ac_res=`eval echo '${'$as_ac_Header'}'` 8094 { echo "$as_me:$LINENO: result: $ac_res" >&5 8095 echo "${ECHO_T}$ac_res" >&6; } 8096 else 8097 # Is the header compilable? 8098 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8100 cat >conftest.$ac_ext <<_ACEOF 8101 /* confdefs.h. */ 8102 _ACEOF 8103 cat confdefs.h >>conftest.$ac_ext 8104 cat >>conftest.$ac_ext <<_ACEOF 8105 /* end confdefs.h. */ 8106 $ac_includes_default 8107 #include <$ac_header> 8108 _ACEOF 8109 rm -f conftest.$ac_objext 8110 if { (ac_try="$ac_compile" 8111 case "(($ac_try" in 8112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8113 *) ac_try_echo=$ac_try;; 8114 esac 8115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8116 (eval "$ac_compile") 2>conftest.er1 8117 ac_status=$? 8118 grep -v '^ *+' conftest.er1 >conftest.err 8119 rm -f conftest.er1 8120 cat conftest.err >&5 8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8122 (exit $ac_status); } && { 8123 test -z "$ac_cxx_werror_flag" || 8124 test ! -s conftest.err 8125 } && test -s conftest.$ac_objext; then 8126 ac_header_compiler=yes 8127 else 8128 echo "$as_me: failed program was:" >&5 8129 sed 's/^/| /' conftest.$ac_ext >&5 8130 8131 ac_header_compiler=no 8132 fi 8133 8134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8135 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8136 echo "${ECHO_T}$ac_header_compiler" >&6; } 8137 8138 # Is the header present? 8139 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8141 cat >conftest.$ac_ext <<_ACEOF 8142 /* confdefs.h. */ 8143 _ACEOF 8144 cat confdefs.h >>conftest.$ac_ext 8145 cat >>conftest.$ac_ext <<_ACEOF 8146 /* end confdefs.h. */ 8147 #include <$ac_header> 8148 _ACEOF 8149 if { (ac_try="$ac_cpp conftest.$ac_ext" 8150 case "(($ac_try" in 8151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8152 *) ac_try_echo=$ac_try;; 8153 esac 8154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8156 ac_status=$? 8157 grep -v '^ *+' conftest.er1 >conftest.err 8158 rm -f conftest.er1 8159 cat conftest.err >&5 8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8161 (exit $ac_status); } >/dev/null && { 8162 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8163 test ! -s conftest.err 8164 }; then 8165 ac_header_preproc=yes 8166 else 8167 echo "$as_me: failed program was:" >&5 8168 sed 's/^/| /' conftest.$ac_ext >&5 8169 8170 ac_header_preproc=no 8171 fi 8172 8173 rm -f conftest.err conftest.$ac_ext 8174 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8175 echo "${ECHO_T}$ac_header_preproc" >&6; } 8176 8177 # So? What about this header? 8178 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8179 yes:no: ) 8180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8184 ac_header_preproc=yes 8185 ;; 8186 no:yes:* ) 8187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8199 ( cat <<\_ASBOX 8200 ## ----------------------------------- ## 8201 ## Report this to rappture@nanohub.org ## 8202 ## ----------------------------------- ## 8203 _ASBOX 8204 ) | sed "s/^/$as_me: WARNING: /" >&2 8205 ;; 8206 esac 8207 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8210 echo $ECHO_N "(cached) $ECHO_C" >&6 8211 else 8212 eval "$as_ac_Header=\$ac_header_preproc" 8213 fi 8214 ac_res=`eval echo '${'$as_ac_Header'}'` 8215 { echo "$as_me:$LINENO: result: $ac_res" >&5 8216 echo "${ECHO_T}$ac_res" >&6; } 8217 8218 fi 8219 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5231 do : 5232 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5233 if test "x$ac_cv_header_stdlib_h" = xyes; then : 8220 5234 cat >>confdefs.h <<_ACEOF 8221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8222 _ACEOF 8223 8224 else 8225 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8226 echo "$as_me: WARNING: C headers missing ?" >&2;} 8227 fi 8228 8229 done 8230 5235 #define HAVE_STDLIB_H 1 5236 _ACEOF 5237 5238 else 5239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5240 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5241 fi 5242 5243 done 8231 5244 8232 5245 for ac_header in stddef.h 8233 do 8234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8236 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8239 echo $ECHO_N "(cached) $ECHO_C" >&6 8240 fi 8241 ac_res=`eval echo '${'$as_ac_Header'}'` 8242 { echo "$as_me:$LINENO: result: $ac_res" >&5 8243 echo "${ECHO_T}$ac_res" >&6; } 8244 else 8245 # Is the header compilable? 8246 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8248 cat >conftest.$ac_ext <<_ACEOF 8249 /* confdefs.h. */ 8250 _ACEOF 8251 cat confdefs.h >>conftest.$ac_ext 8252 cat >>conftest.$ac_ext <<_ACEOF 8253 /* end confdefs.h. */ 8254 $ac_includes_default 8255 #include <$ac_header> 8256 _ACEOF 8257 rm -f conftest.$ac_objext 8258 if { (ac_try="$ac_compile" 8259 case "(($ac_try" in 8260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8261 *) ac_try_echo=$ac_try;; 8262 esac 8263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8264 (eval "$ac_compile") 2>conftest.er1 8265 ac_status=$? 8266 grep -v '^ *+' conftest.er1 >conftest.err 8267 rm -f conftest.er1 8268 cat conftest.err >&5 8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8270 (exit $ac_status); } && { 8271 test -z "$ac_cxx_werror_flag" || 8272 test ! -s conftest.err 8273 } && test -s conftest.$ac_objext; then 8274 ac_header_compiler=yes 8275 else 8276 echo "$as_me: failed program was:" >&5 8277 sed 's/^/| /' conftest.$ac_ext >&5 8278 8279 ac_header_compiler=no 8280 fi 8281 8282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8283 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8284 echo "${ECHO_T}$ac_header_compiler" >&6; } 8285 8286 # Is the header present? 8287 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8289 cat >conftest.$ac_ext <<_ACEOF 8290 /* confdefs.h. */ 8291 _ACEOF 8292 cat confdefs.h >>conftest.$ac_ext 8293 cat >>conftest.$ac_ext <<_ACEOF 8294 /* end confdefs.h. */ 8295 #include <$ac_header> 8296 _ACEOF 8297 if { (ac_try="$ac_cpp conftest.$ac_ext" 8298 case "(($ac_try" in 8299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8300 *) ac_try_echo=$ac_try;; 8301 esac 8302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8304 ac_status=$? 8305 grep -v '^ *+' conftest.er1 >conftest.err 8306 rm -f conftest.er1 8307 cat conftest.err >&5 8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8309 (exit $ac_status); } >/dev/null && { 8310 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8311 test ! -s conftest.err 8312 }; then 8313 ac_header_preproc=yes 8314 else 8315 echo "$as_me: failed program was:" >&5 8316 sed 's/^/| /' conftest.$ac_ext >&5 8317 8318 ac_header_preproc=no 8319 fi 8320 8321 rm -f conftest.err conftest.$ac_ext 8322 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8323 echo "${ECHO_T}$ac_header_preproc" >&6; } 8324 8325 # So? What about this header? 8326 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8327 yes:no: ) 8328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8332 ac_header_preproc=yes 8333 ;; 8334 no:yes:* ) 8335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8347 ( cat <<\_ASBOX 8348 ## ----------------------------------- ## 8349 ## Report this to rappture@nanohub.org ## 8350 ## ----------------------------------- ## 8351 _ASBOX 8352 ) | sed "s/^/$as_me: WARNING: /" >&2 8353 ;; 8354 esac 8355 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8358 echo $ECHO_N "(cached) $ECHO_C" >&6 8359 else 8360 eval "$as_ac_Header=\$ac_header_preproc" 8361 fi 8362 ac_res=`eval echo '${'$as_ac_Header'}'` 8363 { echo "$as_me:$LINENO: result: $ac_res" >&5 8364 echo "${ECHO_T}$ac_res" >&6; } 8365 8366 fi 8367 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5246 do : 5247 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5248 if test "x$ac_cv_header_stddef_h" = xyes; then : 8368 5249 cat >>confdefs.h <<_ACEOF 8369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8370 _ACEOF 8371 8372 else 8373 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8374 echo "$as_me: WARNING: C headers missing ?" >&2;} 8375 fi 8376 8377 done 8378 5250 #define HAVE_STDDEF_H 1 5251 _ACEOF 5252 5253 else 5254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5255 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5256 fi 5257 5258 done 8379 5259 8380 5260 for ac_header in float.h 8381 do 8382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8384 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8387 echo $ECHO_N "(cached) $ECHO_C" >&6 8388 fi 8389 ac_res=`eval echo '${'$as_ac_Header'}'` 8390 { echo "$as_me:$LINENO: result: $ac_res" >&5 8391 echo "${ECHO_T}$ac_res" >&6; } 8392 else 8393 # Is the header compilable? 8394 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8396 cat >conftest.$ac_ext <<_ACEOF 8397 /* confdefs.h. */ 8398 _ACEOF 8399 cat confdefs.h >>conftest.$ac_ext 8400 cat >>conftest.$ac_ext <<_ACEOF 8401 /* end confdefs.h. */ 8402 $ac_includes_default 8403 #include <$ac_header> 8404 _ACEOF 8405 rm -f conftest.$ac_objext 8406 if { (ac_try="$ac_compile" 8407 case "(($ac_try" in 8408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8409 *) ac_try_echo=$ac_try;; 8410 esac 8411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8412 (eval "$ac_compile") 2>conftest.er1 8413 ac_status=$? 8414 grep -v '^ *+' conftest.er1 >conftest.err 8415 rm -f conftest.er1 8416 cat conftest.err >&5 8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8418 (exit $ac_status); } && { 8419 test -z "$ac_cxx_werror_flag" || 8420 test ! -s conftest.err 8421 } && test -s conftest.$ac_objext; then 8422 ac_header_compiler=yes 8423 else 8424 echo "$as_me: failed program was:" >&5 8425 sed 's/^/| /' conftest.$ac_ext >&5 8426 8427 ac_header_compiler=no 8428 fi 8429 8430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8431 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8432 echo "${ECHO_T}$ac_header_compiler" >&6; } 8433 8434 # Is the header present? 8435 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8437 cat >conftest.$ac_ext <<_ACEOF 8438 /* confdefs.h. */ 8439 _ACEOF 8440 cat confdefs.h >>conftest.$ac_ext 8441 cat >>conftest.$ac_ext <<_ACEOF 8442 /* end confdefs.h. */ 8443 #include <$ac_header> 8444 _ACEOF 8445 if { (ac_try="$ac_cpp conftest.$ac_ext" 8446 case "(($ac_try" in 8447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8448 *) ac_try_echo=$ac_try;; 8449 esac 8450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8452 ac_status=$? 8453 grep -v '^ *+' conftest.er1 >conftest.err 8454 rm -f conftest.er1 8455 cat conftest.err >&5 8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8457 (exit $ac_status); } >/dev/null && { 8458 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8459 test ! -s conftest.err 8460 }; then 8461 ac_header_preproc=yes 8462 else 8463 echo "$as_me: failed program was:" >&5 8464 sed 's/^/| /' conftest.$ac_ext >&5 8465 8466 ac_header_preproc=no 8467 fi 8468 8469 rm -f conftest.err conftest.$ac_ext 8470 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8471 echo "${ECHO_T}$ac_header_preproc" >&6; } 8472 8473 # So? What about this header? 8474 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8475 yes:no: ) 8476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8480 ac_header_preproc=yes 8481 ;; 8482 no:yes:* ) 8483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8495 ( cat <<\_ASBOX 8496 ## ----------------------------------- ## 8497 ## Report this to rappture@nanohub.org ## 8498 ## ----------------------------------- ## 8499 _ASBOX 8500 ) | sed "s/^/$as_me: WARNING: /" >&2 8501 ;; 8502 esac 8503 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8506 echo $ECHO_N "(cached) $ECHO_C" >&6 8507 else 8508 eval "$as_ac_Header=\$ac_header_preproc" 8509 fi 8510 ac_res=`eval echo '${'$as_ac_Header'}'` 8511 { echo "$as_me:$LINENO: result: $ac_res" >&5 8512 echo "${ECHO_T}$ac_res" >&6; } 8513 8514 fi 8515 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5261 do : 5262 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5263 if test "x$ac_cv_header_float_h" = xyes; then : 8516 5264 cat >>confdefs.h <<_ACEOF 8517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8518 _ACEOF 8519 8520 else 8521 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8522 echo "$as_me: WARNING: C headers missing ?" >&2;} 8523 fi 8524 8525 done 8526 5265 #define HAVE_FLOAT_H 1 5266 _ACEOF 5267 5268 else 5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5270 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5271 fi 5272 5273 done 8527 5274 8528 5275 for ac_header in math.h 8529 do 8530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8532 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8535 echo $ECHO_N "(cached) $ECHO_C" >&6 8536 fi 8537 ac_res=`eval echo '${'$as_ac_Header'}'` 8538 { echo "$as_me:$LINENO: result: $ac_res" >&5 8539 echo "${ECHO_T}$ac_res" >&6; } 8540 else 8541 # Is the header compilable? 8542 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8543 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8544 cat >conftest.$ac_ext <<_ACEOF 8545 /* confdefs.h. */ 8546 _ACEOF 8547 cat confdefs.h >>conftest.$ac_ext 8548 cat >>conftest.$ac_ext <<_ACEOF 8549 /* end confdefs.h. */ 8550 $ac_includes_default 8551 #include <$ac_header> 8552 _ACEOF 8553 rm -f conftest.$ac_objext 8554 if { (ac_try="$ac_compile" 8555 case "(($ac_try" in 8556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8557 *) ac_try_echo=$ac_try;; 8558 esac 8559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8560 (eval "$ac_compile") 2>conftest.er1 8561 ac_status=$? 8562 grep -v '^ *+' conftest.er1 >conftest.err 8563 rm -f conftest.er1 8564 cat conftest.err >&5 8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8566 (exit $ac_status); } && { 8567 test -z "$ac_cxx_werror_flag" || 8568 test ! -s conftest.err 8569 } && test -s conftest.$ac_objext; then 8570 ac_header_compiler=yes 8571 else 8572 echo "$as_me: failed program was:" >&5 8573 sed 's/^/| /' conftest.$ac_ext >&5 8574 8575 ac_header_compiler=no 8576 fi 8577 8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8579 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8580 echo "${ECHO_T}$ac_header_compiler" >&6; } 8581 8582 # Is the header present? 8583 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8585 cat >conftest.$ac_ext <<_ACEOF 8586 /* confdefs.h. */ 8587 _ACEOF 8588 cat confdefs.h >>conftest.$ac_ext 8589 cat >>conftest.$ac_ext <<_ACEOF 8590 /* end confdefs.h. */ 8591 #include <$ac_header> 8592 _ACEOF 8593 if { (ac_try="$ac_cpp conftest.$ac_ext" 8594 case "(($ac_try" in 8595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8596 *) ac_try_echo=$ac_try;; 8597 esac 8598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8600 ac_status=$? 8601 grep -v '^ *+' conftest.er1 >conftest.err 8602 rm -f conftest.er1 8603 cat conftest.err >&5 8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8605 (exit $ac_status); } >/dev/null && { 8606 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8607 test ! -s conftest.err 8608 }; then 8609 ac_header_preproc=yes 8610 else 8611 echo "$as_me: failed program was:" >&5 8612 sed 's/^/| /' conftest.$ac_ext >&5 8613 8614 ac_header_preproc=no 8615 fi 8616 8617 rm -f conftest.err conftest.$ac_ext 8618 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8619 echo "${ECHO_T}$ac_header_preproc" >&6; } 8620 8621 # So? What about this header? 8622 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8623 yes:no: ) 8624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8628 ac_header_preproc=yes 8629 ;; 8630 no:yes:* ) 8631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8643 ( cat <<\_ASBOX 8644 ## ----------------------------------- ## 8645 ## Report this to rappture@nanohub.org ## 8646 ## ----------------------------------- ## 8647 _ASBOX 8648 ) | sed "s/^/$as_me: WARNING: /" >&2 8649 ;; 8650 esac 8651 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8654 echo $ECHO_N "(cached) $ECHO_C" >&6 8655 else 8656 eval "$as_ac_Header=\$ac_header_preproc" 8657 fi 8658 ac_res=`eval echo '${'$as_ac_Header'}'` 8659 { echo "$as_me:$LINENO: result: $ac_res" >&5 8660 echo "${ECHO_T}$ac_res" >&6; } 8661 8662 fi 8663 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5276 do : 5277 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5278 if test "x$ac_cv_header_math_h" = xyes; then : 8664 5279 cat >>confdefs.h <<_ACEOF 8665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8666 _ACEOF 8667 8668 else 8669 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8670 echo "$as_me: WARNING: C headers missing ?" >&2;} 8671 fi 8672 8673 done 8674 5280 #define HAVE_MATH_H 1 5281 _ACEOF 5282 5283 else 5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5285 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5286 fi 5287 5288 done 8675 5289 8676 5290 for ac_header in malloc.h 8677 do 8678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8679 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8680 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8683 echo $ECHO_N "(cached) $ECHO_C" >&6 8684 fi 8685 ac_res=`eval echo '${'$as_ac_Header'}'` 8686 { echo "$as_me:$LINENO: result: $ac_res" >&5 8687 echo "${ECHO_T}$ac_res" >&6; } 8688 else 8689 # Is the header compilable? 8690 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8692 cat >conftest.$ac_ext <<_ACEOF 8693 /* confdefs.h. */ 8694 _ACEOF 8695 cat confdefs.h >>conftest.$ac_ext 8696 cat >>conftest.$ac_ext <<_ACEOF 8697 /* end confdefs.h. */ 8698 $ac_includes_default 8699 #include <$ac_header> 8700 _ACEOF 8701 rm -f conftest.$ac_objext 8702 if { (ac_try="$ac_compile" 8703 case "(($ac_try" in 8704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8705 *) ac_try_echo=$ac_try;; 8706 esac 8707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8708 (eval "$ac_compile") 2>conftest.er1 8709 ac_status=$? 8710 grep -v '^ *+' conftest.er1 >conftest.err 8711 rm -f conftest.er1 8712 cat conftest.err >&5 8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8714 (exit $ac_status); } && { 8715 test -z "$ac_cxx_werror_flag" || 8716 test ! -s conftest.err 8717 } && test -s conftest.$ac_objext; then 8718 ac_header_compiler=yes 8719 else 8720 echo "$as_me: failed program was:" >&5 8721 sed 's/^/| /' conftest.$ac_ext >&5 8722 8723 ac_header_compiler=no 8724 fi 8725 8726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8727 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8728 echo "${ECHO_T}$ac_header_compiler" >&6; } 8729 8730 # Is the header present? 8731 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8733 cat >conftest.$ac_ext <<_ACEOF 8734 /* confdefs.h. */ 8735 _ACEOF 8736 cat confdefs.h >>conftest.$ac_ext 8737 cat >>conftest.$ac_ext <<_ACEOF 8738 /* end confdefs.h. */ 8739 #include <$ac_header> 8740 _ACEOF 8741 if { (ac_try="$ac_cpp conftest.$ac_ext" 8742 case "(($ac_try" in 8743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8744 *) ac_try_echo=$ac_try;; 8745 esac 8746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8748 ac_status=$? 8749 grep -v '^ *+' conftest.er1 >conftest.err 8750 rm -f conftest.er1 8751 cat conftest.err >&5 8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8753 (exit $ac_status); } >/dev/null && { 8754 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8755 test ! -s conftest.err 8756 }; then 8757 ac_header_preproc=yes 8758 else 8759 echo "$as_me: failed program was:" >&5 8760 sed 's/^/| /' conftest.$ac_ext >&5 8761 8762 ac_header_preproc=no 8763 fi 8764 8765 rm -f conftest.err conftest.$ac_ext 8766 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8767 echo "${ECHO_T}$ac_header_preproc" >&6; } 8768 8769 # So? What about this header? 8770 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8771 yes:no: ) 8772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8776 ac_header_preproc=yes 8777 ;; 8778 no:yes:* ) 8779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8791 ( cat <<\_ASBOX 8792 ## ----------------------------------- ## 8793 ## Report this to rappture@nanohub.org ## 8794 ## ----------------------------------- ## 8795 _ASBOX 8796 ) | sed "s/^/$as_me: WARNING: /" >&2 8797 ;; 8798 esac 8799 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8802 echo $ECHO_N "(cached) $ECHO_C" >&6 8803 else 8804 eval "$as_ac_Header=\$ac_header_preproc" 8805 fi 8806 ac_res=`eval echo '${'$as_ac_Header'}'` 8807 { echo "$as_me:$LINENO: result: $ac_res" >&5 8808 echo "${ECHO_T}$ac_res" >&6; } 8809 8810 fi 8811 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5291 do : 5292 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5293 if test "x$ac_cv_header_malloc_h" = xyes; then : 8812 5294 cat >>confdefs.h <<_ACEOF 8813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8814 _ACEOF 8815 8816 else 8817 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8818 echo "$as_me: WARNING: C headers missing ?" >&2;} 8819 fi 8820 8821 done 8822 5295 #define HAVE_MALLOC_H 1 5296 _ACEOF 5297 5298 else 5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5300 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5301 fi 5302 5303 done 8823 5304 8824 5305 for ac_header in memory.h 8825 do 8826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8827 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8828 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8830 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8831 echo $ECHO_N "(cached) $ECHO_C" >&6 8832 fi 8833 ac_res=`eval echo '${'$as_ac_Header'}'` 8834 { echo "$as_me:$LINENO: result: $ac_res" >&5 8835 echo "${ECHO_T}$ac_res" >&6; } 8836 else 8837 # Is the header compilable? 8838 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8840 cat >conftest.$ac_ext <<_ACEOF 8841 /* confdefs.h. */ 8842 _ACEOF 8843 cat confdefs.h >>conftest.$ac_ext 8844 cat >>conftest.$ac_ext <<_ACEOF 8845 /* end confdefs.h. */ 8846 $ac_includes_default 8847 #include <$ac_header> 8848 _ACEOF 8849 rm -f conftest.$ac_objext 8850 if { (ac_try="$ac_compile" 8851 case "(($ac_try" in 8852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8853 *) ac_try_echo=$ac_try;; 8854 esac 8855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8856 (eval "$ac_compile") 2>conftest.er1 8857 ac_status=$? 8858 grep -v '^ *+' conftest.er1 >conftest.err 8859 rm -f conftest.er1 8860 cat conftest.err >&5 8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8862 (exit $ac_status); } && { 8863 test -z "$ac_cxx_werror_flag" || 8864 test ! -s conftest.err 8865 } && test -s conftest.$ac_objext; then 8866 ac_header_compiler=yes 8867 else 8868 echo "$as_me: failed program was:" >&5 8869 sed 's/^/| /' conftest.$ac_ext >&5 8870 8871 ac_header_compiler=no 8872 fi 8873 8874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8875 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8876 echo "${ECHO_T}$ac_header_compiler" >&6; } 8877 8878 # Is the header present? 8879 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8881 cat >conftest.$ac_ext <<_ACEOF 8882 /* confdefs.h. */ 8883 _ACEOF 8884 cat confdefs.h >>conftest.$ac_ext 8885 cat >>conftest.$ac_ext <<_ACEOF 8886 /* end confdefs.h. */ 8887 #include <$ac_header> 8888 _ACEOF 8889 if { (ac_try="$ac_cpp conftest.$ac_ext" 8890 case "(($ac_try" in 8891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8892 *) ac_try_echo=$ac_try;; 8893 esac 8894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8896 ac_status=$? 8897 grep -v '^ *+' conftest.er1 >conftest.err 8898 rm -f conftest.er1 8899 cat conftest.err >&5 8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8901 (exit $ac_status); } >/dev/null && { 8902 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8903 test ! -s conftest.err 8904 }; then 8905 ac_header_preproc=yes 8906 else 8907 echo "$as_me: failed program was:" >&5 8908 sed 's/^/| /' conftest.$ac_ext >&5 8909 8910 ac_header_preproc=no 8911 fi 8912 8913 rm -f conftest.err conftest.$ac_ext 8914 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8915 echo "${ECHO_T}$ac_header_preproc" >&6; } 8916 8917 # So? What about this header? 8918 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8919 yes:no: ) 8920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8924 ac_header_preproc=yes 8925 ;; 8926 no:yes:* ) 8927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8939 ( cat <<\_ASBOX 8940 ## ----------------------------------- ## 8941 ## Report this to rappture@nanohub.org ## 8942 ## ----------------------------------- ## 8943 _ASBOX 8944 ) | sed "s/^/$as_me: WARNING: /" >&2 8945 ;; 8946 esac 8947 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8950 echo $ECHO_N "(cached) $ECHO_C" >&6 8951 else 8952 eval "$as_ac_Header=\$ac_header_preproc" 8953 fi 8954 ac_res=`eval echo '${'$as_ac_Header'}'` 8955 { echo "$as_me:$LINENO: result: $ac_res" >&5 8956 echo "${ECHO_T}$ac_res" >&6; } 8957 8958 fi 8959 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5306 do : 5307 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5308 if test "x$ac_cv_header_memory_h" = xyes; then : 8960 5309 cat >>confdefs.h <<_ACEOF 8961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8962 _ACEOF 8963 8964 else 8965 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8966 echo "$as_me: WARNING: C headers missing ?" >&2;} 8967 fi 8968 8969 done 8970 5310 #define HAVE_MEMORY_H 1 5311 _ACEOF 5312 5313 else 5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5315 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5316 fi 5317 5318 done 8971 5319 8972 5320 for ac_header in unistd.h 8973 do 8974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8976 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8979 echo $ECHO_N "(cached) $ECHO_C" >&6 8980 fi 8981 ac_res=`eval echo '${'$as_ac_Header'}'` 8982 { echo "$as_me:$LINENO: result: $ac_res" >&5 8983 echo "${ECHO_T}$ac_res" >&6; } 8984 else 8985 # Is the header compilable? 8986 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8988 cat >conftest.$ac_ext <<_ACEOF 8989 /* confdefs.h. */ 8990 _ACEOF 8991 cat confdefs.h >>conftest.$ac_ext 8992 cat >>conftest.$ac_ext <<_ACEOF 8993 /* end confdefs.h. */ 8994 $ac_includes_default 8995 #include <$ac_header> 8996 _ACEOF 8997 rm -f conftest.$ac_objext 8998 if { (ac_try="$ac_compile" 8999 case "(($ac_try" in 9000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9001 *) ac_try_echo=$ac_try;; 9002 esac 9003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9004 (eval "$ac_compile") 2>conftest.er1 9005 ac_status=$? 9006 grep -v '^ *+' conftest.er1 >conftest.err 9007 rm -f conftest.er1 9008 cat conftest.err >&5 9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9010 (exit $ac_status); } && { 9011 test -z "$ac_cxx_werror_flag" || 9012 test ! -s conftest.err 9013 } && test -s conftest.$ac_objext; then 9014 ac_header_compiler=yes 9015 else 9016 echo "$as_me: failed program was:" >&5 9017 sed 's/^/| /' conftest.$ac_ext >&5 9018 9019 ac_header_compiler=no 9020 fi 9021 9022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9023 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9024 echo "${ECHO_T}$ac_header_compiler" >&6; } 9025 9026 # Is the header present? 9027 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9028 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9029 cat >conftest.$ac_ext <<_ACEOF 9030 /* confdefs.h. */ 9031 _ACEOF 9032 cat confdefs.h >>conftest.$ac_ext 9033 cat >>conftest.$ac_ext <<_ACEOF 9034 /* end confdefs.h. */ 9035 #include <$ac_header> 9036 _ACEOF 9037 if { (ac_try="$ac_cpp conftest.$ac_ext" 9038 case "(($ac_try" in 9039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9040 *) ac_try_echo=$ac_try;; 9041 esac 9042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9044 ac_status=$? 9045 grep -v '^ *+' conftest.er1 >conftest.err 9046 rm -f conftest.er1 9047 cat conftest.err >&5 9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9049 (exit $ac_status); } >/dev/null && { 9050 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9051 test ! -s conftest.err 9052 }; then 9053 ac_header_preproc=yes 9054 else 9055 echo "$as_me: failed program was:" >&5 9056 sed 's/^/| /' conftest.$ac_ext >&5 9057 9058 ac_header_preproc=no 9059 fi 9060 9061 rm -f conftest.err conftest.$ac_ext 9062 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9063 echo "${ECHO_T}$ac_header_preproc" >&6; } 9064 9065 # So? What about this header? 9066 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9067 yes:no: ) 9068 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9069 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9071 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9072 ac_header_preproc=yes 9073 ;; 9074 no:yes:* ) 9075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9079 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9080 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9081 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9082 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9085 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9086 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9087 ( cat <<\_ASBOX 9088 ## ----------------------------------- ## 9089 ## Report this to rappture@nanohub.org ## 9090 ## ----------------------------------- ## 9091 _ASBOX 9092 ) | sed "s/^/$as_me: WARNING: /" >&2 9093 ;; 9094 esac 9095 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9098 echo $ECHO_N "(cached) $ECHO_C" >&6 9099 else 9100 eval "$as_ac_Header=\$ac_header_preproc" 9101 fi 9102 ac_res=`eval echo '${'$as_ac_Header'}'` 9103 { echo "$as_me:$LINENO: result: $ac_res" >&5 9104 echo "${ECHO_T}$ac_res" >&6; } 9105 9106 fi 9107 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5321 do : 5322 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5323 if test "x$ac_cv_header_unistd_h" = xyes; then : 9108 5324 cat >>confdefs.h <<_ACEOF 9109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9110 _ACEOF 9111 9112 else 9113 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 9114 echo "$as_me: WARNING: C headers missing ?" >&2;} 9115 fi 9116 9117 done 9118 5325 #define HAVE_UNISTD_H 1 5326 _ACEOF 5327 5328 else 5329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5330 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5331 fi 5332 5333 done 9119 5334 9120 5335 9121 5336 for ac_header in inttypes.h 9122 do 9123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9125 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9128 echo $ECHO_N "(cached) $ECHO_C" >&6 9129 fi 9130 ac_res=`eval echo '${'$as_ac_Header'}'` 9131 { echo "$as_me:$LINENO: result: $ac_res" >&5 9132 echo "${ECHO_T}$ac_res" >&6; } 9133 else 9134 # Is the header compilable? 9135 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9136 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9137 cat >conftest.$ac_ext <<_ACEOF 9138 /* confdefs.h. */ 9139 _ACEOF 9140 cat confdefs.h >>conftest.$ac_ext 9141 cat >>conftest.$ac_ext <<_ACEOF 9142 /* end confdefs.h. */ 9143 $ac_includes_default 9144 #include <$ac_header> 9145 _ACEOF 9146 rm -f conftest.$ac_objext 9147 if { (ac_try="$ac_compile" 9148 case "(($ac_try" in 9149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9150 *) ac_try_echo=$ac_try;; 9151 esac 9152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9153 (eval "$ac_compile") 2>conftest.er1 9154 ac_status=$? 9155 grep -v '^ *+' conftest.er1 >conftest.err 9156 rm -f conftest.er1 9157 cat conftest.err >&5 9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9159 (exit $ac_status); } && { 9160 test -z "$ac_cxx_werror_flag" || 9161 test ! -s conftest.err 9162 } && test -s conftest.$ac_objext; then 9163 ac_header_compiler=yes 9164 else 9165 echo "$as_me: failed program was:" >&5 9166 sed 's/^/| /' conftest.$ac_ext >&5 9167 9168 ac_header_compiler=no 9169 fi 9170 9171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9172 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9173 echo "${ECHO_T}$ac_header_compiler" >&6; } 9174 9175 # Is the header present? 9176 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9178 cat >conftest.$ac_ext <<_ACEOF 9179 /* confdefs.h. */ 9180 _ACEOF 9181 cat confdefs.h >>conftest.$ac_ext 9182 cat >>conftest.$ac_ext <<_ACEOF 9183 /* end confdefs.h. */ 9184 #include <$ac_header> 9185 _ACEOF 9186 if { (ac_try="$ac_cpp conftest.$ac_ext" 9187 case "(($ac_try" in 9188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9189 *) ac_try_echo=$ac_try;; 9190 esac 9191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9192 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9193 ac_status=$? 9194 grep -v '^ *+' conftest.er1 >conftest.err 9195 rm -f conftest.er1 9196 cat conftest.err >&5 9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9198 (exit $ac_status); } >/dev/null && { 9199 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9200 test ! -s conftest.err 9201 }; then 9202 ac_header_preproc=yes 9203 else 9204 echo "$as_me: failed program was:" >&5 9205 sed 's/^/| /' conftest.$ac_ext >&5 9206 9207 ac_header_preproc=no 9208 fi 9209 9210 rm -f conftest.err conftest.$ac_ext 9211 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9212 echo "${ECHO_T}$ac_header_preproc" >&6; } 9213 9214 # So? What about this header? 9215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9216 yes:no: ) 9217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9221 ac_header_preproc=yes 9222 ;; 9223 no:yes:* ) 9224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9236 ( cat <<\_ASBOX 9237 ## ----------------------------------- ## 9238 ## Report this to rappture@nanohub.org ## 9239 ## ----------------------------------- ## 9240 _ASBOX 9241 ) | sed "s/^/$as_me: WARNING: /" >&2 9242 ;; 9243 esac 9244 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9247 echo $ECHO_N "(cached) $ECHO_C" >&6 9248 else 9249 eval "$as_ac_Header=\$ac_header_preproc" 9250 fi 9251 ac_res=`eval echo '${'$as_ac_Header'}'` 9252 { echo "$as_me:$LINENO: result: $ac_res" >&5 9253 echo "${ECHO_T}$ac_res" >&6; } 9254 9255 fi 9256 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5337 do : 5338 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5339 if test "x$ac_cv_header_inttypes_h" = xyes; then : 9257 5340 cat >>confdefs.h <<_ACEOF 9258 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19259 _ACEOF 9260 9261 else 9262 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59263 echo "$as_me: WARNING: C headers missing ?" >&2;}5341 #define HAVE_INTTYPES_H 1 5342 _ACEOF 5343 5344 else 5345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5346 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9264 5347 fi 9265 5348 … … 9278 5361 # Step 0.a: Enable 64 bit support? 9279 5362 9280 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&59281 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 5364 $as_echo_n "checking if 64bit support is requested... " >&6; } 9282 5365 # Check whether --enable-64bit was given. 9283 if test "${enable_64bit+set}" = set; then 5366 if test "${enable_64bit+set}" = set; then : 9284 5367 enableval=$enable_64bit; do64bit=$enableval 9285 5368 else … … 9287 5370 fi 9288 5371 9289 { echo "$as_me:$LINENO: result: $do64bit" >&59290 echo "${ECHO_T}$do64bit" >&6; }5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 5373 $as_echo "$do64bit" >&6; } 9291 5374 9292 5375 # Step 0.b: Enable Solaris 64 bit VIS support? 9293 5376 9294 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&59295 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 5378 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9296 5379 # Check whether --enable-64bit-vis was given. 9297 if test "${enable_64bit_vis+set}" = set; then 5380 if test "${enable_64bit_vis+set}" = set; then : 9298 5381 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9299 5382 else … … 9301 5384 fi 9302 5385 9303 { echo "$as_me:$LINENO: result: $do64bitVIS" >&59304 echo "${ECHO_T}$do64bitVIS" >&6; }5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 5387 $as_echo "$do64bitVIS" >&6; } 9305 5388 9306 5389 if test "$do64bitVIS" = "yes"; then … … 9313 5396 9314 5397 9315 { echo "$as_me:$LINENO: checking system version" >&59316 echo $ECHO_N "checking system version... $ECHO_C" >&6; }9317 if test "${tcl_cv_sys_version+set}" = set; then9318 echo $ECHO_N "(cached) $ECHO_C" >&65398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 5399 $as_echo_n "checking system version... " >&6; } 5400 if ${tcl_cv_sys_version+:} false; then : 5401 $as_echo_n "(cached) " >&6 9319 5402 else 9320 5403 … … 9324 5407 tcl_cv_sys_version=`uname -s`-`uname -r` 9325 5408 if test "$?" -ne 0 ; then 9326 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&59327 echo "$as_me: WARNING: can't find uname command" >&2;}5409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 5410 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9328 5411 tcl_cv_sys_version=unknown 9329 5412 else … … 9341 5424 9342 5425 fi 9343 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&59344 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 5427 $as_echo "$tcl_cv_sys_version" >&6; } 9345 5428 system=$tcl_cv_sys_version 9346 5429 … … 9349 5432 # Linux can use either -ldl or -ldld for dynamic loading. 9350 5433 9351 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&59352 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }9353 if test "${ac_cv_lib_dl_dlopen+set}" = set; then9354 echo $ECHO_N "(cached) $ECHO_C" >&65434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5435 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5436 if ${ac_cv_lib_dl_dlopen+:} false; then : 5437 $as_echo_n "(cached) " >&6 9355 5438 else 9356 5439 ac_check_lib_save_LIBS=$LIBS 9357 5440 LIBS="-ldl $LIBS" 9358 cat >conftest.$ac_ext <<_ACEOF 9359 /* confdefs.h. */ 9360 _ACEOF 9361 cat confdefs.h >>conftest.$ac_ext 9362 cat >>conftest.$ac_ext <<_ACEOF 5441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9363 5442 /* end confdefs.h. */ 9364 5443 … … 9378 5457 } 9379 5458 _ACEOF 9380 rm -f conftest.$ac_objext conftest$ac_exeext 9381 if { (ac_try="$ac_link" 9382 case "(($ac_try" in 9383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9384 *) ac_try_echo=$ac_try;; 9385 esac 9386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9387 (eval "$ac_link") 2>conftest.er1 9388 ac_status=$? 9389 grep -v '^ *+' conftest.er1 >conftest.err 9390 rm -f conftest.er1 9391 cat conftest.err >&5 9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9393 (exit $ac_status); } && { 9394 test -z "$ac_cxx_werror_flag" || 9395 test ! -s conftest.err 9396 } && test -s conftest$ac_exeext && 9397 $as_test_x conftest$ac_exeext; then 5459 if ac_fn_cxx_try_link "$LINENO"; then : 9398 5460 ac_cv_lib_dl_dlopen=yes 9399 5461 else 9400 echo "$as_me: failed program was:" >&5 9401 sed 's/^/| /' conftest.$ac_ext >&5 9402 9403 ac_cv_lib_dl_dlopen=no 9404 fi 9405 9406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9407 conftest$ac_exeext conftest.$ac_ext 5462 ac_cv_lib_dl_dlopen=no 5463 fi 5464 rm -f core conftest.err conftest.$ac_objext \ 5465 conftest$ac_exeext conftest.$ac_ext 9408 5466 LIBS=$ac_check_lib_save_LIBS 9409 5467 fi 9410 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&59411 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }9412 if test $ac_cv_lib_dl_dlopen = yes; then5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5469 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5470 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 9413 5471 have_dl=yes 9414 5472 else … … 9442 5500 # Extract the first word of "ar", so it can be a program name with args. 9443 5501 set dummy ar; ac_word=$2 9444 { echo "$as_me:$LINENO: checking for $ac_word" >&59445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }9446 if test "${ac_cv_prog_AR+set}" = set; then9447 echo $ECHO_N "(cached) $ECHO_C" >&65502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5503 $as_echo_n "checking for $ac_word... " >&6; } 5504 if ${ac_cv_prog_AR+:} false; then : 5505 $as_echo_n "(cached) " >&6 9448 5506 else 9449 5507 if test -n "$AR"; then … … 9455 5513 IFS=$as_save_IFS 9456 5514 test -z "$as_dir" && as_dir=. 9457 for ac_exec_ext in '' $ac_executable_extensions; do5515 for ac_exec_ext in '' $ac_executable_extensions; do 9458 5516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9459 5517 ac_cv_prog_AR="ar" 9460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9461 5519 break 2 9462 5520 fi 9463 5521 done 9464 done5522 done 9465 5523 IFS=$as_save_IFS 9466 5524 … … 9469 5527 AR=$ac_cv_prog_AR 9470 5528 if test -n "$AR"; then 9471 { echo "$as_me:$LINENO: result: $AR" >&59472 echo "${ECHO_T}$AR" >&6; }9473 else 9474 { echo "$as_me:$LINENO: result: no" >&59475 echo "${ECHO_T}no" >&6; }5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5530 $as_echo "$AR" >&6; } 5531 else 5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5533 $as_echo "no" >&6; } 9476 5534 fi 9477 5535 9478 5536 9479 5537 if test "${AR}" = "" ; then 9480 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9481 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9482 { (exit 1); exit 1; }; } 5538 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9483 5539 fi 9484 5540 STLIB_LD='${AR} cr' … … 9498 5554 ;; 9499 5555 esac 9500 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&59501 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 5557 $as_echo "Using $CC for compiling with threads" >&6; } 9502 5558 fi 9503 5559 LIBS="$LIBS -lc" … … 9514 5570 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 9515 5571 if test "$GCC" = "yes" ; then 9516 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59517 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5573 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9518 5574 else 9519 5575 do64bit_ok=yes … … 9569 5625 # known GMT value. 9570 5626 9571 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&59572 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }9573 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then9574 echo $ECHO_N "(cached) $ECHO_C" >&65627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 5628 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5629 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 5630 $as_echo_n "(cached) " >&6 9575 5631 else 9576 5632 ac_check_lib_save_LIBS=$LIBS 9577 5633 LIBS="-lbsd $LIBS" 9578 cat >conftest.$ac_ext <<_ACEOF 9579 /* confdefs.h. */ 9580 _ACEOF 9581 cat confdefs.h >>conftest.$ac_ext 9582 cat >>conftest.$ac_ext <<_ACEOF 5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9583 5635 /* end confdefs.h. */ 9584 5636 … … 9598 5650 } 9599 5651 _ACEOF 9600 rm -f conftest.$ac_objext conftest$ac_exeext 9601 if { (ac_try="$ac_link" 9602 case "(($ac_try" in 9603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9604 *) ac_try_echo=$ac_try;; 9605 esac 9606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9607 (eval "$ac_link") 2>conftest.er1 9608 ac_status=$? 9609 grep -v '^ *+' conftest.er1 >conftest.err 9610 rm -f conftest.er1 9611 cat conftest.err >&5 9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9613 (exit $ac_status); } && { 9614 test -z "$ac_cxx_werror_flag" || 9615 test ! -s conftest.err 9616 } && test -s conftest$ac_exeext && 9617 $as_test_x conftest$ac_exeext; then 5652 if ac_fn_cxx_try_link "$LINENO"; then : 9618 5653 ac_cv_lib_bsd_gettimeofday=yes 9619 5654 else 9620 echo "$as_me: failed program was:" >&5 9621 sed 's/^/| /' conftest.$ac_ext >&5 9622 9623 ac_cv_lib_bsd_gettimeofday=no 9624 fi 9625 9626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9627 conftest$ac_exeext conftest.$ac_ext 5655 ac_cv_lib_bsd_gettimeofday=no 5656 fi 5657 rm -f core conftest.err conftest.$ac_objext \ 5658 conftest$ac_exeext conftest.$ac_ext 9628 5659 LIBS=$ac_check_lib_save_LIBS 9629 5660 fi 9630 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&59631 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }9632 if test $ac_cv_lib_bsd_gettimeofday = yes; then5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 5662 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5663 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 9633 5664 libbsd=yes 9634 5665 else … … 9638 5669 if test $libbsd = yes; then 9639 5670 MATH_LIBS="$MATH_LIBS -lbsd" 9640 cat >>confdefs.h <<\_ACEOF 9641 #define USE_DELTA_FOR_TZ 1 9642 _ACEOF 5671 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9643 5672 9644 5673 fi … … 9657 5686 # is always linked to, for compatibility. 9658 5687 #----------------------------------------------------------- 9659 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&59660 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }9661 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then9662 echo $ECHO_N "(cached) $ECHO_C" >&65688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 5689 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5690 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 5691 $as_echo_n "(cached) " >&6 9663 5692 else 9664 5693 ac_check_lib_save_LIBS=$LIBS 9665 5694 LIBS="-lbind $LIBS" 9666 cat >conftest.$ac_ext <<_ACEOF 9667 /* confdefs.h. */ 9668 _ACEOF 9669 cat confdefs.h >>conftest.$ac_ext 9670 cat >>conftest.$ac_ext <<_ACEOF 5695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9671 5696 /* end confdefs.h. */ 9672 5697 … … 9686 5711 } 9687 5712 _ACEOF 9688 rm -f conftest.$ac_objext conftest$ac_exeext 9689 if { (ac_try="$ac_link" 9690 case "(($ac_try" in 9691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9692 *) ac_try_echo=$ac_try;; 9693 esac 9694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9695 (eval "$ac_link") 2>conftest.er1 9696 ac_status=$? 9697 grep -v '^ *+' conftest.er1 >conftest.err 9698 rm -f conftest.er1 9699 cat conftest.err >&5 9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9701 (exit $ac_status); } && { 9702 test -z "$ac_cxx_werror_flag" || 9703 test ! -s conftest.err 9704 } && test -s conftest$ac_exeext && 9705 $as_test_x conftest$ac_exeext; then 5713 if ac_fn_cxx_try_link "$LINENO"; then : 9706 5714 ac_cv_lib_bind_inet_ntoa=yes 9707 5715 else 9708 echo "$as_me: failed program was:" >&5 9709 sed 's/^/| /' conftest.$ac_ext >&5 9710 9711 ac_cv_lib_bind_inet_ntoa=no 9712 fi 9713 9714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9715 conftest$ac_exeext conftest.$ac_ext 5716 ac_cv_lib_bind_inet_ntoa=no 5717 fi 5718 rm -f core conftest.err conftest.$ac_objext \ 5719 conftest$ac_exeext conftest.$ac_ext 9716 5720 LIBS=$ac_check_lib_save_LIBS 9717 5721 fi 9718 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&59719 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }9720 if test $ac_cv_lib_bind_inet_ntoa = yes; then5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 5723 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5724 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 9721 5725 LIBS="$LIBS -lbind -lsocket" 9722 5726 fi … … 9756 5760 HP-UX-*.11.*) 9757 5761 # Use updated header definitions where possible 9758 cat >>confdefs.h <<\_ACEOF 9759 #define _XOPEN_SOURCE 1 9760 _ACEOF 5762 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9761 5763 # Use the XOPEN network library 9762 cat >>confdefs.h <<\_ACEOF 9763 #define _XOPEN_SOURCE_EXTENDED 1 9764 _ACEOF 5764 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9765 5765 # Use the XOPEN network library 9766 5766 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 9771 5771 SHLIB_SUFFIX=".sl" 9772 5772 fi 9773 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59774 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9775 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9776 echo $ECHO_N "(cached) $ECHO_C" >&65773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5774 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5775 if ${ac_cv_lib_dld_shl_load+:} false; then : 5776 $as_echo_n "(cached) " >&6 9777 5777 else 9778 5778 ac_check_lib_save_LIBS=$LIBS 9779 5779 LIBS="-ldld $LIBS" 9780 cat >conftest.$ac_ext <<_ACEOF 9781 /* confdefs.h. */ 9782 _ACEOF 9783 cat confdefs.h >>conftest.$ac_ext 9784 cat >>conftest.$ac_ext <<_ACEOF 5780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9785 5781 /* end confdefs.h. */ 9786 5782 … … 9800 5796 } 9801 5797 _ACEOF 9802 rm -f conftest.$ac_objext conftest$ac_exeext 9803 if { (ac_try="$ac_link" 9804 case "(($ac_try" in 9805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9806 *) ac_try_echo=$ac_try;; 9807 esac 9808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9809 (eval "$ac_link") 2>conftest.er1 9810 ac_status=$? 9811 grep -v '^ *+' conftest.er1 >conftest.err 9812 rm -f conftest.er1 9813 cat conftest.err >&5 9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9815 (exit $ac_status); } && { 9816 test -z "$ac_cxx_werror_flag" || 9817 test ! -s conftest.err 9818 } && test -s conftest$ac_exeext && 9819 $as_test_x conftest$ac_exeext; then 5798 if ac_fn_cxx_try_link "$LINENO"; then : 9820 5799 ac_cv_lib_dld_shl_load=yes 9821 5800 else 9822 echo "$as_me: failed program was:" >&5 9823 sed 's/^/| /' conftest.$ac_ext >&5 9824 9825 ac_cv_lib_dld_shl_load=no 9826 fi 9827 9828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9829 conftest$ac_exeext conftest.$ac_ext 5801 ac_cv_lib_dld_shl_load=no 5802 fi 5803 rm -f core conftest.err conftest.$ac_objext \ 5804 conftest$ac_exeext conftest.$ac_ext 9830 5805 LIBS=$ac_check_lib_save_LIBS 9831 5806 fi 9832 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59833 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9834 if test $ac_cv_lib_dld_shl_load = yes; then5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5808 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5809 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9835 5810 tcl_ok=yes 9836 5811 else … … 9872 5847 ;; 9873 5848 *) 9874 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59875 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5850 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9876 5851 ;; 9877 5852 esac … … 9885 5860 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 9886 5861 SHLIB_SUFFIX=".sl" 9887 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59888 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9889 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9890 echo $ECHO_N "(cached) $ECHO_C" >&65862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5863 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5864 if ${ac_cv_lib_dld_shl_load+:} false; then : 5865 $as_echo_n "(cached) " >&6 9891 5866 else 9892 5867 ac_check_lib_save_LIBS=$LIBS 9893 5868 LIBS="-ldld $LIBS" 9894 cat >conftest.$ac_ext <<_ACEOF 9895 /* confdefs.h. */ 9896 _ACEOF 9897 cat confdefs.h >>conftest.$ac_ext 9898 cat >>conftest.$ac_ext <<_ACEOF 5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9899 5870 /* end confdefs.h. */ 9900 5871 … … 9914 5885 } 9915 5886 _ACEOF 9916 rm -f conftest.$ac_objext conftest$ac_exeext 9917 if { (ac_try="$ac_link" 9918 case "(($ac_try" in 9919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9920 *) ac_try_echo=$ac_try;; 9921 esac 9922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9923 (eval "$ac_link") 2>conftest.er1 9924 ac_status=$? 9925 grep -v '^ *+' conftest.er1 >conftest.err 9926 rm -f conftest.er1 9927 cat conftest.err >&5 9928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9929 (exit $ac_status); } && { 9930 test -z "$ac_cxx_werror_flag" || 9931 test ! -s conftest.err 9932 } && test -s conftest$ac_exeext && 9933 $as_test_x conftest$ac_exeext; then 5887 if ac_fn_cxx_try_link "$LINENO"; then : 9934 5888 ac_cv_lib_dld_shl_load=yes 9935 5889 else 9936 echo "$as_me: failed program was:" >&5 9937 sed 's/^/| /' conftest.$ac_ext >&5 9938 9939 ac_cv_lib_dld_shl_load=no 9940 fi 9941 9942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9943 conftest$ac_exeext conftest.$ac_ext 5890 ac_cv_lib_dld_shl_load=no 5891 fi 5892 rm -f core conftest.err conftest.$ac_objext \ 5893 conftest$ac_exeext conftest.$ac_ext 9944 5894 LIBS=$ac_check_lib_save_LIBS 9945 5895 fi 9946 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59947 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9948 if test $ac_cv_lib_dld_shl_load = yes; then5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5897 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5898 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9949 5899 tcl_ok=yes 9950 5900 else … … 10025 5975 if test "$do64bit" = "yes" ; then 10026 5976 if test "$GCC" = "yes" ; then 10027 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&510028 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}5977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 5978 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10029 5979 else 10030 5980 do64bit_ok=yes … … 10054 6004 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10055 6005 else 10056 if test "${ac_cv_header_dld_h+set}" = set; then 10057 { echo "$as_me:$LINENO: checking for dld.h" >&5 10058 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10059 if test "${ac_cv_header_dld_h+set}" = set; then 10060 echo $ECHO_N "(cached) $ECHO_C" >&6 10061 fi 10062 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10063 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10064 else 10065 # Is the header compilable? 10066 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10067 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10068 cat >conftest.$ac_ext <<_ACEOF 10069 /* confdefs.h. */ 10070 _ACEOF 10071 cat confdefs.h >>conftest.$ac_ext 10072 cat >>conftest.$ac_ext <<_ACEOF 10073 /* end confdefs.h. */ 10074 $ac_includes_default 10075 #include <dld.h> 10076 _ACEOF 10077 rm -f conftest.$ac_objext 10078 if { (ac_try="$ac_compile" 10079 case "(($ac_try" in 10080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10081 *) ac_try_echo=$ac_try;; 10082 esac 10083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10084 (eval "$ac_compile") 2>conftest.er1 10085 ac_status=$? 10086 grep -v '^ *+' conftest.er1 >conftest.err 10087 rm -f conftest.er1 10088 cat conftest.err >&5 10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10090 (exit $ac_status); } && { 10091 test -z "$ac_cxx_werror_flag" || 10092 test ! -s conftest.err 10093 } && test -s conftest.$ac_objext; then 10094 ac_header_compiler=yes 10095 else 10096 echo "$as_me: failed program was:" >&5 10097 sed 's/^/| /' conftest.$ac_ext >&5 10098 10099 ac_header_compiler=no 10100 fi 10101 10102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10103 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10104 echo "${ECHO_T}$ac_header_compiler" >&6; } 10105 10106 # Is the header present? 10107 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10108 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10109 cat >conftest.$ac_ext <<_ACEOF 10110 /* confdefs.h. */ 10111 _ACEOF 10112 cat confdefs.h >>conftest.$ac_ext 10113 cat >>conftest.$ac_ext <<_ACEOF 10114 /* end confdefs.h. */ 10115 #include <dld.h> 10116 _ACEOF 10117 if { (ac_try="$ac_cpp conftest.$ac_ext" 10118 case "(($ac_try" in 10119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10120 *) ac_try_echo=$ac_try;; 10121 esac 10122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10124 ac_status=$? 10125 grep -v '^ *+' conftest.er1 >conftest.err 10126 rm -f conftest.er1 10127 cat conftest.err >&5 10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10129 (exit $ac_status); } >/dev/null && { 10130 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10131 test ! -s conftest.err 10132 }; then 10133 ac_header_preproc=yes 10134 else 10135 echo "$as_me: failed program was:" >&5 10136 sed 's/^/| /' conftest.$ac_ext >&5 10137 10138 ac_header_preproc=no 10139 fi 10140 10141 rm -f conftest.err conftest.$ac_ext 10142 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10143 echo "${ECHO_T}$ac_header_preproc" >&6; } 10144 10145 # So? What about this header? 10146 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10147 yes:no: ) 10148 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10149 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10150 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10151 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10152 ac_header_preproc=yes 10153 ;; 10154 no:yes:* ) 10155 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10156 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10157 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10158 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10159 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10160 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10161 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10162 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10163 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10164 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10165 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10166 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10167 ( cat <<\_ASBOX 10168 ## ----------------------------------- ## 10169 ## Report this to rappture@nanohub.org ## 10170 ## ----------------------------------- ## 10171 _ASBOX 10172 ) | sed "s/^/$as_me: WARNING: /" >&2 10173 ;; 10174 esac 10175 { echo "$as_me:$LINENO: checking for dld.h" >&5 10176 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10177 if test "${ac_cv_header_dld_h+set}" = set; then 10178 echo $ECHO_N "(cached) $ECHO_C" >&6 10179 else 10180 ac_cv_header_dld_h=$ac_header_preproc 10181 fi 10182 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10183 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10184 10185 fi 10186 if test $ac_cv_header_dld_h = yes; then 6006 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6007 if test "x$ac_cv_header_dld_h" = xyes; then : 10187 6008 10188 6009 SHLIB_LD="ld -shared" … … 10199 6020 fi 10200 6021 if test $do64bit = yes; then 10201 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&510202 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }10203 if test "${tcl_cv_cc_m64+set}" = set; then10204 echo $ECHO_N "(cached) $ECHO_C" >&66022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 6023 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 6024 if ${tcl_cv_cc_m64+:} false; then : 6025 $as_echo_n "(cached) " >&6 10205 6026 else 10206 6027 10207 6028 hold_cflags=$CFLAGS 10208 6029 CFLAGS="$CFLAGS -m64" 10209 cat >conftest.$ac_ext <<_ACEOF 10210 /* confdefs.h. */ 10211 _ACEOF 10212 cat confdefs.h >>conftest.$ac_ext 10213 cat >>conftest.$ac_ext <<_ACEOF 6030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10214 6031 /* end confdefs.h. */ 10215 6032 … … 10222 6039 } 10223 6040 _ACEOF 10224 rm -f conftest.$ac_objext conftest$ac_exeext 10225 if { (ac_try="$ac_link" 10226 case "(($ac_try" in 10227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10228 *) ac_try_echo=$ac_try;; 10229 esac 10230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10231 (eval "$ac_link") 2>conftest.er1 10232 ac_status=$? 10233 grep -v '^ *+' conftest.er1 >conftest.err 10234 rm -f conftest.er1 10235 cat conftest.err >&5 10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10237 (exit $ac_status); } && { 10238 test -z "$ac_cxx_werror_flag" || 10239 test ! -s conftest.err 10240 } && test -s conftest$ac_exeext && 10241 $as_test_x conftest$ac_exeext; then 6041 if ac_fn_cxx_try_link "$LINENO"; then : 10242 6042 tcl_cv_cc_m64=yes 10243 6043 else 10244 echo "$as_me: failed program was:" >&5 10245 sed 's/^/| /' conftest.$ac_ext >&5 10246 10247 tcl_cv_cc_m64=no 10248 fi 10249 10250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10251 conftest$ac_exeext conftest.$ac_ext 6044 tcl_cv_cc_m64=no 6045 fi 6046 rm -f core conftest.err conftest.$ac_objext \ 6047 conftest$ac_exeext conftest.$ac_ext 10252 6048 CFLAGS=$hold_cflags 10253 6049 fi 10254 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&510255 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 6051 $as_echo "$tcl_cv_cc_m64" >&6; } 10256 6052 if test $tcl_cv_cc_m64 = yes; then 10257 6053 CFLAGS="$CFLAGS -m64" … … 10272 6068 10273 6069 # XIM peeking works under XFree86. 10274 cat >>confdefs.h <<\_ACEOF 10275 #define PEEK_XCLOSEIM 1 10276 _ACEOF 6070 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10277 6071 10278 6072 … … 10291 6085 LD_SEARCH_FLAGS="" 10292 6086 else 10293 if test "${ac_cv_header_dld_h+set}" = set; then 10294 { echo "$as_me:$LINENO: checking for dld.h" >&5 10295 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10296 if test "${ac_cv_header_dld_h+set}" = set; then 10297 echo $ECHO_N "(cached) $ECHO_C" >&6 10298 fi 10299 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10300 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10301 else 10302 # Is the header compilable? 10303 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10304 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10305 cat >conftest.$ac_ext <<_ACEOF 10306 /* confdefs.h. */ 10307 _ACEOF 10308 cat confdefs.h >>conftest.$ac_ext 10309 cat >>conftest.$ac_ext <<_ACEOF 10310 /* end confdefs.h. */ 10311 $ac_includes_default 10312 #include <dld.h> 10313 _ACEOF 10314 rm -f conftest.$ac_objext 10315 if { (ac_try="$ac_compile" 10316 case "(($ac_try" in 10317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10318 *) ac_try_echo=$ac_try;; 10319 esac 10320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10321 (eval "$ac_compile") 2>conftest.er1 10322 ac_status=$? 10323 grep -v '^ *+' conftest.er1 >conftest.err 10324 rm -f conftest.er1 10325 cat conftest.err >&5 10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10327 (exit $ac_status); } && { 10328 test -z "$ac_cxx_werror_flag" || 10329 test ! -s conftest.err 10330 } && test -s conftest.$ac_objext; then 10331 ac_header_compiler=yes 10332 else 10333 echo "$as_me: failed program was:" >&5 10334 sed 's/^/| /' conftest.$ac_ext >&5 10335 10336 ac_header_compiler=no 10337 fi 10338 10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10340 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10341 echo "${ECHO_T}$ac_header_compiler" >&6; } 10342 10343 # Is the header present? 10344 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10345 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10346 cat >conftest.$ac_ext <<_ACEOF 10347 /* confdefs.h. */ 10348 _ACEOF 10349 cat confdefs.h >>conftest.$ac_ext 10350 cat >>conftest.$ac_ext <<_ACEOF 10351 /* end confdefs.h. */ 10352 #include <dld.h> 10353 _ACEOF 10354 if { (ac_try="$ac_cpp conftest.$ac_ext" 10355 case "(($ac_try" in 10356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10357 *) ac_try_echo=$ac_try;; 10358 esac 10359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10361 ac_status=$? 10362 grep -v '^ *+' conftest.er1 >conftest.err 10363 rm -f conftest.er1 10364 cat conftest.err >&5 10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10366 (exit $ac_status); } >/dev/null && { 10367 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10368 test ! -s conftest.err 10369 }; then 10370 ac_header_preproc=yes 10371 else 10372 echo "$as_me: failed program was:" >&5 10373 sed 's/^/| /' conftest.$ac_ext >&5 10374 10375 ac_header_preproc=no 10376 fi 10377 10378 rm -f conftest.err conftest.$ac_ext 10379 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10380 echo "${ECHO_T}$ac_header_preproc" >&6; } 10381 10382 # So? What about this header? 10383 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10384 yes:no: ) 10385 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10386 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10387 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10388 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10389 ac_header_preproc=yes 10390 ;; 10391 no:yes:* ) 10392 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10393 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10394 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10395 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10396 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10397 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10398 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10399 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10400 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10401 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10402 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10403 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10404 ( cat <<\_ASBOX 10405 ## ----------------------------------- ## 10406 ## Report this to rappture@nanohub.org ## 10407 ## ----------------------------------- ## 10408 _ASBOX 10409 ) | sed "s/^/$as_me: WARNING: /" >&2 10410 ;; 10411 esac 10412 { echo "$as_me:$LINENO: checking for dld.h" >&5 10413 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10414 if test "${ac_cv_header_dld_h+set}" = set; then 10415 echo $ECHO_N "(cached) $ECHO_C" >&6 10416 else 10417 ac_cv_header_dld_h=$ac_header_preproc 10418 fi 10419 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10420 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10421 10422 fi 10423 if test $ac_cv_header_dld_h = yes; then 6087 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6088 if test "x$ac_cv_header_dld_h" = xyes; then : 10424 6089 10425 6090 SHLIB_LD="ld -shared" … … 10471 6136 NetBSD-*|FreeBSD-[1-2].*) 10472 6137 # Not available on all versions: check for include file. 10473 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10474 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10475 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10476 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10477 echo $ECHO_N "(cached) $ECHO_C" >&6 10478 fi 10479 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10480 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10481 else 10482 # Is the header compilable? 10483 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10484 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10485 cat >conftest.$ac_ext <<_ACEOF 10486 /* confdefs.h. */ 10487 _ACEOF 10488 cat confdefs.h >>conftest.$ac_ext 10489 cat >>conftest.$ac_ext <<_ACEOF 10490 /* end confdefs.h. */ 10491 $ac_includes_default 10492 #include <dlfcn.h> 10493 _ACEOF 10494 rm -f conftest.$ac_objext 10495 if { (ac_try="$ac_compile" 10496 case "(($ac_try" in 10497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10498 *) ac_try_echo=$ac_try;; 10499 esac 10500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10501 (eval "$ac_compile") 2>conftest.er1 10502 ac_status=$? 10503 grep -v '^ *+' conftest.er1 >conftest.err 10504 rm -f conftest.er1 10505 cat conftest.err >&5 10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10507 (exit $ac_status); } && { 10508 test -z "$ac_cxx_werror_flag" || 10509 test ! -s conftest.err 10510 } && test -s conftest.$ac_objext; then 10511 ac_header_compiler=yes 10512 else 10513 echo "$as_me: failed program was:" >&5 10514 sed 's/^/| /' conftest.$ac_ext >&5 10515 10516 ac_header_compiler=no 10517 fi 10518 10519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10520 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10521 echo "${ECHO_T}$ac_header_compiler" >&6; } 10522 10523 # Is the header present? 10524 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10525 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10526 cat >conftest.$ac_ext <<_ACEOF 10527 /* confdefs.h. */ 10528 _ACEOF 10529 cat confdefs.h >>conftest.$ac_ext 10530 cat >>conftest.$ac_ext <<_ACEOF 10531 /* end confdefs.h. */ 10532 #include <dlfcn.h> 10533 _ACEOF 10534 if { (ac_try="$ac_cpp conftest.$ac_ext" 10535 case "(($ac_try" in 10536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10537 *) ac_try_echo=$ac_try;; 10538 esac 10539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10541 ac_status=$? 10542 grep -v '^ *+' conftest.er1 >conftest.err 10543 rm -f conftest.er1 10544 cat conftest.err >&5 10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10546 (exit $ac_status); } >/dev/null && { 10547 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10548 test ! -s conftest.err 10549 }; then 10550 ac_header_preproc=yes 10551 else 10552 echo "$as_me: failed program was:" >&5 10553 sed 's/^/| /' conftest.$ac_ext >&5 10554 10555 ac_header_preproc=no 10556 fi 10557 10558 rm -f conftest.err conftest.$ac_ext 10559 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10560 echo "${ECHO_T}$ac_header_preproc" >&6; } 10561 10562 # So? What about this header? 10563 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10564 yes:no: ) 10565 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10566 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10567 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10568 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10569 ac_header_preproc=yes 10570 ;; 10571 no:yes:* ) 10572 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10573 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10574 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10575 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10576 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10577 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10578 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10579 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10580 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10581 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10582 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10583 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10584 ( cat <<\_ASBOX 10585 ## ----------------------------------- ## 10586 ## Report this to rappture@nanohub.org ## 10587 ## ----------------------------------- ## 10588 _ASBOX 10589 ) | sed "s/^/$as_me: WARNING: /" >&2 10590 ;; 10591 esac 10592 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10593 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10594 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10595 echo $ECHO_N "(cached) $ECHO_C" >&6 10596 else 10597 ac_cv_header_dlfcn_h=$ac_header_preproc 10598 fi 10599 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10600 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10601 10602 fi 10603 if test $ac_cv_header_dlfcn_h = yes; then 6138 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6139 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10604 6140 10605 6141 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 10612 6148 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10613 6149 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10614 { echo "$as_me:$LINENO: checking for ELF" >&5 10615 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10616 if test "${tcl_cv_ld_elf+set}" = set; then 10617 echo $ECHO_N "(cached) $ECHO_C" >&6 10618 else 10619 10620 cat >conftest.$ac_ext <<_ACEOF 10621 /* confdefs.h. */ 10622 _ACEOF 10623 cat confdefs.h >>conftest.$ac_ext 10624 cat >>conftest.$ac_ext <<_ACEOF 6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6151 $as_echo_n "checking for ELF... " >&6; } 6152 if ${tcl_cv_ld_elf+:} false; then : 6153 $as_echo_n "(cached) " >&6 6154 else 6155 6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10625 6157 /* end confdefs.h. */ 10626 6158 … … 10631 6163 _ACEOF 10632 6164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10633 $EGREP "yes" >/dev/null 2>&1; then 6165 $EGREP "yes" >/dev/null 2>&1; then : 10634 6166 tcl_cv_ld_elf=yes 10635 6167 else … … 10639 6171 10640 6172 fi 10641 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510642 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6174 $as_echo "$tcl_cv_ld_elf" >&6; } 10643 6175 if test $tcl_cv_ld_elf = yes; then 10644 6176 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 10698 6230 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10699 6231 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 10700 { echo "$as_me:$LINENO: checking for ELF" >&5 10701 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10702 if test "${tcl_cv_ld_elf+set}" = set; then 10703 echo $ECHO_N "(cached) $ECHO_C" >&6 10704 else 10705 10706 cat >conftest.$ac_ext <<_ACEOF 10707 /* confdefs.h. */ 10708 _ACEOF 10709 cat confdefs.h >>conftest.$ac_ext 10710 cat >>conftest.$ac_ext <<_ACEOF 6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6233 $as_echo_n "checking for ELF... " >&6; } 6234 if ${tcl_cv_ld_elf+:} false; then : 6235 $as_echo_n "(cached) " >&6 6236 else 6237 6238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10711 6239 /* end confdefs.h. */ 10712 6240 … … 10717 6245 _ACEOF 10718 6246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10719 $EGREP "yes" >/dev/null 2>&1; then 6247 $EGREP "yes" >/dev/null 2>&1; then : 10720 6248 tcl_cv_ld_elf=yes 10721 6249 else … … 10725 6253 10726 6254 fi 10727 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510728 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6256 $as_echo "$tcl_cv_ld_elf" >&6; } 10729 6257 if test $tcl_cv_ld_elf = yes; then 10730 6258 LDFLAGS=-Wl,-export-dynamic … … 10780 6308 case `arch` in 10781 6309 ppc) 10782 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&510783 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }10784 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then10785 echo $ECHO_N "(cached) $ECHO_C" >&66310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 6311 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6312 if ${tcl_cv_cc_arch_ppc64+:} false; then : 6313 $as_echo_n "(cached) " >&6 10786 6314 else 10787 6315 10788 6316 hold_cflags=$CFLAGS 10789 6317 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 10790 cat >conftest.$ac_ext <<_ACEOF 10791 /* confdefs.h. */ 10792 _ACEOF 10793 cat confdefs.h >>conftest.$ac_ext 10794 cat >>conftest.$ac_ext <<_ACEOF 6318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10795 6319 /* end confdefs.h. */ 10796 6320 … … 10803 6327 } 10804 6328 _ACEOF 10805 rm -f conftest.$ac_objext conftest$ac_exeext 10806 if { (ac_try="$ac_link" 10807 case "(($ac_try" in 10808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10809 *) ac_try_echo=$ac_try;; 10810 esac 10811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10812 (eval "$ac_link") 2>conftest.er1 10813 ac_status=$? 10814 grep -v '^ *+' conftest.er1 >conftest.err 10815 rm -f conftest.er1 10816 cat conftest.err >&5 10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10818 (exit $ac_status); } && { 10819 test -z "$ac_cxx_werror_flag" || 10820 test ! -s conftest.err 10821 } && test -s conftest$ac_exeext && 10822 $as_test_x conftest$ac_exeext; then 6329 if ac_fn_cxx_try_link "$LINENO"; then : 10823 6330 tcl_cv_cc_arch_ppc64=yes 10824 6331 else 10825 echo "$as_me: failed program was:" >&5 10826 sed 's/^/| /' conftest.$ac_ext >&5 10827 10828 tcl_cv_cc_arch_ppc64=no 10829 fi 10830 10831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10832 conftest$ac_exeext conftest.$ac_ext 6332 tcl_cv_cc_arch_ppc64=no 6333 fi 6334 rm -f core conftest.err conftest.$ac_objext \ 6335 conftest$ac_exeext conftest.$ac_ext 10833 6336 CFLAGS=$hold_cflags 10834 6337 fi 10835 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&510836 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 6339 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 10837 6340 if test $tcl_cv_cc_arch_ppc64 = yes; then 10838 6341 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 10840 6343 fi;; 10841 6344 i386) 10842 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&510843 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }10844 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then10845 echo $ECHO_N "(cached) $ECHO_C" >&66345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 6346 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6347 if ${tcl_cv_cc_arch_x86_64+:} false; then : 6348 $as_echo_n "(cached) " >&6 10846 6349 else 10847 6350 10848 6351 hold_cflags=$CFLAGS 10849 6352 CFLAGS="$CFLAGS -arch x86_64" 10850 cat >conftest.$ac_ext <<_ACEOF 10851 /* confdefs.h. */ 10852 _ACEOF 10853 cat confdefs.h >>conftest.$ac_ext 10854 cat >>conftest.$ac_ext <<_ACEOF 6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10855 6354 /* end confdefs.h. */ 10856 6355 … … 10863 6362 } 10864 6363 _ACEOF 10865 rm -f conftest.$ac_objext conftest$ac_exeext 10866 if { (ac_try="$ac_link" 10867 case "(($ac_try" in 10868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10869 *) ac_try_echo=$ac_try;; 10870 esac 10871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10872 (eval "$ac_link") 2>conftest.er1 10873 ac_status=$? 10874 grep -v '^ *+' conftest.er1 >conftest.err 10875 rm -f conftest.er1 10876 cat conftest.err >&5 10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10878 (exit $ac_status); } && { 10879 test -z "$ac_cxx_werror_flag" || 10880 test ! -s conftest.err 10881 } && test -s conftest$ac_exeext && 10882 $as_test_x conftest$ac_exeext; then 6364 if ac_fn_cxx_try_link "$LINENO"; then : 10883 6365 tcl_cv_cc_arch_x86_64=yes 10884 6366 else 10885 echo "$as_me: failed program was:" >&5 10886 sed 's/^/| /' conftest.$ac_ext >&5 10887 10888 tcl_cv_cc_arch_x86_64=no 10889 fi 10890 10891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10892 conftest$ac_exeext conftest.$ac_ext 6367 tcl_cv_cc_arch_x86_64=no 6368 fi 6369 rm -f core conftest.err conftest.$ac_objext \ 6370 conftest$ac_exeext conftest.$ac_ext 10893 6371 CFLAGS=$hold_cflags 10894 6372 fi 10895 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&510896 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 6374 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 10897 6375 if test $tcl_cv_cc_arch_x86_64 = yes; then 10898 6376 CFLAGS="$CFLAGS -arch x86_64" … … 10900 6378 fi;; 10901 6379 *) 10902 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&510903 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6381 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 10904 6382 esac 10905 6383 else … … 10910 6388 fi 10911 6389 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 10912 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&510913 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }10914 if test "${tcl_cv_ld_single_module+set}" = set; then10915 echo $ECHO_N "(cached) $ECHO_C" >&66390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 6391 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6392 if ${tcl_cv_ld_single_module+:} false; then : 6393 $as_echo_n "(cached) " >&6 10916 6394 else 10917 6395 10918 6396 hold_ldflags=$LDFLAGS 10919 6397 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10920 cat >conftest.$ac_ext <<_ACEOF 10921 /* confdefs.h. */ 10922 _ACEOF 10923 cat confdefs.h >>conftest.$ac_ext 10924 cat >>conftest.$ac_ext <<_ACEOF 6398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10925 6399 /* end confdefs.h. */ 10926 6400 … … 10933 6407 } 10934 6408 _ACEOF 10935 rm -f conftest.$ac_objext conftest$ac_exeext 10936 if { (ac_try="$ac_link" 10937 case "(($ac_try" in 10938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10939 *) ac_try_echo=$ac_try;; 10940 esac 10941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10942 (eval "$ac_link") 2>conftest.er1 10943 ac_status=$? 10944 grep -v '^ *+' conftest.er1 >conftest.err 10945 rm -f conftest.er1 10946 cat conftest.err >&5 10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10948 (exit $ac_status); } && { 10949 test -z "$ac_cxx_werror_flag" || 10950 test ! -s conftest.err 10951 } && test -s conftest$ac_exeext && 10952 $as_test_x conftest$ac_exeext; then 6409 if ac_fn_cxx_try_link "$LINENO"; then : 10953 6410 tcl_cv_ld_single_module=yes 10954 6411 else 10955 echo "$as_me: failed program was:" >&5 10956 sed 's/^/| /' conftest.$ac_ext >&5 10957 10958 tcl_cv_ld_single_module=no 10959 fi 10960 10961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10962 conftest$ac_exeext conftest.$ac_ext 6412 tcl_cv_ld_single_module=no 6413 fi 6414 rm -f core conftest.err conftest.$ac_objext \ 6415 conftest$ac_exeext conftest.$ac_ext 10963 6416 LDFLAGS=$hold_ldflags 10964 6417 fi 10965 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&510966 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 6419 $as_echo "$tcl_cv_ld_single_module" >&6; } 10967 6420 if test $tcl_cv_ld_single_module = yes; then 10968 6421 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 10977 6430 LDFLAGS="$LDFLAGS -prebind" 10978 6431 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10979 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&510980 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }10981 if test "${tcl_cv_ld_search_paths_first+set}" = set; then10982 echo $ECHO_N "(cached) $ECHO_C" >&66432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 6433 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6434 if ${tcl_cv_ld_search_paths_first+:} false; then : 6435 $as_echo_n "(cached) " >&6 10983 6436 else 10984 6437 10985 6438 hold_ldflags=$LDFLAGS 10986 6439 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 10987 cat >conftest.$ac_ext <<_ACEOF 10988 /* confdefs.h. */ 10989 _ACEOF 10990 cat confdefs.h >>conftest.$ac_ext 10991 cat >>conftest.$ac_ext <<_ACEOF 6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10992 6441 /* end confdefs.h. */ 10993 6442 … … 11000 6449 } 11001 6450 _ACEOF 11002 rm -f conftest.$ac_objext conftest$ac_exeext 11003 if { (ac_try="$ac_link" 11004 case "(($ac_try" in 11005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11006 *) ac_try_echo=$ac_try;; 11007 esac 11008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11009 (eval "$ac_link") 2>conftest.er1 11010 ac_status=$? 11011 grep -v '^ *+' conftest.er1 >conftest.err 11012 rm -f conftest.er1 11013 cat conftest.err >&5 11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11015 (exit $ac_status); } && { 11016 test -z "$ac_cxx_werror_flag" || 11017 test ! -s conftest.err 11018 } && test -s conftest$ac_exeext && 11019 $as_test_x conftest$ac_exeext; then 6451 if ac_fn_cxx_try_link "$LINENO"; then : 11020 6452 tcl_cv_ld_search_paths_first=yes 11021 6453 else 11022 echo "$as_me: failed program was:" >&5 11023 sed 's/^/| /' conftest.$ac_ext >&5 11024 11025 tcl_cv_ld_search_paths_first=no 11026 fi 11027 11028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11029 conftest$ac_exeext conftest.$ac_ext 6454 tcl_cv_ld_search_paths_first=no 6455 fi 6456 rm -f core conftest.err conftest.$ac_objext \ 6457 conftest$ac_exeext conftest.$ac_ext 11030 6458 LDFLAGS=$hold_ldflags 11031 6459 fi 11032 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&511033 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 6461 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11034 6462 if test $tcl_cv_ld_search_paths_first = yes; then 11035 6463 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 11040 6468 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11041 6469 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11042 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&511043 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 6471 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11044 6472 # Check whether --enable-corefoundation was given. 11045 if test "${enable_corefoundation+set}" = set; then 6473 if test "${enable_corefoundation+set}" = set; then : 11046 6474 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11047 6475 else … … 11049 6477 fi 11050 6478 11051 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&511052 echo "${ECHO_T}$tcl_corefoundation" >&6; }6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 6480 $as_echo "$tcl_corefoundation" >&6; } 11053 6481 if test $tcl_corefoundation = yes; then 11054 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&511055 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }11056 if test "${tcl_cv_lib_corefoundation+set}" = set; then11057 echo $ECHO_N "(cached) $ECHO_C" >&66482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 6483 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6484 if ${tcl_cv_lib_corefoundation+:} false; then : 6485 $as_echo_n "(cached) " >&6 11058 6486 else 11059 6487 … … 11066 6494 done; fi 11067 6495 LIBS="$LIBS -framework CoreFoundation" 11068 cat >conftest.$ac_ext <<_ACEOF 11069 /* confdefs.h. */ 11070 _ACEOF 11071 cat confdefs.h >>conftest.$ac_ext 11072 cat >>conftest.$ac_ext <<_ACEOF 6496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11073 6497 /* end confdefs.h. */ 11074 6498 #include <CoreFoundation/CoreFoundation.h> … … 11081 6505 } 11082 6506 _ACEOF 11083 rm -f conftest.$ac_objext conftest$ac_exeext 11084 if { (ac_try="$ac_link" 11085 case "(($ac_try" in 11086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11087 *) ac_try_echo=$ac_try;; 11088 esac 11089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11090 (eval "$ac_link") 2>conftest.er1 11091 ac_status=$? 11092 grep -v '^ *+' conftest.er1 >conftest.err 11093 rm -f conftest.er1 11094 cat conftest.err >&5 11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11096 (exit $ac_status); } && { 11097 test -z "$ac_cxx_werror_flag" || 11098 test ! -s conftest.err 11099 } && test -s conftest$ac_exeext && 11100 $as_test_x conftest$ac_exeext; then 6507 if ac_fn_cxx_try_link "$LINENO"; then : 11101 6508 tcl_cv_lib_corefoundation=yes 11102 6509 else 11103 echo "$as_me: failed program was:" >&5 11104 sed 's/^/| /' conftest.$ac_ext >&5 11105 11106 tcl_cv_lib_corefoundation=no 11107 fi 11108 11109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11110 conftest$ac_exeext conftest.$ac_ext 6510 tcl_cv_lib_corefoundation=no 6511 fi 6512 rm -f core conftest.err conftest.$ac_objext \ 6513 conftest$ac_exeext conftest.$ac_ext 11111 6514 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11112 6515 eval $v'="$hold_'$v'"' 11113 6516 done; fi; LIBS=$hold_libs 11114 6517 fi 11115 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&511116 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 6519 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11117 6520 if test $tcl_cv_lib_corefoundation = yes; then 11118 6521 LIBS="$LIBS -framework CoreFoundation" 11119 cat >>confdefs.h <<\_ACEOF 11120 #define HAVE_COREFOUNDATION 1 11121 _ACEOF 6522 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11122 6523 11123 6524 else … … 11125 6526 fi 11126 6527 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11127 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&511128 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }11129 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then11130 echo $ECHO_N "(cached) $ECHO_C" >&66528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 6529 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6530 if ${tcl_cv_lib_corefoundation_64+:} false; then : 6531 $as_echo_n "(cached) " >&6 11131 6532 else 11132 6533 … … 11134 6535 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11135 6536 done 11136 cat >conftest.$ac_ext <<_ACEOF 11137 /* confdefs.h. */ 11138 _ACEOF 11139 cat confdefs.h >>conftest.$ac_ext 11140 cat >>conftest.$ac_ext <<_ACEOF 6537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11141 6538 /* end confdefs.h. */ 11142 6539 #include <CoreFoundation/CoreFoundation.h> … … 11149 6546 } 11150 6547 _ACEOF 11151 rm -f conftest.$ac_objext conftest$ac_exeext 11152 if { (ac_try="$ac_link" 11153 case "(($ac_try" in 11154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11155 *) ac_try_echo=$ac_try;; 11156 esac 11157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11158 (eval "$ac_link") 2>conftest.er1 11159 ac_status=$? 11160 grep -v '^ *+' conftest.er1 >conftest.err 11161 rm -f conftest.er1 11162 cat conftest.err >&5 11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11164 (exit $ac_status); } && { 11165 test -z "$ac_cxx_werror_flag" || 11166 test ! -s conftest.err 11167 } && test -s conftest$ac_exeext && 11168 $as_test_x conftest$ac_exeext; then 6548 if ac_fn_cxx_try_link "$LINENO"; then : 11169 6549 tcl_cv_lib_corefoundation_64=yes 11170 6550 else 11171 echo "$as_me: failed program was:" >&5 11172 sed 's/^/| /' conftest.$ac_ext >&5 11173 11174 tcl_cv_lib_corefoundation_64=no 11175 fi 11176 11177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11178 conftest$ac_exeext conftest.$ac_ext 6551 tcl_cv_lib_corefoundation_64=no 6552 fi 6553 rm -f core conftest.err conftest.$ac_objext \ 6554 conftest$ac_exeext conftest.$ac_ext 11179 6555 for v in CFLAGS CPPFLAGS LDFLAGS; do 11180 6556 eval $v'="$hold_'$v'"' 11181 6557 done 11182 6558 fi 11183 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&511184 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 6560 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11185 6561 if test $tcl_cv_lib_corefoundation_64 = no; then 11186 cat >>confdefs.h <<\_ACEOF 11187 #define NO_COREFOUNDATION_64 1 11188 _ACEOF 6562 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11189 6563 11190 6564 fi 11191 6565 fi 11192 6566 fi 11193 cat >>confdefs.h <<\_ACEOF 11194 #define MAC_OSX_TCL 1 11195 _ACEOF 6567 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11196 6568 11197 6569 ;; … … 11208 6580 OS/390-*) 11209 6581 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11210 cat >>confdefs.h <<\_ACEOF 11211 #define _OE_SOCKETS 1 11212 _ACEOF 6582 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11213 6583 # needed in sys/socket.h 11214 6584 ;; … … 11351 6721 # won't define thread-safe library routines. 11352 6722 11353 cat >>confdefs.h <<\_ACEOF 11354 #define _REENTRANT 1 11355 _ACEOF 11356 11357 cat >>confdefs.h <<\_ACEOF 11358 #define _POSIX_PTHREAD_SEMANTICS 1 11359 _ACEOF 6723 $as_echo "#define _REENTRANT 1" >>confdefs.h 6724 6725 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11360 6726 11361 6727 … … 11383 6749 # won't define thread-safe library routines. 11384 6750 11385 cat >>confdefs.h <<\_ACEOF 11386 #define _REENTRANT 1 11387 _ACEOF 11388 11389 cat >>confdefs.h <<\_ACEOF 11390 #define _POSIX_PTHREAD_SEMANTICS 1 11391 _ACEOF 6751 $as_echo "#define _REENTRANT 1" >>confdefs.h 6752 6753 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11392 6754 11393 6755 … … 11400 6762 if test "$GCC" = "yes" ; then 11401 6763 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11402 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&511403 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6765 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11404 6766 else 11405 6767 do64bit_ok=yes … … 11422 6784 elif test "$arch" = "amd64 i386" ; then 11423 6785 if test "$GCC" = "yes" ; then 11424 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&511425 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}6786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6787 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11426 6788 else 11427 6789 do64bit_ok=yes … … 11430 6792 fi 11431 6793 else 11432 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&511433 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}6794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6795 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11434 6796 fi 11435 6797 fi … … 11489 6851 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11490 6852 # that don't grok the -Bexport option. Test that it does. 11491 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&511492 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }11493 if test "${tcl_cv_ld_Bexport+set}" = set; then11494 echo $ECHO_N "(cached) $ECHO_C" >&66853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6854 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6855 if ${tcl_cv_ld_Bexport+:} false; then : 6856 $as_echo_n "(cached) " >&6 11495 6857 else 11496 6858 11497 6859 hold_ldflags=$LDFLAGS 11498 6860 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11499 cat >conftest.$ac_ext <<_ACEOF 11500 /* confdefs.h. */ 11501 _ACEOF 11502 cat confdefs.h >>conftest.$ac_ext 11503 cat >>conftest.$ac_ext <<_ACEOF 6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11504 6862 /* end confdefs.h. */ 11505 6863 … … 11512 6870 } 11513 6871 _ACEOF 11514 rm -f conftest.$ac_objext conftest$ac_exeext 11515 if { (ac_try="$ac_link" 11516 case "(($ac_try" in 11517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11518 *) ac_try_echo=$ac_try;; 11519 esac 11520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11521 (eval "$ac_link") 2>conftest.er1 11522 ac_status=$? 11523 grep -v '^ *+' conftest.er1 >conftest.err 11524 rm -f conftest.er1 11525 cat conftest.err >&5 11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11527 (exit $ac_status); } && { 11528 test -z "$ac_cxx_werror_flag" || 11529 test ! -s conftest.err 11530 } && test -s conftest$ac_exeext && 11531 $as_test_x conftest$ac_exeext; then 6872 if ac_fn_cxx_try_link "$LINENO"; then : 11532 6873 tcl_cv_ld_Bexport=yes 11533 6874 else 11534 echo "$as_me: failed program was:" >&5 11535 sed 's/^/| /' conftest.$ac_ext >&5 11536 11537 tcl_cv_ld_Bexport=no 11538 fi 11539 11540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11541 conftest$ac_exeext conftest.$ac_ext 6875 tcl_cv_ld_Bexport=no 6876 fi 6877 rm -f core conftest.err conftest.$ac_objext \ 6878 conftest$ac_exeext conftest.$ac_ext 11542 6879 LDFLAGS=$hold_ldflags 11543 6880 fi 11544 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&511545 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6882 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11546 6883 if test $tcl_cv_ld_Bexport = yes; then 11547 6884 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 11553 6890 11554 6891 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11555 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&511556 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}6892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6893 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11557 6894 fi 11558 6895 … … 11580 6917 11581 6918 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 11582 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11583 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11584 if test "${tcl_cv_sysexec_h+set}" = set; then 11585 echo $ECHO_N "(cached) $ECHO_C" >&6 11586 else 11587 11588 cat >conftest.$ac_ext <<_ACEOF 11589 /* confdefs.h. */ 11590 _ACEOF 11591 cat confdefs.h >>conftest.$ac_ext 11592 cat >>conftest.$ac_ext <<_ACEOF 6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6920 $as_echo_n "checking sys/exec.h... " >&6; } 6921 if ${tcl_cv_sysexec_h+:} false; then : 6922 $as_echo_n "(cached) " >&6 6923 else 6924 6925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11593 6926 /* end confdefs.h. */ 11594 6927 #include <sys/exec.h> … … 11612 6945 } 11613 6946 _ACEOF 11614 rm -f conftest.$ac_objext 11615 if { (ac_try="$ac_compile" 11616 case "(($ac_try" in 11617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11618 *) ac_try_echo=$ac_try;; 11619 esac 11620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11621 (eval "$ac_compile") 2>conftest.er1 11622 ac_status=$? 11623 grep -v '^ *+' conftest.er1 >conftest.err 11624 rm -f conftest.er1 11625 cat conftest.err >&5 11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11627 (exit $ac_status); } && { 11628 test -z "$ac_cxx_werror_flag" || 11629 test ! -s conftest.err 11630 } && test -s conftest.$ac_objext; then 6947 if ac_fn_cxx_try_compile "$LINENO"; then : 11631 6948 tcl_cv_sysexec_h=usable 11632 6949 else 11633 echo "$as_me: failed program was:" >&5 11634 sed 's/^/| /' conftest.$ac_ext >&5 11635 11636 tcl_cv_sysexec_h=unusable 11637 fi 11638 6950 tcl_cv_sysexec_h=unusable 6951 fi 11639 6952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11640 6953 fi 11641 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&511642 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6955 $as_echo "$tcl_cv_sysexec_h" >&6; } 11643 6956 if test $tcl_cv_sysexec_h = usable; then 11644 cat >>confdefs.h <<\_ACEOF 11645 #define USE_SYS_EXEC_H 1 11646 _ACEOF 6957 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11647 6958 11648 6959 else 11649 { echo "$as_me:$LINENO: checking a.out.h" >&5 11650 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11651 if test "${tcl_cv_aout_h+set}" = set; then 11652 echo $ECHO_N "(cached) $ECHO_C" >&6 11653 else 11654 11655 cat >conftest.$ac_ext <<_ACEOF 11656 /* confdefs.h. */ 11657 _ACEOF 11658 cat confdefs.h >>conftest.$ac_ext 11659 cat >>conftest.$ac_ext <<_ACEOF 6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6961 $as_echo_n "checking a.out.h... " >&6; } 6962 if ${tcl_cv_aout_h+:} false; then : 6963 $as_echo_n "(cached) " >&6 6964 else 6965 6966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11660 6967 /* end confdefs.h. */ 11661 6968 #include <a.out.h> … … 11679 6986 } 11680 6987 _ACEOF 11681 rm -f conftest.$ac_objext 11682 if { (ac_try="$ac_compile" 11683 case "(($ac_try" in 11684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11685 *) ac_try_echo=$ac_try;; 11686 esac 11687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11688 (eval "$ac_compile") 2>conftest.er1 11689 ac_status=$? 11690 grep -v '^ *+' conftest.er1 >conftest.err 11691 rm -f conftest.er1 11692 cat conftest.err >&5 11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11694 (exit $ac_status); } && { 11695 test -z "$ac_cxx_werror_flag" || 11696 test ! -s conftest.err 11697 } && test -s conftest.$ac_objext; then 6988 if ac_fn_cxx_try_compile "$LINENO"; then : 11698 6989 tcl_cv_aout_h=usable 11699 6990 else 11700 echo "$as_me: failed program was:" >&5 11701 sed 's/^/| /' conftest.$ac_ext >&5 11702 11703 tcl_cv_aout_h=unusable 11704 fi 11705 6991 tcl_cv_aout_h=unusable 6992 fi 11706 6993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11707 6994 fi 11708 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&511709 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6996 $as_echo "$tcl_cv_aout_h" >&6; } 11710 6997 if test $tcl_cv_aout_h = usable; then 11711 cat >>confdefs.h <<\_ACEOF 11712 #define USE_A_OUT_H 1 11713 _ACEOF 6998 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11714 6999 11715 7000 else 11716 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11717 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11718 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11719 echo $ECHO_N "(cached) $ECHO_C" >&6 11720 else 11721 11722 cat >conftest.$ac_ext <<_ACEOF 11723 /* confdefs.h. */ 11724 _ACEOF 11725 cat confdefs.h >>conftest.$ac_ext 11726 cat >>conftest.$ac_ext <<_ACEOF 7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 7002 $as_echo_n "checking sys/exec_aout.h... " >&6; } 7003 if ${tcl_cv_sysexecaout_h+:} false; then : 7004 $as_echo_n "(cached) " >&6 7005 else 7006 7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11727 7008 /* end confdefs.h. */ 11728 7009 #include <sys/exec_aout.h> … … 11746 7027 } 11747 7028 _ACEOF 11748 rm -f conftest.$ac_objext 11749 if { (ac_try="$ac_compile" 11750 case "(($ac_try" in 11751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11752 *) ac_try_echo=$ac_try;; 11753 esac 11754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11755 (eval "$ac_compile") 2>conftest.er1 11756 ac_status=$? 11757 grep -v '^ *+' conftest.er1 >conftest.err 11758 rm -f conftest.er1 11759 cat conftest.err >&5 11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11761 (exit $ac_status); } && { 11762 test -z "$ac_cxx_werror_flag" || 11763 test ! -s conftest.err 11764 } && test -s conftest.$ac_objext; then 7029 if ac_fn_cxx_try_compile "$LINENO"; then : 11765 7030 tcl_cv_sysexecaout_h=usable 11766 7031 else 11767 echo "$as_me: failed program was:" >&5 11768 sed 's/^/| /' conftest.$ac_ext >&5 11769 11770 tcl_cv_sysexecaout_h=unusable 11771 fi 11772 7032 tcl_cv_sysexecaout_h=unusable 7033 fi 11773 7034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11774 7035 fi 11775 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&511776 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 7037 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 11777 7038 if test $tcl_cv_sysexecaout_h = usable; then 11778 cat >>confdefs.h <<\_ACEOF 11779 #define USE_SYS_EXEC_AOUT_H 1 11780 _ACEOF 7039 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11781 7040 11782 7041 else … … 11790 7049 11791 7050 # Check whether --enable-load was given. 11792 if test "${enable_load+set}" = set; then 7051 if test "${enable_load+set}" = set; then : 11793 7052 enableval=$enable_load; tcl_ok=$enableval 11794 7053 else … … 11921 7180 done 11922 7181 if test "x${make_command}" = "x" ; then 11923 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11924 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11925 { (exit 1); exit 1; }; } 7182 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11926 7183 fi 11927 7184 MAKE=${make_command} … … 11929 7186 11930 7187 # Check whether --enable-gui was given. 11931 if test "${enable_gui+set}" = set; then 7188 if test "${enable_gui+set}" = set; then : 11932 7189 enableval=$enable_gui; 11933 7190 else … … 11939 7196 if test "$enable_gui" != "no" ; then 11940 7197 ENABLE_GUI="yes" 11941 fi11942 11943 11944 rp_with_tclsh="yes"11945 11946 # Check whether --with-tclsh was given.11947 if test "${with_tclsh+set}" = set; then11948 withval=$with_tclsh; rp_with_tclsh=no11949 else11950 rp_with_tclsh=$withval11951 7198 fi 11952 7199 … … 11963 7210 done 11964 7211 7212 7213 rp_with_tclsh="yes" 7214 7215 # Check whether --with-tclsh was given. 7216 if test "${with_tclsh+set}" = set; then : 7217 withval=$with_tclsh; rp_with_tclsh=$withval 7218 else 7219 rp_with_tclsh=yes 7220 fi 7221 7222 11965 7223 TCLSH="" 11966 7224 if test "${rp_with_tclsh}" != "no" ; then … … 11969 7227 # Extract the first word of "${tclsh}", so it can be a program name with args. 11970 7228 set dummy ${tclsh}; ac_word=$2 11971 { echo "$as_me:$LINENO: checking for $ac_word" >&511972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }11973 if test "${ac_cv_path_TCLSH+set}" = set; then11974 echo $ECHO_N "(cached) $ECHO_C" >&67229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7230 $as_echo_n "checking for $ac_word... " >&6; } 7231 if ${ac_cv_path_TCLSH+:} false; then : 7232 $as_echo_n "(cached) " >&6 11975 7233 else 11976 7234 case $TCLSH in … … 11985 7243 IFS=$as_save_IFS 11986 7244 test -z "$as_dir" && as_dir=. 11987 for ac_exec_ext in '' $ac_executable_extensions; do7245 for ac_exec_ext in '' $ac_executable_extensions; do 11988 7246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11989 7247 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 11990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11991 7249 break 2 11992 7250 fi 11993 7251 done 11994 done7252 done 11995 7253 IFS=$as_save_IFS 11996 7254 … … 12000 7258 TCLSH=$ac_cv_path_TCLSH 12001 7259 if test -n "$TCLSH"; then 12002 { echo "$as_me:$LINENO: result: $TCLSH" >&512003 echo "${ECHO_T}$TCLSH" >&6; }12004 else 12005 { echo "$as_me:$LINENO: result: no" >&512006 echo "${ECHO_T}no" >&6; }7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7261 $as_echo "$TCLSH" >&6; } 7262 else 7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7264 $as_echo "no" >&6; } 12007 7265 fi 12008 7266 … … 12011 7269 # Extract the first word of "${tclsh}", so it can be a program name with args. 12012 7270 set dummy ${tclsh}; ac_word=$2 12013 { echo "$as_me:$LINENO: checking for $ac_word" >&512014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12015 if test "${ac_cv_path_TCLSH+set}" = set; then12016 echo $ECHO_N "(cached) $ECHO_C" >&67271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7272 $as_echo_n "checking for $ac_word... " >&6; } 7273 if ${ac_cv_path_TCLSH+:} false; then : 7274 $as_echo_n "(cached) " >&6 12017 7275 else 12018 7276 case $TCLSH in … … 12027 7285 IFS=$as_save_IFS 12028 7286 test -z "$as_dir" && as_dir=. 12029 for ac_exec_ext in '' $ac_executable_extensions; do7287 for ac_exec_ext in '' $ac_executable_extensions; do 12030 7288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12031 7289 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12033 7291 break 2 12034 7292 fi 12035 7293 done 12036 done7294 done 12037 7295 IFS=$as_save_IFS 12038 7296 … … 12042 7300 TCLSH=$ac_cv_path_TCLSH 12043 7301 if test -n "$TCLSH"; then 12044 { echo "$as_me:$LINENO: result: $TCLSH" >&512045 echo "${ECHO_T}$TCLSH" >&6; }12046 else 12047 { echo "$as_me:$LINENO: result: no" >&512048 echo "${ECHO_T}no" >&6; }7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7303 $as_echo "$TCLSH" >&6; } 7304 else 7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7306 $as_echo "no" >&6; } 12049 7307 fi 12050 7308 … … 12052 7310 fi 12053 7311 if test "x${TCLSH}" = "x" ; then 12054 { { echo "$as_me:$LINENO: error: cant find tclsh" >&5 12055 echo "$as_me: error: cant find tclsh" >&2;} 12056 { (exit 1); exit 1; }; } 7312 as_fn_error $? "can't find tclsh" "$LINENO" 5 12057 7313 fi 12058 7314 fi … … 12062 7318 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 12063 7319 12064 if test "x$rp_with_tcllib" != "x" ; then12065 tclconfig="${rp_with_tcllib}/tclConfig.sh"12066 if test -f "$tclconfig" ; then12067 . $tclconfig12068 fi12069 TCL_LIB_SPEC="-L${rp_with_tcllib} -ltcl${TCL_VERSION}"12070 fi12071 if test "x$rp_with_tclinclude" != "x" ; then12072 TCL_INC_SPEC="-I${rp_with_tclinclude}"12073 fi12074 12075 7320 12076 7321 … … 12079 7324 12080 7325 # Check whether --with-vtk was given. 12081 if test "${with_vtk+set}" = set; then 7326 if test "${with_vtk+set}" = set; then : 12082 7327 withval=$with_vtk; rp_with_vtk=$withval 12083 7328 else … … 12086 7331 12087 7332 12088 { echo "$as_me:$LINENO: checking for vtk" >&512089 echo $ECHO_N "checking for vtk... $ECHO_C" >&6; }7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 7334 $as_echo_n "checking for vtk... " >&6; } 12090 7335 VTKDIR="" 12091 7336 … … 12110 7355 fi 12111 7356 12112 { echo "$as_me:$LINENO: result: $VTKDIR" >&512113 echo "${ECHO_T}$VTKDIR" >&6; }7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 7358 $as_echo "$VTKDIR" >&6; } 12114 7359 12115 7360 12116 7361 12117 7362 # Check whether --with-matlab was given. 12118 if test "${with_matlab+set}" = set; then 7363 if test "${with_matlab+set}" = set; then : 12119 7364 withval=$with_matlab; rp_with_matlab=$withval 12120 7365 else … … 12132 7377 # Extract the first word of "matlab", so it can be a program name with args. 12133 7378 set dummy matlab; ac_word=$2 12134 { echo "$as_me:$LINENO: checking for $ac_word" >&512135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12136 if test "${ac_cv_path_MATLAB+set}" = set; then12137 echo $ECHO_N "(cached) $ECHO_C" >&67379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7380 $as_echo_n "checking for $ac_word... " >&6; } 7381 if ${ac_cv_path_MATLAB+:} false; then : 7382 $as_echo_n "(cached) " >&6 12138 7383 else 12139 7384 case $MATLAB in … … 12147 7392 IFS=$as_save_IFS 12148 7393 test -z "$as_dir" && as_dir=. 12149 for ac_exec_ext in '' $ac_executable_extensions; do7394 for ac_exec_ext in '' $ac_executable_extensions; do 12150 7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12151 7396 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12153 7398 break 2 12154 7399 fi 12155 7400 done 12156 done7401 done 12157 7402 IFS=$as_save_IFS 12158 7403 … … 12162 7407 MATLAB=$ac_cv_path_MATLAB 12163 7408 if test -n "$MATLAB"; then 12164 { echo "$as_me:$LINENO: result: $MATLAB" >&512165 echo "${ECHO_T}$MATLAB" >&6; }12166 else 12167 { echo "$as_me:$LINENO: result: no" >&512168 echo "${ECHO_T}no" >&6; }7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7410 $as_echo "$MATLAB" >&6; } 7411 else 7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7413 $as_echo "no" >&6; } 12169 7414 fi 12170 7415 … … 12173 7418 # Extract the first word of "matlab", so it can be a program name with args. 12174 7419 set dummy matlab; ac_word=$2 12175 { echo "$as_me:$LINENO: checking for $ac_word" >&512176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12177 if test "${ac_cv_path_MATLAB+set}" = set; then12178 echo $ECHO_N "(cached) $ECHO_C" >&67420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7421 $as_echo_n "checking for $ac_word... " >&6; } 7422 if ${ac_cv_path_MATLAB+:} false; then : 7423 $as_echo_n "(cached) " >&6 12179 7424 else 12180 7425 case $MATLAB in … … 12189 7434 IFS=$as_save_IFS 12190 7435 test -z "$as_dir" && as_dir=. 12191 for ac_exec_ext in '' $ac_executable_extensions; do7436 for ac_exec_ext in '' $ac_executable_extensions; do 12192 7437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12193 7438 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12195 7440 break 2 12196 7441 fi 12197 7442 done 12198 done7443 done 12199 7444 IFS=$as_save_IFS 12200 7445 … … 12204 7449 MATLAB=$ac_cv_path_MATLAB 12205 7450 if test -n "$MATLAB"; then 12206 { echo "$as_me:$LINENO: result: $MATLAB" >&512207 echo "${ECHO_T}$MATLAB" >&6; }12208 else 12209 { echo "$as_me:$LINENO: result: no" >&512210 echo "${ECHO_T}no" >&6; }7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7452 $as_echo "$MATLAB" >&6; } 7453 else 7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7455 $as_echo "no" >&6; } 12211 7456 fi 12212 7457 … … 12224 7469 # Extract the first word of "mex", so it can be a program name with args. 12225 7470 set dummy mex; ac_word=$2 12226 { echo "$as_me:$LINENO: checking for $ac_word" >&512227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12228 if test "${ac_cv_path_MEX+set}" = set; then12229 echo $ECHO_N "(cached) $ECHO_C" >&67471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7472 $as_echo_n "checking for $ac_word... " >&6; } 7473 if ${ac_cv_path_MEX+:} false; then : 7474 $as_echo_n "(cached) " >&6 12230 7475 else 12231 7476 case $MEX in … … 12239 7484 IFS=$as_save_IFS 12240 7485 test -z "$as_dir" && as_dir=. 12241 for ac_exec_ext in '' $ac_executable_extensions; do7486 for ac_exec_ext in '' $ac_executable_extensions; do 12242 7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12243 7488 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12245 7490 break 2 12246 7491 fi 12247 7492 done 12248 done7493 done 12249 7494 IFS=$as_save_IFS 12250 7495 … … 12254 7499 MEX=$ac_cv_path_MEX 12255 7500 if test -n "$MEX"; then 12256 { echo "$as_me:$LINENO: result: $MEX" >&512257 echo "${ECHO_T}$MEX" >&6; }12258 else 12259 { echo "$as_me:$LINENO: result: no" >&512260 echo "${ECHO_T}no" >&6; }7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 7502 $as_echo "$MEX" >&6; } 7503 else 7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7505 $as_echo "no" >&6; } 12261 7506 fi 12262 7507 … … 12264 7509 # Extract the first word of "mexext", so it can be a program name with args. 12265 7510 set dummy mexext; ac_word=$2 12266 { echo "$as_me:$LINENO: checking for $ac_word" >&512267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12268 if test "${ac_cv_path_MEXEXT+set}" = set; then12269 echo $ECHO_N "(cached) $ECHO_C" >&67511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7512 $as_echo_n "checking for $ac_word... " >&6; } 7513 if ${ac_cv_path_MEXEXT+:} false; then : 7514 $as_echo_n "(cached) " >&6 12270 7515 else 12271 7516 case $MEXEXT in … … 12279 7524 IFS=$as_save_IFS 12280 7525 test -z "$as_dir" && as_dir=. 12281 for ac_exec_ext in '' $ac_executable_extensions; do7526 for ac_exec_ext in '' $ac_executable_extensions; do 12282 7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12283 7528 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12285 7530 break 2 12286 7531 fi 12287 7532 done 12288 done7533 done 12289 7534 IFS=$as_save_IFS 12290 7535 … … 12294 7539 MEXEXT=$ac_cv_path_MEXEXT 12295 7540 if test -n "$MEXEXT"; then 12296 { echo "$as_me:$LINENO: result: $MEXEXT" >&512297 echo "${ECHO_T}$MEXEXT" >&6; }12298 else 12299 { echo "$as_me:$LINENO: result: no" >&512300 echo "${ECHO_T}no" >&6; }7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7542 $as_echo "$MEXEXT" >&6; } 7543 else 7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7545 $as_echo "no" >&6; } 12301 7546 fi 12302 7547 … … 12304 7549 12305 7550 # Run "mexext" to get the expected module extension for this platform. 12306 { echo "$as_me:$LINENO: checking for mex extension" >&512307 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 7552 $as_echo_n "checking for mex extension... " >&6; } 12308 7553 if test "x$MEXEXT" != "x" ; then 12309 7554 MEXEXT=`$MEXEXT` … … 12311 7556 MEXEXT="mexglx" 12312 7557 fi 12313 { echo "$as_me:$LINENO: result: $MEXEXT" >&512314 echo "${ECHO_T}$MEXEXT" >&6; }7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7559 $as_echo "$MEXEXT" >&6; } 12315 7560 # Extract the first word of "mcc", so it can be a program name with args. 12316 7561 set dummy mcc; ac_word=$2 12317 { echo "$as_me:$LINENO: checking for $ac_word" >&512318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12319 if test "${ac_cv_path_MCC+set}" = set; then12320 echo $ECHO_N "(cached) $ECHO_C" >&67562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7563 $as_echo_n "checking for $ac_word... " >&6; } 7564 if ${ac_cv_path_MCC+:} false; then : 7565 $as_echo_n "(cached) " >&6 12321 7566 else 12322 7567 case $MCC in … … 12330 7575 IFS=$as_save_IFS 12331 7576 test -z "$as_dir" && as_dir=. 12332 for ac_exec_ext in '' $ac_executable_extensions; do7577 for ac_exec_ext in '' $ac_executable_extensions; do 12333 7578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12334 7579 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12336 7581 break 2 12337 7582 fi 12338 7583 done 12339 done7584 done 12340 7585 IFS=$as_save_IFS 12341 7586 … … 12345 7590 MCC=$ac_cv_path_MCC 12346 7591 if test -n "$MCC"; then 12347 { echo "$as_me:$LINENO: result: $MCC" >&512348 echo "${ECHO_T}$MCC" >&6; }12349 else 12350 { echo "$as_me:$LINENO: result: no" >&512351 echo "${ECHO_T}no" >&6; }12352 fi 12353 12354 12355 { echo "$as_me:$LINENO: checking for mcc extension" >&512356 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; }7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 7593 $as_echo "$MCC" >&6; } 7594 else 7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7596 $as_echo "no" >&6; } 7597 fi 7598 7599 7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 7601 $as_echo_n "checking for mcc extension... " >&6; } 12357 7602 fi 12358 7603 … … 12366 7611 12367 7612 # Check whether --with-octave was given. 12368 if test "${with_octave+set}" = set; then 7613 if test "${with_octave+set}" = set; then : 12369 7614 withval=$with_octave; rp_with_octave=$withval 12370 7615 else … … 12385 7630 # Extract the first word of "octave", so it can be a program name with args. 12386 7631 set dummy octave; ac_word=$2 12387 { echo "$as_me:$LINENO: checking for $ac_word" >&512388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12389 if test "${ac_cv_path_OCTAVE+set}" = set; then12390 echo $ECHO_N "(cached) $ECHO_C" >&67632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7633 $as_echo_n "checking for $ac_word... " >&6; } 7634 if ${ac_cv_path_OCTAVE+:} false; then : 7635 $as_echo_n "(cached) " >&6 12391 7636 else 12392 7637 case $OCTAVE in … … 12400 7645 IFS=$as_save_IFS 12401 7646 test -z "$as_dir" && as_dir=. 12402 for ac_exec_ext in '' $ac_executable_extensions; do7647 for ac_exec_ext in '' $ac_executable_extensions; do 12403 7648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12404 7649 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12406 7651 break 2 12407 7652 fi 12408 7653 done 12409 done7654 done 12410 7655 IFS=$as_save_IFS 12411 7656 … … 12415 7660 OCTAVE=$ac_cv_path_OCTAVE 12416 7661 if test -n "$OCTAVE"; then 12417 { echo "$as_me:$LINENO: result: $OCTAVE" >&512418 echo "${ECHO_T}$OCTAVE" >&6; }12419 else 12420 { echo "$as_me:$LINENO: result: no" >&512421 echo "${ECHO_T}no" >&6; }7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7663 $as_echo "$OCTAVE" >&6; } 7664 else 7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7666 $as_echo "no" >&6; } 12422 7667 fi 12423 7668 … … 12425 7670 # Extract the first word of "mkoctfile", so it can be a program name with args. 12426 7671 set dummy mkoctfile; ac_word=$2 12427 { echo "$as_me:$LINENO: checking for $ac_word" >&512428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12429 if test "${ac_cv_path_MKOCTFILE+set}" = set; then12430 echo $ECHO_N "(cached) $ECHO_C" >&67672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7673 $as_echo_n "checking for $ac_word... " >&6; } 7674 if ${ac_cv_path_MKOCTFILE+:} false; then : 7675 $as_echo_n "(cached) " >&6 12431 7676 else 12432 7677 case $MKOCTFILE in … … 12440 7685 IFS=$as_save_IFS 12441 7686 test -z "$as_dir" && as_dir=. 12442 for ac_exec_ext in '' $ac_executable_extensions; do7687 for ac_exec_ext in '' $ac_executable_extensions; do 12443 7688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12444 7689 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12446 7691 break 2 12447 7692 fi 12448 7693 done 12449 done7694 done 12450 7695 IFS=$as_save_IFS 12451 7696 … … 12455 7700 MKOCTFILE=$ac_cv_path_MKOCTFILE 12456 7701 if test -n "$MKOCTFILE"; then 12457 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512458 echo "${ECHO_T}$MKOCTFILE" >&6; }12459 else 12460 { echo "$as_me:$LINENO: result: no" >&512461 echo "${ECHO_T}no" >&6; }7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7703 $as_echo "$MKOCTFILE" >&6; } 7704 else 7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7706 $as_echo "no" >&6; } 12462 7707 fi 12463 7708 … … 12484 7729 12485 7730 # Check whether --with-octave2 was given. 12486 if test "${with_octave2+set}" = set; then 7731 if test "${with_octave2+set}" = set; then : 12487 7732 withval=$with_octave2; rp_with_octave2=$withval 12488 7733 else … … 12495 7740 # Extract the first word of "octave", so it can be a program name with args. 12496 7741 set dummy octave; ac_word=$2 12497 { echo "$as_me:$LINENO: checking for $ac_word" >&512498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12499 if test "${ac_cv_path_octave2+set}" = set; then12500 echo $ECHO_N "(cached) $ECHO_C" >&67742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7743 $as_echo_n "checking for $ac_word... " >&6; } 7744 if ${ac_cv_path_octave2+:} false; then : 7745 $as_echo_n "(cached) " >&6 12501 7746 else 12502 7747 case $octave2 in … … 12510 7755 IFS=$as_save_IFS 12511 7756 test -z "$as_dir" && as_dir=. 12512 for ac_exec_ext in '' $ac_executable_extensions; do7757 for ac_exec_ext in '' $ac_executable_extensions; do 12513 7758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12514 7759 ac_cv_path_octave2="$as_dir/$ac_word$ac_exec_ext" 12515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12516 7761 break 2 12517 7762 fi 12518 7763 done 12519 done7764 done 12520 7765 IFS=$as_save_IFS 12521 7766 … … 12525 7770 octave2=$ac_cv_path_octave2 12526 7771 if test -n "$octave2"; then 12527 { echo "$as_me:$LINENO: result: $octave2" >&512528 echo "${ECHO_T}$octave2" >&6; }12529 else 12530 { echo "$as_me:$LINENO: result: no" >&512531 echo "${ECHO_T}no" >&6; }7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave2" >&5 7773 $as_echo "$octave2" >&6; } 7774 else 7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7776 $as_echo "no" >&6; } 12532 7777 fi 12533 7778 … … 12535 7780 # Extract the first word of "mkoctfile", so it can be a program name with args. 12536 7781 set dummy mkoctfile; ac_word=$2 12537 { echo "$as_me:$LINENO: checking for $ac_word" >&512538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12539 if test "${ac_cv_path_mkoctfile2+set}" = set; then12540 echo $ECHO_N "(cached) $ECHO_C" >&67782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7783 $as_echo_n "checking for $ac_word... " >&6; } 7784 if ${ac_cv_path_mkoctfile2+:} false; then : 7785 $as_echo_n "(cached) " >&6 12541 7786 else 12542 7787 case $mkoctfile2 in … … 12550 7795 IFS=$as_save_IFS 12551 7796 test -z "$as_dir" && as_dir=. 12552 for ac_exec_ext in '' $ac_executable_extensions; do7797 for ac_exec_ext in '' $ac_executable_extensions; do 12553 7798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12554 7799 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext" 12555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12556 7801 break 2 12557 7802 fi 12558 7803 done 12559 done7804 done 12560 7805 IFS=$as_save_IFS 12561 7806 … … 12565 7810 mkoctfile2=$ac_cv_path_mkoctfile2 12566 7811 if test -n "$mkoctfile2"; then 12567 { echo "$as_me:$LINENO: result: $mkoctfile2" >&512568 echo "${ECHO_T}$mkoctfile2" >&6; }12569 else 12570 { echo "$as_me:$LINENO: result: no" >&512571 echo "${ECHO_T}no" >&6; }7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5 7813 $as_echo "$mkoctfile2" >&6; } 7814 else 7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7816 $as_echo "no" >&6; } 12572 7817 fi 12573 7818 … … 12591 7836 12592 7837 # Check whether --with-octave3 was given. 12593 if test "${with_octave3+set}" = set; then 7838 if test "${with_octave3+set}" = set; then : 12594 7839 withval=$with_octave3; rp_with_octave3=$withval 12595 7840 else … … 12602 7847 # Extract the first word of "octave", so it can be a program name with args. 12603 7848 set dummy octave; ac_word=$2 12604 { echo "$as_me:$LINENO: checking for $ac_word" >&512605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12606 if test "${ac_cv_path_octave3+set}" = set; then12607 echo $ECHO_N "(cached) $ECHO_C" >&67849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7850 $as_echo_n "checking for $ac_word... " >&6; } 7851 if ${ac_cv_path_octave3+:} false; then : 7852 $as_echo_n "(cached) " >&6 12608 7853 else 12609 7854 case $octave3 in … … 12617 7862 IFS=$as_save_IFS 12618 7863 test -z "$as_dir" && as_dir=. 12619 for ac_exec_ext in '' $ac_executable_extensions; do7864 for ac_exec_ext in '' $ac_executable_extensions; do 12620 7865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12621 7866 ac_cv_path_octave3="$as_dir/$ac_word$ac_exec_ext" 12622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12623 7868 break 2 12624 7869 fi 12625 7870 done 12626 done7871 done 12627 7872 IFS=$as_save_IFS 12628 7873 … … 12632 7877 octave3=$ac_cv_path_octave3 12633 7878 if test -n "$octave3"; then 12634 { echo "$as_me:$LINENO: result: $octave3" >&512635 echo "${ECHO_T}$octave3" >&6; }12636 else 12637 { echo "$as_me:$LINENO: result: no" >&512638 echo "${ECHO_T}no" >&6; }7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave3" >&5 7880 $as_echo "$octave3" >&6; } 7881 else 7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7883 $as_echo "no" >&6; } 12639 7884 fi 12640 7885 … … 12642 7887 # Extract the first word of "mkoctfile", so it can be a program name with args. 12643 7888 set dummy mkoctfile; ac_word=$2 12644 { echo "$as_me:$LINENO: checking for $ac_word" >&512645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12646 if test "${ac_cv_path_mkoctfile3+set}" = set; then12647 echo $ECHO_N "(cached) $ECHO_C" >&67889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7890 $as_echo_n "checking for $ac_word... " >&6; } 7891 if ${ac_cv_path_mkoctfile3+:} false; then : 7892 $as_echo_n "(cached) " >&6 12648 7893 else 12649 7894 case $mkoctfile3 in … … 12657 7902 IFS=$as_save_IFS 12658 7903 test -z "$as_dir" && as_dir=. 12659 for ac_exec_ext in '' $ac_executable_extensions; do7904 for ac_exec_ext in '' $ac_executable_extensions; do 12660 7905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12661 7906 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 12662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12663 7908 break 2 12664 7909 fi 12665 7910 done 12666 done7911 done 12667 7912 IFS=$as_save_IFS 12668 7913 … … 12672 7917 mkoctfile3=$ac_cv_path_mkoctfile3 12673 7918 if test -n "$mkoctfile3"; then 12674 { echo "$as_me:$LINENO: result: $mkoctfile3" >&512675 echo "${ECHO_T}$mkoctfile3" >&6; }12676 else 12677 { echo "$as_me:$LINENO: result: no" >&512678 echo "${ECHO_T}no" >&6; }7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5 7920 $as_echo "$mkoctfile3" >&6; } 7921 else 7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7923 $as_echo "no" >&6; } 12679 7924 fi 12680 7925 … … 12706 7951 12707 7952 # Check whether --with-perl was given. 12708 if test "${with_perl+set}" = set; then 7953 if test "${with_perl+set}" = set; then : 12709 7954 withval=$with_perl; 12710 7955 else … … 12728 7973 # Extract the first word of "perl", so it can be a program name with args. 12729 7974 set dummy perl; ac_word=$2 12730 { echo "$as_me:$LINENO: checking for $ac_word" >&512731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12732 if test "${ac_cv_path_PERL+set}" = set; then12733 echo $ECHO_N "(cached) $ECHO_C" >&67975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7976 $as_echo_n "checking for $ac_word... " >&6; } 7977 if ${ac_cv_path_PERL+:} false; then : 7978 $as_echo_n "(cached) " >&6 12734 7979 else 12735 7980 case $PERL in … … 12744 7989 IFS=$as_save_IFS 12745 7990 test -z "$as_dir" && as_dir=. 12746 for ac_exec_ext in '' $ac_executable_extensions; do7991 for ac_exec_ext in '' $ac_executable_extensions; do 12747 7992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12748 7993 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12750 7995 break 2 12751 7996 fi 12752 7997 done 12753 done7998 done 12754 7999 IFS=$as_save_IFS 12755 8000 … … 12759 8004 PERL=$ac_cv_path_PERL 12760 8005 if test -n "$PERL"; then 12761 { echo "$as_me:$LINENO: result: $PERL" >&512762 echo "${ECHO_T}$PERL" >&6; }12763 else 12764 { echo "$as_me:$LINENO: result: no" >&512765 echo "${ECHO_T}no" >&6; }8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8007 $as_echo "$PERL" >&6; } 8008 else 8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8010 $as_echo "no" >&6; } 12766 8011 fi 12767 8012 … … 12770 8015 # Extract the first word of "perl", so it can be a program name with args. 12771 8016 set dummy perl; ac_word=$2 12772 { echo "$as_me:$LINENO: checking for $ac_word" >&512773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12774 if test "${ac_cv_path_PERL+set}" = set; then12775 echo $ECHO_N "(cached) $ECHO_C" >&68017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8018 $as_echo_n "checking for $ac_word... " >&6; } 8019 if ${ac_cv_path_PERL+:} false; then : 8020 $as_echo_n "(cached) " >&6 12776 8021 else 12777 8022 case $PERL in … … 12785 8030 IFS=$as_save_IFS 12786 8031 test -z "$as_dir" && as_dir=. 12787 for ac_exec_ext in '' $ac_executable_extensions; do8032 for ac_exec_ext in '' $ac_executable_extensions; do 12788 8033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12789 8034 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12791 8036 break 2 12792 8037 fi 12793 8038 done 12794 done8039 done 12795 8040 IFS=$as_save_IFS 12796 8041 … … 12800 8045 PERL=$ac_cv_path_PERL 12801 8046 if test -n "$PERL"; then 12802 { echo "$as_me:$LINENO: result: $PERL" >&512803 echo "${ECHO_T}$PERL" >&6; }12804 else 12805 { echo "$as_me:$LINENO: result: no" >&512806 echo "${ECHO_T}no" >&6; }8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8048 $as_echo "$PERL" >&6; } 8049 else 8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8051 $as_echo "no" >&6; } 12807 8052 fi 12808 8053 … … 12853 8098 12854 8099 # Check whether --with-python was given. 12855 if test "${with_python+set}" = set; then 8100 if test "${with_python+set}" = set; then : 12856 8101 withval=$with_python; 12857 8102 else … … 12864 8109 # 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. 12865 8110 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 12866 { echo "$as_me:$LINENO: checking for $ac_word" >&512867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12868 if test "${ac_cv_path_PYTHON+set}" = set; then12869 echo $ECHO_N "(cached) $ECHO_C" >&68111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8112 $as_echo_n "checking for $ac_word... " >&6; } 8113 if ${ac_cv_path_PYTHON+:} false; then : 8114 $as_echo_n "(cached) " >&6 12870 8115 else 12871 8116 case $PYTHON in … … 12879 8124 IFS=$as_save_IFS 12880 8125 test -z "$as_dir" && as_dir=. 12881 for ac_exec_ext in '' $ac_executable_extensions; do8126 for ac_exec_ext in '' $ac_executable_extensions; do 12882 8127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12883 8128 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12885 8130 break 2 12886 8131 fi 12887 8132 done 12888 done8133 done 12889 8134 IFS=$as_save_IFS 12890 8135 … … 12894 8139 PYTHON=$ac_cv_path_PYTHON 12895 8140 if test -n "$PYTHON"; then 12896 { echo "$as_me:$LINENO: result: $PYTHON" >&512897 echo "${ECHO_T}$PYTHON" >&6; }12898 else 12899 { echo "$as_me:$LINENO: result: no" >&512900 echo "${ECHO_T}no" >&6; }8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8142 $as_echo "$PYTHON" >&6; } 8143 else 8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8145 $as_echo "no" >&6; } 12901 8146 fi 12902 8147 … … 12905 8150 # Extract the first word of "python", so it can be a program name with args. 12906 8151 set dummy python; ac_word=$2 12907 { echo "$as_me:$LINENO: checking for $ac_word" >&512908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12909 if test "${ac_cv_path_PYTHON+set}" = set; then12910 echo $ECHO_N "(cached) $ECHO_C" >&68152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8153 $as_echo_n "checking for $ac_word... " >&6; } 8154 if ${ac_cv_path_PYTHON+:} false; then : 8155 $as_echo_n "(cached) " >&6 12911 8156 else 12912 8157 case $PYTHON in … … 12921 8166 IFS=$as_save_IFS 12922 8167 test -z "$as_dir" && as_dir=. 12923 for ac_exec_ext in '' $ac_executable_extensions; do8168 for ac_exec_ext in '' $ac_executable_extensions; do 12924 8169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12925 8170 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12927 8172 break 2 12928 8173 fi 12929 8174 done 12930 done8175 done 12931 8176 IFS=$as_save_IFS 12932 8177 … … 12936 8181 PYTHON=$ac_cv_path_PYTHON 12937 8182 if test -n "$PYTHON"; then 12938 { echo "$as_me:$LINENO: result: $PYTHON" >&512939 echo "${ECHO_T}$PYTHON" >&6; }12940 else 12941 { echo "$as_me:$LINENO: result: no" >&512942 echo "${ECHO_T}no" >&6; }12943 fi 12944 12945 12946 fi 12947 { echo "$as_me:$LINENO: checking for Python version" >&512948 echo $ECHO_N "checking for Python version... $ECHO_C" >&6; }8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8184 $as_echo "$PYTHON" >&6; } 8185 else 8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8187 $as_echo "no" >&6; } 8188 fi 8189 8190 8191 fi 8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 8193 $as_echo_n "checking for Python version... " >&6; } 12949 8194 if test "x${PYTHON}" != "x"; then 12950 8195 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 12951 8196 fi 12952 { echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&512953 echo "${ECHO_T}$PYTHON_VERSION" >&6; }8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 8198 $as_echo "$PYTHON_VERSION" >&6; } 12954 8199 fi 12955 8200 12956 8201 if test "x${PYTHON_VERSION}" != "x"; then 12957 8202 PYTHON_INCLUDES=$incdir 12958 { echo "$as_me:$LINENO: checking for Python distutils" >&512959 echo $ECHO_N "checking for Python distutils... $ECHO_C" >&6; }8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 8204 $as_echo_n "checking for Python distutils... " >&6; } 12960 8205 PYTHON_DISTUTILS="" 12961 8206 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ … … 12964 8209 PYTHON_DISTUTILS="yes" 12965 8210 fi 12966 { echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&512967 echo "${ECHO_T}$PYTHON_DISTUTILS" >&6; }8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 8212 $as_echo "$PYTHON_DISTUTILS" >&6; } 12968 8213 if test "${PYTHON_DISTUTILS}" = "yes" ; then 12969 8214 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` … … 12971 8216 # Check for Python include path 12972 8217 # 12973 { echo "$as_me:$LINENO: checking path to Python headers" >&512974 echo $ECHO_N "checking path to Python headers... $ECHO_C" >&6; }8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 8219 $as_echo_n "checking path to Python headers... " >&6; } 12975 8220 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 12976 8221 print distutils.sysconfig.get_python_inc();"` 12977 { echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&512978 echo "${ECHO_T}$PYTHON_INCDIR" >&6; }8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 8223 $as_echo "$PYTHON_INCDIR" >&6; } 12979 8224 # 12980 8225 # Python distutils found, get settings from python directly … … 12988 8233 save_CPPFLAGS=$CPPFLAGS 12989 8234 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 12990 12991 for ac_header in Python.h 12992 do 12993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12995 { echo "$as_me:$LINENO: checking for $ac_header" >&5 12996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 12997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12998 echo $ECHO_N "(cached) $ECHO_C" >&6 12999 fi 13000 ac_res=`eval echo '${'$as_ac_Header'}'` 13001 { echo "$as_me:$LINENO: result: $ac_res" >&5 13002 echo "${ECHO_T}$ac_res" >&6; } 13003 else 13004 # Is the header compilable? 13005 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 13006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 13007 cat >conftest.$ac_ext <<_ACEOF 13008 /* confdefs.h. */ 13009 _ACEOF 13010 cat confdefs.h >>conftest.$ac_ext 13011 cat >>conftest.$ac_ext <<_ACEOF 13012 /* end confdefs.h. */ 13013 $ac_includes_default 13014 #include <$ac_header> 13015 _ACEOF 13016 rm -f conftest.$ac_objext 13017 if { (ac_try="$ac_compile" 13018 case "(($ac_try" in 13019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13020 *) ac_try_echo=$ac_try;; 13021 esac 13022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13023 (eval "$ac_compile") 2>conftest.er1 13024 ac_status=$? 13025 grep -v '^ *+' conftest.er1 >conftest.err 13026 rm -f conftest.er1 13027 cat conftest.err >&5 13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13029 (exit $ac_status); } && { 13030 test -z "$ac_cxx_werror_flag" || 13031 test ! -s conftest.err 13032 } && test -s conftest.$ac_objext; then 13033 ac_header_compiler=yes 13034 else 13035 echo "$as_me: failed program was:" >&5 13036 sed 's/^/| /' conftest.$ac_ext >&5 13037 13038 ac_header_compiler=no 13039 fi 13040 13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13042 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13043 echo "${ECHO_T}$ac_header_compiler" >&6; } 13044 13045 # Is the header present? 13046 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 13047 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 13048 cat >conftest.$ac_ext <<_ACEOF 13049 /* confdefs.h. */ 13050 _ACEOF 13051 cat confdefs.h >>conftest.$ac_ext 13052 cat >>conftest.$ac_ext <<_ACEOF 13053 /* end confdefs.h. */ 13054 #include <$ac_header> 13055 _ACEOF 13056 if { (ac_try="$ac_cpp conftest.$ac_ext" 13057 case "(($ac_try" in 13058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13059 *) ac_try_echo=$ac_try;; 13060 esac 13061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13063 ac_status=$? 13064 grep -v '^ *+' conftest.er1 >conftest.err 13065 rm -f conftest.er1 13066 cat conftest.err >&5 13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13068 (exit $ac_status); } >/dev/null && { 13069 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13070 test ! -s conftest.err 13071 }; then 13072 ac_header_preproc=yes 13073 else 13074 echo "$as_me: failed program was:" >&5 13075 sed 's/^/| /' conftest.$ac_ext >&5 13076 13077 ac_header_preproc=no 13078 fi 13079 13080 rm -f conftest.err conftest.$ac_ext 13081 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13082 echo "${ECHO_T}$ac_header_preproc" >&6; } 13083 13084 # So? What about this header? 13085 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13086 yes:no: ) 13087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13091 ac_header_preproc=yes 13092 ;; 13093 no:yes:* ) 13094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13106 ( cat <<\_ASBOX 13107 ## ----------------------------------- ## 13108 ## Report this to rappture@nanohub.org ## 13109 ## ----------------------------------- ## 13110 _ASBOX 13111 ) | sed "s/^/$as_me: WARNING: /" >&2 13112 ;; 13113 esac 13114 { echo "$as_me:$LINENO: checking for $ac_header" >&5 13115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 13116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13117 echo $ECHO_N "(cached) $ECHO_C" >&6 13118 else 13119 eval "$as_ac_Header=\$ac_header_preproc" 13120 fi 13121 ac_res=`eval echo '${'$as_ac_Header'}'` 13122 { echo "$as_me:$LINENO: result: $ac_res" >&5 13123 echo "${ECHO_T}$ac_res" >&6; } 13124 13125 fi 13126 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8235 for ac_header in Python.h 8236 do : 8237 ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 8238 if test "x$ac_cv_header_Python_h" = xyes; then : 13127 8239 cat >>confdefs.h <<_ACEOF 13128 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18240 #define HAVE_PYTHON_H 1 13129 8241 _ACEOF 13130 8242 found=yes … … 13161 8273 13162 8274 # Check whether --with-ruby was given. 13163 if test "${with_ruby+set}" = set; then 8275 if test "${with_ruby+set}" = set; then : 13164 8276 withval=$with_ruby; rp_with_ruby=$withval 13165 8277 fi … … 13170 8282 # Extract the first word of "ruby", so it can be a program name with args. 13171 8283 set dummy ruby; ac_word=$2 13172 { echo "$as_me:$LINENO: checking for $ac_word" >&513173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13174 if test "${ac_cv_path_RUBY+set}" = set; then13175 echo $ECHO_N "(cached) $ECHO_C" >&68284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8285 $as_echo_n "checking for $ac_word... " >&6; } 8286 if ${ac_cv_path_RUBY+:} false; then : 8287 $as_echo_n "(cached) " >&6 13176 8288 else 13177 8289 case $RUBY in … … 13185 8297 IFS=$as_save_IFS 13186 8298 test -z "$as_dir" && as_dir=. 13187 for ac_exec_ext in '' $ac_executable_extensions; do8299 for ac_exec_ext in '' $ac_executable_extensions; do 13188 8300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13189 8301 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13191 8303 break 2 13192 8304 fi 13193 8305 done 13194 done8306 done 13195 8307 IFS=$as_save_IFS 13196 8308 … … 13200 8312 RUBY=$ac_cv_path_RUBY 13201 8313 if test -n "$RUBY"; then 13202 { echo "$as_me:$LINENO: result: $RUBY" >&513203 echo "${ECHO_T}$RUBY" >&6; }13204 else 13205 { echo "$as_me:$LINENO: result: no" >&513206 echo "${ECHO_T}no" >&6; }8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8315 $as_echo "$RUBY" >&6; } 8316 else 8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8318 $as_echo "no" >&6; } 13207 8319 fi 13208 8320 … … 13211 8323 # Extract the first word of "ruby", so it can be a program name with args. 13212 8324 set dummy ruby; ac_word=$2 13213 { echo "$as_me:$LINENO: checking for $ac_word" >&513214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13215 if test "${ac_cv_path_RUBY+set}" = set; then13216 echo $ECHO_N "(cached) $ECHO_C" >&68325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8326 $as_echo_n "checking for $ac_word... " >&6; } 8327 if ${ac_cv_path_RUBY+:} false; then : 8328 $as_echo_n "(cached) " >&6 13217 8329 else 13218 8330 case $RUBY in … … 13227 8339 IFS=$as_save_IFS 13228 8340 test -z "$as_dir" && as_dir=. 13229 for ac_exec_ext in '' $ac_executable_extensions; do8341 for ac_exec_ext in '' $ac_executable_extensions; do 13230 8342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13231 8343 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13233 8345 break 2 13234 8346 fi 13235 8347 done 13236 done8348 done 13237 8349 IFS=$as_save_IFS 13238 8350 … … 13242 8354 RUBY=$ac_cv_path_RUBY 13243 8355 if test -n "$RUBY"; then 13244 { echo "$as_me:$LINENO: result: $RUBY" >&513245 echo "${ECHO_T}$RUBY" >&6; }13246 else 13247 { echo "$as_me:$LINENO: result: no" >&513248 echo "${ECHO_T}no" >&6; }8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8357 $as_echo "$RUBY" >&6; } 8358 else 8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8360 $as_echo "no" >&6; } 13249 8361 fi 13250 8362 … … 13257 8369 RUBY_PLATFORM= 13258 8370 if test "x${RUBY}" != "x" ; then 13259 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&513260 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }13261 if test "${ac_cv_path_SED+set}" = set; then13262 echo $ECHO_N "(cached) $ECHO_C" >&68371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8372 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8373 if ${ac_cv_path_SED+:} false; then : 8374 $as_echo_n "(cached) " >&6 13263 8375 else 13264 8376 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 13266 8378 ac_script="$ac_script$as_nl$ac_script" 13267 8379 done 13268 echo "$ac_script" | sed 99q >conftest.sed 13269 $as_unset ac_script || ac_script= 13270 # Extract the first word of "sed gsed" to use in msg output 13271 if test -z "$SED"; then 13272 set dummy sed gsed; ac_prog_name=$2 13273 if test "${ac_cv_path_SED+set}" = set; then 13274 echo $ECHO_N "(cached) $ECHO_C" >&6 13275 else 8380 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8381 { ac_script=; unset ac_script;} 8382 if test -z "$SED"; then 13276 8383 ac_path_SED_found=false 13277 # Loop through the user's path and test for each of PROGNAME-LIST13278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8384 # Loop through the user's path and test for each of PROGNAME-LIST 8385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13279 8386 for as_dir in $PATH 13280 8387 do 13281 8388 IFS=$as_save_IFS 13282 8389 test -z "$as_dir" && as_dir=. 13283 for ac_prog in sed gsed; do13284 for ac_exec_ext in '' $ac_executable_extensions; do13285 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"13286 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue13287 8390 for ac_prog in sed gsed; do 8391 for ac_exec_ext in '' $ac_executable_extensions; do 8392 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8393 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 8394 # Check for GNU ac_path_SED and select it if it is found. 13288 8395 # Check for GNU $ac_path_SED 13289 8396 case `"$ac_path_SED" --version 2>&1` in … … 13292 8399 *) 13293 8400 ac_count=0 13294 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"8401 $as_echo_n 0123456789 >"conftest.in" 13295 8402 while : 13296 8403 do … … 13298 8405 mv "conftest.tmp" "conftest.in" 13299 8406 cp "conftest.in" "conftest.nl" 13300 echo '' >> "conftest.nl"8407 $as_echo '' >> "conftest.nl" 13301 8408 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 13302 8409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 13303 a c_count=`expr $ac_count + 1`8410 as_fn_arith $ac_count + 1 && ac_count=$as_val 13304 8411 if test $ac_count -gt ${ac_path_SED_max-0}; then 13305 8412 # Best one so far, save it but keep looking for a better one … … 13313 8420 esac 13314 8421 13315 13316 $ac_path_SED_found && break 38422 $ac_path_SED_found && break 3 8423 done 13317 8424 done 13318 done 13319 13320 done 8425 done 13321 8426 IFS=$as_save_IFS 13322 13323 13324 fi 13325 13326 SED="$ac_cv_path_SED" 13327 if test -z "$SED"; then 13328 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 13329 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 13330 { (exit 1); exit 1; }; } 13331 fi 13332 8427 if test -z "$ac_cv_path_SED"; then 8428 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8429 fi 13333 8430 else 13334 8431 ac_cv_path_SED=$SED … … 13336 8433 13337 8434 fi 13338 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&513339 echo "${ECHO_T}$ac_cv_path_SED" >&6; }8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8436 $as_echo "$ac_cv_path_SED" >&6; } 13340 8437 SED="$ac_cv_path_SED" 13341 8438 rm -f conftest.sed … … 13345 8442 13346 8443 13347 if test -n "$RUBY"; then 8444 if test -n "$RUBY"; then : 13348 8445 13349 8446 ax_ruby_version="" 13350 8447 13351 { echo "$as_me:$LINENO: checking for ruby version" >&513352 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5 8449 $as_echo_n "checking for ruby version... " >&6; } 13353 8450 13354 8451 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 13355 8452 13356 { echo "$as_me:$LINENO: result: $ruby_version" >&513357 echo "${ECHO_T}$ruby_version" >&6; }8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5 8454 $as_echo "$ruby_version" >&6; } 13358 8455 13359 8456 RUBY_VERSION=$ruby_version … … 13365 8462 # Extract the first word of "$ac_prog", so it can be a program name with args. 13366 8463 set dummy $ac_prog; ac_word=$2 13367 { echo "$as_me:$LINENO: checking for $ac_word" >&513368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13369 if test "${ac_cv_prog_AWK+set}" = set; then13370 echo $ECHO_N "(cached) $ECHO_C" >&68464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8465 $as_echo_n "checking for $ac_word... " >&6; } 8466 if ${ac_cv_prog_AWK+:} false; then : 8467 $as_echo_n "(cached) " >&6 13371 8468 else 13372 8469 if test -n "$AWK"; then … … 13378 8475 IFS=$as_save_IFS 13379 8476 test -z "$as_dir" && as_dir=. 13380 for ac_exec_ext in '' $ac_executable_extensions; do8477 for ac_exec_ext in '' $ac_executable_extensions; do 13381 8478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13382 8479 ac_cv_prog_AWK="$ac_prog" 13383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13384 8481 break 2 13385 8482 fi 13386 8483 done 13387 done8484 done 13388 8485 IFS=$as_save_IFS 13389 8486 … … 13392 8489 AWK=$ac_cv_prog_AWK 13393 8490 if test -n "$AWK"; then 13394 { echo "$as_me:$LINENO: result: $AWK" >&513395 echo "${ECHO_T}$AWK" >&6; }13396 else 13397 { echo "$as_me:$LINENO: result: no" >&513398 echo "${ECHO_T}no" >&6; }8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 8492 $as_echo "$AWK" >&6; } 8493 else 8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8495 $as_echo "no" >&6; } 13399 8496 fi 13400 8497 … … 13446 8543 else 13447 8544 13448 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13449 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13450 13451 13452 fi 13453 8545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8546 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8547 8548 8549 fi 13454 8550 13455 8551 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 13462 8558 # Check for Ruby include path 13463 8559 # 13464 { echo "$as_me:$LINENO: checking for Ruby include path" >&513465 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5 8561 $as_echo_n "checking for Ruby include path... " >&6; } 13466 8562 if test -z "$RUBY_CPPFLAGS"; then 13467 8563 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 13471 8567 RUBY_CPPFLAGS=$ruby_path 13472 8568 fi 13473 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&513474 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5 8570 $as_echo "$RUBY_CPPFLAGS" >&6; } 13475 8571 13476 8572 … … 13478 8574 # Check for Ruby library path 13479 8575 # 13480 { echo "$as_me:$LINENO: checking for Ruby library path" >&513481 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5 8577 $as_echo_n "checking for Ruby library path... " >&6; } 13482 8578 if test -z "$RUBY_LDFLAGS"; then 13483 8579 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 13484 8580 fi 13485 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&513486 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5 8582 $as_echo "$RUBY_LDFLAGS" >&6; } 13487 8583 13488 8584 … … 13490 8586 # Check for site packages 13491 8587 # 13492 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&513493 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5 8589 $as_echo_n "checking for Ruby site-packages path... " >&6; } 13494 8590 if test -z "$RUBY_SITE_PKG"; then 13495 8591 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 13496 8592 fi 13497 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&513498 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5 8594 $as_echo "$RUBY_SITE_PKG" >&6; } 13499 8595 13500 8596 … … 13502 8598 # libraries which must be linked in when embedding 13503 8599 # 13504 { echo "$as_me:$LINENO: checking ruby extra libraries" >&513505 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5 8601 $as_echo_n "checking ruby extra libraries... " >&6; } 13506 8602 if test -z "$RUBY_EXTRA_LIBS"; then 13507 8603 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 13508 8604 fi 13509 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&513510 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5 8606 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 13511 8607 13512 8608 … … 13527 8623 # final check to see if everything compiles alright 13528 8624 # 13529 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&513530 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5 8626 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 13531 8627 ac_ext=c 13532 8628 ac_cpp='$CPP $CPPFLAGS' … … 13540 8636 ac_save_CPPFLAGS="$CPPFLAGS" 13541 8637 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 13542 cat >conftest.$ac_ext <<_ACEOF 13543 /* confdefs.h. */ 13544 _ACEOF 13545 cat confdefs.h >>conftest.$ac_ext 13546 cat >>conftest.$ac_ext <<_ACEOF 8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13547 8639 /* end confdefs.h. */ 13548 8640 … … 13559 8651 } 13560 8652 _ACEOF 13561 rm -f conftest.$ac_objext conftest$ac_exeext 13562 if { (ac_try="$ac_link" 13563 case "(($ac_try" in 13564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13565 *) ac_try_echo=$ac_try;; 13566 esac 13567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13568 (eval "$ac_link") 2>conftest.er1 13569 ac_status=$? 13570 grep -v '^ *+' conftest.er1 >conftest.err 13571 rm -f conftest.er1 13572 cat conftest.err >&5 13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13574 (exit $ac_status); } && { 13575 test -z "$ac_c_werror_flag" || 13576 test ! -s conftest.err 13577 } && test -s conftest$ac_exeext && 13578 $as_test_x conftest$ac_exeext; then 8653 if ac_fn_c_try_link "$LINENO"; then : 13579 8654 rubyexists=yes 13580 8655 else 13581 echo "$as_me: failed program was:" >&5 13582 sed 's/^/| /' conftest.$ac_ext >&5 13583 13584 rubyexists=no 13585 fi 13586 13587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13588 conftest$ac_exeext conftest.$ac_ext 13589 13590 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13591 echo "${ECHO_T}$rubyexists" >&6; } 8656 rubyexists=no 8657 fi 8658 rm -f core conftest.err conftest.$ac_objext \ 8659 conftest$ac_exeext conftest.$ac_ext 8660 8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8662 $as_echo "$rubyexists" >&6; } 13592 8663 13593 8664 if test "$rubyexists" = "no"; then … … 13621 8692 13622 8693 # Check whether --with-java was given. 13623 if test "${with_java+set}" = set; then 8694 if test "${with_java+set}" = set; then : 13624 8695 withval=$with_java; rp_with_java=$withval 13625 8696 fi … … 13630 8701 # Extract the first word of "java", so it can be a program name with args. 13631 8702 set dummy java; ac_word=$2 13632 { echo "$as_me:$LINENO: checking for $ac_word" >&513633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13634 if test "${ac_cv_path_JAVA+set}" = set; then13635 echo $ECHO_N "(cached) $ECHO_C" >&68703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8704 $as_echo_n "checking for $ac_word... " >&6; } 8705 if ${ac_cv_path_JAVA+:} false; then : 8706 $as_echo_n "(cached) " >&6 13636 8707 else 13637 8708 case $JAVA in … … 13645 8716 IFS=$as_save_IFS 13646 8717 test -z "$as_dir" && as_dir=. 13647 for ac_exec_ext in '' $ac_executable_extensions; do8718 for ac_exec_ext in '' $ac_executable_extensions; do 13648 8719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13649 8720 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13651 8722 break 2 13652 8723 fi 13653 8724 done 13654 done8725 done 13655 8726 IFS=$as_save_IFS 13656 8727 … … 13660 8731 JAVA=$ac_cv_path_JAVA 13661 8732 if test -n "$JAVA"; then 13662 { echo "$as_me:$LINENO: result: $JAVA" >&513663 echo "${ECHO_T}$JAVA" >&6; }13664 else 13665 { echo "$as_me:$LINENO: result: no" >&513666 echo "${ECHO_T}no" >&6; }8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8734 $as_echo "$JAVA" >&6; } 8735 else 8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8737 $as_echo "no" >&6; } 13667 8738 fi 13668 8739 … … 13670 8741 # Extract the first word of "javac", so it can be a program name with args. 13671 8742 set dummy javac; ac_word=$2 13672 { echo "$as_me:$LINENO: checking for $ac_word" >&513673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13674 if test "${ac_cv_path_JAVAC+set}" = set; then13675 echo $ECHO_N "(cached) $ECHO_C" >&68743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8744 $as_echo_n "checking for $ac_word... " >&6; } 8745 if ${ac_cv_path_JAVAC+:} false; then : 8746 $as_echo_n "(cached) " >&6 13676 8747 else 13677 8748 case $JAVAC in … … 13685 8756 IFS=$as_save_IFS 13686 8757 test -z "$as_dir" && as_dir=. 13687 for ac_exec_ext in '' $ac_executable_extensions; do8758 for ac_exec_ext in '' $ac_executable_extensions; do 13688 8759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13689 8760 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13691 8762 break 2 13692 8763 fi 13693 8764 done 13694 done8765 done 13695 8766 IFS=$as_save_IFS 13696 8767 … … 13700 8771 JAVAC=$ac_cv_path_JAVAC 13701 8772 if test -n "$JAVAC"; then 13702 { echo "$as_me:$LINENO: result: $JAVAC" >&513703 echo "${ECHO_T}$JAVAC" >&6; }13704 else 13705 { echo "$as_me:$LINENO: result: no" >&513706 echo "${ECHO_T}no" >&6; }8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8774 $as_echo "$JAVAC" >&6; } 8775 else 8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8777 $as_echo "no" >&6; } 13707 8778 fi 13708 8779 … … 13710 8781 # Extract the first word of "javah", so it can be a program name with args. 13711 8782 set dummy javah; ac_word=$2 13712 { echo "$as_me:$LINENO: checking for $ac_word" >&513713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13714 if test "${ac_cv_path_JAVAH+set}" = set; then13715 echo $ECHO_N "(cached) $ECHO_C" >&68783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8784 $as_echo_n "checking for $ac_word... " >&6; } 8785 if ${ac_cv_path_JAVAH+:} false; then : 8786 $as_echo_n "(cached) " >&6 13716 8787 else 13717 8788 case $JAVAH in … … 13725 8796 IFS=$as_save_IFS 13726 8797 test -z "$as_dir" && as_dir=. 13727 for ac_exec_ext in '' $ac_executable_extensions; do8798 for ac_exec_ext in '' $ac_executable_extensions; do 13728 8799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13729 8800 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13731 8802 break 2 13732 8803 fi 13733 8804 done 13734 done8805 done 13735 8806 IFS=$as_save_IFS 13736 8807 … … 13740 8811 JAVAH=$ac_cv_path_JAVAH 13741 8812 if test -n "$JAVAH"; then 13742 { echo "$as_me:$LINENO: result: $JAVAH" >&513743 echo "${ECHO_T}$JAVAH" >&6; }13744 else 13745 { echo "$as_me:$LINENO: result: no" >&513746 echo "${ECHO_T}no" >&6; }8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8814 $as_echo "$JAVAH" >&6; } 8815 else 8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8817 $as_echo "no" >&6; } 13747 8818 fi 13748 8819 … … 13751 8822 # Extract the first word of "java", so it can be a program name with args. 13752 8823 set dummy java; ac_word=$2 13753 { echo "$as_me:$LINENO: checking for $ac_word" >&513754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13755 if test "${ac_cv_path_JAVA+set}" = set; then13756 echo $ECHO_N "(cached) $ECHO_C" >&68824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8825 $as_echo_n "checking for $ac_word... " >&6; } 8826 if ${ac_cv_path_JAVA+:} false; then : 8827 $as_echo_n "(cached) " >&6 13757 8828 else 13758 8829 case $JAVA in … … 13767 8838 IFS=$as_save_IFS 13768 8839 test -z "$as_dir" && as_dir=. 13769 for ac_exec_ext in '' $ac_executable_extensions; do8840 for ac_exec_ext in '' $ac_executable_extensions; do 13770 8841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13771 8842 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13773 8844 break 2 13774 8845 fi 13775 8846 done 13776 done8847 done 13777 8848 IFS=$as_save_IFS 13778 8849 … … 13782 8853 JAVA=$ac_cv_path_JAVA 13783 8854 if test -n "$JAVA"; then 13784 { echo "$as_me:$LINENO: result: $JAVA" >&513785 echo "${ECHO_T}$JAVA" >&6; }13786 else 13787 { echo "$as_me:$LINENO: result: no" >&513788 echo "${ECHO_T}no" >&6; }8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8856 $as_echo "$JAVA" >&6; } 8857 else 8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8859 $as_echo "no" >&6; } 13789 8860 fi 13790 8861 … … 13792 8863 # Extract the first word of "javac", so it can be a program name with args. 13793 8864 set dummy javac; ac_word=$2 13794 { echo "$as_me:$LINENO: checking for $ac_word" >&513795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13796 if test "${ac_cv_path_JAVAC+set}" = set; then13797 echo $ECHO_N "(cached) $ECHO_C" >&68865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8866 $as_echo_n "checking for $ac_word... " >&6; } 8867 if ${ac_cv_path_JAVAC+:} false; then : 8868 $as_echo_n "(cached) " >&6 13798 8869 else 13799 8870 case $JAVAC in … … 13808 8879 IFS=$as_save_IFS 13809 8880 test -z "$as_dir" && as_dir=. 13810 for ac_exec_ext in '' $ac_executable_extensions; do8881 for ac_exec_ext in '' $ac_executable_extensions; do 13811 8882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13812 8883 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13814 8885 break 2 13815 8886 fi 13816 8887 done 13817 done8888 done 13818 8889 IFS=$as_save_IFS 13819 8890 … … 13823 8894 JAVAC=$ac_cv_path_JAVAC 13824 8895 if test -n "$JAVAC"; then 13825 { echo "$as_me:$LINENO: result: $JAVAC" >&513826 echo "${ECHO_T}$JAVAC" >&6; }13827 else 13828 { echo "$as_me:$LINENO: result: no" >&513829 echo "${ECHO_T}no" >&6; }8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8897 $as_echo "$JAVAC" >&6; } 8898 else 8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8900 $as_echo "no" >&6; } 13830 8901 fi 13831 8902 … … 13833 8904 # Extract the first word of "javah", so it can be a program name with args. 13834 8905 set dummy javah; ac_word=$2 13835 { echo "$as_me:$LINENO: checking for $ac_word" >&513836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13837 if test "${ac_cv_path_JAVAH+set}" = set; then13838 echo $ECHO_N "(cached) $ECHO_C" >&68906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8907 $as_echo_n "checking for $ac_word... " >&6; } 8908 if ${ac_cv_path_JAVAH+:} false; then : 8909 $as_echo_n "(cached) " >&6 13839 8910 else 13840 8911 case $JAVAH in … … 13849 8920 IFS=$as_save_IFS 13850 8921 test -z "$as_dir" && as_dir=. 13851 for ac_exec_ext in '' $ac_executable_extensions; do8922 for ac_exec_ext in '' $ac_executable_extensions; do 13852 8923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13853 8924 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13855 8926 break 2 13856 8927 fi 13857 8928 done 13858 done8929 done 13859 8930 IFS=$as_save_IFS 13860 8931 … … 13864 8935 JAVAH=$ac_cv_path_JAVAH 13865 8936 if test -n "$JAVAH"; then 13866 { echo "$as_me:$LINENO: result: $JAVAH" >&513867 echo "${ECHO_T}$JAVAH" >&6; }13868 else 13869 { echo "$as_me:$LINENO: result: no" >&513870 echo "${ECHO_T}no" >&6; }8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8938 $as_echo "$JAVAH" >&6; } 8939 else 8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8941 $as_echo "no" >&6; } 13871 8942 fi 13872 8943 … … 13910 8981 13911 8982 13912 { echo "$as_me:$LINENO: checking how to build libraries" >&513913 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 8984 $as_echo_n "checking how to build libraries... " >&6; } 13914 8985 # Check whether --enable-shared was given. 13915 if test "${enable_shared+set}" = set; then 8986 if test "${enable_shared+set}" = set; then : 13916 8987 enableval=$enable_shared; tcl_ok=$enableval 13917 8988 else … … 13928 8999 13929 9000 if test "$tcl_ok" = "yes" ; then 13930 { echo "$as_me:$LINENO: result: shared" >&513931 echo "${ECHO_T}shared" >&6; }9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 9002 $as_echo "shared" >&6; } 13932 9003 SHARED_BUILD=1 13933 9004 else 13934 { echo "$as_me:$LINENO: result: static" >&513935 echo "${ECHO_T}static" >&6; }9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 9006 $as_echo "static" >&6; } 13936 9007 SHARED_BUILD=0 13937 cat >>confdefs.h <<\_ACEOF 13938 #define STATIC_BUILD 1 13939 _ACEOF 9008 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13940 9009 13941 9010 fi … … 13972 9041 # ----------------------------------------------------------------------- 13973 9042 13974 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13975 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13976 if test "${ac_cv_c_bigendian+set}" = set; then 13977 echo $ECHO_N "(cached) $ECHO_C" >&6 13978 else 13979 # See if sys/param.h defines the BYTE_ORDER macro. 13980 cat >conftest.$ac_ext <<_ACEOF 13981 /* confdefs.h. */ 13982 _ACEOF 13983 cat confdefs.h >>conftest.$ac_ext 13984 cat >>conftest.$ac_ext <<_ACEOF 9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9044 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9045 if ${ac_cv_c_bigendian+:} false; then : 9046 $as_echo_n "(cached) " >&6 9047 else 9048 ac_cv_c_bigendian=unknown 9049 # See if we're dealing with a universal compiler. 9050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9051 /* end confdefs.h. */ 9052 #ifndef __APPLE_CC__ 9053 not a universal capable compiler 9054 #endif 9055 typedef int dummy; 9056 9057 _ACEOF 9058 if ac_fn_cxx_try_compile "$LINENO"; then : 9059 9060 # Check for potential -arch flags. It is not universal unless 9061 # there are at least two -arch flags with different values. 9062 ac_arch= 9063 ac_prev= 9064 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9065 if test -n "$ac_prev"; then 9066 case $ac_word in 9067 i?86 | x86_64 | ppc | ppc64) 9068 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9069 ac_arch=$ac_word 9070 else 9071 ac_cv_c_bigendian=universal 9072 break 9073 fi 9074 ;; 9075 esac 9076 ac_prev= 9077 elif test "x$ac_word" = "x-arch"; then 9078 ac_prev=arch 9079 fi 9080 done 9081 fi 9082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9083 if test $ac_cv_c_bigendian = unknown; then 9084 # See if sys/param.h defines the BYTE_ORDER macro. 9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13985 9086 /* end confdefs.h. */ 13986 9087 #include <sys/types.h> 13987 #include <sys/param.h>9088 #include <sys/param.h> 13988 9089 13989 9090 int 13990 9091 main () 13991 9092 { 13992 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13993 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13994 bogus endian macros 13995 #endif 9093 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 9094 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 9095 && LITTLE_ENDIAN) 9096 bogus endian macros 9097 #endif 13996 9098 13997 9099 ; … … 13999 9101 } 14000 9102 _ACEOF 14001 rm -f conftest.$ac_objext 14002 if { (ac_try="$ac_compile" 14003 case "(($ac_try" in 14004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14005 *) ac_try_echo=$ac_try;; 14006 esac 14007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14008 (eval "$ac_compile") 2>conftest.er1 14009 ac_status=$? 14010 grep -v '^ *+' conftest.er1 >conftest.err 14011 rm -f conftest.er1 14012 cat conftest.err >&5 14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14014 (exit $ac_status); } && { 14015 test -z "$ac_cxx_werror_flag" || 14016 test ! -s conftest.err 14017 } && test -s conftest.$ac_objext; then 9103 if ac_fn_cxx_try_compile "$LINENO"; then : 14018 9104 # It does; now see whether it defined to BIG_ENDIAN or not. 14019 cat >conftest.$ac_ext <<_ACEOF 14020 /* confdefs.h. */ 14021 _ACEOF 14022 cat confdefs.h >>conftest.$ac_ext 14023 cat >>conftest.$ac_ext <<_ACEOF 9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14024 9106 /* end confdefs.h. */ 14025 9107 #include <sys/types.h> 14026 #include <sys/param.h>9108 #include <sys/param.h> 14027 9109 14028 9110 int … … 14030 9112 { 14031 9113 #if BYTE_ORDER != BIG_ENDIAN 14032 not big endian14033 #endif9114 not big endian 9115 #endif 14034 9116 14035 9117 ; … … 14037 9119 } 14038 9120 _ACEOF 14039 rm -f conftest.$ac_objext 14040 if { (ac_try="$ac_compile" 14041 case "(($ac_try" in 14042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14043 *) ac_try_echo=$ac_try;; 14044 esac 14045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14046 (eval "$ac_compile") 2>conftest.er1 14047 ac_status=$? 14048 grep -v '^ *+' conftest.er1 >conftest.err 14049 rm -f conftest.er1 14050 cat conftest.err >&5 14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14052 (exit $ac_status); } && { 14053 test -z "$ac_cxx_werror_flag" || 14054 test ! -s conftest.err 14055 } && test -s conftest.$ac_objext; then 9121 if ac_fn_cxx_try_compile "$LINENO"; then : 14056 9122 ac_cv_c_bigendian=yes 14057 9123 else 14058 echo "$as_me: failed program was:" >&5 14059 sed 's/^/| /' conftest.$ac_ext >&5 14060 14061 ac_cv_c_bigendian=no 14062 fi 14063 9124 ac_cv_c_bigendian=no 9125 fi 14064 9126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14065 else 14066 echo "$as_me: failed program was:" >&5 14067 sed 's/^/| /' conftest.$ac_ext >&5 14068 14069 # It does not; compile a test program. 14070 if test "$cross_compiling" = yes; then 14071 # try to guess the endianness by grepping values into an object file 14072 ac_cv_c_bigendian=unknown 14073 cat >conftest.$ac_ext <<_ACEOF 14074 /* confdefs.h. */ 14075 _ACEOF 14076 cat confdefs.h >>conftest.$ac_ext 14077 cat >>conftest.$ac_ext <<_ACEOF 9127 fi 9128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9129 fi 9130 if test $ac_cv_c_bigendian = unknown; then 9131 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14078 9133 /* end confdefs.h. */ 14079 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 14080 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 14081 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 14082 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 14083 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 14084 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 9134 #include <limits.h> 9135 14085 9136 int 14086 9137 main () 14087 9138 { 14088 _ascii (); _ebcdic (); 9139 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 9140 bogus endian macros 9141 #endif 9142 14089 9143 ; 14090 9144 return 0; 14091 9145 } 14092 9146 _ACEOF 14093 rm -f conftest.$ac_objext 14094 if { (ac_try="$ac_compile" 14095 case "(($ac_try" in 14096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14097 *) ac_try_echo=$ac_try;; 14098 esac 14099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14100 (eval "$ac_compile") 2>conftest.er1 14101 ac_status=$? 14102 grep -v '^ *+' conftest.er1 >conftest.err 14103 rm -f conftest.er1 14104 cat conftest.err >&5 14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14106 (exit $ac_status); } && {14107 test -z "$ac_cxx_werror_flag" || 14108 test ! -s conftest.err 14109 } && test -s conftest.$ac_objext; then 14110 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 9147 if ac_fn_cxx_try_compile "$LINENO"; then : 9148 # It does; now see whether it defined to _BIG_ENDIAN or not. 9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9150 /* end confdefs.h. */ 9151 #include <limits.h> 9152 9153 int 9154 main () 9155 { 9156 #ifndef _BIG_ENDIAN 9157 not big endian 9158 #endif 9159 9160 ; 9161 return 0; 9162 } 9163 _ACEOF 9164 if ac_fn_cxx_try_compile "$LINENO"; then : 14111 9165 ac_cv_c_bigendian=yes 14112 fi 14113 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14114 if test "$ac_cv_c_bigendian" = unknown; then 14115 ac_cv_c_bigendian=no 14116 else 14117 # finding both strings is unlikely to happen, but who knows? 14118 ac_cv_c_bigendian=unknown 14119 fi 14120 fi 14121 else 14122 echo "$as_me: failed program was:" >&5 14123 sed 's/^/| /' conftest.$ac_ext >&5 14124 14125 14126 fi 14127 9166 else 9167 ac_cv_c_bigendian=no 9168 fi 14128 9169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14129 else 14130 cat >conftest.$ac_ext <<_ACEOF 14131 /* confdefs.h. */ 14132 _ACEOF 14133 cat confdefs.h >>conftest.$ac_ext 14134 cat >>conftest.$ac_ext <<_ACEOF 9170 fi 9171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9172 fi 9173 if test $ac_cv_c_bigendian = unknown; then 9174 # Compile a test program. 9175 if test "$cross_compiling" = yes; then : 9176 # Try to guess by grepping values from an object file. 9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9178 /* end confdefs.h. */ 9179 short int ascii_mm[] = 9180 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9181 short int ascii_ii[] = 9182 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9183 int use_ascii (int i) { 9184 return ascii_mm[i] + ascii_ii[i]; 9185 } 9186 short int ebcdic_ii[] = 9187 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9188 short int ebcdic_mm[] = 9189 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9190 int use_ebcdic (int i) { 9191 return ebcdic_mm[i] + ebcdic_ii[i]; 9192 } 9193 extern int foo; 9194 9195 int 9196 main () 9197 { 9198 return use_ascii (foo) == use_ebcdic (foo); 9199 ; 9200 return 0; 9201 } 9202 _ACEOF 9203 if ac_fn_cxx_try_compile "$LINENO"; then : 9204 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9205 ac_cv_c_bigendian=yes 9206 fi 9207 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9208 if test "$ac_cv_c_bigendian" = unknown; then 9209 ac_cv_c_bigendian=no 9210 else 9211 # finding both strings is unlikely to happen, but who knows? 9212 ac_cv_c_bigendian=unknown 9213 fi 9214 fi 9215 fi 9216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9217 else 9218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14135 9219 /* end confdefs.h. */ 14136 9220 $ac_includes_default … … 14139 9223 { 14140 9224 14141 /* Are we little or big endian? From Harbison&Steele. */14142 union14143 {14144 long int l;14145 char c[sizeof (long int)];14146 } u;14147 u.l = 1;14148 return u.c[sizeof (long int) - 1] == 1;9225 /* Are we little or big endian? From Harbison&Steele. */ 9226 union 9227 { 9228 long int l; 9229 char c[sizeof (long int)]; 9230 } u; 9231 u.l = 1; 9232 return u.c[sizeof (long int) - 1] == 1; 14149 9233 14150 9234 ; … … 14152 9236 } 14153 9237 _ACEOF 14154 rm -f conftest$ac_exeext 14155 if { (ac_try="$ac_link" 14156 case "(($ac_try" in 14157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14158 *) ac_try_echo=$ac_try;; 14159 esac 14160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14161 (eval "$ac_link") 2>&5 14162 ac_status=$? 14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14165 { (case "(($ac_try" in 14166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14167 *) ac_try_echo=$ac_try;; 14168 esac 14169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14170 (eval "$ac_try") 2>&5 14171 ac_status=$? 14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14173 (exit $ac_status); }; }; then 9238 if ac_fn_cxx_try_run "$LINENO"; then : 14174 9239 ac_cv_c_bigendian=no 14175 9240 else 14176 echo "$as_me: program exited with status $ac_status" >&5 14177 echo "$as_me: failed program was:" >&5 14178 sed 's/^/| /' conftest.$ac_ext >&5 14179 14180 ( exit $ac_status ) 14181 ac_cv_c_bigendian=yes 14182 fi 14183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14184 fi 14185 14186 14187 fi 14188 14189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14190 fi 14191 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 14192 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 14193 case $ac_cv_c_bigendian in 14194 yes) 14195 14196 cat >>confdefs.h <<\_ACEOF 14197 #define WORDS_BIGENDIAN 1 14198 _ACEOF 14199 ;; 14200 no) 14201 ;; 14202 *) 14203 { { echo "$as_me:$LINENO: error: unknown endianness 14204 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 14205 echo "$as_me: error: unknown endianness 14206 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 14207 { (exit 1); exit 1; }; } ;; 14208 esac 14209 14210 { echo "$as_me:$LINENO: checking for int" >&5 14211 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 14212 if test "${ac_cv_type_int+set}" = set; then 14213 echo $ECHO_N "(cached) $ECHO_C" >&6 14214 else 14215 cat >conftest.$ac_ext <<_ACEOF 14216 /* confdefs.h. */ 14217 _ACEOF 14218 cat confdefs.h >>conftest.$ac_ext 14219 cat >>conftest.$ac_ext <<_ACEOF 14220 /* end confdefs.h. */ 14221 $ac_includes_default 14222 typedef int ac__type_new_; 14223 int 14224 main () 14225 { 14226 if ((ac__type_new_ *) 0) 14227 return 0; 14228 if (sizeof (ac__type_new_)) 14229 return 0; 14230 ; 14231 return 0; 14232 } 14233 _ACEOF 14234 rm -f conftest.$ac_objext 14235 if { (ac_try="$ac_compile" 14236 case "(($ac_try" in 14237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14238 *) ac_try_echo=$ac_try;; 14239 esac 14240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14241 (eval "$ac_compile") 2>conftest.er1 14242 ac_status=$? 14243 grep -v '^ *+' conftest.er1 >conftest.err 14244 rm -f conftest.er1 14245 cat conftest.err >&5 14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14247 (exit $ac_status); } && { 14248 test -z "$ac_cxx_werror_flag" || 14249 test ! -s conftest.err 14250 } && test -s conftest.$ac_objext; then 14251 ac_cv_type_int=yes 14252 else 14253 echo "$as_me: failed program was:" >&5 14254 sed 's/^/| /' conftest.$ac_ext >&5 14255 14256 ac_cv_type_int=no 14257 fi 14258 14259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14260 fi 14261 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 14262 echo "${ECHO_T}$ac_cv_type_int" >&6; } 9241 ac_cv_c_bigendian=yes 9242 fi 9243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9244 conftest.$ac_objext conftest.beam conftest.$ac_ext 9245 fi 9246 9247 fi 9248 fi 9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9250 $as_echo "$ac_cv_c_bigendian" >&6; } 9251 case $ac_cv_c_bigendian in #( 9252 yes) 9253 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9254 ;; #( 9255 no) 9256 ;; #( 9257 universal) 9258 9259 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9260 9261 ;; #( 9262 *) 9263 as_fn_error $? "unknown endianness 9264 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9265 esac 14263 9266 14264 9267 # The cast to long int works around a bug in the HP C Compiler … … 14266 9269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14267 9270 # This bug is HP SR number 8606223364. 14268 { echo "$as_me:$LINENO: checking size of int" >&5 14269 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 14270 if test "${ac_cv_sizeof_int+set}" = set; then 14271 echo $ECHO_N "(cached) $ECHO_C" >&6 14272 else 14273 if test "$cross_compiling" = yes; then 14274 # Depending upon the size, compute the lo and hi bounds. 14275 cat >conftest.$ac_ext <<_ACEOF 14276 /* confdefs.h. */ 14277 _ACEOF 14278 cat confdefs.h >>conftest.$ac_ext 14279 cat >>conftest.$ac_ext <<_ACEOF 14280 /* end confdefs.h. */ 14281 $ac_includes_default 14282 typedef int ac__type_sizeof_; 14283 int 14284 main () 14285 { 14286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14287 test_array [0] = 0 14288 14289 ; 14290 return 0; 14291 } 14292 _ACEOF 14293 rm -f conftest.$ac_objext 14294 if { (ac_try="$ac_compile" 14295 case "(($ac_try" in 14296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14297 *) ac_try_echo=$ac_try;; 14298 esac 14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14300 (eval "$ac_compile") 2>conftest.er1 14301 ac_status=$? 14302 grep -v '^ *+' conftest.er1 >conftest.err 14303 rm -f conftest.er1 14304 cat conftest.err >&5 14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14306 (exit $ac_status); } && { 14307 test -z "$ac_cxx_werror_flag" || 14308 test ! -s conftest.err 14309 } && test -s conftest.$ac_objext; then 14310 ac_lo=0 ac_mid=0 14311 while :; do 14312 cat >conftest.$ac_ext <<_ACEOF 14313 /* confdefs.h. */ 14314 _ACEOF 14315 cat confdefs.h >>conftest.$ac_ext 14316 cat >>conftest.$ac_ext <<_ACEOF 14317 /* end confdefs.h. */ 14318 $ac_includes_default 14319 typedef int ac__type_sizeof_; 14320 int 14321 main () 14322 { 14323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14324 test_array [0] = 0 14325 14326 ; 14327 return 0; 14328 } 14329 _ACEOF 14330 rm -f conftest.$ac_objext 14331 if { (ac_try="$ac_compile" 14332 case "(($ac_try" in 14333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14334 *) ac_try_echo=$ac_try;; 14335 esac 14336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14337 (eval "$ac_compile") 2>conftest.er1 14338 ac_status=$? 14339 grep -v '^ *+' conftest.er1 >conftest.err 14340 rm -f conftest.er1 14341 cat conftest.err >&5 14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14343 (exit $ac_status); } && { 14344 test -z "$ac_cxx_werror_flag" || 14345 test ! -s conftest.err 14346 } && test -s conftest.$ac_objext; then 14347 ac_hi=$ac_mid; break 14348 else 14349 echo "$as_me: failed program was:" >&5 14350 sed 's/^/| /' conftest.$ac_ext >&5 14351 14352 ac_lo=`expr $ac_mid + 1` 14353 if test $ac_lo -le $ac_mid; then 14354 ac_lo= ac_hi= 14355 break 14356 fi 14357 ac_mid=`expr 2 '*' $ac_mid + 1` 14358 fi 14359 14360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14361 done 14362 else 14363 echo "$as_me: failed program was:" >&5 14364 sed 's/^/| /' conftest.$ac_ext >&5 14365 14366 cat >conftest.$ac_ext <<_ACEOF 14367 /* confdefs.h. */ 14368 _ACEOF 14369 cat confdefs.h >>conftest.$ac_ext 14370 cat >>conftest.$ac_ext <<_ACEOF 14371 /* end confdefs.h. */ 14372 $ac_includes_default 14373 typedef int ac__type_sizeof_; 14374 int 14375 main () 14376 { 14377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14378 test_array [0] = 0 14379 14380 ; 14381 return 0; 14382 } 14383 _ACEOF 14384 rm -f conftest.$ac_objext 14385 if { (ac_try="$ac_compile" 14386 case "(($ac_try" in 14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14388 *) ac_try_echo=$ac_try;; 14389 esac 14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14391 (eval "$ac_compile") 2>conftest.er1 14392 ac_status=$? 14393 grep -v '^ *+' conftest.er1 >conftest.err 14394 rm -f conftest.er1 14395 cat conftest.err >&5 14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14397 (exit $ac_status); } && { 14398 test -z "$ac_cxx_werror_flag" || 14399 test ! -s conftest.err 14400 } && test -s conftest.$ac_objext; then 14401 ac_hi=-1 ac_mid=-1 14402 while :; do 14403 cat >conftest.$ac_ext <<_ACEOF 14404 /* confdefs.h. */ 14405 _ACEOF 14406 cat confdefs.h >>conftest.$ac_ext 14407 cat >>conftest.$ac_ext <<_ACEOF 14408 /* end confdefs.h. */ 14409 $ac_includes_default 14410 typedef int ac__type_sizeof_; 14411 int 14412 main () 14413 { 14414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14415 test_array [0] = 0 14416 14417 ; 14418 return 0; 14419 } 14420 _ACEOF 14421 rm -f conftest.$ac_objext 14422 if { (ac_try="$ac_compile" 14423 case "(($ac_try" in 14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14425 *) ac_try_echo=$ac_try;; 14426 esac 14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14428 (eval "$ac_compile") 2>conftest.er1 14429 ac_status=$? 14430 grep -v '^ *+' conftest.er1 >conftest.err 14431 rm -f conftest.er1 14432 cat conftest.err >&5 14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14434 (exit $ac_status); } && { 14435 test -z "$ac_cxx_werror_flag" || 14436 test ! -s conftest.err 14437 } && test -s conftest.$ac_objext; then 14438 ac_lo=$ac_mid; break 14439 else 14440 echo "$as_me: failed program was:" >&5 14441 sed 's/^/| /' conftest.$ac_ext >&5 14442 14443 ac_hi=`expr '(' $ac_mid ')' - 1` 14444 if test $ac_mid -le $ac_hi; then 14445 ac_lo= ac_hi= 14446 break 14447 fi 14448 ac_mid=`expr 2 '*' $ac_mid` 14449 fi 14450 14451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14452 done 14453 else 14454 echo "$as_me: failed program was:" >&5 14455 sed 's/^/| /' conftest.$ac_ext >&5 14456 14457 ac_lo= ac_hi= 14458 fi 14459 14460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14461 fi 14462 14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14464 # Binary search between lo and hi bounds. 14465 while test "x$ac_lo" != "x$ac_hi"; do 14466 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14467 cat >conftest.$ac_ext <<_ACEOF 14468 /* confdefs.h. */ 14469 _ACEOF 14470 cat confdefs.h >>conftest.$ac_ext 14471 cat >>conftest.$ac_ext <<_ACEOF 14472 /* end confdefs.h. */ 14473 $ac_includes_default 14474 typedef int ac__type_sizeof_; 14475 int 14476 main () 14477 { 14478 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14479 test_array [0] = 0 14480 14481 ; 14482 return 0; 14483 } 14484 _ACEOF 14485 rm -f conftest.$ac_objext 14486 if { (ac_try="$ac_compile" 14487 case "(($ac_try" in 14488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14489 *) ac_try_echo=$ac_try;; 14490 esac 14491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14492 (eval "$ac_compile") 2>conftest.er1 14493 ac_status=$? 14494 grep -v '^ *+' conftest.er1 >conftest.err 14495 rm -f conftest.er1 14496 cat conftest.err >&5 14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14498 (exit $ac_status); } && { 14499 test -z "$ac_cxx_werror_flag" || 14500 test ! -s conftest.err 14501 } && test -s conftest.$ac_objext; then 14502 ac_hi=$ac_mid 14503 else 14504 echo "$as_me: failed program was:" >&5 14505 sed 's/^/| /' conftest.$ac_ext >&5 14506 14507 ac_lo=`expr '(' $ac_mid ')' + 1` 14508 fi 14509 14510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14511 done 14512 case $ac_lo in 14513 ?*) ac_cv_sizeof_int=$ac_lo;; 14514 '') if test "$ac_cv_type_int" = yes; then 14515 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14516 See \`config.log' for more details." >&5 14517 echo "$as_me: error: cannot compute sizeof (int) 14518 See \`config.log' for more details." >&2;} 14519 { (exit 77); exit 77; }; } 14520 else 14521 ac_cv_sizeof_int=0 14522 fi ;; 14523 esac 14524 else 14525 cat >conftest.$ac_ext <<_ACEOF 14526 /* confdefs.h. */ 14527 _ACEOF 14528 cat confdefs.h >>conftest.$ac_ext 14529 cat >>conftest.$ac_ext <<_ACEOF 14530 /* end confdefs.h. */ 14531 $ac_includes_default 14532 typedef int ac__type_sizeof_; 14533 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14534 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14535 #include <stdio.h> 14536 #include <stdlib.h> 14537 int 14538 main () 14539 { 14540 14541 FILE *f = fopen ("conftest.val", "w"); 14542 if (! f) 14543 return 1; 14544 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14545 { 14546 long int i = longval (); 14547 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14548 return 1; 14549 fprintf (f, "%ld\n", i); 14550 } 14551 else 14552 { 14553 unsigned long int i = ulongval (); 14554 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14555 return 1; 14556 fprintf (f, "%lu\n", i); 14557 } 14558 return ferror (f) || fclose (f) != 0; 14559 14560 ; 14561 return 0; 14562 } 14563 _ACEOF 14564 rm -f conftest$ac_exeext 14565 if { (ac_try="$ac_link" 14566 case "(($ac_try" in 14567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14568 *) ac_try_echo=$ac_try;; 14569 esac 14570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14571 (eval "$ac_link") 2>&5 14572 ac_status=$? 14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14575 { (case "(($ac_try" in 14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14577 *) ac_try_echo=$ac_try;; 14578 esac 14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14580 (eval "$ac_try") 2>&5 14581 ac_status=$? 14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14583 (exit $ac_status); }; }; then 14584 ac_cv_sizeof_int=`cat conftest.val` 14585 else 14586 echo "$as_me: program exited with status $ac_status" >&5 14587 echo "$as_me: failed program was:" >&5 14588 sed 's/^/| /' conftest.$ac_ext >&5 14589 14590 ( exit $ac_status ) 14591 if test "$ac_cv_type_int" = yes; then 14592 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14593 See \`config.log' for more details." >&5 14594 echo "$as_me: error: cannot compute sizeof (int) 14595 See \`config.log' for more details." >&2;} 14596 { (exit 77); exit 77; }; } 9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9272 $as_echo_n "checking size of int... " >&6; } 9273 if ${ac_cv_sizeof_int+:} false; then : 9274 $as_echo_n "(cached) " >&6 9275 else 9276 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9277 9278 else 9279 if test "$ac_cv_type_int" = yes; then 9280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9282 as_fn_error 77 "cannot compute sizeof (int) 9283 See \`config.log' for more details" "$LINENO" 5; } 14597 9284 else 14598 9285 ac_cv_sizeof_int=0 14599 9286 fi 14600 9287 fi 14601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14602 fi 14603 rm -f conftest.val 14604 fi 14605 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 14606 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 9288 9289 fi 9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9291 $as_echo "$ac_cv_sizeof_int" >&6; } 14607 9292 14608 9293 … … 14612 9297 _ACEOF 14613 9298 14614 14615 { echo "$as_me:$LINENO: checking for long" >&514616 echo $ECHO_N "checking for long... $ECHO_C" >&6; }14617 if test "${ac_cv_type_long+set}" = set; then14618 echo $ECHO_N "(cached) $ECHO_C" >&614619 else14620 cat >conftest.$ac_ext <<_ACEOF14621 /* confdefs.h. */14622 _ACEOF14623 cat confdefs.h >>conftest.$ac_ext14624 cat >>conftest.$ac_ext <<_ACEOF14625 /* end confdefs.h. */14626 $ac_includes_default14627 typedef long ac__type_new_;14628 int14629 main ()14630 {14631 if ((ac__type_new_ *) 0)14632 return 0;14633 if (sizeof (ac__type_new_))14634 return 0;14635 ;14636 return 0;14637 }14638 _ACEOF14639 rm -f conftest.$ac_objext14640 if { (ac_try="$ac_compile"14641 case "(($ac_try" in14642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14643 *) ac_try_echo=$ac_try;;14644 esac14645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514646 (eval "$ac_compile") 2>conftest.er114647 ac_status=$?14648 grep -v '^ *+' conftest.er1 >conftest.err14649 rm -f conftest.er114650 cat conftest.err >&514651 echo "$as_me:$LINENO: \$? = $ac_status" >&514652 (exit $ac_status); } && {14653 test -z "$ac_cxx_werror_flag" ||14654 test ! -s conftest.err14655 } && test -s conftest.$ac_objext; then14656 ac_cv_type_long=yes14657 else14658 echo "$as_me: failed program was:" >&514659 sed 's/^/| /' conftest.$ac_ext >&514660 14661 ac_cv_type_long=no14662 fi14663 14664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14665 fi14666 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&514667 echo "${ECHO_T}$ac_cv_type_long" >&6; }14668 9299 14669 9300 # The cast to long int works around a bug in the HP C Compiler … … 14671 9302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14672 9303 # This bug is HP SR number 8606223364. 14673 { echo "$as_me:$LINENO: checking size of long" >&5 14674 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 14675 if test "${ac_cv_sizeof_long+set}" = set; then 14676 echo $ECHO_N "(cached) $ECHO_C" >&6 14677 else 14678 if test "$cross_compiling" = yes; then 14679 # Depending upon the size, compute the lo and hi bounds. 14680 cat >conftest.$ac_ext <<_ACEOF 14681 /* confdefs.h. */ 14682 _ACEOF 14683 cat confdefs.h >>conftest.$ac_ext 14684 cat >>conftest.$ac_ext <<_ACEOF 14685 /* end confdefs.h. */ 14686 $ac_includes_default 14687 typedef long ac__type_sizeof_; 14688 int 14689 main () 14690 { 14691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14692 test_array [0] = 0 14693 14694 ; 14695 return 0; 14696 } 14697 _ACEOF 14698 rm -f conftest.$ac_objext 14699 if { (ac_try="$ac_compile" 14700 case "(($ac_try" in 14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14702 *) ac_try_echo=$ac_try;; 14703 esac 14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14705 (eval "$ac_compile") 2>conftest.er1 14706 ac_status=$? 14707 grep -v '^ *+' conftest.er1 >conftest.err 14708 rm -f conftest.er1 14709 cat conftest.err >&5 14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14711 (exit $ac_status); } && { 14712 test -z "$ac_cxx_werror_flag" || 14713 test ! -s conftest.err 14714 } && test -s conftest.$ac_objext; then 14715 ac_lo=0 ac_mid=0 14716 while :; do 14717 cat >conftest.$ac_ext <<_ACEOF 14718 /* confdefs.h. */ 14719 _ACEOF 14720 cat confdefs.h >>conftest.$ac_ext 14721 cat >>conftest.$ac_ext <<_ACEOF 14722 /* end confdefs.h. */ 14723 $ac_includes_default 14724 typedef long ac__type_sizeof_; 14725 int 14726 main () 14727 { 14728 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14729 test_array [0] = 0 14730 14731 ; 14732 return 0; 14733 } 14734 _ACEOF 14735 rm -f conftest.$ac_objext 14736 if { (ac_try="$ac_compile" 14737 case "(($ac_try" in 14738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14739 *) ac_try_echo=$ac_try;; 14740 esac 14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14742 (eval "$ac_compile") 2>conftest.er1 14743 ac_status=$? 14744 grep -v '^ *+' conftest.er1 >conftest.err 14745 rm -f conftest.er1 14746 cat conftest.err >&5 14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14748 (exit $ac_status); } && { 14749 test -z "$ac_cxx_werror_flag" || 14750 test ! -s conftest.err 14751 } && test -s conftest.$ac_objext; then 14752 ac_hi=$ac_mid; break 14753 else 14754 echo "$as_me: failed program was:" >&5 14755 sed 's/^/| /' conftest.$ac_ext >&5 14756 14757 ac_lo=`expr $ac_mid + 1` 14758 if test $ac_lo -le $ac_mid; then 14759 ac_lo= ac_hi= 14760 break 14761 fi 14762 ac_mid=`expr 2 '*' $ac_mid + 1` 14763 fi 14764 14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14766 done 14767 else 14768 echo "$as_me: failed program was:" >&5 14769 sed 's/^/| /' conftest.$ac_ext >&5 14770 14771 cat >conftest.$ac_ext <<_ACEOF 14772 /* confdefs.h. */ 14773 _ACEOF 14774 cat confdefs.h >>conftest.$ac_ext 14775 cat >>conftest.$ac_ext <<_ACEOF 14776 /* end confdefs.h. */ 14777 $ac_includes_default 14778 typedef long ac__type_sizeof_; 14779 int 14780 main () 14781 { 14782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14783 test_array [0] = 0 14784 14785 ; 14786 return 0; 14787 } 14788 _ACEOF 14789 rm -f conftest.$ac_objext 14790 if { (ac_try="$ac_compile" 14791 case "(($ac_try" in 14792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14793 *) ac_try_echo=$ac_try;; 14794 esac 14795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14796 (eval "$ac_compile") 2>conftest.er1 14797 ac_status=$? 14798 grep -v '^ *+' conftest.er1 >conftest.err 14799 rm -f conftest.er1 14800 cat conftest.err >&5 14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14802 (exit $ac_status); } && { 14803 test -z "$ac_cxx_werror_flag" || 14804 test ! -s conftest.err 14805 } && test -s conftest.$ac_objext; then 14806 ac_hi=-1 ac_mid=-1 14807 while :; do 14808 cat >conftest.$ac_ext <<_ACEOF 14809 /* confdefs.h. */ 14810 _ACEOF 14811 cat confdefs.h >>conftest.$ac_ext 14812 cat >>conftest.$ac_ext <<_ACEOF 14813 /* end confdefs.h. */ 14814 $ac_includes_default 14815 typedef long ac__type_sizeof_; 14816 int 14817 main () 14818 { 14819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14820 test_array [0] = 0 14821 14822 ; 14823 return 0; 14824 } 14825 _ACEOF 14826 rm -f conftest.$ac_objext 14827 if { (ac_try="$ac_compile" 14828 case "(($ac_try" in 14829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14830 *) ac_try_echo=$ac_try;; 14831 esac 14832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14833 (eval "$ac_compile") 2>conftest.er1 14834 ac_status=$? 14835 grep -v '^ *+' conftest.er1 >conftest.err 14836 rm -f conftest.er1 14837 cat conftest.err >&5 14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14839 (exit $ac_status); } && { 14840 test -z "$ac_cxx_werror_flag" || 14841 test ! -s conftest.err 14842 } && test -s conftest.$ac_objext; then 14843 ac_lo=$ac_mid; break 14844 else 14845 echo "$as_me: failed program was:" >&5 14846 sed 's/^/| /' conftest.$ac_ext >&5 14847 14848 ac_hi=`expr '(' $ac_mid ')' - 1` 14849 if test $ac_mid -le $ac_hi; then 14850 ac_lo= ac_hi= 14851 break 14852 fi 14853 ac_mid=`expr 2 '*' $ac_mid` 14854 fi 14855 14856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14857 done 14858 else 14859 echo "$as_me: failed program was:" >&5 14860 sed 's/^/| /' conftest.$ac_ext >&5 14861 14862 ac_lo= ac_hi= 14863 fi 14864 14865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14866 fi 14867 14868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14869 # Binary search between lo and hi bounds. 14870 while test "x$ac_lo" != "x$ac_hi"; do 14871 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14872 cat >conftest.$ac_ext <<_ACEOF 14873 /* confdefs.h. */ 14874 _ACEOF 14875 cat confdefs.h >>conftest.$ac_ext 14876 cat >>conftest.$ac_ext <<_ACEOF 14877 /* end confdefs.h. */ 14878 $ac_includes_default 14879 typedef long ac__type_sizeof_; 14880 int 14881 main () 14882 { 14883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14884 test_array [0] = 0 14885 14886 ; 14887 return 0; 14888 } 14889 _ACEOF 14890 rm -f conftest.$ac_objext 14891 if { (ac_try="$ac_compile" 14892 case "(($ac_try" in 14893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14894 *) ac_try_echo=$ac_try;; 14895 esac 14896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14897 (eval "$ac_compile") 2>conftest.er1 14898 ac_status=$? 14899 grep -v '^ *+' conftest.er1 >conftest.err 14900 rm -f conftest.er1 14901 cat conftest.err >&5 14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14903 (exit $ac_status); } && { 14904 test -z "$ac_cxx_werror_flag" || 14905 test ! -s conftest.err 14906 } && test -s conftest.$ac_objext; then 14907 ac_hi=$ac_mid 14908 else 14909 echo "$as_me: failed program was:" >&5 14910 sed 's/^/| /' conftest.$ac_ext >&5 14911 14912 ac_lo=`expr '(' $ac_mid ')' + 1` 14913 fi 14914 14915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14916 done 14917 case $ac_lo in 14918 ?*) ac_cv_sizeof_long=$ac_lo;; 14919 '') if test "$ac_cv_type_long" = yes; then 14920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14921 See \`config.log' for more details." >&5 14922 echo "$as_me: error: cannot compute sizeof (long) 14923 See \`config.log' for more details." >&2;} 14924 { (exit 77); exit 77; }; } 14925 else 14926 ac_cv_sizeof_long=0 14927 fi ;; 14928 esac 14929 else 14930 cat >conftest.$ac_ext <<_ACEOF 14931 /* confdefs.h. */ 14932 _ACEOF 14933 cat confdefs.h >>conftest.$ac_ext 14934 cat >>conftest.$ac_ext <<_ACEOF 14935 /* end confdefs.h. */ 14936 $ac_includes_default 14937 typedef long ac__type_sizeof_; 14938 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14939 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14940 #include <stdio.h> 14941 #include <stdlib.h> 14942 int 14943 main () 14944 { 14945 14946 FILE *f = fopen ("conftest.val", "w"); 14947 if (! f) 14948 return 1; 14949 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14950 { 14951 long int i = longval (); 14952 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14953 return 1; 14954 fprintf (f, "%ld\n", i); 14955 } 14956 else 14957 { 14958 unsigned long int i = ulongval (); 14959 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14960 return 1; 14961 fprintf (f, "%lu\n", i); 14962 } 14963 return ferror (f) || fclose (f) != 0; 14964 14965 ; 14966 return 0; 14967 } 14968 _ACEOF 14969 rm -f conftest$ac_exeext 14970 if { (ac_try="$ac_link" 14971 case "(($ac_try" in 14972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14973 *) ac_try_echo=$ac_try;; 14974 esac 14975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14976 (eval "$ac_link") 2>&5 14977 ac_status=$? 14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14980 { (case "(($ac_try" in 14981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14982 *) ac_try_echo=$ac_try;; 14983 esac 14984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14985 (eval "$ac_try") 2>&5 14986 ac_status=$? 14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14988 (exit $ac_status); }; }; then 14989 ac_cv_sizeof_long=`cat conftest.val` 14990 else 14991 echo "$as_me: program exited with status $ac_status" >&5 14992 echo "$as_me: failed program was:" >&5 14993 sed 's/^/| /' conftest.$ac_ext >&5 14994 14995 ( exit $ac_status ) 14996 if test "$ac_cv_type_long" = yes; then 14997 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14998 See \`config.log' for more details." >&5 14999 echo "$as_me: error: cannot compute sizeof (long) 15000 See \`config.log' for more details." >&2;} 15001 { (exit 77); exit 77; }; } 9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9305 $as_echo_n "checking size of long... " >&6; } 9306 if ${ac_cv_sizeof_long+:} false; then : 9307 $as_echo_n "(cached) " >&6 9308 else 9309 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9310 9311 else 9312 if test "$ac_cv_type_long" = yes; then 9313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9315 as_fn_error 77 "cannot compute sizeof (long) 9316 See \`config.log' for more details" "$LINENO" 5; } 15002 9317 else 15003 9318 ac_cv_sizeof_long=0 15004 9319 fi 15005 9320 fi 15006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15007 fi 15008 rm -f conftest.val 15009 fi 15010 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 15011 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 9321 9322 fi 9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9324 $as_echo "$ac_cv_sizeof_long" >&6; } 15012 9325 15013 9326 … … 15017 9330 _ACEOF 15018 9331 15019 15020 { echo "$as_me:$LINENO: checking for long long" >&515021 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }15022 if test "${ac_cv_type_long_long+set}" = set; then15023 echo $ECHO_N "(cached) $ECHO_C" >&615024 else15025 cat >conftest.$ac_ext <<_ACEOF15026 /* confdefs.h. */15027 _ACEOF15028 cat confdefs.h >>conftest.$ac_ext15029 cat >>conftest.$ac_ext <<_ACEOF15030 /* end confdefs.h. */15031 $ac_includes_default15032 typedef long long ac__type_new_;15033 int15034 main ()15035 {15036 if ((ac__type_new_ *) 0)15037 return 0;15038 if (sizeof (ac__type_new_))15039 return 0;15040 ;15041 return 0;15042 }15043 _ACEOF15044 rm -f conftest.$ac_objext15045 if { (ac_try="$ac_compile"15046 case "(($ac_try" in15047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15048 *) ac_try_echo=$ac_try;;15049 esac15050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515051 (eval "$ac_compile") 2>conftest.er115052 ac_status=$?15053 grep -v '^ *+' conftest.er1 >conftest.err15054 rm -f conftest.er115055 cat conftest.err >&515056 echo "$as_me:$LINENO: \$? = $ac_status" >&515057 (exit $ac_status); } && {15058 test -z "$ac_cxx_werror_flag" ||15059 test ! -s conftest.err15060 } && test -s conftest.$ac_objext; then15061 ac_cv_type_long_long=yes15062 else15063 echo "$as_me: failed program was:" >&515064 sed 's/^/| /' conftest.$ac_ext >&515065 15066 ac_cv_type_long_long=no15067 fi15068 15069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15070 fi15071 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&515072 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }15073 9332 15074 9333 # The cast to long int works around a bug in the HP C Compiler … … 15076 9335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15077 9336 # This bug is HP SR number 8606223364. 15078 { echo "$as_me:$LINENO: checking size of long long" >&5 15079 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 15080 if test "${ac_cv_sizeof_long_long+set}" = set; then 15081 echo $ECHO_N "(cached) $ECHO_C" >&6 15082 else 15083 if test "$cross_compiling" = yes; then 15084 # Depending upon the size, compute the lo and hi bounds. 15085 cat >conftest.$ac_ext <<_ACEOF 15086 /* confdefs.h. */ 15087 _ACEOF 15088 cat confdefs.h >>conftest.$ac_ext 15089 cat >>conftest.$ac_ext <<_ACEOF 15090 /* end confdefs.h. */ 15091 $ac_includes_default 15092 typedef long long ac__type_sizeof_; 15093 int 15094 main () 15095 { 15096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15097 test_array [0] = 0 15098 15099 ; 15100 return 0; 15101 } 15102 _ACEOF 15103 rm -f conftest.$ac_objext 15104 if { (ac_try="$ac_compile" 15105 case "(($ac_try" in 15106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15107 *) ac_try_echo=$ac_try;; 15108 esac 15109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15110 (eval "$ac_compile") 2>conftest.er1 15111 ac_status=$? 15112 grep -v '^ *+' conftest.er1 >conftest.err 15113 rm -f conftest.er1 15114 cat conftest.err >&5 15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15116 (exit $ac_status); } && { 15117 test -z "$ac_cxx_werror_flag" || 15118 test ! -s conftest.err 15119 } && test -s conftest.$ac_objext; then 15120 ac_lo=0 ac_mid=0 15121 while :; do 15122 cat >conftest.$ac_ext <<_ACEOF 15123 /* confdefs.h. */ 15124 _ACEOF 15125 cat confdefs.h >>conftest.$ac_ext 15126 cat >>conftest.$ac_ext <<_ACEOF 15127 /* end confdefs.h. */ 15128 $ac_includes_default 15129 typedef long long ac__type_sizeof_; 15130 int 15131 main () 15132 { 15133 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15134 test_array [0] = 0 15135 15136 ; 15137 return 0; 15138 } 15139 _ACEOF 15140 rm -f conftest.$ac_objext 15141 if { (ac_try="$ac_compile" 15142 case "(($ac_try" in 15143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15144 *) ac_try_echo=$ac_try;; 15145 esac 15146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15147 (eval "$ac_compile") 2>conftest.er1 15148 ac_status=$? 15149 grep -v '^ *+' conftest.er1 >conftest.err 15150 rm -f conftest.er1 15151 cat conftest.err >&5 15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15153 (exit $ac_status); } && { 15154 test -z "$ac_cxx_werror_flag" || 15155 test ! -s conftest.err 15156 } && test -s conftest.$ac_objext; then 15157 ac_hi=$ac_mid; break 15158 else 15159 echo "$as_me: failed program was:" >&5 15160 sed 's/^/| /' conftest.$ac_ext >&5 15161 15162 ac_lo=`expr $ac_mid + 1` 15163 if test $ac_lo -le $ac_mid; then 15164 ac_lo= ac_hi= 15165 break 15166 fi 15167 ac_mid=`expr 2 '*' $ac_mid + 1` 15168 fi 15169 15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15171 done 15172 else 15173 echo "$as_me: failed program was:" >&5 15174 sed 's/^/| /' conftest.$ac_ext >&5 15175 15176 cat >conftest.$ac_ext <<_ACEOF 15177 /* confdefs.h. */ 15178 _ACEOF 15179 cat confdefs.h >>conftest.$ac_ext 15180 cat >>conftest.$ac_ext <<_ACEOF 15181 /* end confdefs.h. */ 15182 $ac_includes_default 15183 typedef long long ac__type_sizeof_; 15184 int 15185 main () 15186 { 15187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15188 test_array [0] = 0 15189 15190 ; 15191 return 0; 15192 } 15193 _ACEOF 15194 rm -f conftest.$ac_objext 15195 if { (ac_try="$ac_compile" 15196 case "(($ac_try" in 15197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15198 *) ac_try_echo=$ac_try;; 15199 esac 15200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15201 (eval "$ac_compile") 2>conftest.er1 15202 ac_status=$? 15203 grep -v '^ *+' conftest.er1 >conftest.err 15204 rm -f conftest.er1 15205 cat conftest.err >&5 15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15207 (exit $ac_status); } && { 15208 test -z "$ac_cxx_werror_flag" || 15209 test ! -s conftest.err 15210 } && test -s conftest.$ac_objext; then 15211 ac_hi=-1 ac_mid=-1 15212 while :; do 15213 cat >conftest.$ac_ext <<_ACEOF 15214 /* confdefs.h. */ 15215 _ACEOF 15216 cat confdefs.h >>conftest.$ac_ext 15217 cat >>conftest.$ac_ext <<_ACEOF 15218 /* end confdefs.h. */ 15219 $ac_includes_default 15220 typedef long long ac__type_sizeof_; 15221 int 15222 main () 15223 { 15224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15225 test_array [0] = 0 15226 15227 ; 15228 return 0; 15229 } 15230 _ACEOF 15231 rm -f conftest.$ac_objext 15232 if { (ac_try="$ac_compile" 15233 case "(($ac_try" in 15234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15235 *) ac_try_echo=$ac_try;; 15236 esac 15237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15238 (eval "$ac_compile") 2>conftest.er1 15239 ac_status=$? 15240 grep -v '^ *+' conftest.er1 >conftest.err 15241 rm -f conftest.er1 15242 cat conftest.err >&5 15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15244 (exit $ac_status); } && { 15245 test -z "$ac_cxx_werror_flag" || 15246 test ! -s conftest.err 15247 } && test -s conftest.$ac_objext; then 15248 ac_lo=$ac_mid; break 15249 else 15250 echo "$as_me: failed program was:" >&5 15251 sed 's/^/| /' conftest.$ac_ext >&5 15252 15253 ac_hi=`expr '(' $ac_mid ')' - 1` 15254 if test $ac_mid -le $ac_hi; then 15255 ac_lo= ac_hi= 15256 break 15257 fi 15258 ac_mid=`expr 2 '*' $ac_mid` 15259 fi 15260 15261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15262 done 15263 else 15264 echo "$as_me: failed program was:" >&5 15265 sed 's/^/| /' conftest.$ac_ext >&5 15266 15267 ac_lo= ac_hi= 15268 fi 15269 15270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15271 fi 15272 15273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15274 # Binary search between lo and hi bounds. 15275 while test "x$ac_lo" != "x$ac_hi"; do 15276 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15277 cat >conftest.$ac_ext <<_ACEOF 15278 /* confdefs.h. */ 15279 _ACEOF 15280 cat confdefs.h >>conftest.$ac_ext 15281 cat >>conftest.$ac_ext <<_ACEOF 15282 /* end confdefs.h. */ 15283 $ac_includes_default 15284 typedef long long ac__type_sizeof_; 15285 int 15286 main () 15287 { 15288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15289 test_array [0] = 0 15290 15291 ; 15292 return 0; 15293 } 15294 _ACEOF 15295 rm -f conftest.$ac_objext 15296 if { (ac_try="$ac_compile" 15297 case "(($ac_try" in 15298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15299 *) ac_try_echo=$ac_try;; 15300 esac 15301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15302 (eval "$ac_compile") 2>conftest.er1 15303 ac_status=$? 15304 grep -v '^ *+' conftest.er1 >conftest.err 15305 rm -f conftest.er1 15306 cat conftest.err >&5 15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15308 (exit $ac_status); } && { 15309 test -z "$ac_cxx_werror_flag" || 15310 test ! -s conftest.err 15311 } && test -s conftest.$ac_objext; then 15312 ac_hi=$ac_mid 15313 else 15314 echo "$as_me: failed program was:" >&5 15315 sed 's/^/| /' conftest.$ac_ext >&5 15316 15317 ac_lo=`expr '(' $ac_mid ')' + 1` 15318 fi 15319 15320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15321 done 15322 case $ac_lo in 15323 ?*) ac_cv_sizeof_long_long=$ac_lo;; 15324 '') if test "$ac_cv_type_long_long" = yes; then 15325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15326 See \`config.log' for more details." >&5 15327 echo "$as_me: error: cannot compute sizeof (long long) 15328 See \`config.log' for more details." >&2;} 15329 { (exit 77); exit 77; }; } 15330 else 15331 ac_cv_sizeof_long_long=0 15332 fi ;; 15333 esac 15334 else 15335 cat >conftest.$ac_ext <<_ACEOF 15336 /* confdefs.h. */ 15337 _ACEOF 15338 cat confdefs.h >>conftest.$ac_ext 15339 cat >>conftest.$ac_ext <<_ACEOF 15340 /* end confdefs.h. */ 15341 $ac_includes_default 15342 typedef long long ac__type_sizeof_; 15343 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15344 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15345 #include <stdio.h> 15346 #include <stdlib.h> 15347 int 15348 main () 15349 { 15350 15351 FILE *f = fopen ("conftest.val", "w"); 15352 if (! f) 15353 return 1; 15354 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15355 { 15356 long int i = longval (); 15357 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15358 return 1; 15359 fprintf (f, "%ld\n", i); 15360 } 15361 else 15362 { 15363 unsigned long int i = ulongval (); 15364 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15365 return 1; 15366 fprintf (f, "%lu\n", i); 15367 } 15368 return ferror (f) || fclose (f) != 0; 15369 15370 ; 15371 return 0; 15372 } 15373 _ACEOF 15374 rm -f conftest$ac_exeext 15375 if { (ac_try="$ac_link" 15376 case "(($ac_try" in 15377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15378 *) ac_try_echo=$ac_try;; 15379 esac 15380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15381 (eval "$ac_link") 2>&5 15382 ac_status=$? 15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15384 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15385 { (case "(($ac_try" in 15386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15387 *) ac_try_echo=$ac_try;; 15388 esac 15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15390 (eval "$ac_try") 2>&5 15391 ac_status=$? 15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15393 (exit $ac_status); }; }; then 15394 ac_cv_sizeof_long_long=`cat conftest.val` 15395 else 15396 echo "$as_me: program exited with status $ac_status" >&5 15397 echo "$as_me: failed program was:" >&5 15398 sed 's/^/| /' conftest.$ac_ext >&5 15399 15400 ( exit $ac_status ) 15401 if test "$ac_cv_type_long_long" = yes; then 15402 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15403 See \`config.log' for more details." >&5 15404 echo "$as_me: error: cannot compute sizeof (long long) 15405 See \`config.log' for more details." >&2;} 15406 { (exit 77); exit 77; }; } 9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 9338 $as_echo_n "checking size of long long... " >&6; } 9339 if ${ac_cv_sizeof_long_long+:} false; then : 9340 $as_echo_n "(cached) " >&6 9341 else 9342 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9343 9344 else 9345 if test "$ac_cv_type_long_long" = yes; then 9346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9348 as_fn_error 77 "cannot compute sizeof (long long) 9349 See \`config.log' for more details" "$LINENO" 5; } 15407 9350 else 15408 9351 ac_cv_sizeof_long_long=0 15409 9352 fi 15410 9353 fi 15411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15412 fi 15413 rm -f conftest.val 15414 fi 15415 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 15416 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 9354 9355 fi 9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 9357 $as_echo "$ac_cv_sizeof_long_long" >&6; } 15417 9358 15418 9359 … … 15422 9363 _ACEOF 15423 9364 15424 15425 { echo "$as_me:$LINENO: checking for void *" >&515426 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }15427 if test "${ac_cv_type_void_p+set}" = set; then15428 echo $ECHO_N "(cached) $ECHO_C" >&615429 else15430 cat >conftest.$ac_ext <<_ACEOF15431 /* confdefs.h. */15432 _ACEOF15433 cat confdefs.h >>conftest.$ac_ext15434 cat >>conftest.$ac_ext <<_ACEOF15435 /* end confdefs.h. */15436 $ac_includes_default15437 typedef void * ac__type_new_;15438 int15439 main ()15440 {15441 if ((ac__type_new_ *) 0)15442 return 0;15443 if (sizeof (ac__type_new_))15444 return 0;15445 ;15446 return 0;15447 }15448 _ACEOF15449 rm -f conftest.$ac_objext15450 if { (ac_try="$ac_compile"15451 case "(($ac_try" in15452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15453 *) ac_try_echo=$ac_try;;15454 esac15455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515456 (eval "$ac_compile") 2>conftest.er115457 ac_status=$?15458 grep -v '^ *+' conftest.er1 >conftest.err15459 rm -f conftest.er115460 cat conftest.err >&515461 echo "$as_me:$LINENO: \$? = $ac_status" >&515462 (exit $ac_status); } && {15463 test -z "$ac_cxx_werror_flag" ||15464 test ! -s conftest.err15465 } && test -s conftest.$ac_objext; then15466 ac_cv_type_void_p=yes15467 else15468 echo "$as_me: failed program was:" >&515469 sed 's/^/| /' conftest.$ac_ext >&515470 15471 ac_cv_type_void_p=no15472 fi15473 15474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15475 fi15476 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&515477 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }15478 9365 15479 9366 # The cast to long int works around a bug in the HP C Compiler … … 15481 9368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15482 9369 # This bug is HP SR number 8606223364. 15483 { echo "$as_me:$LINENO: checking size of void *" >&5 15484 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 15485 if test "${ac_cv_sizeof_void_p+set}" = set; then 15486 echo $ECHO_N "(cached) $ECHO_C" >&6 15487 else 15488 if test "$cross_compiling" = yes; then 15489 # Depending upon the size, compute the lo and hi bounds. 15490 cat >conftest.$ac_ext <<_ACEOF 15491 /* confdefs.h. */ 15492 _ACEOF 15493 cat confdefs.h >>conftest.$ac_ext 15494 cat >>conftest.$ac_ext <<_ACEOF 15495 /* end confdefs.h. */ 15496 $ac_includes_default 15497 typedef void * ac__type_sizeof_; 15498 int 15499 main () 15500 { 15501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15502 test_array [0] = 0 15503 15504 ; 15505 return 0; 15506 } 15507 _ACEOF 15508 rm -f conftest.$ac_objext 15509 if { (ac_try="$ac_compile" 15510 case "(($ac_try" in 15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15512 *) ac_try_echo=$ac_try;; 15513 esac 15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15515 (eval "$ac_compile") 2>conftest.er1 15516 ac_status=$? 15517 grep -v '^ *+' conftest.er1 >conftest.err 15518 rm -f conftest.er1 15519 cat conftest.err >&5 15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15521 (exit $ac_status); } && { 15522 test -z "$ac_cxx_werror_flag" || 15523 test ! -s conftest.err 15524 } && test -s conftest.$ac_objext; then 15525 ac_lo=0 ac_mid=0 15526 while :; do 15527 cat >conftest.$ac_ext <<_ACEOF 15528 /* confdefs.h. */ 15529 _ACEOF 15530 cat confdefs.h >>conftest.$ac_ext 15531 cat >>conftest.$ac_ext <<_ACEOF 15532 /* end confdefs.h. */ 15533 $ac_includes_default 15534 typedef void * ac__type_sizeof_; 15535 int 15536 main () 15537 { 15538 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15539 test_array [0] = 0 15540 15541 ; 15542 return 0; 15543 } 15544 _ACEOF 15545 rm -f conftest.$ac_objext 15546 if { (ac_try="$ac_compile" 15547 case "(($ac_try" in 15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15549 *) ac_try_echo=$ac_try;; 15550 esac 15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15552 (eval "$ac_compile") 2>conftest.er1 15553 ac_status=$? 15554 grep -v '^ *+' conftest.er1 >conftest.err 15555 rm -f conftest.er1 15556 cat conftest.err >&5 15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15558 (exit $ac_status); } && { 15559 test -z "$ac_cxx_werror_flag" || 15560 test ! -s conftest.err 15561 } && test -s conftest.$ac_objext; then 15562 ac_hi=$ac_mid; break 15563 else 15564 echo "$as_me: failed program was:" >&5 15565 sed 's/^/| /' conftest.$ac_ext >&5 15566 15567 ac_lo=`expr $ac_mid + 1` 15568 if test $ac_lo -le $ac_mid; then 15569 ac_lo= ac_hi= 15570 break 15571 fi 15572 ac_mid=`expr 2 '*' $ac_mid + 1` 15573 fi 15574 15575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15576 done 15577 else 15578 echo "$as_me: failed program was:" >&5 15579 sed 's/^/| /' conftest.$ac_ext >&5 15580 15581 cat >conftest.$ac_ext <<_ACEOF 15582 /* confdefs.h. */ 15583 _ACEOF 15584 cat confdefs.h >>conftest.$ac_ext 15585 cat >>conftest.$ac_ext <<_ACEOF 15586 /* end confdefs.h. */ 15587 $ac_includes_default 15588 typedef void * ac__type_sizeof_; 15589 int 15590 main () 15591 { 15592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15593 test_array [0] = 0 15594 15595 ; 15596 return 0; 15597 } 15598 _ACEOF 15599 rm -f conftest.$ac_objext 15600 if { (ac_try="$ac_compile" 15601 case "(($ac_try" in 15602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15603 *) ac_try_echo=$ac_try;; 15604 esac 15605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15606 (eval "$ac_compile") 2>conftest.er1 15607 ac_status=$? 15608 grep -v '^ *+' conftest.er1 >conftest.err 15609 rm -f conftest.er1 15610 cat conftest.err >&5 15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15612 (exit $ac_status); } && { 15613 test -z "$ac_cxx_werror_flag" || 15614 test ! -s conftest.err 15615 } && test -s conftest.$ac_objext; then 15616 ac_hi=-1 ac_mid=-1 15617 while :; do 15618 cat >conftest.$ac_ext <<_ACEOF 15619 /* confdefs.h. */ 15620 _ACEOF 15621 cat confdefs.h >>conftest.$ac_ext 15622 cat >>conftest.$ac_ext <<_ACEOF 15623 /* end confdefs.h. */ 15624 $ac_includes_default 15625 typedef void * ac__type_sizeof_; 15626 int 15627 main () 15628 { 15629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15630 test_array [0] = 0 15631 15632 ; 15633 return 0; 15634 } 15635 _ACEOF 15636 rm -f conftest.$ac_objext 15637 if { (ac_try="$ac_compile" 15638 case "(($ac_try" in 15639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15640 *) ac_try_echo=$ac_try;; 15641 esac 15642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15643 (eval "$ac_compile") 2>conftest.er1 15644 ac_status=$? 15645 grep -v '^ *+' conftest.er1 >conftest.err 15646 rm -f conftest.er1 15647 cat conftest.err >&5 15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15649 (exit $ac_status); } && { 15650 test -z "$ac_cxx_werror_flag" || 15651 test ! -s conftest.err 15652 } && test -s conftest.$ac_objext; then 15653 ac_lo=$ac_mid; break 15654 else 15655 echo "$as_me: failed program was:" >&5 15656 sed 's/^/| /' conftest.$ac_ext >&5 15657 15658 ac_hi=`expr '(' $ac_mid ')' - 1` 15659 if test $ac_mid -le $ac_hi; then 15660 ac_lo= ac_hi= 15661 break 15662 fi 15663 ac_mid=`expr 2 '*' $ac_mid` 15664 fi 15665 15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15667 done 15668 else 15669 echo "$as_me: failed program was:" >&5 15670 sed 's/^/| /' conftest.$ac_ext >&5 15671 15672 ac_lo= ac_hi= 15673 fi 15674 15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15676 fi 15677 15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15679 # Binary search between lo and hi bounds. 15680 while test "x$ac_lo" != "x$ac_hi"; do 15681 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15682 cat >conftest.$ac_ext <<_ACEOF 15683 /* confdefs.h. */ 15684 _ACEOF 15685 cat confdefs.h >>conftest.$ac_ext 15686 cat >>conftest.$ac_ext <<_ACEOF 15687 /* end confdefs.h. */ 15688 $ac_includes_default 15689 typedef void * ac__type_sizeof_; 15690 int 15691 main () 15692 { 15693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15694 test_array [0] = 0 15695 15696 ; 15697 return 0; 15698 } 15699 _ACEOF 15700 rm -f conftest.$ac_objext 15701 if { (ac_try="$ac_compile" 15702 case "(($ac_try" in 15703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15704 *) ac_try_echo=$ac_try;; 15705 esac 15706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15707 (eval "$ac_compile") 2>conftest.er1 15708 ac_status=$? 15709 grep -v '^ *+' conftest.er1 >conftest.err 15710 rm -f conftest.er1 15711 cat conftest.err >&5 15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15713 (exit $ac_status); } && { 15714 test -z "$ac_cxx_werror_flag" || 15715 test ! -s conftest.err 15716 } && test -s conftest.$ac_objext; then 15717 ac_hi=$ac_mid 15718 else 15719 echo "$as_me: failed program was:" >&5 15720 sed 's/^/| /' conftest.$ac_ext >&5 15721 15722 ac_lo=`expr '(' $ac_mid ')' + 1` 15723 fi 15724 15725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15726 done 15727 case $ac_lo in 15728 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15729 '') if test "$ac_cv_type_void_p" = yes; then 15730 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15731 See \`config.log' for more details." >&5 15732 echo "$as_me: error: cannot compute sizeof (void *) 15733 See \`config.log' for more details." >&2;} 15734 { (exit 77); exit 77; }; } 15735 else 15736 ac_cv_sizeof_void_p=0 15737 fi ;; 15738 esac 15739 else 15740 cat >conftest.$ac_ext <<_ACEOF 15741 /* confdefs.h. */ 15742 _ACEOF 15743 cat confdefs.h >>conftest.$ac_ext 15744 cat >>conftest.$ac_ext <<_ACEOF 15745 /* end confdefs.h. */ 15746 $ac_includes_default 15747 typedef void * ac__type_sizeof_; 15748 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15749 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15750 #include <stdio.h> 15751 #include <stdlib.h> 15752 int 15753 main () 15754 { 15755 15756 FILE *f = fopen ("conftest.val", "w"); 15757 if (! f) 15758 return 1; 15759 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15760 { 15761 long int i = longval (); 15762 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15763 return 1; 15764 fprintf (f, "%ld\n", i); 15765 } 15766 else 15767 { 15768 unsigned long int i = ulongval (); 15769 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15770 return 1; 15771 fprintf (f, "%lu\n", i); 15772 } 15773 return ferror (f) || fclose (f) != 0; 15774 15775 ; 15776 return 0; 15777 } 15778 _ACEOF 15779 rm -f conftest$ac_exeext 15780 if { (ac_try="$ac_link" 15781 case "(($ac_try" in 15782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15783 *) ac_try_echo=$ac_try;; 15784 esac 15785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15786 (eval "$ac_link") 2>&5 15787 ac_status=$? 15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15790 { (case "(($ac_try" in 15791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15792 *) ac_try_echo=$ac_try;; 15793 esac 15794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15795 (eval "$ac_try") 2>&5 15796 ac_status=$? 15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15798 (exit $ac_status); }; }; then 15799 ac_cv_sizeof_void_p=`cat conftest.val` 15800 else 15801 echo "$as_me: program exited with status $ac_status" >&5 15802 echo "$as_me: failed program was:" >&5 15803 sed 's/^/| /' conftest.$ac_ext >&5 15804 15805 ( exit $ac_status ) 15806 if test "$ac_cv_type_void_p" = yes; then 15807 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15808 See \`config.log' for more details." >&5 15809 echo "$as_me: error: cannot compute sizeof (void *) 15810 See \`config.log' for more details." >&2;} 15811 { (exit 77); exit 77; }; } 9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 9371 $as_echo_n "checking size of void *... " >&6; } 9372 if ${ac_cv_sizeof_void_p+:} false; then : 9373 $as_echo_n "(cached) " >&6 9374 else 9375 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9376 9377 else 9378 if test "$ac_cv_type_void_p" = yes; then 9379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9381 as_fn_error 77 "cannot compute sizeof (void *) 9382 See \`config.log' for more details" "$LINENO" 5; } 15812 9383 else 15813 9384 ac_cv_sizeof_void_p=0 15814 9385 fi 15815 9386 fi 15816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15817 fi 15818 rm -f conftest.val 15819 fi 15820 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15821 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 9387 9388 fi 9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 9390 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15822 9391 15823 9392 … … 15845 9414 15846 9415 15847 { echo "$as_me:$LINENO: checking for build with symbols" >&515848 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 9417 $as_echo_n "checking for build with symbols... " >&6; } 15849 9418 # Check whether --enable-symbols was given. 15850 if test "${enable_symbols+set}" = set; then 9419 if test "${enable_symbols+set}" = set; then : 15851 9420 enableval=$enable_symbols; tcl_ok=$enableval 15852 9421 else … … 15859 9428 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 15860 9429 DBGX="" 15861 { echo "$as_me:$LINENO: result: no" >&515862 echo "${ECHO_T}no" >&6; }9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9431 $as_echo "no" >&6; } 15863 9432 else 15864 9433 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 15866 9435 DBGX=g 15867 9436 if test "$tcl_ok" = "yes"; then 15868 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&515869 echo "${ECHO_T}yes (standard debugging)" >&6; }9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 9438 $as_echo "yes (standard debugging)" >&6; } 15870 9439 fi 15871 9440 fi … … 15874 9443 15875 9444 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 15876 cat >>confdefs.h <<\_ACEOF 15877 #define TCL_MEM_DEBUG 1 15878 _ACEOF 9445 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15879 9446 15880 9447 fi 15881 9448 15882 9449 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 15883 cat >>confdefs.h <<\_ACEOF 15884 #define TCL_COMPILE_DEBUG 1 15885 _ACEOF 15886 15887 cat >>confdefs.h <<\_ACEOF 15888 #define TCL_COMPILE_STATS 1 15889 _ACEOF 9450 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9451 9452 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15890 9453 15891 9454 fi … … 15893 9456 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 15894 9457 if test "$tcl_ok" = "all"; then 15895 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&515896 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 9459 $as_echo "enabled symbols mem compile debugging" >&6; } 15897 9460 else 15898 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&515899 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 9462 $as_echo "enabled $tcl_ok debugging" >&6; } 15900 9463 fi 15901 9464 fi … … 15907 9470 #-------------------------------------------------------------------- 15908 9471 15909 15910 9472 for ac_header in ffmpeg/avcodec.h 15911 do 15912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15913 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15915 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15916 echo $ECHO_N "(cached) $ECHO_C" >&6 15917 else 15918 cat >conftest.$ac_ext <<_ACEOF 15919 /* confdefs.h. */ 15920 _ACEOF 15921 cat confdefs.h >>conftest.$ac_ext 15922 cat >>conftest.$ac_ext <<_ACEOF 15923 /* end confdefs.h. */ 15924 #define __STDC_CONSTANT_MACROS 1 9473 do : 9474 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avcodec.h" "ac_cv_header_ffmpeg_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15925 9475 #ifdef HAVE_FFMPEG_AVCODEC_H 15926 9476 # include <ffmpeg/avcodec.h> 15927 9477 #endif 15928 9478 15929 15930 #include <$ac_header> 15931 _ACEOF 15932 rm -f conftest.$ac_objext 15933 if { (ac_try="$ac_compile" 15934 case "(($ac_try" in 15935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15936 *) ac_try_echo=$ac_try;; 15937 esac 15938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15939 (eval "$ac_compile") 2>conftest.er1 15940 ac_status=$? 15941 grep -v '^ *+' conftest.er1 >conftest.err 15942 rm -f conftest.er1 15943 cat conftest.err >&5 15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15945 (exit $ac_status); } && { 15946 test -z "$ac_cxx_werror_flag" || 15947 test ! -s conftest.err 15948 } && test -s conftest.$ac_objext; then 15949 eval "$as_ac_Header=yes" 15950 else 15951 echo "$as_me: failed program was:" >&5 15952 sed 's/^/| /' conftest.$ac_ext >&5 15953 15954 eval "$as_ac_Header=no" 15955 fi 15956 15957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15958 fi 15959 ac_res=`eval echo '${'$as_ac_Header'}'` 15960 { echo "$as_me:$LINENO: result: $ac_res" >&5 15961 echo "${ECHO_T}$ac_res" >&6; } 15962 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9479 " 9480 if test "x$ac_cv_header_ffmpeg_avcodec_h" = xyes; then : 15963 9481 cat >>confdefs.h <<_ACEOF 15964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15965 _ACEOF 15966 15967 fi 15968 15969 done 15970 9482 #define HAVE_FFMPEG_AVCODEC_H 1 9483 _ACEOF 9484 9485 fi 9486 9487 done 15971 9488 15972 9489 15973 9490 for ac_header in libavcodec/avcodec.h 15974 do 15975 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15976 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15979 echo $ECHO_N "(cached) $ECHO_C" >&6 15980 else 15981 cat >conftest.$ac_ext <<_ACEOF 15982 /* confdefs.h. */ 15983 _ACEOF 15984 cat confdefs.h >>conftest.$ac_ext 15985 cat >>conftest.$ac_ext <<_ACEOF 15986 /* end confdefs.h. */ 15987 #define __STDC_CONSTANT_MACROS 1 9491 do : 9492 ac_fn_cxx_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15988 9493 #ifdef HAVE_LIBAVCODEC_AVCODEC_H 15989 9494 # include <libavcodec/avcodec.h> 15990 9495 #endif 15991 9496 15992 15993 #include <$ac_header> 15994 _ACEOF 15995 rm -f conftest.$ac_objext 15996 if { (ac_try="$ac_compile" 15997 case "(($ac_try" in 15998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15999 *) ac_try_echo=$ac_try;; 16000 esac 16001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16002 (eval "$ac_compile") 2>conftest.er1 16003 ac_status=$? 16004 grep -v '^ *+' conftest.er1 >conftest.err 16005 rm -f conftest.er1 16006 cat conftest.err >&5 16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16008 (exit $ac_status); } && { 16009 test -z "$ac_cxx_werror_flag" || 16010 test ! -s conftest.err 16011 } && test -s conftest.$ac_objext; then 16012 eval "$as_ac_Header=yes" 16013 else 16014 echo "$as_me: failed program was:" >&5 16015 sed 's/^/| /' conftest.$ac_ext >&5 16016 16017 eval "$as_ac_Header=no" 16018 fi 16019 16020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16021 fi 16022 ac_res=`eval echo '${'$as_ac_Header'}'` 16023 { echo "$as_me:$LINENO: result: $ac_res" >&5 16024 echo "${ECHO_T}$ac_res" >&6; } 16025 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9497 " 9498 if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes; then : 16026 9499 cat >>confdefs.h <<_ACEOF 16027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16028 _ACEOF 16029 16030 fi 16031 16032 done 16033 9500 #define HAVE_LIBAVCODEC_AVCODEC_H 1 9501 _ACEOF 9502 9503 fi 9504 9505 done 16034 9506 16035 9507 16036 9508 for ac_header in ffmpeg/avformat.h 16037 do 16038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16039 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16042 echo $ECHO_N "(cached) $ECHO_C" >&6 16043 else 16044 cat >conftest.$ac_ext <<_ACEOF 16045 /* confdefs.h. */ 16046 _ACEOF 16047 cat confdefs.h >>conftest.$ac_ext 16048 cat >>conftest.$ac_ext <<_ACEOF 16049 /* end confdefs.h. */ 16050 #define __STDC_CONSTANT_MACROS 1 9509 do : 9510 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avformat.h" "ac_cv_header_ffmpeg_avformat_h" "#define __STDC_CONSTANT_MACROS 1 16051 9511 #ifdef HAVE_FFMPEG_AVFORMAT_H 16052 9512 # include <ffmpeg/avformat.h> 16053 9513 #endif 16054 9514 16055 16056 #include <$ac_header> 16057 _ACEOF 16058 rm -f conftest.$ac_objext 16059 if { (ac_try="$ac_compile" 16060 case "(($ac_try" in 16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16062 *) ac_try_echo=$ac_try;; 16063 esac 16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16065 (eval "$ac_compile") 2>conftest.er1 16066 ac_status=$? 16067 grep -v '^ *+' conftest.er1 >conftest.err 16068 rm -f conftest.er1 16069 cat conftest.err >&5 16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16071 (exit $ac_status); } && { 16072 test -z "$ac_cxx_werror_flag" || 16073 test ! -s conftest.err 16074 } && test -s conftest.$ac_objext; then 16075 eval "$as_ac_Header=yes" 16076 else 16077 echo "$as_me: failed program was:" >&5 16078 sed 's/^/| /' conftest.$ac_ext >&5 16079 16080 eval "$as_ac_Header=no" 16081 fi 16082 16083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16084 fi 16085 ac_res=`eval echo '${'$as_ac_Header'}'` 16086 { echo "$as_me:$LINENO: result: $ac_res" >&5 16087 echo "${ECHO_T}$ac_res" >&6; } 16088 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9515 " 9516 if test "x$ac_cv_header_ffmpeg_avformat_h" = xyes; then : 16089 9517 cat >>confdefs.h <<_ACEOF 16090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16091 _ACEOF 16092 16093 fi 16094 16095 done 16096 9518 #define HAVE_FFMPEG_AVFORMAT_H 1 9519 _ACEOF 9520 9521 fi 9522 9523 done 16097 9524 16098 9525 16099 9526 for ac_header in libavformat/avformat.h 16100 do 16101 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16102 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16105 echo $ECHO_N "(cached) $ECHO_C" >&6 16106 else 16107 cat >conftest.$ac_ext <<_ACEOF 16108 /* confdefs.h. */ 16109 _ACEOF 16110 cat confdefs.h >>conftest.$ac_ext 16111 cat >>conftest.$ac_ext <<_ACEOF 16112 /* end confdefs.h. */ 16113 #define __STDC_CONSTANT_MACROS 1 9527 do : 9528 ac_fn_cxx_check_header_compile "$LINENO" "libavformat/avformat.h" "ac_cv_header_libavformat_avformat_h" "#define __STDC_CONSTANT_MACROS 1 16114 9529 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H 16115 9530 # include <libavformat/avformat.h> 16116 9531 #endif 16117 9532 16118 16119 #include <$ac_header> 16120 _ACEOF 16121 rm -f conftest.$ac_objext 16122 if { (ac_try="$ac_compile" 16123 case "(($ac_try" in 16124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16125 *) ac_try_echo=$ac_try;; 16126 esac 16127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16128 (eval "$ac_compile") 2>conftest.er1 16129 ac_status=$? 16130 grep -v '^ *+' conftest.er1 >conftest.err 16131 rm -f conftest.er1 16132 cat conftest.err >&5 16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16134 (exit $ac_status); } && { 16135 test -z "$ac_cxx_werror_flag" || 16136 test ! -s conftest.err 16137 } && test -s conftest.$ac_objext; then 16138 eval "$as_ac_Header=yes" 16139 else 16140 echo "$as_me: failed program was:" >&5 16141 sed 's/^/| /' conftest.$ac_ext >&5 16142 16143 eval "$as_ac_Header=no" 16144 fi 16145 16146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16147 fi 16148 ac_res=`eval echo '${'$as_ac_Header'}'` 16149 { echo "$as_me:$LINENO: result: $ac_res" >&5 16150 echo "${ECHO_T}$ac_res" >&6; } 16151 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9533 " 9534 if test "x$ac_cv_header_libavformat_avformat_h" = xyes; then : 16152 9535 cat >>confdefs.h <<_ACEOF 16153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16154 _ACEOF 16155 16156 fi 16157 16158 done 16159 9536 #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 9537 _ACEOF 9538 9539 fi 9540 9541 done 16160 9542 16161 9543 16162 9544 for ac_header in ffmpeg/avutil.h 16163 do 16164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16165 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16167 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16168 echo $ECHO_N "(cached) $ECHO_C" >&6 16169 else 16170 cat >conftest.$ac_ext <<_ACEOF 16171 /* confdefs.h. */ 16172 _ACEOF 16173 cat confdefs.h >>conftest.$ac_ext 16174 cat >>conftest.$ac_ext <<_ACEOF 16175 /* end confdefs.h. */ 16176 #define __STDC_CONSTANT_MACROS 1 9545 do : 9546 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16177 9547 #ifdef HAVE_FFMPEG_AVUTIL_H 16178 9548 # include <ffmpeg/avutil.h> 16179 9549 #endif 16180 9550 16181 16182 #include <$ac_header> 16183 _ACEOF 16184 rm -f conftest.$ac_objext 16185 if { (ac_try="$ac_compile" 16186 case "(($ac_try" in 16187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16188 *) ac_try_echo=$ac_try;; 16189 esac 16190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16191 (eval "$ac_compile") 2>conftest.er1 16192 ac_status=$? 16193 grep -v '^ *+' conftest.er1 >conftest.err 16194 rm -f conftest.er1 16195 cat conftest.err >&5 16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16197 (exit $ac_status); } && { 16198 test -z "$ac_cxx_werror_flag" || 16199 test ! -s conftest.err 16200 } && test -s conftest.$ac_objext; then 16201 eval "$as_ac_Header=yes" 16202 else 16203 echo "$as_me: failed program was:" >&5 16204 sed 's/^/| /' conftest.$ac_ext >&5 16205 16206 eval "$as_ac_Header=no" 16207 fi 16208 16209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16210 fi 16211 ac_res=`eval echo '${'$as_ac_Header'}'` 16212 { echo "$as_me:$LINENO: result: $ac_res" >&5 16213 echo "${ECHO_T}$ac_res" >&6; } 16214 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9551 " 9552 if test "x$ac_cv_header_ffmpeg_avutil_h" = xyes; then : 16215 9553 cat >>confdefs.h <<_ACEOF 16216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16217 _ACEOF 16218 16219 fi 16220 16221 done 16222 9554 #define HAVE_FFMPEG_AVUTIL_H 1 9555 _ACEOF 9556 9557 fi 9558 9559 done 16223 9560 16224 9561 16225 9562 for ac_header in libavutil/avutil.h 16226 do 16227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16228 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16231 echo $ECHO_N "(cached) $ECHO_C" >&6 16232 else 16233 cat >conftest.$ac_ext <<_ACEOF 16234 /* confdefs.h. */ 16235 _ACEOF 16236 cat confdefs.h >>conftest.$ac_ext 16237 cat >>conftest.$ac_ext <<_ACEOF 16238 /* end confdefs.h. */ 16239 #define __STDC_CONSTANT_MACROS 1 9563 do : 9564 ac_fn_cxx_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16240 9565 #ifdef HAVE_LIBAVUTIL_AVUTIL_H 16241 9566 # include <libavutil/avutil.h> 16242 9567 #endif 16243 9568 16244 16245 #include <$ac_header> 16246 _ACEOF 16247 rm -f conftest.$ac_objext 16248 if { (ac_try="$ac_compile" 16249 case "(($ac_try" in 16250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16251 *) ac_try_echo=$ac_try;; 16252 esac 16253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16254 (eval "$ac_compile") 2>conftest.er1 16255 ac_status=$? 16256 grep -v '^ *+' conftest.er1 >conftest.err 16257 rm -f conftest.er1 16258 cat conftest.err >&5 16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16260 (exit $ac_status); } && { 16261 test -z "$ac_cxx_werror_flag" || 16262 test ! -s conftest.err 16263 } && test -s conftest.$ac_objext; then 16264 eval "$as_ac_Header=yes" 16265 else 16266 echo "$as_me: failed program was:" >&5 16267 sed 's/^/| /' conftest.$ac_ext >&5 16268 16269 eval "$as_ac_Header=no" 16270 fi 16271 16272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16273 fi 16274 ac_res=`eval echo '${'$as_ac_Header'}'` 16275 { echo "$as_me:$LINENO: result: $ac_res" >&5 16276 echo "${ECHO_T}$ac_res" >&6; } 16277 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9569 " 9570 if test "x$ac_cv_header_libavutil_avutil_h" = xyes; then : 16278 9571 cat >>confdefs.h <<_ACEOF 16279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16280 _ACEOF 16281 16282 fi 16283 16284 done 16285 9572 #define HAVE_LIBAVUTIL_AVUTIL_H 1 9573 _ACEOF 9574 9575 fi 9576 9577 done 16286 9578 16287 9579 16288 9580 for ac_header in ffmpeg/swscale.h 16289 do 16290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16291 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16294 echo $ECHO_N "(cached) $ECHO_C" >&6 16295 else 16296 cat >conftest.$ac_ext <<_ACEOF 16297 /* confdefs.h. */ 16298 _ACEOF 16299 cat confdefs.h >>conftest.$ac_ext 16300 cat >>conftest.$ac_ext <<_ACEOF 16301 /* end confdefs.h. */ 16302 #define __STDC_CONSTANT_MACROS 1 9581 do : 9582 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/swscale.h" "ac_cv_header_ffmpeg_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16303 9583 #ifdef HAVE_FFMPEG_SWSCALE_H 16304 9584 # include <ffmpeg/swscale.h> 16305 9585 #endif 16306 9586 16307 16308 #include <$ac_header> 16309 _ACEOF 16310 rm -f conftest.$ac_objext 16311 if { (ac_try="$ac_compile" 16312 case "(($ac_try" in 16313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16314 *) ac_try_echo=$ac_try;; 16315 esac 16316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16317 (eval "$ac_compile") 2>conftest.er1 16318 ac_status=$? 16319 grep -v '^ *+' conftest.er1 >conftest.err 16320 rm -f conftest.er1 16321 cat conftest.err >&5 16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16323 (exit $ac_status); } && { 16324 test -z "$ac_cxx_werror_flag" || 16325 test ! -s conftest.err 16326 } && test -s conftest.$ac_objext; then 16327 eval "$as_ac_Header=yes" 16328 else 16329 echo "$as_me: failed program was:" >&5 16330 sed 's/^/| /' conftest.$ac_ext >&5 16331 16332 eval "$as_ac_Header=no" 16333 fi 16334 16335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16336 fi 16337 ac_res=`eval echo '${'$as_ac_Header'}'` 16338 { echo "$as_me:$LINENO: result: $ac_res" >&5 16339 echo "${ECHO_T}$ac_res" >&6; } 16340 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9587 " 9588 if test "x$ac_cv_header_ffmpeg_swscale_h" = xyes; then : 16341 9589 cat >>confdefs.h <<_ACEOF 16342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16343 _ACEOF 16344 16345 fi 16346 16347 done 16348 9590 #define HAVE_FFMPEG_SWSCALE_H 1 9591 _ACEOF 9592 9593 fi 9594 9595 done 16349 9596 16350 9597 16351 9598 for ac_header in libswscale/swscale.h 16352 do 16353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16354 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16357 echo $ECHO_N "(cached) $ECHO_C" >&6 16358 else 16359 cat >conftest.$ac_ext <<_ACEOF 16360 /* confdefs.h. */ 16361 _ACEOF 16362 cat confdefs.h >>conftest.$ac_ext 16363 cat >>conftest.$ac_ext <<_ACEOF 16364 /* end confdefs.h. */ 16365 #define __STDC_CONSTANT_MACROS 1 9599 do : 9600 ac_fn_cxx_check_header_compile "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16366 9601 #ifdef HAVE_LIBSWSCALE_SWSCALE_H 16367 9602 # include <libswscale/swscale.h> 16368 9603 #endif 16369 9604 16370 16371 #include <$ac_header> 16372 _ACEOF 16373 rm -f conftest.$ac_objext 16374 if { (ac_try="$ac_compile" 16375 case "(($ac_try" in 16376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16377 *) ac_try_echo=$ac_try;; 16378 esac 16379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16380 (eval "$ac_compile") 2>conftest.er1 16381 ac_status=$? 16382 grep -v '^ *+' conftest.er1 >conftest.err 16383 rm -f conftest.er1 16384 cat conftest.err >&5 16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16386 (exit $ac_status); } && { 16387 test -z "$ac_cxx_werror_flag" || 16388 test ! -s conftest.err 16389 } && test -s conftest.$ac_objext; then 16390 eval "$as_ac_Header=yes" 16391 else 16392 echo "$as_me: failed program was:" >&5 16393 sed 's/^/| /' conftest.$ac_ext >&5 16394 16395 eval "$as_ac_Header=no" 16396 fi 16397 16398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16399 fi 16400 ac_res=`eval echo '${'$as_ac_Header'}'` 16401 { echo "$as_me:$LINENO: result: $ac_res" >&5 16402 echo "${ECHO_T}$ac_res" >&6; } 16403 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9605 " 9606 if test "x$ac_cv_header_libswscale_swscale_h" = xyes; then : 16404 9607 cat >>confdefs.h <<_ACEOF 16405 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19608 #define HAVE_LIBSWSCALE_SWSCALE_H 1 16406 9609 _ACEOF 16407 9610 … … 16422 9625 HAVE_FFMPEG_LIBS="yes" 16423 9626 16424 cat >>confdefs.h <<\_ACEOF 16425 #define BUILD_with_ffmpeg 1 16426 _ACEOF 9627 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 16427 9628 16428 9629 else … … 16430 9631 fi 16431 9632 16432 16433 9633 for ac_func in img_convert 16434 do 16435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16436 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16439 echo $ECHO_N "(cached) $ECHO_C" >&6 16440 else 16441 cat >conftest.$ac_ext <<_ACEOF 16442 /* confdefs.h. */ 16443 _ACEOF 16444 cat confdefs.h >>conftest.$ac_ext 16445 cat >>conftest.$ac_ext <<_ACEOF 16446 /* end confdefs.h. */ 16447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16448 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16449 #define $ac_func innocuous_$ac_func 16450 16451 /* System header to define __stub macros and hopefully few prototypes, 16452 which can conflict with char $ac_func (); below. 16453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16454 <limits.h> exists even on freestanding compilers. */ 16455 16456 #ifdef __STDC__ 16457 # include <limits.h> 16458 #else 16459 # include <assert.h> 16460 #endif 16461 16462 #undef $ac_func 16463 16464 /* Override any GCC internal prototype to avoid an error. 16465 Use char because int might match the return type of a GCC 16466 builtin and then its argument prototype would still apply. */ 16467 #ifdef __cplusplus 16468 extern "C" 16469 #endif 16470 char $ac_func (); 16471 /* The GNU C library defines this for functions which it implements 16472 to always fail with ENOSYS. Some functions are actually named 16473 something starting with __ and the normal name is an alias. */ 16474 #if defined __stub_$ac_func || defined __stub___$ac_func 16475 choke me 16476 #endif 16477 16478 int 16479 main () 16480 { 16481 return $ac_func (); 16482 ; 16483 return 0; 16484 } 16485 _ACEOF 16486 rm -f conftest.$ac_objext conftest$ac_exeext 16487 if { (ac_try="$ac_link" 16488 case "(($ac_try" in 16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16490 *) ac_try_echo=$ac_try;; 16491 esac 16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16493 (eval "$ac_link") 2>conftest.er1 16494 ac_status=$? 16495 grep -v '^ *+' conftest.er1 >conftest.err 16496 rm -f conftest.er1 16497 cat conftest.err >&5 16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16499 (exit $ac_status); } && { 16500 test -z "$ac_cxx_werror_flag" || 16501 test ! -s conftest.err 16502 } && test -s conftest$ac_exeext && 16503 $as_test_x conftest$ac_exeext; then 16504 eval "$as_ac_var=yes" 16505 else 16506 echo "$as_me: failed program was:" >&5 16507 sed 's/^/| /' conftest.$ac_ext >&5 16508 16509 eval "$as_ac_var=no" 16510 fi 16511 16512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16513 conftest$ac_exeext conftest.$ac_ext 16514 fi 16515 ac_res=`eval echo '${'$as_ac_var'}'` 16516 { echo "$as_me:$LINENO: result: $ac_res" >&5 16517 echo "${ECHO_T}$ac_res" >&6; } 16518 if test `eval echo '${'$as_ac_var'}'` = yes; then 9634 do : 9635 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9636 if test "x$ac_cv_func_img_convert" = xyes; then : 16519 9637 cat >>confdefs.h <<_ACEOF 16520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16521 _ACEOF 16522 16523 fi 16524 done 16525 9638 #define HAVE_IMG_CONVERT 1 9639 _ACEOF 9640 9641 fi 9642 done 16526 9643 16527 9644 for ac_func in sws_scale 16528 do 16529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16530 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16533 echo $ECHO_N "(cached) $ECHO_C" >&6 16534 else 16535 cat >conftest.$ac_ext <<_ACEOF 16536 /* confdefs.h. */ 16537 _ACEOF 16538 cat confdefs.h >>conftest.$ac_ext 16539 cat >>conftest.$ac_ext <<_ACEOF 16540 /* end confdefs.h. */ 16541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16542 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16543 #define $ac_func innocuous_$ac_func 16544 16545 /* System header to define __stub macros and hopefully few prototypes, 16546 which can conflict with char $ac_func (); below. 16547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16548 <limits.h> exists even on freestanding compilers. */ 16549 16550 #ifdef __STDC__ 16551 # include <limits.h> 16552 #else 16553 # include <assert.h> 16554 #endif 16555 16556 #undef $ac_func 16557 16558 /* Override any GCC internal prototype to avoid an error. 16559 Use char because int might match the return type of a GCC 16560 builtin and then its argument prototype would still apply. */ 16561 #ifdef __cplusplus 16562 extern "C" 16563 #endif 16564 char $ac_func (); 16565 /* The GNU C library defines this for functions which it implements 16566 to always fail with ENOSYS. Some functions are actually named 16567 something starting with __ and the normal name is an alias. */ 16568 #if defined __stub_$ac_func || defined __stub___$ac_func 16569 choke me 16570 #endif 16571 16572 int 16573 main () 16574 { 16575 return $ac_func (); 16576 ; 16577 return 0; 16578 } 16579 _ACEOF 16580 rm -f conftest.$ac_objext conftest$ac_exeext 16581 if { (ac_try="$ac_link" 16582 case "(($ac_try" in 16583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16584 *) ac_try_echo=$ac_try;; 16585 esac 16586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16587 (eval "$ac_link") 2>conftest.er1 16588 ac_status=$? 16589 grep -v '^ *+' conftest.er1 >conftest.err 16590 rm -f conftest.er1 16591 cat conftest.err >&5 16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16593 (exit $ac_status); } && { 16594 test -z "$ac_cxx_werror_flag" || 16595 test ! -s conftest.err 16596 } && test -s conftest$ac_exeext && 16597 $as_test_x conftest$ac_exeext; then 16598 eval "$as_ac_var=yes" 16599 else 16600 echo "$as_me: failed program was:" >&5 16601 sed 's/^/| /' conftest.$ac_ext >&5 16602 16603 eval "$as_ac_var=no" 16604 fi 16605 16606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16607 conftest$ac_exeext conftest.$ac_ext 16608 fi 16609 ac_res=`eval echo '${'$as_ac_var'}'` 16610 { echo "$as_me:$LINENO: result: $ac_res" >&5 16611 echo "${ECHO_T}$ac_res" >&6; } 16612 if test `eval echo '${'$as_ac_var'}'` = yes; then 9645 do : 9646 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9647 if test "x$ac_cv_func_sws_scale" = xyes; then : 16613 9648 cat >>confdefs.h <<_ACEOF 16614 #define `echo "HAVE_$ac_func" | $as_tr_cpp`19649 #define HAVE_SWS_SCALE 1 16615 9650 _ACEOF 16616 9651 … … 16621 9656 16622 9657 ac_configure_args="--disable-threads --enable-shared" 9658 9659 16623 9660 subdirs="$subdirs packages/optimizer/src" 16624 9661 … … 16653 9690 *${as_nl}*) 16654 9691 case $ac_var in #( 16655 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&516656 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;9692 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16657 9694 esac 16658 9695 case $ac_var in #( 16659 9696 _ | IFS | as_nl) ;; #( 16660 *) $as_unset $ac_var ;; 9697 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9698 *) { eval $ac_var=; unset $ac_var;} ;; 16661 9699 esac ;; 16662 9700 esac … … 16666 9704 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16667 9705 *${as_nl}ac_space=\ *) 16668 # `set' does not quote correctly, so add quotes (double-quote16669 # substitution turns \\\\ into \\, and sed turns \\ into \ ).9706 # `set' does not quote correctly, so add quotes: double-quote 9707 # substitution turns \\\\ into \\, and sed turns \\ into \. 16670 9708 sed -n \ 16671 9709 "s/'/'\\\\''/g; … … 16689 9727 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16690 9728 if test -w "$cache_file"; then 16691 test "x$cache_file" != "x/dev/null" && 16692 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 16693 echo "$as_me: updating cache $cache_file" >&6;} 16694 cat confcache >$cache_file 9729 if test "x$cache_file" != "x/dev/null"; then 9730 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9731 $as_echo "$as_me: updating cache $cache_file" >&6;} 9732 if test ! -f "$cache_file" || test -h "$cache_file"; then 9733 cat confcache >"$cache_file" 9734 else 9735 case $cache_file in #( 9736 */* | ?:*) 9737 mv -f confcache "$cache_file"$$ && 9738 mv -f "$cache_file"$$ "$cache_file" ;; #( 9739 *) 9740 mv -f confcache "$cache_file" ;; 9741 esac 9742 fi 9743 fi 16695 9744 else 16696 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&516697 echo "$as_me: not updating unwritable cache $cache_file" >&6;}9745 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9746 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16698 9747 fi 16699 9748 fi … … 16708 9757 ac_libobjs= 16709 9758 ac_ltlibobjs= 9759 U= 16710 9760 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16711 9761 # 1. Remove the extension, and $U if already installed. 16712 9762 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16713 ac_i=` echo "$ac_i" | sed "$ac_script"`9763 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16714 9764 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16715 9765 # will be set to the directory where LIBOBJS objects are built. 16716 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"16717 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'9766 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9767 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16718 9768 done 16719 9769 LIBOBJS=$ac_libobjs … … 16723 9773 16724 9774 16725 : ${CONFIG_STATUS=./config.status} 9775 9776 : "${CONFIG_STATUS=./config.status}" 9777 ac_write_fail=0 16726 9778 ac_clean_files_save=$ac_clean_files 16727 9779 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16728 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 16729 echo "$as_me: creating $CONFIG_STATUS" >&6;} 16730 cat >$CONFIG_STATUS <<_ACEOF 9780 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9781 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9782 as_write_fail=0 9783 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16731 9784 #! $SHELL 16732 9785 # Generated by $as_me. … … 16738 9791 ac_cs_recheck=false 16739 9792 ac_cs_silent=false 9793 16740 9794 SHELL=\${CONFIG_SHELL-$SHELL} 16741 _ACEOF 16742 16743 cat >>$CONFIG_STATUS <<\_A CEOF16744 ## -------------------- -##16745 ## M4sh Initialization. 16746 ## -------------------- -##9795 export SHELL 9796 _ASEOF 9797 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9798 ## -------------------- ## 9799 ## M4sh Initialization. ## 9800 ## -------------------- ## 16747 9801 16748 9802 # Be more Bourne compatible 16749 9803 DUALCASE=1; export DUALCASE # for MKS sh 16750 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9804 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16751 9805 emulate sh 16752 9806 NULLCMD=: 16753 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9807 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16754 9808 # is contrary to our usage. Disable this feature. 16755 9809 alias -g '${1+"$@"}'='"$@"' 16756 9810 setopt NO_GLOB_SUBST 16757 9811 else 16758 case `(set -o) 2>/dev/null` in 16759 *posix*) set -o posix ;; 9812 case `(set -o) 2>/dev/null` in #( 9813 *posix*) : 9814 set -o posix ;; #( 9815 *) : 9816 ;; 16760 9817 esac 16761 16762 fi 16763 16764 16765 16766 16767 # PATH needs CR 16768 # Avoid depending upon Character Ranges. 16769 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16772 as_cr_digits='0123456789' 16773 as_cr_alnum=$as_cr_Letters$as_cr_digits 9818 fi 9819 9820 9821 as_nl=' 9822 ' 9823 export as_nl 9824 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9825 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9826 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9827 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9828 # Prefer a ksh shell builtin over an external printf program on Solaris, 9829 # but without wasting forks for bash or zsh. 9830 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9831 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9832 as_echo='print -r --' 9833 as_echo_n='print -rn --' 9834 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9835 as_echo='printf %s\n' 9836 as_echo_n='printf %s' 9837 else 9838 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9839 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9840 as_echo_n='/usr/ucb/echo -n' 9841 else 9842 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9843 as_echo_n_body='eval 9844 arg=$1; 9845 case $arg in #( 9846 *"$as_nl"*) 9847 expr "X$arg" : "X\\(.*\\)$as_nl"; 9848 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9849 esac; 9850 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9851 ' 9852 export as_echo_n_body 9853 as_echo_n='sh -c $as_echo_n_body as_echo' 9854 fi 9855 export as_echo_body 9856 as_echo='sh -c $as_echo_body as_echo' 9857 fi 16774 9858 16775 9859 # The user is always right. 16776 9860 if test "${PATH_SEPARATOR+set}" != set; then 16777 echo "#! /bin/sh" >conf$$.sh 16778 echo "exit 0" >>conf$$.sh 16779 chmod +x conf$$.sh 16780 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 16781 PATH_SEPARATOR=';' 16782 else 16783 PATH_SEPARATOR=: 16784 fi 16785 rm -f conf$$.sh 16786 fi 16787 16788 # Support unset when possible. 16789 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 16790 as_unset=unset 16791 else 16792 as_unset=false 9861 PATH_SEPARATOR=: 9862 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9863 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9864 PATH_SEPARATOR=';' 9865 } 16793 9866 fi 16794 9867 … … 16799 9872 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 16800 9873 # splitting by setting IFS to empty value.) 16801 as_nl='16802 '16803 9874 IFS=" "" $as_nl" 16804 9875 16805 9876 # Find who we are. Look in the path if we contain no directory separator. 16806 case $0 in 9877 as_myself= 9878 case $0 in #(( 16807 9879 *[\\/]* ) as_myself=$0 ;; 16808 9880 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 16811 9883 IFS=$as_save_IFS 16812 9884 test -z "$as_dir" && as_dir=. 16813 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break16814 done9885 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9886 done 16815 9887 IFS=$as_save_IFS 16816 9888 … … 16823 9895 fi 16824 9896 if test ! -f "$as_myself"; then 16825 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16826 { (exit 1); exit 1; } 16827 fi 16828 16829 # Work around bugs in pre-3.0 UWIN ksh. 16830 for as_var in ENV MAIL MAILPATH 16831 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9897 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9898 exit 1 9899 fi 9900 9901 # Unset variables that we do not need and which cause bugs (e.g. in 9902 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9903 # suppresses any "Segmentation fault" message there. '((' could 9904 # trigger a bug in pdksh 5.2.14. 9905 for as_var in BASH_ENV ENV MAIL MAILPATH 9906 do eval test x\${$as_var+set} = xset \ 9907 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16832 9908 done 16833 9909 PS1='$ ' … … 16836 9912 16837 9913 # NLS nuisances. 16838 for as_var in \ 16839 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 16840 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 16841 LC_TELEPHONE LC_TIME 16842 do 16843 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 16844 eval $as_var=C; export $as_var 16845 else 16846 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 16847 fi 16848 done 16849 16850 # Required to use basename. 9914 LC_ALL=C 9915 export LC_ALL 9916 LANGUAGE=C 9917 export LANGUAGE 9918 9919 # CDPATH. 9920 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9921 9922 9923 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9924 # ---------------------------------------- 9925 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9926 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9927 # script with STATUS, using 1 if that was 0. 9928 as_fn_error () 9929 { 9930 as_status=$1; test $as_status -eq 0 && as_status=1 9931 if test "$4"; then 9932 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9933 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9934 fi 9935 $as_echo "$as_me: error: $2" >&2 9936 as_fn_exit $as_status 9937 } # as_fn_error 9938 9939 9940 # as_fn_set_status STATUS 9941 # ----------------------- 9942 # Set $? to STATUS, without forking. 9943 as_fn_set_status () 9944 { 9945 return $1 9946 } # as_fn_set_status 9947 9948 # as_fn_exit STATUS 9949 # ----------------- 9950 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9951 as_fn_exit () 9952 { 9953 set +e 9954 as_fn_set_status $1 9955 exit $1 9956 } # as_fn_exit 9957 9958 # as_fn_unset VAR 9959 # --------------- 9960 # Portably unset VAR. 9961 as_fn_unset () 9962 { 9963 { eval $1=; unset $1;} 9964 } 9965 as_unset=as_fn_unset 9966 # as_fn_append VAR VALUE 9967 # ---------------------- 9968 # Append the text in VALUE to the end of the definition contained in VAR. Take 9969 # advantage of any shell optimizations that allow amortized linear growth over 9970 # repeated appends, instead of the typical quadratic growth present in naive 9971 # implementations. 9972 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9973 eval 'as_fn_append () 9974 { 9975 eval $1+=\$2 9976 }' 9977 else 9978 as_fn_append () 9979 { 9980 eval $1=\$$1\$2 9981 } 9982 fi # as_fn_append 9983 9984 # as_fn_arith ARG... 9985 # ------------------ 9986 # Perform arithmetic evaluation on the ARGs, and store the result in the 9987 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9988 # must be portable across $(()) and expr. 9989 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9990 eval 'as_fn_arith () 9991 { 9992 as_val=$(( $* )) 9993 }' 9994 else 9995 as_fn_arith () 9996 { 9997 as_val=`expr "$@" || test $? -eq 1` 9998 } 9999 fi # as_fn_arith 10000 10001 16851 10002 if expr a : '\(a\)' >/dev/null 2>&1 && 16852 10003 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 16862 10013 fi 16863 10014 16864 16865 # Name of the executable. 10015 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10016 as_dirname=dirname 10017 else 10018 as_dirname=false 10019 fi 10020 16866 10021 as_me=`$as_basename -- "$0" || 16867 10022 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16868 10023 X"$0" : 'X\(//\)$' \| \ 16869 10024 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16870 echo X/"$0" |10025 $as_echo X/"$0" | 16871 10026 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16872 10027 s//\1/ … … 16883 10038 s/.*/./; q'` 16884 10039 16885 # CDPATH. 16886 $as_unset CDPATH 16887 16888 16889 16890 as_lineno_1=$LINENO 16891 as_lineno_2=$LINENO 16892 test "x$as_lineno_1" != "x$as_lineno_2" && 16893 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 16894 16895 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 16896 # uniformly replaced by the line number. The first 'sed' inserts a 16897 # line-number line after each line using $LINENO; the second 'sed' 16898 # does the real work. The second script uses 'N' to pair each 16899 # line-number line with the line containing $LINENO, and appends 16900 # trailing '-' during substitution so that $LINENO is not a special 16901 # case at line end. 16902 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16903 # scripts with optimization help from Paolo Bonzini. Blame Lee 16904 # E. McMahon (1931-1989) for sed's syntax. :-) 16905 sed -n ' 16906 p 16907 /[$]LINENO/= 16908 ' <$as_myself | 16909 sed ' 16910 s/[$]LINENO.*/&-/ 16911 t lineno 16912 b 16913 :lineno 16914 N 16915 :loop 16916 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 16917 t loop 16918 s/-\n.*// 16919 ' >$as_me.lineno && 16920 chmod +x "$as_me.lineno" || 16921 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 16922 { (exit 1); exit 1; }; } 16923 16924 # Don't try to exec as it changes $[0], causing all sort of problems 16925 # (the dirname of $[0] is not the place where we might find the 16926 # original and so on. Autoconf is especially sensitive to this). 16927 . "./$as_me.lineno" 16928 # Exit status is that of the last command. 16929 exit 16930 } 16931 16932 16933 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16934 as_dirname=dirname 16935 else 16936 as_dirname=false 16937 fi 10040 # Avoid depending upon Character Ranges. 10041 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10042 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10043 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10044 as_cr_digits='0123456789' 10045 as_cr_alnum=$as_cr_Letters$as_cr_digits 16938 10046 16939 10047 ECHO_C= ECHO_N= ECHO_T= 16940 case `echo -n x` in 10048 case `echo -n x` in #((((( 16941 10049 -n*) 16942 case `echo 'x \c'` in10050 case `echo 'xy\c'` in 16943 10051 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16944 *) ECHO_C='\c';; 10052 xy) ECHO_C='\c';; 10053 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10054 ECHO_T=' ';; 16945 10055 esac;; 16946 10056 *) … … 16948 10058 esac 16949 10059 16950 if expr a : '\(a\)' >/dev/null 2>&1 &&16951 test "X`expr 00001 : '.*\(...\)'`" = X001; then16952 as_expr=expr16953 else16954 as_expr=false16955 fi16956 16957 10060 rm -f conf$$ conf$$.exe conf$$.file 16958 10061 if test -d conf$$.dir; then … … 16960 10063 else 16961 10064 rm -f conf$$.dir 16962 mkdir conf$$.dir 16963 fi 16964 echo >conf$$.file 16965 if ln -s conf$$.file conf$$ 2>/dev/null; then 16966 as_ln_s='ln -s' 16967 # ... but there are two gotchas: 16968 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16969 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16970 # In both cases, we have to default to `cp -p'. 16971 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10065 mkdir conf$$.dir 2>/dev/null 10066 fi 10067 if (echo >conf$$.file) 2>/dev/null; then 10068 if ln -s conf$$.file conf$$ 2>/dev/null; then 10069 as_ln_s='ln -s' 10070 # ... but there are two gotchas: 10071 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10072 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10073 # In both cases, we have to default to `cp -p'. 10074 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10075 as_ln_s='cp -p' 10076 elif ln conf$$.file conf$$ 2>/dev/null; then 10077 as_ln_s=ln 10078 else 16972 10079 as_ln_s='cp -p' 16973 elif ln conf$$.file conf$$ 2>/dev/null; then 16974 as_ln_s=ln 10080 fi 16975 10081 else 16976 10082 as_ln_s='cp -p' … … 16979 10085 rmdir conf$$.dir 2>/dev/null 16980 10086 10087 10088 # as_fn_mkdir_p 10089 # ------------- 10090 # Create "$as_dir" as a directory, including parents if necessary. 10091 as_fn_mkdir_p () 10092 { 10093 10094 case $as_dir in #( 10095 -*) as_dir=./$as_dir;; 10096 esac 10097 test -d "$as_dir" || eval $as_mkdir_p || { 10098 as_dirs= 10099 while :; do 10100 case $as_dir in #( 10101 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10102 *) as_qdir=$as_dir;; 10103 esac 10104 as_dirs="'$as_qdir' $as_dirs" 10105 as_dir=`$as_dirname -- "$as_dir" || 10106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10107 X"$as_dir" : 'X\(//\)[^/]' \| \ 10108 X"$as_dir" : 'X\(//\)$' \| \ 10109 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10110 $as_echo X"$as_dir" | 10111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10112 s//\1/ 10113 q 10114 } 10115 /^X\(\/\/\)[^/].*/{ 10116 s//\1/ 10117 q 10118 } 10119 /^X\(\/\/\)$/{ 10120 s//\1/ 10121 q 10122 } 10123 /^X\(\/\).*/{ 10124 s//\1/ 10125 q 10126 } 10127 s/.*/./; q'` 10128 test -d "$as_dir" && break 10129 done 10130 test -z "$as_dirs" || eval "mkdir $as_dirs" 10131 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10132 10133 10134 } # as_fn_mkdir_p 16981 10135 if mkdir -p . 2>/dev/null; then 16982 as_mkdir_p= :10136 as_mkdir_p='mkdir -p "$as_dir"' 16983 10137 else 16984 10138 test -d ./-p && rmdir ./-p … … 16997 10151 eval sh -c '\'' 16998 10152 if test -d "$1"; then 16999 10153 test -d "$1/."; 17000 10154 else 17001 case $1 in 17002 10155 case $1 in #( 10156 -*)set "./$1";; 17003 10157 esac; 17004 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 10158 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 17005 10159 ???[sx]*):;;*)false;;esac;fi 17006 10160 '\'' sh … … 17017 10171 17018 10172 exec 6>&1 17019 17020 # Save the log message, to keep $[0] and so on meaningful, and to 10173 ## ----------------------------------- ## 10174 ## Main body of $CONFIG_STATUS script. ## 10175 ## ----------------------------------- ## 10176 _ASEOF 10177 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10178 10179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10180 # Save the log message, to keep $0 and so on meaningful, and to 17021 10181 # report actual input values of CONFIG_FILES etc. instead of their 17022 10182 # values after options handling. 17023 10183 ac_log=" 17024 10184 This file was extended by Rappture $as_me 1.1, which was 17025 generated by GNU Autoconf 2.6 1. Invocation command line was10185 generated by GNU Autoconf 2.68. Invocation command line was 17026 10186 17027 10187 CONFIG_FILES = $CONFIG_FILES … … 17036 10196 _ACEOF 17037 10197 17038 cat >>$CONFIG_STATUS <<_ACEOF 10198 case $ac_config_files in *" 10199 "*) set x $ac_config_files; shift; ac_config_files=$*;; 10200 esac 10201 10202 case $ac_config_headers in *" 10203 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10204 esac 10205 10206 10207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17039 10208 # Files that config.status was made for. 17040 10209 config_files="$ac_config_files" … … 17043 10212 _ACEOF 17044 10213 17045 cat >>$CONFIG_STATUS <<\_ACEOF 10214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17046 10215 ac_cs_usage="\ 17047 \`$as_me' instantiates files from templates according to the 17048 current configuration. 17049 17050 Usage: $0 [OPTIONS] [FILE]... 10216 \`$as_me' instantiates files and other configuration actions 10217 from templates according to the current configuration. Unless the files 10218 and actions are specified as TAGs, all are instantiated by default. 10219 10220 Usage: $0 [OPTION]... [TAG]... 17051 10221 17052 10222 -h, --help print this help, then exit 17053 10223 -V, --version print version number and configuration settings, then exit 17054 -q, --quiet do not print progress messages 10224 --config print configuration, then exit 10225 -q, --quiet, --silent 10226 do not print progress messages 17055 10227 -d, --debug don't remove temporary files 17056 10228 --recheck update $as_me by reconfiguring in the same conditions 17057 --file=FILE[:TEMPLATE]17058 17059 --header=FILE[:TEMPLATE]17060 10229 --file=FILE[:TEMPLATE] 10230 instantiate the configuration file FILE 10231 --header=FILE[:TEMPLATE] 10232 instantiate the configuration header FILE 17061 10233 17062 10234 Configuration files: … … 17066 10238 $config_headers 17067 10239 17068 Report bugs to <bug-autoconf@gnu.org>." 17069 17070 _ACEOF 17071 cat >>$CONFIG_STATUS <<_ACEOF 10240 Report bugs to <rappture@nanohub.org>." 10241 10242 _ACEOF 10243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10244 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17072 10245 ac_cs_version="\\ 17073 10246 Rappture config.status 1.1 17074 configured by $0, generated by GNU Autoconf 2.6 1,17075 with options \\" `echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"17076 17077 Copyright (C) 20 06Free Software Foundation, Inc.10247 configured by $0, generated by GNU Autoconf 2.68, 10248 with options \\"\$ac_cs_config\\" 10249 10250 Copyright (C) 2010 Free Software Foundation, Inc. 17078 10251 This config.status script is free software; the Free Software Foundation 17079 10252 gives unlimited permission to copy, distribute and modify it." … … 17083 10256 INSTALL='$INSTALL' 17084 10257 MKDIR_P='$MKDIR_P' 17085 _ACEOF 17086 17087 cat >>$CONFIG_STATUS <<\_ACEOF 17088 # If no file are specified by the user, then we need to provide default 17089 # value. By we need to know if files were specified by the user. 10258 AWK='$AWK' 10259 test -n "\$AWK" || AWK=awk 10260 _ACEOF 10261 10262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10263 # The default lists apply if the user does not specify any file. 17090 10264 ac_need_defaults=: 17091 10265 while test $# != 0 17092 10266 do 17093 10267 case $1 in 17094 --*= *)10268 --*=?*) 17095 10269 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17096 10270 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10271 ac_shift=: 10272 ;; 10273 --*=) 10274 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10275 ac_optarg= 17097 10276 ac_shift=: 17098 10277 ;; … … 17109 10288 ac_cs_recheck=: ;; 17110 10289 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17111 echo "$ac_cs_version"; exit ;; 10290 $as_echo "$ac_cs_version"; exit ;; 10291 --config | --confi | --conf | --con | --co | --c ) 10292 $as_echo "$ac_cs_config"; exit ;; 17112 10293 --debug | --debu | --deb | --de | --d | -d ) 17113 10294 debug=: ;; 17114 10295 --file | --fil | --fi | --f ) 17115 10296 $ac_shift 17116 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 10297 case $ac_optarg in 10298 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10299 '') as_fn_error $? "missing file argument" ;; 10300 esac 10301 as_fn_append CONFIG_FILES " '$ac_optarg'" 17117 10302 ac_need_defaults=false;; 17118 10303 --header | --heade | --head | --hea ) 17119 10304 $ac_shift 17120 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 10305 case $ac_optarg in 10306 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10307 esac 10308 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17121 10309 ac_need_defaults=false;; 17122 10310 --he | --h) 17123 10311 # Conflict between --help and --header 17124 { echo "$as_me: error: ambiguous option: $1 17125 Try \`$0 --help' for more information." >&2 17126 { (exit 1); exit 1; }; };; 10312 as_fn_error $? "ambiguous option: \`$1' 10313 Try \`$0 --help' for more information.";; 17127 10314 --help | --hel | -h ) 17128 echo "$ac_cs_usage"; exit ;;10315 $as_echo "$ac_cs_usage"; exit ;; 17129 10316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17130 10317 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 17132 10319 17133 10320 # This is an error. 17134 -*) { echo "$as_me: error: unrecognized option: $1 17135 Try \`$0 --help' for more information." >&2 17136 { (exit 1); exit 1; }; } ;; 17137 17138 *) ac_config_targets="$ac_config_targets $1" 10321 -*) as_fn_error $? "unrecognized option: \`$1' 10322 Try \`$0 --help' for more information." ;; 10323 10324 *) as_fn_append ac_config_targets " $1" 17139 10325 ac_need_defaults=false ;; 17140 10326 … … 17151 10337 17152 10338 _ACEOF 17153 cat >>$CONFIG_STATUS <<_ACEOF 10339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17154 10340 if \$ac_cs_recheck; then 17155 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 17156 CONFIG_SHELL=$SHELL 10341 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10342 shift 10343 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10344 CONFIG_SHELL='$SHELL' 17157 10345 export CONFIG_SHELL 17158 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion17159 fi 17160 17161 _ACEOF 17162 cat >>$CONFIG_STATUS <<\_ACEOF 10346 exec "\$@" 10347 fi 10348 10349 _ACEOF 10350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17163 10351 exec 5>>config.log 17164 10352 { … … 17167 10355 ## Running $as_me. ## 17168 10356 _ASBOX 17169 echo "$ac_log"10357 $as_echo "$ac_log" 17170 10358 } >&5 17171 10359 17172 10360 _ACEOF 17173 cat >>$CONFIG_STATUS <<_ACEOF 17174 _ACEOF 17175 17176 cat >>$CONFIG_STATUS <<\_ACEOF 10361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10362 _ACEOF 10363 10364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17177 10365 17178 10366 # Handling of arguments. … … 17303 10491 "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;; 17304 10492 17305 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17306 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17307 { (exit 1); exit 1; }; };; 10493 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17308 10494 esac 17309 10495 done … … 17327 10513 $debug || 17328 10514 { 17329 tmp= 10515 tmp= ac_tmp= 17330 10516 trap 'exit_status=$? 17331 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10517 : "${ac_tmp:=$tmp}" 10518 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17332 10519 ' 0 17333 trap ' { (exit 1); exit 1; }' 1 2 13 1510520 trap 'as_fn_exit 1' 1 2 13 15 17334 10521 } 17335 10522 # Create a (secure) tmp directory for tmp files. … … 17337 10524 { 17338 10525 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17339 test - n "$tmp" && test -d "$tmp"10526 test -d "$tmp" 17340 10527 } || 17341 10528 { 17342 10529 tmp=./conf$$-$RANDOM 17343 10530 (umask 077 && mkdir "$tmp") 17344 } || 10531 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10532 ac_tmp=$tmp 10533 10534 # Set up the scripts for CONFIG_FILES section. 10535 # No need to generate them if there are no CONFIG_FILES. 10536 # This happens for instance with `./config.status config.h'. 10537 if test -n "$CONFIG_FILES"; then 10538 10539 10540 ac_cr=`echo X | tr X '\015'` 10541 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10542 # But we know of no other shell where ac_cr would be empty at this 10543 # point, so we can use a bashism as a fallback. 10544 if test "x$ac_cr" = x; then 10545 eval ac_cr=\$\'\\r\' 10546 fi 10547 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10548 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10549 ac_cs_awk_cr='\\r' 10550 else 10551 ac_cs_awk_cr=$ac_cr 10552 fi 10553 10554 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10555 _ACEOF 10556 10557 17345 10558 { 17346 echo "$me: cannot create a temporary directory in ." >&2 17347 { (exit 1); exit 1; } 17348 } 17349 17350 # 17351 # Set up the sed scripts for CONFIG_FILES section. 17352 # 17353 17354 # No need to generate the scripts if there are no CONFIG_FILES. 17355 # This happens for instance when ./config.status config.h 17356 if test -n "$CONFIG_FILES"; then 17357 17358 _ACEOF 17359 17360 17361 10559 echo "cat >conf$$subs.awk <<_ACEOF" && 10560 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10561 echo "_ACEOF" 10562 } >conf$$subs.sh || 10563 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10564 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17362 10565 ac_delim='%!_!# ' 17363 10566 for ac_last_try in false false false false false :; do 17364 cat >conf$$subs.sed <<_ACEOF 17365 SHELL!$SHELL$ac_delim 17366 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 17367 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 17368 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 17369 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 17370 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 17371 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 17372 exec_prefix!$exec_prefix$ac_delim 17373 prefix!$prefix$ac_delim 17374 program_transform_name!$program_transform_name$ac_delim 17375 bindir!$bindir$ac_delim 17376 sbindir!$sbindir$ac_delim 17377 libexecdir!$libexecdir$ac_delim 17378 datarootdir!$datarootdir$ac_delim 17379 datadir!$datadir$ac_delim 17380 sysconfdir!$sysconfdir$ac_delim 17381 sharedstatedir!$sharedstatedir$ac_delim 17382 localstatedir!$localstatedir$ac_delim 17383 includedir!$includedir$ac_delim 17384 oldincludedir!$oldincludedir$ac_delim 17385 docdir!$docdir$ac_delim 17386 infodir!$infodir$ac_delim 17387 htmldir!$htmldir$ac_delim 17388 dvidir!$dvidir$ac_delim 17389 pdfdir!$pdfdir$ac_delim 17390 psdir!$psdir$ac_delim 17391 libdir!$libdir$ac_delim 17392 localedir!$localedir$ac_delim 17393 mandir!$mandir$ac_delim 17394 DEFS!$DEFS$ac_delim 17395 ECHO_C!$ECHO_C$ac_delim 17396 ECHO_N!$ECHO_N$ac_delim 17397 ECHO_T!$ECHO_T$ac_delim 17398 LIBS!$LIBS$ac_delim 17399 build_alias!$build_alias$ac_delim 17400 host_alias!$host_alias$ac_delim 17401 target_alias!$target_alias$ac_delim 17402 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 17403 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 17404 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 17405 INSTALL_DATA!$INSTALL_DATA$ac_delim 17406 RANLIB!$RANLIB$ac_delim 17407 LN_S!$LN_S$ac_delim 17408 SET_MAKE!$SET_MAKE$ac_delim 17409 CC!$CC$ac_delim 17410 CFLAGS!$CFLAGS$ac_delim 17411 LDFLAGS!$LDFLAGS$ac_delim 17412 CPPFLAGS!$CPPFLAGS$ac_delim 17413 ac_ct_CC!$ac_ct_CC$ac_delim 17414 EXEEXT!$EXEEXT$ac_delim 17415 OBJEXT!$OBJEXT$ac_delim 17416 CXX!$CXX$ac_delim 17417 CXXFLAGS!$CXXFLAGS$ac_delim 17418 ac_ct_CXX!$ac_ct_CXX$ac_delim 17419 F77!$F77$ac_delim 17420 FFLAGS!$FFLAGS$ac_delim 17421 ac_ct_F77!$ac_ct_F77$ac_delim 17422 CPP!$CPP$ac_delim 17423 GREP!$GREP$ac_delim 17424 EGREP!$EGREP$ac_delim 17425 CXXCPP!$CXXCPP$ac_delim 17426 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 17427 AR!$AR$ac_delim 17428 DL_LIBS!$DL_LIBS$ac_delim 17429 DL_OBJS!$DL_OBJS$ac_delim 17430 PLAT_OBJS!$PLAT_OBJS$ac_delim 17431 PLAT_SRCS!$PLAT_SRCS$ac_delim 17432 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 17433 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 17434 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 17435 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 17436 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 17437 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 17438 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 17439 STLIB_LD!$STLIB_LD$ac_delim 17440 SHLIB_LD!$SHLIB_LD$ac_delim 17441 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 17442 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 17443 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 17444 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 17445 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 17446 MAKE_LIB!$MAKE_LIB$ac_delim 17447 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 17448 INSTALL_LIB!$INSTALL_LIB$ac_delim 17449 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 17450 MAKE!$MAKE$ac_delim 17451 ENABLE_GUI!$ENABLE_GUI$ac_delim 17452 TCLSH!$TCLSH$ac_delim 17453 TCL_VERSION!$TCL_VERSION$ac_delim 17454 TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim 17455 TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim 17456 VTKDIR!$VTKDIR$ac_delim 17457 MATLAB!$MATLAB$ac_delim 17458 MEX!$MEX$ac_delim 17459 MEXEXT!$MEXEXT$ac_delim 17460 MCC!$MCC$ac_delim 17461 MEX_ARCH!$MEX_ARCH$ac_delim 17462 _ACEOF 17463 17464 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 10567 . ./conf$$subs.sh || 10568 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10569 10570 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10571 if test $ac_delim_n = $ac_delim_num; then 17465 10572 break 17466 10573 elif $ac_last_try; then 17467 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17468 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17469 { (exit 1); exit 1; }; } 10574 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17470 10575 else 17471 10576 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17472 10577 fi 17473 10578 done 17474 17475 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17476 if test -n "$ac_eof"; then 17477 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17478 ac_eof=`expr $ac_eof + 1` 17479 fi 17480 17481 cat >>$CONFIG_STATUS <<_ACEOF 17482 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 17483 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17484 _ACEOF 17485 sed ' 17486 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17487 s/^/s,@/; s/!/@,|#_!!_#|/ 17488 :n 17489 t n 17490 s/'"$ac_delim"'$/,g/; t 17491 s/$/\\/; p 17492 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17493 ' >>$CONFIG_STATUS <conf$$subs.sed 17494 rm -f conf$$subs.sed 17495 cat >>$CONFIG_STATUS <<_ACEOF 17496 CEOF$ac_eof 17497 _ACEOF 17498 17499 17500 ac_delim='%!_!# ' 17501 for ac_last_try in false false false false false :; do 17502 cat >conf$$subs.sed <<_ACEOF 17503 OCTAVE!$OCTAVE$ac_delim 17504 MKOCTFILE!$MKOCTFILE$ac_delim 17505 octave2!$octave2$ac_delim 17506 mkoctfile2!$mkoctfile2$ac_delim 17507 octave3!$octave3$ac_delim 17508 mkoctfile3!$mkoctfile3$ac_delim 17509 OCTAVE2!$OCTAVE2$ac_delim 17510 OCTAVE3!$OCTAVE3$ac_delim 17511 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 17512 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 17513 MKOCTFILE2!$MKOCTFILE2$ac_delim 17514 MKOCTFILE3!$MKOCTFILE3$ac_delim 17515 PERL!$PERL$ac_delim 17516 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 17517 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 17518 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 17519 PERL_VERSION!$PERL_VERSION$ac_delim 17520 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 17521 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 17522 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 17523 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 17524 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 17525 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 17526 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 17527 PYTHON!$PYTHON$ac_delim 17528 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 17529 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 17530 PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim 17531 PYTHON_INCDIR!$PYTHON_INCDIR$ac_delim 17532 PYTHON_LDFLAGS!$PYTHON_LDFLAGS$ac_delim 17533 PYTHON_LIB!$PYTHON_LIB$ac_delim 17534 PYTHON_SITE_DIR!$PYTHON_SITE_DIR$ac_delim 17535 PYTHON_LIBDIR!$PYTHON_LIBDIR$ac_delim 17536 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 17537 PYTHON_DISTUTILS!$PYTHON_DISTUTILS$ac_delim 17538 RUBY!$RUBY$ac_delim 17539 SED!$SED$ac_delim 17540 RUBY_VERSION!$RUBY_VERSION$ac_delim 17541 AWK!$AWK$ac_delim 17542 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 17543 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 17544 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 17545 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 17546 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 17547 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 17548 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 17549 JAVA!$JAVA$ac_delim 17550 JAVAC!$JAVAC$ac_delim 17551 JAVAH!$JAVAH$ac_delim 17552 JAVA_HOME!$JAVA_HOME$ac_delim 17553 JAVA_INC_DIR!$JAVA_INC_DIR$ac_delim 17554 JAVA_INC_SPEC!$JAVA_INC_SPEC$ac_delim 17555 RP_BASE!$RP_BASE$ac_delim 17556 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 17557 TK_VERSION!$TK_VERSION$ac_delim 17558 SIZEOF_INT!$SIZEOF_INT$ac_delim 17559 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 17560 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 17561 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 17562 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 17563 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 17564 HAVE_FFMPEG_LIBS!$HAVE_FFMPEG_LIBS$ac_delim 17565 subdirs!$subdirs$ac_delim 17566 LIBOBJS!$LIBOBJS$ac_delim 17567 LTLIBOBJS!$LTLIBOBJS$ac_delim 17568 _ACEOF 17569 17570 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then 17571 break 17572 elif $ac_last_try; then 17573 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17574 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17575 { (exit 1); exit 1; }; } 17576 else 17577 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17578 fi 17579 done 17580 17581 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17582 if test -n "$ac_eof"; then 17583 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17584 ac_eof=`expr $ac_eof + 1` 17585 fi 17586 17587 cat >>$CONFIG_STATUS <<_ACEOF 17588 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 17589 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 17590 _ACEOF 17591 sed ' 17592 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17593 s/^/s,@/; s/!/@,|#_!!_#|/ 17594 :n 17595 t n 17596 s/'"$ac_delim"'$/,g/; t 17597 s/$/\\/; p 17598 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17599 ' >>$CONFIG_STATUS <conf$$subs.sed 17600 rm -f conf$$subs.sed 17601 cat >>$CONFIG_STATUS <<_ACEOF 17602 :end 17603 s/|#_!!_#|//g 17604 CEOF$ac_eof 17605 _ACEOF 17606 17607 17608 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17609 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10579 rm -f conf$$subs.sh 10580 10581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10582 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10583 _ACEOF 10584 sed -n ' 10585 h 10586 s/^/S["/; s/!.*/"]=/ 10587 p 10588 g 10589 s/^[^!]*!// 10590 :repl 10591 t repl 10592 s/'"$ac_delim"'$// 10593 t delim 10594 :nl 10595 h 10596 s/\(.\{148\}\)..*/\1/ 10597 t more1 10598 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10599 p 10600 n 10601 b repl 10602 :more1 10603 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10604 p 10605 g 10606 s/.\{148\}// 10607 t nl 10608 :delim 10609 h 10610 s/\(.\{148\}\)..*/\1/ 10611 t more2 10612 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10613 p 10614 b 10615 :more2 10616 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10617 p 10618 g 10619 s/.\{148\}// 10620 t delim 10621 ' <conf$$subs.awk | sed ' 10622 /^[^""]/{ 10623 N 10624 s/\n// 10625 } 10626 ' >>$CONFIG_STATUS || ac_write_fail=1 10627 rm -f conf$$subs.awk 10628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10629 _ACAWK 10630 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10631 for (key in S) S_is_set[key] = 1 10632 FS = "" 10633 10634 } 10635 { 10636 line = $ 0 10637 nfields = split(line, field, "@") 10638 substed = 0 10639 len = length(field[1]) 10640 for (i = 2; i < nfields; i++) { 10641 key = field[i] 10642 keylen = length(key) 10643 if (S_is_set[key]) { 10644 value = S[key] 10645 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10646 len += length(value) + length(field[++i]) 10647 substed = 1 10648 } else 10649 len += 1 + keylen 10650 } 10651 10652 print line 10653 } 10654 10655 _ACAWK 10656 _ACEOF 10657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10658 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10659 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10660 else 10661 cat 10662 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10663 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10664 _ACEOF 10665 10666 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10667 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17610 10668 # trailing colons and then remove the whole line if VPATH becomes empty 17611 10669 # (actually we leave an empty line to preserve line numbers). 17612 10670 if test "x$srcdir" = x.; then 17613 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17614 s/:*\$(srcdir):*/:/ 17615 s/:*\${srcdir}:*/:/ 17616 s/:*@srcdir@:*/:/ 17617 s/^\([^=]*=[ ]*\):*/\1/ 10671 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10672 h 10673 s/// 10674 s/^/:/ 10675 s/[ ]*$/:/ 10676 s/:\$(srcdir):/:/g 10677 s/:\${srcdir}:/:/g 10678 s/:@srcdir@:/:/g 10679 s/^:*// 17618 10680 s/:*$// 10681 x 10682 s/\(=[ ]*\).*/\1/ 10683 G 10684 s/\n// 17619 10685 s/^[^=]*=[ ]*$// 17620 10686 }' 17621 10687 fi 17622 10688 17623 cat >>$CONFIG_STATUS <<\_ACEOF 10689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17624 10690 fi # test -n "$CONFIG_FILES" 17625 10691 17626 17627 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 10692 # Set up the scripts for CONFIG_HEADERS section. 10693 # No need to generate them if there are no CONFIG_HEADERS. 10694 # This happens for instance with `./config.status Makefile'. 10695 if test -n "$CONFIG_HEADERS"; then 10696 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 10697 BEGIN { 10698 _ACEOF 10699 10700 # Transform confdefs.h into an awk script `defines.awk', embedded as 10701 # here-document in config.status, that substitutes the proper values into 10702 # config.h.in to produce config.h. 10703 10704 # Create a delimiter string that does not exist in confdefs.h, to ease 10705 # handling of long lines. 10706 ac_delim='%!_!# ' 10707 for ac_last_try in false false :; do 10708 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 10709 if test -z "$ac_tt"; then 10710 break 10711 elif $ac_last_try; then 10712 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10713 else 10714 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10715 fi 10716 done 10717 10718 # For the awk script, D is an array of macro values keyed by name, 10719 # likewise P contains macro parameters if any. Preserve backslash 10720 # newline sequences. 10721 10722 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10723 sed -n ' 10724 s/.\{148\}/&'"$ac_delim"'/g 10725 t rset 10726 :rset 10727 s/^[ ]*#[ ]*define[ ][ ]*/ / 10728 t def 10729 d 10730 :def 10731 s/\\$// 10732 t bsnl 10733 s/["\\]/\\&/g 10734 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10735 D["\1"]=" \3"/p 10736 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10737 d 10738 :bsnl 10739 s/["\\]/\\&/g 10740 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10741 D["\1"]=" \3\\\\\\n"\\/p 10742 t cont 10743 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10744 t cont 10745 d 10746 :cont 10747 n 10748 s/.\{148\}/&'"$ac_delim"'/g 10749 t clear 10750 :clear 10751 s/\\$// 10752 t bsnlc 10753 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10754 d 10755 :bsnlc 10756 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10757 b cont 10758 ' <confdefs.h | sed ' 10759 s/'"$ac_delim"'/"\\\ 10760 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10761 10762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10763 for (key in D) D_is_set[key] = 1 10764 FS = "" 10765 } 10766 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10767 line = \$ 0 10768 split(line, arg, " ") 10769 if (arg[1] == "#") { 10770 defundef = arg[2] 10771 mac1 = arg[3] 10772 } else { 10773 defundef = substr(arg[1], 2) 10774 mac1 = arg[2] 10775 } 10776 split(mac1, mac2, "(") #) 10777 macro = mac2[1] 10778 prefix = substr(line, 1, index(line, defundef) - 1) 10779 if (D_is_set[macro]) { 10780 # Preserve the white space surrounding the "#". 10781 print prefix "define", macro P[macro] D[macro] 10782 next 10783 } else { 10784 # Replace #undef with comments. This is necessary, for example, 10785 # in the case of _POSIX_SOURCE, which is predefined and required 10786 # on some systems where configure will not decide to define it. 10787 if (defundef == "undef") { 10788 print "/*", prefix defundef, macro, "*/" 10789 next 10790 } 10791 } 10792 } 10793 { print } 10794 _ACAWK 10795 _ACEOF 10796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10797 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10798 fi # test -n "$CONFIG_HEADERS" 10799 10800 10801 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10802 shift 10803 for ac_tag 17628 10804 do 17629 10805 case $ac_tag in … … 17632 10808 case $ac_mode$ac_tag in 17633 10809 :[FHL]*:*);; 17634 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 17635 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 17636 { (exit 1); exit 1; }; };; 10810 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17637 10811 :[FH]-) ac_tag=-:-;; 17638 10812 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 17653 10827 do 17654 10828 case $ac_f in 17655 -) ac_f="$ tmp/stdin";;10829 -) ac_f="$ac_tmp/stdin";; 17656 10830 *) # Look for the file first in the build tree, then in the source tree 17657 10831 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 17662 10836 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17663 10837 esac || 17664 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 17665 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 17666 { (exit 1); exit 1; }; };; 10838 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17667 10839 esac 17668 ac_file_inputs="$ac_file_inputs $ac_f" 10840 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10841 as_fn_append ac_file_inputs " '$ac_f'" 17669 10842 done 17670 10843 … … 17672 10845 # use $as_me), people would be surprised to read: 17673 10846 # /* config.h. Generated by config.status. */ 17674 configure_input="Generated from "`IFS=: 17675 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10847 configure_input='Generated from '` 10848 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10849 `' by configure.' 17676 10850 if test x"$ac_file" != x-; then 17677 10851 configure_input="$ac_file. $configure_input" 17678 { echo "$as_me:$LINENO: creating $ac_file" >&517679 echo "$as_me: creating $ac_file" >&6;}10852 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10853 $as_echo "$as_me: creating $ac_file" >&6;} 17680 10854 fi 10855 # Neutralize special characters interpreted by sed in replacement strings. 10856 case $configure_input in #( 10857 *\&* | *\|* | *\\* ) 10858 ac_sed_conf_input=`$as_echo "$configure_input" | 10859 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10860 *) ac_sed_conf_input=$configure_input;; 10861 esac 17681 10862 17682 10863 case $ac_tag in 17683 *:-:* | *:-) cat >"$tmp/stdin";; 10864 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10865 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17684 10866 esac 17685 10867 ;; … … 17691 10873 X"$ac_file" : 'X\(//\)$' \| \ 17692 10874 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17693 echo X"$ac_file" |10875 $as_echo X"$ac_file" | 17694 10876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17695 10877 s//\1/ … … 17709 10891 } 17710 10892 s/.*/./; q'` 17711 { as_dir="$ac_dir" 17712 case $as_dir in #( 17713 -*) as_dir=./$as_dir;; 17714 esac 17715 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17716 as_dirs= 17717 while :; do 17718 case $as_dir in #( 17719 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 17720 *) as_qdir=$as_dir;; 17721 esac 17722 as_dirs="'$as_qdir' $as_dirs" 17723 as_dir=`$as_dirname -- "$as_dir" || 17724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17725 X"$as_dir" : 'X\(//\)[^/]' \| \ 17726 X"$as_dir" : 'X\(//\)$' \| \ 17727 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17728 echo X"$as_dir" | 17729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17730 s//\1/ 17731 q 17732 } 17733 /^X\(\/\/\)[^/].*/{ 17734 s//\1/ 17735 q 17736 } 17737 /^X\(\/\/\)$/{ 17738 s//\1/ 17739 q 17740 } 17741 /^X\(\/\).*/{ 17742 s//\1/ 17743 q 17744 } 17745 s/.*/./; q'` 17746 test -d "$as_dir" && break 17747 done 17748 test -z "$as_dirs" || eval "mkdir $as_dirs" 17749 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17750 echo "$as_me: error: cannot create directory $as_dir" >&2;} 17751 { (exit 1); exit 1; }; }; } 10893 as_dir="$ac_dir"; as_fn_mkdir_p 17752 10894 ac_builddir=. 17753 10895 … … 17755 10897 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17756 10898 *) 17757 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10899 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17758 10900 # A ".." for each directory in $ac_dir_suffix. 17759 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10901 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17760 10902 case $ac_top_builddir_sub in 17761 10903 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 17802 10944 _ACEOF 17803 10945 17804 cat >>$CONFIG_STATUS <<\_ACEOF 10946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17805 10947 # If the template does not know about datarootdir, expand it. 17806 10948 # FIXME: This hack should be removed a few years after 2.60. 17807 10949 ac_datarootdir_hack=; ac_datarootdir_seen= 17808 17809 case `sed -n '/datarootdir/ {10950 ac_sed_dataroot=' 10951 /datarootdir/ { 17810 10952 p 17811 10953 q … … 17815 10957 /@infodir@/p 17816 10958 /@localedir@/p 17817 /@mandir@/p 17818 ' $ac_file_inputs` in10959 /@mandir@/p' 10960 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17819 10961 *datarootdir*) ac_datarootdir_seen=yes;; 17820 10962 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17821 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&517822 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}17823 _ACEOF 17824 cat >>$CONFIG_STATUS <<_ACEOF 10963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10964 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10965 _ACEOF 10966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17825 10967 ac_datarootdir_hack=' 17826 10968 s&@datadir@&$datadir&g … … 17829 10971 s&@localedir@&$localedir&g 17830 10972 s&@mandir@&$mandir&g 17831 10973 s&\\\${datarootdir}&$datarootdir&g' ;; 17832 10974 esac 17833 10975 _ACEOF … … 17836 10978 # Shell code in configure.ac might set extrasub. 17837 10979 # FIXME: do we really want to maintain this feature? 17838 cat >>$CONFIG_STATUS <<_ACEOF 17839 sed"$ac_vpsub10980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10981 ac_sed_extra="$ac_vpsub 17840 10982 $extrasub 17841 10983 _ACEOF 17842 cat >>$CONFIG_STATUS <<\_ACEOF 10984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17843 10985 :t 17844 10986 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17845 s &@configure_input@&$configure_input&;t t10987 s|@configure_input@|$ac_sed_conf_input|;t t 17846 10988 s&@top_builddir@&$ac_top_builddir_sub&;t t 10989 s&@top_build_prefix@&$ac_top_build_prefix&;t t 17847 10990 s&@srcdir@&$ac_srcdir&;t t 17848 10991 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 17855 10998 s&@MKDIR_P@&$ac_MKDIR_P&;t t 17856 10999 $ac_datarootdir_hack 17857 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 11000 " 11001 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 11002 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17858 11003 17859 11004 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17860 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17861 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17862 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17863 which seems to be undefined. Please make sure it is defined." >&5 17864 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17865 which seems to be undefined. Please make sure it is defined." >&2;} 17866 17867 rm -f "$tmp/stdin" 11005 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11006 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11007 "$ac_tmp/out"`; test -z "$ac_out"; } && 11008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11009 which seems to be undefined. Please make sure it is defined" >&5 11010 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11011 which seems to be undefined. Please make sure it is defined" >&2;} 11012 11013 rm -f "$ac_tmp/stdin" 17868 11014 case $ac_file in 17869 -) cat "$tmp/out"; rm -f "$tmp/out";; 17870 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 17871 esac 11015 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 11016 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 11017 esac \ 11018 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17872 11019 ;; 17873 11020 :H) … … 17875 11022 # CONFIG_HEADER 17876 11023 # 17877 _ACEOF17878 17879 # Transform confdefs.h into a sed script `conftest.defines', that17880 # substitutes the proper values into config.h.in to produce config.h.17881 rm -f conftest.defines conftest.tail17882 # First, append a space to every undef/define line, to ease matching.17883 echo 's/$/ /' >conftest.defines17884 # Then, protect against being on the right side of a sed subst, or in17885 # an unquoted here document, in config.status. If some macros were17886 # called several times there might be several #defines for the same17887 # symbol, which is useless. But do not sort them, since the last17888 # AC_DEFINE must be honored.17889 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*17890 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where17891 # NAME is the cpp macro being defined, VALUE is the value it is being given.17892 # PARAMS is the parameter list in the macro definition--in most cases, it's17893 # just an empty string.17894 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'17895 ac_dB='\\)[ (].*,\\1define\\2'17896 ac_dC=' '17897 ac_dD=' ,'17898 17899 uniq confdefs.h |17900 sed -n '17901 t rset17902 :rset17903 s/^[ ]*#[ ]*define[ ][ ]*//17904 t ok17905 d17906 :ok17907 s/[\\&,]/\\&/g17908 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p17909 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p17910 ' >>conftest.defines17911 17912 # Remove the space that was appended to ease matching.17913 # Then replace #undef with comments. This is necessary, for17914 # example, in the case of _POSIX_SOURCE, which is predefined and required17915 # on some systems where configure will not decide to define it.17916 # (The regexp can be short, since the line contains either #define or #undef.)17917 echo 's/ $//17918 s,^[ #]*u.*,/* & */,' >>conftest.defines17919 17920 # Break up conftest.defines:17921 ac_max_sed_lines=5017922 17923 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"17924 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"17925 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"17926 # et cetera.17927 ac_in='$ac_file_inputs'17928 ac_out='"$tmp/out1"'17929 ac_nxt='"$tmp/out2"'17930 17931 while :17932 do17933 # Write a here document:17934 cat >>$CONFIG_STATUS <<_ACEOF17935 # First, check the format of the line:17936 cat >"\$tmp/defines.sed" <<\\CEOF17937 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def17938 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def17939 b17940 :def17941 _ACEOF17942 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS17943 echo 'CEOF17944 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS17945 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in17946 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail17947 grep . conftest.tail >/dev/null || break17948 rm -f conftest.defines17949 mv conftest.tail conftest.defines17950 done17951 rm -f conftest.defines conftest.tail17952 17953 echo "ac_result=$ac_in" >>$CONFIG_STATUS17954 cat >>$CONFIG_STATUS <<\_ACEOF17955 11024 if test x"$ac_file" != x-; then 17956 echo "/* $configure_input */" >"$tmp/config.h" 17957 cat "$ac_result" >>"$tmp/config.h" 17958 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 17959 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 17960 echo "$as_me: $ac_file is unchanged" >&6;} 11025 { 11026 $as_echo "/* $configure_input */" \ 11027 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11028 } >"$ac_tmp/config.h" \ 11029 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11030 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11031 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11032 $as_echo "$as_me: $ac_file is unchanged" >&6;} 17961 11033 else 17962 rm -f $ac_file 17963 mv "$tmp/config.h" $ac_file 11034 rm -f "$ac_file" 11035 mv "$ac_tmp/config.h" "$ac_file" \ 11036 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17964 11037 fi 17965 11038 else 17966 echo "/* $configure_input */"17967 cat "$ac_result"17968 fi17969 rm -f "$tmp/out12"11039 $as_echo "/* $configure_input */" \ 11040 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11041 || as_fn_error $? "could not create -" "$LINENO" 5 11042 fi 17970 11043 ;; 17971 11044 … … 17976 11049 17977 11050 17978 { (exit 0); exit 0; } 17979 _ACEOF 17980 chmod +x $CONFIG_STATUS 11051 as_fn_exit 0 11052 _ACEOF 17981 11053 ac_clean_files=$ac_clean_files_save 11054 11055 test $ac_write_fail = 0 || 11056 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17982 11057 17983 11058 … … 18000 11075 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18001 11076 # would make configure fail if this is the last instruction. 18002 $ac_cs_success || { (exit 1); exit 1; }11077 $ac_cs_success || as_fn_exit 1 18003 11078 fi 18004 11079 … … 18008 11083 if test "$no_recursion" != yes; then 18009 11084 18010 # Remove --cache-file and --srcdir arguments so they do not pile up. 11085 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 11086 # so they do not pile up. 18011 11087 ac_sub_configure_args= 18012 11088 ac_prev= … … 18037 11113 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 18038 11114 ;; 11115 --disable-option-checking) 11116 ;; 18039 11117 *) 18040 11118 case $ac_arg in 18041 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11119 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 18042 11120 esac 18043 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;11121 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 18044 11122 esac 18045 11123 done … … 18049 11127 ac_arg="--prefix=$prefix" 18050 11128 case $ac_arg in 18051 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11129 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 18052 11130 esac 18053 11131 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 18058 11136 fi 18059 11137 11138 # Always prepend --disable-option-checking to silence warnings, since 11139 # different subdirs can have different --enable and --with options. 11140 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 11141 18060 11142 ac_popdir=`pwd` 18061 11143 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 18066 11148 18067 11149 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 18068 echo "$as_me:$LINENO: $ac_msg" >&5 18069 echo "$ac_msg" >&6 18070 { as_dir="$ac_dir" 18071 case $as_dir in #( 18072 -*) as_dir=./$as_dir;; 18073 esac 18074 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 18075 as_dirs= 18076 while :; do 18077 case $as_dir in #( 18078 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 18079 *) as_qdir=$as_dir;; 18080 esac 18081 as_dirs="'$as_qdir' $as_dirs" 18082 as_dir=`$as_dirname -- "$as_dir" || 18083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18084 X"$as_dir" : 'X\(//\)[^/]' \| \ 18085 X"$as_dir" : 'X\(//\)$' \| \ 18086 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18087 echo X"$as_dir" | 18088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18089 s//\1/ 18090 q 18091 } 18092 /^X\(\/\/\)[^/].*/{ 18093 s//\1/ 18094 q 18095 } 18096 /^X\(\/\/\)$/{ 18097 s//\1/ 18098 q 18099 } 18100 /^X\(\/\).*/{ 18101 s//\1/ 18102 q 18103 } 18104 s/.*/./; q'` 18105 test -d "$as_dir" && break 18106 done 18107 test -z "$as_dirs" || eval "mkdir $as_dirs" 18108 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 18109 echo "$as_me: error: cannot create directory $as_dir" >&2;} 18110 { (exit 1); exit 1; }; }; } 11150 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 11151 $as_echo "$ac_msg" >&6 11152 as_dir="$ac_dir"; as_fn_mkdir_p 18111 11153 ac_builddir=. 18112 11154 … … 18114 11156 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18115 11157 *) 18116 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`11158 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18117 11159 # A ".." for each directory in $ac_dir_suffix. 18118 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`11160 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18119 11161 case $ac_top_builddir_sub in 18120 11162 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 18155 11197 ac_sub_configure=$ac_aux_dir/configure 18156 11198 else 18157 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&518158 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}11199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 11200 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 18159 11201 ac_sub_configure= 18160 11202 fi … … 18169 11211 esac 18170 11212 18171 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&518172 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}11213 { $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 11214 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 18173 11215 # The eval makes quoting arguments work. 18174 11216 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 18175 11217 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 18176 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 18177 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 18178 { (exit 1); exit 1; }; } 11218 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 18179 11219 fi 18180 11220 … … 18182 11222 done 18183 11223 fi 18184 11224 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11226 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11227 fi 11228 -
trunk/configure.in
r2064 r2065 117 117 AC_SUBST(ENABLE_GUI) 118 118 119 rp_with_tclsh="yes"120 AC_ARG_WITH(121 [tclsh],122 [AS_HELP_STRING([--with-tclsh[=DIR]],123 [location of tclsh @<:@default=yes@:>@])],124 [rp_with_tclsh=no],125 [rp_with_tclsh=$withval])126 127 119 TCL_VERSION="8.4" 128 120 for dir in \ … … 136 128 done 137 129 130 131 rp_with_tclsh="yes" 132 AC_ARG_WITH( 133 [tclsh], 134 [AS_HELP_STRING([--with-tclsh[=DIR]], 135 [location of tclsh @<:@default=yes@:>@])], 136 [rp_with_tclsh=$withval], 137 [rp_with_tclsh=yes]) 138 138 139 TCLSH="" 139 140 if test "${rp_with_tclsh}" != "no" ; then … … 145 146 fi 146 147 if test "x${TCLSH}" = "x" ; then 147 AC_ERROR([can t find tclsh])148 AC_ERROR([can't find tclsh]) 148 149 fi 149 150 fi … … 152 153 153 154 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 154 155 if test "x$rp_with_tcllib" != "x" ; then156 tclconfig="${rp_with_tcllib}/tclConfig.sh"157 if test -f "$tclconfig" ; then158 . $tclconfig159 fi160 TCL_LIB_SPEC="-L${rp_with_tcllib} -ltcl${TCL_VERSION}"161 fi162 if test "x$rp_with_tclinclude" != "x" ; then163 TCL_INC_SPEC="-I${rp_with_tclinclude}"164 fi165 155 166 156 AC_SUBST(TCL_VERSION)
Note: See TracChangeset
for help on using the changeset viewer.