Changeset 2060
- Timestamp:
- Jan 24, 2011, 8:19:44 PM (14 years ago)
- Location:
- branches/blt4
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/configure
r2045 r2060 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_CPPFLAGS 740 pythondir 741 PYTHON_VERSION 742 PYTHON_INCLUDES 743 PYTHON_SITE_PACKAGES 744 HAVE_PYTHON_DISTUTILS 745 RUBY 746 SED 747 RUBY_VERSION 748 AWK 749 RUBY_CPPFLAGS 750 RUBY_LDFLAGS 751 RUBY_SITE_PKG 752 RUBY_EXTRA_LIBS 753 HAVE_RUBY_DEVEL 754 RUBY_VERSION_RV 755 RUBY_PLATFORM 756 JAVA 757 JAVAC 758 JAVAH 759 JAVA_HOME 760 JAVA_INC_DIR 761 JAVA_INC_SPEC 762 RP_BASE 763 SHLIB_LDFLAGS 764 TK_VERSION 765 SIZEOF_INT 766 SIZEOF_LONG 767 SIZEOF_LONG_LONG 768 SIZEOF_VOID_P 769 CFLAGS_DEFAULT 770 LDFLAGS_DEFAULT 771 HAVE_FFMPEG_LIBS 772 subdirs 773 LIBOBJS 774 LTLIBOBJS' 768 SHELL' 775 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 ' 776 790 ac_precious_vars='build_alias 777 791 host_alias … … 794 808 ac_init_help= 795 809 ac_init_version=false 810 ac_unrecognized_opts= 811 ac_unrecognized_sep= 796 812 # The variables have the same names as the options, with 797 813 # dashes changed to underlines. … … 849 865 850 866 case $ac_option in 851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 852 *) ac_optarg=yes ;; 867 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 868 *=) ac_optarg= ;; 869 *) ac_optarg=yes ;; 853 870 esac 854 871 … … 892 909 893 910 -disable-* | --disable-*) 894 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`911 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 895 912 # Reject names that are not valid shell variable names. 896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 898 { (exit 1); exit 1; }; } 899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 900 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 ;; 901 925 902 926 -docdir | --docdir | --docdi | --doc | --do) … … 911 935 912 936 -enable-* | --enable-*) 913 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`937 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 914 938 # Reject names that are not valid shell variable names. 915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 917 { (exit 1); exit 1; }; } 918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 919 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 ;; 920 951 921 952 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1108 1139 1109 1140 -with-* | --with-*) 1110 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1141 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1111 1142 # Reject names that are not valid shell variable names. 1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1113 { echo "$as_me: error: invalid package name: $ac_package" >&2 1114 { (exit 1); exit 1; }; } 1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1116 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 ;; 1117 1155 1118 1156 -without-* | --without-*) 1119 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1157 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1120 1158 # Reject names that are not valid shell variable names. 1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1122 { echo "$as_me: error: invalid package name: $ac_package" >&2 1123 { (exit 1); exit 1; }; } 1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1125 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 ;; 1126 1171 1127 1172 --x) … … 1143 1188 x_libraries=$ac_optarg ;; 1144 1189 1145 -*) { echo "$as_me: error: unrecognized option: $ac_option 1146 Try \`$0 --help' for more information." >&2 1147 { (exit 1); exit 1; }; } 1190 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1191 Try \`$0 --help' for more information" 1148 1192 ;; 1149 1193 … … 1151 1195 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1152 1196 # Reject names that are not valid shell variable names. 1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1155 { (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 1156 1201 eval $ac_envvar=\$ac_optarg 1157 1202 export $ac_envvar ;; … … 1159 1204 *) 1160 1205 # FIXME: should be removed in autoconf 3.0. 1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&21206 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1162 1207 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&21164 : ${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}" 1165 1210 ;; 1166 1211 … … 1170 1215 if test -n "$ac_prev"; then 1171 1216 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1172 { echo "$as_me: error: missing argument to $ac_option" >&2 1173 { (exit 1); exit 1; }; } 1174 fi 1175 1176 # 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. 1177 1229 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1178 1230 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1181 1233 do 1182 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. 1183 1242 case $ac_val in 1184 1243 [\\/$]* | ?:[\\/]* ) continue;; 1185 1244 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1186 1245 esac 1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1188 { (exit 1); exit 1; }; } 1246 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1189 1247 done 1190 1248 … … 1200 1258 if test "x$build_alias" = x; then 1201 1259 cross_compiling=maybe 1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1203 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 1204 1262 elif test "x$build_alias" != "x$host_alias"; then 1205 1263 cross_compiling=yes … … 1216 1274 ac_ls_di=`ls -di .` && 1217 1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1218 { echo "$as_me: error: Working directory cannot be determined" >&2 1219 { (exit 1); exit 1; }; } 1276 as_fn_error $? "working directory cannot be determined" 1220 1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1221 { echo "$as_me: error: pwd does not report name of working directory" >&2 1222 { (exit 1); exit 1; }; } 1278 as_fn_error $? "pwd does not report name of working directory" 1223 1279 1224 1280 … … 1227 1283 ac_srcdir_defaulted=yes 1228 1284 # Try the directory containing this script, then the parent directory. 1229 ac_confdir=`$as_dirname -- "$ 0" ||1230 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1231 X"$ 0" : 'X\(//\)[^/]' \| \1232 X"$ 0" : 'X\(//\)$' \| \1233 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1234 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" | 1235 1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1236 1292 s//\1/ … … 1259 1315 if test ! -r "$srcdir/$ac_unique_file"; then 1260 1316 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1262 { (exit 1); exit 1; }; } 1317 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1263 1318 fi 1264 1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1265 1320 ac_abs_confdir=`( 1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1267 { (exit 1); exit 1; }; } 1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1268 1322 pwd)` 1269 1323 # When building in place, set srcdir=. … … 1305 1359 --help=recursive display the short help of all the included packages 1306 1360 -V, --version display version information and exit 1307 -q, --quiet, --silent do not print \`checking ...' messages1361 -q, --quiet, --silent do not print \`checking ...' messages 1308 1362 --cache-file=FILE cache test results in FILE [disabled] 1309 1363 -C, --config-cache alias for \`--cache-file=config.cache' … … 1313 1367 Installation directories: 1314 1368 --prefix=PREFIX install architecture-independent files in PREFIX 1315 1369 [$ac_default_prefix] 1316 1370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1317 1371 [PREFIX] 1318 1372 1319 1373 By default, \`make install' will install all the files in … … 1325 1379 1326 1380 Fine tuning of the installation directories: 1327 --bindir=DIR user executables [EPREFIX/bin]1328 --sbindir=DIR system admin executables [EPREFIX/sbin]1329 --libexecdir=DIR program executables [EPREFIX/libexec]1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1333 --libdir=DIR object code libraries [EPREFIX/lib]1334 --includedir=DIR C header files [PREFIX/include]1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1338 --infodir=DIR info documentation [DATAROOTDIR/info]1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1340 --mandir=DIR man documentation [DATAROOTDIR/man]1341 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1342 --htmldir=DIR html documentation [DOCDIR]1343 --dvidir=DIR dvi documentation [DOCDIR]1344 --pdfdir=DIR pdf documentation [DOCDIR]1345 --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] 1346 1400 _ACEOF 1347 1401 … … 1357 1411 1358 1412 Optional Features: 1413 --disable-option-checking ignore unrecognized --enable/--with options 1359 1414 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1360 1415 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1388 1443 nonstandard directory <lib dir> 1389 1444 LIBS libraries to pass to the linker, e.g. -l<library> 1390 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1445 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1391 1446 you have headers in a nonstandard directory <include dir> 1392 1447 CXX C++ compiler command … … 1408 1463 # If there are subdirs, report their specific --help. 1409 1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1410 test -d "$ac_dir" || continue 1465 test -d "$ac_dir" || 1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1467 continue 1411 1468 ac_builddir=. 1412 1469 … … 1414 1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1415 1472 *) 1416 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1417 1474 # A ".." for each directory in $ac_dir_suffix. 1418 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|/||'` 1419 1476 case $ac_top_builddir_sub in 1420 1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1452 1509 $SHELL "$ac_srcdir/configure" --help=recursive 1453 1510 else 1454 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 1455 1512 fi || ac_status=$? 1456 1513 cd "$ac_pwd" || { ac_status=$?; break; } … … 1462 1519 cat <<\_ACEOF 1463 1520 Rappture configure 1.1 1464 generated by GNU Autoconf 2.61 1465 1466 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1467 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. 1468 1524 This configure script is free software; the Free Software Foundation 1469 1525 gives unlimited permission to copy, distribute and modify it. … … 1471 1527 exit 1472 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 1473 2331 cat >config.log <<_ACEOF 1474 2332 This file contains any messages produced by compilers while … … 1476 2334 1477 2335 It was created by Rappture $as_me 1.1, which was 1478 generated by GNU Autoconf 2.6 1. Invocation command line was2336 generated by GNU Autoconf 2.68. Invocation command line was 1479 2337 1480 2338 $ $0 $@ … … 1512 2370 IFS=$as_save_IFS 1513 2371 test -z "$as_dir" && as_dir=. 1514 echo "PATH: $as_dir"1515 done2372 $as_echo "PATH: $as_dir" 2373 done 1516 2374 IFS=$as_save_IFS 1517 2375 … … 1547 2405 continue ;; 1548 2406 *\'*) 1549 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2407 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1550 2408 esac 1551 2409 case $ac_pass in 1552 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2410 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1553 2411 2) 1554 a c_configure_args1="$ac_configure_args1'$ac_arg'"2412 as_fn_append ac_configure_args1 " '$ac_arg'" 1555 2413 if test $ac_must_keep_next = true; then 1556 2414 ac_must_keep_next=false # Got value, back to normal. … … 1568 2426 esac 1569 2427 fi 1570 a c_configure_args="$ac_configure_args'$ac_arg'"2428 as_fn_append ac_configure_args " '$ac_arg'" 1571 2429 ;; 1572 2430 esac 1573 2431 done 1574 2432 done 1575 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1576 $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;} 1577 2435 1578 2436 # When interrupted or exit'd, cleanup temporary files, and complete … … 1586 2444 echo 1587 2445 1588 cat <<\_ASBOX 1589 ## ---------------- ## 2446 $as_echo "## ---------------- ## 1590 2447 ## Cache variables. ## 1591 ## ---------------- ## 1592 _ASBOX 2448 ## ---------------- ##" 1593 2449 echo 1594 2450 # The following way of writing the cache mishandles newlines in values, … … 1599 2455 *${as_nl}*) 1600 2456 case $ac_var in #( 1601 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51602 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;} ;; 1603 2459 esac 1604 2460 case $ac_var in #( 1605 2461 _ | IFS | as_nl) ;; #( 1606 *) $as_unset $ac_var ;; 2462 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2463 *) { eval $ac_var=; unset $ac_var;} ;; 1607 2464 esac ;; 1608 2465 esac … … 1623 2480 echo 1624 2481 1625 cat <<\_ASBOX 1626 ## ----------------- ## 2482 $as_echo "## ----------------- ## 1627 2483 ## Output variables. ## 1628 ## ----------------- ## 1629 _ASBOX 2484 ## ----------------- ##" 1630 2485 echo 1631 2486 for ac_var in $ac_subst_vars … … 1633 2488 eval ac_val=\$$ac_var 1634 2489 case $ac_val in 1635 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2490 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1636 2491 esac 1637 echo "$ac_var='\''$ac_val'\''"2492 $as_echo "$ac_var='\''$ac_val'\''" 1638 2493 done | sort 1639 2494 echo 1640 2495 1641 2496 if test -n "$ac_subst_files"; then 1642 cat <<\_ASBOX 1643 ## ------------------- ## 2497 $as_echo "## ------------------- ## 1644 2498 ## File substitutions. ## 1645 ## ------------------- ## 1646 _ASBOX 2499 ## ------------------- ##" 1647 2500 echo 1648 2501 for ac_var in $ac_subst_files … … 1650 2503 eval ac_val=\$$ac_var 1651 2504 case $ac_val in 1652 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2505 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1653 2506 esac 1654 echo "$ac_var='\''$ac_val'\''"2507 $as_echo "$ac_var='\''$ac_val'\''" 1655 2508 done | sort 1656 2509 echo … … 1658 2511 1659 2512 if test -s confdefs.h; then 1660 cat <<\_ASBOX 1661 ## ----------- ## 2513 $as_echo "## ----------- ## 1662 2514 ## confdefs.h. ## 1663 ## ----------- ## 1664 _ASBOX 2515 ## ----------- ##" 1665 2516 echo 1666 2517 cat confdefs.h … … 1668 2519 fi 1669 2520 test "$ac_signal" != 0 && 1670 echo "$as_me: caught signal $ac_signal"1671 echo "$as_me: exit $exit_status"2521 $as_echo "$as_me: caught signal $ac_signal" 2522 $as_echo "$as_me: exit $exit_status" 1672 2523 } >&5 1673 2524 rm -f core *.core core.conftest.* && … … 1676 2527 ' 0 1677 2528 for ac_signal in 1 2 13 15; do 1678 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2529 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1679 2530 done 1680 2531 ac_signal=0 … … 1683 2534 rm -f -r conftest* confdefs.h 1684 2535 2536 $as_echo "/* confdefs.h */" > confdefs.h 2537 1685 2538 # Predefined preprocessor variables. 1686 2539 … … 1689 2542 _ACEOF 1690 2543 1691 1692 2544 cat >>confdefs.h <<_ACEOF 1693 2545 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1694 2546 _ACEOF 1695 2547 1696 1697 2548 cat >>confdefs.h <<_ACEOF 1698 2549 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1699 2550 _ACEOF 1700 2551 1701 1702 2552 cat >>confdefs.h <<_ACEOF 1703 2553 #define PACKAGE_STRING "$PACKAGE_STRING" 1704 2554 _ACEOF 1705 2555 1706 1707 2556 cat >>confdefs.h <<_ACEOF 1708 2557 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1709 2558 _ACEOF 1710 2559 2560 cat >>confdefs.h <<_ACEOF 2561 #define PACKAGE_URL "$PACKAGE_URL" 2562 _ACEOF 2563 1711 2564 1712 2565 # Let the site file select an alternate cache file if it wants to. 1713 # 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 1714 2569 if test -n "$CONFIG_SITE"; then 1715 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 1716 2576 elif test "x$prefix" != xNONE; then 1717 set x "$prefix/share/config.site" "$prefix/etc/config.site"1718 else1719 set x "$ac_default_prefix/share/config.site" \ 1720 "$ac_default_prefix/etc/config.site" 1721 fi 1722 shift 1723 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" 1724 2584 do 1725 if test -r "$ac_site_file"; then 1726 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1727 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;} 1728 2589 sed 's/^/| /' "$ac_site_file" >&5 1729 . "$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; } 1730 2595 fi 1731 2596 done 1732 2597 1733 2598 if test -r "$cache_file"; then 1734 # Some versions of bash will fail to source /dev/null (special 1735 # files actually), so we avoid doing that.1736 if test -f "$cache_file"; then1737 { echo "$as_me:$LINENO: loading cache $cache_file" >&51738 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;} 1739 2604 case $cache_file in 1740 2605 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1743 2608 fi 1744 2609 else 1745 { echo "$as_me:$LINENO: creating cache $cache_file" >&51746 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;} 1747 2612 >$cache_file 1748 2613 fi … … 1758 2623 case $ac_old_set,$ac_new_set in 1759 2624 set,) 1760 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51761 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;} 1762 2627 ac_cache_corrupted=: ;; 1763 2628 ,set) 1764 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51765 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;} 1766 2631 ac_cache_corrupted=: ;; 1767 2632 ,);; 1768 2633 *) 1769 2634 if test "x$ac_old_val" != "x$ac_new_val"; then 1770 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1771 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1772 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1773 echo "$as_me: former value: $ac_old_val" >&2;} 1774 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1775 echo "$as_me: current value: $ac_new_val" >&2;} 1776 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;} 1777 2651 fi;; 1778 2652 esac … … 1780 2654 if test "$ac_new_set" = set; then 1781 2655 case $ac_new_val in 1782 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2656 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1783 2657 *) ac_arg=$ac_var=$ac_new_val ;; 1784 2658 esac 1785 2659 case " $ac_configure_args " in 1786 2660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1787 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2661 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1788 2662 esac 1789 2663 fi 1790 2664 done 1791 2665 if $ac_cache_corrupted; then 1792 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1793 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1794 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1795 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1796 { (exit 1); exit 1; }; } 1797 fi 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 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 ## -------------------- ## 1822 2675 1823 2676 ac_ext=c … … 1845 2698 done 1846 2699 if test -z "$ac_aux_dir"; then 1847 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1848 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1849 { (exit 1); exit 1; }; } 2700 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1850 2701 fi 1851 2702 … … 1894 2745 # OS/2's system install, which has a completely different semantic 1895 2746 # ./install, which can be erroneously created by make from ./install.sh. 1896 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1897 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2747 # Reject install programs that cannot install multiple files. 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2749 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1898 2750 if test -z "$INSTALL"; then 1899 if test "${ac_cv_path_install+set}" = set; then1900 echo $ECHO_N "(cached) $ECHO_C" >&62751 if ${ac_cv_path_install+:} false; then : 2752 $as_echo_n "(cached) " >&6 1901 2753 else 1902 2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1905 2757 IFS=$as_save_IFS 1906 2758 test -z "$as_dir" && as_dir=. 1907 # Account for people who put trailing slashes in PATH elements.1908 case $as_dir/ in 1909 ./ | .// | / cC/* | \2759 # Account for people who put trailing slashes in PATH elements. 2760 case $as_dir/ in #(( 2761 ./ | .// | /[cC]/* | \ 1910 2762 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1911 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2763 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1912 2764 /usr/ucb/* ) ;; 1913 2765 *) … … 1927 2779 : 1928 2780 else 1929 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1930 break 3 2781 rm -rf conftest.one conftest.two conftest.dir 2782 echo one > conftest.one 2783 echo two > conftest.two 2784 mkdir conftest.dir 2785 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2786 test -s conftest.one && test -s conftest.two && 2787 test -s conftest.dir/conftest.one && 2788 test -s conftest.dir/conftest.two 2789 then 2790 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2791 break 3 2792 fi 1931 2793 fi 1932 2794 fi … … 1935 2797 ;; 1936 2798 esac 1937 done 2799 2800 done 1938 2801 IFS=$as_save_IFS 1939 2802 2803 rm -rf conftest.one conftest.two conftest.dir 1940 2804 1941 2805 fi … … 1950 2814 fi 1951 2815 fi 1952 { echo "$as_me:$LINENO: result: $INSTALL" >&51953 echo "${ECHO_T}$INSTALL" >&6; }2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2817 $as_echo "$INSTALL" >&6; } 1954 2818 1955 2819 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1961 2825 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1962 2826 1963 # Find a good install program. We prefer a C program (faster),1964 # so one script is as good as another. But avoid the broken or1965 # incompatible versions:1966 # SysV /etc/install, /usr/sbin/install1967 # SunOS /usr/etc/install1968 # IRIX /sbin/install1969 # AIX /bin/install1970 # AmigaOS /C/install, which installs bootblocks on floppy discs1971 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1972 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1973 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1974 # OS/2's system install, which has a completely different semantic1975 # ./install, which can be erroneously created by make from ./install.sh.1976 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51977 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }1978 if test -z "$INSTALL"; then1979 if test "${ac_cv_path_install+set}" = set; then1980 echo $ECHO_N "(cached) $ECHO_C" >&61981 else1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1983 for as_dir in $PATH1984 do1985 IFS=$as_save_IFS1986 test -z "$as_dir" && as_dir=.1987 # Account for people who put trailing slashes in PATH elements.1988 case $as_dir/ in1989 ./ | .// | /cC/* | \1990 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \1991 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \1992 /usr/ucb/* ) ;;1993 *)1994 # OSF1 and SCO ODT 3.0 have their own names for install.1995 # Don't use installbsd from OSF since it installs stuff as root1996 # by default.1997 for ac_prog in ginstall scoinst install; do1998 for ac_exec_ext in '' $ac_executable_extensions; do1999 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2000 if test $ac_prog = install &&2001 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2002 # AIX install. It has an incompatible calling convention.2003 :2004 elif test $ac_prog = install &&2005 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2006 # program-specific install script used by HP pwplus--don't use.2007 :2008 else2009 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2010 break 32011 fi2012 fi2013 done2014 done2015 ;;2016 esac2017 done2018 IFS=$as_save_IFS2019 2020 2021 fi2022 if test "${ac_cv_path_install+set}" = set; then2023 INSTALL=$ac_cv_path_install2024 else2025 # As a last resort, use the slow shell script. Don't cache a2026 # value for INSTALL within a source directory, because that will2027 # break other packages using the cache if that directory is2028 # removed, or if the value is a relative name.2029 INSTALL=$ac_install_sh2030 fi2031 fi2032 { echo "$as_me:$LINENO: result: $INSTALL" >&52033 echo "${ECHO_T}$INSTALL" >&6; }2034 2035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2036 # It thinks the first close brace ends the variable substitution.2037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2038 2039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2040 2041 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2042 2827 2043 2828 if test -n "$ac_tool_prefix"; then 2044 2829 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2045 2830 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2046 { echo "$as_me:$LINENO: checking for $ac_word" >&52047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2048 if test "${ac_cv_prog_RANLIB+set}" = set; then2049 echo $ECHO_N "(cached) $ECHO_C" >&62831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2832 $as_echo_n "checking for $ac_word... " >&6; } 2833 if ${ac_cv_prog_RANLIB+:} false; then : 2834 $as_echo_n "(cached) " >&6 2050 2835 else 2051 2836 if test -n "$RANLIB"; then … … 2057 2842 IFS=$as_save_IFS 2058 2843 test -z "$as_dir" && as_dir=. 2059 for ac_exec_ext in '' $ac_executable_extensions; do2844 for ac_exec_ext in '' $ac_executable_extensions; do 2060 2845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2061 2846 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2063 2848 break 2 2064 2849 fi 2065 2850 done 2066 done2851 done 2067 2852 IFS=$as_save_IFS 2068 2853 … … 2071 2856 RANLIB=$ac_cv_prog_RANLIB 2072 2857 if test -n "$RANLIB"; then 2073 { echo "$as_me:$LINENO: result: $RANLIB" >&52074 echo "${ECHO_T}$RANLIB" >&6; }2075 else 2076 { echo "$as_me:$LINENO: result: no" >&52077 echo "${ECHO_T}no" >&6; }2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2859 $as_echo "$RANLIB" >&6; } 2860 else 2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2862 $as_echo "no" >&6; } 2078 2863 fi 2079 2864 … … 2084 2869 # Extract the first word of "ranlib", so it can be a program name with args. 2085 2870 set dummy ranlib; ac_word=$2 2086 { echo "$as_me:$LINENO: checking for $ac_word" >&52087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2088 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2089 echo $ECHO_N "(cached) $ECHO_C" >&62871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2872 $as_echo_n "checking for $ac_word... " >&6; } 2873 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2874 $as_echo_n "(cached) " >&6 2090 2875 else 2091 2876 if test -n "$ac_ct_RANLIB"; then … … 2097 2882 IFS=$as_save_IFS 2098 2883 test -z "$as_dir" && as_dir=. 2099 for ac_exec_ext in '' $ac_executable_extensions; do2884 for ac_exec_ext in '' $ac_executable_extensions; do 2100 2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2101 2886 ac_cv_prog_ac_ct_RANLIB="ranlib" 2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2103 2888 break 2 2104 2889 fi 2105 2890 done 2106 done2891 done 2107 2892 IFS=$as_save_IFS 2108 2893 … … 2111 2896 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2112 2897 if test -n "$ac_ct_RANLIB"; then 2113 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52114 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2115 else 2116 { echo "$as_me:$LINENO: result: no" >&52117 echo "${ECHO_T}no" >&6; }2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2899 $as_echo "$ac_ct_RANLIB" >&6; } 2900 else 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2902 $as_echo "no" >&6; } 2118 2903 fi 2119 2904 … … 2123 2908 case $cross_compiling:$ac_tool_warned in 2124 2909 yes:) 2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2126 whose name does not start with the host triplet. If you think this 2127 configuration is useful to you, please write to autoconf@gnu.org." >&5 2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2129 whose name does not start with the host triplet. If you think this 2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2131 2912 ac_tool_warned=yes ;; 2132 2913 esac … … 2137 2918 fi 2138 2919 2139 { echo "$as_me:$LINENO: checking whether ln -s works" >&52140 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2921 $as_echo_n "checking whether ln -s works... " >&6; } 2141 2922 LN_S=$as_ln_s 2142 2923 if test "$LN_S" = "ln -s"; then 2143 { echo "$as_me:$LINENO: result: yes" >&52144 echo "${ECHO_T}yes" >&6; }2145 else 2146 { echo "$as_me:$LINENO: result: no, using $LN_S" >&52147 echo "${ECHO_T}no, using $LN_S" >&6; }2148 fi 2149 2150 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52151 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2925 $as_echo "yes" >&6; } 2926 else 2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2928 $as_echo "no, using $LN_S" >&6; } 2929 fi 2930 2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2932 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2152 2933 if test -z "$MKDIR_P"; then 2153 if test "${ac_cv_path_mkdir+set}" = set; then2154 echo $ECHO_N "(cached) $ECHO_C" >&62934 if ${ac_cv_path_mkdir+:} false; then : 2935 $as_echo_n "(cached) " >&6 2155 2936 else 2156 2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2159 2940 IFS=$as_save_IFS 2160 2941 test -z "$as_dir" && as_dir=. 2161 for ac_prog in mkdir gmkdir; do2942 for ac_prog in mkdir gmkdir; do 2162 2943 for ac_exec_ext in '' $ac_executable_extensions; do 2163 2944 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 2171 2952 done 2172 2953 done 2173 done2954 done 2174 2955 IFS=$as_save_IFS 2175 2956 2176 2957 fi 2177 2958 2959 test -d ./--version && rmdir ./--version 2178 2960 if test "${ac_cv_path_mkdir+set}" = set; then 2179 2961 MKDIR_P="$ac_cv_path_mkdir -p" … … 2183 2965 # break other packages using the cache if that directory is 2184 2966 # removed, or if the value is a relative name. 2185 test -d ./--version && rmdir ./--version2186 2967 MKDIR_P="$ac_install_sh -d" 2187 2968 fi 2188 2969 fi 2189 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2190 echo "${ECHO_T}$MKDIR_P" >&6; } 2191 2192 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2193 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2194 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2195 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2196 echo $ECHO_N "(cached) $ECHO_C" >&6 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2971 $as_echo "$MKDIR_P" >&6; } 2972 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2974 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2975 set x ${MAKE-make} 2976 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2977 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2978 $as_echo_n "(cached) " >&6 2197 2979 else 2198 2980 cat >conftest.make <<\_ACEOF … … 2201 2983 @echo '@@@%%%=$(MAKE)=@@@%%%' 2202 2984 _ACEOF 2203 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.2985 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2204 2986 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2205 2987 *@@@%%%=?*=@@@%%%*) … … 2211 2993 fi 2212 2994 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2213 { echo "$as_me:$LINENO: result: yes" >&52214 echo "${ECHO_T}yes" >&6; }2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2996 $as_echo "yes" >&6; } 2215 2997 SET_MAKE= 2216 2998 else 2217 { echo "$as_me:$LINENO: result: no" >&52218 echo "${ECHO_T}no" >&6; }2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3000 $as_echo "no" >&6; } 2219 3001 SET_MAKE="MAKE=${MAKE-make}" 2220 3002 fi … … 2230 3012 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2231 3013 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2232 { echo "$as_me:$LINENO: checking for $ac_word" >&52233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2234 if test "${ac_cv_prog_CC+set}" = set; then2235 echo $ECHO_N "(cached) $ECHO_C" >&63014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3015 $as_echo_n "checking for $ac_word... " >&6; } 3016 if ${ac_cv_prog_CC+:} false; then : 3017 $as_echo_n "(cached) " >&6 2236 3018 else 2237 3019 if test -n "$CC"; then … … 2243 3025 IFS=$as_save_IFS 2244 3026 test -z "$as_dir" && as_dir=. 2245 for ac_exec_ext in '' $ac_executable_extensions; do3027 for ac_exec_ext in '' $ac_executable_extensions; do 2246 3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2247 3029 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2249 3031 break 2 2250 3032 fi 2251 3033 done 2252 done3034 done 2253 3035 IFS=$as_save_IFS 2254 3036 … … 2257 3039 CC=$ac_cv_prog_CC 2258 3040 if test -n "$CC"; then 2259 { echo "$as_me:$LINENO: result: $CC" >&52260 echo "${ECHO_T}$CC" >&6; }2261 else 2262 { echo "$as_me:$LINENO: result: no" >&52263 echo "${ECHO_T}no" >&6; }3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3042 $as_echo "$CC" >&6; } 3043 else 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3045 $as_echo "no" >&6; } 2264 3046 fi 2265 3047 … … 2270 3052 # Extract the first word of "gcc", so it can be a program name with args. 2271 3053 set dummy gcc; ac_word=$2 2272 { echo "$as_me:$LINENO: checking for $ac_word" >&52273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2275 echo $ECHO_N "(cached) $ECHO_C" >&63054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3055 $as_echo_n "checking for $ac_word... " >&6; } 3056 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3057 $as_echo_n "(cached) " >&6 2276 3058 else 2277 3059 if test -n "$ac_ct_CC"; then … … 2283 3065 IFS=$as_save_IFS 2284 3066 test -z "$as_dir" && as_dir=. 2285 for ac_exec_ext in '' $ac_executable_extensions; do3067 for ac_exec_ext in '' $ac_executable_extensions; do 2286 3068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2287 3069 ac_cv_prog_ac_ct_CC="gcc" 2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2289 3071 break 2 2290 3072 fi 2291 3073 done 2292 done3074 done 2293 3075 IFS=$as_save_IFS 2294 3076 … … 2297 3079 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2298 3080 if test -n "$ac_ct_CC"; then 2299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52300 echo "${ECHO_T}$ac_ct_CC" >&6; }2301 else 2302 { echo "$as_me:$LINENO: result: no" >&52303 echo "${ECHO_T}no" >&6; }3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3082 $as_echo "$ac_ct_CC" >&6; } 3083 else 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3085 $as_echo "no" >&6; } 2304 3086 fi 2305 3087 … … 2309 3091 case $cross_compiling:$ac_tool_warned in 2310 3092 yes:) 2311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2312 whose name does not start with the host triplet. If you think this 2313 configuration is useful to you, please write to autoconf@gnu.org." >&5 2314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2315 whose name does not start with the host triplet. If you think this 2316 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2317 3095 ac_tool_warned=yes ;; 2318 3096 esac … … 2327 3105 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2328 3106 set dummy ${ac_tool_prefix}cc; ac_word=$2 2329 { echo "$as_me:$LINENO: checking for $ac_word" >&52330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2331 if test "${ac_cv_prog_CC+set}" = set; then2332 echo $ECHO_N "(cached) $ECHO_C" >&63107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3108 $as_echo_n "checking for $ac_word... " >&6; } 3109 if ${ac_cv_prog_CC+:} false; then : 3110 $as_echo_n "(cached) " >&6 2333 3111 else 2334 3112 if test -n "$CC"; then … … 2340 3118 IFS=$as_save_IFS 2341 3119 test -z "$as_dir" && as_dir=. 2342 for ac_exec_ext in '' $ac_executable_extensions; do3120 for ac_exec_ext in '' $ac_executable_extensions; do 2343 3121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2344 3122 ac_cv_prog_CC="${ac_tool_prefix}cc" 2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2346 3124 break 2 2347 3125 fi 2348 3126 done 2349 done3127 done 2350 3128 IFS=$as_save_IFS 2351 3129 … … 2354 3132 CC=$ac_cv_prog_CC 2355 3133 if test -n "$CC"; then 2356 { echo "$as_me:$LINENO: result: $CC" >&52357 echo "${ECHO_T}$CC" >&6; }2358 else 2359 { echo "$as_me:$LINENO: result: no" >&52360 echo "${ECHO_T}no" >&6; }3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3135 $as_echo "$CC" >&6; } 3136 else 3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3138 $as_echo "no" >&6; } 2361 3139 fi 2362 3140 … … 2367 3145 # Extract the first word of "cc", so it can be a program name with args. 2368 3146 set dummy cc; ac_word=$2 2369 { echo "$as_me:$LINENO: checking for $ac_word" >&52370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2371 if test "${ac_cv_prog_CC+set}" = set; then2372 echo $ECHO_N "(cached) $ECHO_C" >&63147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3148 $as_echo_n "checking for $ac_word... " >&6; } 3149 if ${ac_cv_prog_CC+:} false; then : 3150 $as_echo_n "(cached) " >&6 2373 3151 else 2374 3152 if test -n "$CC"; then … … 2381 3159 IFS=$as_save_IFS 2382 3160 test -z "$as_dir" && as_dir=. 2383 for ac_exec_ext in '' $ac_executable_extensions; do3161 for ac_exec_ext in '' $ac_executable_extensions; do 2384 3162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2385 3163 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2388 3166 fi 2389 3167 ac_cv_prog_CC="cc" 2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2391 3169 break 2 2392 3170 fi 2393 3171 done 2394 done3172 done 2395 3173 IFS=$as_save_IFS 2396 3174 … … 2411 3189 CC=$ac_cv_prog_CC 2412 3190 if test -n "$CC"; then 2413 { echo "$as_me:$LINENO: result: $CC" >&52414 echo "${ECHO_T}$CC" >&6; }2415 else 2416 { echo "$as_me:$LINENO: result: no" >&52417 echo "${ECHO_T}no" >&6; }3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3192 $as_echo "$CC" >&6; } 3193 else 3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3195 $as_echo "no" >&6; } 2418 3196 fi 2419 3197 … … 2426 3204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2427 3205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2428 { echo "$as_me:$LINENO: checking for $ac_word" >&52429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2430 if test "${ac_cv_prog_CC+set}" = set; then2431 echo $ECHO_N "(cached) $ECHO_C" >&63206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3207 $as_echo_n "checking for $ac_word... " >&6; } 3208 if ${ac_cv_prog_CC+:} false; then : 3209 $as_echo_n "(cached) " >&6 2432 3210 else 2433 3211 if test -n "$CC"; then … … 2439 3217 IFS=$as_save_IFS 2440 3218 test -z "$as_dir" && as_dir=. 2441 for ac_exec_ext in '' $ac_executable_extensions; do3219 for ac_exec_ext in '' $ac_executable_extensions; do 2442 3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2443 3221 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2445 3223 break 2 2446 3224 fi 2447 3225 done 2448 done3226 done 2449 3227 IFS=$as_save_IFS 2450 3228 … … 2453 3231 CC=$ac_cv_prog_CC 2454 3232 if test -n "$CC"; then 2455 { echo "$as_me:$LINENO: result: $CC" >&52456 echo "${ECHO_T}$CC" >&6; }2457 else 2458 { echo "$as_me:$LINENO: result: no" >&52459 echo "${ECHO_T}no" >&6; }3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3234 $as_echo "$CC" >&6; } 3235 else 3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3237 $as_echo "no" >&6; } 2460 3238 fi 2461 3239 … … 2470 3248 # Extract the first word of "$ac_prog", so it can be a program name with args. 2471 3249 set dummy $ac_prog; ac_word=$2 2472 { echo "$as_me:$LINENO: checking for $ac_word" >&52473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2475 echo $ECHO_N "(cached) $ECHO_C" >&63250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3251 $as_echo_n "checking for $ac_word... " >&6; } 3252 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3253 $as_echo_n "(cached) " >&6 2476 3254 else 2477 3255 if test -n "$ac_ct_CC"; then … … 2483 3261 IFS=$as_save_IFS 2484 3262 test -z "$as_dir" && as_dir=. 2485 for ac_exec_ext in '' $ac_executable_extensions; do3263 for ac_exec_ext in '' $ac_executable_extensions; do 2486 3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2487 3265 ac_cv_prog_ac_ct_CC="$ac_prog" 2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2489 3267 break 2 2490 3268 fi 2491 3269 done 2492 done3270 done 2493 3271 IFS=$as_save_IFS 2494 3272 … … 2497 3275 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2498 3276 if test -n "$ac_ct_CC"; then 2499 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52500 echo "${ECHO_T}$ac_ct_CC" >&6; }2501 else 2502 { echo "$as_me:$LINENO: result: no" >&52503 echo "${ECHO_T}no" >&6; }3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3278 $as_echo "$ac_ct_CC" >&6; } 3279 else 3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3281 $as_echo "no" >&6; } 2504 3282 fi 2505 3283 … … 2513 3291 case $cross_compiling:$ac_tool_warned in 2514 3292 yes:) 2515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2516 whose name does not start with the host triplet. If you think this 2517 configuration is useful to you, please write to autoconf@gnu.org." >&5 2518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2519 whose name does not start with the host triplet. If you think this 2520 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2521 3295 ac_tool_warned=yes ;; 2522 3296 esac … … 2528 3302 2529 3303 2530 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2531 See \`config.log' for more details." >&5 2532 echo "$as_me: error: no acceptable C compiler found in \$PATH 2533 See \`config.log' for more details." >&2;} 2534 { (exit 1); exit 1; }; } 3304 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3306 as_fn_error $? "no acceptable C compiler found in \$PATH 3307 See \`config.log' for more details" "$LINENO" 5; } 2535 3308 2536 3309 # Provide some information about the compiler. 2537 echo "$as_me:$LINENO: checking for C compiler version" >&5 2538 ac_compiler=`set X $ac_compile; echo $2` 2539 { (ac_try="$ac_compiler --version >&5" 3310 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3311 set X $ac_compile 3312 ac_compiler=$2 3313 for ac_option in --version -v -V -qversion; do 3314 { { ac_try="$ac_compiler $ac_option >&5" 2540 3315 case "(($ac_try" in 2541 3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2542 3317 *) ac_try_echo=$ac_try;; 2543 3318 esac 2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2545 (eval "$ac_compiler --version >&5") 2>&5 3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3320 $as_echo "$ac_try_echo"; } >&5 3321 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2546 3322 ac_status=$? 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2548 (exit $ac_status); } 2549 { (ac_try="$ac_compiler -v >&5" 3323 if test -s conftest.err; then 3324 sed '10a\ 3325 ... rest of stderr output deleted ... 3326 10q' conftest.err >conftest.er1 3327 cat conftest.er1 >&5 3328 fi 3329 rm -f conftest.er1 conftest.err 3330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3331 test $ac_status = 0; } 3332 done 3333 3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3335 /* end confdefs.h. */ 3336 3337 int 3338 main () 3339 { 3340 3341 ; 3342 return 0; 3343 } 3344 _ACEOF 3345 ac_clean_files_save=$ac_clean_files 3346 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3347 # Try to create an executable without -o first, disregard a.out. 3348 # It will help us diagnose broken compilers, and finding out an intuition 3349 # of exeext. 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3351 $as_echo_n "checking whether the C compiler works... " >&6; } 3352 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3353 3354 # The possible output files: 3355 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3356 3357 ac_rmfiles= 3358 for ac_file in $ac_files 3359 do 3360 case $ac_file in 3361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3362 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3363 esac 3364 done 3365 rm -f $ac_rmfiles 3366 3367 if { { ac_try="$ac_link_default" 2550 3368 case "(($ac_try" in 2551 3369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2552 3370 *) ac_try_echo=$ac_try;; 2553 3371 esac 2554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2555 (eval "$ac_compiler -v >&5") 2>&5 2556 ac_status=$? 2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2558 (exit $ac_status); } 2559 { (ac_try="$ac_compiler -V >&5" 2560 case "(($ac_try" in 2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2562 *) ac_try_echo=$ac_try;; 2563 esac 2564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2565 (eval "$ac_compiler -V >&5") 2>&5 2566 ac_status=$? 2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2568 (exit $ac_status); } 2569 2570 cat >conftest.$ac_ext <<_ACEOF 2571 /* confdefs.h. */ 2572 _ACEOF 2573 cat confdefs.h >>conftest.$ac_ext 2574 cat >>conftest.$ac_ext <<_ACEOF 2575 /* end confdefs.h. */ 2576 2577 int 2578 main () 2579 { 2580 2581 ; 2582 return 0; 2583 } 2584 _ACEOF 2585 ac_clean_files_save=$ac_clean_files 2586 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2587 # Try to create an executable without -o first, disregard a.out. 2588 # It will help us diagnose broken compilers, and finding out an intuition 2589 # of exeext. 2590 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2591 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2592 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2593 # 2594 # List of possible output files, starting from the most likely. 2595 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2596 # only as a last resort. b.out is created by i960 compilers. 2597 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2598 # 2599 # The IRIX 6 linker writes into existing files which may not be 2600 # executable, retaining their permissions. Remove them first so a 2601 # subsequent execution test works. 2602 ac_rmfiles= 2603 for ac_file in $ac_files 2604 do 2605 case $ac_file in 2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2607 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2608 esac 2609 done 2610 rm -f $ac_rmfiles 2611 2612 if { (ac_try="$ac_link_default" 2613 case "(($ac_try" in 2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2615 *) ac_try_echo=$ac_try;; 2616 esac 2617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3373 $as_echo "$ac_try_echo"; } >&5 2618 3374 (eval "$ac_link_default") 2>&5 2619 3375 ac_status=$? 2620 echo "$as_me:$LINENO: \$? = $ac_status" >&52621 (exit $ac_status); }; then3376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3377 test $ac_status = 0; }; then : 2622 3378 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2623 3379 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2629 3385 test -f "$ac_file" || continue 2630 3386 case $ac_file in 2631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2632 3388 ;; 2633 3389 [ab].out ) … … 2636 3392 break;; 2637 3393 *.* ) 2638 3394 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2639 3395 then :; else 2640 3396 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2655 3411 ac_file='' 2656 3412 fi 2657 2658 { echo "$as_me:$LINENO: result: $ac_file" >&5 2659 echo "${ECHO_T}$ac_file" >&6; } 2660 if test -z "$ac_file"; then 2661 echo "$as_me: failed program was:" >&5 3413 if test -z "$ac_file"; then : 3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3415 $as_echo "no" >&6; } 3416 $as_echo "$as_me: failed program was:" >&5 2662 3417 sed 's/^/| /' conftest.$ac_ext >&5 2663 3418 2664 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2665 See \`config.log' for more details." >&5 2666 echo "$as_me: error: C compiler cannot create executables 2667 See \`config.log' for more details." >&2;} 2668 { (exit 77); exit 77; }; } 2669 fi 2670 3419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3421 as_fn_error 77 "C compiler cannot create executables 3422 See \`config.log' for more details" "$LINENO" 5; } 3423 else 3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3425 $as_echo "yes" >&6; } 3426 fi 3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3428 $as_echo_n "checking for C compiler default output file name... " >&6; } 3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3430 $as_echo "$ac_file" >&6; } 2671 3431 ac_exeext=$ac_cv_exeext 2672 3432 2673 # Check that the compiler produces executables we can run. If not, either 2674 # the compiler is broken, or we cross compile. 2675 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2676 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2677 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2678 # If not cross compiling, check that we can run a simple program. 2679 if test "$cross_compiling" != yes; then 2680 if { ac_try='./$ac_file' 2681 { (case "(($ac_try" in 2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2683 *) ac_try_echo=$ac_try;; 2684 esac 2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2686 (eval "$ac_try") 2>&5 2687 ac_status=$? 2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 (exit $ac_status); }; }; then 2690 cross_compiling=no 2691 else 2692 if test "$cross_compiling" = maybe; then 2693 cross_compiling=yes 2694 else 2695 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2696 If you meant to cross compile, use \`--host'. 2697 See \`config.log' for more details." >&5 2698 echo "$as_me: error: cannot run C compiled programs. 2699 If you meant to cross compile, use \`--host'. 2700 See \`config.log' for more details." >&2;} 2701 { (exit 1); exit 1; }; } 2702 fi 2703 fi 2704 fi 2705 { echo "$as_me:$LINENO: result: yes" >&5 2706 echo "${ECHO_T}yes" >&6; } 2707 2708 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3433 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2709 3434 ac_clean_files=$ac_clean_files_save 2710 # Check that the compiler produces executables we can run. If not, either 2711 # the compiler is broken, or we cross compile. 2712 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2713 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2714 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2715 echo "${ECHO_T}$cross_compiling" >&6; } 2716 2717 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2718 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2719 if { (ac_try="$ac_link" 3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3436 $as_echo_n "checking for suffix of executables... " >&6; } 3437 if { { ac_try="$ac_link" 2720 3438 case "(($ac_try" in 2721 3439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2722 3440 *) ac_try_echo=$ac_try;; 2723 3441 esac 2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3443 $as_echo "$ac_try_echo"; } >&5 2725 3444 (eval "$ac_link") 2>&5 2726 3445 ac_status=$? 2727 echo "$as_me:$LINENO: \$? = $ac_status" >&52728 (exit $ac_status); }; then3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3447 test $ac_status = 0; }; then : 2729 3448 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2730 3449 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2734 3453 test -f "$ac_file" || continue 2735 3454 case $ac_file in 2736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2737 3456 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2738 3457 break;; … … 2741 3460 done 2742 3461 else 2743 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2744 See \`config.log' for more details." >&5 2745 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2746 See \`config.log' for more details." >&2;} 2747 { (exit 1); exit 1; }; } 2748 fi 2749 2750 rm -f conftest$ac_cv_exeext 2751 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2752 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3464 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3465 See \`config.log' for more details" "$LINENO" 5; } 3466 fi 3467 rm -f conftest conftest$ac_cv_exeext 3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3469 $as_echo "$ac_cv_exeext" >&6; } 2753 3470 2754 3471 rm -f conftest.$ac_ext 2755 3472 EXEEXT=$ac_cv_exeext 2756 3473 ac_exeext=$EXEEXT 2757 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2758 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2759 if test "${ac_cv_objext+set}" = set; then 2760 echo $ECHO_N "(cached) $ECHO_C" >&6 2761 else 2762 cat >conftest.$ac_ext <<_ACEOF 2763 /* confdefs.h. */ 2764 _ACEOF 2765 cat confdefs.h >>conftest.$ac_ext 2766 cat >>conftest.$ac_ext <<_ACEOF 3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2767 3475 /* end confdefs.h. */ 2768 3476 #include <stdio.h> 2769 3477 int 2770 3478 main () 2771 3479 { 3480 FILE *f = fopen ("conftest.out", "w"); 3481 return ferror (f) || fclose (f) != 0; 2772 3482 2773 3483 ; … … 2775 3485 } 2776 3486 _ACEOF 2777 rm -f conftest.o conftest.obj 2778 if { (ac_try="$ac_compile" 3487 ac_clean_files="$ac_clean_files conftest.out" 3488 # Check that the compiler produces executables we can run. If not, either 3489 # the compiler is broken, or we cross compile. 3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3491 $as_echo_n "checking whether we are cross compiling... " >&6; } 3492 if test "$cross_compiling" != yes; then 3493 { { ac_try="$ac_link" 2779 3494 case "(($ac_try" in 2780 3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2781 3496 *) ac_try_echo=$ac_try;; 2782 3497 esac 2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3499 $as_echo "$ac_try_echo"; } >&5 3500 (eval "$ac_link") 2>&5 3501 ac_status=$? 3502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3503 test $ac_status = 0; } 3504 if { ac_try='./conftest$ac_cv_exeext' 3505 { { case "(($ac_try" in 3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3507 *) ac_try_echo=$ac_try;; 3508 esac 3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3510 $as_echo "$ac_try_echo"; } >&5 3511 (eval "$ac_try") 2>&5 3512 ac_status=$? 3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3514 test $ac_status = 0; }; }; then 3515 cross_compiling=no 3516 else 3517 if test "$cross_compiling" = maybe; then 3518 cross_compiling=yes 3519 else 3520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3522 as_fn_error $? "cannot run C compiled programs. 3523 If you meant to cross compile, use \`--host'. 3524 See \`config.log' for more details" "$LINENO" 5; } 3525 fi 3526 fi 3527 fi 3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3529 $as_echo "$cross_compiling" >&6; } 3530 3531 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3532 ac_clean_files=$ac_clean_files_save 3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3534 $as_echo_n "checking for suffix of object files... " >&6; } 3535 if ${ac_cv_objext+:} false; then : 3536 $as_echo_n "(cached) " >&6 3537 else 3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3539 /* end confdefs.h. */ 3540 3541 int 3542 main () 3543 { 3544 3545 ; 3546 return 0; 3547 } 3548 _ACEOF 3549 rm -f conftest.o conftest.obj 3550 if { { ac_try="$ac_compile" 3551 case "(($ac_try" in 3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3553 *) ac_try_echo=$ac_try;; 3554 esac 3555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3556 $as_echo "$ac_try_echo"; } >&5 2784 3557 (eval "$ac_compile") 2>&5 2785 3558 ac_status=$? 2786 echo "$as_me:$LINENO: \$? = $ac_status" >&52787 (exit $ac_status); }; then3559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3560 test $ac_status = 0; }; then : 2788 3561 for ac_file in conftest.o conftest.obj conftest.*; do 2789 3562 test -f "$ac_file" || continue; 2790 3563 case $ac_file in 2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2792 3565 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2793 3566 break;; … … 2795 3568 done 2796 3569 else 2797 echo "$as_me: failed program was:" >&53570 $as_echo "$as_me: failed program was:" >&5 2798 3571 sed 's/^/| /' conftest.$ac_ext >&5 2799 3572 2800 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2801 See \`config.log' for more details." >&5 2802 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2803 See \`config.log' for more details." >&2;} 2804 { (exit 1); exit 1; }; } 2805 fi 2806 3573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3575 as_fn_error $? "cannot compute suffix of object files: cannot compile 3576 See \`config.log' for more details" "$LINENO" 5; } 3577 fi 2807 3578 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2808 3579 fi 2809 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52810 echo "${ECHO_T}$ac_cv_objext" >&6; }3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3581 $as_echo "$ac_cv_objext" >&6; } 2811 3582 OBJEXT=$ac_cv_objext 2812 3583 ac_objext=$OBJEXT 2813 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2814 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2815 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2816 echo $ECHO_N "(cached) $ECHO_C" >&6 2817 else 2818 cat >conftest.$ac_ext <<_ACEOF 2819 /* confdefs.h. */ 2820 _ACEOF 2821 cat confdefs.h >>conftest.$ac_ext 2822 cat >>conftest.$ac_ext <<_ACEOF 3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3585 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3586 if ${ac_cv_c_compiler_gnu+:} false; then : 3587 $as_echo_n "(cached) " >&6 3588 else 3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2823 3590 /* end confdefs.h. */ 2824 3591 … … 2834 3601 } 2835 3602 _ACEOF 2836 rm -f conftest.$ac_objext 2837 if { (ac_try="$ac_compile" 2838 case "(($ac_try" in 2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2840 *) ac_try_echo=$ac_try;; 2841 esac 2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2843 (eval "$ac_compile") 2>conftest.er1 2844 ac_status=$? 2845 grep -v '^ *+' conftest.er1 >conftest.err 2846 rm -f conftest.er1 2847 cat conftest.err >&5 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2849 (exit $ac_status); } && { 2850 test -z "$ac_c_werror_flag" || 2851 test ! -s conftest.err 2852 } && test -s conftest.$ac_objext; then 3603 if ac_fn_c_try_compile "$LINENO"; then : 2853 3604 ac_compiler_gnu=yes 2854 3605 else 2855 echo "$as_me: failed program was:" >&5 2856 sed 's/^/| /' conftest.$ac_ext >&5 2857 2858 ac_compiler_gnu=no 2859 fi 2860 3606 ac_compiler_gnu=no 3607 fi 2861 3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2862 3609 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2863 3610 2864 3611 fi 2865 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2866 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2867 GCC=`test $ac_compiler_gnu = yes && echo yes` 3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3613 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3614 if test $ac_compiler_gnu = yes; then 3615 GCC=yes 3616 else 3617 GCC= 3618 fi 2868 3619 ac_test_CFLAGS=${CFLAGS+set} 2869 3620 ac_save_CFLAGS=$CFLAGS 2870 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52871 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2872 if test "${ac_cv_prog_cc_g+set}" = set; then2873 echo $ECHO_N "(cached) $ECHO_C" >&63621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3622 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3623 if ${ac_cv_prog_cc_g+:} false; then : 3624 $as_echo_n "(cached) " >&6 2874 3625 else 2875 3626 ac_save_c_werror_flag=$ac_c_werror_flag … … 2877 3628 ac_cv_prog_cc_g=no 2878 3629 CFLAGS="-g" 2879 cat >conftest.$ac_ext <<_ACEOF 2880 /* confdefs.h. */ 2881 _ACEOF 2882 cat confdefs.h >>conftest.$ac_ext 2883 cat >>conftest.$ac_ext <<_ACEOF 3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2884 3631 /* end confdefs.h. */ 2885 3632 … … 2892 3639 } 2893 3640 _ACEOF 2894 rm -f conftest.$ac_objext 2895 if { (ac_try="$ac_compile" 2896 case "(($ac_try" in 2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2898 *) ac_try_echo=$ac_try;; 2899 esac 2900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2901 (eval "$ac_compile") 2>conftest.er1 2902 ac_status=$? 2903 grep -v '^ *+' conftest.er1 >conftest.err 2904 rm -f conftest.er1 2905 cat conftest.err >&5 2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2907 (exit $ac_status); } && { 2908 test -z "$ac_c_werror_flag" || 2909 test ! -s conftest.err 2910 } && test -s conftest.$ac_objext; then 3641 if ac_fn_c_try_compile "$LINENO"; then : 2911 3642 ac_cv_prog_cc_g=yes 2912 3643 else 2913 echo "$as_me: failed program was:" >&5 2914 sed 's/^/| /' conftest.$ac_ext >&5 2915 2916 CFLAGS="" 2917 cat >conftest.$ac_ext <<_ACEOF 2918 /* confdefs.h. */ 2919 _ACEOF 2920 cat confdefs.h >>conftest.$ac_ext 2921 cat >>conftest.$ac_ext <<_ACEOF 3644 CFLAGS="" 3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2922 3646 /* end confdefs.h. */ 2923 3647 … … 2930 3654 } 2931 3655 _ACEOF 2932 rm -f conftest.$ac_objext 2933 if { (ac_try="$ac_compile" 2934 case "(($ac_try" in 2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2936 *) ac_try_echo=$ac_try;; 2937 esac 2938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2939 (eval "$ac_compile") 2>conftest.er1 2940 ac_status=$? 2941 grep -v '^ *+' conftest.er1 >conftest.err 2942 rm -f conftest.er1 2943 cat conftest.err >&5 2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 (exit $ac_status); } && { 2946 test -z "$ac_c_werror_flag" || 2947 test ! -s conftest.err 2948 } && test -s conftest.$ac_objext; then 2949 : 2950 else 2951 echo "$as_me: failed program was:" >&5 2952 sed 's/^/| /' conftest.$ac_ext >&5 2953 2954 ac_c_werror_flag=$ac_save_c_werror_flag 3656 if ac_fn_c_try_compile "$LINENO"; then : 3657 3658 else 3659 ac_c_werror_flag=$ac_save_c_werror_flag 2955 3660 CFLAGS="-g" 2956 cat >conftest.$ac_ext <<_ACEOF 2957 /* confdefs.h. */ 2958 _ACEOF 2959 cat confdefs.h >>conftest.$ac_ext 2960 cat >>conftest.$ac_ext <<_ACEOF 3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2961 3662 /* end confdefs.h. */ 2962 3663 … … 2969 3670 } 2970 3671 _ACEOF 2971 rm -f conftest.$ac_objext 2972 if { (ac_try="$ac_compile" 2973 case "(($ac_try" in 2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2975 *) ac_try_echo=$ac_try;; 2976 esac 2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2978 (eval "$ac_compile") 2>conftest.er1 2979 ac_status=$? 2980 grep -v '^ *+' conftest.er1 >conftest.err 2981 rm -f conftest.er1 2982 cat conftest.err >&5 2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2984 (exit $ac_status); } && { 2985 test -z "$ac_c_werror_flag" || 2986 test ! -s conftest.err 2987 } && test -s conftest.$ac_objext; then 3672 if ac_fn_c_try_compile "$LINENO"; then : 2988 3673 ac_cv_prog_cc_g=yes 2989 else 2990 echo "$as_me: failed program was:" >&5 2991 sed 's/^/| /' conftest.$ac_ext >&5 2992 2993 2994 fi 2995 3674 fi 2996 3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2997 3676 fi 2998 2999 3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3000 3678 fi 3001 3002 3679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3003 3680 ac_c_werror_flag=$ac_save_c_werror_flag 3004 3681 fi 3005 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53006 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3683 $as_echo "$ac_cv_prog_cc_g" >&6; } 3007 3684 if test "$ac_test_CFLAGS" = set; then 3008 3685 CFLAGS=$ac_save_CFLAGS … … 3020 3697 fi 3021 3698 fi 3022 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53023 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3024 if test "${ac_cv_prog_cc_c89+set}" = set; then3025 echo $ECHO_N "(cached) $ECHO_C" >&63699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3700 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3701 if ${ac_cv_prog_cc_c89+:} false; then : 3702 $as_echo_n "(cached) " >&6 3026 3703 else 3027 3704 ac_cv_prog_cc_c89=no 3028 3705 ac_save_CC=$CC 3029 cat >conftest.$ac_ext <<_ACEOF 3030 /* confdefs.h. */ 3031 _ACEOF 3032 cat confdefs.h >>conftest.$ac_ext 3033 cat >>conftest.$ac_ext <<_ACEOF 3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3034 3707 /* end confdefs.h. */ 3035 3708 #include <stdarg.h> … … 3088 3761 do 3089 3762 CC="$ac_save_CC $ac_arg" 3090 rm -f conftest.$ac_objext 3091 if { (ac_try="$ac_compile" 3092 case "(($ac_try" in 3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3094 *) ac_try_echo=$ac_try;; 3095 esac 3096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3097 (eval "$ac_compile") 2>conftest.er1 3098 ac_status=$? 3099 grep -v '^ *+' conftest.er1 >conftest.err 3100 rm -f conftest.er1 3101 cat conftest.err >&5 3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3103 (exit $ac_status); } && { 3104 test -z "$ac_c_werror_flag" || 3105 test ! -s conftest.err 3106 } && test -s conftest.$ac_objext; then 3763 if ac_fn_c_try_compile "$LINENO"; then : 3107 3764 ac_cv_prog_cc_c89=$ac_arg 3108 else 3109 echo "$as_me: failed program was:" >&5 3110 sed 's/^/| /' conftest.$ac_ext >&5 3111 3112 3113 fi 3114 3765 fi 3115 3766 rm -f core conftest.err conftest.$ac_objext 3116 3767 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3123 3774 case "x$ac_cv_prog_cc_c89" in 3124 3775 x) 3125 { echo "$as_me:$LINENO: result: none needed" >&53126 echo "${ECHO_T}none needed" >&6; } ;;3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3777 $as_echo "none needed" >&6; } ;; 3127 3778 xno) 3128 { echo "$as_me:$LINENO: result: unsupported" >&53129 echo "${ECHO_T}unsupported" >&6; } ;;3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3780 $as_echo "unsupported" >&6; } ;; 3130 3781 *) 3131 3782 CC="$CC $ac_cv_prog_cc_c89" 3132 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53133 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3134 3785 esac 3135 3786 if test "x$ac_cv_prog_cc_c89" != xno; then : 3787 3788 fi 3136 3789 3137 3790 ac_ext=c … … 3155 3808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3156 3809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3157 { echo "$as_me:$LINENO: checking for $ac_word" >&53158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3159 if test "${ac_cv_prog_CXX+set}" = set; then3160 echo $ECHO_N "(cached) $ECHO_C" >&63810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3811 $as_echo_n "checking for $ac_word... " >&6; } 3812 if ${ac_cv_prog_CXX+:} false; then : 3813 $as_echo_n "(cached) " >&6 3161 3814 else 3162 3815 if test -n "$CXX"; then … … 3168 3821 IFS=$as_save_IFS 3169 3822 test -z "$as_dir" && as_dir=. 3170 for ac_exec_ext in '' $ac_executable_extensions; do3823 for ac_exec_ext in '' $ac_executable_extensions; do 3171 3824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3172 3825 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3174 3827 break 2 3175 3828 fi 3176 3829 done 3177 done3830 done 3178 3831 IFS=$as_save_IFS 3179 3832 … … 3182 3835 CXX=$ac_cv_prog_CXX 3183 3836 if test -n "$CXX"; then 3184 { echo "$as_me:$LINENO: result: $CXX" >&53185 echo "${ECHO_T}$CXX" >&6; }3186 else 3187 { echo "$as_me:$LINENO: result: no" >&53188 echo "${ECHO_T}no" >&6; }3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3838 $as_echo "$CXX" >&6; } 3839 else 3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3841 $as_echo "no" >&6; } 3189 3842 fi 3190 3843 … … 3199 3852 # Extract the first word of "$ac_prog", so it can be a program name with args. 3200 3853 set dummy $ac_prog; ac_word=$2 3201 { echo "$as_me:$LINENO: checking for $ac_word" >&53202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3203 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3204 echo $ECHO_N "(cached) $ECHO_C" >&63854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3855 $as_echo_n "checking for $ac_word... " >&6; } 3856 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3857 $as_echo_n "(cached) " >&6 3205 3858 else 3206 3859 if test -n "$ac_ct_CXX"; then … … 3212 3865 IFS=$as_save_IFS 3213 3866 test -z "$as_dir" && as_dir=. 3214 for ac_exec_ext in '' $ac_executable_extensions; do3867 for ac_exec_ext in '' $ac_executable_extensions; do 3215 3868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3216 3869 ac_cv_prog_ac_ct_CXX="$ac_prog" 3217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3218 3871 break 2 3219 3872 fi 3220 3873 done 3221 done3874 done 3222 3875 IFS=$as_save_IFS 3223 3876 … … 3226 3879 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3227 3880 if test -n "$ac_ct_CXX"; then 3228 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53229 echo "${ECHO_T}$ac_ct_CXX" >&6; }3230 else 3231 { echo "$as_me:$LINENO: result: no" >&53232 echo "${ECHO_T}no" >&6; }3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3882 $as_echo "$ac_ct_CXX" >&6; } 3883 else 3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3885 $as_echo "no" >&6; } 3233 3886 fi 3234 3887 … … 3242 3895 case $cross_compiling:$ac_tool_warned in 3243 3896 yes:) 3244 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3245 whose name does not start with the host triplet. If you think this 3246 configuration is useful to you, please write to autoconf@gnu.org." >&5 3247 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3248 whose name does not start with the host triplet. If you think this 3249 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3250 3899 ac_tool_warned=yes ;; 3251 3900 esac … … 3257 3906 fi 3258 3907 # Provide some information about the compiler. 3259 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3260 ac_compiler=`set X $ac_compile; echo $2` 3261 { (ac_try="$ac_compiler --version >&5" 3908 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3909 set X $ac_compile 3910 ac_compiler=$2 3911 for ac_option in --version -v -V -qversion; do 3912 { { ac_try="$ac_compiler $ac_option >&5" 3262 3913 case "(($ac_try" in 3263 3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3264 3915 *) ac_try_echo=$ac_try;; 3265 3916 esac 3266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3267 (eval "$ac_compiler --version >&5") 2>&5 3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3918 $as_echo "$ac_try_echo"; } >&5 3919 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3268 3920 ac_status=$? 3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3270 (exit $ac_status); } 3271 { (ac_try="$ac_compiler -v >&5" 3272 case "(($ac_try" in 3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3274 *) ac_try_echo=$ac_try;; 3275 esac 3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3277 (eval "$ac_compiler -v >&5") 2>&5 3278 ac_status=$? 3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3280 (exit $ac_status); } 3281 { (ac_try="$ac_compiler -V >&5" 3282 case "(($ac_try" in 3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3284 *) ac_try_echo=$ac_try;; 3285 esac 3286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3287 (eval "$ac_compiler -V >&5") 2>&5 3288 ac_status=$? 3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3290 (exit $ac_status); } 3291 3292 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3293 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3294 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3295 echo $ECHO_N "(cached) $ECHO_C" >&6 3296 else 3297 cat >conftest.$ac_ext <<_ACEOF 3298 /* confdefs.h. */ 3299 _ACEOF 3300 cat confdefs.h >>conftest.$ac_ext 3301 cat >>conftest.$ac_ext <<_ACEOF 3921 if test -s conftest.err; then 3922 sed '10a\ 3923 ... rest of stderr output deleted ... 3924 10q' conftest.err >conftest.er1 3925 cat conftest.er1 >&5 3926 fi 3927 rm -f conftest.er1 conftest.err 3928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3929 test $ac_status = 0; } 3930 done 3931 3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3933 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3934 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3935 $as_echo_n "(cached) " >&6 3936 else 3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3302 3938 /* end confdefs.h. */ 3303 3939 … … 3313 3949 } 3314 3950 _ACEOF 3315 rm -f conftest.$ac_objext 3316 if { (ac_try="$ac_compile" 3317 case "(($ac_try" in 3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3319 *) ac_try_echo=$ac_try;; 3320 esac 3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3322 (eval "$ac_compile") 2>conftest.er1 3323 ac_status=$? 3324 grep -v '^ *+' conftest.er1 >conftest.err 3325 rm -f conftest.er1 3326 cat conftest.err >&5 3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3328 (exit $ac_status); } && { 3329 test -z "$ac_cxx_werror_flag" || 3330 test ! -s conftest.err 3331 } && test -s conftest.$ac_objext; then 3951 if ac_fn_cxx_try_compile "$LINENO"; then : 3332 3952 ac_compiler_gnu=yes 3333 3953 else 3334 echo "$as_me: failed program was:" >&5 3335 sed 's/^/| /' conftest.$ac_ext >&5 3336 3337 ac_compiler_gnu=no 3338 fi 3339 3954 ac_compiler_gnu=no 3955 fi 3340 3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3341 3957 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3342 3958 3343 3959 fi 3344 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3345 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3346 GXX=`test $ac_compiler_gnu = yes && echo yes` 3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3961 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3962 if test $ac_compiler_gnu = yes; then 3963 GXX=yes 3964 else 3965 GXX= 3966 fi 3347 3967 ac_test_CXXFLAGS=${CXXFLAGS+set} 3348 3968 ac_save_CXXFLAGS=$CXXFLAGS 3349 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53350 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3351 if test "${ac_cv_prog_cxx_g+set}" = set; then3352 echo $ECHO_N "(cached) $ECHO_C" >&63969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3970 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3971 if ${ac_cv_prog_cxx_g+:} false; then : 3972 $as_echo_n "(cached) " >&6 3353 3973 else 3354 3974 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3356 3976 ac_cv_prog_cxx_g=no 3357 3977 CXXFLAGS="-g" 3358 cat >conftest.$ac_ext <<_ACEOF 3359 /* confdefs.h. */ 3360 _ACEOF 3361 cat confdefs.h >>conftest.$ac_ext 3362 cat >>conftest.$ac_ext <<_ACEOF 3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3363 3979 /* end confdefs.h. */ 3364 3980 … … 3371 3987 } 3372 3988 _ACEOF 3373 rm -f conftest.$ac_objext 3374 if { (ac_try="$ac_compile" 3375 case "(($ac_try" in 3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3377 *) ac_try_echo=$ac_try;; 3378 esac 3379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3380 (eval "$ac_compile") 2>conftest.er1 3381 ac_status=$? 3382 grep -v '^ *+' conftest.er1 >conftest.err 3383 rm -f conftest.er1 3384 cat conftest.err >&5 3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3386 (exit $ac_status); } && { 3387 test -z "$ac_cxx_werror_flag" || 3388 test ! -s conftest.err 3389 } && test -s conftest.$ac_objext; then 3989 if ac_fn_cxx_try_compile "$LINENO"; then : 3390 3990 ac_cv_prog_cxx_g=yes 3391 3991 else 3392 echo "$as_me: failed program was:" >&5 3393 sed 's/^/| /' conftest.$ac_ext >&5 3394 3395 CXXFLAGS="" 3396 cat >conftest.$ac_ext <<_ACEOF 3397 /* confdefs.h. */ 3398 _ACEOF 3399 cat confdefs.h >>conftest.$ac_ext 3400 cat >>conftest.$ac_ext <<_ACEOF 3992 CXXFLAGS="" 3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3401 3994 /* end confdefs.h. */ 3402 3995 … … 3409 4002 } 3410 4003 _ACEOF 3411 rm -f conftest.$ac_objext 3412 if { (ac_try="$ac_compile" 3413 case "(($ac_try" in 3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3415 *) ac_try_echo=$ac_try;; 3416 esac 3417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3418 (eval "$ac_compile") 2>conftest.er1 3419 ac_status=$? 3420 grep -v '^ *+' conftest.er1 >conftest.err 3421 rm -f conftest.er1 3422 cat conftest.err >&5 3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3424 (exit $ac_status); } && { 3425 test -z "$ac_cxx_werror_flag" || 3426 test ! -s conftest.err 3427 } && test -s conftest.$ac_objext; then 3428 : 3429 else 3430 echo "$as_me: failed program was:" >&5 3431 sed 's/^/| /' conftest.$ac_ext >&5 3432 3433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4004 if ac_fn_cxx_try_compile "$LINENO"; then : 4005 4006 else 4007 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3434 4008 CXXFLAGS="-g" 3435 cat >conftest.$ac_ext <<_ACEOF 3436 /* confdefs.h. */ 3437 _ACEOF 3438 cat confdefs.h >>conftest.$ac_ext 3439 cat >>conftest.$ac_ext <<_ACEOF 4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3440 4010 /* end confdefs.h. */ 3441 4011 … … 3448 4018 } 3449 4019 _ACEOF 3450 rm -f conftest.$ac_objext 3451 if { (ac_try="$ac_compile" 3452 case "(($ac_try" in 3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3454 *) ac_try_echo=$ac_try;; 3455 esac 3456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3457 (eval "$ac_compile") 2>conftest.er1 3458 ac_status=$? 3459 grep -v '^ *+' conftest.er1 >conftest.err 3460 rm -f conftest.er1 3461 cat conftest.err >&5 3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3463 (exit $ac_status); } && { 3464 test -z "$ac_cxx_werror_flag" || 3465 test ! -s conftest.err 3466 } && test -s conftest.$ac_objext; then 4020 if ac_fn_cxx_try_compile "$LINENO"; then : 3467 4021 ac_cv_prog_cxx_g=yes 3468 else 3469 echo "$as_me: failed program was:" >&5 3470 sed 's/^/| /' conftest.$ac_ext >&5 3471 3472 3473 fi 3474 4022 fi 3475 4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3476 4024 fi 3477 3478 4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3479 4026 fi 3480 3481 4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3482 4028 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3483 4029 fi 3484 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53485 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4031 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3486 4032 if test "$ac_test_CXXFLAGS" = set; then 3487 4033 CXXFLAGS=$ac_save_CXXFLAGS … … 3515 4061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3516 4062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3517 { echo "$as_me:$LINENO: checking for $ac_word" >&53518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3519 if test "${ac_cv_prog_F77+set}" = set; then3520 echo $ECHO_N "(cached) $ECHO_C" >&64063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4064 $as_echo_n "checking for $ac_word... " >&6; } 4065 if ${ac_cv_prog_F77+:} false; then : 4066 $as_echo_n "(cached) " >&6 3521 4067 else 3522 4068 if test -n "$F77"; then … … 3528 4074 IFS=$as_save_IFS 3529 4075 test -z "$as_dir" && as_dir=. 3530 for ac_exec_ext in '' $ac_executable_extensions; do4076 for ac_exec_ext in '' $ac_executable_extensions; do 3531 4077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3532 4078 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3534 4080 break 2 3535 4081 fi 3536 4082 done 3537 done4083 done 3538 4084 IFS=$as_save_IFS 3539 4085 … … 3542 4088 F77=$ac_cv_prog_F77 3543 4089 if test -n "$F77"; then 3544 { echo "$as_me:$LINENO: result: $F77" >&53545 echo "${ECHO_T}$F77" >&6; }3546 else 3547 { echo "$as_me:$LINENO: result: no" >&53548 echo "${ECHO_T}no" >&6; }4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4091 $as_echo "$F77" >&6; } 4092 else 4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4094 $as_echo "no" >&6; } 3549 4095 fi 3550 4096 … … 3559 4105 # Extract the first word of "$ac_prog", so it can be a program name with args. 3560 4106 set dummy $ac_prog; ac_word=$2 3561 { echo "$as_me:$LINENO: checking for $ac_word" >&53562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3563 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then3564 echo $ECHO_N "(cached) $ECHO_C" >&64107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4108 $as_echo_n "checking for $ac_word... " >&6; } 4109 if ${ac_cv_prog_ac_ct_F77+:} false; then : 4110 $as_echo_n "(cached) " >&6 3565 4111 else 3566 4112 if test -n "$ac_ct_F77"; then … … 3572 4118 IFS=$as_save_IFS 3573 4119 test -z "$as_dir" && as_dir=. 3574 for ac_exec_ext in '' $ac_executable_extensions; do4120 for ac_exec_ext in '' $ac_executable_extensions; do 3575 4121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3576 4122 ac_cv_prog_ac_ct_F77="$ac_prog" 3577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3578 4124 break 2 3579 4125 fi 3580 4126 done 3581 done4127 done 3582 4128 IFS=$as_save_IFS 3583 4129 … … 3586 4132 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3587 4133 if test -n "$ac_ct_F77"; then 3588 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53589 echo "${ECHO_T}$ac_ct_F77" >&6; }3590 else 3591 { echo "$as_me:$LINENO: result: no" >&53592 echo "${ECHO_T}no" >&6; }4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4135 $as_echo "$ac_ct_F77" >&6; } 4136 else 4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4138 $as_echo "no" >&6; } 3593 4139 fi 3594 4140 … … 3602 4148 case $cross_compiling:$ac_tool_warned in 3603 4149 yes:) 3604 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3605 whose name does not start with the host triplet. If you think this 3606 configuration is useful to you, please write to autoconf@gnu.org." >&5 3607 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3608 whose name does not start with the host triplet. If you think this 3609 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3610 4152 ac_tool_warned=yes ;; 3611 4153 esac … … 3616 4158 3617 4159 # Provide some information about the compiler. 3618 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3619 ac_compiler=`set X $ac_compile; echo $2` 3620 { (ac_try="$ac_compiler --version >&5" 4160 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4161 set X $ac_compile 4162 ac_compiler=$2 4163 for ac_option in --version -v -V -qversion; do 4164 { { ac_try="$ac_compiler $ac_option >&5" 3621 4165 case "(($ac_try" in 3622 4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3623 4167 *) ac_try_echo=$ac_try;; 3624 4168 esac 3625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3626 (eval "$ac_compiler --version >&5") 2>&5 4169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4170 $as_echo "$ac_try_echo"; } >&5 4171 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3627 4172 ac_status=$? 3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3629 (exit $ac_status); } 3630 { (ac_try="$ac_compiler -v >&5" 3631 case "(($ac_try" in 3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3633 *) ac_try_echo=$ac_try;; 3634 esac 3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3636 (eval "$ac_compiler -v >&5") 2>&5 3637 ac_status=$? 3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3639 (exit $ac_status); } 3640 { (ac_try="$ac_compiler -V >&5" 3641 case "(($ac_try" in 3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3643 *) ac_try_echo=$ac_try;; 3644 esac 3645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3646 (eval "$ac_compiler -V >&5") 2>&5 3647 ac_status=$? 3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3649 (exit $ac_status); } 4173 if test -s conftest.err; then 4174 sed '10a\ 4175 ... rest of stderr output deleted ... 4176 10q' conftest.err >conftest.er1 4177 cat conftest.er1 >&5 4178 fi 4179 rm -f conftest.er1 conftest.err 4180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4181 test $ac_status = 0; } 4182 done 3650 4183 rm -f a.out 3651 4184 … … 3654 4187 ac_save_ext=$ac_ext 3655 4188 ac_ext=F 3656 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53657 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3658 if test "${ac_cv_f77_compiler_gnu+set}" = set; then3659 echo $ECHO_N "(cached) $ECHO_C" >&63660 else 3661 cat > conftest.$ac_ext <<_ACEOF4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4190 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4191 if ${ac_cv_f77_compiler_gnu+:} false; then : 4192 $as_echo_n "(cached) " >&6 4193 else 4194 cat > conftest.$ac_ext <<_ACEOF 3662 4195 program main 3663 4196 #ifndef __GNUC__ … … 3667 4200 end 3668 4201 _ACEOF 3669 rm -f conftest.$ac_objext 3670 if { (ac_try="$ac_compile" 3671 case "(($ac_try" in 3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3673 *) ac_try_echo=$ac_try;; 3674 esac 3675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3676 (eval "$ac_compile") 2>conftest.er1 3677 ac_status=$? 3678 grep -v '^ *+' conftest.er1 >conftest.err 3679 rm -f conftest.er1 3680 cat conftest.err >&5 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3682 (exit $ac_status); } && { 3683 test -z "$ac_f77_werror_flag" || 3684 test ! -s conftest.err 3685 } && test -s conftest.$ac_objext; then 4202 if ac_fn_f77_try_compile "$LINENO"; then : 3686 4203 ac_compiler_gnu=yes 3687 4204 else 3688 echo "$as_me: failed program was:" >&5 3689 sed 's/^/| /' conftest.$ac_ext >&5 3690 3691 ac_compiler_gnu=no 3692 fi 3693 4205 ac_compiler_gnu=no 4206 fi 3694 4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3695 4208 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3696 4209 3697 4210 fi 3698 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53699 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4212 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3700 4213 ac_ext=$ac_save_ext 3701 4214 ac_test_FFLAGS=${FFLAGS+set} 3702 4215 ac_save_FFLAGS=$FFLAGS 3703 4216 FFLAGS= 3704 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53705 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3706 if test "${ac_cv_prog_f77_g+set}" = set; then3707 echo $ECHO_N "(cached) $ECHO_C" >&64217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4218 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4219 if ${ac_cv_prog_f77_g+:} false; then : 4220 $as_echo_n "(cached) " >&6 3708 4221 else 3709 4222 FFLAGS=-g 3710 cat > conftest.$ac_ext <<_ACEOF4223 cat > conftest.$ac_ext <<_ACEOF 3711 4224 program main 3712 4225 3713 4226 end 3714 4227 _ACEOF 3715 rm -f conftest.$ac_objext 3716 if { (ac_try="$ac_compile" 3717 case "(($ac_try" in 3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3719 *) ac_try_echo=$ac_try;; 3720 esac 3721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3722 (eval "$ac_compile") 2>conftest.er1 3723 ac_status=$? 3724 grep -v '^ *+' conftest.er1 >conftest.err 3725 rm -f conftest.er1 3726 cat conftest.err >&5 3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3728 (exit $ac_status); } && { 3729 test -z "$ac_f77_werror_flag" || 3730 test ! -s conftest.err 3731 } && test -s conftest.$ac_objext; then 4228 if ac_fn_f77_try_compile "$LINENO"; then : 3732 4229 ac_cv_prog_f77_g=yes 3733 4230 else 3734 echo "$as_me: failed program was:" >&5 3735 sed 's/^/| /' conftest.$ac_ext >&5 3736 3737 ac_cv_prog_f77_g=no 3738 fi 3739 4231 ac_cv_prog_f77_g=no 4232 fi 3740 4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3741 4234 3742 4235 fi 3743 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53744 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4237 $as_echo "$ac_cv_prog_f77_g" >&6; } 3745 4238 if test "$ac_test_FFLAGS" = set; then 3746 4239 FFLAGS=$ac_save_FFLAGS … … 3759 4252 fi 3760 4253 3761 G77=`test $ac_compiler_gnu = yes && echo yes` 4254 if test $ac_compiler_gnu = yes; then 4255 G77=yes 4256 else 4257 G77= 4258 fi 3762 4259 ac_ext=c 3763 4260 ac_cpp='$CPP $CPPFLAGS' … … 3780 4277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3781 4278 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3782 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53783 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4280 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3784 4281 # On Suns, sometimes $CPP names a directory. 3785 4282 if test -n "$CPP" && test -d "$CPP"; then … … 3787 4284 fi 3788 4285 if test -z "$CPP"; then 3789 if test "${ac_cv_prog_CPP+set}" = set; then3790 echo $ECHO_N "(cached) $ECHO_C" >&64286 if ${ac_cv_prog_CPP+:} false; then : 4287 $as_echo_n "(cached) " >&6 3791 4288 else 3792 4289 # Double quotes because CPP needs to be expanded … … 3802 4299 # On the NeXT, cc -E runs the code through the compiler's parser, 3803 4300 # not just through cpp. "Syntax error" is here to catch this case. 3804 cat >conftest.$ac_ext <<_ACEOF 3805 /* confdefs.h. */ 3806 _ACEOF 3807 cat confdefs.h >>conftest.$ac_ext 3808 cat >>conftest.$ac_ext <<_ACEOF 4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3809 4302 /* end confdefs.h. */ 3810 4303 #ifdef __STDC__ … … 3815 4308 Syntax error 3816 4309 _ACEOF 3817 if { (ac_try="$ac_cpp conftest.$ac_ext" 3818 case "(($ac_try" in 3819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3820 *) ac_try_echo=$ac_try;; 3821 esac 3822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3824 ac_status=$? 3825 grep -v '^ *+' conftest.er1 >conftest.err 3826 rm -f conftest.er1 3827 cat conftest.err >&5 3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3829 (exit $ac_status); } >/dev/null && { 3830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3831 test ! -s conftest.err 3832 }; then 3833 : 3834 else 3835 echo "$as_me: failed program was:" >&5 3836 sed 's/^/| /' conftest.$ac_ext >&5 3837 4310 if ac_fn_c_try_cpp "$LINENO"; then : 4311 4312 else 3838 4313 # Broken: fails on valid input. 3839 4314 continue 3840 4315 fi 3841 3842 rm -f conftest.err conftest.$ac_ext 4316 rm -f conftest.err conftest.i conftest.$ac_ext 3843 4317 3844 4318 # OK, works on sane cases. Now check whether nonexistent headers 3845 4319 # can be detected and how. 3846 cat >conftest.$ac_ext <<_ACEOF 3847 /* confdefs.h. */ 3848 _ACEOF 3849 cat confdefs.h >>conftest.$ac_ext 3850 cat >>conftest.$ac_ext <<_ACEOF 4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3851 4321 /* end confdefs.h. */ 3852 4322 #include <ac_nonexistent.h> 3853 4323 _ACEOF 3854 if { (ac_try="$ac_cpp conftest.$ac_ext" 3855 case "(($ac_try" in 3856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3857 *) ac_try_echo=$ac_try;; 3858 esac 3859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3861 ac_status=$? 3862 grep -v '^ *+' conftest.er1 >conftest.err 3863 rm -f conftest.er1 3864 cat conftest.err >&5 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); } >/dev/null && { 3867 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3868 test ! -s conftest.err 3869 }; then 4324 if ac_fn_c_try_cpp "$LINENO"; then : 3870 4325 # Broken: success on invalid input. 3871 4326 continue 3872 4327 else 3873 echo "$as_me: failed program was:" >&53874 sed 's/^/| /' conftest.$ac_ext >&53875 3876 4328 # Passes both tests. 3877 4329 ac_preproc_ok=: 3878 4330 break 3879 4331 fi 3880 3881 rm -f conftest.err conftest.$ac_ext 4332 rm -f conftest.err conftest.i conftest.$ac_ext 3882 4333 3883 4334 done 3884 4335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3885 rm -f conftest. err conftest.$ac_ext3886 if $ac_preproc_ok; then 4336 rm -f conftest.i conftest.err conftest.$ac_ext 4337 if $ac_preproc_ok; then : 3887 4338 break 3888 4339 fi … … 3896 4347 ac_cv_prog_CPP=$CPP 3897 4348 fi 3898 { echo "$as_me:$LINENO: result: $CPP" >&53899 echo "${ECHO_T}$CPP" >&6; }4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4350 $as_echo "$CPP" >&6; } 3900 4351 ac_preproc_ok=false 3901 4352 for ac_c_preproc_warn_flag in '' yes … … 3907 4358 # On the NeXT, cc -E runs the code through the compiler's parser, 3908 4359 # not just through cpp. "Syntax error" is here to catch this case. 3909 cat >conftest.$ac_ext <<_ACEOF 3910 /* confdefs.h. */ 3911 _ACEOF 3912 cat confdefs.h >>conftest.$ac_ext 3913 cat >>conftest.$ac_ext <<_ACEOF 4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3914 4361 /* end confdefs.h. */ 3915 4362 #ifdef __STDC__ … … 3920 4367 Syntax error 3921 4368 _ACEOF 3922 if { (ac_try="$ac_cpp conftest.$ac_ext" 3923 case "(($ac_try" in 3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3925 *) ac_try_echo=$ac_try;; 3926 esac 3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3929 ac_status=$? 3930 grep -v '^ *+' conftest.er1 >conftest.err 3931 rm -f conftest.er1 3932 cat conftest.err >&5 3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3934 (exit $ac_status); } >/dev/null && { 3935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3936 test ! -s conftest.err 3937 }; then 3938 : 3939 else 3940 echo "$as_me: failed program was:" >&5 3941 sed 's/^/| /' conftest.$ac_ext >&5 3942 4369 if ac_fn_c_try_cpp "$LINENO"; then : 4370 4371 else 3943 4372 # Broken: fails on valid input. 3944 4373 continue 3945 4374 fi 3946 3947 rm -f conftest.err conftest.$ac_ext 4375 rm -f conftest.err conftest.i conftest.$ac_ext 3948 4376 3949 4377 # OK, works on sane cases. Now check whether nonexistent headers 3950 4378 # can be detected and how. 3951 cat >conftest.$ac_ext <<_ACEOF 3952 /* confdefs.h. */ 3953 _ACEOF 3954 cat confdefs.h >>conftest.$ac_ext 3955 cat >>conftest.$ac_ext <<_ACEOF 4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3956 4380 /* end confdefs.h. */ 3957 4381 #include <ac_nonexistent.h> 3958 4382 _ACEOF 3959 if { (ac_try="$ac_cpp conftest.$ac_ext" 3960 case "(($ac_try" in 3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3962 *) ac_try_echo=$ac_try;; 3963 esac 3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3966 ac_status=$? 3967 grep -v '^ *+' conftest.er1 >conftest.err 3968 rm -f conftest.er1 3969 cat conftest.err >&5 3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3971 (exit $ac_status); } >/dev/null && { 3972 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3973 test ! -s conftest.err 3974 }; then 4383 if ac_fn_c_try_cpp "$LINENO"; then : 3975 4384 # Broken: success on invalid input. 3976 4385 continue 3977 4386 else 3978 echo "$as_me: failed program was:" >&53979 sed 's/^/| /' conftest.$ac_ext >&53980 3981 4387 # Passes both tests. 3982 4388 ac_preproc_ok=: 3983 4389 break 3984 4390 fi 3985 3986 rm -f conftest.err conftest.$ac_ext 4391 rm -f conftest.err conftest.i conftest.$ac_ext 3987 4392 3988 4393 done 3989 4394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3990 rm -f conftest.err conftest.$ac_ext 3991 if $ac_preproc_ok; then 3992 : 3993 else 3994 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3995 See \`config.log' for more details." >&5 3996 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3997 See \`config.log' for more details." >&2;} 3998 { (exit 1); exit 1; }; } 4395 rm -f conftest.i conftest.err conftest.$ac_ext 4396 if $ac_preproc_ok; then : 4397 4398 else 4399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4401 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4402 See \`config.log' for more details" "$LINENO" 5; } 3999 4403 fi 4000 4404 … … 4006 4410 4007 4411 4008 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4009 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4010 if test "${ac_cv_path_GREP+set}" = set; then 4011 echo $ECHO_N "(cached) $ECHO_C" >&6 4012 else 4013 # Extract the first word of "grep ggrep" to use in msg output 4014 if test -z "$GREP"; then 4015 set dummy grep ggrep; ac_prog_name=$2 4016 if test "${ac_cv_path_GREP+set}" = set; then 4017 echo $ECHO_N "(cached) $ECHO_C" >&6 4018 else 4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4413 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4414 if ${ac_cv_path_GREP+:} false; then : 4415 $as_echo_n "(cached) " >&6 4416 else 4417 if test -z "$GREP"; then 4019 4418 ac_path_GREP_found=false 4020 # Loop through the user's path and test for each of PROGNAME-LIST4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4419 # Loop through the user's path and test for each of PROGNAME-LIST 4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4022 4421 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4023 4422 do 4024 4423 IFS=$as_save_IFS 4025 4424 test -z "$as_dir" && as_dir=. 4026 for ac_prog in grep ggrep; do4027 for ac_exec_ext in '' $ac_executable_extensions; do4028 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4029 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4030 4425 for ac_prog in grep ggrep; do 4426 for ac_exec_ext in '' $ac_executable_extensions; do 4427 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4428 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4429 # Check for GNU ac_path_GREP and select it if it is found. 4031 4430 # Check for GNU $ac_path_GREP 4032 4431 case `"$ac_path_GREP" --version 2>&1` in … … 4035 4434 *) 4036 4435 ac_count=0 4037 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4436 $as_echo_n 0123456789 >"conftest.in" 4038 4437 while : 4039 4438 do … … 4041 4440 mv "conftest.tmp" "conftest.in" 4042 4441 cp "conftest.in" "conftest.nl" 4043 echo 'GREP' >> "conftest.nl"4442 $as_echo 'GREP' >> "conftest.nl" 4044 4443 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4045 4444 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4046 a c_count=`expr $ac_count + 1`4445 as_fn_arith $ac_count + 1 && ac_count=$as_val 4047 4446 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4048 4447 # Best one so far, save it but keep looking for a better one … … 4056 4455 esac 4057 4456 4058 4059 $ac_path_GREP_found && break 34457 $ac_path_GREP_found && break 3 4458 done 4060 4459 done 4061 done 4062 4063 done 4460 done 4064 4461 IFS=$as_save_IFS 4065 4066 4067 fi 4068 4069 GREP="$ac_cv_path_GREP" 4070 if test -z "$GREP"; then 4071 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4072 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4073 { (exit 1); exit 1; }; } 4074 fi 4075 4462 if test -z "$ac_cv_path_GREP"; then 4463 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4464 fi 4076 4465 else 4077 4466 ac_cv_path_GREP=$GREP 4078 4467 fi 4079 4468 4080 4081 fi 4082 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4083 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4469 fi 4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4471 $as_echo "$ac_cv_path_GREP" >&6; } 4084 4472 GREP="$ac_cv_path_GREP" 4085 4473 4086 4474 4087 { echo "$as_me:$LINENO: checking for egrep" >&54088 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4089 if test "${ac_cv_path_EGREP+set}" = set; then4090 echo $ECHO_N "(cached) $ECHO_C" >&64475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4476 $as_echo_n "checking for egrep... " >&6; } 4477 if ${ac_cv_path_EGREP+:} false; then : 4478 $as_echo_n "(cached) " >&6 4091 4479 else 4092 4480 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4093 4481 then ac_cv_path_EGREP="$GREP -E" 4094 4482 else 4095 # Extract the first word of "egrep" to use in msg output 4096 if test -z "$EGREP"; then 4097 set dummy egrep; ac_prog_name=$2 4098 if test "${ac_cv_path_EGREP+set}" = set; then 4099 echo $ECHO_N "(cached) $ECHO_C" >&6 4100 else 4483 if test -z "$EGREP"; then 4101 4484 ac_path_EGREP_found=false 4102 # Loop through the user's path and test for each of PROGNAME-LIST4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4485 # Loop through the user's path and test for each of PROGNAME-LIST 4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4104 4487 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4105 4488 do 4106 4489 IFS=$as_save_IFS 4107 4490 test -z "$as_dir" && as_dir=. 4108 for ac_prog in egrep; do4109 for ac_exec_ext in '' $ac_executable_extensions; do4110 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4111 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4112 4491 for ac_prog in egrep; do 4492 for ac_exec_ext in '' $ac_executable_extensions; do 4493 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4494 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4495 # Check for GNU ac_path_EGREP and select it if it is found. 4113 4496 # Check for GNU $ac_path_EGREP 4114 4497 case `"$ac_path_EGREP" --version 2>&1` in … … 4117 4500 *) 4118 4501 ac_count=0 4119 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4502 $as_echo_n 0123456789 >"conftest.in" 4120 4503 while : 4121 4504 do … … 4123 4506 mv "conftest.tmp" "conftest.in" 4124 4507 cp "conftest.in" "conftest.nl" 4125 echo 'EGREP' >> "conftest.nl"4508 $as_echo 'EGREP' >> "conftest.nl" 4126 4509 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4127 4510 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4128 a c_count=`expr $ac_count + 1`4511 as_fn_arith $ac_count + 1 && ac_count=$as_val 4129 4512 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4130 4513 # Best one so far, save it but keep looking for a better one … … 4138 4521 esac 4139 4522 4140 4141 $ac_path_EGREP_found && break 34523 $ac_path_EGREP_found && break 3 4524 done 4142 4525 done 4143 done 4144 4145 done 4526 done 4146 4527 IFS=$as_save_IFS 4147 4148 4149 fi 4150 4151 EGREP="$ac_cv_path_EGREP" 4152 if test -z "$EGREP"; then 4153 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4154 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4155 { (exit 1); exit 1; }; } 4156 fi 4157 4528 if test -z "$ac_cv_path_EGREP"; then 4529 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4530 fi 4158 4531 else 4159 4532 ac_cv_path_EGREP=$EGREP 4160 4533 fi 4161 4534 4162 4163 4535 fi 4164 4536 fi 4165 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54166 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4538 $as_echo "$ac_cv_path_EGREP" >&6; } 4167 4539 EGREP="$ac_cv_path_EGREP" 4168 4540 4169 4541 4170 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4172 if test "${ac_cv_header_stdc+set}" = set; then 4173 echo $ECHO_N "(cached) $ECHO_C" >&6 4174 else 4175 cat >conftest.$ac_ext <<_ACEOF 4176 /* confdefs.h. */ 4177 _ACEOF 4178 cat confdefs.h >>conftest.$ac_ext 4179 cat >>conftest.$ac_ext <<_ACEOF 4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4543 $as_echo_n "checking for ANSI C header files... " >&6; } 4544 if ${ac_cv_header_stdc+:} false; then : 4545 $as_echo_n "(cached) " >&6 4546 else 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4180 4548 /* end confdefs.h. */ 4181 4549 #include <stdlib.h> … … 4192 4560 } 4193 4561 _ACEOF 4194 rm -f conftest.$ac_objext 4195 if { (ac_try="$ac_compile" 4196 case "(($ac_try" in 4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4198 *) ac_try_echo=$ac_try;; 4199 esac 4200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4201 (eval "$ac_compile") 2>conftest.er1 4202 ac_status=$? 4203 grep -v '^ *+' conftest.er1 >conftest.err 4204 rm -f conftest.er1 4205 cat conftest.err >&5 4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4207 (exit $ac_status); } && { 4208 test -z "$ac_c_werror_flag" || 4209 test ! -s conftest.err 4210 } && test -s conftest.$ac_objext; then 4562 if ac_fn_c_try_compile "$LINENO"; then : 4211 4563 ac_cv_header_stdc=yes 4212 4564 else 4213 echo "$as_me: failed program was:" >&5 4214 sed 's/^/| /' conftest.$ac_ext >&5 4215 4216 ac_cv_header_stdc=no 4217 fi 4218 4565 ac_cv_header_stdc=no 4566 fi 4219 4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4220 4568 4221 4569 if test $ac_cv_header_stdc = yes; then 4222 4570 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4223 cat >conftest.$ac_ext <<_ACEOF 4224 /* confdefs.h. */ 4225 _ACEOF 4226 cat confdefs.h >>conftest.$ac_ext 4227 cat >>conftest.$ac_ext <<_ACEOF 4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4228 4572 /* end confdefs.h. */ 4229 4573 #include <string.h> … … 4231 4575 _ACEOF 4232 4576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4233 $EGREP "memchr" >/dev/null 2>&1; then 4234 : 4577 $EGREP "memchr" >/dev/null 2>&1; then : 4578 4235 4579 else 4236 4580 ac_cv_header_stdc=no … … 4242 4586 if test $ac_cv_header_stdc = yes; then 4243 4587 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4244 cat >conftest.$ac_ext <<_ACEOF 4245 /* confdefs.h. */ 4246 _ACEOF 4247 cat confdefs.h >>conftest.$ac_ext 4248 cat >>conftest.$ac_ext <<_ACEOF 4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4249 4589 /* end confdefs.h. */ 4250 4590 #include <stdlib.h> … … 4252 4592 _ACEOF 4253 4593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4254 $EGREP "free" >/dev/null 2>&1; then 4255 : 4594 $EGREP "free" >/dev/null 2>&1; then : 4595 4256 4596 else 4257 4597 ac_cv_header_stdc=no … … 4263 4603 if test $ac_cv_header_stdc = yes; then 4264 4604 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4265 if test "$cross_compiling" = yes; then 4605 if test "$cross_compiling" = yes; then : 4266 4606 : 4267 4607 else 4268 cat >conftest.$ac_ext <<_ACEOF 4269 /* confdefs.h. */ 4270 _ACEOF 4271 cat confdefs.h >>conftest.$ac_ext 4272 cat >>conftest.$ac_ext <<_ACEOF 4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4273 4609 /* end confdefs.h. */ 4274 4610 #include <ctype.h> … … 4297 4633 } 4298 4634 _ACEOF 4299 rm -f conftest$ac_exeext 4300 if { (ac_try="$ac_link" 4301 case "(($ac_try" in 4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4303 *) ac_try_echo=$ac_try;; 4304 esac 4305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4306 (eval "$ac_link") 2>&5 4307 ac_status=$? 4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4310 { (case "(($ac_try" in 4311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4312 *) ac_try_echo=$ac_try;; 4313 esac 4314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4315 (eval "$ac_try") 2>&5 4316 ac_status=$? 4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4318 (exit $ac_status); }; }; then 4319 : 4320 else 4321 echo "$as_me: program exited with status $ac_status" >&5 4322 echo "$as_me: failed program was:" >&5 4323 sed 's/^/| /' conftest.$ac_ext >&5 4324 4325 ( exit $ac_status ) 4326 ac_cv_header_stdc=no 4327 fi 4328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4329 fi 4330 4331 4332 fi 4333 fi 4334 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4335 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4635 if ac_fn_c_try_run "$LINENO"; then : 4636 4637 else 4638 ac_cv_header_stdc=no 4639 fi 4640 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4641 conftest.$ac_objext conftest.beam conftest.$ac_ext 4642 fi 4643 4644 fi 4645 fi 4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4647 $as_echo "$ac_cv_header_stdc" >&6; } 4336 4648 if test $ac_cv_header_stdc = yes; then 4337 4649 4338 cat >>confdefs.h <<\_ACEOF 4339 #define STDC_HEADERS 1 4340 _ACEOF 4341 4342 fi 4343 4344 { echo "$as_me:$LINENO: checking for atol" >&5 4345 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4346 if test "${ac_cv_func_atol+set}" = set; then 4347 echo $ECHO_N "(cached) $ECHO_C" >&6 4348 else 4349 cat >conftest.$ac_ext <<_ACEOF 4350 /* confdefs.h. */ 4351 _ACEOF 4352 cat confdefs.h >>conftest.$ac_ext 4353 cat >>conftest.$ac_ext <<_ACEOF 4354 /* end confdefs.h. */ 4355 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4356 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4357 #define atol innocuous_atol 4358 4359 /* System header to define __stub macros and hopefully few prototypes, 4360 which can conflict with char atol (); below. 4361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4362 <limits.h> exists even on freestanding compilers. */ 4363 4364 #ifdef __STDC__ 4365 # include <limits.h> 4366 #else 4367 # include <assert.h> 4368 #endif 4369 4370 #undef atol 4371 4372 /* Override any GCC internal prototype to avoid an error. 4373 Use char because int might match the return type of a GCC 4374 builtin and then its argument prototype would still apply. */ 4375 #ifdef __cplusplus 4376 extern "C" 4377 #endif 4378 char atol (); 4379 /* The GNU C library defines this for functions which it implements 4380 to always fail with ENOSYS. Some functions are actually named 4381 something starting with __ and the normal name is an alias. */ 4382 #if defined __stub_atol || defined __stub___atol 4383 choke me 4384 #endif 4385 4386 int 4387 main () 4388 { 4389 return atol (); 4390 ; 4391 return 0; 4392 } 4393 _ACEOF 4394 rm -f conftest.$ac_objext conftest$ac_exeext 4395 if { (ac_try="$ac_link" 4396 case "(($ac_try" in 4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4398 *) ac_try_echo=$ac_try;; 4399 esac 4400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4401 (eval "$ac_link") 2>conftest.er1 4402 ac_status=$? 4403 grep -v '^ *+' conftest.er1 >conftest.err 4404 rm -f conftest.er1 4405 cat conftest.err >&5 4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4407 (exit $ac_status); } && { 4408 test -z "$ac_c_werror_flag" || 4409 test ! -s conftest.err 4410 } && test -s conftest$ac_exeext && 4411 $as_test_x conftest$ac_exeext; then 4412 ac_cv_func_atol=yes 4413 else 4414 echo "$as_me: failed program was:" >&5 4415 sed 's/^/| /' conftest.$ac_ext >&5 4416 4417 ac_cv_func_atol=no 4418 fi 4419 4420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4421 conftest$ac_exeext conftest.$ac_ext 4422 fi 4423 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4424 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4425 if test $ac_cv_func_atol = yes; then 4426 : 4427 else 4428 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4429 echo "$as_me: error: oops! no atol ?!?" >&2;} 4430 { (exit 1); exit 1; }; } 4650 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4651 4652 fi 4653 4654 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4655 if test "x$ac_cv_func_atol" = xyes; then : 4656 4657 else 4658 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4431 4659 fi 4432 4660 … … 4440 4668 4441 4669 4442 4443 4670 for ac_func in sysinfo 4444 do 4445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4446 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4448 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4449 echo $ECHO_N "(cached) $ECHO_C" >&6 4450 else 4451 cat >conftest.$ac_ext <<_ACEOF 4452 /* confdefs.h. */ 4453 _ACEOF 4454 cat confdefs.h >>conftest.$ac_ext 4455 cat >>conftest.$ac_ext <<_ACEOF 4456 /* end confdefs.h. */ 4457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4458 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4459 #define $ac_func innocuous_$ac_func 4460 4461 /* System header to define __stub macros and hopefully few prototypes, 4462 which can conflict with char $ac_func (); below. 4463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4464 <limits.h> exists even on freestanding compilers. */ 4465 4466 #ifdef __STDC__ 4467 # include <limits.h> 4468 #else 4469 # include <assert.h> 4470 #endif 4471 4472 #undef $ac_func 4473 4474 /* Override any GCC internal prototype to avoid an error. 4475 Use char because int might match the return type of a GCC 4476 builtin and then its argument prototype would still apply. */ 4477 #ifdef __cplusplus 4478 extern "C" 4479 #endif 4480 char $ac_func (); 4481 /* The GNU C library defines this for functions which it implements 4482 to always fail with ENOSYS. Some functions are actually named 4483 something starting with __ and the normal name is an alias. */ 4484 #if defined __stub_$ac_func || defined __stub___$ac_func 4485 choke me 4486 #endif 4487 4488 int 4489 main () 4490 { 4491 return $ac_func (); 4492 ; 4493 return 0; 4494 } 4495 _ACEOF 4496 rm -f conftest.$ac_objext conftest$ac_exeext 4497 if { (ac_try="$ac_link" 4498 case "(($ac_try" in 4499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4500 *) ac_try_echo=$ac_try;; 4501 esac 4502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4503 (eval "$ac_link") 2>conftest.er1 4504 ac_status=$? 4505 grep -v '^ *+' conftest.er1 >conftest.err 4506 rm -f conftest.er1 4507 cat conftest.err >&5 4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4509 (exit $ac_status); } && { 4510 test -z "$ac_cxx_werror_flag" || 4511 test ! -s conftest.err 4512 } && test -s conftest$ac_exeext && 4513 $as_test_x conftest$ac_exeext; then 4514 eval "$as_ac_var=yes" 4515 else 4516 echo "$as_me: failed program was:" >&5 4517 sed 's/^/| /' conftest.$ac_ext >&5 4518 4519 eval "$as_ac_var=no" 4520 fi 4521 4522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4523 conftest$ac_exeext conftest.$ac_ext 4524 fi 4525 ac_res=`eval echo '${'$as_ac_var'}'` 4526 { echo "$as_me:$LINENO: result: $ac_res" >&5 4527 echo "${ECHO_T}$ac_res" >&6; } 4528 if test `eval echo '${'$as_ac_var'}'` = yes; then 4671 do : 4672 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4673 if test "x$ac_cv_func_sysinfo" = xyes; then : 4529 4674 cat >>confdefs.h <<_ACEOF 4530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4531 _ACEOF 4532 4533 fi 4534 done 4535 4536 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4547 inttypes.h stdint.h unistd.h 4548 do 4549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4550 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4553 echo $ECHO_N "(cached) $ECHO_C" >&6 4554 else 4555 cat >conftest.$ac_ext <<_ACEOF 4556 /* confdefs.h. */ 4557 _ACEOF 4558 cat confdefs.h >>conftest.$ac_ext 4559 cat >>conftest.$ac_ext <<_ACEOF 4560 /* end confdefs.h. */ 4561 $ac_includes_default 4562 4563 #include <$ac_header> 4564 _ACEOF 4565 rm -f conftest.$ac_objext 4566 if { (ac_try="$ac_compile" 4567 case "(($ac_try" in 4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4569 *) ac_try_echo=$ac_try;; 4570 esac 4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4572 (eval "$ac_compile") 2>conftest.er1 4573 ac_status=$? 4574 grep -v '^ *+' conftest.er1 >conftest.err 4575 rm -f conftest.er1 4576 cat conftest.err >&5 4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4578 (exit $ac_status); } && { 4579 test -z "$ac_cxx_werror_flag" || 4580 test ! -s conftest.err 4581 } && test -s conftest.$ac_objext; then 4582 eval "$as_ac_Header=yes" 4583 else 4584 echo "$as_me: failed program was:" >&5 4585 sed 's/^/| /' conftest.$ac_ext >&5 4586 4587 eval "$as_ac_Header=no" 4588 fi 4589 4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4591 fi 4592 ac_res=`eval echo '${'$as_ac_Header'}'` 4593 { echo "$as_me:$LINENO: result: $ac_res" >&5 4594 echo "${ECHO_T}$ac_res" >&6; } 4595 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4596 cat >>confdefs.h <<_ACEOF 4597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4598 _ACEOF 4599 4600 fi 4601 4602 done 4603 4675 #define HAVE_SYSINFO 1 4676 _ACEOF 4677 4678 fi 4679 done 4604 4680 4605 4681 ac_ext=cpp … … 4608 4684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4609 4685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4610 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54611 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4687 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4612 4688 if test -z "$CXXCPP"; then 4613 if test "${ac_cv_prog_CXXCPP+set}" = set; then4614 echo $ECHO_N "(cached) $ECHO_C" >&64689 if ${ac_cv_prog_CXXCPP+:} false; then : 4690 $as_echo_n "(cached) " >&6 4615 4691 else 4616 4692 # Double quotes because CXXCPP needs to be expanded … … 4626 4702 # On the NeXT, cc -E runs the code through the compiler's parser, 4627 4703 # not just through cpp. "Syntax error" is here to catch this case. 4628 cat >conftest.$ac_ext <<_ACEOF 4629 /* confdefs.h. */ 4630 _ACEOF 4631 cat confdefs.h >>conftest.$ac_ext 4632 cat >>conftest.$ac_ext <<_ACEOF 4704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4633 4705 /* end confdefs.h. */ 4634 4706 #ifdef __STDC__ … … 4639 4711 Syntax error 4640 4712 _ACEOF 4641 if { (ac_try="$ac_cpp conftest.$ac_ext" 4642 case "(($ac_try" in 4643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4644 *) ac_try_echo=$ac_try;; 4645 esac 4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4648 ac_status=$? 4649 grep -v '^ *+' conftest.er1 >conftest.err 4650 rm -f conftest.er1 4651 cat conftest.err >&5 4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4653 (exit $ac_status); } >/dev/null && { 4654 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4655 test ! -s conftest.err 4656 }; then 4657 : 4658 else 4659 echo "$as_me: failed program was:" >&5 4660 sed 's/^/| /' conftest.$ac_ext >&5 4661 4713 if ac_fn_cxx_try_cpp "$LINENO"; then : 4714 4715 else 4662 4716 # Broken: fails on valid input. 4663 4717 continue 4664 4718 fi 4665 4666 rm -f conftest.err conftest.$ac_ext 4719 rm -f conftest.err conftest.i conftest.$ac_ext 4667 4720 4668 4721 # OK, works on sane cases. Now check whether nonexistent headers 4669 4722 # can be detected and how. 4670 cat >conftest.$ac_ext <<_ACEOF 4671 /* confdefs.h. */ 4672 _ACEOF 4673 cat confdefs.h >>conftest.$ac_ext 4674 cat >>conftest.$ac_ext <<_ACEOF 4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4675 4724 /* end confdefs.h. */ 4676 4725 #include <ac_nonexistent.h> 4677 4726 _ACEOF 4678 if { (ac_try="$ac_cpp conftest.$ac_ext" 4679 case "(($ac_try" in 4680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4681 *) ac_try_echo=$ac_try;; 4682 esac 4683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4685 ac_status=$? 4686 grep -v '^ *+' conftest.er1 >conftest.err 4687 rm -f conftest.er1 4688 cat conftest.err >&5 4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4690 (exit $ac_status); } >/dev/null && { 4691 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4692 test ! -s conftest.err 4693 }; then 4727 if ac_fn_cxx_try_cpp "$LINENO"; then : 4694 4728 # Broken: success on invalid input. 4695 4729 continue 4696 4730 else 4697 echo "$as_me: failed program was:" >&54698 sed 's/^/| /' conftest.$ac_ext >&54699 4700 4731 # Passes both tests. 4701 4732 ac_preproc_ok=: 4702 4733 break 4703 4734 fi 4704 4705 rm -f conftest.err conftest.$ac_ext 4735 rm -f conftest.err conftest.i conftest.$ac_ext 4706 4736 4707 4737 done 4708 4738 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4709 rm -f conftest. err conftest.$ac_ext4710 if $ac_preproc_ok; then 4739 rm -f conftest.i conftest.err conftest.$ac_ext 4740 if $ac_preproc_ok; then : 4711 4741 break 4712 4742 fi … … 4720 4750 ac_cv_prog_CXXCPP=$CXXCPP 4721 4751 fi 4722 { echo "$as_me:$LINENO: result: $CXXCPP" >&54723 echo "${ECHO_T}$CXXCPP" >&6; }4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4753 $as_echo "$CXXCPP" >&6; } 4724 4754 ac_preproc_ok=false 4725 4755 for ac_cxx_preproc_warn_flag in '' yes … … 4731 4761 # On the NeXT, cc -E runs the code through the compiler's parser, 4732 4762 # not just through cpp. "Syntax error" is here to catch this case. 4733 cat >conftest.$ac_ext <<_ACEOF 4734 /* confdefs.h. */ 4735 _ACEOF 4736 cat confdefs.h >>conftest.$ac_ext 4737 cat >>conftest.$ac_ext <<_ACEOF 4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4738 4764 /* end confdefs.h. */ 4739 4765 #ifdef __STDC__ … … 4744 4770 Syntax error 4745 4771 _ACEOF 4746 if { (ac_try="$ac_cpp conftest.$ac_ext" 4747 case "(($ac_try" in 4748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4749 *) ac_try_echo=$ac_try;; 4750 esac 4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4753 ac_status=$? 4754 grep -v '^ *+' conftest.er1 >conftest.err 4755 rm -f conftest.er1 4756 cat conftest.err >&5 4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4758 (exit $ac_status); } >/dev/null && { 4759 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4760 test ! -s conftest.err 4761 }; then 4762 : 4763 else 4764 echo "$as_me: failed program was:" >&5 4765 sed 's/^/| /' conftest.$ac_ext >&5 4766 4772 if ac_fn_cxx_try_cpp "$LINENO"; then : 4773 4774 else 4767 4775 # Broken: fails on valid input. 4768 4776 continue 4769 4777 fi 4770 4771 rm -f conftest.err conftest.$ac_ext 4778 rm -f conftest.err conftest.i conftest.$ac_ext 4772 4779 4773 4780 # OK, works on sane cases. Now check whether nonexistent headers 4774 4781 # can be detected and how. 4775 cat >conftest.$ac_ext <<_ACEOF 4776 /* confdefs.h. */ 4777 _ACEOF 4778 cat confdefs.h >>conftest.$ac_ext 4779 cat >>conftest.$ac_ext <<_ACEOF 4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4780 4783 /* end confdefs.h. */ 4781 4784 #include <ac_nonexistent.h> 4782 4785 _ACEOF 4783 if { (ac_try="$ac_cpp conftest.$ac_ext" 4784 case "(($ac_try" in 4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4786 *) ac_try_echo=$ac_try;; 4787 esac 4788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4790 ac_status=$? 4791 grep -v '^ *+' conftest.er1 >conftest.err 4792 rm -f conftest.er1 4793 cat conftest.err >&5 4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4795 (exit $ac_status); } >/dev/null && { 4796 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4797 test ! -s conftest.err 4798 }; then 4786 if ac_fn_cxx_try_cpp "$LINENO"; then : 4799 4787 # Broken: success on invalid input. 4800 4788 continue 4801 4789 else 4802 echo "$as_me: failed program was:" >&54803 sed 's/^/| /' conftest.$ac_ext >&54804 4805 4790 # Passes both tests. 4806 4791 ac_preproc_ok=: 4807 4792 break 4808 4793 fi 4809 4810 rm -f conftest.err conftest.$ac_ext 4794 rm -f conftest.err conftest.i conftest.$ac_ext 4811 4795 4812 4796 done 4813 4797 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4814 rm -f conftest.err conftest.$ac_ext 4815 if $ac_preproc_ok; then 4816 : 4817 else 4818 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4819 See \`config.log' for more details." >&5 4820 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4821 See \`config.log' for more details." >&2;} 4822 { (exit 1); exit 1; }; } 4798 rm -f conftest.i conftest.err conftest.$ac_ext 4799 if $ac_preproc_ok; then : 4800 4801 else 4802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4804 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4805 See \`config.log' for more details" "$LINENO" 5; } 4823 4806 fi 4824 4807 … … 4830 4813 4831 4814 4815 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4816 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4817 inttypes.h stdint.h unistd.h 4818 do : 4819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4820 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4821 " 4822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4823 cat >>confdefs.h <<_ACEOF 4824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4825 _ACEOF 4826 4827 fi 4828 4829 done 4830 4832 4831 4833 4832 for ac_header in sys/sysinfo.h 4834 do 4835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4837 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4840 echo $ECHO_N "(cached) $ECHO_C" >&6 4841 fi 4842 ac_res=`eval echo '${'$as_ac_Header'}'` 4843 { echo "$as_me:$LINENO: result: $ac_res" >&5 4844 echo "${ECHO_T}$ac_res" >&6; } 4845 else 4846 # Is the header compilable? 4847 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4849 cat >conftest.$ac_ext <<_ACEOF 4850 /* confdefs.h. */ 4851 _ACEOF 4852 cat confdefs.h >>conftest.$ac_ext 4853 cat >>conftest.$ac_ext <<_ACEOF 4854 /* end confdefs.h. */ 4855 $ac_includes_default 4856 #include <$ac_header> 4857 _ACEOF 4858 rm -f conftest.$ac_objext 4859 if { (ac_try="$ac_compile" 4860 case "(($ac_try" in 4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4862 *) ac_try_echo=$ac_try;; 4863 esac 4864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4865 (eval "$ac_compile") 2>conftest.er1 4866 ac_status=$? 4867 grep -v '^ *+' conftest.er1 >conftest.err 4868 rm -f conftest.er1 4869 cat conftest.err >&5 4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4871 (exit $ac_status); } && { 4872 test -z "$ac_cxx_werror_flag" || 4873 test ! -s conftest.err 4874 } && test -s conftest.$ac_objext; then 4875 ac_header_compiler=yes 4876 else 4877 echo "$as_me: failed program was:" >&5 4878 sed 's/^/| /' conftest.$ac_ext >&5 4879 4880 ac_header_compiler=no 4881 fi 4882 4883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4884 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4885 echo "${ECHO_T}$ac_header_compiler" >&6; } 4886 4887 # Is the header present? 4888 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4890 cat >conftest.$ac_ext <<_ACEOF 4891 /* confdefs.h. */ 4892 _ACEOF 4893 cat confdefs.h >>conftest.$ac_ext 4894 cat >>conftest.$ac_ext <<_ACEOF 4895 /* end confdefs.h. */ 4896 #include <$ac_header> 4897 _ACEOF 4898 if { (ac_try="$ac_cpp conftest.$ac_ext" 4899 case "(($ac_try" in 4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4901 *) ac_try_echo=$ac_try;; 4902 esac 4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4905 ac_status=$? 4906 grep -v '^ *+' conftest.er1 >conftest.err 4907 rm -f conftest.er1 4908 cat conftest.err >&5 4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4910 (exit $ac_status); } >/dev/null && { 4911 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4912 test ! -s conftest.err 4913 }; then 4914 ac_header_preproc=yes 4915 else 4916 echo "$as_me: failed program was:" >&5 4917 sed 's/^/| /' conftest.$ac_ext >&5 4918 4919 ac_header_preproc=no 4920 fi 4921 4922 rm -f conftest.err conftest.$ac_ext 4923 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4924 echo "${ECHO_T}$ac_header_preproc" >&6; } 4925 4926 # So? What about this header? 4927 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4928 yes:no: ) 4929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4932 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4933 ac_header_preproc=yes 4934 ;; 4935 no:yes:* ) 4936 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4937 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4938 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4939 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4940 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4941 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4942 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4943 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4946 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4947 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4948 ( cat <<\_ASBOX 4949 ## ----------------------------------- ## 4950 ## Report this to rappture@nanohub.org ## 4951 ## ----------------------------------- ## 4952 _ASBOX 4953 ) | sed "s/^/$as_me: WARNING: /" >&2 4954 ;; 4955 esac 4956 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4959 echo $ECHO_N "(cached) $ECHO_C" >&6 4960 else 4961 eval "$as_ac_Header=\$ac_header_preproc" 4962 fi 4963 ac_res=`eval echo '${'$as_ac_Header'}'` 4964 { echo "$as_me:$LINENO: result: $ac_res" >&5 4965 echo "${ECHO_T}$ac_res" >&6; } 4966 4967 fi 4968 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4833 do : 4834 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4835 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4969 4836 cat >>confdefs.h <<_ACEOF 4970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4971 _ACEOF 4972 4973 fi 4974 4975 done 4976 4977 4978 4979 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4980 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4981 if test "${ac_cv_lib_m_main+set}" = set; then 4982 echo $ECHO_N "(cached) $ECHO_C" >&6 4837 #define HAVE_SYS_SYSINFO_H 1 4838 _ACEOF 4839 4840 fi 4841 4842 done 4843 4844 4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4846 $as_echo_n "checking for main in -lm... " >&6; } 4847 if ${ac_cv_lib_m_main+:} false; then : 4848 $as_echo_n "(cached) " >&6 4983 4849 else 4984 4850 ac_check_lib_save_LIBS=$LIBS 4985 4851 LIBS="-lm $LIBS" 4986 cat >conftest.$ac_ext <<_ACEOF 4987 /* confdefs.h. */ 4988 _ACEOF 4989 cat confdefs.h >>conftest.$ac_ext 4990 cat >>conftest.$ac_ext <<_ACEOF 4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4991 4853 /* end confdefs.h. */ 4992 4854 … … 5000 4862 } 5001 4863 _ACEOF 5002 rm -f conftest.$ac_objext conftest$ac_exeext 5003 if { (ac_try="$ac_link" 5004 case "(($ac_try" in 5005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5006 *) ac_try_echo=$ac_try;; 5007 esac 5008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5009 (eval "$ac_link") 2>conftest.er1 5010 ac_status=$? 5011 grep -v '^ *+' conftest.er1 >conftest.err 5012 rm -f conftest.er1 5013 cat conftest.err >&5 5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5015 (exit $ac_status); } && { 5016 test -z "$ac_cxx_werror_flag" || 5017 test ! -s conftest.err 5018 } && test -s conftest$ac_exeext && 5019 $as_test_x conftest$ac_exeext; then 4864 if ac_fn_cxx_try_link "$LINENO"; then : 5020 4865 ac_cv_lib_m_main=yes 5021 4866 else 5022 echo "$as_me: failed program was:" >&5 5023 sed 's/^/| /' conftest.$ac_ext >&5 5024 5025 ac_cv_lib_m_main=no 5026 fi 5027 5028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5029 conftest$ac_exeext conftest.$ac_ext 4867 ac_cv_lib_m_main=no 4868 fi 4869 rm -f core conftest.err conftest.$ac_objext \ 4870 conftest$ac_exeext conftest.$ac_ext 5030 4871 LIBS=$ac_check_lib_save_LIBS 5031 4872 fi 5032 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55033 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5034 if test $ac_cv_lib_m_main = yes; then4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4874 $as_echo "$ac_cv_lib_m_main" >&6; } 4875 if test "x$ac_cv_lib_m_main" = xyes; then : 5035 4876 cat >>confdefs.h <<_ACEOF 5036 4877 #define HAVE_LIBM 1 … … 5040 4881 5041 4882 else 5042 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5043 echo "$as_me: error: librappture requires libm" >&2;} 5044 { (exit 1); exit 1; }; } 5045 fi 5046 5047 5048 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5049 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5050 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5051 echo $ECHO_N "(cached) $ECHO_C" >&6 4883 as_fn_error $? "librappture requires libm" "$LINENO" 5 4884 fi 4885 4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4887 $as_echo_n "checking for main in -lstdc++... " >&6; } 4888 if ${ac_cv_lib_stdcpp_main+:} false; then : 4889 $as_echo_n "(cached) " >&6 5052 4890 else 5053 4891 ac_check_lib_save_LIBS=$LIBS 5054 4892 LIBS="-lstdc++ $LIBS" 5055 cat >conftest.$ac_ext <<_ACEOF 5056 /* confdefs.h. */ 5057 _ACEOF 5058 cat confdefs.h >>conftest.$ac_ext 5059 cat >>conftest.$ac_ext <<_ACEOF 4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5060 4894 /* end confdefs.h. */ 5061 4895 … … 5069 4903 } 5070 4904 _ACEOF 5071 rm -f conftest.$ac_objext conftest$ac_exeext 5072 if { (ac_try="$ac_link" 5073 case "(($ac_try" in 5074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5075 *) ac_try_echo=$ac_try;; 5076 esac 5077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5078 (eval "$ac_link") 2>conftest.er1 5079 ac_status=$? 5080 grep -v '^ *+' conftest.er1 >conftest.err 5081 rm -f conftest.er1 5082 cat conftest.err >&5 5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5084 (exit $ac_status); } && { 5085 test -z "$ac_cxx_werror_flag" || 5086 test ! -s conftest.err 5087 } && test -s conftest$ac_exeext && 5088 $as_test_x conftest$ac_exeext; then 4905 if ac_fn_cxx_try_link "$LINENO"; then : 5089 4906 ac_cv_lib_stdcpp_main=yes 5090 4907 else 5091 echo "$as_me: failed program was:" >&5 5092 sed 's/^/| /' conftest.$ac_ext >&5 5093 5094 ac_cv_lib_stdcpp_main=no 5095 fi 5096 5097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5098 conftest$ac_exeext conftest.$ac_ext 4908 ac_cv_lib_stdcpp_main=no 4909 fi 4910 rm -f core conftest.err conftest.$ac_objext \ 4911 conftest$ac_exeext conftest.$ac_ext 5099 4912 LIBS=$ac_check_lib_save_LIBS 5100 4913 fi 5101 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55102 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5103 if test $ac_cv_lib_stdcpp_main = yes; then4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4915 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4916 if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 5104 4917 cat >>confdefs.h <<_ACEOF 5105 4918 #define HAVE_LIBSTDC__ 1 … … 5109 4922 5110 4923 else 5111 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5112 echo "$as_me: error: librappture requires libstdc++" >&2;} 5113 { (exit 1); exit 1; }; } 5114 fi 5115 4924 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 4925 fi 5116 4926 5117 4927 for ac_header in algorithm 5118 do 5119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5121 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5124 echo $ECHO_N "(cached) $ECHO_C" >&6 5125 fi 5126 ac_res=`eval echo '${'$as_ac_Header'}'` 5127 { echo "$as_me:$LINENO: result: $ac_res" >&5 5128 echo "${ECHO_T}$ac_res" >&6; } 5129 else 5130 # Is the header compilable? 5131 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5133 cat >conftest.$ac_ext <<_ACEOF 5134 /* confdefs.h. */ 5135 _ACEOF 5136 cat confdefs.h >>conftest.$ac_ext 5137 cat >>conftest.$ac_ext <<_ACEOF 5138 /* end confdefs.h. */ 5139 $ac_includes_default 5140 #include <$ac_header> 5141 _ACEOF 5142 rm -f conftest.$ac_objext 5143 if { (ac_try="$ac_compile" 5144 case "(($ac_try" in 5145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5146 *) ac_try_echo=$ac_try;; 5147 esac 5148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5149 (eval "$ac_compile") 2>conftest.er1 5150 ac_status=$? 5151 grep -v '^ *+' conftest.er1 >conftest.err 5152 rm -f conftest.er1 5153 cat conftest.err >&5 5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5155 (exit $ac_status); } && { 5156 test -z "$ac_cxx_werror_flag" || 5157 test ! -s conftest.err 5158 } && test -s conftest.$ac_objext; then 5159 ac_header_compiler=yes 5160 else 5161 echo "$as_me: failed program was:" >&5 5162 sed 's/^/| /' conftest.$ac_ext >&5 5163 5164 ac_header_compiler=no 5165 fi 5166 5167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5168 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5169 echo "${ECHO_T}$ac_header_compiler" >&6; } 5170 5171 # Is the header present? 5172 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5174 cat >conftest.$ac_ext <<_ACEOF 5175 /* confdefs.h. */ 5176 _ACEOF 5177 cat confdefs.h >>conftest.$ac_ext 5178 cat >>conftest.$ac_ext <<_ACEOF 5179 /* end confdefs.h. */ 5180 #include <$ac_header> 5181 _ACEOF 5182 if { (ac_try="$ac_cpp conftest.$ac_ext" 5183 case "(($ac_try" in 5184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5185 *) ac_try_echo=$ac_try;; 5186 esac 5187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5189 ac_status=$? 5190 grep -v '^ *+' conftest.er1 >conftest.err 5191 rm -f conftest.er1 5192 cat conftest.err >&5 5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5194 (exit $ac_status); } >/dev/null && { 5195 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5196 test ! -s conftest.err 5197 }; then 5198 ac_header_preproc=yes 5199 else 5200 echo "$as_me: failed program was:" >&5 5201 sed 's/^/| /' conftest.$ac_ext >&5 5202 5203 ac_header_preproc=no 5204 fi 5205 5206 rm -f conftest.err conftest.$ac_ext 5207 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5208 echo "${ECHO_T}$ac_header_preproc" >&6; } 5209 5210 # So? What about this header? 5211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5212 yes:no: ) 5213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5217 ac_header_preproc=yes 5218 ;; 5219 no:yes:* ) 5220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5232 ( cat <<\_ASBOX 5233 ## ----------------------------------- ## 5234 ## Report this to rappture@nanohub.org ## 5235 ## ----------------------------------- ## 5236 _ASBOX 5237 ) | sed "s/^/$as_me: WARNING: /" >&2 5238 ;; 5239 esac 5240 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5243 echo $ECHO_N "(cached) $ECHO_C" >&6 5244 else 5245 eval "$as_ac_Header=\$ac_header_preproc" 5246 fi 5247 ac_res=`eval echo '${'$as_ac_Header'}'` 5248 { echo "$as_me:$LINENO: result: $ac_res" >&5 5249 echo "${ECHO_T}$ac_res" >&6; } 5250 5251 fi 5252 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4928 do : 4929 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4930 if test "x$ac_cv_header_algorithm" = xyes; then : 5253 4931 cat >>confdefs.h <<_ACEOF 5254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5255 _ACEOF 5256 5257 else 5258 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5259 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5260 fi 5261 5262 done 5263 4932 #define HAVE_ALGORITHM 1 4933 _ACEOF 4934 4935 else 4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4937 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4938 fi 4939 4940 done 5264 4941 5265 4942 for ac_header in cctype 5266 do 5267 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5269 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5272 echo $ECHO_N "(cached) $ECHO_C" >&6 5273 fi 5274 ac_res=`eval echo '${'$as_ac_Header'}'` 5275 { echo "$as_me:$LINENO: result: $ac_res" >&5 5276 echo "${ECHO_T}$ac_res" >&6; } 5277 else 5278 # Is the header compilable? 5279 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5281 cat >conftest.$ac_ext <<_ACEOF 5282 /* confdefs.h. */ 5283 _ACEOF 5284 cat confdefs.h >>conftest.$ac_ext 5285 cat >>conftest.$ac_ext <<_ACEOF 5286 /* end confdefs.h. */ 5287 $ac_includes_default 5288 #include <$ac_header> 5289 _ACEOF 5290 rm -f conftest.$ac_objext 5291 if { (ac_try="$ac_compile" 5292 case "(($ac_try" in 5293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5294 *) ac_try_echo=$ac_try;; 5295 esac 5296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5297 (eval "$ac_compile") 2>conftest.er1 5298 ac_status=$? 5299 grep -v '^ *+' conftest.er1 >conftest.err 5300 rm -f conftest.er1 5301 cat conftest.err >&5 5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5303 (exit $ac_status); } && { 5304 test -z "$ac_cxx_werror_flag" || 5305 test ! -s conftest.err 5306 } && test -s conftest.$ac_objext; then 5307 ac_header_compiler=yes 5308 else 5309 echo "$as_me: failed program was:" >&5 5310 sed 's/^/| /' conftest.$ac_ext >&5 5311 5312 ac_header_compiler=no 5313 fi 5314 5315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5316 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5317 echo "${ECHO_T}$ac_header_compiler" >&6; } 5318 5319 # Is the header present? 5320 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5321 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5322 cat >conftest.$ac_ext <<_ACEOF 5323 /* confdefs.h. */ 5324 _ACEOF 5325 cat confdefs.h >>conftest.$ac_ext 5326 cat >>conftest.$ac_ext <<_ACEOF 5327 /* end confdefs.h. */ 5328 #include <$ac_header> 5329 _ACEOF 5330 if { (ac_try="$ac_cpp conftest.$ac_ext" 5331 case "(($ac_try" in 5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5333 *) ac_try_echo=$ac_try;; 5334 esac 5335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5337 ac_status=$? 5338 grep -v '^ *+' conftest.er1 >conftest.err 5339 rm -f conftest.er1 5340 cat conftest.err >&5 5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5342 (exit $ac_status); } >/dev/null && { 5343 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5344 test ! -s conftest.err 5345 }; then 5346 ac_header_preproc=yes 5347 else 5348 echo "$as_me: failed program was:" >&5 5349 sed 's/^/| /' conftest.$ac_ext >&5 5350 5351 ac_header_preproc=no 5352 fi 5353 5354 rm -f conftest.err conftest.$ac_ext 5355 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5356 echo "${ECHO_T}$ac_header_preproc" >&6; } 5357 5358 # So? What about this header? 5359 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5360 yes:no: ) 5361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5365 ac_header_preproc=yes 5366 ;; 5367 no:yes:* ) 5368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5380 ( cat <<\_ASBOX 5381 ## ----------------------------------- ## 5382 ## Report this to rappture@nanohub.org ## 5383 ## ----------------------------------- ## 5384 _ASBOX 5385 ) | sed "s/^/$as_me: WARNING: /" >&2 5386 ;; 5387 esac 5388 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5391 echo $ECHO_N "(cached) $ECHO_C" >&6 5392 else 5393 eval "$as_ac_Header=\$ac_header_preproc" 5394 fi 5395 ac_res=`eval echo '${'$as_ac_Header'}'` 5396 { echo "$as_me:$LINENO: result: $ac_res" >&5 5397 echo "${ECHO_T}$ac_res" >&6; } 5398 5399 fi 5400 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4943 do : 4944 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4945 if test "x$ac_cv_header_cctype" = xyes; then : 5401 4946 cat >>confdefs.h <<_ACEOF 5402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5403 _ACEOF 5404 5405 else 5406 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5407 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5408 fi 5409 5410 done 5411 4947 #define HAVE_CCTYPE 1 4948 _ACEOF 4949 4950 else 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4952 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4953 fi 4954 4955 done 5412 4956 5413 4957 for ac_header in cfloat 5414 do 5415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5417 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5420 echo $ECHO_N "(cached) $ECHO_C" >&6 5421 fi 5422 ac_res=`eval echo '${'$as_ac_Header'}'` 5423 { echo "$as_me:$LINENO: result: $ac_res" >&5 5424 echo "${ECHO_T}$ac_res" >&6; } 5425 else 5426 # Is the header compilable? 5427 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5429 cat >conftest.$ac_ext <<_ACEOF 5430 /* confdefs.h. */ 5431 _ACEOF 5432 cat confdefs.h >>conftest.$ac_ext 5433 cat >>conftest.$ac_ext <<_ACEOF 5434 /* end confdefs.h. */ 5435 $ac_includes_default 5436 #include <$ac_header> 5437 _ACEOF 5438 rm -f conftest.$ac_objext 5439 if { (ac_try="$ac_compile" 5440 case "(($ac_try" in 5441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5442 *) ac_try_echo=$ac_try;; 5443 esac 5444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5445 (eval "$ac_compile") 2>conftest.er1 5446 ac_status=$? 5447 grep -v '^ *+' conftest.er1 >conftest.err 5448 rm -f conftest.er1 5449 cat conftest.err >&5 5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5451 (exit $ac_status); } && { 5452 test -z "$ac_cxx_werror_flag" || 5453 test ! -s conftest.err 5454 } && test -s conftest.$ac_objext; then 5455 ac_header_compiler=yes 5456 else 5457 echo "$as_me: failed program was:" >&5 5458 sed 's/^/| /' conftest.$ac_ext >&5 5459 5460 ac_header_compiler=no 5461 fi 5462 5463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5465 echo "${ECHO_T}$ac_header_compiler" >&6; } 5466 5467 # Is the header present? 5468 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5470 cat >conftest.$ac_ext <<_ACEOF 5471 /* confdefs.h. */ 5472 _ACEOF 5473 cat confdefs.h >>conftest.$ac_ext 5474 cat >>conftest.$ac_ext <<_ACEOF 5475 /* end confdefs.h. */ 5476 #include <$ac_header> 5477 _ACEOF 5478 if { (ac_try="$ac_cpp conftest.$ac_ext" 5479 case "(($ac_try" in 5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5481 *) ac_try_echo=$ac_try;; 5482 esac 5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5485 ac_status=$? 5486 grep -v '^ *+' conftest.er1 >conftest.err 5487 rm -f conftest.er1 5488 cat conftest.err >&5 5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 (exit $ac_status); } >/dev/null && { 5491 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5492 test ! -s conftest.err 5493 }; then 5494 ac_header_preproc=yes 5495 else 5496 echo "$as_me: failed program was:" >&5 5497 sed 's/^/| /' conftest.$ac_ext >&5 5498 5499 ac_header_preproc=no 5500 fi 5501 5502 rm -f conftest.err conftest.$ac_ext 5503 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5504 echo "${ECHO_T}$ac_header_preproc" >&6; } 5505 5506 # So? What about this header? 5507 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5508 yes:no: ) 5509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5513 ac_header_preproc=yes 5514 ;; 5515 no:yes:* ) 5516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5528 ( cat <<\_ASBOX 5529 ## ----------------------------------- ## 5530 ## Report this to rappture@nanohub.org ## 5531 ## ----------------------------------- ## 5532 _ASBOX 5533 ) | sed "s/^/$as_me: WARNING: /" >&2 5534 ;; 5535 esac 5536 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5539 echo $ECHO_N "(cached) $ECHO_C" >&6 5540 else 5541 eval "$as_ac_Header=\$ac_header_preproc" 5542 fi 5543 ac_res=`eval echo '${'$as_ac_Header'}'` 5544 { echo "$as_me:$LINENO: result: $ac_res" >&5 5545 echo "${ECHO_T}$ac_res" >&6; } 5546 5547 fi 5548 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4958 do : 4959 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4960 if test "x$ac_cv_header_cfloat" = xyes; then : 5549 4961 cat >>confdefs.h <<_ACEOF 5550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5551 _ACEOF 5552 5553 else 5554 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5555 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5556 fi 5557 5558 done 5559 4962 #define HAVE_CFLOAT 1 4963 _ACEOF 4964 4965 else 4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4967 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4968 fi 4969 4970 done 5560 4971 5561 4972 for ac_header in cmath 5562 do 5563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5564 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5565 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5568 echo $ECHO_N "(cached) $ECHO_C" >&6 5569 fi 5570 ac_res=`eval echo '${'$as_ac_Header'}'` 5571 { echo "$as_me:$LINENO: result: $ac_res" >&5 5572 echo "${ECHO_T}$ac_res" >&6; } 5573 else 5574 # Is the header compilable? 5575 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5577 cat >conftest.$ac_ext <<_ACEOF 5578 /* confdefs.h. */ 5579 _ACEOF 5580 cat confdefs.h >>conftest.$ac_ext 5581 cat >>conftest.$ac_ext <<_ACEOF 5582 /* end confdefs.h. */ 5583 $ac_includes_default 5584 #include <$ac_header> 5585 _ACEOF 5586 rm -f conftest.$ac_objext 5587 if { (ac_try="$ac_compile" 5588 case "(($ac_try" in 5589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5590 *) ac_try_echo=$ac_try;; 5591 esac 5592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5593 (eval "$ac_compile") 2>conftest.er1 5594 ac_status=$? 5595 grep -v '^ *+' conftest.er1 >conftest.err 5596 rm -f conftest.er1 5597 cat conftest.err >&5 5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5599 (exit $ac_status); } && { 5600 test -z "$ac_cxx_werror_flag" || 5601 test ! -s conftest.err 5602 } && test -s conftest.$ac_objext; then 5603 ac_header_compiler=yes 5604 else 5605 echo "$as_me: failed program was:" >&5 5606 sed 's/^/| /' conftest.$ac_ext >&5 5607 5608 ac_header_compiler=no 5609 fi 5610 5611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5612 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5613 echo "${ECHO_T}$ac_header_compiler" >&6; } 5614 5615 # Is the header present? 5616 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5618 cat >conftest.$ac_ext <<_ACEOF 5619 /* confdefs.h. */ 5620 _ACEOF 5621 cat confdefs.h >>conftest.$ac_ext 5622 cat >>conftest.$ac_ext <<_ACEOF 5623 /* end confdefs.h. */ 5624 #include <$ac_header> 5625 _ACEOF 5626 if { (ac_try="$ac_cpp conftest.$ac_ext" 5627 case "(($ac_try" in 5628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5629 *) ac_try_echo=$ac_try;; 5630 esac 5631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5633 ac_status=$? 5634 grep -v '^ *+' conftest.er1 >conftest.err 5635 rm -f conftest.er1 5636 cat conftest.err >&5 5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5638 (exit $ac_status); } >/dev/null && { 5639 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5640 test ! -s conftest.err 5641 }; then 5642 ac_header_preproc=yes 5643 else 5644 echo "$as_me: failed program was:" >&5 5645 sed 's/^/| /' conftest.$ac_ext >&5 5646 5647 ac_header_preproc=no 5648 fi 5649 5650 rm -f conftest.err conftest.$ac_ext 5651 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5652 echo "${ECHO_T}$ac_header_preproc" >&6; } 5653 5654 # So? What about this header? 5655 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5656 yes:no: ) 5657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5661 ac_header_preproc=yes 5662 ;; 5663 no:yes:* ) 5664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5676 ( cat <<\_ASBOX 5677 ## ----------------------------------- ## 5678 ## Report this to rappture@nanohub.org ## 5679 ## ----------------------------------- ## 5680 _ASBOX 5681 ) | sed "s/^/$as_me: WARNING: /" >&2 5682 ;; 5683 esac 5684 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5687 echo $ECHO_N "(cached) $ECHO_C" >&6 5688 else 5689 eval "$as_ac_Header=\$ac_header_preproc" 5690 fi 5691 ac_res=`eval echo '${'$as_ac_Header'}'` 5692 { echo "$as_me:$LINENO: result: $ac_res" >&5 5693 echo "${ECHO_T}$ac_res" >&6; } 5694 5695 fi 5696 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4973 do : 4974 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 4975 if test "x$ac_cv_header_cmath" = xyes; then : 5697 4976 cat >>confdefs.h <<_ACEOF 5698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5699 _ACEOF 5700 5701 else 5702 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5703 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5704 fi 5705 5706 done 5707 4977 #define HAVE_CMATH 1 4978 _ACEOF 4979 4980 else 4981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4982 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4983 fi 4984 4985 done 5708 4986 5709 4987 for ac_header in cstdio 5710 do 5711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5713 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5716 echo $ECHO_N "(cached) $ECHO_C" >&6 5717 fi 5718 ac_res=`eval echo '${'$as_ac_Header'}'` 5719 { echo "$as_me:$LINENO: result: $ac_res" >&5 5720 echo "${ECHO_T}$ac_res" >&6; } 5721 else 5722 # Is the header compilable? 5723 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5725 cat >conftest.$ac_ext <<_ACEOF 5726 /* confdefs.h. */ 5727 _ACEOF 5728 cat confdefs.h >>conftest.$ac_ext 5729 cat >>conftest.$ac_ext <<_ACEOF 5730 /* end confdefs.h. */ 5731 $ac_includes_default 5732 #include <$ac_header> 5733 _ACEOF 5734 rm -f conftest.$ac_objext 5735 if { (ac_try="$ac_compile" 5736 case "(($ac_try" in 5737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5738 *) ac_try_echo=$ac_try;; 5739 esac 5740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5741 (eval "$ac_compile") 2>conftest.er1 5742 ac_status=$? 5743 grep -v '^ *+' conftest.er1 >conftest.err 5744 rm -f conftest.er1 5745 cat conftest.err >&5 5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5747 (exit $ac_status); } && { 5748 test -z "$ac_cxx_werror_flag" || 5749 test ! -s conftest.err 5750 } && test -s conftest.$ac_objext; then 5751 ac_header_compiler=yes 5752 else 5753 echo "$as_me: failed program was:" >&5 5754 sed 's/^/| /' conftest.$ac_ext >&5 5755 5756 ac_header_compiler=no 5757 fi 5758 5759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5760 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5761 echo "${ECHO_T}$ac_header_compiler" >&6; } 5762 5763 # Is the header present? 5764 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5766 cat >conftest.$ac_ext <<_ACEOF 5767 /* confdefs.h. */ 5768 _ACEOF 5769 cat confdefs.h >>conftest.$ac_ext 5770 cat >>conftest.$ac_ext <<_ACEOF 5771 /* end confdefs.h. */ 5772 #include <$ac_header> 5773 _ACEOF 5774 if { (ac_try="$ac_cpp conftest.$ac_ext" 5775 case "(($ac_try" in 5776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5777 *) ac_try_echo=$ac_try;; 5778 esac 5779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5781 ac_status=$? 5782 grep -v '^ *+' conftest.er1 >conftest.err 5783 rm -f conftest.er1 5784 cat conftest.err >&5 5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5786 (exit $ac_status); } >/dev/null && { 5787 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5788 test ! -s conftest.err 5789 }; then 5790 ac_header_preproc=yes 5791 else 5792 echo "$as_me: failed program was:" >&5 5793 sed 's/^/| /' conftest.$ac_ext >&5 5794 5795 ac_header_preproc=no 5796 fi 5797 5798 rm -f conftest.err conftest.$ac_ext 5799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5800 echo "${ECHO_T}$ac_header_preproc" >&6; } 5801 5802 # So? What about this header? 5803 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5804 yes:no: ) 5805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5809 ac_header_preproc=yes 5810 ;; 5811 no:yes:* ) 5812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5824 ( cat <<\_ASBOX 5825 ## ----------------------------------- ## 5826 ## Report this to rappture@nanohub.org ## 5827 ## ----------------------------------- ## 5828 _ASBOX 5829 ) | sed "s/^/$as_me: WARNING: /" >&2 5830 ;; 5831 esac 5832 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5835 echo $ECHO_N "(cached) $ECHO_C" >&6 5836 else 5837 eval "$as_ac_Header=\$ac_header_preproc" 5838 fi 5839 ac_res=`eval echo '${'$as_ac_Header'}'` 5840 { echo "$as_me:$LINENO: result: $ac_res" >&5 5841 echo "${ECHO_T}$ac_res" >&6; } 5842 5843 fi 5844 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4988 do : 4989 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 4990 if test "x$ac_cv_header_cstdio" = xyes; then : 5845 4991 cat >>confdefs.h <<_ACEOF 5846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5847 _ACEOF 5848 5849 else 5850 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5851 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5852 fi 5853 5854 done 5855 4992 #define HAVE_CSTDIO 1 4993 _ACEOF 4994 4995 else 4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4997 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4998 fi 4999 5000 done 5856 5001 5857 5002 for ac_header in cstdlib 5858 do 5859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5861 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5864 echo $ECHO_N "(cached) $ECHO_C" >&6 5865 fi 5866 ac_res=`eval echo '${'$as_ac_Header'}'` 5867 { echo "$as_me:$LINENO: result: $ac_res" >&5 5868 echo "${ECHO_T}$ac_res" >&6; } 5869 else 5870 # Is the header compilable? 5871 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5873 cat >conftest.$ac_ext <<_ACEOF 5874 /* confdefs.h. */ 5875 _ACEOF 5876 cat confdefs.h >>conftest.$ac_ext 5877 cat >>conftest.$ac_ext <<_ACEOF 5878 /* end confdefs.h. */ 5879 $ac_includes_default 5880 #include <$ac_header> 5881 _ACEOF 5882 rm -f conftest.$ac_objext 5883 if { (ac_try="$ac_compile" 5884 case "(($ac_try" in 5885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5886 *) ac_try_echo=$ac_try;; 5887 esac 5888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5889 (eval "$ac_compile") 2>conftest.er1 5890 ac_status=$? 5891 grep -v '^ *+' conftest.er1 >conftest.err 5892 rm -f conftest.er1 5893 cat conftest.err >&5 5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5895 (exit $ac_status); } && { 5896 test -z "$ac_cxx_werror_flag" || 5897 test ! -s conftest.err 5898 } && test -s conftest.$ac_objext; then 5899 ac_header_compiler=yes 5900 else 5901 echo "$as_me: failed program was:" >&5 5902 sed 's/^/| /' conftest.$ac_ext >&5 5903 5904 ac_header_compiler=no 5905 fi 5906 5907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5908 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5909 echo "${ECHO_T}$ac_header_compiler" >&6; } 5910 5911 # Is the header present? 5912 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5914 cat >conftest.$ac_ext <<_ACEOF 5915 /* confdefs.h. */ 5916 _ACEOF 5917 cat confdefs.h >>conftest.$ac_ext 5918 cat >>conftest.$ac_ext <<_ACEOF 5919 /* end confdefs.h. */ 5920 #include <$ac_header> 5921 _ACEOF 5922 if { (ac_try="$ac_cpp conftest.$ac_ext" 5923 case "(($ac_try" in 5924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5925 *) ac_try_echo=$ac_try;; 5926 esac 5927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5929 ac_status=$? 5930 grep -v '^ *+' conftest.er1 >conftest.err 5931 rm -f conftest.er1 5932 cat conftest.err >&5 5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5934 (exit $ac_status); } >/dev/null && { 5935 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5936 test ! -s conftest.err 5937 }; then 5938 ac_header_preproc=yes 5939 else 5940 echo "$as_me: failed program was:" >&5 5941 sed 's/^/| /' conftest.$ac_ext >&5 5942 5943 ac_header_preproc=no 5944 fi 5945 5946 rm -f conftest.err conftest.$ac_ext 5947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5948 echo "${ECHO_T}$ac_header_preproc" >&6; } 5949 5950 # So? What about this header? 5951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5952 yes:no: ) 5953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5957 ac_header_preproc=yes 5958 ;; 5959 no:yes:* ) 5960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5972 ( cat <<\_ASBOX 5973 ## ----------------------------------- ## 5974 ## Report this to rappture@nanohub.org ## 5975 ## ----------------------------------- ## 5976 _ASBOX 5977 ) | sed "s/^/$as_me: WARNING: /" >&2 5978 ;; 5979 esac 5980 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5983 echo $ECHO_N "(cached) $ECHO_C" >&6 5984 else 5985 eval "$as_ac_Header=\$ac_header_preproc" 5986 fi 5987 ac_res=`eval echo '${'$as_ac_Header'}'` 5988 { echo "$as_me:$LINENO: result: $ac_res" >&5 5989 echo "${ECHO_T}$ac_res" >&6; } 5990 5991 fi 5992 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5003 do : 5004 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 5005 if test "x$ac_cv_header_cstdlib" = xyes; then : 5993 5006 cat >>confdefs.h <<_ACEOF 5994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5995 _ACEOF 5996 5997 else 5998 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5999 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6000 fi 6001 6002 done 6003 5007 #define HAVE_CSTDLIB 1 5008 _ACEOF 5009 5010 else 5011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5012 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5013 fi 5014 5015 done 6004 5016 6005 5017 for ac_header in cstring 6006 do 6007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6009 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6012 echo $ECHO_N "(cached) $ECHO_C" >&6 6013 fi 6014 ac_res=`eval echo '${'$as_ac_Header'}'` 6015 { echo "$as_me:$LINENO: result: $ac_res" >&5 6016 echo "${ECHO_T}$ac_res" >&6; } 6017 else 6018 # Is the header compilable? 6019 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6021 cat >conftest.$ac_ext <<_ACEOF 6022 /* confdefs.h. */ 6023 _ACEOF 6024 cat confdefs.h >>conftest.$ac_ext 6025 cat >>conftest.$ac_ext <<_ACEOF 6026 /* end confdefs.h. */ 6027 $ac_includes_default 6028 #include <$ac_header> 6029 _ACEOF 6030 rm -f conftest.$ac_objext 6031 if { (ac_try="$ac_compile" 6032 case "(($ac_try" in 6033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6034 *) ac_try_echo=$ac_try;; 6035 esac 6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6037 (eval "$ac_compile") 2>conftest.er1 6038 ac_status=$? 6039 grep -v '^ *+' conftest.er1 >conftest.err 6040 rm -f conftest.er1 6041 cat conftest.err >&5 6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6043 (exit $ac_status); } && { 6044 test -z "$ac_cxx_werror_flag" || 6045 test ! -s conftest.err 6046 } && test -s conftest.$ac_objext; then 6047 ac_header_compiler=yes 6048 else 6049 echo "$as_me: failed program was:" >&5 6050 sed 's/^/| /' conftest.$ac_ext >&5 6051 6052 ac_header_compiler=no 6053 fi 6054 6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6056 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6057 echo "${ECHO_T}$ac_header_compiler" >&6; } 6058 6059 # Is the header present? 6060 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6061 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6062 cat >conftest.$ac_ext <<_ACEOF 6063 /* confdefs.h. */ 6064 _ACEOF 6065 cat confdefs.h >>conftest.$ac_ext 6066 cat >>conftest.$ac_ext <<_ACEOF 6067 /* end confdefs.h. */ 6068 #include <$ac_header> 6069 _ACEOF 6070 if { (ac_try="$ac_cpp conftest.$ac_ext" 6071 case "(($ac_try" in 6072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6073 *) ac_try_echo=$ac_try;; 6074 esac 6075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6077 ac_status=$? 6078 grep -v '^ *+' conftest.er1 >conftest.err 6079 rm -f conftest.er1 6080 cat conftest.err >&5 6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6082 (exit $ac_status); } >/dev/null && { 6083 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6084 test ! -s conftest.err 6085 }; then 6086 ac_header_preproc=yes 6087 else 6088 echo "$as_me: failed program was:" >&5 6089 sed 's/^/| /' conftest.$ac_ext >&5 6090 6091 ac_header_preproc=no 6092 fi 6093 6094 rm -f conftest.err conftest.$ac_ext 6095 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6096 echo "${ECHO_T}$ac_header_preproc" >&6; } 6097 6098 # So? What about this header? 6099 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6100 yes:no: ) 6101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6105 ac_header_preproc=yes 6106 ;; 6107 no:yes:* ) 6108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6112 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6114 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6115 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6118 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6120 ( cat <<\_ASBOX 6121 ## ----------------------------------- ## 6122 ## Report this to rappture@nanohub.org ## 6123 ## ----------------------------------- ## 6124 _ASBOX 6125 ) | sed "s/^/$as_me: WARNING: /" >&2 6126 ;; 6127 esac 6128 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6130 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6131 echo $ECHO_N "(cached) $ECHO_C" >&6 6132 else 6133 eval "$as_ac_Header=\$ac_header_preproc" 6134 fi 6135 ac_res=`eval echo '${'$as_ac_Header'}'` 6136 { echo "$as_me:$LINENO: result: $ac_res" >&5 6137 echo "${ECHO_T}$ac_res" >&6; } 6138 6139 fi 6140 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5018 do : 5019 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5020 if test "x$ac_cv_header_cstring" = xyes; then : 6141 5021 cat >>confdefs.h <<_ACEOF 6142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6143 _ACEOF 6144 6145 else 6146 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6147 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6148 fi 6149 6150 done 6151 5022 #define HAVE_CSTRING 1 5023 _ACEOF 5024 5025 else 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5027 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5028 fi 5029 5030 done 6152 5031 6153 5032 for ac_header in fstream 6154 do 6155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6157 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6160 echo $ECHO_N "(cached) $ECHO_C" >&6 6161 fi 6162 ac_res=`eval echo '${'$as_ac_Header'}'` 6163 { echo "$as_me:$LINENO: result: $ac_res" >&5 6164 echo "${ECHO_T}$ac_res" >&6; } 6165 else 6166 # Is the header compilable? 6167 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6168 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6169 cat >conftest.$ac_ext <<_ACEOF 6170 /* confdefs.h. */ 6171 _ACEOF 6172 cat confdefs.h >>conftest.$ac_ext 6173 cat >>conftest.$ac_ext <<_ACEOF 6174 /* end confdefs.h. */ 6175 $ac_includes_default 6176 #include <$ac_header> 6177 _ACEOF 6178 rm -f conftest.$ac_objext 6179 if { (ac_try="$ac_compile" 6180 case "(($ac_try" in 6181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6182 *) ac_try_echo=$ac_try;; 6183 esac 6184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6185 (eval "$ac_compile") 2>conftest.er1 6186 ac_status=$? 6187 grep -v '^ *+' conftest.er1 >conftest.err 6188 rm -f conftest.er1 6189 cat conftest.err >&5 6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6191 (exit $ac_status); } && { 6192 test -z "$ac_cxx_werror_flag" || 6193 test ! -s conftest.err 6194 } && test -s conftest.$ac_objext; then 6195 ac_header_compiler=yes 6196 else 6197 echo "$as_me: failed program was:" >&5 6198 sed 's/^/| /' conftest.$ac_ext >&5 6199 6200 ac_header_compiler=no 6201 fi 6202 6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6205 echo "${ECHO_T}$ac_header_compiler" >&6; } 6206 6207 # Is the header present? 6208 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6210 cat >conftest.$ac_ext <<_ACEOF 6211 /* confdefs.h. */ 6212 _ACEOF 6213 cat confdefs.h >>conftest.$ac_ext 6214 cat >>conftest.$ac_ext <<_ACEOF 6215 /* end confdefs.h. */ 6216 #include <$ac_header> 6217 _ACEOF 6218 if { (ac_try="$ac_cpp conftest.$ac_ext" 6219 case "(($ac_try" in 6220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6221 *) ac_try_echo=$ac_try;; 6222 esac 6223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6225 ac_status=$? 6226 grep -v '^ *+' conftest.er1 >conftest.err 6227 rm -f conftest.er1 6228 cat conftest.err >&5 6229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6230 (exit $ac_status); } >/dev/null && { 6231 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6232 test ! -s conftest.err 6233 }; then 6234 ac_header_preproc=yes 6235 else 6236 echo "$as_me: failed program was:" >&5 6237 sed 's/^/| /' conftest.$ac_ext >&5 6238 6239 ac_header_preproc=no 6240 fi 6241 6242 rm -f conftest.err conftest.$ac_ext 6243 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6244 echo "${ECHO_T}$ac_header_preproc" >&6; } 6245 6246 # So? What about this header? 6247 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6248 yes:no: ) 6249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6253 ac_header_preproc=yes 6254 ;; 6255 no:yes:* ) 6256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6268 ( cat <<\_ASBOX 6269 ## ----------------------------------- ## 6270 ## Report this to rappture@nanohub.org ## 6271 ## ----------------------------------- ## 6272 _ASBOX 6273 ) | sed "s/^/$as_me: WARNING: /" >&2 6274 ;; 6275 esac 6276 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6279 echo $ECHO_N "(cached) $ECHO_C" >&6 6280 else 6281 eval "$as_ac_Header=\$ac_header_preproc" 6282 fi 6283 ac_res=`eval echo '${'$as_ac_Header'}'` 6284 { echo "$as_me:$LINENO: result: $ac_res" >&5 6285 echo "${ECHO_T}$ac_res" >&6; } 6286 6287 fi 6288 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5033 do : 5034 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5035 if test "x$ac_cv_header_fstream" = xyes; then : 6289 5036 cat >>confdefs.h <<_ACEOF 6290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6291 _ACEOF 6292 6293 else 6294 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6295 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6296 fi 6297 6298 done 6299 5037 #define HAVE_FSTREAM 1 5038 _ACEOF 5039 5040 else 5041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5042 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5043 fi 5044 5045 done 6300 5046 6301 5047 for ac_header in list 6302 do 6303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6305 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6308 echo $ECHO_N "(cached) $ECHO_C" >&6 6309 fi 6310 ac_res=`eval echo '${'$as_ac_Header'}'` 6311 { echo "$as_me:$LINENO: result: $ac_res" >&5 6312 echo "${ECHO_T}$ac_res" >&6; } 6313 else 6314 # Is the header compilable? 6315 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6317 cat >conftest.$ac_ext <<_ACEOF 6318 /* confdefs.h. */ 6319 _ACEOF 6320 cat confdefs.h >>conftest.$ac_ext 6321 cat >>conftest.$ac_ext <<_ACEOF 6322 /* end confdefs.h. */ 6323 $ac_includes_default 6324 #include <$ac_header> 6325 _ACEOF 6326 rm -f conftest.$ac_objext 6327 if { (ac_try="$ac_compile" 6328 case "(($ac_try" in 6329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6330 *) ac_try_echo=$ac_try;; 6331 esac 6332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6333 (eval "$ac_compile") 2>conftest.er1 6334 ac_status=$? 6335 grep -v '^ *+' conftest.er1 >conftest.err 6336 rm -f conftest.er1 6337 cat conftest.err >&5 6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6339 (exit $ac_status); } && { 6340 test -z "$ac_cxx_werror_flag" || 6341 test ! -s conftest.err 6342 } && test -s conftest.$ac_objext; then 6343 ac_header_compiler=yes 6344 else 6345 echo "$as_me: failed program was:" >&5 6346 sed 's/^/| /' conftest.$ac_ext >&5 6347 6348 ac_header_compiler=no 6349 fi 6350 6351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6352 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6353 echo "${ECHO_T}$ac_header_compiler" >&6; } 6354 6355 # Is the header present? 6356 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6358 cat >conftest.$ac_ext <<_ACEOF 6359 /* confdefs.h. */ 6360 _ACEOF 6361 cat confdefs.h >>conftest.$ac_ext 6362 cat >>conftest.$ac_ext <<_ACEOF 6363 /* end confdefs.h. */ 6364 #include <$ac_header> 6365 _ACEOF 6366 if { (ac_try="$ac_cpp conftest.$ac_ext" 6367 case "(($ac_try" in 6368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6369 *) ac_try_echo=$ac_try;; 6370 esac 6371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6372 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6373 ac_status=$? 6374 grep -v '^ *+' conftest.er1 >conftest.err 6375 rm -f conftest.er1 6376 cat conftest.err >&5 6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6378 (exit $ac_status); } >/dev/null && { 6379 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6380 test ! -s conftest.err 6381 }; then 6382 ac_header_preproc=yes 6383 else 6384 echo "$as_me: failed program was:" >&5 6385 sed 's/^/| /' conftest.$ac_ext >&5 6386 6387 ac_header_preproc=no 6388 fi 6389 6390 rm -f conftest.err conftest.$ac_ext 6391 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6392 echo "${ECHO_T}$ac_header_preproc" >&6; } 6393 6394 # So? What about this header? 6395 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6396 yes:no: ) 6397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6401 ac_header_preproc=yes 6402 ;; 6403 no:yes:* ) 6404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6411 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6416 ( cat <<\_ASBOX 6417 ## ----------------------------------- ## 6418 ## Report this to rappture@nanohub.org ## 6419 ## ----------------------------------- ## 6420 _ASBOX 6421 ) | sed "s/^/$as_me: WARNING: /" >&2 6422 ;; 6423 esac 6424 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6427 echo $ECHO_N "(cached) $ECHO_C" >&6 6428 else 6429 eval "$as_ac_Header=\$ac_header_preproc" 6430 fi 6431 ac_res=`eval echo '${'$as_ac_Header'}'` 6432 { echo "$as_me:$LINENO: result: $ac_res" >&5 6433 echo "${ECHO_T}$ac_res" >&6; } 6434 6435 fi 6436 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5048 do : 5049 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5050 if test "x$ac_cv_header_list" = xyes; then : 6437 5051 cat >>confdefs.h <<_ACEOF 6438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6439 _ACEOF 6440 6441 else 6442 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6443 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6444 fi 6445 6446 done 6447 5052 #define HAVE_LIST 1 5053 _ACEOF 5054 5055 else 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5057 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5058 fi 5059 5060 done 6448 5061 6449 5062 for ac_header in iostream 6450 do 6451 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6453 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6456 echo $ECHO_N "(cached) $ECHO_C" >&6 6457 fi 6458 ac_res=`eval echo '${'$as_ac_Header'}'` 6459 { echo "$as_me:$LINENO: result: $ac_res" >&5 6460 echo "${ECHO_T}$ac_res" >&6; } 6461 else 6462 # Is the header compilable? 6463 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6465 cat >conftest.$ac_ext <<_ACEOF 6466 /* confdefs.h. */ 6467 _ACEOF 6468 cat confdefs.h >>conftest.$ac_ext 6469 cat >>conftest.$ac_ext <<_ACEOF 6470 /* end confdefs.h. */ 6471 $ac_includes_default 6472 #include <$ac_header> 6473 _ACEOF 6474 rm -f conftest.$ac_objext 6475 if { (ac_try="$ac_compile" 6476 case "(($ac_try" in 6477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6478 *) ac_try_echo=$ac_try;; 6479 esac 6480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6481 (eval "$ac_compile") 2>conftest.er1 6482 ac_status=$? 6483 grep -v '^ *+' conftest.er1 >conftest.err 6484 rm -f conftest.er1 6485 cat conftest.err >&5 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); } && { 6488 test -z "$ac_cxx_werror_flag" || 6489 test ! -s conftest.err 6490 } && test -s conftest.$ac_objext; then 6491 ac_header_compiler=yes 6492 else 6493 echo "$as_me: failed program was:" >&5 6494 sed 's/^/| /' conftest.$ac_ext >&5 6495 6496 ac_header_compiler=no 6497 fi 6498 6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6501 echo "${ECHO_T}$ac_header_compiler" >&6; } 6502 6503 # Is the header present? 6504 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6506 cat >conftest.$ac_ext <<_ACEOF 6507 /* confdefs.h. */ 6508 _ACEOF 6509 cat confdefs.h >>conftest.$ac_ext 6510 cat >>conftest.$ac_ext <<_ACEOF 6511 /* end confdefs.h. */ 6512 #include <$ac_header> 6513 _ACEOF 6514 if { (ac_try="$ac_cpp conftest.$ac_ext" 6515 case "(($ac_try" in 6516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6517 *) ac_try_echo=$ac_try;; 6518 esac 6519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6521 ac_status=$? 6522 grep -v '^ *+' conftest.er1 >conftest.err 6523 rm -f conftest.er1 6524 cat conftest.err >&5 6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6526 (exit $ac_status); } >/dev/null && { 6527 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6528 test ! -s conftest.err 6529 }; then 6530 ac_header_preproc=yes 6531 else 6532 echo "$as_me: failed program was:" >&5 6533 sed 's/^/| /' conftest.$ac_ext >&5 6534 6535 ac_header_preproc=no 6536 fi 6537 6538 rm -f conftest.err conftest.$ac_ext 6539 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6540 echo "${ECHO_T}$ac_header_preproc" >&6; } 6541 6542 # So? What about this header? 6543 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6544 yes:no: ) 6545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6548 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6549 ac_header_preproc=yes 6550 ;; 6551 no:yes:* ) 6552 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6554 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6555 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6556 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6557 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6558 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6559 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6562 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6563 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6564 ( cat <<\_ASBOX 6565 ## ----------------------------------- ## 6566 ## Report this to rappture@nanohub.org ## 6567 ## ----------------------------------- ## 6568 _ASBOX 6569 ) | sed "s/^/$as_me: WARNING: /" >&2 6570 ;; 6571 esac 6572 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6575 echo $ECHO_N "(cached) $ECHO_C" >&6 6576 else 6577 eval "$as_ac_Header=\$ac_header_preproc" 6578 fi 6579 ac_res=`eval echo '${'$as_ac_Header'}'` 6580 { echo "$as_me:$LINENO: result: $ac_res" >&5 6581 echo "${ECHO_T}$ac_res" >&6; } 6582 6583 fi 6584 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5063 do : 5064 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5065 if test "x$ac_cv_header_iostream" = xyes; then : 6585 5066 cat >>confdefs.h <<_ACEOF 6586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6587 _ACEOF 6588 6589 else 6590 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6591 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6592 fi 6593 6594 done 6595 5067 #define HAVE_IOSTREAM 1 5068 _ACEOF 5069 5070 else 5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5072 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5073 fi 5074 5075 done 6596 5076 6597 5077 for ac_header in iterator 6598 do 6599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6601 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6604 echo $ECHO_N "(cached) $ECHO_C" >&6 6605 fi 6606 ac_res=`eval echo '${'$as_ac_Header'}'` 6607 { echo "$as_me:$LINENO: result: $ac_res" >&5 6608 echo "${ECHO_T}$ac_res" >&6; } 6609 else 6610 # Is the header compilable? 6611 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6613 cat >conftest.$ac_ext <<_ACEOF 6614 /* confdefs.h. */ 6615 _ACEOF 6616 cat confdefs.h >>conftest.$ac_ext 6617 cat >>conftest.$ac_ext <<_ACEOF 6618 /* end confdefs.h. */ 6619 $ac_includes_default 6620 #include <$ac_header> 6621 _ACEOF 6622 rm -f conftest.$ac_objext 6623 if { (ac_try="$ac_compile" 6624 case "(($ac_try" in 6625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6626 *) ac_try_echo=$ac_try;; 6627 esac 6628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6629 (eval "$ac_compile") 2>conftest.er1 6630 ac_status=$? 6631 grep -v '^ *+' conftest.er1 >conftest.err 6632 rm -f conftest.er1 6633 cat conftest.err >&5 6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6635 (exit $ac_status); } && { 6636 test -z "$ac_cxx_werror_flag" || 6637 test ! -s conftest.err 6638 } && test -s conftest.$ac_objext; then 6639 ac_header_compiler=yes 6640 else 6641 echo "$as_me: failed program was:" >&5 6642 sed 's/^/| /' conftest.$ac_ext >&5 6643 6644 ac_header_compiler=no 6645 fi 6646 6647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6648 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6649 echo "${ECHO_T}$ac_header_compiler" >&6; } 6650 6651 # Is the header present? 6652 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6654 cat >conftest.$ac_ext <<_ACEOF 6655 /* confdefs.h. */ 6656 _ACEOF 6657 cat confdefs.h >>conftest.$ac_ext 6658 cat >>conftest.$ac_ext <<_ACEOF 6659 /* end confdefs.h. */ 6660 #include <$ac_header> 6661 _ACEOF 6662 if { (ac_try="$ac_cpp conftest.$ac_ext" 6663 case "(($ac_try" in 6664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6665 *) ac_try_echo=$ac_try;; 6666 esac 6667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6669 ac_status=$? 6670 grep -v '^ *+' conftest.er1 >conftest.err 6671 rm -f conftest.er1 6672 cat conftest.err >&5 6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6674 (exit $ac_status); } >/dev/null && { 6675 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6676 test ! -s conftest.err 6677 }; then 6678 ac_header_preproc=yes 6679 else 6680 echo "$as_me: failed program was:" >&5 6681 sed 's/^/| /' conftest.$ac_ext >&5 6682 6683 ac_header_preproc=no 6684 fi 6685 6686 rm -f conftest.err conftest.$ac_ext 6687 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6688 echo "${ECHO_T}$ac_header_preproc" >&6; } 6689 6690 # So? What about this header? 6691 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6692 yes:no: ) 6693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6697 ac_header_preproc=yes 6698 ;; 6699 no:yes:* ) 6700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6712 ( cat <<\_ASBOX 6713 ## ----------------------------------- ## 6714 ## Report this to rappture@nanohub.org ## 6715 ## ----------------------------------- ## 6716 _ASBOX 6717 ) | sed "s/^/$as_me: WARNING: /" >&2 6718 ;; 6719 esac 6720 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6723 echo $ECHO_N "(cached) $ECHO_C" >&6 6724 else 6725 eval "$as_ac_Header=\$ac_header_preproc" 6726 fi 6727 ac_res=`eval echo '${'$as_ac_Header'}'` 6728 { echo "$as_me:$LINENO: result: $ac_res" >&5 6729 echo "${ECHO_T}$ac_res" >&6; } 6730 6731 fi 6732 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5078 do : 5079 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5080 if test "x$ac_cv_header_iterator" = xyes; then : 6733 5081 cat >>confdefs.h <<_ACEOF 6734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6735 _ACEOF 6736 6737 else 6738 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6739 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6740 fi 6741 6742 done 6743 5082 #define HAVE_ITERATOR 1 5083 _ACEOF 5084 5085 else 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5087 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5088 fi 5089 5090 done 6744 5091 6745 5092 for ac_header in sstream 6746 do 6747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6749 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6752 echo $ECHO_N "(cached) $ECHO_C" >&6 6753 fi 6754 ac_res=`eval echo '${'$as_ac_Header'}'` 6755 { echo "$as_me:$LINENO: result: $ac_res" >&5 6756 echo "${ECHO_T}$ac_res" >&6; } 6757 else 6758 # Is the header compilable? 6759 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6761 cat >conftest.$ac_ext <<_ACEOF 6762 /* confdefs.h. */ 6763 _ACEOF 6764 cat confdefs.h >>conftest.$ac_ext 6765 cat >>conftest.$ac_ext <<_ACEOF 6766 /* end confdefs.h. */ 6767 $ac_includes_default 6768 #include <$ac_header> 6769 _ACEOF 6770 rm -f conftest.$ac_objext 6771 if { (ac_try="$ac_compile" 6772 case "(($ac_try" in 6773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6774 *) ac_try_echo=$ac_try;; 6775 esac 6776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6777 (eval "$ac_compile") 2>conftest.er1 6778 ac_status=$? 6779 grep -v '^ *+' conftest.er1 >conftest.err 6780 rm -f conftest.er1 6781 cat conftest.err >&5 6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6783 (exit $ac_status); } && { 6784 test -z "$ac_cxx_werror_flag" || 6785 test ! -s conftest.err 6786 } && test -s conftest.$ac_objext; then 6787 ac_header_compiler=yes 6788 else 6789 echo "$as_me: failed program was:" >&5 6790 sed 's/^/| /' conftest.$ac_ext >&5 6791 6792 ac_header_compiler=no 6793 fi 6794 6795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6796 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6797 echo "${ECHO_T}$ac_header_compiler" >&6; } 6798 6799 # Is the header present? 6800 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6802 cat >conftest.$ac_ext <<_ACEOF 6803 /* confdefs.h. */ 6804 _ACEOF 6805 cat confdefs.h >>conftest.$ac_ext 6806 cat >>conftest.$ac_ext <<_ACEOF 6807 /* end confdefs.h. */ 6808 #include <$ac_header> 6809 _ACEOF 6810 if { (ac_try="$ac_cpp conftest.$ac_ext" 6811 case "(($ac_try" in 6812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6813 *) ac_try_echo=$ac_try;; 6814 esac 6815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6817 ac_status=$? 6818 grep -v '^ *+' conftest.er1 >conftest.err 6819 rm -f conftest.er1 6820 cat conftest.err >&5 6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6822 (exit $ac_status); } >/dev/null && { 6823 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6824 test ! -s conftest.err 6825 }; then 6826 ac_header_preproc=yes 6827 else 6828 echo "$as_me: failed program was:" >&5 6829 sed 's/^/| /' conftest.$ac_ext >&5 6830 6831 ac_header_preproc=no 6832 fi 6833 6834 rm -f conftest.err conftest.$ac_ext 6835 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6836 echo "${ECHO_T}$ac_header_preproc" >&6; } 6837 6838 # So? What about this header? 6839 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6840 yes:no: ) 6841 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6845 ac_header_preproc=yes 6846 ;; 6847 no:yes:* ) 6848 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6850 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6851 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6852 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6854 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6855 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6858 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6860 ( cat <<\_ASBOX 6861 ## ----------------------------------- ## 6862 ## Report this to rappture@nanohub.org ## 6863 ## ----------------------------------- ## 6864 _ASBOX 6865 ) | sed "s/^/$as_me: WARNING: /" >&2 6866 ;; 6867 esac 6868 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6871 echo $ECHO_N "(cached) $ECHO_C" >&6 6872 else 6873 eval "$as_ac_Header=\$ac_header_preproc" 6874 fi 6875 ac_res=`eval echo '${'$as_ac_Header'}'` 6876 { echo "$as_me:$LINENO: result: $ac_res" >&5 6877 echo "${ECHO_T}$ac_res" >&6; } 6878 6879 fi 6880 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5093 do : 5094 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5095 if test "x$ac_cv_header_sstream" = xyes; then : 6881 5096 cat >>confdefs.h <<_ACEOF 6882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6883 _ACEOF 6884 6885 else 6886 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6887 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6888 fi 6889 6890 done 6891 5097 #define HAVE_SSTREAM 1 5098 _ACEOF 5099 5100 else 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5102 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5103 fi 5104 5105 done 6892 5106 6893 5107 for ac_header in stack 6894 do 6895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6897 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6900 echo $ECHO_N "(cached) $ECHO_C" >&6 6901 fi 6902 ac_res=`eval echo '${'$as_ac_Header'}'` 6903 { echo "$as_me:$LINENO: result: $ac_res" >&5 6904 echo "${ECHO_T}$ac_res" >&6; } 6905 else 6906 # Is the header compilable? 6907 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6909 cat >conftest.$ac_ext <<_ACEOF 6910 /* confdefs.h. */ 6911 _ACEOF 6912 cat confdefs.h >>conftest.$ac_ext 6913 cat >>conftest.$ac_ext <<_ACEOF 6914 /* end confdefs.h. */ 6915 $ac_includes_default 6916 #include <$ac_header> 6917 _ACEOF 6918 rm -f conftest.$ac_objext 6919 if { (ac_try="$ac_compile" 6920 case "(($ac_try" in 6921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6922 *) ac_try_echo=$ac_try;; 6923 esac 6924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6925 (eval "$ac_compile") 2>conftest.er1 6926 ac_status=$? 6927 grep -v '^ *+' conftest.er1 >conftest.err 6928 rm -f conftest.er1 6929 cat conftest.err >&5 6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6931 (exit $ac_status); } && { 6932 test -z "$ac_cxx_werror_flag" || 6933 test ! -s conftest.err 6934 } && test -s conftest.$ac_objext; then 6935 ac_header_compiler=yes 6936 else 6937 echo "$as_me: failed program was:" >&5 6938 sed 's/^/| /' conftest.$ac_ext >&5 6939 6940 ac_header_compiler=no 6941 fi 6942 6943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6944 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6945 echo "${ECHO_T}$ac_header_compiler" >&6; } 6946 6947 # Is the header present? 6948 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6950 cat >conftest.$ac_ext <<_ACEOF 6951 /* confdefs.h. */ 6952 _ACEOF 6953 cat confdefs.h >>conftest.$ac_ext 6954 cat >>conftest.$ac_ext <<_ACEOF 6955 /* end confdefs.h. */ 6956 #include <$ac_header> 6957 _ACEOF 6958 if { (ac_try="$ac_cpp conftest.$ac_ext" 6959 case "(($ac_try" in 6960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6961 *) ac_try_echo=$ac_try;; 6962 esac 6963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6965 ac_status=$? 6966 grep -v '^ *+' conftest.er1 >conftest.err 6967 rm -f conftest.er1 6968 cat conftest.err >&5 6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6970 (exit $ac_status); } >/dev/null && { 6971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6972 test ! -s conftest.err 6973 }; then 6974 ac_header_preproc=yes 6975 else 6976 echo "$as_me: failed program was:" >&5 6977 sed 's/^/| /' conftest.$ac_ext >&5 6978 6979 ac_header_preproc=no 6980 fi 6981 6982 rm -f conftest.err conftest.$ac_ext 6983 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6984 echo "${ECHO_T}$ac_header_preproc" >&6; } 6985 6986 # So? What about this header? 6987 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6988 yes:no: ) 6989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6993 ac_header_preproc=yes 6994 ;; 6995 no:yes:* ) 6996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7003 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7008 ( cat <<\_ASBOX 7009 ## ----------------------------------- ## 7010 ## Report this to rappture@nanohub.org ## 7011 ## ----------------------------------- ## 7012 _ASBOX 7013 ) | sed "s/^/$as_me: WARNING: /" >&2 7014 ;; 7015 esac 7016 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7019 echo $ECHO_N "(cached) $ECHO_C" >&6 7020 else 7021 eval "$as_ac_Header=\$ac_header_preproc" 7022 fi 7023 ac_res=`eval echo '${'$as_ac_Header'}'` 7024 { echo "$as_me:$LINENO: result: $ac_res" >&5 7025 echo "${ECHO_T}$ac_res" >&6; } 7026 7027 fi 7028 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5108 do : 5109 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5110 if test "x$ac_cv_header_stack" = xyes; then : 7029 5111 cat >>confdefs.h <<_ACEOF 7030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7031 _ACEOF 7032 7033 else 7034 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7035 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7036 fi 7037 7038 done 7039 5112 #define HAVE_STACK 1 5113 _ACEOF 5114 5115 else 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5117 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5118 fi 5119 5120 done 7040 5121 7041 5122 for ac_header in string 7042 do 7043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7045 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7048 echo $ECHO_N "(cached) $ECHO_C" >&6 7049 fi 7050 ac_res=`eval echo '${'$as_ac_Header'}'` 7051 { echo "$as_me:$LINENO: result: $ac_res" >&5 7052 echo "${ECHO_T}$ac_res" >&6; } 7053 else 7054 # Is the header compilable? 7055 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7057 cat >conftest.$ac_ext <<_ACEOF 7058 /* confdefs.h. */ 7059 _ACEOF 7060 cat confdefs.h >>conftest.$ac_ext 7061 cat >>conftest.$ac_ext <<_ACEOF 7062 /* end confdefs.h. */ 7063 $ac_includes_default 7064 #include <$ac_header> 7065 _ACEOF 7066 rm -f conftest.$ac_objext 7067 if { (ac_try="$ac_compile" 7068 case "(($ac_try" in 7069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7070 *) ac_try_echo=$ac_try;; 7071 esac 7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7073 (eval "$ac_compile") 2>conftest.er1 7074 ac_status=$? 7075 grep -v '^ *+' conftest.er1 >conftest.err 7076 rm -f conftest.er1 7077 cat conftest.err >&5 7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7079 (exit $ac_status); } && { 7080 test -z "$ac_cxx_werror_flag" || 7081 test ! -s conftest.err 7082 } && test -s conftest.$ac_objext; then 7083 ac_header_compiler=yes 7084 else 7085 echo "$as_me: failed program was:" >&5 7086 sed 's/^/| /' conftest.$ac_ext >&5 7087 7088 ac_header_compiler=no 7089 fi 7090 7091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7092 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7093 echo "${ECHO_T}$ac_header_compiler" >&6; } 7094 7095 # Is the header present? 7096 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7098 cat >conftest.$ac_ext <<_ACEOF 7099 /* confdefs.h. */ 7100 _ACEOF 7101 cat confdefs.h >>conftest.$ac_ext 7102 cat >>conftest.$ac_ext <<_ACEOF 7103 /* end confdefs.h. */ 7104 #include <$ac_header> 7105 _ACEOF 7106 if { (ac_try="$ac_cpp conftest.$ac_ext" 7107 case "(($ac_try" in 7108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7109 *) ac_try_echo=$ac_try;; 7110 esac 7111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7113 ac_status=$? 7114 grep -v '^ *+' conftest.er1 >conftest.err 7115 rm -f conftest.er1 7116 cat conftest.err >&5 7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7118 (exit $ac_status); } >/dev/null && { 7119 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7120 test ! -s conftest.err 7121 }; then 7122 ac_header_preproc=yes 7123 else 7124 echo "$as_me: failed program was:" >&5 7125 sed 's/^/| /' conftest.$ac_ext >&5 7126 7127 ac_header_preproc=no 7128 fi 7129 7130 rm -f conftest.err conftest.$ac_ext 7131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7132 echo "${ECHO_T}$ac_header_preproc" >&6; } 7133 7134 # So? What about this header? 7135 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7136 yes:no: ) 7137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7141 ac_header_preproc=yes 7142 ;; 7143 no:yes:* ) 7144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7156 ( cat <<\_ASBOX 7157 ## ----------------------------------- ## 7158 ## Report this to rappture@nanohub.org ## 7159 ## ----------------------------------- ## 7160 _ASBOX 7161 ) | sed "s/^/$as_me: WARNING: /" >&2 7162 ;; 7163 esac 7164 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7167 echo $ECHO_N "(cached) $ECHO_C" >&6 7168 else 7169 eval "$as_ac_Header=\$ac_header_preproc" 7170 fi 7171 ac_res=`eval echo '${'$as_ac_Header'}'` 7172 { echo "$as_me:$LINENO: result: $ac_res" >&5 7173 echo "${ECHO_T}$ac_res" >&6; } 7174 7175 fi 7176 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5123 do : 5124 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5125 if test "x$ac_cv_header_string" = xyes; then : 7177 5126 cat >>confdefs.h <<_ACEOF 7178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7179 _ACEOF 7180 7181 else 7182 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7183 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7184 fi 7185 7186 done 7187 5127 #define HAVE_STRING 1 5128 _ACEOF 5129 5130 else 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5132 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5133 fi 5134 5135 done 7188 5136 7189 5137 for ac_header in vector 7190 do 7191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7193 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7196 echo $ECHO_N "(cached) $ECHO_C" >&6 7197 fi 7198 ac_res=`eval echo '${'$as_ac_Header'}'` 7199 { echo "$as_me:$LINENO: result: $ac_res" >&5 7200 echo "${ECHO_T}$ac_res" >&6; } 7201 else 7202 # Is the header compilable? 7203 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7205 cat >conftest.$ac_ext <<_ACEOF 7206 /* confdefs.h. */ 7207 _ACEOF 7208 cat confdefs.h >>conftest.$ac_ext 7209 cat >>conftest.$ac_ext <<_ACEOF 7210 /* end confdefs.h. */ 7211 $ac_includes_default 7212 #include <$ac_header> 7213 _ACEOF 7214 rm -f conftest.$ac_objext 7215 if { (ac_try="$ac_compile" 7216 case "(($ac_try" in 7217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7218 *) ac_try_echo=$ac_try;; 7219 esac 7220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7221 (eval "$ac_compile") 2>conftest.er1 7222 ac_status=$? 7223 grep -v '^ *+' conftest.er1 >conftest.err 7224 rm -f conftest.er1 7225 cat conftest.err >&5 7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7227 (exit $ac_status); } && { 7228 test -z "$ac_cxx_werror_flag" || 7229 test ! -s conftest.err 7230 } && test -s conftest.$ac_objext; then 7231 ac_header_compiler=yes 7232 else 7233 echo "$as_me: failed program was:" >&5 7234 sed 's/^/| /' conftest.$ac_ext >&5 7235 7236 ac_header_compiler=no 7237 fi 7238 7239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7240 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7241 echo "${ECHO_T}$ac_header_compiler" >&6; } 7242 7243 # Is the header present? 7244 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7245 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7246 cat >conftest.$ac_ext <<_ACEOF 7247 /* confdefs.h. */ 7248 _ACEOF 7249 cat confdefs.h >>conftest.$ac_ext 7250 cat >>conftest.$ac_ext <<_ACEOF 7251 /* end confdefs.h. */ 7252 #include <$ac_header> 7253 _ACEOF 7254 if { (ac_try="$ac_cpp conftest.$ac_ext" 7255 case "(($ac_try" in 7256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7257 *) ac_try_echo=$ac_try;; 7258 esac 7259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7260 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7261 ac_status=$? 7262 grep -v '^ *+' conftest.er1 >conftest.err 7263 rm -f conftest.er1 7264 cat conftest.err >&5 7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7266 (exit $ac_status); } >/dev/null && { 7267 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7268 test ! -s conftest.err 7269 }; then 7270 ac_header_preproc=yes 7271 else 7272 echo "$as_me: failed program was:" >&5 7273 sed 's/^/| /' conftest.$ac_ext >&5 7274 7275 ac_header_preproc=no 7276 fi 7277 7278 rm -f conftest.err conftest.$ac_ext 7279 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7280 echo "${ECHO_T}$ac_header_preproc" >&6; } 7281 7282 # So? What about this header? 7283 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7284 yes:no: ) 7285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7286 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7288 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7289 ac_header_preproc=yes 7290 ;; 7291 no:yes:* ) 7292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7296 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7297 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7298 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7299 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7302 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7303 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7304 ( cat <<\_ASBOX 7305 ## ----------------------------------- ## 7306 ## Report this to rappture@nanohub.org ## 7307 ## ----------------------------------- ## 7308 _ASBOX 7309 ) | sed "s/^/$as_me: WARNING: /" >&2 7310 ;; 7311 esac 7312 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7315 echo $ECHO_N "(cached) $ECHO_C" >&6 7316 else 7317 eval "$as_ac_Header=\$ac_header_preproc" 7318 fi 7319 ac_res=`eval echo '${'$as_ac_Header'}'` 7320 { echo "$as_me:$LINENO: result: $ac_res" >&5 7321 echo "${ECHO_T}$ac_res" >&6; } 7322 7323 fi 7324 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5138 do : 5139 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5140 if test "x$ac_cv_header_vector" = xyes; then : 7325 5141 cat >>confdefs.h <<_ACEOF 7326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7327 _ACEOF 7328 7329 else 7330 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7331 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7332 fi 7333 7334 done 7335 5142 #define HAVE_VECTOR 1 5143 _ACEOF 5144 5145 else 5146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5147 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5148 fi 5149 5150 done 7336 5151 7337 5152 7338 5153 for ac_header in assert.h 7339 do 7340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7342 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7345 echo $ECHO_N "(cached) $ECHO_C" >&6 7346 fi 7347 ac_res=`eval echo '${'$as_ac_Header'}'` 7348 { echo "$as_me:$LINENO: result: $ac_res" >&5 7349 echo "${ECHO_T}$ac_res" >&6; } 7350 else 7351 # Is the header compilable? 7352 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7354 cat >conftest.$ac_ext <<_ACEOF 7355 /* confdefs.h. */ 7356 _ACEOF 7357 cat confdefs.h >>conftest.$ac_ext 7358 cat >>conftest.$ac_ext <<_ACEOF 7359 /* end confdefs.h. */ 7360 $ac_includes_default 7361 #include <$ac_header> 7362 _ACEOF 7363 rm -f conftest.$ac_objext 7364 if { (ac_try="$ac_compile" 7365 case "(($ac_try" in 7366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7367 *) ac_try_echo=$ac_try;; 7368 esac 7369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7370 (eval "$ac_compile") 2>conftest.er1 7371 ac_status=$? 7372 grep -v '^ *+' conftest.er1 >conftest.err 7373 rm -f conftest.er1 7374 cat conftest.err >&5 7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7376 (exit $ac_status); } && { 7377 test -z "$ac_cxx_werror_flag" || 7378 test ! -s conftest.err 7379 } && test -s conftest.$ac_objext; then 7380 ac_header_compiler=yes 7381 else 7382 echo "$as_me: failed program was:" >&5 7383 sed 's/^/| /' conftest.$ac_ext >&5 7384 7385 ac_header_compiler=no 7386 fi 7387 7388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7389 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7390 echo "${ECHO_T}$ac_header_compiler" >&6; } 7391 7392 # Is the header present? 7393 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7395 cat >conftest.$ac_ext <<_ACEOF 7396 /* confdefs.h. */ 7397 _ACEOF 7398 cat confdefs.h >>conftest.$ac_ext 7399 cat >>conftest.$ac_ext <<_ACEOF 7400 /* end confdefs.h. */ 7401 #include <$ac_header> 7402 _ACEOF 7403 if { (ac_try="$ac_cpp conftest.$ac_ext" 7404 case "(($ac_try" in 7405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7406 *) ac_try_echo=$ac_try;; 7407 esac 7408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7409 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7410 ac_status=$? 7411 grep -v '^ *+' conftest.er1 >conftest.err 7412 rm -f conftest.er1 7413 cat conftest.err >&5 7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7415 (exit $ac_status); } >/dev/null && { 7416 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7417 test ! -s conftest.err 7418 }; then 7419 ac_header_preproc=yes 7420 else 7421 echo "$as_me: failed program was:" >&5 7422 sed 's/^/| /' conftest.$ac_ext >&5 7423 7424 ac_header_preproc=no 7425 fi 7426 7427 rm -f conftest.err conftest.$ac_ext 7428 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7429 echo "${ECHO_T}$ac_header_preproc" >&6; } 7430 7431 # So? What about this header? 7432 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7433 yes:no: ) 7434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7438 ac_header_preproc=yes 7439 ;; 7440 no:yes:* ) 7441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7453 ( cat <<\_ASBOX 7454 ## ----------------------------------- ## 7455 ## Report this to rappture@nanohub.org ## 7456 ## ----------------------------------- ## 7457 _ASBOX 7458 ) | sed "s/^/$as_me: WARNING: /" >&2 7459 ;; 7460 esac 7461 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7464 echo $ECHO_N "(cached) $ECHO_C" >&6 7465 else 7466 eval "$as_ac_Header=\$ac_header_preproc" 7467 fi 7468 ac_res=`eval echo '${'$as_ac_Header'}'` 7469 { echo "$as_me:$LINENO: result: $ac_res" >&5 7470 echo "${ECHO_T}$ac_res" >&6; } 7471 7472 fi 7473 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5154 do : 5155 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5156 if test "x$ac_cv_header_assert_h" = xyes; then : 7474 5157 cat >>confdefs.h <<_ACEOF 7475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7476 _ACEOF 7477 7478 else 7479 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7480 echo "$as_me: WARNING: C headers missing ?" >&2;} 7481 fi 7482 7483 done 7484 5158 #define HAVE_ASSERT_H 1 5159 _ACEOF 5160 5161 else 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5163 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5164 fi 5165 5166 done 7485 5167 7486 5168 for ac_header in ctype.h 7487 do 7488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7490 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7493 echo $ECHO_N "(cached) $ECHO_C" >&6 7494 fi 7495 ac_res=`eval echo '${'$as_ac_Header'}'` 7496 { echo "$as_me:$LINENO: result: $ac_res" >&5 7497 echo "${ECHO_T}$ac_res" >&6; } 7498 else 7499 # Is the header compilable? 7500 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7502 cat >conftest.$ac_ext <<_ACEOF 7503 /* confdefs.h. */ 7504 _ACEOF 7505 cat confdefs.h >>conftest.$ac_ext 7506 cat >>conftest.$ac_ext <<_ACEOF 7507 /* end confdefs.h. */ 7508 $ac_includes_default 7509 #include <$ac_header> 7510 _ACEOF 7511 rm -f conftest.$ac_objext 7512 if { (ac_try="$ac_compile" 7513 case "(($ac_try" in 7514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7515 *) ac_try_echo=$ac_try;; 7516 esac 7517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7518 (eval "$ac_compile") 2>conftest.er1 7519 ac_status=$? 7520 grep -v '^ *+' conftest.er1 >conftest.err 7521 rm -f conftest.er1 7522 cat conftest.err >&5 7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7524 (exit $ac_status); } && { 7525 test -z "$ac_cxx_werror_flag" || 7526 test ! -s conftest.err 7527 } && test -s conftest.$ac_objext; then 7528 ac_header_compiler=yes 7529 else 7530 echo "$as_me: failed program was:" >&5 7531 sed 's/^/| /' conftest.$ac_ext >&5 7532 7533 ac_header_compiler=no 7534 fi 7535 7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7538 echo "${ECHO_T}$ac_header_compiler" >&6; } 7539 7540 # Is the header present? 7541 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7543 cat >conftest.$ac_ext <<_ACEOF 7544 /* confdefs.h. */ 7545 _ACEOF 7546 cat confdefs.h >>conftest.$ac_ext 7547 cat >>conftest.$ac_ext <<_ACEOF 7548 /* end confdefs.h. */ 7549 #include <$ac_header> 7550 _ACEOF 7551 if { (ac_try="$ac_cpp conftest.$ac_ext" 7552 case "(($ac_try" in 7553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7554 *) ac_try_echo=$ac_try;; 7555 esac 7556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7558 ac_status=$? 7559 grep -v '^ *+' conftest.er1 >conftest.err 7560 rm -f conftest.er1 7561 cat conftest.err >&5 7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7563 (exit $ac_status); } >/dev/null && { 7564 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7565 test ! -s conftest.err 7566 }; then 7567 ac_header_preproc=yes 7568 else 7569 echo "$as_me: failed program was:" >&5 7570 sed 's/^/| /' conftest.$ac_ext >&5 7571 7572 ac_header_preproc=no 7573 fi 7574 7575 rm -f conftest.err conftest.$ac_ext 7576 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7577 echo "${ECHO_T}$ac_header_preproc" >&6; } 7578 7579 # So? What about this header? 7580 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7581 yes:no: ) 7582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7586 ac_header_preproc=yes 7587 ;; 7588 no:yes:* ) 7589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7601 ( cat <<\_ASBOX 7602 ## ----------------------------------- ## 7603 ## Report this to rappture@nanohub.org ## 7604 ## ----------------------------------- ## 7605 _ASBOX 7606 ) | sed "s/^/$as_me: WARNING: /" >&2 7607 ;; 7608 esac 7609 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7612 echo $ECHO_N "(cached) $ECHO_C" >&6 7613 else 7614 eval "$as_ac_Header=\$ac_header_preproc" 7615 fi 7616 ac_res=`eval echo '${'$as_ac_Header'}'` 7617 { echo "$as_me:$LINENO: result: $ac_res" >&5 7618 echo "${ECHO_T}$ac_res" >&6; } 7619 7620 fi 7621 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5169 do : 5170 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5171 if test "x$ac_cv_header_ctype_h" = xyes; then : 7622 5172 cat >>confdefs.h <<_ACEOF 7623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7624 _ACEOF 7625 7626 else 7627 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7628 echo "$as_me: WARNING: C headers missing ?" >&2;} 7629 fi 7630 7631 done 7632 5173 #define HAVE_CTYPE_H 1 5174 _ACEOF 5175 5176 else 5177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5178 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5179 fi 5180 5181 done 7633 5182 7634 5183 for ac_header in errno.h 7635 do 7636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7638 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7641 echo $ECHO_N "(cached) $ECHO_C" >&6 7642 fi 7643 ac_res=`eval echo '${'$as_ac_Header'}'` 7644 { echo "$as_me:$LINENO: result: $ac_res" >&5 7645 echo "${ECHO_T}$ac_res" >&6; } 7646 else 7647 # Is the header compilable? 7648 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7650 cat >conftest.$ac_ext <<_ACEOF 7651 /* confdefs.h. */ 7652 _ACEOF 7653 cat confdefs.h >>conftest.$ac_ext 7654 cat >>conftest.$ac_ext <<_ACEOF 7655 /* end confdefs.h. */ 7656 $ac_includes_default 7657 #include <$ac_header> 7658 _ACEOF 7659 rm -f conftest.$ac_objext 7660 if { (ac_try="$ac_compile" 7661 case "(($ac_try" in 7662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7663 *) ac_try_echo=$ac_try;; 7664 esac 7665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7666 (eval "$ac_compile") 2>conftest.er1 7667 ac_status=$? 7668 grep -v '^ *+' conftest.er1 >conftest.err 7669 rm -f conftest.er1 7670 cat conftest.err >&5 7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 (exit $ac_status); } && { 7673 test -z "$ac_cxx_werror_flag" || 7674 test ! -s conftest.err 7675 } && test -s conftest.$ac_objext; then 7676 ac_header_compiler=yes 7677 else 7678 echo "$as_me: failed program was:" >&5 7679 sed 's/^/| /' conftest.$ac_ext >&5 7680 7681 ac_header_compiler=no 7682 fi 7683 7684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7686 echo "${ECHO_T}$ac_header_compiler" >&6; } 7687 7688 # Is the header present? 7689 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7691 cat >conftest.$ac_ext <<_ACEOF 7692 /* confdefs.h. */ 7693 _ACEOF 7694 cat confdefs.h >>conftest.$ac_ext 7695 cat >>conftest.$ac_ext <<_ACEOF 7696 /* end confdefs.h. */ 7697 #include <$ac_header> 7698 _ACEOF 7699 if { (ac_try="$ac_cpp conftest.$ac_ext" 7700 case "(($ac_try" in 7701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7702 *) ac_try_echo=$ac_try;; 7703 esac 7704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7706 ac_status=$? 7707 grep -v '^ *+' conftest.er1 >conftest.err 7708 rm -f conftest.er1 7709 cat conftest.err >&5 7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7711 (exit $ac_status); } >/dev/null && { 7712 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7713 test ! -s conftest.err 7714 }; then 7715 ac_header_preproc=yes 7716 else 7717 echo "$as_me: failed program was:" >&5 7718 sed 's/^/| /' conftest.$ac_ext >&5 7719 7720 ac_header_preproc=no 7721 fi 7722 7723 rm -f conftest.err conftest.$ac_ext 7724 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7725 echo "${ECHO_T}$ac_header_preproc" >&6; } 7726 7727 # So? What about this header? 7728 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7729 yes:no: ) 7730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7734 ac_header_preproc=yes 7735 ;; 7736 no:yes:* ) 7737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7749 ( cat <<\_ASBOX 7750 ## ----------------------------------- ## 7751 ## Report this to rappture@nanohub.org ## 7752 ## ----------------------------------- ## 7753 _ASBOX 7754 ) | sed "s/^/$as_me: WARNING: /" >&2 7755 ;; 7756 esac 7757 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7760 echo $ECHO_N "(cached) $ECHO_C" >&6 7761 else 7762 eval "$as_ac_Header=\$ac_header_preproc" 7763 fi 7764 ac_res=`eval echo '${'$as_ac_Header'}'` 7765 { echo "$as_me:$LINENO: result: $ac_res" >&5 7766 echo "${ECHO_T}$ac_res" >&6; } 7767 7768 fi 7769 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5184 do : 5185 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5186 if test "x$ac_cv_header_errno_h" = xyes; then : 7770 5187 cat >>confdefs.h <<_ACEOF 7771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7772 _ACEOF 7773 7774 else 7775 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7776 echo "$as_me: WARNING: C headers missing ?" >&2;} 7777 fi 7778 7779 done 7780 5188 #define HAVE_ERRNO_H 1 5189 _ACEOF 5190 5191 else 5192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5193 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5194 fi 5195 5196 done 7781 5197 7782 5198 for ac_header in limits.h 7783 do 7784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7786 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7789 echo $ECHO_N "(cached) $ECHO_C" >&6 7790 fi 7791 ac_res=`eval echo '${'$as_ac_Header'}'` 7792 { echo "$as_me:$LINENO: result: $ac_res" >&5 7793 echo "${ECHO_T}$ac_res" >&6; } 7794 else 7795 # Is the header compilable? 7796 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7798 cat >conftest.$ac_ext <<_ACEOF 7799 /* confdefs.h. */ 7800 _ACEOF 7801 cat confdefs.h >>conftest.$ac_ext 7802 cat >>conftest.$ac_ext <<_ACEOF 7803 /* end confdefs.h. */ 7804 $ac_includes_default 7805 #include <$ac_header> 7806 _ACEOF 7807 rm -f conftest.$ac_objext 7808 if { (ac_try="$ac_compile" 7809 case "(($ac_try" in 7810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7811 *) ac_try_echo=$ac_try;; 7812 esac 7813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7814 (eval "$ac_compile") 2>conftest.er1 7815 ac_status=$? 7816 grep -v '^ *+' conftest.er1 >conftest.err 7817 rm -f conftest.er1 7818 cat conftest.err >&5 7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7820 (exit $ac_status); } && { 7821 test -z "$ac_cxx_werror_flag" || 7822 test ! -s conftest.err 7823 } && test -s conftest.$ac_objext; then 7824 ac_header_compiler=yes 7825 else 7826 echo "$as_me: failed program was:" >&5 7827 sed 's/^/| /' conftest.$ac_ext >&5 7828 7829 ac_header_compiler=no 7830 fi 7831 7832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7833 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7834 echo "${ECHO_T}$ac_header_compiler" >&6; } 7835 7836 # Is the header present? 7837 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7839 cat >conftest.$ac_ext <<_ACEOF 7840 /* confdefs.h. */ 7841 _ACEOF 7842 cat confdefs.h >>conftest.$ac_ext 7843 cat >>conftest.$ac_ext <<_ACEOF 7844 /* end confdefs.h. */ 7845 #include <$ac_header> 7846 _ACEOF 7847 if { (ac_try="$ac_cpp conftest.$ac_ext" 7848 case "(($ac_try" in 7849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7850 *) ac_try_echo=$ac_try;; 7851 esac 7852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7854 ac_status=$? 7855 grep -v '^ *+' conftest.er1 >conftest.err 7856 rm -f conftest.er1 7857 cat conftest.err >&5 7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7859 (exit $ac_status); } >/dev/null && { 7860 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7861 test ! -s conftest.err 7862 }; then 7863 ac_header_preproc=yes 7864 else 7865 echo "$as_me: failed program was:" >&5 7866 sed 's/^/| /' conftest.$ac_ext >&5 7867 7868 ac_header_preproc=no 7869 fi 7870 7871 rm -f conftest.err conftest.$ac_ext 7872 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7873 echo "${ECHO_T}$ac_header_preproc" >&6; } 7874 7875 # So? What about this header? 7876 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7877 yes:no: ) 7878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7882 ac_header_preproc=yes 7883 ;; 7884 no:yes:* ) 7885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7897 ( cat <<\_ASBOX 7898 ## ----------------------------------- ## 7899 ## Report this to rappture@nanohub.org ## 7900 ## ----------------------------------- ## 7901 _ASBOX 7902 ) | sed "s/^/$as_me: WARNING: /" >&2 7903 ;; 7904 esac 7905 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7908 echo $ECHO_N "(cached) $ECHO_C" >&6 7909 else 7910 eval "$as_ac_Header=\$ac_header_preproc" 7911 fi 7912 ac_res=`eval echo '${'$as_ac_Header'}'` 7913 { echo "$as_me:$LINENO: result: $ac_res" >&5 7914 echo "${ECHO_T}$ac_res" >&6; } 7915 7916 fi 7917 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5199 do : 5200 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5201 if test "x$ac_cv_header_limits_h" = xyes; then : 7918 5202 cat >>confdefs.h <<_ACEOF 7919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7920 _ACEOF 7921 7922 else 7923 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7924 echo "$as_me: WARNING: C headers missing ?" >&2;} 7925 fi 7926 7927 done 7928 5203 #define HAVE_LIMITS_H 1 5204 _ACEOF 5205 5206 else 5207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5208 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5209 fi 5210 5211 done 7929 5212 7930 5213 for ac_header in string.h 7931 do 7932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7934 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7937 echo $ECHO_N "(cached) $ECHO_C" >&6 7938 fi 7939 ac_res=`eval echo '${'$as_ac_Header'}'` 7940 { echo "$as_me:$LINENO: result: $ac_res" >&5 7941 echo "${ECHO_T}$ac_res" >&6; } 7942 else 7943 # Is the header compilable? 7944 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7946 cat >conftest.$ac_ext <<_ACEOF 7947 /* confdefs.h. */ 7948 _ACEOF 7949 cat confdefs.h >>conftest.$ac_ext 7950 cat >>conftest.$ac_ext <<_ACEOF 7951 /* end confdefs.h. */ 7952 $ac_includes_default 7953 #include <$ac_header> 7954 _ACEOF 7955 rm -f conftest.$ac_objext 7956 if { (ac_try="$ac_compile" 7957 case "(($ac_try" in 7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7959 *) ac_try_echo=$ac_try;; 7960 esac 7961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7962 (eval "$ac_compile") 2>conftest.er1 7963 ac_status=$? 7964 grep -v '^ *+' conftest.er1 >conftest.err 7965 rm -f conftest.er1 7966 cat conftest.err >&5 7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7968 (exit $ac_status); } && { 7969 test -z "$ac_cxx_werror_flag" || 7970 test ! -s conftest.err 7971 } && test -s conftest.$ac_objext; then 7972 ac_header_compiler=yes 7973 else 7974 echo "$as_me: failed program was:" >&5 7975 sed 's/^/| /' conftest.$ac_ext >&5 7976 7977 ac_header_compiler=no 7978 fi 7979 7980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7981 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7982 echo "${ECHO_T}$ac_header_compiler" >&6; } 7983 7984 # Is the header present? 7985 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7987 cat >conftest.$ac_ext <<_ACEOF 7988 /* confdefs.h. */ 7989 _ACEOF 7990 cat confdefs.h >>conftest.$ac_ext 7991 cat >>conftest.$ac_ext <<_ACEOF 7992 /* end confdefs.h. */ 7993 #include <$ac_header> 7994 _ACEOF 7995 if { (ac_try="$ac_cpp conftest.$ac_ext" 7996 case "(($ac_try" in 7997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7998 *) ac_try_echo=$ac_try;; 7999 esac 8000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8002 ac_status=$? 8003 grep -v '^ *+' conftest.er1 >conftest.err 8004 rm -f conftest.er1 8005 cat conftest.err >&5 8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8007 (exit $ac_status); } >/dev/null && { 8008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8009 test ! -s conftest.err 8010 }; then 8011 ac_header_preproc=yes 8012 else 8013 echo "$as_me: failed program was:" >&5 8014 sed 's/^/| /' conftest.$ac_ext >&5 8015 8016 ac_header_preproc=no 8017 fi 8018 8019 rm -f conftest.err conftest.$ac_ext 8020 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8021 echo "${ECHO_T}$ac_header_preproc" >&6; } 8022 8023 # So? What about this header? 8024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8025 yes:no: ) 8026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8030 ac_header_preproc=yes 8031 ;; 8032 no:yes:* ) 8033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8045 ( cat <<\_ASBOX 8046 ## ----------------------------------- ## 8047 ## Report this to rappture@nanohub.org ## 8048 ## ----------------------------------- ## 8049 _ASBOX 8050 ) | sed "s/^/$as_me: WARNING: /" >&2 8051 ;; 8052 esac 8053 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8056 echo $ECHO_N "(cached) $ECHO_C" >&6 8057 else 8058 eval "$as_ac_Header=\$ac_header_preproc" 8059 fi 8060 ac_res=`eval echo '${'$as_ac_Header'}'` 8061 { echo "$as_me:$LINENO: result: $ac_res" >&5 8062 echo "${ECHO_T}$ac_res" >&6; } 8063 8064 fi 8065 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5214 do : 5215 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5216 if test "x$ac_cv_header_string_h" = xyes; then : 8066 5217 cat >>confdefs.h <<_ACEOF 8067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8068 _ACEOF 8069 8070 else 8071 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8072 echo "$as_me: WARNING: C headers missing ?" >&2;} 8073 fi 8074 8075 done 8076 5218 #define HAVE_STRING_H 1 5219 _ACEOF 5220 5221 else 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5223 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5224 fi 5225 5226 done 8077 5227 8078 5228 for ac_header in stdlib.h 8079 do 8080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8082 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8085 echo $ECHO_N "(cached) $ECHO_C" >&6 8086 fi 8087 ac_res=`eval echo '${'$as_ac_Header'}'` 8088 { echo "$as_me:$LINENO: result: $ac_res" >&5 8089 echo "${ECHO_T}$ac_res" >&6; } 8090 else 8091 # Is the header compilable? 8092 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8094 cat >conftest.$ac_ext <<_ACEOF 8095 /* confdefs.h. */ 8096 _ACEOF 8097 cat confdefs.h >>conftest.$ac_ext 8098 cat >>conftest.$ac_ext <<_ACEOF 8099 /* end confdefs.h. */ 8100 $ac_includes_default 8101 #include <$ac_header> 8102 _ACEOF 8103 rm -f conftest.$ac_objext 8104 if { (ac_try="$ac_compile" 8105 case "(($ac_try" in 8106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8107 *) ac_try_echo=$ac_try;; 8108 esac 8109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8110 (eval "$ac_compile") 2>conftest.er1 8111 ac_status=$? 8112 grep -v '^ *+' conftest.er1 >conftest.err 8113 rm -f conftest.er1 8114 cat conftest.err >&5 8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8116 (exit $ac_status); } && { 8117 test -z "$ac_cxx_werror_flag" || 8118 test ! -s conftest.err 8119 } && test -s conftest.$ac_objext; then 8120 ac_header_compiler=yes 8121 else 8122 echo "$as_me: failed program was:" >&5 8123 sed 's/^/| /' conftest.$ac_ext >&5 8124 8125 ac_header_compiler=no 8126 fi 8127 8128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8129 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8130 echo "${ECHO_T}$ac_header_compiler" >&6; } 8131 8132 # Is the header present? 8133 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8135 cat >conftest.$ac_ext <<_ACEOF 8136 /* confdefs.h. */ 8137 _ACEOF 8138 cat confdefs.h >>conftest.$ac_ext 8139 cat >>conftest.$ac_ext <<_ACEOF 8140 /* end confdefs.h. */ 8141 #include <$ac_header> 8142 _ACEOF 8143 if { (ac_try="$ac_cpp conftest.$ac_ext" 8144 case "(($ac_try" in 8145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8146 *) ac_try_echo=$ac_try;; 8147 esac 8148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8150 ac_status=$? 8151 grep -v '^ *+' conftest.er1 >conftest.err 8152 rm -f conftest.er1 8153 cat conftest.err >&5 8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8155 (exit $ac_status); } >/dev/null && { 8156 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8157 test ! -s conftest.err 8158 }; then 8159 ac_header_preproc=yes 8160 else 8161 echo "$as_me: failed program was:" >&5 8162 sed 's/^/| /' conftest.$ac_ext >&5 8163 8164 ac_header_preproc=no 8165 fi 8166 8167 rm -f conftest.err conftest.$ac_ext 8168 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8169 echo "${ECHO_T}$ac_header_preproc" >&6; } 8170 8171 # So? What about this header? 8172 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8173 yes:no: ) 8174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8178 ac_header_preproc=yes 8179 ;; 8180 no:yes:* ) 8181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8193 ( cat <<\_ASBOX 8194 ## ----------------------------------- ## 8195 ## Report this to rappture@nanohub.org ## 8196 ## ----------------------------------- ## 8197 _ASBOX 8198 ) | sed "s/^/$as_me: WARNING: /" >&2 8199 ;; 8200 esac 8201 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8204 echo $ECHO_N "(cached) $ECHO_C" >&6 8205 else 8206 eval "$as_ac_Header=\$ac_header_preproc" 8207 fi 8208 ac_res=`eval echo '${'$as_ac_Header'}'` 8209 { echo "$as_me:$LINENO: result: $ac_res" >&5 8210 echo "${ECHO_T}$ac_res" >&6; } 8211 8212 fi 8213 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5229 do : 5230 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5231 if test "x$ac_cv_header_stdlib_h" = xyes; then : 8214 5232 cat >>confdefs.h <<_ACEOF 8215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8216 _ACEOF 8217 8218 else 8219 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8220 echo "$as_me: WARNING: C headers missing ?" >&2;} 8221 fi 8222 8223 done 8224 5233 #define HAVE_STDLIB_H 1 5234 _ACEOF 5235 5236 else 5237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5238 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5239 fi 5240 5241 done 8225 5242 8226 5243 for ac_header in stddef.h 8227 do 8228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8230 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8233 echo $ECHO_N "(cached) $ECHO_C" >&6 8234 fi 8235 ac_res=`eval echo '${'$as_ac_Header'}'` 8236 { echo "$as_me:$LINENO: result: $ac_res" >&5 8237 echo "${ECHO_T}$ac_res" >&6; } 8238 else 8239 # Is the header compilable? 8240 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8242 cat >conftest.$ac_ext <<_ACEOF 8243 /* confdefs.h. */ 8244 _ACEOF 8245 cat confdefs.h >>conftest.$ac_ext 8246 cat >>conftest.$ac_ext <<_ACEOF 8247 /* end confdefs.h. */ 8248 $ac_includes_default 8249 #include <$ac_header> 8250 _ACEOF 8251 rm -f conftest.$ac_objext 8252 if { (ac_try="$ac_compile" 8253 case "(($ac_try" in 8254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8255 *) ac_try_echo=$ac_try;; 8256 esac 8257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8258 (eval "$ac_compile") 2>conftest.er1 8259 ac_status=$? 8260 grep -v '^ *+' conftest.er1 >conftest.err 8261 rm -f conftest.er1 8262 cat conftest.err >&5 8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8264 (exit $ac_status); } && { 8265 test -z "$ac_cxx_werror_flag" || 8266 test ! -s conftest.err 8267 } && test -s conftest.$ac_objext; then 8268 ac_header_compiler=yes 8269 else 8270 echo "$as_me: failed program was:" >&5 8271 sed 's/^/| /' conftest.$ac_ext >&5 8272 8273 ac_header_compiler=no 8274 fi 8275 8276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8277 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8278 echo "${ECHO_T}$ac_header_compiler" >&6; } 8279 8280 # Is the header present? 8281 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8283 cat >conftest.$ac_ext <<_ACEOF 8284 /* confdefs.h. */ 8285 _ACEOF 8286 cat confdefs.h >>conftest.$ac_ext 8287 cat >>conftest.$ac_ext <<_ACEOF 8288 /* end confdefs.h. */ 8289 #include <$ac_header> 8290 _ACEOF 8291 if { (ac_try="$ac_cpp conftest.$ac_ext" 8292 case "(($ac_try" in 8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8294 *) ac_try_echo=$ac_try;; 8295 esac 8296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8297 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8298 ac_status=$? 8299 grep -v '^ *+' conftest.er1 >conftest.err 8300 rm -f conftest.er1 8301 cat conftest.err >&5 8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8303 (exit $ac_status); } >/dev/null && { 8304 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8305 test ! -s conftest.err 8306 }; then 8307 ac_header_preproc=yes 8308 else 8309 echo "$as_me: failed program was:" >&5 8310 sed 's/^/| /' conftest.$ac_ext >&5 8311 8312 ac_header_preproc=no 8313 fi 8314 8315 rm -f conftest.err conftest.$ac_ext 8316 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8317 echo "${ECHO_T}$ac_header_preproc" >&6; } 8318 8319 # So? What about this header? 8320 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8321 yes:no: ) 8322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8326 ac_header_preproc=yes 8327 ;; 8328 no:yes:* ) 8329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8341 ( cat <<\_ASBOX 8342 ## ----------------------------------- ## 8343 ## Report this to rappture@nanohub.org ## 8344 ## ----------------------------------- ## 8345 _ASBOX 8346 ) | sed "s/^/$as_me: WARNING: /" >&2 8347 ;; 8348 esac 8349 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8352 echo $ECHO_N "(cached) $ECHO_C" >&6 8353 else 8354 eval "$as_ac_Header=\$ac_header_preproc" 8355 fi 8356 ac_res=`eval echo '${'$as_ac_Header'}'` 8357 { echo "$as_me:$LINENO: result: $ac_res" >&5 8358 echo "${ECHO_T}$ac_res" >&6; } 8359 8360 fi 8361 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5244 do : 5245 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5246 if test "x$ac_cv_header_stddef_h" = xyes; then : 8362 5247 cat >>confdefs.h <<_ACEOF 8363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8364 _ACEOF 8365 8366 else 8367 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8368 echo "$as_me: WARNING: C headers missing ?" >&2;} 8369 fi 8370 8371 done 8372 5248 #define HAVE_STDDEF_H 1 5249 _ACEOF 5250 5251 else 5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5253 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5254 fi 5255 5256 done 8373 5257 8374 5258 for ac_header in float.h 8375 do 8376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8378 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8381 echo $ECHO_N "(cached) $ECHO_C" >&6 8382 fi 8383 ac_res=`eval echo '${'$as_ac_Header'}'` 8384 { echo "$as_me:$LINENO: result: $ac_res" >&5 8385 echo "${ECHO_T}$ac_res" >&6; } 8386 else 8387 # Is the header compilable? 8388 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8390 cat >conftest.$ac_ext <<_ACEOF 8391 /* confdefs.h. */ 8392 _ACEOF 8393 cat confdefs.h >>conftest.$ac_ext 8394 cat >>conftest.$ac_ext <<_ACEOF 8395 /* end confdefs.h. */ 8396 $ac_includes_default 8397 #include <$ac_header> 8398 _ACEOF 8399 rm -f conftest.$ac_objext 8400 if { (ac_try="$ac_compile" 8401 case "(($ac_try" in 8402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8403 *) ac_try_echo=$ac_try;; 8404 esac 8405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8406 (eval "$ac_compile") 2>conftest.er1 8407 ac_status=$? 8408 grep -v '^ *+' conftest.er1 >conftest.err 8409 rm -f conftest.er1 8410 cat conftest.err >&5 8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8412 (exit $ac_status); } && { 8413 test -z "$ac_cxx_werror_flag" || 8414 test ! -s conftest.err 8415 } && test -s conftest.$ac_objext; then 8416 ac_header_compiler=yes 8417 else 8418 echo "$as_me: failed program was:" >&5 8419 sed 's/^/| /' conftest.$ac_ext >&5 8420 8421 ac_header_compiler=no 8422 fi 8423 8424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8425 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8426 echo "${ECHO_T}$ac_header_compiler" >&6; } 8427 8428 # Is the header present? 8429 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8430 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8431 cat >conftest.$ac_ext <<_ACEOF 8432 /* confdefs.h. */ 8433 _ACEOF 8434 cat confdefs.h >>conftest.$ac_ext 8435 cat >>conftest.$ac_ext <<_ACEOF 8436 /* end confdefs.h. */ 8437 #include <$ac_header> 8438 _ACEOF 8439 if { (ac_try="$ac_cpp conftest.$ac_ext" 8440 case "(($ac_try" in 8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8442 *) ac_try_echo=$ac_try;; 8443 esac 8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8446 ac_status=$? 8447 grep -v '^ *+' conftest.er1 >conftest.err 8448 rm -f conftest.er1 8449 cat conftest.err >&5 8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8451 (exit $ac_status); } >/dev/null && { 8452 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8453 test ! -s conftest.err 8454 }; then 8455 ac_header_preproc=yes 8456 else 8457 echo "$as_me: failed program was:" >&5 8458 sed 's/^/| /' conftest.$ac_ext >&5 8459 8460 ac_header_preproc=no 8461 fi 8462 8463 rm -f conftest.err conftest.$ac_ext 8464 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8465 echo "${ECHO_T}$ac_header_preproc" >&6; } 8466 8467 # So? What about this header? 8468 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8469 yes:no: ) 8470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8474 ac_header_preproc=yes 8475 ;; 8476 no:yes:* ) 8477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8489 ( cat <<\_ASBOX 8490 ## ----------------------------------- ## 8491 ## Report this to rappture@nanohub.org ## 8492 ## ----------------------------------- ## 8493 _ASBOX 8494 ) | sed "s/^/$as_me: WARNING: /" >&2 8495 ;; 8496 esac 8497 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8500 echo $ECHO_N "(cached) $ECHO_C" >&6 8501 else 8502 eval "$as_ac_Header=\$ac_header_preproc" 8503 fi 8504 ac_res=`eval echo '${'$as_ac_Header'}'` 8505 { echo "$as_me:$LINENO: result: $ac_res" >&5 8506 echo "${ECHO_T}$ac_res" >&6; } 8507 8508 fi 8509 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5259 do : 5260 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5261 if test "x$ac_cv_header_float_h" = xyes; then : 8510 5262 cat >>confdefs.h <<_ACEOF 8511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8512 _ACEOF 8513 8514 else 8515 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8516 echo "$as_me: WARNING: C headers missing ?" >&2;} 8517 fi 8518 8519 done 8520 5263 #define HAVE_FLOAT_H 1 5264 _ACEOF 5265 5266 else 5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5268 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5269 fi 5270 5271 done 8521 5272 8522 5273 for ac_header in math.h 8523 do 8524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8526 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8529 echo $ECHO_N "(cached) $ECHO_C" >&6 8530 fi 8531 ac_res=`eval echo '${'$as_ac_Header'}'` 8532 { echo "$as_me:$LINENO: result: $ac_res" >&5 8533 echo "${ECHO_T}$ac_res" >&6; } 8534 else 8535 # Is the header compilable? 8536 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8538 cat >conftest.$ac_ext <<_ACEOF 8539 /* confdefs.h. */ 8540 _ACEOF 8541 cat confdefs.h >>conftest.$ac_ext 8542 cat >>conftest.$ac_ext <<_ACEOF 8543 /* end confdefs.h. */ 8544 $ac_includes_default 8545 #include <$ac_header> 8546 _ACEOF 8547 rm -f conftest.$ac_objext 8548 if { (ac_try="$ac_compile" 8549 case "(($ac_try" in 8550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8551 *) ac_try_echo=$ac_try;; 8552 esac 8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8554 (eval "$ac_compile") 2>conftest.er1 8555 ac_status=$? 8556 grep -v '^ *+' conftest.er1 >conftest.err 8557 rm -f conftest.er1 8558 cat conftest.err >&5 8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8560 (exit $ac_status); } && { 8561 test -z "$ac_cxx_werror_flag" || 8562 test ! -s conftest.err 8563 } && test -s conftest.$ac_objext; then 8564 ac_header_compiler=yes 8565 else 8566 echo "$as_me: failed program was:" >&5 8567 sed 's/^/| /' conftest.$ac_ext >&5 8568 8569 ac_header_compiler=no 8570 fi 8571 8572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8574 echo "${ECHO_T}$ac_header_compiler" >&6; } 8575 8576 # Is the header present? 8577 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8579 cat >conftest.$ac_ext <<_ACEOF 8580 /* confdefs.h. */ 8581 _ACEOF 8582 cat confdefs.h >>conftest.$ac_ext 8583 cat >>conftest.$ac_ext <<_ACEOF 8584 /* end confdefs.h. */ 8585 #include <$ac_header> 8586 _ACEOF 8587 if { (ac_try="$ac_cpp conftest.$ac_ext" 8588 case "(($ac_try" in 8589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8590 *) ac_try_echo=$ac_try;; 8591 esac 8592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8594 ac_status=$? 8595 grep -v '^ *+' conftest.er1 >conftest.err 8596 rm -f conftest.er1 8597 cat conftest.err >&5 8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8599 (exit $ac_status); } >/dev/null && { 8600 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8601 test ! -s conftest.err 8602 }; then 8603 ac_header_preproc=yes 8604 else 8605 echo "$as_me: failed program was:" >&5 8606 sed 's/^/| /' conftest.$ac_ext >&5 8607 8608 ac_header_preproc=no 8609 fi 8610 8611 rm -f conftest.err conftest.$ac_ext 8612 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8613 echo "${ECHO_T}$ac_header_preproc" >&6; } 8614 8615 # So? What about this header? 8616 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8617 yes:no: ) 8618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8622 ac_header_preproc=yes 8623 ;; 8624 no:yes:* ) 8625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8637 ( cat <<\_ASBOX 8638 ## ----------------------------------- ## 8639 ## Report this to rappture@nanohub.org ## 8640 ## ----------------------------------- ## 8641 _ASBOX 8642 ) | sed "s/^/$as_me: WARNING: /" >&2 8643 ;; 8644 esac 8645 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8648 echo $ECHO_N "(cached) $ECHO_C" >&6 8649 else 8650 eval "$as_ac_Header=\$ac_header_preproc" 8651 fi 8652 ac_res=`eval echo '${'$as_ac_Header'}'` 8653 { echo "$as_me:$LINENO: result: $ac_res" >&5 8654 echo "${ECHO_T}$ac_res" >&6; } 8655 8656 fi 8657 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5274 do : 5275 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5276 if test "x$ac_cv_header_math_h" = xyes; then : 8658 5277 cat >>confdefs.h <<_ACEOF 8659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8660 _ACEOF 8661 8662 else 8663 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8664 echo "$as_me: WARNING: C headers missing ?" >&2;} 8665 fi 8666 8667 done 8668 5278 #define HAVE_MATH_H 1 5279 _ACEOF 5280 5281 else 5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5283 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5284 fi 5285 5286 done 8669 5287 8670 5288 for ac_header in malloc.h 8671 do 8672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8674 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8677 echo $ECHO_N "(cached) $ECHO_C" >&6 8678 fi 8679 ac_res=`eval echo '${'$as_ac_Header'}'` 8680 { echo "$as_me:$LINENO: result: $ac_res" >&5 8681 echo "${ECHO_T}$ac_res" >&6; } 8682 else 8683 # Is the header compilable? 8684 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8686 cat >conftest.$ac_ext <<_ACEOF 8687 /* confdefs.h. */ 8688 _ACEOF 8689 cat confdefs.h >>conftest.$ac_ext 8690 cat >>conftest.$ac_ext <<_ACEOF 8691 /* end confdefs.h. */ 8692 $ac_includes_default 8693 #include <$ac_header> 8694 _ACEOF 8695 rm -f conftest.$ac_objext 8696 if { (ac_try="$ac_compile" 8697 case "(($ac_try" in 8698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8699 *) ac_try_echo=$ac_try;; 8700 esac 8701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8702 (eval "$ac_compile") 2>conftest.er1 8703 ac_status=$? 8704 grep -v '^ *+' conftest.er1 >conftest.err 8705 rm -f conftest.er1 8706 cat conftest.err >&5 8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8708 (exit $ac_status); } && { 8709 test -z "$ac_cxx_werror_flag" || 8710 test ! -s conftest.err 8711 } && test -s conftest.$ac_objext; then 8712 ac_header_compiler=yes 8713 else 8714 echo "$as_me: failed program was:" >&5 8715 sed 's/^/| /' conftest.$ac_ext >&5 8716 8717 ac_header_compiler=no 8718 fi 8719 8720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8721 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8722 echo "${ECHO_T}$ac_header_compiler" >&6; } 8723 8724 # Is the header present? 8725 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8727 cat >conftest.$ac_ext <<_ACEOF 8728 /* confdefs.h. */ 8729 _ACEOF 8730 cat confdefs.h >>conftest.$ac_ext 8731 cat >>conftest.$ac_ext <<_ACEOF 8732 /* end confdefs.h. */ 8733 #include <$ac_header> 8734 _ACEOF 8735 if { (ac_try="$ac_cpp conftest.$ac_ext" 8736 case "(($ac_try" in 8737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8738 *) ac_try_echo=$ac_try;; 8739 esac 8740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8741 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8742 ac_status=$? 8743 grep -v '^ *+' conftest.er1 >conftest.err 8744 rm -f conftest.er1 8745 cat conftest.err >&5 8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8747 (exit $ac_status); } >/dev/null && { 8748 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8749 test ! -s conftest.err 8750 }; then 8751 ac_header_preproc=yes 8752 else 8753 echo "$as_me: failed program was:" >&5 8754 sed 's/^/| /' conftest.$ac_ext >&5 8755 8756 ac_header_preproc=no 8757 fi 8758 8759 rm -f conftest.err conftest.$ac_ext 8760 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8761 echo "${ECHO_T}$ac_header_preproc" >&6; } 8762 8763 # So? What about this header? 8764 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8765 yes:no: ) 8766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8767 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8769 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8770 ac_header_preproc=yes 8771 ;; 8772 no:yes:* ) 8773 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8774 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8775 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8776 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8777 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8778 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8779 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8780 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8783 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8784 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8785 ( cat <<\_ASBOX 8786 ## ----------------------------------- ## 8787 ## Report this to rappture@nanohub.org ## 8788 ## ----------------------------------- ## 8789 _ASBOX 8790 ) | sed "s/^/$as_me: WARNING: /" >&2 8791 ;; 8792 esac 8793 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8796 echo $ECHO_N "(cached) $ECHO_C" >&6 8797 else 8798 eval "$as_ac_Header=\$ac_header_preproc" 8799 fi 8800 ac_res=`eval echo '${'$as_ac_Header'}'` 8801 { echo "$as_me:$LINENO: result: $ac_res" >&5 8802 echo "${ECHO_T}$ac_res" >&6; } 8803 8804 fi 8805 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5289 do : 5290 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5291 if test "x$ac_cv_header_malloc_h" = xyes; then : 8806 5292 cat >>confdefs.h <<_ACEOF 8807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8808 _ACEOF 8809 8810 else 8811 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8812 echo "$as_me: WARNING: C headers missing ?" >&2;} 8813 fi 8814 8815 done 8816 5293 #define HAVE_MALLOC_H 1 5294 _ACEOF 5295 5296 else 5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5298 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5299 fi 5300 5301 done 8817 5302 8818 5303 for ac_header in memory.h 8819 do 8820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8821 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8822 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8825 echo $ECHO_N "(cached) $ECHO_C" >&6 8826 fi 8827 ac_res=`eval echo '${'$as_ac_Header'}'` 8828 { echo "$as_me:$LINENO: result: $ac_res" >&5 8829 echo "${ECHO_T}$ac_res" >&6; } 8830 else 8831 # Is the header compilable? 8832 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8834 cat >conftest.$ac_ext <<_ACEOF 8835 /* confdefs.h. */ 8836 _ACEOF 8837 cat confdefs.h >>conftest.$ac_ext 8838 cat >>conftest.$ac_ext <<_ACEOF 8839 /* end confdefs.h. */ 8840 $ac_includes_default 8841 #include <$ac_header> 8842 _ACEOF 8843 rm -f conftest.$ac_objext 8844 if { (ac_try="$ac_compile" 8845 case "(($ac_try" in 8846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8847 *) ac_try_echo=$ac_try;; 8848 esac 8849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8850 (eval "$ac_compile") 2>conftest.er1 8851 ac_status=$? 8852 grep -v '^ *+' conftest.er1 >conftest.err 8853 rm -f conftest.er1 8854 cat conftest.err >&5 8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8856 (exit $ac_status); } && { 8857 test -z "$ac_cxx_werror_flag" || 8858 test ! -s conftest.err 8859 } && test -s conftest.$ac_objext; then 8860 ac_header_compiler=yes 8861 else 8862 echo "$as_me: failed program was:" >&5 8863 sed 's/^/| /' conftest.$ac_ext >&5 8864 8865 ac_header_compiler=no 8866 fi 8867 8868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8869 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8870 echo "${ECHO_T}$ac_header_compiler" >&6; } 8871 8872 # Is the header present? 8873 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8875 cat >conftest.$ac_ext <<_ACEOF 8876 /* confdefs.h. */ 8877 _ACEOF 8878 cat confdefs.h >>conftest.$ac_ext 8879 cat >>conftest.$ac_ext <<_ACEOF 8880 /* end confdefs.h. */ 8881 #include <$ac_header> 8882 _ACEOF 8883 if { (ac_try="$ac_cpp conftest.$ac_ext" 8884 case "(($ac_try" in 8885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8886 *) ac_try_echo=$ac_try;; 8887 esac 8888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8890 ac_status=$? 8891 grep -v '^ *+' conftest.er1 >conftest.err 8892 rm -f conftest.er1 8893 cat conftest.err >&5 8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8895 (exit $ac_status); } >/dev/null && { 8896 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8897 test ! -s conftest.err 8898 }; then 8899 ac_header_preproc=yes 8900 else 8901 echo "$as_me: failed program was:" >&5 8902 sed 's/^/| /' conftest.$ac_ext >&5 8903 8904 ac_header_preproc=no 8905 fi 8906 8907 rm -f conftest.err conftest.$ac_ext 8908 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8909 echo "${ECHO_T}$ac_header_preproc" >&6; } 8910 8911 # So? What about this header? 8912 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8913 yes:no: ) 8914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8918 ac_header_preproc=yes 8919 ;; 8920 no:yes:* ) 8921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8925 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8927 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8928 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8931 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8933 ( cat <<\_ASBOX 8934 ## ----------------------------------- ## 8935 ## Report this to rappture@nanohub.org ## 8936 ## ----------------------------------- ## 8937 _ASBOX 8938 ) | sed "s/^/$as_me: WARNING: /" >&2 8939 ;; 8940 esac 8941 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8944 echo $ECHO_N "(cached) $ECHO_C" >&6 8945 else 8946 eval "$as_ac_Header=\$ac_header_preproc" 8947 fi 8948 ac_res=`eval echo '${'$as_ac_Header'}'` 8949 { echo "$as_me:$LINENO: result: $ac_res" >&5 8950 echo "${ECHO_T}$ac_res" >&6; } 8951 8952 fi 8953 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5304 do : 5305 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5306 if test "x$ac_cv_header_memory_h" = xyes; then : 8954 5307 cat >>confdefs.h <<_ACEOF 8955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8956 _ACEOF 8957 8958 else 8959 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8960 echo "$as_me: WARNING: C headers missing ?" >&2;} 8961 fi 8962 8963 done 8964 5308 #define HAVE_MEMORY_H 1 5309 _ACEOF 5310 5311 else 5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5313 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5314 fi 5315 5316 done 8965 5317 8966 5318 for ac_header in unistd.h 8967 do 8968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8969 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8970 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8973 echo $ECHO_N "(cached) $ECHO_C" >&6 8974 fi 8975 ac_res=`eval echo '${'$as_ac_Header'}'` 8976 { echo "$as_me:$LINENO: result: $ac_res" >&5 8977 echo "${ECHO_T}$ac_res" >&6; } 8978 else 8979 # Is the header compilable? 8980 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8982 cat >conftest.$ac_ext <<_ACEOF 8983 /* confdefs.h. */ 8984 _ACEOF 8985 cat confdefs.h >>conftest.$ac_ext 8986 cat >>conftest.$ac_ext <<_ACEOF 8987 /* end confdefs.h. */ 8988 $ac_includes_default 8989 #include <$ac_header> 8990 _ACEOF 8991 rm -f conftest.$ac_objext 8992 if { (ac_try="$ac_compile" 8993 case "(($ac_try" in 8994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8995 *) ac_try_echo=$ac_try;; 8996 esac 8997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8998 (eval "$ac_compile") 2>conftest.er1 8999 ac_status=$? 9000 grep -v '^ *+' conftest.er1 >conftest.err 9001 rm -f conftest.er1 9002 cat conftest.err >&5 9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9004 (exit $ac_status); } && { 9005 test -z "$ac_cxx_werror_flag" || 9006 test ! -s conftest.err 9007 } && test -s conftest.$ac_objext; then 9008 ac_header_compiler=yes 9009 else 9010 echo "$as_me: failed program was:" >&5 9011 sed 's/^/| /' conftest.$ac_ext >&5 9012 9013 ac_header_compiler=no 9014 fi 9015 9016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9017 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9018 echo "${ECHO_T}$ac_header_compiler" >&6; } 9019 9020 # Is the header present? 9021 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9023 cat >conftest.$ac_ext <<_ACEOF 9024 /* confdefs.h. */ 9025 _ACEOF 9026 cat confdefs.h >>conftest.$ac_ext 9027 cat >>conftest.$ac_ext <<_ACEOF 9028 /* end confdefs.h. */ 9029 #include <$ac_header> 9030 _ACEOF 9031 if { (ac_try="$ac_cpp conftest.$ac_ext" 9032 case "(($ac_try" in 9033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9034 *) ac_try_echo=$ac_try;; 9035 esac 9036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9037 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9038 ac_status=$? 9039 grep -v '^ *+' conftest.er1 >conftest.err 9040 rm -f conftest.er1 9041 cat conftest.err >&5 9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9043 (exit $ac_status); } >/dev/null && { 9044 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9045 test ! -s conftest.err 9046 }; then 9047 ac_header_preproc=yes 9048 else 9049 echo "$as_me: failed program was:" >&5 9050 sed 's/^/| /' conftest.$ac_ext >&5 9051 9052 ac_header_preproc=no 9053 fi 9054 9055 rm -f conftest.err conftest.$ac_ext 9056 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9057 echo "${ECHO_T}$ac_header_preproc" >&6; } 9058 9059 # So? What about this header? 9060 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9061 yes:no: ) 9062 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9066 ac_header_preproc=yes 9067 ;; 9068 no:yes:* ) 9069 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9071 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9072 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9073 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9075 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9076 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9079 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9081 ( cat <<\_ASBOX 9082 ## ----------------------------------- ## 9083 ## Report this to rappture@nanohub.org ## 9084 ## ----------------------------------- ## 9085 _ASBOX 9086 ) | sed "s/^/$as_me: WARNING: /" >&2 9087 ;; 9088 esac 9089 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9092 echo $ECHO_N "(cached) $ECHO_C" >&6 9093 else 9094 eval "$as_ac_Header=\$ac_header_preproc" 9095 fi 9096 ac_res=`eval echo '${'$as_ac_Header'}'` 9097 { echo "$as_me:$LINENO: result: $ac_res" >&5 9098 echo "${ECHO_T}$ac_res" >&6; } 9099 9100 fi 9101 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5319 do : 5320 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5321 if test "x$ac_cv_header_unistd_h" = xyes; then : 9102 5322 cat >>confdefs.h <<_ACEOF 9103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9104 _ACEOF 9105 9106 else 9107 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 9108 echo "$as_me: WARNING: C headers missing ?" >&2;} 9109 fi 9110 9111 done 9112 5323 #define HAVE_UNISTD_H 1 5324 _ACEOF 5325 5326 else 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5328 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5329 fi 5330 5331 done 9113 5332 9114 5333 9115 5334 for ac_header in inttypes.h 9116 do 9117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9119 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9121 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9122 echo $ECHO_N "(cached) $ECHO_C" >&6 9123 fi 9124 ac_res=`eval echo '${'$as_ac_Header'}'` 9125 { echo "$as_me:$LINENO: result: $ac_res" >&5 9126 echo "${ECHO_T}$ac_res" >&6; } 9127 else 9128 # Is the header compilable? 9129 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9131 cat >conftest.$ac_ext <<_ACEOF 9132 /* confdefs.h. */ 9133 _ACEOF 9134 cat confdefs.h >>conftest.$ac_ext 9135 cat >>conftest.$ac_ext <<_ACEOF 9136 /* end confdefs.h. */ 9137 $ac_includes_default 9138 #include <$ac_header> 9139 _ACEOF 9140 rm -f conftest.$ac_objext 9141 if { (ac_try="$ac_compile" 9142 case "(($ac_try" in 9143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9144 *) ac_try_echo=$ac_try;; 9145 esac 9146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9147 (eval "$ac_compile") 2>conftest.er1 9148 ac_status=$? 9149 grep -v '^ *+' conftest.er1 >conftest.err 9150 rm -f conftest.er1 9151 cat conftest.err >&5 9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9153 (exit $ac_status); } && { 9154 test -z "$ac_cxx_werror_flag" || 9155 test ! -s conftest.err 9156 } && test -s conftest.$ac_objext; then 9157 ac_header_compiler=yes 9158 else 9159 echo "$as_me: failed program was:" >&5 9160 sed 's/^/| /' conftest.$ac_ext >&5 9161 9162 ac_header_compiler=no 9163 fi 9164 9165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9166 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9167 echo "${ECHO_T}$ac_header_compiler" >&6; } 9168 9169 # Is the header present? 9170 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9172 cat >conftest.$ac_ext <<_ACEOF 9173 /* confdefs.h. */ 9174 _ACEOF 9175 cat confdefs.h >>conftest.$ac_ext 9176 cat >>conftest.$ac_ext <<_ACEOF 9177 /* end confdefs.h. */ 9178 #include <$ac_header> 9179 _ACEOF 9180 if { (ac_try="$ac_cpp conftest.$ac_ext" 9181 case "(($ac_try" in 9182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9183 *) ac_try_echo=$ac_try;; 9184 esac 9185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9187 ac_status=$? 9188 grep -v '^ *+' conftest.er1 >conftest.err 9189 rm -f conftest.er1 9190 cat conftest.err >&5 9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9192 (exit $ac_status); } >/dev/null && { 9193 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9194 test ! -s conftest.err 9195 }; then 9196 ac_header_preproc=yes 9197 else 9198 echo "$as_me: failed program was:" >&5 9199 sed 's/^/| /' conftest.$ac_ext >&5 9200 9201 ac_header_preproc=no 9202 fi 9203 9204 rm -f conftest.err conftest.$ac_ext 9205 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9206 echo "${ECHO_T}$ac_header_preproc" >&6; } 9207 9208 # So? What about this header? 9209 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9210 yes:no: ) 9211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9215 ac_header_preproc=yes 9216 ;; 9217 no:yes:* ) 9218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9230 ( cat <<\_ASBOX 9231 ## ----------------------------------- ## 9232 ## Report this to rappture@nanohub.org ## 9233 ## ----------------------------------- ## 9234 _ASBOX 9235 ) | sed "s/^/$as_me: WARNING: /" >&2 9236 ;; 9237 esac 9238 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9241 echo $ECHO_N "(cached) $ECHO_C" >&6 9242 else 9243 eval "$as_ac_Header=\$ac_header_preproc" 9244 fi 9245 ac_res=`eval echo '${'$as_ac_Header'}'` 9246 { echo "$as_me:$LINENO: result: $ac_res" >&5 9247 echo "${ECHO_T}$ac_res" >&6; } 9248 9249 fi 9250 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5335 do : 5336 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5337 if test "x$ac_cv_header_inttypes_h" = xyes; then : 9251 5338 cat >>confdefs.h <<_ACEOF 9252 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19253 _ACEOF 9254 9255 else 9256 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59257 echo "$as_me: WARNING: C headers missing ?" >&2;}5339 #define HAVE_INTTYPES_H 1 5340 _ACEOF 5341 5342 else 5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5344 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9258 5345 fi 9259 5346 … … 9272 5359 # Step 0.a: Enable 64 bit support? 9273 5360 9274 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&59275 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 5362 $as_echo_n "checking if 64bit support is requested... " >&6; } 9276 5363 # Check whether --enable-64bit was given. 9277 if test "${enable_64bit+set}" = set; then 5364 if test "${enable_64bit+set}" = set; then : 9278 5365 enableval=$enable_64bit; do64bit=$enableval 9279 5366 else … … 9281 5368 fi 9282 5369 9283 { echo "$as_me:$LINENO: result: $do64bit" >&59284 echo "${ECHO_T}$do64bit" >&6; }5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 5371 $as_echo "$do64bit" >&6; } 9285 5372 9286 5373 # Step 0.b: Enable Solaris 64 bit VIS support? 9287 5374 9288 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&59289 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 5376 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9290 5377 # Check whether --enable-64bit-vis was given. 9291 if test "${enable_64bit_vis+set}" = set; then 5378 if test "${enable_64bit_vis+set}" = set; then : 9292 5379 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9293 5380 else … … 9295 5382 fi 9296 5383 9297 { echo "$as_me:$LINENO: result: $do64bitVIS" >&59298 echo "${ECHO_T}$do64bitVIS" >&6; }5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 5385 $as_echo "$do64bitVIS" >&6; } 9299 5386 9300 5387 if test "$do64bitVIS" = "yes"; then … … 9307 5394 9308 5395 9309 { echo "$as_me:$LINENO: checking system version" >&59310 echo $ECHO_N "checking system version... $ECHO_C" >&6; }9311 if test "${tcl_cv_sys_version+set}" = set; then9312 echo $ECHO_N "(cached) $ECHO_C" >&65396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 5397 $as_echo_n "checking system version... " >&6; } 5398 if ${tcl_cv_sys_version+:} false; then : 5399 $as_echo_n "(cached) " >&6 9313 5400 else 9314 5401 … … 9318 5405 tcl_cv_sys_version=`uname -s`-`uname -r` 9319 5406 if test "$?" -ne 0 ; then 9320 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&59321 echo "$as_me: WARNING: can't find uname command" >&2;}5407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 5408 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9322 5409 tcl_cv_sys_version=unknown 9323 5410 else … … 9335 5422 9336 5423 fi 9337 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&59338 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 5425 $as_echo "$tcl_cv_sys_version" >&6; } 9339 5426 system=$tcl_cv_sys_version 9340 5427 … … 9343 5430 # Linux can use either -ldl or -ldld for dynamic loading. 9344 5431 9345 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&59346 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }9347 if test "${ac_cv_lib_dl_dlopen+set}" = set; then9348 echo $ECHO_N "(cached) $ECHO_C" >&65432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5433 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5434 if ${ac_cv_lib_dl_dlopen+:} false; then : 5435 $as_echo_n "(cached) " >&6 9349 5436 else 9350 5437 ac_check_lib_save_LIBS=$LIBS 9351 5438 LIBS="-ldl $LIBS" 9352 cat >conftest.$ac_ext <<_ACEOF 9353 /* confdefs.h. */ 9354 _ACEOF 9355 cat confdefs.h >>conftest.$ac_ext 9356 cat >>conftest.$ac_ext <<_ACEOF 5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9357 5440 /* end confdefs.h. */ 9358 5441 … … 9372 5455 } 9373 5456 _ACEOF 9374 rm -f conftest.$ac_objext conftest$ac_exeext 9375 if { (ac_try="$ac_link" 9376 case "(($ac_try" in 9377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9378 *) ac_try_echo=$ac_try;; 9379 esac 9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9381 (eval "$ac_link") 2>conftest.er1 9382 ac_status=$? 9383 grep -v '^ *+' conftest.er1 >conftest.err 9384 rm -f conftest.er1 9385 cat conftest.err >&5 9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9387 (exit $ac_status); } && { 9388 test -z "$ac_cxx_werror_flag" || 9389 test ! -s conftest.err 9390 } && test -s conftest$ac_exeext && 9391 $as_test_x conftest$ac_exeext; then 5457 if ac_fn_cxx_try_link "$LINENO"; then : 9392 5458 ac_cv_lib_dl_dlopen=yes 9393 5459 else 9394 echo "$as_me: failed program was:" >&5 9395 sed 's/^/| /' conftest.$ac_ext >&5 9396 9397 ac_cv_lib_dl_dlopen=no 9398 fi 9399 9400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9401 conftest$ac_exeext conftest.$ac_ext 5460 ac_cv_lib_dl_dlopen=no 5461 fi 5462 rm -f core conftest.err conftest.$ac_objext \ 5463 conftest$ac_exeext conftest.$ac_ext 9402 5464 LIBS=$ac_check_lib_save_LIBS 9403 5465 fi 9404 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&59405 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }9406 if test $ac_cv_lib_dl_dlopen = yes; then5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5467 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5468 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 9407 5469 have_dl=yes 9408 5470 else … … 9436 5498 # Extract the first word of "ar", so it can be a program name with args. 9437 5499 set dummy ar; ac_word=$2 9438 { echo "$as_me:$LINENO: checking for $ac_word" >&59439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }9440 if test "${ac_cv_prog_AR+set}" = set; then9441 echo $ECHO_N "(cached) $ECHO_C" >&65500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5501 $as_echo_n "checking for $ac_word... " >&6; } 5502 if ${ac_cv_prog_AR+:} false; then : 5503 $as_echo_n "(cached) " >&6 9442 5504 else 9443 5505 if test -n "$AR"; then … … 9449 5511 IFS=$as_save_IFS 9450 5512 test -z "$as_dir" && as_dir=. 9451 for ac_exec_ext in '' $ac_executable_extensions; do5513 for ac_exec_ext in '' $ac_executable_extensions; do 9452 5514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9453 5515 ac_cv_prog_AR="ar" 9454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9455 5517 break 2 9456 5518 fi 9457 5519 done 9458 done5520 done 9459 5521 IFS=$as_save_IFS 9460 5522 … … 9463 5525 AR=$ac_cv_prog_AR 9464 5526 if test -n "$AR"; then 9465 { echo "$as_me:$LINENO: result: $AR" >&59466 echo "${ECHO_T}$AR" >&6; }9467 else 9468 { echo "$as_me:$LINENO: result: no" >&59469 echo "${ECHO_T}no" >&6; }5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5528 $as_echo "$AR" >&6; } 5529 else 5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5531 $as_echo "no" >&6; } 9470 5532 fi 9471 5533 9472 5534 9473 5535 if test "${AR}" = "" ; then 9474 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9475 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9476 { (exit 1); exit 1; }; } 5536 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9477 5537 fi 9478 5538 STLIB_LD='${AR} cr' … … 9492 5552 ;; 9493 5553 esac 9494 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&59495 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 5555 $as_echo "Using $CC for compiling with threads" >&6; } 9496 5556 fi 9497 5557 LIBS="$LIBS -lc" … … 9508 5568 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 9509 5569 if test "$GCC" = "yes" ; then 9510 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59511 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5571 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9512 5572 else 9513 5573 do64bit_ok=yes … … 9563 5623 # known GMT value. 9564 5624 9565 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&59566 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }9567 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then9568 echo $ECHO_N "(cached) $ECHO_C" >&65625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 5626 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5627 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 5628 $as_echo_n "(cached) " >&6 9569 5629 else 9570 5630 ac_check_lib_save_LIBS=$LIBS 9571 5631 LIBS="-lbsd $LIBS" 9572 cat >conftest.$ac_ext <<_ACEOF 9573 /* confdefs.h. */ 9574 _ACEOF 9575 cat confdefs.h >>conftest.$ac_ext 9576 cat >>conftest.$ac_ext <<_ACEOF 5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9577 5633 /* end confdefs.h. */ 9578 5634 … … 9592 5648 } 9593 5649 _ACEOF 9594 rm -f conftest.$ac_objext conftest$ac_exeext 9595 if { (ac_try="$ac_link" 9596 case "(($ac_try" in 9597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9598 *) ac_try_echo=$ac_try;; 9599 esac 9600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9601 (eval "$ac_link") 2>conftest.er1 9602 ac_status=$? 9603 grep -v '^ *+' conftest.er1 >conftest.err 9604 rm -f conftest.er1 9605 cat conftest.err >&5 9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9607 (exit $ac_status); } && { 9608 test -z "$ac_cxx_werror_flag" || 9609 test ! -s conftest.err 9610 } && test -s conftest$ac_exeext && 9611 $as_test_x conftest$ac_exeext; then 5650 if ac_fn_cxx_try_link "$LINENO"; then : 9612 5651 ac_cv_lib_bsd_gettimeofday=yes 9613 5652 else 9614 echo "$as_me: failed program was:" >&5 9615 sed 's/^/| /' conftest.$ac_ext >&5 9616 9617 ac_cv_lib_bsd_gettimeofday=no 9618 fi 9619 9620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9621 conftest$ac_exeext conftest.$ac_ext 5653 ac_cv_lib_bsd_gettimeofday=no 5654 fi 5655 rm -f core conftest.err conftest.$ac_objext \ 5656 conftest$ac_exeext conftest.$ac_ext 9622 5657 LIBS=$ac_check_lib_save_LIBS 9623 5658 fi 9624 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&59625 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }9626 if test $ac_cv_lib_bsd_gettimeofday = yes; then5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 5660 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5661 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 9627 5662 libbsd=yes 9628 5663 else … … 9632 5667 if test $libbsd = yes; then 9633 5668 MATH_LIBS="$MATH_LIBS -lbsd" 9634 cat >>confdefs.h <<\_ACEOF 9635 #define USE_DELTA_FOR_TZ 1 9636 _ACEOF 5669 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9637 5670 9638 5671 fi … … 9651 5684 # is always linked to, for compatibility. 9652 5685 #----------------------------------------------------------- 9653 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&59654 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }9655 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then9656 echo $ECHO_N "(cached) $ECHO_C" >&65686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 5687 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5688 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 5689 $as_echo_n "(cached) " >&6 9657 5690 else 9658 5691 ac_check_lib_save_LIBS=$LIBS 9659 5692 LIBS="-lbind $LIBS" 9660 cat >conftest.$ac_ext <<_ACEOF 9661 /* confdefs.h. */ 9662 _ACEOF 9663 cat confdefs.h >>conftest.$ac_ext 9664 cat >>conftest.$ac_ext <<_ACEOF 5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9665 5694 /* end confdefs.h. */ 9666 5695 … … 9680 5709 } 9681 5710 _ACEOF 9682 rm -f conftest.$ac_objext conftest$ac_exeext 9683 if { (ac_try="$ac_link" 9684 case "(($ac_try" in 9685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9686 *) ac_try_echo=$ac_try;; 9687 esac 9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9689 (eval "$ac_link") 2>conftest.er1 9690 ac_status=$? 9691 grep -v '^ *+' conftest.er1 >conftest.err 9692 rm -f conftest.er1 9693 cat conftest.err >&5 9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9695 (exit $ac_status); } && { 9696 test -z "$ac_cxx_werror_flag" || 9697 test ! -s conftest.err 9698 } && test -s conftest$ac_exeext && 9699 $as_test_x conftest$ac_exeext; then 5711 if ac_fn_cxx_try_link "$LINENO"; then : 9700 5712 ac_cv_lib_bind_inet_ntoa=yes 9701 5713 else 9702 echo "$as_me: failed program was:" >&5 9703 sed 's/^/| /' conftest.$ac_ext >&5 9704 9705 ac_cv_lib_bind_inet_ntoa=no 9706 fi 9707 9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9709 conftest$ac_exeext conftest.$ac_ext 5714 ac_cv_lib_bind_inet_ntoa=no 5715 fi 5716 rm -f core conftest.err conftest.$ac_objext \ 5717 conftest$ac_exeext conftest.$ac_ext 9710 5718 LIBS=$ac_check_lib_save_LIBS 9711 5719 fi 9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&59713 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }9714 if test $ac_cv_lib_bind_inet_ntoa = yes; then5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 5721 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5722 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 9715 5723 LIBS="$LIBS -lbind -lsocket" 9716 5724 fi … … 9750 5758 HP-UX-*.11.*) 9751 5759 # Use updated header definitions where possible 9752 cat >>confdefs.h <<\_ACEOF 9753 #define _XOPEN_SOURCE 1 9754 _ACEOF 5760 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9755 5761 # Use the XOPEN network library 9756 cat >>confdefs.h <<\_ACEOF 9757 #define _XOPEN_SOURCE_EXTENDED 1 9758 _ACEOF 5762 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9759 5763 # Use the XOPEN network library 9760 5764 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 9765 5769 SHLIB_SUFFIX=".sl" 9766 5770 fi 9767 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59768 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9769 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9770 echo $ECHO_N "(cached) $ECHO_C" >&65771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5772 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5773 if ${ac_cv_lib_dld_shl_load+:} false; then : 5774 $as_echo_n "(cached) " >&6 9771 5775 else 9772 5776 ac_check_lib_save_LIBS=$LIBS 9773 5777 LIBS="-ldld $LIBS" 9774 cat >conftest.$ac_ext <<_ACEOF 9775 /* confdefs.h. */ 9776 _ACEOF 9777 cat confdefs.h >>conftest.$ac_ext 9778 cat >>conftest.$ac_ext <<_ACEOF 5778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9779 5779 /* end confdefs.h. */ 9780 5780 … … 9794 5794 } 9795 5795 _ACEOF 9796 rm -f conftest.$ac_objext conftest$ac_exeext 9797 if { (ac_try="$ac_link" 9798 case "(($ac_try" in 9799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9800 *) ac_try_echo=$ac_try;; 9801 esac 9802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9803 (eval "$ac_link") 2>conftest.er1 9804 ac_status=$? 9805 grep -v '^ *+' conftest.er1 >conftest.err 9806 rm -f conftest.er1 9807 cat conftest.err >&5 9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9809 (exit $ac_status); } && { 9810 test -z "$ac_cxx_werror_flag" || 9811 test ! -s conftest.err 9812 } && test -s conftest$ac_exeext && 9813 $as_test_x conftest$ac_exeext; then 5796 if ac_fn_cxx_try_link "$LINENO"; then : 9814 5797 ac_cv_lib_dld_shl_load=yes 9815 5798 else 9816 echo "$as_me: failed program was:" >&5 9817 sed 's/^/| /' conftest.$ac_ext >&5 9818 9819 ac_cv_lib_dld_shl_load=no 9820 fi 9821 9822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9823 conftest$ac_exeext conftest.$ac_ext 5799 ac_cv_lib_dld_shl_load=no 5800 fi 5801 rm -f core conftest.err conftest.$ac_objext \ 5802 conftest$ac_exeext conftest.$ac_ext 9824 5803 LIBS=$ac_check_lib_save_LIBS 9825 5804 fi 9826 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59827 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9828 if test $ac_cv_lib_dld_shl_load = yes; then5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5806 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5807 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9829 5808 tcl_ok=yes 9830 5809 else … … 9866 5845 ;; 9867 5846 *) 9868 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59869 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5848 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9870 5849 ;; 9871 5850 esac … … 9879 5858 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 9880 5859 SHLIB_SUFFIX=".sl" 9881 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59882 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9883 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9884 echo $ECHO_N "(cached) $ECHO_C" >&65860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5861 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5862 if ${ac_cv_lib_dld_shl_load+:} false; then : 5863 $as_echo_n "(cached) " >&6 9885 5864 else 9886 5865 ac_check_lib_save_LIBS=$LIBS 9887 5866 LIBS="-ldld $LIBS" 9888 cat >conftest.$ac_ext <<_ACEOF 9889 /* confdefs.h. */ 9890 _ACEOF 9891 cat confdefs.h >>conftest.$ac_ext 9892 cat >>conftest.$ac_ext <<_ACEOF 5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9893 5868 /* end confdefs.h. */ 9894 5869 … … 9908 5883 } 9909 5884 _ACEOF 9910 rm -f conftest.$ac_objext conftest$ac_exeext 9911 if { (ac_try="$ac_link" 9912 case "(($ac_try" in 9913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9914 *) ac_try_echo=$ac_try;; 9915 esac 9916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9917 (eval "$ac_link") 2>conftest.er1 9918 ac_status=$? 9919 grep -v '^ *+' conftest.er1 >conftest.err 9920 rm -f conftest.er1 9921 cat conftest.err >&5 9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9923 (exit $ac_status); } && { 9924 test -z "$ac_cxx_werror_flag" || 9925 test ! -s conftest.err 9926 } && test -s conftest$ac_exeext && 9927 $as_test_x conftest$ac_exeext; then 5885 if ac_fn_cxx_try_link "$LINENO"; then : 9928 5886 ac_cv_lib_dld_shl_load=yes 9929 5887 else 9930 echo "$as_me: failed program was:" >&5 9931 sed 's/^/| /' conftest.$ac_ext >&5 9932 9933 ac_cv_lib_dld_shl_load=no 9934 fi 9935 9936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9937 conftest$ac_exeext conftest.$ac_ext 5888 ac_cv_lib_dld_shl_load=no 5889 fi 5890 rm -f core conftest.err conftest.$ac_objext \ 5891 conftest$ac_exeext conftest.$ac_ext 9938 5892 LIBS=$ac_check_lib_save_LIBS 9939 5893 fi 9940 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59941 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9942 if test $ac_cv_lib_dld_shl_load = yes; then5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5895 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5896 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9943 5897 tcl_ok=yes 9944 5898 else … … 10019 5973 if test "$do64bit" = "yes" ; then 10020 5974 if test "$GCC" = "yes" ; then 10021 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&510022 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 5976 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10023 5977 else 10024 5978 do64bit_ok=yes … … 10048 6002 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10049 6003 else 10050 if test "${ac_cv_header_dld_h+set}" = set; then 10051 { echo "$as_me:$LINENO: checking for dld.h" >&5 10052 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10053 if test "${ac_cv_header_dld_h+set}" = set; then 10054 echo $ECHO_N "(cached) $ECHO_C" >&6 10055 fi 10056 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10057 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10058 else 10059 # Is the header compilable? 10060 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10061 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10062 cat >conftest.$ac_ext <<_ACEOF 10063 /* confdefs.h. */ 10064 _ACEOF 10065 cat confdefs.h >>conftest.$ac_ext 10066 cat >>conftest.$ac_ext <<_ACEOF 10067 /* end confdefs.h. */ 10068 $ac_includes_default 10069 #include <dld.h> 10070 _ACEOF 10071 rm -f conftest.$ac_objext 10072 if { (ac_try="$ac_compile" 10073 case "(($ac_try" in 10074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10075 *) ac_try_echo=$ac_try;; 10076 esac 10077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10078 (eval "$ac_compile") 2>conftest.er1 10079 ac_status=$? 10080 grep -v '^ *+' conftest.er1 >conftest.err 10081 rm -f conftest.er1 10082 cat conftest.err >&5 10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10084 (exit $ac_status); } && { 10085 test -z "$ac_cxx_werror_flag" || 10086 test ! -s conftest.err 10087 } && test -s conftest.$ac_objext; then 10088 ac_header_compiler=yes 10089 else 10090 echo "$as_me: failed program was:" >&5 10091 sed 's/^/| /' conftest.$ac_ext >&5 10092 10093 ac_header_compiler=no 10094 fi 10095 10096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10097 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10098 echo "${ECHO_T}$ac_header_compiler" >&6; } 10099 10100 # Is the header present? 10101 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10102 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10103 cat >conftest.$ac_ext <<_ACEOF 10104 /* confdefs.h. */ 10105 _ACEOF 10106 cat confdefs.h >>conftest.$ac_ext 10107 cat >>conftest.$ac_ext <<_ACEOF 10108 /* end confdefs.h. */ 10109 #include <dld.h> 10110 _ACEOF 10111 if { (ac_try="$ac_cpp conftest.$ac_ext" 10112 case "(($ac_try" in 10113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10114 *) ac_try_echo=$ac_try;; 10115 esac 10116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10118 ac_status=$? 10119 grep -v '^ *+' conftest.er1 >conftest.err 10120 rm -f conftest.er1 10121 cat conftest.err >&5 10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10123 (exit $ac_status); } >/dev/null && { 10124 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10125 test ! -s conftest.err 10126 }; then 10127 ac_header_preproc=yes 10128 else 10129 echo "$as_me: failed program was:" >&5 10130 sed 's/^/| /' conftest.$ac_ext >&5 10131 10132 ac_header_preproc=no 10133 fi 10134 10135 rm -f conftest.err conftest.$ac_ext 10136 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10137 echo "${ECHO_T}$ac_header_preproc" >&6; } 10138 10139 # So? What about this header? 10140 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10141 yes:no: ) 10142 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10143 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10144 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10145 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10146 ac_header_preproc=yes 10147 ;; 10148 no:yes:* ) 10149 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10150 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10151 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10152 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10153 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10154 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10155 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10156 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10157 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10158 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10159 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10160 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10161 ( cat <<\_ASBOX 10162 ## ----------------------------------- ## 10163 ## Report this to rappture@nanohub.org ## 10164 ## ----------------------------------- ## 10165 _ASBOX 10166 ) | sed "s/^/$as_me: WARNING: /" >&2 10167 ;; 10168 esac 10169 { echo "$as_me:$LINENO: checking for dld.h" >&5 10170 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10171 if test "${ac_cv_header_dld_h+set}" = set; then 10172 echo $ECHO_N "(cached) $ECHO_C" >&6 10173 else 10174 ac_cv_header_dld_h=$ac_header_preproc 10175 fi 10176 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10177 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10178 10179 fi 10180 if test $ac_cv_header_dld_h = yes; then 6004 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6005 if test "x$ac_cv_header_dld_h" = xyes; then : 10181 6006 10182 6007 SHLIB_LD="ld -shared" … … 10193 6018 fi 10194 6019 if test $do64bit = yes; then 10195 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&510196 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }10197 if test "${tcl_cv_cc_m64+set}" = set; then10198 echo $ECHO_N "(cached) $ECHO_C" >&66020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 6021 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 6022 if ${tcl_cv_cc_m64+:} false; then : 6023 $as_echo_n "(cached) " >&6 10199 6024 else 10200 6025 10201 6026 hold_cflags=$CFLAGS 10202 6027 CFLAGS="$CFLAGS -m64" 10203 cat >conftest.$ac_ext <<_ACEOF 10204 /* confdefs.h. */ 10205 _ACEOF 10206 cat confdefs.h >>conftest.$ac_ext 10207 cat >>conftest.$ac_ext <<_ACEOF 6028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10208 6029 /* end confdefs.h. */ 10209 6030 … … 10216 6037 } 10217 6038 _ACEOF 10218 rm -f conftest.$ac_objext conftest$ac_exeext 10219 if { (ac_try="$ac_link" 10220 case "(($ac_try" in 10221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10222 *) ac_try_echo=$ac_try;; 10223 esac 10224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10225 (eval "$ac_link") 2>conftest.er1 10226 ac_status=$? 10227 grep -v '^ *+' conftest.er1 >conftest.err 10228 rm -f conftest.er1 10229 cat conftest.err >&5 10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10231 (exit $ac_status); } && { 10232 test -z "$ac_cxx_werror_flag" || 10233 test ! -s conftest.err 10234 } && test -s conftest$ac_exeext && 10235 $as_test_x conftest$ac_exeext; then 6039 if ac_fn_cxx_try_link "$LINENO"; then : 10236 6040 tcl_cv_cc_m64=yes 10237 6041 else 10238 echo "$as_me: failed program was:" >&5 10239 sed 's/^/| /' conftest.$ac_ext >&5 10240 10241 tcl_cv_cc_m64=no 10242 fi 10243 10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10245 conftest$ac_exeext conftest.$ac_ext 6042 tcl_cv_cc_m64=no 6043 fi 6044 rm -f core conftest.err conftest.$ac_objext \ 6045 conftest$ac_exeext conftest.$ac_ext 10246 6046 CFLAGS=$hold_cflags 10247 6047 fi 10248 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&510249 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 6049 $as_echo "$tcl_cv_cc_m64" >&6; } 10250 6050 if test $tcl_cv_cc_m64 = yes; then 10251 6051 CFLAGS="$CFLAGS -m64" … … 10266 6066 10267 6067 # XIM peeking works under XFree86. 10268 cat >>confdefs.h <<\_ACEOF 10269 #define PEEK_XCLOSEIM 1 10270 _ACEOF 6068 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10271 6069 10272 6070 … … 10285 6083 LD_SEARCH_FLAGS="" 10286 6084 else 10287 if test "${ac_cv_header_dld_h+set}" = set; then 10288 { echo "$as_me:$LINENO: checking for dld.h" >&5 10289 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10290 if test "${ac_cv_header_dld_h+set}" = set; then 10291 echo $ECHO_N "(cached) $ECHO_C" >&6 10292 fi 10293 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10294 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10295 else 10296 # Is the header compilable? 10297 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10298 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10299 cat >conftest.$ac_ext <<_ACEOF 10300 /* confdefs.h. */ 10301 _ACEOF 10302 cat confdefs.h >>conftest.$ac_ext 10303 cat >>conftest.$ac_ext <<_ACEOF 10304 /* end confdefs.h. */ 10305 $ac_includes_default 10306 #include <dld.h> 10307 _ACEOF 10308 rm -f conftest.$ac_objext 10309 if { (ac_try="$ac_compile" 10310 case "(($ac_try" in 10311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10312 *) ac_try_echo=$ac_try;; 10313 esac 10314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10315 (eval "$ac_compile") 2>conftest.er1 10316 ac_status=$? 10317 grep -v '^ *+' conftest.er1 >conftest.err 10318 rm -f conftest.er1 10319 cat conftest.err >&5 10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10321 (exit $ac_status); } && { 10322 test -z "$ac_cxx_werror_flag" || 10323 test ! -s conftest.err 10324 } && test -s conftest.$ac_objext; then 10325 ac_header_compiler=yes 10326 else 10327 echo "$as_me: failed program was:" >&5 10328 sed 's/^/| /' conftest.$ac_ext >&5 10329 10330 ac_header_compiler=no 10331 fi 10332 10333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10334 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10335 echo "${ECHO_T}$ac_header_compiler" >&6; } 10336 10337 # Is the header present? 10338 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10339 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10340 cat >conftest.$ac_ext <<_ACEOF 10341 /* confdefs.h. */ 10342 _ACEOF 10343 cat confdefs.h >>conftest.$ac_ext 10344 cat >>conftest.$ac_ext <<_ACEOF 10345 /* end confdefs.h. */ 10346 #include <dld.h> 10347 _ACEOF 10348 if { (ac_try="$ac_cpp conftest.$ac_ext" 10349 case "(($ac_try" in 10350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10351 *) ac_try_echo=$ac_try;; 10352 esac 10353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10354 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10355 ac_status=$? 10356 grep -v '^ *+' conftest.er1 >conftest.err 10357 rm -f conftest.er1 10358 cat conftest.err >&5 10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10360 (exit $ac_status); } >/dev/null && { 10361 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10362 test ! -s conftest.err 10363 }; then 10364 ac_header_preproc=yes 10365 else 10366 echo "$as_me: failed program was:" >&5 10367 sed 's/^/| /' conftest.$ac_ext >&5 10368 10369 ac_header_preproc=no 10370 fi 10371 10372 rm -f conftest.err conftest.$ac_ext 10373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10374 echo "${ECHO_T}$ac_header_preproc" >&6; } 10375 10376 # So? What about this header? 10377 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10378 yes:no: ) 10379 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10380 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10381 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10382 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10383 ac_header_preproc=yes 10384 ;; 10385 no:yes:* ) 10386 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10387 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10388 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10389 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10390 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10391 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10392 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10393 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10394 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10395 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10396 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10397 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10398 ( cat <<\_ASBOX 10399 ## ----------------------------------- ## 10400 ## Report this to rappture@nanohub.org ## 10401 ## ----------------------------------- ## 10402 _ASBOX 10403 ) | sed "s/^/$as_me: WARNING: /" >&2 10404 ;; 10405 esac 10406 { echo "$as_me:$LINENO: checking for dld.h" >&5 10407 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10408 if test "${ac_cv_header_dld_h+set}" = set; then 10409 echo $ECHO_N "(cached) $ECHO_C" >&6 10410 else 10411 ac_cv_header_dld_h=$ac_header_preproc 10412 fi 10413 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10414 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10415 10416 fi 10417 if test $ac_cv_header_dld_h = yes; then 6085 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6086 if test "x$ac_cv_header_dld_h" = xyes; then : 10418 6087 10419 6088 SHLIB_LD="ld -shared" … … 10465 6134 NetBSD-*|FreeBSD-[1-2].*) 10466 6135 # Not available on all versions: check for include file. 10467 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10468 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10469 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10470 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10471 echo $ECHO_N "(cached) $ECHO_C" >&6 10472 fi 10473 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10474 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10475 else 10476 # Is the header compilable? 10477 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10478 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10479 cat >conftest.$ac_ext <<_ACEOF 10480 /* confdefs.h. */ 10481 _ACEOF 10482 cat confdefs.h >>conftest.$ac_ext 10483 cat >>conftest.$ac_ext <<_ACEOF 10484 /* end confdefs.h. */ 10485 $ac_includes_default 10486 #include <dlfcn.h> 10487 _ACEOF 10488 rm -f conftest.$ac_objext 10489 if { (ac_try="$ac_compile" 10490 case "(($ac_try" in 10491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10492 *) ac_try_echo=$ac_try;; 10493 esac 10494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10495 (eval "$ac_compile") 2>conftest.er1 10496 ac_status=$? 10497 grep -v '^ *+' conftest.er1 >conftest.err 10498 rm -f conftest.er1 10499 cat conftest.err >&5 10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10501 (exit $ac_status); } && { 10502 test -z "$ac_cxx_werror_flag" || 10503 test ! -s conftest.err 10504 } && test -s conftest.$ac_objext; then 10505 ac_header_compiler=yes 10506 else 10507 echo "$as_me: failed program was:" >&5 10508 sed 's/^/| /' conftest.$ac_ext >&5 10509 10510 ac_header_compiler=no 10511 fi 10512 10513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10514 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10515 echo "${ECHO_T}$ac_header_compiler" >&6; } 10516 10517 # Is the header present? 10518 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10519 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10520 cat >conftest.$ac_ext <<_ACEOF 10521 /* confdefs.h. */ 10522 _ACEOF 10523 cat confdefs.h >>conftest.$ac_ext 10524 cat >>conftest.$ac_ext <<_ACEOF 10525 /* end confdefs.h. */ 10526 #include <dlfcn.h> 10527 _ACEOF 10528 if { (ac_try="$ac_cpp conftest.$ac_ext" 10529 case "(($ac_try" in 10530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10531 *) ac_try_echo=$ac_try;; 10532 esac 10533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10535 ac_status=$? 10536 grep -v '^ *+' conftest.er1 >conftest.err 10537 rm -f conftest.er1 10538 cat conftest.err >&5 10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10540 (exit $ac_status); } >/dev/null && { 10541 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10542 test ! -s conftest.err 10543 }; then 10544 ac_header_preproc=yes 10545 else 10546 echo "$as_me: failed program was:" >&5 10547 sed 's/^/| /' conftest.$ac_ext >&5 10548 10549 ac_header_preproc=no 10550 fi 10551 10552 rm -f conftest.err conftest.$ac_ext 10553 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10554 echo "${ECHO_T}$ac_header_preproc" >&6; } 10555 10556 # So? What about this header? 10557 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10558 yes:no: ) 10559 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10560 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10561 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10562 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10563 ac_header_preproc=yes 10564 ;; 10565 no:yes:* ) 10566 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10567 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10568 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10569 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10570 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10571 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10572 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10573 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10574 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10575 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10576 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10577 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10578 ( cat <<\_ASBOX 10579 ## ----------------------------------- ## 10580 ## Report this to rappture@nanohub.org ## 10581 ## ----------------------------------- ## 10582 _ASBOX 10583 ) | sed "s/^/$as_me: WARNING: /" >&2 10584 ;; 10585 esac 10586 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10587 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10588 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10589 echo $ECHO_N "(cached) $ECHO_C" >&6 10590 else 10591 ac_cv_header_dlfcn_h=$ac_header_preproc 10592 fi 10593 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10594 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10595 10596 fi 10597 if test $ac_cv_header_dlfcn_h = yes; then 6136 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6137 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10598 6138 10599 6139 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 10606 6146 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10607 6147 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10608 { echo "$as_me:$LINENO: checking for ELF" >&5 10609 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10610 if test "${tcl_cv_ld_elf+set}" = set; then 10611 echo $ECHO_N "(cached) $ECHO_C" >&6 10612 else 10613 10614 cat >conftest.$ac_ext <<_ACEOF 10615 /* confdefs.h. */ 10616 _ACEOF 10617 cat confdefs.h >>conftest.$ac_ext 10618 cat >>conftest.$ac_ext <<_ACEOF 6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6149 $as_echo_n "checking for ELF... " >&6; } 6150 if ${tcl_cv_ld_elf+:} false; then : 6151 $as_echo_n "(cached) " >&6 6152 else 6153 6154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10619 6155 /* end confdefs.h. */ 10620 6156 … … 10625 6161 _ACEOF 10626 6162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10627 $EGREP "yes" >/dev/null 2>&1; then 6163 $EGREP "yes" >/dev/null 2>&1; then : 10628 6164 tcl_cv_ld_elf=yes 10629 6165 else … … 10633 6169 10634 6170 fi 10635 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510636 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6172 $as_echo "$tcl_cv_ld_elf" >&6; } 10637 6173 if test $tcl_cv_ld_elf = yes; then 10638 6174 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 10692 6228 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10693 6229 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 10694 { echo "$as_me:$LINENO: checking for ELF" >&5 10695 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10696 if test "${tcl_cv_ld_elf+set}" = set; then 10697 echo $ECHO_N "(cached) $ECHO_C" >&6 10698 else 10699 10700 cat >conftest.$ac_ext <<_ACEOF 10701 /* confdefs.h. */ 10702 _ACEOF 10703 cat confdefs.h >>conftest.$ac_ext 10704 cat >>conftest.$ac_ext <<_ACEOF 6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6231 $as_echo_n "checking for ELF... " >&6; } 6232 if ${tcl_cv_ld_elf+:} false; then : 6233 $as_echo_n "(cached) " >&6 6234 else 6235 6236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10705 6237 /* end confdefs.h. */ 10706 6238 … … 10711 6243 _ACEOF 10712 6244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10713 $EGREP "yes" >/dev/null 2>&1; then 6245 $EGREP "yes" >/dev/null 2>&1; then : 10714 6246 tcl_cv_ld_elf=yes 10715 6247 else … … 10719 6251 10720 6252 fi 10721 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510722 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6254 $as_echo "$tcl_cv_ld_elf" >&6; } 10723 6255 if test $tcl_cv_ld_elf = yes; then 10724 6256 LDFLAGS=-Wl,-export-dynamic … … 10774 6306 case `arch` in 10775 6307 ppc) 10776 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&510777 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }10778 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then10779 echo $ECHO_N "(cached) $ECHO_C" >&66308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 6309 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6310 if ${tcl_cv_cc_arch_ppc64+:} false; then : 6311 $as_echo_n "(cached) " >&6 10780 6312 else 10781 6313 10782 6314 hold_cflags=$CFLAGS 10783 6315 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 10784 cat >conftest.$ac_ext <<_ACEOF 10785 /* confdefs.h. */ 10786 _ACEOF 10787 cat confdefs.h >>conftest.$ac_ext 10788 cat >>conftest.$ac_ext <<_ACEOF 6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10789 6317 /* end confdefs.h. */ 10790 6318 … … 10797 6325 } 10798 6326 _ACEOF 10799 rm -f conftest.$ac_objext conftest$ac_exeext 10800 if { (ac_try="$ac_link" 10801 case "(($ac_try" in 10802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10803 *) ac_try_echo=$ac_try;; 10804 esac 10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10806 (eval "$ac_link") 2>conftest.er1 10807 ac_status=$? 10808 grep -v '^ *+' conftest.er1 >conftest.err 10809 rm -f conftest.er1 10810 cat conftest.err >&5 10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10812 (exit $ac_status); } && { 10813 test -z "$ac_cxx_werror_flag" || 10814 test ! -s conftest.err 10815 } && test -s conftest$ac_exeext && 10816 $as_test_x conftest$ac_exeext; then 6327 if ac_fn_cxx_try_link "$LINENO"; then : 10817 6328 tcl_cv_cc_arch_ppc64=yes 10818 6329 else 10819 echo "$as_me: failed program was:" >&5 10820 sed 's/^/| /' conftest.$ac_ext >&5 10821 10822 tcl_cv_cc_arch_ppc64=no 10823 fi 10824 10825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10826 conftest$ac_exeext conftest.$ac_ext 6330 tcl_cv_cc_arch_ppc64=no 6331 fi 6332 rm -f core conftest.err conftest.$ac_objext \ 6333 conftest$ac_exeext conftest.$ac_ext 10827 6334 CFLAGS=$hold_cflags 10828 6335 fi 10829 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&510830 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 6337 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 10831 6338 if test $tcl_cv_cc_arch_ppc64 = yes; then 10832 6339 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 10834 6341 fi;; 10835 6342 i386) 10836 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&510837 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }10838 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then10839 echo $ECHO_N "(cached) $ECHO_C" >&66343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 6344 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6345 if ${tcl_cv_cc_arch_x86_64+:} false; then : 6346 $as_echo_n "(cached) " >&6 10840 6347 else 10841 6348 10842 6349 hold_cflags=$CFLAGS 10843 6350 CFLAGS="$CFLAGS -arch x86_64" 10844 cat >conftest.$ac_ext <<_ACEOF 10845 /* confdefs.h. */ 10846 _ACEOF 10847 cat confdefs.h >>conftest.$ac_ext 10848 cat >>conftest.$ac_ext <<_ACEOF 6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10849 6352 /* end confdefs.h. */ 10850 6353 … … 10857 6360 } 10858 6361 _ACEOF 10859 rm -f conftest.$ac_objext conftest$ac_exeext 10860 if { (ac_try="$ac_link" 10861 case "(($ac_try" in 10862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10863 *) ac_try_echo=$ac_try;; 10864 esac 10865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10866 (eval "$ac_link") 2>conftest.er1 10867 ac_status=$? 10868 grep -v '^ *+' conftest.er1 >conftest.err 10869 rm -f conftest.er1 10870 cat conftest.err >&5 10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10872 (exit $ac_status); } && { 10873 test -z "$ac_cxx_werror_flag" || 10874 test ! -s conftest.err 10875 } && test -s conftest$ac_exeext && 10876 $as_test_x conftest$ac_exeext; then 6362 if ac_fn_cxx_try_link "$LINENO"; then : 10877 6363 tcl_cv_cc_arch_x86_64=yes 10878 6364 else 10879 echo "$as_me: failed program was:" >&5 10880 sed 's/^/| /' conftest.$ac_ext >&5 10881 10882 tcl_cv_cc_arch_x86_64=no 10883 fi 10884 10885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10886 conftest$ac_exeext conftest.$ac_ext 6365 tcl_cv_cc_arch_x86_64=no 6366 fi 6367 rm -f core conftest.err conftest.$ac_objext \ 6368 conftest$ac_exeext conftest.$ac_ext 10887 6369 CFLAGS=$hold_cflags 10888 6370 fi 10889 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&510890 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 6372 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 10891 6373 if test $tcl_cv_cc_arch_x86_64 = yes; then 10892 6374 CFLAGS="$CFLAGS -arch x86_64" … … 10894 6376 fi;; 10895 6377 *) 10896 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&510897 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6379 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 10898 6380 esac 10899 6381 else … … 10904 6386 fi 10905 6387 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 10906 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&510907 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }10908 if test "${tcl_cv_ld_single_module+set}" = set; then10909 echo $ECHO_N "(cached) $ECHO_C" >&66388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 6389 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6390 if ${tcl_cv_ld_single_module+:} false; then : 6391 $as_echo_n "(cached) " >&6 10910 6392 else 10911 6393 10912 6394 hold_ldflags=$LDFLAGS 10913 6395 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10914 cat >conftest.$ac_ext <<_ACEOF 10915 /* confdefs.h. */ 10916 _ACEOF 10917 cat confdefs.h >>conftest.$ac_ext 10918 cat >>conftest.$ac_ext <<_ACEOF 6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10919 6397 /* end confdefs.h. */ 10920 6398 … … 10927 6405 } 10928 6406 _ACEOF 10929 rm -f conftest.$ac_objext conftest$ac_exeext 10930 if { (ac_try="$ac_link" 10931 case "(($ac_try" in 10932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10933 *) ac_try_echo=$ac_try;; 10934 esac 10935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10936 (eval "$ac_link") 2>conftest.er1 10937 ac_status=$? 10938 grep -v '^ *+' conftest.er1 >conftest.err 10939 rm -f conftest.er1 10940 cat conftest.err >&5 10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10942 (exit $ac_status); } && { 10943 test -z "$ac_cxx_werror_flag" || 10944 test ! -s conftest.err 10945 } && test -s conftest$ac_exeext && 10946 $as_test_x conftest$ac_exeext; then 6407 if ac_fn_cxx_try_link "$LINENO"; then : 10947 6408 tcl_cv_ld_single_module=yes 10948 6409 else 10949 echo "$as_me: failed program was:" >&5 10950 sed 's/^/| /' conftest.$ac_ext >&5 10951 10952 tcl_cv_ld_single_module=no 10953 fi 10954 10955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10956 conftest$ac_exeext conftest.$ac_ext 6410 tcl_cv_ld_single_module=no 6411 fi 6412 rm -f core conftest.err conftest.$ac_objext \ 6413 conftest$ac_exeext conftest.$ac_ext 10957 6414 LDFLAGS=$hold_ldflags 10958 6415 fi 10959 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&510960 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 6417 $as_echo "$tcl_cv_ld_single_module" >&6; } 10961 6418 if test $tcl_cv_ld_single_module = yes; then 10962 6419 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 10971 6428 LDFLAGS="$LDFLAGS -prebind" 10972 6429 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10973 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&510974 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }10975 if test "${tcl_cv_ld_search_paths_first+set}" = set; then10976 echo $ECHO_N "(cached) $ECHO_C" >&66430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 6431 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6432 if ${tcl_cv_ld_search_paths_first+:} false; then : 6433 $as_echo_n "(cached) " >&6 10977 6434 else 10978 6435 10979 6436 hold_ldflags=$LDFLAGS 10980 6437 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 10981 cat >conftest.$ac_ext <<_ACEOF 10982 /* confdefs.h. */ 10983 _ACEOF 10984 cat confdefs.h >>conftest.$ac_ext 10985 cat >>conftest.$ac_ext <<_ACEOF 6438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10986 6439 /* end confdefs.h. */ 10987 6440 … … 10994 6447 } 10995 6448 _ACEOF 10996 rm -f conftest.$ac_objext conftest$ac_exeext 10997 if { (ac_try="$ac_link" 10998 case "(($ac_try" in 10999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11000 *) ac_try_echo=$ac_try;; 11001 esac 11002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11003 (eval "$ac_link") 2>conftest.er1 11004 ac_status=$? 11005 grep -v '^ *+' conftest.er1 >conftest.err 11006 rm -f conftest.er1 11007 cat conftest.err >&5 11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11009 (exit $ac_status); } && { 11010 test -z "$ac_cxx_werror_flag" || 11011 test ! -s conftest.err 11012 } && test -s conftest$ac_exeext && 11013 $as_test_x conftest$ac_exeext; then 6449 if ac_fn_cxx_try_link "$LINENO"; then : 11014 6450 tcl_cv_ld_search_paths_first=yes 11015 6451 else 11016 echo "$as_me: failed program was:" >&5 11017 sed 's/^/| /' conftest.$ac_ext >&5 11018 11019 tcl_cv_ld_search_paths_first=no 11020 fi 11021 11022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11023 conftest$ac_exeext conftest.$ac_ext 6452 tcl_cv_ld_search_paths_first=no 6453 fi 6454 rm -f core conftest.err conftest.$ac_objext \ 6455 conftest$ac_exeext conftest.$ac_ext 11024 6456 LDFLAGS=$hold_ldflags 11025 6457 fi 11026 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&511027 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 6459 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11028 6460 if test $tcl_cv_ld_search_paths_first = yes; then 11029 6461 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 11034 6466 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11035 6467 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11036 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&511037 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 6469 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11038 6470 # Check whether --enable-corefoundation was given. 11039 if test "${enable_corefoundation+set}" = set; then 6471 if test "${enable_corefoundation+set}" = set; then : 11040 6472 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11041 6473 else … … 11043 6475 fi 11044 6476 11045 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&511046 echo "${ECHO_T}$tcl_corefoundation" >&6; }6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 6478 $as_echo "$tcl_corefoundation" >&6; } 11047 6479 if test $tcl_corefoundation = yes; then 11048 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&511049 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }11050 if test "${tcl_cv_lib_corefoundation+set}" = set; then11051 echo $ECHO_N "(cached) $ECHO_C" >&66480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 6481 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6482 if ${tcl_cv_lib_corefoundation+:} false; then : 6483 $as_echo_n "(cached) " >&6 11052 6484 else 11053 6485 … … 11060 6492 done; fi 11061 6493 LIBS="$LIBS -framework CoreFoundation" 11062 cat >conftest.$ac_ext <<_ACEOF 11063 /* confdefs.h. */ 11064 _ACEOF 11065 cat confdefs.h >>conftest.$ac_ext 11066 cat >>conftest.$ac_ext <<_ACEOF 6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11067 6495 /* end confdefs.h. */ 11068 6496 #include <CoreFoundation/CoreFoundation.h> … … 11075 6503 } 11076 6504 _ACEOF 11077 rm -f conftest.$ac_objext conftest$ac_exeext 11078 if { (ac_try="$ac_link" 11079 case "(($ac_try" in 11080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11081 *) ac_try_echo=$ac_try;; 11082 esac 11083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11084 (eval "$ac_link") 2>conftest.er1 11085 ac_status=$? 11086 grep -v '^ *+' conftest.er1 >conftest.err 11087 rm -f conftest.er1 11088 cat conftest.err >&5 11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11090 (exit $ac_status); } && { 11091 test -z "$ac_cxx_werror_flag" || 11092 test ! -s conftest.err 11093 } && test -s conftest$ac_exeext && 11094 $as_test_x conftest$ac_exeext; then 6505 if ac_fn_cxx_try_link "$LINENO"; then : 11095 6506 tcl_cv_lib_corefoundation=yes 11096 6507 else 11097 echo "$as_me: failed program was:" >&5 11098 sed 's/^/| /' conftest.$ac_ext >&5 11099 11100 tcl_cv_lib_corefoundation=no 11101 fi 11102 11103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11104 conftest$ac_exeext conftest.$ac_ext 6508 tcl_cv_lib_corefoundation=no 6509 fi 6510 rm -f core conftest.err conftest.$ac_objext \ 6511 conftest$ac_exeext conftest.$ac_ext 11105 6512 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11106 6513 eval $v'="$hold_'$v'"' 11107 6514 done; fi; LIBS=$hold_libs 11108 6515 fi 11109 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&511110 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 6517 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11111 6518 if test $tcl_cv_lib_corefoundation = yes; then 11112 6519 LIBS="$LIBS -framework CoreFoundation" 11113 cat >>confdefs.h <<\_ACEOF 11114 #define HAVE_COREFOUNDATION 1 11115 _ACEOF 6520 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11116 6521 11117 6522 else … … 11119 6524 fi 11120 6525 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11121 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&511122 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }11123 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then11124 echo $ECHO_N "(cached) $ECHO_C" >&66526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 6527 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6528 if ${tcl_cv_lib_corefoundation_64+:} false; then : 6529 $as_echo_n "(cached) " >&6 11125 6530 else 11126 6531 … … 11128 6533 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11129 6534 done 11130 cat >conftest.$ac_ext <<_ACEOF 11131 /* confdefs.h. */ 11132 _ACEOF 11133 cat confdefs.h >>conftest.$ac_ext 11134 cat >>conftest.$ac_ext <<_ACEOF 6535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11135 6536 /* end confdefs.h. */ 11136 6537 #include <CoreFoundation/CoreFoundation.h> … … 11143 6544 } 11144 6545 _ACEOF 11145 rm -f conftest.$ac_objext conftest$ac_exeext 11146 if { (ac_try="$ac_link" 11147 case "(($ac_try" in 11148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11149 *) ac_try_echo=$ac_try;; 11150 esac 11151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11152 (eval "$ac_link") 2>conftest.er1 11153 ac_status=$? 11154 grep -v '^ *+' conftest.er1 >conftest.err 11155 rm -f conftest.er1 11156 cat conftest.err >&5 11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11158 (exit $ac_status); } && { 11159 test -z "$ac_cxx_werror_flag" || 11160 test ! -s conftest.err 11161 } && test -s conftest$ac_exeext && 11162 $as_test_x conftest$ac_exeext; then 6546 if ac_fn_cxx_try_link "$LINENO"; then : 11163 6547 tcl_cv_lib_corefoundation_64=yes 11164 6548 else 11165 echo "$as_me: failed program was:" >&5 11166 sed 's/^/| /' conftest.$ac_ext >&5 11167 11168 tcl_cv_lib_corefoundation_64=no 11169 fi 11170 11171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11172 conftest$ac_exeext conftest.$ac_ext 6549 tcl_cv_lib_corefoundation_64=no 6550 fi 6551 rm -f core conftest.err conftest.$ac_objext \ 6552 conftest$ac_exeext conftest.$ac_ext 11173 6553 for v in CFLAGS CPPFLAGS LDFLAGS; do 11174 6554 eval $v'="$hold_'$v'"' 11175 6555 done 11176 6556 fi 11177 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&511178 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 6558 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11179 6559 if test $tcl_cv_lib_corefoundation_64 = no; then 11180 cat >>confdefs.h <<\_ACEOF 11181 #define NO_COREFOUNDATION_64 1 11182 _ACEOF 6560 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11183 6561 11184 6562 fi 11185 6563 fi 11186 6564 fi 11187 cat >>confdefs.h <<\_ACEOF 11188 #define MAC_OSX_TCL 1 11189 _ACEOF 6565 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11190 6566 11191 6567 ;; … … 11202 6578 OS/390-*) 11203 6579 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11204 cat >>confdefs.h <<\_ACEOF 11205 #define _OE_SOCKETS 1 11206 _ACEOF 6580 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11207 6581 # needed in sys/socket.h 11208 6582 ;; … … 11345 6719 # won't define thread-safe library routines. 11346 6720 11347 cat >>confdefs.h <<\_ACEOF 11348 #define _REENTRANT 1 11349 _ACEOF 11350 11351 cat >>confdefs.h <<\_ACEOF 11352 #define _POSIX_PTHREAD_SEMANTICS 1 11353 _ACEOF 6721 $as_echo "#define _REENTRANT 1" >>confdefs.h 6722 6723 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11354 6724 11355 6725 … … 11377 6747 # won't define thread-safe library routines. 11378 6748 11379 cat >>confdefs.h <<\_ACEOF 11380 #define _REENTRANT 1 11381 _ACEOF 11382 11383 cat >>confdefs.h <<\_ACEOF 11384 #define _POSIX_PTHREAD_SEMANTICS 1 11385 _ACEOF 6749 $as_echo "#define _REENTRANT 1" >>confdefs.h 6750 6751 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11386 6752 11387 6753 … … 11394 6760 if test "$GCC" = "yes" ; then 11395 6761 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11396 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&511397 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}6762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6763 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11398 6764 else 11399 6765 do64bit_ok=yes … … 11416 6782 elif test "$arch" = "amd64 i386" ; then 11417 6783 if test "$GCC" = "yes" ; then 11418 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&511419 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}6784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6785 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11420 6786 else 11421 6787 do64bit_ok=yes … … 11424 6790 fi 11425 6791 else 11426 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&511427 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}6792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6793 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11428 6794 fi 11429 6795 fi … … 11483 6849 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11484 6850 # that don't grok the -Bexport option. Test that it does. 11485 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&511486 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }11487 if test "${tcl_cv_ld_Bexport+set}" = set; then11488 echo $ECHO_N "(cached) $ECHO_C" >&66851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6852 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6853 if ${tcl_cv_ld_Bexport+:} false; then : 6854 $as_echo_n "(cached) " >&6 11489 6855 else 11490 6856 11491 6857 hold_ldflags=$LDFLAGS 11492 6858 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11493 cat >conftest.$ac_ext <<_ACEOF 11494 /* confdefs.h. */ 11495 _ACEOF 11496 cat confdefs.h >>conftest.$ac_ext 11497 cat >>conftest.$ac_ext <<_ACEOF 6859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11498 6860 /* end confdefs.h. */ 11499 6861 … … 11506 6868 } 11507 6869 _ACEOF 11508 rm -f conftest.$ac_objext conftest$ac_exeext 11509 if { (ac_try="$ac_link" 11510 case "(($ac_try" in 11511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11512 *) ac_try_echo=$ac_try;; 11513 esac 11514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11515 (eval "$ac_link") 2>conftest.er1 11516 ac_status=$? 11517 grep -v '^ *+' conftest.er1 >conftest.err 11518 rm -f conftest.er1 11519 cat conftest.err >&5 11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11521 (exit $ac_status); } && { 11522 test -z "$ac_cxx_werror_flag" || 11523 test ! -s conftest.err 11524 } && test -s conftest$ac_exeext && 11525 $as_test_x conftest$ac_exeext; then 6870 if ac_fn_cxx_try_link "$LINENO"; then : 11526 6871 tcl_cv_ld_Bexport=yes 11527 6872 else 11528 echo "$as_me: failed program was:" >&5 11529 sed 's/^/| /' conftest.$ac_ext >&5 11530 11531 tcl_cv_ld_Bexport=no 11532 fi 11533 11534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11535 conftest$ac_exeext conftest.$ac_ext 6873 tcl_cv_ld_Bexport=no 6874 fi 6875 rm -f core conftest.err conftest.$ac_objext \ 6876 conftest$ac_exeext conftest.$ac_ext 11536 6877 LDFLAGS=$hold_ldflags 11537 6878 fi 11538 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&511539 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6880 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11540 6881 if test $tcl_cv_ld_Bexport = yes; then 11541 6882 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 11547 6888 11548 6889 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11549 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&511550 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}6890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6891 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11551 6892 fi 11552 6893 … … 11574 6915 11575 6916 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 11576 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11577 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11578 if test "${tcl_cv_sysexec_h+set}" = set; then 11579 echo $ECHO_N "(cached) $ECHO_C" >&6 11580 else 11581 11582 cat >conftest.$ac_ext <<_ACEOF 11583 /* confdefs.h. */ 11584 _ACEOF 11585 cat confdefs.h >>conftest.$ac_ext 11586 cat >>conftest.$ac_ext <<_ACEOF 6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6918 $as_echo_n "checking sys/exec.h... " >&6; } 6919 if ${tcl_cv_sysexec_h+:} false; then : 6920 $as_echo_n "(cached) " >&6 6921 else 6922 6923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11587 6924 /* end confdefs.h. */ 11588 6925 #include <sys/exec.h> … … 11606 6943 } 11607 6944 _ACEOF 11608 rm -f conftest.$ac_objext 11609 if { (ac_try="$ac_compile" 11610 case "(($ac_try" in 11611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11612 *) ac_try_echo=$ac_try;; 11613 esac 11614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11615 (eval "$ac_compile") 2>conftest.er1 11616 ac_status=$? 11617 grep -v '^ *+' conftest.er1 >conftest.err 11618 rm -f conftest.er1 11619 cat conftest.err >&5 11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11621 (exit $ac_status); } && { 11622 test -z "$ac_cxx_werror_flag" || 11623 test ! -s conftest.err 11624 } && test -s conftest.$ac_objext; then 6945 if ac_fn_cxx_try_compile "$LINENO"; then : 11625 6946 tcl_cv_sysexec_h=usable 11626 6947 else 11627 echo "$as_me: failed program was:" >&5 11628 sed 's/^/| /' conftest.$ac_ext >&5 11629 11630 tcl_cv_sysexec_h=unusable 11631 fi 11632 6948 tcl_cv_sysexec_h=unusable 6949 fi 11633 6950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11634 6951 fi 11635 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&511636 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6953 $as_echo "$tcl_cv_sysexec_h" >&6; } 11637 6954 if test $tcl_cv_sysexec_h = usable; then 11638 cat >>confdefs.h <<\_ACEOF 11639 #define USE_SYS_EXEC_H 1 11640 _ACEOF 6955 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11641 6956 11642 6957 else 11643 { echo "$as_me:$LINENO: checking a.out.h" >&5 11644 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11645 if test "${tcl_cv_aout_h+set}" = set; then 11646 echo $ECHO_N "(cached) $ECHO_C" >&6 11647 else 11648 11649 cat >conftest.$ac_ext <<_ACEOF 11650 /* confdefs.h. */ 11651 _ACEOF 11652 cat confdefs.h >>conftest.$ac_ext 11653 cat >>conftest.$ac_ext <<_ACEOF 6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6959 $as_echo_n "checking a.out.h... " >&6; } 6960 if ${tcl_cv_aout_h+:} false; then : 6961 $as_echo_n "(cached) " >&6 6962 else 6963 6964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11654 6965 /* end confdefs.h. */ 11655 6966 #include <a.out.h> … … 11673 6984 } 11674 6985 _ACEOF 11675 rm -f conftest.$ac_objext 11676 if { (ac_try="$ac_compile" 11677 case "(($ac_try" in 11678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11679 *) ac_try_echo=$ac_try;; 11680 esac 11681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11682 (eval "$ac_compile") 2>conftest.er1 11683 ac_status=$? 11684 grep -v '^ *+' conftest.er1 >conftest.err 11685 rm -f conftest.er1 11686 cat conftest.err >&5 11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11688 (exit $ac_status); } && { 11689 test -z "$ac_cxx_werror_flag" || 11690 test ! -s conftest.err 11691 } && test -s conftest.$ac_objext; then 6986 if ac_fn_cxx_try_compile "$LINENO"; then : 11692 6987 tcl_cv_aout_h=usable 11693 6988 else 11694 echo "$as_me: failed program was:" >&5 11695 sed 's/^/| /' conftest.$ac_ext >&5 11696 11697 tcl_cv_aout_h=unusable 11698 fi 11699 6989 tcl_cv_aout_h=unusable 6990 fi 11700 6991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11701 6992 fi 11702 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&511703 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6994 $as_echo "$tcl_cv_aout_h" >&6; } 11704 6995 if test $tcl_cv_aout_h = usable; then 11705 cat >>confdefs.h <<\_ACEOF 11706 #define USE_A_OUT_H 1 11707 _ACEOF 6996 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11708 6997 11709 6998 else 11710 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11711 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11712 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11713 echo $ECHO_N "(cached) $ECHO_C" >&6 11714 else 11715 11716 cat >conftest.$ac_ext <<_ACEOF 11717 /* confdefs.h. */ 11718 _ACEOF 11719 cat confdefs.h >>conftest.$ac_ext 11720 cat >>conftest.$ac_ext <<_ACEOF 6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 7000 $as_echo_n "checking sys/exec_aout.h... " >&6; } 7001 if ${tcl_cv_sysexecaout_h+:} false; then : 7002 $as_echo_n "(cached) " >&6 7003 else 7004 7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11721 7006 /* end confdefs.h. */ 11722 7007 #include <sys/exec_aout.h> … … 11740 7025 } 11741 7026 _ACEOF 11742 rm -f conftest.$ac_objext 11743 if { (ac_try="$ac_compile" 11744 case "(($ac_try" in 11745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11746 *) ac_try_echo=$ac_try;; 11747 esac 11748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11749 (eval "$ac_compile") 2>conftest.er1 11750 ac_status=$? 11751 grep -v '^ *+' conftest.er1 >conftest.err 11752 rm -f conftest.er1 11753 cat conftest.err >&5 11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11755 (exit $ac_status); } && { 11756 test -z "$ac_cxx_werror_flag" || 11757 test ! -s conftest.err 11758 } && test -s conftest.$ac_objext; then 7027 if ac_fn_cxx_try_compile "$LINENO"; then : 11759 7028 tcl_cv_sysexecaout_h=usable 11760 7029 else 11761 echo "$as_me: failed program was:" >&5 11762 sed 's/^/| /' conftest.$ac_ext >&5 11763 11764 tcl_cv_sysexecaout_h=unusable 11765 fi 11766 7030 tcl_cv_sysexecaout_h=unusable 7031 fi 11767 7032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11768 7033 fi 11769 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&511770 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 7035 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 11771 7036 if test $tcl_cv_sysexecaout_h = usable; then 11772 cat >>confdefs.h <<\_ACEOF 11773 #define USE_SYS_EXEC_AOUT_H 1 11774 _ACEOF 7037 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11775 7038 11776 7039 else … … 11784 7047 11785 7048 # Check whether --enable-load was given. 11786 if test "${enable_load+set}" = set; then 7049 if test "${enable_load+set}" = set; then : 11787 7050 enableval=$enable_load; tcl_ok=$enableval 11788 7051 else … … 11915 7178 done 11916 7179 if test "x${make_command}" = "x" ; then 11917 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11918 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11919 { (exit 1); exit 1; }; } 7180 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11920 7181 fi 11921 7182 MAKE=${make_command} … … 11923 7184 11924 7185 # Check whether --enable-gui was given. 11925 if test "${enable_gui+set}" = set; then 7186 if test "${enable_gui+set}" = set; then : 11926 7187 enableval=$enable_gui; 11927 7188 else … … 11939 7200 11940 7201 # Check whether --with-tclsh was given. 11941 if test "${with_tclsh+set}" = set; then 7202 if test "${with_tclsh+set}" = set; then : 11942 7203 withval=$with_tclsh; 11943 7204 else … … 11948 7209 TCLSH= 11949 7210 if test "${rp_with_tclsh}" != "no" ; then 11950 { echo "$as_me:$LINENO: checking for tclsh" >&5 11951 echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; } 11952 if test -x "${rp_with_tclsh}/bin/tclsh" 7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5 7212 $as_echo_n "checking for tclsh... " >&6; } 7213 if test -x "${rp_with_tclsh}/bin/tclsh" 7214 then 7215 TCLSH="${rp_with_tclsh}/bin/tclsh" 7216 else 7217 if test -x "${rp_with_tclsh}" 11953 7218 then 11954 echo Found tclsh in ${rp_with_tclsh}/bin/tclsh 11955 TCLSH="${rp_with_tclsh}/bin/tclsh" 7219 TCLSH="${rp_with_tclsh}" 11956 7220 else 11957 if test -x "${rp_with_tclsh}" 11958 then 11959 echo "Found tclsh in ${rp_with_tclsh}" 11960 TCLSH="${rp_with_tclsh}" 11961 else 11962 if test -x "${exec_prefix}/bin/tclsh" 11963 then 11964 echo Found tclsh in ${exec_prefix}/bin/tclsh 11965 TCLSH="${exec_prefix}/bin/tclsh" 11966 else 11967 for v in 8.4 8.5 8.6 ; do 11968 if test -x "${exec_prefix}/bin/tclsh${v}" 11969 then 11970 echo Found tclsh in ${exec_prefix}/bin/tclsh${v} 11971 TCLSH="${exec_prefix}/bin/tclsh${v}" 11972 break 11973 fi 11974 done 11975 fi 11976 fi 7221 if test -x "${exec_prefix}/bin/tclsh" 7222 then 7223 TCLSH="${exec_prefix}/bin/tclsh" 7224 else 7225 for v in 8.4 8.5 8.6 ; do 7226 if test -x "${exec_prefix}/bin/tclsh${v}" 7227 then 7228 TCLSH="${exec_prefix}/bin/tclsh${v}" 7229 break 7230 fi 7231 done 7232 fi 11977 7233 fi 11978 if ! test -x ${TCLSH}11979 11980 7234 fi 7235 if ! test -x ${TCLSH} ; then 7236 # Extract the first word of "tclsh", so it can be a program name with args. 11981 7237 set dummy tclsh; ac_word=$2 11982 { echo "$as_me:$LINENO: checking for $ac_word" >&511983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }11984 if test "${ac_cv_path_TCLSH+set}" = set; then11985 echo $ECHO_N "(cached) $ECHO_C" >&67238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7239 $as_echo_n "checking for $ac_word... " >&6; } 7240 if ${ac_cv_path_TCLSH+:} false; then : 7241 $as_echo_n "(cached) " >&6 11986 7242 else 11987 7243 case $TCLSH in … … 11995 7251 IFS=$as_save_IFS 11996 7252 test -z "$as_dir" && as_dir=. 11997 for ac_exec_ext in '' $ac_executable_extensions; do7253 for ac_exec_ext in '' $ac_executable_extensions; do 11998 7254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11999 7255 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12001 7257 break 2 12002 7258 fi 12003 7259 done 12004 done7260 done 12005 7261 IFS=$as_save_IFS 12006 7262 … … 12010 7266 TCLSH=$ac_cv_path_TCLSH 12011 7267 if test -n "$TCLSH"; then 12012 { echo "$as_me:$LINENO: result: $TCLSH" >&5 12013 echo "${ECHO_T}$TCLSH" >&6; } 12014 else 12015 { echo "$as_me:$LINENO: result: no" >&5 12016 echo "${ECHO_T}no" >&6; } 12017 fi 12018 12019 12020 fi 12021 fi 12022 12023 { echo "$as_me:$LINENO: result: ${TCLSH}" >&5 12024 echo "${ECHO_T}${TCLSH}" >&6; } 7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7269 $as_echo "$TCLSH" >&6; } 7270 else 7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7272 $as_echo "no" >&6; } 7273 fi 7274 7275 7276 fi 7277 fi 7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5 7279 $as_echo "${TCLSH}" >&6; } 12025 7280 12026 7281 … … 12054 7309 12055 7310 # Check whether --with-vtk was given. 12056 if test "${with_vtk+set}" = set; then 7311 if test "${with_vtk+set}" = set; then : 12057 7312 withval=$with_vtk; rp_with_vtk=$withval 12058 7313 else … … 12061 7316 12062 7317 12063 { echo "$as_me:$LINENO: checking for vtk" >&512064 echo $ECHO_N "checking for vtk... $ECHO_C" >&6; }7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 7319 $as_echo_n "checking for vtk... " >&6; } 12065 7320 VTKDIR="" 12066 7321 … … 12085 7340 fi 12086 7341 12087 { echo "$as_me:$LINENO: result: $VTKDIR" >&512088 echo "${ECHO_T}$VTKDIR" >&6; }7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 7343 $as_echo "$VTKDIR" >&6; } 12089 7344 12090 7345 12091 7346 12092 7347 # Check whether --with-matlab was given. 12093 if test "${with_matlab+set}" = set; then 7348 if test "${with_matlab+set}" = set; then : 12094 7349 withval=$with_matlab; rp_with_matlab=$withval 12095 7350 else … … 12107 7362 # Extract the first word of "matlab", so it can be a program name with args. 12108 7363 set dummy matlab; ac_word=$2 12109 { echo "$as_me:$LINENO: checking for $ac_word" >&512110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12111 if test "${ac_cv_path_MATLAB+set}" = set; then12112 echo $ECHO_N "(cached) $ECHO_C" >&67364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7365 $as_echo_n "checking for $ac_word... " >&6; } 7366 if ${ac_cv_path_MATLAB+:} false; then : 7367 $as_echo_n "(cached) " >&6 12113 7368 else 12114 7369 case $MATLAB in … … 12122 7377 IFS=$as_save_IFS 12123 7378 test -z "$as_dir" && as_dir=. 12124 for ac_exec_ext in '' $ac_executable_extensions; do7379 for ac_exec_ext in '' $ac_executable_extensions; do 12125 7380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12126 7381 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12128 7383 break 2 12129 7384 fi 12130 7385 done 12131 done7386 done 12132 7387 IFS=$as_save_IFS 12133 7388 … … 12137 7392 MATLAB=$ac_cv_path_MATLAB 12138 7393 if test -n "$MATLAB"; then 12139 { echo "$as_me:$LINENO: result: $MATLAB" >&512140 echo "${ECHO_T}$MATLAB" >&6; }12141 else 12142 { echo "$as_me:$LINENO: result: no" >&512143 echo "${ECHO_T}no" >&6; }7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7395 $as_echo "$MATLAB" >&6; } 7396 else 7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7398 $as_echo "no" >&6; } 12144 7399 fi 12145 7400 … … 12148 7403 # Extract the first word of "matlab", so it can be a program name with args. 12149 7404 set dummy matlab; ac_word=$2 12150 { echo "$as_me:$LINENO: checking for $ac_word" >&512151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12152 if test "${ac_cv_path_MATLAB+set}" = set; then12153 echo $ECHO_N "(cached) $ECHO_C" >&67405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7406 $as_echo_n "checking for $ac_word... " >&6; } 7407 if ${ac_cv_path_MATLAB+:} false; then : 7408 $as_echo_n "(cached) " >&6 12154 7409 else 12155 7410 case $MATLAB in … … 12164 7419 IFS=$as_save_IFS 12165 7420 test -z "$as_dir" && as_dir=. 12166 for ac_exec_ext in '' $ac_executable_extensions; do7421 for ac_exec_ext in '' $ac_executable_extensions; do 12167 7422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12168 7423 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12170 7425 break 2 12171 7426 fi 12172 7427 done 12173 done7428 done 12174 7429 IFS=$as_save_IFS 12175 7430 … … 12179 7434 MATLAB=$ac_cv_path_MATLAB 12180 7435 if test -n "$MATLAB"; then 12181 { echo "$as_me:$LINENO: result: $MATLAB" >&512182 echo "${ECHO_T}$MATLAB" >&6; }12183 else 12184 { echo "$as_me:$LINENO: result: no" >&512185 echo "${ECHO_T}no" >&6; }7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7437 $as_echo "$MATLAB" >&6; } 7438 else 7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7440 $as_echo "no" >&6; } 12186 7441 fi 12187 7442 … … 12199 7454 # Extract the first word of "mex", so it can be a program name with args. 12200 7455 set dummy mex; ac_word=$2 12201 { echo "$as_me:$LINENO: checking for $ac_word" >&512202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12203 if test "${ac_cv_path_MEX+set}" = set; then12204 echo $ECHO_N "(cached) $ECHO_C" >&67456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7457 $as_echo_n "checking for $ac_word... " >&6; } 7458 if ${ac_cv_path_MEX+:} false; then : 7459 $as_echo_n "(cached) " >&6 12205 7460 else 12206 7461 case $MEX in … … 12214 7469 IFS=$as_save_IFS 12215 7470 test -z "$as_dir" && as_dir=. 12216 for ac_exec_ext in '' $ac_executable_extensions; do7471 for ac_exec_ext in '' $ac_executable_extensions; do 12217 7472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12218 7473 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12220 7475 break 2 12221 7476 fi 12222 7477 done 12223 done7478 done 12224 7479 IFS=$as_save_IFS 12225 7480 … … 12229 7484 MEX=$ac_cv_path_MEX 12230 7485 if test -n "$MEX"; then 12231 { echo "$as_me:$LINENO: result: $MEX" >&512232 echo "${ECHO_T}$MEX" >&6; }12233 else 12234 { echo "$as_me:$LINENO: result: no" >&512235 echo "${ECHO_T}no" >&6; }7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 7487 $as_echo "$MEX" >&6; } 7488 else 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7490 $as_echo "no" >&6; } 12236 7491 fi 12237 7492 … … 12239 7494 # Extract the first word of "mexext", so it can be a program name with args. 12240 7495 set dummy mexext; ac_word=$2 12241 { echo "$as_me:$LINENO: checking for $ac_word" >&512242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12243 if test "${ac_cv_path_MEXEXT+set}" = set; then12244 echo $ECHO_N "(cached) $ECHO_C" >&67496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7497 $as_echo_n "checking for $ac_word... " >&6; } 7498 if ${ac_cv_path_MEXEXT+:} false; then : 7499 $as_echo_n "(cached) " >&6 12245 7500 else 12246 7501 case $MEXEXT in … … 12254 7509 IFS=$as_save_IFS 12255 7510 test -z "$as_dir" && as_dir=. 12256 for ac_exec_ext in '' $ac_executable_extensions; do7511 for ac_exec_ext in '' $ac_executable_extensions; do 12257 7512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12258 7513 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12260 7515 break 2 12261 7516 fi 12262 7517 done 12263 done7518 done 12264 7519 IFS=$as_save_IFS 12265 7520 … … 12269 7524 MEXEXT=$ac_cv_path_MEXEXT 12270 7525 if test -n "$MEXEXT"; then 12271 { echo "$as_me:$LINENO: result: $MEXEXT" >&512272 echo "${ECHO_T}$MEXEXT" >&6; }12273 else 12274 { echo "$as_me:$LINENO: result: no" >&512275 echo "${ECHO_T}no" >&6; }7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7527 $as_echo "$MEXEXT" >&6; } 7528 else 7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7530 $as_echo "no" >&6; } 12276 7531 fi 12277 7532 … … 12279 7534 12280 7535 # Run "mexext" to get the expected module extension for this platform. 12281 { echo "$as_me:$LINENO: checking for mex extension" >&512282 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 7537 $as_echo_n "checking for mex extension... " >&6; } 12283 7538 if test "x$MEXEXT" != "x" ; then 12284 7539 MEXEXT=`$MEXEXT` … … 12286 7541 MEXEXT="mexglx" 12287 7542 fi 12288 { echo "$as_me:$LINENO: result: $MEXEXT" >&512289 echo "${ECHO_T}$MEXEXT" >&6; }7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7544 $as_echo "$MEXEXT" >&6; } 12290 7545 # Extract the first word of "mcc", so it can be a program name with args. 12291 7546 set dummy mcc; ac_word=$2 12292 { echo "$as_me:$LINENO: checking for $ac_word" >&512293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12294 if test "${ac_cv_path_MCC+set}" = set; then12295 echo $ECHO_N "(cached) $ECHO_C" >&67547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7548 $as_echo_n "checking for $ac_word... " >&6; } 7549 if ${ac_cv_path_MCC+:} false; then : 7550 $as_echo_n "(cached) " >&6 12296 7551 else 12297 7552 case $MCC in … … 12305 7560 IFS=$as_save_IFS 12306 7561 test -z "$as_dir" && as_dir=. 12307 for ac_exec_ext in '' $ac_executable_extensions; do7562 for ac_exec_ext in '' $ac_executable_extensions; do 12308 7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12309 7564 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12311 7566 break 2 12312 7567 fi 12313 7568 done 12314 done7569 done 12315 7570 IFS=$as_save_IFS 12316 7571 … … 12320 7575 MCC=$ac_cv_path_MCC 12321 7576 if test -n "$MCC"; then 12322 { echo "$as_me:$LINENO: result: $MCC" >&512323 echo "${ECHO_T}$MCC" >&6; }12324 else 12325 { echo "$as_me:$LINENO: result: no" >&512326 echo "${ECHO_T}no" >&6; }12327 fi 12328 12329 12330 { echo "$as_me:$LINENO: checking for mcc extension" >&512331 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; }7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 7578 $as_echo "$MCC" >&6; } 7579 else 7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7581 $as_echo "no" >&6; } 7582 fi 7583 7584 7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 7586 $as_echo_n "checking for mcc extension... " >&6; } 12332 7587 fi 12333 7588 … … 12341 7596 12342 7597 # Check whether --with-octave was given. 12343 if test "${with_octave+set}" = set; then 7598 if test "${with_octave+set}" = set; then : 12344 7599 withval=$with_octave; rp_with_octave=$withval 12345 7600 else … … 12357 7612 MKOCTFILE3= 12358 7613 if test "$rp_with_octave" != "no" ; then 12359 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512360 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }12361 7614 if test "$rp_with_octave" = "yes" ; then 12362 7615 # Extract the first word of "octave", so it can be a program name with args. 12363 7616 set dummy octave; ac_word=$2 12364 { echo "$as_me:$LINENO: checking for $ac_word" >&512365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12366 if test "${ac_cv_path_OCTAVE+set}" = set; then12367 echo $ECHO_N "(cached) $ECHO_C" >&67617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7618 $as_echo_n "checking for $ac_word... " >&6; } 7619 if ${ac_cv_path_OCTAVE+:} false; then : 7620 $as_echo_n "(cached) " >&6 12368 7621 else 12369 7622 case $OCTAVE in … … 12377 7630 IFS=$as_save_IFS 12378 7631 test -z "$as_dir" && as_dir=. 12379 for ac_exec_ext in '' $ac_executable_extensions; do7632 for ac_exec_ext in '' $ac_executable_extensions; do 12380 7633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12381 7634 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12383 7636 break 2 12384 7637 fi 12385 7638 done 12386 done7639 done 12387 7640 IFS=$as_save_IFS 12388 7641 … … 12392 7645 OCTAVE=$ac_cv_path_OCTAVE 12393 7646 if test -n "$OCTAVE"; then 12394 { echo "$as_me:$LINENO: result: $OCTAVE" >&512395 echo "${ECHO_T}$OCTAVE" >&6; }12396 else 12397 { echo "$as_me:$LINENO: result: no" >&512398 echo "${ECHO_T}no" >&6; }7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7648 $as_echo "$OCTAVE" >&6; } 7649 else 7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7651 $as_echo "no" >&6; } 12399 7652 fi 12400 7653 … … 12402 7655 # Extract the first word of "mkoctfile", so it can be a program name with args. 12403 7656 set dummy mkoctfile; ac_word=$2 12404 { echo "$as_me:$LINENO: checking for $ac_word" >&512405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12406 if test "${ac_cv_path_MKOCTFILE+set}" = set; then12407 echo $ECHO_N "(cached) $ECHO_C" >&67657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7658 $as_echo_n "checking for $ac_word... " >&6; } 7659 if ${ac_cv_path_MKOCTFILE+:} false; then : 7660 $as_echo_n "(cached) " >&6 12408 7661 else 12409 7662 case $MKOCTFILE in … … 12417 7670 IFS=$as_save_IFS 12418 7671 test -z "$as_dir" && as_dir=. 12419 for ac_exec_ext in '' $ac_executable_extensions; do7672 for ac_exec_ext in '' $ac_executable_extensions; do 12420 7673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12421 7674 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12423 7676 break 2 12424 7677 fi 12425 7678 done 12426 done7679 done 12427 7680 IFS=$as_save_IFS 12428 7681 … … 12432 7685 MKOCTFILE=$ac_cv_path_MKOCTFILE 12433 7686 if test -n "$MKOCTFILE"; then 12434 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512435 echo "${ECHO_T}$MKOCTFILE" >&6; }12436 else 12437 { echo "$as_me:$LINENO: result: no" >&512438 echo "${ECHO_T}no" >&6; }7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7688 $as_echo "$MKOCTFILE" >&6; } 7689 else 7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7691 $as_echo "no" >&6; } 12439 7692 fi 12440 7693 … … 12461 7714 12462 7715 # Check whether --with-octave2 was given. 12463 if test "${with_octave2+set}" = set; then 7716 if test "${with_octave2+set}" = set; then : 12464 7717 withval=$with_octave2; rp_with_octave2=$withval 12465 7718 else … … 12470 7723 if test "$rp_with_octave2" != "no" ; then 12471 7724 if test "$rp_with_octave2" = "yes" ; then 12472 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512473 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }12474 7725 # Extract the first word of "octave", so it can be a program name with args. 12475 7726 set dummy octave; ac_word=$2 12476 { echo "$as_me:$LINENO: checking for $ac_word" >&512477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12478 if test "${ac_cv_path_octave2+set}" = set; then12479 echo $ECHO_N "(cached) $ECHO_C" >&67727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7728 $as_echo_n "checking for $ac_word... " >&6; } 7729 if ${ac_cv_path_octave2+:} false; then : 7730 $as_echo_n "(cached) " >&6 12480 7731 else 12481 7732 case $octave2 in … … 12489 7740 IFS=$as_save_IFS 12490 7741 test -z "$as_dir" && as_dir=. 12491 for ac_exec_ext in '' $ac_executable_extensions; do7742 for ac_exec_ext in '' $ac_executable_extensions; do 12492 7743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12493 7744 ac_cv_path_octave2="$as_dir/$ac_word$ac_exec_ext" 12494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12495 7746 break 2 12496 7747 fi 12497 7748 done 12498 done7749 done 12499 7750 IFS=$as_save_IFS 12500 7751 … … 12504 7755 octave2=$ac_cv_path_octave2 12505 7756 if test -n "$octave2"; then 12506 { echo "$as_me:$LINENO: result: $octave2" >&512507 echo "${ECHO_T}$octave2" >&6; }12508 else 12509 { echo "$as_me:$LINENO: result: no" >&512510 echo "${ECHO_T}no" >&6; }7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave2" >&5 7758 $as_echo "$octave2" >&6; } 7759 else 7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7761 $as_echo "no" >&6; } 12511 7762 fi 12512 7763 … … 12514 7765 # Extract the first word of "mkoctfile", so it can be a program name with args. 12515 7766 set dummy mkoctfile; ac_word=$2 12516 { echo "$as_me:$LINENO: checking for $ac_word" >&512517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12518 if test "${ac_cv_path_mkoctfile2+set}" = set; then12519 echo $ECHO_N "(cached) $ECHO_C" >&67767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7768 $as_echo_n "checking for $ac_word... " >&6; } 7769 if ${ac_cv_path_mkoctfile2+:} false; then : 7770 $as_echo_n "(cached) " >&6 12520 7771 else 12521 7772 case $mkoctfile2 in … … 12529 7780 IFS=$as_save_IFS 12530 7781 test -z "$as_dir" && as_dir=. 12531 for ac_exec_ext in '' $ac_executable_extensions; do7782 for ac_exec_ext in '' $ac_executable_extensions; do 12532 7783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12533 7784 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext" 12534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12535 7786 break 2 12536 7787 fi 12537 7788 done 12538 done7789 done 12539 7790 IFS=$as_save_IFS 12540 7791 … … 12544 7795 mkoctfile2=$ac_cv_path_mkoctfile2 12545 7796 if test -n "$mkoctfile2"; then 12546 { echo "$as_me:$LINENO: result: $mkoctfile2" >&512547 echo "${ECHO_T}$mkoctfile2" >&6; }12548 else 12549 { echo "$as_me:$LINENO: result: no" >&512550 echo "${ECHO_T}no" >&6; }7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5 7798 $as_echo "$mkoctfile2" >&6; } 7799 else 7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7801 $as_echo "no" >&6; } 12551 7802 fi 12552 7803 … … 12570 7821 12571 7822 # Check whether --with-octave3 was given. 12572 if test "${with_octave3+set}" = set; then 7823 if test "${with_octave3+set}" = set; then : 12573 7824 withval=$with_octave3; rp_with_octave3=$withval 12574 7825 else … … 12577 7828 12578 7829 12579 echo rp_with_octave3=$rp_with_octave312580 7830 if test "$rp_with_octave3" != "no" ; then 12581 7831 if test "$rp_with_octave3" = "yes" ; then 12582 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512583 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }12584 7832 # Extract the first word of "octave", so it can be a program name with args. 12585 7833 set dummy octave; ac_word=$2 12586 { echo "$as_me:$LINENO: checking for $ac_word" >&512587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12588 if test "${ac_cv_path_octave3+set}" = set; then12589 echo $ECHO_N "(cached) $ECHO_C" >&67834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7835 $as_echo_n "checking for $ac_word... " >&6; } 7836 if ${ac_cv_path_octave3+:} false; then : 7837 $as_echo_n "(cached) " >&6 12590 7838 else 12591 7839 case $octave3 in … … 12599 7847 IFS=$as_save_IFS 12600 7848 test -z "$as_dir" && as_dir=. 12601 for ac_exec_ext in '' $ac_executable_extensions; do7849 for ac_exec_ext in '' $ac_executable_extensions; do 12602 7850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12603 7851 ac_cv_path_octave3="$as_dir/$ac_word$ac_exec_ext" 12604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12605 7853 break 2 12606 7854 fi 12607 7855 done 12608 done7856 done 12609 7857 IFS=$as_save_IFS 12610 7858 … … 12614 7862 octave3=$ac_cv_path_octave3 12615 7863 if test -n "$octave3"; then 12616 { echo "$as_me:$LINENO: result: $octave3" >&512617 echo "${ECHO_T}$octave3" >&6; }12618 else 12619 { echo "$as_me:$LINENO: result: no" >&512620 echo "${ECHO_T}no" >&6; }7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave3" >&5 7865 $as_echo "$octave3" >&6; } 7866 else 7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7868 $as_echo "no" >&6; } 12621 7869 fi 12622 7870 … … 12624 7872 # Extract the first word of "mkoctfile", so it can be a program name with args. 12625 7873 set dummy mkoctfile; ac_word=$2 12626 { echo "$as_me:$LINENO: checking for $ac_word" >&512627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12628 if test "${ac_cv_path_mkoctfile3+set}" = set; then12629 echo $ECHO_N "(cached) $ECHO_C" >&67874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7875 $as_echo_n "checking for $ac_word... " >&6; } 7876 if ${ac_cv_path_mkoctfile3+:} false; then : 7877 $as_echo_n "(cached) " >&6 12630 7878 else 12631 7879 case $mkoctfile3 in … … 12639 7887 IFS=$as_save_IFS 12640 7888 test -z "$as_dir" && as_dir=. 12641 for ac_exec_ext in '' $ac_executable_extensions; do7889 for ac_exec_ext in '' $ac_executable_extensions; do 12642 7890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12643 7891 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 12644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12645 7893 break 2 12646 7894 fi 12647 7895 done 12648 done7896 done 12649 7897 IFS=$as_save_IFS 12650 7898 … … 12654 7902 mkoctfile3=$ac_cv_path_mkoctfile3 12655 7903 if test -n "$mkoctfile3"; then 12656 { echo "$as_me:$LINENO: result: $mkoctfile3" >&512657 echo "${ECHO_T}$mkoctfile3" >&6; }12658 else 12659 { echo "$as_me:$LINENO: result: no" >&512660 echo "${ECHO_T}no" >&6; }7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5 7905 $as_echo "$mkoctfile3" >&6; } 7906 else 7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7908 $as_echo "no" >&6; } 12661 7909 fi 12662 7910 … … 12668 7916 fi 12669 7917 12670 echo octave3=$octave312671 7918 if test "x${octave3}" != "x" ; then 12672 echo version="${octave3} -v | grep version | cut -d' ' -f4"12673 7919 version=`${octave3} -v | grep version | cut -d' ' -f4` 12674 echo version=$version12675 7920 version_major=`echo ${version} | cut -d'.' -f1` 12676 echo version_major=$version_major12677 7921 if test "$version_major" = "3" ; then 12678 7922 OCTAVE3=$rp_with_octave3 … … 12692 7936 12693 7937 # Check whether --with-perl was given. 12694 if test "${with_perl+set}" = set; then 7938 if test "${with_perl+set}" = set; then : 12695 7939 withval=$with_perl; 12696 7940 else … … 12711 7955 PERL_LIBSPEC= 12712 7956 if test "$rp_with_perl" != "no" ; then 12713 { echo "$as_me:$LINENO: checking for perl" >&512714 echo $ECHO_N "checking for perl... $ECHO_C" >&6; }12715 7957 if test "$rp_with_perl" != "yes" ; then 12716 7958 # Extract the first word of "perl", so it can be a program name with args. 12717 7959 set dummy perl; ac_word=$2 12718 { echo "$as_me:$LINENO: checking for $ac_word" >&512719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12720 if test "${ac_cv_path_PERL+set}" = set; then12721 echo $ECHO_N "(cached) $ECHO_C" >&67960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7961 $as_echo_n "checking for $ac_word... " >&6; } 7962 if ${ac_cv_path_PERL+:} false; then : 7963 $as_echo_n "(cached) " >&6 12722 7964 else 12723 7965 case $PERL in … … 12732 7974 IFS=$as_save_IFS 12733 7975 test -z "$as_dir" && as_dir=. 12734 for ac_exec_ext in '' $ac_executable_extensions; do7976 for ac_exec_ext in '' $ac_executable_extensions; do 12735 7977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12736 7978 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12738 7980 break 2 12739 7981 fi 12740 7982 done 12741 done7983 done 12742 7984 IFS=$as_save_IFS 12743 7985 … … 12747 7989 PERL=$ac_cv_path_PERL 12748 7990 if test -n "$PERL"; then 12749 { echo "$as_me:$LINENO: result: $PERL" >&512750 echo "${ECHO_T}$PERL" >&6; }12751 else 12752 { echo "$as_me:$LINENO: result: no" >&512753 echo "${ECHO_T}no" >&6; }7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7992 $as_echo "$PERL" >&6; } 7993 else 7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7995 $as_echo "no" >&6; } 12754 7996 fi 12755 7997 … … 12758 8000 # Extract the first word of "perl", so it can be a program name with args. 12759 8001 set dummy perl; ac_word=$2 12760 { echo "$as_me:$LINENO: checking for $ac_word" >&512761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12762 if test "${ac_cv_path_PERL+set}" = set; then12763 echo $ECHO_N "(cached) $ECHO_C" >&68002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8003 $as_echo_n "checking for $ac_word... " >&6; } 8004 if ${ac_cv_path_PERL+:} false; then : 8005 $as_echo_n "(cached) " >&6 12764 8006 else 12765 8007 case $PERL in … … 12773 8015 IFS=$as_save_IFS 12774 8016 test -z "$as_dir" && as_dir=. 12775 for ac_exec_ext in '' $ac_executable_extensions; do8017 for ac_exec_ext in '' $ac_executable_extensions; do 12776 8018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12777 8019 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12779 8021 break 2 12780 8022 fi 12781 8023 done 12782 done8024 done 12783 8025 IFS=$as_save_IFS 12784 8026 … … 12788 8030 PERL=$ac_cv_path_PERL 12789 8031 if test -n "$PERL"; then 12790 { echo "$as_me:$LINENO: result: $PERL" >&512791 echo "${ECHO_T}$PERL" >&6; }12792 else 12793 { echo "$as_me:$LINENO: result: no" >&512794 echo "${ECHO_T}no" >&6; }8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8033 $as_echo "$PERL" >&6; } 8034 else 8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8036 $as_echo "no" >&6; } 12795 8037 fi 12796 8038 … … 12807 8049 PERL_ARCHLIBEXP=`${PERL} -MConfig -e 'print $Config{archlibexp}'` 12808 8050 PERL_VERSION_RV=`echo ${PERL_VERSION} | cut -d'.' -f1-2` 12809 echo perllib="${PERL_ARCHLIBEXP}/CORE/libperl${SHLIB_SUFFIX}"12810 12811 8051 # libperl may or may not be installed. Check for its existence. 12812 8052 if test -f "${PERL_ARCHLIBEXP}/CORE/libperl${SHLIB_SUFFIX}" ; then … … 12815 8055 fi 12816 8056 fi 12817 { echo "$as_me:$LINENO: result: ${PERL}" >&512818 echo "${ECHO_T}${PERL}" >&6; }12819 8057 12820 8058 … … 12833 8071 PYTHON_CFLAGS="" 12834 8072 PYTHON_CPPFLAGS="" 12835 HAVE_PYTHON_DISTUTILS=""8073 PYTHON_DISTUTILS="" 12836 8074 PYTHON_INCLUDES="" 12837 8075 PYTHON_LDFLAGS="" … … 12845 8083 12846 8084 # Check whether --with-python was given. 12847 if test "${with_python+set}" = set; then 8085 if test "${with_python+set}" = set; then : 12848 8086 withval=$with_python; 12849 8087 else … … 12853 8091 12854 8092 if test "$rp_with_python" != "no" ; then 12855 { echo "$as_me:$LINENO: checking for python" >&5 12856 echo $ECHO_N "checking for python... $ECHO_C" >&6; } 12857 if test -x "$rp_with_python/bin/python"; then 12858 echo Found python in $rp_with_python/bin/python 12859 PYTHON="$rp_with_python/bin/python" 12860 elif test -x "$rp_with_python"; then 12861 echo Found python in $rp_with_python 12862 PYTHON="$rp_with_python" 12863 else 8093 if test "$rp_with_python" = "yes" ; then 12864 8094 # 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 8095 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" >&68096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8097 $as_echo_n "checking for $ac_word... " >&6; } 8098 if ${ac_cv_path_PYTHON+:} false; then : 8099 $as_echo_n "(cached) " >&6 12870 8100 else 12871 8101 case $PYTHON in … … 12879 8109 IFS=$as_save_IFS 12880 8110 test -z "$as_dir" && as_dir=. 12881 for ac_exec_ext in '' $ac_executable_extensions; do8111 for ac_exec_ext in '' $ac_executable_extensions; do 12882 8112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12883 8113 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12885 8115 break 2 12886 8116 fi 12887 8117 done 12888 done8118 done 12889 8119 IFS=$as_save_IFS 12890 8120 … … 12894 8124 PYTHON=$ac_cv_path_PYTHON 12895 8125 if test -n "$PYTHON"; then 12896 { echo "$as_me:$LINENO: result: $PYTHON" >&5 12897 echo "${ECHO_T}$PYTHON" >&6; } 12898 else 12899 { echo "$as_me:$LINENO: result: no" >&5 12900 echo "${ECHO_T}no" >&6; } 12901 fi 12902 12903 12904 fi 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8127 $as_echo "$PYTHON" >&6; } 8128 else 8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8130 $as_echo "no" >&6; } 8131 fi 8132 8133 8134 else 8135 # Extract the first word of "python", so it can be a program name with args. 8136 set dummy python; ac_word=$2 8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8138 $as_echo_n "checking for $ac_word... " >&6; } 8139 if ${ac_cv_path_PYTHON+:} false; then : 8140 $as_echo_n "(cached) " >&6 8141 else 8142 case $PYTHON in 8143 [\\/]* | ?:[\\/]*) 8144 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 8145 ;; 8146 *) 8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8148 as_dummy="${rp_with_python}/bin:${rp_with_python}" 8149 for as_dir in $as_dummy 8150 do 8151 IFS=$as_save_IFS 8152 test -z "$as_dir" && as_dir=. 8153 for ac_exec_ext in '' $ac_executable_extensions; do 8154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8155 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8157 break 2 8158 fi 8159 done 8160 done 8161 IFS=$as_save_IFS 8162 8163 ;; 8164 esac 8165 fi 8166 PYTHON=$ac_cv_path_PYTHON 8167 if test -n "$PYTHON"; then 8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8169 $as_echo "$PYTHON" >&6; } 8170 else 8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8172 $as_echo "no" >&6; } 8173 fi 8174 8175 8176 fi 8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 8178 $as_echo_n "checking for Python version... " >&6; } 12905 8179 if test "x${PYTHON}" != "x"; then 12906 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"` 12907 echo Using python version $PYTHON_VERSION 12908 fi 12909 if test "x${PYTHON_VERSION}" != "x"; then 12910 if test -r $rp_with_python/include/python$PYTHON_VERSION/Python.h -a \ 12911 -d $rp_with_python/lib/python$PYTHON_VERSION/site-packages; then 12912 PYTHON_INCLUDES=$rp_with_python/include/python$PYTHON_VERSION 12913 PYTHON_SITE_PACKAGES=$rp_with_python/lib/python$PYTHON_VERSION/site-packages 12914 else 12915 if test -r $prefix/include/python$PYTHON_VERSION/Python.h; then 12916 PYTHON_INCLUDES='$(prefix)/include/python$(PYTHON_VERSION)' 12917 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages' 12918 else 12919 if test -r /usr/include/python$PYTHON_VERSION/Python.h; then 12920 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION 12921 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages' 12922 else 12923 echo could not find python$PYTHON_VERSION/Python.h 12924 fi 12925 fi 12926 if test ! -d "$PYTHON_SITE_PACKAGES"; then 12927 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 12928 fi 12929 fi 12930 fi 12931 if test "x$rp_with_python" != "x" ; then 12932 pythondir='$(PYTHON_SITE_PACKAGES)' 12933 else 12934 pythondir='$(libdir)/python${PYTHON_VERSION}/site-packages' 12935 fi 12936 12937 { echo "$as_me:$LINENO: checking for python distutils" >&5 12938 echo $ECHO_N "checking for python distutils... $ECHO_C" >&6; } 8180 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 8181 fi 8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 8183 $as_echo "$PYTHON_VERSION" >&6; } 8184 fi 8185 8186 if test "x${PYTHON_VERSION}" != "x"; then 8187 PYTHON_INCLUDES=$incdir 8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 8189 $as_echo_n "checking for Python distutils... " >&6; } 8190 PYTHON_DISTUTILS="" 12939 8191 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 12940 8192 build build_ext 2>&1 > /dev/null 12941 8193 if test $? = 0 ; then 12942 HAVE_PYTHON_DISTUTILS="yes" 12943 else 12944 HAVE_PYTHON_DISTUTILS="no" 12945 fi 12946 { echo "$as_me:$LINENO: result: $HAVE_PYTHON_DISTUTILS" >&5 12947 echo "${ECHO_T}$HAVE_PYTHON_DISTUTILS" >&6; } 12948 12949 if test "${HAVE_PYTHON_DISTUTILS}" = "yes"; then 8194 PYTHON_DISTUTILS="yes" 8195 fi 8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 8197 $as_echo "$PYTHON_DISTUTILS" >&6; } 8198 if test "${PYTHON_DISTUTILS}" = "yes" ; then 8199 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 12950 8200 # 12951 8201 # Check for Python include path 12952 8202 # 12953 { echo "$as_me:$LINENO: checking for Python include path" >&5 12954 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; } 12955 if test "x${PYTHON_CPPFLAGS}" = "x"; then 12956 incdir_path=`${PYTHON} -c "import distutils.sysconfig; \ 12957 print distutils.sysconfig.get_python_inc();"` 12958 if test -n "${incdir}"; then 12959 python_path="-I${incdir}" 12960 fi 12961 PYTHON_CPPFLAGS=$python_path 12962 fi 12963 { echo "$as_me:$LINENO: result: $PYTHON_CPPFLAGS" >&5 12964 echo "${ECHO_T}$PYTHON_CPPFLAGS" >&6; } 12965 8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 8204 $as_echo_n "checking path to Python headers... " >&6; } 8205 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 8206 print distutils.sysconfig.get_python_inc();"` 8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 8208 $as_echo "$PYTHON_INCDIR" >&6; } 12966 8209 # 12967 # python distutils found, get settings from python directly8210 # Python distutils found, get settings from python directly 12968 8211 # 12969 { echo "$as_me:$LINENO: checking location of site-packages" >&512970 echo $ECHO_N "checking location of site-packages... $ECHO_C" >&6; }12971 8212 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 12972 8213 … … 12975 8216 PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`" 12976 8217 PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`" 12977 fi 12978 fi 8218 save_CPPFLAGS=$CPPFLAGS 8219 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 8220 for ac_header in Python.h 8221 do : 8222 ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 8223 if test "x$ac_cv_header_Python_h" = xyes; then : 8224 cat >>confdefs.h <<_ACEOF 8225 #define HAVE_PYTHON_H 1 8226 _ACEOF 8227 found=yes 8228 else 8229 found=no 8230 fi 8231 8232 done 8233 8234 CPPFLAGS=$save_CPPFLAGS 8235 if test "$found" = "no" ; then 8236 PYTHON_DISTUTILS="" 8237 fi 8238 fi 8239 fi 8240 8241 8242 8243 8244 12979 8245 12980 8246 … … 12992 8258 12993 8259 # Check whether --with-ruby was given. 12994 if test "${with_ruby+set}" = set; then 8260 if test "${with_ruby+set}" = set; then : 12995 8261 withval=$with_ruby; rp_with_ruby=$withval 12996 8262 fi … … 13001 8267 # Extract the first word of "ruby", so it can be a program name with args. 13002 8268 set dummy ruby; ac_word=$2 13003 { echo "$as_me:$LINENO: checking for $ac_word" >&513004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13005 if test "${ac_cv_path_RUBY+set}" = set; then13006 echo $ECHO_N "(cached) $ECHO_C" >&68269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8270 $as_echo_n "checking for $ac_word... " >&6; } 8271 if ${ac_cv_path_RUBY+:} false; then : 8272 $as_echo_n "(cached) " >&6 13007 8273 else 13008 8274 case $RUBY in … … 13016 8282 IFS=$as_save_IFS 13017 8283 test -z "$as_dir" && as_dir=. 13018 for ac_exec_ext in '' $ac_executable_extensions; do8284 for ac_exec_ext in '' $ac_executable_extensions; do 13019 8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13020 8286 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13022 8288 break 2 13023 8289 fi 13024 8290 done 13025 done8291 done 13026 8292 IFS=$as_save_IFS 13027 8293 … … 13031 8297 RUBY=$ac_cv_path_RUBY 13032 8298 if test -n "$RUBY"; then 13033 { echo "$as_me:$LINENO: result: $RUBY" >&513034 echo "${ECHO_T}$RUBY" >&6; }13035 else 13036 { echo "$as_me:$LINENO: result: no" >&513037 echo "${ECHO_T}no" >&6; }8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8300 $as_echo "$RUBY" >&6; } 8301 else 8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8303 $as_echo "no" >&6; } 13038 8304 fi 13039 8305 … … 13042 8308 # Extract the first word of "ruby", so it can be a program name with args. 13043 8309 set dummy ruby; ac_word=$2 13044 { echo "$as_me:$LINENO: checking for $ac_word" >&513045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13046 if test "${ac_cv_path_RUBY+set}" = set; then13047 echo $ECHO_N "(cached) $ECHO_C" >&68310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8311 $as_echo_n "checking for $ac_word... " >&6; } 8312 if ${ac_cv_path_RUBY+:} false; then : 8313 $as_echo_n "(cached) " >&6 13048 8314 else 13049 8315 case $RUBY in … … 13058 8324 IFS=$as_save_IFS 13059 8325 test -z "$as_dir" && as_dir=. 13060 for ac_exec_ext in '' $ac_executable_extensions; do8326 for ac_exec_ext in '' $ac_executable_extensions; do 13061 8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13062 8328 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13064 8330 break 2 13065 8331 fi 13066 8332 done 13067 done8333 done 13068 8334 IFS=$as_save_IFS 13069 8335 … … 13073 8339 RUBY=$ac_cv_path_RUBY 13074 8340 if test -n "$RUBY"; then 13075 { echo "$as_me:$LINENO: result: $RUBY" >&513076 echo "${ECHO_T}$RUBY" >&6; }13077 else 13078 { echo "$as_me:$LINENO: result: no" >&513079 echo "${ECHO_T}no" >&6; }8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8342 $as_echo "$RUBY" >&6; } 8343 else 8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8345 $as_echo "no" >&6; } 13080 8346 fi 13081 8347 … … 13088 8354 RUBY_PLATFORM= 13089 8355 if test "x${RUBY}" != "x" ; then 13090 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&513091 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }13092 if test "${ac_cv_path_SED+set}" = set; then13093 echo $ECHO_N "(cached) $ECHO_C" >&68356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8357 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8358 if ${ac_cv_path_SED+:} false; then : 8359 $as_echo_n "(cached) " >&6 13094 8360 else 13095 8361 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 13097 8363 ac_script="$ac_script$as_nl$ac_script" 13098 8364 done 13099 echo "$ac_script" | sed 99q >conftest.sed 13100 $as_unset ac_script || ac_script= 13101 # Extract the first word of "sed gsed" to use in msg output 13102 if test -z "$SED"; then 13103 set dummy sed gsed; ac_prog_name=$2 13104 if test "${ac_cv_path_SED+set}" = set; then 13105 echo $ECHO_N "(cached) $ECHO_C" >&6 13106 else 8365 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8366 { ac_script=; unset ac_script;} 8367 if test -z "$SED"; then 13107 8368 ac_path_SED_found=false 13108 # Loop through the user's path and test for each of PROGNAME-LIST13109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8369 # Loop through the user's path and test for each of PROGNAME-LIST 8370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13110 8371 for as_dir in $PATH 13111 8372 do 13112 8373 IFS=$as_save_IFS 13113 8374 test -z "$as_dir" && as_dir=. 13114 for ac_prog in sed gsed; do13115 for ac_exec_ext in '' $ac_executable_extensions; do13116 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"13117 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue13118 8375 for ac_prog in sed gsed; do 8376 for ac_exec_ext in '' $ac_executable_extensions; do 8377 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8378 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 8379 # Check for GNU ac_path_SED and select it if it is found. 13119 8380 # Check for GNU $ac_path_SED 13120 8381 case `"$ac_path_SED" --version 2>&1` in … … 13123 8384 *) 13124 8385 ac_count=0 13125 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"8386 $as_echo_n 0123456789 >"conftest.in" 13126 8387 while : 13127 8388 do … … 13129 8390 mv "conftest.tmp" "conftest.in" 13130 8391 cp "conftest.in" "conftest.nl" 13131 echo '' >> "conftest.nl"8392 $as_echo '' >> "conftest.nl" 13132 8393 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 13133 8394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 13134 a c_count=`expr $ac_count + 1`8395 as_fn_arith $ac_count + 1 && ac_count=$as_val 13135 8396 if test $ac_count -gt ${ac_path_SED_max-0}; then 13136 8397 # Best one so far, save it but keep looking for a better one … … 13144 8405 esac 13145 8406 13146 13147 $ac_path_SED_found && break 38407 $ac_path_SED_found && break 3 8408 done 13148 8409 done 13149 done 13150 13151 done 8410 done 13152 8411 IFS=$as_save_IFS 13153 13154 13155 fi 13156 13157 SED="$ac_cv_path_SED" 13158 if test -z "$SED"; then 13159 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 13160 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 13161 { (exit 1); exit 1; }; } 13162 fi 13163 8412 if test -z "$ac_cv_path_SED"; then 8413 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8414 fi 13164 8415 else 13165 8416 ac_cv_path_SED=$SED … … 13167 8418 13168 8419 fi 13169 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&513170 echo "${ECHO_T}$ac_cv_path_SED" >&6; }8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8421 $as_echo "$ac_cv_path_SED" >&6; } 13171 8422 SED="$ac_cv_path_SED" 13172 8423 rm -f conftest.sed … … 13176 8427 13177 8428 13178 if test -n "$RUBY"; then 8429 if test -n "$RUBY"; then : 13179 8430 13180 8431 ax_ruby_version="" 13181 8432 13182 { echo "$as_me:$LINENO: checking for ruby version" >&513183 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5 8434 $as_echo_n "checking for ruby version... " >&6; } 13184 8435 13185 8436 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 13186 8437 13187 { echo "$as_me:$LINENO: result: $ruby_version" >&513188 echo "${ECHO_T}$ruby_version" >&6; }8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5 8439 $as_echo "$ruby_version" >&6; } 13189 8440 13190 8441 RUBY_VERSION=$ruby_version … … 13196 8447 # Extract the first word of "$ac_prog", so it can be a program name with args. 13197 8448 set dummy $ac_prog; ac_word=$2 13198 { echo "$as_me:$LINENO: checking for $ac_word" >&513199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13200 if test "${ac_cv_prog_AWK+set}" = set; then13201 echo $ECHO_N "(cached) $ECHO_C" >&68449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8450 $as_echo_n "checking for $ac_word... " >&6; } 8451 if ${ac_cv_prog_AWK+:} false; then : 8452 $as_echo_n "(cached) " >&6 13202 8453 else 13203 8454 if test -n "$AWK"; then … … 13209 8460 IFS=$as_save_IFS 13210 8461 test -z "$as_dir" && as_dir=. 13211 for ac_exec_ext in '' $ac_executable_extensions; do8462 for ac_exec_ext in '' $ac_executable_extensions; do 13212 8463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13213 8464 ac_cv_prog_AWK="$ac_prog" 13214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13215 8466 break 2 13216 8467 fi 13217 8468 done 13218 done8469 done 13219 8470 IFS=$as_save_IFS 13220 8471 … … 13223 8474 AWK=$ac_cv_prog_AWK 13224 8475 if test -n "$AWK"; then 13225 { echo "$as_me:$LINENO: result: $AWK" >&513226 echo "${ECHO_T}$AWK" >&6; }13227 else 13228 { echo "$as_me:$LINENO: result: no" >&513229 echo "${ECHO_T}no" >&6; }8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 8477 $as_echo "$AWK" >&6; } 8478 else 8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8480 $as_echo "no" >&6; } 13230 8481 fi 13231 8482 … … 13277 8528 else 13278 8529 13279 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13280 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13281 13282 13283 fi 13284 8530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8531 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8532 8533 8534 fi 13285 8535 13286 8536 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 13293 8543 # Check for Ruby include path 13294 8544 # 13295 { echo "$as_me:$LINENO: checking for Ruby include path" >&513296 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5 8546 $as_echo_n "checking for Ruby include path... " >&6; } 13297 8547 if test -z "$RUBY_CPPFLAGS"; then 13298 8548 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 13302 8552 RUBY_CPPFLAGS=$ruby_path 13303 8553 fi 13304 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&513305 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5 8555 $as_echo "$RUBY_CPPFLAGS" >&6; } 13306 8556 13307 8557 … … 13309 8559 # Check for Ruby library path 13310 8560 # 13311 { echo "$as_me:$LINENO: checking for Ruby library path" >&513312 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5 8562 $as_echo_n "checking for Ruby library path... " >&6; } 13313 8563 if test -z "$RUBY_LDFLAGS"; then 13314 8564 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 13315 8565 fi 13316 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&513317 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5 8567 $as_echo "$RUBY_LDFLAGS" >&6; } 13318 8568 13319 8569 … … 13321 8571 # Check for site packages 13322 8572 # 13323 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&513324 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5 8574 $as_echo_n "checking for Ruby site-packages path... " >&6; } 13325 8575 if test -z "$RUBY_SITE_PKG"; then 13326 8576 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 13327 8577 fi 13328 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&513329 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5 8579 $as_echo "$RUBY_SITE_PKG" >&6; } 13330 8580 13331 8581 … … 13333 8583 # libraries which must be linked in when embedding 13334 8584 # 13335 { echo "$as_me:$LINENO: checking ruby extra libraries" >&513336 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5 8586 $as_echo_n "checking ruby extra libraries... " >&6; } 13337 8587 if test -z "$RUBY_EXTRA_LIBS"; then 13338 8588 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 13339 8589 fi 13340 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&513341 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5 8591 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 13342 8592 13343 8593 … … 13358 8608 # final check to see if everything compiles alright 13359 8609 # 13360 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&513361 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5 8611 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 13362 8612 ac_ext=c 13363 8613 ac_cpp='$CPP $CPPFLAGS' … … 13371 8621 ac_save_CPPFLAGS="$CPPFLAGS" 13372 8622 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 13373 cat >conftest.$ac_ext <<_ACEOF 13374 /* confdefs.h. */ 13375 _ACEOF 13376 cat confdefs.h >>conftest.$ac_ext 13377 cat >>conftest.$ac_ext <<_ACEOF 8623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13378 8624 /* end confdefs.h. */ 13379 8625 … … 13390 8636 } 13391 8637 _ACEOF 13392 rm -f conftest.$ac_objext conftest$ac_exeext 13393 if { (ac_try="$ac_link" 13394 case "(($ac_try" in 13395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13396 *) ac_try_echo=$ac_try;; 13397 esac 13398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13399 (eval "$ac_link") 2>conftest.er1 13400 ac_status=$? 13401 grep -v '^ *+' conftest.er1 >conftest.err 13402 rm -f conftest.er1 13403 cat conftest.err >&5 13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13405 (exit $ac_status); } && { 13406 test -z "$ac_c_werror_flag" || 13407 test ! -s conftest.err 13408 } && test -s conftest$ac_exeext && 13409 $as_test_x conftest$ac_exeext; then 8638 if ac_fn_c_try_link "$LINENO"; then : 13410 8639 rubyexists=yes 13411 8640 else 13412 echo "$as_me: failed program was:" >&5 13413 sed 's/^/| /' conftest.$ac_ext >&5 13414 13415 rubyexists=no 13416 fi 13417 13418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13419 conftest$ac_exeext conftest.$ac_ext 13420 13421 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13422 echo "${ECHO_T}$rubyexists" >&6; } 8641 rubyexists=no 8642 fi 8643 rm -f core conftest.err conftest.$ac_objext \ 8644 conftest$ac_exeext conftest.$ac_ext 8645 8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8647 $as_echo "$rubyexists" >&6; } 13423 8648 13424 8649 if test "$rubyexists" = "no"; then … … 13452 8677 13453 8678 # Check whether --with-java was given. 13454 if test "${with_java+set}" = set; then 8679 if test "${with_java+set}" = set; then : 13455 8680 withval=$with_java; rp_with_java=$withval 13456 8681 fi … … 13461 8686 # Extract the first word of "java", so it can be a program name with args. 13462 8687 set dummy java; ac_word=$2 13463 { echo "$as_me:$LINENO: checking for $ac_word" >&513464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13465 if test "${ac_cv_path_JAVA+set}" = set; then13466 echo $ECHO_N "(cached) $ECHO_C" >&68688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8689 $as_echo_n "checking for $ac_word... " >&6; } 8690 if ${ac_cv_path_JAVA+:} false; then : 8691 $as_echo_n "(cached) " >&6 13467 8692 else 13468 8693 case $JAVA in … … 13476 8701 IFS=$as_save_IFS 13477 8702 test -z "$as_dir" && as_dir=. 13478 for ac_exec_ext in '' $ac_executable_extensions; do8703 for ac_exec_ext in '' $ac_executable_extensions; do 13479 8704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13480 8705 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13482 8707 break 2 13483 8708 fi 13484 8709 done 13485 done8710 done 13486 8711 IFS=$as_save_IFS 13487 8712 … … 13491 8716 JAVA=$ac_cv_path_JAVA 13492 8717 if test -n "$JAVA"; then 13493 { echo "$as_me:$LINENO: result: $JAVA" >&513494 echo "${ECHO_T}$JAVA" >&6; }13495 else 13496 { echo "$as_me:$LINENO: result: no" >&513497 echo "${ECHO_T}no" >&6; }8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8719 $as_echo "$JAVA" >&6; } 8720 else 8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8722 $as_echo "no" >&6; } 13498 8723 fi 13499 8724 … … 13501 8726 # Extract the first word of "javac", so it can be a program name with args. 13502 8727 set dummy javac; ac_word=$2 13503 { echo "$as_me:$LINENO: checking for $ac_word" >&513504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13505 if test "${ac_cv_path_JAVAC+set}" = set; then13506 echo $ECHO_N "(cached) $ECHO_C" >&68728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8729 $as_echo_n "checking for $ac_word... " >&6; } 8730 if ${ac_cv_path_JAVAC+:} false; then : 8731 $as_echo_n "(cached) " >&6 13507 8732 else 13508 8733 case $JAVAC in … … 13516 8741 IFS=$as_save_IFS 13517 8742 test -z "$as_dir" && as_dir=. 13518 for ac_exec_ext in '' $ac_executable_extensions; do8743 for ac_exec_ext in '' $ac_executable_extensions; do 13519 8744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13520 8745 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13522 8747 break 2 13523 8748 fi 13524 8749 done 13525 done8750 done 13526 8751 IFS=$as_save_IFS 13527 8752 … … 13531 8756 JAVAC=$ac_cv_path_JAVAC 13532 8757 if test -n "$JAVAC"; then 13533 { echo "$as_me:$LINENO: result: $JAVAC" >&513534 echo "${ECHO_T}$JAVAC" >&6; }13535 else 13536 { echo "$as_me:$LINENO: result: no" >&513537 echo "${ECHO_T}no" >&6; }8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8759 $as_echo "$JAVAC" >&6; } 8760 else 8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8762 $as_echo "no" >&6; } 13538 8763 fi 13539 8764 … … 13541 8766 # Extract the first word of "javah", so it can be a program name with args. 13542 8767 set dummy javah; ac_word=$2 13543 { echo "$as_me:$LINENO: checking for $ac_word" >&513544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13545 if test "${ac_cv_path_JAVAH+set}" = set; then13546 echo $ECHO_N "(cached) $ECHO_C" >&68768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8769 $as_echo_n "checking for $ac_word... " >&6; } 8770 if ${ac_cv_path_JAVAH+:} false; then : 8771 $as_echo_n "(cached) " >&6 13547 8772 else 13548 8773 case $JAVAH in … … 13556 8781 IFS=$as_save_IFS 13557 8782 test -z "$as_dir" && as_dir=. 13558 for ac_exec_ext in '' $ac_executable_extensions; do8783 for ac_exec_ext in '' $ac_executable_extensions; do 13559 8784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13560 8785 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13562 8787 break 2 13563 8788 fi 13564 8789 done 13565 done8790 done 13566 8791 IFS=$as_save_IFS 13567 8792 … … 13571 8796 JAVAH=$ac_cv_path_JAVAH 13572 8797 if test -n "$JAVAH"; then 13573 { echo "$as_me:$LINENO: result: $JAVAH" >&513574 echo "${ECHO_T}$JAVAH" >&6; }13575 else 13576 { echo "$as_me:$LINENO: result: no" >&513577 echo "${ECHO_T}no" >&6; }8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8799 $as_echo "$JAVAH" >&6; } 8800 else 8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8802 $as_echo "no" >&6; } 13578 8803 fi 13579 8804 … … 13582 8807 # Extract the first word of "java", so it can be a program name with args. 13583 8808 set dummy java; ac_word=$2 13584 { echo "$as_me:$LINENO: checking for $ac_word" >&513585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13586 if test "${ac_cv_path_JAVA+set}" = set; then13587 echo $ECHO_N "(cached) $ECHO_C" >&68809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8810 $as_echo_n "checking for $ac_word... " >&6; } 8811 if ${ac_cv_path_JAVA+:} false; then : 8812 $as_echo_n "(cached) " >&6 13588 8813 else 13589 8814 case $JAVA in … … 13598 8823 IFS=$as_save_IFS 13599 8824 test -z "$as_dir" && as_dir=. 13600 for ac_exec_ext in '' $ac_executable_extensions; do8825 for ac_exec_ext in '' $ac_executable_extensions; do 13601 8826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13602 8827 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13604 8829 break 2 13605 8830 fi 13606 8831 done 13607 done8832 done 13608 8833 IFS=$as_save_IFS 13609 8834 … … 13613 8838 JAVA=$ac_cv_path_JAVA 13614 8839 if test -n "$JAVA"; then 13615 { echo "$as_me:$LINENO: result: $JAVA" >&513616 echo "${ECHO_T}$JAVA" >&6; }13617 else 13618 { echo "$as_me:$LINENO: result: no" >&513619 echo "${ECHO_T}no" >&6; }8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8841 $as_echo "$JAVA" >&6; } 8842 else 8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8844 $as_echo "no" >&6; } 13620 8845 fi 13621 8846 … … 13623 8848 # Extract the first word of "javac", so it can be a program name with args. 13624 8849 set dummy javac; ac_word=$2 13625 { echo "$as_me:$LINENO: checking for $ac_word" >&513626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13627 if test "${ac_cv_path_JAVAC+set}" = set; then13628 echo $ECHO_N "(cached) $ECHO_C" >&68850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8851 $as_echo_n "checking for $ac_word... " >&6; } 8852 if ${ac_cv_path_JAVAC+:} false; then : 8853 $as_echo_n "(cached) " >&6 13629 8854 else 13630 8855 case $JAVAC in … … 13639 8864 IFS=$as_save_IFS 13640 8865 test -z "$as_dir" && as_dir=. 13641 for ac_exec_ext in '' $ac_executable_extensions; do8866 for ac_exec_ext in '' $ac_executable_extensions; do 13642 8867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13643 8868 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13645 8870 break 2 13646 8871 fi 13647 8872 done 13648 done8873 done 13649 8874 IFS=$as_save_IFS 13650 8875 … … 13654 8879 JAVAC=$ac_cv_path_JAVAC 13655 8880 if test -n "$JAVAC"; then 13656 { echo "$as_me:$LINENO: result: $JAVAC" >&513657 echo "${ECHO_T}$JAVAC" >&6; }13658 else 13659 { echo "$as_me:$LINENO: result: no" >&513660 echo "${ECHO_T}no" >&6; }8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8882 $as_echo "$JAVAC" >&6; } 8883 else 8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8885 $as_echo "no" >&6; } 13661 8886 fi 13662 8887 … … 13664 8889 # Extract the first word of "javah", so it can be a program name with args. 13665 8890 set dummy javah; ac_word=$2 13666 { echo "$as_me:$LINENO: checking for $ac_word" >&513667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13668 if test "${ac_cv_path_JAVAH+set}" = set; then13669 echo $ECHO_N "(cached) $ECHO_C" >&68891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8892 $as_echo_n "checking for $ac_word... " >&6; } 8893 if ${ac_cv_path_JAVAH+:} false; then : 8894 $as_echo_n "(cached) " >&6 13670 8895 else 13671 8896 case $JAVAH in … … 13680 8905 IFS=$as_save_IFS 13681 8906 test -z "$as_dir" && as_dir=. 13682 for ac_exec_ext in '' $ac_executable_extensions; do8907 for ac_exec_ext in '' $ac_executable_extensions; do 13683 8908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13684 8909 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13686 8911 break 2 13687 8912 fi 13688 8913 done 13689 done8914 done 13690 8915 IFS=$as_save_IFS 13691 8916 … … 13695 8920 JAVAH=$ac_cv_path_JAVAH 13696 8921 if test -n "$JAVAH"; then 13697 { echo "$as_me:$LINENO: result: $JAVAH" >&513698 echo "${ECHO_T}$JAVAH" >&6; }13699 else 13700 { echo "$as_me:$LINENO: result: no" >&513701 echo "${ECHO_T}no" >&6; }8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8923 $as_echo "$JAVAH" >&6; } 8924 else 8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8926 $as_echo "no" >&6; } 13702 8927 fi 13703 8928 … … 13741 8966 13742 8967 13743 { echo "$as_me:$LINENO: checking how to build libraries" >&513744 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 8969 $as_echo_n "checking how to build libraries... " >&6; } 13745 8970 # Check whether --enable-shared was given. 13746 if test "${enable_shared+set}" = set; then 8971 if test "${enable_shared+set}" = set; then : 13747 8972 enableval=$enable_shared; tcl_ok=$enableval 13748 8973 else … … 13759 8984 13760 8985 if test "$tcl_ok" = "yes" ; then 13761 { echo "$as_me:$LINENO: result: shared" >&513762 echo "${ECHO_T}shared" >&6; }8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 8987 $as_echo "shared" >&6; } 13763 8988 SHARED_BUILD=1 13764 8989 else 13765 { echo "$as_me:$LINENO: result: static" >&513766 echo "${ECHO_T}static" >&6; }8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 8991 $as_echo "static" >&6; } 13767 8992 SHARED_BUILD=0 13768 cat >>confdefs.h <<\_ACEOF 13769 #define STATIC_BUILD 1 13770 _ACEOF 8993 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13771 8994 13772 8995 fi … … 13803 9026 # ----------------------------------------------------------------------- 13804 9027 13805 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13806 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13807 if test "${ac_cv_c_bigendian+set}" = set; then 13808 echo $ECHO_N "(cached) $ECHO_C" >&6 13809 else 13810 # See if sys/param.h defines the BYTE_ORDER macro. 13811 cat >conftest.$ac_ext <<_ACEOF 13812 /* confdefs.h. */ 13813 _ACEOF 13814 cat confdefs.h >>conftest.$ac_ext 13815 cat >>conftest.$ac_ext <<_ACEOF 9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9029 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9030 if ${ac_cv_c_bigendian+:} false; then : 9031 $as_echo_n "(cached) " >&6 9032 else 9033 ac_cv_c_bigendian=unknown 9034 # See if we're dealing with a universal compiler. 9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9036 /* end confdefs.h. */ 9037 #ifndef __APPLE_CC__ 9038 not a universal capable compiler 9039 #endif 9040 typedef int dummy; 9041 9042 _ACEOF 9043 if ac_fn_cxx_try_compile "$LINENO"; then : 9044 9045 # Check for potential -arch flags. It is not universal unless 9046 # there are at least two -arch flags with different values. 9047 ac_arch= 9048 ac_prev= 9049 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9050 if test -n "$ac_prev"; then 9051 case $ac_word in 9052 i?86 | x86_64 | ppc | ppc64) 9053 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9054 ac_arch=$ac_word 9055 else 9056 ac_cv_c_bigendian=universal 9057 break 9058 fi 9059 ;; 9060 esac 9061 ac_prev= 9062 elif test "x$ac_word" = "x-arch"; then 9063 ac_prev=arch 9064 fi 9065 done 9066 fi 9067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9068 if test $ac_cv_c_bigendian = unknown; then 9069 # See if sys/param.h defines the BYTE_ORDER macro. 9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13816 9071 /* end confdefs.h. */ 13817 9072 #include <sys/types.h> 13818 #include <sys/param.h>9073 #include <sys/param.h> 13819 9074 13820 9075 int 13821 9076 main () 13822 9077 { 13823 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13824 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13825 bogus endian macros 13826 #endif 9078 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 9079 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 9080 && LITTLE_ENDIAN) 9081 bogus endian macros 9082 #endif 13827 9083 13828 9084 ; … … 13830 9086 } 13831 9087 _ACEOF 13832 rm -f conftest.$ac_objext 13833 if { (ac_try="$ac_compile" 13834 case "(($ac_try" in 13835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13836 *) ac_try_echo=$ac_try;; 13837 esac 13838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13839 (eval "$ac_compile") 2>conftest.er1 13840 ac_status=$? 13841 grep -v '^ *+' conftest.er1 >conftest.err 13842 rm -f conftest.er1 13843 cat conftest.err >&5 13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13845 (exit $ac_status); } && { 13846 test -z "$ac_cxx_werror_flag" || 13847 test ! -s conftest.err 13848 } && test -s conftest.$ac_objext; then 9088 if ac_fn_cxx_try_compile "$LINENO"; then : 13849 9089 # It does; now see whether it defined to BIG_ENDIAN or not. 13850 cat >conftest.$ac_ext <<_ACEOF 13851 /* confdefs.h. */ 13852 _ACEOF 13853 cat confdefs.h >>conftest.$ac_ext 13854 cat >>conftest.$ac_ext <<_ACEOF 9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13855 9091 /* end confdefs.h. */ 13856 9092 #include <sys/types.h> 13857 #include <sys/param.h>9093 #include <sys/param.h> 13858 9094 13859 9095 int … … 13861 9097 { 13862 9098 #if BYTE_ORDER != BIG_ENDIAN 13863 not big endian13864 #endif9099 not big endian 9100 #endif 13865 9101 13866 9102 ; … … 13868 9104 } 13869 9105 _ACEOF 13870 rm -f conftest.$ac_objext 13871 if { (ac_try="$ac_compile" 13872 case "(($ac_try" in 13873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13874 *) ac_try_echo=$ac_try;; 13875 esac 13876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13877 (eval "$ac_compile") 2>conftest.er1 13878 ac_status=$? 13879 grep -v '^ *+' conftest.er1 >conftest.err 13880 rm -f conftest.er1 13881 cat conftest.err >&5 13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13883 (exit $ac_status); } && { 13884 test -z "$ac_cxx_werror_flag" || 13885 test ! -s conftest.err 13886 } && test -s conftest.$ac_objext; then 9106 if ac_fn_cxx_try_compile "$LINENO"; then : 13887 9107 ac_cv_c_bigendian=yes 13888 9108 else 13889 echo "$as_me: failed program was:" >&5 13890 sed 's/^/| /' conftest.$ac_ext >&5 13891 13892 ac_cv_c_bigendian=no 13893 fi 13894 9109 ac_cv_c_bigendian=no 9110 fi 13895 9111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13896 else 13897 echo "$as_me: failed program was:" >&5 13898 sed 's/^/| /' conftest.$ac_ext >&5 13899 13900 # It does not; compile a test program. 13901 if test "$cross_compiling" = yes; then 13902 # try to guess the endianness by grepping values into an object file 13903 ac_cv_c_bigendian=unknown 13904 cat >conftest.$ac_ext <<_ACEOF 13905 /* confdefs.h. */ 13906 _ACEOF 13907 cat confdefs.h >>conftest.$ac_ext 13908 cat >>conftest.$ac_ext <<_ACEOF 9112 fi 9113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9114 fi 9115 if test $ac_cv_c_bigendian = unknown; then 9116 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13909 9118 /* end confdefs.h. */ 13910 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13911 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13912 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 13913 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13914 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13915 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 9119 #include <limits.h> 9120 13916 9121 int 13917 9122 main () 13918 9123 { 13919 _ascii (); _ebcdic (); 9124 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 9125 bogus endian macros 9126 #endif 9127 13920 9128 ; 13921 9129 return 0; 13922 9130 } 13923 9131 _ACEOF 13924 rm -f conftest.$ac_objext 13925 if { (ac_try="$ac_compile" 13926 case "(($ac_try" in 13927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13928 *) ac_try_echo=$ac_try;; 13929 esac 13930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13931 (eval "$ac_compile") 2>conftest.er1 13932 ac_status=$? 13933 grep -v '^ *+' conftest.er1 >conftest.err 13934 rm -f conftest.er1 13935 cat conftest.err >&5 13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13937 (exit $ac_status); } && {13938 test -z "$ac_cxx_werror_flag" || 13939 test ! -s conftest.err 13940 } && test -s conftest.$ac_objext; then 13941 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 9132 if ac_fn_cxx_try_compile "$LINENO"; then : 9133 # It does; now see whether it defined to _BIG_ENDIAN or not. 9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9135 /* end confdefs.h. */ 9136 #include <limits.h> 9137 9138 int 9139 main () 9140 { 9141 #ifndef _BIG_ENDIAN 9142 not big endian 9143 #endif 9144 9145 ; 9146 return 0; 9147 } 9148 _ACEOF 9149 if ac_fn_cxx_try_compile "$LINENO"; then : 13942 9150 ac_cv_c_bigendian=yes 13943 fi 13944 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13945 if test "$ac_cv_c_bigendian" = unknown; then 13946 ac_cv_c_bigendian=no 13947 else 13948 # finding both strings is unlikely to happen, but who knows? 13949 ac_cv_c_bigendian=unknown 13950 fi 13951 fi 13952 else 13953 echo "$as_me: failed program was:" >&5 13954 sed 's/^/| /' conftest.$ac_ext >&5 13955 13956 13957 fi 13958 9151 else 9152 ac_cv_c_bigendian=no 9153 fi 13959 9154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13960 else 13961 cat >conftest.$ac_ext <<_ACEOF 13962 /* confdefs.h. */ 13963 _ACEOF 13964 cat confdefs.h >>conftest.$ac_ext 13965 cat >>conftest.$ac_ext <<_ACEOF 9155 fi 9156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9157 fi 9158 if test $ac_cv_c_bigendian = unknown; then 9159 # Compile a test program. 9160 if test "$cross_compiling" = yes; then : 9161 # Try to guess by grepping values from an object file. 9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9163 /* end confdefs.h. */ 9164 short int ascii_mm[] = 9165 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9166 short int ascii_ii[] = 9167 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9168 int use_ascii (int i) { 9169 return ascii_mm[i] + ascii_ii[i]; 9170 } 9171 short int ebcdic_ii[] = 9172 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9173 short int ebcdic_mm[] = 9174 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9175 int use_ebcdic (int i) { 9176 return ebcdic_mm[i] + ebcdic_ii[i]; 9177 } 9178 extern int foo; 9179 9180 int 9181 main () 9182 { 9183 return use_ascii (foo) == use_ebcdic (foo); 9184 ; 9185 return 0; 9186 } 9187 _ACEOF 9188 if ac_fn_cxx_try_compile "$LINENO"; then : 9189 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9190 ac_cv_c_bigendian=yes 9191 fi 9192 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9193 if test "$ac_cv_c_bigendian" = unknown; then 9194 ac_cv_c_bigendian=no 9195 else 9196 # finding both strings is unlikely to happen, but who knows? 9197 ac_cv_c_bigendian=unknown 9198 fi 9199 fi 9200 fi 9201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9202 else 9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13966 9204 /* end confdefs.h. */ 13967 9205 $ac_includes_default … … 13970 9208 { 13971 9209 13972 /* Are we little or big endian? From Harbison&Steele. */13973 union13974 {13975 long int l;13976 char c[sizeof (long int)];13977 } u;13978 u.l = 1;13979 return u.c[sizeof (long int) - 1] == 1;9210 /* Are we little or big endian? From Harbison&Steele. */ 9211 union 9212 { 9213 long int l; 9214 char c[sizeof (long int)]; 9215 } u; 9216 u.l = 1; 9217 return u.c[sizeof (long int) - 1] == 1; 13980 9218 13981 9219 ; … … 13983 9221 } 13984 9222 _ACEOF 13985 rm -f conftest$ac_exeext 13986 if { (ac_try="$ac_link" 13987 case "(($ac_try" in 13988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13989 *) ac_try_echo=$ac_try;; 13990 esac 13991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13992 (eval "$ac_link") 2>&5 13993 ac_status=$? 13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13996 { (case "(($ac_try" in 13997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13998 *) ac_try_echo=$ac_try;; 13999 esac 14000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14001 (eval "$ac_try") 2>&5 14002 ac_status=$? 14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14004 (exit $ac_status); }; }; then 9223 if ac_fn_cxx_try_run "$LINENO"; then : 14005 9224 ac_cv_c_bigendian=no 14006 9225 else 14007 echo "$as_me: program exited with status $ac_status" >&5 14008 echo "$as_me: failed program was:" >&5 14009 sed 's/^/| /' conftest.$ac_ext >&5 14010 14011 ( exit $ac_status ) 14012 ac_cv_c_bigendian=yes 14013 fi 14014 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14015 fi 14016 14017 14018 fi 14019 14020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14021 fi 14022 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 14023 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 14024 case $ac_cv_c_bigendian in 14025 yes) 14026 14027 cat >>confdefs.h <<\_ACEOF 14028 #define WORDS_BIGENDIAN 1 14029 _ACEOF 14030 ;; 14031 no) 14032 ;; 14033 *) 14034 { { echo "$as_me:$LINENO: error: unknown endianness 14035 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 14036 echo "$as_me: error: unknown endianness 14037 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 14038 { (exit 1); exit 1; }; } ;; 14039 esac 14040 14041 { echo "$as_me:$LINENO: checking for int" >&5 14042 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 14043 if test "${ac_cv_type_int+set}" = set; then 14044 echo $ECHO_N "(cached) $ECHO_C" >&6 14045 else 14046 cat >conftest.$ac_ext <<_ACEOF 14047 /* confdefs.h. */ 14048 _ACEOF 14049 cat confdefs.h >>conftest.$ac_ext 14050 cat >>conftest.$ac_ext <<_ACEOF 14051 /* end confdefs.h. */ 14052 $ac_includes_default 14053 typedef int ac__type_new_; 14054 int 14055 main () 14056 { 14057 if ((ac__type_new_ *) 0) 14058 return 0; 14059 if (sizeof (ac__type_new_)) 14060 return 0; 14061 ; 14062 return 0; 14063 } 14064 _ACEOF 14065 rm -f conftest.$ac_objext 14066 if { (ac_try="$ac_compile" 14067 case "(($ac_try" in 14068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14069 *) ac_try_echo=$ac_try;; 14070 esac 14071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14072 (eval "$ac_compile") 2>conftest.er1 14073 ac_status=$? 14074 grep -v '^ *+' conftest.er1 >conftest.err 14075 rm -f conftest.er1 14076 cat conftest.err >&5 14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14078 (exit $ac_status); } && { 14079 test -z "$ac_cxx_werror_flag" || 14080 test ! -s conftest.err 14081 } && test -s conftest.$ac_objext; then 14082 ac_cv_type_int=yes 14083 else 14084 echo "$as_me: failed program was:" >&5 14085 sed 's/^/| /' conftest.$ac_ext >&5 14086 14087 ac_cv_type_int=no 14088 fi 14089 14090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14091 fi 14092 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 14093 echo "${ECHO_T}$ac_cv_type_int" >&6; } 9226 ac_cv_c_bigendian=yes 9227 fi 9228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9229 conftest.$ac_objext conftest.beam conftest.$ac_ext 9230 fi 9231 9232 fi 9233 fi 9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9235 $as_echo "$ac_cv_c_bigendian" >&6; } 9236 case $ac_cv_c_bigendian in #( 9237 yes) 9238 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9239 ;; #( 9240 no) 9241 ;; #( 9242 universal) 9243 9244 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9245 9246 ;; #( 9247 *) 9248 as_fn_error $? "unknown endianness 9249 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9250 esac 14094 9251 14095 9252 # The cast to long int works around a bug in the HP C Compiler … … 14097 9254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14098 9255 # This bug is HP SR number 8606223364. 14099 { echo "$as_me:$LINENO: checking size of int" >&5 14100 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 14101 if test "${ac_cv_sizeof_int+set}" = set; then 14102 echo $ECHO_N "(cached) $ECHO_C" >&6 14103 else 14104 if test "$cross_compiling" = yes; then 14105 # Depending upon the size, compute the lo and hi bounds. 14106 cat >conftest.$ac_ext <<_ACEOF 14107 /* confdefs.h. */ 14108 _ACEOF 14109 cat confdefs.h >>conftest.$ac_ext 14110 cat >>conftest.$ac_ext <<_ACEOF 14111 /* end confdefs.h. */ 14112 $ac_includes_default 14113 typedef int ac__type_sizeof_; 14114 int 14115 main () 14116 { 14117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14118 test_array [0] = 0 14119 14120 ; 14121 return 0; 14122 } 14123 _ACEOF 14124 rm -f conftest.$ac_objext 14125 if { (ac_try="$ac_compile" 14126 case "(($ac_try" in 14127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14128 *) ac_try_echo=$ac_try;; 14129 esac 14130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14131 (eval "$ac_compile") 2>conftest.er1 14132 ac_status=$? 14133 grep -v '^ *+' conftest.er1 >conftest.err 14134 rm -f conftest.er1 14135 cat conftest.err >&5 14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14137 (exit $ac_status); } && { 14138 test -z "$ac_cxx_werror_flag" || 14139 test ! -s conftest.err 14140 } && test -s conftest.$ac_objext; then 14141 ac_lo=0 ac_mid=0 14142 while :; do 14143 cat >conftest.$ac_ext <<_ACEOF 14144 /* confdefs.h. */ 14145 _ACEOF 14146 cat confdefs.h >>conftest.$ac_ext 14147 cat >>conftest.$ac_ext <<_ACEOF 14148 /* end confdefs.h. */ 14149 $ac_includes_default 14150 typedef int ac__type_sizeof_; 14151 int 14152 main () 14153 { 14154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14155 test_array [0] = 0 14156 14157 ; 14158 return 0; 14159 } 14160 _ACEOF 14161 rm -f conftest.$ac_objext 14162 if { (ac_try="$ac_compile" 14163 case "(($ac_try" in 14164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14165 *) ac_try_echo=$ac_try;; 14166 esac 14167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14168 (eval "$ac_compile") 2>conftest.er1 14169 ac_status=$? 14170 grep -v '^ *+' conftest.er1 >conftest.err 14171 rm -f conftest.er1 14172 cat conftest.err >&5 14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14174 (exit $ac_status); } && { 14175 test -z "$ac_cxx_werror_flag" || 14176 test ! -s conftest.err 14177 } && test -s conftest.$ac_objext; then 14178 ac_hi=$ac_mid; break 14179 else 14180 echo "$as_me: failed program was:" >&5 14181 sed 's/^/| /' conftest.$ac_ext >&5 14182 14183 ac_lo=`expr $ac_mid + 1` 14184 if test $ac_lo -le $ac_mid; then 14185 ac_lo= ac_hi= 14186 break 14187 fi 14188 ac_mid=`expr 2 '*' $ac_mid + 1` 14189 fi 14190 14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14192 done 14193 else 14194 echo "$as_me: failed program was:" >&5 14195 sed 's/^/| /' conftest.$ac_ext >&5 14196 14197 cat >conftest.$ac_ext <<_ACEOF 14198 /* confdefs.h. */ 14199 _ACEOF 14200 cat confdefs.h >>conftest.$ac_ext 14201 cat >>conftest.$ac_ext <<_ACEOF 14202 /* end confdefs.h. */ 14203 $ac_includes_default 14204 typedef int ac__type_sizeof_; 14205 int 14206 main () 14207 { 14208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14209 test_array [0] = 0 14210 14211 ; 14212 return 0; 14213 } 14214 _ACEOF 14215 rm -f conftest.$ac_objext 14216 if { (ac_try="$ac_compile" 14217 case "(($ac_try" in 14218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14219 *) ac_try_echo=$ac_try;; 14220 esac 14221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14222 (eval "$ac_compile") 2>conftest.er1 14223 ac_status=$? 14224 grep -v '^ *+' conftest.er1 >conftest.err 14225 rm -f conftest.er1 14226 cat conftest.err >&5 14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14228 (exit $ac_status); } && { 14229 test -z "$ac_cxx_werror_flag" || 14230 test ! -s conftest.err 14231 } && test -s conftest.$ac_objext; then 14232 ac_hi=-1 ac_mid=-1 14233 while :; do 14234 cat >conftest.$ac_ext <<_ACEOF 14235 /* confdefs.h. */ 14236 _ACEOF 14237 cat confdefs.h >>conftest.$ac_ext 14238 cat >>conftest.$ac_ext <<_ACEOF 14239 /* end confdefs.h. */ 14240 $ac_includes_default 14241 typedef int ac__type_sizeof_; 14242 int 14243 main () 14244 { 14245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14246 test_array [0] = 0 14247 14248 ; 14249 return 0; 14250 } 14251 _ACEOF 14252 rm -f conftest.$ac_objext 14253 if { (ac_try="$ac_compile" 14254 case "(($ac_try" in 14255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14256 *) ac_try_echo=$ac_try;; 14257 esac 14258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14259 (eval "$ac_compile") 2>conftest.er1 14260 ac_status=$? 14261 grep -v '^ *+' conftest.er1 >conftest.err 14262 rm -f conftest.er1 14263 cat conftest.err >&5 14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14265 (exit $ac_status); } && { 14266 test -z "$ac_cxx_werror_flag" || 14267 test ! -s conftest.err 14268 } && test -s conftest.$ac_objext; then 14269 ac_lo=$ac_mid; break 14270 else 14271 echo "$as_me: failed program was:" >&5 14272 sed 's/^/| /' conftest.$ac_ext >&5 14273 14274 ac_hi=`expr '(' $ac_mid ')' - 1` 14275 if test $ac_mid -le $ac_hi; then 14276 ac_lo= ac_hi= 14277 break 14278 fi 14279 ac_mid=`expr 2 '*' $ac_mid` 14280 fi 14281 14282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14283 done 14284 else 14285 echo "$as_me: failed program was:" >&5 14286 sed 's/^/| /' conftest.$ac_ext >&5 14287 14288 ac_lo= ac_hi= 14289 fi 14290 14291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14292 fi 14293 14294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14295 # Binary search between lo and hi bounds. 14296 while test "x$ac_lo" != "x$ac_hi"; do 14297 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14298 cat >conftest.$ac_ext <<_ACEOF 14299 /* confdefs.h. */ 14300 _ACEOF 14301 cat confdefs.h >>conftest.$ac_ext 14302 cat >>conftest.$ac_ext <<_ACEOF 14303 /* end confdefs.h. */ 14304 $ac_includes_default 14305 typedef int ac__type_sizeof_; 14306 int 14307 main () 14308 { 14309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14310 test_array [0] = 0 14311 14312 ; 14313 return 0; 14314 } 14315 _ACEOF 14316 rm -f conftest.$ac_objext 14317 if { (ac_try="$ac_compile" 14318 case "(($ac_try" in 14319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14320 *) ac_try_echo=$ac_try;; 14321 esac 14322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14323 (eval "$ac_compile") 2>conftest.er1 14324 ac_status=$? 14325 grep -v '^ *+' conftest.er1 >conftest.err 14326 rm -f conftest.er1 14327 cat conftest.err >&5 14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14329 (exit $ac_status); } && { 14330 test -z "$ac_cxx_werror_flag" || 14331 test ! -s conftest.err 14332 } && test -s conftest.$ac_objext; then 14333 ac_hi=$ac_mid 14334 else 14335 echo "$as_me: failed program was:" >&5 14336 sed 's/^/| /' conftest.$ac_ext >&5 14337 14338 ac_lo=`expr '(' $ac_mid ')' + 1` 14339 fi 14340 14341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14342 done 14343 case $ac_lo in 14344 ?*) ac_cv_sizeof_int=$ac_lo;; 14345 '') if test "$ac_cv_type_int" = yes; then 14346 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14347 See \`config.log' for more details." >&5 14348 echo "$as_me: error: cannot compute sizeof (int) 14349 See \`config.log' for more details." >&2;} 14350 { (exit 77); exit 77; }; } 14351 else 14352 ac_cv_sizeof_int=0 14353 fi ;; 14354 esac 14355 else 14356 cat >conftest.$ac_ext <<_ACEOF 14357 /* confdefs.h. */ 14358 _ACEOF 14359 cat confdefs.h >>conftest.$ac_ext 14360 cat >>conftest.$ac_ext <<_ACEOF 14361 /* end confdefs.h. */ 14362 $ac_includes_default 14363 typedef int ac__type_sizeof_; 14364 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14365 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14366 #include <stdio.h> 14367 #include <stdlib.h> 14368 int 14369 main () 14370 { 14371 14372 FILE *f = fopen ("conftest.val", "w"); 14373 if (! f) 14374 return 1; 14375 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14376 { 14377 long int i = longval (); 14378 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14379 return 1; 14380 fprintf (f, "%ld\n", i); 14381 } 14382 else 14383 { 14384 unsigned long int i = ulongval (); 14385 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14386 return 1; 14387 fprintf (f, "%lu\n", i); 14388 } 14389 return ferror (f) || fclose (f) != 0; 14390 14391 ; 14392 return 0; 14393 } 14394 _ACEOF 14395 rm -f conftest$ac_exeext 14396 if { (ac_try="$ac_link" 14397 case "(($ac_try" in 14398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14399 *) ac_try_echo=$ac_try;; 14400 esac 14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14402 (eval "$ac_link") 2>&5 14403 ac_status=$? 14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14406 { (case "(($ac_try" in 14407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14408 *) ac_try_echo=$ac_try;; 14409 esac 14410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14411 (eval "$ac_try") 2>&5 14412 ac_status=$? 14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14414 (exit $ac_status); }; }; then 14415 ac_cv_sizeof_int=`cat conftest.val` 14416 else 14417 echo "$as_me: program exited with status $ac_status" >&5 14418 echo "$as_me: failed program was:" >&5 14419 sed 's/^/| /' conftest.$ac_ext >&5 14420 14421 ( exit $ac_status ) 14422 if test "$ac_cv_type_int" = yes; then 14423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14424 See \`config.log' for more details." >&5 14425 echo "$as_me: error: cannot compute sizeof (int) 14426 See \`config.log' for more details." >&2;} 14427 { (exit 77); exit 77; }; } 9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9257 $as_echo_n "checking size of int... " >&6; } 9258 if ${ac_cv_sizeof_int+:} false; then : 9259 $as_echo_n "(cached) " >&6 9260 else 9261 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9262 9263 else 9264 if test "$ac_cv_type_int" = yes; then 9265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9267 as_fn_error 77 "cannot compute sizeof (int) 9268 See \`config.log' for more details" "$LINENO" 5; } 14428 9269 else 14429 9270 ac_cv_sizeof_int=0 14430 9271 fi 14431 9272 fi 14432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14433 fi 14434 rm -f conftest.val 14435 fi 14436 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 14437 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 9273 9274 fi 9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9276 $as_echo "$ac_cv_sizeof_int" >&6; } 14438 9277 14439 9278 … … 14443 9282 _ACEOF 14444 9283 14445 14446 { echo "$as_me:$LINENO: checking for long" >&514447 echo $ECHO_N "checking for long... $ECHO_C" >&6; }14448 if test "${ac_cv_type_long+set}" = set; then14449 echo $ECHO_N "(cached) $ECHO_C" >&614450 else14451 cat >conftest.$ac_ext <<_ACEOF14452 /* confdefs.h. */14453 _ACEOF14454 cat confdefs.h >>conftest.$ac_ext14455 cat >>conftest.$ac_ext <<_ACEOF14456 /* end confdefs.h. */14457 $ac_includes_default14458 typedef long ac__type_new_;14459 int14460 main ()14461 {14462 if ((ac__type_new_ *) 0)14463 return 0;14464 if (sizeof (ac__type_new_))14465 return 0;14466 ;14467 return 0;14468 }14469 _ACEOF14470 rm -f conftest.$ac_objext14471 if { (ac_try="$ac_compile"14472 case "(($ac_try" in14473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14474 *) ac_try_echo=$ac_try;;14475 esac14476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514477 (eval "$ac_compile") 2>conftest.er114478 ac_status=$?14479 grep -v '^ *+' conftest.er1 >conftest.err14480 rm -f conftest.er114481 cat conftest.err >&514482 echo "$as_me:$LINENO: \$? = $ac_status" >&514483 (exit $ac_status); } && {14484 test -z "$ac_cxx_werror_flag" ||14485 test ! -s conftest.err14486 } && test -s conftest.$ac_objext; then14487 ac_cv_type_long=yes14488 else14489 echo "$as_me: failed program was:" >&514490 sed 's/^/| /' conftest.$ac_ext >&514491 14492 ac_cv_type_long=no14493 fi14494 14495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14496 fi14497 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&514498 echo "${ECHO_T}$ac_cv_type_long" >&6; }14499 9284 14500 9285 # The cast to long int works around a bug in the HP C Compiler … … 14502 9287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14503 9288 # This bug is HP SR number 8606223364. 14504 { echo "$as_me:$LINENO: checking size of long" >&5 14505 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 14506 if test "${ac_cv_sizeof_long+set}" = set; then 14507 echo $ECHO_N "(cached) $ECHO_C" >&6 14508 else 14509 if test "$cross_compiling" = yes; then 14510 # Depending upon the size, compute the lo and hi bounds. 14511 cat >conftest.$ac_ext <<_ACEOF 14512 /* confdefs.h. */ 14513 _ACEOF 14514 cat confdefs.h >>conftest.$ac_ext 14515 cat >>conftest.$ac_ext <<_ACEOF 14516 /* end confdefs.h. */ 14517 $ac_includes_default 14518 typedef long ac__type_sizeof_; 14519 int 14520 main () 14521 { 14522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14523 test_array [0] = 0 14524 14525 ; 14526 return 0; 14527 } 14528 _ACEOF 14529 rm -f conftest.$ac_objext 14530 if { (ac_try="$ac_compile" 14531 case "(($ac_try" in 14532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14533 *) ac_try_echo=$ac_try;; 14534 esac 14535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14536 (eval "$ac_compile") 2>conftest.er1 14537 ac_status=$? 14538 grep -v '^ *+' conftest.er1 >conftest.err 14539 rm -f conftest.er1 14540 cat conftest.err >&5 14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14542 (exit $ac_status); } && { 14543 test -z "$ac_cxx_werror_flag" || 14544 test ! -s conftest.err 14545 } && test -s conftest.$ac_objext; then 14546 ac_lo=0 ac_mid=0 14547 while :; do 14548 cat >conftest.$ac_ext <<_ACEOF 14549 /* confdefs.h. */ 14550 _ACEOF 14551 cat confdefs.h >>conftest.$ac_ext 14552 cat >>conftest.$ac_ext <<_ACEOF 14553 /* end confdefs.h. */ 14554 $ac_includes_default 14555 typedef long ac__type_sizeof_; 14556 int 14557 main () 14558 { 14559 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14560 test_array [0] = 0 14561 14562 ; 14563 return 0; 14564 } 14565 _ACEOF 14566 rm -f conftest.$ac_objext 14567 if { (ac_try="$ac_compile" 14568 case "(($ac_try" in 14569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14570 *) ac_try_echo=$ac_try;; 14571 esac 14572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14573 (eval "$ac_compile") 2>conftest.er1 14574 ac_status=$? 14575 grep -v '^ *+' conftest.er1 >conftest.err 14576 rm -f conftest.er1 14577 cat conftest.err >&5 14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14579 (exit $ac_status); } && { 14580 test -z "$ac_cxx_werror_flag" || 14581 test ! -s conftest.err 14582 } && test -s conftest.$ac_objext; then 14583 ac_hi=$ac_mid; break 14584 else 14585 echo "$as_me: failed program was:" >&5 14586 sed 's/^/| /' conftest.$ac_ext >&5 14587 14588 ac_lo=`expr $ac_mid + 1` 14589 if test $ac_lo -le $ac_mid; then 14590 ac_lo= ac_hi= 14591 break 14592 fi 14593 ac_mid=`expr 2 '*' $ac_mid + 1` 14594 fi 14595 14596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14597 done 14598 else 14599 echo "$as_me: failed program was:" >&5 14600 sed 's/^/| /' conftest.$ac_ext >&5 14601 14602 cat >conftest.$ac_ext <<_ACEOF 14603 /* confdefs.h. */ 14604 _ACEOF 14605 cat confdefs.h >>conftest.$ac_ext 14606 cat >>conftest.$ac_ext <<_ACEOF 14607 /* end confdefs.h. */ 14608 $ac_includes_default 14609 typedef long ac__type_sizeof_; 14610 int 14611 main () 14612 { 14613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14614 test_array [0] = 0 14615 14616 ; 14617 return 0; 14618 } 14619 _ACEOF 14620 rm -f conftest.$ac_objext 14621 if { (ac_try="$ac_compile" 14622 case "(($ac_try" in 14623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14624 *) ac_try_echo=$ac_try;; 14625 esac 14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14627 (eval "$ac_compile") 2>conftest.er1 14628 ac_status=$? 14629 grep -v '^ *+' conftest.er1 >conftest.err 14630 rm -f conftest.er1 14631 cat conftest.err >&5 14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14633 (exit $ac_status); } && { 14634 test -z "$ac_cxx_werror_flag" || 14635 test ! -s conftest.err 14636 } && test -s conftest.$ac_objext; then 14637 ac_hi=-1 ac_mid=-1 14638 while :; do 14639 cat >conftest.$ac_ext <<_ACEOF 14640 /* confdefs.h. */ 14641 _ACEOF 14642 cat confdefs.h >>conftest.$ac_ext 14643 cat >>conftest.$ac_ext <<_ACEOF 14644 /* end confdefs.h. */ 14645 $ac_includes_default 14646 typedef long ac__type_sizeof_; 14647 int 14648 main () 14649 { 14650 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14651 test_array [0] = 0 14652 14653 ; 14654 return 0; 14655 } 14656 _ACEOF 14657 rm -f conftest.$ac_objext 14658 if { (ac_try="$ac_compile" 14659 case "(($ac_try" in 14660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14661 *) ac_try_echo=$ac_try;; 14662 esac 14663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14664 (eval "$ac_compile") 2>conftest.er1 14665 ac_status=$? 14666 grep -v '^ *+' conftest.er1 >conftest.err 14667 rm -f conftest.er1 14668 cat conftest.err >&5 14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14670 (exit $ac_status); } && { 14671 test -z "$ac_cxx_werror_flag" || 14672 test ! -s conftest.err 14673 } && test -s conftest.$ac_objext; then 14674 ac_lo=$ac_mid; break 14675 else 14676 echo "$as_me: failed program was:" >&5 14677 sed 's/^/| /' conftest.$ac_ext >&5 14678 14679 ac_hi=`expr '(' $ac_mid ')' - 1` 14680 if test $ac_mid -le $ac_hi; then 14681 ac_lo= ac_hi= 14682 break 14683 fi 14684 ac_mid=`expr 2 '*' $ac_mid` 14685 fi 14686 14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14688 done 14689 else 14690 echo "$as_me: failed program was:" >&5 14691 sed 's/^/| /' conftest.$ac_ext >&5 14692 14693 ac_lo= ac_hi= 14694 fi 14695 14696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14697 fi 14698 14699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14700 # Binary search between lo and hi bounds. 14701 while test "x$ac_lo" != "x$ac_hi"; do 14702 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14703 cat >conftest.$ac_ext <<_ACEOF 14704 /* confdefs.h. */ 14705 _ACEOF 14706 cat confdefs.h >>conftest.$ac_ext 14707 cat >>conftest.$ac_ext <<_ACEOF 14708 /* end confdefs.h. */ 14709 $ac_includes_default 14710 typedef long ac__type_sizeof_; 14711 int 14712 main () 14713 { 14714 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14715 test_array [0] = 0 14716 14717 ; 14718 return 0; 14719 } 14720 _ACEOF 14721 rm -f conftest.$ac_objext 14722 if { (ac_try="$ac_compile" 14723 case "(($ac_try" in 14724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14725 *) ac_try_echo=$ac_try;; 14726 esac 14727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14728 (eval "$ac_compile") 2>conftest.er1 14729 ac_status=$? 14730 grep -v '^ *+' conftest.er1 >conftest.err 14731 rm -f conftest.er1 14732 cat conftest.err >&5 14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14734 (exit $ac_status); } && { 14735 test -z "$ac_cxx_werror_flag" || 14736 test ! -s conftest.err 14737 } && test -s conftest.$ac_objext; then 14738 ac_hi=$ac_mid 14739 else 14740 echo "$as_me: failed program was:" >&5 14741 sed 's/^/| /' conftest.$ac_ext >&5 14742 14743 ac_lo=`expr '(' $ac_mid ')' + 1` 14744 fi 14745 14746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14747 done 14748 case $ac_lo in 14749 ?*) ac_cv_sizeof_long=$ac_lo;; 14750 '') if test "$ac_cv_type_long" = yes; then 14751 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14752 See \`config.log' for more details." >&5 14753 echo "$as_me: error: cannot compute sizeof (long) 14754 See \`config.log' for more details." >&2;} 14755 { (exit 77); exit 77; }; } 14756 else 14757 ac_cv_sizeof_long=0 14758 fi ;; 14759 esac 14760 else 14761 cat >conftest.$ac_ext <<_ACEOF 14762 /* confdefs.h. */ 14763 _ACEOF 14764 cat confdefs.h >>conftest.$ac_ext 14765 cat >>conftest.$ac_ext <<_ACEOF 14766 /* end confdefs.h. */ 14767 $ac_includes_default 14768 typedef long ac__type_sizeof_; 14769 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14770 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14771 #include <stdio.h> 14772 #include <stdlib.h> 14773 int 14774 main () 14775 { 14776 14777 FILE *f = fopen ("conftest.val", "w"); 14778 if (! f) 14779 return 1; 14780 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14781 { 14782 long int i = longval (); 14783 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14784 return 1; 14785 fprintf (f, "%ld\n", i); 14786 } 14787 else 14788 { 14789 unsigned long int i = ulongval (); 14790 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14791 return 1; 14792 fprintf (f, "%lu\n", i); 14793 } 14794 return ferror (f) || fclose (f) != 0; 14795 14796 ; 14797 return 0; 14798 } 14799 _ACEOF 14800 rm -f conftest$ac_exeext 14801 if { (ac_try="$ac_link" 14802 case "(($ac_try" in 14803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14804 *) ac_try_echo=$ac_try;; 14805 esac 14806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14807 (eval "$ac_link") 2>&5 14808 ac_status=$? 14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14810 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14811 { (case "(($ac_try" in 14812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14813 *) ac_try_echo=$ac_try;; 14814 esac 14815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14816 (eval "$ac_try") 2>&5 14817 ac_status=$? 14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14819 (exit $ac_status); }; }; then 14820 ac_cv_sizeof_long=`cat conftest.val` 14821 else 14822 echo "$as_me: program exited with status $ac_status" >&5 14823 echo "$as_me: failed program was:" >&5 14824 sed 's/^/| /' conftest.$ac_ext >&5 14825 14826 ( exit $ac_status ) 14827 if test "$ac_cv_type_long" = yes; then 14828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14829 See \`config.log' for more details." >&5 14830 echo "$as_me: error: cannot compute sizeof (long) 14831 See \`config.log' for more details." >&2;} 14832 { (exit 77); exit 77; }; } 9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9290 $as_echo_n "checking size of long... " >&6; } 9291 if ${ac_cv_sizeof_long+:} false; then : 9292 $as_echo_n "(cached) " >&6 9293 else 9294 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9295 9296 else 9297 if test "$ac_cv_type_long" = yes; then 9298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9300 as_fn_error 77 "cannot compute sizeof (long) 9301 See \`config.log' for more details" "$LINENO" 5; } 14833 9302 else 14834 9303 ac_cv_sizeof_long=0 14835 9304 fi 14836 9305 fi 14837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14838 fi 14839 rm -f conftest.val 14840 fi 14841 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 14842 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 9306 9307 fi 9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9309 $as_echo "$ac_cv_sizeof_long" >&6; } 14843 9310 14844 9311 … … 14848 9315 _ACEOF 14849 9316 14850 14851 { echo "$as_me:$LINENO: checking for long long" >&514852 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }14853 if test "${ac_cv_type_long_long+set}" = set; then14854 echo $ECHO_N "(cached) $ECHO_C" >&614855 else14856 cat >conftest.$ac_ext <<_ACEOF14857 /* confdefs.h. */14858 _ACEOF14859 cat confdefs.h >>conftest.$ac_ext14860 cat >>conftest.$ac_ext <<_ACEOF14861 /* end confdefs.h. */14862 $ac_includes_default14863 typedef long long ac__type_new_;14864 int14865 main ()14866 {14867 if ((ac__type_new_ *) 0)14868 return 0;14869 if (sizeof (ac__type_new_))14870 return 0;14871 ;14872 return 0;14873 }14874 _ACEOF14875 rm -f conftest.$ac_objext14876 if { (ac_try="$ac_compile"14877 case "(($ac_try" in14878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14879 *) ac_try_echo=$ac_try;;14880 esac14881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514882 (eval "$ac_compile") 2>conftest.er114883 ac_status=$?14884 grep -v '^ *+' conftest.er1 >conftest.err14885 rm -f conftest.er114886 cat conftest.err >&514887 echo "$as_me:$LINENO: \$? = $ac_status" >&514888 (exit $ac_status); } && {14889 test -z "$ac_cxx_werror_flag" ||14890 test ! -s conftest.err14891 } && test -s conftest.$ac_objext; then14892 ac_cv_type_long_long=yes14893 else14894 echo "$as_me: failed program was:" >&514895 sed 's/^/| /' conftest.$ac_ext >&514896 14897 ac_cv_type_long_long=no14898 fi14899 14900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14901 fi14902 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&514903 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }14904 9317 14905 9318 # The cast to long int works around a bug in the HP C Compiler … … 14907 9320 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14908 9321 # This bug is HP SR number 8606223364. 14909 { echo "$as_me:$LINENO: checking size of long long" >&5 14910 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 14911 if test "${ac_cv_sizeof_long_long+set}" = set; then 14912 echo $ECHO_N "(cached) $ECHO_C" >&6 14913 else 14914 if test "$cross_compiling" = yes; then 14915 # Depending upon the size, compute the lo and hi bounds. 14916 cat >conftest.$ac_ext <<_ACEOF 14917 /* confdefs.h. */ 14918 _ACEOF 14919 cat confdefs.h >>conftest.$ac_ext 14920 cat >>conftest.$ac_ext <<_ACEOF 14921 /* end confdefs.h. */ 14922 $ac_includes_default 14923 typedef long long ac__type_sizeof_; 14924 int 14925 main () 14926 { 14927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14928 test_array [0] = 0 14929 14930 ; 14931 return 0; 14932 } 14933 _ACEOF 14934 rm -f conftest.$ac_objext 14935 if { (ac_try="$ac_compile" 14936 case "(($ac_try" in 14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14938 *) ac_try_echo=$ac_try;; 14939 esac 14940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14941 (eval "$ac_compile") 2>conftest.er1 14942 ac_status=$? 14943 grep -v '^ *+' conftest.er1 >conftest.err 14944 rm -f conftest.er1 14945 cat conftest.err >&5 14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14947 (exit $ac_status); } && { 14948 test -z "$ac_cxx_werror_flag" || 14949 test ! -s conftest.err 14950 } && test -s conftest.$ac_objext; then 14951 ac_lo=0 ac_mid=0 14952 while :; do 14953 cat >conftest.$ac_ext <<_ACEOF 14954 /* confdefs.h. */ 14955 _ACEOF 14956 cat confdefs.h >>conftest.$ac_ext 14957 cat >>conftest.$ac_ext <<_ACEOF 14958 /* end confdefs.h. */ 14959 $ac_includes_default 14960 typedef long long ac__type_sizeof_; 14961 int 14962 main () 14963 { 14964 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14965 test_array [0] = 0 14966 14967 ; 14968 return 0; 14969 } 14970 _ACEOF 14971 rm -f conftest.$ac_objext 14972 if { (ac_try="$ac_compile" 14973 case "(($ac_try" in 14974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14975 *) ac_try_echo=$ac_try;; 14976 esac 14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14978 (eval "$ac_compile") 2>conftest.er1 14979 ac_status=$? 14980 grep -v '^ *+' conftest.er1 >conftest.err 14981 rm -f conftest.er1 14982 cat conftest.err >&5 14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14984 (exit $ac_status); } && { 14985 test -z "$ac_cxx_werror_flag" || 14986 test ! -s conftest.err 14987 } && test -s conftest.$ac_objext; then 14988 ac_hi=$ac_mid; break 14989 else 14990 echo "$as_me: failed program was:" >&5 14991 sed 's/^/| /' conftest.$ac_ext >&5 14992 14993 ac_lo=`expr $ac_mid + 1` 14994 if test $ac_lo -le $ac_mid; then 14995 ac_lo= ac_hi= 14996 break 14997 fi 14998 ac_mid=`expr 2 '*' $ac_mid + 1` 14999 fi 15000 15001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15002 done 15003 else 15004 echo "$as_me: failed program was:" >&5 15005 sed 's/^/| /' conftest.$ac_ext >&5 15006 15007 cat >conftest.$ac_ext <<_ACEOF 15008 /* confdefs.h. */ 15009 _ACEOF 15010 cat confdefs.h >>conftest.$ac_ext 15011 cat >>conftest.$ac_ext <<_ACEOF 15012 /* end confdefs.h. */ 15013 $ac_includes_default 15014 typedef long long ac__type_sizeof_; 15015 int 15016 main () 15017 { 15018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15019 test_array [0] = 0 15020 15021 ; 15022 return 0; 15023 } 15024 _ACEOF 15025 rm -f conftest.$ac_objext 15026 if { (ac_try="$ac_compile" 15027 case "(($ac_try" in 15028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15029 *) ac_try_echo=$ac_try;; 15030 esac 15031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15032 (eval "$ac_compile") 2>conftest.er1 15033 ac_status=$? 15034 grep -v '^ *+' conftest.er1 >conftest.err 15035 rm -f conftest.er1 15036 cat conftest.err >&5 15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15038 (exit $ac_status); } && { 15039 test -z "$ac_cxx_werror_flag" || 15040 test ! -s conftest.err 15041 } && test -s conftest.$ac_objext; then 15042 ac_hi=-1 ac_mid=-1 15043 while :; do 15044 cat >conftest.$ac_ext <<_ACEOF 15045 /* confdefs.h. */ 15046 _ACEOF 15047 cat confdefs.h >>conftest.$ac_ext 15048 cat >>conftest.$ac_ext <<_ACEOF 15049 /* end confdefs.h. */ 15050 $ac_includes_default 15051 typedef long long ac__type_sizeof_; 15052 int 15053 main () 15054 { 15055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15056 test_array [0] = 0 15057 15058 ; 15059 return 0; 15060 } 15061 _ACEOF 15062 rm -f conftest.$ac_objext 15063 if { (ac_try="$ac_compile" 15064 case "(($ac_try" in 15065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15066 *) ac_try_echo=$ac_try;; 15067 esac 15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15069 (eval "$ac_compile") 2>conftest.er1 15070 ac_status=$? 15071 grep -v '^ *+' conftest.er1 >conftest.err 15072 rm -f conftest.er1 15073 cat conftest.err >&5 15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15075 (exit $ac_status); } && { 15076 test -z "$ac_cxx_werror_flag" || 15077 test ! -s conftest.err 15078 } && test -s conftest.$ac_objext; then 15079 ac_lo=$ac_mid; break 15080 else 15081 echo "$as_me: failed program was:" >&5 15082 sed 's/^/| /' conftest.$ac_ext >&5 15083 15084 ac_hi=`expr '(' $ac_mid ')' - 1` 15085 if test $ac_mid -le $ac_hi; then 15086 ac_lo= ac_hi= 15087 break 15088 fi 15089 ac_mid=`expr 2 '*' $ac_mid` 15090 fi 15091 15092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15093 done 15094 else 15095 echo "$as_me: failed program was:" >&5 15096 sed 's/^/| /' conftest.$ac_ext >&5 15097 15098 ac_lo= ac_hi= 15099 fi 15100 15101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15102 fi 15103 15104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15105 # Binary search between lo and hi bounds. 15106 while test "x$ac_lo" != "x$ac_hi"; do 15107 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15108 cat >conftest.$ac_ext <<_ACEOF 15109 /* confdefs.h. */ 15110 _ACEOF 15111 cat confdefs.h >>conftest.$ac_ext 15112 cat >>conftest.$ac_ext <<_ACEOF 15113 /* end confdefs.h. */ 15114 $ac_includes_default 15115 typedef long long ac__type_sizeof_; 15116 int 15117 main () 15118 { 15119 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15120 test_array [0] = 0 15121 15122 ; 15123 return 0; 15124 } 15125 _ACEOF 15126 rm -f conftest.$ac_objext 15127 if { (ac_try="$ac_compile" 15128 case "(($ac_try" in 15129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15130 *) ac_try_echo=$ac_try;; 15131 esac 15132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15133 (eval "$ac_compile") 2>conftest.er1 15134 ac_status=$? 15135 grep -v '^ *+' conftest.er1 >conftest.err 15136 rm -f conftest.er1 15137 cat conftest.err >&5 15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15139 (exit $ac_status); } && { 15140 test -z "$ac_cxx_werror_flag" || 15141 test ! -s conftest.err 15142 } && test -s conftest.$ac_objext; then 15143 ac_hi=$ac_mid 15144 else 15145 echo "$as_me: failed program was:" >&5 15146 sed 's/^/| /' conftest.$ac_ext >&5 15147 15148 ac_lo=`expr '(' $ac_mid ')' + 1` 15149 fi 15150 15151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15152 done 15153 case $ac_lo in 15154 ?*) ac_cv_sizeof_long_long=$ac_lo;; 15155 '') if test "$ac_cv_type_long_long" = yes; then 15156 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15157 See \`config.log' for more details." >&5 15158 echo "$as_me: error: cannot compute sizeof (long long) 15159 See \`config.log' for more details." >&2;} 15160 { (exit 77); exit 77; }; } 15161 else 15162 ac_cv_sizeof_long_long=0 15163 fi ;; 15164 esac 15165 else 15166 cat >conftest.$ac_ext <<_ACEOF 15167 /* confdefs.h. */ 15168 _ACEOF 15169 cat confdefs.h >>conftest.$ac_ext 15170 cat >>conftest.$ac_ext <<_ACEOF 15171 /* end confdefs.h. */ 15172 $ac_includes_default 15173 typedef long long ac__type_sizeof_; 15174 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15175 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15176 #include <stdio.h> 15177 #include <stdlib.h> 15178 int 15179 main () 15180 { 15181 15182 FILE *f = fopen ("conftest.val", "w"); 15183 if (! f) 15184 return 1; 15185 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15186 { 15187 long int i = longval (); 15188 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15189 return 1; 15190 fprintf (f, "%ld\n", i); 15191 } 15192 else 15193 { 15194 unsigned long int i = ulongval (); 15195 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15196 return 1; 15197 fprintf (f, "%lu\n", i); 15198 } 15199 return ferror (f) || fclose (f) != 0; 15200 15201 ; 15202 return 0; 15203 } 15204 _ACEOF 15205 rm -f conftest$ac_exeext 15206 if { (ac_try="$ac_link" 15207 case "(($ac_try" in 15208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15209 *) ac_try_echo=$ac_try;; 15210 esac 15211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15212 (eval "$ac_link") 2>&5 15213 ac_status=$? 15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15215 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15216 { (case "(($ac_try" in 15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15218 *) ac_try_echo=$ac_try;; 15219 esac 15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15221 (eval "$ac_try") 2>&5 15222 ac_status=$? 15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15224 (exit $ac_status); }; }; then 15225 ac_cv_sizeof_long_long=`cat conftest.val` 15226 else 15227 echo "$as_me: program exited with status $ac_status" >&5 15228 echo "$as_me: failed program was:" >&5 15229 sed 's/^/| /' conftest.$ac_ext >&5 15230 15231 ( exit $ac_status ) 15232 if test "$ac_cv_type_long_long" = yes; then 15233 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15234 See \`config.log' for more details." >&5 15235 echo "$as_me: error: cannot compute sizeof (long long) 15236 See \`config.log' for more details." >&2;} 15237 { (exit 77); exit 77; }; } 9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 9323 $as_echo_n "checking size of long long... " >&6; } 9324 if ${ac_cv_sizeof_long_long+:} false; then : 9325 $as_echo_n "(cached) " >&6 9326 else 9327 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9328 9329 else 9330 if test "$ac_cv_type_long_long" = yes; then 9331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9333 as_fn_error 77 "cannot compute sizeof (long long) 9334 See \`config.log' for more details" "$LINENO" 5; } 15238 9335 else 15239 9336 ac_cv_sizeof_long_long=0 15240 9337 fi 15241 9338 fi 15242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15243 fi 15244 rm -f conftest.val 15245 fi 15246 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 15247 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 9339 9340 fi 9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 9342 $as_echo "$ac_cv_sizeof_long_long" >&6; } 15248 9343 15249 9344 … … 15253 9348 _ACEOF 15254 9349 15255 15256 { echo "$as_me:$LINENO: checking for void *" >&515257 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }15258 if test "${ac_cv_type_void_p+set}" = set; then15259 echo $ECHO_N "(cached) $ECHO_C" >&615260 else15261 cat >conftest.$ac_ext <<_ACEOF15262 /* confdefs.h. */15263 _ACEOF15264 cat confdefs.h >>conftest.$ac_ext15265 cat >>conftest.$ac_ext <<_ACEOF15266 /* end confdefs.h. */15267 $ac_includes_default15268 typedef void * ac__type_new_;15269 int15270 main ()15271 {15272 if ((ac__type_new_ *) 0)15273 return 0;15274 if (sizeof (ac__type_new_))15275 return 0;15276 ;15277 return 0;15278 }15279 _ACEOF15280 rm -f conftest.$ac_objext15281 if { (ac_try="$ac_compile"15282 case "(($ac_try" in15283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15284 *) ac_try_echo=$ac_try;;15285 esac15286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515287 (eval "$ac_compile") 2>conftest.er115288 ac_status=$?15289 grep -v '^ *+' conftest.er1 >conftest.err15290 rm -f conftest.er115291 cat conftest.err >&515292 echo "$as_me:$LINENO: \$? = $ac_status" >&515293 (exit $ac_status); } && {15294 test -z "$ac_cxx_werror_flag" ||15295 test ! -s conftest.err15296 } && test -s conftest.$ac_objext; then15297 ac_cv_type_void_p=yes15298 else15299 echo "$as_me: failed program was:" >&515300 sed 's/^/| /' conftest.$ac_ext >&515301 15302 ac_cv_type_void_p=no15303 fi15304 15305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15306 fi15307 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&515308 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }15309 9350 15310 9351 # The cast to long int works around a bug in the HP C Compiler … … 15312 9353 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15313 9354 # This bug is HP SR number 8606223364. 15314 { echo "$as_me:$LINENO: checking size of void *" >&5 15315 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 15316 if test "${ac_cv_sizeof_void_p+set}" = set; then 15317 echo $ECHO_N "(cached) $ECHO_C" >&6 15318 else 15319 if test "$cross_compiling" = yes; then 15320 # Depending upon the size, compute the lo and hi bounds. 15321 cat >conftest.$ac_ext <<_ACEOF 15322 /* confdefs.h. */ 15323 _ACEOF 15324 cat confdefs.h >>conftest.$ac_ext 15325 cat >>conftest.$ac_ext <<_ACEOF 15326 /* end confdefs.h. */ 15327 $ac_includes_default 15328 typedef void * ac__type_sizeof_; 15329 int 15330 main () 15331 { 15332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15333 test_array [0] = 0 15334 15335 ; 15336 return 0; 15337 } 15338 _ACEOF 15339 rm -f conftest.$ac_objext 15340 if { (ac_try="$ac_compile" 15341 case "(($ac_try" in 15342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15343 *) ac_try_echo=$ac_try;; 15344 esac 15345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15346 (eval "$ac_compile") 2>conftest.er1 15347 ac_status=$? 15348 grep -v '^ *+' conftest.er1 >conftest.err 15349 rm -f conftest.er1 15350 cat conftest.err >&5 15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15352 (exit $ac_status); } && { 15353 test -z "$ac_cxx_werror_flag" || 15354 test ! -s conftest.err 15355 } && test -s conftest.$ac_objext; then 15356 ac_lo=0 ac_mid=0 15357 while :; do 15358 cat >conftest.$ac_ext <<_ACEOF 15359 /* confdefs.h. */ 15360 _ACEOF 15361 cat confdefs.h >>conftest.$ac_ext 15362 cat >>conftest.$ac_ext <<_ACEOF 15363 /* end confdefs.h. */ 15364 $ac_includes_default 15365 typedef void * ac__type_sizeof_; 15366 int 15367 main () 15368 { 15369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15370 test_array [0] = 0 15371 15372 ; 15373 return 0; 15374 } 15375 _ACEOF 15376 rm -f conftest.$ac_objext 15377 if { (ac_try="$ac_compile" 15378 case "(($ac_try" in 15379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15380 *) ac_try_echo=$ac_try;; 15381 esac 15382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15383 (eval "$ac_compile") 2>conftest.er1 15384 ac_status=$? 15385 grep -v '^ *+' conftest.er1 >conftest.err 15386 rm -f conftest.er1 15387 cat conftest.err >&5 15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15389 (exit $ac_status); } && { 15390 test -z "$ac_cxx_werror_flag" || 15391 test ! -s conftest.err 15392 } && test -s conftest.$ac_objext; then 15393 ac_hi=$ac_mid; break 15394 else 15395 echo "$as_me: failed program was:" >&5 15396 sed 's/^/| /' conftest.$ac_ext >&5 15397 15398 ac_lo=`expr $ac_mid + 1` 15399 if test $ac_lo -le $ac_mid; then 15400 ac_lo= ac_hi= 15401 break 15402 fi 15403 ac_mid=`expr 2 '*' $ac_mid + 1` 15404 fi 15405 15406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15407 done 15408 else 15409 echo "$as_me: failed program was:" >&5 15410 sed 's/^/| /' conftest.$ac_ext >&5 15411 15412 cat >conftest.$ac_ext <<_ACEOF 15413 /* confdefs.h. */ 15414 _ACEOF 15415 cat confdefs.h >>conftest.$ac_ext 15416 cat >>conftest.$ac_ext <<_ACEOF 15417 /* end confdefs.h. */ 15418 $ac_includes_default 15419 typedef void * ac__type_sizeof_; 15420 int 15421 main () 15422 { 15423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15424 test_array [0] = 0 15425 15426 ; 15427 return 0; 15428 } 15429 _ACEOF 15430 rm -f conftest.$ac_objext 15431 if { (ac_try="$ac_compile" 15432 case "(($ac_try" in 15433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15434 *) ac_try_echo=$ac_try;; 15435 esac 15436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15437 (eval "$ac_compile") 2>conftest.er1 15438 ac_status=$? 15439 grep -v '^ *+' conftest.er1 >conftest.err 15440 rm -f conftest.er1 15441 cat conftest.err >&5 15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15443 (exit $ac_status); } && { 15444 test -z "$ac_cxx_werror_flag" || 15445 test ! -s conftest.err 15446 } && test -s conftest.$ac_objext; then 15447 ac_hi=-1 ac_mid=-1 15448 while :; do 15449 cat >conftest.$ac_ext <<_ACEOF 15450 /* confdefs.h. */ 15451 _ACEOF 15452 cat confdefs.h >>conftest.$ac_ext 15453 cat >>conftest.$ac_ext <<_ACEOF 15454 /* end confdefs.h. */ 15455 $ac_includes_default 15456 typedef void * ac__type_sizeof_; 15457 int 15458 main () 15459 { 15460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15461 test_array [0] = 0 15462 15463 ; 15464 return 0; 15465 } 15466 _ACEOF 15467 rm -f conftest.$ac_objext 15468 if { (ac_try="$ac_compile" 15469 case "(($ac_try" in 15470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15471 *) ac_try_echo=$ac_try;; 15472 esac 15473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15474 (eval "$ac_compile") 2>conftest.er1 15475 ac_status=$? 15476 grep -v '^ *+' conftest.er1 >conftest.err 15477 rm -f conftest.er1 15478 cat conftest.err >&5 15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15480 (exit $ac_status); } && { 15481 test -z "$ac_cxx_werror_flag" || 15482 test ! -s conftest.err 15483 } && test -s conftest.$ac_objext; then 15484 ac_lo=$ac_mid; break 15485 else 15486 echo "$as_me: failed program was:" >&5 15487 sed 's/^/| /' conftest.$ac_ext >&5 15488 15489 ac_hi=`expr '(' $ac_mid ')' - 1` 15490 if test $ac_mid -le $ac_hi; then 15491 ac_lo= ac_hi= 15492 break 15493 fi 15494 ac_mid=`expr 2 '*' $ac_mid` 15495 fi 15496 15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15498 done 15499 else 15500 echo "$as_me: failed program was:" >&5 15501 sed 's/^/| /' conftest.$ac_ext >&5 15502 15503 ac_lo= ac_hi= 15504 fi 15505 15506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15507 fi 15508 15509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15510 # Binary search between lo and hi bounds. 15511 while test "x$ac_lo" != "x$ac_hi"; do 15512 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15513 cat >conftest.$ac_ext <<_ACEOF 15514 /* confdefs.h. */ 15515 _ACEOF 15516 cat confdefs.h >>conftest.$ac_ext 15517 cat >>conftest.$ac_ext <<_ACEOF 15518 /* end confdefs.h. */ 15519 $ac_includes_default 15520 typedef void * ac__type_sizeof_; 15521 int 15522 main () 15523 { 15524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15525 test_array [0] = 0 15526 15527 ; 15528 return 0; 15529 } 15530 _ACEOF 15531 rm -f conftest.$ac_objext 15532 if { (ac_try="$ac_compile" 15533 case "(($ac_try" in 15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15535 *) ac_try_echo=$ac_try;; 15536 esac 15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15538 (eval "$ac_compile") 2>conftest.er1 15539 ac_status=$? 15540 grep -v '^ *+' conftest.er1 >conftest.err 15541 rm -f conftest.er1 15542 cat conftest.err >&5 15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15544 (exit $ac_status); } && { 15545 test -z "$ac_cxx_werror_flag" || 15546 test ! -s conftest.err 15547 } && test -s conftest.$ac_objext; then 15548 ac_hi=$ac_mid 15549 else 15550 echo "$as_me: failed program was:" >&5 15551 sed 's/^/| /' conftest.$ac_ext >&5 15552 15553 ac_lo=`expr '(' $ac_mid ')' + 1` 15554 fi 15555 15556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15557 done 15558 case $ac_lo in 15559 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15560 '') if test "$ac_cv_type_void_p" = yes; then 15561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15562 See \`config.log' for more details." >&5 15563 echo "$as_me: error: cannot compute sizeof (void *) 15564 See \`config.log' for more details." >&2;} 15565 { (exit 77); exit 77; }; } 15566 else 15567 ac_cv_sizeof_void_p=0 15568 fi ;; 15569 esac 15570 else 15571 cat >conftest.$ac_ext <<_ACEOF 15572 /* confdefs.h. */ 15573 _ACEOF 15574 cat confdefs.h >>conftest.$ac_ext 15575 cat >>conftest.$ac_ext <<_ACEOF 15576 /* end confdefs.h. */ 15577 $ac_includes_default 15578 typedef void * ac__type_sizeof_; 15579 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15580 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15581 #include <stdio.h> 15582 #include <stdlib.h> 15583 int 15584 main () 15585 { 15586 15587 FILE *f = fopen ("conftest.val", "w"); 15588 if (! f) 15589 return 1; 15590 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15591 { 15592 long int i = longval (); 15593 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15594 return 1; 15595 fprintf (f, "%ld\n", i); 15596 } 15597 else 15598 { 15599 unsigned long int i = ulongval (); 15600 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15601 return 1; 15602 fprintf (f, "%lu\n", i); 15603 } 15604 return ferror (f) || fclose (f) != 0; 15605 15606 ; 15607 return 0; 15608 } 15609 _ACEOF 15610 rm -f conftest$ac_exeext 15611 if { (ac_try="$ac_link" 15612 case "(($ac_try" in 15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15614 *) ac_try_echo=$ac_try;; 15615 esac 15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15617 (eval "$ac_link") 2>&5 15618 ac_status=$? 15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15620 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15621 { (case "(($ac_try" in 15622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15623 *) ac_try_echo=$ac_try;; 15624 esac 15625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15626 (eval "$ac_try") 2>&5 15627 ac_status=$? 15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15629 (exit $ac_status); }; }; then 15630 ac_cv_sizeof_void_p=`cat conftest.val` 15631 else 15632 echo "$as_me: program exited with status $ac_status" >&5 15633 echo "$as_me: failed program was:" >&5 15634 sed 's/^/| /' conftest.$ac_ext >&5 15635 15636 ( exit $ac_status ) 15637 if test "$ac_cv_type_void_p" = yes; then 15638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15639 See \`config.log' for more details." >&5 15640 echo "$as_me: error: cannot compute sizeof (void *) 15641 See \`config.log' for more details." >&2;} 15642 { (exit 77); exit 77; }; } 9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 9356 $as_echo_n "checking size of void *... " >&6; } 9357 if ${ac_cv_sizeof_void_p+:} false; then : 9358 $as_echo_n "(cached) " >&6 9359 else 9360 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9361 9362 else 9363 if test "$ac_cv_type_void_p" = yes; then 9364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9366 as_fn_error 77 "cannot compute sizeof (void *) 9367 See \`config.log' for more details" "$LINENO" 5; } 15643 9368 else 15644 9369 ac_cv_sizeof_void_p=0 15645 9370 fi 15646 9371 fi 15647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15648 fi 15649 rm -f conftest.val 15650 fi 15651 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15652 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 9372 9373 fi 9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 9375 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15653 9376 15654 9377 … … 15676 9399 15677 9400 15678 { echo "$as_me:$LINENO: checking for build with symbols" >&515679 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 9402 $as_echo_n "checking for build with symbols... " >&6; } 15680 9403 # Check whether --enable-symbols was given. 15681 if test "${enable_symbols+set}" = set; then 9404 if test "${enable_symbols+set}" = set; then : 15682 9405 enableval=$enable_symbols; tcl_ok=$enableval 15683 9406 else … … 15690 9413 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 15691 9414 DBGX="" 15692 { echo "$as_me:$LINENO: result: no" >&515693 echo "${ECHO_T}no" >&6; }9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9416 $as_echo "no" >&6; } 15694 9417 else 15695 9418 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 15697 9420 DBGX=g 15698 9421 if test "$tcl_ok" = "yes"; then 15699 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&515700 echo "${ECHO_T}yes (standard debugging)" >&6; }9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 9423 $as_echo "yes (standard debugging)" >&6; } 15701 9424 fi 15702 9425 fi … … 15705 9428 15706 9429 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 15707 cat >>confdefs.h <<\_ACEOF 15708 #define TCL_MEM_DEBUG 1 15709 _ACEOF 9430 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15710 9431 15711 9432 fi 15712 9433 15713 9434 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 15714 cat >>confdefs.h <<\_ACEOF 15715 #define TCL_COMPILE_DEBUG 1 15716 _ACEOF 15717 15718 cat >>confdefs.h <<\_ACEOF 15719 #define TCL_COMPILE_STATS 1 15720 _ACEOF 9435 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9436 9437 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15721 9438 15722 9439 fi … … 15724 9441 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 15725 9442 if test "$tcl_ok" = "all"; then 15726 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&515727 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 9444 $as_echo "enabled symbols mem compile debugging" >&6; } 15728 9445 else 15729 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&515730 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 9447 $as_echo "enabled $tcl_ok debugging" >&6; } 15731 9448 fi 15732 9449 fi … … 15738 9455 #-------------------------------------------------------------------- 15739 9456 15740 15741 9457 for ac_header in ffmpeg/avcodec.h 15742 do 15743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15744 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15746 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15747 echo $ECHO_N "(cached) $ECHO_C" >&6 15748 else 15749 cat >conftest.$ac_ext <<_ACEOF 15750 /* confdefs.h. */ 15751 _ACEOF 15752 cat confdefs.h >>conftest.$ac_ext 15753 cat >>conftest.$ac_ext <<_ACEOF 15754 /* end confdefs.h. */ 15755 #define __STDC_CONSTANT_MACROS 1 9458 do : 9459 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avcodec.h" "ac_cv_header_ffmpeg_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15756 9460 #ifdef HAVE_FFMPEG_AVCODEC_H 15757 9461 # include <ffmpeg/avcodec.h> 15758 9462 #endif 15759 9463 15760 15761 #include <$ac_header> 15762 _ACEOF 15763 rm -f conftest.$ac_objext 15764 if { (ac_try="$ac_compile" 15765 case "(($ac_try" in 15766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15767 *) ac_try_echo=$ac_try;; 15768 esac 15769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15770 (eval "$ac_compile") 2>conftest.er1 15771 ac_status=$? 15772 grep -v '^ *+' conftest.er1 >conftest.err 15773 rm -f conftest.er1 15774 cat conftest.err >&5 15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15776 (exit $ac_status); } && { 15777 test -z "$ac_cxx_werror_flag" || 15778 test ! -s conftest.err 15779 } && test -s conftest.$ac_objext; then 15780 eval "$as_ac_Header=yes" 15781 else 15782 echo "$as_me: failed program was:" >&5 15783 sed 's/^/| /' conftest.$ac_ext >&5 15784 15785 eval "$as_ac_Header=no" 15786 fi 15787 15788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15789 fi 15790 ac_res=`eval echo '${'$as_ac_Header'}'` 15791 { echo "$as_me:$LINENO: result: $ac_res" >&5 15792 echo "${ECHO_T}$ac_res" >&6; } 15793 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9464 " 9465 if test "x$ac_cv_header_ffmpeg_avcodec_h" = xyes; then : 15794 9466 cat >>confdefs.h <<_ACEOF 15795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15796 _ACEOF 15797 15798 fi 15799 15800 done 15801 9467 #define HAVE_FFMPEG_AVCODEC_H 1 9468 _ACEOF 9469 9470 fi 9471 9472 done 15802 9473 15803 9474 15804 9475 for ac_header in libavcodec/avcodec.h 15805 do 15806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15807 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15809 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15810 echo $ECHO_N "(cached) $ECHO_C" >&6 15811 else 15812 cat >conftest.$ac_ext <<_ACEOF 15813 /* confdefs.h. */ 15814 _ACEOF 15815 cat confdefs.h >>conftest.$ac_ext 15816 cat >>conftest.$ac_ext <<_ACEOF 15817 /* end confdefs.h. */ 15818 #define __STDC_CONSTANT_MACROS 1 9476 do : 9477 ac_fn_cxx_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15819 9478 #ifdef HAVE_LIBAVCODEC_AVCODEC_H 15820 9479 # include <libavcodec/avcodec.h> 15821 9480 #endif 15822 9481 15823 15824 #include <$ac_header> 15825 _ACEOF 15826 rm -f conftest.$ac_objext 15827 if { (ac_try="$ac_compile" 15828 case "(($ac_try" in 15829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15830 *) ac_try_echo=$ac_try;; 15831 esac 15832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15833 (eval "$ac_compile") 2>conftest.er1 15834 ac_status=$? 15835 grep -v '^ *+' conftest.er1 >conftest.err 15836 rm -f conftest.er1 15837 cat conftest.err >&5 15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15839 (exit $ac_status); } && { 15840 test -z "$ac_cxx_werror_flag" || 15841 test ! -s conftest.err 15842 } && test -s conftest.$ac_objext; then 15843 eval "$as_ac_Header=yes" 15844 else 15845 echo "$as_me: failed program was:" >&5 15846 sed 's/^/| /' conftest.$ac_ext >&5 15847 15848 eval "$as_ac_Header=no" 15849 fi 15850 15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15852 fi 15853 ac_res=`eval echo '${'$as_ac_Header'}'` 15854 { echo "$as_me:$LINENO: result: $ac_res" >&5 15855 echo "${ECHO_T}$ac_res" >&6; } 15856 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9482 " 9483 if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes; then : 15857 9484 cat >>confdefs.h <<_ACEOF 15858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15859 _ACEOF 15860 15861 fi 15862 15863 done 15864 9485 #define HAVE_LIBAVCODEC_AVCODEC_H 1 9486 _ACEOF 9487 9488 fi 9489 9490 done 15865 9491 15866 9492 15867 9493 for ac_header in ffmpeg/avformat.h 15868 do 15869 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15870 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15872 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15873 echo $ECHO_N "(cached) $ECHO_C" >&6 15874 else 15875 cat >conftest.$ac_ext <<_ACEOF 15876 /* confdefs.h. */ 15877 _ACEOF 15878 cat confdefs.h >>conftest.$ac_ext 15879 cat >>conftest.$ac_ext <<_ACEOF 15880 /* end confdefs.h. */ 15881 #define __STDC_CONSTANT_MACROS 1 9494 do : 9495 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avformat.h" "ac_cv_header_ffmpeg_avformat_h" "#define __STDC_CONSTANT_MACROS 1 15882 9496 #ifdef HAVE_FFMPEG_AVFORMAT_H 15883 9497 # include <ffmpeg/avformat.h> 15884 9498 #endif 15885 9499 15886 15887 #include <$ac_header> 15888 _ACEOF 15889 rm -f conftest.$ac_objext 15890 if { (ac_try="$ac_compile" 15891 case "(($ac_try" in 15892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15893 *) ac_try_echo=$ac_try;; 15894 esac 15895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15896 (eval "$ac_compile") 2>conftest.er1 15897 ac_status=$? 15898 grep -v '^ *+' conftest.er1 >conftest.err 15899 rm -f conftest.er1 15900 cat conftest.err >&5 15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15902 (exit $ac_status); } && { 15903 test -z "$ac_cxx_werror_flag" || 15904 test ! -s conftest.err 15905 } && test -s conftest.$ac_objext; then 15906 eval "$as_ac_Header=yes" 15907 else 15908 echo "$as_me: failed program was:" >&5 15909 sed 's/^/| /' conftest.$ac_ext >&5 15910 15911 eval "$as_ac_Header=no" 15912 fi 15913 15914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15915 fi 15916 ac_res=`eval echo '${'$as_ac_Header'}'` 15917 { echo "$as_me:$LINENO: result: $ac_res" >&5 15918 echo "${ECHO_T}$ac_res" >&6; } 15919 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9500 " 9501 if test "x$ac_cv_header_ffmpeg_avformat_h" = xyes; then : 15920 9502 cat >>confdefs.h <<_ACEOF 15921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15922 _ACEOF 15923 15924 fi 15925 15926 done 15927 9503 #define HAVE_FFMPEG_AVFORMAT_H 1 9504 _ACEOF 9505 9506 fi 9507 9508 done 15928 9509 15929 9510 15930 9511 for ac_header in libavformat/avformat.h 15931 do 15932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15933 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15936 echo $ECHO_N "(cached) $ECHO_C" >&6 15937 else 15938 cat >conftest.$ac_ext <<_ACEOF 15939 /* confdefs.h. */ 15940 _ACEOF 15941 cat confdefs.h >>conftest.$ac_ext 15942 cat >>conftest.$ac_ext <<_ACEOF 15943 /* end confdefs.h. */ 15944 #define __STDC_CONSTANT_MACROS 1 9512 do : 9513 ac_fn_cxx_check_header_compile "$LINENO" "libavformat/avformat.h" "ac_cv_header_libavformat_avformat_h" "#define __STDC_CONSTANT_MACROS 1 15945 9514 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H 15946 9515 # include <libavformat/avformat.h> 15947 9516 #endif 15948 9517 15949 15950 #include <$ac_header> 15951 _ACEOF 15952 rm -f conftest.$ac_objext 15953 if { (ac_try="$ac_compile" 15954 case "(($ac_try" in 15955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15956 *) ac_try_echo=$ac_try;; 15957 esac 15958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15959 (eval "$ac_compile") 2>conftest.er1 15960 ac_status=$? 15961 grep -v '^ *+' conftest.er1 >conftest.err 15962 rm -f conftest.er1 15963 cat conftest.err >&5 15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15965 (exit $ac_status); } && { 15966 test -z "$ac_cxx_werror_flag" || 15967 test ! -s conftest.err 15968 } && test -s conftest.$ac_objext; then 15969 eval "$as_ac_Header=yes" 15970 else 15971 echo "$as_me: failed program was:" >&5 15972 sed 's/^/| /' conftest.$ac_ext >&5 15973 15974 eval "$as_ac_Header=no" 15975 fi 15976 15977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15978 fi 15979 ac_res=`eval echo '${'$as_ac_Header'}'` 15980 { echo "$as_me:$LINENO: result: $ac_res" >&5 15981 echo "${ECHO_T}$ac_res" >&6; } 15982 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9518 " 9519 if test "x$ac_cv_header_libavformat_avformat_h" = xyes; then : 15983 9520 cat >>confdefs.h <<_ACEOF 15984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15985 _ACEOF 15986 15987 fi 15988 15989 done 15990 9521 #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 9522 _ACEOF 9523 9524 fi 9525 9526 done 15991 9527 15992 9528 15993 9529 for ac_header in ffmpeg/avutil.h 15994 do 15995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15996 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15999 echo $ECHO_N "(cached) $ECHO_C" >&6 16000 else 16001 cat >conftest.$ac_ext <<_ACEOF 16002 /* confdefs.h. */ 16003 _ACEOF 16004 cat confdefs.h >>conftest.$ac_ext 16005 cat >>conftest.$ac_ext <<_ACEOF 16006 /* end confdefs.h. */ 16007 #define __STDC_CONSTANT_MACROS 1 9530 do : 9531 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16008 9532 #ifdef HAVE_FFMPEG_AVUTIL_H 16009 9533 # include <ffmpeg/avutil.h> 16010 9534 #endif 16011 9535 16012 16013 #include <$ac_header> 16014 _ACEOF 16015 rm -f conftest.$ac_objext 16016 if { (ac_try="$ac_compile" 16017 case "(($ac_try" in 16018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16019 *) ac_try_echo=$ac_try;; 16020 esac 16021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16022 (eval "$ac_compile") 2>conftest.er1 16023 ac_status=$? 16024 grep -v '^ *+' conftest.er1 >conftest.err 16025 rm -f conftest.er1 16026 cat conftest.err >&5 16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16028 (exit $ac_status); } && { 16029 test -z "$ac_cxx_werror_flag" || 16030 test ! -s conftest.err 16031 } && test -s conftest.$ac_objext; then 16032 eval "$as_ac_Header=yes" 16033 else 16034 echo "$as_me: failed program was:" >&5 16035 sed 's/^/| /' conftest.$ac_ext >&5 16036 16037 eval "$as_ac_Header=no" 16038 fi 16039 16040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16041 fi 16042 ac_res=`eval echo '${'$as_ac_Header'}'` 16043 { echo "$as_me:$LINENO: result: $ac_res" >&5 16044 echo "${ECHO_T}$ac_res" >&6; } 16045 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9536 " 9537 if test "x$ac_cv_header_ffmpeg_avutil_h" = xyes; then : 16046 9538 cat >>confdefs.h <<_ACEOF 16047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16048 _ACEOF 16049 16050 fi 16051 16052 done 16053 9539 #define HAVE_FFMPEG_AVUTIL_H 1 9540 _ACEOF 9541 9542 fi 9543 9544 done 16054 9545 16055 9546 16056 9547 for ac_header in libavutil/avutil.h 16057 do 16058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16059 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16062 echo $ECHO_N "(cached) $ECHO_C" >&6 16063 else 16064 cat >conftest.$ac_ext <<_ACEOF 16065 /* confdefs.h. */ 16066 _ACEOF 16067 cat confdefs.h >>conftest.$ac_ext 16068 cat >>conftest.$ac_ext <<_ACEOF 16069 /* end confdefs.h. */ 16070 #define __STDC_CONSTANT_MACROS 1 9548 do : 9549 ac_fn_cxx_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16071 9550 #ifdef HAVE_LIBAVUTIL_AVUTIL_H 16072 9551 # include <libavutil/avutil.h> 16073 9552 #endif 16074 9553 16075 16076 #include <$ac_header> 16077 _ACEOF 16078 rm -f conftest.$ac_objext 16079 if { (ac_try="$ac_compile" 16080 case "(($ac_try" in 16081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16082 *) ac_try_echo=$ac_try;; 16083 esac 16084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16085 (eval "$ac_compile") 2>conftest.er1 16086 ac_status=$? 16087 grep -v '^ *+' conftest.er1 >conftest.err 16088 rm -f conftest.er1 16089 cat conftest.err >&5 16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16091 (exit $ac_status); } && { 16092 test -z "$ac_cxx_werror_flag" || 16093 test ! -s conftest.err 16094 } && test -s conftest.$ac_objext; then 16095 eval "$as_ac_Header=yes" 16096 else 16097 echo "$as_me: failed program was:" >&5 16098 sed 's/^/| /' conftest.$ac_ext >&5 16099 16100 eval "$as_ac_Header=no" 16101 fi 16102 16103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16104 fi 16105 ac_res=`eval echo '${'$as_ac_Header'}'` 16106 { echo "$as_me:$LINENO: result: $ac_res" >&5 16107 echo "${ECHO_T}$ac_res" >&6; } 16108 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9554 " 9555 if test "x$ac_cv_header_libavutil_avutil_h" = xyes; then : 16109 9556 cat >>confdefs.h <<_ACEOF 16110 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16111 _ACEOF 16112 16113 fi 16114 16115 done 16116 9557 #define HAVE_LIBAVUTIL_AVUTIL_H 1 9558 _ACEOF 9559 9560 fi 9561 9562 done 16117 9563 16118 9564 16119 9565 for ac_header in ffmpeg/swscale.h 16120 do 16121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16122 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16125 echo $ECHO_N "(cached) $ECHO_C" >&6 16126 else 16127 cat >conftest.$ac_ext <<_ACEOF 16128 /* confdefs.h. */ 16129 _ACEOF 16130 cat confdefs.h >>conftest.$ac_ext 16131 cat >>conftest.$ac_ext <<_ACEOF 16132 /* end confdefs.h. */ 16133 #define __STDC_CONSTANT_MACROS 1 9566 do : 9567 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/swscale.h" "ac_cv_header_ffmpeg_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16134 9568 #ifdef HAVE_FFMPEG_SWSCALE_H 16135 9569 # include <ffmpeg/swscale.h> 16136 9570 #endif 16137 9571 16138 16139 #include <$ac_header> 16140 _ACEOF 16141 rm -f conftest.$ac_objext 16142 if { (ac_try="$ac_compile" 16143 case "(($ac_try" in 16144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16145 *) ac_try_echo=$ac_try;; 16146 esac 16147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16148 (eval "$ac_compile") 2>conftest.er1 16149 ac_status=$? 16150 grep -v '^ *+' conftest.er1 >conftest.err 16151 rm -f conftest.er1 16152 cat conftest.err >&5 16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16154 (exit $ac_status); } && { 16155 test -z "$ac_cxx_werror_flag" || 16156 test ! -s conftest.err 16157 } && test -s conftest.$ac_objext; then 16158 eval "$as_ac_Header=yes" 16159 else 16160 echo "$as_me: failed program was:" >&5 16161 sed 's/^/| /' conftest.$ac_ext >&5 16162 16163 eval "$as_ac_Header=no" 16164 fi 16165 16166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16167 fi 16168 ac_res=`eval echo '${'$as_ac_Header'}'` 16169 { echo "$as_me:$LINENO: result: $ac_res" >&5 16170 echo "${ECHO_T}$ac_res" >&6; } 16171 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9572 " 9573 if test "x$ac_cv_header_ffmpeg_swscale_h" = xyes; then : 16172 9574 cat >>confdefs.h <<_ACEOF 16173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16174 _ACEOF 16175 16176 fi 16177 16178 done 16179 9575 #define HAVE_FFMPEG_SWSCALE_H 1 9576 _ACEOF 9577 9578 fi 9579 9580 done 16180 9581 16181 9582 16182 9583 for ac_header in libswscale/swscale.h 16183 do 16184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16185 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16188 echo $ECHO_N "(cached) $ECHO_C" >&6 16189 else 16190 cat >conftest.$ac_ext <<_ACEOF 16191 /* confdefs.h. */ 16192 _ACEOF 16193 cat confdefs.h >>conftest.$ac_ext 16194 cat >>conftest.$ac_ext <<_ACEOF 16195 /* end confdefs.h. */ 16196 #define __STDC_CONSTANT_MACROS 1 9584 do : 9585 ac_fn_cxx_check_header_compile "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16197 9586 #ifdef HAVE_LIBSWSCALE_SWSCALE_H 16198 9587 # include <libswscale/swscale.h> 16199 9588 #endif 16200 9589 16201 16202 #include <$ac_header> 16203 _ACEOF 16204 rm -f conftest.$ac_objext 16205 if { (ac_try="$ac_compile" 16206 case "(($ac_try" in 16207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16208 *) ac_try_echo=$ac_try;; 16209 esac 16210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16211 (eval "$ac_compile") 2>conftest.er1 16212 ac_status=$? 16213 grep -v '^ *+' conftest.er1 >conftest.err 16214 rm -f conftest.er1 16215 cat conftest.err >&5 16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16217 (exit $ac_status); } && { 16218 test -z "$ac_cxx_werror_flag" || 16219 test ! -s conftest.err 16220 } && test -s conftest.$ac_objext; then 16221 eval "$as_ac_Header=yes" 16222 else 16223 echo "$as_me: failed program was:" >&5 16224 sed 's/^/| /' conftest.$ac_ext >&5 16225 16226 eval "$as_ac_Header=no" 16227 fi 16228 16229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16230 fi 16231 ac_res=`eval echo '${'$as_ac_Header'}'` 16232 { echo "$as_me:$LINENO: result: $ac_res" >&5 16233 echo "${ECHO_T}$ac_res" >&6; } 16234 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9590 " 9591 if test "x$ac_cv_header_libswscale_swscale_h" = xyes; then : 16235 9592 cat >>confdefs.h <<_ACEOF 16236 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19593 #define HAVE_LIBSWSCALE_SWSCALE_H 1 16237 9594 _ACEOF 16238 9595 … … 16253 9610 HAVE_FFMPEG_LIBS="yes" 16254 9611 16255 cat >>confdefs.h <<\_ACEOF 16256 #define BUILD_with_ffmpeg 1 16257 _ACEOF 9612 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 16258 9613 16259 9614 else … … 16261 9616 fi 16262 9617 16263 16264 9618 for ac_func in img_convert 16265 do 16266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16267 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16270 echo $ECHO_N "(cached) $ECHO_C" >&6 16271 else 16272 cat >conftest.$ac_ext <<_ACEOF 16273 /* confdefs.h. */ 16274 _ACEOF 16275 cat confdefs.h >>conftest.$ac_ext 16276 cat >>conftest.$ac_ext <<_ACEOF 16277 /* end confdefs.h. */ 16278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16279 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16280 #define $ac_func innocuous_$ac_func 16281 16282 /* System header to define __stub macros and hopefully few prototypes, 16283 which can conflict with char $ac_func (); below. 16284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16285 <limits.h> exists even on freestanding compilers. */ 16286 16287 #ifdef __STDC__ 16288 # include <limits.h> 16289 #else 16290 # include <assert.h> 16291 #endif 16292 16293 #undef $ac_func 16294 16295 /* Override any GCC internal prototype to avoid an error. 16296 Use char because int might match the return type of a GCC 16297 builtin and then its argument prototype would still apply. */ 16298 #ifdef __cplusplus 16299 extern "C" 16300 #endif 16301 char $ac_func (); 16302 /* The GNU C library defines this for functions which it implements 16303 to always fail with ENOSYS. Some functions are actually named 16304 something starting with __ and the normal name is an alias. */ 16305 #if defined __stub_$ac_func || defined __stub___$ac_func 16306 choke me 16307 #endif 16308 16309 int 16310 main () 16311 { 16312 return $ac_func (); 16313 ; 16314 return 0; 16315 } 16316 _ACEOF 16317 rm -f conftest.$ac_objext conftest$ac_exeext 16318 if { (ac_try="$ac_link" 16319 case "(($ac_try" in 16320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16321 *) ac_try_echo=$ac_try;; 16322 esac 16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16324 (eval "$ac_link") 2>conftest.er1 16325 ac_status=$? 16326 grep -v '^ *+' conftest.er1 >conftest.err 16327 rm -f conftest.er1 16328 cat conftest.err >&5 16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16330 (exit $ac_status); } && { 16331 test -z "$ac_cxx_werror_flag" || 16332 test ! -s conftest.err 16333 } && test -s conftest$ac_exeext && 16334 $as_test_x conftest$ac_exeext; then 16335 eval "$as_ac_var=yes" 16336 else 16337 echo "$as_me: failed program was:" >&5 16338 sed 's/^/| /' conftest.$ac_ext >&5 16339 16340 eval "$as_ac_var=no" 16341 fi 16342 16343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16344 conftest$ac_exeext conftest.$ac_ext 16345 fi 16346 ac_res=`eval echo '${'$as_ac_var'}'` 16347 { echo "$as_me:$LINENO: result: $ac_res" >&5 16348 echo "${ECHO_T}$ac_res" >&6; } 16349 if test `eval echo '${'$as_ac_var'}'` = yes; then 9619 do : 9620 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9621 if test "x$ac_cv_func_img_convert" = xyes; then : 16350 9622 cat >>confdefs.h <<_ACEOF 16351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16352 _ACEOF 16353 16354 fi 16355 done 16356 9623 #define HAVE_IMG_CONVERT 1 9624 _ACEOF 9625 9626 fi 9627 done 16357 9628 16358 9629 for ac_func in sws_scale 16359 do 16360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16361 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16364 echo $ECHO_N "(cached) $ECHO_C" >&6 16365 else 16366 cat >conftest.$ac_ext <<_ACEOF 16367 /* confdefs.h. */ 16368 _ACEOF 16369 cat confdefs.h >>conftest.$ac_ext 16370 cat >>conftest.$ac_ext <<_ACEOF 16371 /* end confdefs.h. */ 16372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16373 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16374 #define $ac_func innocuous_$ac_func 16375 16376 /* System header to define __stub macros and hopefully few prototypes, 16377 which can conflict with char $ac_func (); below. 16378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16379 <limits.h> exists even on freestanding compilers. */ 16380 16381 #ifdef __STDC__ 16382 # include <limits.h> 16383 #else 16384 # include <assert.h> 16385 #endif 16386 16387 #undef $ac_func 16388 16389 /* Override any GCC internal prototype to avoid an error. 16390 Use char because int might match the return type of a GCC 16391 builtin and then its argument prototype would still apply. */ 16392 #ifdef __cplusplus 16393 extern "C" 16394 #endif 16395 char $ac_func (); 16396 /* The GNU C library defines this for functions which it implements 16397 to always fail with ENOSYS. Some functions are actually named 16398 something starting with __ and the normal name is an alias. */ 16399 #if defined __stub_$ac_func || defined __stub___$ac_func 16400 choke me 16401 #endif 16402 16403 int 16404 main () 16405 { 16406 return $ac_func (); 16407 ; 16408 return 0; 16409 } 16410 _ACEOF 16411 rm -f conftest.$ac_objext conftest$ac_exeext 16412 if { (ac_try="$ac_link" 16413 case "(($ac_try" in 16414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16415 *) ac_try_echo=$ac_try;; 16416 esac 16417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16418 (eval "$ac_link") 2>conftest.er1 16419 ac_status=$? 16420 grep -v '^ *+' conftest.er1 >conftest.err 16421 rm -f conftest.er1 16422 cat conftest.err >&5 16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16424 (exit $ac_status); } && { 16425 test -z "$ac_cxx_werror_flag" || 16426 test ! -s conftest.err 16427 } && test -s conftest$ac_exeext && 16428 $as_test_x conftest$ac_exeext; then 16429 eval "$as_ac_var=yes" 16430 else 16431 echo "$as_me: failed program was:" >&5 16432 sed 's/^/| /' conftest.$ac_ext >&5 16433 16434 eval "$as_ac_var=no" 16435 fi 16436 16437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16438 conftest$ac_exeext conftest.$ac_ext 16439 fi 16440 ac_res=`eval echo '${'$as_ac_var'}'` 16441 { echo "$as_me:$LINENO: result: $ac_res" >&5 16442 echo "${ECHO_T}$ac_res" >&6; } 16443 if test `eval echo '${'$as_ac_var'}'` = yes; then 9630 do : 9631 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9632 if test "x$ac_cv_func_sws_scale" = xyes; then : 16444 9633 cat >>confdefs.h <<_ACEOF 16445 #define `echo "HAVE_$ac_func" | $as_tr_cpp`19634 #define HAVE_SWS_SCALE 1 16446 9635 _ACEOF 16447 9636 … … 16452 9641 16453 9642 ac_configure_args="--disable-threads --enable-shared" 9643 9644 16454 9645 subdirs="$subdirs packages/optimizer/src" 16455 9646 16456 9647 16457 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile instant/Makefile instant/irappture lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/ Makefile examples/app-fermi/octave/2/Makefile examples/app-fermi/octave/3/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/datatable/Makefile examples/zoo/datatable/matlab/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/filechoice/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/periodicelement/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile oldtest/Makefile oldtest/src/Makefile"9648 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile instant/Makefile instant/irappture lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/2/Makefile examples/app-fermi/octave/3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/datatable/Makefile examples/zoo/datatable/matlab/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/filechoice/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile" 16458 9649 16459 9650 cat >confcache <<\_ACEOF … … 16484 9675 *${as_nl}*) 16485 9676 case $ac_var in #( 16486 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&516487 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;9677 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9678 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16488 9679 esac 16489 9680 case $ac_var in #( 16490 9681 _ | IFS | as_nl) ;; #( 16491 *) $as_unset $ac_var ;; 9682 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9683 *) { eval $ac_var=; unset $ac_var;} ;; 16492 9684 esac ;; 16493 9685 esac … … 16497 9689 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16498 9690 *${as_nl}ac_space=\ *) 16499 # `set' does not quote correctly, so add quotes (double-quote16500 # substitution turns \\\\ into \\, and sed turns \\ into \ ).9691 # `set' does not quote correctly, so add quotes: double-quote 9692 # substitution turns \\\\ into \\, and sed turns \\ into \. 16501 9693 sed -n \ 16502 9694 "s/'/'\\\\''/g; … … 16520 9712 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16521 9713 if test -w "$cache_file"; then 16522 test "x$cache_file" != "x/dev/null" && 16523 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 16524 echo "$as_me: updating cache $cache_file" >&6;} 16525 cat confcache >$cache_file 9714 if test "x$cache_file" != "x/dev/null"; then 9715 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9716 $as_echo "$as_me: updating cache $cache_file" >&6;} 9717 if test ! -f "$cache_file" || test -h "$cache_file"; then 9718 cat confcache >"$cache_file" 9719 else 9720 case $cache_file in #( 9721 */* | ?:*) 9722 mv -f confcache "$cache_file"$$ && 9723 mv -f "$cache_file"$$ "$cache_file" ;; #( 9724 *) 9725 mv -f confcache "$cache_file" ;; 9726 esac 9727 fi 9728 fi 16526 9729 else 16527 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&516528 echo "$as_me: not updating unwritable cache $cache_file" >&6;}9730 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9731 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16529 9732 fi 16530 9733 fi … … 16539 9742 ac_libobjs= 16540 9743 ac_ltlibobjs= 9744 U= 16541 9745 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16542 9746 # 1. Remove the extension, and $U if already installed. 16543 9747 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16544 ac_i=` echo "$ac_i" | sed "$ac_script"`9748 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16545 9749 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16546 9750 # will be set to the directory where LIBOBJS objects are built. 16547 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"16548 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'9751 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9752 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16549 9753 done 16550 9754 LIBOBJS=$ac_libobjs … … 16554 9758 16555 9759 16556 : ${CONFIG_STATUS=./config.status} 9760 9761 : "${CONFIG_STATUS=./config.status}" 9762 ac_write_fail=0 16557 9763 ac_clean_files_save=$ac_clean_files 16558 9764 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16559 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 16560 echo "$as_me: creating $CONFIG_STATUS" >&6;} 16561 cat >$CONFIG_STATUS <<_ACEOF 9765 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9766 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9767 as_write_fail=0 9768 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16562 9769 #! $SHELL 16563 9770 # Generated by $as_me. … … 16569 9776 ac_cs_recheck=false 16570 9777 ac_cs_silent=false 9778 16571 9779 SHELL=\${CONFIG_SHELL-$SHELL} 16572 _ACEOF 16573 16574 cat >>$CONFIG_STATUS <<\_A CEOF16575 ## -------------------- -##16576 ## M4sh Initialization. 16577 ## -------------------- -##9780 export SHELL 9781 _ASEOF 9782 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9783 ## -------------------- ## 9784 ## M4sh Initialization. ## 9785 ## -------------------- ## 16578 9786 16579 9787 # Be more Bourne compatible 16580 9788 DUALCASE=1; export DUALCASE # for MKS sh 16581 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9789 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16582 9790 emulate sh 16583 9791 NULLCMD=: 16584 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9792 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16585 9793 # is contrary to our usage. Disable this feature. 16586 9794 alias -g '${1+"$@"}'='"$@"' 16587 9795 setopt NO_GLOB_SUBST 16588 9796 else 16589 case `(set -o) 2>/dev/null` in 16590 *posix*) set -o posix ;; 9797 case `(set -o) 2>/dev/null` in #( 9798 *posix*) : 9799 set -o posix ;; #( 9800 *) : 9801 ;; 16591 9802 esac 16592 16593 fi 16594 16595 16596 16597 16598 # PATH needs CR 16599 # Avoid depending upon Character Ranges. 16600 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16603 as_cr_digits='0123456789' 16604 as_cr_alnum=$as_cr_Letters$as_cr_digits 9803 fi 9804 9805 9806 as_nl=' 9807 ' 9808 export as_nl 9809 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9810 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9813 # Prefer a ksh shell builtin over an external printf program on Solaris, 9814 # but without wasting forks for bash or zsh. 9815 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9816 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9817 as_echo='print -r --' 9818 as_echo_n='print -rn --' 9819 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9820 as_echo='printf %s\n' 9821 as_echo_n='printf %s' 9822 else 9823 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9824 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9825 as_echo_n='/usr/ucb/echo -n' 9826 else 9827 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9828 as_echo_n_body='eval 9829 arg=$1; 9830 case $arg in #( 9831 *"$as_nl"*) 9832 expr "X$arg" : "X\\(.*\\)$as_nl"; 9833 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9834 esac; 9835 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9836 ' 9837 export as_echo_n_body 9838 as_echo_n='sh -c $as_echo_n_body as_echo' 9839 fi 9840 export as_echo_body 9841 as_echo='sh -c $as_echo_body as_echo' 9842 fi 16605 9843 16606 9844 # The user is always right. 16607 9845 if test "${PATH_SEPARATOR+set}" != set; then 16608 echo "#! /bin/sh" >conf$$.sh 16609 echo "exit 0" >>conf$$.sh 16610 chmod +x conf$$.sh 16611 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 16612 PATH_SEPARATOR=';' 16613 else 16614 PATH_SEPARATOR=: 16615 fi 16616 rm -f conf$$.sh 16617 fi 16618 16619 # Support unset when possible. 16620 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 16621 as_unset=unset 16622 else 16623 as_unset=false 9846 PATH_SEPARATOR=: 9847 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9848 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9849 PATH_SEPARATOR=';' 9850 } 16624 9851 fi 16625 9852 … … 16630 9857 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 16631 9858 # splitting by setting IFS to empty value.) 16632 as_nl='16633 '16634 9859 IFS=" "" $as_nl" 16635 9860 16636 9861 # Find who we are. Look in the path if we contain no directory separator. 16637 case $0 in 9862 as_myself= 9863 case $0 in #(( 16638 9864 *[\\/]* ) as_myself=$0 ;; 16639 9865 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 16642 9868 IFS=$as_save_IFS 16643 9869 test -z "$as_dir" && as_dir=. 16644 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break16645 done9870 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9871 done 16646 9872 IFS=$as_save_IFS 16647 9873 … … 16654 9880 fi 16655 9881 if test ! -f "$as_myself"; then 16656 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16657 { (exit 1); exit 1; } 16658 fi 16659 16660 # Work around bugs in pre-3.0 UWIN ksh. 16661 for as_var in ENV MAIL MAILPATH 16662 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9882 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9883 exit 1 9884 fi 9885 9886 # Unset variables that we do not need and which cause bugs (e.g. in 9887 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9888 # suppresses any "Segmentation fault" message there. '((' could 9889 # trigger a bug in pdksh 5.2.14. 9890 for as_var in BASH_ENV ENV MAIL MAILPATH 9891 do eval test x\${$as_var+set} = xset \ 9892 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16663 9893 done 16664 9894 PS1='$ ' … … 16667 9897 16668 9898 # NLS nuisances. 16669 for as_var in \ 16670 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 16671 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 16672 LC_TELEPHONE LC_TIME 16673 do 16674 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 16675 eval $as_var=C; export $as_var 16676 else 16677 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 16678 fi 16679 done 16680 16681 # Required to use basename. 9899 LC_ALL=C 9900 export LC_ALL 9901 LANGUAGE=C 9902 export LANGUAGE 9903 9904 # CDPATH. 9905 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9906 9907 9908 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9909 # ---------------------------------------- 9910 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9911 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9912 # script with STATUS, using 1 if that was 0. 9913 as_fn_error () 9914 { 9915 as_status=$1; test $as_status -eq 0 && as_status=1 9916 if test "$4"; then 9917 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9918 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9919 fi 9920 $as_echo "$as_me: error: $2" >&2 9921 as_fn_exit $as_status 9922 } # as_fn_error 9923 9924 9925 # as_fn_set_status STATUS 9926 # ----------------------- 9927 # Set $? to STATUS, without forking. 9928 as_fn_set_status () 9929 { 9930 return $1 9931 } # as_fn_set_status 9932 9933 # as_fn_exit STATUS 9934 # ----------------- 9935 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9936 as_fn_exit () 9937 { 9938 set +e 9939 as_fn_set_status $1 9940 exit $1 9941 } # as_fn_exit 9942 9943 # as_fn_unset VAR 9944 # --------------- 9945 # Portably unset VAR. 9946 as_fn_unset () 9947 { 9948 { eval $1=; unset $1;} 9949 } 9950 as_unset=as_fn_unset 9951 # as_fn_append VAR VALUE 9952 # ---------------------- 9953 # Append the text in VALUE to the end of the definition contained in VAR. Take 9954 # advantage of any shell optimizations that allow amortized linear growth over 9955 # repeated appends, instead of the typical quadratic growth present in naive 9956 # implementations. 9957 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9958 eval 'as_fn_append () 9959 { 9960 eval $1+=\$2 9961 }' 9962 else 9963 as_fn_append () 9964 { 9965 eval $1=\$$1\$2 9966 } 9967 fi # as_fn_append 9968 9969 # as_fn_arith ARG... 9970 # ------------------ 9971 # Perform arithmetic evaluation on the ARGs, and store the result in the 9972 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9973 # must be portable across $(()) and expr. 9974 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9975 eval 'as_fn_arith () 9976 { 9977 as_val=$(( $* )) 9978 }' 9979 else 9980 as_fn_arith () 9981 { 9982 as_val=`expr "$@" || test $? -eq 1` 9983 } 9984 fi # as_fn_arith 9985 9986 16682 9987 if expr a : '\(a\)' >/dev/null 2>&1 && 16683 9988 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 16693 9998 fi 16694 9999 16695 16696 # Name of the executable. 10000 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10001 as_dirname=dirname 10002 else 10003 as_dirname=false 10004 fi 10005 16697 10006 as_me=`$as_basename -- "$0" || 16698 10007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16699 10008 X"$0" : 'X\(//\)$' \| \ 16700 10009 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16701 echo X/"$0" |10010 $as_echo X/"$0" | 16702 10011 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16703 10012 s//\1/ … … 16714 10023 s/.*/./; q'` 16715 10024 16716 # CDPATH. 16717 $as_unset CDPATH 16718 16719 16720 16721 as_lineno_1=$LINENO 16722 as_lineno_2=$LINENO 16723 test "x$as_lineno_1" != "x$as_lineno_2" && 16724 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 16725 16726 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 16727 # uniformly replaced by the line number. The first 'sed' inserts a 16728 # line-number line after each line using $LINENO; the second 'sed' 16729 # does the real work. The second script uses 'N' to pair each 16730 # line-number line with the line containing $LINENO, and appends 16731 # trailing '-' during substitution so that $LINENO is not a special 16732 # case at line end. 16733 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16734 # scripts with optimization help from Paolo Bonzini. Blame Lee 16735 # E. McMahon (1931-1989) for sed's syntax. :-) 16736 sed -n ' 16737 p 16738 /[$]LINENO/= 16739 ' <$as_myself | 16740 sed ' 16741 s/[$]LINENO.*/&-/ 16742 t lineno 16743 b 16744 :lineno 16745 N 16746 :loop 16747 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 16748 t loop 16749 s/-\n.*// 16750 ' >$as_me.lineno && 16751 chmod +x "$as_me.lineno" || 16752 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 16753 { (exit 1); exit 1; }; } 16754 16755 # Don't try to exec as it changes $[0], causing all sort of problems 16756 # (the dirname of $[0] is not the place where we might find the 16757 # original and so on. Autoconf is especially sensitive to this). 16758 . "./$as_me.lineno" 16759 # Exit status is that of the last command. 16760 exit 16761 } 16762 16763 16764 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16765 as_dirname=dirname 16766 else 16767 as_dirname=false 16768 fi 10025 # Avoid depending upon Character Ranges. 10026 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10027 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10028 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10029 as_cr_digits='0123456789' 10030 as_cr_alnum=$as_cr_Letters$as_cr_digits 16769 10031 16770 10032 ECHO_C= ECHO_N= ECHO_T= 16771 case `echo -n x` in 10033 case `echo -n x` in #((((( 16772 10034 -n*) 16773 case `echo 'x \c'` in10035 case `echo 'xy\c'` in 16774 10036 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16775 *) ECHO_C='\c';; 10037 xy) ECHO_C='\c';; 10038 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10039 ECHO_T=' ';; 16776 10040 esac;; 16777 10041 *) … … 16779 10043 esac 16780 10044 16781 if expr a : '\(a\)' >/dev/null 2>&1 &&16782 test "X`expr 00001 : '.*\(...\)'`" = X001; then16783 as_expr=expr16784 else16785 as_expr=false16786 fi16787 16788 10045 rm -f conf$$ conf$$.exe conf$$.file 16789 10046 if test -d conf$$.dir; then … … 16791 10048 else 16792 10049 rm -f conf$$.dir 16793 mkdir conf$$.dir 16794 fi 16795 echo >conf$$.file 16796 if ln -s conf$$.file conf$$ 2>/dev/null; then 16797 as_ln_s='ln -s' 16798 # ... but there are two gotchas: 16799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16801 # In both cases, we have to default to `cp -p'. 16802 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10050 mkdir conf$$.dir 2>/dev/null 10051 fi 10052 if (echo >conf$$.file) 2>/dev/null; then 10053 if ln -s conf$$.file conf$$ 2>/dev/null; then 10054 as_ln_s='ln -s' 10055 # ... but there are two gotchas: 10056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10058 # In both cases, we have to default to `cp -p'. 10059 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10060 as_ln_s='cp -p' 10061 elif ln conf$$.file conf$$ 2>/dev/null; then 10062 as_ln_s=ln 10063 else 16803 10064 as_ln_s='cp -p' 16804 elif ln conf$$.file conf$$ 2>/dev/null; then 16805 as_ln_s=ln 10065 fi 16806 10066 else 16807 10067 as_ln_s='cp -p' … … 16810 10070 rmdir conf$$.dir 2>/dev/null 16811 10071 10072 10073 # as_fn_mkdir_p 10074 # ------------- 10075 # Create "$as_dir" as a directory, including parents if necessary. 10076 as_fn_mkdir_p () 10077 { 10078 10079 case $as_dir in #( 10080 -*) as_dir=./$as_dir;; 10081 esac 10082 test -d "$as_dir" || eval $as_mkdir_p || { 10083 as_dirs= 10084 while :; do 10085 case $as_dir in #( 10086 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10087 *) as_qdir=$as_dir;; 10088 esac 10089 as_dirs="'$as_qdir' $as_dirs" 10090 as_dir=`$as_dirname -- "$as_dir" || 10091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10092 X"$as_dir" : 'X\(//\)[^/]' \| \ 10093 X"$as_dir" : 'X\(//\)$' \| \ 10094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10095 $as_echo X"$as_dir" | 10096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10097 s//\1/ 10098 q 10099 } 10100 /^X\(\/\/\)[^/].*/{ 10101 s//\1/ 10102 q 10103 } 10104 /^X\(\/\/\)$/{ 10105 s//\1/ 10106 q 10107 } 10108 /^X\(\/\).*/{ 10109 s//\1/ 10110 q 10111 } 10112 s/.*/./; q'` 10113 test -d "$as_dir" && break 10114 done 10115 test -z "$as_dirs" || eval "mkdir $as_dirs" 10116 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10117 10118 10119 } # as_fn_mkdir_p 16812 10120 if mkdir -p . 2>/dev/null; then 16813 as_mkdir_p= :10121 as_mkdir_p='mkdir -p "$as_dir"' 16814 10122 else 16815 10123 test -d ./-p && rmdir ./-p … … 16828 10136 eval sh -c '\'' 16829 10137 if test -d "$1"; then 16830 10138 test -d "$1/."; 16831 10139 else 16832 case $1 in 16833 10140 case $1 in #( 10141 -*)set "./$1";; 16834 10142 esac; 16835 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 10143 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 16836 10144 ???[sx]*):;;*)false;;esac;fi 16837 10145 '\'' sh … … 16848 10156 16849 10157 exec 6>&1 16850 16851 # Save the log message, to keep $[0] and so on meaningful, and to 10158 ## ----------------------------------- ## 10159 ## Main body of $CONFIG_STATUS script. ## 10160 ## ----------------------------------- ## 10161 _ASEOF 10162 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10163 10164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10165 # Save the log message, to keep $0 and so on meaningful, and to 16852 10166 # report actual input values of CONFIG_FILES etc. instead of their 16853 10167 # values after options handling. 16854 10168 ac_log=" 16855 10169 This file was extended by Rappture $as_me 1.1, which was 16856 generated by GNU Autoconf 2.6 1. Invocation command line was10170 generated by GNU Autoconf 2.68. Invocation command line was 16857 10171 16858 10172 CONFIG_FILES = $CONFIG_FILES … … 16867 10181 _ACEOF 16868 10182 16869 cat >>$CONFIG_STATUS <<_ACEOF 10183 case $ac_config_files in *" 10184 "*) set x $ac_config_files; shift; ac_config_files=$*;; 10185 esac 10186 10187 case $ac_config_headers in *" 10188 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10189 esac 10190 10191 10192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16870 10193 # Files that config.status was made for. 16871 10194 config_files="$ac_config_files" … … 16874 10197 _ACEOF 16875 10198 16876 cat >>$CONFIG_STATUS <<\_ACEOF 10199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16877 10200 ac_cs_usage="\ 16878 \`$as_me' instantiates files from templates according to the 16879 current configuration. 16880 16881 Usage: $0 [OPTIONS] [FILE]... 10201 \`$as_me' instantiates files and other configuration actions 10202 from templates according to the current configuration. Unless the files 10203 and actions are specified as TAGs, all are instantiated by default. 10204 10205 Usage: $0 [OPTION]... [TAG]... 16882 10206 16883 10207 -h, --help print this help, then exit 16884 10208 -V, --version print version number and configuration settings, then exit 16885 -q, --quiet do not print progress messages 10209 --config print configuration, then exit 10210 -q, --quiet, --silent 10211 do not print progress messages 16886 10212 -d, --debug don't remove temporary files 16887 10213 --recheck update $as_me by reconfiguring in the same conditions 16888 --file=FILE[:TEMPLATE]16889 16890 --header=FILE[:TEMPLATE]16891 10214 --file=FILE[:TEMPLATE] 10215 instantiate the configuration file FILE 10216 --header=FILE[:TEMPLATE] 10217 instantiate the configuration header FILE 16892 10218 16893 10219 Configuration files: … … 16897 10223 $config_headers 16898 10224 16899 Report bugs to <bug-autoconf@gnu.org>." 16900 16901 _ACEOF 16902 cat >>$CONFIG_STATUS <<_ACEOF 10225 Report bugs to <rappture@nanohub.org>." 10226 10227 _ACEOF 10228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10229 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16903 10230 ac_cs_version="\\ 16904 10231 Rappture config.status 1.1 16905 configured by $0, generated by GNU Autoconf 2.6 1,16906 with options \\" `echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"16907 16908 Copyright (C) 20 06Free Software Foundation, Inc.10232 configured by $0, generated by GNU Autoconf 2.68, 10233 with options \\"\$ac_cs_config\\" 10234 10235 Copyright (C) 2010 Free Software Foundation, Inc. 16909 10236 This config.status script is free software; the Free Software Foundation 16910 10237 gives unlimited permission to copy, distribute and modify it." … … 16914 10241 INSTALL='$INSTALL' 16915 10242 MKDIR_P='$MKDIR_P' 16916 _ACEOF 16917 16918 cat >>$CONFIG_STATUS <<\_ACEOF 16919 # If no file are specified by the user, then we need to provide default 16920 # value. By we need to know if files were specified by the user. 10243 AWK='$AWK' 10244 test -n "\$AWK" || AWK=awk 10245 _ACEOF 10246 10247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10248 # The default lists apply if the user does not specify any file. 16921 10249 ac_need_defaults=: 16922 10250 while test $# != 0 16923 10251 do 16924 10252 case $1 in 16925 --*= *)10253 --*=?*) 16926 10254 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16927 10255 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10256 ac_shift=: 10257 ;; 10258 --*=) 10259 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10260 ac_optarg= 16928 10261 ac_shift=: 16929 10262 ;; … … 16940 10273 ac_cs_recheck=: ;; 16941 10274 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16942 echo "$ac_cs_version"; exit ;; 10275 $as_echo "$ac_cs_version"; exit ;; 10276 --config | --confi | --conf | --con | --co | --c ) 10277 $as_echo "$ac_cs_config"; exit ;; 16943 10278 --debug | --debu | --deb | --de | --d | -d ) 16944 10279 debug=: ;; 16945 10280 --file | --fil | --fi | --f ) 16946 10281 $ac_shift 16947 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 10282 case $ac_optarg in 10283 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10284 '') as_fn_error $? "missing file argument" ;; 10285 esac 10286 as_fn_append CONFIG_FILES " '$ac_optarg'" 16948 10287 ac_need_defaults=false;; 16949 10288 --header | --heade | --head | --hea ) 16950 10289 $ac_shift 16951 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 10290 case $ac_optarg in 10291 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10292 esac 10293 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16952 10294 ac_need_defaults=false;; 16953 10295 --he | --h) 16954 10296 # Conflict between --help and --header 16955 { echo "$as_me: error: ambiguous option: $1 16956 Try \`$0 --help' for more information." >&2 16957 { (exit 1); exit 1; }; };; 10297 as_fn_error $? "ambiguous option: \`$1' 10298 Try \`$0 --help' for more information.";; 16958 10299 --help | --hel | -h ) 16959 echo "$ac_cs_usage"; exit ;;10300 $as_echo "$ac_cs_usage"; exit ;; 16960 10301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16961 10302 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 16963 10304 16964 10305 # This is an error. 16965 -*) { echo "$as_me: error: unrecognized option: $1 16966 Try \`$0 --help' for more information." >&2 16967 { (exit 1); exit 1; }; } ;; 16968 16969 *) ac_config_targets="$ac_config_targets $1" 10306 -*) as_fn_error $? "unrecognized option: \`$1' 10307 Try \`$0 --help' for more information." ;; 10308 10309 *) as_fn_append ac_config_targets " $1" 16970 10310 ac_need_defaults=false ;; 16971 10311 … … 16982 10322 16983 10323 _ACEOF 16984 cat >>$CONFIG_STATUS <<_ACEOF 10324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16985 10325 if \$ac_cs_recheck; then 16986 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 16987 CONFIG_SHELL=$SHELL 10326 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10327 shift 10328 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10329 CONFIG_SHELL='$SHELL' 16988 10330 export CONFIG_SHELL 16989 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion16990 fi 16991 16992 _ACEOF 16993 cat >>$CONFIG_STATUS <<\_ACEOF 10331 exec "\$@" 10332 fi 10333 10334 _ACEOF 10335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16994 10336 exec 5>>config.log 16995 10337 { … … 16998 10340 ## Running $as_me. ## 16999 10341 _ASBOX 17000 echo "$ac_log"10342 $as_echo "$ac_log" 17001 10343 } >&5 17002 10344 17003 10345 _ACEOF 17004 cat >>$CONFIG_STATUS <<_ACEOF 17005 _ACEOF 17006 17007 cat >>$CONFIG_STATUS <<\_ACEOF 10346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10347 _ACEOF 10348 10349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17008 10350 17009 10351 # Handling of arguments. … … 17063 10405 "examples/app-fermi/matlab/compiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/compiled/Makefile" ;; 17064 10406 "examples/app-fermi/matlab/uncompiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/uncompiled/Makefile" ;; 17065 "examples/app-fermi/octave/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/Makefile" ;;17066 10407 "examples/app-fermi/octave/2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/2/Makefile" ;; 17067 10408 "examples/app-fermi/octave/3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/3/Makefile" ;; 10409 "examples/app-fermi/octave/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/Makefile" ;; 17068 10410 "examples/app-fermi/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/perl/Makefile" ;; 17069 10411 "examples/app-fermi/python/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/python/Makefile" ;; … … 17124 10466 "examples/zoo/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/number/Makefile" ;; 17125 10467 "examples/zoo/number2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/number2/Makefile" ;; 10468 "examples/zoo/parallelepiped/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/parallelepiped/Makefile" ;; 17126 10469 "examples/zoo/periodicelement/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/periodicelement/Makefile" ;; 17127 "examples/zoo/parallelepiped/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/parallelepiped/Makefile" ;;17128 10470 "examples/zoo/phase/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/phase/Makefile" ;; 17129 10471 "examples/zoo/sequence/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/sequence/Makefile" ;; … … 17134 10476 "examples/zoo/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/table/Makefile" ;; 17135 10477 "examples/zoo/unirect2d/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/unirect2d/Makefile" ;; 17136 "oldtest/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/Makefile" ;; 17137 "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;; 17138 17139 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17140 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17141 { (exit 1); exit 1; }; };; 10478 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 10479 "test/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/src/Makefile" ;; 10480 10481 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17142 10482 esac 17143 10483 done … … 17161 10501 $debug || 17162 10502 { 17163 tmp= 10503 tmp= ac_tmp= 17164 10504 trap 'exit_status=$? 17165 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10505 : "${ac_tmp:=$tmp}" 10506 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17166 10507 ' 0 17167 trap ' { (exit 1); exit 1; }' 1 2 13 1510508 trap 'as_fn_exit 1' 1 2 13 15 17168 10509 } 17169 10510 # Create a (secure) tmp directory for tmp files. … … 17171 10512 { 17172 10513 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17173 test - n "$tmp" && test -d "$tmp"10514 test -d "$tmp" 17174 10515 } || 17175 10516 { 17176 10517 tmp=./conf$$-$RANDOM 17177 10518 (umask 077 && mkdir "$tmp") 17178 } || 10519 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10520 ac_tmp=$tmp 10521 10522 # Set up the scripts for CONFIG_FILES section. 10523 # No need to generate them if there are no CONFIG_FILES. 10524 # This happens for instance with `./config.status config.h'. 10525 if test -n "$CONFIG_FILES"; then 10526 10527 10528 ac_cr=`echo X | tr X '\015'` 10529 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10530 # But we know of no other shell where ac_cr would be empty at this 10531 # point, so we can use a bashism as a fallback. 10532 if test "x$ac_cr" = x; then 10533 eval ac_cr=\$\'\\r\' 10534 fi 10535 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10536 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10537 ac_cs_awk_cr='\\r' 10538 else 10539 ac_cs_awk_cr=$ac_cr 10540 fi 10541 10542 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10543 _ACEOF 10544 10545 17179 10546 { 17180 echo "$me: cannot create a temporary directory in ." >&2 17181 { (exit 1); exit 1; } 17182 } 17183 17184 # 17185 # Set up the sed scripts for CONFIG_FILES section. 17186 # 17187 17188 # No need to generate the scripts if there are no CONFIG_FILES. 17189 # This happens for instance when ./config.status config.h 17190 if test -n "$CONFIG_FILES"; then 17191 17192 _ACEOF 17193 17194 17195 10547 echo "cat >conf$$subs.awk <<_ACEOF" && 10548 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10549 echo "_ACEOF" 10550 } >conf$$subs.sh || 10551 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10552 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17196 10553 ac_delim='%!_!# ' 17197 10554 for ac_last_try in false false false false false :; do 17198 cat >conf$$subs.sed <<_ACEOF 17199 SHELL!$SHELL$ac_delim 17200 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 17201 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 17202 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 17203 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 17204 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 17205 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 17206 exec_prefix!$exec_prefix$ac_delim 17207 prefix!$prefix$ac_delim 17208 program_transform_name!$program_transform_name$ac_delim 17209 bindir!$bindir$ac_delim 17210 sbindir!$sbindir$ac_delim 17211 libexecdir!$libexecdir$ac_delim 17212 datarootdir!$datarootdir$ac_delim 17213 datadir!$datadir$ac_delim 17214 sysconfdir!$sysconfdir$ac_delim 17215 sharedstatedir!$sharedstatedir$ac_delim 17216 localstatedir!$localstatedir$ac_delim 17217 includedir!$includedir$ac_delim 17218 oldincludedir!$oldincludedir$ac_delim 17219 docdir!$docdir$ac_delim 17220 infodir!$infodir$ac_delim 17221 htmldir!$htmldir$ac_delim 17222 dvidir!$dvidir$ac_delim 17223 pdfdir!$pdfdir$ac_delim 17224 psdir!$psdir$ac_delim 17225 libdir!$libdir$ac_delim 17226 localedir!$localedir$ac_delim 17227 mandir!$mandir$ac_delim 17228 DEFS!$DEFS$ac_delim 17229 ECHO_C!$ECHO_C$ac_delim 17230 ECHO_N!$ECHO_N$ac_delim 17231 ECHO_T!$ECHO_T$ac_delim 17232 LIBS!$LIBS$ac_delim 17233 build_alias!$build_alias$ac_delim 17234 host_alias!$host_alias$ac_delim 17235 target_alias!$target_alias$ac_delim 17236 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 17237 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 17238 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 17239 INSTALL_DATA!$INSTALL_DATA$ac_delim 17240 RANLIB!$RANLIB$ac_delim 17241 LN_S!$LN_S$ac_delim 17242 SET_MAKE!$SET_MAKE$ac_delim 17243 CC!$CC$ac_delim 17244 CFLAGS!$CFLAGS$ac_delim 17245 LDFLAGS!$LDFLAGS$ac_delim 17246 CPPFLAGS!$CPPFLAGS$ac_delim 17247 ac_ct_CC!$ac_ct_CC$ac_delim 17248 EXEEXT!$EXEEXT$ac_delim 17249 OBJEXT!$OBJEXT$ac_delim 17250 CXX!$CXX$ac_delim 17251 CXXFLAGS!$CXXFLAGS$ac_delim 17252 ac_ct_CXX!$ac_ct_CXX$ac_delim 17253 F77!$F77$ac_delim 17254 FFLAGS!$FFLAGS$ac_delim 17255 ac_ct_F77!$ac_ct_F77$ac_delim 17256 CPP!$CPP$ac_delim 17257 GREP!$GREP$ac_delim 17258 EGREP!$EGREP$ac_delim 17259 CXXCPP!$CXXCPP$ac_delim 17260 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 17261 AR!$AR$ac_delim 17262 DL_LIBS!$DL_LIBS$ac_delim 17263 DL_OBJS!$DL_OBJS$ac_delim 17264 PLAT_OBJS!$PLAT_OBJS$ac_delim 17265 PLAT_SRCS!$PLAT_SRCS$ac_delim 17266 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 17267 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 17268 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 17269 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 17270 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 17271 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 17272 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 17273 STLIB_LD!$STLIB_LD$ac_delim 17274 SHLIB_LD!$SHLIB_LD$ac_delim 17275 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 17276 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 17277 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 17278 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 17279 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 17280 MAKE_LIB!$MAKE_LIB$ac_delim 17281 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 17282 INSTALL_LIB!$INSTALL_LIB$ac_delim 17283 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 17284 MAKE!$MAKE$ac_delim 17285 ENABLE_GUI!$ENABLE_GUI$ac_delim 17286 TCLSH!$TCLSH$ac_delim 17287 TCL_VERSION!$TCL_VERSION$ac_delim 17288 TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim 17289 TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim 17290 VTKDIR!$VTKDIR$ac_delim 17291 MATLAB!$MATLAB$ac_delim 17292 MEX!$MEX$ac_delim 17293 MEXEXT!$MEXEXT$ac_delim 17294 MCC!$MCC$ac_delim 17295 MEX_ARCH!$MEX_ARCH$ac_delim 17296 _ACEOF 17297 17298 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 10555 . ./conf$$subs.sh || 10556 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10557 10558 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10559 if test $ac_delim_n = $ac_delim_num; then 17299 10560 break 17300 10561 elif $ac_last_try; then 17301 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17302 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17303 { (exit 1); exit 1; }; } 10562 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17304 10563 else 17305 10564 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17306 10565 fi 17307 10566 done 17308 17309 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17310 if test -n "$ac_eof"; then 17311 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17312 ac_eof=`expr $ac_eof + 1` 17313 fi 17314 17315 cat >>$CONFIG_STATUS <<_ACEOF 17316 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 17317 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17318 _ACEOF 17319 sed ' 17320 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17321 s/^/s,@/; s/!/@,|#_!!_#|/ 17322 :n 17323 t n 17324 s/'"$ac_delim"'$/,g/; t 17325 s/$/\\/; p 17326 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17327 ' >>$CONFIG_STATUS <conf$$subs.sed 17328 rm -f conf$$subs.sed 17329 cat >>$CONFIG_STATUS <<_ACEOF 17330 CEOF$ac_eof 17331 _ACEOF 17332 17333 17334 ac_delim='%!_!# ' 17335 for ac_last_try in false false false false false :; do 17336 cat >conf$$subs.sed <<_ACEOF 17337 OCTAVE!$OCTAVE$ac_delim 17338 MKOCTFILE!$MKOCTFILE$ac_delim 17339 octave2!$octave2$ac_delim 17340 mkoctfile2!$mkoctfile2$ac_delim 17341 octave3!$octave3$ac_delim 17342 mkoctfile3!$mkoctfile3$ac_delim 17343 OCTAVE2!$OCTAVE2$ac_delim 17344 OCTAVE3!$OCTAVE3$ac_delim 17345 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 17346 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 17347 MKOCTFILE2!$MKOCTFILE2$ac_delim 17348 MKOCTFILE3!$MKOCTFILE3$ac_delim 17349 PERL!$PERL$ac_delim 17350 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 17351 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 17352 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 17353 PERL_VERSION!$PERL_VERSION$ac_delim 17354 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 17355 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 17356 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 17357 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 17358 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 17359 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 17360 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 17361 PYTHON!$PYTHON$ac_delim 17362 PYTHON_CPPFLAGS!$PYTHON_CPPFLAGS$ac_delim 17363 pythondir!$pythondir$ac_delim 17364 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 17365 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 17366 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 17367 HAVE_PYTHON_DISTUTILS!$HAVE_PYTHON_DISTUTILS$ac_delim 17368 RUBY!$RUBY$ac_delim 17369 SED!$SED$ac_delim 17370 RUBY_VERSION!$RUBY_VERSION$ac_delim 17371 AWK!$AWK$ac_delim 17372 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 17373 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 17374 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 17375 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 17376 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 17377 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 17378 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 17379 JAVA!$JAVA$ac_delim 17380 JAVAC!$JAVAC$ac_delim 17381 JAVAH!$JAVAH$ac_delim 17382 JAVA_HOME!$JAVA_HOME$ac_delim 17383 JAVA_INC_DIR!$JAVA_INC_DIR$ac_delim 17384 JAVA_INC_SPEC!$JAVA_INC_SPEC$ac_delim 17385 RP_BASE!$RP_BASE$ac_delim 17386 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 17387 TK_VERSION!$TK_VERSION$ac_delim 17388 SIZEOF_INT!$SIZEOF_INT$ac_delim 17389 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 17390 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 17391 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 17392 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 17393 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 17394 HAVE_FFMPEG_LIBS!$HAVE_FFMPEG_LIBS$ac_delim 17395 subdirs!$subdirs$ac_delim 17396 LIBOBJS!$LIBOBJS$ac_delim 17397 LTLIBOBJS!$LTLIBOBJS$ac_delim 17398 _ACEOF 17399 17400 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then 17401 break 17402 elif $ac_last_try; then 17403 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17404 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17405 { (exit 1); exit 1; }; } 17406 else 17407 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17408 fi 17409 done 17410 17411 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17412 if test -n "$ac_eof"; then 17413 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17414 ac_eof=`expr $ac_eof + 1` 17415 fi 17416 17417 cat >>$CONFIG_STATUS <<_ACEOF 17418 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 17419 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 17420 _ACEOF 17421 sed ' 17422 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17423 s/^/s,@/; s/!/@,|#_!!_#|/ 17424 :n 17425 t n 17426 s/'"$ac_delim"'$/,g/; t 17427 s/$/\\/; p 17428 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17429 ' >>$CONFIG_STATUS <conf$$subs.sed 17430 rm -f conf$$subs.sed 17431 cat >>$CONFIG_STATUS <<_ACEOF 17432 :end 17433 s/|#_!!_#|//g 17434 CEOF$ac_eof 17435 _ACEOF 17436 17437 17438 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17439 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10567 rm -f conf$$subs.sh 10568 10569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10570 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10571 _ACEOF 10572 sed -n ' 10573 h 10574 s/^/S["/; s/!.*/"]=/ 10575 p 10576 g 10577 s/^[^!]*!// 10578 :repl 10579 t repl 10580 s/'"$ac_delim"'$// 10581 t delim 10582 :nl 10583 h 10584 s/\(.\{148\}\)..*/\1/ 10585 t more1 10586 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10587 p 10588 n 10589 b repl 10590 :more1 10591 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10592 p 10593 g 10594 s/.\{148\}// 10595 t nl 10596 :delim 10597 h 10598 s/\(.\{148\}\)..*/\1/ 10599 t more2 10600 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10601 p 10602 b 10603 :more2 10604 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10605 p 10606 g 10607 s/.\{148\}// 10608 t delim 10609 ' <conf$$subs.awk | sed ' 10610 /^[^""]/{ 10611 N 10612 s/\n// 10613 } 10614 ' >>$CONFIG_STATUS || ac_write_fail=1 10615 rm -f conf$$subs.awk 10616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10617 _ACAWK 10618 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10619 for (key in S) S_is_set[key] = 1 10620 FS = "" 10621 10622 } 10623 { 10624 line = $ 0 10625 nfields = split(line, field, "@") 10626 substed = 0 10627 len = length(field[1]) 10628 for (i = 2; i < nfields; i++) { 10629 key = field[i] 10630 keylen = length(key) 10631 if (S_is_set[key]) { 10632 value = S[key] 10633 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10634 len += length(value) + length(field[++i]) 10635 substed = 1 10636 } else 10637 len += 1 + keylen 10638 } 10639 10640 print line 10641 } 10642 10643 _ACAWK 10644 _ACEOF 10645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10646 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10647 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10648 else 10649 cat 10650 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10651 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10652 _ACEOF 10653 10654 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10655 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17440 10656 # trailing colons and then remove the whole line if VPATH becomes empty 17441 10657 # (actually we leave an empty line to preserve line numbers). 17442 10658 if test "x$srcdir" = x.; then 17443 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17444 s/:*\$(srcdir):*/:/ 17445 s/:*\${srcdir}:*/:/ 17446 s/:*@srcdir@:*/:/ 17447 s/^\([^=]*=[ ]*\):*/\1/ 10659 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10660 h 10661 s/// 10662 s/^/:/ 10663 s/[ ]*$/:/ 10664 s/:\$(srcdir):/:/g 10665 s/:\${srcdir}:/:/g 10666 s/:@srcdir@:/:/g 10667 s/^:*// 17448 10668 s/:*$// 10669 x 10670 s/\(=[ ]*\).*/\1/ 10671 G 10672 s/\n// 17449 10673 s/^[^=]*=[ ]*$// 17450 10674 }' 17451 10675 fi 17452 10676 17453 cat >>$CONFIG_STATUS <<\_ACEOF 10677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17454 10678 fi # test -n "$CONFIG_FILES" 17455 10679 17456 17457 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 10680 # Set up the scripts for CONFIG_HEADERS section. 10681 # No need to generate them if there are no CONFIG_HEADERS. 10682 # This happens for instance with `./config.status Makefile'. 10683 if test -n "$CONFIG_HEADERS"; then 10684 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 10685 BEGIN { 10686 _ACEOF 10687 10688 # Transform confdefs.h into an awk script `defines.awk', embedded as 10689 # here-document in config.status, that substitutes the proper values into 10690 # config.h.in to produce config.h. 10691 10692 # Create a delimiter string that does not exist in confdefs.h, to ease 10693 # handling of long lines. 10694 ac_delim='%!_!# ' 10695 for ac_last_try in false false :; do 10696 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 10697 if test -z "$ac_tt"; then 10698 break 10699 elif $ac_last_try; then 10700 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10701 else 10702 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10703 fi 10704 done 10705 10706 # For the awk script, D is an array of macro values keyed by name, 10707 # likewise P contains macro parameters if any. Preserve backslash 10708 # newline sequences. 10709 10710 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10711 sed -n ' 10712 s/.\{148\}/&'"$ac_delim"'/g 10713 t rset 10714 :rset 10715 s/^[ ]*#[ ]*define[ ][ ]*/ / 10716 t def 10717 d 10718 :def 10719 s/\\$// 10720 t bsnl 10721 s/["\\]/\\&/g 10722 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10723 D["\1"]=" \3"/p 10724 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10725 d 10726 :bsnl 10727 s/["\\]/\\&/g 10728 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10729 D["\1"]=" \3\\\\\\n"\\/p 10730 t cont 10731 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10732 t cont 10733 d 10734 :cont 10735 n 10736 s/.\{148\}/&'"$ac_delim"'/g 10737 t clear 10738 :clear 10739 s/\\$// 10740 t bsnlc 10741 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10742 d 10743 :bsnlc 10744 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10745 b cont 10746 ' <confdefs.h | sed ' 10747 s/'"$ac_delim"'/"\\\ 10748 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10749 10750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10751 for (key in D) D_is_set[key] = 1 10752 FS = "" 10753 } 10754 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10755 line = \$ 0 10756 split(line, arg, " ") 10757 if (arg[1] == "#") { 10758 defundef = arg[2] 10759 mac1 = arg[3] 10760 } else { 10761 defundef = substr(arg[1], 2) 10762 mac1 = arg[2] 10763 } 10764 split(mac1, mac2, "(") #) 10765 macro = mac2[1] 10766 prefix = substr(line, 1, index(line, defundef) - 1) 10767 if (D_is_set[macro]) { 10768 # Preserve the white space surrounding the "#". 10769 print prefix "define", macro P[macro] D[macro] 10770 next 10771 } else { 10772 # Replace #undef with comments. This is necessary, for example, 10773 # in the case of _POSIX_SOURCE, which is predefined and required 10774 # on some systems where configure will not decide to define it. 10775 if (defundef == "undef") { 10776 print "/*", prefix defundef, macro, "*/" 10777 next 10778 } 10779 } 10780 } 10781 { print } 10782 _ACAWK 10783 _ACEOF 10784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10785 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10786 fi # test -n "$CONFIG_HEADERS" 10787 10788 10789 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10790 shift 10791 for ac_tag 17458 10792 do 17459 10793 case $ac_tag in … … 17462 10796 case $ac_mode$ac_tag in 17463 10797 :[FHL]*:*);; 17464 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 17465 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 17466 { (exit 1); exit 1; }; };; 10798 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17467 10799 :[FH]-) ac_tag=-:-;; 17468 10800 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 17483 10815 do 17484 10816 case $ac_f in 17485 -) ac_f="$ tmp/stdin";;10817 -) ac_f="$ac_tmp/stdin";; 17486 10818 *) # Look for the file first in the build tree, then in the source tree 17487 10819 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 17492 10824 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17493 10825 esac || 17494 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 17495 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 17496 { (exit 1); exit 1; }; };; 10826 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17497 10827 esac 17498 ac_file_inputs="$ac_file_inputs $ac_f" 10828 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10829 as_fn_append ac_file_inputs " '$ac_f'" 17499 10830 done 17500 10831 … … 17502 10833 # use $as_me), people would be surprised to read: 17503 10834 # /* config.h. Generated by config.status. */ 17504 configure_input="Generated from "`IFS=: 17505 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10835 configure_input='Generated from '` 10836 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10837 `' by configure.' 17506 10838 if test x"$ac_file" != x-; then 17507 10839 configure_input="$ac_file. $configure_input" 17508 { echo "$as_me:$LINENO: creating $ac_file" >&517509 echo "$as_me: creating $ac_file" >&6;}10840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10841 $as_echo "$as_me: creating $ac_file" >&6;} 17510 10842 fi 10843 # Neutralize special characters interpreted by sed in replacement strings. 10844 case $configure_input in #( 10845 *\&* | *\|* | *\\* ) 10846 ac_sed_conf_input=`$as_echo "$configure_input" | 10847 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10848 *) ac_sed_conf_input=$configure_input;; 10849 esac 17511 10850 17512 10851 case $ac_tag in 17513 *:-:* | *:-) cat >"$tmp/stdin";; 10852 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17514 10854 esac 17515 10855 ;; … … 17521 10861 X"$ac_file" : 'X\(//\)$' \| \ 17522 10862 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17523 echo X"$ac_file" |10863 $as_echo X"$ac_file" | 17524 10864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17525 10865 s//\1/ … … 17539 10879 } 17540 10880 s/.*/./; q'` 17541 { as_dir="$ac_dir" 17542 case $as_dir in #( 17543 -*) as_dir=./$as_dir;; 17544 esac 17545 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17546 as_dirs= 17547 while :; do 17548 case $as_dir in #( 17549 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 17550 *) as_qdir=$as_dir;; 17551 esac 17552 as_dirs="'$as_qdir' $as_dirs" 17553 as_dir=`$as_dirname -- "$as_dir" || 17554 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17555 X"$as_dir" : 'X\(//\)[^/]' \| \ 17556 X"$as_dir" : 'X\(//\)$' \| \ 17557 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17558 echo X"$as_dir" | 17559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17560 s//\1/ 17561 q 17562 } 17563 /^X\(\/\/\)[^/].*/{ 17564 s//\1/ 17565 q 17566 } 17567 /^X\(\/\/\)$/{ 17568 s//\1/ 17569 q 17570 } 17571 /^X\(\/\).*/{ 17572 s//\1/ 17573 q 17574 } 17575 s/.*/./; q'` 17576 test -d "$as_dir" && break 17577 done 17578 test -z "$as_dirs" || eval "mkdir $as_dirs" 17579 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17580 echo "$as_me: error: cannot create directory $as_dir" >&2;} 17581 { (exit 1); exit 1; }; }; } 10881 as_dir="$ac_dir"; as_fn_mkdir_p 17582 10882 ac_builddir=. 17583 10883 … … 17585 10885 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17586 10886 *) 17587 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10887 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17588 10888 # A ".." for each directory in $ac_dir_suffix. 17589 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10889 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17590 10890 case $ac_top_builddir_sub in 17591 10891 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 17632 10932 _ACEOF 17633 10933 17634 cat >>$CONFIG_STATUS <<\_ACEOF 10934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17635 10935 # If the template does not know about datarootdir, expand it. 17636 10936 # FIXME: This hack should be removed a few years after 2.60. 17637 10937 ac_datarootdir_hack=; ac_datarootdir_seen= 17638 17639 case `sed -n '/datarootdir/ {10938 ac_sed_dataroot=' 10939 /datarootdir/ { 17640 10940 p 17641 10941 q … … 17645 10945 /@infodir@/p 17646 10946 /@localedir@/p 17647 /@mandir@/p 17648 ' $ac_file_inputs` in10947 /@mandir@/p' 10948 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17649 10949 *datarootdir*) ac_datarootdir_seen=yes;; 17650 10950 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17651 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&517652 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}17653 _ACEOF 17654 cat >>$CONFIG_STATUS <<_ACEOF 10951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10952 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10953 _ACEOF 10954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17655 10955 ac_datarootdir_hack=' 17656 10956 s&@datadir@&$datadir&g … … 17659 10959 s&@localedir@&$localedir&g 17660 10960 s&@mandir@&$mandir&g 17661 10961 s&\\\${datarootdir}&$datarootdir&g' ;; 17662 10962 esac 17663 10963 _ACEOF … … 17666 10966 # Shell code in configure.ac might set extrasub. 17667 10967 # FIXME: do we really want to maintain this feature? 17668 cat >>$CONFIG_STATUS <<_ACEOF 17669 sed"$ac_vpsub10968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10969 ac_sed_extra="$ac_vpsub 17670 10970 $extrasub 17671 10971 _ACEOF 17672 cat >>$CONFIG_STATUS <<\_ACEOF 10972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17673 10973 :t 17674 10974 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17675 s &@configure_input@&$configure_input&;t t10975 s|@configure_input@|$ac_sed_conf_input|;t t 17676 10976 s&@top_builddir@&$ac_top_builddir_sub&;t t 10977 s&@top_build_prefix@&$ac_top_build_prefix&;t t 17677 10978 s&@srcdir@&$ac_srcdir&;t t 17678 10979 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 17685 10986 s&@MKDIR_P@&$ac_MKDIR_P&;t t 17686 10987 $ac_datarootdir_hack 17687 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 10988 " 10989 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10990 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17688 10991 17689 10992 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17690 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17691 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17692 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17693 which seems to be undefined. Please make sure it is defined." >&5 17694 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17695 which seems to be undefined. Please make sure it is defined." >&2;} 17696 17697 rm -f "$tmp/stdin" 10993 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10994 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10995 "$ac_tmp/out"`; test -z "$ac_out"; } && 10996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10997 which seems to be undefined. Please make sure it is defined" >&5 10998 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10999 which seems to be undefined. Please make sure it is defined" >&2;} 11000 11001 rm -f "$ac_tmp/stdin" 17698 11002 case $ac_file in 17699 -) cat "$tmp/out"; rm -f "$tmp/out";; 17700 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 17701 esac 11003 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 11004 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 11005 esac \ 11006 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17702 11007 ;; 17703 11008 :H) … … 17705 11010 # CONFIG_HEADER 17706 11011 # 17707 _ACEOF17708 17709 # Transform confdefs.h into a sed script `conftest.defines', that17710 # substitutes the proper values into config.h.in to produce config.h.17711 rm -f conftest.defines conftest.tail17712 # First, append a space to every undef/define line, to ease matching.17713 echo 's/$/ /' >conftest.defines17714 # Then, protect against being on the right side of a sed subst, or in17715 # an unquoted here document, in config.status. If some macros were17716 # called several times there might be several #defines for the same17717 # symbol, which is useless. But do not sort them, since the last17718 # AC_DEFINE must be honored.17719 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*17720 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where17721 # NAME is the cpp macro being defined, VALUE is the value it is being given.17722 # PARAMS is the parameter list in the macro definition--in most cases, it's17723 # just an empty string.17724 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'17725 ac_dB='\\)[ (].*,\\1define\\2'17726 ac_dC=' '17727 ac_dD=' ,'17728 17729 uniq confdefs.h |17730 sed -n '17731 t rset17732 :rset17733 s/^[ ]*#[ ]*define[ ][ ]*//17734 t ok17735 d17736 :ok17737 s/[\\&,]/\\&/g17738 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p17739 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p17740 ' >>conftest.defines17741 17742 # Remove the space that was appended to ease matching.17743 # Then replace #undef with comments. This is necessary, for17744 # example, in the case of _POSIX_SOURCE, which is predefined and required17745 # on some systems where configure will not decide to define it.17746 # (The regexp can be short, since the line contains either #define or #undef.)17747 echo 's/ $//17748 s,^[ #]*u.*,/* & */,' >>conftest.defines17749 17750 # Break up conftest.defines:17751 ac_max_sed_lines=5017752 17753 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"17754 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"17755 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"17756 # et cetera.17757 ac_in='$ac_file_inputs'17758 ac_out='"$tmp/out1"'17759 ac_nxt='"$tmp/out2"'17760 17761 while :17762 do17763 # Write a here document:17764 cat >>$CONFIG_STATUS <<_ACEOF17765 # First, check the format of the line:17766 cat >"\$tmp/defines.sed" <<\\CEOF17767 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def17768 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def17769 b17770 :def17771 _ACEOF17772 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS17773 echo 'CEOF17774 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS17775 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in17776 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail17777 grep . conftest.tail >/dev/null || break17778 rm -f conftest.defines17779 mv conftest.tail conftest.defines17780 done17781 rm -f conftest.defines conftest.tail17782 17783 echo "ac_result=$ac_in" >>$CONFIG_STATUS17784 cat >>$CONFIG_STATUS <<\_ACEOF17785 11012 if test x"$ac_file" != x-; then 17786 echo "/* $configure_input */" >"$tmp/config.h" 17787 cat "$ac_result" >>"$tmp/config.h" 17788 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 17789 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 17790 echo "$as_me: $ac_file is unchanged" >&6;} 11013 { 11014 $as_echo "/* $configure_input */" \ 11015 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11016 } >"$ac_tmp/config.h" \ 11017 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11018 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11019 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11020 $as_echo "$as_me: $ac_file is unchanged" >&6;} 17791 11021 else 17792 rm -f $ac_file 17793 mv "$tmp/config.h" $ac_file 11022 rm -f "$ac_file" 11023 mv "$ac_tmp/config.h" "$ac_file" \ 11024 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17794 11025 fi 17795 11026 else 17796 echo "/* $configure_input */"17797 cat "$ac_result"17798 fi17799 rm -f "$tmp/out12"11027 $as_echo "/* $configure_input */" \ 11028 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11029 || as_fn_error $? "could not create -" "$LINENO" 5 11030 fi 17800 11031 ;; 17801 11032 … … 17806 11037 17807 11038 17808 { (exit 0); exit 0; } 17809 _ACEOF 17810 chmod +x $CONFIG_STATUS 11039 as_fn_exit 0 11040 _ACEOF 17811 11041 ac_clean_files=$ac_clean_files_save 11042 11043 test $ac_write_fail = 0 || 11044 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17812 11045 17813 11046 … … 17830 11063 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17831 11064 # would make configure fail if this is the last instruction. 17832 $ac_cs_success || { (exit 1); exit 1; }11065 $ac_cs_success || as_fn_exit 1 17833 11066 fi 17834 11067 … … 17838 11071 if test "$no_recursion" != yes; then 17839 11072 17840 # Remove --cache-file and --srcdir arguments so they do not pile up. 11073 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 11074 # so they do not pile up. 17841 11075 ac_sub_configure_args= 17842 11076 ac_prev= … … 17867 11101 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 17868 11102 ;; 11103 --disable-option-checking) 11104 ;; 17869 11105 *) 17870 11106 case $ac_arg in 17871 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11107 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17872 11108 esac 17873 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;11109 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 17874 11110 esac 17875 11111 done … … 17879 11115 ac_arg="--prefix=$prefix" 17880 11116 case $ac_arg in 17881 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11117 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17882 11118 esac 17883 11119 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 17888 11124 fi 17889 11125 11126 # Always prepend --disable-option-checking to silence warnings, since 11127 # different subdirs can have different --enable and --with options. 11128 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 11129 17890 11130 ac_popdir=`pwd` 17891 11131 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 17896 11136 17897 11137 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 17898 echo "$as_me:$LINENO: $ac_msg" >&5 17899 echo "$ac_msg" >&6 17900 { as_dir="$ac_dir" 17901 case $as_dir in #( 17902 -*) as_dir=./$as_dir;; 17903 esac 17904 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17905 as_dirs= 17906 while :; do 17907 case $as_dir in #( 17908 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 17909 *) as_qdir=$as_dir;; 17910 esac 17911 as_dirs="'$as_qdir' $as_dirs" 17912 as_dir=`$as_dirname -- "$as_dir" || 17913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17914 X"$as_dir" : 'X\(//\)[^/]' \| \ 17915 X"$as_dir" : 'X\(//\)$' \| \ 17916 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17917 echo X"$as_dir" | 17918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17919 s//\1/ 17920 q 17921 } 17922 /^X\(\/\/\)[^/].*/{ 17923 s//\1/ 17924 q 17925 } 17926 /^X\(\/\/\)$/{ 17927 s//\1/ 17928 q 17929 } 17930 /^X\(\/\).*/{ 17931 s//\1/ 17932 q 17933 } 17934 s/.*/./; q'` 17935 test -d "$as_dir" && break 17936 done 17937 test -z "$as_dirs" || eval "mkdir $as_dirs" 17938 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17939 echo "$as_me: error: cannot create directory $as_dir" >&2;} 17940 { (exit 1); exit 1; }; }; } 11138 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 11139 $as_echo "$ac_msg" >&6 11140 as_dir="$ac_dir"; as_fn_mkdir_p 17941 11141 ac_builddir=. 17942 11142 … … 17944 11144 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17945 11145 *) 17946 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`11146 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17947 11147 # A ".." for each directory in $ac_dir_suffix. 17948 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`11148 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17949 11149 case $ac_top_builddir_sub in 17950 11150 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 17985 11185 ac_sub_configure=$ac_aux_dir/configure 17986 11186 else 17987 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&517988 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}11187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 11188 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 17989 11189 ac_sub_configure= 17990 11190 fi … … 17999 11199 esac 18000 11200 18001 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&518002 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}11201 { $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 11202 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 18003 11203 # The eval makes quoting arguments work. 18004 11204 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 18005 11205 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 18006 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 18007 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 18008 { (exit 1); exit 1; }; } 11206 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 18009 11207 fi 18010 11208 … … 18012 11210 done 18013 11211 fi 18014 11212 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11214 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11215 fi 11216 -
branches/blt4/configure.in
r2045 r2060 1 1 2 AC_INIT([Rappture],[1.1],[rappture@nanohub.org]) 2 3 dnl AC_CONFIG_HEADER(src/core/RpConfig.h) … … 124 125 TCLSH= 125 126 if test "${rp_with_tclsh}" != "no" ; then 126 AC_MSG_CHECKING([for tclsh]) 127 if test -x "${rp_with_tclsh}/bin/tclsh" 127 AC_MSG_CHECKING([for tclsh]) 128 if test -x "${rp_with_tclsh}/bin/tclsh" 129 then 130 TCLSH="${rp_with_tclsh}/bin/tclsh" 131 else 132 if test -x "${rp_with_tclsh}" 128 133 then 129 echo Found tclsh in ${rp_with_tclsh}/bin/tclsh 130 TCLSH="${rp_with_tclsh}/bin/tclsh" 134 TCLSH="${rp_with_tclsh}" 131 135 else 132 if test -x "${rp_with_tclsh}" 133 then 134 echo "Found tclsh in ${rp_with_tclsh}" 135 TCLSH="${rp_with_tclsh}" 136 else 137 if test -x "${exec_prefix}/bin/tclsh" 138 then 139 echo Found tclsh in ${exec_prefix}/bin/tclsh 140 TCLSH="${exec_prefix}/bin/tclsh" 141 else 142 for v in 8.4 8.5 8.6 ; do 143 if test -x "${exec_prefix}/bin/tclsh${v}" 144 then 145 echo Found tclsh in ${exec_prefix}/bin/tclsh${v} 146 TCLSH="${exec_prefix}/bin/tclsh${v}" 147 break 148 fi 149 done 150 fi 151 fi 136 if test -x "${exec_prefix}/bin/tclsh" 137 then 138 TCLSH="${exec_prefix}/bin/tclsh" 139 else 140 for v in 8.4 8.5 8.6 ; do 141 if test -x "${exec_prefix}/bin/tclsh${v}" 142 then 143 TCLSH="${exec_prefix}/bin/tclsh${v}" 144 break 145 fi 146 done 147 fi 152 148 fi 153 if ! test -x ${TCLSH} 154 then 155 AC_PATH_PROG(TCLSH, tclsh) 156 fi 157 fi 158 149 fi 150 if ! test -x ${TCLSH} ; then 151 AC_PATH_PROG(TCLSH, tclsh) 152 fi 153 fi 159 154 AC_MSG_RESULT([${TCLSH}]) 160 155 AC_SUBST(TCLSH) … … 284 279 MKOCTFILE3= 285 280 if test "$rp_with_octave" != "no" ; then 286 AC_MSG_CHECKING([for octave and mkoctfile])287 281 if test "$rp_with_octave" = "yes" ; then 288 282 AC_PATH_PROG(OCTAVE, octave) … … 316 310 if test "$rp_with_octave2" != "no" ; then 317 311 if test "$rp_with_octave2" = "yes" ; then 318 AC_MSG_CHECKING([for octave and mkoctfile])319 312 AC_PATH_PROG(octave2, octave) 320 313 AC_PATH_PROG(mkoctfile2, mkoctfile) … … 342 335 [rp_with_octave3=no]) 343 336 344 echo rp_with_octave3=$rp_with_octave3345 337 if test "$rp_with_octave3" != "no" ; then 346 338 if test "$rp_with_octave3" = "yes" ; then 347 AC_MSG_CHECKING([for octave and mkoctfile])348 339 AC_PATH_PROG(octave3, octave) 349 340 AC_PATH_PROG(mkoctfile3, mkoctfile) … … 354 345 fi 355 346 356 echo octave3=$octave3357 347 if test "x${octave3}" != "x" ; then 358 echo version="${octave3} -v | grep version | cut -d' ' -f4"359 348 version=`${octave3} -v | grep version | cut -d' ' -f4` 360 echo version=$version361 349 version_major=`echo ${version} | cut -d'.' -f1` 362 echo version_major=$version_major363 350 if test "$version_major" = "3" ; then 364 351 OCTAVE3=$rp_with_octave3 … … 394 381 PERL_LIBSPEC= 395 382 if test "$rp_with_perl" != "no" ; then 396 AC_MSG_CHECKING([for perl])397 383 if test "$rp_with_perl" != "yes" ; then 398 384 AC_PATH_PROG(PERL, perl, [], [$rp_with_perl/bin:$rp_with_perl]) … … 410 396 PERL_ARCHLIBEXP=`${PERL} -MConfig -e 'print $Config{archlibexp}'` 411 397 PERL_VERSION_RV=`echo ${PERL_VERSION} | cut -d'.' -f1-2` 412 echo perllib="${PERL_ARCHLIBEXP}/CORE/libperl${SHLIB_SUFFIX}"413 414 398 # libperl may or may not be installed. Check for its existence. 415 399 if test -f "${PERL_ARCHLIBEXP}/CORE/libperl${SHLIB_SUFFIX}" ; then … … 418 402 fi 419 403 fi 420 AC_MSG_RESULT([${PERL}])421 404 AC_SUBST(PERL) 422 405 AC_SUBST(PERL_INCLUDES) … … 435 418 PYTHON_CFLAGS="" 436 419 PYTHON_CPPFLAGS="" 437 HAVE_PYTHON_DISTUTILS=""420 PYTHON_DISTUTILS="" 438 421 PYTHON_INCLUDES="" 439 422 PYTHON_LDFLAGS="" … … 451 434 452 435 if test "$rp_with_python" != "no" ; then 453 AC_MSG_CHECKING([for python]) 454 if test -x "$rp_with_python/bin/python"; then 455 echo Found python in $rp_with_python/bin/python 456 PYTHON="$rp_with_python/bin/python" 457 elif test -x "$rp_with_python"; then 458 echo Found python in $rp_with_python 459 PYTHON="$rp_with_python" 436 if test "$rp_with_python" = "yes" ; then 437 AC_PATH_PROG(PYTHON, python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5) 460 438 else 461 AC_PATH_PROG(PYTHON, python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5) 462 fi 439 AC_PATH_PROG(PYTHON, python, [], [${rp_with_python}/bin:${rp_with_python}]) 440 fi 441 AC_MSG_CHECKING([for Python version]) 463 442 if test "x${PYTHON}" != "x"; then 464 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"` 465 echo Using python version $PYTHON_VERSION 466 fi 467 if test "x${PYTHON_VERSION}" != "x"; then 468 if test -r $rp_with_python/include/python$PYTHON_VERSION/Python.h -a \ 469 -d $rp_with_python/lib/python$PYTHON_VERSION/site-packages; then 470 PYTHON_INCLUDES=$rp_with_python/include/python$PYTHON_VERSION 471 PYTHON_SITE_PACKAGES=$rp_with_python/lib/python$PYTHON_VERSION/site-packages 472 else 473 if test -r $prefix/include/python$PYTHON_VERSION/Python.h; then 474 PYTHON_INCLUDES='$(prefix)/include/python$(PYTHON_VERSION)' 475 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages' 476 else 477 if test -r /usr/include/python$PYTHON_VERSION/Python.h; then 478 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION 479 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages' 480 else 481 echo could not find python$PYTHON_VERSION/Python.h 482 fi 483 fi 484 if test ! -d "$PYTHON_SITE_PACKAGES"; then 485 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 486 fi 487 fi 488 fi 489 if test "x$rp_with_python" != "x" ; then 490 pythondir='$(PYTHON_SITE_PACKAGES)' 491 else 492 pythondir='$(libdir)/python${PYTHON_VERSION}/site-packages' 493 fi 494 495 AC_MSG_CHECKING([for python distutils]) 443 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[[0:3]]"` 444 fi 445 AC_MSG_RESULT([$PYTHON_VERSION]) 446 fi 447 448 if test "x${PYTHON_VERSION}" != "x"; then 449 PYTHON_INCLUDES=$incdir 450 AC_MSG_CHECKING([for Python distutils]) 451 PYTHON_DISTUTILS="" 496 452 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 497 453 build build_ext 2>&1 > /dev/null 498 454 if test $? = 0 ; then 499 HAVE_PYTHON_DISTUTILS="yes" 500 else 501 HAVE_PYTHON_DISTUTILS="no" 502 fi 503 AC_MSG_RESULT([$HAVE_PYTHON_DISTUTILS]) 504 505 if test "${HAVE_PYTHON_DISTUTILS}" = "yes"; then 455 PYTHON_DISTUTILS="yes" 456 fi 457 AC_MSG_RESULT([$PYTHON_DISTUTILS]) 458 if test "${PYTHON_DISTUTILS}" = "yes" ; then 459 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 506 460 # 507 461 # Check for Python include path 508 462 # 509 AC_MSG_CHECKING([for Python include path]) 510 if test "x${PYTHON_CPPFLAGS}" = "x"; then 511 incdir_path=`${PYTHON} -c "import distutils.sysconfig; \ 512 print distutils.sysconfig.get_python_inc();"` 513 if test -n "${incdir}"; then 514 python_path="-I${incdir}" 515 fi 516 PYTHON_CPPFLAGS=$python_path 517 fi 518 AC_MSG_RESULT([$PYTHON_CPPFLAGS]) 519 AC_SUBST([PYTHON_CPPFLAGS]) 463 AC_MSG_CHECKING([path to Python headers]) 464 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 465 print distutils.sysconfig.get_python_inc();"` 466 AC_MSG_RESULT([$PYTHON_INCDIR]) 520 467 # 521 # python distutils found, get settings from python directly468 # Python distutils found, get settings from python directly 522 469 # 523 AC_MSG_CHECKING([location of site-packages])524 470 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 525 471 526 472 PYTHON_CFLAGS="`$PYTHON -c 'from distutils import sysconfig; flags = [[\"-I\" + sysconfig.get_python_inc(0), \"-I\" + sysconfig.get_python_inc(1), \" \".join(sysconfig.get_config_var(\"CFLAGS\").split())]]; print \" \".join(flags);'`" 527 473 PYTHON_LDFLAGS="`$PYTHON -c 'from distutils import sysconfig; libs = sysconfig.get_config_var(\"LIBS\").split() + sysconfig.get_config_var(\"SYSLIBS\").split(); libs.append(\"-lpython\"+sysconfig.get_config_var(\"VERSION\")); print \" \".join(libs);'`" 528 474 PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`" 529 475 PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`" 530 fi 531 fi 532 AC_SUBST(pythondir) 476 save_CPPFLAGS=$CPPFLAGS 477 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 478 AC_CHECK_HEADERS([Python.h], [found=yes], [found=no]) 479 CPPFLAGS=$save_CPPFLAGS 480 if test "$found" = "no" ; then 481 PYTHON_DISTUTILS="" 482 fi 483 fi 484 fi 533 485 534 486 AC_SUBST(PYTHON) 535 487 AC_SUBST(PYTHON_VERSION) 536 488 AC_SUBST(PYTHON_INCLUDES) 489 AC_SUBST(PYTHON_CFLAGS) 490 AC_SUBST(PYTHON_INCDIR) 491 AC_SUBST(PYTHON_LDFLAGS) 492 AC_SUBST(PYTHON_LIB) 493 AC_SUBST(PYTHON_SITE_DIR) 494 AC_SUBST(PYTHON_LIBDIR) 537 495 AC_SUBST(PYTHON_SITE_PACKAGES) 538 AC_SUBST( HAVE_PYTHON_DISTUTILS)496 AC_SUBST(PYTHON_DISTUTILS) 539 497 540 498 rp_with_ruby="yes" … … 820 778 examples/app-fermi/matlab/compiled/Makefile 821 779 examples/app-fermi/matlab/uncompiled/Makefile 822 examples/app-fermi/octave/Makefile823 780 examples/app-fermi/octave/2/Makefile 824 781 examples/app-fermi/octave/3/Makefile 782 examples/app-fermi/octave/Makefile 825 783 examples/app-fermi/perl/Makefile 826 784 examples/app-fermi/python/Makefile … … 881 839 examples/zoo/number/Makefile 882 840 examples/zoo/number2/Makefile 841 examples/zoo/parallelepiped/Makefile 883 842 examples/zoo/periodicelement/Makefile 884 examples/zoo/parallelepiped/Makefile885 843 examples/zoo/phase/Makefile 886 844 examples/zoo/sequence/Makefile -
branches/blt4/gui/apps/rerun.in
r1980 r2060 32 32 dir=`dirname $0` 33 33 . $dir/rappture.env 34 exec rappture -nosim true -load $*34 exec $dir/driver -nosim true -load "$*" -
branches/blt4/gui/scripts/getopts.tcl
r1919 r2060 125 125 } 126 126 list { 127 if {[llength $args] < 2} { 128 error "missing value for option $first" 129 } 130 foreach arg [lrange $args 1 end] { 131 if {[string index $arg 0] == "-"} { 127 set rest [lrange $args 1 end] 128 set n [llength $rest] 129 set values {} 130 for { set i 0 } { $i < $n } { incr i } { 131 set value [lindex $rest $i] 132 if { [string index $value 0] == "-"} { 132 133 break 133 134 } 135 lappend values $value 134 136 } 135 set idx [lsearch -exact $args $arg] 136 if {$idx == [expr [llength $args] - 1]} { 137 if { $i == $n } { 137 138 # reached the end of the $args list 138 139 # with no other -'d arguments 139 set params($first) [lrange $args 1 end]140 set params($first) $values 140 141 set args "" 141 142 } else { 142 143 # there are further -'d arguments to process 143 set params($first) [lrange $args 1 [expr $idx-1]]144 set args [lrange $ args $idxend]144 set params($first) $values 145 set args [lrange $rest $i end] 145 146 } 146 147 } -
branches/blt4/lang/Makefile.in
r1824 r2060 18 18 PERL = @PERL@ 19 19 TCLSH = @TCLSH@ 20 PYTHON = @ HAVE_PYTHON_DISTUTILS@20 PYTHON = @PYTHON_DISTUTILS@ 21 21 MEX = @MEX@ 22 22 MKOCTFILE = @MKOCTFILE@ -
branches/blt4/lang/python/Makefile.in
r1948 r2060 21 21 22 22 PYTHON = @PYTHON@ 23 PYTHON_FLAGS = --library-dirs=$(libdir):../../src/core \ 24 --include-dirs=$(srcdir)/../../src/core:$(includedir) 23 PYTHON_INCDIR = @PYTHON_INCDIR@ 25 24 PYTHON_VERSION = @PYTHON_VERSION@ 25 26 python_flags = --library-dirs=$(libdir):../../src/core \ 27 --include-dirs=$(srcdir)/../../src/core:$(PYTHON_INCDIR) 26 28 pythonlib = $(libdir)/python$(PYTHON_VERSION)/site-packages 27 29 envfile = python.env … … 34 36 # 35 37 all: build/tmp 36 $(PYTHON) setup.py build_ext $( PYTHON_FLAGS) build38 $(PYTHON) setup.py build_ext $(python_flags) build 37 39 38 40 build/tmp: -
branches/blt4/src/objects/RpVideo.c
r2044 r2060 705 705 global_video_pkt_pts = packet.pts; 706 706 707 #ifdef FFMPEG_AVCODEC_H 708 // old avcodec decode video function 707 709 avcodec_decode_video(vcodecCtx, vidPtr->pFrameYUV, 708 710 &frameFinished, packet.data, packet.size); 709 710 // avcodec_decode_video2(vcodecCtx, vidPtr->pFrameYUV, 711 // &frameFinished, &packet); 711 #else 712 // new avcodec decode video function 713 avcodec_decode_video2(vcodecCtx, vidPtr->pFrameYUV, 714 &frameFinished, &packet); 715 #endif 712 716 713 717 if (packet.dts == AV_NOPTS_VALUE … … 1238 1242 width = (*num)*width; 1239 1243 height = (*den)*height; 1244 #ifdef FFMPEG_COMMON_H 1245 // old gcd function 1246 gcd = ff_gcd(FFABS(width), FFABS(height)); 1247 #else 1248 // new gcd function 1240 1249 gcd = av_gcd(FFABS(width), FFABS(height)); 1250 #endif 1251 1241 1252 1242 1253 *num = width/gcd;
Note: See TracChangeset
for help on using the changeset viewer.