Changeset 2180
- Timestamp:
- Mar 31, 2011, 11:20:27 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r2177 r2180 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 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." 114 246 fi 115 done 116 117 # Required to use basename. 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 mkoctfile3 663 mkoctfile2 664 MKOCTFILE 665 OCTAVE 666 MEX_ARCH 667 MCC 668 MEXEXT 669 MEX 670 MATLAB 671 VTKDIR 672 TCL_LIB_SPEC 673 TCL_INC_SPEC 674 TCL_VERSION 675 TCLSH 676 ENABLE_GUI 677 MAKE 678 INSTALL_STUB_LIB 679 INSTALL_LIB 680 MAKE_STUB_LIB 681 MAKE_LIB 682 SHLIB_SUFFIX 683 SHLIB_CFLAGS 684 SHLIB_LD_LIBS 685 TK_SHLIB_LD_EXTRAS 686 TCL_SHLIB_LD_EXTRAS 687 SHLIB_LD 688 STLIB_LD 689 LD_SEARCH_FLAGS 690 CC_SEARCH_FLAGS 691 LDFLAGS_OPTIMIZE 692 LDFLAGS_DEBUG 693 CFLAGS_WARNING 694 CFLAGS_OPTIMIZE 695 CFLAGS_DEBUG 696 PLAT_SRCS 697 PLAT_OBJS 698 DL_OBJS 699 DL_LIBS 700 AR 701 HAVE_INTTYPES_H 702 CXXCPP 703 EGREP 704 GREP 705 CPP 706 ac_ct_F77 707 FFLAGS 708 F77 709 ac_ct_CXX 710 CXXFLAGS 711 CXX 712 OBJEXT 713 EXEEXT 714 ac_ct_CC 715 CPPFLAGS 716 LDFLAGS 717 CFLAGS 718 CC 719 SET_MAKE 720 MKDIR_P 721 LN_S 722 RANLIB 723 INSTALL_DATA 724 INSTALL_SCRIPT 725 INSTALL_PROGRAM 726 LIB_SEARCH_DIRS 727 INSTALL_PREFIX 728 target_alias 729 host_alias 730 build_alias 731 LIBS 732 ECHO_T 733 ECHO_N 734 ECHO_C 735 DEFS 736 mandir 737 localedir 738 libdir 739 psdir 740 pdfdir 741 dvidir 742 htmldir 743 infodir 744 docdir 745 oldincludedir 746 includedir 747 localstatedir 748 sharedstatedir 749 sysconfdir 750 datadir 751 datarootdir 752 libexecdir 753 sbindir 754 bindir 755 program_transform_name 756 prefix 757 exec_prefix 758 PACKAGE_URL 759 PACKAGE_BUGREPORT 760 PACKAGE_STRING 761 PACKAGE_VERSION 762 PACKAGE_TARNAME 763 PACKAGE_NAME 618 764 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 INSTALL_PREFIX 655 LIB_SEARCH_DIRS 656 INSTALL_PROGRAM 657 INSTALL_SCRIPT 658 INSTALL_DATA 659 RANLIB 660 LN_S 661 SET_MAKE 662 CC 663 CFLAGS 664 LDFLAGS 665 CPPFLAGS 666 ac_ct_CC 667 EXEEXT 668 OBJEXT 669 CXX 670 CXXFLAGS 671 ac_ct_CXX 672 F77 673 FFLAGS 674 ac_ct_F77 675 CPP 676 GREP 677 EGREP 678 CXXCPP 679 HAVE_INTTYPES_H 680 AR 681 DL_LIBS 682 DL_OBJS 683 PLAT_OBJS 684 PLAT_SRCS 685 CFLAGS_DEBUG 686 CFLAGS_OPTIMIZE 687 CFLAGS_WARNING 688 LDFLAGS_DEBUG 689 LDFLAGS_OPTIMIZE 690 CC_SEARCH_FLAGS 691 LD_SEARCH_FLAGS 692 STLIB_LD 693 SHLIB_LD 694 TCL_SHLIB_LD_EXTRAS 695 TK_SHLIB_LD_EXTRAS 696 SHLIB_LD_LIBS 697 SHLIB_CFLAGS 698 SHLIB_SUFFIX 699 MAKE_LIB 700 MAKE_STUB_LIB 701 INSTALL_LIB 702 INSTALL_STUB_LIB 703 MAKE 704 ENABLE_GUI 705 TCLSH 706 TCL_VERSION 707 TCL_INC_SPEC 708 TCL_LIB_SPEC 709 VTKDIR 710 MATLAB 711 MEX 712 MEXEXT 713 MCC 714 MEX_ARCH 715 OCTAVE 716 MKOCTFILE 717 octave2 718 mkoctfile2 719 octave3 720 mkoctfile3 721 OCTAVE2 722 OCTAVE3 723 OCTAVE_VERSION 724 OCTAVE_VERSION_MAJOR 725 MKOCTFILE2 726 MKOCTFILE3 727 PERL 728 PERL_INCLUDES 729 PERL_ARCHLIB 730 PERL_ARCHLIBEXP 731 PERL_VERSION 732 PERL_CCFLAGS 733 PERL_CPPFLAGS 734 PERL_VENDORLIB 735 PERL_PRIVLIB 736 PERL_INSTALLARCHLIB 737 PERL_VERSION_RV 738 PERL_LIBSPEC 739 PYTHON 740 PYTHON_VERSION 741 PYTHON_INCLUDES 742 PYTHON_CFLAGS 743 PYTHON_INCDIR 744 PYTHON_LDFLAGS 745 PYTHON_LIB 746 PYTHON_SITE_DIR 747 PYTHON_LIBDIR 748 PYTHON_SITE_PACKAGES 749 PYTHON_DISTUTILS 750 RUBY 751 SED 752 RUBY_VERSION 753 AWK 754 RUBY_CPPFLAGS 755 RUBY_LDFLAGS 756 RUBY_SITE_PKG 757 RUBY_EXTRA_LIBS 758 HAVE_RUBY_DEVEL 759 RUBY_VERSION_RV 760 RUBY_PLATFORM 761 JAVA 762 JAVAC 763 JAVAH 764 JAVA_HOME 765 JAVA_INC_DIR 766 JAVA_INC_SPEC 767 RP_BASE 768 SHLIB_LDFLAGS 769 TK_VERSION 770 SIZEOF_INT 771 SIZEOF_LONG 772 SIZEOF_LONG_LONG 773 SIZEOF_VOID_P 774 CFLAGS_DEFAULT 775 LDFLAGS_DEFAULT 776 HAVE_FFMPEG_LIBS 777 subdirs 778 LIBOBJS 779 LTLIBOBJS' 765 SHELL' 780 766 ac_subst_files='' 767 ac_user_opts=' 768 enable_option_checking 769 with_install 770 enable_64bit 771 enable_64bit_vis 772 enable_corefoundation 773 enable_load 774 enable_gui 775 with_tclsh 776 with_vtk 777 with_matlab 778 with_octave 779 with_mkoctfile2 780 with_mkoctfile3 781 with_perl 782 with_python 783 with_ruby 784 with_java 785 enable_shared 786 enable_symbols 787 ' 781 788 ac_precious_vars='build_alias 782 789 host_alias … … 799 806 ac_init_help= 800 807 ac_init_version=false 808 ac_unrecognized_opts= 809 ac_unrecognized_sep= 801 810 # The variables have the same names as the options, with 802 811 # dashes changed to underlines. … … 854 863 855 864 case $ac_option in 856 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 857 *) ac_optarg=yes ;; 865 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 866 *=) ac_optarg= ;; 867 *) ac_optarg=yes ;; 858 868 esac 859 869 … … 897 907 898 908 -disable-* | --disable-*) 899 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`909 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 900 910 # Reject names that are not valid shell variable names. 901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 903 { (exit 1); exit 1; }; } 904 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 905 eval enable_$ac_feature=no ;; 911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 912 as_fn_error $? "invalid feature name: $ac_useropt" 913 ac_useropt_orig=$ac_useropt 914 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 915 case $ac_user_opts in 916 *" 917 "enable_$ac_useropt" 918 "*) ;; 919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 920 ac_unrecognized_sep=', ';; 921 esac 922 eval enable_$ac_useropt=no ;; 906 923 907 924 -docdir | --docdir | --docdi | --doc | --do) … … 916 933 917 934 -enable-* | --enable-*) 918 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`935 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 919 936 # Reject names that are not valid shell variable names. 920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 922 { (exit 1); exit 1; }; } 923 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 924 eval enable_$ac_feature=\$ac_optarg ;; 937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 938 as_fn_error $? "invalid feature name: $ac_useropt" 939 ac_useropt_orig=$ac_useropt 940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 941 case $ac_user_opts in 942 *" 943 "enable_$ac_useropt" 944 "*) ;; 945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 946 ac_unrecognized_sep=', ';; 947 esac 948 eval enable_$ac_useropt=\$ac_optarg ;; 925 949 926 950 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1113 1137 1114 1138 -with-* | --with-*) 1115 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1139 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1116 1140 # Reject names that are not valid shell variable names. 1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1118 { echo "$as_me: error: invalid package name: $ac_package" >&2 1119 { (exit 1); exit 1; }; } 1120 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1121 eval with_$ac_package=\$ac_optarg ;; 1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1142 as_fn_error $? "invalid package name: $ac_useropt" 1143 ac_useropt_orig=$ac_useropt 1144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1145 case $ac_user_opts in 1146 *" 1147 "with_$ac_useropt" 1148 "*) ;; 1149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1150 ac_unrecognized_sep=', ';; 1151 esac 1152 eval with_$ac_useropt=\$ac_optarg ;; 1122 1153 1123 1154 -without-* | --without-*) 1124 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1155 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1125 1156 # Reject names that are not valid shell variable names. 1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1127 { echo "$as_me: error: invalid package name: $ac_package" >&2 1128 { (exit 1); exit 1; }; } 1129 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1130 eval with_$ac_package=no ;; 1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1158 as_fn_error $? "invalid package name: $ac_useropt" 1159 ac_useropt_orig=$ac_useropt 1160 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1161 case $ac_user_opts in 1162 *" 1163 "with_$ac_useropt" 1164 "*) ;; 1165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1166 ac_unrecognized_sep=', ';; 1167 esac 1168 eval with_$ac_useropt=no ;; 1131 1169 1132 1170 --x) … … 1148 1186 x_libraries=$ac_optarg ;; 1149 1187 1150 -*) { echo "$as_me: error: unrecognized option: $ac_option 1151 Try \`$0 --help' for more information." >&2 1152 { (exit 1); exit 1; }; } 1188 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1189 Try \`$0 --help' for more information" 1153 1190 ;; 1154 1191 … … 1156 1193 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1157 1194 # Reject names that are not valid shell variable names. 1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1160 { (exit 1); exit 1; }; } 1195 case $ac_envvar in #( 1196 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1197 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1198 esac 1161 1199 eval $ac_envvar=\$ac_optarg 1162 1200 export $ac_envvar ;; … … 1164 1202 *) 1165 1203 # FIXME: should be removed in autoconf 3.0. 1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&21204 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1167 1205 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&21169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1206 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1207 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1170 1208 ;; 1171 1209 … … 1175 1213 if test -n "$ac_prev"; then 1176 1214 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1177 { echo "$as_me: error: missing argument to $ac_option" >&2 1178 { (exit 1); exit 1; }; } 1179 fi 1180 1181 # Be sure to have absolute directory names. 1215 as_fn_error $? "missing argument to $ac_option" 1216 fi 1217 1218 if test -n "$ac_unrecognized_opts"; then 1219 case $enable_option_checking in 1220 no) ;; 1221 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1222 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1223 esac 1224 fi 1225 1226 # Check all directory arguments for consistency. 1182 1227 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1183 1228 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1186 1231 do 1187 1232 eval ac_val=\$$ac_var 1233 # Remove trailing slashes. 1234 case $ac_val in 1235 */ ) 1236 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1237 eval $ac_var=\$ac_val;; 1238 esac 1239 # Be sure to have absolute directory names. 1188 1240 case $ac_val in 1189 1241 [\\/$]* | ?:[\\/]* ) continue;; 1190 1242 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1191 1243 esac 1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1193 { (exit 1); exit 1; }; } 1244 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1194 1245 done 1195 1246 … … 1205 1256 if test "x$build_alias" = x; then 1206 1257 cross_compiling=maybe 1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1208 If a cross compiler is detected then cross compile mode will be used ." >&21258 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1259 If a cross compiler is detected then cross compile mode will be used" >&2 1209 1260 elif test "x$build_alias" != "x$host_alias"; then 1210 1261 cross_compiling=yes … … 1221 1272 ac_ls_di=`ls -di .` && 1222 1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1223 { echo "$as_me: error: Working directory cannot be determined" >&2 1224 { (exit 1); exit 1; }; } 1274 as_fn_error $? "working directory cannot be determined" 1225 1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1226 { echo "$as_me: error: pwd does not report name of working directory" >&2 1227 { (exit 1); exit 1; }; } 1276 as_fn_error $? "pwd does not report name of working directory" 1228 1277 1229 1278 … … 1232 1281 ac_srcdir_defaulted=yes 1233 1282 # Try the directory containing this script, then the parent directory. 1234 ac_confdir=`$as_dirname -- "$ 0" ||1235 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1236 X"$ 0" : 'X\(//\)[^/]' \| \1237 X"$ 0" : 'X\(//\)$' \| \1238 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1239 echo X"$0" |1283 ac_confdir=`$as_dirname -- "$as_myself" || 1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1285 X"$as_myself" : 'X\(//\)[^/]' \| \ 1286 X"$as_myself" : 'X\(//\)$' \| \ 1287 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1288 $as_echo X"$as_myself" | 1240 1289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1241 1290 s//\1/ … … 1264 1313 if test ! -r "$srcdir/$ac_unique_file"; then 1265 1314 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1267 { (exit 1); exit 1; }; } 1315 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1268 1316 fi 1269 1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1270 1318 ac_abs_confdir=`( 1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1272 { (exit 1); exit 1; }; } 1319 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1273 1320 pwd)` 1274 1321 # When building in place, set srcdir=. … … 1310 1357 --help=recursive display the short help of all the included packages 1311 1358 -V, --version display version information and exit 1312 -q, --quiet, --silent do not print \`checking ...' messages1359 -q, --quiet, --silent do not print \`checking ...' messages 1313 1360 --cache-file=FILE cache test results in FILE [disabled] 1314 1361 -C, --config-cache alias for \`--cache-file=config.cache' … … 1318 1365 Installation directories: 1319 1366 --prefix=PREFIX install architecture-independent files in PREFIX 1320 1367 [$ac_default_prefix] 1321 1368 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1322 1369 [PREFIX] 1323 1370 1324 1371 By default, \`make install' will install all the files in … … 1330 1377 1331 1378 Fine tuning of the installation directories: 1332 --bindir=DIR user executables [EPREFIX/bin]1333 --sbindir=DIR system admin executables [EPREFIX/sbin]1334 --libexecdir=DIR program executables [EPREFIX/libexec]1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1338 --libdir=DIR object code libraries [EPREFIX/lib]1339 --includedir=DIR C header files [PREFIX/include]1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1343 --infodir=DIR info documentation [DATAROOTDIR/info]1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1345 --mandir=DIR man documentation [DATAROOTDIR/man]1346 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1347 --htmldir=DIR html documentation [DOCDIR]1348 --dvidir=DIR dvi documentation [DOCDIR]1349 --pdfdir=DIR pdf documentation [DOCDIR]1350 --psdir=DIR ps documentation [DOCDIR]1379 --bindir=DIR user executables [EPREFIX/bin] 1380 --sbindir=DIR system admin executables [EPREFIX/sbin] 1381 --libexecdir=DIR program executables [EPREFIX/libexec] 1382 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1383 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1384 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1385 --libdir=DIR object code libraries [EPREFIX/lib] 1386 --includedir=DIR C header files [PREFIX/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1390 --infodir=DIR info documentation [DATAROOTDIR/info] 1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1392 --mandir=DIR man documentation [DATAROOTDIR/man] 1393 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1394 --htmldir=DIR html documentation [DOCDIR] 1395 --dvidir=DIR dvi documentation [DOCDIR] 1396 --pdfdir=DIR pdf documentation [DOCDIR] 1397 --psdir=DIR ps documentation [DOCDIR] 1351 1398 _ACEOF 1352 1399 … … 1362 1409 1363 1410 Optional Features: 1411 --disable-option-checking ignore unrecognized --enable/--with options 1364 1412 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1365 1413 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1380 1428 --with-vtk=DIR location of vtk library [default=yes] 1381 1429 --with-matlab=DIR location of matlab and mex compiler [default=yes] 1382 --with-octave=DIR location of octave compiler MKOCTFILE [default=yes] 1383 --with-octave2=DIR location of octave compiler MKOCTFILE [default=no] 1384 --with-octave3=DIR location of octave compiler MKOCTFILE [default=no] 1430 --with-octave=DIR path of default octave compiler `mkoctfile' 1431 [default=yes] 1432 --with-mkoctfile2=DIR path of octave compiler `mkoctfile' [default=no] 1433 --with-mkoctfile3=DIR path of octave compiler `mkoctfile' [default=no] 1385 1434 --with-perl=DIR location of perl [default=yes] 1386 1435 --with-python=DIR location of python [default=yes] … … 1394 1443 nonstandard directory <lib dir> 1395 1444 LIBS libraries to pass to the linker, e.g. -l<library> 1396 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1445 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1397 1446 you have headers in a nonstandard directory <include dir> 1398 1447 CXX C++ compiler command … … 1414 1463 # If there are subdirs, report their specific --help. 1415 1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1416 test -d "$ac_dir" || continue 1465 test -d "$ac_dir" || 1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1467 continue 1417 1468 ac_builddir=. 1418 1469 … … 1420 1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1421 1472 *) 1422 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1423 1474 # A ".." for each directory in $ac_dir_suffix. 1424 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|/||'` 1425 1476 case $ac_top_builddir_sub in 1426 1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1458 1509 $SHELL "$ac_srcdir/configure" --help=recursive 1459 1510 else 1460 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 1461 1512 fi || ac_status=$? 1462 1513 cd "$ac_pwd" || { ac_status=$?; break; } … … 1468 1519 cat <<\_ACEOF 1469 1520 Rappture configure 1.1 1470 generated by GNU Autoconf 2.61 1471 1472 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1473 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. 1474 1524 This configure script is free software; the Free Software Foundation 1475 1525 gives unlimited permission to copy, distribute and modify it. … … 1477 1527 exit 1478 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 1479 2331 cat >config.log <<_ACEOF 1480 2332 This file contains any messages produced by compilers while … … 1482 2334 1483 2335 It was created by Rappture $as_me 1.1, which was 1484 generated by GNU Autoconf 2.6 1. Invocation command line was2336 generated by GNU Autoconf 2.68. Invocation command line was 1485 2337 1486 2338 $ $0 $@ … … 1518 2370 IFS=$as_save_IFS 1519 2371 test -z "$as_dir" && as_dir=. 1520 echo "PATH: $as_dir"1521 done2372 $as_echo "PATH: $as_dir" 2373 done 1522 2374 IFS=$as_save_IFS 1523 2375 … … 1553 2405 continue ;; 1554 2406 *\'*) 1555 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2407 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1556 2408 esac 1557 2409 case $ac_pass in 1558 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2410 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1559 2411 2) 1560 a c_configure_args1="$ac_configure_args1'$ac_arg'"2412 as_fn_append ac_configure_args1 " '$ac_arg'" 1561 2413 if test $ac_must_keep_next = true; then 1562 2414 ac_must_keep_next=false # Got value, back to normal. … … 1574 2426 esac 1575 2427 fi 1576 a c_configure_args="$ac_configure_args'$ac_arg'"2428 as_fn_append ac_configure_args " '$ac_arg'" 1577 2429 ;; 1578 2430 esac 1579 2431 done 1580 2432 done 1581 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1582 $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;} 1583 2435 1584 2436 # When interrupted or exit'd, cleanup temporary files, and complete … … 1592 2444 echo 1593 2445 1594 cat <<\_ASBOX 1595 ## ---------------- ## 2446 $as_echo "## ---------------- ## 1596 2447 ## Cache variables. ## 1597 ## ---------------- ## 1598 _ASBOX 2448 ## ---------------- ##" 1599 2449 echo 1600 2450 # The following way of writing the cache mishandles newlines in values, … … 1605 2455 *${as_nl}*) 1606 2456 case $ac_var in #( 1607 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51608 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;} ;; 1609 2459 esac 1610 2460 case $ac_var in #( 1611 2461 _ | IFS | as_nl) ;; #( 1612 *) $as_unset $ac_var ;; 2462 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2463 *) { eval $ac_var=; unset $ac_var;} ;; 1613 2464 esac ;; 1614 2465 esac … … 1629 2480 echo 1630 2481 1631 cat <<\_ASBOX 1632 ## ----------------- ## 2482 $as_echo "## ----------------- ## 1633 2483 ## Output variables. ## 1634 ## ----------------- ## 1635 _ASBOX 2484 ## ----------------- ##" 1636 2485 echo 1637 2486 for ac_var in $ac_subst_vars … … 1639 2488 eval ac_val=\$$ac_var 1640 2489 case $ac_val in 1641 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2490 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1642 2491 esac 1643 echo "$ac_var='\''$ac_val'\''"2492 $as_echo "$ac_var='\''$ac_val'\''" 1644 2493 done | sort 1645 2494 echo 1646 2495 1647 2496 if test -n "$ac_subst_files"; then 1648 cat <<\_ASBOX 1649 ## ------------------- ## 2497 $as_echo "## ------------------- ## 1650 2498 ## File substitutions. ## 1651 ## ------------------- ## 1652 _ASBOX 2499 ## ------------------- ##" 1653 2500 echo 1654 2501 for ac_var in $ac_subst_files … … 1656 2503 eval ac_val=\$$ac_var 1657 2504 case $ac_val in 1658 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2505 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1659 2506 esac 1660 echo "$ac_var='\''$ac_val'\''"2507 $as_echo "$ac_var='\''$ac_val'\''" 1661 2508 done | sort 1662 2509 echo … … 1664 2511 1665 2512 if test -s confdefs.h; then 1666 cat <<\_ASBOX 1667 ## ----------- ## 2513 $as_echo "## ----------- ## 1668 2514 ## confdefs.h. ## 1669 ## ----------- ## 1670 _ASBOX 2515 ## ----------- ##" 1671 2516 echo 1672 2517 cat confdefs.h … … 1674 2519 fi 1675 2520 test "$ac_signal" != 0 && 1676 echo "$as_me: caught signal $ac_signal"1677 echo "$as_me: exit $exit_status"2521 $as_echo "$as_me: caught signal $ac_signal" 2522 $as_echo "$as_me: exit $exit_status" 1678 2523 } >&5 1679 2524 rm -f core *.core core.conftest.* && … … 1682 2527 ' 0 1683 2528 for ac_signal in 1 2 13 15; do 1684 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2529 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1685 2530 done 1686 2531 ac_signal=0 … … 1689 2534 rm -f -r conftest* confdefs.h 1690 2535 2536 $as_echo "/* confdefs.h */" > confdefs.h 2537 1691 2538 # Predefined preprocessor variables. 1692 2539 … … 1695 2542 _ACEOF 1696 2543 1697 1698 2544 cat >>confdefs.h <<_ACEOF 1699 2545 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1700 2546 _ACEOF 1701 2547 1702 1703 2548 cat >>confdefs.h <<_ACEOF 1704 2549 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1705 2550 _ACEOF 1706 2551 1707 1708 2552 cat >>confdefs.h <<_ACEOF 1709 2553 #define PACKAGE_STRING "$PACKAGE_STRING" 1710 2554 _ACEOF 1711 2555 1712 1713 2556 cat >>confdefs.h <<_ACEOF 1714 2557 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1715 2558 _ACEOF 1716 2559 2560 cat >>confdefs.h <<_ACEOF 2561 #define PACKAGE_URL "$PACKAGE_URL" 2562 _ACEOF 2563 1717 2564 1718 2565 # Let the site file select an alternate cache file if it wants to. 1719 # 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 1720 2569 if test -n "$CONFIG_SITE"; then 1721 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 1722 2576 elif test "x$prefix" != xNONE; then 1723 set x "$prefix/share/config.site" "$prefix/etc/config.site"1724 else1725 set x "$ac_default_prefix/share/config.site" \ 1726 "$ac_default_prefix/etc/config.site" 1727 fi 1728 shift 1729 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" 1730 2584 do 1731 if test -r "$ac_site_file"; then 1732 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1733 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;} 1734 2589 sed 's/^/| /' "$ac_site_file" >&5 1735 . "$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; } 1736 2595 fi 1737 2596 done 1738 2597 1739 2598 if test -r "$cache_file"; then 1740 # Some versions of bash will fail to source /dev/null (special 1741 # files actually), so we avoid doing that.1742 if test -f "$cache_file"; then1743 { echo "$as_me:$LINENO: loading cache $cache_file" >&51744 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;} 1745 2604 case $cache_file in 1746 2605 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1749 2608 fi 1750 2609 else 1751 { echo "$as_me:$LINENO: creating cache $cache_file" >&51752 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;} 1753 2612 >$cache_file 1754 2613 fi … … 1764 2623 case $ac_old_set,$ac_new_set in 1765 2624 set,) 1766 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51767 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;} 1768 2627 ac_cache_corrupted=: ;; 1769 2628 ,set) 1770 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51771 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;} 1772 2631 ac_cache_corrupted=: ;; 1773 2632 ,);; 1774 2633 *) 1775 2634 if test "x$ac_old_val" != "x$ac_new_val"; then 1776 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1777 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1778 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1779 echo "$as_me: former value: $ac_old_val" >&2;} 1780 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1781 echo "$as_me: current value: $ac_new_val" >&2;} 1782 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;} 1783 2651 fi;; 1784 2652 esac … … 1786 2654 if test "$ac_new_set" = set; then 1787 2655 case $ac_new_val in 1788 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2656 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1789 2657 *) ac_arg=$ac_var=$ac_new_val ;; 1790 2658 esac 1791 2659 case " $ac_configure_args " in 1792 2660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1793 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2661 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1794 2662 esac 1795 2663 fi 1796 2664 done 1797 2665 if $ac_cache_corrupted; then 1798 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1799 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1800 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1801 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1802 { (exit 1); exit 1; }; } 1803 fi 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 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 ## -------------------- ## 1828 2675 1829 2676 ac_ext=c … … 1851 2698 done 1852 2699 if test -z "$ac_aux_dir"; then 1853 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1854 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1855 { (exit 1); exit 1; }; } 2700 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1856 2701 fi 1857 2702 … … 1869 2714 1870 2715 with_tclsh=yes 2716 rp_with_tclsh="yes" 2717 rp_with_mkoctfile2="no" 2718 rp_with_mkoctfile3="no" 2719 rp_with_octave="yes" 2720 rp_with_vtk="yes" 2721 rp_with_matlab="yes" 2722 rp_with_perl="yes" 2723 rp_with_python="yes" 2724 rp_with_ruby="yes" 2725 rp_with_java="yes" 2726 with_install="yes" 1871 2727 1872 2728 #------------------------------------------------------------------------ … … 1883 2739 1884 2740 # Check whether --with-install was given. 1885 if test "${with_install+set}" = set; then 2741 if test "${with_install+set}" = set; then : 1886 2742 withval=$with_install; 1887 2743 else … … 1918 2774 # OS/2's system install, which has a completely different semantic 1919 2775 # ./install, which can be erroneously created by make from ./install.sh. 1920 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1921 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2776 # Reject install programs that cannot install multiple files. 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2778 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1922 2779 if test -z "$INSTALL"; then 1923 if test "${ac_cv_path_install+set}" = set; then1924 echo $ECHO_N "(cached) $ECHO_C" >&62780 if ${ac_cv_path_install+:} false; then : 2781 $as_echo_n "(cached) " >&6 1925 2782 else 1926 2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1929 2786 IFS=$as_save_IFS 1930 2787 test -z "$as_dir" && as_dir=. 1931 # Account for people who put trailing slashes in PATH elements.1932 case $as_dir/ in 1933 ./ | .// | / cC/* | \2788 # Account for people who put trailing slashes in PATH elements. 2789 case $as_dir/ in #(( 2790 ./ | .// | /[cC]/* | \ 1934 2791 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1935 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2792 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1936 2793 /usr/ucb/* ) ;; 1937 2794 *) … … 1951 2808 : 1952 2809 else 1953 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1954 break 3 2810 rm -rf conftest.one conftest.two conftest.dir 2811 echo one > conftest.one 2812 echo two > conftest.two 2813 mkdir conftest.dir 2814 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2815 test -s conftest.one && test -s conftest.two && 2816 test -s conftest.dir/conftest.one && 2817 test -s conftest.dir/conftest.two 2818 then 2819 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2820 break 3 2821 fi 1955 2822 fi 1956 2823 fi … … 1959 2826 ;; 1960 2827 esac 1961 done 2828 2829 done 1962 2830 IFS=$as_save_IFS 1963 2831 2832 rm -rf conftest.one conftest.two conftest.dir 1964 2833 1965 2834 fi … … 1974 2843 fi 1975 2844 fi 1976 { echo "$as_me:$LINENO: result: $INSTALL" >&51977 echo "${ECHO_T}$INSTALL" >&6; }2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2846 $as_echo "$INSTALL" >&6; } 1978 2847 1979 2848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1985 2854 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1986 2855 1987 # Find a good install program. We prefer a C program (faster),1988 # so one script is as good as another. But avoid the broken or1989 # incompatible versions:1990 # SysV /etc/install, /usr/sbin/install1991 # SunOS /usr/etc/install1992 # IRIX /sbin/install1993 # AIX /bin/install1994 # AmigaOS /C/install, which installs bootblocks on floppy discs1995 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1996 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1997 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1998 # OS/2's system install, which has a completely different semantic1999 # ./install, which can be erroneously created by make from ./install.sh.2000 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52001 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }2002 if test -z "$INSTALL"; then2003 if test "${ac_cv_path_install+set}" = set; then2004 echo $ECHO_N "(cached) $ECHO_C" >&62005 else2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2007 for as_dir in $PATH2008 do2009 IFS=$as_save_IFS2010 test -z "$as_dir" && as_dir=.2011 # Account for people who put trailing slashes in PATH elements.2012 case $as_dir/ in2013 ./ | .// | /cC/* | \2014 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2015 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2016 /usr/ucb/* ) ;;2017 *)2018 # OSF1 and SCO ODT 3.0 have their own names for install.2019 # Don't use installbsd from OSF since it installs stuff as root2020 # by default.2021 for ac_prog in ginstall scoinst install; do2022 for ac_exec_ext in '' $ac_executable_extensions; do2023 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2024 if test $ac_prog = install &&2025 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2026 # AIX install. It has an incompatible calling convention.2027 :2028 elif test $ac_prog = install &&2029 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2030 # program-specific install script used by HP pwplus--don't use.2031 :2032 else2033 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2034 break 32035 fi2036 fi2037 done2038 done2039 ;;2040 esac2041 done2042 IFS=$as_save_IFS2043 2044 2045 fi2046 if test "${ac_cv_path_install+set}" = set; then2047 INSTALL=$ac_cv_path_install2048 else2049 # As a last resort, use the slow shell script. Don't cache a2050 # value for INSTALL within a source directory, because that will2051 # break other packages using the cache if that directory is2052 # removed, or if the value is a relative name.2053 INSTALL=$ac_install_sh2054 fi2055 fi2056 { echo "$as_me:$LINENO: result: $INSTALL" >&52057 echo "${ECHO_T}$INSTALL" >&6; }2058 2059 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2060 # It thinks the first close brace ends the variable substitution.2061 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2062 2063 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2064 2065 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2066 2856 2067 2857 if test -n "$ac_tool_prefix"; then 2068 2858 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2069 2859 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2070 { echo "$as_me:$LINENO: checking for $ac_word" >&52071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2072 if test "${ac_cv_prog_RANLIB+set}" = set; then2073 echo $ECHO_N "(cached) $ECHO_C" >&62860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2861 $as_echo_n "checking for $ac_word... " >&6; } 2862 if ${ac_cv_prog_RANLIB+:} false; then : 2863 $as_echo_n "(cached) " >&6 2074 2864 else 2075 2865 if test -n "$RANLIB"; then … … 2081 2871 IFS=$as_save_IFS 2082 2872 test -z "$as_dir" && as_dir=. 2083 for ac_exec_ext in '' $ac_executable_extensions; do2873 for ac_exec_ext in '' $ac_executable_extensions; do 2084 2874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2085 2875 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2087 2877 break 2 2088 2878 fi 2089 2879 done 2090 done2880 done 2091 2881 IFS=$as_save_IFS 2092 2882 … … 2095 2885 RANLIB=$ac_cv_prog_RANLIB 2096 2886 if test -n "$RANLIB"; then 2097 { echo "$as_me:$LINENO: result: $RANLIB" >&52098 echo "${ECHO_T}$RANLIB" >&6; }2099 else 2100 { echo "$as_me:$LINENO: result: no" >&52101 echo "${ECHO_T}no" >&6; }2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2888 $as_echo "$RANLIB" >&6; } 2889 else 2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2891 $as_echo "no" >&6; } 2102 2892 fi 2103 2893 … … 2108 2898 # Extract the first word of "ranlib", so it can be a program name with args. 2109 2899 set dummy ranlib; ac_word=$2 2110 { echo "$as_me:$LINENO: checking for $ac_word" >&52111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2112 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2113 echo $ECHO_N "(cached) $ECHO_C" >&62900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2901 $as_echo_n "checking for $ac_word... " >&6; } 2902 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2903 $as_echo_n "(cached) " >&6 2114 2904 else 2115 2905 if test -n "$ac_ct_RANLIB"; then … … 2121 2911 IFS=$as_save_IFS 2122 2912 test -z "$as_dir" && as_dir=. 2123 for ac_exec_ext in '' $ac_executable_extensions; do2913 for ac_exec_ext in '' $ac_executable_extensions; do 2124 2914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2125 2915 ac_cv_prog_ac_ct_RANLIB="ranlib" 2126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2127 2917 break 2 2128 2918 fi 2129 2919 done 2130 done2920 done 2131 2921 IFS=$as_save_IFS 2132 2922 … … 2135 2925 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2136 2926 if test -n "$ac_ct_RANLIB"; then 2137 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52138 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2139 else 2140 { echo "$as_me:$LINENO: result: no" >&52141 echo "${ECHO_T}no" >&6; }2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2928 $as_echo "$ac_ct_RANLIB" >&6; } 2929 else 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2931 $as_echo "no" >&6; } 2142 2932 fi 2143 2933 … … 2147 2937 case $cross_compiling:$ac_tool_warned in 2148 2938 yes:) 2149 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2150 whose name does not start with the host triplet. If you think this 2151 configuration is useful to you, please write to autoconf@gnu.org." >&5 2152 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2153 whose name does not start with the host triplet. If you think this 2154 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2155 2941 ac_tool_warned=yes ;; 2156 2942 esac … … 2161 2947 fi 2162 2948 2163 { echo "$as_me:$LINENO: checking whether ln -s works" >&52164 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2950 $as_echo_n "checking whether ln -s works... " >&6; } 2165 2951 LN_S=$as_ln_s 2166 2952 if test "$LN_S" = "ln -s"; then 2167 { echo "$as_me:$LINENO: result: yes" >&52168 echo "${ECHO_T}yes" >&6; }2169 else 2170 { echo "$as_me:$LINENO: result: no, using $LN_S" >&52171 echo "${ECHO_T}no, using $LN_S" >&6; }2172 fi 2173 2174 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52175 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2954 $as_echo "yes" >&6; } 2955 else 2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2957 $as_echo "no, using $LN_S" >&6; } 2958 fi 2959 2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2961 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2176 2962 if test -z "$MKDIR_P"; then 2177 if test "${ac_cv_path_mkdir+set}" = set; then2178 echo $ECHO_N "(cached) $ECHO_C" >&62963 if ${ac_cv_path_mkdir+:} false; then : 2964 $as_echo_n "(cached) " >&6 2179 2965 else 2180 2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2183 2969 IFS=$as_save_IFS 2184 2970 test -z "$as_dir" && as_dir=. 2185 for ac_prog in mkdir gmkdir; do2971 for ac_prog in mkdir gmkdir; do 2186 2972 for ac_exec_ext in '' $ac_executable_extensions; do 2187 2973 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 2195 2981 done 2196 2982 done 2197 done2983 done 2198 2984 IFS=$as_save_IFS 2199 2985 2200 2986 fi 2201 2987 2988 test -d ./--version && rmdir ./--version 2202 2989 if test "${ac_cv_path_mkdir+set}" = set; then 2203 2990 MKDIR_P="$ac_cv_path_mkdir -p" … … 2207 2994 # break other packages using the cache if that directory is 2208 2995 # removed, or if the value is a relative name. 2209 test -d ./--version && rmdir ./--version2210 2996 MKDIR_P="$ac_install_sh -d" 2211 2997 fi 2212 2998 fi 2213 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2214 echo "${ECHO_T}$MKDIR_P" >&6; } 2215 2216 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2217 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2218 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2219 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2220 echo $ECHO_N "(cached) $ECHO_C" >&6 2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3000 $as_echo "$MKDIR_P" >&6; } 3001 3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3003 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3004 set x ${MAKE-make} 3005 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3006 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3007 $as_echo_n "(cached) " >&6 2221 3008 else 2222 3009 cat >conftest.make <<\_ACEOF … … 2225 3012 @echo '@@@%%%=$(MAKE)=@@@%%%' 2226 3013 _ACEOF 2227 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3014 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2228 3015 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2229 3016 *@@@%%%=?*=@@@%%%*) … … 2235 3022 fi 2236 3023 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2237 { echo "$as_me:$LINENO: result: yes" >&52238 echo "${ECHO_T}yes" >&6; }3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3025 $as_echo "yes" >&6; } 2239 3026 SET_MAKE= 2240 3027 else 2241 { echo "$as_me:$LINENO: result: no" >&52242 echo "${ECHO_T}no" >&6; }3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3029 $as_echo "no" >&6; } 2243 3030 SET_MAKE="MAKE=${MAKE-make}" 2244 3031 fi … … 2254 3041 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2255 3042 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2256 { echo "$as_me:$LINENO: checking for $ac_word" >&52257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2258 if test "${ac_cv_prog_CC+set}" = set; then2259 echo $ECHO_N "(cached) $ECHO_C" >&63043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3044 $as_echo_n "checking for $ac_word... " >&6; } 3045 if ${ac_cv_prog_CC+:} false; then : 3046 $as_echo_n "(cached) " >&6 2260 3047 else 2261 3048 if test -n "$CC"; then … … 2267 3054 IFS=$as_save_IFS 2268 3055 test -z "$as_dir" && as_dir=. 2269 for ac_exec_ext in '' $ac_executable_extensions; do3056 for ac_exec_ext in '' $ac_executable_extensions; do 2270 3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2271 3058 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2273 3060 break 2 2274 3061 fi 2275 3062 done 2276 done3063 done 2277 3064 IFS=$as_save_IFS 2278 3065 … … 2281 3068 CC=$ac_cv_prog_CC 2282 3069 if test -n "$CC"; then 2283 { echo "$as_me:$LINENO: result: $CC" >&52284 echo "${ECHO_T}$CC" >&6; }2285 else 2286 { echo "$as_me:$LINENO: result: no" >&52287 echo "${ECHO_T}no" >&6; }3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3071 $as_echo "$CC" >&6; } 3072 else 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3074 $as_echo "no" >&6; } 2288 3075 fi 2289 3076 … … 2294 3081 # Extract the first word of "gcc", so it can be a program name with args. 2295 3082 set dummy gcc; ac_word=$2 2296 { echo "$as_me:$LINENO: checking for $ac_word" >&52297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2299 echo $ECHO_N "(cached) $ECHO_C" >&63083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3084 $as_echo_n "checking for $ac_word... " >&6; } 3085 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3086 $as_echo_n "(cached) " >&6 2300 3087 else 2301 3088 if test -n "$ac_ct_CC"; then … … 2307 3094 IFS=$as_save_IFS 2308 3095 test -z "$as_dir" && as_dir=. 2309 for ac_exec_ext in '' $ac_executable_extensions; do3096 for ac_exec_ext in '' $ac_executable_extensions; do 2310 3097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2311 3098 ac_cv_prog_ac_ct_CC="gcc" 2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2313 3100 break 2 2314 3101 fi 2315 3102 done 2316 done3103 done 2317 3104 IFS=$as_save_IFS 2318 3105 … … 2321 3108 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2322 3109 if test -n "$ac_ct_CC"; then 2323 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52324 echo "${ECHO_T}$ac_ct_CC" >&6; }2325 else 2326 { echo "$as_me:$LINENO: result: no" >&52327 echo "${ECHO_T}no" >&6; }3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3111 $as_echo "$ac_ct_CC" >&6; } 3112 else 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3114 $as_echo "no" >&6; } 2328 3115 fi 2329 3116 … … 2333 3120 case $cross_compiling:$ac_tool_warned in 2334 3121 yes:) 2335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2336 whose name does not start with the host triplet. If you think this 2337 configuration is useful to you, please write to autoconf@gnu.org." >&5 2338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2339 whose name does not start with the host triplet. If you think this 2340 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2341 3124 ac_tool_warned=yes ;; 2342 3125 esac … … 2351 3134 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2352 3135 set dummy ${ac_tool_prefix}cc; ac_word=$2 2353 { echo "$as_me:$LINENO: checking for $ac_word" >&52354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2355 if test "${ac_cv_prog_CC+set}" = set; then2356 echo $ECHO_N "(cached) $ECHO_C" >&63136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3137 $as_echo_n "checking for $ac_word... " >&6; } 3138 if ${ac_cv_prog_CC+:} false; then : 3139 $as_echo_n "(cached) " >&6 2357 3140 else 2358 3141 if test -n "$CC"; then … … 2364 3147 IFS=$as_save_IFS 2365 3148 test -z "$as_dir" && as_dir=. 2366 for ac_exec_ext in '' $ac_executable_extensions; do3149 for ac_exec_ext in '' $ac_executable_extensions; do 2367 3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2368 3151 ac_cv_prog_CC="${ac_tool_prefix}cc" 2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2370 3153 break 2 2371 3154 fi 2372 3155 done 2373 done3156 done 2374 3157 IFS=$as_save_IFS 2375 3158 … … 2378 3161 CC=$ac_cv_prog_CC 2379 3162 if test -n "$CC"; then 2380 { echo "$as_me:$LINENO: result: $CC" >&52381 echo "${ECHO_T}$CC" >&6; }2382 else 2383 { echo "$as_me:$LINENO: result: no" >&52384 echo "${ECHO_T}no" >&6; }3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3164 $as_echo "$CC" >&6; } 3165 else 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3167 $as_echo "no" >&6; } 2385 3168 fi 2386 3169 … … 2391 3174 # Extract the first word of "cc", so it can be a program name with args. 2392 3175 set dummy cc; ac_word=$2 2393 { echo "$as_me:$LINENO: checking for $ac_word" >&52394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2395 if test "${ac_cv_prog_CC+set}" = set; then2396 echo $ECHO_N "(cached) $ECHO_C" >&63176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3177 $as_echo_n "checking for $ac_word... " >&6; } 3178 if ${ac_cv_prog_CC+:} false; then : 3179 $as_echo_n "(cached) " >&6 2397 3180 else 2398 3181 if test -n "$CC"; then … … 2405 3188 IFS=$as_save_IFS 2406 3189 test -z "$as_dir" && as_dir=. 2407 for ac_exec_ext in '' $ac_executable_extensions; do3190 for ac_exec_ext in '' $ac_executable_extensions; do 2408 3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2409 3192 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2412 3195 fi 2413 3196 ac_cv_prog_CC="cc" 2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2415 3198 break 2 2416 3199 fi 2417 3200 done 2418 done3201 done 2419 3202 IFS=$as_save_IFS 2420 3203 … … 2435 3218 CC=$ac_cv_prog_CC 2436 3219 if test -n "$CC"; then 2437 { echo "$as_me:$LINENO: result: $CC" >&52438 echo "${ECHO_T}$CC" >&6; }2439 else 2440 { echo "$as_me:$LINENO: result: no" >&52441 echo "${ECHO_T}no" >&6; }3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3221 $as_echo "$CC" >&6; } 3222 else 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3224 $as_echo "no" >&6; } 2442 3225 fi 2443 3226 … … 2450 3233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2451 3234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2452 { echo "$as_me:$LINENO: checking for $ac_word" >&52453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2454 if test "${ac_cv_prog_CC+set}" = set; then2455 echo $ECHO_N "(cached) $ECHO_C" >&63235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3236 $as_echo_n "checking for $ac_word... " >&6; } 3237 if ${ac_cv_prog_CC+:} false; then : 3238 $as_echo_n "(cached) " >&6 2456 3239 else 2457 3240 if test -n "$CC"; then … … 2463 3246 IFS=$as_save_IFS 2464 3247 test -z "$as_dir" && as_dir=. 2465 for ac_exec_ext in '' $ac_executable_extensions; do3248 for ac_exec_ext in '' $ac_executable_extensions; do 2466 3249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2467 3250 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2469 3252 break 2 2470 3253 fi 2471 3254 done 2472 done3255 done 2473 3256 IFS=$as_save_IFS 2474 3257 … … 2477 3260 CC=$ac_cv_prog_CC 2478 3261 if test -n "$CC"; then 2479 { echo "$as_me:$LINENO: result: $CC" >&52480 echo "${ECHO_T}$CC" >&6; }2481 else 2482 { echo "$as_me:$LINENO: result: no" >&52483 echo "${ECHO_T}no" >&6; }3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3263 $as_echo "$CC" >&6; } 3264 else 3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3266 $as_echo "no" >&6; } 2484 3267 fi 2485 3268 … … 2494 3277 # Extract the first word of "$ac_prog", so it can be a program name with args. 2495 3278 set dummy $ac_prog; ac_word=$2 2496 { echo "$as_me:$LINENO: checking for $ac_word" >&52497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2499 echo $ECHO_N "(cached) $ECHO_C" >&63279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3280 $as_echo_n "checking for $ac_word... " >&6; } 3281 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3282 $as_echo_n "(cached) " >&6 2500 3283 else 2501 3284 if test -n "$ac_ct_CC"; then … … 2507 3290 IFS=$as_save_IFS 2508 3291 test -z "$as_dir" && as_dir=. 2509 for ac_exec_ext in '' $ac_executable_extensions; do3292 for ac_exec_ext in '' $ac_executable_extensions; do 2510 3293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2511 3294 ac_cv_prog_ac_ct_CC="$ac_prog" 2512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2513 3296 break 2 2514 3297 fi 2515 3298 done 2516 done3299 done 2517 3300 IFS=$as_save_IFS 2518 3301 … … 2521 3304 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2522 3305 if test -n "$ac_ct_CC"; then 2523 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52524 echo "${ECHO_T}$ac_ct_CC" >&6; }2525 else 2526 { echo "$as_me:$LINENO: result: no" >&52527 echo "${ECHO_T}no" >&6; }3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3307 $as_echo "$ac_ct_CC" >&6; } 3308 else 3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3310 $as_echo "no" >&6; } 2528 3311 fi 2529 3312 … … 2537 3320 case $cross_compiling:$ac_tool_warned in 2538 3321 yes:) 2539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2540 whose name does not start with the host triplet. If you think this 2541 configuration is useful to you, please write to autoconf@gnu.org." >&5 2542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2543 whose name does not start with the host triplet. If you think this 2544 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2545 3324 ac_tool_warned=yes ;; 2546 3325 esac … … 2552 3331 2553 3332 2554 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2555 See \`config.log' for more details." >&5 2556 echo "$as_me: error: no acceptable C compiler found in \$PATH 2557 See \`config.log' for more details." >&2;} 2558 { (exit 1); exit 1; }; } 3333 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3335 as_fn_error $? "no acceptable C compiler found in \$PATH 3336 See \`config.log' for more details" "$LINENO" 5; } 2559 3337 2560 3338 # Provide some information about the compiler. 2561 echo "$as_me:$LINENO: checking for C compiler version" >&5 2562 ac_compiler=`set X $ac_compile; echo $2` 2563 { (ac_try="$ac_compiler --version >&5" 3339 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3340 set X $ac_compile 3341 ac_compiler=$2 3342 for ac_option in --version -v -V -qversion; do 3343 { { ac_try="$ac_compiler $ac_option >&5" 2564 3344 case "(($ac_try" in 2565 3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2566 3346 *) ac_try_echo=$ac_try;; 2567 3347 esac 2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2569 (eval "$ac_compiler --version >&5") 2>&5 3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3349 $as_echo "$ac_try_echo"; } >&5 3350 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2570 3351 ac_status=$? 2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2572 (exit $ac_status); } 2573 { (ac_try="$ac_compiler -v >&5" 3352 if test -s conftest.err; then 3353 sed '10a\ 3354 ... rest of stderr output deleted ... 3355 10q' conftest.err >conftest.er1 3356 cat conftest.er1 >&5 3357 fi 3358 rm -f conftest.er1 conftest.err 3359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3360 test $ac_status = 0; } 3361 done 3362 3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3364 /* end confdefs.h. */ 3365 3366 int 3367 main () 3368 { 3369 3370 ; 3371 return 0; 3372 } 3373 _ACEOF 3374 ac_clean_files_save=$ac_clean_files 3375 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3376 # Try to create an executable without -o first, disregard a.out. 3377 # It will help us diagnose broken compilers, and finding out an intuition 3378 # of exeext. 3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3380 $as_echo_n "checking whether the C compiler works... " >&6; } 3381 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3382 3383 # The possible output files: 3384 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3385 3386 ac_rmfiles= 3387 for ac_file in $ac_files 3388 do 3389 case $ac_file in 3390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3391 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3392 esac 3393 done 3394 rm -f $ac_rmfiles 3395 3396 if { { ac_try="$ac_link_default" 2574 3397 case "(($ac_try" in 2575 3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2576 3399 *) ac_try_echo=$ac_try;; 2577 3400 esac 2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2579 (eval "$ac_compiler -v >&5") 2>&5 2580 ac_status=$? 2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2582 (exit $ac_status); } 2583 { (ac_try="$ac_compiler -V >&5" 2584 case "(($ac_try" in 2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2586 *) ac_try_echo=$ac_try;; 2587 esac 2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2589 (eval "$ac_compiler -V >&5") 2>&5 2590 ac_status=$? 2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 (exit $ac_status); } 2593 2594 cat >conftest.$ac_ext <<_ACEOF 2595 /* confdefs.h. */ 2596 _ACEOF 2597 cat confdefs.h >>conftest.$ac_ext 2598 cat >>conftest.$ac_ext <<_ACEOF 2599 /* end confdefs.h. */ 2600 2601 int 2602 main () 2603 { 2604 2605 ; 2606 return 0; 2607 } 2608 _ACEOF 2609 ac_clean_files_save=$ac_clean_files 2610 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2611 # Try to create an executable without -o first, disregard a.out. 2612 # It will help us diagnose broken compilers, and finding out an intuition 2613 # of exeext. 2614 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2615 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2616 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2617 # 2618 # List of possible output files, starting from the most likely. 2619 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2620 # only as a last resort. b.out is created by i960 compilers. 2621 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2622 # 2623 # The IRIX 6 linker writes into existing files which may not be 2624 # executable, retaining their permissions. Remove them first so a 2625 # subsequent execution test works. 2626 ac_rmfiles= 2627 for ac_file in $ac_files 2628 do 2629 case $ac_file in 2630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2631 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2632 esac 2633 done 2634 rm -f $ac_rmfiles 2635 2636 if { (ac_try="$ac_link_default" 2637 case "(($ac_try" in 2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2639 *) ac_try_echo=$ac_try;; 2640 esac 2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3402 $as_echo "$ac_try_echo"; } >&5 2642 3403 (eval "$ac_link_default") 2>&5 2643 3404 ac_status=$? 2644 echo "$as_me:$LINENO: \$? = $ac_status" >&52645 (exit $ac_status); }; then3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3406 test $ac_status = 0; }; then : 2646 3407 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2647 3408 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2653 3414 test -f "$ac_file" || continue 2654 3415 case $ac_file in 2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3416 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2656 3417 ;; 2657 3418 [ab].out ) … … 2660 3421 break;; 2661 3422 *.* ) 2662 3423 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2663 3424 then :; else 2664 3425 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2679 3440 ac_file='' 2680 3441 fi 2681 2682 { echo "$as_me:$LINENO: result: $ac_file" >&5 2683 echo "${ECHO_T}$ac_file" >&6; } 2684 if test -z "$ac_file"; then 2685 echo "$as_me: failed program was:" >&5 3442 if test -z "$ac_file"; then : 3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3444 $as_echo "no" >&6; } 3445 $as_echo "$as_me: failed program was:" >&5 2686 3446 sed 's/^/| /' conftest.$ac_ext >&5 2687 3447 2688 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2689 See \`config.log' for more details." >&5 2690 echo "$as_me: error: C compiler cannot create executables 2691 See \`config.log' for more details." >&2;} 2692 { (exit 77); exit 77; }; } 2693 fi 2694 3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3450 as_fn_error 77 "C compiler cannot create executables 3451 See \`config.log' for more details" "$LINENO" 5; } 3452 else 3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3454 $as_echo "yes" >&6; } 3455 fi 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3457 $as_echo_n "checking for C compiler default output file name... " >&6; } 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3459 $as_echo "$ac_file" >&6; } 2695 3460 ac_exeext=$ac_cv_exeext 2696 3461 2697 # Check that the compiler produces executables we can run. If not, either 2698 # the compiler is broken, or we cross compile. 2699 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2700 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2701 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2702 # If not cross compiling, check that we can run a simple program. 2703 if test "$cross_compiling" != yes; then 2704 if { ac_try='./$ac_file' 2705 { (case "(($ac_try" in 2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2707 *) ac_try_echo=$ac_try;; 2708 esac 2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2710 (eval "$ac_try") 2>&5 2711 ac_status=$? 2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2713 (exit $ac_status); }; }; then 2714 cross_compiling=no 2715 else 2716 if test "$cross_compiling" = maybe; then 2717 cross_compiling=yes 2718 else 2719 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2720 If you meant to cross compile, use \`--host'. 2721 See \`config.log' for more details." >&5 2722 echo "$as_me: error: cannot run C compiled programs. 2723 If you meant to cross compile, use \`--host'. 2724 See \`config.log' for more details." >&2;} 2725 { (exit 1); exit 1; }; } 2726 fi 2727 fi 2728 fi 2729 { echo "$as_me:$LINENO: result: yes" >&5 2730 echo "${ECHO_T}yes" >&6; } 2731 2732 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3462 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2733 3463 ac_clean_files=$ac_clean_files_save 2734 # Check that the compiler produces executables we can run. If not, either 2735 # the compiler is broken, or we cross compile. 2736 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2737 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2738 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2739 echo "${ECHO_T}$cross_compiling" >&6; } 2740 2741 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2742 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2743 if { (ac_try="$ac_link" 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3465 $as_echo_n "checking for suffix of executables... " >&6; } 3466 if { { ac_try="$ac_link" 2744 3467 case "(($ac_try" in 2745 3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2746 3469 *) ac_try_echo=$ac_try;; 2747 3470 esac 2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3472 $as_echo "$ac_try_echo"; } >&5 2749 3473 (eval "$ac_link") 2>&5 2750 3474 ac_status=$? 2751 echo "$as_me:$LINENO: \$? = $ac_status" >&52752 (exit $ac_status); }; then3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3476 test $ac_status = 0; }; then : 2753 3477 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2754 3478 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2758 3482 test -f "$ac_file" || continue 2759 3483 case $ac_file in 2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2761 3485 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2762 3486 break;; … … 2765 3489 done 2766 3490 else 2767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2768 See \`config.log' for more details." >&5 2769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2770 See \`config.log' for more details." >&2;} 2771 { (exit 1); exit 1; }; } 2772 fi 2773 2774 rm -f conftest$ac_cv_exeext 2775 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2776 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3493 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3494 See \`config.log' for more details" "$LINENO" 5; } 3495 fi 3496 rm -f conftest conftest$ac_cv_exeext 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3498 $as_echo "$ac_cv_exeext" >&6; } 2777 3499 2778 3500 rm -f conftest.$ac_ext 2779 3501 EXEEXT=$ac_cv_exeext 2780 3502 ac_exeext=$EXEEXT 2781 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2783 if test "${ac_cv_objext+set}" = set; then 2784 echo $ECHO_N "(cached) $ECHO_C" >&6 2785 else 2786 cat >conftest.$ac_ext <<_ACEOF 2787 /* confdefs.h. */ 2788 _ACEOF 2789 cat confdefs.h >>conftest.$ac_ext 2790 cat >>conftest.$ac_ext <<_ACEOF 3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2791 3504 /* end confdefs.h. */ 2792 3505 #include <stdio.h> 2793 3506 int 2794 3507 main () 2795 3508 { 3509 FILE *f = fopen ("conftest.out", "w"); 3510 return ferror (f) || fclose (f) != 0; 2796 3511 2797 3512 ; … … 2799 3514 } 2800 3515 _ACEOF 2801 rm -f conftest.o conftest.obj 2802 if { (ac_try="$ac_compile" 3516 ac_clean_files="$ac_clean_files conftest.out" 3517 # Check that the compiler produces executables we can run. If not, either 3518 # the compiler is broken, or we cross compile. 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3520 $as_echo_n "checking whether we are cross compiling... " >&6; } 3521 if test "$cross_compiling" != yes; then 3522 { { ac_try="$ac_link" 2803 3523 case "(($ac_try" in 2804 3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2805 3525 *) ac_try_echo=$ac_try;; 2806 3526 esac 2807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3528 $as_echo "$ac_try_echo"; } >&5 3529 (eval "$ac_link") 2>&5 3530 ac_status=$? 3531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3532 test $ac_status = 0; } 3533 if { ac_try='./conftest$ac_cv_exeext' 3534 { { case "(($ac_try" in 3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3536 *) ac_try_echo=$ac_try;; 3537 esac 3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3539 $as_echo "$ac_try_echo"; } >&5 3540 (eval "$ac_try") 2>&5 3541 ac_status=$? 3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3543 test $ac_status = 0; }; }; then 3544 cross_compiling=no 3545 else 3546 if test "$cross_compiling" = maybe; then 3547 cross_compiling=yes 3548 else 3549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3551 as_fn_error $? "cannot run C compiled programs. 3552 If you meant to cross compile, use \`--host'. 3553 See \`config.log' for more details" "$LINENO" 5; } 3554 fi 3555 fi 3556 fi 3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3558 $as_echo "$cross_compiling" >&6; } 3559 3560 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3561 ac_clean_files=$ac_clean_files_save 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3563 $as_echo_n "checking for suffix of object files... " >&6; } 3564 if ${ac_cv_objext+:} false; then : 3565 $as_echo_n "(cached) " >&6 3566 else 3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3568 /* end confdefs.h. */ 3569 3570 int 3571 main () 3572 { 3573 3574 ; 3575 return 0; 3576 } 3577 _ACEOF 3578 rm -f conftest.o conftest.obj 3579 if { { ac_try="$ac_compile" 3580 case "(($ac_try" in 3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3582 *) ac_try_echo=$ac_try;; 3583 esac 3584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3585 $as_echo "$ac_try_echo"; } >&5 2808 3586 (eval "$ac_compile") 2>&5 2809 3587 ac_status=$? 2810 echo "$as_me:$LINENO: \$? = $ac_status" >&52811 (exit $ac_status); }; then3588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3589 test $ac_status = 0; }; then : 2812 3590 for ac_file in conftest.o conftest.obj conftest.*; do 2813 3591 test -f "$ac_file" || continue; 2814 3592 case $ac_file in 2815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2816 3594 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2817 3595 break;; … … 2819 3597 done 2820 3598 else 2821 echo "$as_me: failed program was:" >&53599 $as_echo "$as_me: failed program was:" >&5 2822 3600 sed 's/^/| /' conftest.$ac_ext >&5 2823 3601 2824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2825 See \`config.log' for more details." >&5 2826 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2827 See \`config.log' for more details." >&2;} 2828 { (exit 1); exit 1; }; } 2829 fi 2830 3602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3604 as_fn_error $? "cannot compute suffix of object files: cannot compile 3605 See \`config.log' for more details" "$LINENO" 5; } 3606 fi 2831 3607 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2832 3608 fi 2833 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52834 echo "${ECHO_T}$ac_cv_objext" >&6; }3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3610 $as_echo "$ac_cv_objext" >&6; } 2835 3611 OBJEXT=$ac_cv_objext 2836 3612 ac_objext=$OBJEXT 2837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2839 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2840 echo $ECHO_N "(cached) $ECHO_C" >&6 2841 else 2842 cat >conftest.$ac_ext <<_ACEOF 2843 /* confdefs.h. */ 2844 _ACEOF 2845 cat confdefs.h >>conftest.$ac_ext 2846 cat >>conftest.$ac_ext <<_ACEOF 3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3614 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3615 if ${ac_cv_c_compiler_gnu+:} false; then : 3616 $as_echo_n "(cached) " >&6 3617 else 3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2847 3619 /* end confdefs.h. */ 2848 3620 … … 2858 3630 } 2859 3631 _ACEOF 2860 rm -f conftest.$ac_objext 2861 if { (ac_try="$ac_compile" 2862 case "(($ac_try" in 2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2864 *) ac_try_echo=$ac_try;; 2865 esac 2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2867 (eval "$ac_compile") 2>conftest.er1 2868 ac_status=$? 2869 grep -v '^ *+' conftest.er1 >conftest.err 2870 rm -f conftest.er1 2871 cat conftest.err >&5 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2873 (exit $ac_status); } && { 2874 test -z "$ac_c_werror_flag" || 2875 test ! -s conftest.err 2876 } && test -s conftest.$ac_objext; then 3632 if ac_fn_c_try_compile "$LINENO"; then : 2877 3633 ac_compiler_gnu=yes 2878 3634 else 2879 echo "$as_me: failed program was:" >&5 2880 sed 's/^/| /' conftest.$ac_ext >&5 2881 2882 ac_compiler_gnu=no 2883 fi 2884 3635 ac_compiler_gnu=no 3636 fi 2885 3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2886 3638 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2887 3639 2888 3640 fi 2889 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2891 GCC=`test $ac_compiler_gnu = yes && echo yes` 3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3642 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3643 if test $ac_compiler_gnu = yes; then 3644 GCC=yes 3645 else 3646 GCC= 3647 fi 2892 3648 ac_test_CFLAGS=${CFLAGS+set} 2893 3649 ac_save_CFLAGS=$CFLAGS 2894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2896 if test "${ac_cv_prog_cc_g+set}" = set; then2897 echo $ECHO_N "(cached) $ECHO_C" >&63650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3651 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3652 if ${ac_cv_prog_cc_g+:} false; then : 3653 $as_echo_n "(cached) " >&6 2898 3654 else 2899 3655 ac_save_c_werror_flag=$ac_c_werror_flag … … 2901 3657 ac_cv_prog_cc_g=no 2902 3658 CFLAGS="-g" 2903 cat >conftest.$ac_ext <<_ACEOF 2904 /* confdefs.h. */ 2905 _ACEOF 2906 cat confdefs.h >>conftest.$ac_ext 2907 cat >>conftest.$ac_ext <<_ACEOF 3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2908 3660 /* end confdefs.h. */ 2909 3661 … … 2916 3668 } 2917 3669 _ACEOF 2918 rm -f conftest.$ac_objext 2919 if { (ac_try="$ac_compile" 2920 case "(($ac_try" in 2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2922 *) ac_try_echo=$ac_try;; 2923 esac 2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2925 (eval "$ac_compile") 2>conftest.er1 2926 ac_status=$? 2927 grep -v '^ *+' conftest.er1 >conftest.err 2928 rm -f conftest.er1 2929 cat conftest.err >&5 2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2931 (exit $ac_status); } && { 2932 test -z "$ac_c_werror_flag" || 2933 test ! -s conftest.err 2934 } && test -s conftest.$ac_objext; then 3670 if ac_fn_c_try_compile "$LINENO"; then : 2935 3671 ac_cv_prog_cc_g=yes 2936 3672 else 2937 echo "$as_me: failed program was:" >&5 2938 sed 's/^/| /' conftest.$ac_ext >&5 2939 2940 CFLAGS="" 2941 cat >conftest.$ac_ext <<_ACEOF 2942 /* confdefs.h. */ 2943 _ACEOF 2944 cat confdefs.h >>conftest.$ac_ext 2945 cat >>conftest.$ac_ext <<_ACEOF 3673 CFLAGS="" 3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2946 3675 /* end confdefs.h. */ 2947 3676 … … 2954 3683 } 2955 3684 _ACEOF 2956 rm -f conftest.$ac_objext 2957 if { (ac_try="$ac_compile" 2958 case "(($ac_try" in 2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2960 *) ac_try_echo=$ac_try;; 2961 esac 2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2963 (eval "$ac_compile") 2>conftest.er1 2964 ac_status=$? 2965 grep -v '^ *+' conftest.er1 >conftest.err 2966 rm -f conftest.er1 2967 cat conftest.err >&5 2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2969 (exit $ac_status); } && { 2970 test -z "$ac_c_werror_flag" || 2971 test ! -s conftest.err 2972 } && test -s conftest.$ac_objext; then 2973 : 2974 else 2975 echo "$as_me: failed program was:" >&5 2976 sed 's/^/| /' conftest.$ac_ext >&5 2977 2978 ac_c_werror_flag=$ac_save_c_werror_flag 3685 if ac_fn_c_try_compile "$LINENO"; then : 3686 3687 else 3688 ac_c_werror_flag=$ac_save_c_werror_flag 2979 3689 CFLAGS="-g" 2980 cat >conftest.$ac_ext <<_ACEOF 2981 /* confdefs.h. */ 2982 _ACEOF 2983 cat confdefs.h >>conftest.$ac_ext 2984 cat >>conftest.$ac_ext <<_ACEOF 3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2985 3691 /* end confdefs.h. */ 2986 3692 … … 2993 3699 } 2994 3700 _ACEOF 2995 rm -f conftest.$ac_objext 2996 if { (ac_try="$ac_compile" 2997 case "(($ac_try" in 2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2999 *) ac_try_echo=$ac_try;; 3000 esac 3001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3002 (eval "$ac_compile") 2>conftest.er1 3003 ac_status=$? 3004 grep -v '^ *+' conftest.er1 >conftest.err 3005 rm -f conftest.er1 3006 cat conftest.err >&5 3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3008 (exit $ac_status); } && { 3009 test -z "$ac_c_werror_flag" || 3010 test ! -s conftest.err 3011 } && test -s conftest.$ac_objext; then 3701 if ac_fn_c_try_compile "$LINENO"; then : 3012 3702 ac_cv_prog_cc_g=yes 3013 else 3014 echo "$as_me: failed program was:" >&5 3015 sed 's/^/| /' conftest.$ac_ext >&5 3016 3017 3018 fi 3019 3703 fi 3020 3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3021 3705 fi 3022 3023 3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3024 3707 fi 3025 3026 3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3027 3709 ac_c_werror_flag=$ac_save_c_werror_flag 3028 3710 fi 3029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3712 $as_echo "$ac_cv_prog_cc_g" >&6; } 3031 3713 if test "$ac_test_CFLAGS" = set; then 3032 3714 CFLAGS=$ac_save_CFLAGS … … 3044 3726 fi 3045 3727 fi 3046 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53047 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3048 if test "${ac_cv_prog_cc_c89+set}" = set; then3049 echo $ECHO_N "(cached) $ECHO_C" >&63728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3729 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3730 if ${ac_cv_prog_cc_c89+:} false; then : 3731 $as_echo_n "(cached) " >&6 3050 3732 else 3051 3733 ac_cv_prog_cc_c89=no 3052 3734 ac_save_CC=$CC 3053 cat >conftest.$ac_ext <<_ACEOF 3054 /* confdefs.h. */ 3055 _ACEOF 3056 cat confdefs.h >>conftest.$ac_ext 3057 cat >>conftest.$ac_ext <<_ACEOF 3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3058 3736 /* end confdefs.h. */ 3059 3737 #include <stdarg.h> … … 3112 3790 do 3113 3791 CC="$ac_save_CC $ac_arg" 3114 rm -f conftest.$ac_objext 3115 if { (ac_try="$ac_compile" 3116 case "(($ac_try" in 3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3118 *) ac_try_echo=$ac_try;; 3119 esac 3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3121 (eval "$ac_compile") 2>conftest.er1 3122 ac_status=$? 3123 grep -v '^ *+' conftest.er1 >conftest.err 3124 rm -f conftest.er1 3125 cat conftest.err >&5 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); } && { 3128 test -z "$ac_c_werror_flag" || 3129 test ! -s conftest.err 3130 } && test -s conftest.$ac_objext; then 3792 if ac_fn_c_try_compile "$LINENO"; then : 3131 3793 ac_cv_prog_cc_c89=$ac_arg 3132 else 3133 echo "$as_me: failed program was:" >&5 3134 sed 's/^/| /' conftest.$ac_ext >&5 3135 3136 3137 fi 3138 3794 fi 3139 3795 rm -f core conftest.err conftest.$ac_objext 3140 3796 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3147 3803 case "x$ac_cv_prog_cc_c89" in 3148 3804 x) 3149 { echo "$as_me:$LINENO: result: none needed" >&53150 echo "${ECHO_T}none needed" >&6; } ;;3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3806 $as_echo "none needed" >&6; } ;; 3151 3807 xno) 3152 { echo "$as_me:$LINENO: result: unsupported" >&53153 echo "${ECHO_T}unsupported" >&6; } ;;3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3809 $as_echo "unsupported" >&6; } ;; 3154 3810 *) 3155 3811 CC="$CC $ac_cv_prog_cc_c89" 3156 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3813 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3158 3814 esac 3159 3815 if test "x$ac_cv_prog_cc_c89" != xno; then : 3816 3817 fi 3160 3818 3161 3819 ac_ext=c … … 3179 3837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3180 3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3181 { echo "$as_me:$LINENO: checking for $ac_word" >&53182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3183 if test "${ac_cv_prog_CXX+set}" = set; then3184 echo $ECHO_N "(cached) $ECHO_C" >&63839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3840 $as_echo_n "checking for $ac_word... " >&6; } 3841 if ${ac_cv_prog_CXX+:} false; then : 3842 $as_echo_n "(cached) " >&6 3185 3843 else 3186 3844 if test -n "$CXX"; then … … 3192 3850 IFS=$as_save_IFS 3193 3851 test -z "$as_dir" && as_dir=. 3194 for ac_exec_ext in '' $ac_executable_extensions; do3852 for ac_exec_ext in '' $ac_executable_extensions; do 3195 3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3196 3854 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3198 3856 break 2 3199 3857 fi 3200 3858 done 3201 done3859 done 3202 3860 IFS=$as_save_IFS 3203 3861 … … 3206 3864 CXX=$ac_cv_prog_CXX 3207 3865 if test -n "$CXX"; then 3208 { echo "$as_me:$LINENO: result: $CXX" >&53209 echo "${ECHO_T}$CXX" >&6; }3210 else 3211 { echo "$as_me:$LINENO: result: no" >&53212 echo "${ECHO_T}no" >&6; }3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3867 $as_echo "$CXX" >&6; } 3868 else 3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3870 $as_echo "no" >&6; } 3213 3871 fi 3214 3872 … … 3223 3881 # Extract the first word of "$ac_prog", so it can be a program name with args. 3224 3882 set dummy $ac_prog; ac_word=$2 3225 { echo "$as_me:$LINENO: checking for $ac_word" >&53226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3227 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3228 echo $ECHO_N "(cached) $ECHO_C" >&63883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3884 $as_echo_n "checking for $ac_word... " >&6; } 3885 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3886 $as_echo_n "(cached) " >&6 3229 3887 else 3230 3888 if test -n "$ac_ct_CXX"; then … … 3236 3894 IFS=$as_save_IFS 3237 3895 test -z "$as_dir" && as_dir=. 3238 for ac_exec_ext in '' $ac_executable_extensions; do3896 for ac_exec_ext in '' $ac_executable_extensions; do 3239 3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3240 3898 ac_cv_prog_ac_ct_CXX="$ac_prog" 3241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3242 3900 break 2 3243 3901 fi 3244 3902 done 3245 done3903 done 3246 3904 IFS=$as_save_IFS 3247 3905 … … 3250 3908 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3251 3909 if test -n "$ac_ct_CXX"; then 3252 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53253 echo "${ECHO_T}$ac_ct_CXX" >&6; }3254 else 3255 { echo "$as_me:$LINENO: result: no" >&53256 echo "${ECHO_T}no" >&6; }3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3911 $as_echo "$ac_ct_CXX" >&6; } 3912 else 3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3914 $as_echo "no" >&6; } 3257 3915 fi 3258 3916 … … 3266 3924 case $cross_compiling:$ac_tool_warned in 3267 3925 yes:) 3268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3269 whose name does not start with the host triplet. If you think this 3270 configuration is useful to you, please write to autoconf@gnu.org." >&5 3271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3272 whose name does not start with the host triplet. If you think this 3273 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3274 3928 ac_tool_warned=yes ;; 3275 3929 esac … … 3281 3935 fi 3282 3936 # Provide some information about the compiler. 3283 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3284 ac_compiler=`set X $ac_compile; echo $2` 3285 { (ac_try="$ac_compiler --version >&5" 3937 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3938 set X $ac_compile 3939 ac_compiler=$2 3940 for ac_option in --version -v -V -qversion; do 3941 { { ac_try="$ac_compiler $ac_option >&5" 3286 3942 case "(($ac_try" in 3287 3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 3944 *) ac_try_echo=$ac_try;; 3289 3945 esac 3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3291 (eval "$ac_compiler --version >&5") 2>&5 3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3947 $as_echo "$ac_try_echo"; } >&5 3948 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3292 3949 ac_status=$? 3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3294 (exit $ac_status); } 3295 { (ac_try="$ac_compiler -v >&5" 3296 case "(($ac_try" in 3297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3298 *) ac_try_echo=$ac_try;; 3299 esac 3300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3301 (eval "$ac_compiler -v >&5") 2>&5 3302 ac_status=$? 3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3304 (exit $ac_status); } 3305 { (ac_try="$ac_compiler -V >&5" 3306 case "(($ac_try" in 3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3308 *) ac_try_echo=$ac_try;; 3309 esac 3310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3311 (eval "$ac_compiler -V >&5") 2>&5 3312 ac_status=$? 3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3314 (exit $ac_status); } 3315 3316 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3317 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3318 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3319 echo $ECHO_N "(cached) $ECHO_C" >&6 3320 else 3321 cat >conftest.$ac_ext <<_ACEOF 3322 /* confdefs.h. */ 3323 _ACEOF 3324 cat confdefs.h >>conftest.$ac_ext 3325 cat >>conftest.$ac_ext <<_ACEOF 3950 if test -s conftest.err; then 3951 sed '10a\ 3952 ... rest of stderr output deleted ... 3953 10q' conftest.err >conftest.er1 3954 cat conftest.er1 >&5 3955 fi 3956 rm -f conftest.er1 conftest.err 3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3958 test $ac_status = 0; } 3959 done 3960 3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3962 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3963 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3964 $as_echo_n "(cached) " >&6 3965 else 3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3326 3967 /* end confdefs.h. */ 3327 3968 … … 3337 3978 } 3338 3979 _ACEOF 3339 rm -f conftest.$ac_objext 3340 if { (ac_try="$ac_compile" 3341 case "(($ac_try" in 3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3343 *) ac_try_echo=$ac_try;; 3344 esac 3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3346 (eval "$ac_compile") 2>conftest.er1 3347 ac_status=$? 3348 grep -v '^ *+' conftest.er1 >conftest.err 3349 rm -f conftest.er1 3350 cat conftest.err >&5 3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3352 (exit $ac_status); } && { 3353 test -z "$ac_cxx_werror_flag" || 3354 test ! -s conftest.err 3355 } && test -s conftest.$ac_objext; then 3980 if ac_fn_cxx_try_compile "$LINENO"; then : 3356 3981 ac_compiler_gnu=yes 3357 3982 else 3358 echo "$as_me: failed program was:" >&5 3359 sed 's/^/| /' conftest.$ac_ext >&5 3360 3361 ac_compiler_gnu=no 3362 fi 3363 3983 ac_compiler_gnu=no 3984 fi 3364 3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3365 3986 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3366 3987 3367 3988 fi 3368 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3369 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3370 GXX=`test $ac_compiler_gnu = yes && echo yes` 3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3990 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3991 if test $ac_compiler_gnu = yes; then 3992 GXX=yes 3993 else 3994 GXX= 3995 fi 3371 3996 ac_test_CXXFLAGS=${CXXFLAGS+set} 3372 3997 ac_save_CXXFLAGS=$CXXFLAGS 3373 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53374 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3375 if test "${ac_cv_prog_cxx_g+set}" = set; then3376 echo $ECHO_N "(cached) $ECHO_C" >&63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3999 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 4000 if ${ac_cv_prog_cxx_g+:} false; then : 4001 $as_echo_n "(cached) " >&6 3377 4002 else 3378 4003 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3380 4005 ac_cv_prog_cxx_g=no 3381 4006 CXXFLAGS="-g" 3382 cat >conftest.$ac_ext <<_ACEOF 3383 /* confdefs.h. */ 3384 _ACEOF 3385 cat confdefs.h >>conftest.$ac_ext 3386 cat >>conftest.$ac_ext <<_ACEOF 4007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3387 4008 /* end confdefs.h. */ 3388 4009 … … 3395 4016 } 3396 4017 _ACEOF 3397 rm -f conftest.$ac_objext 3398 if { (ac_try="$ac_compile" 3399 case "(($ac_try" in 3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3401 *) ac_try_echo=$ac_try;; 3402 esac 3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3404 (eval "$ac_compile") 2>conftest.er1 3405 ac_status=$? 3406 grep -v '^ *+' conftest.er1 >conftest.err 3407 rm -f conftest.er1 3408 cat conftest.err >&5 3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3410 (exit $ac_status); } && { 3411 test -z "$ac_cxx_werror_flag" || 3412 test ! -s conftest.err 3413 } && test -s conftest.$ac_objext; then 4018 if ac_fn_cxx_try_compile "$LINENO"; then : 3414 4019 ac_cv_prog_cxx_g=yes 3415 4020 else 3416 echo "$as_me: failed program was:" >&5 3417 sed 's/^/| /' conftest.$ac_ext >&5 3418 3419 CXXFLAGS="" 3420 cat >conftest.$ac_ext <<_ACEOF 3421 /* confdefs.h. */ 3422 _ACEOF 3423 cat confdefs.h >>conftest.$ac_ext 3424 cat >>conftest.$ac_ext <<_ACEOF 4021 CXXFLAGS="" 4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3425 4023 /* end confdefs.h. */ 3426 4024 … … 3433 4031 } 3434 4032 _ACEOF 3435 rm -f conftest.$ac_objext 3436 if { (ac_try="$ac_compile" 3437 case "(($ac_try" in 3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3439 *) ac_try_echo=$ac_try;; 3440 esac 3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3442 (eval "$ac_compile") 2>conftest.er1 3443 ac_status=$? 3444 grep -v '^ *+' conftest.er1 >conftest.err 3445 rm -f conftest.er1 3446 cat conftest.err >&5 3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3448 (exit $ac_status); } && { 3449 test -z "$ac_cxx_werror_flag" || 3450 test ! -s conftest.err 3451 } && test -s conftest.$ac_objext; then 3452 : 3453 else 3454 echo "$as_me: failed program was:" >&5 3455 sed 's/^/| /' conftest.$ac_ext >&5 3456 3457 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4033 if ac_fn_cxx_try_compile "$LINENO"; then : 4034 4035 else 4036 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3458 4037 CXXFLAGS="-g" 3459 cat >conftest.$ac_ext <<_ACEOF 3460 /* confdefs.h. */ 3461 _ACEOF 3462 cat confdefs.h >>conftest.$ac_ext 3463 cat >>conftest.$ac_ext <<_ACEOF 4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3464 4039 /* end confdefs.h. */ 3465 4040 … … 3472 4047 } 3473 4048 _ACEOF 3474 rm -f conftest.$ac_objext 3475 if { (ac_try="$ac_compile" 3476 case "(($ac_try" in 3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3478 *) ac_try_echo=$ac_try;; 3479 esac 3480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3481 (eval "$ac_compile") 2>conftest.er1 3482 ac_status=$? 3483 grep -v '^ *+' conftest.er1 >conftest.err 3484 rm -f conftest.er1 3485 cat conftest.err >&5 3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); } && { 3488 test -z "$ac_cxx_werror_flag" || 3489 test ! -s conftest.err 3490 } && test -s conftest.$ac_objext; then 4049 if ac_fn_cxx_try_compile "$LINENO"; then : 3491 4050 ac_cv_prog_cxx_g=yes 3492 else 3493 echo "$as_me: failed program was:" >&5 3494 sed 's/^/| /' conftest.$ac_ext >&5 3495 3496 3497 fi 3498 4051 fi 3499 4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3500 4053 fi 3501 3502 4054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3503 4055 fi 3504 3505 4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3506 4057 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3507 4058 fi 3508 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53509 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4060 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3510 4061 if test "$ac_test_CXXFLAGS" = set; then 3511 4062 CXXFLAGS=$ac_save_CXXFLAGS … … 3539 4090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3540 4091 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3541 { echo "$as_me:$LINENO: checking for $ac_word" >&53542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3543 if test "${ac_cv_prog_F77+set}" = set; then3544 echo $ECHO_N "(cached) $ECHO_C" >&64092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4093 $as_echo_n "checking for $ac_word... " >&6; } 4094 if ${ac_cv_prog_F77+:} false; then : 4095 $as_echo_n "(cached) " >&6 3545 4096 else 3546 4097 if test -n "$F77"; then … … 3552 4103 IFS=$as_save_IFS 3553 4104 test -z "$as_dir" && as_dir=. 3554 for ac_exec_ext in '' $ac_executable_extensions; do4105 for ac_exec_ext in '' $ac_executable_extensions; do 3555 4106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3556 4107 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3558 4109 break 2 3559 4110 fi 3560 4111 done 3561 done4112 done 3562 4113 IFS=$as_save_IFS 3563 4114 … … 3566 4117 F77=$ac_cv_prog_F77 3567 4118 if test -n "$F77"; then 3568 { echo "$as_me:$LINENO: result: $F77" >&53569 echo "${ECHO_T}$F77" >&6; }3570 else 3571 { echo "$as_me:$LINENO: result: no" >&53572 echo "${ECHO_T}no" >&6; }4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4120 $as_echo "$F77" >&6; } 4121 else 4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4123 $as_echo "no" >&6; } 3573 4124 fi 3574 4125 … … 3583 4134 # Extract the first word of "$ac_prog", so it can be a program name with args. 3584 4135 set dummy $ac_prog; ac_word=$2 3585 { echo "$as_me:$LINENO: checking for $ac_word" >&53586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3587 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then3588 echo $ECHO_N "(cached) $ECHO_C" >&64136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4137 $as_echo_n "checking for $ac_word... " >&6; } 4138 if ${ac_cv_prog_ac_ct_F77+:} false; then : 4139 $as_echo_n "(cached) " >&6 3589 4140 else 3590 4141 if test -n "$ac_ct_F77"; then … … 3596 4147 IFS=$as_save_IFS 3597 4148 test -z "$as_dir" && as_dir=. 3598 for ac_exec_ext in '' $ac_executable_extensions; do4149 for ac_exec_ext in '' $ac_executable_extensions; do 3599 4150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3600 4151 ac_cv_prog_ac_ct_F77="$ac_prog" 3601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3602 4153 break 2 3603 4154 fi 3604 4155 done 3605 done4156 done 3606 4157 IFS=$as_save_IFS 3607 4158 … … 3610 4161 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3611 4162 if test -n "$ac_ct_F77"; then 3612 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53613 echo "${ECHO_T}$ac_ct_F77" >&6; }3614 else 3615 { echo "$as_me:$LINENO: result: no" >&53616 echo "${ECHO_T}no" >&6; }4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4164 $as_echo "$ac_ct_F77" >&6; } 4165 else 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4167 $as_echo "no" >&6; } 3617 4168 fi 3618 4169 … … 3626 4177 case $cross_compiling:$ac_tool_warned in 3627 4178 yes:) 3628 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3629 whose name does not start with the host triplet. If you think this 3630 configuration is useful to you, please write to autoconf@gnu.org." >&5 3631 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3632 whose name does not start with the host triplet. If you think this 3633 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3634 4181 ac_tool_warned=yes ;; 3635 4182 esac … … 3640 4187 3641 4188 # Provide some information about the compiler. 3642 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3643 ac_compiler=`set X $ac_compile; echo $2` 3644 { (ac_try="$ac_compiler --version >&5" 4189 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4190 set X $ac_compile 4191 ac_compiler=$2 4192 for ac_option in --version -v -V -qversion; do 4193 { { ac_try="$ac_compiler $ac_option >&5" 3645 4194 case "(($ac_try" in 3646 4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3647 4196 *) ac_try_echo=$ac_try;; 3648 4197 esac 3649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3650 (eval "$ac_compiler --version >&5") 2>&5 4198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4199 $as_echo "$ac_try_echo"; } >&5 4200 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3651 4201 ac_status=$? 3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3653 (exit $ac_status); } 3654 { (ac_try="$ac_compiler -v >&5" 3655 case "(($ac_try" in 3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3657 *) ac_try_echo=$ac_try;; 3658 esac 3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3660 (eval "$ac_compiler -v >&5") 2>&5 3661 ac_status=$? 3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3663 (exit $ac_status); } 3664 { (ac_try="$ac_compiler -V >&5" 3665 case "(($ac_try" in 3666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3667 *) ac_try_echo=$ac_try;; 3668 esac 3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3670 (eval "$ac_compiler -V >&5") 2>&5 3671 ac_status=$? 3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3673 (exit $ac_status); } 4202 if test -s conftest.err; then 4203 sed '10a\ 4204 ... rest of stderr output deleted ... 4205 10q' conftest.err >conftest.er1 4206 cat conftest.er1 >&5 4207 fi 4208 rm -f conftest.er1 conftest.err 4209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4210 test $ac_status = 0; } 4211 done 3674 4212 rm -f a.out 3675 4213 … … 3678 4216 ac_save_ext=$ac_ext 3679 4217 ac_ext=F 3680 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53681 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3682 if test "${ac_cv_f77_compiler_gnu+set}" = set; then3683 echo $ECHO_N "(cached) $ECHO_C" >&63684 else 3685 cat > conftest.$ac_ext <<_ACEOF4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4219 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4220 if ${ac_cv_f77_compiler_gnu+:} false; then : 4221 $as_echo_n "(cached) " >&6 4222 else 4223 cat > conftest.$ac_ext <<_ACEOF 3686 4224 program main 3687 4225 #ifndef __GNUC__ … … 3691 4229 end 3692 4230 _ACEOF 3693 rm -f conftest.$ac_objext 3694 if { (ac_try="$ac_compile" 3695 case "(($ac_try" in 3696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3697 *) ac_try_echo=$ac_try;; 3698 esac 3699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3700 (eval "$ac_compile") 2>conftest.er1 3701 ac_status=$? 3702 grep -v '^ *+' conftest.er1 >conftest.err 3703 rm -f conftest.er1 3704 cat conftest.err >&5 3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3706 (exit $ac_status); } && { 3707 test -z "$ac_f77_werror_flag" || 3708 test ! -s conftest.err 3709 } && test -s conftest.$ac_objext; then 4231 if ac_fn_f77_try_compile "$LINENO"; then : 3710 4232 ac_compiler_gnu=yes 3711 4233 else 3712 echo "$as_me: failed program was:" >&5 3713 sed 's/^/| /' conftest.$ac_ext >&5 3714 3715 ac_compiler_gnu=no 3716 fi 3717 4234 ac_compiler_gnu=no 4235 fi 3718 4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3719 4237 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3720 4238 3721 4239 fi 3722 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53723 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4241 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3724 4242 ac_ext=$ac_save_ext 3725 4243 ac_test_FFLAGS=${FFLAGS+set} 3726 4244 ac_save_FFLAGS=$FFLAGS 3727 4245 FFLAGS= 3728 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53729 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3730 if test "${ac_cv_prog_f77_g+set}" = set; then3731 echo $ECHO_N "(cached) $ECHO_C" >&64246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4247 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4248 if ${ac_cv_prog_f77_g+:} false; then : 4249 $as_echo_n "(cached) " >&6 3732 4250 else 3733 4251 FFLAGS=-g 3734 cat > conftest.$ac_ext <<_ACEOF4252 cat > conftest.$ac_ext <<_ACEOF 3735 4253 program main 3736 4254 3737 4255 end 3738 4256 _ACEOF 3739 rm -f conftest.$ac_objext 3740 if { (ac_try="$ac_compile" 3741 case "(($ac_try" in 3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3743 *) ac_try_echo=$ac_try;; 3744 esac 3745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3746 (eval "$ac_compile") 2>conftest.er1 3747 ac_status=$? 3748 grep -v '^ *+' conftest.er1 >conftest.err 3749 rm -f conftest.er1 3750 cat conftest.err >&5 3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3752 (exit $ac_status); } && { 3753 test -z "$ac_f77_werror_flag" || 3754 test ! -s conftest.err 3755 } && test -s conftest.$ac_objext; then 4257 if ac_fn_f77_try_compile "$LINENO"; then : 3756 4258 ac_cv_prog_f77_g=yes 3757 4259 else 3758 echo "$as_me: failed program was:" >&5 3759 sed 's/^/| /' conftest.$ac_ext >&5 3760 3761 ac_cv_prog_f77_g=no 3762 fi 3763 4260 ac_cv_prog_f77_g=no 4261 fi 3764 4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3765 4263 3766 4264 fi 3767 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53768 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4266 $as_echo "$ac_cv_prog_f77_g" >&6; } 3769 4267 if test "$ac_test_FFLAGS" = set; then 3770 4268 FFLAGS=$ac_save_FFLAGS … … 3783 4281 fi 3784 4282 3785 G77=`test $ac_compiler_gnu = yes && echo yes` 4283 if test $ac_compiler_gnu = yes; then 4284 G77=yes 4285 else 4286 G77= 4287 fi 3786 4288 ac_ext=c 3787 4289 ac_cpp='$CPP $CPPFLAGS' … … 3804 4306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3805 4307 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3806 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53807 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4309 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3808 4310 # On Suns, sometimes $CPP names a directory. 3809 4311 if test -n "$CPP" && test -d "$CPP"; then … … 3811 4313 fi 3812 4314 if test -z "$CPP"; then 3813 if test "${ac_cv_prog_CPP+set}" = set; then3814 echo $ECHO_N "(cached) $ECHO_C" >&64315 if ${ac_cv_prog_CPP+:} false; then : 4316 $as_echo_n "(cached) " >&6 3815 4317 else 3816 4318 # Double quotes because CPP needs to be expanded … … 3826 4328 # On the NeXT, cc -E runs the code through the compiler's parser, 3827 4329 # not just through cpp. "Syntax error" is here to catch this case. 3828 cat >conftest.$ac_ext <<_ACEOF 3829 /* confdefs.h. */ 3830 _ACEOF 3831 cat confdefs.h >>conftest.$ac_ext 3832 cat >>conftest.$ac_ext <<_ACEOF 4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3833 4331 /* end confdefs.h. */ 3834 4332 #ifdef __STDC__ … … 3839 4337 Syntax error 3840 4338 _ACEOF 3841 if { (ac_try="$ac_cpp conftest.$ac_ext" 3842 case "(($ac_try" in 3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3844 *) ac_try_echo=$ac_try;; 3845 esac 3846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3848 ac_status=$? 3849 grep -v '^ *+' conftest.er1 >conftest.err 3850 rm -f conftest.er1 3851 cat conftest.err >&5 3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3853 (exit $ac_status); } >/dev/null && { 3854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3855 test ! -s conftest.err 3856 }; then 3857 : 3858 else 3859 echo "$as_me: failed program was:" >&5 3860 sed 's/^/| /' conftest.$ac_ext >&5 3861 4339 if ac_fn_c_try_cpp "$LINENO"; then : 4340 4341 else 3862 4342 # Broken: fails on valid input. 3863 4343 continue 3864 4344 fi 3865 3866 rm -f conftest.err conftest.$ac_ext 4345 rm -f conftest.err conftest.i conftest.$ac_ext 3867 4346 3868 4347 # OK, works on sane cases. Now check whether nonexistent headers 3869 4348 # can be detected and how. 3870 cat >conftest.$ac_ext <<_ACEOF 3871 /* confdefs.h. */ 3872 _ACEOF 3873 cat confdefs.h >>conftest.$ac_ext 3874 cat >>conftest.$ac_ext <<_ACEOF 4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3875 4350 /* end confdefs.h. */ 3876 4351 #include <ac_nonexistent.h> 3877 4352 _ACEOF 3878 if { (ac_try="$ac_cpp conftest.$ac_ext" 3879 case "(($ac_try" in 3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3881 *) ac_try_echo=$ac_try;; 3882 esac 3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3885 ac_status=$? 3886 grep -v '^ *+' conftest.er1 >conftest.err 3887 rm -f conftest.er1 3888 cat conftest.err >&5 3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3890 (exit $ac_status); } >/dev/null && { 3891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3892 test ! -s conftest.err 3893 }; then 4353 if ac_fn_c_try_cpp "$LINENO"; then : 3894 4354 # Broken: success on invalid input. 3895 4355 continue 3896 4356 else 3897 echo "$as_me: failed program was:" >&53898 sed 's/^/| /' conftest.$ac_ext >&53899 3900 4357 # Passes both tests. 3901 4358 ac_preproc_ok=: 3902 4359 break 3903 4360 fi 3904 3905 rm -f conftest.err conftest.$ac_ext 4361 rm -f conftest.err conftest.i conftest.$ac_ext 3906 4362 3907 4363 done 3908 4364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3909 rm -f conftest. err conftest.$ac_ext3910 if $ac_preproc_ok; then 4365 rm -f conftest.i conftest.err conftest.$ac_ext 4366 if $ac_preproc_ok; then : 3911 4367 break 3912 4368 fi … … 3920 4376 ac_cv_prog_CPP=$CPP 3921 4377 fi 3922 { echo "$as_me:$LINENO: result: $CPP" >&53923 echo "${ECHO_T}$CPP" >&6; }4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4379 $as_echo "$CPP" >&6; } 3924 4380 ac_preproc_ok=false 3925 4381 for ac_c_preproc_warn_flag in '' yes … … 3931 4387 # On the NeXT, cc -E runs the code through the compiler's parser, 3932 4388 # not just through cpp. "Syntax error" is here to catch this case. 3933 cat >conftest.$ac_ext <<_ACEOF 3934 /* confdefs.h. */ 3935 _ACEOF 3936 cat confdefs.h >>conftest.$ac_ext 3937 cat >>conftest.$ac_ext <<_ACEOF 4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3938 4390 /* end confdefs.h. */ 3939 4391 #ifdef __STDC__ … … 3944 4396 Syntax error 3945 4397 _ACEOF 3946 if { (ac_try="$ac_cpp conftest.$ac_ext" 3947 case "(($ac_try" in 3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3949 *) ac_try_echo=$ac_try;; 3950 esac 3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3953 ac_status=$? 3954 grep -v '^ *+' conftest.er1 >conftest.err 3955 rm -f conftest.er1 3956 cat conftest.err >&5 3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3958 (exit $ac_status); } >/dev/null && { 3959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3960 test ! -s conftest.err 3961 }; then 3962 : 3963 else 3964 echo "$as_me: failed program was:" >&5 3965 sed 's/^/| /' conftest.$ac_ext >&5 3966 4398 if ac_fn_c_try_cpp "$LINENO"; then : 4399 4400 else 3967 4401 # Broken: fails on valid input. 3968 4402 continue 3969 4403 fi 3970 3971 rm -f conftest.err conftest.$ac_ext 4404 rm -f conftest.err conftest.i conftest.$ac_ext 3972 4405 3973 4406 # OK, works on sane cases. Now check whether nonexistent headers 3974 4407 # can be detected and how. 3975 cat >conftest.$ac_ext <<_ACEOF 3976 /* confdefs.h. */ 3977 _ACEOF 3978 cat confdefs.h >>conftest.$ac_ext 3979 cat >>conftest.$ac_ext <<_ACEOF 4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3980 4409 /* end confdefs.h. */ 3981 4410 #include <ac_nonexistent.h> 3982 4411 _ACEOF 3983 if { (ac_try="$ac_cpp conftest.$ac_ext" 3984 case "(($ac_try" in 3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3986 *) ac_try_echo=$ac_try;; 3987 esac 3988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3990 ac_status=$? 3991 grep -v '^ *+' conftest.er1 >conftest.err 3992 rm -f conftest.er1 3993 cat conftest.err >&5 3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3995 (exit $ac_status); } >/dev/null && { 3996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3997 test ! -s conftest.err 3998 }; then 4412 if ac_fn_c_try_cpp "$LINENO"; then : 3999 4413 # Broken: success on invalid input. 4000 4414 continue 4001 4415 else 4002 echo "$as_me: failed program was:" >&54003 sed 's/^/| /' conftest.$ac_ext >&54004 4005 4416 # Passes both tests. 4006 4417 ac_preproc_ok=: 4007 4418 break 4008 4419 fi 4009 4010 rm -f conftest.err conftest.$ac_ext 4420 rm -f conftest.err conftest.i conftest.$ac_ext 4011 4421 4012 4422 done 4013 4423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4014 rm -f conftest.err conftest.$ac_ext 4015 if $ac_preproc_ok; then 4016 : 4017 else 4018 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4019 See \`config.log' for more details." >&5 4020 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4021 See \`config.log' for more details." >&2;} 4022 { (exit 1); exit 1; }; } 4424 rm -f conftest.i conftest.err conftest.$ac_ext 4425 if $ac_preproc_ok; then : 4426 4427 else 4428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4430 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4431 See \`config.log' for more details" "$LINENO" 5; } 4023 4432 fi 4024 4433 … … 4030 4439 4031 4440 4032 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4033 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4034 if test "${ac_cv_path_GREP+set}" = set; then 4035 echo $ECHO_N "(cached) $ECHO_C" >&6 4036 else 4037 # Extract the first word of "grep ggrep" to use in msg output 4038 if test -z "$GREP"; then 4039 set dummy grep ggrep; ac_prog_name=$2 4040 if test "${ac_cv_path_GREP+set}" = set; then 4041 echo $ECHO_N "(cached) $ECHO_C" >&6 4042 else 4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4442 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4443 if ${ac_cv_path_GREP+:} false; then : 4444 $as_echo_n "(cached) " >&6 4445 else 4446 if test -z "$GREP"; then 4043 4447 ac_path_GREP_found=false 4044 # Loop through the user's path and test for each of PROGNAME-LIST4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4448 # Loop through the user's path and test for each of PROGNAME-LIST 4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4046 4450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4047 4451 do 4048 4452 IFS=$as_save_IFS 4049 4453 test -z "$as_dir" && as_dir=. 4050 for ac_prog in grep ggrep; do4051 for ac_exec_ext in '' $ac_executable_extensions; do4052 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4053 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4054 4454 for ac_prog in grep ggrep; do 4455 for ac_exec_ext in '' $ac_executable_extensions; do 4456 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4457 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4458 # Check for GNU ac_path_GREP and select it if it is found. 4055 4459 # Check for GNU $ac_path_GREP 4056 4460 case `"$ac_path_GREP" --version 2>&1` in … … 4059 4463 *) 4060 4464 ac_count=0 4061 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4465 $as_echo_n 0123456789 >"conftest.in" 4062 4466 while : 4063 4467 do … … 4065 4469 mv "conftest.tmp" "conftest.in" 4066 4470 cp "conftest.in" "conftest.nl" 4067 echo 'GREP' >> "conftest.nl"4471 $as_echo 'GREP' >> "conftest.nl" 4068 4472 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4069 4473 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4070 a c_count=`expr $ac_count + 1`4474 as_fn_arith $ac_count + 1 && ac_count=$as_val 4071 4475 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4072 4476 # Best one so far, save it but keep looking for a better one … … 4080 4484 esac 4081 4485 4082 4083 $ac_path_GREP_found && break 34486 $ac_path_GREP_found && break 3 4487 done 4084 4488 done 4085 done 4086 4087 done 4489 done 4088 4490 IFS=$as_save_IFS 4089 4090 4091 fi 4092 4093 GREP="$ac_cv_path_GREP" 4094 if test -z "$GREP"; then 4095 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4096 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4097 { (exit 1); exit 1; }; } 4098 fi 4099 4491 if test -z "$ac_cv_path_GREP"; then 4492 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4493 fi 4100 4494 else 4101 4495 ac_cv_path_GREP=$GREP 4102 4496 fi 4103 4497 4104 4105 fi 4106 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4107 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4498 fi 4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4500 $as_echo "$ac_cv_path_GREP" >&6; } 4108 4501 GREP="$ac_cv_path_GREP" 4109 4502 4110 4503 4111 { echo "$as_me:$LINENO: checking for egrep" >&54112 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4113 if test "${ac_cv_path_EGREP+set}" = set; then4114 echo $ECHO_N "(cached) $ECHO_C" >&64504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4505 $as_echo_n "checking for egrep... " >&6; } 4506 if ${ac_cv_path_EGREP+:} false; then : 4507 $as_echo_n "(cached) " >&6 4115 4508 else 4116 4509 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4117 4510 then ac_cv_path_EGREP="$GREP -E" 4118 4511 else 4119 # Extract the first word of "egrep" to use in msg output 4120 if test -z "$EGREP"; then 4121 set dummy egrep; ac_prog_name=$2 4122 if test "${ac_cv_path_EGREP+set}" = set; then 4123 echo $ECHO_N "(cached) $ECHO_C" >&6 4124 else 4512 if test -z "$EGREP"; then 4125 4513 ac_path_EGREP_found=false 4126 # Loop through the user's path and test for each of PROGNAME-LIST4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4514 # Loop through the user's path and test for each of PROGNAME-LIST 4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4128 4516 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4129 4517 do 4130 4518 IFS=$as_save_IFS 4131 4519 test -z "$as_dir" && as_dir=. 4132 for ac_prog in egrep; do4133 for ac_exec_ext in '' $ac_executable_extensions; do4134 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4135 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4136 4520 for ac_prog in egrep; do 4521 for ac_exec_ext in '' $ac_executable_extensions; do 4522 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4523 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4524 # Check for GNU ac_path_EGREP and select it if it is found. 4137 4525 # Check for GNU $ac_path_EGREP 4138 4526 case `"$ac_path_EGREP" --version 2>&1` in … … 4141 4529 *) 4142 4530 ac_count=0 4143 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4531 $as_echo_n 0123456789 >"conftest.in" 4144 4532 while : 4145 4533 do … … 4147 4535 mv "conftest.tmp" "conftest.in" 4148 4536 cp "conftest.in" "conftest.nl" 4149 echo 'EGREP' >> "conftest.nl"4537 $as_echo 'EGREP' >> "conftest.nl" 4150 4538 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4151 4539 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4152 a c_count=`expr $ac_count + 1`4540 as_fn_arith $ac_count + 1 && ac_count=$as_val 4153 4541 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4154 4542 # Best one so far, save it but keep looking for a better one … … 4162 4550 esac 4163 4551 4164 4165 $ac_path_EGREP_found && break 34552 $ac_path_EGREP_found && break 3 4553 done 4166 4554 done 4167 done 4168 4169 done 4555 done 4170 4556 IFS=$as_save_IFS 4171 4172 4173 fi 4174 4175 EGREP="$ac_cv_path_EGREP" 4176 if test -z "$EGREP"; then 4177 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4178 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4179 { (exit 1); exit 1; }; } 4180 fi 4181 4557 if test -z "$ac_cv_path_EGREP"; then 4558 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4559 fi 4182 4560 else 4183 4561 ac_cv_path_EGREP=$EGREP 4184 4562 fi 4185 4563 4186 4187 4564 fi 4188 4565 fi 4189 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54190 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4567 $as_echo "$ac_cv_path_EGREP" >&6; } 4191 4568 EGREP="$ac_cv_path_EGREP" 4192 4569 4193 4570 4194 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4195 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4196 if test "${ac_cv_header_stdc+set}" = set; then 4197 echo $ECHO_N "(cached) $ECHO_C" >&6 4198 else 4199 cat >conftest.$ac_ext <<_ACEOF 4200 /* confdefs.h. */ 4201 _ACEOF 4202 cat confdefs.h >>conftest.$ac_ext 4203 cat >>conftest.$ac_ext <<_ACEOF 4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4572 $as_echo_n "checking for ANSI C header files... " >&6; } 4573 if ${ac_cv_header_stdc+:} false; then : 4574 $as_echo_n "(cached) " >&6 4575 else 4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4204 4577 /* end confdefs.h. */ 4205 4578 #include <stdlib.h> … … 4216 4589 } 4217 4590 _ACEOF 4218 rm -f conftest.$ac_objext 4219 if { (ac_try="$ac_compile" 4220 case "(($ac_try" in 4221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4222 *) ac_try_echo=$ac_try;; 4223 esac 4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4225 (eval "$ac_compile") 2>conftest.er1 4226 ac_status=$? 4227 grep -v '^ *+' conftest.er1 >conftest.err 4228 rm -f conftest.er1 4229 cat conftest.err >&5 4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4231 (exit $ac_status); } && { 4232 test -z "$ac_c_werror_flag" || 4233 test ! -s conftest.err 4234 } && test -s conftest.$ac_objext; then 4591 if ac_fn_c_try_compile "$LINENO"; then : 4235 4592 ac_cv_header_stdc=yes 4236 4593 else 4237 echo "$as_me: failed program was:" >&5 4238 sed 's/^/| /' conftest.$ac_ext >&5 4239 4240 ac_cv_header_stdc=no 4241 fi 4242 4594 ac_cv_header_stdc=no 4595 fi 4243 4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4244 4597 4245 4598 if test $ac_cv_header_stdc = yes; then 4246 4599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4247 cat >conftest.$ac_ext <<_ACEOF 4248 /* confdefs.h. */ 4249 _ACEOF 4250 cat confdefs.h >>conftest.$ac_ext 4251 cat >>conftest.$ac_ext <<_ACEOF 4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4252 4601 /* end confdefs.h. */ 4253 4602 #include <string.h> … … 4255 4604 _ACEOF 4256 4605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4257 $EGREP "memchr" >/dev/null 2>&1; then 4258 : 4606 $EGREP "memchr" >/dev/null 2>&1; then : 4607 4259 4608 else 4260 4609 ac_cv_header_stdc=no … … 4266 4615 if test $ac_cv_header_stdc = yes; then 4267 4616 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4268 cat >conftest.$ac_ext <<_ACEOF 4269 /* confdefs.h. */ 4270 _ACEOF 4271 cat confdefs.h >>conftest.$ac_ext 4272 cat >>conftest.$ac_ext <<_ACEOF 4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4273 4618 /* end confdefs.h. */ 4274 4619 #include <stdlib.h> … … 4276 4621 _ACEOF 4277 4622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4278 $EGREP "free" >/dev/null 2>&1; then 4279 : 4623 $EGREP "free" >/dev/null 2>&1; then : 4624 4280 4625 else 4281 4626 ac_cv_header_stdc=no … … 4287 4632 if test $ac_cv_header_stdc = yes; then 4288 4633 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4289 if test "$cross_compiling" = yes; then 4634 if test "$cross_compiling" = yes; then : 4290 4635 : 4291 4636 else 4292 cat >conftest.$ac_ext <<_ACEOF 4293 /* confdefs.h. */ 4294 _ACEOF 4295 cat confdefs.h >>conftest.$ac_ext 4296 cat >>conftest.$ac_ext <<_ACEOF 4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4297 4638 /* end confdefs.h. */ 4298 4639 #include <ctype.h> … … 4321 4662 } 4322 4663 _ACEOF 4323 rm -f conftest$ac_exeext 4324 if { (ac_try="$ac_link" 4325 case "(($ac_try" in 4326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4327 *) ac_try_echo=$ac_try;; 4328 esac 4329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4330 (eval "$ac_link") 2>&5 4331 ac_status=$? 4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4334 { (case "(($ac_try" in 4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4336 *) ac_try_echo=$ac_try;; 4337 esac 4338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4339 (eval "$ac_try") 2>&5 4340 ac_status=$? 4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4342 (exit $ac_status); }; }; then 4343 : 4344 else 4345 echo "$as_me: program exited with status $ac_status" >&5 4346 echo "$as_me: failed program was:" >&5 4347 sed 's/^/| /' conftest.$ac_ext >&5 4348 4349 ( exit $ac_status ) 4350 ac_cv_header_stdc=no 4351 fi 4352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4353 fi 4354 4355 4356 fi 4357 fi 4358 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4359 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4664 if ac_fn_c_try_run "$LINENO"; then : 4665 4666 else 4667 ac_cv_header_stdc=no 4668 fi 4669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4670 conftest.$ac_objext conftest.beam conftest.$ac_ext 4671 fi 4672 4673 fi 4674 fi 4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4676 $as_echo "$ac_cv_header_stdc" >&6; } 4360 4677 if test $ac_cv_header_stdc = yes; then 4361 4678 4362 cat >>confdefs.h <<\_ACEOF 4363 #define STDC_HEADERS 1 4364 _ACEOF 4365 4366 fi 4367 4368 { echo "$as_me:$LINENO: checking for atol" >&5 4369 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4370 if test "${ac_cv_func_atol+set}" = set; then 4371 echo $ECHO_N "(cached) $ECHO_C" >&6 4372 else 4373 cat >conftest.$ac_ext <<_ACEOF 4374 /* confdefs.h. */ 4375 _ACEOF 4376 cat confdefs.h >>conftest.$ac_ext 4377 cat >>conftest.$ac_ext <<_ACEOF 4378 /* end confdefs.h. */ 4379 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4380 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4381 #define atol innocuous_atol 4382 4383 /* System header to define __stub macros and hopefully few prototypes, 4384 which can conflict with char atol (); below. 4385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4386 <limits.h> exists even on freestanding compilers. */ 4387 4388 #ifdef __STDC__ 4389 # include <limits.h> 4390 #else 4391 # include <assert.h> 4392 #endif 4393 4394 #undef atol 4395 4396 /* Override any GCC internal prototype to avoid an error. 4397 Use char because int might match the return type of a GCC 4398 builtin and then its argument prototype would still apply. */ 4399 #ifdef __cplusplus 4400 extern "C" 4401 #endif 4402 char atol (); 4403 /* The GNU C library defines this for functions which it implements 4404 to always fail with ENOSYS. Some functions are actually named 4405 something starting with __ and the normal name is an alias. */ 4406 #if defined __stub_atol || defined __stub___atol 4407 choke me 4408 #endif 4409 4410 int 4411 main () 4412 { 4413 return atol (); 4414 ; 4415 return 0; 4416 } 4417 _ACEOF 4418 rm -f conftest.$ac_objext conftest$ac_exeext 4419 if { (ac_try="$ac_link" 4420 case "(($ac_try" in 4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4422 *) ac_try_echo=$ac_try;; 4423 esac 4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4425 (eval "$ac_link") 2>conftest.er1 4426 ac_status=$? 4427 grep -v '^ *+' conftest.er1 >conftest.err 4428 rm -f conftest.er1 4429 cat conftest.err >&5 4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4431 (exit $ac_status); } && { 4432 test -z "$ac_c_werror_flag" || 4433 test ! -s conftest.err 4434 } && test -s conftest$ac_exeext && 4435 $as_test_x conftest$ac_exeext; then 4436 ac_cv_func_atol=yes 4437 else 4438 echo "$as_me: failed program was:" >&5 4439 sed 's/^/| /' conftest.$ac_ext >&5 4440 4441 ac_cv_func_atol=no 4442 fi 4443 4444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4445 conftest$ac_exeext conftest.$ac_ext 4446 fi 4447 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4448 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4449 if test $ac_cv_func_atol = yes; then 4450 : 4451 else 4452 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4453 echo "$as_me: error: oops! no atol ?!?" >&2;} 4454 { (exit 1); exit 1; }; } 4679 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4680 4681 fi 4682 4683 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4684 if test "x$ac_cv_func_atol" = xyes; then : 4685 4686 else 4687 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4455 4688 fi 4456 4689 … … 4464 4697 4465 4698 4466 4467 4699 for ac_func in sysinfo 4468 do 4469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4470 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4473 echo $ECHO_N "(cached) $ECHO_C" >&6 4474 else 4475 cat >conftest.$ac_ext <<_ACEOF 4476 /* confdefs.h. */ 4477 _ACEOF 4478 cat confdefs.h >>conftest.$ac_ext 4479 cat >>conftest.$ac_ext <<_ACEOF 4480 /* end confdefs.h. */ 4481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4482 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4483 #define $ac_func innocuous_$ac_func 4484 4485 /* System header to define __stub macros and hopefully few prototypes, 4486 which can conflict with char $ac_func (); below. 4487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4488 <limits.h> exists even on freestanding compilers. */ 4489 4490 #ifdef __STDC__ 4491 # include <limits.h> 4492 #else 4493 # include <assert.h> 4494 #endif 4495 4496 #undef $ac_func 4497 4498 /* Override any GCC internal prototype to avoid an error. 4499 Use char because int might match the return type of a GCC 4500 builtin and then its argument prototype would still apply. */ 4501 #ifdef __cplusplus 4502 extern "C" 4503 #endif 4504 char $ac_func (); 4505 /* The GNU C library defines this for functions which it implements 4506 to always fail with ENOSYS. Some functions are actually named 4507 something starting with __ and the normal name is an alias. */ 4508 #if defined __stub_$ac_func || defined __stub___$ac_func 4509 choke me 4510 #endif 4511 4512 int 4513 main () 4514 { 4515 return $ac_func (); 4516 ; 4517 return 0; 4518 } 4519 _ACEOF 4520 rm -f conftest.$ac_objext conftest$ac_exeext 4521 if { (ac_try="$ac_link" 4522 case "(($ac_try" in 4523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4524 *) ac_try_echo=$ac_try;; 4525 esac 4526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4527 (eval "$ac_link") 2>conftest.er1 4528 ac_status=$? 4529 grep -v '^ *+' conftest.er1 >conftest.err 4530 rm -f conftest.er1 4531 cat conftest.err >&5 4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4533 (exit $ac_status); } && { 4534 test -z "$ac_cxx_werror_flag" || 4535 test ! -s conftest.err 4536 } && test -s conftest$ac_exeext && 4537 $as_test_x conftest$ac_exeext; then 4538 eval "$as_ac_var=yes" 4539 else 4540 echo "$as_me: failed program was:" >&5 4541 sed 's/^/| /' conftest.$ac_ext >&5 4542 4543 eval "$as_ac_var=no" 4544 fi 4545 4546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4547 conftest$ac_exeext conftest.$ac_ext 4548 fi 4549 ac_res=`eval echo '${'$as_ac_var'}'` 4550 { echo "$as_me:$LINENO: result: $ac_res" >&5 4551 echo "${ECHO_T}$ac_res" >&6; } 4552 if test `eval echo '${'$as_ac_var'}'` = yes; then 4700 do : 4701 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4702 if test "x$ac_cv_func_sysinfo" = xyes; then : 4553 4703 cat >>confdefs.h <<_ACEOF 4554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4555 _ACEOF 4556 4557 fi 4558 done 4559 4560 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4571 inttypes.h stdint.h unistd.h 4572 do 4573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4574 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4577 echo $ECHO_N "(cached) $ECHO_C" >&6 4578 else 4579 cat >conftest.$ac_ext <<_ACEOF 4580 /* confdefs.h. */ 4581 _ACEOF 4582 cat confdefs.h >>conftest.$ac_ext 4583 cat >>conftest.$ac_ext <<_ACEOF 4584 /* end confdefs.h. */ 4585 $ac_includes_default 4586 4587 #include <$ac_header> 4588 _ACEOF 4589 rm -f conftest.$ac_objext 4590 if { (ac_try="$ac_compile" 4591 case "(($ac_try" in 4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4593 *) ac_try_echo=$ac_try;; 4594 esac 4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4596 (eval "$ac_compile") 2>conftest.er1 4597 ac_status=$? 4598 grep -v '^ *+' conftest.er1 >conftest.err 4599 rm -f conftest.er1 4600 cat conftest.err >&5 4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4602 (exit $ac_status); } && { 4603 test -z "$ac_cxx_werror_flag" || 4604 test ! -s conftest.err 4605 } && test -s conftest.$ac_objext; then 4606 eval "$as_ac_Header=yes" 4607 else 4608 echo "$as_me: failed program was:" >&5 4609 sed 's/^/| /' conftest.$ac_ext >&5 4610 4611 eval "$as_ac_Header=no" 4612 fi 4613 4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4615 fi 4616 ac_res=`eval echo '${'$as_ac_Header'}'` 4617 { echo "$as_me:$LINENO: result: $ac_res" >&5 4618 echo "${ECHO_T}$ac_res" >&6; } 4619 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4620 cat >>confdefs.h <<_ACEOF 4621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4622 _ACEOF 4623 4624 fi 4625 4626 done 4627 4704 #define HAVE_SYSINFO 1 4705 _ACEOF 4706 4707 fi 4708 done 4628 4709 4629 4710 ac_ext=cpp … … 4632 4713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4633 4714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4634 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54635 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4716 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4636 4717 if test -z "$CXXCPP"; then 4637 if test "${ac_cv_prog_CXXCPP+set}" = set; then4638 echo $ECHO_N "(cached) $ECHO_C" >&64718 if ${ac_cv_prog_CXXCPP+:} false; then : 4719 $as_echo_n "(cached) " >&6 4639 4720 else 4640 4721 # Double quotes because CXXCPP needs to be expanded … … 4650 4731 # On the NeXT, cc -E runs the code through the compiler's parser, 4651 4732 # not just through cpp. "Syntax error" is here to catch this case. 4652 cat >conftest.$ac_ext <<_ACEOF 4653 /* confdefs.h. */ 4654 _ACEOF 4655 cat confdefs.h >>conftest.$ac_ext 4656 cat >>conftest.$ac_ext <<_ACEOF 4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4657 4734 /* end confdefs.h. */ 4658 4735 #ifdef __STDC__ … … 4663 4740 Syntax error 4664 4741 _ACEOF 4665 if { (ac_try="$ac_cpp conftest.$ac_ext" 4666 case "(($ac_try" in 4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4668 *) ac_try_echo=$ac_try;; 4669 esac 4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4672 ac_status=$? 4673 grep -v '^ *+' conftest.er1 >conftest.err 4674 rm -f conftest.er1 4675 cat conftest.err >&5 4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4677 (exit $ac_status); } >/dev/null && { 4678 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4679 test ! -s conftest.err 4680 }; then 4681 : 4682 else 4683 echo "$as_me: failed program was:" >&5 4684 sed 's/^/| /' conftest.$ac_ext >&5 4685 4742 if ac_fn_cxx_try_cpp "$LINENO"; then : 4743 4744 else 4686 4745 # Broken: fails on valid input. 4687 4746 continue 4688 4747 fi 4689 4690 rm -f conftest.err conftest.$ac_ext 4748 rm -f conftest.err conftest.i conftest.$ac_ext 4691 4749 4692 4750 # OK, works on sane cases. Now check whether nonexistent headers 4693 4751 # can be detected and how. 4694 cat >conftest.$ac_ext <<_ACEOF 4695 /* confdefs.h. */ 4696 _ACEOF 4697 cat confdefs.h >>conftest.$ac_ext 4698 cat >>conftest.$ac_ext <<_ACEOF 4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4699 4753 /* end confdefs.h. */ 4700 4754 #include <ac_nonexistent.h> 4701 4755 _ACEOF 4702 if { (ac_try="$ac_cpp conftest.$ac_ext" 4703 case "(($ac_try" in 4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4705 *) ac_try_echo=$ac_try;; 4706 esac 4707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4709 ac_status=$? 4710 grep -v '^ *+' conftest.er1 >conftest.err 4711 rm -f conftest.er1 4712 cat conftest.err >&5 4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4714 (exit $ac_status); } >/dev/null && { 4715 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4716 test ! -s conftest.err 4717 }; then 4756 if ac_fn_cxx_try_cpp "$LINENO"; then : 4718 4757 # Broken: success on invalid input. 4719 4758 continue 4720 4759 else 4721 echo "$as_me: failed program was:" >&54722 sed 's/^/| /' conftest.$ac_ext >&54723 4724 4760 # Passes both tests. 4725 4761 ac_preproc_ok=: 4726 4762 break 4727 4763 fi 4728 4729 rm -f conftest.err conftest.$ac_ext 4764 rm -f conftest.err conftest.i conftest.$ac_ext 4730 4765 4731 4766 done 4732 4767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4733 rm -f conftest. err conftest.$ac_ext4734 if $ac_preproc_ok; then 4768 rm -f conftest.i conftest.err conftest.$ac_ext 4769 if $ac_preproc_ok; then : 4735 4770 break 4736 4771 fi … … 4744 4779 ac_cv_prog_CXXCPP=$CXXCPP 4745 4780 fi 4746 { echo "$as_me:$LINENO: result: $CXXCPP" >&54747 echo "${ECHO_T}$CXXCPP" >&6; }4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4782 $as_echo "$CXXCPP" >&6; } 4748 4783 ac_preproc_ok=false 4749 4784 for ac_cxx_preproc_warn_flag in '' yes … … 4755 4790 # On the NeXT, cc -E runs the code through the compiler's parser, 4756 4791 # not just through cpp. "Syntax error" is here to catch this case. 4757 cat >conftest.$ac_ext <<_ACEOF 4758 /* confdefs.h. */ 4759 _ACEOF 4760 cat confdefs.h >>conftest.$ac_ext 4761 cat >>conftest.$ac_ext <<_ACEOF 4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4762 4793 /* end confdefs.h. */ 4763 4794 #ifdef __STDC__ … … 4768 4799 Syntax error 4769 4800 _ACEOF 4770 if { (ac_try="$ac_cpp conftest.$ac_ext" 4771 case "(($ac_try" in 4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4773 *) ac_try_echo=$ac_try;; 4774 esac 4775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4777 ac_status=$? 4778 grep -v '^ *+' conftest.er1 >conftest.err 4779 rm -f conftest.er1 4780 cat conftest.err >&5 4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4782 (exit $ac_status); } >/dev/null && { 4783 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4784 test ! -s conftest.err 4785 }; then 4786 : 4787 else 4788 echo "$as_me: failed program was:" >&5 4789 sed 's/^/| /' conftest.$ac_ext >&5 4790 4801 if ac_fn_cxx_try_cpp "$LINENO"; then : 4802 4803 else 4791 4804 # Broken: fails on valid input. 4792 4805 continue 4793 4806 fi 4794 4795 rm -f conftest.err conftest.$ac_ext 4807 rm -f conftest.err conftest.i conftest.$ac_ext 4796 4808 4797 4809 # OK, works on sane cases. Now check whether nonexistent headers 4798 4810 # can be detected and how. 4799 cat >conftest.$ac_ext <<_ACEOF 4800 /* confdefs.h. */ 4801 _ACEOF 4802 cat confdefs.h >>conftest.$ac_ext 4803 cat >>conftest.$ac_ext <<_ACEOF 4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4804 4812 /* end confdefs.h. */ 4805 4813 #include <ac_nonexistent.h> 4806 4814 _ACEOF 4807 if { (ac_try="$ac_cpp conftest.$ac_ext" 4808 case "(($ac_try" in 4809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4810 *) ac_try_echo=$ac_try;; 4811 esac 4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4814 ac_status=$? 4815 grep -v '^ *+' conftest.er1 >conftest.err 4816 rm -f conftest.er1 4817 cat conftest.err >&5 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); } >/dev/null && { 4820 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4821 test ! -s conftest.err 4822 }; then 4815 if ac_fn_cxx_try_cpp "$LINENO"; then : 4823 4816 # Broken: success on invalid input. 4824 4817 continue 4825 4818 else 4826 echo "$as_me: failed program was:" >&54827 sed 's/^/| /' conftest.$ac_ext >&54828 4829 4819 # Passes both tests. 4830 4820 ac_preproc_ok=: 4831 4821 break 4832 4822 fi 4833 4834 rm -f conftest.err conftest.$ac_ext 4823 rm -f conftest.err conftest.i conftest.$ac_ext 4835 4824 4836 4825 done 4837 4826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4838 rm -f conftest.err conftest.$ac_ext 4839 if $ac_preproc_ok; then 4840 : 4841 else 4842 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4843 See \`config.log' for more details." >&5 4844 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4845 See \`config.log' for more details." >&2;} 4846 { (exit 1); exit 1; }; } 4827 rm -f conftest.i conftest.err conftest.$ac_ext 4828 if $ac_preproc_ok; then : 4829 4830 else 4831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4833 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4834 See \`config.log' for more details" "$LINENO" 5; } 4847 4835 fi 4848 4836 … … 4854 4842 4855 4843 4844 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4845 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4846 inttypes.h stdint.h unistd.h 4847 do : 4848 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4849 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4850 " 4851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4852 cat >>confdefs.h <<_ACEOF 4853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4854 _ACEOF 4855 4856 fi 4857 4858 done 4859 4856 4860 4857 4861 for ac_header in sys/sysinfo.h 4858 do 4859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4861 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4864 echo $ECHO_N "(cached) $ECHO_C" >&6 4865 fi 4866 ac_res=`eval echo '${'$as_ac_Header'}'` 4867 { echo "$as_me:$LINENO: result: $ac_res" >&5 4868 echo "${ECHO_T}$ac_res" >&6; } 4869 else 4870 # Is the header compilable? 4871 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4873 cat >conftest.$ac_ext <<_ACEOF 4874 /* confdefs.h. */ 4875 _ACEOF 4876 cat confdefs.h >>conftest.$ac_ext 4877 cat >>conftest.$ac_ext <<_ACEOF 4878 /* end confdefs.h. */ 4879 $ac_includes_default 4880 #include <$ac_header> 4881 _ACEOF 4882 rm -f conftest.$ac_objext 4883 if { (ac_try="$ac_compile" 4884 case "(($ac_try" in 4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4886 *) ac_try_echo=$ac_try;; 4887 esac 4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4889 (eval "$ac_compile") 2>conftest.er1 4890 ac_status=$? 4891 grep -v '^ *+' conftest.er1 >conftest.err 4892 rm -f conftest.er1 4893 cat conftest.err >&5 4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4895 (exit $ac_status); } && { 4896 test -z "$ac_cxx_werror_flag" || 4897 test ! -s conftest.err 4898 } && test -s conftest.$ac_objext; then 4899 ac_header_compiler=yes 4900 else 4901 echo "$as_me: failed program was:" >&5 4902 sed 's/^/| /' conftest.$ac_ext >&5 4903 4904 ac_header_compiler=no 4905 fi 4906 4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4908 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4909 echo "${ECHO_T}$ac_header_compiler" >&6; } 4910 4911 # Is the header present? 4912 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4914 cat >conftest.$ac_ext <<_ACEOF 4915 /* confdefs.h. */ 4916 _ACEOF 4917 cat confdefs.h >>conftest.$ac_ext 4918 cat >>conftest.$ac_ext <<_ACEOF 4919 /* end confdefs.h. */ 4920 #include <$ac_header> 4921 _ACEOF 4922 if { (ac_try="$ac_cpp conftest.$ac_ext" 4923 case "(($ac_try" in 4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4925 *) ac_try_echo=$ac_try;; 4926 esac 4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4929 ac_status=$? 4930 grep -v '^ *+' conftest.er1 >conftest.err 4931 rm -f conftest.er1 4932 cat conftest.err >&5 4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4934 (exit $ac_status); } >/dev/null && { 4935 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4936 test ! -s conftest.err 4937 }; then 4938 ac_header_preproc=yes 4939 else 4940 echo "$as_me: failed program was:" >&5 4941 sed 's/^/| /' conftest.$ac_ext >&5 4942 4943 ac_header_preproc=no 4944 fi 4945 4946 rm -f conftest.err conftest.$ac_ext 4947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4948 echo "${ECHO_T}$ac_header_preproc" >&6; } 4949 4950 # So? What about this header? 4951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4952 yes:no: ) 4953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4957 ac_header_preproc=yes 4958 ;; 4959 no:yes:* ) 4960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4972 ( cat <<\_ASBOX 4973 ## ----------------------------------- ## 4974 ## Report this to rappture@nanohub.org ## 4975 ## ----------------------------------- ## 4976 _ASBOX 4977 ) | sed "s/^/$as_me: WARNING: /" >&2 4978 ;; 4979 esac 4980 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4983 echo $ECHO_N "(cached) $ECHO_C" >&6 4984 else 4985 eval "$as_ac_Header=\$ac_header_preproc" 4986 fi 4987 ac_res=`eval echo '${'$as_ac_Header'}'` 4988 { echo "$as_me:$LINENO: result: $ac_res" >&5 4989 echo "${ECHO_T}$ac_res" >&6; } 4990 4991 fi 4992 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4862 do : 4863 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4864 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4993 4865 cat >>confdefs.h <<_ACEOF 4994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4995 _ACEOF 4996 4997 fi 4998 4999 done 5000 5001 5002 5003 { echo "$as_me:$LINENO: checking for main in -lm" >&5 5004 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 5005 if test "${ac_cv_lib_m_main+set}" = set; then 5006 echo $ECHO_N "(cached) $ECHO_C" >&6 4866 #define HAVE_SYS_SYSINFO_H 1 4867 _ACEOF 4868 4869 fi 4870 4871 done 4872 4873 4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4875 $as_echo_n "checking for main in -lm... " >&6; } 4876 if ${ac_cv_lib_m_main+:} false; then : 4877 $as_echo_n "(cached) " >&6 5007 4878 else 5008 4879 ac_check_lib_save_LIBS=$LIBS 5009 4880 LIBS="-lm $LIBS" 5010 cat >conftest.$ac_ext <<_ACEOF 5011 /* confdefs.h. */ 5012 _ACEOF 5013 cat confdefs.h >>conftest.$ac_ext 5014 cat >>conftest.$ac_ext <<_ACEOF 4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5015 4882 /* end confdefs.h. */ 5016 4883 … … 5024 4891 } 5025 4892 _ACEOF 5026 rm -f conftest.$ac_objext conftest$ac_exeext 5027 if { (ac_try="$ac_link" 5028 case "(($ac_try" in 5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5030 *) ac_try_echo=$ac_try;; 5031 esac 5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5033 (eval "$ac_link") 2>conftest.er1 5034 ac_status=$? 5035 grep -v '^ *+' conftest.er1 >conftest.err 5036 rm -f conftest.er1 5037 cat conftest.err >&5 5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5039 (exit $ac_status); } && { 5040 test -z "$ac_cxx_werror_flag" || 5041 test ! -s conftest.err 5042 } && test -s conftest$ac_exeext && 5043 $as_test_x conftest$ac_exeext; then 4893 if ac_fn_cxx_try_link "$LINENO"; then : 5044 4894 ac_cv_lib_m_main=yes 5045 4895 else 5046 echo "$as_me: failed program was:" >&5 5047 sed 's/^/| /' conftest.$ac_ext >&5 5048 5049 ac_cv_lib_m_main=no 5050 fi 5051 5052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5053 conftest$ac_exeext conftest.$ac_ext 4896 ac_cv_lib_m_main=no 4897 fi 4898 rm -f core conftest.err conftest.$ac_objext \ 4899 conftest$ac_exeext conftest.$ac_ext 5054 4900 LIBS=$ac_check_lib_save_LIBS 5055 4901 fi 5056 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55057 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5058 if test $ac_cv_lib_m_main = yes; then4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4903 $as_echo "$ac_cv_lib_m_main" >&6; } 4904 if test "x$ac_cv_lib_m_main" = xyes; then : 5059 4905 cat >>confdefs.h <<_ACEOF 5060 4906 #define HAVE_LIBM 1 … … 5064 4910 5065 4911 else 5066 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5067 echo "$as_me: error: librappture requires libm" >&2;} 5068 { (exit 1); exit 1; }; } 5069 fi 5070 5071 5072 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5073 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5074 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5075 echo $ECHO_N "(cached) $ECHO_C" >&6 4912 as_fn_error $? "librappture requires libm" "$LINENO" 5 4913 fi 4914 4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4916 $as_echo_n "checking for main in -lstdc++... " >&6; } 4917 if ${ac_cv_lib_stdcpp_main+:} false; then : 4918 $as_echo_n "(cached) " >&6 5076 4919 else 5077 4920 ac_check_lib_save_LIBS=$LIBS 5078 4921 LIBS="-lstdc++ $LIBS" 5079 cat >conftest.$ac_ext <<_ACEOF 5080 /* confdefs.h. */ 5081 _ACEOF 5082 cat confdefs.h >>conftest.$ac_ext 5083 cat >>conftest.$ac_ext <<_ACEOF 4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5084 4923 /* end confdefs.h. */ 5085 4924 … … 5093 4932 } 5094 4933 _ACEOF 5095 rm -f conftest.$ac_objext conftest$ac_exeext 5096 if { (ac_try="$ac_link" 5097 case "(($ac_try" in 5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5099 *) ac_try_echo=$ac_try;; 5100 esac 5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5102 (eval "$ac_link") 2>conftest.er1 5103 ac_status=$? 5104 grep -v '^ *+' conftest.er1 >conftest.err 5105 rm -f conftest.er1 5106 cat conftest.err >&5 5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5108 (exit $ac_status); } && { 5109 test -z "$ac_cxx_werror_flag" || 5110 test ! -s conftest.err 5111 } && test -s conftest$ac_exeext && 5112 $as_test_x conftest$ac_exeext; then 4934 if ac_fn_cxx_try_link "$LINENO"; then : 5113 4935 ac_cv_lib_stdcpp_main=yes 5114 4936 else 5115 echo "$as_me: failed program was:" >&5 5116 sed 's/^/| /' conftest.$ac_ext >&5 5117 5118 ac_cv_lib_stdcpp_main=no 5119 fi 5120 5121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5122 conftest$ac_exeext conftest.$ac_ext 4937 ac_cv_lib_stdcpp_main=no 4938 fi 4939 rm -f core conftest.err conftest.$ac_objext \ 4940 conftest$ac_exeext conftest.$ac_ext 5123 4941 LIBS=$ac_check_lib_save_LIBS 5124 4942 fi 5125 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55126 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5127 if test $ac_cv_lib_stdcpp_main = yes; then4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4944 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4945 if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 5128 4946 cat >>confdefs.h <<_ACEOF 5129 4947 #define HAVE_LIBSTDC__ 1 … … 5133 4951 5134 4952 else 5135 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5136 echo "$as_me: error: librappture requires libstdc++" >&2;} 5137 { (exit 1); exit 1; }; } 5138 fi 5139 4953 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 4954 fi 5140 4955 5141 4956 for ac_header in algorithm 5142 do 5143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5145 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5148 echo $ECHO_N "(cached) $ECHO_C" >&6 5149 fi 5150 ac_res=`eval echo '${'$as_ac_Header'}'` 5151 { echo "$as_me:$LINENO: result: $ac_res" >&5 5152 echo "${ECHO_T}$ac_res" >&6; } 5153 else 5154 # Is the header compilable? 5155 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5157 cat >conftest.$ac_ext <<_ACEOF 5158 /* confdefs.h. */ 5159 _ACEOF 5160 cat confdefs.h >>conftest.$ac_ext 5161 cat >>conftest.$ac_ext <<_ACEOF 5162 /* end confdefs.h. */ 5163 $ac_includes_default 5164 #include <$ac_header> 5165 _ACEOF 5166 rm -f conftest.$ac_objext 5167 if { (ac_try="$ac_compile" 5168 case "(($ac_try" in 5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5170 *) ac_try_echo=$ac_try;; 5171 esac 5172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5173 (eval "$ac_compile") 2>conftest.er1 5174 ac_status=$? 5175 grep -v '^ *+' conftest.er1 >conftest.err 5176 rm -f conftest.er1 5177 cat conftest.err >&5 5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5179 (exit $ac_status); } && { 5180 test -z "$ac_cxx_werror_flag" || 5181 test ! -s conftest.err 5182 } && test -s conftest.$ac_objext; then 5183 ac_header_compiler=yes 5184 else 5185 echo "$as_me: failed program was:" >&5 5186 sed 's/^/| /' conftest.$ac_ext >&5 5187 5188 ac_header_compiler=no 5189 fi 5190 5191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5192 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5193 echo "${ECHO_T}$ac_header_compiler" >&6; } 5194 5195 # Is the header present? 5196 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5198 cat >conftest.$ac_ext <<_ACEOF 5199 /* confdefs.h. */ 5200 _ACEOF 5201 cat confdefs.h >>conftest.$ac_ext 5202 cat >>conftest.$ac_ext <<_ACEOF 5203 /* end confdefs.h. */ 5204 #include <$ac_header> 5205 _ACEOF 5206 if { (ac_try="$ac_cpp conftest.$ac_ext" 5207 case "(($ac_try" in 5208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5209 *) ac_try_echo=$ac_try;; 5210 esac 5211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5212 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5213 ac_status=$? 5214 grep -v '^ *+' conftest.er1 >conftest.err 5215 rm -f conftest.er1 5216 cat conftest.err >&5 5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5218 (exit $ac_status); } >/dev/null && { 5219 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5220 test ! -s conftest.err 5221 }; then 5222 ac_header_preproc=yes 5223 else 5224 echo "$as_me: failed program was:" >&5 5225 sed 's/^/| /' conftest.$ac_ext >&5 5226 5227 ac_header_preproc=no 5228 fi 5229 5230 rm -f conftest.err conftest.$ac_ext 5231 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5232 echo "${ECHO_T}$ac_header_preproc" >&6; } 5233 5234 # So? What about this header? 5235 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5236 yes:no: ) 5237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5241 ac_header_preproc=yes 5242 ;; 5243 no:yes:* ) 5244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5256 ( cat <<\_ASBOX 5257 ## ----------------------------------- ## 5258 ## Report this to rappture@nanohub.org ## 5259 ## ----------------------------------- ## 5260 _ASBOX 5261 ) | sed "s/^/$as_me: WARNING: /" >&2 5262 ;; 5263 esac 5264 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5267 echo $ECHO_N "(cached) $ECHO_C" >&6 5268 else 5269 eval "$as_ac_Header=\$ac_header_preproc" 5270 fi 5271 ac_res=`eval echo '${'$as_ac_Header'}'` 5272 { echo "$as_me:$LINENO: result: $ac_res" >&5 5273 echo "${ECHO_T}$ac_res" >&6; } 5274 5275 fi 5276 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4957 do : 4958 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4959 if test "x$ac_cv_header_algorithm" = xyes; then : 5277 4960 cat >>confdefs.h <<_ACEOF 5278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5279 _ACEOF 5280 5281 else 5282 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5283 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5284 fi 5285 5286 done 5287 4961 #define HAVE_ALGORITHM 1 4962 _ACEOF 4963 4964 else 4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4966 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4967 fi 4968 4969 done 5288 4970 5289 4971 for ac_header in cctype 5290 do 5291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5293 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5296 echo $ECHO_N "(cached) $ECHO_C" >&6 5297 fi 5298 ac_res=`eval echo '${'$as_ac_Header'}'` 5299 { echo "$as_me:$LINENO: result: $ac_res" >&5 5300 echo "${ECHO_T}$ac_res" >&6; } 5301 else 5302 # Is the header compilable? 5303 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5305 cat >conftest.$ac_ext <<_ACEOF 5306 /* confdefs.h. */ 5307 _ACEOF 5308 cat confdefs.h >>conftest.$ac_ext 5309 cat >>conftest.$ac_ext <<_ACEOF 5310 /* end confdefs.h. */ 5311 $ac_includes_default 5312 #include <$ac_header> 5313 _ACEOF 5314 rm -f conftest.$ac_objext 5315 if { (ac_try="$ac_compile" 5316 case "(($ac_try" in 5317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5318 *) ac_try_echo=$ac_try;; 5319 esac 5320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5321 (eval "$ac_compile") 2>conftest.er1 5322 ac_status=$? 5323 grep -v '^ *+' conftest.er1 >conftest.err 5324 rm -f conftest.er1 5325 cat conftest.err >&5 5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5327 (exit $ac_status); } && { 5328 test -z "$ac_cxx_werror_flag" || 5329 test ! -s conftest.err 5330 } && test -s conftest.$ac_objext; then 5331 ac_header_compiler=yes 5332 else 5333 echo "$as_me: failed program was:" >&5 5334 sed 's/^/| /' conftest.$ac_ext >&5 5335 5336 ac_header_compiler=no 5337 fi 5338 5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5340 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5341 echo "${ECHO_T}$ac_header_compiler" >&6; } 5342 5343 # Is the header present? 5344 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5346 cat >conftest.$ac_ext <<_ACEOF 5347 /* confdefs.h. */ 5348 _ACEOF 5349 cat confdefs.h >>conftest.$ac_ext 5350 cat >>conftest.$ac_ext <<_ACEOF 5351 /* end confdefs.h. */ 5352 #include <$ac_header> 5353 _ACEOF 5354 if { (ac_try="$ac_cpp conftest.$ac_ext" 5355 case "(($ac_try" in 5356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5357 *) ac_try_echo=$ac_try;; 5358 esac 5359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5361 ac_status=$? 5362 grep -v '^ *+' conftest.er1 >conftest.err 5363 rm -f conftest.er1 5364 cat conftest.err >&5 5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5366 (exit $ac_status); } >/dev/null && { 5367 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5368 test ! -s conftest.err 5369 }; then 5370 ac_header_preproc=yes 5371 else 5372 echo "$as_me: failed program was:" >&5 5373 sed 's/^/| /' conftest.$ac_ext >&5 5374 5375 ac_header_preproc=no 5376 fi 5377 5378 rm -f conftest.err conftest.$ac_ext 5379 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5380 echo "${ECHO_T}$ac_header_preproc" >&6; } 5381 5382 # So? What about this header? 5383 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5384 yes:no: ) 5385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5389 ac_header_preproc=yes 5390 ;; 5391 no:yes:* ) 5392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5404 ( cat <<\_ASBOX 5405 ## ----------------------------------- ## 5406 ## Report this to rappture@nanohub.org ## 5407 ## ----------------------------------- ## 5408 _ASBOX 5409 ) | sed "s/^/$as_me: WARNING: /" >&2 5410 ;; 5411 esac 5412 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5415 echo $ECHO_N "(cached) $ECHO_C" >&6 5416 else 5417 eval "$as_ac_Header=\$ac_header_preproc" 5418 fi 5419 ac_res=`eval echo '${'$as_ac_Header'}'` 5420 { echo "$as_me:$LINENO: result: $ac_res" >&5 5421 echo "${ECHO_T}$ac_res" >&6; } 5422 5423 fi 5424 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4972 do : 4973 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4974 if test "x$ac_cv_header_cctype" = xyes; then : 5425 4975 cat >>confdefs.h <<_ACEOF 5426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5427 _ACEOF 5428 5429 else 5430 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5431 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5432 fi 5433 5434 done 5435 4976 #define HAVE_CCTYPE 1 4977 _ACEOF 4978 4979 else 4980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4981 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4982 fi 4983 4984 done 5436 4985 5437 4986 for ac_header in cfloat 5438 do 5439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5441 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5444 echo $ECHO_N "(cached) $ECHO_C" >&6 5445 fi 5446 ac_res=`eval echo '${'$as_ac_Header'}'` 5447 { echo "$as_me:$LINENO: result: $ac_res" >&5 5448 echo "${ECHO_T}$ac_res" >&6; } 5449 else 5450 # Is the header compilable? 5451 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5453 cat >conftest.$ac_ext <<_ACEOF 5454 /* confdefs.h. */ 5455 _ACEOF 5456 cat confdefs.h >>conftest.$ac_ext 5457 cat >>conftest.$ac_ext <<_ACEOF 5458 /* end confdefs.h. */ 5459 $ac_includes_default 5460 #include <$ac_header> 5461 _ACEOF 5462 rm -f conftest.$ac_objext 5463 if { (ac_try="$ac_compile" 5464 case "(($ac_try" in 5465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5466 *) ac_try_echo=$ac_try;; 5467 esac 5468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5469 (eval "$ac_compile") 2>conftest.er1 5470 ac_status=$? 5471 grep -v '^ *+' conftest.er1 >conftest.err 5472 rm -f conftest.er1 5473 cat conftest.err >&5 5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5475 (exit $ac_status); } && { 5476 test -z "$ac_cxx_werror_flag" || 5477 test ! -s conftest.err 5478 } && test -s conftest.$ac_objext; then 5479 ac_header_compiler=yes 5480 else 5481 echo "$as_me: failed program was:" >&5 5482 sed 's/^/| /' conftest.$ac_ext >&5 5483 5484 ac_header_compiler=no 5485 fi 5486 5487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5488 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5489 echo "${ECHO_T}$ac_header_compiler" >&6; } 5490 5491 # Is the header present? 5492 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5494 cat >conftest.$ac_ext <<_ACEOF 5495 /* confdefs.h. */ 5496 _ACEOF 5497 cat confdefs.h >>conftest.$ac_ext 5498 cat >>conftest.$ac_ext <<_ACEOF 5499 /* end confdefs.h. */ 5500 #include <$ac_header> 5501 _ACEOF 5502 if { (ac_try="$ac_cpp conftest.$ac_ext" 5503 case "(($ac_try" in 5504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5505 *) ac_try_echo=$ac_try;; 5506 esac 5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5509 ac_status=$? 5510 grep -v '^ *+' conftest.er1 >conftest.err 5511 rm -f conftest.er1 5512 cat conftest.err >&5 5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5514 (exit $ac_status); } >/dev/null && { 5515 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5516 test ! -s conftest.err 5517 }; then 5518 ac_header_preproc=yes 5519 else 5520 echo "$as_me: failed program was:" >&5 5521 sed 's/^/| /' conftest.$ac_ext >&5 5522 5523 ac_header_preproc=no 5524 fi 5525 5526 rm -f conftest.err conftest.$ac_ext 5527 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5528 echo "${ECHO_T}$ac_header_preproc" >&6; } 5529 5530 # So? What about this header? 5531 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5532 yes:no: ) 5533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5537 ac_header_preproc=yes 5538 ;; 5539 no:yes:* ) 5540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5552 ( cat <<\_ASBOX 5553 ## ----------------------------------- ## 5554 ## Report this to rappture@nanohub.org ## 5555 ## ----------------------------------- ## 5556 _ASBOX 5557 ) | sed "s/^/$as_me: WARNING: /" >&2 5558 ;; 5559 esac 5560 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5563 echo $ECHO_N "(cached) $ECHO_C" >&6 5564 else 5565 eval "$as_ac_Header=\$ac_header_preproc" 5566 fi 5567 ac_res=`eval echo '${'$as_ac_Header'}'` 5568 { echo "$as_me:$LINENO: result: $ac_res" >&5 5569 echo "${ECHO_T}$ac_res" >&6; } 5570 5571 fi 5572 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4987 do : 4988 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4989 if test "x$ac_cv_header_cfloat" = xyes; then : 5573 4990 cat >>confdefs.h <<_ACEOF 5574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5575 _ACEOF 5576 5577 else 5578 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5579 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5580 fi 5581 5582 done 5583 4991 #define HAVE_CFLOAT 1 4992 _ACEOF 4993 4994 else 4995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4996 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4997 fi 4998 4999 done 5584 5000 5585 5001 for ac_header in cmath 5586 do 5587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5589 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5592 echo $ECHO_N "(cached) $ECHO_C" >&6 5593 fi 5594 ac_res=`eval echo '${'$as_ac_Header'}'` 5595 { echo "$as_me:$LINENO: result: $ac_res" >&5 5596 echo "${ECHO_T}$ac_res" >&6; } 5597 else 5598 # Is the header compilable? 5599 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5601 cat >conftest.$ac_ext <<_ACEOF 5602 /* confdefs.h. */ 5603 _ACEOF 5604 cat confdefs.h >>conftest.$ac_ext 5605 cat >>conftest.$ac_ext <<_ACEOF 5606 /* end confdefs.h. */ 5607 $ac_includes_default 5608 #include <$ac_header> 5609 _ACEOF 5610 rm -f conftest.$ac_objext 5611 if { (ac_try="$ac_compile" 5612 case "(($ac_try" in 5613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5614 *) ac_try_echo=$ac_try;; 5615 esac 5616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5617 (eval "$ac_compile") 2>conftest.er1 5618 ac_status=$? 5619 grep -v '^ *+' conftest.er1 >conftest.err 5620 rm -f conftest.er1 5621 cat conftest.err >&5 5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5623 (exit $ac_status); } && { 5624 test -z "$ac_cxx_werror_flag" || 5625 test ! -s conftest.err 5626 } && test -s conftest.$ac_objext; then 5627 ac_header_compiler=yes 5628 else 5629 echo "$as_me: failed program was:" >&5 5630 sed 's/^/| /' conftest.$ac_ext >&5 5631 5632 ac_header_compiler=no 5633 fi 5634 5635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5636 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5637 echo "${ECHO_T}$ac_header_compiler" >&6; } 5638 5639 # Is the header present? 5640 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5641 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5642 cat >conftest.$ac_ext <<_ACEOF 5643 /* confdefs.h. */ 5644 _ACEOF 5645 cat confdefs.h >>conftest.$ac_ext 5646 cat >>conftest.$ac_ext <<_ACEOF 5647 /* end confdefs.h. */ 5648 #include <$ac_header> 5649 _ACEOF 5650 if { (ac_try="$ac_cpp conftest.$ac_ext" 5651 case "(($ac_try" in 5652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5653 *) ac_try_echo=$ac_try;; 5654 esac 5655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5657 ac_status=$? 5658 grep -v '^ *+' conftest.er1 >conftest.err 5659 rm -f conftest.er1 5660 cat conftest.err >&5 5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5662 (exit $ac_status); } >/dev/null && { 5663 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5664 test ! -s conftest.err 5665 }; then 5666 ac_header_preproc=yes 5667 else 5668 echo "$as_me: failed program was:" >&5 5669 sed 's/^/| /' conftest.$ac_ext >&5 5670 5671 ac_header_preproc=no 5672 fi 5673 5674 rm -f conftest.err conftest.$ac_ext 5675 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5676 echo "${ECHO_T}$ac_header_preproc" >&6; } 5677 5678 # So? What about this header? 5679 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5680 yes:no: ) 5681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5684 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5685 ac_header_preproc=yes 5686 ;; 5687 no:yes:* ) 5688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5689 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5691 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5692 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5693 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5694 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5695 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5698 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5699 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5700 ( cat <<\_ASBOX 5701 ## ----------------------------------- ## 5702 ## Report this to rappture@nanohub.org ## 5703 ## ----------------------------------- ## 5704 _ASBOX 5705 ) | sed "s/^/$as_me: WARNING: /" >&2 5706 ;; 5707 esac 5708 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5711 echo $ECHO_N "(cached) $ECHO_C" >&6 5712 else 5713 eval "$as_ac_Header=\$ac_header_preproc" 5714 fi 5715 ac_res=`eval echo '${'$as_ac_Header'}'` 5716 { echo "$as_me:$LINENO: result: $ac_res" >&5 5717 echo "${ECHO_T}$ac_res" >&6; } 5718 5719 fi 5720 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5002 do : 5003 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 5004 if test "x$ac_cv_header_cmath" = xyes; then : 5721 5005 cat >>confdefs.h <<_ACEOF 5722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5723 _ACEOF 5724 5725 else 5726 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5727 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5728 fi 5729 5730 done 5731 5006 #define HAVE_CMATH 1 5007 _ACEOF 5008 5009 else 5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5011 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5012 fi 5013 5014 done 5732 5015 5733 5016 for ac_header in cstdio 5734 do 5735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5737 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5739 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5740 echo $ECHO_N "(cached) $ECHO_C" >&6 5741 fi 5742 ac_res=`eval echo '${'$as_ac_Header'}'` 5743 { echo "$as_me:$LINENO: result: $ac_res" >&5 5744 echo "${ECHO_T}$ac_res" >&6; } 5745 else 5746 # Is the header compilable? 5747 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5749 cat >conftest.$ac_ext <<_ACEOF 5750 /* confdefs.h. */ 5751 _ACEOF 5752 cat confdefs.h >>conftest.$ac_ext 5753 cat >>conftest.$ac_ext <<_ACEOF 5754 /* end confdefs.h. */ 5755 $ac_includes_default 5756 #include <$ac_header> 5757 _ACEOF 5758 rm -f conftest.$ac_objext 5759 if { (ac_try="$ac_compile" 5760 case "(($ac_try" in 5761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5762 *) ac_try_echo=$ac_try;; 5763 esac 5764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5765 (eval "$ac_compile") 2>conftest.er1 5766 ac_status=$? 5767 grep -v '^ *+' conftest.er1 >conftest.err 5768 rm -f conftest.er1 5769 cat conftest.err >&5 5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5771 (exit $ac_status); } && { 5772 test -z "$ac_cxx_werror_flag" || 5773 test ! -s conftest.err 5774 } && test -s conftest.$ac_objext; then 5775 ac_header_compiler=yes 5776 else 5777 echo "$as_me: failed program was:" >&5 5778 sed 's/^/| /' conftest.$ac_ext >&5 5779 5780 ac_header_compiler=no 5781 fi 5782 5783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5784 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5785 echo "${ECHO_T}$ac_header_compiler" >&6; } 5786 5787 # Is the header present? 5788 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5790 cat >conftest.$ac_ext <<_ACEOF 5791 /* confdefs.h. */ 5792 _ACEOF 5793 cat confdefs.h >>conftest.$ac_ext 5794 cat >>conftest.$ac_ext <<_ACEOF 5795 /* end confdefs.h. */ 5796 #include <$ac_header> 5797 _ACEOF 5798 if { (ac_try="$ac_cpp conftest.$ac_ext" 5799 case "(($ac_try" in 5800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5801 *) ac_try_echo=$ac_try;; 5802 esac 5803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5805 ac_status=$? 5806 grep -v '^ *+' conftest.er1 >conftest.err 5807 rm -f conftest.er1 5808 cat conftest.err >&5 5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5810 (exit $ac_status); } >/dev/null && { 5811 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5812 test ! -s conftest.err 5813 }; then 5814 ac_header_preproc=yes 5815 else 5816 echo "$as_me: failed program was:" >&5 5817 sed 's/^/| /' conftest.$ac_ext >&5 5818 5819 ac_header_preproc=no 5820 fi 5821 5822 rm -f conftest.err conftest.$ac_ext 5823 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5824 echo "${ECHO_T}$ac_header_preproc" >&6; } 5825 5826 # So? What about this header? 5827 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5828 yes:no: ) 5829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5833 ac_header_preproc=yes 5834 ;; 5835 no:yes:* ) 5836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5848 ( cat <<\_ASBOX 5849 ## ----------------------------------- ## 5850 ## Report this to rappture@nanohub.org ## 5851 ## ----------------------------------- ## 5852 _ASBOX 5853 ) | sed "s/^/$as_me: WARNING: /" >&2 5854 ;; 5855 esac 5856 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5859 echo $ECHO_N "(cached) $ECHO_C" >&6 5860 else 5861 eval "$as_ac_Header=\$ac_header_preproc" 5862 fi 5863 ac_res=`eval echo '${'$as_ac_Header'}'` 5864 { echo "$as_me:$LINENO: result: $ac_res" >&5 5865 echo "${ECHO_T}$ac_res" >&6; } 5866 5867 fi 5868 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5017 do : 5018 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 5019 if test "x$ac_cv_header_cstdio" = xyes; then : 5869 5020 cat >>confdefs.h <<_ACEOF 5870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5871 _ACEOF 5872 5873 else 5874 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5875 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5876 fi 5877 5878 done 5879 5021 #define HAVE_CSTDIO 1 5022 _ACEOF 5023 5024 else 5025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5026 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5027 fi 5028 5029 done 5880 5030 5881 5031 for ac_header in cstdlib 5882 do 5883 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5885 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5888 echo $ECHO_N "(cached) $ECHO_C" >&6 5889 fi 5890 ac_res=`eval echo '${'$as_ac_Header'}'` 5891 { echo "$as_me:$LINENO: result: $ac_res" >&5 5892 echo "${ECHO_T}$ac_res" >&6; } 5893 else 5894 # Is the header compilable? 5895 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5897 cat >conftest.$ac_ext <<_ACEOF 5898 /* confdefs.h. */ 5899 _ACEOF 5900 cat confdefs.h >>conftest.$ac_ext 5901 cat >>conftest.$ac_ext <<_ACEOF 5902 /* end confdefs.h. */ 5903 $ac_includes_default 5904 #include <$ac_header> 5905 _ACEOF 5906 rm -f conftest.$ac_objext 5907 if { (ac_try="$ac_compile" 5908 case "(($ac_try" in 5909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5910 *) ac_try_echo=$ac_try;; 5911 esac 5912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5913 (eval "$ac_compile") 2>conftest.er1 5914 ac_status=$? 5915 grep -v '^ *+' conftest.er1 >conftest.err 5916 rm -f conftest.er1 5917 cat conftest.err >&5 5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5919 (exit $ac_status); } && { 5920 test -z "$ac_cxx_werror_flag" || 5921 test ! -s conftest.err 5922 } && test -s conftest.$ac_objext; then 5923 ac_header_compiler=yes 5924 else 5925 echo "$as_me: failed program was:" >&5 5926 sed 's/^/| /' conftest.$ac_ext >&5 5927 5928 ac_header_compiler=no 5929 fi 5930 5931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5932 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5933 echo "${ECHO_T}$ac_header_compiler" >&6; } 5934 5935 # Is the header present? 5936 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5938 cat >conftest.$ac_ext <<_ACEOF 5939 /* confdefs.h. */ 5940 _ACEOF 5941 cat confdefs.h >>conftest.$ac_ext 5942 cat >>conftest.$ac_ext <<_ACEOF 5943 /* end confdefs.h. */ 5944 #include <$ac_header> 5945 _ACEOF 5946 if { (ac_try="$ac_cpp conftest.$ac_ext" 5947 case "(($ac_try" in 5948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5949 *) ac_try_echo=$ac_try;; 5950 esac 5951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5953 ac_status=$? 5954 grep -v '^ *+' conftest.er1 >conftest.err 5955 rm -f conftest.er1 5956 cat conftest.err >&5 5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5958 (exit $ac_status); } >/dev/null && { 5959 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5960 test ! -s conftest.err 5961 }; then 5962 ac_header_preproc=yes 5963 else 5964 echo "$as_me: failed program was:" >&5 5965 sed 's/^/| /' conftest.$ac_ext >&5 5966 5967 ac_header_preproc=no 5968 fi 5969 5970 rm -f conftest.err conftest.$ac_ext 5971 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5972 echo "${ECHO_T}$ac_header_preproc" >&6; } 5973 5974 # So? What about this header? 5975 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5976 yes:no: ) 5977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5980 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5981 ac_header_preproc=yes 5982 ;; 5983 no:yes:* ) 5984 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5985 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5986 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5987 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5988 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5989 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5990 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5991 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5994 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5995 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5996 ( cat <<\_ASBOX 5997 ## ----------------------------------- ## 5998 ## Report this to rappture@nanohub.org ## 5999 ## ----------------------------------- ## 6000 _ASBOX 6001 ) | sed "s/^/$as_me: WARNING: /" >&2 6002 ;; 6003 esac 6004 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6007 echo $ECHO_N "(cached) $ECHO_C" >&6 6008 else 6009 eval "$as_ac_Header=\$ac_header_preproc" 6010 fi 6011 ac_res=`eval echo '${'$as_ac_Header'}'` 6012 { echo "$as_me:$LINENO: result: $ac_res" >&5 6013 echo "${ECHO_T}$ac_res" >&6; } 6014 6015 fi 6016 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5032 do : 5033 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 5034 if test "x$ac_cv_header_cstdlib" = xyes; then : 6017 5035 cat >>confdefs.h <<_ACEOF 6018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6019 _ACEOF 6020 6021 else 6022 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6023 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6024 fi 6025 6026 done 6027 5036 #define HAVE_CSTDLIB 1 5037 _ACEOF 5038 5039 else 5040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5041 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5042 fi 5043 5044 done 6028 5045 6029 5046 for ac_header in cstring 6030 do 6031 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6033 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6036 echo $ECHO_N "(cached) $ECHO_C" >&6 6037 fi 6038 ac_res=`eval echo '${'$as_ac_Header'}'` 6039 { echo "$as_me:$LINENO: result: $ac_res" >&5 6040 echo "${ECHO_T}$ac_res" >&6; } 6041 else 6042 # Is the header compilable? 6043 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6045 cat >conftest.$ac_ext <<_ACEOF 6046 /* confdefs.h. */ 6047 _ACEOF 6048 cat confdefs.h >>conftest.$ac_ext 6049 cat >>conftest.$ac_ext <<_ACEOF 6050 /* end confdefs.h. */ 6051 $ac_includes_default 6052 #include <$ac_header> 6053 _ACEOF 6054 rm -f conftest.$ac_objext 6055 if { (ac_try="$ac_compile" 6056 case "(($ac_try" in 6057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6058 *) ac_try_echo=$ac_try;; 6059 esac 6060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6061 (eval "$ac_compile") 2>conftest.er1 6062 ac_status=$? 6063 grep -v '^ *+' conftest.er1 >conftest.err 6064 rm -f conftest.er1 6065 cat conftest.err >&5 6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6067 (exit $ac_status); } && { 6068 test -z "$ac_cxx_werror_flag" || 6069 test ! -s conftest.err 6070 } && test -s conftest.$ac_objext; then 6071 ac_header_compiler=yes 6072 else 6073 echo "$as_me: failed program was:" >&5 6074 sed 's/^/| /' conftest.$ac_ext >&5 6075 6076 ac_header_compiler=no 6077 fi 6078 6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6080 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6081 echo "${ECHO_T}$ac_header_compiler" >&6; } 6082 6083 # Is the header present? 6084 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6086 cat >conftest.$ac_ext <<_ACEOF 6087 /* confdefs.h. */ 6088 _ACEOF 6089 cat confdefs.h >>conftest.$ac_ext 6090 cat >>conftest.$ac_ext <<_ACEOF 6091 /* end confdefs.h. */ 6092 #include <$ac_header> 6093 _ACEOF 6094 if { (ac_try="$ac_cpp conftest.$ac_ext" 6095 case "(($ac_try" in 6096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6097 *) ac_try_echo=$ac_try;; 6098 esac 6099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6101 ac_status=$? 6102 grep -v '^ *+' conftest.er1 >conftest.err 6103 rm -f conftest.er1 6104 cat conftest.err >&5 6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6106 (exit $ac_status); } >/dev/null && { 6107 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6108 test ! -s conftest.err 6109 }; then 6110 ac_header_preproc=yes 6111 else 6112 echo "$as_me: failed program was:" >&5 6113 sed 's/^/| /' conftest.$ac_ext >&5 6114 6115 ac_header_preproc=no 6116 fi 6117 6118 rm -f conftest.err conftest.$ac_ext 6119 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6120 echo "${ECHO_T}$ac_header_preproc" >&6; } 6121 6122 # So? What about this header? 6123 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6124 yes:no: ) 6125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6129 ac_header_preproc=yes 6130 ;; 6131 no:yes:* ) 6132 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6134 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6135 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6136 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6138 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6139 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6144 ( cat <<\_ASBOX 6145 ## ----------------------------------- ## 6146 ## Report this to rappture@nanohub.org ## 6147 ## ----------------------------------- ## 6148 _ASBOX 6149 ) | sed "s/^/$as_me: WARNING: /" >&2 6150 ;; 6151 esac 6152 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6155 echo $ECHO_N "(cached) $ECHO_C" >&6 6156 else 6157 eval "$as_ac_Header=\$ac_header_preproc" 6158 fi 6159 ac_res=`eval echo '${'$as_ac_Header'}'` 6160 { echo "$as_me:$LINENO: result: $ac_res" >&5 6161 echo "${ECHO_T}$ac_res" >&6; } 6162 6163 fi 6164 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5047 do : 5048 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5049 if test "x$ac_cv_header_cstring" = xyes; then : 6165 5050 cat >>confdefs.h <<_ACEOF 6166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6167 _ACEOF 6168 6169 else 6170 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6171 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6172 fi 6173 6174 done 6175 5051 #define HAVE_CSTRING 1 5052 _ACEOF 5053 5054 else 5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5056 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5057 fi 5058 5059 done 6176 5060 6177 5061 for ac_header in fstream 6178 do 6179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6181 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6184 echo $ECHO_N "(cached) $ECHO_C" >&6 6185 fi 6186 ac_res=`eval echo '${'$as_ac_Header'}'` 6187 { echo "$as_me:$LINENO: result: $ac_res" >&5 6188 echo "${ECHO_T}$ac_res" >&6; } 6189 else 6190 # Is the header compilable? 6191 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6193 cat >conftest.$ac_ext <<_ACEOF 6194 /* confdefs.h. */ 6195 _ACEOF 6196 cat confdefs.h >>conftest.$ac_ext 6197 cat >>conftest.$ac_ext <<_ACEOF 6198 /* end confdefs.h. */ 6199 $ac_includes_default 6200 #include <$ac_header> 6201 _ACEOF 6202 rm -f conftest.$ac_objext 6203 if { (ac_try="$ac_compile" 6204 case "(($ac_try" in 6205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6206 *) ac_try_echo=$ac_try;; 6207 esac 6208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6209 (eval "$ac_compile") 2>conftest.er1 6210 ac_status=$? 6211 grep -v '^ *+' conftest.er1 >conftest.err 6212 rm -f conftest.er1 6213 cat conftest.err >&5 6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6215 (exit $ac_status); } && { 6216 test -z "$ac_cxx_werror_flag" || 6217 test ! -s conftest.err 6218 } && test -s conftest.$ac_objext; then 6219 ac_header_compiler=yes 6220 else 6221 echo "$as_me: failed program was:" >&5 6222 sed 's/^/| /' conftest.$ac_ext >&5 6223 6224 ac_header_compiler=no 6225 fi 6226 6227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6228 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6229 echo "${ECHO_T}$ac_header_compiler" >&6; } 6230 6231 # Is the header present? 6232 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6234 cat >conftest.$ac_ext <<_ACEOF 6235 /* confdefs.h. */ 6236 _ACEOF 6237 cat confdefs.h >>conftest.$ac_ext 6238 cat >>conftest.$ac_ext <<_ACEOF 6239 /* end confdefs.h. */ 6240 #include <$ac_header> 6241 _ACEOF 6242 if { (ac_try="$ac_cpp conftest.$ac_ext" 6243 case "(($ac_try" in 6244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6245 *) ac_try_echo=$ac_try;; 6246 esac 6247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6249 ac_status=$? 6250 grep -v '^ *+' conftest.er1 >conftest.err 6251 rm -f conftest.er1 6252 cat conftest.err >&5 6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6254 (exit $ac_status); } >/dev/null && { 6255 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6256 test ! -s conftest.err 6257 }; then 6258 ac_header_preproc=yes 6259 else 6260 echo "$as_me: failed program was:" >&5 6261 sed 's/^/| /' conftest.$ac_ext >&5 6262 6263 ac_header_preproc=no 6264 fi 6265 6266 rm -f conftest.err conftest.$ac_ext 6267 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6268 echo "${ECHO_T}$ac_header_preproc" >&6; } 6269 6270 # So? What about this header? 6271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6272 yes:no: ) 6273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6277 ac_header_preproc=yes 6278 ;; 6279 no:yes:* ) 6280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6292 ( cat <<\_ASBOX 6293 ## ----------------------------------- ## 6294 ## Report this to rappture@nanohub.org ## 6295 ## ----------------------------------- ## 6296 _ASBOX 6297 ) | sed "s/^/$as_me: WARNING: /" >&2 6298 ;; 6299 esac 6300 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6303 echo $ECHO_N "(cached) $ECHO_C" >&6 6304 else 6305 eval "$as_ac_Header=\$ac_header_preproc" 6306 fi 6307 ac_res=`eval echo '${'$as_ac_Header'}'` 6308 { echo "$as_me:$LINENO: result: $ac_res" >&5 6309 echo "${ECHO_T}$ac_res" >&6; } 6310 6311 fi 6312 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5062 do : 5063 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5064 if test "x$ac_cv_header_fstream" = xyes; then : 6313 5065 cat >>confdefs.h <<_ACEOF 6314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6315 _ACEOF 6316 6317 else 6318 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6319 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6320 fi 6321 6322 done 6323 5066 #define HAVE_FSTREAM 1 5067 _ACEOF 5068 5069 else 5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5071 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5072 fi 5073 5074 done 6324 5075 6325 5076 for ac_header in list 6326 do 6327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6329 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6332 echo $ECHO_N "(cached) $ECHO_C" >&6 6333 fi 6334 ac_res=`eval echo '${'$as_ac_Header'}'` 6335 { echo "$as_me:$LINENO: result: $ac_res" >&5 6336 echo "${ECHO_T}$ac_res" >&6; } 6337 else 6338 # Is the header compilable? 6339 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6341 cat >conftest.$ac_ext <<_ACEOF 6342 /* confdefs.h. */ 6343 _ACEOF 6344 cat confdefs.h >>conftest.$ac_ext 6345 cat >>conftest.$ac_ext <<_ACEOF 6346 /* end confdefs.h. */ 6347 $ac_includes_default 6348 #include <$ac_header> 6349 _ACEOF 6350 rm -f conftest.$ac_objext 6351 if { (ac_try="$ac_compile" 6352 case "(($ac_try" in 6353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6354 *) ac_try_echo=$ac_try;; 6355 esac 6356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6357 (eval "$ac_compile") 2>conftest.er1 6358 ac_status=$? 6359 grep -v '^ *+' conftest.er1 >conftest.err 6360 rm -f conftest.er1 6361 cat conftest.err >&5 6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6363 (exit $ac_status); } && { 6364 test -z "$ac_cxx_werror_flag" || 6365 test ! -s conftest.err 6366 } && test -s conftest.$ac_objext; then 6367 ac_header_compiler=yes 6368 else 6369 echo "$as_me: failed program was:" >&5 6370 sed 's/^/| /' conftest.$ac_ext >&5 6371 6372 ac_header_compiler=no 6373 fi 6374 6375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6376 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6377 echo "${ECHO_T}$ac_header_compiler" >&6; } 6378 6379 # Is the header present? 6380 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6382 cat >conftest.$ac_ext <<_ACEOF 6383 /* confdefs.h. */ 6384 _ACEOF 6385 cat confdefs.h >>conftest.$ac_ext 6386 cat >>conftest.$ac_ext <<_ACEOF 6387 /* end confdefs.h. */ 6388 #include <$ac_header> 6389 _ACEOF 6390 if { (ac_try="$ac_cpp conftest.$ac_ext" 6391 case "(($ac_try" in 6392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6393 *) ac_try_echo=$ac_try;; 6394 esac 6395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6397 ac_status=$? 6398 grep -v '^ *+' conftest.er1 >conftest.err 6399 rm -f conftest.er1 6400 cat conftest.err >&5 6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6402 (exit $ac_status); } >/dev/null && { 6403 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6404 test ! -s conftest.err 6405 }; then 6406 ac_header_preproc=yes 6407 else 6408 echo "$as_me: failed program was:" >&5 6409 sed 's/^/| /' conftest.$ac_ext >&5 6410 6411 ac_header_preproc=no 6412 fi 6413 6414 rm -f conftest.err conftest.$ac_ext 6415 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6416 echo "${ECHO_T}$ac_header_preproc" >&6; } 6417 6418 # So? What about this header? 6419 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6420 yes:no: ) 6421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6425 ac_header_preproc=yes 6426 ;; 6427 no:yes:* ) 6428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6440 ( cat <<\_ASBOX 6441 ## ----------------------------------- ## 6442 ## Report this to rappture@nanohub.org ## 6443 ## ----------------------------------- ## 6444 _ASBOX 6445 ) | sed "s/^/$as_me: WARNING: /" >&2 6446 ;; 6447 esac 6448 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6451 echo $ECHO_N "(cached) $ECHO_C" >&6 6452 else 6453 eval "$as_ac_Header=\$ac_header_preproc" 6454 fi 6455 ac_res=`eval echo '${'$as_ac_Header'}'` 6456 { echo "$as_me:$LINENO: result: $ac_res" >&5 6457 echo "${ECHO_T}$ac_res" >&6; } 6458 6459 fi 6460 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5077 do : 5078 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5079 if test "x$ac_cv_header_list" = xyes; then : 6461 5080 cat >>confdefs.h <<_ACEOF 6462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6463 _ACEOF 6464 6465 else 6466 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6467 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6468 fi 6469 6470 done 6471 5081 #define HAVE_LIST 1 5082 _ACEOF 5083 5084 else 5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5086 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5087 fi 5088 5089 done 6472 5090 6473 5091 for ac_header in iostream 6474 do 6475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6477 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6480 echo $ECHO_N "(cached) $ECHO_C" >&6 6481 fi 6482 ac_res=`eval echo '${'$as_ac_Header'}'` 6483 { echo "$as_me:$LINENO: result: $ac_res" >&5 6484 echo "${ECHO_T}$ac_res" >&6; } 6485 else 6486 # Is the header compilable? 6487 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6489 cat >conftest.$ac_ext <<_ACEOF 6490 /* confdefs.h. */ 6491 _ACEOF 6492 cat confdefs.h >>conftest.$ac_ext 6493 cat >>conftest.$ac_ext <<_ACEOF 6494 /* end confdefs.h. */ 6495 $ac_includes_default 6496 #include <$ac_header> 6497 _ACEOF 6498 rm -f conftest.$ac_objext 6499 if { (ac_try="$ac_compile" 6500 case "(($ac_try" in 6501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6502 *) ac_try_echo=$ac_try;; 6503 esac 6504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6505 (eval "$ac_compile") 2>conftest.er1 6506 ac_status=$? 6507 grep -v '^ *+' conftest.er1 >conftest.err 6508 rm -f conftest.er1 6509 cat conftest.err >&5 6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6511 (exit $ac_status); } && { 6512 test -z "$ac_cxx_werror_flag" || 6513 test ! -s conftest.err 6514 } && test -s conftest.$ac_objext; then 6515 ac_header_compiler=yes 6516 else 6517 echo "$as_me: failed program was:" >&5 6518 sed 's/^/| /' conftest.$ac_ext >&5 6519 6520 ac_header_compiler=no 6521 fi 6522 6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6524 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6525 echo "${ECHO_T}$ac_header_compiler" >&6; } 6526 6527 # Is the header present? 6528 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6530 cat >conftest.$ac_ext <<_ACEOF 6531 /* confdefs.h. */ 6532 _ACEOF 6533 cat confdefs.h >>conftest.$ac_ext 6534 cat >>conftest.$ac_ext <<_ACEOF 6535 /* end confdefs.h. */ 6536 #include <$ac_header> 6537 _ACEOF 6538 if { (ac_try="$ac_cpp conftest.$ac_ext" 6539 case "(($ac_try" in 6540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6541 *) ac_try_echo=$ac_try;; 6542 esac 6543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6545 ac_status=$? 6546 grep -v '^ *+' conftest.er1 >conftest.err 6547 rm -f conftest.er1 6548 cat conftest.err >&5 6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6550 (exit $ac_status); } >/dev/null && { 6551 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6552 test ! -s conftest.err 6553 }; then 6554 ac_header_preproc=yes 6555 else 6556 echo "$as_me: failed program was:" >&5 6557 sed 's/^/| /' conftest.$ac_ext >&5 6558 6559 ac_header_preproc=no 6560 fi 6561 6562 rm -f conftest.err conftest.$ac_ext 6563 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6564 echo "${ECHO_T}$ac_header_preproc" >&6; } 6565 6566 # So? What about this header? 6567 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6568 yes:no: ) 6569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6573 ac_header_preproc=yes 6574 ;; 6575 no:yes:* ) 6576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6588 ( cat <<\_ASBOX 6589 ## ----------------------------------- ## 6590 ## Report this to rappture@nanohub.org ## 6591 ## ----------------------------------- ## 6592 _ASBOX 6593 ) | sed "s/^/$as_me: WARNING: /" >&2 6594 ;; 6595 esac 6596 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6599 echo $ECHO_N "(cached) $ECHO_C" >&6 6600 else 6601 eval "$as_ac_Header=\$ac_header_preproc" 6602 fi 6603 ac_res=`eval echo '${'$as_ac_Header'}'` 6604 { echo "$as_me:$LINENO: result: $ac_res" >&5 6605 echo "${ECHO_T}$ac_res" >&6; } 6606 6607 fi 6608 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5092 do : 5093 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5094 if test "x$ac_cv_header_iostream" = xyes; then : 6609 5095 cat >>confdefs.h <<_ACEOF 6610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6611 _ACEOF 6612 6613 else 6614 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6615 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6616 fi 6617 6618 done 6619 5096 #define HAVE_IOSTREAM 1 5097 _ACEOF 5098 5099 else 5100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5101 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5102 fi 5103 5104 done 6620 5105 6621 5106 for ac_header in iterator 6622 do 6623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6625 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6628 echo $ECHO_N "(cached) $ECHO_C" >&6 6629 fi 6630 ac_res=`eval echo '${'$as_ac_Header'}'` 6631 { echo "$as_me:$LINENO: result: $ac_res" >&5 6632 echo "${ECHO_T}$ac_res" >&6; } 6633 else 6634 # Is the header compilable? 6635 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6637 cat >conftest.$ac_ext <<_ACEOF 6638 /* confdefs.h. */ 6639 _ACEOF 6640 cat confdefs.h >>conftest.$ac_ext 6641 cat >>conftest.$ac_ext <<_ACEOF 6642 /* end confdefs.h. */ 6643 $ac_includes_default 6644 #include <$ac_header> 6645 _ACEOF 6646 rm -f conftest.$ac_objext 6647 if { (ac_try="$ac_compile" 6648 case "(($ac_try" in 6649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6650 *) ac_try_echo=$ac_try;; 6651 esac 6652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6653 (eval "$ac_compile") 2>conftest.er1 6654 ac_status=$? 6655 grep -v '^ *+' conftest.er1 >conftest.err 6656 rm -f conftest.er1 6657 cat conftest.err >&5 6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6659 (exit $ac_status); } && { 6660 test -z "$ac_cxx_werror_flag" || 6661 test ! -s conftest.err 6662 } && test -s conftest.$ac_objext; then 6663 ac_header_compiler=yes 6664 else 6665 echo "$as_me: failed program was:" >&5 6666 sed 's/^/| /' conftest.$ac_ext >&5 6667 6668 ac_header_compiler=no 6669 fi 6670 6671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6672 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6673 echo "${ECHO_T}$ac_header_compiler" >&6; } 6674 6675 # Is the header present? 6676 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6678 cat >conftest.$ac_ext <<_ACEOF 6679 /* confdefs.h. */ 6680 _ACEOF 6681 cat confdefs.h >>conftest.$ac_ext 6682 cat >>conftest.$ac_ext <<_ACEOF 6683 /* end confdefs.h. */ 6684 #include <$ac_header> 6685 _ACEOF 6686 if { (ac_try="$ac_cpp conftest.$ac_ext" 6687 case "(($ac_try" in 6688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6689 *) ac_try_echo=$ac_try;; 6690 esac 6691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6693 ac_status=$? 6694 grep -v '^ *+' conftest.er1 >conftest.err 6695 rm -f conftest.er1 6696 cat conftest.err >&5 6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6698 (exit $ac_status); } >/dev/null && { 6699 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6700 test ! -s conftest.err 6701 }; then 6702 ac_header_preproc=yes 6703 else 6704 echo "$as_me: failed program was:" >&5 6705 sed 's/^/| /' conftest.$ac_ext >&5 6706 6707 ac_header_preproc=no 6708 fi 6709 6710 rm -f conftest.err conftest.$ac_ext 6711 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6712 echo "${ECHO_T}$ac_header_preproc" >&6; } 6713 6714 # So? What about this header? 6715 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6716 yes:no: ) 6717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6721 ac_header_preproc=yes 6722 ;; 6723 no:yes:* ) 6724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6736 ( cat <<\_ASBOX 6737 ## ----------------------------------- ## 6738 ## Report this to rappture@nanohub.org ## 6739 ## ----------------------------------- ## 6740 _ASBOX 6741 ) | sed "s/^/$as_me: WARNING: /" >&2 6742 ;; 6743 esac 6744 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6746 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6747 echo $ECHO_N "(cached) $ECHO_C" >&6 6748 else 6749 eval "$as_ac_Header=\$ac_header_preproc" 6750 fi 6751 ac_res=`eval echo '${'$as_ac_Header'}'` 6752 { echo "$as_me:$LINENO: result: $ac_res" >&5 6753 echo "${ECHO_T}$ac_res" >&6; } 6754 6755 fi 6756 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5107 do : 5108 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5109 if test "x$ac_cv_header_iterator" = xyes; then : 6757 5110 cat >>confdefs.h <<_ACEOF 6758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6759 _ACEOF 6760 6761 else 6762 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6763 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6764 fi 6765 6766 done 6767 5111 #define HAVE_ITERATOR 1 5112 _ACEOF 5113 5114 else 5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5116 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5117 fi 5118 5119 done 6768 5120 6769 5121 for ac_header in sstream 6770 do 6771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6773 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6776 echo $ECHO_N "(cached) $ECHO_C" >&6 6777 fi 6778 ac_res=`eval echo '${'$as_ac_Header'}'` 6779 { echo "$as_me:$LINENO: result: $ac_res" >&5 6780 echo "${ECHO_T}$ac_res" >&6; } 6781 else 6782 # Is the header compilable? 6783 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6784 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6785 cat >conftest.$ac_ext <<_ACEOF 6786 /* confdefs.h. */ 6787 _ACEOF 6788 cat confdefs.h >>conftest.$ac_ext 6789 cat >>conftest.$ac_ext <<_ACEOF 6790 /* end confdefs.h. */ 6791 $ac_includes_default 6792 #include <$ac_header> 6793 _ACEOF 6794 rm -f conftest.$ac_objext 6795 if { (ac_try="$ac_compile" 6796 case "(($ac_try" in 6797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6798 *) ac_try_echo=$ac_try;; 6799 esac 6800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6801 (eval "$ac_compile") 2>conftest.er1 6802 ac_status=$? 6803 grep -v '^ *+' conftest.er1 >conftest.err 6804 rm -f conftest.er1 6805 cat conftest.err >&5 6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6807 (exit $ac_status); } && { 6808 test -z "$ac_cxx_werror_flag" || 6809 test ! -s conftest.err 6810 } && test -s conftest.$ac_objext; then 6811 ac_header_compiler=yes 6812 else 6813 echo "$as_me: failed program was:" >&5 6814 sed 's/^/| /' conftest.$ac_ext >&5 6815 6816 ac_header_compiler=no 6817 fi 6818 6819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6820 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6821 echo "${ECHO_T}$ac_header_compiler" >&6; } 6822 6823 # Is the header present? 6824 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6826 cat >conftest.$ac_ext <<_ACEOF 6827 /* confdefs.h. */ 6828 _ACEOF 6829 cat confdefs.h >>conftest.$ac_ext 6830 cat >>conftest.$ac_ext <<_ACEOF 6831 /* end confdefs.h. */ 6832 #include <$ac_header> 6833 _ACEOF 6834 if { (ac_try="$ac_cpp conftest.$ac_ext" 6835 case "(($ac_try" in 6836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6837 *) ac_try_echo=$ac_try;; 6838 esac 6839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6841 ac_status=$? 6842 grep -v '^ *+' conftest.er1 >conftest.err 6843 rm -f conftest.er1 6844 cat conftest.err >&5 6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6846 (exit $ac_status); } >/dev/null && { 6847 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6848 test ! -s conftest.err 6849 }; then 6850 ac_header_preproc=yes 6851 else 6852 echo "$as_me: failed program was:" >&5 6853 sed 's/^/| /' conftest.$ac_ext >&5 6854 6855 ac_header_preproc=no 6856 fi 6857 6858 rm -f conftest.err conftest.$ac_ext 6859 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6860 echo "${ECHO_T}$ac_header_preproc" >&6; } 6861 6862 # So? What about this header? 6863 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6864 yes:no: ) 6865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6869 ac_header_preproc=yes 6870 ;; 6871 no:yes:* ) 6872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6884 ( cat <<\_ASBOX 6885 ## ----------------------------------- ## 6886 ## Report this to rappture@nanohub.org ## 6887 ## ----------------------------------- ## 6888 _ASBOX 6889 ) | sed "s/^/$as_me: WARNING: /" >&2 6890 ;; 6891 esac 6892 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6894 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6895 echo $ECHO_N "(cached) $ECHO_C" >&6 6896 else 6897 eval "$as_ac_Header=\$ac_header_preproc" 6898 fi 6899 ac_res=`eval echo '${'$as_ac_Header'}'` 6900 { echo "$as_me:$LINENO: result: $ac_res" >&5 6901 echo "${ECHO_T}$ac_res" >&6; } 6902 6903 fi 6904 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5122 do : 5123 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5124 if test "x$ac_cv_header_sstream" = xyes; then : 6905 5125 cat >>confdefs.h <<_ACEOF 6906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6907 _ACEOF 6908 6909 else 6910 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6911 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6912 fi 6913 6914 done 6915 5126 #define HAVE_SSTREAM 1 5127 _ACEOF 5128 5129 else 5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5131 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5132 fi 5133 5134 done 6916 5135 6917 5136 for ac_header in stack 6918 do 6919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6921 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6923 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6924 echo $ECHO_N "(cached) $ECHO_C" >&6 6925 fi 6926 ac_res=`eval echo '${'$as_ac_Header'}'` 6927 { echo "$as_me:$LINENO: result: $ac_res" >&5 6928 echo "${ECHO_T}$ac_res" >&6; } 6929 else 6930 # Is the header compilable? 6931 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6933 cat >conftest.$ac_ext <<_ACEOF 6934 /* confdefs.h. */ 6935 _ACEOF 6936 cat confdefs.h >>conftest.$ac_ext 6937 cat >>conftest.$ac_ext <<_ACEOF 6938 /* end confdefs.h. */ 6939 $ac_includes_default 6940 #include <$ac_header> 6941 _ACEOF 6942 rm -f conftest.$ac_objext 6943 if { (ac_try="$ac_compile" 6944 case "(($ac_try" in 6945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6946 *) ac_try_echo=$ac_try;; 6947 esac 6948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6949 (eval "$ac_compile") 2>conftest.er1 6950 ac_status=$? 6951 grep -v '^ *+' conftest.er1 >conftest.err 6952 rm -f conftest.er1 6953 cat conftest.err >&5 6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6955 (exit $ac_status); } && { 6956 test -z "$ac_cxx_werror_flag" || 6957 test ! -s conftest.err 6958 } && test -s conftest.$ac_objext; then 6959 ac_header_compiler=yes 6960 else 6961 echo "$as_me: failed program was:" >&5 6962 sed 's/^/| /' conftest.$ac_ext >&5 6963 6964 ac_header_compiler=no 6965 fi 6966 6967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6968 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6969 echo "${ECHO_T}$ac_header_compiler" >&6; } 6970 6971 # Is the header present? 6972 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6974 cat >conftest.$ac_ext <<_ACEOF 6975 /* confdefs.h. */ 6976 _ACEOF 6977 cat confdefs.h >>conftest.$ac_ext 6978 cat >>conftest.$ac_ext <<_ACEOF 6979 /* end confdefs.h. */ 6980 #include <$ac_header> 6981 _ACEOF 6982 if { (ac_try="$ac_cpp conftest.$ac_ext" 6983 case "(($ac_try" in 6984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6985 *) ac_try_echo=$ac_try;; 6986 esac 6987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6989 ac_status=$? 6990 grep -v '^ *+' conftest.er1 >conftest.err 6991 rm -f conftest.er1 6992 cat conftest.err >&5 6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6994 (exit $ac_status); } >/dev/null && { 6995 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6996 test ! -s conftest.err 6997 }; then 6998 ac_header_preproc=yes 6999 else 7000 echo "$as_me: failed program was:" >&5 7001 sed 's/^/| /' conftest.$ac_ext >&5 7002 7003 ac_header_preproc=no 7004 fi 7005 7006 rm -f conftest.err conftest.$ac_ext 7007 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7008 echo "${ECHO_T}$ac_header_preproc" >&6; } 7009 7010 # So? What about this header? 7011 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7012 yes:no: ) 7013 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7017 ac_header_preproc=yes 7018 ;; 7019 no:yes:* ) 7020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7024 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7026 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7027 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7030 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7032 ( cat <<\_ASBOX 7033 ## ----------------------------------- ## 7034 ## Report this to rappture@nanohub.org ## 7035 ## ----------------------------------- ## 7036 _ASBOX 7037 ) | sed "s/^/$as_me: WARNING: /" >&2 7038 ;; 7039 esac 7040 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7043 echo $ECHO_N "(cached) $ECHO_C" >&6 7044 else 7045 eval "$as_ac_Header=\$ac_header_preproc" 7046 fi 7047 ac_res=`eval echo '${'$as_ac_Header'}'` 7048 { echo "$as_me:$LINENO: result: $ac_res" >&5 7049 echo "${ECHO_T}$ac_res" >&6; } 7050 7051 fi 7052 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5137 do : 5138 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5139 if test "x$ac_cv_header_stack" = xyes; then : 7053 5140 cat >>confdefs.h <<_ACEOF 7054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7055 _ACEOF 7056 7057 else 7058 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7059 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7060 fi 7061 7062 done 7063 5141 #define HAVE_STACK 1 5142 _ACEOF 5143 5144 else 5145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5146 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5147 fi 5148 5149 done 7064 5150 7065 5151 for ac_header in string 7066 do 7067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7068 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7069 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7072 echo $ECHO_N "(cached) $ECHO_C" >&6 7073 fi 7074 ac_res=`eval echo '${'$as_ac_Header'}'` 7075 { echo "$as_me:$LINENO: result: $ac_res" >&5 7076 echo "${ECHO_T}$ac_res" >&6; } 7077 else 7078 # Is the header compilable? 7079 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7081 cat >conftest.$ac_ext <<_ACEOF 7082 /* confdefs.h. */ 7083 _ACEOF 7084 cat confdefs.h >>conftest.$ac_ext 7085 cat >>conftest.$ac_ext <<_ACEOF 7086 /* end confdefs.h. */ 7087 $ac_includes_default 7088 #include <$ac_header> 7089 _ACEOF 7090 rm -f conftest.$ac_objext 7091 if { (ac_try="$ac_compile" 7092 case "(($ac_try" in 7093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7094 *) ac_try_echo=$ac_try;; 7095 esac 7096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7097 (eval "$ac_compile") 2>conftest.er1 7098 ac_status=$? 7099 grep -v '^ *+' conftest.er1 >conftest.err 7100 rm -f conftest.er1 7101 cat conftest.err >&5 7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7103 (exit $ac_status); } && { 7104 test -z "$ac_cxx_werror_flag" || 7105 test ! -s conftest.err 7106 } && test -s conftest.$ac_objext; then 7107 ac_header_compiler=yes 7108 else 7109 echo "$as_me: failed program was:" >&5 7110 sed 's/^/| /' conftest.$ac_ext >&5 7111 7112 ac_header_compiler=no 7113 fi 7114 7115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7116 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7117 echo "${ECHO_T}$ac_header_compiler" >&6; } 7118 7119 # Is the header present? 7120 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7122 cat >conftest.$ac_ext <<_ACEOF 7123 /* confdefs.h. */ 7124 _ACEOF 7125 cat confdefs.h >>conftest.$ac_ext 7126 cat >>conftest.$ac_ext <<_ACEOF 7127 /* end confdefs.h. */ 7128 #include <$ac_header> 7129 _ACEOF 7130 if { (ac_try="$ac_cpp conftest.$ac_ext" 7131 case "(($ac_try" in 7132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7133 *) ac_try_echo=$ac_try;; 7134 esac 7135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7136 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7137 ac_status=$? 7138 grep -v '^ *+' conftest.er1 >conftest.err 7139 rm -f conftest.er1 7140 cat conftest.err >&5 7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7142 (exit $ac_status); } >/dev/null && { 7143 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7144 test ! -s conftest.err 7145 }; then 7146 ac_header_preproc=yes 7147 else 7148 echo "$as_me: failed program was:" >&5 7149 sed 's/^/| /' conftest.$ac_ext >&5 7150 7151 ac_header_preproc=no 7152 fi 7153 7154 rm -f conftest.err conftest.$ac_ext 7155 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7156 echo "${ECHO_T}$ac_header_preproc" >&6; } 7157 7158 # So? What about this header? 7159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7160 yes:no: ) 7161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7165 ac_header_preproc=yes 7166 ;; 7167 no:yes:* ) 7168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7180 ( cat <<\_ASBOX 7181 ## ----------------------------------- ## 7182 ## Report this to rappture@nanohub.org ## 7183 ## ----------------------------------- ## 7184 _ASBOX 7185 ) | sed "s/^/$as_me: WARNING: /" >&2 7186 ;; 7187 esac 7188 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7191 echo $ECHO_N "(cached) $ECHO_C" >&6 7192 else 7193 eval "$as_ac_Header=\$ac_header_preproc" 7194 fi 7195 ac_res=`eval echo '${'$as_ac_Header'}'` 7196 { echo "$as_me:$LINENO: result: $ac_res" >&5 7197 echo "${ECHO_T}$ac_res" >&6; } 7198 7199 fi 7200 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5152 do : 5153 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5154 if test "x$ac_cv_header_string" = xyes; then : 7201 5155 cat >>confdefs.h <<_ACEOF 7202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7203 _ACEOF 7204 7205 else 7206 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7207 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7208 fi 7209 7210 done 7211 5156 #define HAVE_STRING 1 5157 _ACEOF 5158 5159 else 5160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5161 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5162 fi 5163 5164 done 7212 5165 7213 5166 for ac_header in vector 7214 do 7215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7217 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7220 echo $ECHO_N "(cached) $ECHO_C" >&6 7221 fi 7222 ac_res=`eval echo '${'$as_ac_Header'}'` 7223 { echo "$as_me:$LINENO: result: $ac_res" >&5 7224 echo "${ECHO_T}$ac_res" >&6; } 7225 else 7226 # Is the header compilable? 7227 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7229 cat >conftest.$ac_ext <<_ACEOF 7230 /* confdefs.h. */ 7231 _ACEOF 7232 cat confdefs.h >>conftest.$ac_ext 7233 cat >>conftest.$ac_ext <<_ACEOF 7234 /* end confdefs.h. */ 7235 $ac_includes_default 7236 #include <$ac_header> 7237 _ACEOF 7238 rm -f conftest.$ac_objext 7239 if { (ac_try="$ac_compile" 7240 case "(($ac_try" in 7241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7242 *) ac_try_echo=$ac_try;; 7243 esac 7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7245 (eval "$ac_compile") 2>conftest.er1 7246 ac_status=$? 7247 grep -v '^ *+' conftest.er1 >conftest.err 7248 rm -f conftest.er1 7249 cat conftest.err >&5 7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7251 (exit $ac_status); } && { 7252 test -z "$ac_cxx_werror_flag" || 7253 test ! -s conftest.err 7254 } && test -s conftest.$ac_objext; then 7255 ac_header_compiler=yes 7256 else 7257 echo "$as_me: failed program was:" >&5 7258 sed 's/^/| /' conftest.$ac_ext >&5 7259 7260 ac_header_compiler=no 7261 fi 7262 7263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7264 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7265 echo "${ECHO_T}$ac_header_compiler" >&6; } 7266 7267 # Is the header present? 7268 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7270 cat >conftest.$ac_ext <<_ACEOF 7271 /* confdefs.h. */ 7272 _ACEOF 7273 cat confdefs.h >>conftest.$ac_ext 7274 cat >>conftest.$ac_ext <<_ACEOF 7275 /* end confdefs.h. */ 7276 #include <$ac_header> 7277 _ACEOF 7278 if { (ac_try="$ac_cpp conftest.$ac_ext" 7279 case "(($ac_try" in 7280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7281 *) ac_try_echo=$ac_try;; 7282 esac 7283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7284 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7285 ac_status=$? 7286 grep -v '^ *+' conftest.er1 >conftest.err 7287 rm -f conftest.er1 7288 cat conftest.err >&5 7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7290 (exit $ac_status); } >/dev/null && { 7291 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7292 test ! -s conftest.err 7293 }; then 7294 ac_header_preproc=yes 7295 else 7296 echo "$as_me: failed program was:" >&5 7297 sed 's/^/| /' conftest.$ac_ext >&5 7298 7299 ac_header_preproc=no 7300 fi 7301 7302 rm -f conftest.err conftest.$ac_ext 7303 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7304 echo "${ECHO_T}$ac_header_preproc" >&6; } 7305 7306 # So? What about this header? 7307 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7308 yes:no: ) 7309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7313 ac_header_preproc=yes 7314 ;; 7315 no:yes:* ) 7316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7328 ( cat <<\_ASBOX 7329 ## ----------------------------------- ## 7330 ## Report this to rappture@nanohub.org ## 7331 ## ----------------------------------- ## 7332 _ASBOX 7333 ) | sed "s/^/$as_me: WARNING: /" >&2 7334 ;; 7335 esac 7336 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7339 echo $ECHO_N "(cached) $ECHO_C" >&6 7340 else 7341 eval "$as_ac_Header=\$ac_header_preproc" 7342 fi 7343 ac_res=`eval echo '${'$as_ac_Header'}'` 7344 { echo "$as_me:$LINENO: result: $ac_res" >&5 7345 echo "${ECHO_T}$ac_res" >&6; } 7346 7347 fi 7348 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5167 do : 5168 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5169 if test "x$ac_cv_header_vector" = xyes; then : 7349 5170 cat >>confdefs.h <<_ACEOF 7350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7351 _ACEOF 7352 7353 else 7354 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7355 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7356 fi 7357 7358 done 7359 5171 #define HAVE_VECTOR 1 5172 _ACEOF 5173 5174 else 5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5176 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5177 fi 5178 5179 done 7360 5180 7361 5181 7362 5182 for ac_header in assert.h 7363 do 7364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7366 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7368 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7369 echo $ECHO_N "(cached) $ECHO_C" >&6 7370 fi 7371 ac_res=`eval echo '${'$as_ac_Header'}'` 7372 { echo "$as_me:$LINENO: result: $ac_res" >&5 7373 echo "${ECHO_T}$ac_res" >&6; } 7374 else 7375 # Is the header compilable? 7376 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7377 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7378 cat >conftest.$ac_ext <<_ACEOF 7379 /* confdefs.h. */ 7380 _ACEOF 7381 cat confdefs.h >>conftest.$ac_ext 7382 cat >>conftest.$ac_ext <<_ACEOF 7383 /* end confdefs.h. */ 7384 $ac_includes_default 7385 #include <$ac_header> 7386 _ACEOF 7387 rm -f conftest.$ac_objext 7388 if { (ac_try="$ac_compile" 7389 case "(($ac_try" in 7390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7391 *) ac_try_echo=$ac_try;; 7392 esac 7393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7394 (eval "$ac_compile") 2>conftest.er1 7395 ac_status=$? 7396 grep -v '^ *+' conftest.er1 >conftest.err 7397 rm -f conftest.er1 7398 cat conftest.err >&5 7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7400 (exit $ac_status); } && { 7401 test -z "$ac_cxx_werror_flag" || 7402 test ! -s conftest.err 7403 } && test -s conftest.$ac_objext; then 7404 ac_header_compiler=yes 7405 else 7406 echo "$as_me: failed program was:" >&5 7407 sed 's/^/| /' conftest.$ac_ext >&5 7408 7409 ac_header_compiler=no 7410 fi 7411 7412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7413 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7414 echo "${ECHO_T}$ac_header_compiler" >&6; } 7415 7416 # Is the header present? 7417 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7419 cat >conftest.$ac_ext <<_ACEOF 7420 /* confdefs.h. */ 7421 _ACEOF 7422 cat confdefs.h >>conftest.$ac_ext 7423 cat >>conftest.$ac_ext <<_ACEOF 7424 /* end confdefs.h. */ 7425 #include <$ac_header> 7426 _ACEOF 7427 if { (ac_try="$ac_cpp conftest.$ac_ext" 7428 case "(($ac_try" in 7429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7430 *) ac_try_echo=$ac_try;; 7431 esac 7432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7434 ac_status=$? 7435 grep -v '^ *+' conftest.er1 >conftest.err 7436 rm -f conftest.er1 7437 cat conftest.err >&5 7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7439 (exit $ac_status); } >/dev/null && { 7440 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7441 test ! -s conftest.err 7442 }; then 7443 ac_header_preproc=yes 7444 else 7445 echo "$as_me: failed program was:" >&5 7446 sed 's/^/| /' conftest.$ac_ext >&5 7447 7448 ac_header_preproc=no 7449 fi 7450 7451 rm -f conftest.err conftest.$ac_ext 7452 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7453 echo "${ECHO_T}$ac_header_preproc" >&6; } 7454 7455 # So? What about this header? 7456 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7457 yes:no: ) 7458 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7461 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7462 ac_header_preproc=yes 7463 ;; 7464 no:yes:* ) 7465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7469 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7470 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7471 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7472 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7474 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7475 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7476 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7477 ( cat <<\_ASBOX 7478 ## ----------------------------------- ## 7479 ## Report this to rappture@nanohub.org ## 7480 ## ----------------------------------- ## 7481 _ASBOX 7482 ) | sed "s/^/$as_me: WARNING: /" >&2 7483 ;; 7484 esac 7485 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7488 echo $ECHO_N "(cached) $ECHO_C" >&6 7489 else 7490 eval "$as_ac_Header=\$ac_header_preproc" 7491 fi 7492 ac_res=`eval echo '${'$as_ac_Header'}'` 7493 { echo "$as_me:$LINENO: result: $ac_res" >&5 7494 echo "${ECHO_T}$ac_res" >&6; } 7495 7496 fi 7497 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5183 do : 5184 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5185 if test "x$ac_cv_header_assert_h" = xyes; then : 7498 5186 cat >>confdefs.h <<_ACEOF 7499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7500 _ACEOF 7501 7502 else 7503 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7504 echo "$as_me: WARNING: C headers missing ?" >&2;} 7505 fi 7506 7507 done 7508 5187 #define HAVE_ASSERT_H 1 5188 _ACEOF 5189 5190 else 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5192 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5193 fi 5194 5195 done 7509 5196 7510 5197 for ac_header in ctype.h 7511 do 7512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7514 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7517 echo $ECHO_N "(cached) $ECHO_C" >&6 7518 fi 7519 ac_res=`eval echo '${'$as_ac_Header'}'` 7520 { echo "$as_me:$LINENO: result: $ac_res" >&5 7521 echo "${ECHO_T}$ac_res" >&6; } 7522 else 7523 # Is the header compilable? 7524 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7526 cat >conftest.$ac_ext <<_ACEOF 7527 /* confdefs.h. */ 7528 _ACEOF 7529 cat confdefs.h >>conftest.$ac_ext 7530 cat >>conftest.$ac_ext <<_ACEOF 7531 /* end confdefs.h. */ 7532 $ac_includes_default 7533 #include <$ac_header> 7534 _ACEOF 7535 rm -f conftest.$ac_objext 7536 if { (ac_try="$ac_compile" 7537 case "(($ac_try" in 7538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7539 *) ac_try_echo=$ac_try;; 7540 esac 7541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7542 (eval "$ac_compile") 2>conftest.er1 7543 ac_status=$? 7544 grep -v '^ *+' conftest.er1 >conftest.err 7545 rm -f conftest.er1 7546 cat conftest.err >&5 7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7548 (exit $ac_status); } && { 7549 test -z "$ac_cxx_werror_flag" || 7550 test ! -s conftest.err 7551 } && test -s conftest.$ac_objext; then 7552 ac_header_compiler=yes 7553 else 7554 echo "$as_me: failed program was:" >&5 7555 sed 's/^/| /' conftest.$ac_ext >&5 7556 7557 ac_header_compiler=no 7558 fi 7559 7560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7561 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7562 echo "${ECHO_T}$ac_header_compiler" >&6; } 7563 7564 # Is the header present? 7565 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7567 cat >conftest.$ac_ext <<_ACEOF 7568 /* confdefs.h. */ 7569 _ACEOF 7570 cat confdefs.h >>conftest.$ac_ext 7571 cat >>conftest.$ac_ext <<_ACEOF 7572 /* end confdefs.h. */ 7573 #include <$ac_header> 7574 _ACEOF 7575 if { (ac_try="$ac_cpp conftest.$ac_ext" 7576 case "(($ac_try" in 7577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7578 *) ac_try_echo=$ac_try;; 7579 esac 7580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7582 ac_status=$? 7583 grep -v '^ *+' conftest.er1 >conftest.err 7584 rm -f conftest.er1 7585 cat conftest.err >&5 7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7587 (exit $ac_status); } >/dev/null && { 7588 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7589 test ! -s conftest.err 7590 }; then 7591 ac_header_preproc=yes 7592 else 7593 echo "$as_me: failed program was:" >&5 7594 sed 's/^/| /' conftest.$ac_ext >&5 7595 7596 ac_header_preproc=no 7597 fi 7598 7599 rm -f conftest.err conftest.$ac_ext 7600 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7601 echo "${ECHO_T}$ac_header_preproc" >&6; } 7602 7603 # So? What about this header? 7604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7605 yes:no: ) 7606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7610 ac_header_preproc=yes 7611 ;; 7612 no:yes:* ) 7613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7625 ( cat <<\_ASBOX 7626 ## ----------------------------------- ## 7627 ## Report this to rappture@nanohub.org ## 7628 ## ----------------------------------- ## 7629 _ASBOX 7630 ) | sed "s/^/$as_me: WARNING: /" >&2 7631 ;; 7632 esac 7633 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7636 echo $ECHO_N "(cached) $ECHO_C" >&6 7637 else 7638 eval "$as_ac_Header=\$ac_header_preproc" 7639 fi 7640 ac_res=`eval echo '${'$as_ac_Header'}'` 7641 { echo "$as_me:$LINENO: result: $ac_res" >&5 7642 echo "${ECHO_T}$ac_res" >&6; } 7643 7644 fi 7645 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5198 do : 5199 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5200 if test "x$ac_cv_header_ctype_h" = xyes; then : 7646 5201 cat >>confdefs.h <<_ACEOF 7647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7648 _ACEOF 7649 7650 else 7651 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7652 echo "$as_me: WARNING: C headers missing ?" >&2;} 7653 fi 7654 7655 done 7656 5202 #define HAVE_CTYPE_H 1 5203 _ACEOF 5204 5205 else 5206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5207 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5208 fi 5209 5210 done 7657 5211 7658 5212 for ac_header in errno.h 7659 do 7660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7662 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7665 echo $ECHO_N "(cached) $ECHO_C" >&6 7666 fi 7667 ac_res=`eval echo '${'$as_ac_Header'}'` 7668 { echo "$as_me:$LINENO: result: $ac_res" >&5 7669 echo "${ECHO_T}$ac_res" >&6; } 7670 else 7671 # Is the header compilable? 7672 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7674 cat >conftest.$ac_ext <<_ACEOF 7675 /* confdefs.h. */ 7676 _ACEOF 7677 cat confdefs.h >>conftest.$ac_ext 7678 cat >>conftest.$ac_ext <<_ACEOF 7679 /* end confdefs.h. */ 7680 $ac_includes_default 7681 #include <$ac_header> 7682 _ACEOF 7683 rm -f conftest.$ac_objext 7684 if { (ac_try="$ac_compile" 7685 case "(($ac_try" in 7686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7687 *) ac_try_echo=$ac_try;; 7688 esac 7689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7690 (eval "$ac_compile") 2>conftest.er1 7691 ac_status=$? 7692 grep -v '^ *+' conftest.er1 >conftest.err 7693 rm -f conftest.er1 7694 cat conftest.err >&5 7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7696 (exit $ac_status); } && { 7697 test -z "$ac_cxx_werror_flag" || 7698 test ! -s conftest.err 7699 } && test -s conftest.$ac_objext; then 7700 ac_header_compiler=yes 7701 else 7702 echo "$as_me: failed program was:" >&5 7703 sed 's/^/| /' conftest.$ac_ext >&5 7704 7705 ac_header_compiler=no 7706 fi 7707 7708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7709 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7710 echo "${ECHO_T}$ac_header_compiler" >&6; } 7711 7712 # Is the header present? 7713 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7715 cat >conftest.$ac_ext <<_ACEOF 7716 /* confdefs.h. */ 7717 _ACEOF 7718 cat confdefs.h >>conftest.$ac_ext 7719 cat >>conftest.$ac_ext <<_ACEOF 7720 /* end confdefs.h. */ 7721 #include <$ac_header> 7722 _ACEOF 7723 if { (ac_try="$ac_cpp conftest.$ac_ext" 7724 case "(($ac_try" in 7725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7726 *) ac_try_echo=$ac_try;; 7727 esac 7728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7730 ac_status=$? 7731 grep -v '^ *+' conftest.er1 >conftest.err 7732 rm -f conftest.er1 7733 cat conftest.err >&5 7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7735 (exit $ac_status); } >/dev/null && { 7736 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7737 test ! -s conftest.err 7738 }; then 7739 ac_header_preproc=yes 7740 else 7741 echo "$as_me: failed program was:" >&5 7742 sed 's/^/| /' conftest.$ac_ext >&5 7743 7744 ac_header_preproc=no 7745 fi 7746 7747 rm -f conftest.err conftest.$ac_ext 7748 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7749 echo "${ECHO_T}$ac_header_preproc" >&6; } 7750 7751 # So? What about this header? 7752 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7753 yes:no: ) 7754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7757 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7758 ac_header_preproc=yes 7759 ;; 7760 no:yes:* ) 7761 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7762 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7763 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7764 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7765 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7766 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7767 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7768 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7771 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7773 ( cat <<\_ASBOX 7774 ## ----------------------------------- ## 7775 ## Report this to rappture@nanohub.org ## 7776 ## ----------------------------------- ## 7777 _ASBOX 7778 ) | sed "s/^/$as_me: WARNING: /" >&2 7779 ;; 7780 esac 7781 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7784 echo $ECHO_N "(cached) $ECHO_C" >&6 7785 else 7786 eval "$as_ac_Header=\$ac_header_preproc" 7787 fi 7788 ac_res=`eval echo '${'$as_ac_Header'}'` 7789 { echo "$as_me:$LINENO: result: $ac_res" >&5 7790 echo "${ECHO_T}$ac_res" >&6; } 7791 7792 fi 7793 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5213 do : 5214 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5215 if test "x$ac_cv_header_errno_h" = xyes; then : 7794 5216 cat >>confdefs.h <<_ACEOF 7795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7796 _ACEOF 7797 7798 else 7799 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7800 echo "$as_me: WARNING: C headers missing ?" >&2;} 7801 fi 7802 7803 done 7804 5217 #define HAVE_ERRNO_H 1 5218 _ACEOF 5219 5220 else 5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5222 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5223 fi 5224 5225 done 7805 5226 7806 5227 for ac_header in limits.h 7807 do 7808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7809 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7810 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7812 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7813 echo $ECHO_N "(cached) $ECHO_C" >&6 7814 fi 7815 ac_res=`eval echo '${'$as_ac_Header'}'` 7816 { echo "$as_me:$LINENO: result: $ac_res" >&5 7817 echo "${ECHO_T}$ac_res" >&6; } 7818 else 7819 # Is the header compilable? 7820 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7822 cat >conftest.$ac_ext <<_ACEOF 7823 /* confdefs.h. */ 7824 _ACEOF 7825 cat confdefs.h >>conftest.$ac_ext 7826 cat >>conftest.$ac_ext <<_ACEOF 7827 /* end confdefs.h. */ 7828 $ac_includes_default 7829 #include <$ac_header> 7830 _ACEOF 7831 rm -f conftest.$ac_objext 7832 if { (ac_try="$ac_compile" 7833 case "(($ac_try" in 7834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7835 *) ac_try_echo=$ac_try;; 7836 esac 7837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7838 (eval "$ac_compile") 2>conftest.er1 7839 ac_status=$? 7840 grep -v '^ *+' conftest.er1 >conftest.err 7841 rm -f conftest.er1 7842 cat conftest.err >&5 7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7844 (exit $ac_status); } && { 7845 test -z "$ac_cxx_werror_flag" || 7846 test ! -s conftest.err 7847 } && test -s conftest.$ac_objext; then 7848 ac_header_compiler=yes 7849 else 7850 echo "$as_me: failed program was:" >&5 7851 sed 's/^/| /' conftest.$ac_ext >&5 7852 7853 ac_header_compiler=no 7854 fi 7855 7856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7857 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7858 echo "${ECHO_T}$ac_header_compiler" >&6; } 7859 7860 # Is the header present? 7861 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7863 cat >conftest.$ac_ext <<_ACEOF 7864 /* confdefs.h. */ 7865 _ACEOF 7866 cat confdefs.h >>conftest.$ac_ext 7867 cat >>conftest.$ac_ext <<_ACEOF 7868 /* end confdefs.h. */ 7869 #include <$ac_header> 7870 _ACEOF 7871 if { (ac_try="$ac_cpp conftest.$ac_ext" 7872 case "(($ac_try" in 7873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7874 *) ac_try_echo=$ac_try;; 7875 esac 7876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7878 ac_status=$? 7879 grep -v '^ *+' conftest.er1 >conftest.err 7880 rm -f conftest.er1 7881 cat conftest.err >&5 7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7883 (exit $ac_status); } >/dev/null && { 7884 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7885 test ! -s conftest.err 7886 }; then 7887 ac_header_preproc=yes 7888 else 7889 echo "$as_me: failed program was:" >&5 7890 sed 's/^/| /' conftest.$ac_ext >&5 7891 7892 ac_header_preproc=no 7893 fi 7894 7895 rm -f conftest.err conftest.$ac_ext 7896 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7897 echo "${ECHO_T}$ac_header_preproc" >&6; } 7898 7899 # So? What about this header? 7900 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7901 yes:no: ) 7902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7906 ac_header_preproc=yes 7907 ;; 7908 no:yes:* ) 7909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7921 ( cat <<\_ASBOX 7922 ## ----------------------------------- ## 7923 ## Report this to rappture@nanohub.org ## 7924 ## ----------------------------------- ## 7925 _ASBOX 7926 ) | sed "s/^/$as_me: WARNING: /" >&2 7927 ;; 7928 esac 7929 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7932 echo $ECHO_N "(cached) $ECHO_C" >&6 7933 else 7934 eval "$as_ac_Header=\$ac_header_preproc" 7935 fi 7936 ac_res=`eval echo '${'$as_ac_Header'}'` 7937 { echo "$as_me:$LINENO: result: $ac_res" >&5 7938 echo "${ECHO_T}$ac_res" >&6; } 7939 7940 fi 7941 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5228 do : 5229 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5230 if test "x$ac_cv_header_limits_h" = xyes; then : 7942 5231 cat >>confdefs.h <<_ACEOF 7943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7944 _ACEOF 7945 7946 else 7947 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7948 echo "$as_me: WARNING: C headers missing ?" >&2;} 7949 fi 7950 7951 done 7952 5232 #define HAVE_LIMITS_H 1 5233 _ACEOF 5234 5235 else 5236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5237 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5238 fi 5239 5240 done 7953 5241 7954 5242 for ac_header in string.h 7955 do 7956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7958 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7961 echo $ECHO_N "(cached) $ECHO_C" >&6 7962 fi 7963 ac_res=`eval echo '${'$as_ac_Header'}'` 7964 { echo "$as_me:$LINENO: result: $ac_res" >&5 7965 echo "${ECHO_T}$ac_res" >&6; } 7966 else 7967 # Is the header compilable? 7968 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7970 cat >conftest.$ac_ext <<_ACEOF 7971 /* confdefs.h. */ 7972 _ACEOF 7973 cat confdefs.h >>conftest.$ac_ext 7974 cat >>conftest.$ac_ext <<_ACEOF 7975 /* end confdefs.h. */ 7976 $ac_includes_default 7977 #include <$ac_header> 7978 _ACEOF 7979 rm -f conftest.$ac_objext 7980 if { (ac_try="$ac_compile" 7981 case "(($ac_try" in 7982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7983 *) ac_try_echo=$ac_try;; 7984 esac 7985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7986 (eval "$ac_compile") 2>conftest.er1 7987 ac_status=$? 7988 grep -v '^ *+' conftest.er1 >conftest.err 7989 rm -f conftest.er1 7990 cat conftest.err >&5 7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7992 (exit $ac_status); } && { 7993 test -z "$ac_cxx_werror_flag" || 7994 test ! -s conftest.err 7995 } && test -s conftest.$ac_objext; then 7996 ac_header_compiler=yes 7997 else 7998 echo "$as_me: failed program was:" >&5 7999 sed 's/^/| /' conftest.$ac_ext >&5 8000 8001 ac_header_compiler=no 8002 fi 8003 8004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8005 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8006 echo "${ECHO_T}$ac_header_compiler" >&6; } 8007 8008 # Is the header present? 8009 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8011 cat >conftest.$ac_ext <<_ACEOF 8012 /* confdefs.h. */ 8013 _ACEOF 8014 cat confdefs.h >>conftest.$ac_ext 8015 cat >>conftest.$ac_ext <<_ACEOF 8016 /* end confdefs.h. */ 8017 #include <$ac_header> 8018 _ACEOF 8019 if { (ac_try="$ac_cpp conftest.$ac_ext" 8020 case "(($ac_try" in 8021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8022 *) ac_try_echo=$ac_try;; 8023 esac 8024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8026 ac_status=$? 8027 grep -v '^ *+' conftest.er1 >conftest.err 8028 rm -f conftest.er1 8029 cat conftest.err >&5 8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8031 (exit $ac_status); } >/dev/null && { 8032 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8033 test ! -s conftest.err 8034 }; then 8035 ac_header_preproc=yes 8036 else 8037 echo "$as_me: failed program was:" >&5 8038 sed 's/^/| /' conftest.$ac_ext >&5 8039 8040 ac_header_preproc=no 8041 fi 8042 8043 rm -f conftest.err conftest.$ac_ext 8044 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8045 echo "${ECHO_T}$ac_header_preproc" >&6; } 8046 8047 # So? What about this header? 8048 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8049 yes:no: ) 8050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8054 ac_header_preproc=yes 8055 ;; 8056 no:yes:* ) 8057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8069 ( cat <<\_ASBOX 8070 ## ----------------------------------- ## 8071 ## Report this to rappture@nanohub.org ## 8072 ## ----------------------------------- ## 8073 _ASBOX 8074 ) | sed "s/^/$as_me: WARNING: /" >&2 8075 ;; 8076 esac 8077 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8080 echo $ECHO_N "(cached) $ECHO_C" >&6 8081 else 8082 eval "$as_ac_Header=\$ac_header_preproc" 8083 fi 8084 ac_res=`eval echo '${'$as_ac_Header'}'` 8085 { echo "$as_me:$LINENO: result: $ac_res" >&5 8086 echo "${ECHO_T}$ac_res" >&6; } 8087 8088 fi 8089 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5243 do : 5244 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5245 if test "x$ac_cv_header_string_h" = xyes; then : 8090 5246 cat >>confdefs.h <<_ACEOF 8091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8092 _ACEOF 8093 8094 else 8095 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8096 echo "$as_me: WARNING: C headers missing ?" >&2;} 8097 fi 8098 8099 done 8100 5247 #define HAVE_STRING_H 1 5248 _ACEOF 5249 5250 else 5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5252 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5253 fi 5254 5255 done 8101 5256 8102 5257 for ac_header in stdlib.h 8103 do 8104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8106 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8109 echo $ECHO_N "(cached) $ECHO_C" >&6 8110 fi 8111 ac_res=`eval echo '${'$as_ac_Header'}'` 8112 { echo "$as_me:$LINENO: result: $ac_res" >&5 8113 echo "${ECHO_T}$ac_res" >&6; } 8114 else 8115 # Is the header compilable? 8116 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8118 cat >conftest.$ac_ext <<_ACEOF 8119 /* confdefs.h. */ 8120 _ACEOF 8121 cat confdefs.h >>conftest.$ac_ext 8122 cat >>conftest.$ac_ext <<_ACEOF 8123 /* end confdefs.h. */ 8124 $ac_includes_default 8125 #include <$ac_header> 8126 _ACEOF 8127 rm -f conftest.$ac_objext 8128 if { (ac_try="$ac_compile" 8129 case "(($ac_try" in 8130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8131 *) ac_try_echo=$ac_try;; 8132 esac 8133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8134 (eval "$ac_compile") 2>conftest.er1 8135 ac_status=$? 8136 grep -v '^ *+' conftest.er1 >conftest.err 8137 rm -f conftest.er1 8138 cat conftest.err >&5 8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8140 (exit $ac_status); } && { 8141 test -z "$ac_cxx_werror_flag" || 8142 test ! -s conftest.err 8143 } && test -s conftest.$ac_objext; then 8144 ac_header_compiler=yes 8145 else 8146 echo "$as_me: failed program was:" >&5 8147 sed 's/^/| /' conftest.$ac_ext >&5 8148 8149 ac_header_compiler=no 8150 fi 8151 8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8153 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8154 echo "${ECHO_T}$ac_header_compiler" >&6; } 8155 8156 # Is the header present? 8157 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8159 cat >conftest.$ac_ext <<_ACEOF 8160 /* confdefs.h. */ 8161 _ACEOF 8162 cat confdefs.h >>conftest.$ac_ext 8163 cat >>conftest.$ac_ext <<_ACEOF 8164 /* end confdefs.h. */ 8165 #include <$ac_header> 8166 _ACEOF 8167 if { (ac_try="$ac_cpp conftest.$ac_ext" 8168 case "(($ac_try" in 8169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8170 *) ac_try_echo=$ac_try;; 8171 esac 8172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8174 ac_status=$? 8175 grep -v '^ *+' conftest.er1 >conftest.err 8176 rm -f conftest.er1 8177 cat conftest.err >&5 8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } >/dev/null && { 8180 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8181 test ! -s conftest.err 8182 }; then 8183 ac_header_preproc=yes 8184 else 8185 echo "$as_me: failed program was:" >&5 8186 sed 's/^/| /' conftest.$ac_ext >&5 8187 8188 ac_header_preproc=no 8189 fi 8190 8191 rm -f conftest.err conftest.$ac_ext 8192 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8193 echo "${ECHO_T}$ac_header_preproc" >&6; } 8194 8195 # So? What about this header? 8196 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8197 yes:no: ) 8198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8202 ac_header_preproc=yes 8203 ;; 8204 no:yes:* ) 8205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8217 ( cat <<\_ASBOX 8218 ## ----------------------------------- ## 8219 ## Report this to rappture@nanohub.org ## 8220 ## ----------------------------------- ## 8221 _ASBOX 8222 ) | sed "s/^/$as_me: WARNING: /" >&2 8223 ;; 8224 esac 8225 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8228 echo $ECHO_N "(cached) $ECHO_C" >&6 8229 else 8230 eval "$as_ac_Header=\$ac_header_preproc" 8231 fi 8232 ac_res=`eval echo '${'$as_ac_Header'}'` 8233 { echo "$as_me:$LINENO: result: $ac_res" >&5 8234 echo "${ECHO_T}$ac_res" >&6; } 8235 8236 fi 8237 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5258 do : 5259 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5260 if test "x$ac_cv_header_stdlib_h" = xyes; then : 8238 5261 cat >>confdefs.h <<_ACEOF 8239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8240 _ACEOF 8241 8242 else 8243 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8244 echo "$as_me: WARNING: C headers missing ?" >&2;} 8245 fi 8246 8247 done 8248 5262 #define HAVE_STDLIB_H 1 5263 _ACEOF 5264 5265 else 5266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5267 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5268 fi 5269 5270 done 8249 5271 8250 5272 for ac_header in stddef.h 8251 do 8252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8254 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8257 echo $ECHO_N "(cached) $ECHO_C" >&6 8258 fi 8259 ac_res=`eval echo '${'$as_ac_Header'}'` 8260 { echo "$as_me:$LINENO: result: $ac_res" >&5 8261 echo "${ECHO_T}$ac_res" >&6; } 8262 else 8263 # Is the header compilable? 8264 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8266 cat >conftest.$ac_ext <<_ACEOF 8267 /* confdefs.h. */ 8268 _ACEOF 8269 cat confdefs.h >>conftest.$ac_ext 8270 cat >>conftest.$ac_ext <<_ACEOF 8271 /* end confdefs.h. */ 8272 $ac_includes_default 8273 #include <$ac_header> 8274 _ACEOF 8275 rm -f conftest.$ac_objext 8276 if { (ac_try="$ac_compile" 8277 case "(($ac_try" in 8278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8279 *) ac_try_echo=$ac_try;; 8280 esac 8281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8282 (eval "$ac_compile") 2>conftest.er1 8283 ac_status=$? 8284 grep -v '^ *+' conftest.er1 >conftest.err 8285 rm -f conftest.er1 8286 cat conftest.err >&5 8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8288 (exit $ac_status); } && { 8289 test -z "$ac_cxx_werror_flag" || 8290 test ! -s conftest.err 8291 } && test -s conftest.$ac_objext; then 8292 ac_header_compiler=yes 8293 else 8294 echo "$as_me: failed program was:" >&5 8295 sed 's/^/| /' conftest.$ac_ext >&5 8296 8297 ac_header_compiler=no 8298 fi 8299 8300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8301 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8302 echo "${ECHO_T}$ac_header_compiler" >&6; } 8303 8304 # Is the header present? 8305 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8307 cat >conftest.$ac_ext <<_ACEOF 8308 /* confdefs.h. */ 8309 _ACEOF 8310 cat confdefs.h >>conftest.$ac_ext 8311 cat >>conftest.$ac_ext <<_ACEOF 8312 /* end confdefs.h. */ 8313 #include <$ac_header> 8314 _ACEOF 8315 if { (ac_try="$ac_cpp conftest.$ac_ext" 8316 case "(($ac_try" in 8317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8318 *) ac_try_echo=$ac_try;; 8319 esac 8320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8321 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8322 ac_status=$? 8323 grep -v '^ *+' conftest.er1 >conftest.err 8324 rm -f conftest.er1 8325 cat conftest.err >&5 8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8327 (exit $ac_status); } >/dev/null && { 8328 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8329 test ! -s conftest.err 8330 }; then 8331 ac_header_preproc=yes 8332 else 8333 echo "$as_me: failed program was:" >&5 8334 sed 's/^/| /' conftest.$ac_ext >&5 8335 8336 ac_header_preproc=no 8337 fi 8338 8339 rm -f conftest.err conftest.$ac_ext 8340 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8341 echo "${ECHO_T}$ac_header_preproc" >&6; } 8342 8343 # So? What about this header? 8344 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8345 yes:no: ) 8346 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8347 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8349 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8350 ac_header_preproc=yes 8351 ;; 8352 no:yes:* ) 8353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8356 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8357 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8358 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8359 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8360 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8363 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8364 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8365 ( cat <<\_ASBOX 8366 ## ----------------------------------- ## 8367 ## Report this to rappture@nanohub.org ## 8368 ## ----------------------------------- ## 8369 _ASBOX 8370 ) | sed "s/^/$as_me: WARNING: /" >&2 8371 ;; 8372 esac 8373 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8376 echo $ECHO_N "(cached) $ECHO_C" >&6 8377 else 8378 eval "$as_ac_Header=\$ac_header_preproc" 8379 fi 8380 ac_res=`eval echo '${'$as_ac_Header'}'` 8381 { echo "$as_me:$LINENO: result: $ac_res" >&5 8382 echo "${ECHO_T}$ac_res" >&6; } 8383 8384 fi 8385 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5273 do : 5274 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5275 if test "x$ac_cv_header_stddef_h" = xyes; then : 8386 5276 cat >>confdefs.h <<_ACEOF 8387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8388 _ACEOF 8389 8390 else 8391 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8392 echo "$as_me: WARNING: C headers missing ?" >&2;} 8393 fi 8394 8395 done 8396 5277 #define HAVE_STDDEF_H 1 5278 _ACEOF 5279 5280 else 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5282 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5283 fi 5284 5285 done 8397 5286 8398 5287 for ac_header in float.h 8399 do 8400 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8402 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8405 echo $ECHO_N "(cached) $ECHO_C" >&6 8406 fi 8407 ac_res=`eval echo '${'$as_ac_Header'}'` 8408 { echo "$as_me:$LINENO: result: $ac_res" >&5 8409 echo "${ECHO_T}$ac_res" >&6; } 8410 else 8411 # Is the header compilable? 8412 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8414 cat >conftest.$ac_ext <<_ACEOF 8415 /* confdefs.h. */ 8416 _ACEOF 8417 cat confdefs.h >>conftest.$ac_ext 8418 cat >>conftest.$ac_ext <<_ACEOF 8419 /* end confdefs.h. */ 8420 $ac_includes_default 8421 #include <$ac_header> 8422 _ACEOF 8423 rm -f conftest.$ac_objext 8424 if { (ac_try="$ac_compile" 8425 case "(($ac_try" in 8426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8427 *) ac_try_echo=$ac_try;; 8428 esac 8429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8430 (eval "$ac_compile") 2>conftest.er1 8431 ac_status=$? 8432 grep -v '^ *+' conftest.er1 >conftest.err 8433 rm -f conftest.er1 8434 cat conftest.err >&5 8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8436 (exit $ac_status); } && { 8437 test -z "$ac_cxx_werror_flag" || 8438 test ! -s conftest.err 8439 } && test -s conftest.$ac_objext; then 8440 ac_header_compiler=yes 8441 else 8442 echo "$as_me: failed program was:" >&5 8443 sed 's/^/| /' conftest.$ac_ext >&5 8444 8445 ac_header_compiler=no 8446 fi 8447 8448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8449 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8450 echo "${ECHO_T}$ac_header_compiler" >&6; } 8451 8452 # Is the header present? 8453 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8455 cat >conftest.$ac_ext <<_ACEOF 8456 /* confdefs.h. */ 8457 _ACEOF 8458 cat confdefs.h >>conftest.$ac_ext 8459 cat >>conftest.$ac_ext <<_ACEOF 8460 /* end confdefs.h. */ 8461 #include <$ac_header> 8462 _ACEOF 8463 if { (ac_try="$ac_cpp conftest.$ac_ext" 8464 case "(($ac_try" in 8465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8466 *) ac_try_echo=$ac_try;; 8467 esac 8468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8470 ac_status=$? 8471 grep -v '^ *+' conftest.er1 >conftest.err 8472 rm -f conftest.er1 8473 cat conftest.err >&5 8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8475 (exit $ac_status); } >/dev/null && { 8476 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8477 test ! -s conftest.err 8478 }; then 8479 ac_header_preproc=yes 8480 else 8481 echo "$as_me: failed program was:" >&5 8482 sed 's/^/| /' conftest.$ac_ext >&5 8483 8484 ac_header_preproc=no 8485 fi 8486 8487 rm -f conftest.err conftest.$ac_ext 8488 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8489 echo "${ECHO_T}$ac_header_preproc" >&6; } 8490 8491 # So? What about this header? 8492 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8493 yes:no: ) 8494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8498 ac_header_preproc=yes 8499 ;; 8500 no:yes:* ) 8501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8513 ( cat <<\_ASBOX 8514 ## ----------------------------------- ## 8515 ## Report this to rappture@nanohub.org ## 8516 ## ----------------------------------- ## 8517 _ASBOX 8518 ) | sed "s/^/$as_me: WARNING: /" >&2 8519 ;; 8520 esac 8521 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8524 echo $ECHO_N "(cached) $ECHO_C" >&6 8525 else 8526 eval "$as_ac_Header=\$ac_header_preproc" 8527 fi 8528 ac_res=`eval echo '${'$as_ac_Header'}'` 8529 { echo "$as_me:$LINENO: result: $ac_res" >&5 8530 echo "${ECHO_T}$ac_res" >&6; } 8531 8532 fi 8533 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5288 do : 5289 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5290 if test "x$ac_cv_header_float_h" = xyes; then : 8534 5291 cat >>confdefs.h <<_ACEOF 8535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8536 _ACEOF 8537 8538 else 8539 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8540 echo "$as_me: WARNING: C headers missing ?" >&2;} 8541 fi 8542 8543 done 8544 5292 #define HAVE_FLOAT_H 1 5293 _ACEOF 5294 5295 else 5296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5297 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5298 fi 5299 5300 done 8545 5301 8546 5302 for ac_header in math.h 8547 do 8548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8550 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8553 echo $ECHO_N "(cached) $ECHO_C" >&6 8554 fi 8555 ac_res=`eval echo '${'$as_ac_Header'}'` 8556 { echo "$as_me:$LINENO: result: $ac_res" >&5 8557 echo "${ECHO_T}$ac_res" >&6; } 8558 else 8559 # Is the header compilable? 8560 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8562 cat >conftest.$ac_ext <<_ACEOF 8563 /* confdefs.h. */ 8564 _ACEOF 8565 cat confdefs.h >>conftest.$ac_ext 8566 cat >>conftest.$ac_ext <<_ACEOF 8567 /* end confdefs.h. */ 8568 $ac_includes_default 8569 #include <$ac_header> 8570 _ACEOF 8571 rm -f conftest.$ac_objext 8572 if { (ac_try="$ac_compile" 8573 case "(($ac_try" in 8574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8575 *) ac_try_echo=$ac_try;; 8576 esac 8577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8578 (eval "$ac_compile") 2>conftest.er1 8579 ac_status=$? 8580 grep -v '^ *+' conftest.er1 >conftest.err 8581 rm -f conftest.er1 8582 cat conftest.err >&5 8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8584 (exit $ac_status); } && { 8585 test -z "$ac_cxx_werror_flag" || 8586 test ! -s conftest.err 8587 } && test -s conftest.$ac_objext; then 8588 ac_header_compiler=yes 8589 else 8590 echo "$as_me: failed program was:" >&5 8591 sed 's/^/| /' conftest.$ac_ext >&5 8592 8593 ac_header_compiler=no 8594 fi 8595 8596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8597 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8598 echo "${ECHO_T}$ac_header_compiler" >&6; } 8599 8600 # Is the header present? 8601 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8603 cat >conftest.$ac_ext <<_ACEOF 8604 /* confdefs.h. */ 8605 _ACEOF 8606 cat confdefs.h >>conftest.$ac_ext 8607 cat >>conftest.$ac_ext <<_ACEOF 8608 /* end confdefs.h. */ 8609 #include <$ac_header> 8610 _ACEOF 8611 if { (ac_try="$ac_cpp conftest.$ac_ext" 8612 case "(($ac_try" in 8613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8614 *) ac_try_echo=$ac_try;; 8615 esac 8616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8618 ac_status=$? 8619 grep -v '^ *+' conftest.er1 >conftest.err 8620 rm -f conftest.er1 8621 cat conftest.err >&5 8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8623 (exit $ac_status); } >/dev/null && { 8624 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8625 test ! -s conftest.err 8626 }; then 8627 ac_header_preproc=yes 8628 else 8629 echo "$as_me: failed program was:" >&5 8630 sed 's/^/| /' conftest.$ac_ext >&5 8631 8632 ac_header_preproc=no 8633 fi 8634 8635 rm -f conftest.err conftest.$ac_ext 8636 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8637 echo "${ECHO_T}$ac_header_preproc" >&6; } 8638 8639 # So? What about this header? 8640 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8641 yes:no: ) 8642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8645 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8646 ac_header_preproc=yes 8647 ;; 8648 no:yes:* ) 8649 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8650 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8651 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8652 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8653 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8654 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8655 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8661 ( cat <<\_ASBOX 8662 ## ----------------------------------- ## 8663 ## Report this to rappture@nanohub.org ## 8664 ## ----------------------------------- ## 8665 _ASBOX 8666 ) | sed "s/^/$as_me: WARNING: /" >&2 8667 ;; 8668 esac 8669 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8672 echo $ECHO_N "(cached) $ECHO_C" >&6 8673 else 8674 eval "$as_ac_Header=\$ac_header_preproc" 8675 fi 8676 ac_res=`eval echo '${'$as_ac_Header'}'` 8677 { echo "$as_me:$LINENO: result: $ac_res" >&5 8678 echo "${ECHO_T}$ac_res" >&6; } 8679 8680 fi 8681 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5303 do : 5304 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5305 if test "x$ac_cv_header_math_h" = xyes; then : 8682 5306 cat >>confdefs.h <<_ACEOF 8683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8684 _ACEOF 8685 8686 else 8687 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8688 echo "$as_me: WARNING: C headers missing ?" >&2;} 8689 fi 8690 8691 done 8692 5307 #define HAVE_MATH_H 1 5308 _ACEOF 5309 5310 else 5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5312 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5313 fi 5314 5315 done 8693 5316 8694 5317 for ac_header in malloc.h 8695 do 8696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8698 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8700 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8701 echo $ECHO_N "(cached) $ECHO_C" >&6 8702 fi 8703 ac_res=`eval echo '${'$as_ac_Header'}'` 8704 { echo "$as_me:$LINENO: result: $ac_res" >&5 8705 echo "${ECHO_T}$ac_res" >&6; } 8706 else 8707 # Is the header compilable? 8708 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8710 cat >conftest.$ac_ext <<_ACEOF 8711 /* confdefs.h. */ 8712 _ACEOF 8713 cat confdefs.h >>conftest.$ac_ext 8714 cat >>conftest.$ac_ext <<_ACEOF 8715 /* end confdefs.h. */ 8716 $ac_includes_default 8717 #include <$ac_header> 8718 _ACEOF 8719 rm -f conftest.$ac_objext 8720 if { (ac_try="$ac_compile" 8721 case "(($ac_try" in 8722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8723 *) ac_try_echo=$ac_try;; 8724 esac 8725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8726 (eval "$ac_compile") 2>conftest.er1 8727 ac_status=$? 8728 grep -v '^ *+' conftest.er1 >conftest.err 8729 rm -f conftest.er1 8730 cat conftest.err >&5 8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8732 (exit $ac_status); } && { 8733 test -z "$ac_cxx_werror_flag" || 8734 test ! -s conftest.err 8735 } && test -s conftest.$ac_objext; then 8736 ac_header_compiler=yes 8737 else 8738 echo "$as_me: failed program was:" >&5 8739 sed 's/^/| /' conftest.$ac_ext >&5 8740 8741 ac_header_compiler=no 8742 fi 8743 8744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8745 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8746 echo "${ECHO_T}$ac_header_compiler" >&6; } 8747 8748 # Is the header present? 8749 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8751 cat >conftest.$ac_ext <<_ACEOF 8752 /* confdefs.h. */ 8753 _ACEOF 8754 cat confdefs.h >>conftest.$ac_ext 8755 cat >>conftest.$ac_ext <<_ACEOF 8756 /* end confdefs.h. */ 8757 #include <$ac_header> 8758 _ACEOF 8759 if { (ac_try="$ac_cpp conftest.$ac_ext" 8760 case "(($ac_try" in 8761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8762 *) ac_try_echo=$ac_try;; 8763 esac 8764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8766 ac_status=$? 8767 grep -v '^ *+' conftest.er1 >conftest.err 8768 rm -f conftest.er1 8769 cat conftest.err >&5 8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8771 (exit $ac_status); } >/dev/null && { 8772 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8773 test ! -s conftest.err 8774 }; then 8775 ac_header_preproc=yes 8776 else 8777 echo "$as_me: failed program was:" >&5 8778 sed 's/^/| /' conftest.$ac_ext >&5 8779 8780 ac_header_preproc=no 8781 fi 8782 8783 rm -f conftest.err conftest.$ac_ext 8784 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8785 echo "${ECHO_T}$ac_header_preproc" >&6; } 8786 8787 # So? What about this header? 8788 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8789 yes:no: ) 8790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8793 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8794 ac_header_preproc=yes 8795 ;; 8796 no:yes:* ) 8797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8801 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8802 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8803 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8804 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8807 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8808 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8809 ( cat <<\_ASBOX 8810 ## ----------------------------------- ## 8811 ## Report this to rappture@nanohub.org ## 8812 ## ----------------------------------- ## 8813 _ASBOX 8814 ) | sed "s/^/$as_me: WARNING: /" >&2 8815 ;; 8816 esac 8817 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8820 echo $ECHO_N "(cached) $ECHO_C" >&6 8821 else 8822 eval "$as_ac_Header=\$ac_header_preproc" 8823 fi 8824 ac_res=`eval echo '${'$as_ac_Header'}'` 8825 { echo "$as_me:$LINENO: result: $ac_res" >&5 8826 echo "${ECHO_T}$ac_res" >&6; } 8827 8828 fi 8829 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5318 do : 5319 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5320 if test "x$ac_cv_header_malloc_h" = xyes; then : 8830 5321 cat >>confdefs.h <<_ACEOF 8831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8832 _ACEOF 8833 8834 else 8835 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8836 echo "$as_me: WARNING: C headers missing ?" >&2;} 8837 fi 8838 8839 done 8840 5322 #define HAVE_MALLOC_H 1 5323 _ACEOF 5324 5325 else 5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5327 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5328 fi 5329 5330 done 8841 5331 8842 5332 for ac_header in memory.h 8843 do 8844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8846 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8849 echo $ECHO_N "(cached) $ECHO_C" >&6 8850 fi 8851 ac_res=`eval echo '${'$as_ac_Header'}'` 8852 { echo "$as_me:$LINENO: result: $ac_res" >&5 8853 echo "${ECHO_T}$ac_res" >&6; } 8854 else 8855 # Is the header compilable? 8856 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8858 cat >conftest.$ac_ext <<_ACEOF 8859 /* confdefs.h. */ 8860 _ACEOF 8861 cat confdefs.h >>conftest.$ac_ext 8862 cat >>conftest.$ac_ext <<_ACEOF 8863 /* end confdefs.h. */ 8864 $ac_includes_default 8865 #include <$ac_header> 8866 _ACEOF 8867 rm -f conftest.$ac_objext 8868 if { (ac_try="$ac_compile" 8869 case "(($ac_try" in 8870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8871 *) ac_try_echo=$ac_try;; 8872 esac 8873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8874 (eval "$ac_compile") 2>conftest.er1 8875 ac_status=$? 8876 grep -v '^ *+' conftest.er1 >conftest.err 8877 rm -f conftest.er1 8878 cat conftest.err >&5 8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8880 (exit $ac_status); } && { 8881 test -z "$ac_cxx_werror_flag" || 8882 test ! -s conftest.err 8883 } && test -s conftest.$ac_objext; then 8884 ac_header_compiler=yes 8885 else 8886 echo "$as_me: failed program was:" >&5 8887 sed 's/^/| /' conftest.$ac_ext >&5 8888 8889 ac_header_compiler=no 8890 fi 8891 8892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8893 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8894 echo "${ECHO_T}$ac_header_compiler" >&6; } 8895 8896 # Is the header present? 8897 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8899 cat >conftest.$ac_ext <<_ACEOF 8900 /* confdefs.h. */ 8901 _ACEOF 8902 cat confdefs.h >>conftest.$ac_ext 8903 cat >>conftest.$ac_ext <<_ACEOF 8904 /* end confdefs.h. */ 8905 #include <$ac_header> 8906 _ACEOF 8907 if { (ac_try="$ac_cpp conftest.$ac_ext" 8908 case "(($ac_try" in 8909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8910 *) ac_try_echo=$ac_try;; 8911 esac 8912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8914 ac_status=$? 8915 grep -v '^ *+' conftest.er1 >conftest.err 8916 rm -f conftest.er1 8917 cat conftest.err >&5 8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8919 (exit $ac_status); } >/dev/null && { 8920 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8921 test ! -s conftest.err 8922 }; then 8923 ac_header_preproc=yes 8924 else 8925 echo "$as_me: failed program was:" >&5 8926 sed 's/^/| /' conftest.$ac_ext >&5 8927 8928 ac_header_preproc=no 8929 fi 8930 8931 rm -f conftest.err conftest.$ac_ext 8932 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8933 echo "${ECHO_T}$ac_header_preproc" >&6; } 8934 8935 # So? What about this header? 8936 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8937 yes:no: ) 8938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8942 ac_header_preproc=yes 8943 ;; 8944 no:yes:* ) 8945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8957 ( cat <<\_ASBOX 8958 ## ----------------------------------- ## 8959 ## Report this to rappture@nanohub.org ## 8960 ## ----------------------------------- ## 8961 _ASBOX 8962 ) | sed "s/^/$as_me: WARNING: /" >&2 8963 ;; 8964 esac 8965 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8967 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8968 echo $ECHO_N "(cached) $ECHO_C" >&6 8969 else 8970 eval "$as_ac_Header=\$ac_header_preproc" 8971 fi 8972 ac_res=`eval echo '${'$as_ac_Header'}'` 8973 { echo "$as_me:$LINENO: result: $ac_res" >&5 8974 echo "${ECHO_T}$ac_res" >&6; } 8975 8976 fi 8977 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5333 do : 5334 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5335 if test "x$ac_cv_header_memory_h" = xyes; then : 8978 5336 cat >>confdefs.h <<_ACEOF 8979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8980 _ACEOF 8981 8982 else 8983 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8984 echo "$as_me: WARNING: C headers missing ?" >&2;} 8985 fi 8986 8987 done 8988 5337 #define HAVE_MEMORY_H 1 5338 _ACEOF 5339 5340 else 5341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5342 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5343 fi 5344 5345 done 8989 5346 8990 5347 for ac_header in unistd.h 8991 do 8992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8994 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8997 echo $ECHO_N "(cached) $ECHO_C" >&6 8998 fi 8999 ac_res=`eval echo '${'$as_ac_Header'}'` 9000 { echo "$as_me:$LINENO: result: $ac_res" >&5 9001 echo "${ECHO_T}$ac_res" >&6; } 9002 else 9003 # Is the header compilable? 9004 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9005 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9006 cat >conftest.$ac_ext <<_ACEOF 9007 /* confdefs.h. */ 9008 _ACEOF 9009 cat confdefs.h >>conftest.$ac_ext 9010 cat >>conftest.$ac_ext <<_ACEOF 9011 /* end confdefs.h. */ 9012 $ac_includes_default 9013 #include <$ac_header> 9014 _ACEOF 9015 rm -f conftest.$ac_objext 9016 if { (ac_try="$ac_compile" 9017 case "(($ac_try" in 9018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9019 *) ac_try_echo=$ac_try;; 9020 esac 9021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9022 (eval "$ac_compile") 2>conftest.er1 9023 ac_status=$? 9024 grep -v '^ *+' conftest.er1 >conftest.err 9025 rm -f conftest.er1 9026 cat conftest.err >&5 9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9028 (exit $ac_status); } && { 9029 test -z "$ac_cxx_werror_flag" || 9030 test ! -s conftest.err 9031 } && test -s conftest.$ac_objext; then 9032 ac_header_compiler=yes 9033 else 9034 echo "$as_me: failed program was:" >&5 9035 sed 's/^/| /' conftest.$ac_ext >&5 9036 9037 ac_header_compiler=no 9038 fi 9039 9040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9041 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9042 echo "${ECHO_T}$ac_header_compiler" >&6; } 9043 9044 # Is the header present? 9045 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9047 cat >conftest.$ac_ext <<_ACEOF 9048 /* confdefs.h. */ 9049 _ACEOF 9050 cat confdefs.h >>conftest.$ac_ext 9051 cat >>conftest.$ac_ext <<_ACEOF 9052 /* end confdefs.h. */ 9053 #include <$ac_header> 9054 _ACEOF 9055 if { (ac_try="$ac_cpp conftest.$ac_ext" 9056 case "(($ac_try" in 9057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9058 *) ac_try_echo=$ac_try;; 9059 esac 9060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9062 ac_status=$? 9063 grep -v '^ *+' conftest.er1 >conftest.err 9064 rm -f conftest.er1 9065 cat conftest.err >&5 9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9067 (exit $ac_status); } >/dev/null && { 9068 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9069 test ! -s conftest.err 9070 }; then 9071 ac_header_preproc=yes 9072 else 9073 echo "$as_me: failed program was:" >&5 9074 sed 's/^/| /' conftest.$ac_ext >&5 9075 9076 ac_header_preproc=no 9077 fi 9078 9079 rm -f conftest.err conftest.$ac_ext 9080 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9081 echo "${ECHO_T}$ac_header_preproc" >&6; } 9082 9083 # So? What about this header? 9084 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9085 yes:no: ) 9086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9090 ac_header_preproc=yes 9091 ;; 9092 no:yes:* ) 9093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9105 ( cat <<\_ASBOX 9106 ## ----------------------------------- ## 9107 ## Report this to rappture@nanohub.org ## 9108 ## ----------------------------------- ## 9109 _ASBOX 9110 ) | sed "s/^/$as_me: WARNING: /" >&2 9111 ;; 9112 esac 9113 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9116 echo $ECHO_N "(cached) $ECHO_C" >&6 9117 else 9118 eval "$as_ac_Header=\$ac_header_preproc" 9119 fi 9120 ac_res=`eval echo '${'$as_ac_Header'}'` 9121 { echo "$as_me:$LINENO: result: $ac_res" >&5 9122 echo "${ECHO_T}$ac_res" >&6; } 9123 9124 fi 9125 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5348 do : 5349 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5350 if test "x$ac_cv_header_unistd_h" = xyes; then : 9126 5351 cat >>confdefs.h <<_ACEOF 9127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9128 _ACEOF 9129 9130 else 9131 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 9132 echo "$as_me: WARNING: C headers missing ?" >&2;} 9133 fi 9134 9135 done 9136 5352 #define HAVE_UNISTD_H 1 5353 _ACEOF 5354 5355 else 5356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5357 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5358 fi 5359 5360 done 9137 5361 9138 5362 9139 5363 for ac_header in inttypes.h 9140 do 9141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9143 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9146 echo $ECHO_N "(cached) $ECHO_C" >&6 9147 fi 9148 ac_res=`eval echo '${'$as_ac_Header'}'` 9149 { echo "$as_me:$LINENO: result: $ac_res" >&5 9150 echo "${ECHO_T}$ac_res" >&6; } 9151 else 9152 # Is the header compilable? 9153 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9155 cat >conftest.$ac_ext <<_ACEOF 9156 /* confdefs.h. */ 9157 _ACEOF 9158 cat confdefs.h >>conftest.$ac_ext 9159 cat >>conftest.$ac_ext <<_ACEOF 9160 /* end confdefs.h. */ 9161 $ac_includes_default 9162 #include <$ac_header> 9163 _ACEOF 9164 rm -f conftest.$ac_objext 9165 if { (ac_try="$ac_compile" 9166 case "(($ac_try" in 9167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9168 *) ac_try_echo=$ac_try;; 9169 esac 9170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9171 (eval "$ac_compile") 2>conftest.er1 9172 ac_status=$? 9173 grep -v '^ *+' conftest.er1 >conftest.err 9174 rm -f conftest.er1 9175 cat conftest.err >&5 9176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9177 (exit $ac_status); } && { 9178 test -z "$ac_cxx_werror_flag" || 9179 test ! -s conftest.err 9180 } && test -s conftest.$ac_objext; then 9181 ac_header_compiler=yes 9182 else 9183 echo "$as_me: failed program was:" >&5 9184 sed 's/^/| /' conftest.$ac_ext >&5 9185 9186 ac_header_compiler=no 9187 fi 9188 9189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9190 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9191 echo "${ECHO_T}$ac_header_compiler" >&6; } 9192 9193 # Is the header present? 9194 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9196 cat >conftest.$ac_ext <<_ACEOF 9197 /* confdefs.h. */ 9198 _ACEOF 9199 cat confdefs.h >>conftest.$ac_ext 9200 cat >>conftest.$ac_ext <<_ACEOF 9201 /* end confdefs.h. */ 9202 #include <$ac_header> 9203 _ACEOF 9204 if { (ac_try="$ac_cpp conftest.$ac_ext" 9205 case "(($ac_try" in 9206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9207 *) ac_try_echo=$ac_try;; 9208 esac 9209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9211 ac_status=$? 9212 grep -v '^ *+' conftest.er1 >conftest.err 9213 rm -f conftest.er1 9214 cat conftest.err >&5 9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9216 (exit $ac_status); } >/dev/null && { 9217 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9218 test ! -s conftest.err 9219 }; then 9220 ac_header_preproc=yes 9221 else 9222 echo "$as_me: failed program was:" >&5 9223 sed 's/^/| /' conftest.$ac_ext >&5 9224 9225 ac_header_preproc=no 9226 fi 9227 9228 rm -f conftest.err conftest.$ac_ext 9229 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9230 echo "${ECHO_T}$ac_header_preproc" >&6; } 9231 9232 # So? What about this header? 9233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9234 yes:no: ) 9235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9239 ac_header_preproc=yes 9240 ;; 9241 no:yes:* ) 9242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9254 ( cat <<\_ASBOX 9255 ## ----------------------------------- ## 9256 ## Report this to rappture@nanohub.org ## 9257 ## ----------------------------------- ## 9258 _ASBOX 9259 ) | sed "s/^/$as_me: WARNING: /" >&2 9260 ;; 9261 esac 9262 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9265 echo $ECHO_N "(cached) $ECHO_C" >&6 9266 else 9267 eval "$as_ac_Header=\$ac_header_preproc" 9268 fi 9269 ac_res=`eval echo '${'$as_ac_Header'}'` 9270 { echo "$as_me:$LINENO: result: $ac_res" >&5 9271 echo "${ECHO_T}$ac_res" >&6; } 9272 9273 fi 9274 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5364 do : 5365 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5366 if test "x$ac_cv_header_inttypes_h" = xyes; then : 9275 5367 cat >>confdefs.h <<_ACEOF 9276 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19277 _ACEOF 9278 9279 else 9280 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59281 echo "$as_me: WARNING: C headers missing ?" >&2;}5368 #define HAVE_INTTYPES_H 1 5369 _ACEOF 5370 5371 else 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5373 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9282 5374 fi 9283 5375 … … 9296 5388 # Step 0.a: Enable 64 bit support? 9297 5389 9298 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&59299 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 5391 $as_echo_n "checking if 64bit support is requested... " >&6; } 9300 5392 # Check whether --enable-64bit was given. 9301 if test "${enable_64bit+set}" = set; then 5393 if test "${enable_64bit+set}" = set; then : 9302 5394 enableval=$enable_64bit; do64bit=$enableval 9303 5395 else … … 9305 5397 fi 9306 5398 9307 { echo "$as_me:$LINENO: result: $do64bit" >&59308 echo "${ECHO_T}$do64bit" >&6; }5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 5400 $as_echo "$do64bit" >&6; } 9309 5401 9310 5402 # Step 0.b: Enable Solaris 64 bit VIS support? 9311 5403 9312 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&59313 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 5405 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9314 5406 # Check whether --enable-64bit-vis was given. 9315 if test "${enable_64bit_vis+set}" = set; then 5407 if test "${enable_64bit_vis+set}" = set; then : 9316 5408 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9317 5409 else … … 9319 5411 fi 9320 5412 9321 { echo "$as_me:$LINENO: result: $do64bitVIS" >&59322 echo "${ECHO_T}$do64bitVIS" >&6; }5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 5414 $as_echo "$do64bitVIS" >&6; } 9323 5415 9324 5416 if test "$do64bitVIS" = "yes"; then … … 9331 5423 9332 5424 9333 { echo "$as_me:$LINENO: checking system version" >&59334 echo $ECHO_N "checking system version... $ECHO_C" >&6; }9335 if test "${tcl_cv_sys_version+set}" = set; then9336 echo $ECHO_N "(cached) $ECHO_C" >&65425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 5426 $as_echo_n "checking system version... " >&6; } 5427 if ${tcl_cv_sys_version+:} false; then : 5428 $as_echo_n "(cached) " >&6 9337 5429 else 9338 5430 … … 9342 5434 tcl_cv_sys_version=`uname -s`-`uname -r` 9343 5435 if test "$?" -ne 0 ; then 9344 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&59345 echo "$as_me: WARNING: can't find uname command" >&2;}5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 5437 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9346 5438 tcl_cv_sys_version=unknown 9347 5439 else … … 9359 5451 9360 5452 fi 9361 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&59362 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 5454 $as_echo "$tcl_cv_sys_version" >&6; } 9363 5455 system=$tcl_cv_sys_version 9364 5456 … … 9367 5459 # Linux can use either -ldl or -ldld for dynamic loading. 9368 5460 9369 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&59370 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }9371 if test "${ac_cv_lib_dl_dlopen+set}" = set; then9372 echo $ECHO_N "(cached) $ECHO_C" >&65461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5462 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5463 if ${ac_cv_lib_dl_dlopen+:} false; then : 5464 $as_echo_n "(cached) " >&6 9373 5465 else 9374 5466 ac_check_lib_save_LIBS=$LIBS 9375 5467 LIBS="-ldl $LIBS" 9376 cat >conftest.$ac_ext <<_ACEOF 9377 /* confdefs.h. */ 9378 _ACEOF 9379 cat confdefs.h >>conftest.$ac_ext 9380 cat >>conftest.$ac_ext <<_ACEOF 5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9381 5469 /* end confdefs.h. */ 9382 5470 … … 9396 5484 } 9397 5485 _ACEOF 9398 rm -f conftest.$ac_objext conftest$ac_exeext 9399 if { (ac_try="$ac_link" 9400 case "(($ac_try" in 9401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9402 *) ac_try_echo=$ac_try;; 9403 esac 9404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9405 (eval "$ac_link") 2>conftest.er1 9406 ac_status=$? 9407 grep -v '^ *+' conftest.er1 >conftest.err 9408 rm -f conftest.er1 9409 cat conftest.err >&5 9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9411 (exit $ac_status); } && { 9412 test -z "$ac_cxx_werror_flag" || 9413 test ! -s conftest.err 9414 } && test -s conftest$ac_exeext && 9415 $as_test_x conftest$ac_exeext; then 5486 if ac_fn_cxx_try_link "$LINENO"; then : 9416 5487 ac_cv_lib_dl_dlopen=yes 9417 5488 else 9418 echo "$as_me: failed program was:" >&5 9419 sed 's/^/| /' conftest.$ac_ext >&5 9420 9421 ac_cv_lib_dl_dlopen=no 9422 fi 9423 9424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9425 conftest$ac_exeext conftest.$ac_ext 5489 ac_cv_lib_dl_dlopen=no 5490 fi 5491 rm -f core conftest.err conftest.$ac_objext \ 5492 conftest$ac_exeext conftest.$ac_ext 9426 5493 LIBS=$ac_check_lib_save_LIBS 9427 5494 fi 9428 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&59429 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }9430 if test $ac_cv_lib_dl_dlopen = yes; then5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5496 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5497 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 9431 5498 have_dl=yes 9432 5499 else … … 9460 5527 # Extract the first word of "ar", so it can be a program name with args. 9461 5528 set dummy ar; ac_word=$2 9462 { echo "$as_me:$LINENO: checking for $ac_word" >&59463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }9464 if test "${ac_cv_prog_AR+set}" = set; then9465 echo $ECHO_N "(cached) $ECHO_C" >&65529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5530 $as_echo_n "checking for $ac_word... " >&6; } 5531 if ${ac_cv_prog_AR+:} false; then : 5532 $as_echo_n "(cached) " >&6 9466 5533 else 9467 5534 if test -n "$AR"; then … … 9473 5540 IFS=$as_save_IFS 9474 5541 test -z "$as_dir" && as_dir=. 9475 for ac_exec_ext in '' $ac_executable_extensions; do5542 for ac_exec_ext in '' $ac_executable_extensions; do 9476 5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9477 5544 ac_cv_prog_AR="ar" 9478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9479 5546 break 2 9480 5547 fi 9481 5548 done 9482 done5549 done 9483 5550 IFS=$as_save_IFS 9484 5551 … … 9487 5554 AR=$ac_cv_prog_AR 9488 5555 if test -n "$AR"; then 9489 { echo "$as_me:$LINENO: result: $AR" >&59490 echo "${ECHO_T}$AR" >&6; }9491 else 9492 { echo "$as_me:$LINENO: result: no" >&59493 echo "${ECHO_T}no" >&6; }5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5557 $as_echo "$AR" >&6; } 5558 else 5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5560 $as_echo "no" >&6; } 9494 5561 fi 9495 5562 9496 5563 9497 5564 if test "${AR}" = "" ; then 9498 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9499 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9500 { (exit 1); exit 1; }; } 5565 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9501 5566 fi 9502 5567 STLIB_LD='${AR} cr' … … 9516 5581 ;; 9517 5582 esac 9518 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&59519 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 5584 $as_echo "Using $CC for compiling with threads" >&6; } 9520 5585 fi 9521 5586 LIBS="$LIBS -lc" … … 9532 5597 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 9533 5598 if test "$GCC" = "yes" ; then 9534 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59535 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5600 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9536 5601 else 9537 5602 do64bit_ok=yes … … 9587 5652 # known GMT value. 9588 5653 9589 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&59590 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }9591 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then9592 echo $ECHO_N "(cached) $ECHO_C" >&65654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 5655 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5656 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 5657 $as_echo_n "(cached) " >&6 9593 5658 else 9594 5659 ac_check_lib_save_LIBS=$LIBS 9595 5660 LIBS="-lbsd $LIBS" 9596 cat >conftest.$ac_ext <<_ACEOF 9597 /* confdefs.h. */ 9598 _ACEOF 9599 cat confdefs.h >>conftest.$ac_ext 9600 cat >>conftest.$ac_ext <<_ACEOF 5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9601 5662 /* end confdefs.h. */ 9602 5663 … … 9616 5677 } 9617 5678 _ACEOF 9618 rm -f conftest.$ac_objext conftest$ac_exeext 9619 if { (ac_try="$ac_link" 9620 case "(($ac_try" in 9621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9622 *) ac_try_echo=$ac_try;; 9623 esac 9624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9625 (eval "$ac_link") 2>conftest.er1 9626 ac_status=$? 9627 grep -v '^ *+' conftest.er1 >conftest.err 9628 rm -f conftest.er1 9629 cat conftest.err >&5 9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9631 (exit $ac_status); } && { 9632 test -z "$ac_cxx_werror_flag" || 9633 test ! -s conftest.err 9634 } && test -s conftest$ac_exeext && 9635 $as_test_x conftest$ac_exeext; then 5679 if ac_fn_cxx_try_link "$LINENO"; then : 9636 5680 ac_cv_lib_bsd_gettimeofday=yes 9637 5681 else 9638 echo "$as_me: failed program was:" >&5 9639 sed 's/^/| /' conftest.$ac_ext >&5 9640 9641 ac_cv_lib_bsd_gettimeofday=no 9642 fi 9643 9644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9645 conftest$ac_exeext conftest.$ac_ext 5682 ac_cv_lib_bsd_gettimeofday=no 5683 fi 5684 rm -f core conftest.err conftest.$ac_objext \ 5685 conftest$ac_exeext conftest.$ac_ext 9646 5686 LIBS=$ac_check_lib_save_LIBS 9647 5687 fi 9648 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&59649 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }9650 if test $ac_cv_lib_bsd_gettimeofday = yes; then5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 5689 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5690 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 9651 5691 libbsd=yes 9652 5692 else … … 9656 5696 if test $libbsd = yes; then 9657 5697 MATH_LIBS="$MATH_LIBS -lbsd" 9658 cat >>confdefs.h <<\_ACEOF 9659 #define USE_DELTA_FOR_TZ 1 9660 _ACEOF 5698 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9661 5699 9662 5700 fi … … 9675 5713 # is always linked to, for compatibility. 9676 5714 #----------------------------------------------------------- 9677 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&59678 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }9679 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then9680 echo $ECHO_N "(cached) $ECHO_C" >&65715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 5716 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5717 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 5718 $as_echo_n "(cached) " >&6 9681 5719 else 9682 5720 ac_check_lib_save_LIBS=$LIBS 9683 5721 LIBS="-lbind $LIBS" 9684 cat >conftest.$ac_ext <<_ACEOF 9685 /* confdefs.h. */ 9686 _ACEOF 9687 cat confdefs.h >>conftest.$ac_ext 9688 cat >>conftest.$ac_ext <<_ACEOF 5722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9689 5723 /* end confdefs.h. */ 9690 5724 … … 9704 5738 } 9705 5739 _ACEOF 9706 rm -f conftest.$ac_objext conftest$ac_exeext 9707 if { (ac_try="$ac_link" 9708 case "(($ac_try" in 9709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9710 *) ac_try_echo=$ac_try;; 9711 esac 9712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9713 (eval "$ac_link") 2>conftest.er1 9714 ac_status=$? 9715 grep -v '^ *+' conftest.er1 >conftest.err 9716 rm -f conftest.er1 9717 cat conftest.err >&5 9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9719 (exit $ac_status); } && { 9720 test -z "$ac_cxx_werror_flag" || 9721 test ! -s conftest.err 9722 } && test -s conftest$ac_exeext && 9723 $as_test_x conftest$ac_exeext; then 5740 if ac_fn_cxx_try_link "$LINENO"; then : 9724 5741 ac_cv_lib_bind_inet_ntoa=yes 9725 5742 else 9726 echo "$as_me: failed program was:" >&5 9727 sed 's/^/| /' conftest.$ac_ext >&5 9728 9729 ac_cv_lib_bind_inet_ntoa=no 9730 fi 9731 9732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9733 conftest$ac_exeext conftest.$ac_ext 5743 ac_cv_lib_bind_inet_ntoa=no 5744 fi 5745 rm -f core conftest.err conftest.$ac_objext \ 5746 conftest$ac_exeext conftest.$ac_ext 9734 5747 LIBS=$ac_check_lib_save_LIBS 9735 5748 fi 9736 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&59737 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }9738 if test $ac_cv_lib_bind_inet_ntoa = yes; then5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 5750 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5751 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 9739 5752 LIBS="$LIBS -lbind -lsocket" 9740 5753 fi … … 9774 5787 HP-UX-*.11.*) 9775 5788 # Use updated header definitions where possible 9776 cat >>confdefs.h <<\_ACEOF 9777 #define _XOPEN_SOURCE 1 9778 _ACEOF 5789 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9779 5790 # Use the XOPEN network library 9780 cat >>confdefs.h <<\_ACEOF 9781 #define _XOPEN_SOURCE_EXTENDED 1 9782 _ACEOF 5791 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9783 5792 # Use the XOPEN network library 9784 5793 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 9789 5798 SHLIB_SUFFIX=".sl" 9790 5799 fi 9791 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59792 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9793 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9794 echo $ECHO_N "(cached) $ECHO_C" >&65800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5801 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5802 if ${ac_cv_lib_dld_shl_load+:} false; then : 5803 $as_echo_n "(cached) " >&6 9795 5804 else 9796 5805 ac_check_lib_save_LIBS=$LIBS 9797 5806 LIBS="-ldld $LIBS" 9798 cat >conftest.$ac_ext <<_ACEOF 9799 /* confdefs.h. */ 9800 _ACEOF 9801 cat confdefs.h >>conftest.$ac_ext 9802 cat >>conftest.$ac_ext <<_ACEOF 5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9803 5808 /* end confdefs.h. */ 9804 5809 … … 9818 5823 } 9819 5824 _ACEOF 9820 rm -f conftest.$ac_objext conftest$ac_exeext 9821 if { (ac_try="$ac_link" 9822 case "(($ac_try" in 9823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9824 *) ac_try_echo=$ac_try;; 9825 esac 9826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9827 (eval "$ac_link") 2>conftest.er1 9828 ac_status=$? 9829 grep -v '^ *+' conftest.er1 >conftest.err 9830 rm -f conftest.er1 9831 cat conftest.err >&5 9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9833 (exit $ac_status); } && { 9834 test -z "$ac_cxx_werror_flag" || 9835 test ! -s conftest.err 9836 } && test -s conftest$ac_exeext && 9837 $as_test_x conftest$ac_exeext; then 5825 if ac_fn_cxx_try_link "$LINENO"; then : 9838 5826 ac_cv_lib_dld_shl_load=yes 9839 5827 else 9840 echo "$as_me: failed program was:" >&5 9841 sed 's/^/| /' conftest.$ac_ext >&5 9842 9843 ac_cv_lib_dld_shl_load=no 9844 fi 9845 9846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9847 conftest$ac_exeext conftest.$ac_ext 5828 ac_cv_lib_dld_shl_load=no 5829 fi 5830 rm -f core conftest.err conftest.$ac_objext \ 5831 conftest$ac_exeext conftest.$ac_ext 9848 5832 LIBS=$ac_check_lib_save_LIBS 9849 5833 fi 9850 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59851 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9852 if test $ac_cv_lib_dld_shl_load = yes; then5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5835 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5836 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9853 5837 tcl_ok=yes 9854 5838 else … … 9890 5874 ;; 9891 5875 *) 9892 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59893 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5877 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9894 5878 ;; 9895 5879 esac … … 9903 5887 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 9904 5888 SHLIB_SUFFIX=".sl" 9905 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59906 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9907 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9908 echo $ECHO_N "(cached) $ECHO_C" >&65889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5890 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5891 if ${ac_cv_lib_dld_shl_load+:} false; then : 5892 $as_echo_n "(cached) " >&6 9909 5893 else 9910 5894 ac_check_lib_save_LIBS=$LIBS 9911 5895 LIBS="-ldld $LIBS" 9912 cat >conftest.$ac_ext <<_ACEOF 9913 /* confdefs.h. */ 9914 _ACEOF 9915 cat confdefs.h >>conftest.$ac_ext 9916 cat >>conftest.$ac_ext <<_ACEOF 5896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9917 5897 /* end confdefs.h. */ 9918 5898 … … 9932 5912 } 9933 5913 _ACEOF 9934 rm -f conftest.$ac_objext conftest$ac_exeext 9935 if { (ac_try="$ac_link" 9936 case "(($ac_try" in 9937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9938 *) ac_try_echo=$ac_try;; 9939 esac 9940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9941 (eval "$ac_link") 2>conftest.er1 9942 ac_status=$? 9943 grep -v '^ *+' conftest.er1 >conftest.err 9944 rm -f conftest.er1 9945 cat conftest.err >&5 9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9947 (exit $ac_status); } && { 9948 test -z "$ac_cxx_werror_flag" || 9949 test ! -s conftest.err 9950 } && test -s conftest$ac_exeext && 9951 $as_test_x conftest$ac_exeext; then 5914 if ac_fn_cxx_try_link "$LINENO"; then : 9952 5915 ac_cv_lib_dld_shl_load=yes 9953 5916 else 9954 echo "$as_me: failed program was:" >&5 9955 sed 's/^/| /' conftest.$ac_ext >&5 9956 9957 ac_cv_lib_dld_shl_load=no 9958 fi 9959 9960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9961 conftest$ac_exeext conftest.$ac_ext 5917 ac_cv_lib_dld_shl_load=no 5918 fi 5919 rm -f core conftest.err conftest.$ac_objext \ 5920 conftest$ac_exeext conftest.$ac_ext 9962 5921 LIBS=$ac_check_lib_save_LIBS 9963 5922 fi 9964 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59965 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9966 if test $ac_cv_lib_dld_shl_load = yes; then5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5924 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5925 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9967 5926 tcl_ok=yes 9968 5927 else … … 10043 6002 if test "$do64bit" = "yes" ; then 10044 6003 if test "$GCC" = "yes" ; then 10045 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&510046 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}6004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 6005 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10047 6006 else 10048 6007 do64bit_ok=yes … … 10072 6031 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10073 6032 else 10074 if test "${ac_cv_header_dld_h+set}" = set; then 10075 { echo "$as_me:$LINENO: checking for dld.h" >&5 10076 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10077 if test "${ac_cv_header_dld_h+set}" = set; then 10078 echo $ECHO_N "(cached) $ECHO_C" >&6 10079 fi 10080 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10081 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10082 else 10083 # Is the header compilable? 10084 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10085 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10086 cat >conftest.$ac_ext <<_ACEOF 10087 /* confdefs.h. */ 10088 _ACEOF 10089 cat confdefs.h >>conftest.$ac_ext 10090 cat >>conftest.$ac_ext <<_ACEOF 10091 /* end confdefs.h. */ 10092 $ac_includes_default 10093 #include <dld.h> 10094 _ACEOF 10095 rm -f conftest.$ac_objext 10096 if { (ac_try="$ac_compile" 10097 case "(($ac_try" in 10098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10099 *) ac_try_echo=$ac_try;; 10100 esac 10101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10102 (eval "$ac_compile") 2>conftest.er1 10103 ac_status=$? 10104 grep -v '^ *+' conftest.er1 >conftest.err 10105 rm -f conftest.er1 10106 cat conftest.err >&5 10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10108 (exit $ac_status); } && { 10109 test -z "$ac_cxx_werror_flag" || 10110 test ! -s conftest.err 10111 } && test -s conftest.$ac_objext; then 10112 ac_header_compiler=yes 10113 else 10114 echo "$as_me: failed program was:" >&5 10115 sed 's/^/| /' conftest.$ac_ext >&5 10116 10117 ac_header_compiler=no 10118 fi 10119 10120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10121 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10122 echo "${ECHO_T}$ac_header_compiler" >&6; } 10123 10124 # Is the header present? 10125 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10126 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10127 cat >conftest.$ac_ext <<_ACEOF 10128 /* confdefs.h. */ 10129 _ACEOF 10130 cat confdefs.h >>conftest.$ac_ext 10131 cat >>conftest.$ac_ext <<_ACEOF 10132 /* end confdefs.h. */ 10133 #include <dld.h> 10134 _ACEOF 10135 if { (ac_try="$ac_cpp conftest.$ac_ext" 10136 case "(($ac_try" in 10137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10138 *) ac_try_echo=$ac_try;; 10139 esac 10140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10142 ac_status=$? 10143 grep -v '^ *+' conftest.er1 >conftest.err 10144 rm -f conftest.er1 10145 cat conftest.err >&5 10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10147 (exit $ac_status); } >/dev/null && { 10148 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10149 test ! -s conftest.err 10150 }; then 10151 ac_header_preproc=yes 10152 else 10153 echo "$as_me: failed program was:" >&5 10154 sed 's/^/| /' conftest.$ac_ext >&5 10155 10156 ac_header_preproc=no 10157 fi 10158 10159 rm -f conftest.err conftest.$ac_ext 10160 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10161 echo "${ECHO_T}$ac_header_preproc" >&6; } 10162 10163 # So? What about this header? 10164 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10165 yes:no: ) 10166 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10167 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10168 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10169 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10170 ac_header_preproc=yes 10171 ;; 10172 no:yes:* ) 10173 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10174 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10175 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10176 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10177 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10178 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10179 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10180 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10181 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10182 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10183 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10184 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10185 ( cat <<\_ASBOX 10186 ## ----------------------------------- ## 10187 ## Report this to rappture@nanohub.org ## 10188 ## ----------------------------------- ## 10189 _ASBOX 10190 ) | sed "s/^/$as_me: WARNING: /" >&2 10191 ;; 10192 esac 10193 { echo "$as_me:$LINENO: checking for dld.h" >&5 10194 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10195 if test "${ac_cv_header_dld_h+set}" = set; then 10196 echo $ECHO_N "(cached) $ECHO_C" >&6 10197 else 10198 ac_cv_header_dld_h=$ac_header_preproc 10199 fi 10200 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10201 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10202 10203 fi 10204 if test $ac_cv_header_dld_h = yes; then 6033 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6034 if test "x$ac_cv_header_dld_h" = xyes; then : 10205 6035 10206 6036 SHLIB_LD="ld -shared" … … 10217 6047 fi 10218 6048 if test $do64bit = yes; then 10219 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&510220 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }10221 if test "${tcl_cv_cc_m64+set}" = set; then10222 echo $ECHO_N "(cached) $ECHO_C" >&66049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 6050 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 6051 if ${tcl_cv_cc_m64+:} false; then : 6052 $as_echo_n "(cached) " >&6 10223 6053 else 10224 6054 10225 6055 hold_cflags=$CFLAGS 10226 6056 CFLAGS="$CFLAGS -m64" 10227 cat >conftest.$ac_ext <<_ACEOF 10228 /* confdefs.h. */ 10229 _ACEOF 10230 cat confdefs.h >>conftest.$ac_ext 10231 cat >>conftest.$ac_ext <<_ACEOF 6057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10232 6058 /* end confdefs.h. */ 10233 6059 … … 10240 6066 } 10241 6067 _ACEOF 10242 rm -f conftest.$ac_objext conftest$ac_exeext 10243 if { (ac_try="$ac_link" 10244 case "(($ac_try" in 10245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10246 *) ac_try_echo=$ac_try;; 10247 esac 10248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10249 (eval "$ac_link") 2>conftest.er1 10250 ac_status=$? 10251 grep -v '^ *+' conftest.er1 >conftest.err 10252 rm -f conftest.er1 10253 cat conftest.err >&5 10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10255 (exit $ac_status); } && { 10256 test -z "$ac_cxx_werror_flag" || 10257 test ! -s conftest.err 10258 } && test -s conftest$ac_exeext && 10259 $as_test_x conftest$ac_exeext; then 6068 if ac_fn_cxx_try_link "$LINENO"; then : 10260 6069 tcl_cv_cc_m64=yes 10261 6070 else 10262 echo "$as_me: failed program was:" >&5 10263 sed 's/^/| /' conftest.$ac_ext >&5 10264 10265 tcl_cv_cc_m64=no 10266 fi 10267 10268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10269 conftest$ac_exeext conftest.$ac_ext 6071 tcl_cv_cc_m64=no 6072 fi 6073 rm -f core conftest.err conftest.$ac_objext \ 6074 conftest$ac_exeext conftest.$ac_ext 10270 6075 CFLAGS=$hold_cflags 10271 6076 fi 10272 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&510273 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 6078 $as_echo "$tcl_cv_cc_m64" >&6; } 10274 6079 if test $tcl_cv_cc_m64 = yes; then 10275 6080 CFLAGS="$CFLAGS -m64" … … 10290 6095 10291 6096 # XIM peeking works under XFree86. 10292 cat >>confdefs.h <<\_ACEOF 10293 #define PEEK_XCLOSEIM 1 10294 _ACEOF 6097 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10295 6098 10296 6099 … … 10309 6112 LD_SEARCH_FLAGS="" 10310 6113 else 10311 if test "${ac_cv_header_dld_h+set}" = set; then 10312 { echo "$as_me:$LINENO: checking for dld.h" >&5 10313 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10314 if test "${ac_cv_header_dld_h+set}" = set; then 10315 echo $ECHO_N "(cached) $ECHO_C" >&6 10316 fi 10317 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10318 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10319 else 10320 # Is the header compilable? 10321 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10322 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10323 cat >conftest.$ac_ext <<_ACEOF 10324 /* confdefs.h. */ 10325 _ACEOF 10326 cat confdefs.h >>conftest.$ac_ext 10327 cat >>conftest.$ac_ext <<_ACEOF 10328 /* end confdefs.h. */ 10329 $ac_includes_default 10330 #include <dld.h> 10331 _ACEOF 10332 rm -f conftest.$ac_objext 10333 if { (ac_try="$ac_compile" 10334 case "(($ac_try" in 10335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10336 *) ac_try_echo=$ac_try;; 10337 esac 10338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10339 (eval "$ac_compile") 2>conftest.er1 10340 ac_status=$? 10341 grep -v '^ *+' conftest.er1 >conftest.err 10342 rm -f conftest.er1 10343 cat conftest.err >&5 10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10345 (exit $ac_status); } && { 10346 test -z "$ac_cxx_werror_flag" || 10347 test ! -s conftest.err 10348 } && test -s conftest.$ac_objext; then 10349 ac_header_compiler=yes 10350 else 10351 echo "$as_me: failed program was:" >&5 10352 sed 's/^/| /' conftest.$ac_ext >&5 10353 10354 ac_header_compiler=no 10355 fi 10356 10357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10358 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10359 echo "${ECHO_T}$ac_header_compiler" >&6; } 10360 10361 # Is the header present? 10362 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10363 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10364 cat >conftest.$ac_ext <<_ACEOF 10365 /* confdefs.h. */ 10366 _ACEOF 10367 cat confdefs.h >>conftest.$ac_ext 10368 cat >>conftest.$ac_ext <<_ACEOF 10369 /* end confdefs.h. */ 10370 #include <dld.h> 10371 _ACEOF 10372 if { (ac_try="$ac_cpp conftest.$ac_ext" 10373 case "(($ac_try" in 10374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10375 *) ac_try_echo=$ac_try;; 10376 esac 10377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10378 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10379 ac_status=$? 10380 grep -v '^ *+' conftest.er1 >conftest.err 10381 rm -f conftest.er1 10382 cat conftest.err >&5 10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10384 (exit $ac_status); } >/dev/null && { 10385 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10386 test ! -s conftest.err 10387 }; then 10388 ac_header_preproc=yes 10389 else 10390 echo "$as_me: failed program was:" >&5 10391 sed 's/^/| /' conftest.$ac_ext >&5 10392 10393 ac_header_preproc=no 10394 fi 10395 10396 rm -f conftest.err conftest.$ac_ext 10397 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10398 echo "${ECHO_T}$ac_header_preproc" >&6; } 10399 10400 # So? What about this header? 10401 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10402 yes:no: ) 10403 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10404 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10405 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10406 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10407 ac_header_preproc=yes 10408 ;; 10409 no:yes:* ) 10410 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10411 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10412 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10413 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10414 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10415 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10416 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10417 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10418 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10419 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10420 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10421 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10422 ( cat <<\_ASBOX 10423 ## ----------------------------------- ## 10424 ## Report this to rappture@nanohub.org ## 10425 ## ----------------------------------- ## 10426 _ASBOX 10427 ) | sed "s/^/$as_me: WARNING: /" >&2 10428 ;; 10429 esac 10430 { echo "$as_me:$LINENO: checking for dld.h" >&5 10431 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10432 if test "${ac_cv_header_dld_h+set}" = set; then 10433 echo $ECHO_N "(cached) $ECHO_C" >&6 10434 else 10435 ac_cv_header_dld_h=$ac_header_preproc 10436 fi 10437 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10438 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10439 10440 fi 10441 if test $ac_cv_header_dld_h = yes; then 6114 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6115 if test "x$ac_cv_header_dld_h" = xyes; then : 10442 6116 10443 6117 SHLIB_LD="ld -shared" … … 10489 6163 NetBSD-*|FreeBSD-[1-2].*) 10490 6164 # Not available on all versions: check for include file. 10491 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10492 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10493 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10494 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10495 echo $ECHO_N "(cached) $ECHO_C" >&6 10496 fi 10497 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10498 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10499 else 10500 # Is the header compilable? 10501 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10502 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10503 cat >conftest.$ac_ext <<_ACEOF 10504 /* confdefs.h. */ 10505 _ACEOF 10506 cat confdefs.h >>conftest.$ac_ext 10507 cat >>conftest.$ac_ext <<_ACEOF 10508 /* end confdefs.h. */ 10509 $ac_includes_default 10510 #include <dlfcn.h> 10511 _ACEOF 10512 rm -f conftest.$ac_objext 10513 if { (ac_try="$ac_compile" 10514 case "(($ac_try" in 10515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10516 *) ac_try_echo=$ac_try;; 10517 esac 10518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10519 (eval "$ac_compile") 2>conftest.er1 10520 ac_status=$? 10521 grep -v '^ *+' conftest.er1 >conftest.err 10522 rm -f conftest.er1 10523 cat conftest.err >&5 10524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10525 (exit $ac_status); } && { 10526 test -z "$ac_cxx_werror_flag" || 10527 test ! -s conftest.err 10528 } && test -s conftest.$ac_objext; then 10529 ac_header_compiler=yes 10530 else 10531 echo "$as_me: failed program was:" >&5 10532 sed 's/^/| /' conftest.$ac_ext >&5 10533 10534 ac_header_compiler=no 10535 fi 10536 10537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10538 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10539 echo "${ECHO_T}$ac_header_compiler" >&6; } 10540 10541 # Is the header present? 10542 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10543 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10544 cat >conftest.$ac_ext <<_ACEOF 10545 /* confdefs.h. */ 10546 _ACEOF 10547 cat confdefs.h >>conftest.$ac_ext 10548 cat >>conftest.$ac_ext <<_ACEOF 10549 /* end confdefs.h. */ 10550 #include <dlfcn.h> 10551 _ACEOF 10552 if { (ac_try="$ac_cpp conftest.$ac_ext" 10553 case "(($ac_try" in 10554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10555 *) ac_try_echo=$ac_try;; 10556 esac 10557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10559 ac_status=$? 10560 grep -v '^ *+' conftest.er1 >conftest.err 10561 rm -f conftest.er1 10562 cat conftest.err >&5 10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10564 (exit $ac_status); } >/dev/null && { 10565 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10566 test ! -s conftest.err 10567 }; then 10568 ac_header_preproc=yes 10569 else 10570 echo "$as_me: failed program was:" >&5 10571 sed 's/^/| /' conftest.$ac_ext >&5 10572 10573 ac_header_preproc=no 10574 fi 10575 10576 rm -f conftest.err conftest.$ac_ext 10577 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10578 echo "${ECHO_T}$ac_header_preproc" >&6; } 10579 10580 # So? What about this header? 10581 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10582 yes:no: ) 10583 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10584 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10585 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10586 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10587 ac_header_preproc=yes 10588 ;; 10589 no:yes:* ) 10590 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10591 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10592 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10593 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10594 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10595 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10596 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10597 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10598 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10599 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10600 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10601 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10602 ( cat <<\_ASBOX 10603 ## ----------------------------------- ## 10604 ## Report this to rappture@nanohub.org ## 10605 ## ----------------------------------- ## 10606 _ASBOX 10607 ) | sed "s/^/$as_me: WARNING: /" >&2 10608 ;; 10609 esac 10610 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10611 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10612 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10613 echo $ECHO_N "(cached) $ECHO_C" >&6 10614 else 10615 ac_cv_header_dlfcn_h=$ac_header_preproc 10616 fi 10617 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10618 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10619 10620 fi 10621 if test $ac_cv_header_dlfcn_h = yes; then 6165 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6166 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10622 6167 10623 6168 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 10630 6175 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10631 6176 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10632 { echo "$as_me:$LINENO: checking for ELF" >&5 10633 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10634 if test "${tcl_cv_ld_elf+set}" = set; then 10635 echo $ECHO_N "(cached) $ECHO_C" >&6 10636 else 10637 10638 cat >conftest.$ac_ext <<_ACEOF 10639 /* confdefs.h. */ 10640 _ACEOF 10641 cat confdefs.h >>conftest.$ac_ext 10642 cat >>conftest.$ac_ext <<_ACEOF 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6178 $as_echo_n "checking for ELF... " >&6; } 6179 if ${tcl_cv_ld_elf+:} false; then : 6180 $as_echo_n "(cached) " >&6 6181 else 6182 6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10643 6184 /* end confdefs.h. */ 10644 6185 … … 10649 6190 _ACEOF 10650 6191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10651 $EGREP "yes" >/dev/null 2>&1; then 6192 $EGREP "yes" >/dev/null 2>&1; then : 10652 6193 tcl_cv_ld_elf=yes 10653 6194 else … … 10657 6198 10658 6199 fi 10659 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510660 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6201 $as_echo "$tcl_cv_ld_elf" >&6; } 10661 6202 if test $tcl_cv_ld_elf = yes; then 10662 6203 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 10716 6257 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10717 6258 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 10718 { echo "$as_me:$LINENO: checking for ELF" >&5 10719 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10720 if test "${tcl_cv_ld_elf+set}" = set; then 10721 echo $ECHO_N "(cached) $ECHO_C" >&6 10722 else 10723 10724 cat >conftest.$ac_ext <<_ACEOF 10725 /* confdefs.h. */ 10726 _ACEOF 10727 cat confdefs.h >>conftest.$ac_ext 10728 cat >>conftest.$ac_ext <<_ACEOF 6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6260 $as_echo_n "checking for ELF... " >&6; } 6261 if ${tcl_cv_ld_elf+:} false; then : 6262 $as_echo_n "(cached) " >&6 6263 else 6264 6265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10729 6266 /* end confdefs.h. */ 10730 6267 … … 10735 6272 _ACEOF 10736 6273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10737 $EGREP "yes" >/dev/null 2>&1; then 6274 $EGREP "yes" >/dev/null 2>&1; then : 10738 6275 tcl_cv_ld_elf=yes 10739 6276 else … … 10743 6280 10744 6281 fi 10745 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510746 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6283 $as_echo "$tcl_cv_ld_elf" >&6; } 10747 6284 if test $tcl_cv_ld_elf = yes; then 10748 6285 LDFLAGS=-Wl,-export-dynamic … … 10798 6335 case `arch` in 10799 6336 ppc) 10800 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&510801 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }10802 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then10803 echo $ECHO_N "(cached) $ECHO_C" >&66337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 6338 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6339 if ${tcl_cv_cc_arch_ppc64+:} false; then : 6340 $as_echo_n "(cached) " >&6 10804 6341 else 10805 6342 10806 6343 hold_cflags=$CFLAGS 10807 6344 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 10808 cat >conftest.$ac_ext <<_ACEOF 10809 /* confdefs.h. */ 10810 _ACEOF 10811 cat confdefs.h >>conftest.$ac_ext 10812 cat >>conftest.$ac_ext <<_ACEOF 6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10813 6346 /* end confdefs.h. */ 10814 6347 … … 10821 6354 } 10822 6355 _ACEOF 10823 rm -f conftest.$ac_objext conftest$ac_exeext 10824 if { (ac_try="$ac_link" 10825 case "(($ac_try" in 10826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10827 *) ac_try_echo=$ac_try;; 10828 esac 10829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10830 (eval "$ac_link") 2>conftest.er1 10831 ac_status=$? 10832 grep -v '^ *+' conftest.er1 >conftest.err 10833 rm -f conftest.er1 10834 cat conftest.err >&5 10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10836 (exit $ac_status); } && { 10837 test -z "$ac_cxx_werror_flag" || 10838 test ! -s conftest.err 10839 } && test -s conftest$ac_exeext && 10840 $as_test_x conftest$ac_exeext; then 6356 if ac_fn_cxx_try_link "$LINENO"; then : 10841 6357 tcl_cv_cc_arch_ppc64=yes 10842 6358 else 10843 echo "$as_me: failed program was:" >&5 10844 sed 's/^/| /' conftest.$ac_ext >&5 10845 10846 tcl_cv_cc_arch_ppc64=no 10847 fi 10848 10849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10850 conftest$ac_exeext conftest.$ac_ext 6359 tcl_cv_cc_arch_ppc64=no 6360 fi 6361 rm -f core conftest.err conftest.$ac_objext \ 6362 conftest$ac_exeext conftest.$ac_ext 10851 6363 CFLAGS=$hold_cflags 10852 6364 fi 10853 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&510854 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 6366 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 10855 6367 if test $tcl_cv_cc_arch_ppc64 = yes; then 10856 6368 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 10858 6370 fi;; 10859 6371 i386) 10860 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&510861 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }10862 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then10863 echo $ECHO_N "(cached) $ECHO_C" >&66372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 6373 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6374 if ${tcl_cv_cc_arch_x86_64+:} false; then : 6375 $as_echo_n "(cached) " >&6 10864 6376 else 10865 6377 10866 6378 hold_cflags=$CFLAGS 10867 6379 CFLAGS="$CFLAGS -arch x86_64" 10868 cat >conftest.$ac_ext <<_ACEOF 10869 /* confdefs.h. */ 10870 _ACEOF 10871 cat confdefs.h >>conftest.$ac_ext 10872 cat >>conftest.$ac_ext <<_ACEOF 6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10873 6381 /* end confdefs.h. */ 10874 6382 … … 10881 6389 } 10882 6390 _ACEOF 10883 rm -f conftest.$ac_objext conftest$ac_exeext 10884 if { (ac_try="$ac_link" 10885 case "(($ac_try" in 10886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10887 *) ac_try_echo=$ac_try;; 10888 esac 10889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10890 (eval "$ac_link") 2>conftest.er1 10891 ac_status=$? 10892 grep -v '^ *+' conftest.er1 >conftest.err 10893 rm -f conftest.er1 10894 cat conftest.err >&5 10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10896 (exit $ac_status); } && { 10897 test -z "$ac_cxx_werror_flag" || 10898 test ! -s conftest.err 10899 } && test -s conftest$ac_exeext && 10900 $as_test_x conftest$ac_exeext; then 6391 if ac_fn_cxx_try_link "$LINENO"; then : 10901 6392 tcl_cv_cc_arch_x86_64=yes 10902 6393 else 10903 echo "$as_me: failed program was:" >&5 10904 sed 's/^/| /' conftest.$ac_ext >&5 10905 10906 tcl_cv_cc_arch_x86_64=no 10907 fi 10908 10909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10910 conftest$ac_exeext conftest.$ac_ext 6394 tcl_cv_cc_arch_x86_64=no 6395 fi 6396 rm -f core conftest.err conftest.$ac_objext \ 6397 conftest$ac_exeext conftest.$ac_ext 10911 6398 CFLAGS=$hold_cflags 10912 6399 fi 10913 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&510914 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 6401 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 10915 6402 if test $tcl_cv_cc_arch_x86_64 = yes; then 10916 6403 CFLAGS="$CFLAGS -arch x86_64" … … 10918 6405 fi;; 10919 6406 *) 10920 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&510921 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;6407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6408 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 10922 6409 esac 10923 6410 else … … 10928 6415 fi 10929 6416 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 10930 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&510931 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }10932 if test "${tcl_cv_ld_single_module+set}" = set; then10933 echo $ECHO_N "(cached) $ECHO_C" >&66417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 6418 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6419 if ${tcl_cv_ld_single_module+:} false; then : 6420 $as_echo_n "(cached) " >&6 10934 6421 else 10935 6422 10936 6423 hold_ldflags=$LDFLAGS 10937 6424 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10938 cat >conftest.$ac_ext <<_ACEOF 10939 /* confdefs.h. */ 10940 _ACEOF 10941 cat confdefs.h >>conftest.$ac_ext 10942 cat >>conftest.$ac_ext <<_ACEOF 6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10943 6426 /* end confdefs.h. */ 10944 6427 … … 10951 6434 } 10952 6435 _ACEOF 10953 rm -f conftest.$ac_objext conftest$ac_exeext 10954 if { (ac_try="$ac_link" 10955 case "(($ac_try" in 10956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10957 *) ac_try_echo=$ac_try;; 10958 esac 10959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10960 (eval "$ac_link") 2>conftest.er1 10961 ac_status=$? 10962 grep -v '^ *+' conftest.er1 >conftest.err 10963 rm -f conftest.er1 10964 cat conftest.err >&5 10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10966 (exit $ac_status); } && { 10967 test -z "$ac_cxx_werror_flag" || 10968 test ! -s conftest.err 10969 } && test -s conftest$ac_exeext && 10970 $as_test_x conftest$ac_exeext; then 6436 if ac_fn_cxx_try_link "$LINENO"; then : 10971 6437 tcl_cv_ld_single_module=yes 10972 6438 else 10973 echo "$as_me: failed program was:" >&5 10974 sed 's/^/| /' conftest.$ac_ext >&5 10975 10976 tcl_cv_ld_single_module=no 10977 fi 10978 10979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10980 conftest$ac_exeext conftest.$ac_ext 6439 tcl_cv_ld_single_module=no 6440 fi 6441 rm -f core conftest.err conftest.$ac_objext \ 6442 conftest$ac_exeext conftest.$ac_ext 10981 6443 LDFLAGS=$hold_ldflags 10982 6444 fi 10983 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&510984 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 6446 $as_echo "$tcl_cv_ld_single_module" >&6; } 10985 6447 if test $tcl_cv_ld_single_module = yes; then 10986 6448 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 10995 6457 LDFLAGS="$LDFLAGS -prebind" 10996 6458 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10997 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&510998 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }10999 if test "${tcl_cv_ld_search_paths_first+set}" = set; then11000 echo $ECHO_N "(cached) $ECHO_C" >&66459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 6460 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6461 if ${tcl_cv_ld_search_paths_first+:} false; then : 6462 $as_echo_n "(cached) " >&6 11001 6463 else 11002 6464 11003 6465 hold_ldflags=$LDFLAGS 11004 6466 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 11005 cat >conftest.$ac_ext <<_ACEOF 11006 /* confdefs.h. */ 11007 _ACEOF 11008 cat confdefs.h >>conftest.$ac_ext 11009 cat >>conftest.$ac_ext <<_ACEOF 6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11010 6468 /* end confdefs.h. */ 11011 6469 … … 11018 6476 } 11019 6477 _ACEOF 11020 rm -f conftest.$ac_objext conftest$ac_exeext 11021 if { (ac_try="$ac_link" 11022 case "(($ac_try" in 11023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11024 *) ac_try_echo=$ac_try;; 11025 esac 11026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11027 (eval "$ac_link") 2>conftest.er1 11028 ac_status=$? 11029 grep -v '^ *+' conftest.er1 >conftest.err 11030 rm -f conftest.er1 11031 cat conftest.err >&5 11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11033 (exit $ac_status); } && { 11034 test -z "$ac_cxx_werror_flag" || 11035 test ! -s conftest.err 11036 } && test -s conftest$ac_exeext && 11037 $as_test_x conftest$ac_exeext; then 6478 if ac_fn_cxx_try_link "$LINENO"; then : 11038 6479 tcl_cv_ld_search_paths_first=yes 11039 6480 else 11040 echo "$as_me: failed program was:" >&5 11041 sed 's/^/| /' conftest.$ac_ext >&5 11042 11043 tcl_cv_ld_search_paths_first=no 11044 fi 11045 11046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11047 conftest$ac_exeext conftest.$ac_ext 6481 tcl_cv_ld_search_paths_first=no 6482 fi 6483 rm -f core conftest.err conftest.$ac_objext \ 6484 conftest$ac_exeext conftest.$ac_ext 11048 6485 LDFLAGS=$hold_ldflags 11049 6486 fi 11050 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&511051 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 6488 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11052 6489 if test $tcl_cv_ld_search_paths_first = yes; then 11053 6490 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 11058 6495 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11059 6496 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11060 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&511061 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 6498 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11062 6499 # Check whether --enable-corefoundation was given. 11063 if test "${enable_corefoundation+set}" = set; then 6500 if test "${enable_corefoundation+set}" = set; then : 11064 6501 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11065 6502 else … … 11067 6504 fi 11068 6505 11069 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&511070 echo "${ECHO_T}$tcl_corefoundation" >&6; }6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 6507 $as_echo "$tcl_corefoundation" >&6; } 11071 6508 if test $tcl_corefoundation = yes; then 11072 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&511073 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }11074 if test "${tcl_cv_lib_corefoundation+set}" = set; then11075 echo $ECHO_N "(cached) $ECHO_C" >&66509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 6510 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6511 if ${tcl_cv_lib_corefoundation+:} false; then : 6512 $as_echo_n "(cached) " >&6 11076 6513 else 11077 6514 … … 11084 6521 done; fi 11085 6522 LIBS="$LIBS -framework CoreFoundation" 11086 cat >conftest.$ac_ext <<_ACEOF 11087 /* confdefs.h. */ 11088 _ACEOF 11089 cat confdefs.h >>conftest.$ac_ext 11090 cat >>conftest.$ac_ext <<_ACEOF 6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11091 6524 /* end confdefs.h. */ 11092 6525 #include <CoreFoundation/CoreFoundation.h> … … 11099 6532 } 11100 6533 _ACEOF 11101 rm -f conftest.$ac_objext conftest$ac_exeext 11102 if { (ac_try="$ac_link" 11103 case "(($ac_try" in 11104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11105 *) ac_try_echo=$ac_try;; 11106 esac 11107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11108 (eval "$ac_link") 2>conftest.er1 11109 ac_status=$? 11110 grep -v '^ *+' conftest.er1 >conftest.err 11111 rm -f conftest.er1 11112 cat conftest.err >&5 11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11114 (exit $ac_status); } && { 11115 test -z "$ac_cxx_werror_flag" || 11116 test ! -s conftest.err 11117 } && test -s conftest$ac_exeext && 11118 $as_test_x conftest$ac_exeext; then 6534 if ac_fn_cxx_try_link "$LINENO"; then : 11119 6535 tcl_cv_lib_corefoundation=yes 11120 6536 else 11121 echo "$as_me: failed program was:" >&5 11122 sed 's/^/| /' conftest.$ac_ext >&5 11123 11124 tcl_cv_lib_corefoundation=no 11125 fi 11126 11127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11128 conftest$ac_exeext conftest.$ac_ext 6537 tcl_cv_lib_corefoundation=no 6538 fi 6539 rm -f core conftest.err conftest.$ac_objext \ 6540 conftest$ac_exeext conftest.$ac_ext 11129 6541 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11130 6542 eval $v'="$hold_'$v'"' 11131 6543 done; fi; LIBS=$hold_libs 11132 6544 fi 11133 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&511134 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 6546 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11135 6547 if test $tcl_cv_lib_corefoundation = yes; then 11136 6548 LIBS="$LIBS -framework CoreFoundation" 11137 cat >>confdefs.h <<\_ACEOF 11138 #define HAVE_COREFOUNDATION 1 11139 _ACEOF 6549 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11140 6550 11141 6551 else … … 11143 6553 fi 11144 6554 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11145 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&511146 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }11147 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then11148 echo $ECHO_N "(cached) $ECHO_C" >&66555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 6556 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6557 if ${tcl_cv_lib_corefoundation_64+:} false; then : 6558 $as_echo_n "(cached) " >&6 11149 6559 else 11150 6560 … … 11152 6562 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11153 6563 done 11154 cat >conftest.$ac_ext <<_ACEOF 11155 /* confdefs.h. */ 11156 _ACEOF 11157 cat confdefs.h >>conftest.$ac_ext 11158 cat >>conftest.$ac_ext <<_ACEOF 6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11159 6565 /* end confdefs.h. */ 11160 6566 #include <CoreFoundation/CoreFoundation.h> … … 11167 6573 } 11168 6574 _ACEOF 11169 rm -f conftest.$ac_objext conftest$ac_exeext 11170 if { (ac_try="$ac_link" 11171 case "(($ac_try" in 11172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11173 *) ac_try_echo=$ac_try;; 11174 esac 11175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11176 (eval "$ac_link") 2>conftest.er1 11177 ac_status=$? 11178 grep -v '^ *+' conftest.er1 >conftest.err 11179 rm -f conftest.er1 11180 cat conftest.err >&5 11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11182 (exit $ac_status); } && { 11183 test -z "$ac_cxx_werror_flag" || 11184 test ! -s conftest.err 11185 } && test -s conftest$ac_exeext && 11186 $as_test_x conftest$ac_exeext; then 6575 if ac_fn_cxx_try_link "$LINENO"; then : 11187 6576 tcl_cv_lib_corefoundation_64=yes 11188 6577 else 11189 echo "$as_me: failed program was:" >&5 11190 sed 's/^/| /' conftest.$ac_ext >&5 11191 11192 tcl_cv_lib_corefoundation_64=no 11193 fi 11194 11195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11196 conftest$ac_exeext conftest.$ac_ext 6578 tcl_cv_lib_corefoundation_64=no 6579 fi 6580 rm -f core conftest.err conftest.$ac_objext \ 6581 conftest$ac_exeext conftest.$ac_ext 11197 6582 for v in CFLAGS CPPFLAGS LDFLAGS; do 11198 6583 eval $v'="$hold_'$v'"' 11199 6584 done 11200 6585 fi 11201 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&511202 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 6587 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11203 6588 if test $tcl_cv_lib_corefoundation_64 = no; then 11204 cat >>confdefs.h <<\_ACEOF 11205 #define NO_COREFOUNDATION_64 1 11206 _ACEOF 6589 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11207 6590 11208 6591 fi 11209 6592 fi 11210 6593 fi 11211 cat >>confdefs.h <<\_ACEOF 11212 #define MAC_OSX_TCL 1 11213 _ACEOF 6594 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11214 6595 11215 6596 ;; … … 11226 6607 OS/390-*) 11227 6608 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11228 cat >>confdefs.h <<\_ACEOF 11229 #define _OE_SOCKETS 1 11230 _ACEOF 6609 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11231 6610 # needed in sys/socket.h 11232 6611 ;; … … 11369 6748 # won't define thread-safe library routines. 11370 6749 11371 cat >>confdefs.h <<\_ACEOF 11372 #define _REENTRANT 1 11373 _ACEOF 11374 11375 cat >>confdefs.h <<\_ACEOF 11376 #define _POSIX_PTHREAD_SEMANTICS 1 11377 _ACEOF 6750 $as_echo "#define _REENTRANT 1" >>confdefs.h 6751 6752 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11378 6753 11379 6754 … … 11401 6776 # won't define thread-safe library routines. 11402 6777 11403 cat >>confdefs.h <<\_ACEOF 11404 #define _REENTRANT 1 11405 _ACEOF 11406 11407 cat >>confdefs.h <<\_ACEOF 11408 #define _POSIX_PTHREAD_SEMANTICS 1 11409 _ACEOF 6778 $as_echo "#define _REENTRANT 1" >>confdefs.h 6779 6780 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11410 6781 11411 6782 … … 11418 6789 if test "$GCC" = "yes" ; then 11419 6790 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11420 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&511421 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}6791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6792 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11422 6793 else 11423 6794 do64bit_ok=yes … … 11440 6811 elif test "$arch" = "amd64 i386" ; then 11441 6812 if test "$GCC" = "yes" ; then 11442 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&511443 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}6813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6814 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11444 6815 else 11445 6816 do64bit_ok=yes … … 11448 6819 fi 11449 6820 else 11450 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&511451 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6822 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11452 6823 fi 11453 6824 fi … … 11507 6878 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11508 6879 # that don't grok the -Bexport option. Test that it does. 11509 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&511510 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }11511 if test "${tcl_cv_ld_Bexport+set}" = set; then11512 echo $ECHO_N "(cached) $ECHO_C" >&66880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6881 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6882 if ${tcl_cv_ld_Bexport+:} false; then : 6883 $as_echo_n "(cached) " >&6 11513 6884 else 11514 6885 11515 6886 hold_ldflags=$LDFLAGS 11516 6887 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11517 cat >conftest.$ac_ext <<_ACEOF 11518 /* confdefs.h. */ 11519 _ACEOF 11520 cat confdefs.h >>conftest.$ac_ext 11521 cat >>conftest.$ac_ext <<_ACEOF 6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11522 6889 /* end confdefs.h. */ 11523 6890 … … 11530 6897 } 11531 6898 _ACEOF 11532 rm -f conftest.$ac_objext conftest$ac_exeext 11533 if { (ac_try="$ac_link" 11534 case "(($ac_try" in 11535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11536 *) ac_try_echo=$ac_try;; 11537 esac 11538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11539 (eval "$ac_link") 2>conftest.er1 11540 ac_status=$? 11541 grep -v '^ *+' conftest.er1 >conftest.err 11542 rm -f conftest.er1 11543 cat conftest.err >&5 11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11545 (exit $ac_status); } && { 11546 test -z "$ac_cxx_werror_flag" || 11547 test ! -s conftest.err 11548 } && test -s conftest$ac_exeext && 11549 $as_test_x conftest$ac_exeext; then 6899 if ac_fn_cxx_try_link "$LINENO"; then : 11550 6900 tcl_cv_ld_Bexport=yes 11551 6901 else 11552 echo "$as_me: failed program was:" >&5 11553 sed 's/^/| /' conftest.$ac_ext >&5 11554 11555 tcl_cv_ld_Bexport=no 11556 fi 11557 11558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11559 conftest$ac_exeext conftest.$ac_ext 6902 tcl_cv_ld_Bexport=no 6903 fi 6904 rm -f core conftest.err conftest.$ac_objext \ 6905 conftest$ac_exeext conftest.$ac_ext 11560 6906 LDFLAGS=$hold_ldflags 11561 6907 fi 11562 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&511563 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6909 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11564 6910 if test $tcl_cv_ld_Bexport = yes; then 11565 6911 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 11571 6917 11572 6918 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11573 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&511574 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}6919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6920 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11575 6921 fi 11576 6922 … … 11598 6944 11599 6945 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 11600 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11601 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11602 if test "${tcl_cv_sysexec_h+set}" = set; then 11603 echo $ECHO_N "(cached) $ECHO_C" >&6 11604 else 11605 11606 cat >conftest.$ac_ext <<_ACEOF 11607 /* confdefs.h. */ 11608 _ACEOF 11609 cat confdefs.h >>conftest.$ac_ext 11610 cat >>conftest.$ac_ext <<_ACEOF 6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6947 $as_echo_n "checking sys/exec.h... " >&6; } 6948 if ${tcl_cv_sysexec_h+:} false; then : 6949 $as_echo_n "(cached) " >&6 6950 else 6951 6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11611 6953 /* end confdefs.h. */ 11612 6954 #include <sys/exec.h> … … 11630 6972 } 11631 6973 _ACEOF 11632 rm -f conftest.$ac_objext 11633 if { (ac_try="$ac_compile" 11634 case "(($ac_try" in 11635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11636 *) ac_try_echo=$ac_try;; 11637 esac 11638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11639 (eval "$ac_compile") 2>conftest.er1 11640 ac_status=$? 11641 grep -v '^ *+' conftest.er1 >conftest.err 11642 rm -f conftest.er1 11643 cat conftest.err >&5 11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11645 (exit $ac_status); } && { 11646 test -z "$ac_cxx_werror_flag" || 11647 test ! -s conftest.err 11648 } && test -s conftest.$ac_objext; then 6974 if ac_fn_cxx_try_compile "$LINENO"; then : 11649 6975 tcl_cv_sysexec_h=usable 11650 6976 else 11651 echo "$as_me: failed program was:" >&5 11652 sed 's/^/| /' conftest.$ac_ext >&5 11653 11654 tcl_cv_sysexec_h=unusable 11655 fi 11656 6977 tcl_cv_sysexec_h=unusable 6978 fi 11657 6979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11658 6980 fi 11659 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&511660 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6982 $as_echo "$tcl_cv_sysexec_h" >&6; } 11661 6983 if test $tcl_cv_sysexec_h = usable; then 11662 cat >>confdefs.h <<\_ACEOF 11663 #define USE_SYS_EXEC_H 1 11664 _ACEOF 6984 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11665 6985 11666 6986 else 11667 { echo "$as_me:$LINENO: checking a.out.h" >&5 11668 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11669 if test "${tcl_cv_aout_h+set}" = set; then 11670 echo $ECHO_N "(cached) $ECHO_C" >&6 11671 else 11672 11673 cat >conftest.$ac_ext <<_ACEOF 11674 /* confdefs.h. */ 11675 _ACEOF 11676 cat confdefs.h >>conftest.$ac_ext 11677 cat >>conftest.$ac_ext <<_ACEOF 6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6988 $as_echo_n "checking a.out.h... " >&6; } 6989 if ${tcl_cv_aout_h+:} false; then : 6990 $as_echo_n "(cached) " >&6 6991 else 6992 6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11678 6994 /* end confdefs.h. */ 11679 6995 #include <a.out.h> … … 11697 7013 } 11698 7014 _ACEOF 11699 rm -f conftest.$ac_objext 11700 if { (ac_try="$ac_compile" 11701 case "(($ac_try" in 11702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11703 *) ac_try_echo=$ac_try;; 11704 esac 11705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11706 (eval "$ac_compile") 2>conftest.er1 11707 ac_status=$? 11708 grep -v '^ *+' conftest.er1 >conftest.err 11709 rm -f conftest.er1 11710 cat conftest.err >&5 11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11712 (exit $ac_status); } && { 11713 test -z "$ac_cxx_werror_flag" || 11714 test ! -s conftest.err 11715 } && test -s conftest.$ac_objext; then 7015 if ac_fn_cxx_try_compile "$LINENO"; then : 11716 7016 tcl_cv_aout_h=usable 11717 7017 else 11718 echo "$as_me: failed program was:" >&5 11719 sed 's/^/| /' conftest.$ac_ext >&5 11720 11721 tcl_cv_aout_h=unusable 11722 fi 11723 7018 tcl_cv_aout_h=unusable 7019 fi 11724 7020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11725 7021 fi 11726 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&511727 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 7023 $as_echo "$tcl_cv_aout_h" >&6; } 11728 7024 if test $tcl_cv_aout_h = usable; then 11729 cat >>confdefs.h <<\_ACEOF 11730 #define USE_A_OUT_H 1 11731 _ACEOF 7025 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11732 7026 11733 7027 else 11734 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11735 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11736 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11737 echo $ECHO_N "(cached) $ECHO_C" >&6 11738 else 11739 11740 cat >conftest.$ac_ext <<_ACEOF 11741 /* confdefs.h. */ 11742 _ACEOF 11743 cat confdefs.h >>conftest.$ac_ext 11744 cat >>conftest.$ac_ext <<_ACEOF 7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 7029 $as_echo_n "checking sys/exec_aout.h... " >&6; } 7030 if ${tcl_cv_sysexecaout_h+:} false; then : 7031 $as_echo_n "(cached) " >&6 7032 else 7033 7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11745 7035 /* end confdefs.h. */ 11746 7036 #include <sys/exec_aout.h> … … 11764 7054 } 11765 7055 _ACEOF 11766 rm -f conftest.$ac_objext 11767 if { (ac_try="$ac_compile" 11768 case "(($ac_try" in 11769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11770 *) ac_try_echo=$ac_try;; 11771 esac 11772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11773 (eval "$ac_compile") 2>conftest.er1 11774 ac_status=$? 11775 grep -v '^ *+' conftest.er1 >conftest.err 11776 rm -f conftest.er1 11777 cat conftest.err >&5 11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11779 (exit $ac_status); } && { 11780 test -z "$ac_cxx_werror_flag" || 11781 test ! -s conftest.err 11782 } && test -s conftest.$ac_objext; then 7056 if ac_fn_cxx_try_compile "$LINENO"; then : 11783 7057 tcl_cv_sysexecaout_h=usable 11784 7058 else 11785 echo "$as_me: failed program was:" >&5 11786 sed 's/^/| /' conftest.$ac_ext >&5 11787 11788 tcl_cv_sysexecaout_h=unusable 11789 fi 11790 7059 tcl_cv_sysexecaout_h=unusable 7060 fi 11791 7061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11792 7062 fi 11793 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&511794 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 7064 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 11795 7065 if test $tcl_cv_sysexecaout_h = usable; then 11796 cat >>confdefs.h <<\_ACEOF 11797 #define USE_SYS_EXEC_AOUT_H 1 11798 _ACEOF 7066 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11799 7067 11800 7068 else … … 11808 7076 11809 7077 # Check whether --enable-load was given. 11810 if test "${enable_load+set}" = set; then 7078 if test "${enable_load+set}" = set; then : 11811 7079 enableval=$enable_load; tcl_ok=$enableval 11812 7080 else … … 11939 7207 done 11940 7208 if test "x${make_command}" = "x" ; then 11941 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11942 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11943 { (exit 1); exit 1; }; } 7209 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11944 7210 fi 11945 7211 MAKE=${make_command} … … 11947 7213 11948 7214 # Check whether --enable-gui was given. 11949 if test "${enable_gui+set}" = set; then 7215 if test "${enable_gui+set}" = set; then : 11950 7216 enableval=$enable_gui; 11951 7217 else … … 11972 7238 11973 7239 11974 rp_with_tclsh="yes"11975 7240 11976 7241 # Check whether --with-tclsh was given. 11977 if test "${with_tclsh+set}" = set; then 7242 if test "${with_tclsh+set}" = set; then : 11978 7243 withval=$with_tclsh; rp_with_tclsh=$withval 11979 7244 else … … 11988 7253 # Extract the first word of "${tclsh}", so it can be a program name with args. 11989 7254 set dummy ${tclsh}; ac_word=$2 11990 { echo "$as_me:$LINENO: checking for $ac_word" >&511991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }11992 if test "${ac_cv_path_TCLSH+set}" = set; then11993 echo $ECHO_N "(cached) $ECHO_C" >&67255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7256 $as_echo_n "checking for $ac_word... " >&6; } 7257 if ${ac_cv_path_TCLSH+:} false; then : 7258 $as_echo_n "(cached) " >&6 11994 7259 else 11995 7260 case $TCLSH in … … 12004 7269 IFS=$as_save_IFS 12005 7270 test -z "$as_dir" && as_dir=. 12006 for ac_exec_ext in '' $ac_executable_extensions; do7271 for ac_exec_ext in '' $ac_executable_extensions; do 12007 7272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12008 7273 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12010 7275 break 2 12011 7276 fi 12012 7277 done 12013 done7278 done 12014 7279 IFS=$as_save_IFS 12015 7280 … … 12019 7284 TCLSH=$ac_cv_path_TCLSH 12020 7285 if test -n "$TCLSH"; then 12021 { echo "$as_me:$LINENO: result: $TCLSH" >&512022 echo "${ECHO_T}$TCLSH" >&6; }12023 else 12024 { echo "$as_me:$LINENO: result: no" >&512025 echo "${ECHO_T}no" >&6; }7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7287 $as_echo "$TCLSH" >&6; } 7288 else 7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7290 $as_echo "no" >&6; } 12026 7291 fi 12027 7292 … … 12030 7295 # Extract the first word of "${tclsh}", so it can be a program name with args. 12031 7296 set dummy ${tclsh}; ac_word=$2 12032 { echo "$as_me:$LINENO: checking for $ac_word" >&512033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12034 if test "${ac_cv_path_TCLSH+set}" = set; then12035 echo $ECHO_N "(cached) $ECHO_C" >&67297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7298 $as_echo_n "checking for $ac_word... " >&6; } 7299 if ${ac_cv_path_TCLSH+:} false; then : 7300 $as_echo_n "(cached) " >&6 12036 7301 else 12037 7302 case $TCLSH in … … 12046 7311 IFS=$as_save_IFS 12047 7312 test -z "$as_dir" && as_dir=. 12048 for ac_exec_ext in '' $ac_executable_extensions; do7313 for ac_exec_ext in '' $ac_executable_extensions; do 12049 7314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12050 7315 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12052 7317 break 2 12053 7318 fi 12054 7319 done 12055 done7320 done 12056 7321 IFS=$as_save_IFS 12057 7322 … … 12061 7326 TCLSH=$ac_cv_path_TCLSH 12062 7327 if test -n "$TCLSH"; then 12063 { echo "$as_me:$LINENO: result: $TCLSH" >&512064 echo "${ECHO_T}$TCLSH" >&6; }12065 else 12066 { echo "$as_me:$LINENO: result: no" >&512067 echo "${ECHO_T}no" >&6; }7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7329 $as_echo "$TCLSH" >&6; } 7330 else 7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7332 $as_echo "no" >&6; } 12068 7333 fi 12069 7334 … … 12071 7336 fi 12072 7337 if test "x${TCLSH}" = "x" ; then 12073 { { echo "$as_me:$LINENO: error: can't find tclsh" >&5 12074 echo "$as_me: error: can't find tclsh" >&2;} 12075 { (exit 1); exit 1; }; } 7338 as_fn_error $? "can't find tclsh" "$LINENO" 5 12076 7339 fi 12077 7340 fi … … 12087 7350 12088 7351 # Check whether --with-vtk was given. 12089 if test "${with_vtk+set}" = set; then 7352 if test "${with_vtk+set}" = set; then : 12090 7353 withval=$with_vtk; rp_with_vtk=$withval 12091 7354 else … … 12094 7357 12095 7358 12096 { echo "$as_me:$LINENO: checking for vtk" >&512097 echo $ECHO_N "checking for vtk... $ECHO_C" >&6; }7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 7360 $as_echo_n "checking for vtk... " >&6; } 12098 7361 VTKDIR="" 12099 7362 … … 12118 7381 fi 12119 7382 12120 { echo "$as_me:$LINENO: result: $VTKDIR" >&512121 echo "${ECHO_T}$VTKDIR" >&6; }7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 7384 $as_echo "$VTKDIR" >&6; } 12122 7385 12123 7386 12124 7387 12125 7388 # Check whether --with-matlab was given. 12126 if test "${with_matlab+set}" = set; then 7389 if test "${with_matlab+set}" = set; then : 12127 7390 withval=$with_matlab; rp_with_matlab=$withval 12128 7391 else … … 12140 7403 # Extract the first word of "matlab", so it can be a program name with args. 12141 7404 set dummy matlab; ac_word=$2 12142 { echo "$as_me:$LINENO: checking for $ac_word" >&512143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12144 if test "${ac_cv_path_MATLAB+set}" = set; then12145 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 12146 7409 else 12147 7410 case $MATLAB in … … 12155 7418 IFS=$as_save_IFS 12156 7419 test -z "$as_dir" && as_dir=. 12157 for ac_exec_ext in '' $ac_executable_extensions; do7420 for ac_exec_ext in '' $ac_executable_extensions; do 12158 7421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12159 7422 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12161 7424 break 2 12162 7425 fi 12163 7426 done 12164 done7427 done 12165 7428 IFS=$as_save_IFS 12166 7429 … … 12170 7433 MATLAB=$ac_cv_path_MATLAB 12171 7434 if test -n "$MATLAB"; then 12172 { echo "$as_me:$LINENO: result: $MATLAB" >&512173 echo "${ECHO_T}$MATLAB" >&6; }12174 else 12175 { echo "$as_me:$LINENO: result: no" >&512176 echo "${ECHO_T}no" >&6; }7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7436 $as_echo "$MATLAB" >&6; } 7437 else 7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7439 $as_echo "no" >&6; } 12177 7440 fi 12178 7441 … … 12181 7444 # Extract the first word of "matlab", so it can be a program name with args. 12182 7445 set dummy matlab; ac_word=$2 12183 { echo "$as_me:$LINENO: checking for $ac_word" >&512184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12185 if test "${ac_cv_path_MATLAB+set}" = set; then12186 echo $ECHO_N "(cached) $ECHO_C" >&67446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7447 $as_echo_n "checking for $ac_word... " >&6; } 7448 if ${ac_cv_path_MATLAB+:} false; then : 7449 $as_echo_n "(cached) " >&6 12187 7450 else 12188 7451 case $MATLAB in … … 12197 7460 IFS=$as_save_IFS 12198 7461 test -z "$as_dir" && as_dir=. 12199 for ac_exec_ext in '' $ac_executable_extensions; do7462 for ac_exec_ext in '' $ac_executable_extensions; do 12200 7463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12201 7464 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12203 7466 break 2 12204 7467 fi 12205 7468 done 12206 done7469 done 12207 7470 IFS=$as_save_IFS 12208 7471 … … 12212 7475 MATLAB=$ac_cv_path_MATLAB 12213 7476 if test -n "$MATLAB"; then 12214 { echo "$as_me:$LINENO: result: $MATLAB" >&512215 echo "${ECHO_T}$MATLAB" >&6; }12216 else 12217 { echo "$as_me:$LINENO: result: no" >&512218 echo "${ECHO_T}no" >&6; }7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7478 $as_echo "$MATLAB" >&6; } 7479 else 7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7481 $as_echo "no" >&6; } 12219 7482 fi 12220 7483 … … 12232 7495 # Extract the first word of "mex", so it can be a program name with args. 12233 7496 set dummy mex; ac_word=$2 12234 { echo "$as_me:$LINENO: checking for $ac_word" >&512235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12236 if test "${ac_cv_path_MEX+set}" = set; then12237 echo $ECHO_N "(cached) $ECHO_C" >&67497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7498 $as_echo_n "checking for $ac_word... " >&6; } 7499 if ${ac_cv_path_MEX+:} false; then : 7500 $as_echo_n "(cached) " >&6 12238 7501 else 12239 7502 case $MEX in … … 12247 7510 IFS=$as_save_IFS 12248 7511 test -z "$as_dir" && as_dir=. 12249 for ac_exec_ext in '' $ac_executable_extensions; do7512 for ac_exec_ext in '' $ac_executable_extensions; do 12250 7513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12251 7514 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12253 7516 break 2 12254 7517 fi 12255 7518 done 12256 done7519 done 12257 7520 IFS=$as_save_IFS 12258 7521 … … 12262 7525 MEX=$ac_cv_path_MEX 12263 7526 if test -n "$MEX"; then 12264 { echo "$as_me:$LINENO: result: $MEX" >&512265 echo "${ECHO_T}$MEX" >&6; }12266 else 12267 { echo "$as_me:$LINENO: result: no" >&512268 echo "${ECHO_T}no" >&6; }7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 7528 $as_echo "$MEX" >&6; } 7529 else 7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7531 $as_echo "no" >&6; } 12269 7532 fi 12270 7533 … … 12272 7535 # Extract the first word of "mexext", so it can be a program name with args. 12273 7536 set dummy mexext; ac_word=$2 12274 { echo "$as_me:$LINENO: checking for $ac_word" >&512275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12276 if test "${ac_cv_path_MEXEXT+set}" = set; then12277 echo $ECHO_N "(cached) $ECHO_C" >&67537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7538 $as_echo_n "checking for $ac_word... " >&6; } 7539 if ${ac_cv_path_MEXEXT+:} false; then : 7540 $as_echo_n "(cached) " >&6 12278 7541 else 12279 7542 case $MEXEXT in … … 12287 7550 IFS=$as_save_IFS 12288 7551 test -z "$as_dir" && as_dir=. 12289 for ac_exec_ext in '' $ac_executable_extensions; do7552 for ac_exec_ext in '' $ac_executable_extensions; do 12290 7553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12291 7554 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12293 7556 break 2 12294 7557 fi 12295 7558 done 12296 done7559 done 12297 7560 IFS=$as_save_IFS 12298 7561 … … 12302 7565 MEXEXT=$ac_cv_path_MEXEXT 12303 7566 if test -n "$MEXEXT"; then 12304 { echo "$as_me:$LINENO: result: $MEXEXT" >&512305 echo "${ECHO_T}$MEXEXT" >&6; }12306 else 12307 { echo "$as_me:$LINENO: result: no" >&512308 echo "${ECHO_T}no" >&6; }7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7568 $as_echo "$MEXEXT" >&6; } 7569 else 7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7571 $as_echo "no" >&6; } 12309 7572 fi 12310 7573 … … 12312 7575 12313 7576 # Run "mexext" to get the expected module extension for this platform. 12314 { echo "$as_me:$LINENO: checking for mex extension" >&512315 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 7578 $as_echo_n "checking for mex extension... " >&6; } 12316 7579 if test "x$MEXEXT" != "x" ; then 12317 7580 MEXEXT=`$MEXEXT` … … 12319 7582 MEXEXT="mexglx" 12320 7583 fi 12321 { echo "$as_me:$LINENO: result: $MEXEXT" >&512322 echo "${ECHO_T}$MEXEXT" >&6; }7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7585 $as_echo "$MEXEXT" >&6; } 12323 7586 # Extract the first word of "mcc", so it can be a program name with args. 12324 7587 set dummy mcc; ac_word=$2 12325 { echo "$as_me:$LINENO: checking for $ac_word" >&512326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12327 if test "${ac_cv_path_MCC+set}" = set; then12328 echo $ECHO_N "(cached) $ECHO_C" >&67588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7589 $as_echo_n "checking for $ac_word... " >&6; } 7590 if ${ac_cv_path_MCC+:} false; then : 7591 $as_echo_n "(cached) " >&6 12329 7592 else 12330 7593 case $MCC in … … 12338 7601 IFS=$as_save_IFS 12339 7602 test -z "$as_dir" && as_dir=. 12340 for ac_exec_ext in '' $ac_executable_extensions; do7603 for ac_exec_ext in '' $ac_executable_extensions; do 12341 7604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12342 7605 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12344 7607 break 2 12345 7608 fi 12346 7609 done 12347 done7610 done 12348 7611 IFS=$as_save_IFS 12349 7612 … … 12353 7616 MCC=$ac_cv_path_MCC 12354 7617 if test -n "$MCC"; then 12355 { echo "$as_me:$LINENO: result: $MCC" >&5 12356 echo "${ECHO_T}$MCC" >&6; } 12357 else 12358 { echo "$as_me:$LINENO: result: no" >&5 12359 echo "${ECHO_T}no" >&6; } 12360 fi 12361 12362 12363 { echo "$as_me:$LINENO: checking for mcc extension" >&5 12364 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; } 12365 fi 12366 12367 12368 12369 12370 12371 7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 7619 $as_echo "$MCC" >&6; } 7620 else 7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7622 $as_echo "no" >&6; } 7623 fi 7624 7625 7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 7627 $as_echo_n "checking for mcc extension... " >&6; } 7628 fi 7629 7630 7631 7632 7633 7634 7635 7636 # 7637 # Octave variables: 7638 # 7639 # OCTAVE Path to default octave executable. Will use 7640 # to determine the version os 7641 # MKOCTFILE Path to the default octave 7642 # 12372 7643 12373 7644 # Standard octave search (use the installed version of octave) 12374 7645 12375 7646 # Check whether --with-octave was given. 12376 if test "${with_octave+set}" = set; then 7647 if test "${with_octave+set}" = set; then : 12377 7648 withval=$with_octave; rp_with_octave=$withval 12378 7649 else … … 12382 7653 12383 7654 OCTAVE= 12384 OCTAVE2=12385 OCTAVE3=12386 7655 OCTAVE_VERSION= 12387 7656 OCTAVE_VERSION_MAJOR= 12388 MKOCTFILE=12389 7657 MKOCTFILE2= 12390 7658 MKOCTFILE3= 7659 12391 7660 if test "$rp_with_octave" != "no" ; then 12392 7661 if test "$rp_with_octave" = "yes" ; then 12393 7662 # Extract the first word of "octave", so it can be a program name with args. 12394 7663 set dummy octave; ac_word=$2 12395 { echo "$as_me:$LINENO: checking for $ac_word" >&512396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12397 if test "${ac_cv_path_OCTAVE+set}" = set; then12398 echo $ECHO_N "(cached) $ECHO_C" >&67664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7665 $as_echo_n "checking for $ac_word... " >&6; } 7666 if ${ac_cv_path_OCTAVE+:} false; then : 7667 $as_echo_n "(cached) " >&6 12399 7668 else 12400 7669 case $OCTAVE in … … 12408 7677 IFS=$as_save_IFS 12409 7678 test -z "$as_dir" && as_dir=. 12410 for ac_exec_ext in '' $ac_executable_extensions; do7679 for ac_exec_ext in '' $ac_executable_extensions; do 12411 7680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12412 7681 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12414 7683 break 2 12415 7684 fi 12416 7685 done 12417 done7686 done 12418 7687 IFS=$as_save_IFS 12419 7688 … … 12423 7692 OCTAVE=$ac_cv_path_OCTAVE 12424 7693 if test -n "$OCTAVE"; then 12425 { echo "$as_me:$LINENO: result: $OCTAVE" >&512426 echo "${ECHO_T}$OCTAVE" >&6; }12427 else 12428 { echo "$as_me:$LINENO: result: no" >&512429 echo "${ECHO_T}no" >&6; }7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7695 $as_echo "$OCTAVE" >&6; } 7696 else 7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7698 $as_echo "no" >&6; } 12430 7699 fi 12431 7700 … … 12433 7702 # Extract the first word of "mkoctfile", so it can be a program name with args. 12434 7703 set dummy mkoctfile; ac_word=$2 12435 { echo "$as_me:$LINENO: checking for $ac_word" >&512436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12437 if test "${ac_cv_path_MKOCTFILE+set}" = set; then12438 echo $ECHO_N "(cached) $ECHO_C" >&67704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7705 $as_echo_n "checking for $ac_word... " >&6; } 7706 if ${ac_cv_path_MKOCTFILE+:} false; then : 7707 $as_echo_n "(cached) " >&6 12439 7708 else 12440 7709 case $MKOCTFILE in … … 12448 7717 IFS=$as_save_IFS 12449 7718 test -z "$as_dir" && as_dir=. 12450 for ac_exec_ext in '' $ac_executable_extensions; do7719 for ac_exec_ext in '' $ac_executable_extensions; do 12451 7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12452 7721 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12454 7723 break 2 12455 7724 fi 12456 7725 done 12457 done7726 done 12458 7727 IFS=$as_save_IFS 12459 7728 … … 12463 7732 MKOCTFILE=$ac_cv_path_MKOCTFILE 12464 7733 if test -n "$MKOCTFILE"; then 12465 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512466 echo "${ECHO_T}$MKOCTFILE" >&6; }12467 else 12468 { echo "$as_me:$LINENO: result: no" >&512469 echo "${ECHO_T}no" >&6; }7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7735 $as_echo "$MKOCTFILE" >&6; } 7736 else 7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7738 $as_echo "no" >&6; } 12470 7739 fi 12471 7740 … … 12476 7745 fi 12477 7746 fi 12478 12479 echo MKOCTFILE=$MKOCTFILE12480 echo OCTAVE=$OCTAVE12481 7747 12482 7748 if test "x${OCTAVE}" != "x" ; then … … 12493 7759 fi 12494 7760 12495 # Check if octave2 was designated *in addition* to the installed version. 12496 12497 # Check whether --with-octave2 was given. 12498 if test "${with_octave2+set}" = set; then 12499 withval=$with_octave2; rp_with_octave2=$withval 12500 else 12501 rp_with_octave2=no 12502 fi 12503 12504 12505 if test "$rp_with_octave2" != "no" ; then 12506 if test "$rp_with_octave2" = "yes" ; then 12507 # Extract the first word of "octave", so it can be a program name with args. 12508 set dummy octave; ac_word=$2 12509 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12511 if test "${ac_cv_path_octave2+set}" = set; then 12512 echo $ECHO_N "(cached) $ECHO_C" >&6 12513 else 12514 case $octave2 in 12515 [\\/]* | ?:[\\/]*) 12516 ac_cv_path_octave2="$octave2" # Let the user override the test with a path. 12517 ;; 12518 *) 12519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12520 for as_dir in $PATH 12521 do 12522 IFS=$as_save_IFS 12523 test -z "$as_dir" && as_dir=. 12524 for ac_exec_ext in '' $ac_executable_extensions; do 12525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12526 ac_cv_path_octave2="$as_dir/$ac_word$ac_exec_ext" 12527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12528 break 2 12529 fi 12530 done 12531 done 12532 IFS=$as_save_IFS 12533 12534 ;; 12535 esac 12536 fi 12537 octave2=$ac_cv_path_octave2 12538 if test -n "$octave2"; then 12539 { echo "$as_me:$LINENO: result: $octave2" >&5 12540 echo "${ECHO_T}$octave2" >&6; } 12541 else 12542 { echo "$as_me:$LINENO: result: no" >&5 12543 echo "${ECHO_T}no" >&6; } 12544 fi 12545 12546 7761 # Check if mkoctfile2 was designated *in addition* to the installed version. 7762 7763 # Check whether --with-mkoctfile2 was given. 7764 if test "${with_mkoctfile2+set}" = set; then : 7765 withval=$with_mkoctfile2; rp_with_mkoctfile2=$withval 7766 else 7767 rp_with_mkoctfile2=no 7768 fi 7769 7770 7771 if test "$rp_with_mkoctfile2" != "no" ; then 7772 if test "$rp_with_mkoctfile2" = "yes" ; then 12547 7773 # Extract the first word of "mkoctfile", so it can be a program name with args. 12548 7774 set dummy mkoctfile; ac_word=$2 12549 { echo "$as_me:$LINENO: checking for $ac_word" >&512550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12551 if test "${ac_cv_path_mkoctfile2+set}" = set; then12552 echo $ECHO_N "(cached) $ECHO_C" >&67775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7776 $as_echo_n "checking for $ac_word... " >&6; } 7777 if ${ac_cv_path_mkoctfile2+:} false; then : 7778 $as_echo_n "(cached) " >&6 12553 7779 else 12554 7780 case $mkoctfile2 in … … 12562 7788 IFS=$as_save_IFS 12563 7789 test -z "$as_dir" && as_dir=. 12564 for ac_exec_ext in '' $ac_executable_extensions; do7790 for ac_exec_ext in '' $ac_executable_extensions; do 12565 7791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12566 7792 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext" 12567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12568 7794 break 2 12569 7795 fi 12570 7796 done 12571 done7797 done 12572 7798 IFS=$as_save_IFS 12573 7799 … … 12577 7803 mkoctfile2=$ac_cv_path_mkoctfile2 12578 7804 if test -n "$mkoctfile2"; then 12579 { echo "$as_me:$LINENO: result: $mkoctfile2" >&512580 echo "${ECHO_T}$mkoctfile2" >&6; }12581 else 12582 { echo "$as_me:$LINENO: result: no" >&512583 echo "${ECHO_T}no" >&6; }7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5 7806 $as_echo "$mkoctfile2" >&6; } 7807 else 7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7809 $as_echo "no" >&6; } 12584 7810 fi 12585 7811 12586 7812 12587 7813 else 12588 OCTAVE2=$rp_with_octave2 12589 MKOCTFILE2=`dirname $rp_with_octave2`/mkoctfile 7814 MKOCTFILE2=$rp_with_mkoctfile2 12590 7815 fi 7816 OCTAVE_VERSION=`${MKOCTFILE2} --version 2>&1 | cut -d' ' -f3` 7817 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 12591 7818 fi 12592 7819 12593 7820 # Check if octave3 was designated *in addition* to the installed version. 12594 7821 12595 # Check whether --with-octave3 was given. 12596 if test "${with_octave3+set}" = set; then 12597 withval=$with_octave3; rp_with_octave3=$withval 12598 else 12599 rp_with_octave3=no 12600 fi 12601 12602 12603 if test "$rp_with_octave3" != "no" ; then 12604 if test "$rp_with_octave3" = "yes" ; then 12605 # Extract the first word of "octave", so it can be a program name with args. 12606 set dummy octave; ac_word=$2 12607 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12609 if test "${ac_cv_path_octave3+set}" = set; then 12610 echo $ECHO_N "(cached) $ECHO_C" >&6 12611 else 12612 case $octave3 in 12613 [\\/]* | ?:[\\/]*) 12614 ac_cv_path_octave3="$octave3" # Let the user override the test with a path. 12615 ;; 12616 *) 12617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12618 for as_dir in $PATH 12619 do 12620 IFS=$as_save_IFS 12621 test -z "$as_dir" && as_dir=. 12622 for ac_exec_ext in '' $ac_executable_extensions; do 12623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12624 ac_cv_path_octave3="$as_dir/$ac_word$ac_exec_ext" 12625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12626 break 2 12627 fi 12628 done 12629 done 12630 IFS=$as_save_IFS 12631 12632 ;; 12633 esac 12634 fi 12635 octave3=$ac_cv_path_octave3 12636 if test -n "$octave3"; then 12637 { echo "$as_me:$LINENO: result: $octave3" >&5 12638 echo "${ECHO_T}$octave3" >&6; } 12639 else 12640 { echo "$as_me:$LINENO: result: no" >&5 12641 echo "${ECHO_T}no" >&6; } 12642 fi 12643 12644 7822 # Check whether --with-mkoctfile3 was given. 7823 if test "${with_mkoctfile3+set}" = set; then : 7824 withval=$with_mkoctfile3; rp_with_mkoctfile3=$withval 7825 else 7826 rp_with_mkoctfile3=no 7827 fi 7828 7829 7830 if test "$rp_with_mkoctfile3" != "no" ; then 7831 if test "$rp_with_mkoctfile3" = "yes" ; then 12645 7832 # Extract the first word of "mkoctfile", so it can be a program name with args. 12646 7833 set dummy mkoctfile; ac_word=$2 12647 { echo "$as_me:$LINENO: checking for $ac_word" >&512648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12649 if test "${ac_cv_path_mkoctfile3+set}" = set; then12650 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_mkoctfile3+:} false; then : 7837 $as_echo_n "(cached) " >&6 12651 7838 else 12652 7839 case $mkoctfile3 in … … 12660 7847 IFS=$as_save_IFS 12661 7848 test -z "$as_dir" && as_dir=. 12662 for ac_exec_ext in '' $ac_executable_extensions; do7849 for ac_exec_ext in '' $ac_executable_extensions; do 12663 7850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12664 7851 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 12665 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 12666 7853 break 2 12667 7854 fi 12668 7855 done 12669 done7856 done 12670 7857 IFS=$as_save_IFS 12671 7858 … … 12675 7862 mkoctfile3=$ac_cv_path_mkoctfile3 12676 7863 if test -n "$mkoctfile3"; then 12677 { echo "$as_me:$LINENO: result: $mkoctfile3" >&512678 echo "${ECHO_T}$mkoctfile3" >&6; }12679 else 12680 { echo "$as_me:$LINENO: result: no" >&512681 echo "${ECHO_T}no" >&6; }7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5 7865 $as_echo "$mkoctfile3" >&6; } 7866 else 7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7868 $as_echo "no" >&6; } 12682 7869 fi 12683 7870 12684 7871 12685 7872 else 12686 OCTAVE3=$rp_with_octave3 12687 MKOCTFILE3=`dirname $rp_with_octave3`/mkoctfile 7873 MKOCTFILE3=$rp_with_mkoctfile3 12688 7874 fi 12689 fi 12690 12691 echo MKOCTFILE2=$MKOCTFILE2 12692 echo OCTAVE2=$OCTAVE2 12693 echo MKOCTFILE3=$MKOCTFILE3 12694 echo OCTAVE3=$OCTAVE3 12695 12696 12697 7875 OCTAVE_VERSION=`${MKOCTFILE3} --version 2>&1 | cut -d' ' -f3` 7876 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 7877 fi 7878 7879 echo "MKOCTFILE2 = $MKOCTFILE2" 7880 echo "MKOCTFILE3 = $MKOCTFILE3" 7881 echo "OCTAVE_VERSION_MAJOR = $OCTAVE_VERSION_MAJOR" 7882 echo "OCTAVE_VERSION = $OCTAVE_VERSION_MAJOR" 12698 7883 12699 7884 … … 12705 7890 12706 7891 # Check whether --with-perl was given. 12707 if test "${with_perl+set}" = set; then 7892 if test "${with_perl+set}" = set; then : 12708 7893 withval=$with_perl; 12709 7894 else … … 12727 7912 # Extract the first word of "perl", so it can be a program name with args. 12728 7913 set dummy perl; ac_word=$2 12729 { echo "$as_me:$LINENO: checking for $ac_word" >&512730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12731 if test "${ac_cv_path_PERL+set}" = set; then12732 echo $ECHO_N "(cached) $ECHO_C" >&67914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7915 $as_echo_n "checking for $ac_word... " >&6; } 7916 if ${ac_cv_path_PERL+:} false; then : 7917 $as_echo_n "(cached) " >&6 12733 7918 else 12734 7919 case $PERL in … … 12743 7928 IFS=$as_save_IFS 12744 7929 test -z "$as_dir" && as_dir=. 12745 for ac_exec_ext in '' $ac_executable_extensions; do7930 for ac_exec_ext in '' $ac_executable_extensions; do 12746 7931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12747 7932 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12749 7934 break 2 12750 7935 fi 12751 7936 done 12752 done7937 done 12753 7938 IFS=$as_save_IFS 12754 7939 … … 12758 7943 PERL=$ac_cv_path_PERL 12759 7944 if test -n "$PERL"; then 12760 { echo "$as_me:$LINENO: result: $PERL" >&512761 echo "${ECHO_T}$PERL" >&6; }12762 else 12763 { echo "$as_me:$LINENO: result: no" >&512764 echo "${ECHO_T}no" >&6; }7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7946 $as_echo "$PERL" >&6; } 7947 else 7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7949 $as_echo "no" >&6; } 12765 7950 fi 12766 7951 … … 12769 7954 # Extract the first word of "perl", so it can be a program name with args. 12770 7955 set dummy perl; ac_word=$2 12771 { echo "$as_me:$LINENO: checking for $ac_word" >&512772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12773 if test "${ac_cv_path_PERL+set}" = set; then12774 echo $ECHO_N "(cached) $ECHO_C" >&67956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7957 $as_echo_n "checking for $ac_word... " >&6; } 7958 if ${ac_cv_path_PERL+:} false; then : 7959 $as_echo_n "(cached) " >&6 12775 7960 else 12776 7961 case $PERL in … … 12784 7969 IFS=$as_save_IFS 12785 7970 test -z "$as_dir" && as_dir=. 12786 for ac_exec_ext in '' $ac_executable_extensions; do7971 for ac_exec_ext in '' $ac_executable_extensions; do 12787 7972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12788 7973 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12790 7975 break 2 12791 7976 fi 12792 7977 done 12793 done7978 done 12794 7979 IFS=$as_save_IFS 12795 7980 … … 12799 7984 PERL=$ac_cv_path_PERL 12800 7985 if test -n "$PERL"; then 12801 { echo "$as_me:$LINENO: result: $PERL" >&512802 echo "${ECHO_T}$PERL" >&6; }12803 else 12804 { echo "$as_me:$LINENO: result: no" >&512805 echo "${ECHO_T}no" >&6; }7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7987 $as_echo "$PERL" >&6; } 7988 else 7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7990 $as_echo "no" >&6; } 12806 7991 fi 12807 7992 … … 12852 8037 12853 8038 # Check whether --with-python was given. 12854 if test "${with_python+set}" = set; then 8039 if test "${with_python+set}" = set; then : 12855 8040 withval=$with_python; 12856 8041 else … … 12863 8048 # 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. 12864 8049 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 12865 { echo "$as_me:$LINENO: checking for $ac_word" >&512866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12867 if test "${ac_cv_path_PYTHON+set}" = set; then12868 echo $ECHO_N "(cached) $ECHO_C" >&68050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8051 $as_echo_n "checking for $ac_word... " >&6; } 8052 if ${ac_cv_path_PYTHON+:} false; then : 8053 $as_echo_n "(cached) " >&6 12869 8054 else 12870 8055 case $PYTHON in … … 12878 8063 IFS=$as_save_IFS 12879 8064 test -z "$as_dir" && as_dir=. 12880 for ac_exec_ext in '' $ac_executable_extensions; do8065 for ac_exec_ext in '' $ac_executable_extensions; do 12881 8066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12882 8067 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12884 8069 break 2 12885 8070 fi 12886 8071 done 12887 done8072 done 12888 8073 IFS=$as_save_IFS 12889 8074 … … 12893 8078 PYTHON=$ac_cv_path_PYTHON 12894 8079 if test -n "$PYTHON"; then 12895 { echo "$as_me:$LINENO: result: $PYTHON" >&512896 echo "${ECHO_T}$PYTHON" >&6; }12897 else 12898 { echo "$as_me:$LINENO: result: no" >&512899 echo "${ECHO_T}no" >&6; }8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8081 $as_echo "$PYTHON" >&6; } 8082 else 8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8084 $as_echo "no" >&6; } 12900 8085 fi 12901 8086 … … 12904 8089 # Extract the first word of "python", so it can be a program name with args. 12905 8090 set dummy python; ac_word=$2 12906 { echo "$as_me:$LINENO: checking for $ac_word" >&512907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12908 if test "${ac_cv_path_PYTHON+set}" = set; then12909 echo $ECHO_N "(cached) $ECHO_C" >&68091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8092 $as_echo_n "checking for $ac_word... " >&6; } 8093 if ${ac_cv_path_PYTHON+:} false; then : 8094 $as_echo_n "(cached) " >&6 12910 8095 else 12911 8096 case $PYTHON in … … 12920 8105 IFS=$as_save_IFS 12921 8106 test -z "$as_dir" && as_dir=. 12922 for ac_exec_ext in '' $ac_executable_extensions; do8107 for ac_exec_ext in '' $ac_executable_extensions; do 12923 8108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12924 8109 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12926 8111 break 2 12927 8112 fi 12928 8113 done 12929 done8114 done 12930 8115 IFS=$as_save_IFS 12931 8116 … … 12935 8120 PYTHON=$ac_cv_path_PYTHON 12936 8121 if test -n "$PYTHON"; then 12937 { echo "$as_me:$LINENO: result: $PYTHON" >&512938 echo "${ECHO_T}$PYTHON" >&6; }12939 else 12940 { echo "$as_me:$LINENO: result: no" >&512941 echo "${ECHO_T}no" >&6; }8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8123 $as_echo "$PYTHON" >&6; } 8124 else 8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8126 $as_echo "no" >&6; } 12942 8127 fi 12943 8128 12944 8129 12945 8130 fi 12946 { echo "$as_me:$LINENO: checking for Python version" >&512947 echo $ECHO_N "checking for Python version... $ECHO_C" >&6; }8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 8132 $as_echo_n "checking for Python version... " >&6; } 12948 8133 if test "x${PYTHON}" != "x"; then 12949 8134 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 12950 8135 fi 12951 { echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&512952 echo "${ECHO_T}$PYTHON_VERSION" >&6; }8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 8137 $as_echo "$PYTHON_VERSION" >&6; } 12953 8138 fi 12954 8139 12955 8140 if test "x${PYTHON_VERSION}" != "x"; then 12956 8141 PYTHON_INCLUDES=$incdir 12957 { echo "$as_me:$LINENO: checking for Python distutils" >&512958 echo $ECHO_N "checking for Python distutils... $ECHO_C" >&6; }8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 8143 $as_echo_n "checking for Python distutils... " >&6; } 12959 8144 PYTHON_DISTUTILS="" 12960 8145 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ … … 12963 8148 PYTHON_DISTUTILS="yes" 12964 8149 fi 12965 { echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&512966 echo "${ECHO_T}$PYTHON_DISTUTILS" >&6; }8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 8151 $as_echo "$PYTHON_DISTUTILS" >&6; } 12967 8152 if test "${PYTHON_DISTUTILS}" = "yes" ; then 12968 8153 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` … … 12970 8155 # Check for Python include path 12971 8156 # 12972 { echo "$as_me:$LINENO: checking path to Python headers" >&512973 echo $ECHO_N "checking path to Python headers... $ECHO_C" >&6; }8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 8158 $as_echo_n "checking path to Python headers... " >&6; } 12974 8159 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 12975 8160 print distutils.sysconfig.get_python_inc();"` 12976 { echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&512977 echo "${ECHO_T}$PYTHON_INCDIR" >&6; }8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 8162 $as_echo "$PYTHON_INCDIR" >&6; } 12978 8163 # 12979 8164 # Python distutils found, get settings from python directly … … 12987 8172 save_CPPFLAGS=$CPPFLAGS 12988 8173 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 12989 12990 for ac_header in Python.h 12991 do 12992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12994 { echo "$as_me:$LINENO: checking for $ac_header" >&5 12995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 12996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12997 echo $ECHO_N "(cached) $ECHO_C" >&6 12998 fi 12999 ac_res=`eval echo '${'$as_ac_Header'}'` 13000 { echo "$as_me:$LINENO: result: $ac_res" >&5 13001 echo "${ECHO_T}$ac_res" >&6; } 13002 else 13003 # Is the header compilable? 13004 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 13005 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 13006 cat >conftest.$ac_ext <<_ACEOF 13007 /* confdefs.h. */ 13008 _ACEOF 13009 cat confdefs.h >>conftest.$ac_ext 13010 cat >>conftest.$ac_ext <<_ACEOF 13011 /* end confdefs.h. */ 13012 $ac_includes_default 13013 #include <$ac_header> 13014 _ACEOF 13015 rm -f conftest.$ac_objext 13016 if { (ac_try="$ac_compile" 13017 case "(($ac_try" in 13018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13019 *) ac_try_echo=$ac_try;; 13020 esac 13021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13022 (eval "$ac_compile") 2>conftest.er1 13023 ac_status=$? 13024 grep -v '^ *+' conftest.er1 >conftest.err 13025 rm -f conftest.er1 13026 cat conftest.err >&5 13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13028 (exit $ac_status); } && { 13029 test -z "$ac_cxx_werror_flag" || 13030 test ! -s conftest.err 13031 } && test -s conftest.$ac_objext; then 13032 ac_header_compiler=yes 13033 else 13034 echo "$as_me: failed program was:" >&5 13035 sed 's/^/| /' conftest.$ac_ext >&5 13036 13037 ac_header_compiler=no 13038 fi 13039 13040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13041 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13042 echo "${ECHO_T}$ac_header_compiler" >&6; } 13043 13044 # Is the header present? 13045 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 13046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 13047 cat >conftest.$ac_ext <<_ACEOF 13048 /* confdefs.h. */ 13049 _ACEOF 13050 cat confdefs.h >>conftest.$ac_ext 13051 cat >>conftest.$ac_ext <<_ACEOF 13052 /* end confdefs.h. */ 13053 #include <$ac_header> 13054 _ACEOF 13055 if { (ac_try="$ac_cpp conftest.$ac_ext" 13056 case "(($ac_try" in 13057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13058 *) ac_try_echo=$ac_try;; 13059 esac 13060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13062 ac_status=$? 13063 grep -v '^ *+' conftest.er1 >conftest.err 13064 rm -f conftest.er1 13065 cat conftest.err >&5 13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13067 (exit $ac_status); } >/dev/null && { 13068 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13069 test ! -s conftest.err 13070 }; then 13071 ac_header_preproc=yes 13072 else 13073 echo "$as_me: failed program was:" >&5 13074 sed 's/^/| /' conftest.$ac_ext >&5 13075 13076 ac_header_preproc=no 13077 fi 13078 13079 rm -f conftest.err conftest.$ac_ext 13080 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13081 echo "${ECHO_T}$ac_header_preproc" >&6; } 13082 13083 # So? What about this header? 13084 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13085 yes:no: ) 13086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13090 ac_header_preproc=yes 13091 ;; 13092 no:yes:* ) 13093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13105 ( cat <<\_ASBOX 13106 ## ----------------------------------- ## 13107 ## Report this to rappture@nanohub.org ## 13108 ## ----------------------------------- ## 13109 _ASBOX 13110 ) | sed "s/^/$as_me: WARNING: /" >&2 13111 ;; 13112 esac 13113 { echo "$as_me:$LINENO: checking for $ac_header" >&5 13114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 13115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13116 echo $ECHO_N "(cached) $ECHO_C" >&6 13117 else 13118 eval "$as_ac_Header=\$ac_header_preproc" 13119 fi 13120 ac_res=`eval echo '${'$as_ac_Header'}'` 13121 { echo "$as_me:$LINENO: result: $ac_res" >&5 13122 echo "${ECHO_T}$ac_res" >&6; } 13123 13124 fi 13125 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8174 for ac_header in Python.h 8175 do : 8176 ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 8177 if test "x$ac_cv_header_Python_h" = xyes; then : 13126 8178 cat >>confdefs.h <<_ACEOF 13127 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18179 #define HAVE_PYTHON_H 1 13128 8180 _ACEOF 13129 8181 found=yes … … 13160 8212 13161 8213 # Check whether --with-ruby was given. 13162 if test "${with_ruby+set}" = set; then 8214 if test "${with_ruby+set}" = set; then : 13163 8215 withval=$with_ruby; rp_with_ruby=$withval 13164 8216 fi … … 13169 8221 # Extract the first word of "ruby", so it can be a program name with args. 13170 8222 set dummy ruby; ac_word=$2 13171 { echo "$as_me:$LINENO: checking for $ac_word" >&513172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13173 if test "${ac_cv_path_RUBY+set}" = set; then13174 echo $ECHO_N "(cached) $ECHO_C" >&68223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8224 $as_echo_n "checking for $ac_word... " >&6; } 8225 if ${ac_cv_path_RUBY+:} false; then : 8226 $as_echo_n "(cached) " >&6 13175 8227 else 13176 8228 case $RUBY in … … 13184 8236 IFS=$as_save_IFS 13185 8237 test -z "$as_dir" && as_dir=. 13186 for ac_exec_ext in '' $ac_executable_extensions; do8238 for ac_exec_ext in '' $ac_executable_extensions; do 13187 8239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13188 8240 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13190 8242 break 2 13191 8243 fi 13192 8244 done 13193 done8245 done 13194 8246 IFS=$as_save_IFS 13195 8247 … … 13199 8251 RUBY=$ac_cv_path_RUBY 13200 8252 if test -n "$RUBY"; then 13201 { echo "$as_me:$LINENO: result: $RUBY" >&513202 echo "${ECHO_T}$RUBY" >&6; }13203 else 13204 { echo "$as_me:$LINENO: result: no" >&513205 echo "${ECHO_T}no" >&6; }8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8254 $as_echo "$RUBY" >&6; } 8255 else 8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8257 $as_echo "no" >&6; } 13206 8258 fi 13207 8259 … … 13210 8262 # Extract the first word of "ruby", so it can be a program name with args. 13211 8263 set dummy ruby; ac_word=$2 13212 { echo "$as_me:$LINENO: checking for $ac_word" >&513213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13214 if test "${ac_cv_path_RUBY+set}" = set; then13215 echo $ECHO_N "(cached) $ECHO_C" >&68264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8265 $as_echo_n "checking for $ac_word... " >&6; } 8266 if ${ac_cv_path_RUBY+:} false; then : 8267 $as_echo_n "(cached) " >&6 13216 8268 else 13217 8269 case $RUBY in … … 13226 8278 IFS=$as_save_IFS 13227 8279 test -z "$as_dir" && as_dir=. 13228 for ac_exec_ext in '' $ac_executable_extensions; do8280 for ac_exec_ext in '' $ac_executable_extensions; do 13229 8281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13230 8282 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13232 8284 break 2 13233 8285 fi 13234 8286 done 13235 done8287 done 13236 8288 IFS=$as_save_IFS 13237 8289 … … 13241 8293 RUBY=$ac_cv_path_RUBY 13242 8294 if test -n "$RUBY"; then 13243 { echo "$as_me:$LINENO: result: $RUBY" >&513244 echo "${ECHO_T}$RUBY" >&6; }13245 else 13246 { echo "$as_me:$LINENO: result: no" >&513247 echo "${ECHO_T}no" >&6; }8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8296 $as_echo "$RUBY" >&6; } 8297 else 8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8299 $as_echo "no" >&6; } 13248 8300 fi 13249 8301 … … 13256 8308 RUBY_PLATFORM= 13257 8309 if test "x${RUBY}" != "x" ; then 13258 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&513259 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }13260 if test "${ac_cv_path_SED+set}" = set; then13261 echo $ECHO_N "(cached) $ECHO_C" >&68310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8311 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8312 if ${ac_cv_path_SED+:} false; then : 8313 $as_echo_n "(cached) " >&6 13262 8314 else 13263 8315 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 13265 8317 ac_script="$ac_script$as_nl$ac_script" 13266 8318 done 13267 echo "$ac_script" | sed 99q >conftest.sed 13268 $as_unset ac_script || ac_script= 13269 # Extract the first word of "sed gsed" to use in msg output 13270 if test -z "$SED"; then 13271 set dummy sed gsed; ac_prog_name=$2 13272 if test "${ac_cv_path_SED+set}" = set; then 13273 echo $ECHO_N "(cached) $ECHO_C" >&6 13274 else 8319 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8320 { ac_script=; unset ac_script;} 8321 if test -z "$SED"; then 13275 8322 ac_path_SED_found=false 13276 # Loop through the user's path and test for each of PROGNAME-LIST13277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8323 # Loop through the user's path and test for each of PROGNAME-LIST 8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13278 8325 for as_dir in $PATH 13279 8326 do 13280 8327 IFS=$as_save_IFS 13281 8328 test -z "$as_dir" && as_dir=. 13282 for ac_prog in sed gsed; do13283 for ac_exec_ext in '' $ac_executable_extensions; do13284 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"13285 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue13286 8329 for ac_prog in sed gsed; do 8330 for ac_exec_ext in '' $ac_executable_extensions; do 8331 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8332 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 8333 # Check for GNU ac_path_SED and select it if it is found. 13287 8334 # Check for GNU $ac_path_SED 13288 8335 case `"$ac_path_SED" --version 2>&1` in … … 13291 8338 *) 13292 8339 ac_count=0 13293 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"8340 $as_echo_n 0123456789 >"conftest.in" 13294 8341 while : 13295 8342 do … … 13297 8344 mv "conftest.tmp" "conftest.in" 13298 8345 cp "conftest.in" "conftest.nl" 13299 echo '' >> "conftest.nl"8346 $as_echo '' >> "conftest.nl" 13300 8347 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 13301 8348 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 13302 a c_count=`expr $ac_count + 1`8349 as_fn_arith $ac_count + 1 && ac_count=$as_val 13303 8350 if test $ac_count -gt ${ac_path_SED_max-0}; then 13304 8351 # Best one so far, save it but keep looking for a better one … … 13312 8359 esac 13313 8360 13314 13315 $ac_path_SED_found && break 38361 $ac_path_SED_found && break 3 8362 done 13316 8363 done 13317 done 13318 13319 done 8364 done 13320 8365 IFS=$as_save_IFS 13321 13322 13323 fi 13324 13325 SED="$ac_cv_path_SED" 13326 if test -z "$SED"; then 13327 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 13328 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 13329 { (exit 1); exit 1; }; } 13330 fi 13331 8366 if test -z "$ac_cv_path_SED"; then 8367 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8368 fi 13332 8369 else 13333 8370 ac_cv_path_SED=$SED … … 13335 8372 13336 8373 fi 13337 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&513338 echo "${ECHO_T}$ac_cv_path_SED" >&6; }8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8375 $as_echo "$ac_cv_path_SED" >&6; } 13339 8376 SED="$ac_cv_path_SED" 13340 8377 rm -f conftest.sed … … 13344 8381 13345 8382 13346 if test -n "$RUBY"; then 8383 if test -n "$RUBY"; then : 13347 8384 13348 8385 ax_ruby_version="" 13349 8386 13350 { echo "$as_me:$LINENO: checking for ruby version" >&513351 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5 8388 $as_echo_n "checking for ruby version... " >&6; } 13352 8389 13353 8390 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 13354 8391 13355 { echo "$as_me:$LINENO: result: $ruby_version" >&513356 echo "${ECHO_T}$ruby_version" >&6; }8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5 8393 $as_echo "$ruby_version" >&6; } 13357 8394 13358 8395 RUBY_VERSION=$ruby_version … … 13364 8401 # Extract the first word of "$ac_prog", so it can be a program name with args. 13365 8402 set dummy $ac_prog; ac_word=$2 13366 { echo "$as_me:$LINENO: checking for $ac_word" >&513367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13368 if test "${ac_cv_prog_AWK+set}" = set; then13369 echo $ECHO_N "(cached) $ECHO_C" >&68403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8404 $as_echo_n "checking for $ac_word... " >&6; } 8405 if ${ac_cv_prog_AWK+:} false; then : 8406 $as_echo_n "(cached) " >&6 13370 8407 else 13371 8408 if test -n "$AWK"; then … … 13377 8414 IFS=$as_save_IFS 13378 8415 test -z "$as_dir" && as_dir=. 13379 for ac_exec_ext in '' $ac_executable_extensions; do8416 for ac_exec_ext in '' $ac_executable_extensions; do 13380 8417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13381 8418 ac_cv_prog_AWK="$ac_prog" 13382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13383 8420 break 2 13384 8421 fi 13385 8422 done 13386 done8423 done 13387 8424 IFS=$as_save_IFS 13388 8425 … … 13391 8428 AWK=$ac_cv_prog_AWK 13392 8429 if test -n "$AWK"; then 13393 { echo "$as_me:$LINENO: result: $AWK" >&513394 echo "${ECHO_T}$AWK" >&6; }13395 else 13396 { echo "$as_me:$LINENO: result: no" >&513397 echo "${ECHO_T}no" >&6; }8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 8431 $as_echo "$AWK" >&6; } 8432 else 8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8434 $as_echo "no" >&6; } 13398 8435 fi 13399 8436 … … 13445 8482 else 13446 8483 13447 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13448 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13449 13450 13451 fi 13452 8484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8485 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8486 8487 8488 fi 13453 8489 13454 8490 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 13461 8497 # Check for Ruby include path 13462 8498 # 13463 { echo "$as_me:$LINENO: checking for Ruby include path" >&513464 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5 8500 $as_echo_n "checking for Ruby include path... " >&6; } 13465 8501 if test -z "$RUBY_CPPFLAGS"; then 13466 8502 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 13470 8506 RUBY_CPPFLAGS=$ruby_path 13471 8507 fi 13472 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&513473 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5 8509 $as_echo "$RUBY_CPPFLAGS" >&6; } 13474 8510 13475 8511 … … 13477 8513 # Check for Ruby library path 13478 8514 # 13479 { echo "$as_me:$LINENO: checking for Ruby library path" >&513480 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5 8516 $as_echo_n "checking for Ruby library path... " >&6; } 13481 8517 if test -z "$RUBY_LDFLAGS"; then 13482 8518 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 13483 8519 fi 13484 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&513485 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5 8521 $as_echo "$RUBY_LDFLAGS" >&6; } 13486 8522 13487 8523 … … 13489 8525 # Check for site packages 13490 8526 # 13491 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&513492 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5 8528 $as_echo_n "checking for Ruby site-packages path... " >&6; } 13493 8529 if test -z "$RUBY_SITE_PKG"; then 13494 8530 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 13495 8531 fi 13496 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&513497 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5 8533 $as_echo "$RUBY_SITE_PKG" >&6; } 13498 8534 13499 8535 … … 13501 8537 # libraries which must be linked in when embedding 13502 8538 # 13503 { echo "$as_me:$LINENO: checking ruby extra libraries" >&513504 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5 8540 $as_echo_n "checking ruby extra libraries... " >&6; } 13505 8541 if test -z "$RUBY_EXTRA_LIBS"; then 13506 8542 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 13507 8543 fi 13508 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&513509 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5 8545 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 13510 8546 13511 8547 … … 13526 8562 # final check to see if everything compiles alright 13527 8563 # 13528 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&513529 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5 8565 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 13530 8566 ac_ext=c 13531 8567 ac_cpp='$CPP $CPPFLAGS' … … 13539 8575 ac_save_CPPFLAGS="$CPPFLAGS" 13540 8576 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 13541 cat >conftest.$ac_ext <<_ACEOF 13542 /* confdefs.h. */ 13543 _ACEOF 13544 cat confdefs.h >>conftest.$ac_ext 13545 cat >>conftest.$ac_ext <<_ACEOF 8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13546 8578 /* end confdefs.h. */ 13547 8579 … … 13558 8590 } 13559 8591 _ACEOF 13560 rm -f conftest.$ac_objext conftest$ac_exeext 13561 if { (ac_try="$ac_link" 13562 case "(($ac_try" in 13563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13564 *) ac_try_echo=$ac_try;; 13565 esac 13566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13567 (eval "$ac_link") 2>conftest.er1 13568 ac_status=$? 13569 grep -v '^ *+' conftest.er1 >conftest.err 13570 rm -f conftest.er1 13571 cat conftest.err >&5 13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13573 (exit $ac_status); } && { 13574 test -z "$ac_c_werror_flag" || 13575 test ! -s conftest.err 13576 } && test -s conftest$ac_exeext && 13577 $as_test_x conftest$ac_exeext; then 8592 if ac_fn_c_try_link "$LINENO"; then : 13578 8593 rubyexists=yes 13579 8594 else 13580 echo "$as_me: failed program was:" >&5 13581 sed 's/^/| /' conftest.$ac_ext >&5 13582 13583 rubyexists=no 13584 fi 13585 13586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13587 conftest$ac_exeext conftest.$ac_ext 13588 13589 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13590 echo "${ECHO_T}$rubyexists" >&6; } 8595 rubyexists=no 8596 fi 8597 rm -f core conftest.err conftest.$ac_objext \ 8598 conftest$ac_exeext conftest.$ac_ext 8599 8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8601 $as_echo "$rubyexists" >&6; } 13591 8602 13592 8603 if test "$rubyexists" = "no"; then … … 13613 8624 13614 8625 13615 rp_with_java="yes"13616 8626 JAVA="" 13617 8627 JAVAH="" … … 13620 8630 13621 8631 # Check whether --with-java was given. 13622 if test "${with_java+set}" = set; then 8632 if test "${with_java+set}" = set; then : 13623 8633 withval=$with_java; rp_with_java=$withval 13624 8634 fi … … 13629 8639 # Extract the first word of "java", so it can be a program name with args. 13630 8640 set dummy java; ac_word=$2 13631 { echo "$as_me:$LINENO: checking for $ac_word" >&513632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13633 if test "${ac_cv_path_JAVA+set}" = set; then13634 echo $ECHO_N "(cached) $ECHO_C" >&68641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8642 $as_echo_n "checking for $ac_word... " >&6; } 8643 if ${ac_cv_path_JAVA+:} false; then : 8644 $as_echo_n "(cached) " >&6 13635 8645 else 13636 8646 case $JAVA in … … 13644 8654 IFS=$as_save_IFS 13645 8655 test -z "$as_dir" && as_dir=. 13646 for ac_exec_ext in '' $ac_executable_extensions; do8656 for ac_exec_ext in '' $ac_executable_extensions; do 13647 8657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13648 8658 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13650 8660 break 2 13651 8661 fi 13652 8662 done 13653 done8663 done 13654 8664 IFS=$as_save_IFS 13655 8665 … … 13659 8669 JAVA=$ac_cv_path_JAVA 13660 8670 if test -n "$JAVA"; then 13661 { echo "$as_me:$LINENO: result: $JAVA" >&513662 echo "${ECHO_T}$JAVA" >&6; }13663 else 13664 { echo "$as_me:$LINENO: result: no" >&513665 echo "${ECHO_T}no" >&6; }8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8672 $as_echo "$JAVA" >&6; } 8673 else 8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8675 $as_echo "no" >&6; } 13666 8676 fi 13667 8677 … … 13669 8679 # Extract the first word of "javac", so it can be a program name with args. 13670 8680 set dummy javac; ac_word=$2 13671 { echo "$as_me:$LINENO: checking for $ac_word" >&513672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13673 if test "${ac_cv_path_JAVAC+set}" = set; then13674 echo $ECHO_N "(cached) $ECHO_C" >&68681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8682 $as_echo_n "checking for $ac_word... " >&6; } 8683 if ${ac_cv_path_JAVAC+:} false; then : 8684 $as_echo_n "(cached) " >&6 13675 8685 else 13676 8686 case $JAVAC in … … 13684 8694 IFS=$as_save_IFS 13685 8695 test -z "$as_dir" && as_dir=. 13686 for ac_exec_ext in '' $ac_executable_extensions; do8696 for ac_exec_ext in '' $ac_executable_extensions; do 13687 8697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13688 8698 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13690 8700 break 2 13691 8701 fi 13692 8702 done 13693 done8703 done 13694 8704 IFS=$as_save_IFS 13695 8705 … … 13699 8709 JAVAC=$ac_cv_path_JAVAC 13700 8710 if test -n "$JAVAC"; then 13701 { echo "$as_me:$LINENO: result: $JAVAC" >&513702 echo "${ECHO_T}$JAVAC" >&6; }13703 else 13704 { echo "$as_me:$LINENO: result: no" >&513705 echo "${ECHO_T}no" >&6; }8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8712 $as_echo "$JAVAC" >&6; } 8713 else 8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8715 $as_echo "no" >&6; } 13706 8716 fi 13707 8717 … … 13709 8719 # Extract the first word of "javah", so it can be a program name with args. 13710 8720 set dummy javah; ac_word=$2 13711 { echo "$as_me:$LINENO: checking for $ac_word" >&513712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13713 if test "${ac_cv_path_JAVAH+set}" = set; then13714 echo $ECHO_N "(cached) $ECHO_C" >&68721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8722 $as_echo_n "checking for $ac_word... " >&6; } 8723 if ${ac_cv_path_JAVAH+:} false; then : 8724 $as_echo_n "(cached) " >&6 13715 8725 else 13716 8726 case $JAVAH in … … 13724 8734 IFS=$as_save_IFS 13725 8735 test -z "$as_dir" && as_dir=. 13726 for ac_exec_ext in '' $ac_executable_extensions; do8736 for ac_exec_ext in '' $ac_executable_extensions; do 13727 8737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13728 8738 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13730 8740 break 2 13731 8741 fi 13732 8742 done 13733 done8743 done 13734 8744 IFS=$as_save_IFS 13735 8745 … … 13739 8749 JAVAH=$ac_cv_path_JAVAH 13740 8750 if test -n "$JAVAH"; then 13741 { echo "$as_me:$LINENO: result: $JAVAH" >&513742 echo "${ECHO_T}$JAVAH" >&6; }13743 else 13744 { echo "$as_me:$LINENO: result: no" >&513745 echo "${ECHO_T}no" >&6; }8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8752 $as_echo "$JAVAH" >&6; } 8753 else 8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8755 $as_echo "no" >&6; } 13746 8756 fi 13747 8757 … … 13750 8760 # Extract the first word of "java", so it can be a program name with args. 13751 8761 set dummy java; ac_word=$2 13752 { echo "$as_me:$LINENO: checking for $ac_word" >&513753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13754 if test "${ac_cv_path_JAVA+set}" = set; then13755 echo $ECHO_N "(cached) $ECHO_C" >&68762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8763 $as_echo_n "checking for $ac_word... " >&6; } 8764 if ${ac_cv_path_JAVA+:} false; then : 8765 $as_echo_n "(cached) " >&6 13756 8766 else 13757 8767 case $JAVA in … … 13766 8776 IFS=$as_save_IFS 13767 8777 test -z "$as_dir" && as_dir=. 13768 for ac_exec_ext in '' $ac_executable_extensions; do8778 for ac_exec_ext in '' $ac_executable_extensions; do 13769 8779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13770 8780 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13772 8782 break 2 13773 8783 fi 13774 8784 done 13775 done8785 done 13776 8786 IFS=$as_save_IFS 13777 8787 … … 13781 8791 JAVA=$ac_cv_path_JAVA 13782 8792 if test -n "$JAVA"; then 13783 { echo "$as_me:$LINENO: result: $JAVA" >&513784 echo "${ECHO_T}$JAVA" >&6; }13785 else 13786 { echo "$as_me:$LINENO: result: no" >&513787 echo "${ECHO_T}no" >&6; }8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8794 $as_echo "$JAVA" >&6; } 8795 else 8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8797 $as_echo "no" >&6; } 13788 8798 fi 13789 8799 … … 13791 8801 # Extract the first word of "javac", so it can be a program name with args. 13792 8802 set dummy javac; ac_word=$2 13793 { echo "$as_me:$LINENO: checking for $ac_word" >&513794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13795 if test "${ac_cv_path_JAVAC+set}" = set; then13796 echo $ECHO_N "(cached) $ECHO_C" >&68803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8804 $as_echo_n "checking for $ac_word... " >&6; } 8805 if ${ac_cv_path_JAVAC+:} false; then : 8806 $as_echo_n "(cached) " >&6 13797 8807 else 13798 8808 case $JAVAC in … … 13807 8817 IFS=$as_save_IFS 13808 8818 test -z "$as_dir" && as_dir=. 13809 for ac_exec_ext in '' $ac_executable_extensions; do8819 for ac_exec_ext in '' $ac_executable_extensions; do 13810 8820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13811 8821 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13813 8823 break 2 13814 8824 fi 13815 8825 done 13816 done8826 done 13817 8827 IFS=$as_save_IFS 13818 8828 … … 13822 8832 JAVAC=$ac_cv_path_JAVAC 13823 8833 if test -n "$JAVAC"; then 13824 { echo "$as_me:$LINENO: result: $JAVAC" >&513825 echo "${ECHO_T}$JAVAC" >&6; }13826 else 13827 { echo "$as_me:$LINENO: result: no" >&513828 echo "${ECHO_T}no" >&6; }8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8835 $as_echo "$JAVAC" >&6; } 8836 else 8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8838 $as_echo "no" >&6; } 13829 8839 fi 13830 8840 … … 13832 8842 # Extract the first word of "javah", so it can be a program name with args. 13833 8843 set dummy javah; ac_word=$2 13834 { echo "$as_me:$LINENO: checking for $ac_word" >&513835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13836 if test "${ac_cv_path_JAVAH+set}" = set; then13837 echo $ECHO_N "(cached) $ECHO_C" >&68844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8845 $as_echo_n "checking for $ac_word... " >&6; } 8846 if ${ac_cv_path_JAVAH+:} false; then : 8847 $as_echo_n "(cached) " >&6 13838 8848 else 13839 8849 case $JAVAH in … … 13848 8858 IFS=$as_save_IFS 13849 8859 test -z "$as_dir" && as_dir=. 13850 for ac_exec_ext in '' $ac_executable_extensions; do8860 for ac_exec_ext in '' $ac_executable_extensions; do 13851 8861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13852 8862 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13854 8864 break 2 13855 8865 fi 13856 8866 done 13857 done8867 done 13858 8868 IFS=$as_save_IFS 13859 8869 … … 13863 8873 JAVAH=$ac_cv_path_JAVAH 13864 8874 if test -n "$JAVAH"; then 13865 { echo "$as_me:$LINENO: result: $JAVAH" >&513866 echo "${ECHO_T}$JAVAH" >&6; }13867 else 13868 { echo "$as_me:$LINENO: result: no" >&513869 echo "${ECHO_T}no" >&6; }8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8876 $as_echo "$JAVAH" >&6; } 8877 else 8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8879 $as_echo "no" >&6; } 13870 8880 fi 13871 8881 … … 13909 8919 13910 8920 13911 { echo "$as_me:$LINENO: checking how to build libraries" >&513912 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 8922 $as_echo_n "checking how to build libraries... " >&6; } 13913 8923 # Check whether --enable-shared was given. 13914 if test "${enable_shared+set}" = set; then 8924 if test "${enable_shared+set}" = set; then : 13915 8925 enableval=$enable_shared; tcl_ok=$enableval 13916 8926 else … … 13927 8937 13928 8938 if test "$tcl_ok" = "yes" ; then 13929 { echo "$as_me:$LINENO: result: shared" >&513930 echo "${ECHO_T}shared" >&6; }8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 8940 $as_echo "shared" >&6; } 13931 8941 SHARED_BUILD=1 13932 8942 else 13933 { echo "$as_me:$LINENO: result: static" >&513934 echo "${ECHO_T}static" >&6; }8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 8944 $as_echo "static" >&6; } 13935 8945 SHARED_BUILD=0 13936 cat >>confdefs.h <<\_ACEOF 13937 #define STATIC_BUILD 1 13938 _ACEOF 8946 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13939 8947 13940 8948 fi … … 13971 8979 # ----------------------------------------------------------------------- 13972 8980 13973 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13974 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13975 if test "${ac_cv_c_bigendian+set}" = set; then 13976 echo $ECHO_N "(cached) $ECHO_C" >&6 13977 else 13978 # See if sys/param.h defines the BYTE_ORDER macro. 13979 cat >conftest.$ac_ext <<_ACEOF 13980 /* confdefs.h. */ 13981 _ACEOF 13982 cat confdefs.h >>conftest.$ac_ext 13983 cat >>conftest.$ac_ext <<_ACEOF 8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8982 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8983 if ${ac_cv_c_bigendian+:} false; then : 8984 $as_echo_n "(cached) " >&6 8985 else 8986 ac_cv_c_bigendian=unknown 8987 # See if we're dealing with a universal compiler. 8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8989 /* end confdefs.h. */ 8990 #ifndef __APPLE_CC__ 8991 not a universal capable compiler 8992 #endif 8993 typedef int dummy; 8994 8995 _ACEOF 8996 if ac_fn_cxx_try_compile "$LINENO"; then : 8997 8998 # Check for potential -arch flags. It is not universal unless 8999 # there are at least two -arch flags with different values. 9000 ac_arch= 9001 ac_prev= 9002 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9003 if test -n "$ac_prev"; then 9004 case $ac_word in 9005 i?86 | x86_64 | ppc | ppc64) 9006 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9007 ac_arch=$ac_word 9008 else 9009 ac_cv_c_bigendian=universal 9010 break 9011 fi 9012 ;; 9013 esac 9014 ac_prev= 9015 elif test "x$ac_word" = "x-arch"; then 9016 ac_prev=arch 9017 fi 9018 done 9019 fi 9020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9021 if test $ac_cv_c_bigendian = unknown; then 9022 # See if sys/param.h defines the BYTE_ORDER macro. 9023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13984 9024 /* end confdefs.h. */ 13985 9025 #include <sys/types.h> 13986 #include <sys/param.h>9026 #include <sys/param.h> 13987 9027 13988 9028 int 13989 9029 main () 13990 9030 { 13991 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13992 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13993 bogus endian macros 13994 #endif 9031 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 9032 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 9033 && LITTLE_ENDIAN) 9034 bogus endian macros 9035 #endif 13995 9036 13996 9037 ; … … 13998 9039 } 13999 9040 _ACEOF 14000 rm -f conftest.$ac_objext 14001 if { (ac_try="$ac_compile" 14002 case "(($ac_try" in 14003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14004 *) ac_try_echo=$ac_try;; 14005 esac 14006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14007 (eval "$ac_compile") 2>conftest.er1 14008 ac_status=$? 14009 grep -v '^ *+' conftest.er1 >conftest.err 14010 rm -f conftest.er1 14011 cat conftest.err >&5 14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14013 (exit $ac_status); } && { 14014 test -z "$ac_cxx_werror_flag" || 14015 test ! -s conftest.err 14016 } && test -s conftest.$ac_objext; then 9041 if ac_fn_cxx_try_compile "$LINENO"; then : 14017 9042 # It does; now see whether it defined to BIG_ENDIAN or not. 14018 cat >conftest.$ac_ext <<_ACEOF 14019 /* confdefs.h. */ 14020 _ACEOF 14021 cat confdefs.h >>conftest.$ac_ext 14022 cat >>conftest.$ac_ext <<_ACEOF 9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14023 9044 /* end confdefs.h. */ 14024 9045 #include <sys/types.h> 14025 #include <sys/param.h>9046 #include <sys/param.h> 14026 9047 14027 9048 int … … 14029 9050 { 14030 9051 #if BYTE_ORDER != BIG_ENDIAN 14031 not big endian14032 #endif9052 not big endian 9053 #endif 14033 9054 14034 9055 ; … … 14036 9057 } 14037 9058 _ACEOF 14038 rm -f conftest.$ac_objext 14039 if { (ac_try="$ac_compile" 14040 case "(($ac_try" in 14041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14042 *) ac_try_echo=$ac_try;; 14043 esac 14044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14045 (eval "$ac_compile") 2>conftest.er1 14046 ac_status=$? 14047 grep -v '^ *+' conftest.er1 >conftest.err 14048 rm -f conftest.er1 14049 cat conftest.err >&5 14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14051 (exit $ac_status); } && { 14052 test -z "$ac_cxx_werror_flag" || 14053 test ! -s conftest.err 14054 } && test -s conftest.$ac_objext; then 9059 if ac_fn_cxx_try_compile "$LINENO"; then : 14055 9060 ac_cv_c_bigendian=yes 14056 9061 else 14057 echo "$as_me: failed program was:" >&5 14058 sed 's/^/| /' conftest.$ac_ext >&5 14059 14060 ac_cv_c_bigendian=no 14061 fi 14062 9062 ac_cv_c_bigendian=no 9063 fi 14063 9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14064 else 14065 echo "$as_me: failed program was:" >&5 14066 sed 's/^/| /' conftest.$ac_ext >&5 14067 14068 # It does not; compile a test program. 14069 if test "$cross_compiling" = yes; then 14070 # try to guess the endianness by grepping values into an object file 14071 ac_cv_c_bigendian=unknown 14072 cat >conftest.$ac_ext <<_ACEOF 14073 /* confdefs.h. */ 14074 _ACEOF 14075 cat confdefs.h >>conftest.$ac_ext 14076 cat >>conftest.$ac_ext <<_ACEOF 9065 fi 9066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9067 fi 9068 if test $ac_cv_c_bigendian = unknown; then 9069 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14077 9071 /* end confdefs.h. */ 14078 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 14079 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 14080 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 14081 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 14082 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 14083 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 9072 #include <limits.h> 9073 14084 9074 int 14085 9075 main () 14086 9076 { 14087 _ascii (); _ebcdic (); 9077 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 9078 bogus endian macros 9079 #endif 9080 14088 9081 ; 14089 9082 return 0; 14090 9083 } 14091 9084 _ACEOF 14092 rm -f conftest.$ac_objext 14093 if { (ac_try="$ac_compile" 14094 case "(($ac_try" in 14095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14096 *) ac_try_echo=$ac_try;; 14097 esac 14098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14099 (eval "$ac_compile") 2>conftest.er1 14100 ac_status=$? 14101 grep -v '^ *+' conftest.er1 >conftest.err 14102 rm -f conftest.er1 14103 cat conftest.err >&5 14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14105 (exit $ac_status); } && {14106 test -z "$ac_cxx_werror_flag" || 14107 test ! -s conftest.err 14108 } && test -s conftest.$ac_objext; then 14109 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 9085 if ac_fn_cxx_try_compile "$LINENO"; then : 9086 # It does; now see whether it defined to _BIG_ENDIAN or not. 9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9088 /* end confdefs.h. */ 9089 #include <limits.h> 9090 9091 int 9092 main () 9093 { 9094 #ifndef _BIG_ENDIAN 9095 not big endian 9096 #endif 9097 9098 ; 9099 return 0; 9100 } 9101 _ACEOF 9102 if ac_fn_cxx_try_compile "$LINENO"; then : 14110 9103 ac_cv_c_bigendian=yes 14111 fi 14112 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14113 if test "$ac_cv_c_bigendian" = unknown; then 14114 ac_cv_c_bigendian=no 14115 else 14116 # finding both strings is unlikely to happen, but who knows? 14117 ac_cv_c_bigendian=unknown 14118 fi 14119 fi 14120 else 14121 echo "$as_me: failed program was:" >&5 14122 sed 's/^/| /' conftest.$ac_ext >&5 14123 14124 14125 fi 14126 9104 else 9105 ac_cv_c_bigendian=no 9106 fi 14127 9107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14128 else 14129 cat >conftest.$ac_ext <<_ACEOF 14130 /* confdefs.h. */ 14131 _ACEOF 14132 cat confdefs.h >>conftest.$ac_ext 14133 cat >>conftest.$ac_ext <<_ACEOF 9108 fi 9109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9110 fi 9111 if test $ac_cv_c_bigendian = unknown; then 9112 # Compile a test program. 9113 if test "$cross_compiling" = yes; then : 9114 # Try to guess by grepping values from an object file. 9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9116 /* end confdefs.h. */ 9117 short int ascii_mm[] = 9118 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9119 short int ascii_ii[] = 9120 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9121 int use_ascii (int i) { 9122 return ascii_mm[i] + ascii_ii[i]; 9123 } 9124 short int ebcdic_ii[] = 9125 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9126 short int ebcdic_mm[] = 9127 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9128 int use_ebcdic (int i) { 9129 return ebcdic_mm[i] + ebcdic_ii[i]; 9130 } 9131 extern int foo; 9132 9133 int 9134 main () 9135 { 9136 return use_ascii (foo) == use_ebcdic (foo); 9137 ; 9138 return 0; 9139 } 9140 _ACEOF 9141 if ac_fn_cxx_try_compile "$LINENO"; then : 9142 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9143 ac_cv_c_bigendian=yes 9144 fi 9145 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9146 if test "$ac_cv_c_bigendian" = unknown; then 9147 ac_cv_c_bigendian=no 9148 else 9149 # finding both strings is unlikely to happen, but who knows? 9150 ac_cv_c_bigendian=unknown 9151 fi 9152 fi 9153 fi 9154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9155 else 9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14134 9157 /* end confdefs.h. */ 14135 9158 $ac_includes_default … … 14138 9161 { 14139 9162 14140 /* Are we little or big endian? From Harbison&Steele. */14141 union14142 {14143 long int l;14144 char c[sizeof (long int)];14145 } u;14146 u.l = 1;14147 return u.c[sizeof (long int) - 1] == 1;9163 /* Are we little or big endian? From Harbison&Steele. */ 9164 union 9165 { 9166 long int l; 9167 char c[sizeof (long int)]; 9168 } u; 9169 u.l = 1; 9170 return u.c[sizeof (long int) - 1] == 1; 14148 9171 14149 9172 ; … … 14151 9174 } 14152 9175 _ACEOF 14153 rm -f conftest$ac_exeext 14154 if { (ac_try="$ac_link" 14155 case "(($ac_try" in 14156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14157 *) ac_try_echo=$ac_try;; 14158 esac 14159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14160 (eval "$ac_link") 2>&5 14161 ac_status=$? 14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14163 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14164 { (case "(($ac_try" in 14165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14166 *) ac_try_echo=$ac_try;; 14167 esac 14168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14169 (eval "$ac_try") 2>&5 14170 ac_status=$? 14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14172 (exit $ac_status); }; }; then 9176 if ac_fn_cxx_try_run "$LINENO"; then : 14173 9177 ac_cv_c_bigendian=no 14174 9178 else 14175 echo "$as_me: program exited with status $ac_status" >&5 14176 echo "$as_me: failed program was:" >&5 14177 sed 's/^/| /' conftest.$ac_ext >&5 14178 14179 ( exit $ac_status ) 14180 ac_cv_c_bigendian=yes 14181 fi 14182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14183 fi 14184 14185 14186 fi 14187 14188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14189 fi 14190 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 14191 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 14192 case $ac_cv_c_bigendian in 14193 yes) 14194 14195 cat >>confdefs.h <<\_ACEOF 14196 #define WORDS_BIGENDIAN 1 14197 _ACEOF 14198 ;; 14199 no) 14200 ;; 14201 *) 14202 { { echo "$as_me:$LINENO: error: unknown endianness 14203 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 14204 echo "$as_me: error: unknown endianness 14205 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 14206 { (exit 1); exit 1; }; } ;; 14207 esac 14208 14209 { echo "$as_me:$LINENO: checking for int" >&5 14210 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 14211 if test "${ac_cv_type_int+set}" = set; then 14212 echo $ECHO_N "(cached) $ECHO_C" >&6 14213 else 14214 cat >conftest.$ac_ext <<_ACEOF 14215 /* confdefs.h. */ 14216 _ACEOF 14217 cat confdefs.h >>conftest.$ac_ext 14218 cat >>conftest.$ac_ext <<_ACEOF 14219 /* end confdefs.h. */ 14220 $ac_includes_default 14221 typedef int ac__type_new_; 14222 int 14223 main () 14224 { 14225 if ((ac__type_new_ *) 0) 14226 return 0; 14227 if (sizeof (ac__type_new_)) 14228 return 0; 14229 ; 14230 return 0; 14231 } 14232 _ACEOF 14233 rm -f conftest.$ac_objext 14234 if { (ac_try="$ac_compile" 14235 case "(($ac_try" in 14236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14237 *) ac_try_echo=$ac_try;; 14238 esac 14239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14240 (eval "$ac_compile") 2>conftest.er1 14241 ac_status=$? 14242 grep -v '^ *+' conftest.er1 >conftest.err 14243 rm -f conftest.er1 14244 cat conftest.err >&5 14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14246 (exit $ac_status); } && { 14247 test -z "$ac_cxx_werror_flag" || 14248 test ! -s conftest.err 14249 } && test -s conftest.$ac_objext; then 14250 ac_cv_type_int=yes 14251 else 14252 echo "$as_me: failed program was:" >&5 14253 sed 's/^/| /' conftest.$ac_ext >&5 14254 14255 ac_cv_type_int=no 14256 fi 14257 14258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14259 fi 14260 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 14261 echo "${ECHO_T}$ac_cv_type_int" >&6; } 9179 ac_cv_c_bigendian=yes 9180 fi 9181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9182 conftest.$ac_objext conftest.beam conftest.$ac_ext 9183 fi 9184 9185 fi 9186 fi 9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9188 $as_echo "$ac_cv_c_bigendian" >&6; } 9189 case $ac_cv_c_bigendian in #( 9190 yes) 9191 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9192 ;; #( 9193 no) 9194 ;; #( 9195 universal) 9196 9197 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9198 9199 ;; #( 9200 *) 9201 as_fn_error $? "unknown endianness 9202 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9203 esac 14262 9204 14263 9205 # The cast to long int works around a bug in the HP C Compiler … … 14265 9207 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14266 9208 # This bug is HP SR number 8606223364. 14267 { echo "$as_me:$LINENO: checking size of int" >&5 14268 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 14269 if test "${ac_cv_sizeof_int+set}" = set; then 14270 echo $ECHO_N "(cached) $ECHO_C" >&6 14271 else 14272 if test "$cross_compiling" = yes; then 14273 # Depending upon the size, compute the lo and hi bounds. 14274 cat >conftest.$ac_ext <<_ACEOF 14275 /* confdefs.h. */ 14276 _ACEOF 14277 cat confdefs.h >>conftest.$ac_ext 14278 cat >>conftest.$ac_ext <<_ACEOF 14279 /* end confdefs.h. */ 14280 $ac_includes_default 14281 typedef int ac__type_sizeof_; 14282 int 14283 main () 14284 { 14285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14286 test_array [0] = 0 14287 14288 ; 14289 return 0; 14290 } 14291 _ACEOF 14292 rm -f conftest.$ac_objext 14293 if { (ac_try="$ac_compile" 14294 case "(($ac_try" in 14295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14296 *) ac_try_echo=$ac_try;; 14297 esac 14298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14299 (eval "$ac_compile") 2>conftest.er1 14300 ac_status=$? 14301 grep -v '^ *+' conftest.er1 >conftest.err 14302 rm -f conftest.er1 14303 cat conftest.err >&5 14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14305 (exit $ac_status); } && { 14306 test -z "$ac_cxx_werror_flag" || 14307 test ! -s conftest.err 14308 } && test -s conftest.$ac_objext; then 14309 ac_lo=0 ac_mid=0 14310 while :; do 14311 cat >conftest.$ac_ext <<_ACEOF 14312 /* confdefs.h. */ 14313 _ACEOF 14314 cat confdefs.h >>conftest.$ac_ext 14315 cat >>conftest.$ac_ext <<_ACEOF 14316 /* end confdefs.h. */ 14317 $ac_includes_default 14318 typedef int ac__type_sizeof_; 14319 int 14320 main () 14321 { 14322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14323 test_array [0] = 0 14324 14325 ; 14326 return 0; 14327 } 14328 _ACEOF 14329 rm -f conftest.$ac_objext 14330 if { (ac_try="$ac_compile" 14331 case "(($ac_try" in 14332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14333 *) ac_try_echo=$ac_try;; 14334 esac 14335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14336 (eval "$ac_compile") 2>conftest.er1 14337 ac_status=$? 14338 grep -v '^ *+' conftest.er1 >conftest.err 14339 rm -f conftest.er1 14340 cat conftest.err >&5 14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14342 (exit $ac_status); } && { 14343 test -z "$ac_cxx_werror_flag" || 14344 test ! -s conftest.err 14345 } && test -s conftest.$ac_objext; then 14346 ac_hi=$ac_mid; break 14347 else 14348 echo "$as_me: failed program was:" >&5 14349 sed 's/^/| /' conftest.$ac_ext >&5 14350 14351 ac_lo=`expr $ac_mid + 1` 14352 if test $ac_lo -le $ac_mid; then 14353 ac_lo= ac_hi= 14354 break 14355 fi 14356 ac_mid=`expr 2 '*' $ac_mid + 1` 14357 fi 14358 14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14360 done 14361 else 14362 echo "$as_me: failed program was:" >&5 14363 sed 's/^/| /' conftest.$ac_ext >&5 14364 14365 cat >conftest.$ac_ext <<_ACEOF 14366 /* confdefs.h. */ 14367 _ACEOF 14368 cat confdefs.h >>conftest.$ac_ext 14369 cat >>conftest.$ac_ext <<_ACEOF 14370 /* end confdefs.h. */ 14371 $ac_includes_default 14372 typedef int ac__type_sizeof_; 14373 int 14374 main () 14375 { 14376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14377 test_array [0] = 0 14378 14379 ; 14380 return 0; 14381 } 14382 _ACEOF 14383 rm -f conftest.$ac_objext 14384 if { (ac_try="$ac_compile" 14385 case "(($ac_try" in 14386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14387 *) ac_try_echo=$ac_try;; 14388 esac 14389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14390 (eval "$ac_compile") 2>conftest.er1 14391 ac_status=$? 14392 grep -v '^ *+' conftest.er1 >conftest.err 14393 rm -f conftest.er1 14394 cat conftest.err >&5 14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14396 (exit $ac_status); } && { 14397 test -z "$ac_cxx_werror_flag" || 14398 test ! -s conftest.err 14399 } && test -s conftest.$ac_objext; then 14400 ac_hi=-1 ac_mid=-1 14401 while :; do 14402 cat >conftest.$ac_ext <<_ACEOF 14403 /* confdefs.h. */ 14404 _ACEOF 14405 cat confdefs.h >>conftest.$ac_ext 14406 cat >>conftest.$ac_ext <<_ACEOF 14407 /* end confdefs.h. */ 14408 $ac_includes_default 14409 typedef int ac__type_sizeof_; 14410 int 14411 main () 14412 { 14413 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14414 test_array [0] = 0 14415 14416 ; 14417 return 0; 14418 } 14419 _ACEOF 14420 rm -f conftest.$ac_objext 14421 if { (ac_try="$ac_compile" 14422 case "(($ac_try" in 14423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14424 *) ac_try_echo=$ac_try;; 14425 esac 14426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14427 (eval "$ac_compile") 2>conftest.er1 14428 ac_status=$? 14429 grep -v '^ *+' conftest.er1 >conftest.err 14430 rm -f conftest.er1 14431 cat conftest.err >&5 14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14433 (exit $ac_status); } && { 14434 test -z "$ac_cxx_werror_flag" || 14435 test ! -s conftest.err 14436 } && test -s conftest.$ac_objext; then 14437 ac_lo=$ac_mid; break 14438 else 14439 echo "$as_me: failed program was:" >&5 14440 sed 's/^/| /' conftest.$ac_ext >&5 14441 14442 ac_hi=`expr '(' $ac_mid ')' - 1` 14443 if test $ac_mid -le $ac_hi; then 14444 ac_lo= ac_hi= 14445 break 14446 fi 14447 ac_mid=`expr 2 '*' $ac_mid` 14448 fi 14449 14450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14451 done 14452 else 14453 echo "$as_me: failed program was:" >&5 14454 sed 's/^/| /' conftest.$ac_ext >&5 14455 14456 ac_lo= ac_hi= 14457 fi 14458 14459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14460 fi 14461 14462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14463 # Binary search between lo and hi bounds. 14464 while test "x$ac_lo" != "x$ac_hi"; do 14465 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14466 cat >conftest.$ac_ext <<_ACEOF 14467 /* confdefs.h. */ 14468 _ACEOF 14469 cat confdefs.h >>conftest.$ac_ext 14470 cat >>conftest.$ac_ext <<_ACEOF 14471 /* end confdefs.h. */ 14472 $ac_includes_default 14473 typedef int ac__type_sizeof_; 14474 int 14475 main () 14476 { 14477 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14478 test_array [0] = 0 14479 14480 ; 14481 return 0; 14482 } 14483 _ACEOF 14484 rm -f conftest.$ac_objext 14485 if { (ac_try="$ac_compile" 14486 case "(($ac_try" in 14487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14488 *) ac_try_echo=$ac_try;; 14489 esac 14490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14491 (eval "$ac_compile") 2>conftest.er1 14492 ac_status=$? 14493 grep -v '^ *+' conftest.er1 >conftest.err 14494 rm -f conftest.er1 14495 cat conftest.err >&5 14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14497 (exit $ac_status); } && { 14498 test -z "$ac_cxx_werror_flag" || 14499 test ! -s conftest.err 14500 } && test -s conftest.$ac_objext; then 14501 ac_hi=$ac_mid 14502 else 14503 echo "$as_me: failed program was:" >&5 14504 sed 's/^/| /' conftest.$ac_ext >&5 14505 14506 ac_lo=`expr '(' $ac_mid ')' + 1` 14507 fi 14508 14509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14510 done 14511 case $ac_lo in 14512 ?*) ac_cv_sizeof_int=$ac_lo;; 14513 '') if test "$ac_cv_type_int" = yes; then 14514 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14515 See \`config.log' for more details." >&5 14516 echo "$as_me: error: cannot compute sizeof (int) 14517 See \`config.log' for more details." >&2;} 14518 { (exit 77); exit 77; }; } 14519 else 14520 ac_cv_sizeof_int=0 14521 fi ;; 14522 esac 14523 else 14524 cat >conftest.$ac_ext <<_ACEOF 14525 /* confdefs.h. */ 14526 _ACEOF 14527 cat confdefs.h >>conftest.$ac_ext 14528 cat >>conftest.$ac_ext <<_ACEOF 14529 /* end confdefs.h. */ 14530 $ac_includes_default 14531 typedef int ac__type_sizeof_; 14532 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14533 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14534 #include <stdio.h> 14535 #include <stdlib.h> 14536 int 14537 main () 14538 { 14539 14540 FILE *f = fopen ("conftest.val", "w"); 14541 if (! f) 14542 return 1; 14543 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14544 { 14545 long int i = longval (); 14546 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14547 return 1; 14548 fprintf (f, "%ld\n", i); 14549 } 14550 else 14551 { 14552 unsigned long int i = ulongval (); 14553 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14554 return 1; 14555 fprintf (f, "%lu\n", i); 14556 } 14557 return ferror (f) || fclose (f) != 0; 14558 14559 ; 14560 return 0; 14561 } 14562 _ACEOF 14563 rm -f conftest$ac_exeext 14564 if { (ac_try="$ac_link" 14565 case "(($ac_try" in 14566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14567 *) ac_try_echo=$ac_try;; 14568 esac 14569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14570 (eval "$ac_link") 2>&5 14571 ac_status=$? 14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14574 { (case "(($ac_try" in 14575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14576 *) ac_try_echo=$ac_try;; 14577 esac 14578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14579 (eval "$ac_try") 2>&5 14580 ac_status=$? 14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14582 (exit $ac_status); }; }; then 14583 ac_cv_sizeof_int=`cat conftest.val` 14584 else 14585 echo "$as_me: program exited with status $ac_status" >&5 14586 echo "$as_me: failed program was:" >&5 14587 sed 's/^/| /' conftest.$ac_ext >&5 14588 14589 ( exit $ac_status ) 14590 if test "$ac_cv_type_int" = yes; then 14591 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14592 See \`config.log' for more details." >&5 14593 echo "$as_me: error: cannot compute sizeof (int) 14594 See \`config.log' for more details." >&2;} 14595 { (exit 77); exit 77; }; } 9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9210 $as_echo_n "checking size of int... " >&6; } 9211 if ${ac_cv_sizeof_int+:} false; then : 9212 $as_echo_n "(cached) " >&6 9213 else 9214 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9215 9216 else 9217 if test "$ac_cv_type_int" = yes; then 9218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9220 as_fn_error 77 "cannot compute sizeof (int) 9221 See \`config.log' for more details" "$LINENO" 5; } 14596 9222 else 14597 9223 ac_cv_sizeof_int=0 14598 9224 fi 14599 9225 fi 14600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14601 fi 14602 rm -f conftest.val 14603 fi 14604 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 14605 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 9226 9227 fi 9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9229 $as_echo "$ac_cv_sizeof_int" >&6; } 14606 9230 14607 9231 … … 14611 9235 _ACEOF 14612 9236 14613 14614 { echo "$as_me:$LINENO: checking for long" >&514615 echo $ECHO_N "checking for long... $ECHO_C" >&6; }14616 if test "${ac_cv_type_long+set}" = set; then14617 echo $ECHO_N "(cached) $ECHO_C" >&614618 else14619 cat >conftest.$ac_ext <<_ACEOF14620 /* confdefs.h. */14621 _ACEOF14622 cat confdefs.h >>conftest.$ac_ext14623 cat >>conftest.$ac_ext <<_ACEOF14624 /* end confdefs.h. */14625 $ac_includes_default14626 typedef long ac__type_new_;14627 int14628 main ()14629 {14630 if ((ac__type_new_ *) 0)14631 return 0;14632 if (sizeof (ac__type_new_))14633 return 0;14634 ;14635 return 0;14636 }14637 _ACEOF14638 rm -f conftest.$ac_objext14639 if { (ac_try="$ac_compile"14640 case "(($ac_try" in14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14642 *) ac_try_echo=$ac_try;;14643 esac14644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514645 (eval "$ac_compile") 2>conftest.er114646 ac_status=$?14647 grep -v '^ *+' conftest.er1 >conftest.err14648 rm -f conftest.er114649 cat conftest.err >&514650 echo "$as_me:$LINENO: \$? = $ac_status" >&514651 (exit $ac_status); } && {14652 test -z "$ac_cxx_werror_flag" ||14653 test ! -s conftest.err14654 } && test -s conftest.$ac_objext; then14655 ac_cv_type_long=yes14656 else14657 echo "$as_me: failed program was:" >&514658 sed 's/^/| /' conftest.$ac_ext >&514659 14660 ac_cv_type_long=no14661 fi14662 14663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14664 fi14665 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&514666 echo "${ECHO_T}$ac_cv_type_long" >&6; }14667 9237 14668 9238 # The cast to long int works around a bug in the HP C Compiler … … 14670 9240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14671 9241 # This bug is HP SR number 8606223364. 14672 { echo "$as_me:$LINENO: checking size of long" >&5 14673 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 14674 if test "${ac_cv_sizeof_long+set}" = set; then 14675 echo $ECHO_N "(cached) $ECHO_C" >&6 14676 else 14677 if test "$cross_compiling" = yes; then 14678 # Depending upon the size, compute the lo and hi bounds. 14679 cat >conftest.$ac_ext <<_ACEOF 14680 /* confdefs.h. */ 14681 _ACEOF 14682 cat confdefs.h >>conftest.$ac_ext 14683 cat >>conftest.$ac_ext <<_ACEOF 14684 /* end confdefs.h. */ 14685 $ac_includes_default 14686 typedef long ac__type_sizeof_; 14687 int 14688 main () 14689 { 14690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14691 test_array [0] = 0 14692 14693 ; 14694 return 0; 14695 } 14696 _ACEOF 14697 rm -f conftest.$ac_objext 14698 if { (ac_try="$ac_compile" 14699 case "(($ac_try" in 14700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14701 *) ac_try_echo=$ac_try;; 14702 esac 14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14704 (eval "$ac_compile") 2>conftest.er1 14705 ac_status=$? 14706 grep -v '^ *+' conftest.er1 >conftest.err 14707 rm -f conftest.er1 14708 cat conftest.err >&5 14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14710 (exit $ac_status); } && { 14711 test -z "$ac_cxx_werror_flag" || 14712 test ! -s conftest.err 14713 } && test -s conftest.$ac_objext; then 14714 ac_lo=0 ac_mid=0 14715 while :; do 14716 cat >conftest.$ac_ext <<_ACEOF 14717 /* confdefs.h. */ 14718 _ACEOF 14719 cat confdefs.h >>conftest.$ac_ext 14720 cat >>conftest.$ac_ext <<_ACEOF 14721 /* end confdefs.h. */ 14722 $ac_includes_default 14723 typedef long ac__type_sizeof_; 14724 int 14725 main () 14726 { 14727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14728 test_array [0] = 0 14729 14730 ; 14731 return 0; 14732 } 14733 _ACEOF 14734 rm -f conftest.$ac_objext 14735 if { (ac_try="$ac_compile" 14736 case "(($ac_try" in 14737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14738 *) ac_try_echo=$ac_try;; 14739 esac 14740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14741 (eval "$ac_compile") 2>conftest.er1 14742 ac_status=$? 14743 grep -v '^ *+' conftest.er1 >conftest.err 14744 rm -f conftest.er1 14745 cat conftest.err >&5 14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14747 (exit $ac_status); } && { 14748 test -z "$ac_cxx_werror_flag" || 14749 test ! -s conftest.err 14750 } && test -s conftest.$ac_objext; then 14751 ac_hi=$ac_mid; break 14752 else 14753 echo "$as_me: failed program was:" >&5 14754 sed 's/^/| /' conftest.$ac_ext >&5 14755 14756 ac_lo=`expr $ac_mid + 1` 14757 if test $ac_lo -le $ac_mid; then 14758 ac_lo= ac_hi= 14759 break 14760 fi 14761 ac_mid=`expr 2 '*' $ac_mid + 1` 14762 fi 14763 14764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14765 done 14766 else 14767 echo "$as_me: failed program was:" >&5 14768 sed 's/^/| /' conftest.$ac_ext >&5 14769 14770 cat >conftest.$ac_ext <<_ACEOF 14771 /* confdefs.h. */ 14772 _ACEOF 14773 cat confdefs.h >>conftest.$ac_ext 14774 cat >>conftest.$ac_ext <<_ACEOF 14775 /* end confdefs.h. */ 14776 $ac_includes_default 14777 typedef long ac__type_sizeof_; 14778 int 14779 main () 14780 { 14781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14782 test_array [0] = 0 14783 14784 ; 14785 return 0; 14786 } 14787 _ACEOF 14788 rm -f conftest.$ac_objext 14789 if { (ac_try="$ac_compile" 14790 case "(($ac_try" in 14791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14792 *) ac_try_echo=$ac_try;; 14793 esac 14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14795 (eval "$ac_compile") 2>conftest.er1 14796 ac_status=$? 14797 grep -v '^ *+' conftest.er1 >conftest.err 14798 rm -f conftest.er1 14799 cat conftest.err >&5 14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14801 (exit $ac_status); } && { 14802 test -z "$ac_cxx_werror_flag" || 14803 test ! -s conftest.err 14804 } && test -s conftest.$ac_objext; then 14805 ac_hi=-1 ac_mid=-1 14806 while :; do 14807 cat >conftest.$ac_ext <<_ACEOF 14808 /* confdefs.h. */ 14809 _ACEOF 14810 cat confdefs.h >>conftest.$ac_ext 14811 cat >>conftest.$ac_ext <<_ACEOF 14812 /* end confdefs.h. */ 14813 $ac_includes_default 14814 typedef long ac__type_sizeof_; 14815 int 14816 main () 14817 { 14818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14819 test_array [0] = 0 14820 14821 ; 14822 return 0; 14823 } 14824 _ACEOF 14825 rm -f conftest.$ac_objext 14826 if { (ac_try="$ac_compile" 14827 case "(($ac_try" in 14828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14829 *) ac_try_echo=$ac_try;; 14830 esac 14831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14832 (eval "$ac_compile") 2>conftest.er1 14833 ac_status=$? 14834 grep -v '^ *+' conftest.er1 >conftest.err 14835 rm -f conftest.er1 14836 cat conftest.err >&5 14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14838 (exit $ac_status); } && { 14839 test -z "$ac_cxx_werror_flag" || 14840 test ! -s conftest.err 14841 } && test -s conftest.$ac_objext; then 14842 ac_lo=$ac_mid; break 14843 else 14844 echo "$as_me: failed program was:" >&5 14845 sed 's/^/| /' conftest.$ac_ext >&5 14846 14847 ac_hi=`expr '(' $ac_mid ')' - 1` 14848 if test $ac_mid -le $ac_hi; then 14849 ac_lo= ac_hi= 14850 break 14851 fi 14852 ac_mid=`expr 2 '*' $ac_mid` 14853 fi 14854 14855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14856 done 14857 else 14858 echo "$as_me: failed program was:" >&5 14859 sed 's/^/| /' conftest.$ac_ext >&5 14860 14861 ac_lo= ac_hi= 14862 fi 14863 14864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14865 fi 14866 14867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14868 # Binary search between lo and hi bounds. 14869 while test "x$ac_lo" != "x$ac_hi"; do 14870 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14871 cat >conftest.$ac_ext <<_ACEOF 14872 /* confdefs.h. */ 14873 _ACEOF 14874 cat confdefs.h >>conftest.$ac_ext 14875 cat >>conftest.$ac_ext <<_ACEOF 14876 /* end confdefs.h. */ 14877 $ac_includes_default 14878 typedef long ac__type_sizeof_; 14879 int 14880 main () 14881 { 14882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14883 test_array [0] = 0 14884 14885 ; 14886 return 0; 14887 } 14888 _ACEOF 14889 rm -f conftest.$ac_objext 14890 if { (ac_try="$ac_compile" 14891 case "(($ac_try" in 14892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14893 *) ac_try_echo=$ac_try;; 14894 esac 14895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14896 (eval "$ac_compile") 2>conftest.er1 14897 ac_status=$? 14898 grep -v '^ *+' conftest.er1 >conftest.err 14899 rm -f conftest.er1 14900 cat conftest.err >&5 14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14902 (exit $ac_status); } && { 14903 test -z "$ac_cxx_werror_flag" || 14904 test ! -s conftest.err 14905 } && test -s conftest.$ac_objext; then 14906 ac_hi=$ac_mid 14907 else 14908 echo "$as_me: failed program was:" >&5 14909 sed 's/^/| /' conftest.$ac_ext >&5 14910 14911 ac_lo=`expr '(' $ac_mid ')' + 1` 14912 fi 14913 14914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14915 done 14916 case $ac_lo in 14917 ?*) ac_cv_sizeof_long=$ac_lo;; 14918 '') if test "$ac_cv_type_long" = yes; then 14919 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14920 See \`config.log' for more details." >&5 14921 echo "$as_me: error: cannot compute sizeof (long) 14922 See \`config.log' for more details." >&2;} 14923 { (exit 77); exit 77; }; } 14924 else 14925 ac_cv_sizeof_long=0 14926 fi ;; 14927 esac 14928 else 14929 cat >conftest.$ac_ext <<_ACEOF 14930 /* confdefs.h. */ 14931 _ACEOF 14932 cat confdefs.h >>conftest.$ac_ext 14933 cat >>conftest.$ac_ext <<_ACEOF 14934 /* end confdefs.h. */ 14935 $ac_includes_default 14936 typedef long ac__type_sizeof_; 14937 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14938 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14939 #include <stdio.h> 14940 #include <stdlib.h> 14941 int 14942 main () 14943 { 14944 14945 FILE *f = fopen ("conftest.val", "w"); 14946 if (! f) 14947 return 1; 14948 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14949 { 14950 long int i = longval (); 14951 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14952 return 1; 14953 fprintf (f, "%ld\n", i); 14954 } 14955 else 14956 { 14957 unsigned long int i = ulongval (); 14958 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14959 return 1; 14960 fprintf (f, "%lu\n", i); 14961 } 14962 return ferror (f) || fclose (f) != 0; 14963 14964 ; 14965 return 0; 14966 } 14967 _ACEOF 14968 rm -f conftest$ac_exeext 14969 if { (ac_try="$ac_link" 14970 case "(($ac_try" in 14971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14972 *) ac_try_echo=$ac_try;; 14973 esac 14974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14975 (eval "$ac_link") 2>&5 14976 ac_status=$? 14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14979 { (case "(($ac_try" in 14980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14981 *) ac_try_echo=$ac_try;; 14982 esac 14983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14984 (eval "$ac_try") 2>&5 14985 ac_status=$? 14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14987 (exit $ac_status); }; }; then 14988 ac_cv_sizeof_long=`cat conftest.val` 14989 else 14990 echo "$as_me: program exited with status $ac_status" >&5 14991 echo "$as_me: failed program was:" >&5 14992 sed 's/^/| /' conftest.$ac_ext >&5 14993 14994 ( exit $ac_status ) 14995 if test "$ac_cv_type_long" = yes; then 14996 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14997 See \`config.log' for more details." >&5 14998 echo "$as_me: error: cannot compute sizeof (long) 14999 See \`config.log' for more details." >&2;} 15000 { (exit 77); exit 77; }; } 9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9243 $as_echo_n "checking size of long... " >&6; } 9244 if ${ac_cv_sizeof_long+:} false; then : 9245 $as_echo_n "(cached) " >&6 9246 else 9247 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9248 9249 else 9250 if test "$ac_cv_type_long" = yes; then 9251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9253 as_fn_error 77 "cannot compute sizeof (long) 9254 See \`config.log' for more details" "$LINENO" 5; } 15001 9255 else 15002 9256 ac_cv_sizeof_long=0 15003 9257 fi 15004 9258 fi 15005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15006 fi 15007 rm -f conftest.val 15008 fi 15009 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 15010 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 9259 9260 fi 9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9262 $as_echo "$ac_cv_sizeof_long" >&6; } 15011 9263 15012 9264 … … 15016 9268 _ACEOF 15017 9269 15018 15019 { echo "$as_me:$LINENO: checking for long long" >&515020 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }15021 if test "${ac_cv_type_long_long+set}" = set; then15022 echo $ECHO_N "(cached) $ECHO_C" >&615023 else15024 cat >conftest.$ac_ext <<_ACEOF15025 /* confdefs.h. */15026 _ACEOF15027 cat confdefs.h >>conftest.$ac_ext15028 cat >>conftest.$ac_ext <<_ACEOF15029 /* end confdefs.h. */15030 $ac_includes_default15031 typedef long long ac__type_new_;15032 int15033 main ()15034 {15035 if ((ac__type_new_ *) 0)15036 return 0;15037 if (sizeof (ac__type_new_))15038 return 0;15039 ;15040 return 0;15041 }15042 _ACEOF15043 rm -f conftest.$ac_objext15044 if { (ac_try="$ac_compile"15045 case "(($ac_try" in15046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15047 *) ac_try_echo=$ac_try;;15048 esac15049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515050 (eval "$ac_compile") 2>conftest.er115051 ac_status=$?15052 grep -v '^ *+' conftest.er1 >conftest.err15053 rm -f conftest.er115054 cat conftest.err >&515055 echo "$as_me:$LINENO: \$? = $ac_status" >&515056 (exit $ac_status); } && {15057 test -z "$ac_cxx_werror_flag" ||15058 test ! -s conftest.err15059 } && test -s conftest.$ac_objext; then15060 ac_cv_type_long_long=yes15061 else15062 echo "$as_me: failed program was:" >&515063 sed 's/^/| /' conftest.$ac_ext >&515064 15065 ac_cv_type_long_long=no15066 fi15067 15068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15069 fi15070 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&515071 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }15072 9270 15073 9271 # The cast to long int works around a bug in the HP C Compiler … … 15075 9273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15076 9274 # This bug is HP SR number 8606223364. 15077 { echo "$as_me:$LINENO: checking size of long long" >&5 15078 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 15079 if test "${ac_cv_sizeof_long_long+set}" = set; then 15080 echo $ECHO_N "(cached) $ECHO_C" >&6 15081 else 15082 if test "$cross_compiling" = yes; then 15083 # Depending upon the size, compute the lo and hi bounds. 15084 cat >conftest.$ac_ext <<_ACEOF 15085 /* confdefs.h. */ 15086 _ACEOF 15087 cat confdefs.h >>conftest.$ac_ext 15088 cat >>conftest.$ac_ext <<_ACEOF 15089 /* end confdefs.h. */ 15090 $ac_includes_default 15091 typedef long long ac__type_sizeof_; 15092 int 15093 main () 15094 { 15095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15096 test_array [0] = 0 15097 15098 ; 15099 return 0; 15100 } 15101 _ACEOF 15102 rm -f conftest.$ac_objext 15103 if { (ac_try="$ac_compile" 15104 case "(($ac_try" in 15105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15106 *) ac_try_echo=$ac_try;; 15107 esac 15108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15109 (eval "$ac_compile") 2>conftest.er1 15110 ac_status=$? 15111 grep -v '^ *+' conftest.er1 >conftest.err 15112 rm -f conftest.er1 15113 cat conftest.err >&5 15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15115 (exit $ac_status); } && { 15116 test -z "$ac_cxx_werror_flag" || 15117 test ! -s conftest.err 15118 } && test -s conftest.$ac_objext; then 15119 ac_lo=0 ac_mid=0 15120 while :; do 15121 cat >conftest.$ac_ext <<_ACEOF 15122 /* confdefs.h. */ 15123 _ACEOF 15124 cat confdefs.h >>conftest.$ac_ext 15125 cat >>conftest.$ac_ext <<_ACEOF 15126 /* end confdefs.h. */ 15127 $ac_includes_default 15128 typedef long long ac__type_sizeof_; 15129 int 15130 main () 15131 { 15132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15133 test_array [0] = 0 15134 15135 ; 15136 return 0; 15137 } 15138 _ACEOF 15139 rm -f conftest.$ac_objext 15140 if { (ac_try="$ac_compile" 15141 case "(($ac_try" in 15142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15143 *) ac_try_echo=$ac_try;; 15144 esac 15145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15146 (eval "$ac_compile") 2>conftest.er1 15147 ac_status=$? 15148 grep -v '^ *+' conftest.er1 >conftest.err 15149 rm -f conftest.er1 15150 cat conftest.err >&5 15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15152 (exit $ac_status); } && { 15153 test -z "$ac_cxx_werror_flag" || 15154 test ! -s conftest.err 15155 } && test -s conftest.$ac_objext; then 15156 ac_hi=$ac_mid; break 15157 else 15158 echo "$as_me: failed program was:" >&5 15159 sed 's/^/| /' conftest.$ac_ext >&5 15160 15161 ac_lo=`expr $ac_mid + 1` 15162 if test $ac_lo -le $ac_mid; then 15163 ac_lo= ac_hi= 15164 break 15165 fi 15166 ac_mid=`expr 2 '*' $ac_mid + 1` 15167 fi 15168 15169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15170 done 15171 else 15172 echo "$as_me: failed program was:" >&5 15173 sed 's/^/| /' conftest.$ac_ext >&5 15174 15175 cat >conftest.$ac_ext <<_ACEOF 15176 /* confdefs.h. */ 15177 _ACEOF 15178 cat confdefs.h >>conftest.$ac_ext 15179 cat >>conftest.$ac_ext <<_ACEOF 15180 /* end confdefs.h. */ 15181 $ac_includes_default 15182 typedef long long ac__type_sizeof_; 15183 int 15184 main () 15185 { 15186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15187 test_array [0] = 0 15188 15189 ; 15190 return 0; 15191 } 15192 _ACEOF 15193 rm -f conftest.$ac_objext 15194 if { (ac_try="$ac_compile" 15195 case "(($ac_try" in 15196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15197 *) ac_try_echo=$ac_try;; 15198 esac 15199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15200 (eval "$ac_compile") 2>conftest.er1 15201 ac_status=$? 15202 grep -v '^ *+' conftest.er1 >conftest.err 15203 rm -f conftest.er1 15204 cat conftest.err >&5 15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15206 (exit $ac_status); } && { 15207 test -z "$ac_cxx_werror_flag" || 15208 test ! -s conftest.err 15209 } && test -s conftest.$ac_objext; then 15210 ac_hi=-1 ac_mid=-1 15211 while :; do 15212 cat >conftest.$ac_ext <<_ACEOF 15213 /* confdefs.h. */ 15214 _ACEOF 15215 cat confdefs.h >>conftest.$ac_ext 15216 cat >>conftest.$ac_ext <<_ACEOF 15217 /* end confdefs.h. */ 15218 $ac_includes_default 15219 typedef long long ac__type_sizeof_; 15220 int 15221 main () 15222 { 15223 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15224 test_array [0] = 0 15225 15226 ; 15227 return 0; 15228 } 15229 _ACEOF 15230 rm -f conftest.$ac_objext 15231 if { (ac_try="$ac_compile" 15232 case "(($ac_try" in 15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15234 *) ac_try_echo=$ac_try;; 15235 esac 15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15237 (eval "$ac_compile") 2>conftest.er1 15238 ac_status=$? 15239 grep -v '^ *+' conftest.er1 >conftest.err 15240 rm -f conftest.er1 15241 cat conftest.err >&5 15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15243 (exit $ac_status); } && { 15244 test -z "$ac_cxx_werror_flag" || 15245 test ! -s conftest.err 15246 } && test -s conftest.$ac_objext; then 15247 ac_lo=$ac_mid; break 15248 else 15249 echo "$as_me: failed program was:" >&5 15250 sed 's/^/| /' conftest.$ac_ext >&5 15251 15252 ac_hi=`expr '(' $ac_mid ')' - 1` 15253 if test $ac_mid -le $ac_hi; then 15254 ac_lo= ac_hi= 15255 break 15256 fi 15257 ac_mid=`expr 2 '*' $ac_mid` 15258 fi 15259 15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15261 done 15262 else 15263 echo "$as_me: failed program was:" >&5 15264 sed 's/^/| /' conftest.$ac_ext >&5 15265 15266 ac_lo= ac_hi= 15267 fi 15268 15269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15270 fi 15271 15272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15273 # Binary search between lo and hi bounds. 15274 while test "x$ac_lo" != "x$ac_hi"; do 15275 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15276 cat >conftest.$ac_ext <<_ACEOF 15277 /* confdefs.h. */ 15278 _ACEOF 15279 cat confdefs.h >>conftest.$ac_ext 15280 cat >>conftest.$ac_ext <<_ACEOF 15281 /* end confdefs.h. */ 15282 $ac_includes_default 15283 typedef long long ac__type_sizeof_; 15284 int 15285 main () 15286 { 15287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15288 test_array [0] = 0 15289 15290 ; 15291 return 0; 15292 } 15293 _ACEOF 15294 rm -f conftest.$ac_objext 15295 if { (ac_try="$ac_compile" 15296 case "(($ac_try" in 15297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15298 *) ac_try_echo=$ac_try;; 15299 esac 15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15301 (eval "$ac_compile") 2>conftest.er1 15302 ac_status=$? 15303 grep -v '^ *+' conftest.er1 >conftest.err 15304 rm -f conftest.er1 15305 cat conftest.err >&5 15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15307 (exit $ac_status); } && { 15308 test -z "$ac_cxx_werror_flag" || 15309 test ! -s conftest.err 15310 } && test -s conftest.$ac_objext; then 15311 ac_hi=$ac_mid 15312 else 15313 echo "$as_me: failed program was:" >&5 15314 sed 's/^/| /' conftest.$ac_ext >&5 15315 15316 ac_lo=`expr '(' $ac_mid ')' + 1` 15317 fi 15318 15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15320 done 15321 case $ac_lo in 15322 ?*) ac_cv_sizeof_long_long=$ac_lo;; 15323 '') if test "$ac_cv_type_long_long" = yes; then 15324 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15325 See \`config.log' for more details." >&5 15326 echo "$as_me: error: cannot compute sizeof (long long) 15327 See \`config.log' for more details." >&2;} 15328 { (exit 77); exit 77; }; } 15329 else 15330 ac_cv_sizeof_long_long=0 15331 fi ;; 15332 esac 15333 else 15334 cat >conftest.$ac_ext <<_ACEOF 15335 /* confdefs.h. */ 15336 _ACEOF 15337 cat confdefs.h >>conftest.$ac_ext 15338 cat >>conftest.$ac_ext <<_ACEOF 15339 /* end confdefs.h. */ 15340 $ac_includes_default 15341 typedef long long ac__type_sizeof_; 15342 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15343 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15344 #include <stdio.h> 15345 #include <stdlib.h> 15346 int 15347 main () 15348 { 15349 15350 FILE *f = fopen ("conftest.val", "w"); 15351 if (! f) 15352 return 1; 15353 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15354 { 15355 long int i = longval (); 15356 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15357 return 1; 15358 fprintf (f, "%ld\n", i); 15359 } 15360 else 15361 { 15362 unsigned long int i = ulongval (); 15363 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15364 return 1; 15365 fprintf (f, "%lu\n", i); 15366 } 15367 return ferror (f) || fclose (f) != 0; 15368 15369 ; 15370 return 0; 15371 } 15372 _ACEOF 15373 rm -f conftest$ac_exeext 15374 if { (ac_try="$ac_link" 15375 case "(($ac_try" in 15376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15377 *) ac_try_echo=$ac_try;; 15378 esac 15379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15380 (eval "$ac_link") 2>&5 15381 ac_status=$? 15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15384 { (case "(($ac_try" in 15385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15386 *) ac_try_echo=$ac_try;; 15387 esac 15388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15389 (eval "$ac_try") 2>&5 15390 ac_status=$? 15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15392 (exit $ac_status); }; }; then 15393 ac_cv_sizeof_long_long=`cat conftest.val` 15394 else 15395 echo "$as_me: program exited with status $ac_status" >&5 15396 echo "$as_me: failed program was:" >&5 15397 sed 's/^/| /' conftest.$ac_ext >&5 15398 15399 ( exit $ac_status ) 15400 if test "$ac_cv_type_long_long" = yes; then 15401 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15402 See \`config.log' for more details." >&5 15403 echo "$as_me: error: cannot compute sizeof (long long) 15404 See \`config.log' for more details." >&2;} 15405 { (exit 77); exit 77; }; } 9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 9276 $as_echo_n "checking size of long long... " >&6; } 9277 if ${ac_cv_sizeof_long_long+:} false; then : 9278 $as_echo_n "(cached) " >&6 9279 else 9280 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9281 9282 else 9283 if test "$ac_cv_type_long_long" = yes; then 9284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9286 as_fn_error 77 "cannot compute sizeof (long long) 9287 See \`config.log' for more details" "$LINENO" 5; } 15406 9288 else 15407 9289 ac_cv_sizeof_long_long=0 15408 9290 fi 15409 9291 fi 15410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15411 fi 15412 rm -f conftest.val 15413 fi 15414 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 15415 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 9292 9293 fi 9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 9295 $as_echo "$ac_cv_sizeof_long_long" >&6; } 15416 9296 15417 9297 … … 15421 9301 _ACEOF 15422 9302 15423 15424 { echo "$as_me:$LINENO: checking for void *" >&515425 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }15426 if test "${ac_cv_type_void_p+set}" = set; then15427 echo $ECHO_N "(cached) $ECHO_C" >&615428 else15429 cat >conftest.$ac_ext <<_ACEOF15430 /* confdefs.h. */15431 _ACEOF15432 cat confdefs.h >>conftest.$ac_ext15433 cat >>conftest.$ac_ext <<_ACEOF15434 /* end confdefs.h. */15435 $ac_includes_default15436 typedef void * ac__type_new_;15437 int15438 main ()15439 {15440 if ((ac__type_new_ *) 0)15441 return 0;15442 if (sizeof (ac__type_new_))15443 return 0;15444 ;15445 return 0;15446 }15447 _ACEOF15448 rm -f conftest.$ac_objext15449 if { (ac_try="$ac_compile"15450 case "(($ac_try" in15451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15452 *) ac_try_echo=$ac_try;;15453 esac15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515455 (eval "$ac_compile") 2>conftest.er115456 ac_status=$?15457 grep -v '^ *+' conftest.er1 >conftest.err15458 rm -f conftest.er115459 cat conftest.err >&515460 echo "$as_me:$LINENO: \$? = $ac_status" >&515461 (exit $ac_status); } && {15462 test -z "$ac_cxx_werror_flag" ||15463 test ! -s conftest.err15464 } && test -s conftest.$ac_objext; then15465 ac_cv_type_void_p=yes15466 else15467 echo "$as_me: failed program was:" >&515468 sed 's/^/| /' conftest.$ac_ext >&515469 15470 ac_cv_type_void_p=no15471 fi15472 15473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15474 fi15475 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&515476 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }15477 9303 15478 9304 # The cast to long int works around a bug in the HP C Compiler … … 15480 9306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15481 9307 # This bug is HP SR number 8606223364. 15482 { echo "$as_me:$LINENO: checking size of void *" >&5 15483 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 15484 if test "${ac_cv_sizeof_void_p+set}" = set; then 15485 echo $ECHO_N "(cached) $ECHO_C" >&6 15486 else 15487 if test "$cross_compiling" = yes; then 15488 # Depending upon the size, compute the lo and hi bounds. 15489 cat >conftest.$ac_ext <<_ACEOF 15490 /* confdefs.h. */ 15491 _ACEOF 15492 cat confdefs.h >>conftest.$ac_ext 15493 cat >>conftest.$ac_ext <<_ACEOF 15494 /* end confdefs.h. */ 15495 $ac_includes_default 15496 typedef void * ac__type_sizeof_; 15497 int 15498 main () 15499 { 15500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15501 test_array [0] = 0 15502 15503 ; 15504 return 0; 15505 } 15506 _ACEOF 15507 rm -f conftest.$ac_objext 15508 if { (ac_try="$ac_compile" 15509 case "(($ac_try" in 15510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15511 *) ac_try_echo=$ac_try;; 15512 esac 15513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15514 (eval "$ac_compile") 2>conftest.er1 15515 ac_status=$? 15516 grep -v '^ *+' conftest.er1 >conftest.err 15517 rm -f conftest.er1 15518 cat conftest.err >&5 15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15520 (exit $ac_status); } && { 15521 test -z "$ac_cxx_werror_flag" || 15522 test ! -s conftest.err 15523 } && test -s conftest.$ac_objext; then 15524 ac_lo=0 ac_mid=0 15525 while :; do 15526 cat >conftest.$ac_ext <<_ACEOF 15527 /* confdefs.h. */ 15528 _ACEOF 15529 cat confdefs.h >>conftest.$ac_ext 15530 cat >>conftest.$ac_ext <<_ACEOF 15531 /* end confdefs.h. */ 15532 $ac_includes_default 15533 typedef void * ac__type_sizeof_; 15534 int 15535 main () 15536 { 15537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15538 test_array [0] = 0 15539 15540 ; 15541 return 0; 15542 } 15543 _ACEOF 15544 rm -f conftest.$ac_objext 15545 if { (ac_try="$ac_compile" 15546 case "(($ac_try" in 15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15548 *) ac_try_echo=$ac_try;; 15549 esac 15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15551 (eval "$ac_compile") 2>conftest.er1 15552 ac_status=$? 15553 grep -v '^ *+' conftest.er1 >conftest.err 15554 rm -f conftest.er1 15555 cat conftest.err >&5 15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15557 (exit $ac_status); } && { 15558 test -z "$ac_cxx_werror_flag" || 15559 test ! -s conftest.err 15560 } && test -s conftest.$ac_objext; then 15561 ac_hi=$ac_mid; break 15562 else 15563 echo "$as_me: failed program was:" >&5 15564 sed 's/^/| /' conftest.$ac_ext >&5 15565 15566 ac_lo=`expr $ac_mid + 1` 15567 if test $ac_lo -le $ac_mid; then 15568 ac_lo= ac_hi= 15569 break 15570 fi 15571 ac_mid=`expr 2 '*' $ac_mid + 1` 15572 fi 15573 15574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15575 done 15576 else 15577 echo "$as_me: failed program was:" >&5 15578 sed 's/^/| /' conftest.$ac_ext >&5 15579 15580 cat >conftest.$ac_ext <<_ACEOF 15581 /* confdefs.h. */ 15582 _ACEOF 15583 cat confdefs.h >>conftest.$ac_ext 15584 cat >>conftest.$ac_ext <<_ACEOF 15585 /* end confdefs.h. */ 15586 $ac_includes_default 15587 typedef void * ac__type_sizeof_; 15588 int 15589 main () 15590 { 15591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15592 test_array [0] = 0 15593 15594 ; 15595 return 0; 15596 } 15597 _ACEOF 15598 rm -f conftest.$ac_objext 15599 if { (ac_try="$ac_compile" 15600 case "(($ac_try" in 15601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15602 *) ac_try_echo=$ac_try;; 15603 esac 15604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15605 (eval "$ac_compile") 2>conftest.er1 15606 ac_status=$? 15607 grep -v '^ *+' conftest.er1 >conftest.err 15608 rm -f conftest.er1 15609 cat conftest.err >&5 15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15611 (exit $ac_status); } && { 15612 test -z "$ac_cxx_werror_flag" || 15613 test ! -s conftest.err 15614 } && test -s conftest.$ac_objext; then 15615 ac_hi=-1 ac_mid=-1 15616 while :; do 15617 cat >conftest.$ac_ext <<_ACEOF 15618 /* confdefs.h. */ 15619 _ACEOF 15620 cat confdefs.h >>conftest.$ac_ext 15621 cat >>conftest.$ac_ext <<_ACEOF 15622 /* end confdefs.h. */ 15623 $ac_includes_default 15624 typedef void * ac__type_sizeof_; 15625 int 15626 main () 15627 { 15628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15629 test_array [0] = 0 15630 15631 ; 15632 return 0; 15633 } 15634 _ACEOF 15635 rm -f conftest.$ac_objext 15636 if { (ac_try="$ac_compile" 15637 case "(($ac_try" in 15638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15639 *) ac_try_echo=$ac_try;; 15640 esac 15641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15642 (eval "$ac_compile") 2>conftest.er1 15643 ac_status=$? 15644 grep -v '^ *+' conftest.er1 >conftest.err 15645 rm -f conftest.er1 15646 cat conftest.err >&5 15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15648 (exit $ac_status); } && { 15649 test -z "$ac_cxx_werror_flag" || 15650 test ! -s conftest.err 15651 } && test -s conftest.$ac_objext; then 15652 ac_lo=$ac_mid; break 15653 else 15654 echo "$as_me: failed program was:" >&5 15655 sed 's/^/| /' conftest.$ac_ext >&5 15656 15657 ac_hi=`expr '(' $ac_mid ')' - 1` 15658 if test $ac_mid -le $ac_hi; then 15659 ac_lo= ac_hi= 15660 break 15661 fi 15662 ac_mid=`expr 2 '*' $ac_mid` 15663 fi 15664 15665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15666 done 15667 else 15668 echo "$as_me: failed program was:" >&5 15669 sed 's/^/| /' conftest.$ac_ext >&5 15670 15671 ac_lo= ac_hi= 15672 fi 15673 15674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15675 fi 15676 15677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15678 # Binary search between lo and hi bounds. 15679 while test "x$ac_lo" != "x$ac_hi"; do 15680 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15681 cat >conftest.$ac_ext <<_ACEOF 15682 /* confdefs.h. */ 15683 _ACEOF 15684 cat confdefs.h >>conftest.$ac_ext 15685 cat >>conftest.$ac_ext <<_ACEOF 15686 /* end confdefs.h. */ 15687 $ac_includes_default 15688 typedef void * ac__type_sizeof_; 15689 int 15690 main () 15691 { 15692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15693 test_array [0] = 0 15694 15695 ; 15696 return 0; 15697 } 15698 _ACEOF 15699 rm -f conftest.$ac_objext 15700 if { (ac_try="$ac_compile" 15701 case "(($ac_try" in 15702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15703 *) ac_try_echo=$ac_try;; 15704 esac 15705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15706 (eval "$ac_compile") 2>conftest.er1 15707 ac_status=$? 15708 grep -v '^ *+' conftest.er1 >conftest.err 15709 rm -f conftest.er1 15710 cat conftest.err >&5 15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15712 (exit $ac_status); } && { 15713 test -z "$ac_cxx_werror_flag" || 15714 test ! -s conftest.err 15715 } && test -s conftest.$ac_objext; then 15716 ac_hi=$ac_mid 15717 else 15718 echo "$as_me: failed program was:" >&5 15719 sed 's/^/| /' conftest.$ac_ext >&5 15720 15721 ac_lo=`expr '(' $ac_mid ')' + 1` 15722 fi 15723 15724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15725 done 15726 case $ac_lo in 15727 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15728 '') if test "$ac_cv_type_void_p" = yes; then 15729 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15730 See \`config.log' for more details." >&5 15731 echo "$as_me: error: cannot compute sizeof (void *) 15732 See \`config.log' for more details." >&2;} 15733 { (exit 77); exit 77; }; } 15734 else 15735 ac_cv_sizeof_void_p=0 15736 fi ;; 15737 esac 15738 else 15739 cat >conftest.$ac_ext <<_ACEOF 15740 /* confdefs.h. */ 15741 _ACEOF 15742 cat confdefs.h >>conftest.$ac_ext 15743 cat >>conftest.$ac_ext <<_ACEOF 15744 /* end confdefs.h. */ 15745 $ac_includes_default 15746 typedef void * ac__type_sizeof_; 15747 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15748 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15749 #include <stdio.h> 15750 #include <stdlib.h> 15751 int 15752 main () 15753 { 15754 15755 FILE *f = fopen ("conftest.val", "w"); 15756 if (! f) 15757 return 1; 15758 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15759 { 15760 long int i = longval (); 15761 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15762 return 1; 15763 fprintf (f, "%ld\n", i); 15764 } 15765 else 15766 { 15767 unsigned long int i = ulongval (); 15768 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15769 return 1; 15770 fprintf (f, "%lu\n", i); 15771 } 15772 return ferror (f) || fclose (f) != 0; 15773 15774 ; 15775 return 0; 15776 } 15777 _ACEOF 15778 rm -f conftest$ac_exeext 15779 if { (ac_try="$ac_link" 15780 case "(($ac_try" in 15781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15782 *) ac_try_echo=$ac_try;; 15783 esac 15784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15785 (eval "$ac_link") 2>&5 15786 ac_status=$? 15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15789 { (case "(($ac_try" in 15790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15791 *) ac_try_echo=$ac_try;; 15792 esac 15793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15794 (eval "$ac_try") 2>&5 15795 ac_status=$? 15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15797 (exit $ac_status); }; }; then 15798 ac_cv_sizeof_void_p=`cat conftest.val` 15799 else 15800 echo "$as_me: program exited with status $ac_status" >&5 15801 echo "$as_me: failed program was:" >&5 15802 sed 's/^/| /' conftest.$ac_ext >&5 15803 15804 ( exit $ac_status ) 15805 if test "$ac_cv_type_void_p" = yes; then 15806 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15807 See \`config.log' for more details." >&5 15808 echo "$as_me: error: cannot compute sizeof (void *) 15809 See \`config.log' for more details." >&2;} 15810 { (exit 77); exit 77; }; } 9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 9309 $as_echo_n "checking size of void *... " >&6; } 9310 if ${ac_cv_sizeof_void_p+:} false; then : 9311 $as_echo_n "(cached) " >&6 9312 else 9313 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9314 9315 else 9316 if test "$ac_cv_type_void_p" = yes; then 9317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9319 as_fn_error 77 "cannot compute sizeof (void *) 9320 See \`config.log' for more details" "$LINENO" 5; } 15811 9321 else 15812 9322 ac_cv_sizeof_void_p=0 15813 9323 fi 15814 9324 fi 15815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15816 fi 15817 rm -f conftest.val 15818 fi 15819 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15820 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 9325 9326 fi 9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 9328 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15821 9329 15822 9330 … … 15844 9352 15845 9353 15846 { echo "$as_me:$LINENO: checking for build with symbols" >&515847 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 9355 $as_echo_n "checking for build with symbols... " >&6; } 15848 9356 # Check whether --enable-symbols was given. 15849 if test "${enable_symbols+set}" = set; then 9357 if test "${enable_symbols+set}" = set; then : 15850 9358 enableval=$enable_symbols; tcl_ok=$enableval 15851 9359 else … … 15858 9366 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 15859 9367 DBGX="" 15860 { echo "$as_me:$LINENO: result: no" >&515861 echo "${ECHO_T}no" >&6; }9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9369 $as_echo "no" >&6; } 15862 9370 else 15863 9371 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 15865 9373 DBGX=g 15866 9374 if test "$tcl_ok" = "yes"; then 15867 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&515868 echo "${ECHO_T}yes (standard debugging)" >&6; }9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 9376 $as_echo "yes (standard debugging)" >&6; } 15869 9377 fi 15870 9378 fi … … 15873 9381 15874 9382 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 15875 cat >>confdefs.h <<\_ACEOF 15876 #define TCL_MEM_DEBUG 1 15877 _ACEOF 9383 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15878 9384 15879 9385 fi 15880 9386 15881 9387 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 15882 cat >>confdefs.h <<\_ACEOF 15883 #define TCL_COMPILE_DEBUG 1 15884 _ACEOF 15885 15886 cat >>confdefs.h <<\_ACEOF 15887 #define TCL_COMPILE_STATS 1 15888 _ACEOF 9388 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9389 9390 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15889 9391 15890 9392 fi … … 15892 9394 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 15893 9395 if test "$tcl_ok" = "all"; then 15894 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&515895 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 9397 $as_echo "enabled symbols mem compile debugging" >&6; } 15896 9398 else 15897 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&515898 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 9400 $as_echo "enabled $tcl_ok debugging" >&6; } 15899 9401 fi 15900 9402 fi … … 15906 9408 #-------------------------------------------------------------------- 15907 9409 15908 15909 9410 for ac_header in ffmpeg/avcodec.h 15910 do 15911 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15912 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15915 echo $ECHO_N "(cached) $ECHO_C" >&6 15916 else 15917 cat >conftest.$ac_ext <<_ACEOF 15918 /* confdefs.h. */ 15919 _ACEOF 15920 cat confdefs.h >>conftest.$ac_ext 15921 cat >>conftest.$ac_ext <<_ACEOF 15922 /* end confdefs.h. */ 15923 #define __STDC_CONSTANT_MACROS 1 9411 do : 9412 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avcodec.h" "ac_cv_header_ffmpeg_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15924 9413 #ifdef HAVE_FFMPEG_AVCODEC_H 15925 9414 # include <ffmpeg/avcodec.h> 15926 9415 #endif 15927 9416 15928 15929 #include <$ac_header> 15930 _ACEOF 15931 rm -f conftest.$ac_objext 15932 if { (ac_try="$ac_compile" 15933 case "(($ac_try" in 15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15935 *) ac_try_echo=$ac_try;; 15936 esac 15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15938 (eval "$ac_compile") 2>conftest.er1 15939 ac_status=$? 15940 grep -v '^ *+' conftest.er1 >conftest.err 15941 rm -f conftest.er1 15942 cat conftest.err >&5 15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15944 (exit $ac_status); } && { 15945 test -z "$ac_cxx_werror_flag" || 15946 test ! -s conftest.err 15947 } && test -s conftest.$ac_objext; then 15948 eval "$as_ac_Header=yes" 15949 else 15950 echo "$as_me: failed program was:" >&5 15951 sed 's/^/| /' conftest.$ac_ext >&5 15952 15953 eval "$as_ac_Header=no" 15954 fi 15955 15956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15957 fi 15958 ac_res=`eval echo '${'$as_ac_Header'}'` 15959 { echo "$as_me:$LINENO: result: $ac_res" >&5 15960 echo "${ECHO_T}$ac_res" >&6; } 15961 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9417 " 9418 if test "x$ac_cv_header_ffmpeg_avcodec_h" = xyes; then : 15962 9419 cat >>confdefs.h <<_ACEOF 15963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15964 _ACEOF 15965 15966 fi 15967 15968 done 15969 9420 #define HAVE_FFMPEG_AVCODEC_H 1 9421 _ACEOF 9422 9423 fi 9424 9425 done 15970 9426 15971 9427 15972 9428 for ac_header in libavcodec/avcodec.h 15973 do 15974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15975 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15978 echo $ECHO_N "(cached) $ECHO_C" >&6 15979 else 15980 cat >conftest.$ac_ext <<_ACEOF 15981 /* confdefs.h. */ 15982 _ACEOF 15983 cat confdefs.h >>conftest.$ac_ext 15984 cat >>conftest.$ac_ext <<_ACEOF 15985 /* end confdefs.h. */ 15986 #define __STDC_CONSTANT_MACROS 1 9429 do : 9430 ac_fn_cxx_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15987 9431 #ifdef HAVE_LIBAVCODEC_AVCODEC_H 15988 9432 # include <libavcodec/avcodec.h> 15989 9433 #endif 15990 9434 15991 15992 #include <$ac_header> 15993 _ACEOF 15994 rm -f conftest.$ac_objext 15995 if { (ac_try="$ac_compile" 15996 case "(($ac_try" in 15997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15998 *) ac_try_echo=$ac_try;; 15999 esac 16000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16001 (eval "$ac_compile") 2>conftest.er1 16002 ac_status=$? 16003 grep -v '^ *+' conftest.er1 >conftest.err 16004 rm -f conftest.er1 16005 cat conftest.err >&5 16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16007 (exit $ac_status); } && { 16008 test -z "$ac_cxx_werror_flag" || 16009 test ! -s conftest.err 16010 } && test -s conftest.$ac_objext; then 16011 eval "$as_ac_Header=yes" 16012 else 16013 echo "$as_me: failed program was:" >&5 16014 sed 's/^/| /' conftest.$ac_ext >&5 16015 16016 eval "$as_ac_Header=no" 16017 fi 16018 16019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16020 fi 16021 ac_res=`eval echo '${'$as_ac_Header'}'` 16022 { echo "$as_me:$LINENO: result: $ac_res" >&5 16023 echo "${ECHO_T}$ac_res" >&6; } 16024 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9435 " 9436 if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes; then : 16025 9437 cat >>confdefs.h <<_ACEOF 16026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16027 _ACEOF 16028 16029 fi 16030 16031 done 16032 9438 #define HAVE_LIBAVCODEC_AVCODEC_H 1 9439 _ACEOF 9440 9441 fi 9442 9443 done 16033 9444 16034 9445 16035 9446 for ac_header in ffmpeg/avformat.h 16036 do 16037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16038 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16041 echo $ECHO_N "(cached) $ECHO_C" >&6 16042 else 16043 cat >conftest.$ac_ext <<_ACEOF 16044 /* confdefs.h. */ 16045 _ACEOF 16046 cat confdefs.h >>conftest.$ac_ext 16047 cat >>conftest.$ac_ext <<_ACEOF 16048 /* end confdefs.h. */ 16049 #define __STDC_CONSTANT_MACROS 1 9447 do : 9448 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avformat.h" "ac_cv_header_ffmpeg_avformat_h" "#define __STDC_CONSTANT_MACROS 1 16050 9449 #ifdef HAVE_FFMPEG_AVFORMAT_H 16051 9450 # include <ffmpeg/avformat.h> 16052 9451 #endif 16053 9452 16054 16055 #include <$ac_header> 16056 _ACEOF 16057 rm -f conftest.$ac_objext 16058 if { (ac_try="$ac_compile" 16059 case "(($ac_try" in 16060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16061 *) ac_try_echo=$ac_try;; 16062 esac 16063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16064 (eval "$ac_compile") 2>conftest.er1 16065 ac_status=$? 16066 grep -v '^ *+' conftest.er1 >conftest.err 16067 rm -f conftest.er1 16068 cat conftest.err >&5 16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16070 (exit $ac_status); } && { 16071 test -z "$ac_cxx_werror_flag" || 16072 test ! -s conftest.err 16073 } && test -s conftest.$ac_objext; then 16074 eval "$as_ac_Header=yes" 16075 else 16076 echo "$as_me: failed program was:" >&5 16077 sed 's/^/| /' conftest.$ac_ext >&5 16078 16079 eval "$as_ac_Header=no" 16080 fi 16081 16082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16083 fi 16084 ac_res=`eval echo '${'$as_ac_Header'}'` 16085 { echo "$as_me:$LINENO: result: $ac_res" >&5 16086 echo "${ECHO_T}$ac_res" >&6; } 16087 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9453 " 9454 if test "x$ac_cv_header_ffmpeg_avformat_h" = xyes; then : 16088 9455 cat >>confdefs.h <<_ACEOF 16089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16090 _ACEOF 16091 16092 fi 16093 16094 done 16095 9456 #define HAVE_FFMPEG_AVFORMAT_H 1 9457 _ACEOF 9458 9459 fi 9460 9461 done 16096 9462 16097 9463 16098 9464 for ac_header in libavformat/avformat.h 16099 do 16100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16101 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16104 echo $ECHO_N "(cached) $ECHO_C" >&6 16105 else 16106 cat >conftest.$ac_ext <<_ACEOF 16107 /* confdefs.h. */ 16108 _ACEOF 16109 cat confdefs.h >>conftest.$ac_ext 16110 cat >>conftest.$ac_ext <<_ACEOF 16111 /* end confdefs.h. */ 16112 #define __STDC_CONSTANT_MACROS 1 9465 do : 9466 ac_fn_cxx_check_header_compile "$LINENO" "libavformat/avformat.h" "ac_cv_header_libavformat_avformat_h" "#define __STDC_CONSTANT_MACROS 1 16113 9467 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H 16114 9468 # include <libavformat/avformat.h> 16115 9469 #endif 16116 9470 16117 16118 #include <$ac_header> 16119 _ACEOF 16120 rm -f conftest.$ac_objext 16121 if { (ac_try="$ac_compile" 16122 case "(($ac_try" in 16123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16124 *) ac_try_echo=$ac_try;; 16125 esac 16126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16127 (eval "$ac_compile") 2>conftest.er1 16128 ac_status=$? 16129 grep -v '^ *+' conftest.er1 >conftest.err 16130 rm -f conftest.er1 16131 cat conftest.err >&5 16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16133 (exit $ac_status); } && { 16134 test -z "$ac_cxx_werror_flag" || 16135 test ! -s conftest.err 16136 } && test -s conftest.$ac_objext; then 16137 eval "$as_ac_Header=yes" 16138 else 16139 echo "$as_me: failed program was:" >&5 16140 sed 's/^/| /' conftest.$ac_ext >&5 16141 16142 eval "$as_ac_Header=no" 16143 fi 16144 16145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16146 fi 16147 ac_res=`eval echo '${'$as_ac_Header'}'` 16148 { echo "$as_me:$LINENO: result: $ac_res" >&5 16149 echo "${ECHO_T}$ac_res" >&6; } 16150 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9471 " 9472 if test "x$ac_cv_header_libavformat_avformat_h" = xyes; then : 16151 9473 cat >>confdefs.h <<_ACEOF 16152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16153 _ACEOF 16154 16155 fi 16156 16157 done 16158 9474 #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 9475 _ACEOF 9476 9477 fi 9478 9479 done 16159 9480 16160 9481 16161 9482 for ac_header in ffmpeg/avutil.h 16162 do 16163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16164 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16167 echo $ECHO_N "(cached) $ECHO_C" >&6 16168 else 16169 cat >conftest.$ac_ext <<_ACEOF 16170 /* confdefs.h. */ 16171 _ACEOF 16172 cat confdefs.h >>conftest.$ac_ext 16173 cat >>conftest.$ac_ext <<_ACEOF 16174 /* end confdefs.h. */ 16175 #define __STDC_CONSTANT_MACROS 1 9483 do : 9484 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16176 9485 #ifdef HAVE_FFMPEG_AVUTIL_H 16177 9486 # include <ffmpeg/avutil.h> 16178 9487 #endif 16179 9488 16180 16181 #include <$ac_header> 16182 _ACEOF 16183 rm -f conftest.$ac_objext 16184 if { (ac_try="$ac_compile" 16185 case "(($ac_try" in 16186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16187 *) ac_try_echo=$ac_try;; 16188 esac 16189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16190 (eval "$ac_compile") 2>conftest.er1 16191 ac_status=$? 16192 grep -v '^ *+' conftest.er1 >conftest.err 16193 rm -f conftest.er1 16194 cat conftest.err >&5 16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16196 (exit $ac_status); } && { 16197 test -z "$ac_cxx_werror_flag" || 16198 test ! -s conftest.err 16199 } && test -s conftest.$ac_objext; then 16200 eval "$as_ac_Header=yes" 16201 else 16202 echo "$as_me: failed program was:" >&5 16203 sed 's/^/| /' conftest.$ac_ext >&5 16204 16205 eval "$as_ac_Header=no" 16206 fi 16207 16208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16209 fi 16210 ac_res=`eval echo '${'$as_ac_Header'}'` 16211 { echo "$as_me:$LINENO: result: $ac_res" >&5 16212 echo "${ECHO_T}$ac_res" >&6; } 16213 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9489 " 9490 if test "x$ac_cv_header_ffmpeg_avutil_h" = xyes; then : 16214 9491 cat >>confdefs.h <<_ACEOF 16215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16216 _ACEOF 16217 16218 fi 16219 16220 done 16221 9492 #define HAVE_FFMPEG_AVUTIL_H 1 9493 _ACEOF 9494 9495 fi 9496 9497 done 16222 9498 16223 9499 16224 9500 for ac_header in libavutil/avutil.h 16225 do 16226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16227 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16230 echo $ECHO_N "(cached) $ECHO_C" >&6 16231 else 16232 cat >conftest.$ac_ext <<_ACEOF 16233 /* confdefs.h. */ 16234 _ACEOF 16235 cat confdefs.h >>conftest.$ac_ext 16236 cat >>conftest.$ac_ext <<_ACEOF 16237 /* end confdefs.h. */ 16238 #define __STDC_CONSTANT_MACROS 1 9501 do : 9502 ac_fn_cxx_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16239 9503 #ifdef HAVE_LIBAVUTIL_AVUTIL_H 16240 9504 # include <libavutil/avutil.h> 16241 9505 #endif 16242 9506 16243 16244 #include <$ac_header> 16245 _ACEOF 16246 rm -f conftest.$ac_objext 16247 if { (ac_try="$ac_compile" 16248 case "(($ac_try" in 16249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16250 *) ac_try_echo=$ac_try;; 16251 esac 16252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16253 (eval "$ac_compile") 2>conftest.er1 16254 ac_status=$? 16255 grep -v '^ *+' conftest.er1 >conftest.err 16256 rm -f conftest.er1 16257 cat conftest.err >&5 16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16259 (exit $ac_status); } && { 16260 test -z "$ac_cxx_werror_flag" || 16261 test ! -s conftest.err 16262 } && test -s conftest.$ac_objext; then 16263 eval "$as_ac_Header=yes" 16264 else 16265 echo "$as_me: failed program was:" >&5 16266 sed 's/^/| /' conftest.$ac_ext >&5 16267 16268 eval "$as_ac_Header=no" 16269 fi 16270 16271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16272 fi 16273 ac_res=`eval echo '${'$as_ac_Header'}'` 16274 { echo "$as_me:$LINENO: result: $ac_res" >&5 16275 echo "${ECHO_T}$ac_res" >&6; } 16276 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9507 " 9508 if test "x$ac_cv_header_libavutil_avutil_h" = xyes; then : 16277 9509 cat >>confdefs.h <<_ACEOF 16278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16279 _ACEOF 16280 16281 fi 16282 16283 done 16284 9510 #define HAVE_LIBAVUTIL_AVUTIL_H 1 9511 _ACEOF 9512 9513 fi 9514 9515 done 16285 9516 16286 9517 16287 9518 for ac_header in ffmpeg/swscale.h 16288 do 16289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16290 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16293 echo $ECHO_N "(cached) $ECHO_C" >&6 16294 else 16295 cat >conftest.$ac_ext <<_ACEOF 16296 /* confdefs.h. */ 16297 _ACEOF 16298 cat confdefs.h >>conftest.$ac_ext 16299 cat >>conftest.$ac_ext <<_ACEOF 16300 /* end confdefs.h. */ 16301 #define __STDC_CONSTANT_MACROS 1 9519 do : 9520 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/swscale.h" "ac_cv_header_ffmpeg_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16302 9521 #ifdef HAVE_FFMPEG_SWSCALE_H 16303 9522 # include <ffmpeg/swscale.h> 16304 9523 #endif 16305 9524 16306 16307 #include <$ac_header> 16308 _ACEOF 16309 rm -f conftest.$ac_objext 16310 if { (ac_try="$ac_compile" 16311 case "(($ac_try" in 16312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16313 *) ac_try_echo=$ac_try;; 16314 esac 16315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16316 (eval "$ac_compile") 2>conftest.er1 16317 ac_status=$? 16318 grep -v '^ *+' conftest.er1 >conftest.err 16319 rm -f conftest.er1 16320 cat conftest.err >&5 16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16322 (exit $ac_status); } && { 16323 test -z "$ac_cxx_werror_flag" || 16324 test ! -s conftest.err 16325 } && test -s conftest.$ac_objext; then 16326 eval "$as_ac_Header=yes" 16327 else 16328 echo "$as_me: failed program was:" >&5 16329 sed 's/^/| /' conftest.$ac_ext >&5 16330 16331 eval "$as_ac_Header=no" 16332 fi 16333 16334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16335 fi 16336 ac_res=`eval echo '${'$as_ac_Header'}'` 16337 { echo "$as_me:$LINENO: result: $ac_res" >&5 16338 echo "${ECHO_T}$ac_res" >&6; } 16339 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9525 " 9526 if test "x$ac_cv_header_ffmpeg_swscale_h" = xyes; then : 16340 9527 cat >>confdefs.h <<_ACEOF 16341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16342 _ACEOF 16343 16344 fi 16345 16346 done 16347 9528 #define HAVE_FFMPEG_SWSCALE_H 1 9529 _ACEOF 9530 9531 fi 9532 9533 done 16348 9534 16349 9535 16350 9536 for ac_header in libswscale/swscale.h 16351 do 16352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16353 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16356 echo $ECHO_N "(cached) $ECHO_C" >&6 16357 else 16358 cat >conftest.$ac_ext <<_ACEOF 16359 /* confdefs.h. */ 16360 _ACEOF 16361 cat confdefs.h >>conftest.$ac_ext 16362 cat >>conftest.$ac_ext <<_ACEOF 16363 /* end confdefs.h. */ 16364 #define __STDC_CONSTANT_MACROS 1 9537 do : 9538 ac_fn_cxx_check_header_compile "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16365 9539 #ifdef HAVE_LIBSWSCALE_SWSCALE_H 16366 9540 # include <libswscale/swscale.h> 16367 9541 #endif 16368 9542 16369 16370 #include <$ac_header> 16371 _ACEOF 16372 rm -f conftest.$ac_objext 16373 if { (ac_try="$ac_compile" 16374 case "(($ac_try" in 16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16376 *) ac_try_echo=$ac_try;; 16377 esac 16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16379 (eval "$ac_compile") 2>conftest.er1 16380 ac_status=$? 16381 grep -v '^ *+' conftest.er1 >conftest.err 16382 rm -f conftest.er1 16383 cat conftest.err >&5 16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16385 (exit $ac_status); } && { 16386 test -z "$ac_cxx_werror_flag" || 16387 test ! -s conftest.err 16388 } && test -s conftest.$ac_objext; then 16389 eval "$as_ac_Header=yes" 16390 else 16391 echo "$as_me: failed program was:" >&5 16392 sed 's/^/| /' conftest.$ac_ext >&5 16393 16394 eval "$as_ac_Header=no" 16395 fi 16396 16397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16398 fi 16399 ac_res=`eval echo '${'$as_ac_Header'}'` 16400 { echo "$as_me:$LINENO: result: $ac_res" >&5 16401 echo "${ECHO_T}$ac_res" >&6; } 16402 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9543 " 9544 if test "x$ac_cv_header_libswscale_swscale_h" = xyes; then : 16403 9545 cat >>confdefs.h <<_ACEOF 16404 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19546 #define HAVE_LIBSWSCALE_SWSCALE_H 1 16405 9547 _ACEOF 16406 9548 … … 16421 9563 HAVE_FFMPEG_LIBS="yes" 16422 9564 16423 cat >>confdefs.h <<\_ACEOF 16424 #define BUILD_with_ffmpeg 1 16425 _ACEOF 9565 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 16426 9566 16427 9567 else … … 16429 9569 fi 16430 9570 16431 16432 9571 for ac_func in img_convert 16433 do 16434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16435 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16437 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16438 echo $ECHO_N "(cached) $ECHO_C" >&6 16439 else 16440 cat >conftest.$ac_ext <<_ACEOF 16441 /* confdefs.h. */ 16442 _ACEOF 16443 cat confdefs.h >>conftest.$ac_ext 16444 cat >>conftest.$ac_ext <<_ACEOF 16445 /* end confdefs.h. */ 16446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16447 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16448 #define $ac_func innocuous_$ac_func 16449 16450 /* System header to define __stub macros and hopefully few prototypes, 16451 which can conflict with char $ac_func (); below. 16452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16453 <limits.h> exists even on freestanding compilers. */ 16454 16455 #ifdef __STDC__ 16456 # include <limits.h> 16457 #else 16458 # include <assert.h> 16459 #endif 16460 16461 #undef $ac_func 16462 16463 /* Override any GCC internal prototype to avoid an error. 16464 Use char because int might match the return type of a GCC 16465 builtin and then its argument prototype would still apply. */ 16466 #ifdef __cplusplus 16467 extern "C" 16468 #endif 16469 char $ac_func (); 16470 /* The GNU C library defines this for functions which it implements 16471 to always fail with ENOSYS. Some functions are actually named 16472 something starting with __ and the normal name is an alias. */ 16473 #if defined __stub_$ac_func || defined __stub___$ac_func 16474 choke me 16475 #endif 16476 16477 int 16478 main () 16479 { 16480 return $ac_func (); 16481 ; 16482 return 0; 16483 } 16484 _ACEOF 16485 rm -f conftest.$ac_objext conftest$ac_exeext 16486 if { (ac_try="$ac_link" 16487 case "(($ac_try" in 16488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16489 *) ac_try_echo=$ac_try;; 16490 esac 16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16492 (eval "$ac_link") 2>conftest.er1 16493 ac_status=$? 16494 grep -v '^ *+' conftest.er1 >conftest.err 16495 rm -f conftest.er1 16496 cat conftest.err >&5 16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16498 (exit $ac_status); } && { 16499 test -z "$ac_cxx_werror_flag" || 16500 test ! -s conftest.err 16501 } && test -s conftest$ac_exeext && 16502 $as_test_x conftest$ac_exeext; then 16503 eval "$as_ac_var=yes" 16504 else 16505 echo "$as_me: failed program was:" >&5 16506 sed 's/^/| /' conftest.$ac_ext >&5 16507 16508 eval "$as_ac_var=no" 16509 fi 16510 16511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16512 conftest$ac_exeext conftest.$ac_ext 16513 fi 16514 ac_res=`eval echo '${'$as_ac_var'}'` 16515 { echo "$as_me:$LINENO: result: $ac_res" >&5 16516 echo "${ECHO_T}$ac_res" >&6; } 16517 if test `eval echo '${'$as_ac_var'}'` = yes; then 9572 do : 9573 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9574 if test "x$ac_cv_func_img_convert" = xyes; then : 16518 9575 cat >>confdefs.h <<_ACEOF 16519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16520 _ACEOF 16521 16522 fi 16523 done 16524 9576 #define HAVE_IMG_CONVERT 1 9577 _ACEOF 9578 9579 fi 9580 done 16525 9581 16526 9582 for ac_func in sws_scale 16527 do 16528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16529 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16531 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16532 echo $ECHO_N "(cached) $ECHO_C" >&6 16533 else 16534 cat >conftest.$ac_ext <<_ACEOF 16535 /* confdefs.h. */ 16536 _ACEOF 16537 cat confdefs.h >>conftest.$ac_ext 16538 cat >>conftest.$ac_ext <<_ACEOF 16539 /* end confdefs.h. */ 16540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16541 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16542 #define $ac_func innocuous_$ac_func 16543 16544 /* System header to define __stub macros and hopefully few prototypes, 16545 which can conflict with char $ac_func (); below. 16546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16547 <limits.h> exists even on freestanding compilers. */ 16548 16549 #ifdef __STDC__ 16550 # include <limits.h> 16551 #else 16552 # include <assert.h> 16553 #endif 16554 16555 #undef $ac_func 16556 16557 /* Override any GCC internal prototype to avoid an error. 16558 Use char because int might match the return type of a GCC 16559 builtin and then its argument prototype would still apply. */ 16560 #ifdef __cplusplus 16561 extern "C" 16562 #endif 16563 char $ac_func (); 16564 /* The GNU C library defines this for functions which it implements 16565 to always fail with ENOSYS. Some functions are actually named 16566 something starting with __ and the normal name is an alias. */ 16567 #if defined __stub_$ac_func || defined __stub___$ac_func 16568 choke me 16569 #endif 16570 16571 int 16572 main () 16573 { 16574 return $ac_func (); 16575 ; 16576 return 0; 16577 } 16578 _ACEOF 16579 rm -f conftest.$ac_objext conftest$ac_exeext 16580 if { (ac_try="$ac_link" 16581 case "(($ac_try" in 16582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16583 *) ac_try_echo=$ac_try;; 16584 esac 16585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16586 (eval "$ac_link") 2>conftest.er1 16587 ac_status=$? 16588 grep -v '^ *+' conftest.er1 >conftest.err 16589 rm -f conftest.er1 16590 cat conftest.err >&5 16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16592 (exit $ac_status); } && { 16593 test -z "$ac_cxx_werror_flag" || 16594 test ! -s conftest.err 16595 } && test -s conftest$ac_exeext && 16596 $as_test_x conftest$ac_exeext; then 16597 eval "$as_ac_var=yes" 16598 else 16599 echo "$as_me: failed program was:" >&5 16600 sed 's/^/| /' conftest.$ac_ext >&5 16601 16602 eval "$as_ac_var=no" 16603 fi 16604 16605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16606 conftest$ac_exeext conftest.$ac_ext 16607 fi 16608 ac_res=`eval echo '${'$as_ac_var'}'` 16609 { echo "$as_me:$LINENO: result: $ac_res" >&5 16610 echo "${ECHO_T}$ac_res" >&6; } 16611 if test `eval echo '${'$as_ac_var'}'` = yes; then 9583 do : 9584 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9585 if test "x$ac_cv_func_sws_scale" = xyes; then : 16612 9586 cat >>confdefs.h <<_ACEOF 16613 #define `echo "HAVE_$ac_func" | $as_tr_cpp`19587 #define HAVE_SWS_SCALE 1 16614 9588 _ACEOF 16615 9589 … … 16620 9594 16621 9595 ac_configure_args="--disable-threads --enable-shared" 9596 9597 16622 9598 subdirs="$subdirs packages/optimizer/src" 16623 9599 … … 16652 9628 *${as_nl}*) 16653 9629 case $ac_var in #( 16654 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&516655 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;9630 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9631 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16656 9632 esac 16657 9633 case $ac_var in #( 16658 9634 _ | IFS | as_nl) ;; #( 16659 *) $as_unset $ac_var ;; 9635 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9636 *) { eval $ac_var=; unset $ac_var;} ;; 16660 9637 esac ;; 16661 9638 esac … … 16665 9642 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16666 9643 *${as_nl}ac_space=\ *) 16667 # `set' does not quote correctly, so add quotes (double-quote16668 # substitution turns \\\\ into \\, and sed turns \\ into \ ).9644 # `set' does not quote correctly, so add quotes: double-quote 9645 # substitution turns \\\\ into \\, and sed turns \\ into \. 16669 9646 sed -n \ 16670 9647 "s/'/'\\\\''/g; … … 16688 9665 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16689 9666 if test -w "$cache_file"; then 16690 test "x$cache_file" != "x/dev/null" && 16691 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 16692 echo "$as_me: updating cache $cache_file" >&6;} 16693 cat confcache >$cache_file 9667 if test "x$cache_file" != "x/dev/null"; then 9668 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9669 $as_echo "$as_me: updating cache $cache_file" >&6;} 9670 if test ! -f "$cache_file" || test -h "$cache_file"; then 9671 cat confcache >"$cache_file" 9672 else 9673 case $cache_file in #( 9674 */* | ?:*) 9675 mv -f confcache "$cache_file"$$ && 9676 mv -f "$cache_file"$$ "$cache_file" ;; #( 9677 *) 9678 mv -f confcache "$cache_file" ;; 9679 esac 9680 fi 9681 fi 16694 9682 else 16695 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&516696 echo "$as_me: not updating unwritable cache $cache_file" >&6;}9683 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9684 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16697 9685 fi 16698 9686 fi … … 16707 9695 ac_libobjs= 16708 9696 ac_ltlibobjs= 9697 U= 16709 9698 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16710 9699 # 1. Remove the extension, and $U if already installed. 16711 9700 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16712 ac_i=` echo "$ac_i" | sed "$ac_script"`9701 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16713 9702 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16714 9703 # will be set to the directory where LIBOBJS objects are built. 16715 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"16716 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'9704 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9705 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16717 9706 done 16718 9707 LIBOBJS=$ac_libobjs … … 16722 9711 16723 9712 16724 : ${CONFIG_STATUS=./config.status} 9713 9714 : "${CONFIG_STATUS=./config.status}" 9715 ac_write_fail=0 16725 9716 ac_clean_files_save=$ac_clean_files 16726 9717 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16727 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 16728 echo "$as_me: creating $CONFIG_STATUS" >&6;} 16729 cat >$CONFIG_STATUS <<_ACEOF 9718 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9719 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9720 as_write_fail=0 9721 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16730 9722 #! $SHELL 16731 9723 # Generated by $as_me. … … 16737 9729 ac_cs_recheck=false 16738 9730 ac_cs_silent=false 9731 16739 9732 SHELL=\${CONFIG_SHELL-$SHELL} 16740 _ACEOF 16741 16742 cat >>$CONFIG_STATUS <<\_A CEOF16743 ## -------------------- -##16744 ## M4sh Initialization. 16745 ## -------------------- -##9733 export SHELL 9734 _ASEOF 9735 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9736 ## -------------------- ## 9737 ## M4sh Initialization. ## 9738 ## -------------------- ## 16746 9739 16747 9740 # Be more Bourne compatible 16748 9741 DUALCASE=1; export DUALCASE # for MKS sh 16749 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9742 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16750 9743 emulate sh 16751 9744 NULLCMD=: 16752 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9745 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16753 9746 # is contrary to our usage. Disable this feature. 16754 9747 alias -g '${1+"$@"}'='"$@"' 16755 9748 setopt NO_GLOB_SUBST 16756 9749 else 16757 case `(set -o) 2>/dev/null` in 16758 *posix*) set -o posix ;; 9750 case `(set -o) 2>/dev/null` in #( 9751 *posix*) : 9752 set -o posix ;; #( 9753 *) : 9754 ;; 16759 9755 esac 16760 16761 fi 16762 16763 16764 16765 16766 # PATH needs CR 16767 # Avoid depending upon Character Ranges. 16768 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16769 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16770 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16771 as_cr_digits='0123456789' 16772 as_cr_alnum=$as_cr_Letters$as_cr_digits 9756 fi 9757 9758 9759 as_nl=' 9760 ' 9761 export as_nl 9762 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9763 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9764 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9765 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9766 # Prefer a ksh shell builtin over an external printf program on Solaris, 9767 # but without wasting forks for bash or zsh. 9768 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9769 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9770 as_echo='print -r --' 9771 as_echo_n='print -rn --' 9772 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9773 as_echo='printf %s\n' 9774 as_echo_n='printf %s' 9775 else 9776 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9777 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9778 as_echo_n='/usr/ucb/echo -n' 9779 else 9780 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9781 as_echo_n_body='eval 9782 arg=$1; 9783 case $arg in #( 9784 *"$as_nl"*) 9785 expr "X$arg" : "X\\(.*\\)$as_nl"; 9786 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9787 esac; 9788 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9789 ' 9790 export as_echo_n_body 9791 as_echo_n='sh -c $as_echo_n_body as_echo' 9792 fi 9793 export as_echo_body 9794 as_echo='sh -c $as_echo_body as_echo' 9795 fi 16773 9796 16774 9797 # The user is always right. 16775 9798 if test "${PATH_SEPARATOR+set}" != set; then 16776 echo "#! /bin/sh" >conf$$.sh 16777 echo "exit 0" >>conf$$.sh 16778 chmod +x conf$$.sh 16779 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 16780 PATH_SEPARATOR=';' 16781 else 16782 PATH_SEPARATOR=: 16783 fi 16784 rm -f conf$$.sh 16785 fi 16786 16787 # Support unset when possible. 16788 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 16789 as_unset=unset 16790 else 16791 as_unset=false 9799 PATH_SEPARATOR=: 9800 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9801 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9802 PATH_SEPARATOR=';' 9803 } 16792 9804 fi 16793 9805 … … 16798 9810 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 16799 9811 # splitting by setting IFS to empty value.) 16800 as_nl='16801 '16802 9812 IFS=" "" $as_nl" 16803 9813 16804 9814 # Find who we are. Look in the path if we contain no directory separator. 16805 case $0 in 9815 as_myself= 9816 case $0 in #(( 16806 9817 *[\\/]* ) as_myself=$0 ;; 16807 9818 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 16810 9821 IFS=$as_save_IFS 16811 9822 test -z "$as_dir" && as_dir=. 16812 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break16813 done9823 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9824 done 16814 9825 IFS=$as_save_IFS 16815 9826 … … 16822 9833 fi 16823 9834 if test ! -f "$as_myself"; then 16824 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16825 { (exit 1); exit 1; } 16826 fi 16827 16828 # Work around bugs in pre-3.0 UWIN ksh. 16829 for as_var in ENV MAIL MAILPATH 16830 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9835 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9836 exit 1 9837 fi 9838 9839 # Unset variables that we do not need and which cause bugs (e.g. in 9840 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9841 # suppresses any "Segmentation fault" message there. '((' could 9842 # trigger a bug in pdksh 5.2.14. 9843 for as_var in BASH_ENV ENV MAIL MAILPATH 9844 do eval test x\${$as_var+set} = xset \ 9845 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16831 9846 done 16832 9847 PS1='$ ' … … 16835 9850 16836 9851 # NLS nuisances. 16837 for as_var in \ 16838 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 16839 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 16840 LC_TELEPHONE LC_TIME 16841 do 16842 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 16843 eval $as_var=C; export $as_var 16844 else 16845 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9852 LC_ALL=C 9853 export LC_ALL 9854 LANGUAGE=C 9855 export LANGUAGE 9856 9857 # CDPATH. 9858 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9859 9860 9861 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9862 # ---------------------------------------- 9863 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9864 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9865 # script with STATUS, using 1 if that was 0. 9866 as_fn_error () 9867 { 9868 as_status=$1; test $as_status -eq 0 && as_status=1 9869 if test "$4"; then 9870 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9871 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16846 9872 fi 16847 done 16848 16849 # Required to use basename. 9873 $as_echo "$as_me: error: $2" >&2 9874 as_fn_exit $as_status 9875 } # as_fn_error 9876 9877 9878 # as_fn_set_status STATUS 9879 # ----------------------- 9880 # Set $? to STATUS, without forking. 9881 as_fn_set_status () 9882 { 9883 return $1 9884 } # as_fn_set_status 9885 9886 # as_fn_exit STATUS 9887 # ----------------- 9888 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9889 as_fn_exit () 9890 { 9891 set +e 9892 as_fn_set_status $1 9893 exit $1 9894 } # as_fn_exit 9895 9896 # as_fn_unset VAR 9897 # --------------- 9898 # Portably unset VAR. 9899 as_fn_unset () 9900 { 9901 { eval $1=; unset $1;} 9902 } 9903 as_unset=as_fn_unset 9904 # as_fn_append VAR VALUE 9905 # ---------------------- 9906 # Append the text in VALUE to the end of the definition contained in VAR. Take 9907 # advantage of any shell optimizations that allow amortized linear growth over 9908 # repeated appends, instead of the typical quadratic growth present in naive 9909 # implementations. 9910 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9911 eval 'as_fn_append () 9912 { 9913 eval $1+=\$2 9914 }' 9915 else 9916 as_fn_append () 9917 { 9918 eval $1=\$$1\$2 9919 } 9920 fi # as_fn_append 9921 9922 # as_fn_arith ARG... 9923 # ------------------ 9924 # Perform arithmetic evaluation on the ARGs, and store the result in the 9925 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9926 # must be portable across $(()) and expr. 9927 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9928 eval 'as_fn_arith () 9929 { 9930 as_val=$(( $* )) 9931 }' 9932 else 9933 as_fn_arith () 9934 { 9935 as_val=`expr "$@" || test $? -eq 1` 9936 } 9937 fi # as_fn_arith 9938 9939 16850 9940 if expr a : '\(a\)' >/dev/null 2>&1 && 16851 9941 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 16861 9951 fi 16862 9952 16863 16864 # Name of the executable. 9953 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9954 as_dirname=dirname 9955 else 9956 as_dirname=false 9957 fi 9958 16865 9959 as_me=`$as_basename -- "$0" || 16866 9960 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16867 9961 X"$0" : 'X\(//\)$' \| \ 16868 9962 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16869 echo X/"$0" |9963 $as_echo X/"$0" | 16870 9964 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16871 9965 s//\1/ … … 16882 9976 s/.*/./; q'` 16883 9977 16884 # CDPATH. 16885 $as_unset CDPATH 16886 16887 16888 16889 as_lineno_1=$LINENO 16890 as_lineno_2=$LINENO 16891 test "x$as_lineno_1" != "x$as_lineno_2" && 16892 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 16893 16894 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 16895 # uniformly replaced by the line number. The first 'sed' inserts a 16896 # line-number line after each line using $LINENO; the second 'sed' 16897 # does the real work. The second script uses 'N' to pair each 16898 # line-number line with the line containing $LINENO, and appends 16899 # trailing '-' during substitution so that $LINENO is not a special 16900 # case at line end. 16901 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16902 # scripts with optimization help from Paolo Bonzini. Blame Lee 16903 # E. McMahon (1931-1989) for sed's syntax. :-) 16904 sed -n ' 16905 p 16906 /[$]LINENO/= 16907 ' <$as_myself | 16908 sed ' 16909 s/[$]LINENO.*/&-/ 16910 t lineno 16911 b 16912 :lineno 16913 N 16914 :loop 16915 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 16916 t loop 16917 s/-\n.*// 16918 ' >$as_me.lineno && 16919 chmod +x "$as_me.lineno" || 16920 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 16921 { (exit 1); exit 1; }; } 16922 16923 # Don't try to exec as it changes $[0], causing all sort of problems 16924 # (the dirname of $[0] is not the place where we might find the 16925 # original and so on. Autoconf is especially sensitive to this). 16926 . "./$as_me.lineno" 16927 # Exit status is that of the last command. 16928 exit 16929 } 16930 16931 16932 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16933 as_dirname=dirname 16934 else 16935 as_dirname=false 16936 fi 9978 # Avoid depending upon Character Ranges. 9979 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9980 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9981 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9982 as_cr_digits='0123456789' 9983 as_cr_alnum=$as_cr_Letters$as_cr_digits 16937 9984 16938 9985 ECHO_C= ECHO_N= ECHO_T= 16939 case `echo -n x` in 9986 case `echo -n x` in #((((( 16940 9987 -n*) 16941 case `echo 'x \c'` in9988 case `echo 'xy\c'` in 16942 9989 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16943 *) ECHO_C='\c';; 9990 xy) ECHO_C='\c';; 9991 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9992 ECHO_T=' ';; 16944 9993 esac;; 16945 9994 *) … … 16947 9996 esac 16948 9997 16949 if expr a : '\(a\)' >/dev/null 2>&1 &&16950 test "X`expr 00001 : '.*\(...\)'`" = X001; then16951 as_expr=expr16952 else16953 as_expr=false16954 fi16955 16956 9998 rm -f conf$$ conf$$.exe conf$$.file 16957 9999 if test -d conf$$.dir; then … … 16959 10001 else 16960 10002 rm -f conf$$.dir 16961 mkdir conf$$.dir 16962 fi 16963 echo >conf$$.file 16964 if ln -s conf$$.file conf$$ 2>/dev/null; then 16965 as_ln_s='ln -s' 16966 # ... but there are two gotchas: 16967 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16968 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16969 # In both cases, we have to default to `cp -p'. 16970 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10003 mkdir conf$$.dir 2>/dev/null 10004 fi 10005 if (echo >conf$$.file) 2>/dev/null; then 10006 if ln -s conf$$.file conf$$ 2>/dev/null; then 10007 as_ln_s='ln -s' 10008 # ... but there are two gotchas: 10009 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10010 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10011 # In both cases, we have to default to `cp -p'. 10012 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10013 as_ln_s='cp -p' 10014 elif ln conf$$.file conf$$ 2>/dev/null; then 10015 as_ln_s=ln 10016 else 16971 10017 as_ln_s='cp -p' 16972 elif ln conf$$.file conf$$ 2>/dev/null; then 16973 as_ln_s=ln 10018 fi 16974 10019 else 16975 10020 as_ln_s='cp -p' … … 16978 10023 rmdir conf$$.dir 2>/dev/null 16979 10024 10025 10026 # as_fn_mkdir_p 10027 # ------------- 10028 # Create "$as_dir" as a directory, including parents if necessary. 10029 as_fn_mkdir_p () 10030 { 10031 10032 case $as_dir in #( 10033 -*) as_dir=./$as_dir;; 10034 esac 10035 test -d "$as_dir" || eval $as_mkdir_p || { 10036 as_dirs= 10037 while :; do 10038 case $as_dir in #( 10039 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10040 *) as_qdir=$as_dir;; 10041 esac 10042 as_dirs="'$as_qdir' $as_dirs" 10043 as_dir=`$as_dirname -- "$as_dir" || 10044 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10045 X"$as_dir" : 'X\(//\)[^/]' \| \ 10046 X"$as_dir" : 'X\(//\)$' \| \ 10047 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10048 $as_echo X"$as_dir" | 10049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10050 s//\1/ 10051 q 10052 } 10053 /^X\(\/\/\)[^/].*/{ 10054 s//\1/ 10055 q 10056 } 10057 /^X\(\/\/\)$/{ 10058 s//\1/ 10059 q 10060 } 10061 /^X\(\/\).*/{ 10062 s//\1/ 10063 q 10064 } 10065 s/.*/./; q'` 10066 test -d "$as_dir" && break 10067 done 10068 test -z "$as_dirs" || eval "mkdir $as_dirs" 10069 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10070 10071 10072 } # as_fn_mkdir_p 16980 10073 if mkdir -p . 2>/dev/null; then 16981 as_mkdir_p= :10074 as_mkdir_p='mkdir -p "$as_dir"' 16982 10075 else 16983 10076 test -d ./-p && rmdir ./-p … … 16996 10089 eval sh -c '\'' 16997 10090 if test -d "$1"; then 16998 10091 test -d "$1/."; 16999 10092 else 17000 case $1 in 17001 10093 case $1 in #( 10094 -*)set "./$1";; 17002 10095 esac; 17003 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 10096 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 17004 10097 ???[sx]*):;;*)false;;esac;fi 17005 10098 '\'' sh … … 17016 10109 17017 10110 exec 6>&1 17018 17019 # Save the log message, to keep $[0] and so on meaningful, and to 10111 ## ----------------------------------- ## 10112 ## Main body of $CONFIG_STATUS script. ## 10113 ## ----------------------------------- ## 10114 _ASEOF 10115 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10116 10117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10118 # Save the log message, to keep $0 and so on meaningful, and to 17020 10119 # report actual input values of CONFIG_FILES etc. instead of their 17021 10120 # values after options handling. 17022 10121 ac_log=" 17023 10122 This file was extended by Rappture $as_me 1.1, which was 17024 generated by GNU Autoconf 2.6 1. Invocation command line was10123 generated by GNU Autoconf 2.68. Invocation command line was 17025 10124 17026 10125 CONFIG_FILES = $CONFIG_FILES … … 17035 10134 _ACEOF 17036 10135 17037 cat >>$CONFIG_STATUS <<_ACEOF 10136 case $ac_config_files in *" 10137 "*) set x $ac_config_files; shift; ac_config_files=$*;; 10138 esac 10139 10140 case $ac_config_headers in *" 10141 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10142 esac 10143 10144 10145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17038 10146 # Files that config.status was made for. 17039 10147 config_files="$ac_config_files" … … 17042 10150 _ACEOF 17043 10151 17044 cat >>$CONFIG_STATUS <<\_ACEOF 10152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17045 10153 ac_cs_usage="\ 17046 \`$as_me' instantiates files from templates according to the 17047 current configuration. 17048 17049 Usage: $0 [OPTIONS] [FILE]... 10154 \`$as_me' instantiates files and other configuration actions 10155 from templates according to the current configuration. Unless the files 10156 and actions are specified as TAGs, all are instantiated by default. 10157 10158 Usage: $0 [OPTION]... [TAG]... 17050 10159 17051 10160 -h, --help print this help, then exit 17052 10161 -V, --version print version number and configuration settings, then exit 17053 -q, --quiet do not print progress messages 10162 --config print configuration, then exit 10163 -q, --quiet, --silent 10164 do not print progress messages 17054 10165 -d, --debug don't remove temporary files 17055 10166 --recheck update $as_me by reconfiguring in the same conditions 17056 --file=FILE[:TEMPLATE]17057 17058 --header=FILE[:TEMPLATE]17059 10167 --file=FILE[:TEMPLATE] 10168 instantiate the configuration file FILE 10169 --header=FILE[:TEMPLATE] 10170 instantiate the configuration header FILE 17060 10171 17061 10172 Configuration files: … … 17065 10176 $config_headers 17066 10177 17067 Report bugs to <bug-autoconf@gnu.org>." 17068 17069 _ACEOF 17070 cat >>$CONFIG_STATUS <<_ACEOF 10178 Report bugs to <rappture@nanohub.org>." 10179 10180 _ACEOF 10181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10182 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17071 10183 ac_cs_version="\\ 17072 10184 Rappture config.status 1.1 17073 configured by $0, generated by GNU Autoconf 2.6 1,17074 with options \\" `echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"17075 17076 Copyright (C) 20 06Free Software Foundation, Inc.10185 configured by $0, generated by GNU Autoconf 2.68, 10186 with options \\"\$ac_cs_config\\" 10187 10188 Copyright (C) 2010 Free Software Foundation, Inc. 17077 10189 This config.status script is free software; the Free Software Foundation 17078 10190 gives unlimited permission to copy, distribute and modify it." … … 17082 10194 INSTALL='$INSTALL' 17083 10195 MKDIR_P='$MKDIR_P' 17084 _ACEOF 17085 17086 cat >>$CONFIG_STATUS <<\_ACEOF 17087 # If no file are specified by the user, then we need to provide default 17088 # value. By we need to know if files were specified by the user. 10196 AWK='$AWK' 10197 test -n "\$AWK" || AWK=awk 10198 _ACEOF 10199 10200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10201 # The default lists apply if the user does not specify any file. 17089 10202 ac_need_defaults=: 17090 10203 while test $# != 0 17091 10204 do 17092 10205 case $1 in 17093 --*= *)10206 --*=?*) 17094 10207 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17095 10208 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10209 ac_shift=: 10210 ;; 10211 --*=) 10212 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10213 ac_optarg= 17096 10214 ac_shift=: 17097 10215 ;; … … 17108 10226 ac_cs_recheck=: ;; 17109 10227 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17110 echo "$ac_cs_version"; exit ;; 10228 $as_echo "$ac_cs_version"; exit ;; 10229 --config | --confi | --conf | --con | --co | --c ) 10230 $as_echo "$ac_cs_config"; exit ;; 17111 10231 --debug | --debu | --deb | --de | --d | -d ) 17112 10232 debug=: ;; 17113 10233 --file | --fil | --fi | --f ) 17114 10234 $ac_shift 17115 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 10235 case $ac_optarg in 10236 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10237 '') as_fn_error $? "missing file argument" ;; 10238 esac 10239 as_fn_append CONFIG_FILES " '$ac_optarg'" 17116 10240 ac_need_defaults=false;; 17117 10241 --header | --heade | --head | --hea ) 17118 10242 $ac_shift 17119 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 10243 case $ac_optarg in 10244 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10245 esac 10246 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17120 10247 ac_need_defaults=false;; 17121 10248 --he | --h) 17122 10249 # Conflict between --help and --header 17123 { echo "$as_me: error: ambiguous option: $1 17124 Try \`$0 --help' for more information." >&2 17125 { (exit 1); exit 1; }; };; 10250 as_fn_error $? "ambiguous option: \`$1' 10251 Try \`$0 --help' for more information.";; 17126 10252 --help | --hel | -h ) 17127 echo "$ac_cs_usage"; exit ;;10253 $as_echo "$ac_cs_usage"; exit ;; 17128 10254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17129 10255 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 17131 10257 17132 10258 # This is an error. 17133 -*) { echo "$as_me: error: unrecognized option: $1 17134 Try \`$0 --help' for more information." >&2 17135 { (exit 1); exit 1; }; } ;; 17136 17137 *) ac_config_targets="$ac_config_targets $1" 10259 -*) as_fn_error $? "unrecognized option: \`$1' 10260 Try \`$0 --help' for more information." ;; 10261 10262 *) as_fn_append ac_config_targets " $1" 17138 10263 ac_need_defaults=false ;; 17139 10264 … … 17150 10275 17151 10276 _ACEOF 17152 cat >>$CONFIG_STATUS <<_ACEOF 10277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17153 10278 if \$ac_cs_recheck; then 17154 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 17155 CONFIG_SHELL=$SHELL 10279 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10280 shift 10281 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10282 CONFIG_SHELL='$SHELL' 17156 10283 export CONFIG_SHELL 17157 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion17158 fi 17159 17160 _ACEOF 17161 cat >>$CONFIG_STATUS <<\_ACEOF 10284 exec "\$@" 10285 fi 10286 10287 _ACEOF 10288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17162 10289 exec 5>>config.log 17163 10290 { … … 17166 10293 ## Running $as_me. ## 17167 10294 _ASBOX 17168 echo "$ac_log"10295 $as_echo "$ac_log" 17169 10296 } >&5 17170 10297 17171 10298 _ACEOF 17172 cat >>$CONFIG_STATUS <<_ACEOF 17173 _ACEOF 17174 17175 cat >>$CONFIG_STATUS <<\_ACEOF 10299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10300 _ACEOF 10301 10302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17176 10303 17177 10304 # Handling of arguments. … … 17307 10434 "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;; 17308 10435 17309 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17310 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17311 { (exit 1); exit 1; }; };; 10436 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17312 10437 esac 17313 10438 done … … 17331 10456 $debug || 17332 10457 { 17333 tmp= 10458 tmp= ac_tmp= 17334 10459 trap 'exit_status=$? 17335 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10460 : "${ac_tmp:=$tmp}" 10461 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17336 10462 ' 0 17337 trap ' { (exit 1); exit 1; }' 1 2 13 1510463 trap 'as_fn_exit 1' 1 2 13 15 17338 10464 } 17339 10465 # Create a (secure) tmp directory for tmp files. … … 17341 10467 { 17342 10468 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17343 test - n "$tmp" && test -d "$tmp"10469 test -d "$tmp" 17344 10470 } || 17345 10471 { 17346 10472 tmp=./conf$$-$RANDOM 17347 10473 (umask 077 && mkdir "$tmp") 17348 } || 10474 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10475 ac_tmp=$tmp 10476 10477 # Set up the scripts for CONFIG_FILES section. 10478 # No need to generate them if there are no CONFIG_FILES. 10479 # This happens for instance with `./config.status config.h'. 10480 if test -n "$CONFIG_FILES"; then 10481 10482 10483 ac_cr=`echo X | tr X '\015'` 10484 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10485 # But we know of no other shell where ac_cr would be empty at this 10486 # point, so we can use a bashism as a fallback. 10487 if test "x$ac_cr" = x; then 10488 eval ac_cr=\$\'\\r\' 10489 fi 10490 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10491 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10492 ac_cs_awk_cr='\\r' 10493 else 10494 ac_cs_awk_cr=$ac_cr 10495 fi 10496 10497 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10498 _ACEOF 10499 10500 17349 10501 { 17350 echo "$me: cannot create a temporary directory in ." >&2 17351 { (exit 1); exit 1; } 17352 } 17353 17354 # 17355 # Set up the sed scripts for CONFIG_FILES section. 17356 # 17357 17358 # No need to generate the scripts if there are no CONFIG_FILES. 17359 # This happens for instance when ./config.status config.h 17360 if test -n "$CONFIG_FILES"; then 17361 17362 _ACEOF 17363 17364 17365 10502 echo "cat >conf$$subs.awk <<_ACEOF" && 10503 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10504 echo "_ACEOF" 10505 } >conf$$subs.sh || 10506 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10507 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17366 10508 ac_delim='%!_!# ' 17367 10509 for ac_last_try in false false false false false :; do 17368 cat >conf$$subs.sed <<_ACEOF 17369 SHELL!$SHELL$ac_delim 17370 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 17371 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 17372 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 17373 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 17374 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 17375 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 17376 exec_prefix!$exec_prefix$ac_delim 17377 prefix!$prefix$ac_delim 17378 program_transform_name!$program_transform_name$ac_delim 17379 bindir!$bindir$ac_delim 17380 sbindir!$sbindir$ac_delim 17381 libexecdir!$libexecdir$ac_delim 17382 datarootdir!$datarootdir$ac_delim 17383 datadir!$datadir$ac_delim 17384 sysconfdir!$sysconfdir$ac_delim 17385 sharedstatedir!$sharedstatedir$ac_delim 17386 localstatedir!$localstatedir$ac_delim 17387 includedir!$includedir$ac_delim 17388 oldincludedir!$oldincludedir$ac_delim 17389 docdir!$docdir$ac_delim 17390 infodir!$infodir$ac_delim 17391 htmldir!$htmldir$ac_delim 17392 dvidir!$dvidir$ac_delim 17393 pdfdir!$pdfdir$ac_delim 17394 psdir!$psdir$ac_delim 17395 libdir!$libdir$ac_delim 17396 localedir!$localedir$ac_delim 17397 mandir!$mandir$ac_delim 17398 DEFS!$DEFS$ac_delim 17399 ECHO_C!$ECHO_C$ac_delim 17400 ECHO_N!$ECHO_N$ac_delim 17401 ECHO_T!$ECHO_T$ac_delim 17402 LIBS!$LIBS$ac_delim 17403 build_alias!$build_alias$ac_delim 17404 host_alias!$host_alias$ac_delim 17405 target_alias!$target_alias$ac_delim 17406 INSTALL_PREFIX!$INSTALL_PREFIX$ac_delim 17407 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 17408 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 17409 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 17410 INSTALL_DATA!$INSTALL_DATA$ac_delim 17411 RANLIB!$RANLIB$ac_delim 17412 LN_S!$LN_S$ac_delim 17413 SET_MAKE!$SET_MAKE$ac_delim 17414 CC!$CC$ac_delim 17415 CFLAGS!$CFLAGS$ac_delim 17416 LDFLAGS!$LDFLAGS$ac_delim 17417 CPPFLAGS!$CPPFLAGS$ac_delim 17418 ac_ct_CC!$ac_ct_CC$ac_delim 17419 EXEEXT!$EXEEXT$ac_delim 17420 OBJEXT!$OBJEXT$ac_delim 17421 CXX!$CXX$ac_delim 17422 CXXFLAGS!$CXXFLAGS$ac_delim 17423 ac_ct_CXX!$ac_ct_CXX$ac_delim 17424 F77!$F77$ac_delim 17425 FFLAGS!$FFLAGS$ac_delim 17426 ac_ct_F77!$ac_ct_F77$ac_delim 17427 CPP!$CPP$ac_delim 17428 GREP!$GREP$ac_delim 17429 EGREP!$EGREP$ac_delim 17430 CXXCPP!$CXXCPP$ac_delim 17431 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 17432 AR!$AR$ac_delim 17433 DL_LIBS!$DL_LIBS$ac_delim 17434 DL_OBJS!$DL_OBJS$ac_delim 17435 PLAT_OBJS!$PLAT_OBJS$ac_delim 17436 PLAT_SRCS!$PLAT_SRCS$ac_delim 17437 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 17438 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 17439 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 17440 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 17441 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 17442 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 17443 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 17444 STLIB_LD!$STLIB_LD$ac_delim 17445 SHLIB_LD!$SHLIB_LD$ac_delim 17446 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 17447 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 17448 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 17449 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 17450 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 17451 MAKE_LIB!$MAKE_LIB$ac_delim 17452 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 17453 INSTALL_LIB!$INSTALL_LIB$ac_delim 17454 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 17455 MAKE!$MAKE$ac_delim 17456 ENABLE_GUI!$ENABLE_GUI$ac_delim 17457 TCLSH!$TCLSH$ac_delim 17458 TCL_VERSION!$TCL_VERSION$ac_delim 17459 TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim 17460 TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim 17461 VTKDIR!$VTKDIR$ac_delim 17462 MATLAB!$MATLAB$ac_delim 17463 MEX!$MEX$ac_delim 17464 MEXEXT!$MEXEXT$ac_delim 17465 MCC!$MCC$ac_delim 17466 _ACEOF 17467 17468 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 10510 . ./conf$$subs.sh || 10511 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10512 10513 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10514 if test $ac_delim_n = $ac_delim_num; then 17469 10515 break 17470 10516 elif $ac_last_try; then 17471 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17472 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17473 { (exit 1); exit 1; }; } 10517 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17474 10518 else 17475 10519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17476 10520 fi 17477 10521 done 17478 17479 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17480 if test -n "$ac_eof"; then 17481 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17482 ac_eof=`expr $ac_eof + 1` 17483 fi 17484 17485 cat >>$CONFIG_STATUS <<_ACEOF 17486 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 17487 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17488 _ACEOF 17489 sed ' 17490 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17491 s/^/s,@/; s/!/@,|#_!!_#|/ 17492 :n 17493 t n 17494 s/'"$ac_delim"'$/,g/; t 17495 s/$/\\/; p 17496 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17497 ' >>$CONFIG_STATUS <conf$$subs.sed 17498 rm -f conf$$subs.sed 17499 cat >>$CONFIG_STATUS <<_ACEOF 17500 CEOF$ac_eof 17501 _ACEOF 17502 17503 10522 rm -f conf$$subs.sh 10523 10524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10525 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10526 _ACEOF 10527 sed -n ' 10528 h 10529 s/^/S["/; s/!.*/"]=/ 10530 p 10531 g 10532 s/^[^!]*!// 10533 :repl 10534 t repl 10535 s/'"$ac_delim"'$// 10536 t delim 10537 :nl 10538 h 10539 s/\(.\{148\}\)..*/\1/ 10540 t more1 10541 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10542 p 10543 n 10544 b repl 10545 :more1 10546 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10547 p 10548 g 10549 s/.\{148\}// 10550 t nl 10551 :delim 10552 h 10553 s/\(.\{148\}\)..*/\1/ 10554 t more2 10555 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10556 p 10557 b 10558 :more2 10559 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10560 p 10561 g 10562 s/.\{148\}// 10563 t delim 10564 ' <conf$$subs.awk | sed ' 10565 /^[^""]/{ 10566 N 10567 s/\n// 10568 } 10569 ' >>$CONFIG_STATUS || ac_write_fail=1 10570 rm -f conf$$subs.awk 10571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10572 _ACAWK 10573 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10574 for (key in S) S_is_set[key] = 1 10575 FS = "" 10576 10577 } 10578 { 10579 line = $ 0 10580 nfields = split(line, field, "@") 10581 substed = 0 10582 len = length(field[1]) 10583 for (i = 2; i < nfields; i++) { 10584 key = field[i] 10585 keylen = length(key) 10586 if (S_is_set[key]) { 10587 value = S[key] 10588 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10589 len += length(value) + length(field[++i]) 10590 substed = 1 10591 } else 10592 len += 1 + keylen 10593 } 10594 10595 print line 10596 } 10597 10598 _ACAWK 10599 _ACEOF 10600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10601 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10602 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10603 else 10604 cat 10605 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10606 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10607 _ACEOF 10608 10609 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10610 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 10611 # trailing colons and then remove the whole line if VPATH becomes empty 10612 # (actually we leave an empty line to preserve line numbers). 10613 if test "x$srcdir" = x.; then 10614 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10615 h 10616 s/// 10617 s/^/:/ 10618 s/[ ]*$/:/ 10619 s/:\$(srcdir):/:/g 10620 s/:\${srcdir}:/:/g 10621 s/:@srcdir@:/:/g 10622 s/^:*// 10623 s/:*$// 10624 x 10625 s/\(=[ ]*\).*/\1/ 10626 G 10627 s/\n// 10628 s/^[^=]*=[ ]*$// 10629 }' 10630 fi 10631 10632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10633 fi # test -n "$CONFIG_FILES" 10634 10635 # Set up the scripts for CONFIG_HEADERS section. 10636 # No need to generate them if there are no CONFIG_HEADERS. 10637 # This happens for instance with `./config.status Makefile'. 10638 if test -n "$CONFIG_HEADERS"; then 10639 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 10640 BEGIN { 10641 _ACEOF 10642 10643 # Transform confdefs.h into an awk script `defines.awk', embedded as 10644 # here-document in config.status, that substitutes the proper values into 10645 # config.h.in to produce config.h. 10646 10647 # Create a delimiter string that does not exist in confdefs.h, to ease 10648 # handling of long lines. 17504 10649 ac_delim='%!_!# ' 17505 for ac_last_try in false false false false false :; do 17506 cat >conf$$subs.sed <<_ACEOF 17507 MEX_ARCH!$MEX_ARCH$ac_delim 17508 OCTAVE!$OCTAVE$ac_delim 17509 MKOCTFILE!$MKOCTFILE$ac_delim 17510 octave2!$octave2$ac_delim 17511 mkoctfile2!$mkoctfile2$ac_delim 17512 octave3!$octave3$ac_delim 17513 mkoctfile3!$mkoctfile3$ac_delim 17514 OCTAVE2!$OCTAVE2$ac_delim 17515 OCTAVE3!$OCTAVE3$ac_delim 17516 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 17517 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 17518 MKOCTFILE2!$MKOCTFILE2$ac_delim 17519 MKOCTFILE3!$MKOCTFILE3$ac_delim 17520 PERL!$PERL$ac_delim 17521 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 17522 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 17523 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 17524 PERL_VERSION!$PERL_VERSION$ac_delim 17525 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 17526 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 17527 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 17528 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 17529 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 17530 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 17531 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 17532 PYTHON!$PYTHON$ac_delim 17533 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 17534 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 17535 PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim 17536 PYTHON_INCDIR!$PYTHON_INCDIR$ac_delim 17537 PYTHON_LDFLAGS!$PYTHON_LDFLAGS$ac_delim 17538 PYTHON_LIB!$PYTHON_LIB$ac_delim 17539 PYTHON_SITE_DIR!$PYTHON_SITE_DIR$ac_delim 17540 PYTHON_LIBDIR!$PYTHON_LIBDIR$ac_delim 17541 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 17542 PYTHON_DISTUTILS!$PYTHON_DISTUTILS$ac_delim 17543 RUBY!$RUBY$ac_delim 17544 SED!$SED$ac_delim 17545 RUBY_VERSION!$RUBY_VERSION$ac_delim 17546 AWK!$AWK$ac_delim 17547 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 17548 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 17549 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 17550 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 17551 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 17552 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 17553 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 17554 JAVA!$JAVA$ac_delim 17555 JAVAC!$JAVAC$ac_delim 17556 JAVAH!$JAVAH$ac_delim 17557 JAVA_HOME!$JAVA_HOME$ac_delim 17558 JAVA_INC_DIR!$JAVA_INC_DIR$ac_delim 17559 JAVA_INC_SPEC!$JAVA_INC_SPEC$ac_delim 17560 RP_BASE!$RP_BASE$ac_delim 17561 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 17562 TK_VERSION!$TK_VERSION$ac_delim 17563 SIZEOF_INT!$SIZEOF_INT$ac_delim 17564 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 17565 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 17566 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 17567 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 17568 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 17569 HAVE_FFMPEG_LIBS!$HAVE_FFMPEG_LIBS$ac_delim 17570 subdirs!$subdirs$ac_delim 17571 LIBOBJS!$LIBOBJS$ac_delim 17572 LTLIBOBJS!$LTLIBOBJS$ac_delim 17573 _ACEOF 17574 17575 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then 10650 for ac_last_try in false false :; do 10651 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 10652 if test -z "$ac_tt"; then 17576 10653 break 17577 10654 elif $ac_last_try; then 17578 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17579 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17580 { (exit 1); exit 1; }; } 10655 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17581 10656 else 17582 10657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 17584 10659 done 17585 10660 17586 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17587 if test -n "$ac_eof"; then 17588 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17589 ac_eof=`expr $ac_eof + 1` 17590 fi 17591 17592 cat >>$CONFIG_STATUS <<_ACEOF 17593 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 17594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 17595 _ACEOF 17596 sed ' 17597 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17598 s/^/s,@/; s/!/@,|#_!!_#|/ 17599 :n 17600 t n 17601 s/'"$ac_delim"'$/,g/; t 17602 s/$/\\/; p 17603 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17604 ' >>$CONFIG_STATUS <conf$$subs.sed 17605 rm -f conf$$subs.sed 17606 cat >>$CONFIG_STATUS <<_ACEOF 17607 :end 17608 s/|#_!!_#|//g 17609 CEOF$ac_eof 17610 _ACEOF 17611 17612 17613 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 17615 # trailing colons and then remove the whole line if VPATH becomes empty 17616 # (actually we leave an empty line to preserve line numbers). 17617 if test "x$srcdir" = x.; then 17618 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17619 s/:*\$(srcdir):*/:/ 17620 s/:*\${srcdir}:*/:/ 17621 s/:*@srcdir@:*/:/ 17622 s/^\([^=]*=[ ]*\):*/\1/ 17623 s/:*$// 17624 s/^[^=]*=[ ]*$// 17625 }' 17626 fi 17627 17628 cat >>$CONFIG_STATUS <<\_ACEOF 17629 fi # test -n "$CONFIG_FILES" 17630 17631 17632 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 10661 # For the awk script, D is an array of macro values keyed by name, 10662 # likewise P contains macro parameters if any. Preserve backslash 10663 # newline sequences. 10664 10665 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10666 sed -n ' 10667 s/.\{148\}/&'"$ac_delim"'/g 10668 t rset 10669 :rset 10670 s/^[ ]*#[ ]*define[ ][ ]*/ / 10671 t def 10672 d 10673 :def 10674 s/\\$// 10675 t bsnl 10676 s/["\\]/\\&/g 10677 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10678 D["\1"]=" \3"/p 10679 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10680 d 10681 :bsnl 10682 s/["\\]/\\&/g 10683 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10684 D["\1"]=" \3\\\\\\n"\\/p 10685 t cont 10686 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10687 t cont 10688 d 10689 :cont 10690 n 10691 s/.\{148\}/&'"$ac_delim"'/g 10692 t clear 10693 :clear 10694 s/\\$// 10695 t bsnlc 10696 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10697 d 10698 :bsnlc 10699 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10700 b cont 10701 ' <confdefs.h | sed ' 10702 s/'"$ac_delim"'/"\\\ 10703 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10704 10705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10706 for (key in D) D_is_set[key] = 1 10707 FS = "" 10708 } 10709 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10710 line = \$ 0 10711 split(line, arg, " ") 10712 if (arg[1] == "#") { 10713 defundef = arg[2] 10714 mac1 = arg[3] 10715 } else { 10716 defundef = substr(arg[1], 2) 10717 mac1 = arg[2] 10718 } 10719 split(mac1, mac2, "(") #) 10720 macro = mac2[1] 10721 prefix = substr(line, 1, index(line, defundef) - 1) 10722 if (D_is_set[macro]) { 10723 # Preserve the white space surrounding the "#". 10724 print prefix "define", macro P[macro] D[macro] 10725 next 10726 } else { 10727 # Replace #undef with comments. This is necessary, for example, 10728 # in the case of _POSIX_SOURCE, which is predefined and required 10729 # on some systems where configure will not decide to define it. 10730 if (defundef == "undef") { 10731 print "/*", prefix defundef, macro, "*/" 10732 next 10733 } 10734 } 10735 } 10736 { print } 10737 _ACAWK 10738 _ACEOF 10739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10740 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10741 fi # test -n "$CONFIG_HEADERS" 10742 10743 10744 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10745 shift 10746 for ac_tag 17633 10747 do 17634 10748 case $ac_tag in … … 17637 10751 case $ac_mode$ac_tag in 17638 10752 :[FHL]*:*);; 17639 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 17640 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 17641 { (exit 1); exit 1; }; };; 10753 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17642 10754 :[FH]-) ac_tag=-:-;; 17643 10755 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 17658 10770 do 17659 10771 case $ac_f in 17660 -) ac_f="$ tmp/stdin";;10772 -) ac_f="$ac_tmp/stdin";; 17661 10773 *) # Look for the file first in the build tree, then in the source tree 17662 10774 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 17667 10779 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17668 10780 esac || 17669 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 17670 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 17671 { (exit 1); exit 1; }; };; 10781 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17672 10782 esac 17673 ac_file_inputs="$ac_file_inputs $ac_f" 10783 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10784 as_fn_append ac_file_inputs " '$ac_f'" 17674 10785 done 17675 10786 … … 17677 10788 # use $as_me), people would be surprised to read: 17678 10789 # /* config.h. Generated by config.status. */ 17679 configure_input="Generated from "`IFS=: 17680 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10790 configure_input='Generated from '` 10791 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10792 `' by configure.' 17681 10793 if test x"$ac_file" != x-; then 17682 10794 configure_input="$ac_file. $configure_input" 17683 { echo "$as_me:$LINENO: creating $ac_file" >&517684 echo "$as_me: creating $ac_file" >&6;}10795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10796 $as_echo "$as_me: creating $ac_file" >&6;} 17685 10797 fi 10798 # Neutralize special characters interpreted by sed in replacement strings. 10799 case $configure_input in #( 10800 *\&* | *\|* | *\\* ) 10801 ac_sed_conf_input=`$as_echo "$configure_input" | 10802 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10803 *) ac_sed_conf_input=$configure_input;; 10804 esac 17686 10805 17687 10806 case $ac_tag in 17688 *:-:* | *:-) cat >"$tmp/stdin";; 10807 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17689 10809 esac 17690 10810 ;; … … 17696 10816 X"$ac_file" : 'X\(//\)$' \| \ 17697 10817 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17698 echo X"$ac_file" |10818 $as_echo X"$ac_file" | 17699 10819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17700 10820 s//\1/ … … 17714 10834 } 17715 10835 s/.*/./; q'` 17716 { as_dir="$ac_dir" 17717 case $as_dir in #( 17718 -*) as_dir=./$as_dir;; 17719 esac 17720 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17721 as_dirs= 17722 while :; do 17723 case $as_dir in #( 17724 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 17725 *) as_qdir=$as_dir;; 17726 esac 17727 as_dirs="'$as_qdir' $as_dirs" 17728 as_dir=`$as_dirname -- "$as_dir" || 17729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17730 X"$as_dir" : 'X\(//\)[^/]' \| \ 17731 X"$as_dir" : 'X\(//\)$' \| \ 17732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17733 echo X"$as_dir" | 17734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17735 s//\1/ 17736 q 17737 } 17738 /^X\(\/\/\)[^/].*/{ 17739 s//\1/ 17740 q 17741 } 17742 /^X\(\/\/\)$/{ 17743 s//\1/ 17744 q 17745 } 17746 /^X\(\/\).*/{ 17747 s//\1/ 17748 q 17749 } 17750 s/.*/./; q'` 17751 test -d "$as_dir" && break 17752 done 17753 test -z "$as_dirs" || eval "mkdir $as_dirs" 17754 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17755 echo "$as_me: error: cannot create directory $as_dir" >&2;} 17756 { (exit 1); exit 1; }; }; } 10836 as_dir="$ac_dir"; as_fn_mkdir_p 17757 10837 ac_builddir=. 17758 10838 … … 17760 10840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17761 10841 *) 17762 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10842 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17763 10843 # A ".." for each directory in $ac_dir_suffix. 17764 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10844 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17765 10845 case $ac_top_builddir_sub in 17766 10846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 17807 10887 _ACEOF 17808 10888 17809 cat >>$CONFIG_STATUS <<\_ACEOF 10889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17810 10890 # If the template does not know about datarootdir, expand it. 17811 10891 # FIXME: This hack should be removed a few years after 2.60. 17812 10892 ac_datarootdir_hack=; ac_datarootdir_seen= 17813 17814 case `sed -n '/datarootdir/ {10893 ac_sed_dataroot=' 10894 /datarootdir/ { 17815 10895 p 17816 10896 q … … 17820 10900 /@infodir@/p 17821 10901 /@localedir@/p 17822 /@mandir@/p 17823 ' $ac_file_inputs` in10902 /@mandir@/p' 10903 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17824 10904 *datarootdir*) ac_datarootdir_seen=yes;; 17825 10905 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17826 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&517827 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}17828 _ACEOF 17829 cat >>$CONFIG_STATUS <<_ACEOF 10906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10907 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10908 _ACEOF 10909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17830 10910 ac_datarootdir_hack=' 17831 10911 s&@datadir@&$datadir&g … … 17834 10914 s&@localedir@&$localedir&g 17835 10915 s&@mandir@&$mandir&g 17836 10916 s&\\\${datarootdir}&$datarootdir&g' ;; 17837 10917 esac 17838 10918 _ACEOF … … 17841 10921 # Shell code in configure.ac might set extrasub. 17842 10922 # FIXME: do we really want to maintain this feature? 17843 cat >>$CONFIG_STATUS <<_ACEOF 17844 sed"$ac_vpsub10923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10924 ac_sed_extra="$ac_vpsub 17845 10925 $extrasub 17846 10926 _ACEOF 17847 cat >>$CONFIG_STATUS <<\_ACEOF 10927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17848 10928 :t 17849 10929 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17850 s &@configure_input@&$configure_input&;t t10930 s|@configure_input@|$ac_sed_conf_input|;t t 17851 10931 s&@top_builddir@&$ac_top_builddir_sub&;t t 10932 s&@top_build_prefix@&$ac_top_build_prefix&;t t 17852 10933 s&@srcdir@&$ac_srcdir&;t t 17853 10934 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 17860 10941 s&@MKDIR_P@&$ac_MKDIR_P&;t t 17861 10942 $ac_datarootdir_hack 17862 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 10943 " 10944 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10945 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17863 10946 17864 10947 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17865 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17866 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17867 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17868 which seems to be undefined. Please make sure it is defined." >&5 17869 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17870 which seems to be undefined. Please make sure it is defined." >&2;} 17871 17872 rm -f "$tmp/stdin" 10948 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10949 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10950 "$ac_tmp/out"`; test -z "$ac_out"; } && 10951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10952 which seems to be undefined. Please make sure it is defined" >&5 10953 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10954 which seems to be undefined. Please make sure it is defined" >&2;} 10955 10956 rm -f "$ac_tmp/stdin" 17873 10957 case $ac_file in 17874 -) cat "$tmp/out"; rm -f "$tmp/out";; 17875 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 17876 esac 10958 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 10959 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 10960 esac \ 10961 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17877 10962 ;; 17878 10963 :H) … … 17880 10965 # CONFIG_HEADER 17881 10966 # 17882 _ACEOF17883 17884 # Transform confdefs.h into a sed script `conftest.defines', that17885 # substitutes the proper values into config.h.in to produce config.h.17886 rm -f conftest.defines conftest.tail17887 # First, append a space to every undef/define line, to ease matching.17888 echo 's/$/ /' >conftest.defines17889 # Then, protect against being on the right side of a sed subst, or in17890 # an unquoted here document, in config.status. If some macros were17891 # called several times there might be several #defines for the same17892 # symbol, which is useless. But do not sort them, since the last17893 # AC_DEFINE must be honored.17894 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*17895 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where17896 # NAME is the cpp macro being defined, VALUE is the value it is being given.17897 # PARAMS is the parameter list in the macro definition--in most cases, it's17898 # just an empty string.17899 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'17900 ac_dB='\\)[ (].*,\\1define\\2'17901 ac_dC=' '17902 ac_dD=' ,'17903 17904 uniq confdefs.h |17905 sed -n '17906 t rset17907 :rset17908 s/^[ ]*#[ ]*define[ ][ ]*//17909 t ok17910 d17911 :ok17912 s/[\\&,]/\\&/g17913 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p17914 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p17915 ' >>conftest.defines17916 17917 # Remove the space that was appended to ease matching.17918 # Then replace #undef with comments. This is necessary, for17919 # example, in the case of _POSIX_SOURCE, which is predefined and required17920 # on some systems where configure will not decide to define it.17921 # (The regexp can be short, since the line contains either #define or #undef.)17922 echo 's/ $//17923 s,^[ #]*u.*,/* & */,' >>conftest.defines17924 17925 # Break up conftest.defines:17926 ac_max_sed_lines=5017927 17928 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"17929 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"17930 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"17931 # et cetera.17932 ac_in='$ac_file_inputs'17933 ac_out='"$tmp/out1"'17934 ac_nxt='"$tmp/out2"'17935 17936 while :17937 do17938 # Write a here document:17939 cat >>$CONFIG_STATUS <<_ACEOF17940 # First, check the format of the line:17941 cat >"\$tmp/defines.sed" <<\\CEOF17942 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def17943 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def17944 b17945 :def17946 _ACEOF17947 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS17948 echo 'CEOF17949 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS17950 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in17951 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail17952 grep . conftest.tail >/dev/null || break17953 rm -f conftest.defines17954 mv conftest.tail conftest.defines17955 done17956 rm -f conftest.defines conftest.tail17957 17958 echo "ac_result=$ac_in" >>$CONFIG_STATUS17959 cat >>$CONFIG_STATUS <<\_ACEOF17960 10967 if test x"$ac_file" != x-; then 17961 echo "/* $configure_input */" >"$tmp/config.h" 17962 cat "$ac_result" >>"$tmp/config.h" 17963 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 17964 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 17965 echo "$as_me: $ac_file is unchanged" >&6;} 10968 { 10969 $as_echo "/* $configure_input */" \ 10970 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 10971 } >"$ac_tmp/config.h" \ 10972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10973 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 10974 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10975 $as_echo "$as_me: $ac_file is unchanged" >&6;} 17966 10976 else 17967 rm -f $ac_file 17968 mv "$tmp/config.h" $ac_file 10977 rm -f "$ac_file" 10978 mv "$ac_tmp/config.h" "$ac_file" \ 10979 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17969 10980 fi 17970 10981 else 17971 echo "/* $configure_input */" 17972 cat "$ac_result" 10982 $as_echo "/* $configure_input */" \ 10983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 10984 || as_fn_error $? "could not create -" "$LINENO" 5 17973 10985 fi 17974 rm -f "$tmp/out12"17975 10986 ;; 17976 10987 … … 17981 10992 17982 10993 17983 { (exit 0); exit 0; } 17984 _ACEOF 17985 chmod +x $CONFIG_STATUS 10994 as_fn_exit 0 10995 _ACEOF 17986 10996 ac_clean_files=$ac_clean_files_save 10997 10998 test $ac_write_fail = 0 || 10999 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17987 11000 17988 11001 … … 18005 11018 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18006 11019 # would make configure fail if this is the last instruction. 18007 $ac_cs_success || { (exit 1); exit 1; }11020 $ac_cs_success || as_fn_exit 1 18008 11021 fi 18009 11022 … … 18013 11026 if test "$no_recursion" != yes; then 18014 11027 18015 # Remove --cache-file and --srcdir arguments so they do not pile up. 11028 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 11029 # so they do not pile up. 18016 11030 ac_sub_configure_args= 18017 11031 ac_prev= … … 18042 11056 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 18043 11057 ;; 11058 --disable-option-checking) 11059 ;; 18044 11060 *) 18045 11061 case $ac_arg in 18046 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11062 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 18047 11063 esac 18048 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;11064 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 18049 11065 esac 18050 11066 done … … 18054 11070 ac_arg="--prefix=$prefix" 18055 11071 case $ac_arg in 18056 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11072 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 18057 11073 esac 18058 11074 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 18063 11079 fi 18064 11080 11081 # Always prepend --disable-option-checking to silence warnings, since 11082 # different subdirs can have different --enable and --with options. 11083 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 11084 18065 11085 ac_popdir=`pwd` 18066 11086 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 18071 11091 18072 11092 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 18073 echo "$as_me:$LINENO: $ac_msg" >&5 18074 echo "$ac_msg" >&6 18075 { as_dir="$ac_dir" 18076 case $as_dir in #( 18077 -*) as_dir=./$as_dir;; 18078 esac 18079 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 18080 as_dirs= 18081 while :; do 18082 case $as_dir in #( 18083 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 18084 *) as_qdir=$as_dir;; 18085 esac 18086 as_dirs="'$as_qdir' $as_dirs" 18087 as_dir=`$as_dirname -- "$as_dir" || 18088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18089 X"$as_dir" : 'X\(//\)[^/]' \| \ 18090 X"$as_dir" : 'X\(//\)$' \| \ 18091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18092 echo X"$as_dir" | 18093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18094 s//\1/ 18095 q 18096 } 18097 /^X\(\/\/\)[^/].*/{ 18098 s//\1/ 18099 q 18100 } 18101 /^X\(\/\/\)$/{ 18102 s//\1/ 18103 q 18104 } 18105 /^X\(\/\).*/{ 18106 s//\1/ 18107 q 18108 } 18109 s/.*/./; q'` 18110 test -d "$as_dir" && break 18111 done 18112 test -z "$as_dirs" || eval "mkdir $as_dirs" 18113 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 18114 echo "$as_me: error: cannot create directory $as_dir" >&2;} 18115 { (exit 1); exit 1; }; }; } 11093 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 11094 $as_echo "$ac_msg" >&6 11095 as_dir="$ac_dir"; as_fn_mkdir_p 18116 11096 ac_builddir=. 18117 11097 … … 18119 11099 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18120 11100 *) 18121 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`11101 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18122 11102 # A ".." for each directory in $ac_dir_suffix. 18123 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`11103 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18124 11104 case $ac_top_builddir_sub in 18125 11105 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 18160 11140 ac_sub_configure=$ac_aux_dir/configure 18161 11141 else 18162 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&518163 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}11142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 11143 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 18164 11144 ac_sub_configure= 18165 11145 fi … … 18174 11154 esac 18175 11155 18176 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&518177 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}11156 { $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 11157 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 18178 11158 # The eval makes quoting arguments work. 18179 11159 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 18180 11160 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 18181 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 18182 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 18183 { (exit 1); exit 1; }; } 11161 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 18184 11162 fi 18185 11163 … … 18187 11165 done 18188 11166 fi 18189 11167 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11169 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11170 fi 11171 -
trunk/configure.in
r2177 r2180 6 6 7 7 with_tclsh=yes 8 rp_with_tclsh="yes" 9 rp_with_mkoctfile2="no" 10 rp_with_mkoctfile3="no" 11 rp_with_octave="yes" 12 rp_with_vtk="yes" 13 rp_with_matlab="yes" 14 rp_with_perl="yes" 15 rp_with_python="yes" 16 rp_with_ruby="yes" 17 rp_with_java="yes" 18 with_install="yes" 8 19 9 20 #------------------------------------------------------------------------ … … 143 154 144 155 145 rp_with_tclsh="yes"146 156 AC_ARG_WITH( 147 157 [tclsh], … … 252 262 AC_SUBST(MEXEXT) 253 263 264 # 265 # Octave variables: 266 # 267 # OCTAVE Path to default octave executable. Will use 268 # to determine the version os 269 # MKOCTFILE Path to the default octave 270 # 271 254 272 # Standard octave search (use the installed version of octave) 255 273 AC_ARG_WITH( 256 274 [octave], 257 275 [AS_HELP_STRING([--with-octave[=DIR]], 258 [ location of octave compiler MKOCTFILE@<:@default=yes@:>@])],276 [path of default octave compiler `mkoctfile' @<:@default=yes@:>@])], 259 277 [rp_with_octave=$withval], 260 278 [rp_with_octave=yes]) 261 279 262 280 OCTAVE= 263 OCTAVE2=264 OCTAVE3=265 281 OCTAVE_VERSION= 266 282 OCTAVE_VERSION_MAJOR= 267 MKOCTFILE=268 283 MKOCTFILE2= 269 284 MKOCTFILE3= 285 270 286 if test "$rp_with_octave" != "no" ; then 271 287 if test "$rp_with_octave" = "yes" ; then … … 278 294 fi 279 295 280 echo MKOCTFILE=$MKOCTFILE281 echo OCTAVE=$OCTAVE282 283 296 if test "x${OCTAVE}" != "x" ; then 284 297 OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4` … … 294 307 fi 295 308 296 # Check if octave2 was designated *in addition* to the installed version. 297 AC_ARG_WITH( 298 [octave2], 299 [AS_HELP_STRING([--with-octave2[=DIR]], 300 [location of octave compiler MKOCTFILE @<:@default=no@:>@])], 301 [rp_with_octave2=$withval], 302 [rp_with_octave2=no]) 303 304 if test "$rp_with_octave2" != "no" ; then 305 if test "$rp_with_octave2" = "yes" ; then 306 AC_PATH_PROG(octave2, octave) 309 # Check if mkoctfile2 was designated *in addition* to the installed version. 310 AC_ARG_WITH( 311 [mkoctfile2], 312 [AS_HELP_STRING([--with-mkoctfile2[=DIR]], 313 [path of octave compiler `mkoctfile' @<:@default=no@:>@])], 314 [rp_with_mkoctfile2=$withval], 315 [rp_with_mkoctfile2=no]) 316 317 if test "$rp_with_mkoctfile2" != "no" ; then 318 if test "$rp_with_mkoctfile2" = "yes" ; then 307 319 AC_PATH_PROG(mkoctfile2, mkoctfile) 308 320 else 309 OCTAVE2=$rp_with_octave2 310 MKOCTFILE2=`dirname $rp_with_octave2`/mkoctfile 311 fi 321 MKOCTFILE2=$rp_with_mkoctfile2 322 fi 323 OCTAVE_VERSION=`${MKOCTFILE2} --version 2>&1 | cut -d' ' -f3` 324 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 312 325 fi 313 326 314 327 # Check if octave3 was designated *in addition* to the installed version. 315 328 AC_ARG_WITH( 316 [octave3], 317 [AS_HELP_STRING([--with-octave3[=DIR]], 318 [location of octave compiler MKOCTFILE @<:@default=no@:>@])], 319 [rp_with_octave3=$withval], 320 [rp_with_octave3=no]) 321 322 if test "$rp_with_octave3" != "no" ; then 323 if test "$rp_with_octave3" = "yes" ; then 324 AC_PATH_PROG(octave3, octave) 329 [mkoctfile3], 330 [AS_HELP_STRING([--with-mkoctfile3[=DIR]], 331 [path of octave compiler `mkoctfile' @<:@default=no@:>@])], 332 [rp_with_mkoctfile3=$withval], 333 [rp_with_mkoctfile3=no]) 334 335 if test "$rp_with_mkoctfile3" != "no" ; then 336 if test "$rp_with_mkoctfile3" = "yes" ; then 325 337 AC_PATH_PROG(mkoctfile3, mkoctfile) 326 338 else 327 OCTAVE3=$rp_with_octave3 328 MKOCTFILE3=`dirname $rp_with_octave3`/mkoctfile 329 fi 330 fi 331 332 echo MKOCTFILE2=$MKOCTFILE2 333 echo OCTAVE2=$OCTAVE2 334 echo MKOCTFILE3=$MKOCTFILE3 335 echo OCTAVE3=$OCTAVE3 336 337 AC_SUBST(OCTAVE2) 338 AC_SUBST(OCTAVE3) 339 MKOCTFILE3=$rp_with_mkoctfile3 340 fi 341 OCTAVE_VERSION=`${MKOCTFILE3} --version 2>&1 | cut -d' ' -f3` 342 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 343 fi 344 345 echo "MKOCTFILE2 = $MKOCTFILE2" 346 echo "MKOCTFILE3 = $MKOCTFILE3" 347 echo "OCTAVE_VERSION_MAJOR = $OCTAVE_VERSION_MAJOR" 348 echo "OCTAVE_VERSION = $OCTAVE_VERSION" 349 339 350 AC_SUBST(OCTAVE) 340 351 AC_SUBST(OCTAVE_VERSION) 341 352 AC_SUBST(OCTAVE_VERSION_MAJOR) 342 AC_SUBST(MKOCTFILE)343 353 AC_SUBST(MKOCTFILE2) 344 354 AC_SUBST(MKOCTFILE3) … … 512 522 AC_SUBST(RUBY_PLATFORM) 513 523 514 rp_with_java="yes"515 524 JAVA="" 516 525 JAVAH="" -
trunk/examples/app-fermi/Makefile.in
r1773 r2180 22 22 PYTHON = @PYTHON@ 23 23 MEX = @MEX@ 24 MKOCTFILE = @MKOCTFILE@24 OCTAVE = @OCTAVE_VERSION@ 25 25 JAVA_HOME = @JAVA_HOME@ 26 26 … … 31 31 LANGS += fortran 32 32 endif 33 ifneq ($( MKOCTFILE),)33 ifneq ($(OCTAVE),) 34 34 LANGS += octave 35 35 endif -
trunk/examples/app-fermi/octave/Makefile.in
r2175 r2180 15 15 MKDIR_P = @MKDIR_P@ 16 16 17 SUBDIRS = 2 3 17 SUBDIRS = 18 ifneq ($(MKOCTFILE3),) 19 LANGS += 3 20 endif 21 ifneq ($(MKOCTFILE2),) 22 LANGS += 2 23 endif 18 24 19 25 all: -
trunk/examples/zoo/Makefile.in
r1957 r2180 45 45 all: 46 46 for i in $(examples) ; do \ 47 $(MAKE) -C $$i all ; \47 $(MAKE) -C $$i all || exit 1; \ 48 48 done 49 49 50 50 install: 51 51 for i in $(examples) ; do \ 52 $(MAKE) -C $$i install ; \52 $(MAKE) -C $$i install || exit 1; \ 53 53 done 54 54 55 55 clean: 56 56 for i in $(examples) ; do \ 57 $(MAKE) -C $$i clean ; \57 $(MAKE) -C $$i clean || exit 1; \ 58 58 done 59 59 60 60 distclean: 61 61 for i in $(examples) ; do \ 62 $(MAKE) -C $$i distclean ; \62 $(MAKE) -C $$i distclean || exit 1; \ 63 63 done 64 64 $(RM) Makefile *~ -
trunk/examples/zoo/parallelepiped/Makefile.in
r1957 r2180 22 22 23 23 all: 24 $(MAKE) -C examples all25 24 26 25 install: … … 29 28 $(INSTALL) -m 0444 $$i $(destdir) ; \ 30 29 done 31 $(MAKE) -C examples install32 30 33 31 clean: 34 $(MAKE) -C examples clean35 32 36 33 distclean: 37 $(MAKE) -C examples distclean38 34 $(RM) Makefile *~ -
trunk/lang/Makefile.in
r2177 r2180 20 20 PYTHON = @PYTHON_DISTUTILS@ 21 21 MEX = @MEX@ 22 MKOCTFILE = @MKOCTFILE@23 JAVA_HOME 22 OCTAVE = @OCTAVE_VERSION@ 23 JAVA_HOME = @JAVA_HOME@ 24 24 25 25 # Rappture requires it. We always build a Tcl language API. … … 38 38 LANGS += matlab 39 39 endif 40 ifneq ($( MKOCTFILE),)40 ifneq ($(OCTAVE),) 41 41 LANGS += octave 42 42 endif -
trunk/lang/octave/Makefile.in
r2177 r2180 12 12 INSTALL = @INSTALL@ 13 13 RM = rm -f 14 MKOCTFILE2 15 MKOCTFILE3 14 MKOCTFILE2 = @MKOCTFILE2@ 15 MKOCTFILE3 = @MKOCTFILE3@ 16 16 17 17 LANGS =
Note: See TracChangeset
for help on using the changeset viewer.