Changeset 2179 for branches/blt4
- Timestamp:
- Mar 30, 2011, 9:49:25 PM (14 years ago)
- Location:
- branches/blt4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/configure
r2122 r2179 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for Rappture 1.1.3 # Generated by GNU Autoconf 2.68 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 25 # is contrary to our usage. Disable this feature. 22 26 alias -g '${1+"$@"}'='"$@"' 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 41 75 42 76 # The user is always right. 43 77 if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53 fi 54 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 60 83 fi 61 84 … … 66 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 90 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 91 IFS=" "" $as_nl" 71 92 72 93 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 94 as_myself= 95 case $0 in #(( 74 96 *[\\/]* ) as_myself=$0 ;; 75 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 100 IFS=$as_save_IFS 79 101 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 82 104 IFS=$as_save_IFS 83 105 … … 90 112 fi 91 113 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 125 done 100 126 PS1='$ ' … … 103 129 104 130 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 189 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 240 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 115 done 116 117 # Required to use basename. 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 118 386 if expr a : '\(a\)' >/dev/null 2>&1 && 119 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 397 fi 130 398 131 132 # Name of the executable. 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 133 405 as_me=`$as_basename -- "$0" || 134 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 407 X"$0" : 'X\(//\)$' \| \ 136 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |409 $as_echo X/"$0" | 138 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 411 s//\1/ … … 150 422 s/.*/./; q'` 151 423 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225 do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 437 sed -n ' 441 438 p … … 454 451 ' >$as_me.lineno && 455 452 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 454 459 455 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 461 } 466 462 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then469 as_dirname=dirname470 else471 as_dirname=false472 fi473 474 463 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 464 case `echo -n x` in #((((( 476 465 -n*) 477 case `echo 'x \c'` in466 case `echo 'xy\c'` in 478 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 480 471 esac;; 481 472 *) … … 483 474 esac 484 475 485 if expr a : '\(a\)' >/dev/null 2>&1 &&486 test "X`expr 00001 : '.*\(...\)'`" = X001; then487 as_expr=expr488 else489 as_expr=false490 fi491 492 476 rm -f conf$$ conf$$.exe conf$$.file 493 477 if test -d conf$$.dir; then … … 495 479 else 496 480 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 481 mkdir conf$$.dir 2>/dev/null 482 fi 483 if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 507 495 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 496 fi 510 497 else 511 498 as_ln_s='cp -p' … … 515 502 516 503 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :504 as_mkdir_p='mkdir -p "$as_dir"' 518 505 else 519 506 test -d ./-p && rmdir ./-p … … 532 519 eval sh -c '\'' 533 520 if test -d "$1"; then 534 521 test -d "$1/."; 535 522 else 536 case $1 in 537 523 case $1 in #( 524 -*)set "./$1";; 538 525 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 527 ???[sx]*):;;*)false;;esac;fi 541 528 '\'' sh … … 551 538 552 539 553 554 exec 7<&0 </dev/null6>&1540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 555 542 556 543 # Name of the host. 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 558 545 # so uname gets run too. 559 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 570 557 MFLAGS= 571 558 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 559 574 560 # Identity of this package. … … 578 564 PACKAGE_STRING='Rappture 1.1' 579 565 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL='' 580 567 581 568 # Factoring default headers for most tests. … … 615 602 #endif" 616 603 617 ac_subst_vars='SHELL 604 enable_option_checking=no 605 ac_subst_vars='LTLIBOBJS 606 LIBOBJS 607 subdirs 608 HAVE_FFMPEG_LIBS 609 LDFLAGS_DEFAULT 610 CFLAGS_DEFAULT 611 SIZEOF_VOID_P 612 SIZEOF_LONG_LONG 613 SIZEOF_LONG 614 SIZEOF_INT 615 TK_INC_SPEC 616 TK_LIB_SPEC 617 TK_VERSION 618 SHLIB_LDFLAGS 619 RP_BASE 620 JAVA_INC_SPEC 621 JAVA_INC_DIR 622 JAVA_HOME 623 JAVAH 624 JAVAC 625 JAVA 626 RUBY_PLATFORM 627 RUBY_VERSION_RV 628 HAVE_RUBY_DEVEL 629 RUBY_EXTRA_LIBS 630 RUBY_SITE_PKG 631 RUBY_LDFLAGS 632 RUBY_CPPFLAGS 633 AWK 634 RUBY_VERSION 635 SED 636 RUBY 637 PYTHON_DISTUTILS 638 PYTHON_SITE_PACKAGES 639 PYTHON_LIBDIR 640 PYTHON_SITE_DIR 641 PYTHON_LIB 642 PYTHON_LDFLAGS 643 PYTHON_INCDIR 644 PYTHON_CFLAGS 645 PYTHON_INCLUDES 646 PYTHON_VERSION 647 PYTHON 648 PERL_LIBSPEC 649 PERL_VERSION_RV 650 PERL_INSTALLARCHLIB 651 PERL_PRIVLIB 652 PERL_VENDORLIB 653 PERL_CPPFLAGS 654 PERL_CCFLAGS 655 PERL_VERSION 656 PERL_ARCHLIBEXP 657 PERL_ARCHLIB 658 PERL_INCLUDES 659 PERL 660 MKOCTFILE3 661 MKOCTFILE2 662 OCTAVE_VERSION_MAJOR 663 OCTAVE_VERSION 664 OCTAVE3 665 OCTAVE2 666 mkoctfile3 667 octave3 668 mkoctfile2 669 octave2 670 MKOCTFILE 671 OCTAVE 672 MEX_ARCH 673 MCC 674 MEXEXT 675 MEX 676 MATLAB 677 VTKDIR 678 TCL_LIB_SPEC 679 TCL_INC_SPEC 680 TCL_VERSION 681 TCLSH 682 ENABLE_GUI 683 MAKE 684 INSTALL_STUB_LIB 685 INSTALL_LIB 686 MAKE_STUB_LIB 687 MAKE_LIB 688 SHLIB_SUFFIX 689 SHLIB_CFLAGS 690 SHLIB_LD_LIBS 691 TK_SHLIB_LD_EXTRAS 692 TCL_SHLIB_LD_EXTRAS 693 SHLIB_LD 694 STLIB_LD 695 LD_SEARCH_FLAGS 696 CC_SEARCH_FLAGS 697 LDFLAGS_OPTIMIZE 698 LDFLAGS_DEBUG 699 CFLAGS_WARNING 700 CFLAGS_OPTIMIZE 701 CFLAGS_DEBUG 702 PLAT_SRCS 703 PLAT_OBJS 704 DL_OBJS 705 DL_LIBS 706 AR 707 HAVE_INTTYPES_H 708 CXXCPP 709 EGREP 710 GREP 711 CPP 712 ac_ct_F77 713 FFLAGS 714 F77 715 ac_ct_CXX 716 CXXFLAGS 717 CXX 718 OBJEXT 719 EXEEXT 720 ac_ct_CC 721 CPPFLAGS 722 LDFLAGS 723 CFLAGS 724 CC 725 SET_MAKE 726 MKDIR_P 727 LN_S 728 RANLIB 729 INSTALL_DATA 730 INSTALL_SCRIPT 731 INSTALL_PROGRAM 732 LIB_SEARCH_DIRS 733 INSTALL_PREFIX 734 target_alias 735 host_alias 736 build_alias 737 LIBS 738 ECHO_T 739 ECHO_N 740 ECHO_C 741 DEFS 742 mandir 743 localedir 744 libdir 745 psdir 746 pdfdir 747 dvidir 748 htmldir 749 infodir 750 docdir 751 oldincludedir 752 includedir 753 localstatedir 754 sharedstatedir 755 sysconfdir 756 datadir 757 datarootdir 758 libexecdir 759 sbindir 760 bindir 761 program_transform_name 762 prefix 763 exec_prefix 764 PACKAGE_URL 765 PACKAGE_BUGREPORT 766 PACKAGE_STRING 767 PACKAGE_VERSION 768 PACKAGE_TARNAME 769 PACKAGE_NAME 618 770 PATH_SEPARATOR 619 PACKAGE_NAME 620 PACKAGE_TARNAME 621 PACKAGE_VERSION 622 PACKAGE_STRING 623 PACKAGE_BUGREPORT 624 exec_prefix 625 prefix 626 program_transform_name 627 bindir 628 sbindir 629 libexecdir 630 datarootdir 631 datadir 632 sysconfdir 633 sharedstatedir 634 localstatedir 635 includedir 636 oldincludedir 637 docdir 638 infodir 639 htmldir 640 dvidir 641 pdfdir 642 psdir 643 libdir 644 localedir 645 mandir 646 DEFS 647 ECHO_C 648 ECHO_N 649 ECHO_T 650 LIBS 651 build_alias 652 host_alias 653 target_alias 654 LIB_SEARCH_DIRS 655 INSTALL_PROGRAM 656 INSTALL_SCRIPT 657 INSTALL_DATA 658 RANLIB 659 LN_S 660 SET_MAKE 661 CC 662 CFLAGS 663 LDFLAGS 664 CPPFLAGS 665 ac_ct_CC 666 EXEEXT 667 OBJEXT 668 CXX 669 CXXFLAGS 670 ac_ct_CXX 671 F77 672 FFLAGS 673 ac_ct_F77 674 CPP 675 GREP 676 EGREP 677 CXXCPP 678 HAVE_INTTYPES_H 679 AR 680 DL_LIBS 681 DL_OBJS 682 PLAT_OBJS 683 PLAT_SRCS 684 CFLAGS_DEBUG 685 CFLAGS_OPTIMIZE 686 CFLAGS_WARNING 687 LDFLAGS_DEBUG 688 LDFLAGS_OPTIMIZE 689 CC_SEARCH_FLAGS 690 LD_SEARCH_FLAGS 691 STLIB_LD 692 SHLIB_LD 693 TCL_SHLIB_LD_EXTRAS 694 TK_SHLIB_LD_EXTRAS 695 SHLIB_LD_LIBS 696 SHLIB_CFLAGS 697 SHLIB_SUFFIX 698 MAKE_LIB 699 MAKE_STUB_LIB 700 INSTALL_LIB 701 INSTALL_STUB_LIB 702 MAKE 703 ENABLE_GUI 704 TCLSH 705 TCL_VERSION 706 TCL_INC_SPEC 707 TCL_LIB_SPEC 708 VTKDIR 709 MATLAB 710 MEX 711 MEXEXT 712 MCC 713 MEX_ARCH 714 OCTAVE 715 MKOCTFILE 716 octave2 717 mkoctfile2 718 octave3 719 mkoctfile3 720 OCTAVE2 721 OCTAVE3 722 OCTAVE_VERSION 723 OCTAVE_VERSION_MAJOR 724 MKOCTFILE2 725 MKOCTFILE3 726 PERL 727 PERL_INCLUDES 728 PERL_ARCHLIB 729 PERL_ARCHLIBEXP 730 PERL_VERSION 731 PERL_CCFLAGS 732 PERL_CPPFLAGS 733 PERL_VENDORLIB 734 PERL_PRIVLIB 735 PERL_INSTALLARCHLIB 736 PERL_VERSION_RV 737 PERL_LIBSPEC 738 PYTHON 739 PYTHON_VERSION 740 PYTHON_INCLUDES 741 PYTHON_CFLAGS 742 PYTHON_INCDIR 743 PYTHON_LDFLAGS 744 PYTHON_LIB 745 PYTHON_SITE_DIR 746 PYTHON_LIBDIR 747 PYTHON_SITE_PACKAGES 748 PYTHON_DISTUTILS 749 RUBY 750 SED 751 RUBY_VERSION 752 AWK 753 RUBY_CPPFLAGS 754 RUBY_LDFLAGS 755 RUBY_SITE_PKG 756 RUBY_EXTRA_LIBS 757 HAVE_RUBY_DEVEL 758 RUBY_VERSION_RV 759 RUBY_PLATFORM 760 JAVA 761 JAVAC 762 JAVAH 763 JAVA_HOME 764 JAVA_INC_DIR 765 JAVA_INC_SPEC 766 RP_BASE 767 SHLIB_LDFLAGS 768 TK_VERSION 769 SIZEOF_INT 770 SIZEOF_LONG 771 SIZEOF_LONG_LONG 772 SIZEOF_VOID_P 773 CFLAGS_DEFAULT 774 LDFLAGS_DEFAULT 775 HAVE_FFMPEG_LIBS 776 subdirs 777 LIBOBJS 778 LTLIBOBJS' 771 SHELL' 779 772 ac_subst_files='' 773 ac_user_opts=' 774 enable_option_checking 775 with_install 776 enable_64bit 777 enable_64bit_vis 778 enable_corefoundation 779 enable_load 780 enable_gui 781 with_tclsh 782 with_vtk 783 with_matlab 784 with_octave 785 with_octave2 786 with_octave3 787 with_perl 788 with_python 789 with_ruby 790 with_java 791 enable_shared 792 enable_symbols 793 ' 780 794 ac_precious_vars='build_alias 781 795 host_alias … … 798 812 ac_init_help= 799 813 ac_init_version=false 814 ac_unrecognized_opts= 815 ac_unrecognized_sep= 800 816 # The variables have the same names as the options, with 801 817 # dashes changed to underlines. … … 853 869 854 870 case $ac_option in 855 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 856 *) ac_optarg=yes ;; 871 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 872 *=) ac_optarg= ;; 873 *) ac_optarg=yes ;; 857 874 esac 858 875 … … 896 913 897 914 -disable-* | --disable-*) 898 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`915 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 899 916 # Reject names that are not valid shell variable names. 900 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 901 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 902 { (exit 1); exit 1; }; } 903 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 904 eval enable_$ac_feature=no ;; 917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 918 as_fn_error $? "invalid feature name: $ac_useropt" 919 ac_useropt_orig=$ac_useropt 920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 921 case $ac_user_opts in 922 *" 923 "enable_$ac_useropt" 924 "*) ;; 925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 926 ac_unrecognized_sep=', ';; 927 esac 928 eval enable_$ac_useropt=no ;; 905 929 906 930 -docdir | --docdir | --docdi | --doc | --do) … … 915 939 916 940 -enable-* | --enable-*) 917 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`941 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 918 942 # Reject names that are not valid shell variable names. 919 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 920 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 921 { (exit 1); exit 1; }; } 922 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 923 eval enable_$ac_feature=\$ac_optarg ;; 943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 944 as_fn_error $? "invalid feature name: $ac_useropt" 945 ac_useropt_orig=$ac_useropt 946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 947 case $ac_user_opts in 948 *" 949 "enable_$ac_useropt" 950 "*) ;; 951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 952 ac_unrecognized_sep=', ';; 953 esac 954 eval enable_$ac_useropt=\$ac_optarg ;; 924 955 925 956 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1112 1143 1113 1144 -with-* | --with-*) 1114 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1145 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1115 1146 # Reject names that are not valid shell variable names. 1116 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1117 { echo "$as_me: error: invalid package name: $ac_package" >&2 1118 { (exit 1); exit 1; }; } 1119 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1120 eval with_$ac_package=\$ac_optarg ;; 1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1148 as_fn_error $? "invalid package name: $ac_useropt" 1149 ac_useropt_orig=$ac_useropt 1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1151 case $ac_user_opts in 1152 *" 1153 "with_$ac_useropt" 1154 "*) ;; 1155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1156 ac_unrecognized_sep=', ';; 1157 esac 1158 eval with_$ac_useropt=\$ac_optarg ;; 1121 1159 1122 1160 -without-* | --without-*) 1123 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1161 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1124 1162 # Reject names that are not valid shell variable names. 1125 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1126 { echo "$as_me: error: invalid package name: $ac_package" >&2 1127 { (exit 1); exit 1; }; } 1128 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1129 eval with_$ac_package=no ;; 1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1164 as_fn_error $? "invalid package name: $ac_useropt" 1165 ac_useropt_orig=$ac_useropt 1166 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1167 case $ac_user_opts in 1168 *" 1169 "with_$ac_useropt" 1170 "*) ;; 1171 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1172 ac_unrecognized_sep=', ';; 1173 esac 1174 eval with_$ac_useropt=no ;; 1130 1175 1131 1176 --x) … … 1147 1192 x_libraries=$ac_optarg ;; 1148 1193 1149 -*) { echo "$as_me: error: unrecognized option: $ac_option 1150 Try \`$0 --help' for more information." >&2 1151 { (exit 1); exit 1; }; } 1194 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1195 Try \`$0 --help' for more information" 1152 1196 ;; 1153 1197 … … 1155 1199 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1156 1200 # Reject names that are not valid shell variable names. 1157 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1158 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1159 { (exit 1); exit 1; }; } 1201 case $ac_envvar in #( 1202 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1203 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1204 esac 1160 1205 eval $ac_envvar=\$ac_optarg 1161 1206 export $ac_envvar ;; … … 1163 1208 *) 1164 1209 # FIXME: should be removed in autoconf 3.0. 1165 echo "$as_me: WARNING: you should use --build, --host, --target" >&21210 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1166 1211 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1167 echo "$as_me: WARNING: invalid host type: $ac_option" >&21168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1212 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1213 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1169 1214 ;; 1170 1215 … … 1174 1219 if test -n "$ac_prev"; then 1175 1220 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1176 { echo "$as_me: error: missing argument to $ac_option" >&2 1177 { (exit 1); exit 1; }; } 1178 fi 1179 1180 # Be sure to have absolute directory names. 1221 as_fn_error $? "missing argument to $ac_option" 1222 fi 1223 1224 if test -n "$ac_unrecognized_opts"; then 1225 case $enable_option_checking in 1226 no) ;; 1227 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1228 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1229 esac 1230 fi 1231 1232 # Check all directory arguments for consistency. 1181 1233 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1182 1234 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1185 1237 do 1186 1238 eval ac_val=\$$ac_var 1239 # Remove trailing slashes. 1240 case $ac_val in 1241 */ ) 1242 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1243 eval $ac_var=\$ac_val;; 1244 esac 1245 # Be sure to have absolute directory names. 1187 1246 case $ac_val in 1188 1247 [\\/$]* | ?:[\\/]* ) continue;; 1189 1248 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1190 1249 esac 1191 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1192 { (exit 1); exit 1; }; } 1250 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1193 1251 done 1194 1252 … … 1204 1262 if test "x$build_alias" = x; then 1205 1263 cross_compiling=maybe 1206 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1207 If a cross compiler is detected then cross compile mode will be used ." >&21264 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1265 If a cross compiler is detected then cross compile mode will be used" >&2 1208 1266 elif test "x$build_alias" != "x$host_alias"; then 1209 1267 cross_compiling=yes … … 1220 1278 ac_ls_di=`ls -di .` && 1221 1279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1222 { echo "$as_me: error: Working directory cannot be determined" >&2 1223 { (exit 1); exit 1; }; } 1280 as_fn_error $? "working directory cannot be determined" 1224 1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1225 { echo "$as_me: error: pwd does not report name of working directory" >&2 1226 { (exit 1); exit 1; }; } 1282 as_fn_error $? "pwd does not report name of working directory" 1227 1283 1228 1284 … … 1231 1287 ac_srcdir_defaulted=yes 1232 1288 # Try the directory containing this script, then the parent directory. 1233 ac_confdir=`$as_dirname -- "$ 0" ||1234 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1235 X"$ 0" : 'X\(//\)[^/]' \| \1236 X"$ 0" : 'X\(//\)$' \| \1237 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1238 echo X"$0" |1289 ac_confdir=`$as_dirname -- "$as_myself" || 1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1291 X"$as_myself" : 'X\(//\)[^/]' \| \ 1292 X"$as_myself" : 'X\(//\)$' \| \ 1293 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1294 $as_echo X"$as_myself" | 1239 1295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1240 1296 s//\1/ … … 1263 1319 if test ! -r "$srcdir/$ac_unique_file"; then 1264 1320 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1265 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1266 { (exit 1); exit 1; }; } 1321 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1267 1322 fi 1268 1323 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1269 1324 ac_abs_confdir=`( 1270 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1271 { (exit 1); exit 1; }; } 1325 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1272 1326 pwd)` 1273 1327 # When building in place, set srcdir=. … … 1309 1363 --help=recursive display the short help of all the included packages 1310 1364 -V, --version display version information and exit 1311 -q, --quiet, --silent do not print \`checking ...' messages1365 -q, --quiet, --silent do not print \`checking ...' messages 1312 1366 --cache-file=FILE cache test results in FILE [disabled] 1313 1367 -C, --config-cache alias for \`--cache-file=config.cache' … … 1317 1371 Installation directories: 1318 1372 --prefix=PREFIX install architecture-independent files in PREFIX 1319 1373 [$ac_default_prefix] 1320 1374 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1321 1375 [PREFIX] 1322 1376 1323 1377 By default, \`make install' will install all the files in … … 1329 1383 1330 1384 Fine tuning of the installation directories: 1331 --bindir=DIR user executables [EPREFIX/bin]1332 --sbindir=DIR system admin executables [EPREFIX/sbin]1333 --libexecdir=DIR program executables [EPREFIX/libexec]1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1337 --libdir=DIR object code libraries [EPREFIX/lib]1338 --includedir=DIR C header files [PREFIX/include]1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1342 --infodir=DIR info documentation [DATAROOTDIR/info]1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1344 --mandir=DIR man documentation [DATAROOTDIR/man]1345 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1346 --htmldir=DIR html documentation [DOCDIR]1347 --dvidir=DIR dvi documentation [DOCDIR]1348 --pdfdir=DIR pdf documentation [DOCDIR]1349 --psdir=DIR ps documentation [DOCDIR]1385 --bindir=DIR user executables [EPREFIX/bin] 1386 --sbindir=DIR system admin executables [EPREFIX/sbin] 1387 --libexecdir=DIR program executables [EPREFIX/libexec] 1388 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1389 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1390 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1391 --libdir=DIR object code libraries [EPREFIX/lib] 1392 --includedir=DIR C header files [PREFIX/include] 1393 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1394 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1395 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1396 --infodir=DIR info documentation [DATAROOTDIR/info] 1397 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1398 --mandir=DIR man documentation [DATAROOTDIR/man] 1399 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1400 --htmldir=DIR html documentation [DOCDIR] 1401 --dvidir=DIR dvi documentation [DOCDIR] 1402 --pdfdir=DIR pdf documentation [DOCDIR] 1403 --psdir=DIR ps documentation [DOCDIR] 1350 1404 _ACEOF 1351 1405 … … 1361 1415 1362 1416 Optional Features: 1417 --disable-option-checking ignore unrecognized --enable/--with options 1363 1418 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1364 1419 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1375 1430 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1376 1431 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1432 --with-install=DIR location of installation [default=yes] 1377 1433 --with-tclsh=DIR location of tclsh [default=yes] 1378 1434 --with-vtk=DIR location of vtk library [default=yes] … … 1392 1448 nonstandard directory <lib dir> 1393 1449 LIBS libraries to pass to the linker, e.g. -l<library> 1394 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1450 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1395 1451 you have headers in a nonstandard directory <include dir> 1396 1452 CXX C++ compiler command … … 1412 1468 # If there are subdirs, report their specific --help. 1413 1469 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1414 test -d "$ac_dir" || continue 1470 test -d "$ac_dir" || 1471 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1472 continue 1415 1473 ac_builddir=. 1416 1474 … … 1418 1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1419 1477 *) 1420 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1478 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1421 1479 # A ".." for each directory in $ac_dir_suffix. 1422 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1480 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1423 1481 case $ac_top_builddir_sub in 1424 1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1456 1514 $SHELL "$ac_srcdir/configure" --help=recursive 1457 1515 else 1458 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21516 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1459 1517 fi || ac_status=$? 1460 1518 cd "$ac_pwd" || { ac_status=$?; break; } … … 1466 1524 cat <<\_ACEOF 1467 1525 Rappture configure 1.1 1468 generated by GNU Autoconf 2.61 1469 1470 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1471 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1526 generated by GNU Autoconf 2.68 1527 1528 Copyright (C) 2010 Free Software Foundation, Inc. 1472 1529 This configure script is free software; the Free Software Foundation 1473 1530 gives unlimited permission to copy, distribute and modify it. … … 1475 1532 exit 1476 1533 fi 1534 1535 ## ------------------------ ## 1536 ## Autoconf initialization. ## 1537 ## ------------------------ ## 1538 1539 # ac_fn_c_try_compile LINENO 1540 # -------------------------- 1541 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1542 ac_fn_c_try_compile () 1543 { 1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1545 rm -f conftest.$ac_objext 1546 if { { ac_try="$ac_compile" 1547 case "(($ac_try" in 1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1549 *) ac_try_echo=$ac_try;; 1550 esac 1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1552 $as_echo "$ac_try_echo"; } >&5 1553 (eval "$ac_compile") 2>conftest.err 1554 ac_status=$? 1555 if test -s conftest.err; then 1556 grep -v '^ *+' conftest.err >conftest.er1 1557 cat conftest.er1 >&5 1558 mv -f conftest.er1 conftest.err 1559 fi 1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1561 test $ac_status = 0; } && { 1562 test -z "$ac_c_werror_flag" || 1563 test ! -s conftest.err 1564 } && test -s conftest.$ac_objext; then : 1565 ac_retval=0 1566 else 1567 $as_echo "$as_me: failed program was:" >&5 1568 sed 's/^/| /' conftest.$ac_ext >&5 1569 1570 ac_retval=1 1571 fi 1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1573 as_fn_set_status $ac_retval 1574 1575 } # ac_fn_c_try_compile 1576 1577 # ac_fn_cxx_try_compile LINENO 1578 # ---------------------------- 1579 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1580 ac_fn_cxx_try_compile () 1581 { 1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1583 rm -f conftest.$ac_objext 1584 if { { ac_try="$ac_compile" 1585 case "(($ac_try" in 1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1587 *) ac_try_echo=$ac_try;; 1588 esac 1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1590 $as_echo "$ac_try_echo"; } >&5 1591 (eval "$ac_compile") 2>conftest.err 1592 ac_status=$? 1593 if test -s conftest.err; then 1594 grep -v '^ *+' conftest.err >conftest.er1 1595 cat conftest.er1 >&5 1596 mv -f conftest.er1 conftest.err 1597 fi 1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1599 test $ac_status = 0; } && { 1600 test -z "$ac_cxx_werror_flag" || 1601 test ! -s conftest.err 1602 } && test -s conftest.$ac_objext; then : 1603 ac_retval=0 1604 else 1605 $as_echo "$as_me: failed program was:" >&5 1606 sed 's/^/| /' conftest.$ac_ext >&5 1607 1608 ac_retval=1 1609 fi 1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1611 as_fn_set_status $ac_retval 1612 1613 } # ac_fn_cxx_try_compile 1614 1615 # ac_fn_f77_try_compile LINENO 1616 # ---------------------------- 1617 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1618 ac_fn_f77_try_compile () 1619 { 1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1621 rm -f conftest.$ac_objext 1622 if { { ac_try="$ac_compile" 1623 case "(($ac_try" in 1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1625 *) ac_try_echo=$ac_try;; 1626 esac 1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1628 $as_echo "$ac_try_echo"; } >&5 1629 (eval "$ac_compile") 2>conftest.err 1630 ac_status=$? 1631 if test -s conftest.err; then 1632 grep -v '^ *+' conftest.err >conftest.er1 1633 cat conftest.er1 >&5 1634 mv -f conftest.er1 conftest.err 1635 fi 1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1637 test $ac_status = 0; } && { 1638 test -z "$ac_f77_werror_flag" || 1639 test ! -s conftest.err 1640 } && test -s conftest.$ac_objext; then : 1641 ac_retval=0 1642 else 1643 $as_echo "$as_me: failed program was:" >&5 1644 sed 's/^/| /' conftest.$ac_ext >&5 1645 1646 ac_retval=1 1647 fi 1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1649 as_fn_set_status $ac_retval 1650 1651 } # ac_fn_f77_try_compile 1652 1653 # ac_fn_c_try_cpp LINENO 1654 # ---------------------- 1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1656 ac_fn_c_try_cpp () 1657 { 1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1659 if { { ac_try="$ac_cpp conftest.$ac_ext" 1660 case "(($ac_try" in 1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1662 *) ac_try_echo=$ac_try;; 1663 esac 1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1665 $as_echo "$ac_try_echo"; } >&5 1666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1667 ac_status=$? 1668 if test -s conftest.err; then 1669 grep -v '^ *+' conftest.err >conftest.er1 1670 cat conftest.er1 >&5 1671 mv -f conftest.er1 conftest.err 1672 fi 1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1674 test $ac_status = 0; } > conftest.i && { 1675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1676 test ! -s conftest.err 1677 }; then : 1678 ac_retval=0 1679 else 1680 $as_echo "$as_me: failed program was:" >&5 1681 sed 's/^/| /' conftest.$ac_ext >&5 1682 1683 ac_retval=1 1684 fi 1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1686 as_fn_set_status $ac_retval 1687 1688 } # ac_fn_c_try_cpp 1689 1690 # ac_fn_c_try_run LINENO 1691 # ---------------------- 1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1693 # that executables *can* be run. 1694 ac_fn_c_try_run () 1695 { 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 if { { ac_try="$ac_link" 1698 case "(($ac_try" in 1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1700 *) ac_try_echo=$ac_try;; 1701 esac 1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1703 $as_echo "$ac_try_echo"; } >&5 1704 (eval "$ac_link") 2>&5 1705 ac_status=$? 1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1708 { { case "(($ac_try" in 1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1710 *) ac_try_echo=$ac_try;; 1711 esac 1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1713 $as_echo "$ac_try_echo"; } >&5 1714 (eval "$ac_try") 2>&5 1715 ac_status=$? 1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1717 test $ac_status = 0; }; }; then : 1718 ac_retval=0 1719 else 1720 $as_echo "$as_me: program exited with status $ac_status" >&5 1721 $as_echo "$as_me: failed program was:" >&5 1722 sed 's/^/| /' conftest.$ac_ext >&5 1723 1724 ac_retval=$ac_status 1725 fi 1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1728 as_fn_set_status $ac_retval 1729 1730 } # ac_fn_c_try_run 1731 1732 # ac_fn_c_try_link LINENO 1733 # ----------------------- 1734 # Try to link conftest.$ac_ext, and return whether this succeeded. 1735 ac_fn_c_try_link () 1736 { 1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1738 rm -f conftest.$ac_objext conftest$ac_exeext 1739 if { { ac_try="$ac_link" 1740 case "(($ac_try" in 1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1742 *) ac_try_echo=$ac_try;; 1743 esac 1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1745 $as_echo "$ac_try_echo"; } >&5 1746 (eval "$ac_link") 2>conftest.err 1747 ac_status=$? 1748 if test -s conftest.err; then 1749 grep -v '^ *+' conftest.err >conftest.er1 1750 cat conftest.er1 >&5 1751 mv -f conftest.er1 conftest.err 1752 fi 1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1754 test $ac_status = 0; } && { 1755 test -z "$ac_c_werror_flag" || 1756 test ! -s conftest.err 1757 } && test -s conftest$ac_exeext && { 1758 test "$cross_compiling" = yes || 1759 $as_test_x conftest$ac_exeext 1760 }; then : 1761 ac_retval=0 1762 else 1763 $as_echo "$as_me: failed program was:" >&5 1764 sed 's/^/| /' conftest.$ac_ext >&5 1765 1766 ac_retval=1 1767 fi 1768 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1769 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1770 # interfere with the next link command; also delete a directory that is 1771 # left behind by Apple's compiler. We do this before executing the actions. 1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1774 as_fn_set_status $ac_retval 1775 1776 } # ac_fn_c_try_link 1777 1778 # ac_fn_c_check_func LINENO FUNC VAR 1779 # ---------------------------------- 1780 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1781 ac_fn_c_check_func () 1782 { 1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1785 $as_echo_n "checking for $2... " >&6; } 1786 if eval \${$3+:} false; then : 1787 $as_echo_n "(cached) " >&6 1788 else 1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1790 /* end confdefs.h. */ 1791 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1792 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1793 #define $2 innocuous_$2 1794 1795 /* System header to define __stub macros and hopefully few prototypes, 1796 which can conflict with char $2 (); below. 1797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1798 <limits.h> exists even on freestanding compilers. */ 1799 1800 #ifdef __STDC__ 1801 # include <limits.h> 1802 #else 1803 # include <assert.h> 1804 #endif 1805 1806 #undef $2 1807 1808 /* Override any GCC internal prototype to avoid an error. 1809 Use char because int might match the return type of a GCC 1810 builtin and then its argument prototype would still apply. */ 1811 #ifdef __cplusplus 1812 extern "C" 1813 #endif 1814 char $2 (); 1815 /* The GNU C library defines this for functions which it implements 1816 to always fail with ENOSYS. Some functions are actually named 1817 something starting with __ and the normal name is an alias. */ 1818 #if defined __stub_$2 || defined __stub___$2 1819 choke me 1820 #endif 1821 1822 int 1823 main () 1824 { 1825 return $2 (); 1826 ; 1827 return 0; 1828 } 1829 _ACEOF 1830 if ac_fn_c_try_link "$LINENO"; then : 1831 eval "$3=yes" 1832 else 1833 eval "$3=no" 1834 fi 1835 rm -f core conftest.err conftest.$ac_objext \ 1836 conftest$ac_exeext conftest.$ac_ext 1837 fi 1838 eval ac_res=\$$3 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1840 $as_echo "$ac_res" >&6; } 1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1842 1843 } # ac_fn_c_check_func 1844 1845 # ac_fn_cxx_try_link LINENO 1846 # ------------------------- 1847 # Try to link conftest.$ac_ext, and return whether this succeeded. 1848 ac_fn_cxx_try_link () 1849 { 1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1851 rm -f conftest.$ac_objext conftest$ac_exeext 1852 if { { ac_try="$ac_link" 1853 case "(($ac_try" in 1854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1855 *) ac_try_echo=$ac_try;; 1856 esac 1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1858 $as_echo "$ac_try_echo"; } >&5 1859 (eval "$ac_link") 2>conftest.err 1860 ac_status=$? 1861 if test -s conftest.err; then 1862 grep -v '^ *+' conftest.err >conftest.er1 1863 cat conftest.er1 >&5 1864 mv -f conftest.er1 conftest.err 1865 fi 1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1867 test $ac_status = 0; } && { 1868 test -z "$ac_cxx_werror_flag" || 1869 test ! -s conftest.err 1870 } && test -s conftest$ac_exeext && { 1871 test "$cross_compiling" = yes || 1872 $as_test_x conftest$ac_exeext 1873 }; then : 1874 ac_retval=0 1875 else 1876 $as_echo "$as_me: failed program was:" >&5 1877 sed 's/^/| /' conftest.$ac_ext >&5 1878 1879 ac_retval=1 1880 fi 1881 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1882 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1883 # interfere with the next link command; also delete a directory that is 1884 # left behind by Apple's compiler. We do this before executing the actions. 1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1887 as_fn_set_status $ac_retval 1888 1889 } # ac_fn_cxx_try_link 1890 1891 # ac_fn_cxx_check_func LINENO FUNC VAR 1892 # ------------------------------------ 1893 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1894 ac_fn_cxx_check_func () 1895 { 1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1898 $as_echo_n "checking for $2... " >&6; } 1899 if eval \${$3+:} false; then : 1900 $as_echo_n "(cached) " >&6 1901 else 1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1903 /* end confdefs.h. */ 1904 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1905 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1906 #define $2 innocuous_$2 1907 1908 /* System header to define __stub macros and hopefully few prototypes, 1909 which can conflict with char $2 (); below. 1910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1911 <limits.h> exists even on freestanding compilers. */ 1912 1913 #ifdef __STDC__ 1914 # include <limits.h> 1915 #else 1916 # include <assert.h> 1917 #endif 1918 1919 #undef $2 1920 1921 /* Override any GCC internal prototype to avoid an error. 1922 Use char because int might match the return type of a GCC 1923 builtin and then its argument prototype would still apply. */ 1924 #ifdef __cplusplus 1925 extern "C" 1926 #endif 1927 char $2 (); 1928 /* The GNU C library defines this for functions which it implements 1929 to always fail with ENOSYS. Some functions are actually named 1930 something starting with __ and the normal name is an alias. */ 1931 #if defined __stub_$2 || defined __stub___$2 1932 choke me 1933 #endif 1934 1935 int 1936 main () 1937 { 1938 return $2 (); 1939 ; 1940 return 0; 1941 } 1942 _ACEOF 1943 if ac_fn_cxx_try_link "$LINENO"; then : 1944 eval "$3=yes" 1945 else 1946 eval "$3=no" 1947 fi 1948 rm -f core conftest.err conftest.$ac_objext \ 1949 conftest$ac_exeext conftest.$ac_ext 1950 fi 1951 eval ac_res=\$$3 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1953 $as_echo "$ac_res" >&6; } 1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1955 1956 } # ac_fn_cxx_check_func 1957 1958 # ac_fn_cxx_try_cpp LINENO 1959 # ------------------------ 1960 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1961 ac_fn_cxx_try_cpp () 1962 { 1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1964 if { { ac_try="$ac_cpp conftest.$ac_ext" 1965 case "(($ac_try" in 1966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1967 *) ac_try_echo=$ac_try;; 1968 esac 1969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1970 $as_echo "$ac_try_echo"; } >&5 1971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1972 ac_status=$? 1973 if test -s conftest.err; then 1974 grep -v '^ *+' conftest.err >conftest.er1 1975 cat conftest.er1 >&5 1976 mv -f conftest.er1 conftest.err 1977 fi 1978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1979 test $ac_status = 0; } > conftest.i && { 1980 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1981 test ! -s conftest.err 1982 }; then : 1983 ac_retval=0 1984 else 1985 $as_echo "$as_me: failed program was:" >&5 1986 sed 's/^/| /' conftest.$ac_ext >&5 1987 1988 ac_retval=1 1989 fi 1990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1991 as_fn_set_status $ac_retval 1992 1993 } # ac_fn_cxx_try_cpp 1994 1995 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1996 # --------------------------------------------------------- 1997 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1998 # the include files in INCLUDES and setting the cache variable VAR 1999 # accordingly. 2000 ac_fn_cxx_check_header_mongrel () 2001 { 2002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2003 if eval \${$3+:} false; then : 2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2005 $as_echo_n "checking for $2... " >&6; } 2006 if eval \${$3+:} false; then : 2007 $as_echo_n "(cached) " >&6 2008 fi 2009 eval ac_res=\$$3 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2011 $as_echo "$ac_res" >&6; } 2012 else 2013 # Is the header compilable? 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2015 $as_echo_n "checking $2 usability... " >&6; } 2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2017 /* end confdefs.h. */ 2018 $4 2019 #include <$2> 2020 _ACEOF 2021 if ac_fn_cxx_try_compile "$LINENO"; then : 2022 ac_header_compiler=yes 2023 else 2024 ac_header_compiler=no 2025 fi 2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2028 $as_echo "$ac_header_compiler" >&6; } 2029 2030 # Is the header present? 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2032 $as_echo_n "checking $2 presence... " >&6; } 2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2034 /* end confdefs.h. */ 2035 #include <$2> 2036 _ACEOF 2037 if ac_fn_cxx_try_cpp "$LINENO"; then : 2038 ac_header_preproc=yes 2039 else 2040 ac_header_preproc=no 2041 fi 2042 rm -f conftest.err conftest.i conftest.$ac_ext 2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2044 $as_echo "$ac_header_preproc" >&6; } 2045 2046 # So? What about this header? 2047 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2048 yes:no: ) 2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2050 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2052 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2053 ;; 2054 no:yes:* ) 2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2056 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2058 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2060 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2062 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2064 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2065 ( $as_echo "## ----------------------------------- ## 2066 ## Report this to rappture@nanohub.org ## 2067 ## ----------------------------------- ##" 2068 ) | sed "s/^/$as_me: WARNING: /" >&2 2069 ;; 2070 esac 2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2072 $as_echo_n "checking for $2... " >&6; } 2073 if eval \${$3+:} false; then : 2074 $as_echo_n "(cached) " >&6 2075 else 2076 eval "$3=\$ac_header_compiler" 2077 fi 2078 eval ac_res=\$$3 2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2080 $as_echo "$ac_res" >&6; } 2081 fi 2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2083 2084 } # ac_fn_cxx_check_header_mongrel 2085 2086 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2087 # --------------------------------------------------------- 2088 # Tests whether HEADER exists and can be compiled using the include files in 2089 # INCLUDES, setting the cache variable VAR accordingly. 2090 ac_fn_cxx_check_header_compile () 2091 { 2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2094 $as_echo_n "checking for $2... " >&6; } 2095 if eval \${$3+:} false; then : 2096 $as_echo_n "(cached) " >&6 2097 else 2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2099 /* end confdefs.h. */ 2100 $4 2101 #include <$2> 2102 _ACEOF 2103 if ac_fn_cxx_try_compile "$LINENO"; then : 2104 eval "$3=yes" 2105 else 2106 eval "$3=no" 2107 fi 2108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2109 fi 2110 eval ac_res=\$$3 2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2112 $as_echo "$ac_res" >&6; } 2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2114 2115 } # ac_fn_cxx_check_header_compile 2116 2117 # ac_fn_cxx_try_run LINENO 2118 # ------------------------ 2119 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2120 # that executables *can* be run. 2121 ac_fn_cxx_try_run () 2122 { 2123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2124 if { { ac_try="$ac_link" 2125 case "(($ac_try" in 2126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2127 *) ac_try_echo=$ac_try;; 2128 esac 2129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2130 $as_echo "$ac_try_echo"; } >&5 2131 (eval "$ac_link") 2>&5 2132 ac_status=$? 2133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2134 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2135 { { case "(($ac_try" in 2136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2137 *) ac_try_echo=$ac_try;; 2138 esac 2139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2140 $as_echo "$ac_try_echo"; } >&5 2141 (eval "$ac_try") 2>&5 2142 ac_status=$? 2143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2144 test $ac_status = 0; }; }; then : 2145 ac_retval=0 2146 else 2147 $as_echo "$as_me: program exited with status $ac_status" >&5 2148 $as_echo "$as_me: failed program was:" >&5 2149 sed 's/^/| /' conftest.$ac_ext >&5 2150 2151 ac_retval=$ac_status 2152 fi 2153 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2154 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2155 as_fn_set_status $ac_retval 2156 2157 } # ac_fn_cxx_try_run 2158 2159 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2160 # ---------------------------------------------- 2161 # Tries to find the compile-time value of EXPR in a program that includes 2162 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2163 # computed 2164 ac_fn_cxx_compute_int () 2165 { 2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2167 if test "$cross_compiling" = yes; then 2168 # Depending upon the size, compute the lo and hi bounds. 2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2170 /* end confdefs.h. */ 2171 $4 2172 int 2173 main () 2174 { 2175 static int test_array [1 - 2 * !(($2) >= 0)]; 2176 test_array [0] = 0 2177 2178 ; 2179 return 0; 2180 } 2181 _ACEOF 2182 if ac_fn_cxx_try_compile "$LINENO"; then : 2183 ac_lo=0 ac_mid=0 2184 while :; do 2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2186 /* end confdefs.h. */ 2187 $4 2188 int 2189 main () 2190 { 2191 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2192 test_array [0] = 0 2193 2194 ; 2195 return 0; 2196 } 2197 _ACEOF 2198 if ac_fn_cxx_try_compile "$LINENO"; then : 2199 ac_hi=$ac_mid; break 2200 else 2201 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2202 if test $ac_lo -le $ac_mid; then 2203 ac_lo= ac_hi= 2204 break 2205 fi 2206 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2207 fi 2208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2209 done 2210 else 2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2212 /* end confdefs.h. */ 2213 $4 2214 int 2215 main () 2216 { 2217 static int test_array [1 - 2 * !(($2) < 0)]; 2218 test_array [0] = 0 2219 2220 ; 2221 return 0; 2222 } 2223 _ACEOF 2224 if ac_fn_cxx_try_compile "$LINENO"; then : 2225 ac_hi=-1 ac_mid=-1 2226 while :; do 2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2228 /* end confdefs.h. */ 2229 $4 2230 int 2231 main () 2232 { 2233 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2234 test_array [0] = 0 2235 2236 ; 2237 return 0; 2238 } 2239 _ACEOF 2240 if ac_fn_cxx_try_compile "$LINENO"; then : 2241 ac_lo=$ac_mid; break 2242 else 2243 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2244 if test $ac_mid -le $ac_hi; then 2245 ac_lo= ac_hi= 2246 break 2247 fi 2248 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2249 fi 2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2251 done 2252 else 2253 ac_lo= ac_hi= 2254 fi 2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2256 fi 2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2258 # Binary search between lo and hi bounds. 2259 while test "x$ac_lo" != "x$ac_hi"; do 2260 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2262 /* end confdefs.h. */ 2263 $4 2264 int 2265 main () 2266 { 2267 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2268 test_array [0] = 0 2269 2270 ; 2271 return 0; 2272 } 2273 _ACEOF 2274 if ac_fn_cxx_try_compile "$LINENO"; then : 2275 ac_hi=$ac_mid 2276 else 2277 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2278 fi 2279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2280 done 2281 case $ac_lo in #(( 2282 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2283 '') ac_retval=1 ;; 2284 esac 2285 else 2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2287 /* end confdefs.h. */ 2288 $4 2289 static long int longval () { return $2; } 2290 static unsigned long int ulongval () { return $2; } 2291 #include <stdio.h> 2292 #include <stdlib.h> 2293 int 2294 main () 2295 { 2296 2297 FILE *f = fopen ("conftest.val", "w"); 2298 if (! f) 2299 return 1; 2300 if (($2) < 0) 2301 { 2302 long int i = longval (); 2303 if (i != ($2)) 2304 return 1; 2305 fprintf (f, "%ld", i); 2306 } 2307 else 2308 { 2309 unsigned long int i = ulongval (); 2310 if (i != ($2)) 2311 return 1; 2312 fprintf (f, "%lu", i); 2313 } 2314 /* Do not output a trailing newline, as this causes \r\n confusion 2315 on some platforms. */ 2316 return ferror (f) || fclose (f) != 0; 2317 2318 ; 2319 return 0; 2320 } 2321 _ACEOF 2322 if ac_fn_cxx_try_run "$LINENO"; then : 2323 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2324 else 2325 ac_retval=1 2326 fi 2327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2328 conftest.$ac_objext conftest.beam conftest.$ac_ext 2329 rm -f conftest.val 2330 2331 fi 2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2333 as_fn_set_status $ac_retval 2334 2335 } # ac_fn_cxx_compute_int 1477 2336 cat >config.log <<_ACEOF 1478 2337 This file contains any messages produced by compilers while … … 1480 2339 1481 2340 It was created by Rappture $as_me 1.1, which was 1482 generated by GNU Autoconf 2.6 1. Invocation command line was2341 generated by GNU Autoconf 2.68. Invocation command line was 1483 2342 1484 2343 $ $0 $@ … … 1516 2375 IFS=$as_save_IFS 1517 2376 test -z "$as_dir" && as_dir=. 1518 echo "PATH: $as_dir"1519 done2377 $as_echo "PATH: $as_dir" 2378 done 1520 2379 IFS=$as_save_IFS 1521 2380 … … 1551 2410 continue ;; 1552 2411 *\'*) 1553 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2412 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1554 2413 esac 1555 2414 case $ac_pass in 1556 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2415 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1557 2416 2) 1558 a c_configure_args1="$ac_configure_args1'$ac_arg'"2417 as_fn_append ac_configure_args1 " '$ac_arg'" 1559 2418 if test $ac_must_keep_next = true; then 1560 2419 ac_must_keep_next=false # Got value, back to normal. … … 1572 2431 esac 1573 2432 fi 1574 a c_configure_args="$ac_configure_args'$ac_arg'"2433 as_fn_append ac_configure_args " '$ac_arg'" 1575 2434 ;; 1576 2435 esac 1577 2436 done 1578 2437 done 1579 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1580 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2438 { ac_configure_args0=; unset ac_configure_args0;} 2439 { ac_configure_args1=; unset ac_configure_args1;} 1581 2440 1582 2441 # When interrupted or exit'd, cleanup temporary files, and complete … … 1590 2449 echo 1591 2450 1592 cat <<\_ASBOX 1593 ## ---------------- ## 2451 $as_echo "## ---------------- ## 1594 2452 ## Cache variables. ## 1595 ## ---------------- ## 1596 _ASBOX 2453 ## ---------------- ##" 1597 2454 echo 1598 2455 # The following way of writing the cache mishandles newlines in values, … … 1603 2460 *${as_nl}*) 1604 2461 case $ac_var in #( 1605 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51606 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2462 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2463 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1607 2464 esac 1608 2465 case $ac_var in #( 1609 2466 _ | IFS | as_nl) ;; #( 1610 *) $as_unset $ac_var ;; 2467 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2468 *) { eval $ac_var=; unset $ac_var;} ;; 1611 2469 esac ;; 1612 2470 esac … … 1627 2485 echo 1628 2486 1629 cat <<\_ASBOX 1630 ## ----------------- ## 2487 $as_echo "## ----------------- ## 1631 2488 ## Output variables. ## 1632 ## ----------------- ## 1633 _ASBOX 2489 ## ----------------- ##" 1634 2490 echo 1635 2491 for ac_var in $ac_subst_vars … … 1637 2493 eval ac_val=\$$ac_var 1638 2494 case $ac_val in 1639 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1640 2496 esac 1641 echo "$ac_var='\''$ac_val'\''"2497 $as_echo "$ac_var='\''$ac_val'\''" 1642 2498 done | sort 1643 2499 echo 1644 2500 1645 2501 if test -n "$ac_subst_files"; then 1646 cat <<\_ASBOX 1647 ## ------------------- ## 2502 $as_echo "## ------------------- ## 1648 2503 ## File substitutions. ## 1649 ## ------------------- ## 1650 _ASBOX 2504 ## ------------------- ##" 1651 2505 echo 1652 2506 for ac_var in $ac_subst_files … … 1654 2508 eval ac_val=\$$ac_var 1655 2509 case $ac_val in 1656 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2510 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1657 2511 esac 1658 echo "$ac_var='\''$ac_val'\''"2512 $as_echo "$ac_var='\''$ac_val'\''" 1659 2513 done | sort 1660 2514 echo … … 1662 2516 1663 2517 if test -s confdefs.h; then 1664 cat <<\_ASBOX 1665 ## ----------- ## 2518 $as_echo "## ----------- ## 1666 2519 ## confdefs.h. ## 1667 ## ----------- ## 1668 _ASBOX 2520 ## ----------- ##" 1669 2521 echo 1670 2522 cat confdefs.h … … 1672 2524 fi 1673 2525 test "$ac_signal" != 0 && 1674 echo "$as_me: caught signal $ac_signal"1675 echo "$as_me: exit $exit_status"2526 $as_echo "$as_me: caught signal $ac_signal" 2527 $as_echo "$as_me: exit $exit_status" 1676 2528 } >&5 1677 2529 rm -f core *.core core.conftest.* && … … 1680 2532 ' 0 1681 2533 for ac_signal in 1 2 13 15; do 1682 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2534 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1683 2535 done 1684 2536 ac_signal=0 … … 1687 2539 rm -f -r conftest* confdefs.h 1688 2540 2541 $as_echo "/* confdefs.h */" > confdefs.h 2542 1689 2543 # Predefined preprocessor variables. 1690 2544 … … 1693 2547 _ACEOF 1694 2548 1695 1696 2549 cat >>confdefs.h <<_ACEOF 1697 2550 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1698 2551 _ACEOF 1699 2552 1700 1701 2553 cat >>confdefs.h <<_ACEOF 1702 2554 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1703 2555 _ACEOF 1704 2556 1705 1706 2557 cat >>confdefs.h <<_ACEOF 1707 2558 #define PACKAGE_STRING "$PACKAGE_STRING" 1708 2559 _ACEOF 1709 2560 1710 1711 2561 cat >>confdefs.h <<_ACEOF 1712 2562 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1713 2563 _ACEOF 1714 2564 2565 cat >>confdefs.h <<_ACEOF 2566 #define PACKAGE_URL "$PACKAGE_URL" 2567 _ACEOF 2568 1715 2569 1716 2570 # Let the site file select an alternate cache file if it wants to. 1717 # Prefer explicitly selected file to automatically selected ones. 2571 # Prefer an explicitly selected file to automatically selected ones. 2572 ac_site_file1=NONE 2573 ac_site_file2=NONE 1718 2574 if test -n "$CONFIG_SITE"; then 1719 set x "$CONFIG_SITE" 2575 # We do not want a PATH search for config.site. 2576 case $CONFIG_SITE in #(( 2577 -*) ac_site_file1=./$CONFIG_SITE;; 2578 */*) ac_site_file1=$CONFIG_SITE;; 2579 *) ac_site_file1=./$CONFIG_SITE;; 2580 esac 1720 2581 elif test "x$prefix" != xNONE; then 1721 set x "$prefix/share/config.site" "$prefix/etc/config.site"1722 else1723 set x "$ac_default_prefix/share/config.site" \ 1724 "$ac_default_prefix/etc/config.site" 1725 fi 1726 shift 1727 for ac_site_file 2582 ac_site_file1=$prefix/share/config.site 2583 ac_site_file2=$prefix/etc/config.site 2584 else 2585 ac_site_file1=$ac_default_prefix/share/config.site 2586 ac_site_file2=$ac_default_prefix/etc/config.site 2587 fi 2588 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1728 2589 do 1729 if test -r "$ac_site_file"; then 1730 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1731 echo "$as_me: loading site script $ac_site_file" >&6;} 2590 test "x$ac_site_file" = xNONE && continue 2591 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2593 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1732 2594 sed 's/^/| /' "$ac_site_file" >&5 1733 . "$ac_site_file" 2595 . "$ac_site_file" \ 2596 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2598 as_fn_error $? "failed to load site script $ac_site_file 2599 See \`config.log' for more details" "$LINENO" 5; } 1734 2600 fi 1735 2601 done 1736 2602 1737 2603 if test -r "$cache_file"; then 1738 # Some versions of bash will fail to source /dev/null (special 1739 # files actually), so we avoid doing that.1740 if test -f "$cache_file"; then1741 { echo "$as_me:$LINENO: loading cache $cache_file" >&51742 echo "$as_me: loading cache $cache_file" >&6;}2604 # Some versions of bash will fail to source /dev/null (special files 2605 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2606 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2608 $as_echo "$as_me: loading cache $cache_file" >&6;} 1743 2609 case $cache_file in 1744 2610 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1747 2613 fi 1748 2614 else 1749 { echo "$as_me:$LINENO: creating cache $cache_file" >&51750 echo "$as_me: creating cache $cache_file" >&6;}2615 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2616 $as_echo "$as_me: creating cache $cache_file" >&6;} 1751 2617 >$cache_file 1752 2618 fi … … 1762 2628 case $ac_old_set,$ac_new_set in 1763 2629 set,) 1764 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51765 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2631 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1766 2632 ac_cache_corrupted=: ;; 1767 2633 ,set) 1768 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51769 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2634 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2635 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1770 2636 ac_cache_corrupted=: ;; 1771 2637 ,);; 1772 2638 *) 1773 2639 if test "x$ac_old_val" != "x$ac_new_val"; then 1774 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1775 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1776 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1777 echo "$as_me: former value: $ac_old_val" >&2;} 1778 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1779 echo "$as_me: current value: $ac_new_val" >&2;} 1780 ac_cache_corrupted=: 2640 # differences in whitespace do not lead to failure. 2641 ac_old_val_w=`echo x $ac_old_val` 2642 ac_new_val_w=`echo x $ac_new_val` 2643 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2645 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2646 ac_cache_corrupted=: 2647 else 2648 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2649 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2650 eval $ac_var=\$ac_old_val 2651 fi 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2653 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2655 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1781 2656 fi;; 1782 2657 esac … … 1784 2659 if test "$ac_new_set" = set; then 1785 2660 case $ac_new_val in 1786 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2661 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1787 2662 *) ac_arg=$ac_var=$ac_new_val ;; 1788 2663 esac 1789 2664 case " $ac_configure_args " in 1790 2665 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1791 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2666 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1792 2667 esac 1793 2668 fi 1794 2669 done 1795 2670 if $ac_cache_corrupted; then 1796 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1797 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1798 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1799 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1800 { (exit 1); exit 1; }; } 1801 fi 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2674 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2675 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2676 fi 2677 ## -------------------- ## 2678 ## Main body of script. ## 2679 ## -------------------- ## 1826 2680 1827 2681 ac_ext=c … … 1849 2703 done 1850 2704 if test -z "$ac_aux_dir"; then 1851 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1852 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1853 { (exit 1); exit 1; }; } 2705 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1854 2706 fi 1855 2707 … … 1866 2718 1867 2719 2720 with_tclsh=yes 2721 1868 2722 #------------------------------------------------------------------------ 1869 2723 # Handle the --prefix=... option … … 1876 2730 exec_prefix=$prefix 1877 2731 fi 2732 2733 2734 # Check whether --with-install was given. 2735 if test "${with_install+set}" = set; then : 2736 withval=$with_install; 2737 else 2738 with_install=yes 2739 fi 2740 2741 if test "$with_install" != "yes"; then 2742 INSTALL_PREFIX=$with_install 2743 else 2744 INSTALL_PREFIX=$prefix 2745 fi 2746 2747 1878 2748 1879 2749 if test "${libdir}" != "${prefix}/lib"; then … … 1898 2768 # OS/2's system install, which has a completely different semantic 1899 2769 # ./install, which can be erroneously created by make from ./install.sh. 1900 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1901 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2770 # Reject install programs that cannot install multiple files. 2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2772 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1902 2773 if test -z "$INSTALL"; then 1903 if test "${ac_cv_path_install+set}" = set; then1904 echo $ECHO_N "(cached) $ECHO_C" >&62774 if ${ac_cv_path_install+:} false; then : 2775 $as_echo_n "(cached) " >&6 1905 2776 else 1906 2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1909 2780 IFS=$as_save_IFS 1910 2781 test -z "$as_dir" && as_dir=. 1911 # Account for people who put trailing slashes in PATH elements.1912 case $as_dir/ in 1913 ./ | .// | / cC/* | \2782 # Account for people who put trailing slashes in PATH elements. 2783 case $as_dir/ in #(( 2784 ./ | .// | /[cC]/* | \ 1914 2785 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1915 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2786 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1916 2787 /usr/ucb/* ) ;; 1917 2788 *) … … 1931 2802 : 1932 2803 else 1933 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1934 break 3 2804 rm -rf conftest.one conftest.two conftest.dir 2805 echo one > conftest.one 2806 echo two > conftest.two 2807 mkdir conftest.dir 2808 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2809 test -s conftest.one && test -s conftest.two && 2810 test -s conftest.dir/conftest.one && 2811 test -s conftest.dir/conftest.two 2812 then 2813 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2814 break 3 2815 fi 1935 2816 fi 1936 2817 fi … … 1939 2820 ;; 1940 2821 esac 1941 done 2822 2823 done 1942 2824 IFS=$as_save_IFS 1943 2825 2826 rm -rf conftest.one conftest.two conftest.dir 1944 2827 1945 2828 fi … … 1954 2837 fi 1955 2838 fi 1956 { echo "$as_me:$LINENO: result: $INSTALL" >&51957 echo "${ECHO_T}$INSTALL" >&6; }2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2840 $as_echo "$INSTALL" >&6; } 1958 2841 1959 2842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1965 2848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1966 2849 1967 # Find a good install program. We prefer a C program (faster),1968 # so one script is as good as another. But avoid the broken or1969 # incompatible versions:1970 # SysV /etc/install, /usr/sbin/install1971 # SunOS /usr/etc/install1972 # IRIX /sbin/install1973 # AIX /bin/install1974 # AmigaOS /C/install, which installs bootblocks on floppy discs1975 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1976 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1977 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1978 # OS/2's system install, which has a completely different semantic1979 # ./install, which can be erroneously created by make from ./install.sh.1980 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51981 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }1982 if test -z "$INSTALL"; then1983 if test "${ac_cv_path_install+set}" = set; then1984 echo $ECHO_N "(cached) $ECHO_C" >&61985 else1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1987 for as_dir in $PATH1988 do1989 IFS=$as_save_IFS1990 test -z "$as_dir" && as_dir=.1991 # Account for people who put trailing slashes in PATH elements.1992 case $as_dir/ in1993 ./ | .// | /cC/* | \1994 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \1995 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \1996 /usr/ucb/* ) ;;1997 *)1998 # OSF1 and SCO ODT 3.0 have their own names for install.1999 # Don't use installbsd from OSF since it installs stuff as root2000 # by default.2001 for ac_prog in ginstall scoinst install; do2002 for ac_exec_ext in '' $ac_executable_extensions; do2003 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2004 if test $ac_prog = install &&2005 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2006 # AIX install. It has an incompatible calling convention.2007 :2008 elif test $ac_prog = install &&2009 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2010 # program-specific install script used by HP pwplus--don't use.2011 :2012 else2013 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2014 break 32015 fi2016 fi2017 done2018 done2019 ;;2020 esac2021 done2022 IFS=$as_save_IFS2023 2024 2025 fi2026 if test "${ac_cv_path_install+set}" = set; then2027 INSTALL=$ac_cv_path_install2028 else2029 # As a last resort, use the slow shell script. Don't cache a2030 # value for INSTALL within a source directory, because that will2031 # break other packages using the cache if that directory is2032 # removed, or if the value is a relative name.2033 INSTALL=$ac_install_sh2034 fi2035 fi2036 { echo "$as_me:$LINENO: result: $INSTALL" >&52037 echo "${ECHO_T}$INSTALL" >&6; }2038 2039 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2040 # It thinks the first close brace ends the variable substitution.2041 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2042 2043 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2044 2045 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2046 2850 2047 2851 if test -n "$ac_tool_prefix"; then 2048 2852 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2049 2853 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2050 { echo "$as_me:$LINENO: checking for $ac_word" >&52051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2052 if test "${ac_cv_prog_RANLIB+set}" = set; then2053 echo $ECHO_N "(cached) $ECHO_C" >&62854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2855 $as_echo_n "checking for $ac_word... " >&6; } 2856 if ${ac_cv_prog_RANLIB+:} false; then : 2857 $as_echo_n "(cached) " >&6 2054 2858 else 2055 2859 if test -n "$RANLIB"; then … … 2061 2865 IFS=$as_save_IFS 2062 2866 test -z "$as_dir" && as_dir=. 2063 for ac_exec_ext in '' $ac_executable_extensions; do2867 for ac_exec_ext in '' $ac_executable_extensions; do 2064 2868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2065 2869 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2067 2871 break 2 2068 2872 fi 2069 2873 done 2070 done2874 done 2071 2875 IFS=$as_save_IFS 2072 2876 … … 2075 2879 RANLIB=$ac_cv_prog_RANLIB 2076 2880 if test -n "$RANLIB"; then 2077 { echo "$as_me:$LINENO: result: $RANLIB" >&52078 echo "${ECHO_T}$RANLIB" >&6; }2079 else 2080 { echo "$as_me:$LINENO: result: no" >&52081 echo "${ECHO_T}no" >&6; }2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2882 $as_echo "$RANLIB" >&6; } 2883 else 2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2885 $as_echo "no" >&6; } 2082 2886 fi 2083 2887 … … 2088 2892 # Extract the first word of "ranlib", so it can be a program name with args. 2089 2893 set dummy ranlib; ac_word=$2 2090 { echo "$as_me:$LINENO: checking for $ac_word" >&52091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2092 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2093 echo $ECHO_N "(cached) $ECHO_C" >&62894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2895 $as_echo_n "checking for $ac_word... " >&6; } 2896 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2897 $as_echo_n "(cached) " >&6 2094 2898 else 2095 2899 if test -n "$ac_ct_RANLIB"; then … … 2101 2905 IFS=$as_save_IFS 2102 2906 test -z "$as_dir" && as_dir=. 2103 for ac_exec_ext in '' $ac_executable_extensions; do2907 for ac_exec_ext in '' $ac_executable_extensions; do 2104 2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2105 2909 ac_cv_prog_ac_ct_RANLIB="ranlib" 2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2107 2911 break 2 2108 2912 fi 2109 2913 done 2110 done2914 done 2111 2915 IFS=$as_save_IFS 2112 2916 … … 2115 2919 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2116 2920 if test -n "$ac_ct_RANLIB"; then 2117 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52118 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2119 else 2120 { echo "$as_me:$LINENO: result: no" >&52121 echo "${ECHO_T}no" >&6; }2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2922 $as_echo "$ac_ct_RANLIB" >&6; } 2923 else 2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2925 $as_echo "no" >&6; } 2122 2926 fi 2123 2927 … … 2127 2931 case $cross_compiling:$ac_tool_warned in 2128 2932 yes:) 2129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2130 whose name does not start with the host triplet. If you think this 2131 configuration is useful to you, please write to autoconf@gnu.org." >&5 2132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2133 whose name does not start with the host triplet. If you think this 2134 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2135 2935 ac_tool_warned=yes ;; 2136 2936 esac … … 2141 2941 fi 2142 2942 2143 { echo "$as_me:$LINENO: checking whether ln -s works" >&52144 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2944 $as_echo_n "checking whether ln -s works... " >&6; } 2145 2945 LN_S=$as_ln_s 2146 2946 if test "$LN_S" = "ln -s"; then 2147 { echo "$as_me:$LINENO: result: yes" >&52148 echo "${ECHO_T}yes" >&6; }2149 else 2150 { echo "$as_me:$LINENO: result: no, using $LN_S" >&52151 echo "${ECHO_T}no, using $LN_S" >&6; }2152 fi 2153 2154 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52155 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2948 $as_echo "yes" >&6; } 2949 else 2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2951 $as_echo "no, using $LN_S" >&6; } 2952 fi 2953 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2955 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2156 2956 if test -z "$MKDIR_P"; then 2157 if test "${ac_cv_path_mkdir+set}" = set; then2158 echo $ECHO_N "(cached) $ECHO_C" >&62957 if ${ac_cv_path_mkdir+:} false; then : 2958 $as_echo_n "(cached) " >&6 2159 2959 else 2160 2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2163 2963 IFS=$as_save_IFS 2164 2964 test -z "$as_dir" && as_dir=. 2165 for ac_prog in mkdir gmkdir; do2965 for ac_prog in mkdir gmkdir; do 2166 2966 for ac_exec_ext in '' $ac_executable_extensions; do 2167 2967 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 2175 2975 done 2176 2976 done 2177 done2977 done 2178 2978 IFS=$as_save_IFS 2179 2979 2180 2980 fi 2181 2981 2982 test -d ./--version && rmdir ./--version 2182 2983 if test "${ac_cv_path_mkdir+set}" = set; then 2183 2984 MKDIR_P="$ac_cv_path_mkdir -p" … … 2187 2988 # break other packages using the cache if that directory is 2188 2989 # removed, or if the value is a relative name. 2189 test -d ./--version && rmdir ./--version2190 2990 MKDIR_P="$ac_install_sh -d" 2191 2991 fi 2192 2992 fi 2193 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2194 echo "${ECHO_T}$MKDIR_P" >&6; } 2195 2196 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2197 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2198 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2199 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2200 echo $ECHO_N "(cached) $ECHO_C" >&6 2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2994 $as_echo "$MKDIR_P" >&6; } 2995 2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2997 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2998 set x ${MAKE-make} 2999 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3000 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3001 $as_echo_n "(cached) " >&6 2201 3002 else 2202 3003 cat >conftest.make <<\_ACEOF … … 2205 3006 @echo '@@@%%%=$(MAKE)=@@@%%%' 2206 3007 _ACEOF 2207 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3008 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2208 3009 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2209 3010 *@@@%%%=?*=@@@%%%*) … … 2215 3016 fi 2216 3017 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2217 { echo "$as_me:$LINENO: result: yes" >&52218 echo "${ECHO_T}yes" >&6; }3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3019 $as_echo "yes" >&6; } 2219 3020 SET_MAKE= 2220 3021 else 2221 { echo "$as_me:$LINENO: result: no" >&52222 echo "${ECHO_T}no" >&6; }3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3023 $as_echo "no" >&6; } 2223 3024 SET_MAKE="MAKE=${MAKE-make}" 2224 3025 fi … … 2234 3035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2235 3036 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2236 { echo "$as_me:$LINENO: checking for $ac_word" >&52237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2238 if test "${ac_cv_prog_CC+set}" = set; then2239 echo $ECHO_N "(cached) $ECHO_C" >&63037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3038 $as_echo_n "checking for $ac_word... " >&6; } 3039 if ${ac_cv_prog_CC+:} false; then : 3040 $as_echo_n "(cached) " >&6 2240 3041 else 2241 3042 if test -n "$CC"; then … … 2247 3048 IFS=$as_save_IFS 2248 3049 test -z "$as_dir" && as_dir=. 2249 for ac_exec_ext in '' $ac_executable_extensions; do3050 for ac_exec_ext in '' $ac_executable_extensions; do 2250 3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2251 3052 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2253 3054 break 2 2254 3055 fi 2255 3056 done 2256 done3057 done 2257 3058 IFS=$as_save_IFS 2258 3059 … … 2261 3062 CC=$ac_cv_prog_CC 2262 3063 if test -n "$CC"; then 2263 { echo "$as_me:$LINENO: result: $CC" >&52264 echo "${ECHO_T}$CC" >&6; }2265 else 2266 { echo "$as_me:$LINENO: result: no" >&52267 echo "${ECHO_T}no" >&6; }3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3065 $as_echo "$CC" >&6; } 3066 else 3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3068 $as_echo "no" >&6; } 2268 3069 fi 2269 3070 … … 2274 3075 # Extract the first word of "gcc", so it can be a program name with args. 2275 3076 set dummy gcc; ac_word=$2 2276 { echo "$as_me:$LINENO: checking for $ac_word" >&52277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2279 echo $ECHO_N "(cached) $ECHO_C" >&63077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3078 $as_echo_n "checking for $ac_word... " >&6; } 3079 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3080 $as_echo_n "(cached) " >&6 2280 3081 else 2281 3082 if test -n "$ac_ct_CC"; then … … 2287 3088 IFS=$as_save_IFS 2288 3089 test -z "$as_dir" && as_dir=. 2289 for ac_exec_ext in '' $ac_executable_extensions; do3090 for ac_exec_ext in '' $ac_executable_extensions; do 2290 3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2291 3092 ac_cv_prog_ac_ct_CC="gcc" 2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2293 3094 break 2 2294 3095 fi 2295 3096 done 2296 done3097 done 2297 3098 IFS=$as_save_IFS 2298 3099 … … 2301 3102 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2302 3103 if test -n "$ac_ct_CC"; then 2303 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52304 echo "${ECHO_T}$ac_ct_CC" >&6; }2305 else 2306 { echo "$as_me:$LINENO: result: no" >&52307 echo "${ECHO_T}no" >&6; }3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3105 $as_echo "$ac_ct_CC" >&6; } 3106 else 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3108 $as_echo "no" >&6; } 2308 3109 fi 2309 3110 … … 2313 3114 case $cross_compiling:$ac_tool_warned in 2314 3115 yes:) 2315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2316 whose name does not start with the host triplet. If you think this 2317 configuration is useful to you, please write to autoconf@gnu.org." >&5 2318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2319 whose name does not start with the host triplet. If you think this 2320 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2321 3118 ac_tool_warned=yes ;; 2322 3119 esac … … 2331 3128 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2332 3129 set dummy ${ac_tool_prefix}cc; ac_word=$2 2333 { echo "$as_me:$LINENO: checking for $ac_word" >&52334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2335 if test "${ac_cv_prog_CC+set}" = set; then2336 echo $ECHO_N "(cached) $ECHO_C" >&63130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3131 $as_echo_n "checking for $ac_word... " >&6; } 3132 if ${ac_cv_prog_CC+:} false; then : 3133 $as_echo_n "(cached) " >&6 2337 3134 else 2338 3135 if test -n "$CC"; then … … 2344 3141 IFS=$as_save_IFS 2345 3142 test -z "$as_dir" && as_dir=. 2346 for ac_exec_ext in '' $ac_executable_extensions; do3143 for ac_exec_ext in '' $ac_executable_extensions; do 2347 3144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2348 3145 ac_cv_prog_CC="${ac_tool_prefix}cc" 2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2350 3147 break 2 2351 3148 fi 2352 3149 done 2353 done3150 done 2354 3151 IFS=$as_save_IFS 2355 3152 … … 2358 3155 CC=$ac_cv_prog_CC 2359 3156 if test -n "$CC"; then 2360 { echo "$as_me:$LINENO: result: $CC" >&52361 echo "${ECHO_T}$CC" >&6; }2362 else 2363 { echo "$as_me:$LINENO: result: no" >&52364 echo "${ECHO_T}no" >&6; }3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3158 $as_echo "$CC" >&6; } 3159 else 3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3161 $as_echo "no" >&6; } 2365 3162 fi 2366 3163 … … 2371 3168 # Extract the first word of "cc", so it can be a program name with args. 2372 3169 set dummy cc; ac_word=$2 2373 { echo "$as_me:$LINENO: checking for $ac_word" >&52374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2375 if test "${ac_cv_prog_CC+set}" = set; then2376 echo $ECHO_N "(cached) $ECHO_C" >&63170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3171 $as_echo_n "checking for $ac_word... " >&6; } 3172 if ${ac_cv_prog_CC+:} false; then : 3173 $as_echo_n "(cached) " >&6 2377 3174 else 2378 3175 if test -n "$CC"; then … … 2385 3182 IFS=$as_save_IFS 2386 3183 test -z "$as_dir" && as_dir=. 2387 for ac_exec_ext in '' $ac_executable_extensions; do3184 for ac_exec_ext in '' $ac_executable_extensions; do 2388 3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2389 3186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2392 3189 fi 2393 3190 ac_cv_prog_CC="cc" 2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2395 3192 break 2 2396 3193 fi 2397 3194 done 2398 done3195 done 2399 3196 IFS=$as_save_IFS 2400 3197 … … 2415 3212 CC=$ac_cv_prog_CC 2416 3213 if test -n "$CC"; then 2417 { echo "$as_me:$LINENO: result: $CC" >&52418 echo "${ECHO_T}$CC" >&6; }2419 else 2420 { echo "$as_me:$LINENO: result: no" >&52421 echo "${ECHO_T}no" >&6; }3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3215 $as_echo "$CC" >&6; } 3216 else 3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3218 $as_echo "no" >&6; } 2422 3219 fi 2423 3220 … … 2430 3227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2431 3228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2432 { echo "$as_me:$LINENO: checking for $ac_word" >&52433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2434 if test "${ac_cv_prog_CC+set}" = set; then2435 echo $ECHO_N "(cached) $ECHO_C" >&63229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3230 $as_echo_n "checking for $ac_word... " >&6; } 3231 if ${ac_cv_prog_CC+:} false; then : 3232 $as_echo_n "(cached) " >&6 2436 3233 else 2437 3234 if test -n "$CC"; then … … 2443 3240 IFS=$as_save_IFS 2444 3241 test -z "$as_dir" && as_dir=. 2445 for ac_exec_ext in '' $ac_executable_extensions; do3242 for ac_exec_ext in '' $ac_executable_extensions; do 2446 3243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2447 3244 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2449 3246 break 2 2450 3247 fi 2451 3248 done 2452 done3249 done 2453 3250 IFS=$as_save_IFS 2454 3251 … … 2457 3254 CC=$ac_cv_prog_CC 2458 3255 if test -n "$CC"; then 2459 { echo "$as_me:$LINENO: result: $CC" >&52460 echo "${ECHO_T}$CC" >&6; }2461 else 2462 { echo "$as_me:$LINENO: result: no" >&52463 echo "${ECHO_T}no" >&6; }3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3257 $as_echo "$CC" >&6; } 3258 else 3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3260 $as_echo "no" >&6; } 2464 3261 fi 2465 3262 … … 2474 3271 # Extract the first word of "$ac_prog", so it can be a program name with args. 2475 3272 set dummy $ac_prog; ac_word=$2 2476 { echo "$as_me:$LINENO: checking for $ac_word" >&52477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2479 echo $ECHO_N "(cached) $ECHO_C" >&63273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3274 $as_echo_n "checking for $ac_word... " >&6; } 3275 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3276 $as_echo_n "(cached) " >&6 2480 3277 else 2481 3278 if test -n "$ac_ct_CC"; then … … 2487 3284 IFS=$as_save_IFS 2488 3285 test -z "$as_dir" && as_dir=. 2489 for ac_exec_ext in '' $ac_executable_extensions; do3286 for ac_exec_ext in '' $ac_executable_extensions; do 2490 3287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2491 3288 ac_cv_prog_ac_ct_CC="$ac_prog" 2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2493 3290 break 2 2494 3291 fi 2495 3292 done 2496 done3293 done 2497 3294 IFS=$as_save_IFS 2498 3295 … … 2501 3298 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2502 3299 if test -n "$ac_ct_CC"; then 2503 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52504 echo "${ECHO_T}$ac_ct_CC" >&6; }2505 else 2506 { echo "$as_me:$LINENO: result: no" >&52507 echo "${ECHO_T}no" >&6; }3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3301 $as_echo "$ac_ct_CC" >&6; } 3302 else 3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3304 $as_echo "no" >&6; } 2508 3305 fi 2509 3306 … … 2517 3314 case $cross_compiling:$ac_tool_warned in 2518 3315 yes:) 2519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2520 whose name does not start with the host triplet. If you think this 2521 configuration is useful to you, please write to autoconf@gnu.org." >&5 2522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2523 whose name does not start with the host triplet. If you think this 2524 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2525 3318 ac_tool_warned=yes ;; 2526 3319 esac … … 2532 3325 2533 3326 2534 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2535 See \`config.log' for more details." >&5 2536 echo "$as_me: error: no acceptable C compiler found in \$PATH 2537 See \`config.log' for more details." >&2;} 2538 { (exit 1); exit 1; }; } 3327 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3329 as_fn_error $? "no acceptable C compiler found in \$PATH 3330 See \`config.log' for more details" "$LINENO" 5; } 2539 3331 2540 3332 # Provide some information about the compiler. 2541 echo "$as_me:$LINENO: checking for C compiler version" >&5 2542 ac_compiler=`set X $ac_compile; echo $2` 2543 { (ac_try="$ac_compiler --version >&5" 3333 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3334 set X $ac_compile 3335 ac_compiler=$2 3336 for ac_option in --version -v -V -qversion; do 3337 { { ac_try="$ac_compiler $ac_option >&5" 2544 3338 case "(($ac_try" in 2545 3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2546 3340 *) ac_try_echo=$ac_try;; 2547 3341 esac 2548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2549 (eval "$ac_compiler --version >&5") 2>&5 3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3343 $as_echo "$ac_try_echo"; } >&5 3344 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2550 3345 ac_status=$? 2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2552 (exit $ac_status); } 2553 { (ac_try="$ac_compiler -v >&5" 3346 if test -s conftest.err; then 3347 sed '10a\ 3348 ... rest of stderr output deleted ... 3349 10q' conftest.err >conftest.er1 3350 cat conftest.er1 >&5 3351 fi 3352 rm -f conftest.er1 conftest.err 3353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3354 test $ac_status = 0; } 3355 done 3356 3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3358 /* end confdefs.h. */ 3359 3360 int 3361 main () 3362 { 3363 3364 ; 3365 return 0; 3366 } 3367 _ACEOF 3368 ac_clean_files_save=$ac_clean_files 3369 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3370 # Try to create an executable without -o first, disregard a.out. 3371 # It will help us diagnose broken compilers, and finding out an intuition 3372 # of exeext. 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3374 $as_echo_n "checking whether the C compiler works... " >&6; } 3375 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3376 3377 # The possible output files: 3378 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3379 3380 ac_rmfiles= 3381 for ac_file in $ac_files 3382 do 3383 case $ac_file in 3384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3385 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3386 esac 3387 done 3388 rm -f $ac_rmfiles 3389 3390 if { { ac_try="$ac_link_default" 2554 3391 case "(($ac_try" in 2555 3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2556 3393 *) ac_try_echo=$ac_try;; 2557 3394 esac 2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2559 (eval "$ac_compiler -v >&5") 2>&5 2560 ac_status=$? 2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2562 (exit $ac_status); } 2563 { (ac_try="$ac_compiler -V >&5" 2564 case "(($ac_try" in 2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2566 *) ac_try_echo=$ac_try;; 2567 esac 2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2569 (eval "$ac_compiler -V >&5") 2>&5 2570 ac_status=$? 2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2572 (exit $ac_status); } 2573 2574 cat >conftest.$ac_ext <<_ACEOF 2575 /* confdefs.h. */ 2576 _ACEOF 2577 cat confdefs.h >>conftest.$ac_ext 2578 cat >>conftest.$ac_ext <<_ACEOF 2579 /* end confdefs.h. */ 2580 2581 int 2582 main () 2583 { 2584 2585 ; 2586 return 0; 2587 } 2588 _ACEOF 2589 ac_clean_files_save=$ac_clean_files 2590 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2591 # Try to create an executable without -o first, disregard a.out. 2592 # It will help us diagnose broken compilers, and finding out an intuition 2593 # of exeext. 2594 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2595 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2596 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2597 # 2598 # List of possible output files, starting from the most likely. 2599 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2600 # only as a last resort. b.out is created by i960 compilers. 2601 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2602 # 2603 # The IRIX 6 linker writes into existing files which may not be 2604 # executable, retaining their permissions. Remove them first so a 2605 # subsequent execution test works. 2606 ac_rmfiles= 2607 for ac_file in $ac_files 2608 do 2609 case $ac_file in 2610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2611 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2612 esac 2613 done 2614 rm -f $ac_rmfiles 2615 2616 if { (ac_try="$ac_link_default" 2617 case "(($ac_try" in 2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2619 *) ac_try_echo=$ac_try;; 2620 esac 2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3396 $as_echo "$ac_try_echo"; } >&5 2622 3397 (eval "$ac_link_default") 2>&5 2623 3398 ac_status=$? 2624 echo "$as_me:$LINENO: \$? = $ac_status" >&52625 (exit $ac_status); }; then3399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3400 test $ac_status = 0; }; then : 2626 3401 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2627 3402 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2633 3408 test -f "$ac_file" || continue 2634 3409 case $ac_file in 2635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2636 3411 ;; 2637 3412 [ab].out ) … … 2640 3415 break;; 2641 3416 *.* ) 2642 3417 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2643 3418 then :; else 2644 3419 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2659 3434 ac_file='' 2660 3435 fi 2661 2662 { echo "$as_me:$LINENO: result: $ac_file" >&5 2663 echo "${ECHO_T}$ac_file" >&6; } 2664 if test -z "$ac_file"; then 2665 echo "$as_me: failed program was:" >&5 3436 if test -z "$ac_file"; then : 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3438 $as_echo "no" >&6; } 3439 $as_echo "$as_me: failed program was:" >&5 2666 3440 sed 's/^/| /' conftest.$ac_ext >&5 2667 3441 2668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2669 See \`config.log' for more details." >&5 2670 echo "$as_me: error: C compiler cannot create executables 2671 See \`config.log' for more details." >&2;} 2672 { (exit 77); exit 77; }; } 2673 fi 2674 3442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3444 as_fn_error 77 "C compiler cannot create executables 3445 See \`config.log' for more details" "$LINENO" 5; } 3446 else 3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3448 $as_echo "yes" >&6; } 3449 fi 3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3451 $as_echo_n "checking for C compiler default output file name... " >&6; } 3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3453 $as_echo "$ac_file" >&6; } 2675 3454 ac_exeext=$ac_cv_exeext 2676 3455 2677 # Check that the compiler produces executables we can run. If not, either 2678 # the compiler is broken, or we cross compile. 2679 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2680 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2681 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2682 # If not cross compiling, check that we can run a simple program. 2683 if test "$cross_compiling" != yes; then 2684 if { ac_try='./$ac_file' 2685 { (case "(($ac_try" in 2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2687 *) ac_try_echo=$ac_try;; 2688 esac 2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2690 (eval "$ac_try") 2>&5 2691 ac_status=$? 2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2693 (exit $ac_status); }; }; then 2694 cross_compiling=no 2695 else 2696 if test "$cross_compiling" = maybe; then 2697 cross_compiling=yes 2698 else 2699 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2700 If you meant to cross compile, use \`--host'. 2701 See \`config.log' for more details." >&5 2702 echo "$as_me: error: cannot run C compiled programs. 2703 If you meant to cross compile, use \`--host'. 2704 See \`config.log' for more details." >&2;} 2705 { (exit 1); exit 1; }; } 2706 fi 2707 fi 2708 fi 2709 { echo "$as_me:$LINENO: result: yes" >&5 2710 echo "${ECHO_T}yes" >&6; } 2711 2712 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3456 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2713 3457 ac_clean_files=$ac_clean_files_save 2714 # Check that the compiler produces executables we can run. If not, either 2715 # the compiler is broken, or we cross compile. 2716 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2718 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2719 echo "${ECHO_T}$cross_compiling" >&6; } 2720 2721 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2722 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2723 if { (ac_try="$ac_link" 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3459 $as_echo_n "checking for suffix of executables... " >&6; } 3460 if { { ac_try="$ac_link" 2724 3461 case "(($ac_try" in 2725 3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2726 3463 *) ac_try_echo=$ac_try;; 2727 3464 esac 2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3466 $as_echo "$ac_try_echo"; } >&5 2729 3467 (eval "$ac_link") 2>&5 2730 3468 ac_status=$? 2731 echo "$as_me:$LINENO: \$? = $ac_status" >&52732 (exit $ac_status); }; then3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3470 test $ac_status = 0; }; then : 2733 3471 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2734 3472 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2738 3476 test -f "$ac_file" || continue 2739 3477 case $ac_file in 2740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2741 3479 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2742 3480 break;; … … 2745 3483 done 2746 3484 else 2747 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2748 See \`config.log' for more details." >&5 2749 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2750 See \`config.log' for more details." >&2;} 2751 { (exit 1); exit 1; }; } 2752 fi 2753 2754 rm -f conftest$ac_cv_exeext 2755 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2756 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3487 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3488 See \`config.log' for more details" "$LINENO" 5; } 3489 fi 3490 rm -f conftest conftest$ac_cv_exeext 3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3492 $as_echo "$ac_cv_exeext" >&6; } 2757 3493 2758 3494 rm -f conftest.$ac_ext 2759 3495 EXEEXT=$ac_cv_exeext 2760 3496 ac_exeext=$EXEEXT 2761 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2762 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2763 if test "${ac_cv_objext+set}" = set; then 2764 echo $ECHO_N "(cached) $ECHO_C" >&6 2765 else 2766 cat >conftest.$ac_ext <<_ACEOF 2767 /* confdefs.h. */ 2768 _ACEOF 2769 cat confdefs.h >>conftest.$ac_ext 2770 cat >>conftest.$ac_ext <<_ACEOF 3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2771 3498 /* end confdefs.h. */ 2772 3499 #include <stdio.h> 2773 3500 int 2774 3501 main () 2775 3502 { 3503 FILE *f = fopen ("conftest.out", "w"); 3504 return ferror (f) || fclose (f) != 0; 2776 3505 2777 3506 ; … … 2779 3508 } 2780 3509 _ACEOF 2781 rm -f conftest.o conftest.obj 2782 if { (ac_try="$ac_compile" 3510 ac_clean_files="$ac_clean_files conftest.out" 3511 # Check that the compiler produces executables we can run. If not, either 3512 # the compiler is broken, or we cross compile. 3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3514 $as_echo_n "checking whether we are cross compiling... " >&6; } 3515 if test "$cross_compiling" != yes; then 3516 { { ac_try="$ac_link" 2783 3517 case "(($ac_try" in 2784 3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2785 3519 *) ac_try_echo=$ac_try;; 2786 3520 esac 2787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3522 $as_echo "$ac_try_echo"; } >&5 3523 (eval "$ac_link") 2>&5 3524 ac_status=$? 3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3526 test $ac_status = 0; } 3527 if { ac_try='./conftest$ac_cv_exeext' 3528 { { case "(($ac_try" in 3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3530 *) ac_try_echo=$ac_try;; 3531 esac 3532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3533 $as_echo "$ac_try_echo"; } >&5 3534 (eval "$ac_try") 2>&5 3535 ac_status=$? 3536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3537 test $ac_status = 0; }; }; then 3538 cross_compiling=no 3539 else 3540 if test "$cross_compiling" = maybe; then 3541 cross_compiling=yes 3542 else 3543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3545 as_fn_error $? "cannot run C compiled programs. 3546 If you meant to cross compile, use \`--host'. 3547 See \`config.log' for more details" "$LINENO" 5; } 3548 fi 3549 fi 3550 fi 3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3552 $as_echo "$cross_compiling" >&6; } 3553 3554 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3555 ac_clean_files=$ac_clean_files_save 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3557 $as_echo_n "checking for suffix of object files... " >&6; } 3558 if ${ac_cv_objext+:} false; then : 3559 $as_echo_n "(cached) " >&6 3560 else 3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3562 /* end confdefs.h. */ 3563 3564 int 3565 main () 3566 { 3567 3568 ; 3569 return 0; 3570 } 3571 _ACEOF 3572 rm -f conftest.o conftest.obj 3573 if { { ac_try="$ac_compile" 3574 case "(($ac_try" in 3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3576 *) ac_try_echo=$ac_try;; 3577 esac 3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3579 $as_echo "$ac_try_echo"; } >&5 2788 3580 (eval "$ac_compile") 2>&5 2789 3581 ac_status=$? 2790 echo "$as_me:$LINENO: \$? = $ac_status" >&52791 (exit $ac_status); }; then3582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3583 test $ac_status = 0; }; then : 2792 3584 for ac_file in conftest.o conftest.obj conftest.*; do 2793 3585 test -f "$ac_file" || continue; 2794 3586 case $ac_file in 2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2796 3588 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2797 3589 break;; … … 2799 3591 done 2800 3592 else 2801 echo "$as_me: failed program was:" >&53593 $as_echo "$as_me: failed program was:" >&5 2802 3594 sed 's/^/| /' conftest.$ac_ext >&5 2803 3595 2804 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2805 See \`config.log' for more details." >&5 2806 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2807 See \`config.log' for more details." >&2;} 2808 { (exit 1); exit 1; }; } 2809 fi 2810 3596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3598 as_fn_error $? "cannot compute suffix of object files: cannot compile 3599 See \`config.log' for more details" "$LINENO" 5; } 3600 fi 2811 3601 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2812 3602 fi 2813 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52814 echo "${ECHO_T}$ac_cv_objext" >&6; }3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3604 $as_echo "$ac_cv_objext" >&6; } 2815 3605 OBJEXT=$ac_cv_objext 2816 3606 ac_objext=$OBJEXT 2817 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2818 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2819 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2820 echo $ECHO_N "(cached) $ECHO_C" >&6 2821 else 2822 cat >conftest.$ac_ext <<_ACEOF 2823 /* confdefs.h. */ 2824 _ACEOF 2825 cat confdefs.h >>conftest.$ac_ext 2826 cat >>conftest.$ac_ext <<_ACEOF 3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3608 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3609 if ${ac_cv_c_compiler_gnu+:} false; then : 3610 $as_echo_n "(cached) " >&6 3611 else 3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2827 3613 /* end confdefs.h. */ 2828 3614 … … 2838 3624 } 2839 3625 _ACEOF 2840 rm -f conftest.$ac_objext 2841 if { (ac_try="$ac_compile" 2842 case "(($ac_try" in 2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2844 *) ac_try_echo=$ac_try;; 2845 esac 2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2847 (eval "$ac_compile") 2>conftest.er1 2848 ac_status=$? 2849 grep -v '^ *+' conftest.er1 >conftest.err 2850 rm -f conftest.er1 2851 cat conftest.err >&5 2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2853 (exit $ac_status); } && { 2854 test -z "$ac_c_werror_flag" || 2855 test ! -s conftest.err 2856 } && test -s conftest.$ac_objext; then 3626 if ac_fn_c_try_compile "$LINENO"; then : 2857 3627 ac_compiler_gnu=yes 2858 3628 else 2859 echo "$as_me: failed program was:" >&5 2860 sed 's/^/| /' conftest.$ac_ext >&5 2861 2862 ac_compiler_gnu=no 2863 fi 2864 3629 ac_compiler_gnu=no 3630 fi 2865 3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2866 3632 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2867 3633 2868 3634 fi 2869 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2870 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2871 GCC=`test $ac_compiler_gnu = yes && echo yes` 3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3636 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3637 if test $ac_compiler_gnu = yes; then 3638 GCC=yes 3639 else 3640 GCC= 3641 fi 2872 3642 ac_test_CFLAGS=${CFLAGS+set} 2873 3643 ac_save_CFLAGS=$CFLAGS 2874 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52875 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2876 if test "${ac_cv_prog_cc_g+set}" = set; then2877 echo $ECHO_N "(cached) $ECHO_C" >&63644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3645 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3646 if ${ac_cv_prog_cc_g+:} false; then : 3647 $as_echo_n "(cached) " >&6 2878 3648 else 2879 3649 ac_save_c_werror_flag=$ac_c_werror_flag … … 2881 3651 ac_cv_prog_cc_g=no 2882 3652 CFLAGS="-g" 2883 cat >conftest.$ac_ext <<_ACEOF 2884 /* confdefs.h. */ 2885 _ACEOF 2886 cat confdefs.h >>conftest.$ac_ext 2887 cat >>conftest.$ac_ext <<_ACEOF 3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2888 3654 /* end confdefs.h. */ 2889 3655 … … 2896 3662 } 2897 3663 _ACEOF 2898 rm -f conftest.$ac_objext 2899 if { (ac_try="$ac_compile" 2900 case "(($ac_try" in 2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2902 *) ac_try_echo=$ac_try;; 2903 esac 2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2905 (eval "$ac_compile") 2>conftest.er1 2906 ac_status=$? 2907 grep -v '^ *+' conftest.er1 >conftest.err 2908 rm -f conftest.er1 2909 cat conftest.err >&5 2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2911 (exit $ac_status); } && { 2912 test -z "$ac_c_werror_flag" || 2913 test ! -s conftest.err 2914 } && test -s conftest.$ac_objext; then 3664 if ac_fn_c_try_compile "$LINENO"; then : 2915 3665 ac_cv_prog_cc_g=yes 2916 3666 else 2917 echo "$as_me: failed program was:" >&5 2918 sed 's/^/| /' conftest.$ac_ext >&5 2919 2920 CFLAGS="" 2921 cat >conftest.$ac_ext <<_ACEOF 2922 /* confdefs.h. */ 2923 _ACEOF 2924 cat confdefs.h >>conftest.$ac_ext 2925 cat >>conftest.$ac_ext <<_ACEOF 3667 CFLAGS="" 3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2926 3669 /* end confdefs.h. */ 2927 3670 … … 2934 3677 } 2935 3678 _ACEOF 2936 rm -f conftest.$ac_objext 2937 if { (ac_try="$ac_compile" 2938 case "(($ac_try" in 2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2940 *) ac_try_echo=$ac_try;; 2941 esac 2942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2943 (eval "$ac_compile") 2>conftest.er1 2944 ac_status=$? 2945 grep -v '^ *+' conftest.er1 >conftest.err 2946 rm -f conftest.er1 2947 cat conftest.err >&5 2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2949 (exit $ac_status); } && { 2950 test -z "$ac_c_werror_flag" || 2951 test ! -s conftest.err 2952 } && test -s conftest.$ac_objext; then 2953 : 2954 else 2955 echo "$as_me: failed program was:" >&5 2956 sed 's/^/| /' conftest.$ac_ext >&5 2957 2958 ac_c_werror_flag=$ac_save_c_werror_flag 3679 if ac_fn_c_try_compile "$LINENO"; then : 3680 3681 else 3682 ac_c_werror_flag=$ac_save_c_werror_flag 2959 3683 CFLAGS="-g" 2960 cat >conftest.$ac_ext <<_ACEOF 2961 /* confdefs.h. */ 2962 _ACEOF 2963 cat confdefs.h >>conftest.$ac_ext 2964 cat >>conftest.$ac_ext <<_ACEOF 3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2965 3685 /* end confdefs.h. */ 2966 3686 … … 2973 3693 } 2974 3694 _ACEOF 2975 rm -f conftest.$ac_objext 2976 if { (ac_try="$ac_compile" 2977 case "(($ac_try" in 2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2979 *) ac_try_echo=$ac_try;; 2980 esac 2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2982 (eval "$ac_compile") 2>conftest.er1 2983 ac_status=$? 2984 grep -v '^ *+' conftest.er1 >conftest.err 2985 rm -f conftest.er1 2986 cat conftest.err >&5 2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2988 (exit $ac_status); } && { 2989 test -z "$ac_c_werror_flag" || 2990 test ! -s conftest.err 2991 } && test -s conftest.$ac_objext; then 3695 if ac_fn_c_try_compile "$LINENO"; then : 2992 3696 ac_cv_prog_cc_g=yes 2993 else 2994 echo "$as_me: failed program was:" >&5 2995 sed 's/^/| /' conftest.$ac_ext >&5 2996 2997 2998 fi 2999 3697 fi 3000 3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3001 3699 fi 3002 3003 3700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3004 3701 fi 3005 3006 3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3007 3703 ac_c_werror_flag=$ac_save_c_werror_flag 3008 3704 fi 3009 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53010 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3706 $as_echo "$ac_cv_prog_cc_g" >&6; } 3011 3707 if test "$ac_test_CFLAGS" = set; then 3012 3708 CFLAGS=$ac_save_CFLAGS … … 3024 3720 fi 3025 3721 fi 3026 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53027 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3028 if test "${ac_cv_prog_cc_c89+set}" = set; then3029 echo $ECHO_N "(cached) $ECHO_C" >&63722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3723 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3724 if ${ac_cv_prog_cc_c89+:} false; then : 3725 $as_echo_n "(cached) " >&6 3030 3726 else 3031 3727 ac_cv_prog_cc_c89=no 3032 3728 ac_save_CC=$CC 3033 cat >conftest.$ac_ext <<_ACEOF 3034 /* confdefs.h. */ 3035 _ACEOF 3036 cat confdefs.h >>conftest.$ac_ext 3037 cat >>conftest.$ac_ext <<_ACEOF 3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3038 3730 /* end confdefs.h. */ 3039 3731 #include <stdarg.h> … … 3092 3784 do 3093 3785 CC="$ac_save_CC $ac_arg" 3094 rm -f conftest.$ac_objext 3095 if { (ac_try="$ac_compile" 3096 case "(($ac_try" in 3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3098 *) ac_try_echo=$ac_try;; 3099 esac 3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3101 (eval "$ac_compile") 2>conftest.er1 3102 ac_status=$? 3103 grep -v '^ *+' conftest.er1 >conftest.err 3104 rm -f conftest.er1 3105 cat conftest.err >&5 3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3107 (exit $ac_status); } && { 3108 test -z "$ac_c_werror_flag" || 3109 test ! -s conftest.err 3110 } && test -s conftest.$ac_objext; then 3786 if ac_fn_c_try_compile "$LINENO"; then : 3111 3787 ac_cv_prog_cc_c89=$ac_arg 3112 else 3113 echo "$as_me: failed program was:" >&5 3114 sed 's/^/| /' conftest.$ac_ext >&5 3115 3116 3117 fi 3118 3788 fi 3119 3789 rm -f core conftest.err conftest.$ac_objext 3120 3790 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3127 3797 case "x$ac_cv_prog_cc_c89" in 3128 3798 x) 3129 { echo "$as_me:$LINENO: result: none needed" >&53130 echo "${ECHO_T}none needed" >&6; } ;;3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3800 $as_echo "none needed" >&6; } ;; 3131 3801 xno) 3132 { echo "$as_me:$LINENO: result: unsupported" >&53133 echo "${ECHO_T}unsupported" >&6; } ;;3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3803 $as_echo "unsupported" >&6; } ;; 3134 3804 *) 3135 3805 CC="$CC $ac_cv_prog_cc_c89" 3136 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53137 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3807 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3138 3808 esac 3139 3809 if test "x$ac_cv_prog_cc_c89" != xno; then : 3810 3811 fi 3140 3812 3141 3813 ac_ext=c … … 3159 3831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3160 3832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3161 { echo "$as_me:$LINENO: checking for $ac_word" >&53162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3163 if test "${ac_cv_prog_CXX+set}" = set; then3164 echo $ECHO_N "(cached) $ECHO_C" >&63833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3834 $as_echo_n "checking for $ac_word... " >&6; } 3835 if ${ac_cv_prog_CXX+:} false; then : 3836 $as_echo_n "(cached) " >&6 3165 3837 else 3166 3838 if test -n "$CXX"; then … … 3172 3844 IFS=$as_save_IFS 3173 3845 test -z "$as_dir" && as_dir=. 3174 for ac_exec_ext in '' $ac_executable_extensions; do3846 for ac_exec_ext in '' $ac_executable_extensions; do 3175 3847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3176 3848 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3178 3850 break 2 3179 3851 fi 3180 3852 done 3181 done3853 done 3182 3854 IFS=$as_save_IFS 3183 3855 … … 3186 3858 CXX=$ac_cv_prog_CXX 3187 3859 if test -n "$CXX"; then 3188 { echo "$as_me:$LINENO: result: $CXX" >&53189 echo "${ECHO_T}$CXX" >&6; }3190 else 3191 { echo "$as_me:$LINENO: result: no" >&53192 echo "${ECHO_T}no" >&6; }3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3861 $as_echo "$CXX" >&6; } 3862 else 3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3864 $as_echo "no" >&6; } 3193 3865 fi 3194 3866 … … 3203 3875 # Extract the first word of "$ac_prog", so it can be a program name with args. 3204 3876 set dummy $ac_prog; ac_word=$2 3205 { echo "$as_me:$LINENO: checking for $ac_word" >&53206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3207 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3208 echo $ECHO_N "(cached) $ECHO_C" >&63877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3878 $as_echo_n "checking for $ac_word... " >&6; } 3879 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3880 $as_echo_n "(cached) " >&6 3209 3881 else 3210 3882 if test -n "$ac_ct_CXX"; then … … 3216 3888 IFS=$as_save_IFS 3217 3889 test -z "$as_dir" && as_dir=. 3218 for ac_exec_ext in '' $ac_executable_extensions; do3890 for ac_exec_ext in '' $ac_executable_extensions; do 3219 3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3220 3892 ac_cv_prog_ac_ct_CXX="$ac_prog" 3221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3222 3894 break 2 3223 3895 fi 3224 3896 done 3225 done3897 done 3226 3898 IFS=$as_save_IFS 3227 3899 … … 3230 3902 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3231 3903 if test -n "$ac_ct_CXX"; then 3232 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53233 echo "${ECHO_T}$ac_ct_CXX" >&6; }3234 else 3235 { echo "$as_me:$LINENO: result: no" >&53236 echo "${ECHO_T}no" >&6; }3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3905 $as_echo "$ac_ct_CXX" >&6; } 3906 else 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3908 $as_echo "no" >&6; } 3237 3909 fi 3238 3910 … … 3246 3918 case $cross_compiling:$ac_tool_warned in 3247 3919 yes:) 3248 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3249 whose name does not start with the host triplet. If you think this 3250 configuration is useful to you, please write to autoconf@gnu.org." >&5 3251 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3252 whose name does not start with the host triplet. If you think this 3253 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3254 3922 ac_tool_warned=yes ;; 3255 3923 esac … … 3261 3929 fi 3262 3930 # Provide some information about the compiler. 3263 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3264 ac_compiler=`set X $ac_compile; echo $2` 3265 { (ac_try="$ac_compiler --version >&5" 3931 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3932 set X $ac_compile 3933 ac_compiler=$2 3934 for ac_option in --version -v -V -qversion; do 3935 { { ac_try="$ac_compiler $ac_option >&5" 3266 3936 case "(($ac_try" in 3267 3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3268 3938 *) ac_try_echo=$ac_try;; 3269 3939 esac 3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3271 (eval "$ac_compiler --version >&5") 2>&5 3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3941 $as_echo "$ac_try_echo"; } >&5 3942 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3272 3943 ac_status=$? 3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3274 (exit $ac_status); } 3275 { (ac_try="$ac_compiler -v >&5" 3276 case "(($ac_try" in 3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3278 *) ac_try_echo=$ac_try;; 3279 esac 3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3281 (eval "$ac_compiler -v >&5") 2>&5 3282 ac_status=$? 3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3284 (exit $ac_status); } 3285 { (ac_try="$ac_compiler -V >&5" 3286 case "(($ac_try" in 3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 *) ac_try_echo=$ac_try;; 3289 esac 3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3291 (eval "$ac_compiler -V >&5") 2>&5 3292 ac_status=$? 3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3294 (exit $ac_status); } 3295 3296 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3297 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3298 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3299 echo $ECHO_N "(cached) $ECHO_C" >&6 3300 else 3301 cat >conftest.$ac_ext <<_ACEOF 3302 /* confdefs.h. */ 3303 _ACEOF 3304 cat confdefs.h >>conftest.$ac_ext 3305 cat >>conftest.$ac_ext <<_ACEOF 3944 if test -s conftest.err; then 3945 sed '10a\ 3946 ... rest of stderr output deleted ... 3947 10q' conftest.err >conftest.er1 3948 cat conftest.er1 >&5 3949 fi 3950 rm -f conftest.er1 conftest.err 3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3952 test $ac_status = 0; } 3953 done 3954 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3956 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3957 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3958 $as_echo_n "(cached) " >&6 3959 else 3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3306 3961 /* end confdefs.h. */ 3307 3962 … … 3317 3972 } 3318 3973 _ACEOF 3319 rm -f conftest.$ac_objext 3320 if { (ac_try="$ac_compile" 3321 case "(($ac_try" in 3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3323 *) ac_try_echo=$ac_try;; 3324 esac 3325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3326 (eval "$ac_compile") 2>conftest.er1 3327 ac_status=$? 3328 grep -v '^ *+' conftest.er1 >conftest.err 3329 rm -f conftest.er1 3330 cat conftest.err >&5 3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3332 (exit $ac_status); } && { 3333 test -z "$ac_cxx_werror_flag" || 3334 test ! -s conftest.err 3335 } && test -s conftest.$ac_objext; then 3974 if ac_fn_cxx_try_compile "$LINENO"; then : 3336 3975 ac_compiler_gnu=yes 3337 3976 else 3338 echo "$as_me: failed program was:" >&5 3339 sed 's/^/| /' conftest.$ac_ext >&5 3340 3341 ac_compiler_gnu=no 3342 fi 3343 3977 ac_compiler_gnu=no 3978 fi 3344 3979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3345 3980 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3346 3981 3347 3982 fi 3348 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3349 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3350 GXX=`test $ac_compiler_gnu = yes && echo yes` 3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3984 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3985 if test $ac_compiler_gnu = yes; then 3986 GXX=yes 3987 else 3988 GXX= 3989 fi 3351 3990 ac_test_CXXFLAGS=${CXXFLAGS+set} 3352 3991 ac_save_CXXFLAGS=$CXXFLAGS 3353 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53354 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3355 if test "${ac_cv_prog_cxx_g+set}" = set; then3356 echo $ECHO_N "(cached) $ECHO_C" >&63992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3993 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3994 if ${ac_cv_prog_cxx_g+:} false; then : 3995 $as_echo_n "(cached) " >&6 3357 3996 else 3358 3997 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3360 3999 ac_cv_prog_cxx_g=no 3361 4000 CXXFLAGS="-g" 3362 cat >conftest.$ac_ext <<_ACEOF 3363 /* confdefs.h. */ 3364 _ACEOF 3365 cat confdefs.h >>conftest.$ac_ext 3366 cat >>conftest.$ac_ext <<_ACEOF 4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3367 4002 /* end confdefs.h. */ 3368 4003 … … 3375 4010 } 3376 4011 _ACEOF 3377 rm -f conftest.$ac_objext 3378 if { (ac_try="$ac_compile" 3379 case "(($ac_try" in 3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3381 *) ac_try_echo=$ac_try;; 3382 esac 3383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3384 (eval "$ac_compile") 2>conftest.er1 3385 ac_status=$? 3386 grep -v '^ *+' conftest.er1 >conftest.err 3387 rm -f conftest.er1 3388 cat conftest.err >&5 3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3390 (exit $ac_status); } && { 3391 test -z "$ac_cxx_werror_flag" || 3392 test ! -s conftest.err 3393 } && test -s conftest.$ac_objext; then 4012 if ac_fn_cxx_try_compile "$LINENO"; then : 3394 4013 ac_cv_prog_cxx_g=yes 3395 4014 else 3396 echo "$as_me: failed program was:" >&5 3397 sed 's/^/| /' conftest.$ac_ext >&5 3398 3399 CXXFLAGS="" 3400 cat >conftest.$ac_ext <<_ACEOF 3401 /* confdefs.h. */ 3402 _ACEOF 3403 cat confdefs.h >>conftest.$ac_ext 3404 cat >>conftest.$ac_ext <<_ACEOF 4015 CXXFLAGS="" 4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3405 4017 /* end confdefs.h. */ 3406 4018 … … 3413 4025 } 3414 4026 _ACEOF 3415 rm -f conftest.$ac_objext 3416 if { (ac_try="$ac_compile" 3417 case "(($ac_try" in 3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3419 *) ac_try_echo=$ac_try;; 3420 esac 3421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3422 (eval "$ac_compile") 2>conftest.er1 3423 ac_status=$? 3424 grep -v '^ *+' conftest.er1 >conftest.err 3425 rm -f conftest.er1 3426 cat conftest.err >&5 3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3428 (exit $ac_status); } && { 3429 test -z "$ac_cxx_werror_flag" || 3430 test ! -s conftest.err 3431 } && test -s conftest.$ac_objext; then 3432 : 3433 else 3434 echo "$as_me: failed program was:" >&5 3435 sed 's/^/| /' conftest.$ac_ext >&5 3436 3437 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4027 if ac_fn_cxx_try_compile "$LINENO"; then : 4028 4029 else 4030 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3438 4031 CXXFLAGS="-g" 3439 cat >conftest.$ac_ext <<_ACEOF 3440 /* confdefs.h. */ 3441 _ACEOF 3442 cat confdefs.h >>conftest.$ac_ext 3443 cat >>conftest.$ac_ext <<_ACEOF 4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3444 4033 /* end confdefs.h. */ 3445 4034 … … 3452 4041 } 3453 4042 _ACEOF 3454 rm -f conftest.$ac_objext 3455 if { (ac_try="$ac_compile" 3456 case "(($ac_try" in 3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3458 *) ac_try_echo=$ac_try;; 3459 esac 3460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3461 (eval "$ac_compile") 2>conftest.er1 3462 ac_status=$? 3463 grep -v '^ *+' conftest.er1 >conftest.err 3464 rm -f conftest.er1 3465 cat conftest.err >&5 3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3467 (exit $ac_status); } && { 3468 test -z "$ac_cxx_werror_flag" || 3469 test ! -s conftest.err 3470 } && test -s conftest.$ac_objext; then 4043 if ac_fn_cxx_try_compile "$LINENO"; then : 3471 4044 ac_cv_prog_cxx_g=yes 3472 else 3473 echo "$as_me: failed program was:" >&5 3474 sed 's/^/| /' conftest.$ac_ext >&5 3475 3476 3477 fi 3478 4045 fi 3479 4046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3480 4047 fi 3481 3482 4048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3483 4049 fi 3484 3485 4050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3486 4051 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3487 4052 fi 3488 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53489 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4054 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3490 4055 if test "$ac_test_CXXFLAGS" = set; then 3491 4056 CXXFLAGS=$ac_save_CXXFLAGS … … 3519 4084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3520 4085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3521 { echo "$as_me:$LINENO: checking for $ac_word" >&53522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3523 if test "${ac_cv_prog_F77+set}" = set; then3524 echo $ECHO_N "(cached) $ECHO_C" >&64086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4087 $as_echo_n "checking for $ac_word... " >&6; } 4088 if ${ac_cv_prog_F77+:} false; then : 4089 $as_echo_n "(cached) " >&6 3525 4090 else 3526 4091 if test -n "$F77"; then … … 3532 4097 IFS=$as_save_IFS 3533 4098 test -z "$as_dir" && as_dir=. 3534 for ac_exec_ext in '' $ac_executable_extensions; do4099 for ac_exec_ext in '' $ac_executable_extensions; do 3535 4100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3536 4101 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3538 4103 break 2 3539 4104 fi 3540 4105 done 3541 done4106 done 3542 4107 IFS=$as_save_IFS 3543 4108 … … 3546 4111 F77=$ac_cv_prog_F77 3547 4112 if test -n "$F77"; then 3548 { echo "$as_me:$LINENO: result: $F77" >&53549 echo "${ECHO_T}$F77" >&6; }3550 else 3551 { echo "$as_me:$LINENO: result: no" >&53552 echo "${ECHO_T}no" >&6; }4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4114 $as_echo "$F77" >&6; } 4115 else 4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4117 $as_echo "no" >&6; } 3553 4118 fi 3554 4119 … … 3563 4128 # Extract the first word of "$ac_prog", so it can be a program name with args. 3564 4129 set dummy $ac_prog; ac_word=$2 3565 { echo "$as_me:$LINENO: checking for $ac_word" >&53566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3567 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then3568 echo $ECHO_N "(cached) $ECHO_C" >&64130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4131 $as_echo_n "checking for $ac_word... " >&6; } 4132 if ${ac_cv_prog_ac_ct_F77+:} false; then : 4133 $as_echo_n "(cached) " >&6 3569 4134 else 3570 4135 if test -n "$ac_ct_F77"; then … … 3576 4141 IFS=$as_save_IFS 3577 4142 test -z "$as_dir" && as_dir=. 3578 for ac_exec_ext in '' $ac_executable_extensions; do4143 for ac_exec_ext in '' $ac_executable_extensions; do 3579 4144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3580 4145 ac_cv_prog_ac_ct_F77="$ac_prog" 3581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3582 4147 break 2 3583 4148 fi 3584 4149 done 3585 done4150 done 3586 4151 IFS=$as_save_IFS 3587 4152 … … 3590 4155 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3591 4156 if test -n "$ac_ct_F77"; then 3592 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53593 echo "${ECHO_T}$ac_ct_F77" >&6; }3594 else 3595 { echo "$as_me:$LINENO: result: no" >&53596 echo "${ECHO_T}no" >&6; }4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4158 $as_echo "$ac_ct_F77" >&6; } 4159 else 4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4161 $as_echo "no" >&6; } 3597 4162 fi 3598 4163 … … 3606 4171 case $cross_compiling:$ac_tool_warned in 3607 4172 yes:) 3608 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3609 whose name does not start with the host triplet. If you think this 3610 configuration is useful to you, please write to autoconf@gnu.org." >&5 3611 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3612 whose name does not start with the host triplet. If you think this 3613 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3614 4175 ac_tool_warned=yes ;; 3615 4176 esac … … 3620 4181 3621 4182 # Provide some information about the compiler. 3622 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3623 ac_compiler=`set X $ac_compile; echo $2` 3624 { (ac_try="$ac_compiler --version >&5" 4183 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4184 set X $ac_compile 4185 ac_compiler=$2 4186 for ac_option in --version -v -V -qversion; do 4187 { { ac_try="$ac_compiler $ac_option >&5" 3625 4188 case "(($ac_try" in 3626 4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3627 4190 *) ac_try_echo=$ac_try;; 3628 4191 esac 3629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3630 (eval "$ac_compiler --version >&5") 2>&5 4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4193 $as_echo "$ac_try_echo"; } >&5 4194 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3631 4195 ac_status=$? 3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3633 (exit $ac_status); } 3634 { (ac_try="$ac_compiler -v >&5" 3635 case "(($ac_try" in 3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3637 *) ac_try_echo=$ac_try;; 3638 esac 3639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3640 (eval "$ac_compiler -v >&5") 2>&5 3641 ac_status=$? 3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3643 (exit $ac_status); } 3644 { (ac_try="$ac_compiler -V >&5" 3645 case "(($ac_try" in 3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3647 *) ac_try_echo=$ac_try;; 3648 esac 3649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3650 (eval "$ac_compiler -V >&5") 2>&5 3651 ac_status=$? 3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3653 (exit $ac_status); } 4196 if test -s conftest.err; then 4197 sed '10a\ 4198 ... rest of stderr output deleted ... 4199 10q' conftest.err >conftest.er1 4200 cat conftest.er1 >&5 4201 fi 4202 rm -f conftest.er1 conftest.err 4203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4204 test $ac_status = 0; } 4205 done 3654 4206 rm -f a.out 3655 4207 … … 3658 4210 ac_save_ext=$ac_ext 3659 4211 ac_ext=F 3660 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53661 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3662 if test "${ac_cv_f77_compiler_gnu+set}" = set; then3663 echo $ECHO_N "(cached) $ECHO_C" >&63664 else 3665 cat > conftest.$ac_ext <<_ACEOF4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4213 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4214 if ${ac_cv_f77_compiler_gnu+:} false; then : 4215 $as_echo_n "(cached) " >&6 4216 else 4217 cat > conftest.$ac_ext <<_ACEOF 3666 4218 program main 3667 4219 #ifndef __GNUC__ … … 3671 4223 end 3672 4224 _ACEOF 3673 rm -f conftest.$ac_objext 3674 if { (ac_try="$ac_compile" 3675 case "(($ac_try" in 3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3677 *) ac_try_echo=$ac_try;; 3678 esac 3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3680 (eval "$ac_compile") 2>conftest.er1 3681 ac_status=$? 3682 grep -v '^ *+' conftest.er1 >conftest.err 3683 rm -f conftest.er1 3684 cat conftest.err >&5 3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3686 (exit $ac_status); } && { 3687 test -z "$ac_f77_werror_flag" || 3688 test ! -s conftest.err 3689 } && test -s conftest.$ac_objext; then 4225 if ac_fn_f77_try_compile "$LINENO"; then : 3690 4226 ac_compiler_gnu=yes 3691 4227 else 3692 echo "$as_me: failed program was:" >&5 3693 sed 's/^/| /' conftest.$ac_ext >&5 3694 3695 ac_compiler_gnu=no 3696 fi 3697 4228 ac_compiler_gnu=no 4229 fi 3698 4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3699 4231 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3700 4232 3701 4233 fi 3702 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53703 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4235 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3704 4236 ac_ext=$ac_save_ext 3705 4237 ac_test_FFLAGS=${FFLAGS+set} 3706 4238 ac_save_FFLAGS=$FFLAGS 3707 4239 FFLAGS= 3708 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53709 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3710 if test "${ac_cv_prog_f77_g+set}" = set; then3711 echo $ECHO_N "(cached) $ECHO_C" >&64240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4241 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4242 if ${ac_cv_prog_f77_g+:} false; then : 4243 $as_echo_n "(cached) " >&6 3712 4244 else 3713 4245 FFLAGS=-g 3714 cat > conftest.$ac_ext <<_ACEOF4246 cat > conftest.$ac_ext <<_ACEOF 3715 4247 program main 3716 4248 3717 4249 end 3718 4250 _ACEOF 3719 rm -f conftest.$ac_objext 3720 if { (ac_try="$ac_compile" 3721 case "(($ac_try" in 3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3723 *) ac_try_echo=$ac_try;; 3724 esac 3725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3726 (eval "$ac_compile") 2>conftest.er1 3727 ac_status=$? 3728 grep -v '^ *+' conftest.er1 >conftest.err 3729 rm -f conftest.er1 3730 cat conftest.err >&5 3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3732 (exit $ac_status); } && { 3733 test -z "$ac_f77_werror_flag" || 3734 test ! -s conftest.err 3735 } && test -s conftest.$ac_objext; then 4251 if ac_fn_f77_try_compile "$LINENO"; then : 3736 4252 ac_cv_prog_f77_g=yes 3737 4253 else 3738 echo "$as_me: failed program was:" >&5 3739 sed 's/^/| /' conftest.$ac_ext >&5 3740 3741 ac_cv_prog_f77_g=no 3742 fi 3743 4254 ac_cv_prog_f77_g=no 4255 fi 3744 4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3745 4257 3746 4258 fi 3747 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53748 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4260 $as_echo "$ac_cv_prog_f77_g" >&6; } 3749 4261 if test "$ac_test_FFLAGS" = set; then 3750 4262 FFLAGS=$ac_save_FFLAGS … … 3763 4275 fi 3764 4276 3765 G77=`test $ac_compiler_gnu = yes && echo yes` 4277 if test $ac_compiler_gnu = yes; then 4278 G77=yes 4279 else 4280 G77= 4281 fi 3766 4282 ac_ext=c 3767 4283 ac_cpp='$CPP $CPPFLAGS' … … 3784 4300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3785 4301 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3786 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53787 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4303 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3788 4304 # On Suns, sometimes $CPP names a directory. 3789 4305 if test -n "$CPP" && test -d "$CPP"; then … … 3791 4307 fi 3792 4308 if test -z "$CPP"; then 3793 if test "${ac_cv_prog_CPP+set}" = set; then3794 echo $ECHO_N "(cached) $ECHO_C" >&64309 if ${ac_cv_prog_CPP+:} false; then : 4310 $as_echo_n "(cached) " >&6 3795 4311 else 3796 4312 # Double quotes because CPP needs to be expanded … … 3806 4322 # On the NeXT, cc -E runs the code through the compiler's parser, 3807 4323 # not just through cpp. "Syntax error" is here to catch this case. 3808 cat >conftest.$ac_ext <<_ACEOF 3809 /* confdefs.h. */ 3810 _ACEOF 3811 cat confdefs.h >>conftest.$ac_ext 3812 cat >>conftest.$ac_ext <<_ACEOF 4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3813 4325 /* end confdefs.h. */ 3814 4326 #ifdef __STDC__ … … 3819 4331 Syntax error 3820 4332 _ACEOF 3821 if { (ac_try="$ac_cpp conftest.$ac_ext" 3822 case "(($ac_try" in 3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3824 *) ac_try_echo=$ac_try;; 3825 esac 3826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3828 ac_status=$? 3829 grep -v '^ *+' conftest.er1 >conftest.err 3830 rm -f conftest.er1 3831 cat conftest.err >&5 3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3833 (exit $ac_status); } >/dev/null && { 3834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3835 test ! -s conftest.err 3836 }; then 3837 : 3838 else 3839 echo "$as_me: failed program was:" >&5 3840 sed 's/^/| /' conftest.$ac_ext >&5 3841 4333 if ac_fn_c_try_cpp "$LINENO"; then : 4334 4335 else 3842 4336 # Broken: fails on valid input. 3843 4337 continue 3844 4338 fi 3845 3846 rm -f conftest.err conftest.$ac_ext 4339 rm -f conftest.err conftest.i conftest.$ac_ext 3847 4340 3848 4341 # OK, works on sane cases. Now check whether nonexistent headers 3849 4342 # can be detected and how. 3850 cat >conftest.$ac_ext <<_ACEOF 3851 /* confdefs.h. */ 3852 _ACEOF 3853 cat confdefs.h >>conftest.$ac_ext 3854 cat >>conftest.$ac_ext <<_ACEOF 4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3855 4344 /* end confdefs.h. */ 3856 4345 #include <ac_nonexistent.h> 3857 4346 _ACEOF 3858 if { (ac_try="$ac_cpp conftest.$ac_ext" 3859 case "(($ac_try" in 3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3861 *) ac_try_echo=$ac_try;; 3862 esac 3863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3865 ac_status=$? 3866 grep -v '^ *+' conftest.er1 >conftest.err 3867 rm -f conftest.er1 3868 cat conftest.err >&5 3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3870 (exit $ac_status); } >/dev/null && { 3871 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3872 test ! -s conftest.err 3873 }; then 4347 if ac_fn_c_try_cpp "$LINENO"; then : 3874 4348 # Broken: success on invalid input. 3875 4349 continue 3876 4350 else 3877 echo "$as_me: failed program was:" >&53878 sed 's/^/| /' conftest.$ac_ext >&53879 3880 4351 # Passes both tests. 3881 4352 ac_preproc_ok=: 3882 4353 break 3883 4354 fi 3884 3885 rm -f conftest.err conftest.$ac_ext 4355 rm -f conftest.err conftest.i conftest.$ac_ext 3886 4356 3887 4357 done 3888 4358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3889 rm -f conftest. err conftest.$ac_ext3890 if $ac_preproc_ok; then 4359 rm -f conftest.i conftest.err conftest.$ac_ext 4360 if $ac_preproc_ok; then : 3891 4361 break 3892 4362 fi … … 3900 4370 ac_cv_prog_CPP=$CPP 3901 4371 fi 3902 { echo "$as_me:$LINENO: result: $CPP" >&53903 echo "${ECHO_T}$CPP" >&6; }4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4373 $as_echo "$CPP" >&6; } 3904 4374 ac_preproc_ok=false 3905 4375 for ac_c_preproc_warn_flag in '' yes … … 3911 4381 # On the NeXT, cc -E runs the code through the compiler's parser, 3912 4382 # not just through cpp. "Syntax error" is here to catch this case. 3913 cat >conftest.$ac_ext <<_ACEOF 3914 /* confdefs.h. */ 3915 _ACEOF 3916 cat confdefs.h >>conftest.$ac_ext 3917 cat >>conftest.$ac_ext <<_ACEOF 4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3918 4384 /* end confdefs.h. */ 3919 4385 #ifdef __STDC__ … … 3924 4390 Syntax error 3925 4391 _ACEOF 3926 if { (ac_try="$ac_cpp conftest.$ac_ext" 3927 case "(($ac_try" in 3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3929 *) ac_try_echo=$ac_try;; 3930 esac 3931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3933 ac_status=$? 3934 grep -v '^ *+' conftest.er1 >conftest.err 3935 rm -f conftest.er1 3936 cat conftest.err >&5 3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3938 (exit $ac_status); } >/dev/null && { 3939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3940 test ! -s conftest.err 3941 }; then 3942 : 3943 else 3944 echo "$as_me: failed program was:" >&5 3945 sed 's/^/| /' conftest.$ac_ext >&5 3946 4392 if ac_fn_c_try_cpp "$LINENO"; then : 4393 4394 else 3947 4395 # Broken: fails on valid input. 3948 4396 continue 3949 4397 fi 3950 3951 rm -f conftest.err conftest.$ac_ext 4398 rm -f conftest.err conftest.i conftest.$ac_ext 3952 4399 3953 4400 # OK, works on sane cases. Now check whether nonexistent headers 3954 4401 # can be detected and how. 3955 cat >conftest.$ac_ext <<_ACEOF 3956 /* confdefs.h. */ 3957 _ACEOF 3958 cat confdefs.h >>conftest.$ac_ext 3959 cat >>conftest.$ac_ext <<_ACEOF 4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3960 4403 /* end confdefs.h. */ 3961 4404 #include <ac_nonexistent.h> 3962 4405 _ACEOF 3963 if { (ac_try="$ac_cpp conftest.$ac_ext" 3964 case "(($ac_try" in 3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3966 *) ac_try_echo=$ac_try;; 3967 esac 3968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3970 ac_status=$? 3971 grep -v '^ *+' conftest.er1 >conftest.err 3972 rm -f conftest.er1 3973 cat conftest.err >&5 3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3975 (exit $ac_status); } >/dev/null && { 3976 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3977 test ! -s conftest.err 3978 }; then 4406 if ac_fn_c_try_cpp "$LINENO"; then : 3979 4407 # Broken: success on invalid input. 3980 4408 continue 3981 4409 else 3982 echo "$as_me: failed program was:" >&53983 sed 's/^/| /' conftest.$ac_ext >&53984 3985 4410 # Passes both tests. 3986 4411 ac_preproc_ok=: 3987 4412 break 3988 4413 fi 3989 3990 rm -f conftest.err conftest.$ac_ext 4414 rm -f conftest.err conftest.i conftest.$ac_ext 3991 4415 3992 4416 done 3993 4417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3994 rm -f conftest.err conftest.$ac_ext 3995 if $ac_preproc_ok; then 3996 : 3997 else 3998 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3999 See \`config.log' for more details." >&5 4000 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4001 See \`config.log' for more details." >&2;} 4002 { (exit 1); exit 1; }; } 4418 rm -f conftest.i conftest.err conftest.$ac_ext 4419 if $ac_preproc_ok; then : 4420 4421 else 4422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4424 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4425 See \`config.log' for more details" "$LINENO" 5; } 4003 4426 fi 4004 4427 … … 4010 4433 4011 4434 4012 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4013 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4014 if test "${ac_cv_path_GREP+set}" = set; then 4015 echo $ECHO_N "(cached) $ECHO_C" >&6 4016 else 4017 # Extract the first word of "grep ggrep" to use in msg output 4018 if test -z "$GREP"; then 4019 set dummy grep ggrep; ac_prog_name=$2 4020 if test "${ac_cv_path_GREP+set}" = set; then 4021 echo $ECHO_N "(cached) $ECHO_C" >&6 4022 else 4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4436 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4437 if ${ac_cv_path_GREP+:} false; then : 4438 $as_echo_n "(cached) " >&6 4439 else 4440 if test -z "$GREP"; then 4023 4441 ac_path_GREP_found=false 4024 # Loop through the user's path and test for each of PROGNAME-LIST4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4442 # Loop through the user's path and test for each of PROGNAME-LIST 4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4026 4444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4027 4445 do 4028 4446 IFS=$as_save_IFS 4029 4447 test -z "$as_dir" && as_dir=. 4030 for ac_prog in grep ggrep; do4031 for ac_exec_ext in '' $ac_executable_extensions; do4032 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4033 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4034 4448 for ac_prog in grep ggrep; do 4449 for ac_exec_ext in '' $ac_executable_extensions; do 4450 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4451 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4452 # Check for GNU ac_path_GREP and select it if it is found. 4035 4453 # Check for GNU $ac_path_GREP 4036 4454 case `"$ac_path_GREP" --version 2>&1` in … … 4039 4457 *) 4040 4458 ac_count=0 4041 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4459 $as_echo_n 0123456789 >"conftest.in" 4042 4460 while : 4043 4461 do … … 4045 4463 mv "conftest.tmp" "conftest.in" 4046 4464 cp "conftest.in" "conftest.nl" 4047 echo 'GREP' >> "conftest.nl"4465 $as_echo 'GREP' >> "conftest.nl" 4048 4466 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4049 4467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4050 a c_count=`expr $ac_count + 1`4468 as_fn_arith $ac_count + 1 && ac_count=$as_val 4051 4469 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4052 4470 # Best one so far, save it but keep looking for a better one … … 4060 4478 esac 4061 4479 4062 4063 $ac_path_GREP_found && break 34480 $ac_path_GREP_found && break 3 4481 done 4064 4482 done 4065 done 4066 4067 done 4483 done 4068 4484 IFS=$as_save_IFS 4069 4070 4071 fi 4072 4073 GREP="$ac_cv_path_GREP" 4074 if test -z "$GREP"; then 4075 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4076 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4077 { (exit 1); exit 1; }; } 4078 fi 4079 4485 if test -z "$ac_cv_path_GREP"; then 4486 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4487 fi 4080 4488 else 4081 4489 ac_cv_path_GREP=$GREP 4082 4490 fi 4083 4491 4084 4085 fi 4086 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4087 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4492 fi 4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4494 $as_echo "$ac_cv_path_GREP" >&6; } 4088 4495 GREP="$ac_cv_path_GREP" 4089 4496 4090 4497 4091 { echo "$as_me:$LINENO: checking for egrep" >&54092 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4093 if test "${ac_cv_path_EGREP+set}" = set; then4094 echo $ECHO_N "(cached) $ECHO_C" >&64498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4499 $as_echo_n "checking for egrep... " >&6; } 4500 if ${ac_cv_path_EGREP+:} false; then : 4501 $as_echo_n "(cached) " >&6 4095 4502 else 4096 4503 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4097 4504 then ac_cv_path_EGREP="$GREP -E" 4098 4505 else 4099 # Extract the first word of "egrep" to use in msg output 4100 if test -z "$EGREP"; then 4101 set dummy egrep; ac_prog_name=$2 4102 if test "${ac_cv_path_EGREP+set}" = set; then 4103 echo $ECHO_N "(cached) $ECHO_C" >&6 4104 else 4506 if test -z "$EGREP"; then 4105 4507 ac_path_EGREP_found=false 4106 # Loop through the user's path and test for each of PROGNAME-LIST4107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4508 # Loop through the user's path and test for each of PROGNAME-LIST 4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4108 4510 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4109 4511 do 4110 4512 IFS=$as_save_IFS 4111 4513 test -z "$as_dir" && as_dir=. 4112 for ac_prog in egrep; do4113 for ac_exec_ext in '' $ac_executable_extensions; do4114 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4115 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4116 4514 for ac_prog in egrep; do 4515 for ac_exec_ext in '' $ac_executable_extensions; do 4516 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4517 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4518 # Check for GNU ac_path_EGREP and select it if it is found. 4117 4519 # Check for GNU $ac_path_EGREP 4118 4520 case `"$ac_path_EGREP" --version 2>&1` in … … 4121 4523 *) 4122 4524 ac_count=0 4123 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4525 $as_echo_n 0123456789 >"conftest.in" 4124 4526 while : 4125 4527 do … … 4127 4529 mv "conftest.tmp" "conftest.in" 4128 4530 cp "conftest.in" "conftest.nl" 4129 echo 'EGREP' >> "conftest.nl"4531 $as_echo 'EGREP' >> "conftest.nl" 4130 4532 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4131 4533 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4132 a c_count=`expr $ac_count + 1`4534 as_fn_arith $ac_count + 1 && ac_count=$as_val 4133 4535 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4134 4536 # Best one so far, save it but keep looking for a better one … … 4142 4544 esac 4143 4545 4144 4145 $ac_path_EGREP_found && break 34546 $ac_path_EGREP_found && break 3 4547 done 4146 4548 done 4147 done 4148 4149 done 4549 done 4150 4550 IFS=$as_save_IFS 4151 4152 4153 fi 4154 4155 EGREP="$ac_cv_path_EGREP" 4156 if test -z "$EGREP"; then 4157 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4158 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4159 { (exit 1); exit 1; }; } 4160 fi 4161 4551 if test -z "$ac_cv_path_EGREP"; then 4552 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4553 fi 4162 4554 else 4163 4555 ac_cv_path_EGREP=$EGREP 4164 4556 fi 4165 4557 4166 4167 4558 fi 4168 4559 fi 4169 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54170 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4561 $as_echo "$ac_cv_path_EGREP" >&6; } 4171 4562 EGREP="$ac_cv_path_EGREP" 4172 4563 4173 4564 4174 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4176 if test "${ac_cv_header_stdc+set}" = set; then 4177 echo $ECHO_N "(cached) $ECHO_C" >&6 4178 else 4179 cat >conftest.$ac_ext <<_ACEOF 4180 /* confdefs.h. */ 4181 _ACEOF 4182 cat confdefs.h >>conftest.$ac_ext 4183 cat >>conftest.$ac_ext <<_ACEOF 4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4566 $as_echo_n "checking for ANSI C header files... " >&6; } 4567 if ${ac_cv_header_stdc+:} false; then : 4568 $as_echo_n "(cached) " >&6 4569 else 4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4184 4571 /* end confdefs.h. */ 4185 4572 #include <stdlib.h> … … 4196 4583 } 4197 4584 _ACEOF 4198 rm -f conftest.$ac_objext 4199 if { (ac_try="$ac_compile" 4200 case "(($ac_try" in 4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4202 *) ac_try_echo=$ac_try;; 4203 esac 4204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4205 (eval "$ac_compile") 2>conftest.er1 4206 ac_status=$? 4207 grep -v '^ *+' conftest.er1 >conftest.err 4208 rm -f conftest.er1 4209 cat conftest.err >&5 4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4211 (exit $ac_status); } && { 4212 test -z "$ac_c_werror_flag" || 4213 test ! -s conftest.err 4214 } && test -s conftest.$ac_objext; then 4585 if ac_fn_c_try_compile "$LINENO"; then : 4215 4586 ac_cv_header_stdc=yes 4216 4587 else 4217 echo "$as_me: failed program was:" >&5 4218 sed 's/^/| /' conftest.$ac_ext >&5 4219 4220 ac_cv_header_stdc=no 4221 fi 4222 4588 ac_cv_header_stdc=no 4589 fi 4223 4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4224 4591 4225 4592 if test $ac_cv_header_stdc = yes; then 4226 4593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4227 cat >conftest.$ac_ext <<_ACEOF 4228 /* confdefs.h. */ 4229 _ACEOF 4230 cat confdefs.h >>conftest.$ac_ext 4231 cat >>conftest.$ac_ext <<_ACEOF 4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4232 4595 /* end confdefs.h. */ 4233 4596 #include <string.h> … … 4235 4598 _ACEOF 4236 4599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4237 $EGREP "memchr" >/dev/null 2>&1; then 4238 : 4600 $EGREP "memchr" >/dev/null 2>&1; then : 4601 4239 4602 else 4240 4603 ac_cv_header_stdc=no 4241 4604 fi 4242 rm -f -rconftest*4605 rm -f conftest* 4243 4606 4244 4607 fi … … 4246 4609 if test $ac_cv_header_stdc = yes; then 4247 4610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4248 cat >conftest.$ac_ext <<_ACEOF 4249 /* confdefs.h. */ 4250 _ACEOF 4251 cat confdefs.h >>conftest.$ac_ext 4252 cat >>conftest.$ac_ext <<_ACEOF 4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4253 4612 /* end confdefs.h. */ 4254 4613 #include <stdlib.h> … … 4256 4615 _ACEOF 4257 4616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4258 $EGREP "free" >/dev/null 2>&1; then 4259 : 4617 $EGREP "free" >/dev/null 2>&1; then : 4618 4260 4619 else 4261 4620 ac_cv_header_stdc=no 4262 4621 fi 4263 rm -f -rconftest*4622 rm -f conftest* 4264 4623 4265 4624 fi … … 4267 4626 if test $ac_cv_header_stdc = yes; then 4268 4627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4269 if test "$cross_compiling" = yes; then 4628 if test "$cross_compiling" = yes; then : 4270 4629 : 4271 4630 else 4272 cat >conftest.$ac_ext <<_ACEOF 4273 /* confdefs.h. */ 4274 _ACEOF 4275 cat confdefs.h >>conftest.$ac_ext 4276 cat >>conftest.$ac_ext <<_ACEOF 4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4277 4632 /* end confdefs.h. */ 4278 4633 #include <ctype.h> … … 4301 4656 } 4302 4657 _ACEOF 4303 rm -f conftest$ac_exeext 4304 if { (ac_try="$ac_link" 4305 case "(($ac_try" in 4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4307 *) ac_try_echo=$ac_try;; 4308 esac 4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4310 (eval "$ac_link") 2>&5 4311 ac_status=$? 4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4314 { (case "(($ac_try" in 4315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4316 *) ac_try_echo=$ac_try;; 4317 esac 4318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4319 (eval "$ac_try") 2>&5 4320 ac_status=$? 4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4322 (exit $ac_status); }; }; then 4323 : 4324 else 4325 echo "$as_me: program exited with status $ac_status" >&5 4326 echo "$as_me: failed program was:" >&5 4327 sed 's/^/| /' conftest.$ac_ext >&5 4328 4329 ( exit $ac_status ) 4330 ac_cv_header_stdc=no 4331 fi 4332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4333 fi 4334 4335 4336 fi 4337 fi 4338 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4339 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4658 if ac_fn_c_try_run "$LINENO"; then : 4659 4660 else 4661 ac_cv_header_stdc=no 4662 fi 4663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4664 conftest.$ac_objext conftest.beam conftest.$ac_ext 4665 fi 4666 4667 fi 4668 fi 4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4670 $as_echo "$ac_cv_header_stdc" >&6; } 4340 4671 if test $ac_cv_header_stdc = yes; then 4341 4672 4342 cat >>confdefs.h <<\_ACEOF 4343 #define STDC_HEADERS 1 4344 _ACEOF 4345 4346 fi 4347 4348 { echo "$as_me:$LINENO: checking for atol" >&5 4349 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4350 if test "${ac_cv_func_atol+set}" = set; then 4351 echo $ECHO_N "(cached) $ECHO_C" >&6 4352 else 4353 cat >conftest.$ac_ext <<_ACEOF 4354 /* confdefs.h. */ 4355 _ACEOF 4356 cat confdefs.h >>conftest.$ac_ext 4357 cat >>conftest.$ac_ext <<_ACEOF 4358 /* end confdefs.h. */ 4359 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4360 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4361 #define atol innocuous_atol 4362 4363 /* System header to define __stub macros and hopefully few prototypes, 4364 which can conflict with char atol (); below. 4365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4366 <limits.h> exists even on freestanding compilers. */ 4367 4368 #ifdef __STDC__ 4369 # include <limits.h> 4370 #else 4371 # include <assert.h> 4372 #endif 4373 4374 #undef atol 4375 4376 /* Override any GCC internal prototype to avoid an error. 4377 Use char because int might match the return type of a GCC 4378 builtin and then its argument prototype would still apply. */ 4379 #ifdef __cplusplus 4380 extern "C" 4381 #endif 4382 char atol (); 4383 /* The GNU C library defines this for functions which it implements 4384 to always fail with ENOSYS. Some functions are actually named 4385 something starting with __ and the normal name is an alias. */ 4386 #if defined __stub_atol || defined __stub___atol 4387 choke me 4388 #endif 4389 4390 int 4391 main () 4392 { 4393 return atol (); 4394 ; 4395 return 0; 4396 } 4397 _ACEOF 4398 rm -f conftest.$ac_objext conftest$ac_exeext 4399 if { (ac_try="$ac_link" 4400 case "(($ac_try" in 4401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4402 *) ac_try_echo=$ac_try;; 4403 esac 4404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4405 (eval "$ac_link") 2>conftest.er1 4406 ac_status=$? 4407 grep -v '^ *+' conftest.er1 >conftest.err 4408 rm -f conftest.er1 4409 cat conftest.err >&5 4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4411 (exit $ac_status); } && { 4412 test -z "$ac_c_werror_flag" || 4413 test ! -s conftest.err 4414 } && test -s conftest$ac_exeext && 4415 $as_test_x conftest$ac_exeext; then 4416 ac_cv_func_atol=yes 4417 else 4418 echo "$as_me: failed program was:" >&5 4419 sed 's/^/| /' conftest.$ac_ext >&5 4420 4421 ac_cv_func_atol=no 4422 fi 4423 4424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4425 conftest$ac_exeext conftest.$ac_ext 4426 fi 4427 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4428 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4429 if test $ac_cv_func_atol = yes; then 4430 : 4431 else 4432 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4433 echo "$as_me: error: oops! no atol ?!?" >&2;} 4434 { (exit 1); exit 1; }; } 4673 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4674 4675 fi 4676 4677 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4678 if test "x$ac_cv_func_atol" = xyes; then : 4679 4680 else 4681 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4435 4682 fi 4436 4683 … … 4444 4691 4445 4692 4446 4447 4693 for ac_func in sysinfo 4448 do 4449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4450 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4452 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4453 echo $ECHO_N "(cached) $ECHO_C" >&6 4454 else 4455 cat >conftest.$ac_ext <<_ACEOF 4456 /* confdefs.h. */ 4457 _ACEOF 4458 cat confdefs.h >>conftest.$ac_ext 4459 cat >>conftest.$ac_ext <<_ACEOF 4460 /* end confdefs.h. */ 4461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4462 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4463 #define $ac_func innocuous_$ac_func 4464 4465 /* System header to define __stub macros and hopefully few prototypes, 4466 which can conflict with char $ac_func (); below. 4467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4468 <limits.h> exists even on freestanding compilers. */ 4469 4470 #ifdef __STDC__ 4471 # include <limits.h> 4472 #else 4473 # include <assert.h> 4474 #endif 4475 4476 #undef $ac_func 4477 4478 /* Override any GCC internal prototype to avoid an error. 4479 Use char because int might match the return type of a GCC 4480 builtin and then its argument prototype would still apply. */ 4481 #ifdef __cplusplus 4482 extern "C" 4483 #endif 4484 char $ac_func (); 4485 /* The GNU C library defines this for functions which it implements 4486 to always fail with ENOSYS. Some functions are actually named 4487 something starting with __ and the normal name is an alias. */ 4488 #if defined __stub_$ac_func || defined __stub___$ac_func 4489 choke me 4490 #endif 4491 4492 int 4493 main () 4494 { 4495 return $ac_func (); 4496 ; 4497 return 0; 4498 } 4499 _ACEOF 4500 rm -f conftest.$ac_objext conftest$ac_exeext 4501 if { (ac_try="$ac_link" 4502 case "(($ac_try" in 4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4504 *) ac_try_echo=$ac_try;; 4505 esac 4506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4507 (eval "$ac_link") 2>conftest.er1 4508 ac_status=$? 4509 grep -v '^ *+' conftest.er1 >conftest.err 4510 rm -f conftest.er1 4511 cat conftest.err >&5 4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4513 (exit $ac_status); } && { 4514 test -z "$ac_cxx_werror_flag" || 4515 test ! -s conftest.err 4516 } && test -s conftest$ac_exeext && 4517 $as_test_x conftest$ac_exeext; then 4518 eval "$as_ac_var=yes" 4519 else 4520 echo "$as_me: failed program was:" >&5 4521 sed 's/^/| /' conftest.$ac_ext >&5 4522 4523 eval "$as_ac_var=no" 4524 fi 4525 4526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4527 conftest$ac_exeext conftest.$ac_ext 4528 fi 4529 ac_res=`eval echo '${'$as_ac_var'}'` 4530 { echo "$as_me:$LINENO: result: $ac_res" >&5 4531 echo "${ECHO_T}$ac_res" >&6; } 4532 if test `eval echo '${'$as_ac_var'}'` = yes; then 4694 do : 4695 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4696 if test "x$ac_cv_func_sysinfo" = xyes; then : 4533 4697 cat >>confdefs.h <<_ACEOF 4534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4535 _ACEOF 4536 4537 fi 4538 done 4539 4540 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4551 inttypes.h stdint.h unistd.h 4552 do 4553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4554 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4557 echo $ECHO_N "(cached) $ECHO_C" >&6 4558 else 4559 cat >conftest.$ac_ext <<_ACEOF 4560 /* confdefs.h. */ 4561 _ACEOF 4562 cat confdefs.h >>conftest.$ac_ext 4563 cat >>conftest.$ac_ext <<_ACEOF 4564 /* end confdefs.h. */ 4565 $ac_includes_default 4566 4567 #include <$ac_header> 4568 _ACEOF 4569 rm -f conftest.$ac_objext 4570 if { (ac_try="$ac_compile" 4571 case "(($ac_try" in 4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4573 *) ac_try_echo=$ac_try;; 4574 esac 4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4576 (eval "$ac_compile") 2>conftest.er1 4577 ac_status=$? 4578 grep -v '^ *+' conftest.er1 >conftest.err 4579 rm -f conftest.er1 4580 cat conftest.err >&5 4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4582 (exit $ac_status); } && { 4583 test -z "$ac_cxx_werror_flag" || 4584 test ! -s conftest.err 4585 } && test -s conftest.$ac_objext; then 4586 eval "$as_ac_Header=yes" 4587 else 4588 echo "$as_me: failed program was:" >&5 4589 sed 's/^/| /' conftest.$ac_ext >&5 4590 4591 eval "$as_ac_Header=no" 4592 fi 4593 4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4595 fi 4596 ac_res=`eval echo '${'$as_ac_Header'}'` 4597 { echo "$as_me:$LINENO: result: $ac_res" >&5 4598 echo "${ECHO_T}$ac_res" >&6; } 4599 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4600 cat >>confdefs.h <<_ACEOF 4601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4602 _ACEOF 4603 4604 fi 4605 4606 done 4607 4698 #define HAVE_SYSINFO 1 4699 _ACEOF 4700 4701 fi 4702 done 4608 4703 4609 4704 ac_ext=cpp … … 4612 4707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4613 4708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4614 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54615 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4710 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4616 4711 if test -z "$CXXCPP"; then 4617 if test "${ac_cv_prog_CXXCPP+set}" = set; then4618 echo $ECHO_N "(cached) $ECHO_C" >&64712 if ${ac_cv_prog_CXXCPP+:} false; then : 4713 $as_echo_n "(cached) " >&6 4619 4714 else 4620 4715 # Double quotes because CXXCPP needs to be expanded … … 4630 4725 # On the NeXT, cc -E runs the code through the compiler's parser, 4631 4726 # not just through cpp. "Syntax error" is here to catch this case. 4632 cat >conftest.$ac_ext <<_ACEOF 4633 /* confdefs.h. */ 4634 _ACEOF 4635 cat confdefs.h >>conftest.$ac_ext 4636 cat >>conftest.$ac_ext <<_ACEOF 4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4637 4728 /* end confdefs.h. */ 4638 4729 #ifdef __STDC__ … … 4643 4734 Syntax error 4644 4735 _ACEOF 4645 if { (ac_try="$ac_cpp conftest.$ac_ext" 4646 case "(($ac_try" in 4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4648 *) ac_try_echo=$ac_try;; 4649 esac 4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4652 ac_status=$? 4653 grep -v '^ *+' conftest.er1 >conftest.err 4654 rm -f conftest.er1 4655 cat conftest.err >&5 4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4657 (exit $ac_status); } >/dev/null && { 4658 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4659 test ! -s conftest.err 4660 }; then 4661 : 4662 else 4663 echo "$as_me: failed program was:" >&5 4664 sed 's/^/| /' conftest.$ac_ext >&5 4665 4736 if ac_fn_cxx_try_cpp "$LINENO"; then : 4737 4738 else 4666 4739 # Broken: fails on valid input. 4667 4740 continue 4668 4741 fi 4669 4670 rm -f conftest.err conftest.$ac_ext 4742 rm -f conftest.err conftest.i conftest.$ac_ext 4671 4743 4672 4744 # OK, works on sane cases. Now check whether nonexistent headers 4673 4745 # can be detected and how. 4674 cat >conftest.$ac_ext <<_ACEOF 4675 /* confdefs.h. */ 4676 _ACEOF 4677 cat confdefs.h >>conftest.$ac_ext 4678 cat >>conftest.$ac_ext <<_ACEOF 4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4679 4747 /* end confdefs.h. */ 4680 4748 #include <ac_nonexistent.h> 4681 4749 _ACEOF 4682 if { (ac_try="$ac_cpp conftest.$ac_ext" 4683 case "(($ac_try" in 4684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4685 *) ac_try_echo=$ac_try;; 4686 esac 4687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4689 ac_status=$? 4690 grep -v '^ *+' conftest.er1 >conftest.err 4691 rm -f conftest.er1 4692 cat conftest.err >&5 4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4694 (exit $ac_status); } >/dev/null && { 4695 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4696 test ! -s conftest.err 4697 }; then 4750 if ac_fn_cxx_try_cpp "$LINENO"; then : 4698 4751 # Broken: success on invalid input. 4699 4752 continue 4700 4753 else 4701 echo "$as_me: failed program was:" >&54702 sed 's/^/| /' conftest.$ac_ext >&54703 4704 4754 # Passes both tests. 4705 4755 ac_preproc_ok=: 4706 4756 break 4707 4757 fi 4708 4709 rm -f conftest.err conftest.$ac_ext 4758 rm -f conftest.err conftest.i conftest.$ac_ext 4710 4759 4711 4760 done 4712 4761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4713 rm -f conftest. err conftest.$ac_ext4714 if $ac_preproc_ok; then 4762 rm -f conftest.i conftest.err conftest.$ac_ext 4763 if $ac_preproc_ok; then : 4715 4764 break 4716 4765 fi … … 4724 4773 ac_cv_prog_CXXCPP=$CXXCPP 4725 4774 fi 4726 { echo "$as_me:$LINENO: result: $CXXCPP" >&54727 echo "${ECHO_T}$CXXCPP" >&6; }4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4776 $as_echo "$CXXCPP" >&6; } 4728 4777 ac_preproc_ok=false 4729 4778 for ac_cxx_preproc_warn_flag in '' yes … … 4735 4784 # On the NeXT, cc -E runs the code through the compiler's parser, 4736 4785 # not just through cpp. "Syntax error" is here to catch this case. 4737 cat >conftest.$ac_ext <<_ACEOF 4738 /* confdefs.h. */ 4739 _ACEOF 4740 cat confdefs.h >>conftest.$ac_ext 4741 cat >>conftest.$ac_ext <<_ACEOF 4786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4742 4787 /* end confdefs.h. */ 4743 4788 #ifdef __STDC__ … … 4748 4793 Syntax error 4749 4794 _ACEOF 4750 if { (ac_try="$ac_cpp conftest.$ac_ext" 4751 case "(($ac_try" in 4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4753 *) ac_try_echo=$ac_try;; 4754 esac 4755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4757 ac_status=$? 4758 grep -v '^ *+' conftest.er1 >conftest.err 4759 rm -f conftest.er1 4760 cat conftest.err >&5 4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4762 (exit $ac_status); } >/dev/null && { 4763 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4764 test ! -s conftest.err 4765 }; then 4766 : 4767 else 4768 echo "$as_me: failed program was:" >&5 4769 sed 's/^/| /' conftest.$ac_ext >&5 4770 4795 if ac_fn_cxx_try_cpp "$LINENO"; then : 4796 4797 else 4771 4798 # Broken: fails on valid input. 4772 4799 continue 4773 4800 fi 4774 4775 rm -f conftest.err conftest.$ac_ext 4801 rm -f conftest.err conftest.i conftest.$ac_ext 4776 4802 4777 4803 # OK, works on sane cases. Now check whether nonexistent headers 4778 4804 # can be detected and how. 4779 cat >conftest.$ac_ext <<_ACEOF 4780 /* confdefs.h. */ 4781 _ACEOF 4782 cat confdefs.h >>conftest.$ac_ext 4783 cat >>conftest.$ac_ext <<_ACEOF 4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4784 4806 /* end confdefs.h. */ 4785 4807 #include <ac_nonexistent.h> 4786 4808 _ACEOF 4787 if { (ac_try="$ac_cpp conftest.$ac_ext" 4788 case "(($ac_try" in 4789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4790 *) ac_try_echo=$ac_try;; 4791 esac 4792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4794 ac_status=$? 4795 grep -v '^ *+' conftest.er1 >conftest.err 4796 rm -f conftest.er1 4797 cat conftest.err >&5 4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4799 (exit $ac_status); } >/dev/null && { 4800 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4801 test ! -s conftest.err 4802 }; then 4809 if ac_fn_cxx_try_cpp "$LINENO"; then : 4803 4810 # Broken: success on invalid input. 4804 4811 continue 4805 4812 else 4806 echo "$as_me: failed program was:" >&54807 sed 's/^/| /' conftest.$ac_ext >&54808 4809 4813 # Passes both tests. 4810 4814 ac_preproc_ok=: 4811 4815 break 4812 4816 fi 4813 4814 rm -f conftest.err conftest.$ac_ext 4817 rm -f conftest.err conftest.i conftest.$ac_ext 4815 4818 4816 4819 done 4817 4820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4818 rm -f conftest.err conftest.$ac_ext 4819 if $ac_preproc_ok; then 4820 : 4821 else 4822 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4823 See \`config.log' for more details." >&5 4824 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4825 See \`config.log' for more details." >&2;} 4826 { (exit 1); exit 1; }; } 4821 rm -f conftest.i conftest.err conftest.$ac_ext 4822 if $ac_preproc_ok; then : 4823 4824 else 4825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4827 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4828 See \`config.log' for more details" "$LINENO" 5; } 4827 4829 fi 4828 4830 … … 4834 4836 4835 4837 4838 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4839 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4840 inttypes.h stdint.h unistd.h 4841 do : 4842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4843 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4844 " 4845 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4846 cat >>confdefs.h <<_ACEOF 4847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4848 _ACEOF 4849 4850 fi 4851 4852 done 4853 4836 4854 4837 4855 for ac_header in sys/sysinfo.h 4838 do 4839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4841 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4844 echo $ECHO_N "(cached) $ECHO_C" >&6 4845 fi 4846 ac_res=`eval echo '${'$as_ac_Header'}'` 4847 { echo "$as_me:$LINENO: result: $ac_res" >&5 4848 echo "${ECHO_T}$ac_res" >&6; } 4849 else 4850 # Is the header compilable? 4851 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4853 cat >conftest.$ac_ext <<_ACEOF 4854 /* confdefs.h. */ 4855 _ACEOF 4856 cat confdefs.h >>conftest.$ac_ext 4857 cat >>conftest.$ac_ext <<_ACEOF 4858 /* end confdefs.h. */ 4859 $ac_includes_default 4860 #include <$ac_header> 4861 _ACEOF 4862 rm -f conftest.$ac_objext 4863 if { (ac_try="$ac_compile" 4864 case "(($ac_try" in 4865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4866 *) ac_try_echo=$ac_try;; 4867 esac 4868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4869 (eval "$ac_compile") 2>conftest.er1 4870 ac_status=$? 4871 grep -v '^ *+' conftest.er1 >conftest.err 4872 rm -f conftest.er1 4873 cat conftest.err >&5 4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4875 (exit $ac_status); } && { 4876 test -z "$ac_cxx_werror_flag" || 4877 test ! -s conftest.err 4878 } && test -s conftest.$ac_objext; then 4879 ac_header_compiler=yes 4880 else 4881 echo "$as_me: failed program was:" >&5 4882 sed 's/^/| /' conftest.$ac_ext >&5 4883 4884 ac_header_compiler=no 4885 fi 4886 4887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4889 echo "${ECHO_T}$ac_header_compiler" >&6; } 4890 4891 # Is the header present? 4892 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4894 cat >conftest.$ac_ext <<_ACEOF 4895 /* confdefs.h. */ 4896 _ACEOF 4897 cat confdefs.h >>conftest.$ac_ext 4898 cat >>conftest.$ac_ext <<_ACEOF 4899 /* end confdefs.h. */ 4900 #include <$ac_header> 4901 _ACEOF 4902 if { (ac_try="$ac_cpp conftest.$ac_ext" 4903 case "(($ac_try" in 4904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4905 *) ac_try_echo=$ac_try;; 4906 esac 4907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4909 ac_status=$? 4910 grep -v '^ *+' conftest.er1 >conftest.err 4911 rm -f conftest.er1 4912 cat conftest.err >&5 4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4914 (exit $ac_status); } >/dev/null && { 4915 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4916 test ! -s conftest.err 4917 }; then 4918 ac_header_preproc=yes 4919 else 4920 echo "$as_me: failed program was:" >&5 4921 sed 's/^/| /' conftest.$ac_ext >&5 4922 4923 ac_header_preproc=no 4924 fi 4925 4926 rm -f conftest.err conftest.$ac_ext 4927 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4928 echo "${ECHO_T}$ac_header_preproc" >&6; } 4929 4930 # So? What about this header? 4931 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4932 yes:no: ) 4933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4937 ac_header_preproc=yes 4938 ;; 4939 no:yes:* ) 4940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4952 ( cat <<\_ASBOX 4953 ## ----------------------------------- ## 4954 ## Report this to rappture@nanohub.org ## 4955 ## ----------------------------------- ## 4956 _ASBOX 4957 ) | sed "s/^/$as_me: WARNING: /" >&2 4958 ;; 4959 esac 4960 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4963 echo $ECHO_N "(cached) $ECHO_C" >&6 4964 else 4965 eval "$as_ac_Header=\$ac_header_preproc" 4966 fi 4967 ac_res=`eval echo '${'$as_ac_Header'}'` 4968 { echo "$as_me:$LINENO: result: $ac_res" >&5 4969 echo "${ECHO_T}$ac_res" >&6; } 4970 4971 fi 4972 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4856 do : 4857 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4858 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4973 4859 cat >>confdefs.h <<_ACEOF 4974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4975 _ACEOF 4976 4977 fi 4978 4979 done 4980 4981 4982 4983 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4984 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4985 if test "${ac_cv_lib_m_main+set}" = set; then 4986 echo $ECHO_N "(cached) $ECHO_C" >&6 4860 #define HAVE_SYS_SYSINFO_H 1 4861 _ACEOF 4862 4863 fi 4864 4865 done 4866 4867 4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4869 $as_echo_n "checking for main in -lm... " >&6; } 4870 if ${ac_cv_lib_m_main+:} false; then : 4871 $as_echo_n "(cached) " >&6 4987 4872 else 4988 4873 ac_check_lib_save_LIBS=$LIBS 4989 4874 LIBS="-lm $LIBS" 4990 cat >conftest.$ac_ext <<_ACEOF 4991 /* confdefs.h. */ 4992 _ACEOF 4993 cat confdefs.h >>conftest.$ac_ext 4994 cat >>conftest.$ac_ext <<_ACEOF 4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4995 4876 /* end confdefs.h. */ 4996 4877 … … 5004 4885 } 5005 4886 _ACEOF 5006 rm -f conftest.$ac_objext conftest$ac_exeext 5007 if { (ac_try="$ac_link" 5008 case "(($ac_try" in 5009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5010 *) ac_try_echo=$ac_try;; 5011 esac 5012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5013 (eval "$ac_link") 2>conftest.er1 5014 ac_status=$? 5015 grep -v '^ *+' conftest.er1 >conftest.err 5016 rm -f conftest.er1 5017 cat conftest.err >&5 5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); } && { 5020 test -z "$ac_cxx_werror_flag" || 5021 test ! -s conftest.err 5022 } && test -s conftest$ac_exeext && 5023 $as_test_x conftest$ac_exeext; then 4887 if ac_fn_cxx_try_link "$LINENO"; then : 5024 4888 ac_cv_lib_m_main=yes 5025 4889 else 5026 echo "$as_me: failed program was:" >&5 5027 sed 's/^/| /' conftest.$ac_ext >&5 5028 5029 ac_cv_lib_m_main=no 5030 fi 5031 5032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5033 conftest$ac_exeext conftest.$ac_ext 4890 ac_cv_lib_m_main=no 4891 fi 4892 rm -f core conftest.err conftest.$ac_objext \ 4893 conftest$ac_exeext conftest.$ac_ext 5034 4894 LIBS=$ac_check_lib_save_LIBS 5035 4895 fi 5036 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55037 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5038 if test $ac_cv_lib_m_main = yes; then4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4897 $as_echo "$ac_cv_lib_m_main" >&6; } 4898 if test "x$ac_cv_lib_m_main" = xyes; then : 5039 4899 cat >>confdefs.h <<_ACEOF 5040 4900 #define HAVE_LIBM 1 … … 5044 4904 5045 4905 else 5046 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5047 echo "$as_me: error: librappture requires libm" >&2;} 5048 { (exit 1); exit 1; }; } 5049 fi 5050 5051 5052 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5053 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5054 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5055 echo $ECHO_N "(cached) $ECHO_C" >&6 4906 as_fn_error $? "librappture requires libm" "$LINENO" 5 4907 fi 4908 4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4910 $as_echo_n "checking for main in -lstdc++... " >&6; } 4911 if ${ac_cv_lib_stdcpp_main+:} false; then : 4912 $as_echo_n "(cached) " >&6 5056 4913 else 5057 4914 ac_check_lib_save_LIBS=$LIBS 5058 4915 LIBS="-lstdc++ $LIBS" 5059 cat >conftest.$ac_ext <<_ACEOF 5060 /* confdefs.h. */ 5061 _ACEOF 5062 cat confdefs.h >>conftest.$ac_ext 5063 cat >>conftest.$ac_ext <<_ACEOF 4916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5064 4917 /* end confdefs.h. */ 5065 4918 … … 5073 4926 } 5074 4927 _ACEOF 5075 rm -f conftest.$ac_objext conftest$ac_exeext 5076 if { (ac_try="$ac_link" 5077 case "(($ac_try" in 5078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5079 *) ac_try_echo=$ac_try;; 5080 esac 5081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5082 (eval "$ac_link") 2>conftest.er1 5083 ac_status=$? 5084 grep -v '^ *+' conftest.er1 >conftest.err 5085 rm -f conftest.er1 5086 cat conftest.err >&5 5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 (exit $ac_status); } && { 5089 test -z "$ac_cxx_werror_flag" || 5090 test ! -s conftest.err 5091 } && test -s conftest$ac_exeext && 5092 $as_test_x conftest$ac_exeext; then 4928 if ac_fn_cxx_try_link "$LINENO"; then : 5093 4929 ac_cv_lib_stdcpp_main=yes 5094 4930 else 5095 echo "$as_me: failed program was:" >&5 5096 sed 's/^/| /' conftest.$ac_ext >&5 5097 5098 ac_cv_lib_stdcpp_main=no 5099 fi 5100 5101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5102 conftest$ac_exeext conftest.$ac_ext 4931 ac_cv_lib_stdcpp_main=no 4932 fi 4933 rm -f core conftest.err conftest.$ac_objext \ 4934 conftest$ac_exeext conftest.$ac_ext 5103 4935 LIBS=$ac_check_lib_save_LIBS 5104 4936 fi 5105 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55106 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5107 if test $ac_cv_lib_stdcpp_main = yes; then4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4938 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4939 if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 5108 4940 cat >>confdefs.h <<_ACEOF 5109 4941 #define HAVE_LIBSTDC__ 1 … … 5113 4945 5114 4946 else 5115 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5116 echo "$as_me: error: librappture requires libstdc++" >&2;} 5117 { (exit 1); exit 1; }; } 5118 fi 5119 4947 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 4948 fi 5120 4949 5121 4950 for ac_header in algorithm 5122 do 5123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5125 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5128 echo $ECHO_N "(cached) $ECHO_C" >&6 5129 fi 5130 ac_res=`eval echo '${'$as_ac_Header'}'` 5131 { echo "$as_me:$LINENO: result: $ac_res" >&5 5132 echo "${ECHO_T}$ac_res" >&6; } 5133 else 5134 # Is the header compilable? 5135 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5136 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5137 cat >conftest.$ac_ext <<_ACEOF 5138 /* confdefs.h. */ 5139 _ACEOF 5140 cat confdefs.h >>conftest.$ac_ext 5141 cat >>conftest.$ac_ext <<_ACEOF 5142 /* end confdefs.h. */ 5143 $ac_includes_default 5144 #include <$ac_header> 5145 _ACEOF 5146 rm -f conftest.$ac_objext 5147 if { (ac_try="$ac_compile" 5148 case "(($ac_try" in 5149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5150 *) ac_try_echo=$ac_try;; 5151 esac 5152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5153 (eval "$ac_compile") 2>conftest.er1 5154 ac_status=$? 5155 grep -v '^ *+' conftest.er1 >conftest.err 5156 rm -f conftest.er1 5157 cat conftest.err >&5 5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5159 (exit $ac_status); } && { 5160 test -z "$ac_cxx_werror_flag" || 5161 test ! -s conftest.err 5162 } && test -s conftest.$ac_objext; then 5163 ac_header_compiler=yes 5164 else 5165 echo "$as_me: failed program was:" >&5 5166 sed 's/^/| /' conftest.$ac_ext >&5 5167 5168 ac_header_compiler=no 5169 fi 5170 5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5172 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5173 echo "${ECHO_T}$ac_header_compiler" >&6; } 5174 5175 # Is the header present? 5176 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5178 cat >conftest.$ac_ext <<_ACEOF 5179 /* confdefs.h. */ 5180 _ACEOF 5181 cat confdefs.h >>conftest.$ac_ext 5182 cat >>conftest.$ac_ext <<_ACEOF 5183 /* end confdefs.h. */ 5184 #include <$ac_header> 5185 _ACEOF 5186 if { (ac_try="$ac_cpp conftest.$ac_ext" 5187 case "(($ac_try" in 5188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5189 *) ac_try_echo=$ac_try;; 5190 esac 5191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5192 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5193 ac_status=$? 5194 grep -v '^ *+' conftest.er1 >conftest.err 5195 rm -f conftest.er1 5196 cat conftest.err >&5 5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5198 (exit $ac_status); } >/dev/null && { 5199 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5200 test ! -s conftest.err 5201 }; then 5202 ac_header_preproc=yes 5203 else 5204 echo "$as_me: failed program was:" >&5 5205 sed 's/^/| /' conftest.$ac_ext >&5 5206 5207 ac_header_preproc=no 5208 fi 5209 5210 rm -f conftest.err conftest.$ac_ext 5211 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5212 echo "${ECHO_T}$ac_header_preproc" >&6; } 5213 5214 # So? What about this header? 5215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5216 yes:no: ) 5217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5221 ac_header_preproc=yes 5222 ;; 5223 no:yes:* ) 5224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5236 ( cat <<\_ASBOX 5237 ## ----------------------------------- ## 5238 ## Report this to rappture@nanohub.org ## 5239 ## ----------------------------------- ## 5240 _ASBOX 5241 ) | sed "s/^/$as_me: WARNING: /" >&2 5242 ;; 5243 esac 5244 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5247 echo $ECHO_N "(cached) $ECHO_C" >&6 5248 else 5249 eval "$as_ac_Header=\$ac_header_preproc" 5250 fi 5251 ac_res=`eval echo '${'$as_ac_Header'}'` 5252 { echo "$as_me:$LINENO: result: $ac_res" >&5 5253 echo "${ECHO_T}$ac_res" >&6; } 5254 5255 fi 5256 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4951 do : 4952 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4953 if test "x$ac_cv_header_algorithm" = xyes; then : 5257 4954 cat >>confdefs.h <<_ACEOF 5258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5259 _ACEOF 5260 5261 else 5262 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5263 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5264 fi 5265 5266 done 5267 4955 #define HAVE_ALGORITHM 1 4956 _ACEOF 4957 4958 else 4959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4960 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4961 fi 4962 4963 done 5268 4964 5269 4965 for ac_header in cctype 5270 do 5271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5273 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5276 echo $ECHO_N "(cached) $ECHO_C" >&6 5277 fi 5278 ac_res=`eval echo '${'$as_ac_Header'}'` 5279 { echo "$as_me:$LINENO: result: $ac_res" >&5 5280 echo "${ECHO_T}$ac_res" >&6; } 5281 else 5282 # Is the header compilable? 5283 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5285 cat >conftest.$ac_ext <<_ACEOF 5286 /* confdefs.h. */ 5287 _ACEOF 5288 cat confdefs.h >>conftest.$ac_ext 5289 cat >>conftest.$ac_ext <<_ACEOF 5290 /* end confdefs.h. */ 5291 $ac_includes_default 5292 #include <$ac_header> 5293 _ACEOF 5294 rm -f conftest.$ac_objext 5295 if { (ac_try="$ac_compile" 5296 case "(($ac_try" in 5297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5298 *) ac_try_echo=$ac_try;; 5299 esac 5300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5301 (eval "$ac_compile") 2>conftest.er1 5302 ac_status=$? 5303 grep -v '^ *+' conftest.er1 >conftest.err 5304 rm -f conftest.er1 5305 cat conftest.err >&5 5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5307 (exit $ac_status); } && { 5308 test -z "$ac_cxx_werror_flag" || 5309 test ! -s conftest.err 5310 } && test -s conftest.$ac_objext; then 5311 ac_header_compiler=yes 5312 else 5313 echo "$as_me: failed program was:" >&5 5314 sed 's/^/| /' conftest.$ac_ext >&5 5315 5316 ac_header_compiler=no 5317 fi 5318 5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5320 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5321 echo "${ECHO_T}$ac_header_compiler" >&6; } 5322 5323 # Is the header present? 5324 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5326 cat >conftest.$ac_ext <<_ACEOF 5327 /* confdefs.h. */ 5328 _ACEOF 5329 cat confdefs.h >>conftest.$ac_ext 5330 cat >>conftest.$ac_ext <<_ACEOF 5331 /* end confdefs.h. */ 5332 #include <$ac_header> 5333 _ACEOF 5334 if { (ac_try="$ac_cpp conftest.$ac_ext" 5335 case "(($ac_try" in 5336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5337 *) ac_try_echo=$ac_try;; 5338 esac 5339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5341 ac_status=$? 5342 grep -v '^ *+' conftest.er1 >conftest.err 5343 rm -f conftest.er1 5344 cat conftest.err >&5 5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5346 (exit $ac_status); } >/dev/null && { 5347 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5348 test ! -s conftest.err 5349 }; then 5350 ac_header_preproc=yes 5351 else 5352 echo "$as_me: failed program was:" >&5 5353 sed 's/^/| /' conftest.$ac_ext >&5 5354 5355 ac_header_preproc=no 5356 fi 5357 5358 rm -f conftest.err conftest.$ac_ext 5359 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5360 echo "${ECHO_T}$ac_header_preproc" >&6; } 5361 5362 # So? What about this header? 5363 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5364 yes:no: ) 5365 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5366 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5368 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5369 ac_header_preproc=yes 5370 ;; 5371 no:yes:* ) 5372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5376 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5377 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5378 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5379 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5382 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5383 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5384 ( cat <<\_ASBOX 5385 ## ----------------------------------- ## 5386 ## Report this to rappture@nanohub.org ## 5387 ## ----------------------------------- ## 5388 _ASBOX 5389 ) | sed "s/^/$as_me: WARNING: /" >&2 5390 ;; 5391 esac 5392 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5395 echo $ECHO_N "(cached) $ECHO_C" >&6 5396 else 5397 eval "$as_ac_Header=\$ac_header_preproc" 5398 fi 5399 ac_res=`eval echo '${'$as_ac_Header'}'` 5400 { echo "$as_me:$LINENO: result: $ac_res" >&5 5401 echo "${ECHO_T}$ac_res" >&6; } 5402 5403 fi 5404 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4966 do : 4967 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4968 if test "x$ac_cv_header_cctype" = xyes; then : 5405 4969 cat >>confdefs.h <<_ACEOF 5406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5407 _ACEOF 5408 5409 else 5410 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5411 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5412 fi 5413 5414 done 5415 4970 #define HAVE_CCTYPE 1 4971 _ACEOF 4972 4973 else 4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4975 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4976 fi 4977 4978 done 5416 4979 5417 4980 for ac_header in cfloat 5418 do 5419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5421 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5424 echo $ECHO_N "(cached) $ECHO_C" >&6 5425 fi 5426 ac_res=`eval echo '${'$as_ac_Header'}'` 5427 { echo "$as_me:$LINENO: result: $ac_res" >&5 5428 echo "${ECHO_T}$ac_res" >&6; } 5429 else 5430 # Is the header compilable? 5431 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5433 cat >conftest.$ac_ext <<_ACEOF 5434 /* confdefs.h. */ 5435 _ACEOF 5436 cat confdefs.h >>conftest.$ac_ext 5437 cat >>conftest.$ac_ext <<_ACEOF 5438 /* end confdefs.h. */ 5439 $ac_includes_default 5440 #include <$ac_header> 5441 _ACEOF 5442 rm -f conftest.$ac_objext 5443 if { (ac_try="$ac_compile" 5444 case "(($ac_try" in 5445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5446 *) ac_try_echo=$ac_try;; 5447 esac 5448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5449 (eval "$ac_compile") 2>conftest.er1 5450 ac_status=$? 5451 grep -v '^ *+' conftest.er1 >conftest.err 5452 rm -f conftest.er1 5453 cat conftest.err >&5 5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5455 (exit $ac_status); } && { 5456 test -z "$ac_cxx_werror_flag" || 5457 test ! -s conftest.err 5458 } && test -s conftest.$ac_objext; then 5459 ac_header_compiler=yes 5460 else 5461 echo "$as_me: failed program was:" >&5 5462 sed 's/^/| /' conftest.$ac_ext >&5 5463 5464 ac_header_compiler=no 5465 fi 5466 5467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5468 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5469 echo "${ECHO_T}$ac_header_compiler" >&6; } 5470 5471 # Is the header present? 5472 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5473 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5474 cat >conftest.$ac_ext <<_ACEOF 5475 /* confdefs.h. */ 5476 _ACEOF 5477 cat confdefs.h >>conftest.$ac_ext 5478 cat >>conftest.$ac_ext <<_ACEOF 5479 /* end confdefs.h. */ 5480 #include <$ac_header> 5481 _ACEOF 5482 if { (ac_try="$ac_cpp conftest.$ac_ext" 5483 case "(($ac_try" in 5484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5485 *) ac_try_echo=$ac_try;; 5486 esac 5487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5489 ac_status=$? 5490 grep -v '^ *+' conftest.er1 >conftest.err 5491 rm -f conftest.er1 5492 cat conftest.err >&5 5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5494 (exit $ac_status); } >/dev/null && { 5495 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5496 test ! -s conftest.err 5497 }; then 5498 ac_header_preproc=yes 5499 else 5500 echo "$as_me: failed program was:" >&5 5501 sed 's/^/| /' conftest.$ac_ext >&5 5502 5503 ac_header_preproc=no 5504 fi 5505 5506 rm -f conftest.err conftest.$ac_ext 5507 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5508 echo "${ECHO_T}$ac_header_preproc" >&6; } 5509 5510 # So? What about this header? 5511 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5512 yes:no: ) 5513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5517 ac_header_preproc=yes 5518 ;; 5519 no:yes:* ) 5520 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5522 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5523 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5524 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5526 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5527 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5530 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5532 ( cat <<\_ASBOX 5533 ## ----------------------------------- ## 5534 ## Report this to rappture@nanohub.org ## 5535 ## ----------------------------------- ## 5536 _ASBOX 5537 ) | sed "s/^/$as_me: WARNING: /" >&2 5538 ;; 5539 esac 5540 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5543 echo $ECHO_N "(cached) $ECHO_C" >&6 5544 else 5545 eval "$as_ac_Header=\$ac_header_preproc" 5546 fi 5547 ac_res=`eval echo '${'$as_ac_Header'}'` 5548 { echo "$as_me:$LINENO: result: $ac_res" >&5 5549 echo "${ECHO_T}$ac_res" >&6; } 5550 5551 fi 5552 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4981 do : 4982 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4983 if test "x$ac_cv_header_cfloat" = xyes; then : 5553 4984 cat >>confdefs.h <<_ACEOF 5554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5555 _ACEOF 5556 5557 else 5558 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5559 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5560 fi 5561 5562 done 5563 4985 #define HAVE_CFLOAT 1 4986 _ACEOF 4987 4988 else 4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4990 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 4991 fi 4992 4993 done 5564 4994 5565 4995 for ac_header in cmath 5566 do 5567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5568 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5569 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5572 echo $ECHO_N "(cached) $ECHO_C" >&6 5573 fi 5574 ac_res=`eval echo '${'$as_ac_Header'}'` 5575 { echo "$as_me:$LINENO: result: $ac_res" >&5 5576 echo "${ECHO_T}$ac_res" >&6; } 5577 else 5578 # Is the header compilable? 5579 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5580 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5581 cat >conftest.$ac_ext <<_ACEOF 5582 /* confdefs.h. */ 5583 _ACEOF 5584 cat confdefs.h >>conftest.$ac_ext 5585 cat >>conftest.$ac_ext <<_ACEOF 5586 /* end confdefs.h. */ 5587 $ac_includes_default 5588 #include <$ac_header> 5589 _ACEOF 5590 rm -f conftest.$ac_objext 5591 if { (ac_try="$ac_compile" 5592 case "(($ac_try" in 5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5594 *) ac_try_echo=$ac_try;; 5595 esac 5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5597 (eval "$ac_compile") 2>conftest.er1 5598 ac_status=$? 5599 grep -v '^ *+' conftest.er1 >conftest.err 5600 rm -f conftest.er1 5601 cat conftest.err >&5 5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5603 (exit $ac_status); } && { 5604 test -z "$ac_cxx_werror_flag" || 5605 test ! -s conftest.err 5606 } && test -s conftest.$ac_objext; then 5607 ac_header_compiler=yes 5608 else 5609 echo "$as_me: failed program was:" >&5 5610 sed 's/^/| /' conftest.$ac_ext >&5 5611 5612 ac_header_compiler=no 5613 fi 5614 5615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5616 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5617 echo "${ECHO_T}$ac_header_compiler" >&6; } 5618 5619 # Is the header present? 5620 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5622 cat >conftest.$ac_ext <<_ACEOF 5623 /* confdefs.h. */ 5624 _ACEOF 5625 cat confdefs.h >>conftest.$ac_ext 5626 cat >>conftest.$ac_ext <<_ACEOF 5627 /* end confdefs.h. */ 5628 #include <$ac_header> 5629 _ACEOF 5630 if { (ac_try="$ac_cpp conftest.$ac_ext" 5631 case "(($ac_try" in 5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5633 *) ac_try_echo=$ac_try;; 5634 esac 5635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5637 ac_status=$? 5638 grep -v '^ *+' conftest.er1 >conftest.err 5639 rm -f conftest.er1 5640 cat conftest.err >&5 5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5642 (exit $ac_status); } >/dev/null && { 5643 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5644 test ! -s conftest.err 5645 }; then 5646 ac_header_preproc=yes 5647 else 5648 echo "$as_me: failed program was:" >&5 5649 sed 's/^/| /' conftest.$ac_ext >&5 5650 5651 ac_header_preproc=no 5652 fi 5653 5654 rm -f conftest.err conftest.$ac_ext 5655 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5656 echo "${ECHO_T}$ac_header_preproc" >&6; } 5657 5658 # So? What about this header? 5659 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5660 yes:no: ) 5661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5665 ac_header_preproc=yes 5666 ;; 5667 no:yes:* ) 5668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5680 ( cat <<\_ASBOX 5681 ## ----------------------------------- ## 5682 ## Report this to rappture@nanohub.org ## 5683 ## ----------------------------------- ## 5684 _ASBOX 5685 ) | sed "s/^/$as_me: WARNING: /" >&2 5686 ;; 5687 esac 5688 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5691 echo $ECHO_N "(cached) $ECHO_C" >&6 5692 else 5693 eval "$as_ac_Header=\$ac_header_preproc" 5694 fi 5695 ac_res=`eval echo '${'$as_ac_Header'}'` 5696 { echo "$as_me:$LINENO: result: $ac_res" >&5 5697 echo "${ECHO_T}$ac_res" >&6; } 5698 5699 fi 5700 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4996 do : 4997 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 4998 if test "x$ac_cv_header_cmath" = xyes; then : 5701 4999 cat >>confdefs.h <<_ACEOF 5702 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5703 _ACEOF 5704 5705 else 5706 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5707 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5708 fi 5709 5710 done 5711 5000 #define HAVE_CMATH 1 5001 _ACEOF 5002 5003 else 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5005 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5006 fi 5007 5008 done 5712 5009 5713 5010 for ac_header in cstdio 5714 do 5715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5716 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5717 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5719 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5720 echo $ECHO_N "(cached) $ECHO_C" >&6 5721 fi 5722 ac_res=`eval echo '${'$as_ac_Header'}'` 5723 { echo "$as_me:$LINENO: result: $ac_res" >&5 5724 echo "${ECHO_T}$ac_res" >&6; } 5725 else 5726 # Is the header compilable? 5727 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5729 cat >conftest.$ac_ext <<_ACEOF 5730 /* confdefs.h. */ 5731 _ACEOF 5732 cat confdefs.h >>conftest.$ac_ext 5733 cat >>conftest.$ac_ext <<_ACEOF 5734 /* end confdefs.h. */ 5735 $ac_includes_default 5736 #include <$ac_header> 5737 _ACEOF 5738 rm -f conftest.$ac_objext 5739 if { (ac_try="$ac_compile" 5740 case "(($ac_try" in 5741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5742 *) ac_try_echo=$ac_try;; 5743 esac 5744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5745 (eval "$ac_compile") 2>conftest.er1 5746 ac_status=$? 5747 grep -v '^ *+' conftest.er1 >conftest.err 5748 rm -f conftest.er1 5749 cat conftest.err >&5 5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5751 (exit $ac_status); } && { 5752 test -z "$ac_cxx_werror_flag" || 5753 test ! -s conftest.err 5754 } && test -s conftest.$ac_objext; then 5755 ac_header_compiler=yes 5756 else 5757 echo "$as_me: failed program was:" >&5 5758 sed 's/^/| /' conftest.$ac_ext >&5 5759 5760 ac_header_compiler=no 5761 fi 5762 5763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5764 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5765 echo "${ECHO_T}$ac_header_compiler" >&6; } 5766 5767 # Is the header present? 5768 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5770 cat >conftest.$ac_ext <<_ACEOF 5771 /* confdefs.h. */ 5772 _ACEOF 5773 cat confdefs.h >>conftest.$ac_ext 5774 cat >>conftest.$ac_ext <<_ACEOF 5775 /* end confdefs.h. */ 5776 #include <$ac_header> 5777 _ACEOF 5778 if { (ac_try="$ac_cpp conftest.$ac_ext" 5779 case "(($ac_try" in 5780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5781 *) ac_try_echo=$ac_try;; 5782 esac 5783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5784 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5785 ac_status=$? 5786 grep -v '^ *+' conftest.er1 >conftest.err 5787 rm -f conftest.er1 5788 cat conftest.err >&5 5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5790 (exit $ac_status); } >/dev/null && { 5791 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5792 test ! -s conftest.err 5793 }; then 5794 ac_header_preproc=yes 5795 else 5796 echo "$as_me: failed program was:" >&5 5797 sed 's/^/| /' conftest.$ac_ext >&5 5798 5799 ac_header_preproc=no 5800 fi 5801 5802 rm -f conftest.err conftest.$ac_ext 5803 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5804 echo "${ECHO_T}$ac_header_preproc" >&6; } 5805 5806 # So? What about this header? 5807 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5808 yes:no: ) 5809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5812 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5813 ac_header_preproc=yes 5814 ;; 5815 no:yes:* ) 5816 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5817 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5818 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5819 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5820 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5821 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5822 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5823 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5826 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5827 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5828 ( cat <<\_ASBOX 5829 ## ----------------------------------- ## 5830 ## Report this to rappture@nanohub.org ## 5831 ## ----------------------------------- ## 5832 _ASBOX 5833 ) | sed "s/^/$as_me: WARNING: /" >&2 5834 ;; 5835 esac 5836 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5839 echo $ECHO_N "(cached) $ECHO_C" >&6 5840 else 5841 eval "$as_ac_Header=\$ac_header_preproc" 5842 fi 5843 ac_res=`eval echo '${'$as_ac_Header'}'` 5844 { echo "$as_me:$LINENO: result: $ac_res" >&5 5845 echo "${ECHO_T}$ac_res" >&6; } 5846 5847 fi 5848 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5011 do : 5012 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 5013 if test "x$ac_cv_header_cstdio" = xyes; then : 5849 5014 cat >>confdefs.h <<_ACEOF 5850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5851 _ACEOF 5852 5853 else 5854 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5855 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5856 fi 5857 5858 done 5859 5015 #define HAVE_CSTDIO 1 5016 _ACEOF 5017 5018 else 5019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5020 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5021 fi 5022 5023 done 5860 5024 5861 5025 for ac_header in cstdlib 5862 do 5863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5865 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5868 echo $ECHO_N "(cached) $ECHO_C" >&6 5869 fi 5870 ac_res=`eval echo '${'$as_ac_Header'}'` 5871 { echo "$as_me:$LINENO: result: $ac_res" >&5 5872 echo "${ECHO_T}$ac_res" >&6; } 5873 else 5874 # Is the header compilable? 5875 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5877 cat >conftest.$ac_ext <<_ACEOF 5878 /* confdefs.h. */ 5879 _ACEOF 5880 cat confdefs.h >>conftest.$ac_ext 5881 cat >>conftest.$ac_ext <<_ACEOF 5882 /* end confdefs.h. */ 5883 $ac_includes_default 5884 #include <$ac_header> 5885 _ACEOF 5886 rm -f conftest.$ac_objext 5887 if { (ac_try="$ac_compile" 5888 case "(($ac_try" in 5889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5890 *) ac_try_echo=$ac_try;; 5891 esac 5892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5893 (eval "$ac_compile") 2>conftest.er1 5894 ac_status=$? 5895 grep -v '^ *+' conftest.er1 >conftest.err 5896 rm -f conftest.er1 5897 cat conftest.err >&5 5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5899 (exit $ac_status); } && { 5900 test -z "$ac_cxx_werror_flag" || 5901 test ! -s conftest.err 5902 } && test -s conftest.$ac_objext; then 5903 ac_header_compiler=yes 5904 else 5905 echo "$as_me: failed program was:" >&5 5906 sed 's/^/| /' conftest.$ac_ext >&5 5907 5908 ac_header_compiler=no 5909 fi 5910 5911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5912 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5913 echo "${ECHO_T}$ac_header_compiler" >&6; } 5914 5915 # Is the header present? 5916 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5917 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5918 cat >conftest.$ac_ext <<_ACEOF 5919 /* confdefs.h. */ 5920 _ACEOF 5921 cat confdefs.h >>conftest.$ac_ext 5922 cat >>conftest.$ac_ext <<_ACEOF 5923 /* end confdefs.h. */ 5924 #include <$ac_header> 5925 _ACEOF 5926 if { (ac_try="$ac_cpp conftest.$ac_ext" 5927 case "(($ac_try" in 5928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5929 *) ac_try_echo=$ac_try;; 5930 esac 5931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5933 ac_status=$? 5934 grep -v '^ *+' conftest.er1 >conftest.err 5935 rm -f conftest.er1 5936 cat conftest.err >&5 5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5938 (exit $ac_status); } >/dev/null && { 5939 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5940 test ! -s conftest.err 5941 }; then 5942 ac_header_preproc=yes 5943 else 5944 echo "$as_me: failed program was:" >&5 5945 sed 's/^/| /' conftest.$ac_ext >&5 5946 5947 ac_header_preproc=no 5948 fi 5949 5950 rm -f conftest.err conftest.$ac_ext 5951 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5952 echo "${ECHO_T}$ac_header_preproc" >&6; } 5953 5954 # So? What about this header? 5955 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5956 yes:no: ) 5957 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5958 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5960 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5961 ac_header_preproc=yes 5962 ;; 5963 no:yes:* ) 5964 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5965 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5966 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5967 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5968 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5969 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5970 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5971 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5973 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5974 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5975 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5976 ( cat <<\_ASBOX 5977 ## ----------------------------------- ## 5978 ## Report this to rappture@nanohub.org ## 5979 ## ----------------------------------- ## 5980 _ASBOX 5981 ) | sed "s/^/$as_me: WARNING: /" >&2 5982 ;; 5983 esac 5984 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5986 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5987 echo $ECHO_N "(cached) $ECHO_C" >&6 5988 else 5989 eval "$as_ac_Header=\$ac_header_preproc" 5990 fi 5991 ac_res=`eval echo '${'$as_ac_Header'}'` 5992 { echo "$as_me:$LINENO: result: $ac_res" >&5 5993 echo "${ECHO_T}$ac_res" >&6; } 5994 5995 fi 5996 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5026 do : 5027 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 5028 if test "x$ac_cv_header_cstdlib" = xyes; then : 5997 5029 cat >>confdefs.h <<_ACEOF 5998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5999 _ACEOF 6000 6001 else 6002 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6003 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6004 fi 6005 6006 done 6007 5030 #define HAVE_CSTDLIB 1 5031 _ACEOF 5032 5033 else 5034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5035 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5036 fi 5037 5038 done 6008 5039 6009 5040 for ac_header in cstring 6010 do 6011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6013 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6016 echo $ECHO_N "(cached) $ECHO_C" >&6 6017 fi 6018 ac_res=`eval echo '${'$as_ac_Header'}'` 6019 { echo "$as_me:$LINENO: result: $ac_res" >&5 6020 echo "${ECHO_T}$ac_res" >&6; } 6021 else 6022 # Is the header compilable? 6023 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6024 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6025 cat >conftest.$ac_ext <<_ACEOF 6026 /* confdefs.h. */ 6027 _ACEOF 6028 cat confdefs.h >>conftest.$ac_ext 6029 cat >>conftest.$ac_ext <<_ACEOF 6030 /* end confdefs.h. */ 6031 $ac_includes_default 6032 #include <$ac_header> 6033 _ACEOF 6034 rm -f conftest.$ac_objext 6035 if { (ac_try="$ac_compile" 6036 case "(($ac_try" in 6037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6038 *) ac_try_echo=$ac_try;; 6039 esac 6040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6041 (eval "$ac_compile") 2>conftest.er1 6042 ac_status=$? 6043 grep -v '^ *+' conftest.er1 >conftest.err 6044 rm -f conftest.er1 6045 cat conftest.err >&5 6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6047 (exit $ac_status); } && { 6048 test -z "$ac_cxx_werror_flag" || 6049 test ! -s conftest.err 6050 } && test -s conftest.$ac_objext; then 6051 ac_header_compiler=yes 6052 else 6053 echo "$as_me: failed program was:" >&5 6054 sed 's/^/| /' conftest.$ac_ext >&5 6055 6056 ac_header_compiler=no 6057 fi 6058 6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6060 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6061 echo "${ECHO_T}$ac_header_compiler" >&6; } 6062 6063 # Is the header present? 6064 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6066 cat >conftest.$ac_ext <<_ACEOF 6067 /* confdefs.h. */ 6068 _ACEOF 6069 cat confdefs.h >>conftest.$ac_ext 6070 cat >>conftest.$ac_ext <<_ACEOF 6071 /* end confdefs.h. */ 6072 #include <$ac_header> 6073 _ACEOF 6074 if { (ac_try="$ac_cpp conftest.$ac_ext" 6075 case "(($ac_try" in 6076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6077 *) ac_try_echo=$ac_try;; 6078 esac 6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6081 ac_status=$? 6082 grep -v '^ *+' conftest.er1 >conftest.err 6083 rm -f conftest.er1 6084 cat conftest.err >&5 6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6086 (exit $ac_status); } >/dev/null && { 6087 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6088 test ! -s conftest.err 6089 }; then 6090 ac_header_preproc=yes 6091 else 6092 echo "$as_me: failed program was:" >&5 6093 sed 's/^/| /' conftest.$ac_ext >&5 6094 6095 ac_header_preproc=no 6096 fi 6097 6098 rm -f conftest.err conftest.$ac_ext 6099 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6100 echo "${ECHO_T}$ac_header_preproc" >&6; } 6101 6102 # So? What about this header? 6103 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6104 yes:no: ) 6105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6109 ac_header_preproc=yes 6110 ;; 6111 no:yes:* ) 6112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6124 ( cat <<\_ASBOX 6125 ## ----------------------------------- ## 6126 ## Report this to rappture@nanohub.org ## 6127 ## ----------------------------------- ## 6128 _ASBOX 6129 ) | sed "s/^/$as_me: WARNING: /" >&2 6130 ;; 6131 esac 6132 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6135 echo $ECHO_N "(cached) $ECHO_C" >&6 6136 else 6137 eval "$as_ac_Header=\$ac_header_preproc" 6138 fi 6139 ac_res=`eval echo '${'$as_ac_Header'}'` 6140 { echo "$as_me:$LINENO: result: $ac_res" >&5 6141 echo "${ECHO_T}$ac_res" >&6; } 6142 6143 fi 6144 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5041 do : 5042 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5043 if test "x$ac_cv_header_cstring" = xyes; then : 6145 5044 cat >>confdefs.h <<_ACEOF 6146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6147 _ACEOF 6148 6149 else 6150 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6151 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6152 fi 6153 6154 done 6155 5045 #define HAVE_CSTRING 1 5046 _ACEOF 5047 5048 else 5049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5050 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5051 fi 5052 5053 done 6156 5054 6157 5055 for ac_header in fstream 6158 do 6159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6161 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6164 echo $ECHO_N "(cached) $ECHO_C" >&6 6165 fi 6166 ac_res=`eval echo '${'$as_ac_Header'}'` 6167 { echo "$as_me:$LINENO: result: $ac_res" >&5 6168 echo "${ECHO_T}$ac_res" >&6; } 6169 else 6170 # Is the header compilable? 6171 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6173 cat >conftest.$ac_ext <<_ACEOF 6174 /* confdefs.h. */ 6175 _ACEOF 6176 cat confdefs.h >>conftest.$ac_ext 6177 cat >>conftest.$ac_ext <<_ACEOF 6178 /* end confdefs.h. */ 6179 $ac_includes_default 6180 #include <$ac_header> 6181 _ACEOF 6182 rm -f conftest.$ac_objext 6183 if { (ac_try="$ac_compile" 6184 case "(($ac_try" in 6185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6186 *) ac_try_echo=$ac_try;; 6187 esac 6188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6189 (eval "$ac_compile") 2>conftest.er1 6190 ac_status=$? 6191 grep -v '^ *+' conftest.er1 >conftest.err 6192 rm -f conftest.er1 6193 cat conftest.err >&5 6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6195 (exit $ac_status); } && { 6196 test -z "$ac_cxx_werror_flag" || 6197 test ! -s conftest.err 6198 } && test -s conftest.$ac_objext; then 6199 ac_header_compiler=yes 6200 else 6201 echo "$as_me: failed program was:" >&5 6202 sed 's/^/| /' conftest.$ac_ext >&5 6203 6204 ac_header_compiler=no 6205 fi 6206 6207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6208 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6209 echo "${ECHO_T}$ac_header_compiler" >&6; } 6210 6211 # Is the header present? 6212 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6214 cat >conftest.$ac_ext <<_ACEOF 6215 /* confdefs.h. */ 6216 _ACEOF 6217 cat confdefs.h >>conftest.$ac_ext 6218 cat >>conftest.$ac_ext <<_ACEOF 6219 /* end confdefs.h. */ 6220 #include <$ac_header> 6221 _ACEOF 6222 if { (ac_try="$ac_cpp conftest.$ac_ext" 6223 case "(($ac_try" in 6224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6225 *) ac_try_echo=$ac_try;; 6226 esac 6227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6229 ac_status=$? 6230 grep -v '^ *+' conftest.er1 >conftest.err 6231 rm -f conftest.er1 6232 cat conftest.err >&5 6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6234 (exit $ac_status); } >/dev/null && { 6235 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6236 test ! -s conftest.err 6237 }; then 6238 ac_header_preproc=yes 6239 else 6240 echo "$as_me: failed program was:" >&5 6241 sed 's/^/| /' conftest.$ac_ext >&5 6242 6243 ac_header_preproc=no 6244 fi 6245 6246 rm -f conftest.err conftest.$ac_ext 6247 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6248 echo "${ECHO_T}$ac_header_preproc" >&6; } 6249 6250 # So? What about this header? 6251 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6252 yes:no: ) 6253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6257 ac_header_preproc=yes 6258 ;; 6259 no:yes:* ) 6260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6272 ( cat <<\_ASBOX 6273 ## ----------------------------------- ## 6274 ## Report this to rappture@nanohub.org ## 6275 ## ----------------------------------- ## 6276 _ASBOX 6277 ) | sed "s/^/$as_me: WARNING: /" >&2 6278 ;; 6279 esac 6280 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6283 echo $ECHO_N "(cached) $ECHO_C" >&6 6284 else 6285 eval "$as_ac_Header=\$ac_header_preproc" 6286 fi 6287 ac_res=`eval echo '${'$as_ac_Header'}'` 6288 { echo "$as_me:$LINENO: result: $ac_res" >&5 6289 echo "${ECHO_T}$ac_res" >&6; } 6290 6291 fi 6292 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5056 do : 5057 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5058 if test "x$ac_cv_header_fstream" = xyes; then : 6293 5059 cat >>confdefs.h <<_ACEOF 6294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6295 _ACEOF 6296 6297 else 6298 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6299 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6300 fi 6301 6302 done 6303 5060 #define HAVE_FSTREAM 1 5061 _ACEOF 5062 5063 else 5064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5065 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5066 fi 5067 5068 done 6304 5069 6305 5070 for ac_header in list 6306 do 6307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6309 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6312 echo $ECHO_N "(cached) $ECHO_C" >&6 6313 fi 6314 ac_res=`eval echo '${'$as_ac_Header'}'` 6315 { echo "$as_me:$LINENO: result: $ac_res" >&5 6316 echo "${ECHO_T}$ac_res" >&6; } 6317 else 6318 # Is the header compilable? 6319 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6321 cat >conftest.$ac_ext <<_ACEOF 6322 /* confdefs.h. */ 6323 _ACEOF 6324 cat confdefs.h >>conftest.$ac_ext 6325 cat >>conftest.$ac_ext <<_ACEOF 6326 /* end confdefs.h. */ 6327 $ac_includes_default 6328 #include <$ac_header> 6329 _ACEOF 6330 rm -f conftest.$ac_objext 6331 if { (ac_try="$ac_compile" 6332 case "(($ac_try" in 6333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6334 *) ac_try_echo=$ac_try;; 6335 esac 6336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6337 (eval "$ac_compile") 2>conftest.er1 6338 ac_status=$? 6339 grep -v '^ *+' conftest.er1 >conftest.err 6340 rm -f conftest.er1 6341 cat conftest.err >&5 6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6343 (exit $ac_status); } && { 6344 test -z "$ac_cxx_werror_flag" || 6345 test ! -s conftest.err 6346 } && test -s conftest.$ac_objext; then 6347 ac_header_compiler=yes 6348 else 6349 echo "$as_me: failed program was:" >&5 6350 sed 's/^/| /' conftest.$ac_ext >&5 6351 6352 ac_header_compiler=no 6353 fi 6354 6355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6356 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6357 echo "${ECHO_T}$ac_header_compiler" >&6; } 6358 6359 # Is the header present? 6360 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6361 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6362 cat >conftest.$ac_ext <<_ACEOF 6363 /* confdefs.h. */ 6364 _ACEOF 6365 cat confdefs.h >>conftest.$ac_ext 6366 cat >>conftest.$ac_ext <<_ACEOF 6367 /* end confdefs.h. */ 6368 #include <$ac_header> 6369 _ACEOF 6370 if { (ac_try="$ac_cpp conftest.$ac_ext" 6371 case "(($ac_try" in 6372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6373 *) ac_try_echo=$ac_try;; 6374 esac 6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6376 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6377 ac_status=$? 6378 grep -v '^ *+' conftest.er1 >conftest.err 6379 rm -f conftest.er1 6380 cat conftest.err >&5 6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6382 (exit $ac_status); } >/dev/null && { 6383 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6384 test ! -s conftest.err 6385 }; then 6386 ac_header_preproc=yes 6387 else 6388 echo "$as_me: failed program was:" >&5 6389 sed 's/^/| /' conftest.$ac_ext >&5 6390 6391 ac_header_preproc=no 6392 fi 6393 6394 rm -f conftest.err conftest.$ac_ext 6395 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6396 echo "${ECHO_T}$ac_header_preproc" >&6; } 6397 6398 # So? What about this header? 6399 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6400 yes:no: ) 6401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6405 ac_header_preproc=yes 6406 ;; 6407 no:yes:* ) 6408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6420 ( cat <<\_ASBOX 6421 ## ----------------------------------- ## 6422 ## Report this to rappture@nanohub.org ## 6423 ## ----------------------------------- ## 6424 _ASBOX 6425 ) | sed "s/^/$as_me: WARNING: /" >&2 6426 ;; 6427 esac 6428 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6431 echo $ECHO_N "(cached) $ECHO_C" >&6 6432 else 6433 eval "$as_ac_Header=\$ac_header_preproc" 6434 fi 6435 ac_res=`eval echo '${'$as_ac_Header'}'` 6436 { echo "$as_me:$LINENO: result: $ac_res" >&5 6437 echo "${ECHO_T}$ac_res" >&6; } 6438 6439 fi 6440 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5071 do : 5072 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5073 if test "x$ac_cv_header_list" = xyes; then : 6441 5074 cat >>confdefs.h <<_ACEOF 6442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6443 _ACEOF 6444 6445 else 6446 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6447 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6448 fi 6449 6450 done 6451 5075 #define HAVE_LIST 1 5076 _ACEOF 5077 5078 else 5079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5080 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5081 fi 5082 5083 done 6452 5084 6453 5085 for ac_header in iostream 6454 do 6455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6457 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6460 echo $ECHO_N "(cached) $ECHO_C" >&6 6461 fi 6462 ac_res=`eval echo '${'$as_ac_Header'}'` 6463 { echo "$as_me:$LINENO: result: $ac_res" >&5 6464 echo "${ECHO_T}$ac_res" >&6; } 6465 else 6466 # Is the header compilable? 6467 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6469 cat >conftest.$ac_ext <<_ACEOF 6470 /* confdefs.h. */ 6471 _ACEOF 6472 cat confdefs.h >>conftest.$ac_ext 6473 cat >>conftest.$ac_ext <<_ACEOF 6474 /* end confdefs.h. */ 6475 $ac_includes_default 6476 #include <$ac_header> 6477 _ACEOF 6478 rm -f conftest.$ac_objext 6479 if { (ac_try="$ac_compile" 6480 case "(($ac_try" in 6481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6482 *) ac_try_echo=$ac_try;; 6483 esac 6484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6485 (eval "$ac_compile") 2>conftest.er1 6486 ac_status=$? 6487 grep -v '^ *+' conftest.er1 >conftest.err 6488 rm -f conftest.er1 6489 cat conftest.err >&5 6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6491 (exit $ac_status); } && { 6492 test -z "$ac_cxx_werror_flag" || 6493 test ! -s conftest.err 6494 } && test -s conftest.$ac_objext; then 6495 ac_header_compiler=yes 6496 else 6497 echo "$as_me: failed program was:" >&5 6498 sed 's/^/| /' conftest.$ac_ext >&5 6499 6500 ac_header_compiler=no 6501 fi 6502 6503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6504 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6505 echo "${ECHO_T}$ac_header_compiler" >&6; } 6506 6507 # Is the header present? 6508 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6510 cat >conftest.$ac_ext <<_ACEOF 6511 /* confdefs.h. */ 6512 _ACEOF 6513 cat confdefs.h >>conftest.$ac_ext 6514 cat >>conftest.$ac_ext <<_ACEOF 6515 /* end confdefs.h. */ 6516 #include <$ac_header> 6517 _ACEOF 6518 if { (ac_try="$ac_cpp conftest.$ac_ext" 6519 case "(($ac_try" in 6520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6521 *) ac_try_echo=$ac_try;; 6522 esac 6523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6525 ac_status=$? 6526 grep -v '^ *+' conftest.er1 >conftest.err 6527 rm -f conftest.er1 6528 cat conftest.err >&5 6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6530 (exit $ac_status); } >/dev/null && { 6531 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6532 test ! -s conftest.err 6533 }; then 6534 ac_header_preproc=yes 6535 else 6536 echo "$as_me: failed program was:" >&5 6537 sed 's/^/| /' conftest.$ac_ext >&5 6538 6539 ac_header_preproc=no 6540 fi 6541 6542 rm -f conftest.err conftest.$ac_ext 6543 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6544 echo "${ECHO_T}$ac_header_preproc" >&6; } 6545 6546 # So? What about this header? 6547 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6548 yes:no: ) 6549 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6550 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6552 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6553 ac_header_preproc=yes 6554 ;; 6555 no:yes:* ) 6556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6560 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6561 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6562 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6563 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6566 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6567 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6568 ( cat <<\_ASBOX 6569 ## ----------------------------------- ## 6570 ## Report this to rappture@nanohub.org ## 6571 ## ----------------------------------- ## 6572 _ASBOX 6573 ) | sed "s/^/$as_me: WARNING: /" >&2 6574 ;; 6575 esac 6576 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6579 echo $ECHO_N "(cached) $ECHO_C" >&6 6580 else 6581 eval "$as_ac_Header=\$ac_header_preproc" 6582 fi 6583 ac_res=`eval echo '${'$as_ac_Header'}'` 6584 { echo "$as_me:$LINENO: result: $ac_res" >&5 6585 echo "${ECHO_T}$ac_res" >&6; } 6586 6587 fi 6588 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5086 do : 5087 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5088 if test "x$ac_cv_header_iostream" = xyes; then : 6589 5089 cat >>confdefs.h <<_ACEOF 6590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6591 _ACEOF 6592 6593 else 6594 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6595 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6596 fi 6597 6598 done 6599 5090 #define HAVE_IOSTREAM 1 5091 _ACEOF 5092 5093 else 5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5095 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5096 fi 5097 5098 done 6600 5099 6601 5100 for ac_header in iterator 6602 do 6603 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6605 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6608 echo $ECHO_N "(cached) $ECHO_C" >&6 6609 fi 6610 ac_res=`eval echo '${'$as_ac_Header'}'` 6611 { echo "$as_me:$LINENO: result: $ac_res" >&5 6612 echo "${ECHO_T}$ac_res" >&6; } 6613 else 6614 # Is the header compilable? 6615 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6617 cat >conftest.$ac_ext <<_ACEOF 6618 /* confdefs.h. */ 6619 _ACEOF 6620 cat confdefs.h >>conftest.$ac_ext 6621 cat >>conftest.$ac_ext <<_ACEOF 6622 /* end confdefs.h. */ 6623 $ac_includes_default 6624 #include <$ac_header> 6625 _ACEOF 6626 rm -f conftest.$ac_objext 6627 if { (ac_try="$ac_compile" 6628 case "(($ac_try" in 6629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6630 *) ac_try_echo=$ac_try;; 6631 esac 6632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6633 (eval "$ac_compile") 2>conftest.er1 6634 ac_status=$? 6635 grep -v '^ *+' conftest.er1 >conftest.err 6636 rm -f conftest.er1 6637 cat conftest.err >&5 6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6639 (exit $ac_status); } && { 6640 test -z "$ac_cxx_werror_flag" || 6641 test ! -s conftest.err 6642 } && test -s conftest.$ac_objext; then 6643 ac_header_compiler=yes 6644 else 6645 echo "$as_me: failed program was:" >&5 6646 sed 's/^/| /' conftest.$ac_ext >&5 6647 6648 ac_header_compiler=no 6649 fi 6650 6651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6652 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6653 echo "${ECHO_T}$ac_header_compiler" >&6; } 6654 6655 # Is the header present? 6656 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6658 cat >conftest.$ac_ext <<_ACEOF 6659 /* confdefs.h. */ 6660 _ACEOF 6661 cat confdefs.h >>conftest.$ac_ext 6662 cat >>conftest.$ac_ext <<_ACEOF 6663 /* end confdefs.h. */ 6664 #include <$ac_header> 6665 _ACEOF 6666 if { (ac_try="$ac_cpp conftest.$ac_ext" 6667 case "(($ac_try" in 6668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6669 *) ac_try_echo=$ac_try;; 6670 esac 6671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6673 ac_status=$? 6674 grep -v '^ *+' conftest.er1 >conftest.err 6675 rm -f conftest.er1 6676 cat conftest.err >&5 6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6678 (exit $ac_status); } >/dev/null && { 6679 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6680 test ! -s conftest.err 6681 }; then 6682 ac_header_preproc=yes 6683 else 6684 echo "$as_me: failed program was:" >&5 6685 sed 's/^/| /' conftest.$ac_ext >&5 6686 6687 ac_header_preproc=no 6688 fi 6689 6690 rm -f conftest.err conftest.$ac_ext 6691 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6692 echo "${ECHO_T}$ac_header_preproc" >&6; } 6693 6694 # So? What about this header? 6695 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6696 yes:no: ) 6697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6701 ac_header_preproc=yes 6702 ;; 6703 no:yes:* ) 6704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6716 ( cat <<\_ASBOX 6717 ## ----------------------------------- ## 6718 ## Report this to rappture@nanohub.org ## 6719 ## ----------------------------------- ## 6720 _ASBOX 6721 ) | sed "s/^/$as_me: WARNING: /" >&2 6722 ;; 6723 esac 6724 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6727 echo $ECHO_N "(cached) $ECHO_C" >&6 6728 else 6729 eval "$as_ac_Header=\$ac_header_preproc" 6730 fi 6731 ac_res=`eval echo '${'$as_ac_Header'}'` 6732 { echo "$as_me:$LINENO: result: $ac_res" >&5 6733 echo "${ECHO_T}$ac_res" >&6; } 6734 6735 fi 6736 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5101 do : 5102 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5103 if test "x$ac_cv_header_iterator" = xyes; then : 6737 5104 cat >>confdefs.h <<_ACEOF 6738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6739 _ACEOF 6740 6741 else 6742 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6743 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6744 fi 6745 6746 done 6747 5105 #define HAVE_ITERATOR 1 5106 _ACEOF 5107 5108 else 5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5110 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5111 fi 5112 5113 done 6748 5114 6749 5115 for ac_header in sstream 6750 do 6751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6753 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6756 echo $ECHO_N "(cached) $ECHO_C" >&6 6757 fi 6758 ac_res=`eval echo '${'$as_ac_Header'}'` 6759 { echo "$as_me:$LINENO: result: $ac_res" >&5 6760 echo "${ECHO_T}$ac_res" >&6; } 6761 else 6762 # Is the header compilable? 6763 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6765 cat >conftest.$ac_ext <<_ACEOF 6766 /* confdefs.h. */ 6767 _ACEOF 6768 cat confdefs.h >>conftest.$ac_ext 6769 cat >>conftest.$ac_ext <<_ACEOF 6770 /* end confdefs.h. */ 6771 $ac_includes_default 6772 #include <$ac_header> 6773 _ACEOF 6774 rm -f conftest.$ac_objext 6775 if { (ac_try="$ac_compile" 6776 case "(($ac_try" in 6777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6778 *) ac_try_echo=$ac_try;; 6779 esac 6780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6781 (eval "$ac_compile") 2>conftest.er1 6782 ac_status=$? 6783 grep -v '^ *+' conftest.er1 >conftest.err 6784 rm -f conftest.er1 6785 cat conftest.err >&5 6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6787 (exit $ac_status); } && { 6788 test -z "$ac_cxx_werror_flag" || 6789 test ! -s conftest.err 6790 } && test -s conftest.$ac_objext; then 6791 ac_header_compiler=yes 6792 else 6793 echo "$as_me: failed program was:" >&5 6794 sed 's/^/| /' conftest.$ac_ext >&5 6795 6796 ac_header_compiler=no 6797 fi 6798 6799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6800 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6801 echo "${ECHO_T}$ac_header_compiler" >&6; } 6802 6803 # Is the header present? 6804 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6806 cat >conftest.$ac_ext <<_ACEOF 6807 /* confdefs.h. */ 6808 _ACEOF 6809 cat confdefs.h >>conftest.$ac_ext 6810 cat >>conftest.$ac_ext <<_ACEOF 6811 /* end confdefs.h. */ 6812 #include <$ac_header> 6813 _ACEOF 6814 if { (ac_try="$ac_cpp conftest.$ac_ext" 6815 case "(($ac_try" in 6816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6817 *) ac_try_echo=$ac_try;; 6818 esac 6819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6821 ac_status=$? 6822 grep -v '^ *+' conftest.er1 >conftest.err 6823 rm -f conftest.er1 6824 cat conftest.err >&5 6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6826 (exit $ac_status); } >/dev/null && { 6827 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6828 test ! -s conftest.err 6829 }; then 6830 ac_header_preproc=yes 6831 else 6832 echo "$as_me: failed program was:" >&5 6833 sed 's/^/| /' conftest.$ac_ext >&5 6834 6835 ac_header_preproc=no 6836 fi 6837 6838 rm -f conftest.err conftest.$ac_ext 6839 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6840 echo "${ECHO_T}$ac_header_preproc" >&6; } 6841 6842 # So? What about this header? 6843 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6844 yes:no: ) 6845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6849 ac_header_preproc=yes 6850 ;; 6851 no:yes:* ) 6852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6859 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6864 ( cat <<\_ASBOX 6865 ## ----------------------------------- ## 6866 ## Report this to rappture@nanohub.org ## 6867 ## ----------------------------------- ## 6868 _ASBOX 6869 ) | sed "s/^/$as_me: WARNING: /" >&2 6870 ;; 6871 esac 6872 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6875 echo $ECHO_N "(cached) $ECHO_C" >&6 6876 else 6877 eval "$as_ac_Header=\$ac_header_preproc" 6878 fi 6879 ac_res=`eval echo '${'$as_ac_Header'}'` 6880 { echo "$as_me:$LINENO: result: $ac_res" >&5 6881 echo "${ECHO_T}$ac_res" >&6; } 6882 6883 fi 6884 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5116 do : 5117 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5118 if test "x$ac_cv_header_sstream" = xyes; then : 6885 5119 cat >>confdefs.h <<_ACEOF 6886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6887 _ACEOF 6888 6889 else 6890 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6891 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6892 fi 6893 6894 done 6895 5120 #define HAVE_SSTREAM 1 5121 _ACEOF 5122 5123 else 5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5125 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5126 fi 5127 5128 done 6896 5129 6897 5130 for ac_header in stack 6898 do 6899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6901 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6904 echo $ECHO_N "(cached) $ECHO_C" >&6 6905 fi 6906 ac_res=`eval echo '${'$as_ac_Header'}'` 6907 { echo "$as_me:$LINENO: result: $ac_res" >&5 6908 echo "${ECHO_T}$ac_res" >&6; } 6909 else 6910 # Is the header compilable? 6911 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6913 cat >conftest.$ac_ext <<_ACEOF 6914 /* confdefs.h. */ 6915 _ACEOF 6916 cat confdefs.h >>conftest.$ac_ext 6917 cat >>conftest.$ac_ext <<_ACEOF 6918 /* end confdefs.h. */ 6919 $ac_includes_default 6920 #include <$ac_header> 6921 _ACEOF 6922 rm -f conftest.$ac_objext 6923 if { (ac_try="$ac_compile" 6924 case "(($ac_try" in 6925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6926 *) ac_try_echo=$ac_try;; 6927 esac 6928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6929 (eval "$ac_compile") 2>conftest.er1 6930 ac_status=$? 6931 grep -v '^ *+' conftest.er1 >conftest.err 6932 rm -f conftest.er1 6933 cat conftest.err >&5 6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6935 (exit $ac_status); } && { 6936 test -z "$ac_cxx_werror_flag" || 6937 test ! -s conftest.err 6938 } && test -s conftest.$ac_objext; then 6939 ac_header_compiler=yes 6940 else 6941 echo "$as_me: failed program was:" >&5 6942 sed 's/^/| /' conftest.$ac_ext >&5 6943 6944 ac_header_compiler=no 6945 fi 6946 6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6948 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6949 echo "${ECHO_T}$ac_header_compiler" >&6; } 6950 6951 # Is the header present? 6952 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6954 cat >conftest.$ac_ext <<_ACEOF 6955 /* confdefs.h. */ 6956 _ACEOF 6957 cat confdefs.h >>conftest.$ac_ext 6958 cat >>conftest.$ac_ext <<_ACEOF 6959 /* end confdefs.h. */ 6960 #include <$ac_header> 6961 _ACEOF 6962 if { (ac_try="$ac_cpp conftest.$ac_ext" 6963 case "(($ac_try" in 6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6965 *) ac_try_echo=$ac_try;; 6966 esac 6967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6969 ac_status=$? 6970 grep -v '^ *+' conftest.er1 >conftest.err 6971 rm -f conftest.er1 6972 cat conftest.err >&5 6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6974 (exit $ac_status); } >/dev/null && { 6975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6976 test ! -s conftest.err 6977 }; then 6978 ac_header_preproc=yes 6979 else 6980 echo "$as_me: failed program was:" >&5 6981 sed 's/^/| /' conftest.$ac_ext >&5 6982 6983 ac_header_preproc=no 6984 fi 6985 6986 rm -f conftest.err conftest.$ac_ext 6987 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6988 echo "${ECHO_T}$ac_header_preproc" >&6; } 6989 6990 # So? What about this header? 6991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6992 yes:no: ) 6993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6997 ac_header_preproc=yes 6998 ;; 6999 no:yes:* ) 7000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7012 ( cat <<\_ASBOX 7013 ## ----------------------------------- ## 7014 ## Report this to rappture@nanohub.org ## 7015 ## ----------------------------------- ## 7016 _ASBOX 7017 ) | sed "s/^/$as_me: WARNING: /" >&2 7018 ;; 7019 esac 7020 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7023 echo $ECHO_N "(cached) $ECHO_C" >&6 7024 else 7025 eval "$as_ac_Header=\$ac_header_preproc" 7026 fi 7027 ac_res=`eval echo '${'$as_ac_Header'}'` 7028 { echo "$as_me:$LINENO: result: $ac_res" >&5 7029 echo "${ECHO_T}$ac_res" >&6; } 7030 7031 fi 7032 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5131 do : 5132 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5133 if test "x$ac_cv_header_stack" = xyes; then : 7033 5134 cat >>confdefs.h <<_ACEOF 7034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7035 _ACEOF 7036 7037 else 7038 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7039 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7040 fi 7041 7042 done 7043 5135 #define HAVE_STACK 1 5136 _ACEOF 5137 5138 else 5139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5140 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5141 fi 5142 5143 done 7044 5144 7045 5145 for ac_header in string 7046 do 7047 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7048 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7049 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7051 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7052 echo $ECHO_N "(cached) $ECHO_C" >&6 7053 fi 7054 ac_res=`eval echo '${'$as_ac_Header'}'` 7055 { echo "$as_me:$LINENO: result: $ac_res" >&5 7056 echo "${ECHO_T}$ac_res" >&6; } 7057 else 7058 # Is the header compilable? 7059 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7061 cat >conftest.$ac_ext <<_ACEOF 7062 /* confdefs.h. */ 7063 _ACEOF 7064 cat confdefs.h >>conftest.$ac_ext 7065 cat >>conftest.$ac_ext <<_ACEOF 7066 /* end confdefs.h. */ 7067 $ac_includes_default 7068 #include <$ac_header> 7069 _ACEOF 7070 rm -f conftest.$ac_objext 7071 if { (ac_try="$ac_compile" 7072 case "(($ac_try" in 7073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7074 *) ac_try_echo=$ac_try;; 7075 esac 7076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7077 (eval "$ac_compile") 2>conftest.er1 7078 ac_status=$? 7079 grep -v '^ *+' conftest.er1 >conftest.err 7080 rm -f conftest.er1 7081 cat conftest.err >&5 7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7083 (exit $ac_status); } && { 7084 test -z "$ac_cxx_werror_flag" || 7085 test ! -s conftest.err 7086 } && test -s conftest.$ac_objext; then 7087 ac_header_compiler=yes 7088 else 7089 echo "$as_me: failed program was:" >&5 7090 sed 's/^/| /' conftest.$ac_ext >&5 7091 7092 ac_header_compiler=no 7093 fi 7094 7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7096 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7097 echo "${ECHO_T}$ac_header_compiler" >&6; } 7098 7099 # Is the header present? 7100 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7102 cat >conftest.$ac_ext <<_ACEOF 7103 /* confdefs.h. */ 7104 _ACEOF 7105 cat confdefs.h >>conftest.$ac_ext 7106 cat >>conftest.$ac_ext <<_ACEOF 7107 /* end confdefs.h. */ 7108 #include <$ac_header> 7109 _ACEOF 7110 if { (ac_try="$ac_cpp conftest.$ac_ext" 7111 case "(($ac_try" in 7112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7113 *) ac_try_echo=$ac_try;; 7114 esac 7115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7116 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7117 ac_status=$? 7118 grep -v '^ *+' conftest.er1 >conftest.err 7119 rm -f conftest.er1 7120 cat conftest.err >&5 7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7122 (exit $ac_status); } >/dev/null && { 7123 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7124 test ! -s conftest.err 7125 }; then 7126 ac_header_preproc=yes 7127 else 7128 echo "$as_me: failed program was:" >&5 7129 sed 's/^/| /' conftest.$ac_ext >&5 7130 7131 ac_header_preproc=no 7132 fi 7133 7134 rm -f conftest.err conftest.$ac_ext 7135 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7136 echo "${ECHO_T}$ac_header_preproc" >&6; } 7137 7138 # So? What about this header? 7139 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7140 yes:no: ) 7141 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7142 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7144 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7145 ac_header_preproc=yes 7146 ;; 7147 no:yes:* ) 7148 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7149 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7150 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7151 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7152 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7153 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7154 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7155 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7157 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7158 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7159 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7160 ( cat <<\_ASBOX 7161 ## ----------------------------------- ## 7162 ## Report this to rappture@nanohub.org ## 7163 ## ----------------------------------- ## 7164 _ASBOX 7165 ) | sed "s/^/$as_me: WARNING: /" >&2 7166 ;; 7167 esac 7168 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7170 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7171 echo $ECHO_N "(cached) $ECHO_C" >&6 7172 else 7173 eval "$as_ac_Header=\$ac_header_preproc" 7174 fi 7175 ac_res=`eval echo '${'$as_ac_Header'}'` 7176 { echo "$as_me:$LINENO: result: $ac_res" >&5 7177 echo "${ECHO_T}$ac_res" >&6; } 7178 7179 fi 7180 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5146 do : 5147 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5148 if test "x$ac_cv_header_string" = xyes; then : 7181 5149 cat >>confdefs.h <<_ACEOF 7182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7183 _ACEOF 7184 7185 else 7186 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7187 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7188 fi 7189 7190 done 7191 5150 #define HAVE_STRING 1 5151 _ACEOF 5152 5153 else 5154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5155 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5156 fi 5157 5158 done 7192 5159 7193 5160 for ac_header in vector 7194 do 7195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7197 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7200 echo $ECHO_N "(cached) $ECHO_C" >&6 7201 fi 7202 ac_res=`eval echo '${'$as_ac_Header'}'` 7203 { echo "$as_me:$LINENO: result: $ac_res" >&5 7204 echo "${ECHO_T}$ac_res" >&6; } 7205 else 7206 # Is the header compilable? 7207 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7208 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7209 cat >conftest.$ac_ext <<_ACEOF 7210 /* confdefs.h. */ 7211 _ACEOF 7212 cat confdefs.h >>conftest.$ac_ext 7213 cat >>conftest.$ac_ext <<_ACEOF 7214 /* end confdefs.h. */ 7215 $ac_includes_default 7216 #include <$ac_header> 7217 _ACEOF 7218 rm -f conftest.$ac_objext 7219 if { (ac_try="$ac_compile" 7220 case "(($ac_try" in 7221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7222 *) ac_try_echo=$ac_try;; 7223 esac 7224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7225 (eval "$ac_compile") 2>conftest.er1 7226 ac_status=$? 7227 grep -v '^ *+' conftest.er1 >conftest.err 7228 rm -f conftest.er1 7229 cat conftest.err >&5 7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7231 (exit $ac_status); } && { 7232 test -z "$ac_cxx_werror_flag" || 7233 test ! -s conftest.err 7234 } && test -s conftest.$ac_objext; then 7235 ac_header_compiler=yes 7236 else 7237 echo "$as_me: failed program was:" >&5 7238 sed 's/^/| /' conftest.$ac_ext >&5 7239 7240 ac_header_compiler=no 7241 fi 7242 7243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7244 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7245 echo "${ECHO_T}$ac_header_compiler" >&6; } 7246 7247 # Is the header present? 7248 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7250 cat >conftest.$ac_ext <<_ACEOF 7251 /* confdefs.h. */ 7252 _ACEOF 7253 cat confdefs.h >>conftest.$ac_ext 7254 cat >>conftest.$ac_ext <<_ACEOF 7255 /* end confdefs.h. */ 7256 #include <$ac_header> 7257 _ACEOF 7258 if { (ac_try="$ac_cpp conftest.$ac_ext" 7259 case "(($ac_try" in 7260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7261 *) ac_try_echo=$ac_try;; 7262 esac 7263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7264 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7265 ac_status=$? 7266 grep -v '^ *+' conftest.er1 >conftest.err 7267 rm -f conftest.er1 7268 cat conftest.err >&5 7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7270 (exit $ac_status); } >/dev/null && { 7271 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7272 test ! -s conftest.err 7273 }; then 7274 ac_header_preproc=yes 7275 else 7276 echo "$as_me: failed program was:" >&5 7277 sed 's/^/| /' conftest.$ac_ext >&5 7278 7279 ac_header_preproc=no 7280 fi 7281 7282 rm -f conftest.err conftest.$ac_ext 7283 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7284 echo "${ECHO_T}$ac_header_preproc" >&6; } 7285 7286 # So? What about this header? 7287 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7288 yes:no: ) 7289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7293 ac_header_preproc=yes 7294 ;; 7295 no:yes:* ) 7296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7300 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7302 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7303 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7306 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7308 ( cat <<\_ASBOX 7309 ## ----------------------------------- ## 7310 ## Report this to rappture@nanohub.org ## 7311 ## ----------------------------------- ## 7312 _ASBOX 7313 ) | sed "s/^/$as_me: WARNING: /" >&2 7314 ;; 7315 esac 7316 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7319 echo $ECHO_N "(cached) $ECHO_C" >&6 7320 else 7321 eval "$as_ac_Header=\$ac_header_preproc" 7322 fi 7323 ac_res=`eval echo '${'$as_ac_Header'}'` 7324 { echo "$as_me:$LINENO: result: $ac_res" >&5 7325 echo "${ECHO_T}$ac_res" >&6; } 7326 7327 fi 7328 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5161 do : 5162 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5163 if test "x$ac_cv_header_vector" = xyes; then : 7329 5164 cat >>confdefs.h <<_ACEOF 7330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7331 _ACEOF 7332 7333 else 7334 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7335 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7336 fi 7337 7338 done 7339 5165 #define HAVE_VECTOR 1 5166 _ACEOF 5167 5168 else 5169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5170 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5171 fi 5172 5173 done 7340 5174 7341 5175 7342 5176 for ac_header in assert.h 7343 do 7344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7346 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7348 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7349 echo $ECHO_N "(cached) $ECHO_C" >&6 7350 fi 7351 ac_res=`eval echo '${'$as_ac_Header'}'` 7352 { echo "$as_me:$LINENO: result: $ac_res" >&5 7353 echo "${ECHO_T}$ac_res" >&6; } 7354 else 7355 # Is the header compilable? 7356 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7358 cat >conftest.$ac_ext <<_ACEOF 7359 /* confdefs.h. */ 7360 _ACEOF 7361 cat confdefs.h >>conftest.$ac_ext 7362 cat >>conftest.$ac_ext <<_ACEOF 7363 /* end confdefs.h. */ 7364 $ac_includes_default 7365 #include <$ac_header> 7366 _ACEOF 7367 rm -f conftest.$ac_objext 7368 if { (ac_try="$ac_compile" 7369 case "(($ac_try" in 7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7371 *) ac_try_echo=$ac_try;; 7372 esac 7373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7374 (eval "$ac_compile") 2>conftest.er1 7375 ac_status=$? 7376 grep -v '^ *+' conftest.er1 >conftest.err 7377 rm -f conftest.er1 7378 cat conftest.err >&5 7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7380 (exit $ac_status); } && { 7381 test -z "$ac_cxx_werror_flag" || 7382 test ! -s conftest.err 7383 } && test -s conftest.$ac_objext; then 7384 ac_header_compiler=yes 7385 else 7386 echo "$as_me: failed program was:" >&5 7387 sed 's/^/| /' conftest.$ac_ext >&5 7388 7389 ac_header_compiler=no 7390 fi 7391 7392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7393 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7394 echo "${ECHO_T}$ac_header_compiler" >&6; } 7395 7396 # Is the header present? 7397 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7398 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7399 cat >conftest.$ac_ext <<_ACEOF 7400 /* confdefs.h. */ 7401 _ACEOF 7402 cat confdefs.h >>conftest.$ac_ext 7403 cat >>conftest.$ac_ext <<_ACEOF 7404 /* end confdefs.h. */ 7405 #include <$ac_header> 7406 _ACEOF 7407 if { (ac_try="$ac_cpp conftest.$ac_ext" 7408 case "(($ac_try" in 7409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7410 *) ac_try_echo=$ac_try;; 7411 esac 7412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7414 ac_status=$? 7415 grep -v '^ *+' conftest.er1 >conftest.err 7416 rm -f conftest.er1 7417 cat conftest.err >&5 7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7419 (exit $ac_status); } >/dev/null && { 7420 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7421 test ! -s conftest.err 7422 }; then 7423 ac_header_preproc=yes 7424 else 7425 echo "$as_me: failed program was:" >&5 7426 sed 's/^/| /' conftest.$ac_ext >&5 7427 7428 ac_header_preproc=no 7429 fi 7430 7431 rm -f conftest.err conftest.$ac_ext 7432 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7433 echo "${ECHO_T}$ac_header_preproc" >&6; } 7434 7435 # So? What about this header? 7436 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7437 yes:no: ) 7438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7442 ac_header_preproc=yes 7443 ;; 7444 no:yes:* ) 7445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7457 ( cat <<\_ASBOX 7458 ## ----------------------------------- ## 7459 ## Report this to rappture@nanohub.org ## 7460 ## ----------------------------------- ## 7461 _ASBOX 7462 ) | sed "s/^/$as_me: WARNING: /" >&2 7463 ;; 7464 esac 7465 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7467 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7468 echo $ECHO_N "(cached) $ECHO_C" >&6 7469 else 7470 eval "$as_ac_Header=\$ac_header_preproc" 7471 fi 7472 ac_res=`eval echo '${'$as_ac_Header'}'` 7473 { echo "$as_me:$LINENO: result: $ac_res" >&5 7474 echo "${ECHO_T}$ac_res" >&6; } 7475 7476 fi 7477 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5177 do : 5178 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5179 if test "x$ac_cv_header_assert_h" = xyes; then : 7478 5180 cat >>confdefs.h <<_ACEOF 7479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7480 _ACEOF 7481 7482 else 7483 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7484 echo "$as_me: WARNING: C headers missing ?" >&2;} 7485 fi 7486 7487 done 7488 5181 #define HAVE_ASSERT_H 1 5182 _ACEOF 5183 5184 else 5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5186 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5187 fi 5188 5189 done 7489 5190 7490 5191 for ac_header in ctype.h 7491 do 7492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7494 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7497 echo $ECHO_N "(cached) $ECHO_C" >&6 7498 fi 7499 ac_res=`eval echo '${'$as_ac_Header'}'` 7500 { echo "$as_me:$LINENO: result: $ac_res" >&5 7501 echo "${ECHO_T}$ac_res" >&6; } 7502 else 7503 # Is the header compilable? 7504 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7506 cat >conftest.$ac_ext <<_ACEOF 7507 /* confdefs.h. */ 7508 _ACEOF 7509 cat confdefs.h >>conftest.$ac_ext 7510 cat >>conftest.$ac_ext <<_ACEOF 7511 /* end confdefs.h. */ 7512 $ac_includes_default 7513 #include <$ac_header> 7514 _ACEOF 7515 rm -f conftest.$ac_objext 7516 if { (ac_try="$ac_compile" 7517 case "(($ac_try" in 7518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7519 *) ac_try_echo=$ac_try;; 7520 esac 7521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7522 (eval "$ac_compile") 2>conftest.er1 7523 ac_status=$? 7524 grep -v '^ *+' conftest.er1 >conftest.err 7525 rm -f conftest.er1 7526 cat conftest.err >&5 7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7528 (exit $ac_status); } && { 7529 test -z "$ac_cxx_werror_flag" || 7530 test ! -s conftest.err 7531 } && test -s conftest.$ac_objext; then 7532 ac_header_compiler=yes 7533 else 7534 echo "$as_me: failed program was:" >&5 7535 sed 's/^/| /' conftest.$ac_ext >&5 7536 7537 ac_header_compiler=no 7538 fi 7539 7540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7541 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7542 echo "${ECHO_T}$ac_header_compiler" >&6; } 7543 7544 # Is the header present? 7545 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7547 cat >conftest.$ac_ext <<_ACEOF 7548 /* confdefs.h. */ 7549 _ACEOF 7550 cat confdefs.h >>conftest.$ac_ext 7551 cat >>conftest.$ac_ext <<_ACEOF 7552 /* end confdefs.h. */ 7553 #include <$ac_header> 7554 _ACEOF 7555 if { (ac_try="$ac_cpp conftest.$ac_ext" 7556 case "(($ac_try" in 7557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7558 *) ac_try_echo=$ac_try;; 7559 esac 7560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7562 ac_status=$? 7563 grep -v '^ *+' conftest.er1 >conftest.err 7564 rm -f conftest.er1 7565 cat conftest.err >&5 7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7567 (exit $ac_status); } >/dev/null && { 7568 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7569 test ! -s conftest.err 7570 }; then 7571 ac_header_preproc=yes 7572 else 7573 echo "$as_me: failed program was:" >&5 7574 sed 's/^/| /' conftest.$ac_ext >&5 7575 7576 ac_header_preproc=no 7577 fi 7578 7579 rm -f conftest.err conftest.$ac_ext 7580 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7581 echo "${ECHO_T}$ac_header_preproc" >&6; } 7582 7583 # So? What about this header? 7584 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7585 yes:no: ) 7586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7590 ac_header_preproc=yes 7591 ;; 7592 no:yes:* ) 7593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7605 ( cat <<\_ASBOX 7606 ## ----------------------------------- ## 7607 ## Report this to rappture@nanohub.org ## 7608 ## ----------------------------------- ## 7609 _ASBOX 7610 ) | sed "s/^/$as_me: WARNING: /" >&2 7611 ;; 7612 esac 7613 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7616 echo $ECHO_N "(cached) $ECHO_C" >&6 7617 else 7618 eval "$as_ac_Header=\$ac_header_preproc" 7619 fi 7620 ac_res=`eval echo '${'$as_ac_Header'}'` 7621 { echo "$as_me:$LINENO: result: $ac_res" >&5 7622 echo "${ECHO_T}$ac_res" >&6; } 7623 7624 fi 7625 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5192 do : 5193 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5194 if test "x$ac_cv_header_ctype_h" = xyes; then : 7626 5195 cat >>confdefs.h <<_ACEOF 7627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7628 _ACEOF 7629 7630 else 7631 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7632 echo "$as_me: WARNING: C headers missing ?" >&2;} 7633 fi 7634 7635 done 7636 5196 #define HAVE_CTYPE_H 1 5197 _ACEOF 5198 5199 else 5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5201 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5202 fi 5203 5204 done 7637 5205 7638 5206 for ac_header in errno.h 7639 do 7640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7642 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7645 echo $ECHO_N "(cached) $ECHO_C" >&6 7646 fi 7647 ac_res=`eval echo '${'$as_ac_Header'}'` 7648 { echo "$as_me:$LINENO: result: $ac_res" >&5 7649 echo "${ECHO_T}$ac_res" >&6; } 7650 else 7651 # Is the header compilable? 7652 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7654 cat >conftest.$ac_ext <<_ACEOF 7655 /* confdefs.h. */ 7656 _ACEOF 7657 cat confdefs.h >>conftest.$ac_ext 7658 cat >>conftest.$ac_ext <<_ACEOF 7659 /* end confdefs.h. */ 7660 $ac_includes_default 7661 #include <$ac_header> 7662 _ACEOF 7663 rm -f conftest.$ac_objext 7664 if { (ac_try="$ac_compile" 7665 case "(($ac_try" in 7666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7667 *) ac_try_echo=$ac_try;; 7668 esac 7669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7670 (eval "$ac_compile") 2>conftest.er1 7671 ac_status=$? 7672 grep -v '^ *+' conftest.er1 >conftest.err 7673 rm -f conftest.er1 7674 cat conftest.err >&5 7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7676 (exit $ac_status); } && { 7677 test -z "$ac_cxx_werror_flag" || 7678 test ! -s conftest.err 7679 } && test -s conftest.$ac_objext; then 7680 ac_header_compiler=yes 7681 else 7682 echo "$as_me: failed program was:" >&5 7683 sed 's/^/| /' conftest.$ac_ext >&5 7684 7685 ac_header_compiler=no 7686 fi 7687 7688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7689 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7690 echo "${ECHO_T}$ac_header_compiler" >&6; } 7691 7692 # Is the header present? 7693 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7695 cat >conftest.$ac_ext <<_ACEOF 7696 /* confdefs.h. */ 7697 _ACEOF 7698 cat confdefs.h >>conftest.$ac_ext 7699 cat >>conftest.$ac_ext <<_ACEOF 7700 /* end confdefs.h. */ 7701 #include <$ac_header> 7702 _ACEOF 7703 if { (ac_try="$ac_cpp conftest.$ac_ext" 7704 case "(($ac_try" in 7705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7706 *) ac_try_echo=$ac_try;; 7707 esac 7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7710 ac_status=$? 7711 grep -v '^ *+' conftest.er1 >conftest.err 7712 rm -f conftest.er1 7713 cat conftest.err >&5 7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7715 (exit $ac_status); } >/dev/null && { 7716 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7717 test ! -s conftest.err 7718 }; then 7719 ac_header_preproc=yes 7720 else 7721 echo "$as_me: failed program was:" >&5 7722 sed 's/^/| /' conftest.$ac_ext >&5 7723 7724 ac_header_preproc=no 7725 fi 7726 7727 rm -f conftest.err conftest.$ac_ext 7728 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7729 echo "${ECHO_T}$ac_header_preproc" >&6; } 7730 7731 # So? What about this header? 7732 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7733 yes:no: ) 7734 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7738 ac_header_preproc=yes 7739 ;; 7740 no:yes:* ) 7741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7745 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7747 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7748 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7751 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7753 ( cat <<\_ASBOX 7754 ## ----------------------------------- ## 7755 ## Report this to rappture@nanohub.org ## 7756 ## ----------------------------------- ## 7757 _ASBOX 7758 ) | sed "s/^/$as_me: WARNING: /" >&2 7759 ;; 7760 esac 7761 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7764 echo $ECHO_N "(cached) $ECHO_C" >&6 7765 else 7766 eval "$as_ac_Header=\$ac_header_preproc" 7767 fi 7768 ac_res=`eval echo '${'$as_ac_Header'}'` 7769 { echo "$as_me:$LINENO: result: $ac_res" >&5 7770 echo "${ECHO_T}$ac_res" >&6; } 7771 7772 fi 7773 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5207 do : 5208 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5209 if test "x$ac_cv_header_errno_h" = xyes; then : 7774 5210 cat >>confdefs.h <<_ACEOF 7775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7776 _ACEOF 7777 7778 else 7779 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7780 echo "$as_me: WARNING: C headers missing ?" >&2;} 7781 fi 7782 7783 done 7784 5211 #define HAVE_ERRNO_H 1 5212 _ACEOF 5213 5214 else 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5216 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5217 fi 5218 5219 done 7785 5220 7786 5221 for ac_header in limits.h 7787 do 7788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7790 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7793 echo $ECHO_N "(cached) $ECHO_C" >&6 7794 fi 7795 ac_res=`eval echo '${'$as_ac_Header'}'` 7796 { echo "$as_me:$LINENO: result: $ac_res" >&5 7797 echo "${ECHO_T}$ac_res" >&6; } 7798 else 7799 # Is the header compilable? 7800 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7802 cat >conftest.$ac_ext <<_ACEOF 7803 /* confdefs.h. */ 7804 _ACEOF 7805 cat confdefs.h >>conftest.$ac_ext 7806 cat >>conftest.$ac_ext <<_ACEOF 7807 /* end confdefs.h. */ 7808 $ac_includes_default 7809 #include <$ac_header> 7810 _ACEOF 7811 rm -f conftest.$ac_objext 7812 if { (ac_try="$ac_compile" 7813 case "(($ac_try" in 7814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7815 *) ac_try_echo=$ac_try;; 7816 esac 7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7818 (eval "$ac_compile") 2>conftest.er1 7819 ac_status=$? 7820 grep -v '^ *+' conftest.er1 >conftest.err 7821 rm -f conftest.er1 7822 cat conftest.err >&5 7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7824 (exit $ac_status); } && { 7825 test -z "$ac_cxx_werror_flag" || 7826 test ! -s conftest.err 7827 } && test -s conftest.$ac_objext; then 7828 ac_header_compiler=yes 7829 else 7830 echo "$as_me: failed program was:" >&5 7831 sed 's/^/| /' conftest.$ac_ext >&5 7832 7833 ac_header_compiler=no 7834 fi 7835 7836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7837 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7838 echo "${ECHO_T}$ac_header_compiler" >&6; } 7839 7840 # Is the header present? 7841 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7843 cat >conftest.$ac_ext <<_ACEOF 7844 /* confdefs.h. */ 7845 _ACEOF 7846 cat confdefs.h >>conftest.$ac_ext 7847 cat >>conftest.$ac_ext <<_ACEOF 7848 /* end confdefs.h. */ 7849 #include <$ac_header> 7850 _ACEOF 7851 if { (ac_try="$ac_cpp conftest.$ac_ext" 7852 case "(($ac_try" in 7853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7854 *) ac_try_echo=$ac_try;; 7855 esac 7856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7858 ac_status=$? 7859 grep -v '^ *+' conftest.er1 >conftest.err 7860 rm -f conftest.er1 7861 cat conftest.err >&5 7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7863 (exit $ac_status); } >/dev/null && { 7864 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7865 test ! -s conftest.err 7866 }; then 7867 ac_header_preproc=yes 7868 else 7869 echo "$as_me: failed program was:" >&5 7870 sed 's/^/| /' conftest.$ac_ext >&5 7871 7872 ac_header_preproc=no 7873 fi 7874 7875 rm -f conftest.err conftest.$ac_ext 7876 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7877 echo "${ECHO_T}$ac_header_preproc" >&6; } 7878 7879 # So? What about this header? 7880 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7881 yes:no: ) 7882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7886 ac_header_preproc=yes 7887 ;; 7888 no:yes:* ) 7889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7901 ( cat <<\_ASBOX 7902 ## ----------------------------------- ## 7903 ## Report this to rappture@nanohub.org ## 7904 ## ----------------------------------- ## 7905 _ASBOX 7906 ) | sed "s/^/$as_me: WARNING: /" >&2 7907 ;; 7908 esac 7909 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7912 echo $ECHO_N "(cached) $ECHO_C" >&6 7913 else 7914 eval "$as_ac_Header=\$ac_header_preproc" 7915 fi 7916 ac_res=`eval echo '${'$as_ac_Header'}'` 7917 { echo "$as_me:$LINENO: result: $ac_res" >&5 7918 echo "${ECHO_T}$ac_res" >&6; } 7919 7920 fi 7921 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5222 do : 5223 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5224 if test "x$ac_cv_header_limits_h" = xyes; then : 7922 5225 cat >>confdefs.h <<_ACEOF 7923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7924 _ACEOF 7925 7926 else 7927 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7928 echo "$as_me: WARNING: C headers missing ?" >&2;} 7929 fi 7930 7931 done 7932 5226 #define HAVE_LIMITS_H 1 5227 _ACEOF 5228 5229 else 5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5231 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5232 fi 5233 5234 done 7933 5235 7934 5236 for ac_header in string.h 7935 do 7936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7938 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7941 echo $ECHO_N "(cached) $ECHO_C" >&6 7942 fi 7943 ac_res=`eval echo '${'$as_ac_Header'}'` 7944 { echo "$as_me:$LINENO: result: $ac_res" >&5 7945 echo "${ECHO_T}$ac_res" >&6; } 7946 else 7947 # Is the header compilable? 7948 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7950 cat >conftest.$ac_ext <<_ACEOF 7951 /* confdefs.h. */ 7952 _ACEOF 7953 cat confdefs.h >>conftest.$ac_ext 7954 cat >>conftest.$ac_ext <<_ACEOF 7955 /* end confdefs.h. */ 7956 $ac_includes_default 7957 #include <$ac_header> 7958 _ACEOF 7959 rm -f conftest.$ac_objext 7960 if { (ac_try="$ac_compile" 7961 case "(($ac_try" in 7962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7963 *) ac_try_echo=$ac_try;; 7964 esac 7965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7966 (eval "$ac_compile") 2>conftest.er1 7967 ac_status=$? 7968 grep -v '^ *+' conftest.er1 >conftest.err 7969 rm -f conftest.er1 7970 cat conftest.err >&5 7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7972 (exit $ac_status); } && { 7973 test -z "$ac_cxx_werror_flag" || 7974 test ! -s conftest.err 7975 } && test -s conftest.$ac_objext; then 7976 ac_header_compiler=yes 7977 else 7978 echo "$as_me: failed program was:" >&5 7979 sed 's/^/| /' conftest.$ac_ext >&5 7980 7981 ac_header_compiler=no 7982 fi 7983 7984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7985 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7986 echo "${ECHO_T}$ac_header_compiler" >&6; } 7987 7988 # Is the header present? 7989 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7991 cat >conftest.$ac_ext <<_ACEOF 7992 /* confdefs.h. */ 7993 _ACEOF 7994 cat confdefs.h >>conftest.$ac_ext 7995 cat >>conftest.$ac_ext <<_ACEOF 7996 /* end confdefs.h. */ 7997 #include <$ac_header> 7998 _ACEOF 7999 if { (ac_try="$ac_cpp conftest.$ac_ext" 8000 case "(($ac_try" in 8001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8002 *) ac_try_echo=$ac_try;; 8003 esac 8004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8006 ac_status=$? 8007 grep -v '^ *+' conftest.er1 >conftest.err 8008 rm -f conftest.er1 8009 cat conftest.err >&5 8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8011 (exit $ac_status); } >/dev/null && { 8012 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8013 test ! -s conftest.err 8014 }; then 8015 ac_header_preproc=yes 8016 else 8017 echo "$as_me: failed program was:" >&5 8018 sed 's/^/| /' conftest.$ac_ext >&5 8019 8020 ac_header_preproc=no 8021 fi 8022 8023 rm -f conftest.err conftest.$ac_ext 8024 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8025 echo "${ECHO_T}$ac_header_preproc" >&6; } 8026 8027 # So? What about this header? 8028 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8029 yes:no: ) 8030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8034 ac_header_preproc=yes 8035 ;; 8036 no:yes:* ) 8037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8049 ( cat <<\_ASBOX 8050 ## ----------------------------------- ## 8051 ## Report this to rappture@nanohub.org ## 8052 ## ----------------------------------- ## 8053 _ASBOX 8054 ) | sed "s/^/$as_me: WARNING: /" >&2 8055 ;; 8056 esac 8057 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8060 echo $ECHO_N "(cached) $ECHO_C" >&6 8061 else 8062 eval "$as_ac_Header=\$ac_header_preproc" 8063 fi 8064 ac_res=`eval echo '${'$as_ac_Header'}'` 8065 { echo "$as_me:$LINENO: result: $ac_res" >&5 8066 echo "${ECHO_T}$ac_res" >&6; } 8067 8068 fi 8069 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5237 do : 5238 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5239 if test "x$ac_cv_header_string_h" = xyes; then : 8070 5240 cat >>confdefs.h <<_ACEOF 8071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8072 _ACEOF 8073 8074 else 8075 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8076 echo "$as_me: WARNING: C headers missing ?" >&2;} 8077 fi 8078 8079 done 8080 5241 #define HAVE_STRING_H 1 5242 _ACEOF 5243 5244 else 5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5246 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5247 fi 5248 5249 done 8081 5250 8082 5251 for ac_header in stdlib.h 8083 do 8084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8086 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8089 echo $ECHO_N "(cached) $ECHO_C" >&6 8090 fi 8091 ac_res=`eval echo '${'$as_ac_Header'}'` 8092 { echo "$as_me:$LINENO: result: $ac_res" >&5 8093 echo "${ECHO_T}$ac_res" >&6; } 8094 else 8095 # Is the header compilable? 8096 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8098 cat >conftest.$ac_ext <<_ACEOF 8099 /* confdefs.h. */ 8100 _ACEOF 8101 cat confdefs.h >>conftest.$ac_ext 8102 cat >>conftest.$ac_ext <<_ACEOF 8103 /* end confdefs.h. */ 8104 $ac_includes_default 8105 #include <$ac_header> 8106 _ACEOF 8107 rm -f conftest.$ac_objext 8108 if { (ac_try="$ac_compile" 8109 case "(($ac_try" in 8110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8111 *) ac_try_echo=$ac_try;; 8112 esac 8113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8114 (eval "$ac_compile") 2>conftest.er1 8115 ac_status=$? 8116 grep -v '^ *+' conftest.er1 >conftest.err 8117 rm -f conftest.er1 8118 cat conftest.err >&5 8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8120 (exit $ac_status); } && { 8121 test -z "$ac_cxx_werror_flag" || 8122 test ! -s conftest.err 8123 } && test -s conftest.$ac_objext; then 8124 ac_header_compiler=yes 8125 else 8126 echo "$as_me: failed program was:" >&5 8127 sed 's/^/| /' conftest.$ac_ext >&5 8128 8129 ac_header_compiler=no 8130 fi 8131 8132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8133 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8134 echo "${ECHO_T}$ac_header_compiler" >&6; } 8135 8136 # Is the header present? 8137 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8139 cat >conftest.$ac_ext <<_ACEOF 8140 /* confdefs.h. */ 8141 _ACEOF 8142 cat confdefs.h >>conftest.$ac_ext 8143 cat >>conftest.$ac_ext <<_ACEOF 8144 /* end confdefs.h. */ 8145 #include <$ac_header> 8146 _ACEOF 8147 if { (ac_try="$ac_cpp conftest.$ac_ext" 8148 case "(($ac_try" in 8149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8150 *) ac_try_echo=$ac_try;; 8151 esac 8152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8154 ac_status=$? 8155 grep -v '^ *+' conftest.er1 >conftest.err 8156 rm -f conftest.er1 8157 cat conftest.err >&5 8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8159 (exit $ac_status); } >/dev/null && { 8160 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8161 test ! -s conftest.err 8162 }; then 8163 ac_header_preproc=yes 8164 else 8165 echo "$as_me: failed program was:" >&5 8166 sed 's/^/| /' conftest.$ac_ext >&5 8167 8168 ac_header_preproc=no 8169 fi 8170 8171 rm -f conftest.err conftest.$ac_ext 8172 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8173 echo "${ECHO_T}$ac_header_preproc" >&6; } 8174 8175 # So? What about this header? 8176 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8177 yes:no: ) 8178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8182 ac_header_preproc=yes 8183 ;; 8184 no:yes:* ) 8185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8197 ( cat <<\_ASBOX 8198 ## ----------------------------------- ## 8199 ## Report this to rappture@nanohub.org ## 8200 ## ----------------------------------- ## 8201 _ASBOX 8202 ) | sed "s/^/$as_me: WARNING: /" >&2 8203 ;; 8204 esac 8205 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8208 echo $ECHO_N "(cached) $ECHO_C" >&6 8209 else 8210 eval "$as_ac_Header=\$ac_header_preproc" 8211 fi 8212 ac_res=`eval echo '${'$as_ac_Header'}'` 8213 { echo "$as_me:$LINENO: result: $ac_res" >&5 8214 echo "${ECHO_T}$ac_res" >&6; } 8215 8216 fi 8217 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5252 do : 5253 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5254 if test "x$ac_cv_header_stdlib_h" = xyes; then : 8218 5255 cat >>confdefs.h <<_ACEOF 8219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8220 _ACEOF 8221 8222 else 8223 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8224 echo "$as_me: WARNING: C headers missing ?" >&2;} 8225 fi 8226 8227 done 8228 5256 #define HAVE_STDLIB_H 1 5257 _ACEOF 5258 5259 else 5260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5261 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5262 fi 5263 5264 done 8229 5265 8230 5266 for ac_header in stddef.h 8231 do 8232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8234 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8237 echo $ECHO_N "(cached) $ECHO_C" >&6 8238 fi 8239 ac_res=`eval echo '${'$as_ac_Header'}'` 8240 { echo "$as_me:$LINENO: result: $ac_res" >&5 8241 echo "${ECHO_T}$ac_res" >&6; } 8242 else 8243 # Is the header compilable? 8244 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8246 cat >conftest.$ac_ext <<_ACEOF 8247 /* confdefs.h. */ 8248 _ACEOF 8249 cat confdefs.h >>conftest.$ac_ext 8250 cat >>conftest.$ac_ext <<_ACEOF 8251 /* end confdefs.h. */ 8252 $ac_includes_default 8253 #include <$ac_header> 8254 _ACEOF 8255 rm -f conftest.$ac_objext 8256 if { (ac_try="$ac_compile" 8257 case "(($ac_try" in 8258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8259 *) ac_try_echo=$ac_try;; 8260 esac 8261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8262 (eval "$ac_compile") 2>conftest.er1 8263 ac_status=$? 8264 grep -v '^ *+' conftest.er1 >conftest.err 8265 rm -f conftest.er1 8266 cat conftest.err >&5 8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8268 (exit $ac_status); } && { 8269 test -z "$ac_cxx_werror_flag" || 8270 test ! -s conftest.err 8271 } && test -s conftest.$ac_objext; then 8272 ac_header_compiler=yes 8273 else 8274 echo "$as_me: failed program was:" >&5 8275 sed 's/^/| /' conftest.$ac_ext >&5 8276 8277 ac_header_compiler=no 8278 fi 8279 8280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8281 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8282 echo "${ECHO_T}$ac_header_compiler" >&6; } 8283 8284 # Is the header present? 8285 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8287 cat >conftest.$ac_ext <<_ACEOF 8288 /* confdefs.h. */ 8289 _ACEOF 8290 cat confdefs.h >>conftest.$ac_ext 8291 cat >>conftest.$ac_ext <<_ACEOF 8292 /* end confdefs.h. */ 8293 #include <$ac_header> 8294 _ACEOF 8295 if { (ac_try="$ac_cpp conftest.$ac_ext" 8296 case "(($ac_try" in 8297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8298 *) ac_try_echo=$ac_try;; 8299 esac 8300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8301 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8302 ac_status=$? 8303 grep -v '^ *+' conftest.er1 >conftest.err 8304 rm -f conftest.er1 8305 cat conftest.err >&5 8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8307 (exit $ac_status); } >/dev/null && { 8308 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8309 test ! -s conftest.err 8310 }; then 8311 ac_header_preproc=yes 8312 else 8313 echo "$as_me: failed program was:" >&5 8314 sed 's/^/| /' conftest.$ac_ext >&5 8315 8316 ac_header_preproc=no 8317 fi 8318 8319 rm -f conftest.err conftest.$ac_ext 8320 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8321 echo "${ECHO_T}$ac_header_preproc" >&6; } 8322 8323 # So? What about this header? 8324 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8325 yes:no: ) 8326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8329 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8330 ac_header_preproc=yes 8331 ;; 8332 no:yes:* ) 8333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8337 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8338 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8339 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8340 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8343 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8344 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8345 ( cat <<\_ASBOX 8346 ## ----------------------------------- ## 8347 ## Report this to rappture@nanohub.org ## 8348 ## ----------------------------------- ## 8349 _ASBOX 8350 ) | sed "s/^/$as_me: WARNING: /" >&2 8351 ;; 8352 esac 8353 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8356 echo $ECHO_N "(cached) $ECHO_C" >&6 8357 else 8358 eval "$as_ac_Header=\$ac_header_preproc" 8359 fi 8360 ac_res=`eval echo '${'$as_ac_Header'}'` 8361 { echo "$as_me:$LINENO: result: $ac_res" >&5 8362 echo "${ECHO_T}$ac_res" >&6; } 8363 8364 fi 8365 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5267 do : 5268 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5269 if test "x$ac_cv_header_stddef_h" = xyes; then : 8366 5270 cat >>confdefs.h <<_ACEOF 8367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8368 _ACEOF 8369 8370 else 8371 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8372 echo "$as_me: WARNING: C headers missing ?" >&2;} 8373 fi 8374 8375 done 8376 5271 #define HAVE_STDDEF_H 1 5272 _ACEOF 5273 5274 else 5275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5276 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5277 fi 5278 5279 done 8377 5280 8378 5281 for ac_header in float.h 8379 do 8380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8382 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8385 echo $ECHO_N "(cached) $ECHO_C" >&6 8386 fi 8387 ac_res=`eval echo '${'$as_ac_Header'}'` 8388 { echo "$as_me:$LINENO: result: $ac_res" >&5 8389 echo "${ECHO_T}$ac_res" >&6; } 8390 else 8391 # Is the header compilable? 8392 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8394 cat >conftest.$ac_ext <<_ACEOF 8395 /* confdefs.h. */ 8396 _ACEOF 8397 cat confdefs.h >>conftest.$ac_ext 8398 cat >>conftest.$ac_ext <<_ACEOF 8399 /* end confdefs.h. */ 8400 $ac_includes_default 8401 #include <$ac_header> 8402 _ACEOF 8403 rm -f conftest.$ac_objext 8404 if { (ac_try="$ac_compile" 8405 case "(($ac_try" in 8406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8407 *) ac_try_echo=$ac_try;; 8408 esac 8409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8410 (eval "$ac_compile") 2>conftest.er1 8411 ac_status=$? 8412 grep -v '^ *+' conftest.er1 >conftest.err 8413 rm -f conftest.er1 8414 cat conftest.err >&5 8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8416 (exit $ac_status); } && { 8417 test -z "$ac_cxx_werror_flag" || 8418 test ! -s conftest.err 8419 } && test -s conftest.$ac_objext; then 8420 ac_header_compiler=yes 8421 else 8422 echo "$as_me: failed program was:" >&5 8423 sed 's/^/| /' conftest.$ac_ext >&5 8424 8425 ac_header_compiler=no 8426 fi 8427 8428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8429 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8430 echo "${ECHO_T}$ac_header_compiler" >&6; } 8431 8432 # Is the header present? 8433 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8435 cat >conftest.$ac_ext <<_ACEOF 8436 /* confdefs.h. */ 8437 _ACEOF 8438 cat confdefs.h >>conftest.$ac_ext 8439 cat >>conftest.$ac_ext <<_ACEOF 8440 /* end confdefs.h. */ 8441 #include <$ac_header> 8442 _ACEOF 8443 if { (ac_try="$ac_cpp conftest.$ac_ext" 8444 case "(($ac_try" in 8445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8446 *) ac_try_echo=$ac_try;; 8447 esac 8448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8450 ac_status=$? 8451 grep -v '^ *+' conftest.er1 >conftest.err 8452 rm -f conftest.er1 8453 cat conftest.err >&5 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8455 (exit $ac_status); } >/dev/null && { 8456 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8457 test ! -s conftest.err 8458 }; then 8459 ac_header_preproc=yes 8460 else 8461 echo "$as_me: failed program was:" >&5 8462 sed 's/^/| /' conftest.$ac_ext >&5 8463 8464 ac_header_preproc=no 8465 fi 8466 8467 rm -f conftest.err conftest.$ac_ext 8468 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8469 echo "${ECHO_T}$ac_header_preproc" >&6; } 8470 8471 # So? What about this header? 8472 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8473 yes:no: ) 8474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8478 ac_header_preproc=yes 8479 ;; 8480 no:yes:* ) 8481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8493 ( cat <<\_ASBOX 8494 ## ----------------------------------- ## 8495 ## Report this to rappture@nanohub.org ## 8496 ## ----------------------------------- ## 8497 _ASBOX 8498 ) | sed "s/^/$as_me: WARNING: /" >&2 8499 ;; 8500 esac 8501 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8504 echo $ECHO_N "(cached) $ECHO_C" >&6 8505 else 8506 eval "$as_ac_Header=\$ac_header_preproc" 8507 fi 8508 ac_res=`eval echo '${'$as_ac_Header'}'` 8509 { echo "$as_me:$LINENO: result: $ac_res" >&5 8510 echo "${ECHO_T}$ac_res" >&6; } 8511 8512 fi 8513 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5282 do : 5283 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5284 if test "x$ac_cv_header_float_h" = xyes; then : 8514 5285 cat >>confdefs.h <<_ACEOF 8515 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8516 _ACEOF 8517 8518 else 8519 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8520 echo "$as_me: WARNING: C headers missing ?" >&2;} 8521 fi 8522 8523 done 8524 5286 #define HAVE_FLOAT_H 1 5287 _ACEOF 5288 5289 else 5290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5291 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5292 fi 5293 5294 done 8525 5295 8526 5296 for ac_header in math.h 8527 do 8528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8529 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8530 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8533 echo $ECHO_N "(cached) $ECHO_C" >&6 8534 fi 8535 ac_res=`eval echo '${'$as_ac_Header'}'` 8536 { echo "$as_me:$LINENO: result: $ac_res" >&5 8537 echo "${ECHO_T}$ac_res" >&6; } 8538 else 8539 # Is the header compilable? 8540 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8542 cat >conftest.$ac_ext <<_ACEOF 8543 /* confdefs.h. */ 8544 _ACEOF 8545 cat confdefs.h >>conftest.$ac_ext 8546 cat >>conftest.$ac_ext <<_ACEOF 8547 /* end confdefs.h. */ 8548 $ac_includes_default 8549 #include <$ac_header> 8550 _ACEOF 8551 rm -f conftest.$ac_objext 8552 if { (ac_try="$ac_compile" 8553 case "(($ac_try" in 8554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8555 *) ac_try_echo=$ac_try;; 8556 esac 8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8558 (eval "$ac_compile") 2>conftest.er1 8559 ac_status=$? 8560 grep -v '^ *+' conftest.er1 >conftest.err 8561 rm -f conftest.er1 8562 cat conftest.err >&5 8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8564 (exit $ac_status); } && { 8565 test -z "$ac_cxx_werror_flag" || 8566 test ! -s conftest.err 8567 } && test -s conftest.$ac_objext; then 8568 ac_header_compiler=yes 8569 else 8570 echo "$as_me: failed program was:" >&5 8571 sed 's/^/| /' conftest.$ac_ext >&5 8572 8573 ac_header_compiler=no 8574 fi 8575 8576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8577 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8578 echo "${ECHO_T}$ac_header_compiler" >&6; } 8579 8580 # Is the header present? 8581 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8583 cat >conftest.$ac_ext <<_ACEOF 8584 /* confdefs.h. */ 8585 _ACEOF 8586 cat confdefs.h >>conftest.$ac_ext 8587 cat >>conftest.$ac_ext <<_ACEOF 8588 /* end confdefs.h. */ 8589 #include <$ac_header> 8590 _ACEOF 8591 if { (ac_try="$ac_cpp conftest.$ac_ext" 8592 case "(($ac_try" in 8593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8594 *) ac_try_echo=$ac_try;; 8595 esac 8596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8598 ac_status=$? 8599 grep -v '^ *+' conftest.er1 >conftest.err 8600 rm -f conftest.er1 8601 cat conftest.err >&5 8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8603 (exit $ac_status); } >/dev/null && { 8604 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8605 test ! -s conftest.err 8606 }; then 8607 ac_header_preproc=yes 8608 else 8609 echo "$as_me: failed program was:" >&5 8610 sed 's/^/| /' conftest.$ac_ext >&5 8611 8612 ac_header_preproc=no 8613 fi 8614 8615 rm -f conftest.err conftest.$ac_ext 8616 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8617 echo "${ECHO_T}$ac_header_preproc" >&6; } 8618 8619 # So? What about this header? 8620 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8621 yes:no: ) 8622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8626 ac_header_preproc=yes 8627 ;; 8628 no:yes:* ) 8629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8641 ( cat <<\_ASBOX 8642 ## ----------------------------------- ## 8643 ## Report this to rappture@nanohub.org ## 8644 ## ----------------------------------- ## 8645 _ASBOX 8646 ) | sed "s/^/$as_me: WARNING: /" >&2 8647 ;; 8648 esac 8649 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8652 echo $ECHO_N "(cached) $ECHO_C" >&6 8653 else 8654 eval "$as_ac_Header=\$ac_header_preproc" 8655 fi 8656 ac_res=`eval echo '${'$as_ac_Header'}'` 8657 { echo "$as_me:$LINENO: result: $ac_res" >&5 8658 echo "${ECHO_T}$ac_res" >&6; } 8659 8660 fi 8661 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5297 do : 5298 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5299 if test "x$ac_cv_header_math_h" = xyes; then : 8662 5300 cat >>confdefs.h <<_ACEOF 8663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8664 _ACEOF 8665 8666 else 8667 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8668 echo "$as_me: WARNING: C headers missing ?" >&2;} 8669 fi 8670 8671 done 8672 5301 #define HAVE_MATH_H 1 5302 _ACEOF 5303 5304 else 5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5306 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5307 fi 5308 5309 done 8673 5310 8674 5311 for ac_header in malloc.h 8675 do 8676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8677 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8678 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8681 echo $ECHO_N "(cached) $ECHO_C" >&6 8682 fi 8683 ac_res=`eval echo '${'$as_ac_Header'}'` 8684 { echo "$as_me:$LINENO: result: $ac_res" >&5 8685 echo "${ECHO_T}$ac_res" >&6; } 8686 else 8687 # Is the header compilable? 8688 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8689 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8690 cat >conftest.$ac_ext <<_ACEOF 8691 /* confdefs.h. */ 8692 _ACEOF 8693 cat confdefs.h >>conftest.$ac_ext 8694 cat >>conftest.$ac_ext <<_ACEOF 8695 /* end confdefs.h. */ 8696 $ac_includes_default 8697 #include <$ac_header> 8698 _ACEOF 8699 rm -f conftest.$ac_objext 8700 if { (ac_try="$ac_compile" 8701 case "(($ac_try" in 8702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8703 *) ac_try_echo=$ac_try;; 8704 esac 8705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8706 (eval "$ac_compile") 2>conftest.er1 8707 ac_status=$? 8708 grep -v '^ *+' conftest.er1 >conftest.err 8709 rm -f conftest.er1 8710 cat conftest.err >&5 8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8712 (exit $ac_status); } && { 8713 test -z "$ac_cxx_werror_flag" || 8714 test ! -s conftest.err 8715 } && test -s conftest.$ac_objext; then 8716 ac_header_compiler=yes 8717 else 8718 echo "$as_me: failed program was:" >&5 8719 sed 's/^/| /' conftest.$ac_ext >&5 8720 8721 ac_header_compiler=no 8722 fi 8723 8724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8725 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8726 echo "${ECHO_T}$ac_header_compiler" >&6; } 8727 8728 # Is the header present? 8729 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8731 cat >conftest.$ac_ext <<_ACEOF 8732 /* confdefs.h. */ 8733 _ACEOF 8734 cat confdefs.h >>conftest.$ac_ext 8735 cat >>conftest.$ac_ext <<_ACEOF 8736 /* end confdefs.h. */ 8737 #include <$ac_header> 8738 _ACEOF 8739 if { (ac_try="$ac_cpp conftest.$ac_ext" 8740 case "(($ac_try" in 8741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8742 *) ac_try_echo=$ac_try;; 8743 esac 8744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8746 ac_status=$? 8747 grep -v '^ *+' conftest.er1 >conftest.err 8748 rm -f conftest.er1 8749 cat conftest.err >&5 8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8751 (exit $ac_status); } >/dev/null && { 8752 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8753 test ! -s conftest.err 8754 }; then 8755 ac_header_preproc=yes 8756 else 8757 echo "$as_me: failed program was:" >&5 8758 sed 's/^/| /' conftest.$ac_ext >&5 8759 8760 ac_header_preproc=no 8761 fi 8762 8763 rm -f conftest.err conftest.$ac_ext 8764 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8765 echo "${ECHO_T}$ac_header_preproc" >&6; } 8766 8767 # So? What about this header? 8768 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8769 yes:no: ) 8770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8774 ac_header_preproc=yes 8775 ;; 8776 no:yes:* ) 8777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8789 ( cat <<\_ASBOX 8790 ## ----------------------------------- ## 8791 ## Report this to rappture@nanohub.org ## 8792 ## ----------------------------------- ## 8793 _ASBOX 8794 ) | sed "s/^/$as_me: WARNING: /" >&2 8795 ;; 8796 esac 8797 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8800 echo $ECHO_N "(cached) $ECHO_C" >&6 8801 else 8802 eval "$as_ac_Header=\$ac_header_preproc" 8803 fi 8804 ac_res=`eval echo '${'$as_ac_Header'}'` 8805 { echo "$as_me:$LINENO: result: $ac_res" >&5 8806 echo "${ECHO_T}$ac_res" >&6; } 8807 8808 fi 8809 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5312 do : 5313 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5314 if test "x$ac_cv_header_malloc_h" = xyes; then : 8810 5315 cat >>confdefs.h <<_ACEOF 8811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8812 _ACEOF 8813 8814 else 8815 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8816 echo "$as_me: WARNING: C headers missing ?" >&2;} 8817 fi 8818 8819 done 8820 5316 #define HAVE_MALLOC_H 1 5317 _ACEOF 5318 5319 else 5320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5321 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5322 fi 5323 5324 done 8821 5325 8822 5326 for ac_header in memory.h 8823 do 8824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8826 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8829 echo $ECHO_N "(cached) $ECHO_C" >&6 8830 fi 8831 ac_res=`eval echo '${'$as_ac_Header'}'` 8832 { echo "$as_me:$LINENO: result: $ac_res" >&5 8833 echo "${ECHO_T}$ac_res" >&6; } 8834 else 8835 # Is the header compilable? 8836 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8838 cat >conftest.$ac_ext <<_ACEOF 8839 /* confdefs.h. */ 8840 _ACEOF 8841 cat confdefs.h >>conftest.$ac_ext 8842 cat >>conftest.$ac_ext <<_ACEOF 8843 /* end confdefs.h. */ 8844 $ac_includes_default 8845 #include <$ac_header> 8846 _ACEOF 8847 rm -f conftest.$ac_objext 8848 if { (ac_try="$ac_compile" 8849 case "(($ac_try" in 8850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8851 *) ac_try_echo=$ac_try;; 8852 esac 8853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8854 (eval "$ac_compile") 2>conftest.er1 8855 ac_status=$? 8856 grep -v '^ *+' conftest.er1 >conftest.err 8857 rm -f conftest.er1 8858 cat conftest.err >&5 8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8860 (exit $ac_status); } && { 8861 test -z "$ac_cxx_werror_flag" || 8862 test ! -s conftest.err 8863 } && test -s conftest.$ac_objext; then 8864 ac_header_compiler=yes 8865 else 8866 echo "$as_me: failed program was:" >&5 8867 sed 's/^/| /' conftest.$ac_ext >&5 8868 8869 ac_header_compiler=no 8870 fi 8871 8872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8873 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8874 echo "${ECHO_T}$ac_header_compiler" >&6; } 8875 8876 # Is the header present? 8877 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8879 cat >conftest.$ac_ext <<_ACEOF 8880 /* confdefs.h. */ 8881 _ACEOF 8882 cat confdefs.h >>conftest.$ac_ext 8883 cat >>conftest.$ac_ext <<_ACEOF 8884 /* end confdefs.h. */ 8885 #include <$ac_header> 8886 _ACEOF 8887 if { (ac_try="$ac_cpp conftest.$ac_ext" 8888 case "(($ac_try" in 8889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8890 *) ac_try_echo=$ac_try;; 8891 esac 8892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8894 ac_status=$? 8895 grep -v '^ *+' conftest.er1 >conftest.err 8896 rm -f conftest.er1 8897 cat conftest.err >&5 8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8899 (exit $ac_status); } >/dev/null && { 8900 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8901 test ! -s conftest.err 8902 }; then 8903 ac_header_preproc=yes 8904 else 8905 echo "$as_me: failed program was:" >&5 8906 sed 's/^/| /' conftest.$ac_ext >&5 8907 8908 ac_header_preproc=no 8909 fi 8910 8911 rm -f conftest.err conftest.$ac_ext 8912 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8913 echo "${ECHO_T}$ac_header_preproc" >&6; } 8914 8915 # So? What about this header? 8916 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8917 yes:no: ) 8918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8922 ac_header_preproc=yes 8923 ;; 8924 no:yes:* ) 8925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8937 ( cat <<\_ASBOX 8938 ## ----------------------------------- ## 8939 ## Report this to rappture@nanohub.org ## 8940 ## ----------------------------------- ## 8941 _ASBOX 8942 ) | sed "s/^/$as_me: WARNING: /" >&2 8943 ;; 8944 esac 8945 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8948 echo $ECHO_N "(cached) $ECHO_C" >&6 8949 else 8950 eval "$as_ac_Header=\$ac_header_preproc" 8951 fi 8952 ac_res=`eval echo '${'$as_ac_Header'}'` 8953 { echo "$as_me:$LINENO: result: $ac_res" >&5 8954 echo "${ECHO_T}$ac_res" >&6; } 8955 8956 fi 8957 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5327 do : 5328 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5329 if test "x$ac_cv_header_memory_h" = xyes; then : 8958 5330 cat >>confdefs.h <<_ACEOF 8959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8960 _ACEOF 8961 8962 else 8963 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8964 echo "$as_me: WARNING: C headers missing ?" >&2;} 8965 fi 8966 8967 done 8968 5331 #define HAVE_MEMORY_H 1 5332 _ACEOF 5333 5334 else 5335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5336 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5337 fi 5338 5339 done 8969 5340 8970 5341 for ac_header in unistd.h 8971 do 8972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8974 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8976 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8977 echo $ECHO_N "(cached) $ECHO_C" >&6 8978 fi 8979 ac_res=`eval echo '${'$as_ac_Header'}'` 8980 { echo "$as_me:$LINENO: result: $ac_res" >&5 8981 echo "${ECHO_T}$ac_res" >&6; } 8982 else 8983 # Is the header compilable? 8984 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8986 cat >conftest.$ac_ext <<_ACEOF 8987 /* confdefs.h. */ 8988 _ACEOF 8989 cat confdefs.h >>conftest.$ac_ext 8990 cat >>conftest.$ac_ext <<_ACEOF 8991 /* end confdefs.h. */ 8992 $ac_includes_default 8993 #include <$ac_header> 8994 _ACEOF 8995 rm -f conftest.$ac_objext 8996 if { (ac_try="$ac_compile" 8997 case "(($ac_try" in 8998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8999 *) ac_try_echo=$ac_try;; 9000 esac 9001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9002 (eval "$ac_compile") 2>conftest.er1 9003 ac_status=$? 9004 grep -v '^ *+' conftest.er1 >conftest.err 9005 rm -f conftest.er1 9006 cat conftest.err >&5 9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9008 (exit $ac_status); } && { 9009 test -z "$ac_cxx_werror_flag" || 9010 test ! -s conftest.err 9011 } && test -s conftest.$ac_objext; then 9012 ac_header_compiler=yes 9013 else 9014 echo "$as_me: failed program was:" >&5 9015 sed 's/^/| /' conftest.$ac_ext >&5 9016 9017 ac_header_compiler=no 9018 fi 9019 9020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9021 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9022 echo "${ECHO_T}$ac_header_compiler" >&6; } 9023 9024 # Is the header present? 9025 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9027 cat >conftest.$ac_ext <<_ACEOF 9028 /* confdefs.h. */ 9029 _ACEOF 9030 cat confdefs.h >>conftest.$ac_ext 9031 cat >>conftest.$ac_ext <<_ACEOF 9032 /* end confdefs.h. */ 9033 #include <$ac_header> 9034 _ACEOF 9035 if { (ac_try="$ac_cpp conftest.$ac_ext" 9036 case "(($ac_try" in 9037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9038 *) ac_try_echo=$ac_try;; 9039 esac 9040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9042 ac_status=$? 9043 grep -v '^ *+' conftest.er1 >conftest.err 9044 rm -f conftest.er1 9045 cat conftest.err >&5 9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9047 (exit $ac_status); } >/dev/null && { 9048 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9049 test ! -s conftest.err 9050 }; then 9051 ac_header_preproc=yes 9052 else 9053 echo "$as_me: failed program was:" >&5 9054 sed 's/^/| /' conftest.$ac_ext >&5 9055 9056 ac_header_preproc=no 9057 fi 9058 9059 rm -f conftest.err conftest.$ac_ext 9060 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9061 echo "${ECHO_T}$ac_header_preproc" >&6; } 9062 9063 # So? What about this header? 9064 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9065 yes:no: ) 9066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9070 ac_header_preproc=yes 9071 ;; 9072 no:yes:* ) 9073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9085 ( cat <<\_ASBOX 9086 ## ----------------------------------- ## 9087 ## Report this to rappture@nanohub.org ## 9088 ## ----------------------------------- ## 9089 _ASBOX 9090 ) | sed "s/^/$as_me: WARNING: /" >&2 9091 ;; 9092 esac 9093 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9095 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9096 echo $ECHO_N "(cached) $ECHO_C" >&6 9097 else 9098 eval "$as_ac_Header=\$ac_header_preproc" 9099 fi 9100 ac_res=`eval echo '${'$as_ac_Header'}'` 9101 { echo "$as_me:$LINENO: result: $ac_res" >&5 9102 echo "${ECHO_T}$ac_res" >&6; } 9103 9104 fi 9105 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5342 do : 5343 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5344 if test "x$ac_cv_header_unistd_h" = xyes; then : 9106 5345 cat >>confdefs.h <<_ACEOF 9107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9108 _ACEOF 9109 9110 else 9111 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 9112 echo "$as_me: WARNING: C headers missing ?" >&2;} 9113 fi 9114 9115 done 9116 5346 #define HAVE_UNISTD_H 1 5347 _ACEOF 5348 5349 else 5350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5351 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 5352 fi 5353 5354 done 9117 5355 9118 5356 9119 5357 for ac_header in inttypes.h 9120 do 9121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9123 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9126 echo $ECHO_N "(cached) $ECHO_C" >&6 9127 fi 9128 ac_res=`eval echo '${'$as_ac_Header'}'` 9129 { echo "$as_me:$LINENO: result: $ac_res" >&5 9130 echo "${ECHO_T}$ac_res" >&6; } 9131 else 9132 # Is the header compilable? 9133 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9134 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9135 cat >conftest.$ac_ext <<_ACEOF 9136 /* confdefs.h. */ 9137 _ACEOF 9138 cat confdefs.h >>conftest.$ac_ext 9139 cat >>conftest.$ac_ext <<_ACEOF 9140 /* end confdefs.h. */ 9141 $ac_includes_default 9142 #include <$ac_header> 9143 _ACEOF 9144 rm -f conftest.$ac_objext 9145 if { (ac_try="$ac_compile" 9146 case "(($ac_try" in 9147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9148 *) ac_try_echo=$ac_try;; 9149 esac 9150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9151 (eval "$ac_compile") 2>conftest.er1 9152 ac_status=$? 9153 grep -v '^ *+' conftest.er1 >conftest.err 9154 rm -f conftest.er1 9155 cat conftest.err >&5 9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9157 (exit $ac_status); } && { 9158 test -z "$ac_cxx_werror_flag" || 9159 test ! -s conftest.err 9160 } && test -s conftest.$ac_objext; then 9161 ac_header_compiler=yes 9162 else 9163 echo "$as_me: failed program was:" >&5 9164 sed 's/^/| /' conftest.$ac_ext >&5 9165 9166 ac_header_compiler=no 9167 fi 9168 9169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9170 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9171 echo "${ECHO_T}$ac_header_compiler" >&6; } 9172 9173 # Is the header present? 9174 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9176 cat >conftest.$ac_ext <<_ACEOF 9177 /* confdefs.h. */ 9178 _ACEOF 9179 cat confdefs.h >>conftest.$ac_ext 9180 cat >>conftest.$ac_ext <<_ACEOF 9181 /* end confdefs.h. */ 9182 #include <$ac_header> 9183 _ACEOF 9184 if { (ac_try="$ac_cpp conftest.$ac_ext" 9185 case "(($ac_try" in 9186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9187 *) ac_try_echo=$ac_try;; 9188 esac 9189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9191 ac_status=$? 9192 grep -v '^ *+' conftest.er1 >conftest.err 9193 rm -f conftest.er1 9194 cat conftest.err >&5 9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9196 (exit $ac_status); } >/dev/null && { 9197 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9198 test ! -s conftest.err 9199 }; then 9200 ac_header_preproc=yes 9201 else 9202 echo "$as_me: failed program was:" >&5 9203 sed 's/^/| /' conftest.$ac_ext >&5 9204 9205 ac_header_preproc=no 9206 fi 9207 9208 rm -f conftest.err conftest.$ac_ext 9209 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9210 echo "${ECHO_T}$ac_header_preproc" >&6; } 9211 9212 # So? What about this header? 9213 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9214 yes:no: ) 9215 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9216 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9218 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9219 ac_header_preproc=yes 9220 ;; 9221 no:yes:* ) 9222 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9224 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9225 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9226 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9227 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9228 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9229 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9231 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9232 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9233 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9234 ( cat <<\_ASBOX 9235 ## ----------------------------------- ## 9236 ## Report this to rappture@nanohub.org ## 9237 ## ----------------------------------- ## 9238 _ASBOX 9239 ) | sed "s/^/$as_me: WARNING: /" >&2 9240 ;; 9241 esac 9242 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9245 echo $ECHO_N "(cached) $ECHO_C" >&6 9246 else 9247 eval "$as_ac_Header=\$ac_header_preproc" 9248 fi 9249 ac_res=`eval echo '${'$as_ac_Header'}'` 9250 { echo "$as_me:$LINENO: result: $ac_res" >&5 9251 echo "${ECHO_T}$ac_res" >&6; } 9252 9253 fi 9254 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5358 do : 5359 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5360 if test "x$ac_cv_header_inttypes_h" = xyes; then : 9255 5361 cat >>confdefs.h <<_ACEOF 9256 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19257 _ACEOF 9258 9259 else 9260 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59261 echo "$as_me: WARNING: C headers missing ?" >&2;}5362 #define HAVE_INTTYPES_H 1 5363 _ACEOF 5364 5365 else 5366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5367 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9262 5368 fi 9263 5369 … … 9276 5382 # Step 0.a: Enable 64 bit support? 9277 5383 9278 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&59279 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 5385 $as_echo_n "checking if 64bit support is requested... " >&6; } 9280 5386 # Check whether --enable-64bit was given. 9281 if test "${enable_64bit+set}" = set; then 5387 if test "${enable_64bit+set}" = set; then : 9282 5388 enableval=$enable_64bit; do64bit=$enableval 9283 5389 else … … 9285 5391 fi 9286 5392 9287 { echo "$as_me:$LINENO: result: $do64bit" >&59288 echo "${ECHO_T}$do64bit" >&6; }5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 5394 $as_echo "$do64bit" >&6; } 9289 5395 9290 5396 # Step 0.b: Enable Solaris 64 bit VIS support? 9291 5397 9292 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&59293 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 5399 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9294 5400 # Check whether --enable-64bit-vis was given. 9295 if test "${enable_64bit_vis+set}" = set; then 5401 if test "${enable_64bit_vis+set}" = set; then : 9296 5402 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9297 5403 else … … 9299 5405 fi 9300 5406 9301 { echo "$as_me:$LINENO: result: $do64bitVIS" >&59302 echo "${ECHO_T}$do64bitVIS" >&6; }5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 5408 $as_echo "$do64bitVIS" >&6; } 9303 5409 9304 5410 if test "$do64bitVIS" = "yes"; then … … 9311 5417 9312 5418 9313 { echo "$as_me:$LINENO: checking system version" >&59314 echo $ECHO_N "checking system version... $ECHO_C" >&6; }9315 if test "${tcl_cv_sys_version+set}" = set; then9316 echo $ECHO_N "(cached) $ECHO_C" >&65419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 5420 $as_echo_n "checking system version... " >&6; } 5421 if ${tcl_cv_sys_version+:} false; then : 5422 $as_echo_n "(cached) " >&6 9317 5423 else 9318 5424 … … 9322 5428 tcl_cv_sys_version=`uname -s`-`uname -r` 9323 5429 if test "$?" -ne 0 ; then 9324 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&59325 echo "$as_me: WARNING: can't find uname command" >&2;}5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 5431 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9326 5432 tcl_cv_sys_version=unknown 9327 5433 else … … 9339 5445 9340 5446 fi 9341 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&59342 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 5448 $as_echo "$tcl_cv_sys_version" >&6; } 9343 5449 system=$tcl_cv_sys_version 9344 5450 … … 9347 5453 # Linux can use either -ldl or -ldld for dynamic loading. 9348 5454 9349 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&59350 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }9351 if test "${ac_cv_lib_dl_dlopen+set}" = set; then9352 echo $ECHO_N "(cached) $ECHO_C" >&65455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5456 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5457 if ${ac_cv_lib_dl_dlopen+:} false; then : 5458 $as_echo_n "(cached) " >&6 9353 5459 else 9354 5460 ac_check_lib_save_LIBS=$LIBS 9355 5461 LIBS="-ldl $LIBS" 9356 cat >conftest.$ac_ext <<_ACEOF 9357 /* confdefs.h. */ 9358 _ACEOF 9359 cat confdefs.h >>conftest.$ac_ext 9360 cat >>conftest.$ac_ext <<_ACEOF 5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9361 5463 /* end confdefs.h. */ 9362 5464 … … 9376 5478 } 9377 5479 _ACEOF 9378 rm -f conftest.$ac_objext conftest$ac_exeext 9379 if { (ac_try="$ac_link" 9380 case "(($ac_try" in 9381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9382 *) ac_try_echo=$ac_try;; 9383 esac 9384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9385 (eval "$ac_link") 2>conftest.er1 9386 ac_status=$? 9387 grep -v '^ *+' conftest.er1 >conftest.err 9388 rm -f conftest.er1 9389 cat conftest.err >&5 9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9391 (exit $ac_status); } && { 9392 test -z "$ac_cxx_werror_flag" || 9393 test ! -s conftest.err 9394 } && test -s conftest$ac_exeext && 9395 $as_test_x conftest$ac_exeext; then 5480 if ac_fn_cxx_try_link "$LINENO"; then : 9396 5481 ac_cv_lib_dl_dlopen=yes 9397 5482 else 9398 echo "$as_me: failed program was:" >&5 9399 sed 's/^/| /' conftest.$ac_ext >&5 9400 9401 ac_cv_lib_dl_dlopen=no 9402 fi 9403 9404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9405 conftest$ac_exeext conftest.$ac_ext 5483 ac_cv_lib_dl_dlopen=no 5484 fi 5485 rm -f core conftest.err conftest.$ac_objext \ 5486 conftest$ac_exeext conftest.$ac_ext 9406 5487 LIBS=$ac_check_lib_save_LIBS 9407 5488 fi 9408 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&59409 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }9410 if test $ac_cv_lib_dl_dlopen = yes; then5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5490 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5491 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 9411 5492 have_dl=yes 9412 5493 else … … 9440 5521 # Extract the first word of "ar", so it can be a program name with args. 9441 5522 set dummy ar; ac_word=$2 9442 { echo "$as_me:$LINENO: checking for $ac_word" >&59443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }9444 if test "${ac_cv_prog_AR+set}" = set; then9445 echo $ECHO_N "(cached) $ECHO_C" >&65523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5524 $as_echo_n "checking for $ac_word... " >&6; } 5525 if ${ac_cv_prog_AR+:} false; then : 5526 $as_echo_n "(cached) " >&6 9446 5527 else 9447 5528 if test -n "$AR"; then … … 9453 5534 IFS=$as_save_IFS 9454 5535 test -z "$as_dir" && as_dir=. 9455 for ac_exec_ext in '' $ac_executable_extensions; do5536 for ac_exec_ext in '' $ac_executable_extensions; do 9456 5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9457 5538 ac_cv_prog_AR="ar" 9458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9459 5540 break 2 9460 5541 fi 9461 5542 done 9462 done5543 done 9463 5544 IFS=$as_save_IFS 9464 5545 … … 9467 5548 AR=$ac_cv_prog_AR 9468 5549 if test -n "$AR"; then 9469 { echo "$as_me:$LINENO: result: $AR" >&59470 echo "${ECHO_T}$AR" >&6; }9471 else 9472 { echo "$as_me:$LINENO: result: no" >&59473 echo "${ECHO_T}no" >&6; }5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5551 $as_echo "$AR" >&6; } 5552 else 5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5554 $as_echo "no" >&6; } 9474 5555 fi 9475 5556 9476 5557 9477 5558 if test "${AR}" = "" ; then 9478 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9479 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9480 { (exit 1); exit 1; }; } 5559 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9481 5560 fi 9482 5561 STLIB_LD='${AR} cr' … … 9496 5575 ;; 9497 5576 esac 9498 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&59499 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 5578 $as_echo "Using $CC for compiling with threads" >&6; } 9500 5579 fi 9501 5580 LIBS="$LIBS -lc" … … 9512 5591 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 9513 5592 if test "$GCC" = "yes" ; then 9514 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59515 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5594 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9516 5595 else 9517 5596 do64bit_ok=yes … … 9567 5646 # known GMT value. 9568 5647 9569 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&59570 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }9571 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then9572 echo $ECHO_N "(cached) $ECHO_C" >&65648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 5649 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5650 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 5651 $as_echo_n "(cached) " >&6 9573 5652 else 9574 5653 ac_check_lib_save_LIBS=$LIBS 9575 5654 LIBS="-lbsd $LIBS" 9576 cat >conftest.$ac_ext <<_ACEOF 9577 /* confdefs.h. */ 9578 _ACEOF 9579 cat confdefs.h >>conftest.$ac_ext 9580 cat >>conftest.$ac_ext <<_ACEOF 5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9581 5656 /* end confdefs.h. */ 9582 5657 … … 9596 5671 } 9597 5672 _ACEOF 9598 rm -f conftest.$ac_objext conftest$ac_exeext 9599 if { (ac_try="$ac_link" 9600 case "(($ac_try" in 9601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9602 *) ac_try_echo=$ac_try;; 9603 esac 9604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9605 (eval "$ac_link") 2>conftest.er1 9606 ac_status=$? 9607 grep -v '^ *+' conftest.er1 >conftest.err 9608 rm -f conftest.er1 9609 cat conftest.err >&5 9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9611 (exit $ac_status); } && { 9612 test -z "$ac_cxx_werror_flag" || 9613 test ! -s conftest.err 9614 } && test -s conftest$ac_exeext && 9615 $as_test_x conftest$ac_exeext; then 5673 if ac_fn_cxx_try_link "$LINENO"; then : 9616 5674 ac_cv_lib_bsd_gettimeofday=yes 9617 5675 else 9618 echo "$as_me: failed program was:" >&5 9619 sed 's/^/| /' conftest.$ac_ext >&5 9620 9621 ac_cv_lib_bsd_gettimeofday=no 9622 fi 9623 9624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9625 conftest$ac_exeext conftest.$ac_ext 5676 ac_cv_lib_bsd_gettimeofday=no 5677 fi 5678 rm -f core conftest.err conftest.$ac_objext \ 5679 conftest$ac_exeext conftest.$ac_ext 9626 5680 LIBS=$ac_check_lib_save_LIBS 9627 5681 fi 9628 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&59629 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }9630 if test $ac_cv_lib_bsd_gettimeofday = yes; then5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 5683 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5684 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 9631 5685 libbsd=yes 9632 5686 else … … 9636 5690 if test $libbsd = yes; then 9637 5691 MATH_LIBS="$MATH_LIBS -lbsd" 9638 cat >>confdefs.h <<\_ACEOF 9639 #define USE_DELTA_FOR_TZ 1 9640 _ACEOF 5692 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9641 5693 9642 5694 fi … … 9655 5707 # is always linked to, for compatibility. 9656 5708 #----------------------------------------------------------- 9657 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&59658 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }9659 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then9660 echo $ECHO_N "(cached) $ECHO_C" >&65709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 5710 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5711 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 5712 $as_echo_n "(cached) " >&6 9661 5713 else 9662 5714 ac_check_lib_save_LIBS=$LIBS 9663 5715 LIBS="-lbind $LIBS" 9664 cat >conftest.$ac_ext <<_ACEOF 9665 /* confdefs.h. */ 9666 _ACEOF 9667 cat confdefs.h >>conftest.$ac_ext 9668 cat >>conftest.$ac_ext <<_ACEOF 5716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9669 5717 /* end confdefs.h. */ 9670 5718 … … 9684 5732 } 9685 5733 _ACEOF 9686 rm -f conftest.$ac_objext conftest$ac_exeext 9687 if { (ac_try="$ac_link" 9688 case "(($ac_try" in 9689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9690 *) ac_try_echo=$ac_try;; 9691 esac 9692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9693 (eval "$ac_link") 2>conftest.er1 9694 ac_status=$? 9695 grep -v '^ *+' conftest.er1 >conftest.err 9696 rm -f conftest.er1 9697 cat conftest.err >&5 9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9699 (exit $ac_status); } && { 9700 test -z "$ac_cxx_werror_flag" || 9701 test ! -s conftest.err 9702 } && test -s conftest$ac_exeext && 9703 $as_test_x conftest$ac_exeext; then 5734 if ac_fn_cxx_try_link "$LINENO"; then : 9704 5735 ac_cv_lib_bind_inet_ntoa=yes 9705 5736 else 9706 echo "$as_me: failed program was:" >&5 9707 sed 's/^/| /' conftest.$ac_ext >&5 9708 9709 ac_cv_lib_bind_inet_ntoa=no 9710 fi 9711 9712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9713 conftest$ac_exeext conftest.$ac_ext 5737 ac_cv_lib_bind_inet_ntoa=no 5738 fi 5739 rm -f core conftest.err conftest.$ac_objext \ 5740 conftest$ac_exeext conftest.$ac_ext 9714 5741 LIBS=$ac_check_lib_save_LIBS 9715 5742 fi 9716 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&59717 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }9718 if test $ac_cv_lib_bind_inet_ntoa = yes; then5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 5744 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5745 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 9719 5746 LIBS="$LIBS -lbind -lsocket" 9720 5747 fi … … 9754 5781 HP-UX-*.11.*) 9755 5782 # Use updated header definitions where possible 9756 cat >>confdefs.h <<\_ACEOF 9757 #define _XOPEN_SOURCE 1 9758 _ACEOF 5783 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9759 5784 # Use the XOPEN network library 9760 cat >>confdefs.h <<\_ACEOF 9761 #define _XOPEN_SOURCE_EXTENDED 1 9762 _ACEOF 5785 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9763 5786 # Use the XOPEN network library 9764 5787 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 9769 5792 SHLIB_SUFFIX=".sl" 9770 5793 fi 9771 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59772 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9773 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9774 echo $ECHO_N "(cached) $ECHO_C" >&65794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5795 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5796 if ${ac_cv_lib_dld_shl_load+:} false; then : 5797 $as_echo_n "(cached) " >&6 9775 5798 else 9776 5799 ac_check_lib_save_LIBS=$LIBS 9777 5800 LIBS="-ldld $LIBS" 9778 cat >conftest.$ac_ext <<_ACEOF 9779 /* confdefs.h. */ 9780 _ACEOF 9781 cat confdefs.h >>conftest.$ac_ext 9782 cat >>conftest.$ac_ext <<_ACEOF 5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9783 5802 /* end confdefs.h. */ 9784 5803 … … 9798 5817 } 9799 5818 _ACEOF 9800 rm -f conftest.$ac_objext conftest$ac_exeext 9801 if { (ac_try="$ac_link" 9802 case "(($ac_try" in 9803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9804 *) ac_try_echo=$ac_try;; 9805 esac 9806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9807 (eval "$ac_link") 2>conftest.er1 9808 ac_status=$? 9809 grep -v '^ *+' conftest.er1 >conftest.err 9810 rm -f conftest.er1 9811 cat conftest.err >&5 9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9813 (exit $ac_status); } && { 9814 test -z "$ac_cxx_werror_flag" || 9815 test ! -s conftest.err 9816 } && test -s conftest$ac_exeext && 9817 $as_test_x conftest$ac_exeext; then 5819 if ac_fn_cxx_try_link "$LINENO"; then : 9818 5820 ac_cv_lib_dld_shl_load=yes 9819 5821 else 9820 echo "$as_me: failed program was:" >&5 9821 sed 's/^/| /' conftest.$ac_ext >&5 9822 9823 ac_cv_lib_dld_shl_load=no 9824 fi 9825 9826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9827 conftest$ac_exeext conftest.$ac_ext 5822 ac_cv_lib_dld_shl_load=no 5823 fi 5824 rm -f core conftest.err conftest.$ac_objext \ 5825 conftest$ac_exeext conftest.$ac_ext 9828 5826 LIBS=$ac_check_lib_save_LIBS 9829 5827 fi 9830 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59831 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9832 if test $ac_cv_lib_dld_shl_load = yes; then5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5829 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5830 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9833 5831 tcl_ok=yes 9834 5832 else … … 9870 5868 ;; 9871 5869 *) 9872 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59873 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5871 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9874 5872 ;; 9875 5873 esac … … 9883 5881 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 9884 5882 SHLIB_SUFFIX=".sl" 9885 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59886 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9887 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9888 echo $ECHO_N "(cached) $ECHO_C" >&65883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5884 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5885 if ${ac_cv_lib_dld_shl_load+:} false; then : 5886 $as_echo_n "(cached) " >&6 9889 5887 else 9890 5888 ac_check_lib_save_LIBS=$LIBS 9891 5889 LIBS="-ldld $LIBS" 9892 cat >conftest.$ac_ext <<_ACEOF 9893 /* confdefs.h. */ 9894 _ACEOF 9895 cat confdefs.h >>conftest.$ac_ext 9896 cat >>conftest.$ac_ext <<_ACEOF 5890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9897 5891 /* end confdefs.h. */ 9898 5892 … … 9912 5906 } 9913 5907 _ACEOF 9914 rm -f conftest.$ac_objext conftest$ac_exeext 9915 if { (ac_try="$ac_link" 9916 case "(($ac_try" in 9917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9918 *) ac_try_echo=$ac_try;; 9919 esac 9920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9921 (eval "$ac_link") 2>conftest.er1 9922 ac_status=$? 9923 grep -v '^ *+' conftest.er1 >conftest.err 9924 rm -f conftest.er1 9925 cat conftest.err >&5 9926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9927 (exit $ac_status); } && { 9928 test -z "$ac_cxx_werror_flag" || 9929 test ! -s conftest.err 9930 } && test -s conftest$ac_exeext && 9931 $as_test_x conftest$ac_exeext; then 5908 if ac_fn_cxx_try_link "$LINENO"; then : 9932 5909 ac_cv_lib_dld_shl_load=yes 9933 5910 else 9934 echo "$as_me: failed program was:" >&5 9935 sed 's/^/| /' conftest.$ac_ext >&5 9936 9937 ac_cv_lib_dld_shl_load=no 9938 fi 9939 9940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9941 conftest$ac_exeext conftest.$ac_ext 5911 ac_cv_lib_dld_shl_load=no 5912 fi 5913 rm -f core conftest.err conftest.$ac_objext \ 5914 conftest$ac_exeext conftest.$ac_ext 9942 5915 LIBS=$ac_check_lib_save_LIBS 9943 5916 fi 9944 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59945 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9946 if test $ac_cv_lib_dld_shl_load = yes; then5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5918 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5919 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9947 5920 tcl_ok=yes 9948 5921 else … … 10023 5996 if test "$do64bit" = "yes" ; then 10024 5997 if test "$GCC" = "yes" ; then 10025 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&510026 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 5999 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10027 6000 else 10028 6001 do64bit_ok=yes … … 10052 6025 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10053 6026 else 10054 if test "${ac_cv_header_dld_h+set}" = set; then 10055 { echo "$as_me:$LINENO: checking for dld.h" >&5 10056 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10057 if test "${ac_cv_header_dld_h+set}" = set; then 10058 echo $ECHO_N "(cached) $ECHO_C" >&6 10059 fi 10060 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10061 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10062 else 10063 # Is the header compilable? 10064 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10065 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10066 cat >conftest.$ac_ext <<_ACEOF 10067 /* confdefs.h. */ 10068 _ACEOF 10069 cat confdefs.h >>conftest.$ac_ext 10070 cat >>conftest.$ac_ext <<_ACEOF 10071 /* end confdefs.h. */ 10072 $ac_includes_default 10073 #include <dld.h> 10074 _ACEOF 10075 rm -f conftest.$ac_objext 10076 if { (ac_try="$ac_compile" 10077 case "(($ac_try" in 10078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10079 *) ac_try_echo=$ac_try;; 10080 esac 10081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10082 (eval "$ac_compile") 2>conftest.er1 10083 ac_status=$? 10084 grep -v '^ *+' conftest.er1 >conftest.err 10085 rm -f conftest.er1 10086 cat conftest.err >&5 10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10088 (exit $ac_status); } && { 10089 test -z "$ac_cxx_werror_flag" || 10090 test ! -s conftest.err 10091 } && test -s conftest.$ac_objext; then 10092 ac_header_compiler=yes 10093 else 10094 echo "$as_me: failed program was:" >&5 10095 sed 's/^/| /' conftest.$ac_ext >&5 10096 10097 ac_header_compiler=no 10098 fi 10099 10100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10101 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10102 echo "${ECHO_T}$ac_header_compiler" >&6; } 10103 10104 # Is the header present? 10105 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10106 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10107 cat >conftest.$ac_ext <<_ACEOF 10108 /* confdefs.h. */ 10109 _ACEOF 10110 cat confdefs.h >>conftest.$ac_ext 10111 cat >>conftest.$ac_ext <<_ACEOF 10112 /* end confdefs.h. */ 10113 #include <dld.h> 10114 _ACEOF 10115 if { (ac_try="$ac_cpp conftest.$ac_ext" 10116 case "(($ac_try" in 10117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10118 *) ac_try_echo=$ac_try;; 10119 esac 10120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10122 ac_status=$? 10123 grep -v '^ *+' conftest.er1 >conftest.err 10124 rm -f conftest.er1 10125 cat conftest.err >&5 10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10127 (exit $ac_status); } >/dev/null && { 10128 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10129 test ! -s conftest.err 10130 }; then 10131 ac_header_preproc=yes 10132 else 10133 echo "$as_me: failed program was:" >&5 10134 sed 's/^/| /' conftest.$ac_ext >&5 10135 10136 ac_header_preproc=no 10137 fi 10138 10139 rm -f conftest.err conftest.$ac_ext 10140 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10141 echo "${ECHO_T}$ac_header_preproc" >&6; } 10142 10143 # So? What about this header? 10144 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10145 yes:no: ) 10146 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10147 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10148 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10149 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10150 ac_header_preproc=yes 10151 ;; 10152 no:yes:* ) 10153 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10154 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10155 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10156 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10157 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10158 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10159 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10160 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10161 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10162 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10163 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10164 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10165 ( cat <<\_ASBOX 10166 ## ----------------------------------- ## 10167 ## Report this to rappture@nanohub.org ## 10168 ## ----------------------------------- ## 10169 _ASBOX 10170 ) | sed "s/^/$as_me: WARNING: /" >&2 10171 ;; 10172 esac 10173 { echo "$as_me:$LINENO: checking for dld.h" >&5 10174 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10175 if test "${ac_cv_header_dld_h+set}" = set; then 10176 echo $ECHO_N "(cached) $ECHO_C" >&6 10177 else 10178 ac_cv_header_dld_h=$ac_header_preproc 10179 fi 10180 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10181 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10182 10183 fi 10184 if test $ac_cv_header_dld_h = yes; then 6027 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6028 if test "x$ac_cv_header_dld_h" = xyes; then : 10185 6029 10186 6030 SHLIB_LD="ld -shared" … … 10197 6041 fi 10198 6042 if test $do64bit = yes; then 10199 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&510200 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }10201 if test "${tcl_cv_cc_m64+set}" = set; then10202 echo $ECHO_N "(cached) $ECHO_C" >&66043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 6044 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 6045 if ${tcl_cv_cc_m64+:} false; then : 6046 $as_echo_n "(cached) " >&6 10203 6047 else 10204 6048 10205 6049 hold_cflags=$CFLAGS 10206 6050 CFLAGS="$CFLAGS -m64" 10207 cat >conftest.$ac_ext <<_ACEOF 10208 /* confdefs.h. */ 10209 _ACEOF 10210 cat confdefs.h >>conftest.$ac_ext 10211 cat >>conftest.$ac_ext <<_ACEOF 6051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10212 6052 /* end confdefs.h. */ 10213 6053 … … 10220 6060 } 10221 6061 _ACEOF 10222 rm -f conftest.$ac_objext conftest$ac_exeext 10223 if { (ac_try="$ac_link" 10224 case "(($ac_try" in 10225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10226 *) ac_try_echo=$ac_try;; 10227 esac 10228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10229 (eval "$ac_link") 2>conftest.er1 10230 ac_status=$? 10231 grep -v '^ *+' conftest.er1 >conftest.err 10232 rm -f conftest.er1 10233 cat conftest.err >&5 10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10235 (exit $ac_status); } && { 10236 test -z "$ac_cxx_werror_flag" || 10237 test ! -s conftest.err 10238 } && test -s conftest$ac_exeext && 10239 $as_test_x conftest$ac_exeext; then 6062 if ac_fn_cxx_try_link "$LINENO"; then : 10240 6063 tcl_cv_cc_m64=yes 10241 6064 else 10242 echo "$as_me: failed program was:" >&5 10243 sed 's/^/| /' conftest.$ac_ext >&5 10244 10245 tcl_cv_cc_m64=no 10246 fi 10247 10248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10249 conftest$ac_exeext conftest.$ac_ext 6065 tcl_cv_cc_m64=no 6066 fi 6067 rm -f core conftest.err conftest.$ac_objext \ 6068 conftest$ac_exeext conftest.$ac_ext 10250 6069 CFLAGS=$hold_cflags 10251 6070 fi 10252 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&510253 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 6072 $as_echo "$tcl_cv_cc_m64" >&6; } 10254 6073 if test $tcl_cv_cc_m64 = yes; then 10255 6074 CFLAGS="$CFLAGS -m64" … … 10270 6089 10271 6090 # XIM peeking works under XFree86. 10272 cat >>confdefs.h <<\_ACEOF 10273 #define PEEK_XCLOSEIM 1 10274 _ACEOF 6091 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10275 6092 10276 6093 … … 10289 6106 LD_SEARCH_FLAGS="" 10290 6107 else 10291 if test "${ac_cv_header_dld_h+set}" = set; then 10292 { echo "$as_me:$LINENO: checking for dld.h" >&5 10293 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10294 if test "${ac_cv_header_dld_h+set}" = set; then 10295 echo $ECHO_N "(cached) $ECHO_C" >&6 10296 fi 10297 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10298 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10299 else 10300 # Is the header compilable? 10301 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10302 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10303 cat >conftest.$ac_ext <<_ACEOF 10304 /* confdefs.h. */ 10305 _ACEOF 10306 cat confdefs.h >>conftest.$ac_ext 10307 cat >>conftest.$ac_ext <<_ACEOF 10308 /* end confdefs.h. */ 10309 $ac_includes_default 10310 #include <dld.h> 10311 _ACEOF 10312 rm -f conftest.$ac_objext 10313 if { (ac_try="$ac_compile" 10314 case "(($ac_try" in 10315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10316 *) ac_try_echo=$ac_try;; 10317 esac 10318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10319 (eval "$ac_compile") 2>conftest.er1 10320 ac_status=$? 10321 grep -v '^ *+' conftest.er1 >conftest.err 10322 rm -f conftest.er1 10323 cat conftest.err >&5 10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10325 (exit $ac_status); } && { 10326 test -z "$ac_cxx_werror_flag" || 10327 test ! -s conftest.err 10328 } && test -s conftest.$ac_objext; then 10329 ac_header_compiler=yes 10330 else 10331 echo "$as_me: failed program was:" >&5 10332 sed 's/^/| /' conftest.$ac_ext >&5 10333 10334 ac_header_compiler=no 10335 fi 10336 10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10338 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10339 echo "${ECHO_T}$ac_header_compiler" >&6; } 10340 10341 # Is the header present? 10342 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10343 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10344 cat >conftest.$ac_ext <<_ACEOF 10345 /* confdefs.h. */ 10346 _ACEOF 10347 cat confdefs.h >>conftest.$ac_ext 10348 cat >>conftest.$ac_ext <<_ACEOF 10349 /* end confdefs.h. */ 10350 #include <dld.h> 10351 _ACEOF 10352 if { (ac_try="$ac_cpp conftest.$ac_ext" 10353 case "(($ac_try" in 10354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10355 *) ac_try_echo=$ac_try;; 10356 esac 10357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10359 ac_status=$? 10360 grep -v '^ *+' conftest.er1 >conftest.err 10361 rm -f conftest.er1 10362 cat conftest.err >&5 10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10364 (exit $ac_status); } >/dev/null && { 10365 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10366 test ! -s conftest.err 10367 }; then 10368 ac_header_preproc=yes 10369 else 10370 echo "$as_me: failed program was:" >&5 10371 sed 's/^/| /' conftest.$ac_ext >&5 10372 10373 ac_header_preproc=no 10374 fi 10375 10376 rm -f conftest.err conftest.$ac_ext 10377 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10378 echo "${ECHO_T}$ac_header_preproc" >&6; } 10379 10380 # So? What about this header? 10381 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10382 yes:no: ) 10383 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10384 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10385 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10386 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10387 ac_header_preproc=yes 10388 ;; 10389 no:yes:* ) 10390 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10391 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10392 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10393 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10394 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10395 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10396 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10397 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10398 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10399 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10400 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10401 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10402 ( cat <<\_ASBOX 10403 ## ----------------------------------- ## 10404 ## Report this to rappture@nanohub.org ## 10405 ## ----------------------------------- ## 10406 _ASBOX 10407 ) | sed "s/^/$as_me: WARNING: /" >&2 10408 ;; 10409 esac 10410 { echo "$as_me:$LINENO: checking for dld.h" >&5 10411 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10412 if test "${ac_cv_header_dld_h+set}" = set; then 10413 echo $ECHO_N "(cached) $ECHO_C" >&6 10414 else 10415 ac_cv_header_dld_h=$ac_header_preproc 10416 fi 10417 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10418 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10419 10420 fi 10421 if test $ac_cv_header_dld_h = yes; then 6108 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6109 if test "x$ac_cv_header_dld_h" = xyes; then : 10422 6110 10423 6111 SHLIB_LD="ld -shared" … … 10469 6157 NetBSD-*|FreeBSD-[1-2].*) 10470 6158 # Not available on all versions: check for include file. 10471 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10472 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10473 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10474 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10475 echo $ECHO_N "(cached) $ECHO_C" >&6 10476 fi 10477 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10478 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10479 else 10480 # Is the header compilable? 10481 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10482 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10483 cat >conftest.$ac_ext <<_ACEOF 10484 /* confdefs.h. */ 10485 _ACEOF 10486 cat confdefs.h >>conftest.$ac_ext 10487 cat >>conftest.$ac_ext <<_ACEOF 10488 /* end confdefs.h. */ 10489 $ac_includes_default 10490 #include <dlfcn.h> 10491 _ACEOF 10492 rm -f conftest.$ac_objext 10493 if { (ac_try="$ac_compile" 10494 case "(($ac_try" in 10495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10496 *) ac_try_echo=$ac_try;; 10497 esac 10498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10499 (eval "$ac_compile") 2>conftest.er1 10500 ac_status=$? 10501 grep -v '^ *+' conftest.er1 >conftest.err 10502 rm -f conftest.er1 10503 cat conftest.err >&5 10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10505 (exit $ac_status); } && { 10506 test -z "$ac_cxx_werror_flag" || 10507 test ! -s conftest.err 10508 } && test -s conftest.$ac_objext; then 10509 ac_header_compiler=yes 10510 else 10511 echo "$as_me: failed program was:" >&5 10512 sed 's/^/| /' conftest.$ac_ext >&5 10513 10514 ac_header_compiler=no 10515 fi 10516 10517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10518 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10519 echo "${ECHO_T}$ac_header_compiler" >&6; } 10520 10521 # Is the header present? 10522 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10523 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10524 cat >conftest.$ac_ext <<_ACEOF 10525 /* confdefs.h. */ 10526 _ACEOF 10527 cat confdefs.h >>conftest.$ac_ext 10528 cat >>conftest.$ac_ext <<_ACEOF 10529 /* end confdefs.h. */ 10530 #include <dlfcn.h> 10531 _ACEOF 10532 if { (ac_try="$ac_cpp conftest.$ac_ext" 10533 case "(($ac_try" in 10534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10535 *) ac_try_echo=$ac_try;; 10536 esac 10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10539 ac_status=$? 10540 grep -v '^ *+' conftest.er1 >conftest.err 10541 rm -f conftest.er1 10542 cat conftest.err >&5 10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10544 (exit $ac_status); } >/dev/null && { 10545 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10546 test ! -s conftest.err 10547 }; then 10548 ac_header_preproc=yes 10549 else 10550 echo "$as_me: failed program was:" >&5 10551 sed 's/^/| /' conftest.$ac_ext >&5 10552 10553 ac_header_preproc=no 10554 fi 10555 10556 rm -f conftest.err conftest.$ac_ext 10557 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10558 echo "${ECHO_T}$ac_header_preproc" >&6; } 10559 10560 # So? What about this header? 10561 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10562 yes:no: ) 10563 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10564 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10565 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10566 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10567 ac_header_preproc=yes 10568 ;; 10569 no:yes:* ) 10570 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10571 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10572 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10573 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10574 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10575 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10576 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10577 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10578 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10579 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10580 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10581 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10582 ( cat <<\_ASBOX 10583 ## ----------------------------------- ## 10584 ## Report this to rappture@nanohub.org ## 10585 ## ----------------------------------- ## 10586 _ASBOX 10587 ) | sed "s/^/$as_me: WARNING: /" >&2 10588 ;; 10589 esac 10590 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10591 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10592 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10593 echo $ECHO_N "(cached) $ECHO_C" >&6 10594 else 10595 ac_cv_header_dlfcn_h=$ac_header_preproc 10596 fi 10597 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10598 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10599 10600 fi 10601 if test $ac_cv_header_dlfcn_h = yes; then 6159 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6160 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10602 6161 10603 6162 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 10610 6169 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10611 6170 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10612 { echo "$as_me:$LINENO: checking for ELF" >&5 10613 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10614 if test "${tcl_cv_ld_elf+set}" = set; then 10615 echo $ECHO_N "(cached) $ECHO_C" >&6 10616 else 10617 10618 cat >conftest.$ac_ext <<_ACEOF 10619 /* confdefs.h. */ 10620 _ACEOF 10621 cat confdefs.h >>conftest.$ac_ext 10622 cat >>conftest.$ac_ext <<_ACEOF 6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6172 $as_echo_n "checking for ELF... " >&6; } 6173 if ${tcl_cv_ld_elf+:} false; then : 6174 $as_echo_n "(cached) " >&6 6175 else 6176 6177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10623 6178 /* end confdefs.h. */ 10624 6179 … … 10629 6184 _ACEOF 10630 6185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10631 $EGREP "yes" >/dev/null 2>&1; then 6186 $EGREP "yes" >/dev/null 2>&1; then : 10632 6187 tcl_cv_ld_elf=yes 10633 6188 else 10634 6189 tcl_cv_ld_elf=no 10635 6190 fi 10636 rm -f -rconftest*10637 10638 fi 10639 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510640 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6191 rm -f conftest* 6192 6193 fi 6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6195 $as_echo "$tcl_cv_ld_elf" >&6; } 10641 6196 if test $tcl_cv_ld_elf = yes; then 10642 6197 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 10696 6251 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10697 6252 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 10698 { echo "$as_me:$LINENO: checking for ELF" >&5 10699 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10700 if test "${tcl_cv_ld_elf+set}" = set; then 10701 echo $ECHO_N "(cached) $ECHO_C" >&6 10702 else 10703 10704 cat >conftest.$ac_ext <<_ACEOF 10705 /* confdefs.h. */ 10706 _ACEOF 10707 cat confdefs.h >>conftest.$ac_ext 10708 cat >>conftest.$ac_ext <<_ACEOF 6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6254 $as_echo_n "checking for ELF... " >&6; } 6255 if ${tcl_cv_ld_elf+:} false; then : 6256 $as_echo_n "(cached) " >&6 6257 else 6258 6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10709 6260 /* end confdefs.h. */ 10710 6261 … … 10715 6266 _ACEOF 10716 6267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10717 $EGREP "yes" >/dev/null 2>&1; then 6268 $EGREP "yes" >/dev/null 2>&1; then : 10718 6269 tcl_cv_ld_elf=yes 10719 6270 else 10720 6271 tcl_cv_ld_elf=no 10721 6272 fi 10722 rm -f -rconftest*10723 10724 fi 10725 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510726 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6273 rm -f conftest* 6274 6275 fi 6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6277 $as_echo "$tcl_cv_ld_elf" >&6; } 10727 6278 if test $tcl_cv_ld_elf = yes; then 10728 6279 LDFLAGS=-Wl,-export-dynamic … … 10778 6329 case `arch` in 10779 6330 ppc) 10780 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&510781 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }10782 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then10783 echo $ECHO_N "(cached) $ECHO_C" >&66331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 6332 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6333 if ${tcl_cv_cc_arch_ppc64+:} false; then : 6334 $as_echo_n "(cached) " >&6 10784 6335 else 10785 6336 10786 6337 hold_cflags=$CFLAGS 10787 6338 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 10788 cat >conftest.$ac_ext <<_ACEOF 10789 /* confdefs.h. */ 10790 _ACEOF 10791 cat confdefs.h >>conftest.$ac_ext 10792 cat >>conftest.$ac_ext <<_ACEOF 6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10793 6340 /* end confdefs.h. */ 10794 6341 … … 10801 6348 } 10802 6349 _ACEOF 10803 rm -f conftest.$ac_objext conftest$ac_exeext 10804 if { (ac_try="$ac_link" 10805 case "(($ac_try" in 10806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10807 *) ac_try_echo=$ac_try;; 10808 esac 10809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10810 (eval "$ac_link") 2>conftest.er1 10811 ac_status=$? 10812 grep -v '^ *+' conftest.er1 >conftest.err 10813 rm -f conftest.er1 10814 cat conftest.err >&5 10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10816 (exit $ac_status); } && { 10817 test -z "$ac_cxx_werror_flag" || 10818 test ! -s conftest.err 10819 } && test -s conftest$ac_exeext && 10820 $as_test_x conftest$ac_exeext; then 6350 if ac_fn_cxx_try_link "$LINENO"; then : 10821 6351 tcl_cv_cc_arch_ppc64=yes 10822 6352 else 10823 echo "$as_me: failed program was:" >&5 10824 sed 's/^/| /' conftest.$ac_ext >&5 10825 10826 tcl_cv_cc_arch_ppc64=no 10827 fi 10828 10829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10830 conftest$ac_exeext conftest.$ac_ext 6353 tcl_cv_cc_arch_ppc64=no 6354 fi 6355 rm -f core conftest.err conftest.$ac_objext \ 6356 conftest$ac_exeext conftest.$ac_ext 10831 6357 CFLAGS=$hold_cflags 10832 6358 fi 10833 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&510834 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 6360 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 10835 6361 if test $tcl_cv_cc_arch_ppc64 = yes; then 10836 6362 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 10838 6364 fi;; 10839 6365 i386) 10840 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&510841 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }10842 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then10843 echo $ECHO_N "(cached) $ECHO_C" >&66366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 6367 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6368 if ${tcl_cv_cc_arch_x86_64+:} false; then : 6369 $as_echo_n "(cached) " >&6 10844 6370 else 10845 6371 10846 6372 hold_cflags=$CFLAGS 10847 6373 CFLAGS="$CFLAGS -arch x86_64" 10848 cat >conftest.$ac_ext <<_ACEOF 10849 /* confdefs.h. */ 10850 _ACEOF 10851 cat confdefs.h >>conftest.$ac_ext 10852 cat >>conftest.$ac_ext <<_ACEOF 6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10853 6375 /* end confdefs.h. */ 10854 6376 … … 10861 6383 } 10862 6384 _ACEOF 10863 rm -f conftest.$ac_objext conftest$ac_exeext 10864 if { (ac_try="$ac_link" 10865 case "(($ac_try" in 10866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10867 *) ac_try_echo=$ac_try;; 10868 esac 10869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10870 (eval "$ac_link") 2>conftest.er1 10871 ac_status=$? 10872 grep -v '^ *+' conftest.er1 >conftest.err 10873 rm -f conftest.er1 10874 cat conftest.err >&5 10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10876 (exit $ac_status); } && { 10877 test -z "$ac_cxx_werror_flag" || 10878 test ! -s conftest.err 10879 } && test -s conftest$ac_exeext && 10880 $as_test_x conftest$ac_exeext; then 6385 if ac_fn_cxx_try_link "$LINENO"; then : 10881 6386 tcl_cv_cc_arch_x86_64=yes 10882 6387 else 10883 echo "$as_me: failed program was:" >&5 10884 sed 's/^/| /' conftest.$ac_ext >&5 10885 10886 tcl_cv_cc_arch_x86_64=no 10887 fi 10888 10889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10890 conftest$ac_exeext conftest.$ac_ext 6388 tcl_cv_cc_arch_x86_64=no 6389 fi 6390 rm -f core conftest.err conftest.$ac_objext \ 6391 conftest$ac_exeext conftest.$ac_ext 10891 6392 CFLAGS=$hold_cflags 10892 6393 fi 10893 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&510894 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 6395 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 10895 6396 if test $tcl_cv_cc_arch_x86_64 = yes; then 10896 6397 CFLAGS="$CFLAGS -arch x86_64" … … 10898 6399 fi;; 10899 6400 *) 10900 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&510901 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;6401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6402 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 10902 6403 esac 10903 6404 else … … 10908 6409 fi 10909 6410 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 10910 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&510911 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }10912 if test "${tcl_cv_ld_single_module+set}" = set; then10913 echo $ECHO_N "(cached) $ECHO_C" >&66411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 6412 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6413 if ${tcl_cv_ld_single_module+:} false; then : 6414 $as_echo_n "(cached) " >&6 10914 6415 else 10915 6416 10916 6417 hold_ldflags=$LDFLAGS 10917 6418 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10918 cat >conftest.$ac_ext <<_ACEOF 10919 /* confdefs.h. */ 10920 _ACEOF 10921 cat confdefs.h >>conftest.$ac_ext 10922 cat >>conftest.$ac_ext <<_ACEOF 6419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10923 6420 /* end confdefs.h. */ 10924 6421 … … 10931 6428 } 10932 6429 _ACEOF 10933 rm -f conftest.$ac_objext conftest$ac_exeext 10934 if { (ac_try="$ac_link" 10935 case "(($ac_try" in 10936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10937 *) ac_try_echo=$ac_try;; 10938 esac 10939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10940 (eval "$ac_link") 2>conftest.er1 10941 ac_status=$? 10942 grep -v '^ *+' conftest.er1 >conftest.err 10943 rm -f conftest.er1 10944 cat conftest.err >&5 10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10946 (exit $ac_status); } && { 10947 test -z "$ac_cxx_werror_flag" || 10948 test ! -s conftest.err 10949 } && test -s conftest$ac_exeext && 10950 $as_test_x conftest$ac_exeext; then 6430 if ac_fn_cxx_try_link "$LINENO"; then : 10951 6431 tcl_cv_ld_single_module=yes 10952 6432 else 10953 echo "$as_me: failed program was:" >&5 10954 sed 's/^/| /' conftest.$ac_ext >&5 10955 10956 tcl_cv_ld_single_module=no 10957 fi 10958 10959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10960 conftest$ac_exeext conftest.$ac_ext 6433 tcl_cv_ld_single_module=no 6434 fi 6435 rm -f core conftest.err conftest.$ac_objext \ 6436 conftest$ac_exeext conftest.$ac_ext 10961 6437 LDFLAGS=$hold_ldflags 10962 6438 fi 10963 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&510964 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 6440 $as_echo "$tcl_cv_ld_single_module" >&6; } 10965 6441 if test $tcl_cv_ld_single_module = yes; then 10966 6442 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 10975 6451 LDFLAGS="$LDFLAGS -prebind" 10976 6452 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10977 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&510978 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }10979 if test "${tcl_cv_ld_search_paths_first+set}" = set; then10980 echo $ECHO_N "(cached) $ECHO_C" >&66453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 6454 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6455 if ${tcl_cv_ld_search_paths_first+:} false; then : 6456 $as_echo_n "(cached) " >&6 10981 6457 else 10982 6458 10983 6459 hold_ldflags=$LDFLAGS 10984 6460 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 10985 cat >conftest.$ac_ext <<_ACEOF 10986 /* confdefs.h. */ 10987 _ACEOF 10988 cat confdefs.h >>conftest.$ac_ext 10989 cat >>conftest.$ac_ext <<_ACEOF 6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10990 6462 /* end confdefs.h. */ 10991 6463 … … 10998 6470 } 10999 6471 _ACEOF 11000 rm -f conftest.$ac_objext conftest$ac_exeext 11001 if { (ac_try="$ac_link" 11002 case "(($ac_try" in 11003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11004 *) ac_try_echo=$ac_try;; 11005 esac 11006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11007 (eval "$ac_link") 2>conftest.er1 11008 ac_status=$? 11009 grep -v '^ *+' conftest.er1 >conftest.err 11010 rm -f conftest.er1 11011 cat conftest.err >&5 11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11013 (exit $ac_status); } && { 11014 test -z "$ac_cxx_werror_flag" || 11015 test ! -s conftest.err 11016 } && test -s conftest$ac_exeext && 11017 $as_test_x conftest$ac_exeext; then 6472 if ac_fn_cxx_try_link "$LINENO"; then : 11018 6473 tcl_cv_ld_search_paths_first=yes 11019 6474 else 11020 echo "$as_me: failed program was:" >&5 11021 sed 's/^/| /' conftest.$ac_ext >&5 11022 11023 tcl_cv_ld_search_paths_first=no 11024 fi 11025 11026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11027 conftest$ac_exeext conftest.$ac_ext 6475 tcl_cv_ld_search_paths_first=no 6476 fi 6477 rm -f core conftest.err conftest.$ac_objext \ 6478 conftest$ac_exeext conftest.$ac_ext 11028 6479 LDFLAGS=$hold_ldflags 11029 6480 fi 11030 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&511031 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 6482 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11032 6483 if test $tcl_cv_ld_search_paths_first = yes; then 11033 6484 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 11038 6489 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11039 6490 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11040 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&511041 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 6492 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11042 6493 # Check whether --enable-corefoundation was given. 11043 if test "${enable_corefoundation+set}" = set; then 6494 if test "${enable_corefoundation+set}" = set; then : 11044 6495 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11045 6496 else … … 11047 6498 fi 11048 6499 11049 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&511050 echo "${ECHO_T}$tcl_corefoundation" >&6; }6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 6501 $as_echo "$tcl_corefoundation" >&6; } 11051 6502 if test $tcl_corefoundation = yes; then 11052 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&511053 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }11054 if test "${tcl_cv_lib_corefoundation+set}" = set; then11055 echo $ECHO_N "(cached) $ECHO_C" >&66503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 6504 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6505 if ${tcl_cv_lib_corefoundation+:} false; then : 6506 $as_echo_n "(cached) " >&6 11056 6507 else 11057 6508 … … 11064 6515 done; fi 11065 6516 LIBS="$LIBS -framework CoreFoundation" 11066 cat >conftest.$ac_ext <<_ACEOF 11067 /* confdefs.h. */ 11068 _ACEOF 11069 cat confdefs.h >>conftest.$ac_ext 11070 cat >>conftest.$ac_ext <<_ACEOF 6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11071 6518 /* end confdefs.h. */ 11072 6519 #include <CoreFoundation/CoreFoundation.h> … … 11079 6526 } 11080 6527 _ACEOF 11081 rm -f conftest.$ac_objext conftest$ac_exeext 11082 if { (ac_try="$ac_link" 11083 case "(($ac_try" in 11084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11085 *) ac_try_echo=$ac_try;; 11086 esac 11087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11088 (eval "$ac_link") 2>conftest.er1 11089 ac_status=$? 11090 grep -v '^ *+' conftest.er1 >conftest.err 11091 rm -f conftest.er1 11092 cat conftest.err >&5 11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11094 (exit $ac_status); } && { 11095 test -z "$ac_cxx_werror_flag" || 11096 test ! -s conftest.err 11097 } && test -s conftest$ac_exeext && 11098 $as_test_x conftest$ac_exeext; then 6528 if ac_fn_cxx_try_link "$LINENO"; then : 11099 6529 tcl_cv_lib_corefoundation=yes 11100 6530 else 11101 echo "$as_me: failed program was:" >&5 11102 sed 's/^/| /' conftest.$ac_ext >&5 11103 11104 tcl_cv_lib_corefoundation=no 11105 fi 11106 11107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11108 conftest$ac_exeext conftest.$ac_ext 6531 tcl_cv_lib_corefoundation=no 6532 fi 6533 rm -f core conftest.err conftest.$ac_objext \ 6534 conftest$ac_exeext conftest.$ac_ext 11109 6535 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11110 6536 eval $v'="$hold_'$v'"' 11111 6537 done; fi; LIBS=$hold_libs 11112 6538 fi 11113 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&511114 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 6540 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11115 6541 if test $tcl_cv_lib_corefoundation = yes; then 11116 6542 LIBS="$LIBS -framework CoreFoundation" 11117 cat >>confdefs.h <<\_ACEOF 11118 #define HAVE_COREFOUNDATION 1 11119 _ACEOF 6543 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11120 6544 11121 6545 else … … 11123 6547 fi 11124 6548 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11125 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&511126 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }11127 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then11128 echo $ECHO_N "(cached) $ECHO_C" >&66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 6550 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6551 if ${tcl_cv_lib_corefoundation_64+:} false; then : 6552 $as_echo_n "(cached) " >&6 11129 6553 else 11130 6554 … … 11132 6556 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11133 6557 done 11134 cat >conftest.$ac_ext <<_ACEOF 11135 /* confdefs.h. */ 11136 _ACEOF 11137 cat confdefs.h >>conftest.$ac_ext 11138 cat >>conftest.$ac_ext <<_ACEOF 6558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11139 6559 /* end confdefs.h. */ 11140 6560 #include <CoreFoundation/CoreFoundation.h> … … 11147 6567 } 11148 6568 _ACEOF 11149 rm -f conftest.$ac_objext conftest$ac_exeext 11150 if { (ac_try="$ac_link" 11151 case "(($ac_try" in 11152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11153 *) ac_try_echo=$ac_try;; 11154 esac 11155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11156 (eval "$ac_link") 2>conftest.er1 11157 ac_status=$? 11158 grep -v '^ *+' conftest.er1 >conftest.err 11159 rm -f conftest.er1 11160 cat conftest.err >&5 11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11162 (exit $ac_status); } && { 11163 test -z "$ac_cxx_werror_flag" || 11164 test ! -s conftest.err 11165 } && test -s conftest$ac_exeext && 11166 $as_test_x conftest$ac_exeext; then 6569 if ac_fn_cxx_try_link "$LINENO"; then : 11167 6570 tcl_cv_lib_corefoundation_64=yes 11168 6571 else 11169 echo "$as_me: failed program was:" >&5 11170 sed 's/^/| /' conftest.$ac_ext >&5 11171 11172 tcl_cv_lib_corefoundation_64=no 11173 fi 11174 11175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11176 conftest$ac_exeext conftest.$ac_ext 6572 tcl_cv_lib_corefoundation_64=no 6573 fi 6574 rm -f core conftest.err conftest.$ac_objext \ 6575 conftest$ac_exeext conftest.$ac_ext 11177 6576 for v in CFLAGS CPPFLAGS LDFLAGS; do 11178 6577 eval $v'="$hold_'$v'"' 11179 6578 done 11180 6579 fi 11181 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&511182 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 6581 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11183 6582 if test $tcl_cv_lib_corefoundation_64 = no; then 11184 cat >>confdefs.h <<\_ACEOF 11185 #define NO_COREFOUNDATION_64 1 11186 _ACEOF 6583 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11187 6584 11188 6585 fi 11189 6586 fi 11190 6587 fi 11191 cat >>confdefs.h <<\_ACEOF 11192 #define MAC_OSX_TCL 1 11193 _ACEOF 6588 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11194 6589 11195 6590 ;; … … 11206 6601 OS/390-*) 11207 6602 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11208 cat >>confdefs.h <<\_ACEOF 11209 #define _OE_SOCKETS 1 11210 _ACEOF 6603 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11211 6604 # needed in sys/socket.h 11212 6605 ;; … … 11349 6742 # won't define thread-safe library routines. 11350 6743 11351 cat >>confdefs.h <<\_ACEOF 11352 #define _REENTRANT 1 11353 _ACEOF 11354 11355 cat >>confdefs.h <<\_ACEOF 11356 #define _POSIX_PTHREAD_SEMANTICS 1 11357 _ACEOF 6744 $as_echo "#define _REENTRANT 1" >>confdefs.h 6745 6746 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11358 6747 11359 6748 … … 11381 6770 # won't define thread-safe library routines. 11382 6771 11383 cat >>confdefs.h <<\_ACEOF 11384 #define _REENTRANT 1 11385 _ACEOF 11386 11387 cat >>confdefs.h <<\_ACEOF 11388 #define _POSIX_PTHREAD_SEMANTICS 1 11389 _ACEOF 6772 $as_echo "#define _REENTRANT 1" >>confdefs.h 6773 6774 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11390 6775 11391 6776 … … 11398 6783 if test "$GCC" = "yes" ; then 11399 6784 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11400 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&511401 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6786 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11402 6787 else 11403 6788 do64bit_ok=yes … … 11420 6805 elif test "$arch" = "amd64 i386" ; then 11421 6806 if test "$GCC" = "yes" ; then 11422 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&511423 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6808 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11424 6809 else 11425 6810 do64bit_ok=yes … … 11428 6813 fi 11429 6814 else 11430 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&511431 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}6815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6816 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11432 6817 fi 11433 6818 fi … … 11487 6872 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11488 6873 # that don't grok the -Bexport option. Test that it does. 11489 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&511490 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }11491 if test "${tcl_cv_ld_Bexport+set}" = set; then11492 echo $ECHO_N "(cached) $ECHO_C" >&66874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6875 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6876 if ${tcl_cv_ld_Bexport+:} false; then : 6877 $as_echo_n "(cached) " >&6 11493 6878 else 11494 6879 11495 6880 hold_ldflags=$LDFLAGS 11496 6881 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11497 cat >conftest.$ac_ext <<_ACEOF 11498 /* confdefs.h. */ 11499 _ACEOF 11500 cat confdefs.h >>conftest.$ac_ext 11501 cat >>conftest.$ac_ext <<_ACEOF 6882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11502 6883 /* end confdefs.h. */ 11503 6884 … … 11510 6891 } 11511 6892 _ACEOF 11512 rm -f conftest.$ac_objext conftest$ac_exeext 11513 if { (ac_try="$ac_link" 11514 case "(($ac_try" in 11515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11516 *) ac_try_echo=$ac_try;; 11517 esac 11518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11519 (eval "$ac_link") 2>conftest.er1 11520 ac_status=$? 11521 grep -v '^ *+' conftest.er1 >conftest.err 11522 rm -f conftest.er1 11523 cat conftest.err >&5 11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11525 (exit $ac_status); } && { 11526 test -z "$ac_cxx_werror_flag" || 11527 test ! -s conftest.err 11528 } && test -s conftest$ac_exeext && 11529 $as_test_x conftest$ac_exeext; then 6893 if ac_fn_cxx_try_link "$LINENO"; then : 11530 6894 tcl_cv_ld_Bexport=yes 11531 6895 else 11532 echo "$as_me: failed program was:" >&5 11533 sed 's/^/| /' conftest.$ac_ext >&5 11534 11535 tcl_cv_ld_Bexport=no 11536 fi 11537 11538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11539 conftest$ac_exeext conftest.$ac_ext 6896 tcl_cv_ld_Bexport=no 6897 fi 6898 rm -f core conftest.err conftest.$ac_objext \ 6899 conftest$ac_exeext conftest.$ac_ext 11540 6900 LDFLAGS=$hold_ldflags 11541 6901 fi 11542 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&511543 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6903 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11544 6904 if test $tcl_cv_ld_Bexport = yes; then 11545 6905 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 11551 6911 11552 6912 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11553 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&511554 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6914 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11555 6915 fi 11556 6916 … … 11578 6938 11579 6939 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 11580 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11581 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11582 if test "${tcl_cv_sysexec_h+set}" = set; then 11583 echo $ECHO_N "(cached) $ECHO_C" >&6 11584 else 11585 11586 cat >conftest.$ac_ext <<_ACEOF 11587 /* confdefs.h. */ 11588 _ACEOF 11589 cat confdefs.h >>conftest.$ac_ext 11590 cat >>conftest.$ac_ext <<_ACEOF 6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6941 $as_echo_n "checking sys/exec.h... " >&6; } 6942 if ${tcl_cv_sysexec_h+:} false; then : 6943 $as_echo_n "(cached) " >&6 6944 else 6945 6946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11591 6947 /* end confdefs.h. */ 11592 6948 #include <sys/exec.h> … … 11610 6966 } 11611 6967 _ACEOF 11612 rm -f conftest.$ac_objext 11613 if { (ac_try="$ac_compile" 11614 case "(($ac_try" in 11615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11616 *) ac_try_echo=$ac_try;; 11617 esac 11618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11619 (eval "$ac_compile") 2>conftest.er1 11620 ac_status=$? 11621 grep -v '^ *+' conftest.er1 >conftest.err 11622 rm -f conftest.er1 11623 cat conftest.err >&5 11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11625 (exit $ac_status); } && { 11626 test -z "$ac_cxx_werror_flag" || 11627 test ! -s conftest.err 11628 } && test -s conftest.$ac_objext; then 6968 if ac_fn_cxx_try_compile "$LINENO"; then : 11629 6969 tcl_cv_sysexec_h=usable 11630 6970 else 11631 echo "$as_me: failed program was:" >&5 11632 sed 's/^/| /' conftest.$ac_ext >&5 11633 11634 tcl_cv_sysexec_h=unusable 11635 fi 11636 6971 tcl_cv_sysexec_h=unusable 6972 fi 11637 6973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11638 6974 fi 11639 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&511640 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6976 $as_echo "$tcl_cv_sysexec_h" >&6; } 11641 6977 if test $tcl_cv_sysexec_h = usable; then 11642 cat >>confdefs.h <<\_ACEOF 11643 #define USE_SYS_EXEC_H 1 11644 _ACEOF 6978 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11645 6979 11646 6980 else 11647 { echo "$as_me:$LINENO: checking a.out.h" >&5 11648 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11649 if test "${tcl_cv_aout_h+set}" = set; then 11650 echo $ECHO_N "(cached) $ECHO_C" >&6 11651 else 11652 11653 cat >conftest.$ac_ext <<_ACEOF 11654 /* confdefs.h. */ 11655 _ACEOF 11656 cat confdefs.h >>conftest.$ac_ext 11657 cat >>conftest.$ac_ext <<_ACEOF 6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6982 $as_echo_n "checking a.out.h... " >&6; } 6983 if ${tcl_cv_aout_h+:} false; then : 6984 $as_echo_n "(cached) " >&6 6985 else 6986 6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11658 6988 /* end confdefs.h. */ 11659 6989 #include <a.out.h> … … 11677 7007 } 11678 7008 _ACEOF 11679 rm -f conftest.$ac_objext 11680 if { (ac_try="$ac_compile" 11681 case "(($ac_try" in 11682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11683 *) ac_try_echo=$ac_try;; 11684 esac 11685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11686 (eval "$ac_compile") 2>conftest.er1 11687 ac_status=$? 11688 grep -v '^ *+' conftest.er1 >conftest.err 11689 rm -f conftest.er1 11690 cat conftest.err >&5 11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11692 (exit $ac_status); } && { 11693 test -z "$ac_cxx_werror_flag" || 11694 test ! -s conftest.err 11695 } && test -s conftest.$ac_objext; then 7009 if ac_fn_cxx_try_compile "$LINENO"; then : 11696 7010 tcl_cv_aout_h=usable 11697 7011 else 11698 echo "$as_me: failed program was:" >&5 11699 sed 's/^/| /' conftest.$ac_ext >&5 11700 11701 tcl_cv_aout_h=unusable 11702 fi 11703 7012 tcl_cv_aout_h=unusable 7013 fi 11704 7014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11705 7015 fi 11706 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&511707 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 7017 $as_echo "$tcl_cv_aout_h" >&6; } 11708 7018 if test $tcl_cv_aout_h = usable; then 11709 cat >>confdefs.h <<\_ACEOF 11710 #define USE_A_OUT_H 1 11711 _ACEOF 7019 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11712 7020 11713 7021 else 11714 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11715 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11716 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11717 echo $ECHO_N "(cached) $ECHO_C" >&6 11718 else 11719 11720 cat >conftest.$ac_ext <<_ACEOF 11721 /* confdefs.h. */ 11722 _ACEOF 11723 cat confdefs.h >>conftest.$ac_ext 11724 cat >>conftest.$ac_ext <<_ACEOF 7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 7023 $as_echo_n "checking sys/exec_aout.h... " >&6; } 7024 if ${tcl_cv_sysexecaout_h+:} false; then : 7025 $as_echo_n "(cached) " >&6 7026 else 7027 7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11725 7029 /* end confdefs.h. */ 11726 7030 #include <sys/exec_aout.h> … … 11744 7048 } 11745 7049 _ACEOF 11746 rm -f conftest.$ac_objext 11747 if { (ac_try="$ac_compile" 11748 case "(($ac_try" in 11749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11750 *) ac_try_echo=$ac_try;; 11751 esac 11752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11753 (eval "$ac_compile") 2>conftest.er1 11754 ac_status=$? 11755 grep -v '^ *+' conftest.er1 >conftest.err 11756 rm -f conftest.er1 11757 cat conftest.err >&5 11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11759 (exit $ac_status); } && { 11760 test -z "$ac_cxx_werror_flag" || 11761 test ! -s conftest.err 11762 } && test -s conftest.$ac_objext; then 7050 if ac_fn_cxx_try_compile "$LINENO"; then : 11763 7051 tcl_cv_sysexecaout_h=usable 11764 7052 else 11765 echo "$as_me: failed program was:" >&5 11766 sed 's/^/| /' conftest.$ac_ext >&5 11767 11768 tcl_cv_sysexecaout_h=unusable 11769 fi 11770 7053 tcl_cv_sysexecaout_h=unusable 7054 fi 11771 7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11772 7056 fi 11773 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&511774 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 7058 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 11775 7059 if test $tcl_cv_sysexecaout_h = usable; then 11776 cat >>confdefs.h <<\_ACEOF 11777 #define USE_SYS_EXEC_AOUT_H 1 11778 _ACEOF 7060 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11779 7061 11780 7062 else … … 11788 7070 11789 7071 # Check whether --enable-load was given. 11790 if test "${enable_load+set}" = set; then 7072 if test "${enable_load+set}" = set; then : 11791 7073 enableval=$enable_load; tcl_ok=$enableval 11792 7074 else … … 11919 7201 done 11920 7202 if test "x${make_command}" = "x" ; then 11921 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11922 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11923 { (exit 1); exit 1; }; } 7203 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11924 7204 fi 11925 7205 MAKE=${make_command} … … 11927 7207 11928 7208 # Check whether --enable-gui was given. 11929 if test "${enable_gui+set}" = set; then 7209 if test "${enable_gui+set}" = set; then : 11930 7210 enableval=$enable_gui; 11931 7211 else … … 11938 7218 ENABLE_GUI="yes" 11939 7219 fi 11940 11941 11942 rp_with_tclsh="yes"11943 11944 # Check whether --with-tclsh was given.11945 if test "${with_tclsh+set}" = set; then11946 withval=$with_tclsh;11947 else11948 rp_with_tclsh=$withval11949 fi11950 11951 11952 TCLSH=11953 if test "${rp_with_tclsh}" != "no" ; then11954 { echo "$as_me:$LINENO: checking for tclsh" >&511955 echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }11956 if test -x "${rp_with_tclsh}/bin/tclsh"11957 then11958 TCLSH="${rp_with_tclsh}/bin/tclsh"11959 else11960 if test -x "${rp_with_tclsh}"11961 then11962 TCLSH="${rp_with_tclsh}"11963 else11964 if test -x "${exec_prefix}/bin/tclsh"11965 then11966 TCLSH="${exec_prefix}/bin/tclsh"11967 else11968 for v in 8.4 8.5 8.6 ; do11969 if test -x "${exec_prefix}/bin/tclsh${v}"11970 then11971 TCLSH="${exec_prefix}/bin/tclsh${v}"11972 break11973 fi11974 done11975 fi11976 fi11977 fi11978 if ! test -x ${TCLSH} ; then11979 # Extract the first word of "tclsh", so it can be a program name with args.11980 set dummy tclsh; ac_word=$211981 { echo "$as_me:$LINENO: checking for $ac_word" >&511982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }11983 if test "${ac_cv_path_TCLSH+set}" = set; then11984 echo $ECHO_N "(cached) $ECHO_C" >&611985 else11986 case $TCLSH in11987 [\\/]* | ?:[\\/]*)11988 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.11989 ;;11990 *)11991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR11992 for as_dir in $PATH11993 do11994 IFS=$as_save_IFS11995 test -z "$as_dir" && as_dir=.11996 for ac_exec_ext in '' $ac_executable_extensions; do11997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then11998 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"11999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&512000 break 212001 fi12002 done12003 done12004 IFS=$as_save_IFS12005 12006 ;;12007 esac12008 fi12009 TCLSH=$ac_cv_path_TCLSH12010 if test -n "$TCLSH"; then12011 { echo "$as_me:$LINENO: result: $TCLSH" >&512012 echo "${ECHO_T}$TCLSH" >&6; }12013 else12014 { echo "$as_me:$LINENO: result: no" >&512015 echo "${ECHO_T}no" >&6; }12016 fi12017 12018 12019 fi12020 fi12021 { echo "$as_me:$LINENO: result: ${TCLSH}" >&512022 echo "${ECHO_T}${TCLSH}" >&6; }12023 7220 12024 7221 … … 12033 7230 fi 12034 7231 done 7232 7233 7234 rp_with_tclsh="yes" 7235 7236 # Check whether --with-tclsh was given. 7237 if test "${with_tclsh+set}" = set; then : 7238 withval=$with_tclsh; rp_with_tclsh=$withval 7239 else 7240 rp_with_tclsh=yes 7241 fi 7242 7243 7244 TCLSH="" 7245 if test "${rp_with_tclsh}" != "no" ; then 7246 tclsh="tclsh${TCL_VERSION}" 7247 if test "${rp_with_tclsh}" = "yes" ; then 7248 # Extract the first word of "${tclsh}", so it can be a program name with args. 7249 set dummy ${tclsh}; ac_word=$2 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7251 $as_echo_n "checking for $ac_word... " >&6; } 7252 if ${ac_cv_path_TCLSH+:} false; then : 7253 $as_echo_n "(cached) " >&6 7254 else 7255 case $TCLSH in 7256 [\\/]* | ?:[\\/]*) 7257 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path. 7258 ;; 7259 *) 7260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7261 as_dummy="${exec_prefix}/bin:${PATH}" 7262 for as_dir in $as_dummy 7263 do 7264 IFS=$as_save_IFS 7265 test -z "$as_dir" && as_dir=. 7266 for ac_exec_ext in '' $ac_executable_extensions; do 7267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7268 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 7269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7270 break 2 7271 fi 7272 done 7273 done 7274 IFS=$as_save_IFS 7275 7276 ;; 7277 esac 7278 fi 7279 TCLSH=$ac_cv_path_TCLSH 7280 if test -n "$TCLSH"; then 7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7282 $as_echo "$TCLSH" >&6; } 7283 else 7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7285 $as_echo "no" >&6; } 7286 fi 7287 7288 7289 else 7290 # Extract the first word of "${tclsh}", so it can be a program name with args. 7291 set dummy ${tclsh}; ac_word=$2 7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7293 $as_echo_n "checking for $ac_word... " >&6; } 7294 if ${ac_cv_path_TCLSH+:} false; then : 7295 $as_echo_n "(cached) " >&6 7296 else 7297 case $TCLSH in 7298 [\\/]* | ?:[\\/]*) 7299 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path. 7300 ;; 7301 *) 7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7303 as_dummy="${rp_with_tclsh}/bin:${rp_with_tclsh}" 7304 for as_dir in $as_dummy 7305 do 7306 IFS=$as_save_IFS 7307 test -z "$as_dir" && as_dir=. 7308 for ac_exec_ext in '' $ac_executable_extensions; do 7309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7310 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 7311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7312 break 2 7313 fi 7314 done 7315 done 7316 IFS=$as_save_IFS 7317 7318 ;; 7319 esac 7320 fi 7321 TCLSH=$ac_cv_path_TCLSH 7322 if test -n "$TCLSH"; then 7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7324 $as_echo "$TCLSH" >&6; } 7325 else 7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7327 $as_echo "no" >&6; } 7328 fi 7329 7330 7331 fi 7332 if test "x${TCLSH}" = "x" ; then 7333 as_fn_error $? "can't find tclsh" "$LINENO" 5 7334 fi 7335 fi 7336 7337 7338 12035 7339 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 12036 7340 12037 if test "x$rp_with_tcllib" != "x" ; then12038 tclconfig="${rp_with_tcllib}/tclConfig.sh"12039 if test -f "$tclconfig" ; then12040 . $tclconfig12041 fi12042 TCL_LIB_SPEC="-L${rp_with_tcllib} -ltcl${TCL_VERSION}"12043 fi12044 if test "x$rp_with_tclinclude" != "x" ; then12045 TCL_INC_SPEC="-I${rp_with_tclinclude}"12046 fi12047 12048 7341 12049 7342 … … 12052 7345 12053 7346 # Check whether --with-vtk was given. 12054 if test "${with_vtk+set}" = set; then 7347 if test "${with_vtk+set}" = set; then : 12055 7348 withval=$with_vtk; rp_with_vtk=$withval 12056 7349 else … … 12059 7352 12060 7353 12061 { echo "$as_me:$LINENO: checking for vtk" >&512062 echo $ECHO_N "checking for vtk... $ECHO_C" >&6; }7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 7355 $as_echo_n "checking for vtk... " >&6; } 12063 7356 VTKDIR="" 12064 7357 … … 12083 7376 fi 12084 7377 12085 { echo "$as_me:$LINENO: result: $VTKDIR" >&512086 echo "${ECHO_T}$VTKDIR" >&6; }7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 7379 $as_echo "$VTKDIR" >&6; } 12087 7380 12088 7381 12089 7382 12090 7383 # Check whether --with-matlab was given. 12091 if test "${with_matlab+set}" = set; then 7384 if test "${with_matlab+set}" = set; then : 12092 7385 withval=$with_matlab; rp_with_matlab=$withval 12093 7386 else … … 12105 7398 # Extract the first word of "matlab", so it can be a program name with args. 12106 7399 set dummy matlab; ac_word=$2 12107 { echo "$as_me:$LINENO: checking for $ac_word" >&512108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12109 if test "${ac_cv_path_MATLAB+set}" = set; then12110 echo $ECHO_N "(cached) $ECHO_C" >&67400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7401 $as_echo_n "checking for $ac_word... " >&6; } 7402 if ${ac_cv_path_MATLAB+:} false; then : 7403 $as_echo_n "(cached) " >&6 12111 7404 else 12112 7405 case $MATLAB in … … 12120 7413 IFS=$as_save_IFS 12121 7414 test -z "$as_dir" && as_dir=. 12122 for ac_exec_ext in '' $ac_executable_extensions; do7415 for ac_exec_ext in '' $ac_executable_extensions; do 12123 7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12124 7417 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12126 7419 break 2 12127 7420 fi 12128 7421 done 12129 done7422 done 12130 7423 IFS=$as_save_IFS 12131 7424 … … 12135 7428 MATLAB=$ac_cv_path_MATLAB 12136 7429 if test -n "$MATLAB"; then 12137 { echo "$as_me:$LINENO: result: $MATLAB" >&512138 echo "${ECHO_T}$MATLAB" >&6; }12139 else 12140 { echo "$as_me:$LINENO: result: no" >&512141 echo "${ECHO_T}no" >&6; }7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7431 $as_echo "$MATLAB" >&6; } 7432 else 7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7434 $as_echo "no" >&6; } 12142 7435 fi 12143 7436 … … 12146 7439 # Extract the first word of "matlab", so it can be a program name with args. 12147 7440 set dummy matlab; ac_word=$2 12148 { echo "$as_me:$LINENO: checking for $ac_word" >&512149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12150 if test "${ac_cv_path_MATLAB+set}" = set; then12151 echo $ECHO_N "(cached) $ECHO_C" >&67441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7442 $as_echo_n "checking for $ac_word... " >&6; } 7443 if ${ac_cv_path_MATLAB+:} false; then : 7444 $as_echo_n "(cached) " >&6 12152 7445 else 12153 7446 case $MATLAB in … … 12162 7455 IFS=$as_save_IFS 12163 7456 test -z "$as_dir" && as_dir=. 12164 for ac_exec_ext in '' $ac_executable_extensions; do7457 for ac_exec_ext in '' $ac_executable_extensions; do 12165 7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12166 7459 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12168 7461 break 2 12169 7462 fi 12170 7463 done 12171 done7464 done 12172 7465 IFS=$as_save_IFS 12173 7466 … … 12177 7470 MATLAB=$ac_cv_path_MATLAB 12178 7471 if test -n "$MATLAB"; then 12179 { echo "$as_me:$LINENO: result: $MATLAB" >&512180 echo "${ECHO_T}$MATLAB" >&6; }12181 else 12182 { echo "$as_me:$LINENO: result: no" >&512183 echo "${ECHO_T}no" >&6; }7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7473 $as_echo "$MATLAB" >&6; } 7474 else 7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7476 $as_echo "no" >&6; } 12184 7477 fi 12185 7478 … … 12197 7490 # Extract the first word of "mex", so it can be a program name with args. 12198 7491 set dummy mex; ac_word=$2 12199 { echo "$as_me:$LINENO: checking for $ac_word" >&512200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12201 if test "${ac_cv_path_MEX+set}" = set; then12202 echo $ECHO_N "(cached) $ECHO_C" >&67492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7493 $as_echo_n "checking for $ac_word... " >&6; } 7494 if ${ac_cv_path_MEX+:} false; then : 7495 $as_echo_n "(cached) " >&6 12203 7496 else 12204 7497 case $MEX in … … 12212 7505 IFS=$as_save_IFS 12213 7506 test -z "$as_dir" && as_dir=. 12214 for ac_exec_ext in '' $ac_executable_extensions; do7507 for ac_exec_ext in '' $ac_executable_extensions; do 12215 7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12216 7509 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12218 7511 break 2 12219 7512 fi 12220 7513 done 12221 done7514 done 12222 7515 IFS=$as_save_IFS 12223 7516 … … 12227 7520 MEX=$ac_cv_path_MEX 12228 7521 if test -n "$MEX"; then 12229 { echo "$as_me:$LINENO: result: $MEX" >&512230 echo "${ECHO_T}$MEX" >&6; }12231 else 12232 { echo "$as_me:$LINENO: result: no" >&512233 echo "${ECHO_T}no" >&6; }7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 7523 $as_echo "$MEX" >&6; } 7524 else 7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7526 $as_echo "no" >&6; } 12234 7527 fi 12235 7528 … … 12237 7530 # Extract the first word of "mexext", so it can be a program name with args. 12238 7531 set dummy mexext; ac_word=$2 12239 { echo "$as_me:$LINENO: checking for $ac_word" >&512240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12241 if test "${ac_cv_path_MEXEXT+set}" = set; then12242 echo $ECHO_N "(cached) $ECHO_C" >&67532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7533 $as_echo_n "checking for $ac_word... " >&6; } 7534 if ${ac_cv_path_MEXEXT+:} false; then : 7535 $as_echo_n "(cached) " >&6 12243 7536 else 12244 7537 case $MEXEXT in … … 12252 7545 IFS=$as_save_IFS 12253 7546 test -z "$as_dir" && as_dir=. 12254 for ac_exec_ext in '' $ac_executable_extensions; do7547 for ac_exec_ext in '' $ac_executable_extensions; do 12255 7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12256 7549 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12258 7551 break 2 12259 7552 fi 12260 7553 done 12261 done7554 done 12262 7555 IFS=$as_save_IFS 12263 7556 … … 12267 7560 MEXEXT=$ac_cv_path_MEXEXT 12268 7561 if test -n "$MEXEXT"; then 12269 { echo "$as_me:$LINENO: result: $MEXEXT" >&512270 echo "${ECHO_T}$MEXEXT" >&6; }12271 else 12272 { echo "$as_me:$LINENO: result: no" >&512273 echo "${ECHO_T}no" >&6; }7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7563 $as_echo "$MEXEXT" >&6; } 7564 else 7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7566 $as_echo "no" >&6; } 12274 7567 fi 12275 7568 … … 12277 7570 12278 7571 # Run "mexext" to get the expected module extension for this platform. 12279 { echo "$as_me:$LINENO: checking for mex extension" >&512280 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 7573 $as_echo_n "checking for mex extension... " >&6; } 12281 7574 if test "x$MEXEXT" != "x" ; then 12282 7575 MEXEXT=`$MEXEXT` … … 12284 7577 MEXEXT="mexglx" 12285 7578 fi 12286 { echo "$as_me:$LINENO: result: $MEXEXT" >&512287 echo "${ECHO_T}$MEXEXT" >&6; }7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7580 $as_echo "$MEXEXT" >&6; } 12288 7581 # Extract the first word of "mcc", so it can be a program name with args. 12289 7582 set dummy mcc; ac_word=$2 12290 { echo "$as_me:$LINENO: checking for $ac_word" >&512291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12292 if test "${ac_cv_path_MCC+set}" = set; then12293 echo $ECHO_N "(cached) $ECHO_C" >&67583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7584 $as_echo_n "checking for $ac_word... " >&6; } 7585 if ${ac_cv_path_MCC+:} false; then : 7586 $as_echo_n "(cached) " >&6 12294 7587 else 12295 7588 case $MCC in … … 12303 7596 IFS=$as_save_IFS 12304 7597 test -z "$as_dir" && as_dir=. 12305 for ac_exec_ext in '' $ac_executable_extensions; do7598 for ac_exec_ext in '' $ac_executable_extensions; do 12306 7599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12307 7600 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12309 7602 break 2 12310 7603 fi 12311 7604 done 12312 done7605 done 12313 7606 IFS=$as_save_IFS 12314 7607 … … 12318 7611 MCC=$ac_cv_path_MCC 12319 7612 if test -n "$MCC"; then 12320 { echo "$as_me:$LINENO: result: $MCC" >&512321 echo "${ECHO_T}$MCC" >&6; }12322 else 12323 { echo "$as_me:$LINENO: result: no" >&512324 echo "${ECHO_T}no" >&6; }12325 fi 12326 12327 12328 { echo "$as_me:$LINENO: checking for mcc extension" >&512329 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; }7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 7614 $as_echo "$MCC" >&6; } 7615 else 7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7617 $as_echo "no" >&6; } 7618 fi 7619 7620 7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 7622 $as_echo_n "checking for mcc extension... " >&6; } 12330 7623 fi 12331 7624 … … 12339 7632 12340 7633 # Check whether --with-octave was given. 12341 if test "${with_octave+set}" = set; then 7634 if test "${with_octave+set}" = set; then : 12342 7635 withval=$with_octave; rp_with_octave=$withval 12343 7636 else … … 12358 7651 # Extract the first word of "octave", so it can be a program name with args. 12359 7652 set dummy octave; ac_word=$2 12360 { echo "$as_me:$LINENO: checking for $ac_word" >&512361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12362 if test "${ac_cv_path_OCTAVE+set}" = set; then12363 echo $ECHO_N "(cached) $ECHO_C" >&67653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7654 $as_echo_n "checking for $ac_word... " >&6; } 7655 if ${ac_cv_path_OCTAVE+:} false; then : 7656 $as_echo_n "(cached) " >&6 12364 7657 else 12365 7658 case $OCTAVE in … … 12373 7666 IFS=$as_save_IFS 12374 7667 test -z "$as_dir" && as_dir=. 12375 for ac_exec_ext in '' $ac_executable_extensions; do7668 for ac_exec_ext in '' $ac_executable_extensions; do 12376 7669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12377 7670 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12379 7672 break 2 12380 7673 fi 12381 7674 done 12382 done7675 done 12383 7676 IFS=$as_save_IFS 12384 7677 … … 12388 7681 OCTAVE=$ac_cv_path_OCTAVE 12389 7682 if test -n "$OCTAVE"; then 12390 { echo "$as_me:$LINENO: result: $OCTAVE" >&512391 echo "${ECHO_T}$OCTAVE" >&6; }12392 else 12393 { echo "$as_me:$LINENO: result: no" >&512394 echo "${ECHO_T}no" >&6; }7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7684 $as_echo "$OCTAVE" >&6; } 7685 else 7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7687 $as_echo "no" >&6; } 12395 7688 fi 12396 7689 … … 12398 7691 # Extract the first word of "mkoctfile", so it can be a program name with args. 12399 7692 set dummy mkoctfile; ac_word=$2 12400 { echo "$as_me:$LINENO: checking for $ac_word" >&512401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12402 if test "${ac_cv_path_MKOCTFILE+set}" = set; then12403 echo $ECHO_N "(cached) $ECHO_C" >&67693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7694 $as_echo_n "checking for $ac_word... " >&6; } 7695 if ${ac_cv_path_MKOCTFILE+:} false; then : 7696 $as_echo_n "(cached) " >&6 12404 7697 else 12405 7698 case $MKOCTFILE in … … 12413 7706 IFS=$as_save_IFS 12414 7707 test -z "$as_dir" && as_dir=. 12415 for ac_exec_ext in '' $ac_executable_extensions; do7708 for ac_exec_ext in '' $ac_executable_extensions; do 12416 7709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12417 7710 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12419 7712 break 2 12420 7713 fi 12421 7714 done 12422 done7715 done 12423 7716 IFS=$as_save_IFS 12424 7717 … … 12428 7721 MKOCTFILE=$ac_cv_path_MKOCTFILE 12429 7722 if test -n "$MKOCTFILE"; then 12430 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512431 echo "${ECHO_T}$MKOCTFILE" >&6; }12432 else 12433 { echo "$as_me:$LINENO: result: no" >&512434 echo "${ECHO_T}no" >&6; }7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7724 $as_echo "$MKOCTFILE" >&6; } 7725 else 7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7727 $as_echo "no" >&6; } 12435 7728 fi 12436 7729 … … 12457 7750 12458 7751 # Check whether --with-octave2 was given. 12459 if test "${with_octave2+set}" = set; then 7752 if test "${with_octave2+set}" = set; then : 12460 7753 withval=$with_octave2; rp_with_octave2=$withval 12461 7754 else … … 12468 7761 # Extract the first word of "octave", so it can be a program name with args. 12469 7762 set dummy octave; ac_word=$2 12470 { echo "$as_me:$LINENO: checking for $ac_word" >&512471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12472 if test "${ac_cv_path_octave2+set}" = set; then12473 echo $ECHO_N "(cached) $ECHO_C" >&67763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7764 $as_echo_n "checking for $ac_word... " >&6; } 7765 if ${ac_cv_path_octave2+:} false; then : 7766 $as_echo_n "(cached) " >&6 12474 7767 else 12475 7768 case $octave2 in … … 12483 7776 IFS=$as_save_IFS 12484 7777 test -z "$as_dir" && as_dir=. 12485 for ac_exec_ext in '' $ac_executable_extensions; do7778 for ac_exec_ext in '' $ac_executable_extensions; do 12486 7779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12487 7780 ac_cv_path_octave2="$as_dir/$ac_word$ac_exec_ext" 12488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12489 7782 break 2 12490 7783 fi 12491 7784 done 12492 done7785 done 12493 7786 IFS=$as_save_IFS 12494 7787 … … 12498 7791 octave2=$ac_cv_path_octave2 12499 7792 if test -n "$octave2"; then 12500 { echo "$as_me:$LINENO: result: $octave2" >&512501 echo "${ECHO_T}$octave2" >&6; }12502 else 12503 { echo "$as_me:$LINENO: result: no" >&512504 echo "${ECHO_T}no" >&6; }7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave2" >&5 7794 $as_echo "$octave2" >&6; } 7795 else 7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7797 $as_echo "no" >&6; } 12505 7798 fi 12506 7799 … … 12508 7801 # Extract the first word of "mkoctfile", so it can be a program name with args. 12509 7802 set dummy mkoctfile; ac_word=$2 12510 { echo "$as_me:$LINENO: checking for $ac_word" >&512511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12512 if test "${ac_cv_path_mkoctfile2+set}" = set; then12513 echo $ECHO_N "(cached) $ECHO_C" >&67803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7804 $as_echo_n "checking for $ac_word... " >&6; } 7805 if ${ac_cv_path_mkoctfile2+:} false; then : 7806 $as_echo_n "(cached) " >&6 12514 7807 else 12515 7808 case $mkoctfile2 in … … 12523 7816 IFS=$as_save_IFS 12524 7817 test -z "$as_dir" && as_dir=. 12525 for ac_exec_ext in '' $ac_executable_extensions; do7818 for ac_exec_ext in '' $ac_executable_extensions; do 12526 7819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12527 7820 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext" 12528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12529 7822 break 2 12530 7823 fi 12531 7824 done 12532 done7825 done 12533 7826 IFS=$as_save_IFS 12534 7827 … … 12538 7831 mkoctfile2=$ac_cv_path_mkoctfile2 12539 7832 if test -n "$mkoctfile2"; then 12540 { echo "$as_me:$LINENO: result: $mkoctfile2" >&512541 echo "${ECHO_T}$mkoctfile2" >&6; }12542 else 12543 { echo "$as_me:$LINENO: result: no" >&512544 echo "${ECHO_T}no" >&6; }7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5 7834 $as_echo "$mkoctfile2" >&6; } 7835 else 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7837 $as_echo "no" >&6; } 12545 7838 fi 12546 7839 … … 12564 7857 12565 7858 # Check whether --with-octave3 was given. 12566 if test "${with_octave3+set}" = set; then 7859 if test "${with_octave3+set}" = set; then : 12567 7860 withval=$with_octave3; rp_with_octave3=$withval 12568 7861 else … … 12575 7868 # Extract the first word of "octave", so it can be a program name with args. 12576 7869 set dummy octave; ac_word=$2 12577 { echo "$as_me:$LINENO: checking for $ac_word" >&512578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12579 if test "${ac_cv_path_octave3+set}" = set; then12580 echo $ECHO_N "(cached) $ECHO_C" >&67870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7871 $as_echo_n "checking for $ac_word... " >&6; } 7872 if ${ac_cv_path_octave3+:} false; then : 7873 $as_echo_n "(cached) " >&6 12581 7874 else 12582 7875 case $octave3 in … … 12590 7883 IFS=$as_save_IFS 12591 7884 test -z "$as_dir" && as_dir=. 12592 for ac_exec_ext in '' $ac_executable_extensions; do7885 for ac_exec_ext in '' $ac_executable_extensions; do 12593 7886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12594 7887 ac_cv_path_octave3="$as_dir/$ac_word$ac_exec_ext" 12595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12596 7889 break 2 12597 7890 fi 12598 7891 done 12599 done7892 done 12600 7893 IFS=$as_save_IFS 12601 7894 … … 12605 7898 octave3=$ac_cv_path_octave3 12606 7899 if test -n "$octave3"; then 12607 { echo "$as_me:$LINENO: result: $octave3" >&512608 echo "${ECHO_T}$octave3" >&6; }12609 else 12610 { echo "$as_me:$LINENO: result: no" >&512611 echo "${ECHO_T}no" >&6; }7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave3" >&5 7901 $as_echo "$octave3" >&6; } 7902 else 7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7904 $as_echo "no" >&6; } 12612 7905 fi 12613 7906 … … 12615 7908 # Extract the first word of "mkoctfile", so it can be a program name with args. 12616 7909 set dummy mkoctfile; ac_word=$2 12617 { echo "$as_me:$LINENO: checking for $ac_word" >&512618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12619 if test "${ac_cv_path_mkoctfile3+set}" = set; then12620 echo $ECHO_N "(cached) $ECHO_C" >&67910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7911 $as_echo_n "checking for $ac_word... " >&6; } 7912 if ${ac_cv_path_mkoctfile3+:} false; then : 7913 $as_echo_n "(cached) " >&6 12621 7914 else 12622 7915 case $mkoctfile3 in … … 12630 7923 IFS=$as_save_IFS 12631 7924 test -z "$as_dir" && as_dir=. 12632 for ac_exec_ext in '' $ac_executable_extensions; do7925 for ac_exec_ext in '' $ac_executable_extensions; do 12633 7926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12634 7927 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 12635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12636 7929 break 2 12637 7930 fi 12638 7931 done 12639 done7932 done 12640 7933 IFS=$as_save_IFS 12641 7934 … … 12645 7938 mkoctfile3=$ac_cv_path_mkoctfile3 12646 7939 if test -n "$mkoctfile3"; then 12647 { echo "$as_me:$LINENO: result: $mkoctfile3" >&512648 echo "${ECHO_T}$mkoctfile3" >&6; }12649 else 12650 { echo "$as_me:$LINENO: result: no" >&512651 echo "${ECHO_T}no" >&6; }7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5 7941 $as_echo "$mkoctfile3" >&6; } 7942 else 7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7944 $as_echo "no" >&6; } 12652 7945 fi 12653 7946 … … 12679 7972 12680 7973 # Check whether --with-perl was given. 12681 if test "${with_perl+set}" = set; then 7974 if test "${with_perl+set}" = set; then : 12682 7975 withval=$with_perl; 12683 7976 else … … 12701 7994 # Extract the first word of "perl", so it can be a program name with args. 12702 7995 set dummy perl; ac_word=$2 12703 { echo "$as_me:$LINENO: checking for $ac_word" >&512704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12705 if test "${ac_cv_path_PERL+set}" = set; then12706 echo $ECHO_N "(cached) $ECHO_C" >&67996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7997 $as_echo_n "checking for $ac_word... " >&6; } 7998 if ${ac_cv_path_PERL+:} false; then : 7999 $as_echo_n "(cached) " >&6 12707 8000 else 12708 8001 case $PERL in … … 12717 8010 IFS=$as_save_IFS 12718 8011 test -z "$as_dir" && as_dir=. 12719 for ac_exec_ext in '' $ac_executable_extensions; do8012 for ac_exec_ext in '' $ac_executable_extensions; do 12720 8013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12721 8014 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12723 8016 break 2 12724 8017 fi 12725 8018 done 12726 done8019 done 12727 8020 IFS=$as_save_IFS 12728 8021 … … 12732 8025 PERL=$ac_cv_path_PERL 12733 8026 if test -n "$PERL"; then 12734 { echo "$as_me:$LINENO: result: $PERL" >&512735 echo "${ECHO_T}$PERL" >&6; }12736 else 12737 { echo "$as_me:$LINENO: result: no" >&512738 echo "${ECHO_T}no" >&6; }8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8028 $as_echo "$PERL" >&6; } 8029 else 8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8031 $as_echo "no" >&6; } 12739 8032 fi 12740 8033 … … 12743 8036 # Extract the first word of "perl", so it can be a program name with args. 12744 8037 set dummy perl; ac_word=$2 12745 { echo "$as_me:$LINENO: checking for $ac_word" >&512746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12747 if test "${ac_cv_path_PERL+set}" = set; then12748 echo $ECHO_N "(cached) $ECHO_C" >&68038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8039 $as_echo_n "checking for $ac_word... " >&6; } 8040 if ${ac_cv_path_PERL+:} false; then : 8041 $as_echo_n "(cached) " >&6 12749 8042 else 12750 8043 case $PERL in … … 12758 8051 IFS=$as_save_IFS 12759 8052 test -z "$as_dir" && as_dir=. 12760 for ac_exec_ext in '' $ac_executable_extensions; do8053 for ac_exec_ext in '' $ac_executable_extensions; do 12761 8054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12762 8055 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12764 8057 break 2 12765 8058 fi 12766 8059 done 12767 done8060 done 12768 8061 IFS=$as_save_IFS 12769 8062 … … 12773 8066 PERL=$ac_cv_path_PERL 12774 8067 if test -n "$PERL"; then 12775 { echo "$as_me:$LINENO: result: $PERL" >&512776 echo "${ECHO_T}$PERL" >&6; }12777 else 12778 { echo "$as_me:$LINENO: result: no" >&512779 echo "${ECHO_T}no" >&6; }8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8069 $as_echo "$PERL" >&6; } 8070 else 8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8072 $as_echo "no" >&6; } 12780 8073 fi 12781 8074 … … 12826 8119 12827 8120 # Check whether --with-python was given. 12828 if test "${with_python+set}" = set; then 8121 if test "${with_python+set}" = set; then : 12829 8122 withval=$with_python; 12830 8123 else … … 12837 8130 # 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. 12838 8131 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 12839 { echo "$as_me:$LINENO: checking for $ac_word" >&512840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12841 if test "${ac_cv_path_PYTHON+set}" = set; then12842 echo $ECHO_N "(cached) $ECHO_C" >&68132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8133 $as_echo_n "checking for $ac_word... " >&6; } 8134 if ${ac_cv_path_PYTHON+:} false; then : 8135 $as_echo_n "(cached) " >&6 12843 8136 else 12844 8137 case $PYTHON in … … 12852 8145 IFS=$as_save_IFS 12853 8146 test -z "$as_dir" && as_dir=. 12854 for ac_exec_ext in '' $ac_executable_extensions; do8147 for ac_exec_ext in '' $ac_executable_extensions; do 12855 8148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12856 8149 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12858 8151 break 2 12859 8152 fi 12860 8153 done 12861 done8154 done 12862 8155 IFS=$as_save_IFS 12863 8156 … … 12867 8160 PYTHON=$ac_cv_path_PYTHON 12868 8161 if test -n "$PYTHON"; then 12869 { echo "$as_me:$LINENO: result: $PYTHON" >&512870 echo "${ECHO_T}$PYTHON" >&6; }12871 else 12872 { echo "$as_me:$LINENO: result: no" >&512873 echo "${ECHO_T}no" >&6; }8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8163 $as_echo "$PYTHON" >&6; } 8164 else 8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8166 $as_echo "no" >&6; } 12874 8167 fi 12875 8168 … … 12878 8171 # Extract the first word of "python", so it can be a program name with args. 12879 8172 set dummy python; ac_word=$2 12880 { echo "$as_me:$LINENO: checking for $ac_word" >&512881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12882 if test "${ac_cv_path_PYTHON+set}" = set; then12883 echo $ECHO_N "(cached) $ECHO_C" >&68173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8174 $as_echo_n "checking for $ac_word... " >&6; } 8175 if ${ac_cv_path_PYTHON+:} false; then : 8176 $as_echo_n "(cached) " >&6 12884 8177 else 12885 8178 case $PYTHON in … … 12894 8187 IFS=$as_save_IFS 12895 8188 test -z "$as_dir" && as_dir=. 12896 for ac_exec_ext in '' $ac_executable_extensions; do8189 for ac_exec_ext in '' $ac_executable_extensions; do 12897 8190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12898 8191 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12900 8193 break 2 12901 8194 fi 12902 8195 done 12903 done8196 done 12904 8197 IFS=$as_save_IFS 12905 8198 … … 12909 8202 PYTHON=$ac_cv_path_PYTHON 12910 8203 if test -n "$PYTHON"; then 12911 { echo "$as_me:$LINENO: result: $PYTHON" >&512912 echo "${ECHO_T}$PYTHON" >&6; }12913 else 12914 { echo "$as_me:$LINENO: result: no" >&512915 echo "${ECHO_T}no" >&6; }12916 fi 12917 12918 12919 fi 12920 { echo "$as_me:$LINENO: checking for Python version" >&512921 echo $ECHO_N "checking for Python version... $ECHO_C" >&6; }8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8205 $as_echo "$PYTHON" >&6; } 8206 else 8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8208 $as_echo "no" >&6; } 8209 fi 8210 8211 8212 fi 8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 8214 $as_echo_n "checking for Python version... " >&6; } 12922 8215 if test "x${PYTHON}" != "x"; then 12923 8216 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 12924 8217 fi 12925 { echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&512926 echo "${ECHO_T}$PYTHON_VERSION" >&6; }8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 8219 $as_echo "$PYTHON_VERSION" >&6; } 12927 8220 fi 12928 8221 12929 8222 if test "x${PYTHON_VERSION}" != "x"; then 12930 8223 PYTHON_INCLUDES=$incdir 12931 { echo "$as_me:$LINENO: checking for Python distutils" >&512932 echo $ECHO_N "checking for Python distutils... $ECHO_C" >&6; }8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 8225 $as_echo_n "checking for Python distutils... " >&6; } 12933 8226 PYTHON_DISTUTILS="" 12934 8227 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ … … 12937 8230 PYTHON_DISTUTILS="yes" 12938 8231 fi 12939 { echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&512940 echo "${ECHO_T}$PYTHON_DISTUTILS" >&6; }8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 8233 $as_echo "$PYTHON_DISTUTILS" >&6; } 12941 8234 if test "${PYTHON_DISTUTILS}" = "yes" ; then 12942 8235 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` … … 12944 8237 # Check for Python include path 12945 8238 # 12946 { echo "$as_me:$LINENO: checking path to Python headers" >&512947 echo $ECHO_N "checking path to Python headers... $ECHO_C" >&6; }8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 8240 $as_echo_n "checking path to Python headers... " >&6; } 12948 8241 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 12949 8242 print distutils.sysconfig.get_python_inc();"` 12950 { echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&512951 echo "${ECHO_T}$PYTHON_INCDIR" >&6; }8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 8244 $as_echo "$PYTHON_INCDIR" >&6; } 12952 8245 # 12953 8246 # Python distutils found, get settings from python directly … … 12961 8254 save_CPPFLAGS=$CPPFLAGS 12962 8255 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 12963 12964 for ac_header in Python.h 12965 do 12966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12967 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12968 { echo "$as_me:$LINENO: checking for $ac_header" >&5 12969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 12970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12971 echo $ECHO_N "(cached) $ECHO_C" >&6 12972 fi 12973 ac_res=`eval echo '${'$as_ac_Header'}'` 12974 { echo "$as_me:$LINENO: result: $ac_res" >&5 12975 echo "${ECHO_T}$ac_res" >&6; } 12976 else 12977 # Is the header compilable? 12978 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 12979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 12980 cat >conftest.$ac_ext <<_ACEOF 12981 /* confdefs.h. */ 12982 _ACEOF 12983 cat confdefs.h >>conftest.$ac_ext 12984 cat >>conftest.$ac_ext <<_ACEOF 12985 /* end confdefs.h. */ 12986 $ac_includes_default 12987 #include <$ac_header> 12988 _ACEOF 12989 rm -f conftest.$ac_objext 12990 if { (ac_try="$ac_compile" 12991 case "(($ac_try" in 12992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12993 *) ac_try_echo=$ac_try;; 12994 esac 12995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12996 (eval "$ac_compile") 2>conftest.er1 12997 ac_status=$? 12998 grep -v '^ *+' conftest.er1 >conftest.err 12999 rm -f conftest.er1 13000 cat conftest.err >&5 13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13002 (exit $ac_status); } && { 13003 test -z "$ac_cxx_werror_flag" || 13004 test ! -s conftest.err 13005 } && test -s conftest.$ac_objext; then 13006 ac_header_compiler=yes 13007 else 13008 echo "$as_me: failed program was:" >&5 13009 sed 's/^/| /' conftest.$ac_ext >&5 13010 13011 ac_header_compiler=no 13012 fi 13013 13014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13015 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13016 echo "${ECHO_T}$ac_header_compiler" >&6; } 13017 13018 # Is the header present? 13019 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 13020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 13021 cat >conftest.$ac_ext <<_ACEOF 13022 /* confdefs.h. */ 13023 _ACEOF 13024 cat confdefs.h >>conftest.$ac_ext 13025 cat >>conftest.$ac_ext <<_ACEOF 13026 /* end confdefs.h. */ 13027 #include <$ac_header> 13028 _ACEOF 13029 if { (ac_try="$ac_cpp conftest.$ac_ext" 13030 case "(($ac_try" in 13031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13032 *) ac_try_echo=$ac_try;; 13033 esac 13034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13036 ac_status=$? 13037 grep -v '^ *+' conftest.er1 >conftest.err 13038 rm -f conftest.er1 13039 cat conftest.err >&5 13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13041 (exit $ac_status); } >/dev/null && { 13042 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13043 test ! -s conftest.err 13044 }; then 13045 ac_header_preproc=yes 13046 else 13047 echo "$as_me: failed program was:" >&5 13048 sed 's/^/| /' conftest.$ac_ext >&5 13049 13050 ac_header_preproc=no 13051 fi 13052 13053 rm -f conftest.err conftest.$ac_ext 13054 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13055 echo "${ECHO_T}$ac_header_preproc" >&6; } 13056 13057 # So? What about this header? 13058 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13059 yes:no: ) 13060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13064 ac_header_preproc=yes 13065 ;; 13066 no:yes:* ) 13067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13079 ( cat <<\_ASBOX 13080 ## ----------------------------------- ## 13081 ## Report this to rappture@nanohub.org ## 13082 ## ----------------------------------- ## 13083 _ASBOX 13084 ) | sed "s/^/$as_me: WARNING: /" >&2 13085 ;; 13086 esac 13087 { echo "$as_me:$LINENO: checking for $ac_header" >&5 13088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 13089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13090 echo $ECHO_N "(cached) $ECHO_C" >&6 13091 else 13092 eval "$as_ac_Header=\$ac_header_preproc" 13093 fi 13094 ac_res=`eval echo '${'$as_ac_Header'}'` 13095 { echo "$as_me:$LINENO: result: $ac_res" >&5 13096 echo "${ECHO_T}$ac_res" >&6; } 13097 13098 fi 13099 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8256 for ac_header in Python.h 8257 do : 8258 ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 8259 if test "x$ac_cv_header_Python_h" = xyes; then : 13100 8260 cat >>confdefs.h <<_ACEOF 13101 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18261 #define HAVE_PYTHON_H 1 13102 8262 _ACEOF 13103 8263 found=yes … … 13134 8294 13135 8295 # Check whether --with-ruby was given. 13136 if test "${with_ruby+set}" = set; then 8296 if test "${with_ruby+set}" = set; then : 13137 8297 withval=$with_ruby; rp_with_ruby=$withval 13138 8298 fi … … 13143 8303 # Extract the first word of "ruby", so it can be a program name with args. 13144 8304 set dummy ruby; ac_word=$2 13145 { echo "$as_me:$LINENO: checking for $ac_word" >&513146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13147 if test "${ac_cv_path_RUBY+set}" = set; then13148 echo $ECHO_N "(cached) $ECHO_C" >&68305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8306 $as_echo_n "checking for $ac_word... " >&6; } 8307 if ${ac_cv_path_RUBY+:} false; then : 8308 $as_echo_n "(cached) " >&6 13149 8309 else 13150 8310 case $RUBY in … … 13158 8318 IFS=$as_save_IFS 13159 8319 test -z "$as_dir" && as_dir=. 13160 for ac_exec_ext in '' $ac_executable_extensions; do8320 for ac_exec_ext in '' $ac_executable_extensions; do 13161 8321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13162 8322 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13164 8324 break 2 13165 8325 fi 13166 8326 done 13167 done8327 done 13168 8328 IFS=$as_save_IFS 13169 8329 … … 13173 8333 RUBY=$ac_cv_path_RUBY 13174 8334 if test -n "$RUBY"; then 13175 { echo "$as_me:$LINENO: result: $RUBY" >&513176 echo "${ECHO_T}$RUBY" >&6; }13177 else 13178 { echo "$as_me:$LINENO: result: no" >&513179 echo "${ECHO_T}no" >&6; }8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8336 $as_echo "$RUBY" >&6; } 8337 else 8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8339 $as_echo "no" >&6; } 13180 8340 fi 13181 8341 … … 13184 8344 # Extract the first word of "ruby", so it can be a program name with args. 13185 8345 set dummy ruby; ac_word=$2 13186 { echo "$as_me:$LINENO: checking for $ac_word" >&513187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13188 if test "${ac_cv_path_RUBY+set}" = set; then13189 echo $ECHO_N "(cached) $ECHO_C" >&68346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8347 $as_echo_n "checking for $ac_word... " >&6; } 8348 if ${ac_cv_path_RUBY+:} false; then : 8349 $as_echo_n "(cached) " >&6 13190 8350 else 13191 8351 case $RUBY in … … 13200 8360 IFS=$as_save_IFS 13201 8361 test -z "$as_dir" && as_dir=. 13202 for ac_exec_ext in '' $ac_executable_extensions; do8362 for ac_exec_ext in '' $ac_executable_extensions; do 13203 8363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13204 8364 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13206 8366 break 2 13207 8367 fi 13208 8368 done 13209 done8369 done 13210 8370 IFS=$as_save_IFS 13211 8371 … … 13215 8375 RUBY=$ac_cv_path_RUBY 13216 8376 if test -n "$RUBY"; then 13217 { echo "$as_me:$LINENO: result: $RUBY" >&513218 echo "${ECHO_T}$RUBY" >&6; }13219 else 13220 { echo "$as_me:$LINENO: result: no" >&513221 echo "${ECHO_T}no" >&6; }8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8378 $as_echo "$RUBY" >&6; } 8379 else 8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8381 $as_echo "no" >&6; } 13222 8382 fi 13223 8383 … … 13230 8390 RUBY_PLATFORM= 13231 8391 if test "x${RUBY}" != "x" ; then 13232 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&513233 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }13234 if test "${ac_cv_path_SED+set}" = set; then13235 echo $ECHO_N "(cached) $ECHO_C" >&68392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8393 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8394 if ${ac_cv_path_SED+:} false; then : 8395 $as_echo_n "(cached) " >&6 13236 8396 else 13237 8397 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 13239 8399 ac_script="$ac_script$as_nl$ac_script" 13240 8400 done 13241 echo "$ac_script" | sed 99q >conftest.sed 13242 $as_unset ac_script || ac_script= 13243 # Extract the first word of "sed gsed" to use in msg output 13244 if test -z "$SED"; then 13245 set dummy sed gsed; ac_prog_name=$2 13246 if test "${ac_cv_path_SED+set}" = set; then 13247 echo $ECHO_N "(cached) $ECHO_C" >&6 13248 else 8401 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8402 { ac_script=; unset ac_script;} 8403 if test -z "$SED"; then 13249 8404 ac_path_SED_found=false 13250 # Loop through the user's path and test for each of PROGNAME-LIST13251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8405 # Loop through the user's path and test for each of PROGNAME-LIST 8406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13252 8407 for as_dir in $PATH 13253 8408 do 13254 8409 IFS=$as_save_IFS 13255 8410 test -z "$as_dir" && as_dir=. 13256 for ac_prog in sed gsed; do13257 for ac_exec_ext in '' $ac_executable_extensions; do13258 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"13259 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue13260 8411 for ac_prog in sed gsed; do 8412 for ac_exec_ext in '' $ac_executable_extensions; do 8413 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8414 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 8415 # Check for GNU ac_path_SED and select it if it is found. 13261 8416 # Check for GNU $ac_path_SED 13262 8417 case `"$ac_path_SED" --version 2>&1` in … … 13265 8420 *) 13266 8421 ac_count=0 13267 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"8422 $as_echo_n 0123456789 >"conftest.in" 13268 8423 while : 13269 8424 do … … 13271 8426 mv "conftest.tmp" "conftest.in" 13272 8427 cp "conftest.in" "conftest.nl" 13273 echo '' >> "conftest.nl"8428 $as_echo '' >> "conftest.nl" 13274 8429 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 13275 8430 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 13276 a c_count=`expr $ac_count + 1`8431 as_fn_arith $ac_count + 1 && ac_count=$as_val 13277 8432 if test $ac_count -gt ${ac_path_SED_max-0}; then 13278 8433 # Best one so far, save it but keep looking for a better one … … 13286 8441 esac 13287 8442 13288 13289 $ac_path_SED_found && break 38443 $ac_path_SED_found && break 3 8444 done 13290 8445 done 13291 done 13292 13293 done 8446 done 13294 8447 IFS=$as_save_IFS 13295 13296 13297 fi 13298 13299 SED="$ac_cv_path_SED" 13300 if test -z "$SED"; then 13301 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 13302 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 13303 { (exit 1); exit 1; }; } 13304 fi 13305 8448 if test -z "$ac_cv_path_SED"; then 8449 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8450 fi 13306 8451 else 13307 8452 ac_cv_path_SED=$SED … … 13309 8454 13310 8455 fi 13311 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&513312 echo "${ECHO_T}$ac_cv_path_SED" >&6; }8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8457 $as_echo "$ac_cv_path_SED" >&6; } 13313 8458 SED="$ac_cv_path_SED" 13314 8459 rm -f conftest.sed … … 13318 8463 13319 8464 13320 if test -n "$RUBY"; then 8465 if test -n "$RUBY"; then : 13321 8466 13322 8467 ax_ruby_version="" 13323 8468 13324 { echo "$as_me:$LINENO: checking for ruby version" >&513325 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5 8470 $as_echo_n "checking for ruby version... " >&6; } 13326 8471 13327 8472 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 13328 8473 13329 { echo "$as_me:$LINENO: result: $ruby_version" >&513330 echo "${ECHO_T}$ruby_version" >&6; }8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5 8475 $as_echo "$ruby_version" >&6; } 13331 8476 13332 8477 RUBY_VERSION=$ruby_version … … 13338 8483 # Extract the first word of "$ac_prog", so it can be a program name with args. 13339 8484 set dummy $ac_prog; ac_word=$2 13340 { echo "$as_me:$LINENO: checking for $ac_word" >&513341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13342 if test "${ac_cv_prog_AWK+set}" = set; then13343 echo $ECHO_N "(cached) $ECHO_C" >&68485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8486 $as_echo_n "checking for $ac_word... " >&6; } 8487 if ${ac_cv_prog_AWK+:} false; then : 8488 $as_echo_n "(cached) " >&6 13344 8489 else 13345 8490 if test -n "$AWK"; then … … 13351 8496 IFS=$as_save_IFS 13352 8497 test -z "$as_dir" && as_dir=. 13353 for ac_exec_ext in '' $ac_executable_extensions; do8498 for ac_exec_ext in '' $ac_executable_extensions; do 13354 8499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13355 8500 ac_cv_prog_AWK="$ac_prog" 13356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13357 8502 break 2 13358 8503 fi 13359 8504 done 13360 done8505 done 13361 8506 IFS=$as_save_IFS 13362 8507 … … 13365 8510 AWK=$ac_cv_prog_AWK 13366 8511 if test -n "$AWK"; then 13367 { echo "$as_me:$LINENO: result: $AWK" >&513368 echo "${ECHO_T}$AWK" >&6; }13369 else 13370 { echo "$as_me:$LINENO: result: no" >&513371 echo "${ECHO_T}no" >&6; }8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 8513 $as_echo "$AWK" >&6; } 8514 else 8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8516 $as_echo "no" >&6; } 13372 8517 fi 13373 8518 … … 13419 8564 else 13420 8565 13421 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13422 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13423 13424 13425 fi 13426 8566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8567 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8568 8569 8570 fi 13427 8571 13428 8572 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 13435 8579 # Check for Ruby include path 13436 8580 # 13437 { echo "$as_me:$LINENO: checking for Ruby include path" >&513438 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5 8582 $as_echo_n "checking for Ruby include path... " >&6; } 13439 8583 if test -z "$RUBY_CPPFLAGS"; then 13440 8584 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 13444 8588 RUBY_CPPFLAGS=$ruby_path 13445 8589 fi 13446 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&513447 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5 8591 $as_echo "$RUBY_CPPFLAGS" >&6; } 13448 8592 13449 8593 … … 13451 8595 # Check for Ruby library path 13452 8596 # 13453 { echo "$as_me:$LINENO: checking for Ruby library path" >&513454 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5 8598 $as_echo_n "checking for Ruby library path... " >&6; } 13455 8599 if test -z "$RUBY_LDFLAGS"; then 13456 8600 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 13457 8601 fi 13458 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&513459 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5 8603 $as_echo "$RUBY_LDFLAGS" >&6; } 13460 8604 13461 8605 … … 13463 8607 # Check for site packages 13464 8608 # 13465 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&513466 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5 8610 $as_echo_n "checking for Ruby site-packages path... " >&6; } 13467 8611 if test -z "$RUBY_SITE_PKG"; then 13468 8612 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 13469 8613 fi 13470 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&513471 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5 8615 $as_echo "$RUBY_SITE_PKG" >&6; } 13472 8616 13473 8617 … … 13475 8619 # libraries which must be linked in when embedding 13476 8620 # 13477 { echo "$as_me:$LINENO: checking ruby extra libraries" >&513478 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5 8622 $as_echo_n "checking ruby extra libraries... " >&6; } 13479 8623 if test -z "$RUBY_EXTRA_LIBS"; then 13480 8624 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 13481 8625 fi 13482 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&513483 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5 8627 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 13484 8628 13485 8629 … … 13500 8644 # final check to see if everything compiles alright 13501 8645 # 13502 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&513503 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5 8647 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 13504 8648 ac_ext=c 13505 8649 ac_cpp='$CPP $CPPFLAGS' … … 13513 8657 ac_save_CPPFLAGS="$CPPFLAGS" 13514 8658 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 13515 cat >conftest.$ac_ext <<_ACEOF 13516 /* confdefs.h. */ 13517 _ACEOF 13518 cat confdefs.h >>conftest.$ac_ext 13519 cat >>conftest.$ac_ext <<_ACEOF 8659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13520 8660 /* end confdefs.h. */ 13521 8661 … … 13532 8672 } 13533 8673 _ACEOF 13534 rm -f conftest.$ac_objext conftest$ac_exeext 13535 if { (ac_try="$ac_link" 13536 case "(($ac_try" in 13537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13538 *) ac_try_echo=$ac_try;; 13539 esac 13540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13541 (eval "$ac_link") 2>conftest.er1 13542 ac_status=$? 13543 grep -v '^ *+' conftest.er1 >conftest.err 13544 rm -f conftest.er1 13545 cat conftest.err >&5 13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13547 (exit $ac_status); } && { 13548 test -z "$ac_c_werror_flag" || 13549 test ! -s conftest.err 13550 } && test -s conftest$ac_exeext && 13551 $as_test_x conftest$ac_exeext; then 8674 if ac_fn_c_try_link "$LINENO"; then : 13552 8675 rubyexists=yes 13553 8676 else 13554 echo "$as_me: failed program was:" >&5 13555 sed 's/^/| /' conftest.$ac_ext >&5 13556 13557 rubyexists=no 13558 fi 13559 13560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13561 conftest$ac_exeext conftest.$ac_ext 13562 13563 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13564 echo "${ECHO_T}$rubyexists" >&6; } 8677 rubyexists=no 8678 fi 8679 rm -f core conftest.err conftest.$ac_objext \ 8680 conftest$ac_exeext conftest.$ac_ext 8681 8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8683 $as_echo "$rubyexists" >&6; } 13565 8684 13566 8685 if test "$rubyexists" = "no"; then … … 13594 8713 13595 8714 # Check whether --with-java was given. 13596 if test "${with_java+set}" = set; then 8715 if test "${with_java+set}" = set; then : 13597 8716 withval=$with_java; rp_with_java=$withval 13598 8717 fi … … 13603 8722 # Extract the first word of "java", so it can be a program name with args. 13604 8723 set dummy java; ac_word=$2 13605 { echo "$as_me:$LINENO: checking for $ac_word" >&513606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13607 if test "${ac_cv_path_JAVA+set}" = set; then13608 echo $ECHO_N "(cached) $ECHO_C" >&68724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8725 $as_echo_n "checking for $ac_word... " >&6; } 8726 if ${ac_cv_path_JAVA+:} false; then : 8727 $as_echo_n "(cached) " >&6 13609 8728 else 13610 8729 case $JAVA in … … 13618 8737 IFS=$as_save_IFS 13619 8738 test -z "$as_dir" && as_dir=. 13620 for ac_exec_ext in '' $ac_executable_extensions; do8739 for ac_exec_ext in '' $ac_executable_extensions; do 13621 8740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13622 8741 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13624 8743 break 2 13625 8744 fi 13626 8745 done 13627 done8746 done 13628 8747 IFS=$as_save_IFS 13629 8748 … … 13633 8752 JAVA=$ac_cv_path_JAVA 13634 8753 if test -n "$JAVA"; then 13635 { echo "$as_me:$LINENO: result: $JAVA" >&513636 echo "${ECHO_T}$JAVA" >&6; }13637 else 13638 { echo "$as_me:$LINENO: result: no" >&513639 echo "${ECHO_T}no" >&6; }8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8755 $as_echo "$JAVA" >&6; } 8756 else 8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8758 $as_echo "no" >&6; } 13640 8759 fi 13641 8760 … … 13643 8762 # Extract the first word of "javac", so it can be a program name with args. 13644 8763 set dummy javac; ac_word=$2 13645 { echo "$as_me:$LINENO: checking for $ac_word" >&513646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13647 if test "${ac_cv_path_JAVAC+set}" = set; then13648 echo $ECHO_N "(cached) $ECHO_C" >&68764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8765 $as_echo_n "checking for $ac_word... " >&6; } 8766 if ${ac_cv_path_JAVAC+:} false; then : 8767 $as_echo_n "(cached) " >&6 13649 8768 else 13650 8769 case $JAVAC in … … 13658 8777 IFS=$as_save_IFS 13659 8778 test -z "$as_dir" && as_dir=. 13660 for ac_exec_ext in '' $ac_executable_extensions; do8779 for ac_exec_ext in '' $ac_executable_extensions; do 13661 8780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13662 8781 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13664 8783 break 2 13665 8784 fi 13666 8785 done 13667 done8786 done 13668 8787 IFS=$as_save_IFS 13669 8788 … … 13673 8792 JAVAC=$ac_cv_path_JAVAC 13674 8793 if test -n "$JAVAC"; then 13675 { echo "$as_me:$LINENO: result: $JAVAC" >&513676 echo "${ECHO_T}$JAVAC" >&6; }13677 else 13678 { echo "$as_me:$LINENO: result: no" >&513679 echo "${ECHO_T}no" >&6; }8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8795 $as_echo "$JAVAC" >&6; } 8796 else 8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8798 $as_echo "no" >&6; } 13680 8799 fi 13681 8800 … … 13683 8802 # Extract the first word of "javah", so it can be a program name with args. 13684 8803 set dummy javah; ac_word=$2 13685 { echo "$as_me:$LINENO: checking for $ac_word" >&513686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13687 if test "${ac_cv_path_JAVAH+set}" = set; then13688 echo $ECHO_N "(cached) $ECHO_C" >&68804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8805 $as_echo_n "checking for $ac_word... " >&6; } 8806 if ${ac_cv_path_JAVAH+:} false; then : 8807 $as_echo_n "(cached) " >&6 13689 8808 else 13690 8809 case $JAVAH in … … 13698 8817 IFS=$as_save_IFS 13699 8818 test -z "$as_dir" && as_dir=. 13700 for ac_exec_ext in '' $ac_executable_extensions; do8819 for ac_exec_ext in '' $ac_executable_extensions; do 13701 8820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13702 8821 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13703 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 13704 8823 break 2 13705 8824 fi 13706 8825 done 13707 done8826 done 13708 8827 IFS=$as_save_IFS 13709 8828 … … 13713 8832 JAVAH=$ac_cv_path_JAVAH 13714 8833 if test -n "$JAVAH"; then 13715 { echo "$as_me:$LINENO: result: $JAVAH" >&513716 echo "${ECHO_T}$JAVAH" >&6; }13717 else 13718 { echo "$as_me:$LINENO: result: no" >&513719 echo "${ECHO_T}no" >&6; }8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8835 $as_echo "$JAVAH" >&6; } 8836 else 8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8838 $as_echo "no" >&6; } 13720 8839 fi 13721 8840 … … 13724 8843 # Extract the first word of "java", so it can be a program name with args. 13725 8844 set dummy java; ac_word=$2 13726 { echo "$as_me:$LINENO: checking for $ac_word" >&513727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13728 if test "${ac_cv_path_JAVA+set}" = set; then13729 echo $ECHO_N "(cached) $ECHO_C" >&68845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8846 $as_echo_n "checking for $ac_word... " >&6; } 8847 if ${ac_cv_path_JAVA+:} false; then : 8848 $as_echo_n "(cached) " >&6 13730 8849 else 13731 8850 case $JAVA in … … 13740 8859 IFS=$as_save_IFS 13741 8860 test -z "$as_dir" && as_dir=. 13742 for ac_exec_ext in '' $ac_executable_extensions; do8861 for ac_exec_ext in '' $ac_executable_extensions; do 13743 8862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13744 8863 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13746 8865 break 2 13747 8866 fi 13748 8867 done 13749 done8868 done 13750 8869 IFS=$as_save_IFS 13751 8870 … … 13755 8874 JAVA=$ac_cv_path_JAVA 13756 8875 if test -n "$JAVA"; then 13757 { echo "$as_me:$LINENO: result: $JAVA" >&513758 echo "${ECHO_T}$JAVA" >&6; }13759 else 13760 { echo "$as_me:$LINENO: result: no" >&513761 echo "${ECHO_T}no" >&6; }8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8877 $as_echo "$JAVA" >&6; } 8878 else 8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8880 $as_echo "no" >&6; } 13762 8881 fi 13763 8882 … … 13765 8884 # Extract the first word of "javac", so it can be a program name with args. 13766 8885 set dummy javac; ac_word=$2 13767 { echo "$as_me:$LINENO: checking for $ac_word" >&513768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13769 if test "${ac_cv_path_JAVAC+set}" = set; then13770 echo $ECHO_N "(cached) $ECHO_C" >&68886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8887 $as_echo_n "checking for $ac_word... " >&6; } 8888 if ${ac_cv_path_JAVAC+:} false; then : 8889 $as_echo_n "(cached) " >&6 13771 8890 else 13772 8891 case $JAVAC in … … 13781 8900 IFS=$as_save_IFS 13782 8901 test -z "$as_dir" && as_dir=. 13783 for ac_exec_ext in '' $ac_executable_extensions; do8902 for ac_exec_ext in '' $ac_executable_extensions; do 13784 8903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13785 8904 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13787 8906 break 2 13788 8907 fi 13789 8908 done 13790 done8909 done 13791 8910 IFS=$as_save_IFS 13792 8911 … … 13796 8915 JAVAC=$ac_cv_path_JAVAC 13797 8916 if test -n "$JAVAC"; then 13798 { echo "$as_me:$LINENO: result: $JAVAC" >&513799 echo "${ECHO_T}$JAVAC" >&6; }13800 else 13801 { echo "$as_me:$LINENO: result: no" >&513802 echo "${ECHO_T}no" >&6; }8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8918 $as_echo "$JAVAC" >&6; } 8919 else 8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8921 $as_echo "no" >&6; } 13803 8922 fi 13804 8923 … … 13806 8925 # Extract the first word of "javah", so it can be a program name with args. 13807 8926 set dummy javah; ac_word=$2 13808 { echo "$as_me:$LINENO: checking for $ac_word" >&513809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13810 if test "${ac_cv_path_JAVAH+set}" = set; then13811 echo $ECHO_N "(cached) $ECHO_C" >&68927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8928 $as_echo_n "checking for $ac_word... " >&6; } 8929 if ${ac_cv_path_JAVAH+:} false; then : 8930 $as_echo_n "(cached) " >&6 13812 8931 else 13813 8932 case $JAVAH in … … 13822 8941 IFS=$as_save_IFS 13823 8942 test -z "$as_dir" && as_dir=. 13824 for ac_exec_ext in '' $ac_executable_extensions; do8943 for ac_exec_ext in '' $ac_executable_extensions; do 13825 8944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13826 8945 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13828 8947 break 2 13829 8948 fi 13830 8949 done 13831 done8950 done 13832 8951 IFS=$as_save_IFS 13833 8952 … … 13837 8956 JAVAH=$ac_cv_path_JAVAH 13838 8957 if test -n "$JAVAH"; then 13839 { echo "$as_me:$LINENO: result: $JAVAH" >&513840 echo "${ECHO_T}$JAVAH" >&6; }13841 else 13842 { echo "$as_me:$LINENO: result: no" >&513843 echo "${ECHO_T}no" >&6; }8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8959 $as_echo "$JAVAH" >&6; } 8960 else 8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8962 $as_echo "no" >&6; } 13844 8963 fi 13845 8964 … … 13883 9002 13884 9003 13885 { echo "$as_me:$LINENO: checking how to build libraries" >&513886 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 9005 $as_echo_n "checking how to build libraries... " >&6; } 13887 9006 # Check whether --enable-shared was given. 13888 if test "${enable_shared+set}" = set; then 9007 if test "${enable_shared+set}" = set; then : 13889 9008 enableval=$enable_shared; tcl_ok=$enableval 13890 9009 else … … 13901 9020 13902 9021 if test "$tcl_ok" = "yes" ; then 13903 { echo "$as_me:$LINENO: result: shared" >&513904 echo "${ECHO_T}shared" >&6; }9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 9023 $as_echo "shared" >&6; } 13905 9024 SHARED_BUILD=1 13906 9025 else 13907 { echo "$as_me:$LINENO: result: static" >&513908 echo "${ECHO_T}static" >&6; }9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 9027 $as_echo "static" >&6; } 13909 9028 SHARED_BUILD=0 13910 cat >>confdefs.h <<\_ACEOF 13911 #define STATIC_BUILD 1 13912 _ACEOF 9029 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13913 9030 13914 9031 fi … … 13935 9052 . ${exec_prefix}/lib/tkConfig.sh 13936 9053 fi 9054 9055 13937 9056 13938 9057 … … 13945 9064 # ----------------------------------------------------------------------- 13946 9065 13947 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13948 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13949 if test "${ac_cv_c_bigendian+set}" = set; then 13950 echo $ECHO_N "(cached) $ECHO_C" >&6 13951 else 13952 # See if sys/param.h defines the BYTE_ORDER macro. 13953 cat >conftest.$ac_ext <<_ACEOF 13954 /* confdefs.h. */ 13955 _ACEOF 13956 cat confdefs.h >>conftest.$ac_ext 13957 cat >>conftest.$ac_ext <<_ACEOF 9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9067 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9068 if ${ac_cv_c_bigendian+:} false; then : 9069 $as_echo_n "(cached) " >&6 9070 else 9071 ac_cv_c_bigendian=unknown 9072 # See if we're dealing with a universal compiler. 9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9074 /* end confdefs.h. */ 9075 #ifndef __APPLE_CC__ 9076 not a universal capable compiler 9077 #endif 9078 typedef int dummy; 9079 9080 _ACEOF 9081 if ac_fn_cxx_try_compile "$LINENO"; then : 9082 9083 # Check for potential -arch flags. It is not universal unless 9084 # there are at least two -arch flags with different values. 9085 ac_arch= 9086 ac_prev= 9087 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9088 if test -n "$ac_prev"; then 9089 case $ac_word in 9090 i?86 | x86_64 | ppc | ppc64) 9091 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9092 ac_arch=$ac_word 9093 else 9094 ac_cv_c_bigendian=universal 9095 break 9096 fi 9097 ;; 9098 esac 9099 ac_prev= 9100 elif test "x$ac_word" = "x-arch"; then 9101 ac_prev=arch 9102 fi 9103 done 9104 fi 9105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9106 if test $ac_cv_c_bigendian = unknown; then 9107 # See if sys/param.h defines the BYTE_ORDER macro. 9108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13958 9109 /* end confdefs.h. */ 13959 9110 #include <sys/types.h> 13960 #include <sys/param.h>9111 #include <sys/param.h> 13961 9112 13962 9113 int 13963 9114 main () 13964 9115 { 13965 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13966 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13967 bogus endian macros 13968 #endif 9116 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 9117 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 9118 && LITTLE_ENDIAN) 9119 bogus endian macros 9120 #endif 13969 9121 13970 9122 ; … … 13972 9124 } 13973 9125 _ACEOF 13974 rm -f conftest.$ac_objext 13975 if { (ac_try="$ac_compile" 13976 case "(($ac_try" in 13977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13978 *) ac_try_echo=$ac_try;; 13979 esac 13980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13981 (eval "$ac_compile") 2>conftest.er1 13982 ac_status=$? 13983 grep -v '^ *+' conftest.er1 >conftest.err 13984 rm -f conftest.er1 13985 cat conftest.err >&5 13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13987 (exit $ac_status); } && { 13988 test -z "$ac_cxx_werror_flag" || 13989 test ! -s conftest.err 13990 } && test -s conftest.$ac_objext; then 9126 if ac_fn_cxx_try_compile "$LINENO"; then : 13991 9127 # It does; now see whether it defined to BIG_ENDIAN or not. 13992 cat >conftest.$ac_ext <<_ACEOF 13993 /* confdefs.h. */ 13994 _ACEOF 13995 cat confdefs.h >>conftest.$ac_ext 13996 cat >>conftest.$ac_ext <<_ACEOF 9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13997 9129 /* end confdefs.h. */ 13998 9130 #include <sys/types.h> 13999 #include <sys/param.h>9131 #include <sys/param.h> 14000 9132 14001 9133 int … … 14003 9135 { 14004 9136 #if BYTE_ORDER != BIG_ENDIAN 14005 not big endian14006 #endif9137 not big endian 9138 #endif 14007 9139 14008 9140 ; … … 14010 9142 } 14011 9143 _ACEOF 14012 rm -f conftest.$ac_objext 14013 if { (ac_try="$ac_compile" 14014 case "(($ac_try" in 14015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14016 *) ac_try_echo=$ac_try;; 14017 esac 14018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14019 (eval "$ac_compile") 2>conftest.er1 14020 ac_status=$? 14021 grep -v '^ *+' conftest.er1 >conftest.err 14022 rm -f conftest.er1 14023 cat conftest.err >&5 14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14025 (exit $ac_status); } && { 14026 test -z "$ac_cxx_werror_flag" || 14027 test ! -s conftest.err 14028 } && test -s conftest.$ac_objext; then 9144 if ac_fn_cxx_try_compile "$LINENO"; then : 14029 9145 ac_cv_c_bigendian=yes 14030 9146 else 14031 echo "$as_me: failed program was:" >&5 14032 sed 's/^/| /' conftest.$ac_ext >&5 14033 14034 ac_cv_c_bigendian=no 14035 fi 14036 9147 ac_cv_c_bigendian=no 9148 fi 14037 9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14038 else 14039 echo "$as_me: failed program was:" >&5 14040 sed 's/^/| /' conftest.$ac_ext >&5 14041 14042 # It does not; compile a test program. 14043 if test "$cross_compiling" = yes; then 14044 # try to guess the endianness by grepping values into an object file 14045 ac_cv_c_bigendian=unknown 14046 cat >conftest.$ac_ext <<_ACEOF 14047 /* confdefs.h. */ 14048 _ACEOF 14049 cat confdefs.h >>conftest.$ac_ext 14050 cat >>conftest.$ac_ext <<_ACEOF 9150 fi 9151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9152 fi 9153 if test $ac_cv_c_bigendian = unknown; then 9154 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14051 9156 /* end confdefs.h. */ 14052 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 14053 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 14054 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 14055 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 14056 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 14057 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 9157 #include <limits.h> 9158 14058 9159 int 14059 9160 main () 14060 9161 { 14061 _ascii (); _ebcdic (); 9162 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 9163 bogus endian macros 9164 #endif 9165 14062 9166 ; 14063 9167 return 0; 14064 9168 } 14065 9169 _ACEOF 14066 rm -f conftest.$ac_objext 14067 if { (ac_try="$ac_compile" 14068 case "(($ac_try" in 14069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14070 *) ac_try_echo=$ac_try;; 14071 esac 14072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14073 (eval "$ac_compile") 2>conftest.er1 14074 ac_status=$? 14075 grep -v '^ *+' conftest.er1 >conftest.err 14076 rm -f conftest.er1 14077 cat conftest.err >&5 14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14079 (exit $ac_status); } && {14080 test -z "$ac_cxx_werror_flag" || 14081 test ! -s conftest.err 14082 } && test -s conftest.$ac_objext; then 14083 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 9170 if ac_fn_cxx_try_compile "$LINENO"; then : 9171 # It does; now see whether it defined to _BIG_ENDIAN or not. 9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9173 /* end confdefs.h. */ 9174 #include <limits.h> 9175 9176 int 9177 main () 9178 { 9179 #ifndef _BIG_ENDIAN 9180 not big endian 9181 #endif 9182 9183 ; 9184 return 0; 9185 } 9186 _ACEOF 9187 if ac_fn_cxx_try_compile "$LINENO"; then : 14084 9188 ac_cv_c_bigendian=yes 14085 fi 14086 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14087 if test "$ac_cv_c_bigendian" = unknown; then 14088 ac_cv_c_bigendian=no 14089 else 14090 # finding both strings is unlikely to happen, but who knows? 14091 ac_cv_c_bigendian=unknown 14092 fi 14093 fi 14094 else 14095 echo "$as_me: failed program was:" >&5 14096 sed 's/^/| /' conftest.$ac_ext >&5 14097 14098 14099 fi 14100 9189 else 9190 ac_cv_c_bigendian=no 9191 fi 14101 9192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14102 else 14103 cat >conftest.$ac_ext <<_ACEOF 14104 /* confdefs.h. */ 14105 _ACEOF 14106 cat confdefs.h >>conftest.$ac_ext 14107 cat >>conftest.$ac_ext <<_ACEOF 9193 fi 9194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9195 fi 9196 if test $ac_cv_c_bigendian = unknown; then 9197 # Compile a test program. 9198 if test "$cross_compiling" = yes; then : 9199 # Try to guess by grepping values from an object file. 9200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9201 /* end confdefs.h. */ 9202 short int ascii_mm[] = 9203 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9204 short int ascii_ii[] = 9205 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9206 int use_ascii (int i) { 9207 return ascii_mm[i] + ascii_ii[i]; 9208 } 9209 short int ebcdic_ii[] = 9210 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9211 short int ebcdic_mm[] = 9212 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9213 int use_ebcdic (int i) { 9214 return ebcdic_mm[i] + ebcdic_ii[i]; 9215 } 9216 extern int foo; 9217 9218 int 9219 main () 9220 { 9221 return use_ascii (foo) == use_ebcdic (foo); 9222 ; 9223 return 0; 9224 } 9225 _ACEOF 9226 if ac_fn_cxx_try_compile "$LINENO"; then : 9227 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9228 ac_cv_c_bigendian=yes 9229 fi 9230 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9231 if test "$ac_cv_c_bigendian" = unknown; then 9232 ac_cv_c_bigendian=no 9233 else 9234 # finding both strings is unlikely to happen, but who knows? 9235 ac_cv_c_bigendian=unknown 9236 fi 9237 fi 9238 fi 9239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9240 else 9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14108 9242 /* end confdefs.h. */ 14109 9243 $ac_includes_default … … 14112 9246 { 14113 9247 14114 /* Are we little or big endian? From Harbison&Steele. */14115 union14116 {14117 long int l;14118 char c[sizeof (long int)];14119 } u;14120 u.l = 1;14121 return u.c[sizeof (long int) - 1] == 1;9248 /* Are we little or big endian? From Harbison&Steele. */ 9249 union 9250 { 9251 long int l; 9252 char c[sizeof (long int)]; 9253 } u; 9254 u.l = 1; 9255 return u.c[sizeof (long int) - 1] == 1; 14122 9256 14123 9257 ; … … 14125 9259 } 14126 9260 _ACEOF 14127 rm -f conftest$ac_exeext 14128 if { (ac_try="$ac_link" 14129 case "(($ac_try" in 14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14131 *) ac_try_echo=$ac_try;; 14132 esac 14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14134 (eval "$ac_link") 2>&5 14135 ac_status=$? 14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14138 { (case "(($ac_try" in 14139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14140 *) ac_try_echo=$ac_try;; 14141 esac 14142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14143 (eval "$ac_try") 2>&5 14144 ac_status=$? 14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14146 (exit $ac_status); }; }; then 9261 if ac_fn_cxx_try_run "$LINENO"; then : 14147 9262 ac_cv_c_bigendian=no 14148 9263 else 14149 echo "$as_me: program exited with status $ac_status" >&5 14150 echo "$as_me: failed program was:" >&5 14151 sed 's/^/| /' conftest.$ac_ext >&5 14152 14153 ( exit $ac_status ) 14154 ac_cv_c_bigendian=yes 14155 fi 14156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14157 fi 14158 14159 14160 fi 14161 14162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14163 fi 14164 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 14165 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 14166 case $ac_cv_c_bigendian in 14167 yes) 14168 14169 cat >>confdefs.h <<\_ACEOF 14170 #define WORDS_BIGENDIAN 1 14171 _ACEOF 14172 ;; 14173 no) 14174 ;; 14175 *) 14176 { { echo "$as_me:$LINENO: error: unknown endianness 14177 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 14178 echo "$as_me: error: unknown endianness 14179 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 14180 { (exit 1); exit 1; }; } ;; 14181 esac 14182 14183 { echo "$as_me:$LINENO: checking for int" >&5 14184 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 14185 if test "${ac_cv_type_int+set}" = set; then 14186 echo $ECHO_N "(cached) $ECHO_C" >&6 14187 else 14188 cat >conftest.$ac_ext <<_ACEOF 14189 /* confdefs.h. */ 14190 _ACEOF 14191 cat confdefs.h >>conftest.$ac_ext 14192 cat >>conftest.$ac_ext <<_ACEOF 14193 /* end confdefs.h. */ 14194 $ac_includes_default 14195 typedef int ac__type_new_; 14196 int 14197 main () 14198 { 14199 if ((ac__type_new_ *) 0) 14200 return 0; 14201 if (sizeof (ac__type_new_)) 14202 return 0; 14203 ; 14204 return 0; 14205 } 14206 _ACEOF 14207 rm -f conftest.$ac_objext 14208 if { (ac_try="$ac_compile" 14209 case "(($ac_try" in 14210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14211 *) ac_try_echo=$ac_try;; 14212 esac 14213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14214 (eval "$ac_compile") 2>conftest.er1 14215 ac_status=$? 14216 grep -v '^ *+' conftest.er1 >conftest.err 14217 rm -f conftest.er1 14218 cat conftest.err >&5 14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14220 (exit $ac_status); } && { 14221 test -z "$ac_cxx_werror_flag" || 14222 test ! -s conftest.err 14223 } && test -s conftest.$ac_objext; then 14224 ac_cv_type_int=yes 14225 else 14226 echo "$as_me: failed program was:" >&5 14227 sed 's/^/| /' conftest.$ac_ext >&5 14228 14229 ac_cv_type_int=no 14230 fi 14231 14232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14233 fi 14234 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 14235 echo "${ECHO_T}$ac_cv_type_int" >&6; } 9264 ac_cv_c_bigendian=yes 9265 fi 9266 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9267 conftest.$ac_objext conftest.beam conftest.$ac_ext 9268 fi 9269 9270 fi 9271 fi 9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9273 $as_echo "$ac_cv_c_bigendian" >&6; } 9274 case $ac_cv_c_bigendian in #( 9275 yes) 9276 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9277 ;; #( 9278 no) 9279 ;; #( 9280 universal) 9281 9282 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9283 9284 ;; #( 9285 *) 9286 as_fn_error $? "unknown endianness 9287 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9288 esac 14236 9289 14237 9290 # The cast to long int works around a bug in the HP C Compiler … … 14239 9292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14240 9293 # This bug is HP SR number 8606223364. 14241 { echo "$as_me:$LINENO: checking size of int" >&5 14242 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 14243 if test "${ac_cv_sizeof_int+set}" = set; then 14244 echo $ECHO_N "(cached) $ECHO_C" >&6 14245 else 14246 if test "$cross_compiling" = yes; then 14247 # Depending upon the size, compute the lo and hi bounds. 14248 cat >conftest.$ac_ext <<_ACEOF 14249 /* confdefs.h. */ 14250 _ACEOF 14251 cat confdefs.h >>conftest.$ac_ext 14252 cat >>conftest.$ac_ext <<_ACEOF 14253 /* end confdefs.h. */ 14254 $ac_includes_default 14255 typedef int ac__type_sizeof_; 14256 int 14257 main () 14258 { 14259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14260 test_array [0] = 0 14261 14262 ; 14263 return 0; 14264 } 14265 _ACEOF 14266 rm -f conftest.$ac_objext 14267 if { (ac_try="$ac_compile" 14268 case "(($ac_try" in 14269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14270 *) ac_try_echo=$ac_try;; 14271 esac 14272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14273 (eval "$ac_compile") 2>conftest.er1 14274 ac_status=$? 14275 grep -v '^ *+' conftest.er1 >conftest.err 14276 rm -f conftest.er1 14277 cat conftest.err >&5 14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14279 (exit $ac_status); } && { 14280 test -z "$ac_cxx_werror_flag" || 14281 test ! -s conftest.err 14282 } && test -s conftest.$ac_objext; then 14283 ac_lo=0 ac_mid=0 14284 while :; do 14285 cat >conftest.$ac_ext <<_ACEOF 14286 /* confdefs.h. */ 14287 _ACEOF 14288 cat confdefs.h >>conftest.$ac_ext 14289 cat >>conftest.$ac_ext <<_ACEOF 14290 /* end confdefs.h. */ 14291 $ac_includes_default 14292 typedef int ac__type_sizeof_; 14293 int 14294 main () 14295 { 14296 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14297 test_array [0] = 0 14298 14299 ; 14300 return 0; 14301 } 14302 _ACEOF 14303 rm -f conftest.$ac_objext 14304 if { (ac_try="$ac_compile" 14305 case "(($ac_try" in 14306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14307 *) ac_try_echo=$ac_try;; 14308 esac 14309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14310 (eval "$ac_compile") 2>conftest.er1 14311 ac_status=$? 14312 grep -v '^ *+' conftest.er1 >conftest.err 14313 rm -f conftest.er1 14314 cat conftest.err >&5 14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14316 (exit $ac_status); } && { 14317 test -z "$ac_cxx_werror_flag" || 14318 test ! -s conftest.err 14319 } && test -s conftest.$ac_objext; then 14320 ac_hi=$ac_mid; break 14321 else 14322 echo "$as_me: failed program was:" >&5 14323 sed 's/^/| /' conftest.$ac_ext >&5 14324 14325 ac_lo=`expr $ac_mid + 1` 14326 if test $ac_lo -le $ac_mid; then 14327 ac_lo= ac_hi= 14328 break 14329 fi 14330 ac_mid=`expr 2 '*' $ac_mid + 1` 14331 fi 14332 14333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14334 done 14335 else 14336 echo "$as_me: failed program was:" >&5 14337 sed 's/^/| /' conftest.$ac_ext >&5 14338 14339 cat >conftest.$ac_ext <<_ACEOF 14340 /* confdefs.h. */ 14341 _ACEOF 14342 cat confdefs.h >>conftest.$ac_ext 14343 cat >>conftest.$ac_ext <<_ACEOF 14344 /* end confdefs.h. */ 14345 $ac_includes_default 14346 typedef int ac__type_sizeof_; 14347 int 14348 main () 14349 { 14350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14351 test_array [0] = 0 14352 14353 ; 14354 return 0; 14355 } 14356 _ACEOF 14357 rm -f conftest.$ac_objext 14358 if { (ac_try="$ac_compile" 14359 case "(($ac_try" in 14360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14361 *) ac_try_echo=$ac_try;; 14362 esac 14363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14364 (eval "$ac_compile") 2>conftest.er1 14365 ac_status=$? 14366 grep -v '^ *+' conftest.er1 >conftest.err 14367 rm -f conftest.er1 14368 cat conftest.err >&5 14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14370 (exit $ac_status); } && { 14371 test -z "$ac_cxx_werror_flag" || 14372 test ! -s conftest.err 14373 } && test -s conftest.$ac_objext; then 14374 ac_hi=-1 ac_mid=-1 14375 while :; do 14376 cat >conftest.$ac_ext <<_ACEOF 14377 /* confdefs.h. */ 14378 _ACEOF 14379 cat confdefs.h >>conftest.$ac_ext 14380 cat >>conftest.$ac_ext <<_ACEOF 14381 /* end confdefs.h. */ 14382 $ac_includes_default 14383 typedef int ac__type_sizeof_; 14384 int 14385 main () 14386 { 14387 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14388 test_array [0] = 0 14389 14390 ; 14391 return 0; 14392 } 14393 _ACEOF 14394 rm -f conftest.$ac_objext 14395 if { (ac_try="$ac_compile" 14396 case "(($ac_try" in 14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14398 *) ac_try_echo=$ac_try;; 14399 esac 14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14401 (eval "$ac_compile") 2>conftest.er1 14402 ac_status=$? 14403 grep -v '^ *+' conftest.er1 >conftest.err 14404 rm -f conftest.er1 14405 cat conftest.err >&5 14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14407 (exit $ac_status); } && { 14408 test -z "$ac_cxx_werror_flag" || 14409 test ! -s conftest.err 14410 } && test -s conftest.$ac_objext; then 14411 ac_lo=$ac_mid; break 14412 else 14413 echo "$as_me: failed program was:" >&5 14414 sed 's/^/| /' conftest.$ac_ext >&5 14415 14416 ac_hi=`expr '(' $ac_mid ')' - 1` 14417 if test $ac_mid -le $ac_hi; then 14418 ac_lo= ac_hi= 14419 break 14420 fi 14421 ac_mid=`expr 2 '*' $ac_mid` 14422 fi 14423 14424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14425 done 14426 else 14427 echo "$as_me: failed program was:" >&5 14428 sed 's/^/| /' conftest.$ac_ext >&5 14429 14430 ac_lo= ac_hi= 14431 fi 14432 14433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14434 fi 14435 14436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14437 # Binary search between lo and hi bounds. 14438 while test "x$ac_lo" != "x$ac_hi"; do 14439 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14440 cat >conftest.$ac_ext <<_ACEOF 14441 /* confdefs.h. */ 14442 _ACEOF 14443 cat confdefs.h >>conftest.$ac_ext 14444 cat >>conftest.$ac_ext <<_ACEOF 14445 /* end confdefs.h. */ 14446 $ac_includes_default 14447 typedef int ac__type_sizeof_; 14448 int 14449 main () 14450 { 14451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14452 test_array [0] = 0 14453 14454 ; 14455 return 0; 14456 } 14457 _ACEOF 14458 rm -f conftest.$ac_objext 14459 if { (ac_try="$ac_compile" 14460 case "(($ac_try" in 14461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14462 *) ac_try_echo=$ac_try;; 14463 esac 14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14465 (eval "$ac_compile") 2>conftest.er1 14466 ac_status=$? 14467 grep -v '^ *+' conftest.er1 >conftest.err 14468 rm -f conftest.er1 14469 cat conftest.err >&5 14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14471 (exit $ac_status); } && { 14472 test -z "$ac_cxx_werror_flag" || 14473 test ! -s conftest.err 14474 } && test -s conftest.$ac_objext; then 14475 ac_hi=$ac_mid 14476 else 14477 echo "$as_me: failed program was:" >&5 14478 sed 's/^/| /' conftest.$ac_ext >&5 14479 14480 ac_lo=`expr '(' $ac_mid ')' + 1` 14481 fi 14482 14483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14484 done 14485 case $ac_lo in 14486 ?*) ac_cv_sizeof_int=$ac_lo;; 14487 '') if test "$ac_cv_type_int" = yes; then 14488 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14489 See \`config.log' for more details." >&5 14490 echo "$as_me: error: cannot compute sizeof (int) 14491 See \`config.log' for more details." >&2;} 14492 { (exit 77); exit 77; }; } 14493 else 14494 ac_cv_sizeof_int=0 14495 fi ;; 14496 esac 14497 else 14498 cat >conftest.$ac_ext <<_ACEOF 14499 /* confdefs.h. */ 14500 _ACEOF 14501 cat confdefs.h >>conftest.$ac_ext 14502 cat >>conftest.$ac_ext <<_ACEOF 14503 /* end confdefs.h. */ 14504 $ac_includes_default 14505 typedef int ac__type_sizeof_; 14506 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14507 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14508 #include <stdio.h> 14509 #include <stdlib.h> 14510 int 14511 main () 14512 { 14513 14514 FILE *f = fopen ("conftest.val", "w"); 14515 if (! f) 14516 return 1; 14517 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14518 { 14519 long int i = longval (); 14520 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14521 return 1; 14522 fprintf (f, "%ld\n", i); 14523 } 14524 else 14525 { 14526 unsigned long int i = ulongval (); 14527 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14528 return 1; 14529 fprintf (f, "%lu\n", i); 14530 } 14531 return ferror (f) || fclose (f) != 0; 14532 14533 ; 14534 return 0; 14535 } 14536 _ACEOF 14537 rm -f conftest$ac_exeext 14538 if { (ac_try="$ac_link" 14539 case "(($ac_try" in 14540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14541 *) ac_try_echo=$ac_try;; 14542 esac 14543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14544 (eval "$ac_link") 2>&5 14545 ac_status=$? 14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14547 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14548 { (case "(($ac_try" in 14549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14550 *) ac_try_echo=$ac_try;; 14551 esac 14552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14553 (eval "$ac_try") 2>&5 14554 ac_status=$? 14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14556 (exit $ac_status); }; }; then 14557 ac_cv_sizeof_int=`cat conftest.val` 14558 else 14559 echo "$as_me: program exited with status $ac_status" >&5 14560 echo "$as_me: failed program was:" >&5 14561 sed 's/^/| /' conftest.$ac_ext >&5 14562 14563 ( exit $ac_status ) 14564 if test "$ac_cv_type_int" = yes; then 14565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14566 See \`config.log' for more details." >&5 14567 echo "$as_me: error: cannot compute sizeof (int) 14568 See \`config.log' for more details." >&2;} 14569 { (exit 77); exit 77; }; } 9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9295 $as_echo_n "checking size of int... " >&6; } 9296 if ${ac_cv_sizeof_int+:} false; then : 9297 $as_echo_n "(cached) " >&6 9298 else 9299 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9300 9301 else 9302 if test "$ac_cv_type_int" = yes; then 9303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9305 as_fn_error 77 "cannot compute sizeof (int) 9306 See \`config.log' for more details" "$LINENO" 5; } 14570 9307 else 14571 9308 ac_cv_sizeof_int=0 14572 9309 fi 14573 9310 fi 14574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14575 fi 14576 rm -f conftest.val 14577 fi 14578 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 14579 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 9311 9312 fi 9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9314 $as_echo "$ac_cv_sizeof_int" >&6; } 14580 9315 14581 9316 … … 14585 9320 _ACEOF 14586 9321 14587 14588 { echo "$as_me:$LINENO: checking for long" >&514589 echo $ECHO_N "checking for long... $ECHO_C" >&6; }14590 if test "${ac_cv_type_long+set}" = set; then14591 echo $ECHO_N "(cached) $ECHO_C" >&614592 else14593 cat >conftest.$ac_ext <<_ACEOF14594 /* confdefs.h. */14595 _ACEOF14596 cat confdefs.h >>conftest.$ac_ext14597 cat >>conftest.$ac_ext <<_ACEOF14598 /* end confdefs.h. */14599 $ac_includes_default14600 typedef long ac__type_new_;14601 int14602 main ()14603 {14604 if ((ac__type_new_ *) 0)14605 return 0;14606 if (sizeof (ac__type_new_))14607 return 0;14608 ;14609 return 0;14610 }14611 _ACEOF14612 rm -f conftest.$ac_objext14613 if { (ac_try="$ac_compile"14614 case "(($ac_try" in14615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14616 *) ac_try_echo=$ac_try;;14617 esac14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514619 (eval "$ac_compile") 2>conftest.er114620 ac_status=$?14621 grep -v '^ *+' conftest.er1 >conftest.err14622 rm -f conftest.er114623 cat conftest.err >&514624 echo "$as_me:$LINENO: \$? = $ac_status" >&514625 (exit $ac_status); } && {14626 test -z "$ac_cxx_werror_flag" ||14627 test ! -s conftest.err14628 } && test -s conftest.$ac_objext; then14629 ac_cv_type_long=yes14630 else14631 echo "$as_me: failed program was:" >&514632 sed 's/^/| /' conftest.$ac_ext >&514633 14634 ac_cv_type_long=no14635 fi14636 14637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14638 fi14639 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&514640 echo "${ECHO_T}$ac_cv_type_long" >&6; }14641 9322 14642 9323 # The cast to long int works around a bug in the HP C Compiler … … 14644 9325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14645 9326 # This bug is HP SR number 8606223364. 14646 { echo "$as_me:$LINENO: checking size of long" >&5 14647 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 14648 if test "${ac_cv_sizeof_long+set}" = set; then 14649 echo $ECHO_N "(cached) $ECHO_C" >&6 14650 else 14651 if test "$cross_compiling" = yes; then 14652 # Depending upon the size, compute the lo and hi bounds. 14653 cat >conftest.$ac_ext <<_ACEOF 14654 /* confdefs.h. */ 14655 _ACEOF 14656 cat confdefs.h >>conftest.$ac_ext 14657 cat >>conftest.$ac_ext <<_ACEOF 14658 /* end confdefs.h. */ 14659 $ac_includes_default 14660 typedef long ac__type_sizeof_; 14661 int 14662 main () 14663 { 14664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14665 test_array [0] = 0 14666 14667 ; 14668 return 0; 14669 } 14670 _ACEOF 14671 rm -f conftest.$ac_objext 14672 if { (ac_try="$ac_compile" 14673 case "(($ac_try" in 14674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14675 *) ac_try_echo=$ac_try;; 14676 esac 14677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14678 (eval "$ac_compile") 2>conftest.er1 14679 ac_status=$? 14680 grep -v '^ *+' conftest.er1 >conftest.err 14681 rm -f conftest.er1 14682 cat conftest.err >&5 14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14684 (exit $ac_status); } && { 14685 test -z "$ac_cxx_werror_flag" || 14686 test ! -s conftest.err 14687 } && test -s conftest.$ac_objext; then 14688 ac_lo=0 ac_mid=0 14689 while :; do 14690 cat >conftest.$ac_ext <<_ACEOF 14691 /* confdefs.h. */ 14692 _ACEOF 14693 cat confdefs.h >>conftest.$ac_ext 14694 cat >>conftest.$ac_ext <<_ACEOF 14695 /* end confdefs.h. */ 14696 $ac_includes_default 14697 typedef long ac__type_sizeof_; 14698 int 14699 main () 14700 { 14701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14702 test_array [0] = 0 14703 14704 ; 14705 return 0; 14706 } 14707 _ACEOF 14708 rm -f conftest.$ac_objext 14709 if { (ac_try="$ac_compile" 14710 case "(($ac_try" in 14711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14712 *) ac_try_echo=$ac_try;; 14713 esac 14714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14715 (eval "$ac_compile") 2>conftest.er1 14716 ac_status=$? 14717 grep -v '^ *+' conftest.er1 >conftest.err 14718 rm -f conftest.er1 14719 cat conftest.err >&5 14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14721 (exit $ac_status); } && { 14722 test -z "$ac_cxx_werror_flag" || 14723 test ! -s conftest.err 14724 } && test -s conftest.$ac_objext; then 14725 ac_hi=$ac_mid; break 14726 else 14727 echo "$as_me: failed program was:" >&5 14728 sed 's/^/| /' conftest.$ac_ext >&5 14729 14730 ac_lo=`expr $ac_mid + 1` 14731 if test $ac_lo -le $ac_mid; then 14732 ac_lo= ac_hi= 14733 break 14734 fi 14735 ac_mid=`expr 2 '*' $ac_mid + 1` 14736 fi 14737 14738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14739 done 14740 else 14741 echo "$as_me: failed program was:" >&5 14742 sed 's/^/| /' conftest.$ac_ext >&5 14743 14744 cat >conftest.$ac_ext <<_ACEOF 14745 /* confdefs.h. */ 14746 _ACEOF 14747 cat confdefs.h >>conftest.$ac_ext 14748 cat >>conftest.$ac_ext <<_ACEOF 14749 /* end confdefs.h. */ 14750 $ac_includes_default 14751 typedef long ac__type_sizeof_; 14752 int 14753 main () 14754 { 14755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14756 test_array [0] = 0 14757 14758 ; 14759 return 0; 14760 } 14761 _ACEOF 14762 rm -f conftest.$ac_objext 14763 if { (ac_try="$ac_compile" 14764 case "(($ac_try" in 14765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14766 *) ac_try_echo=$ac_try;; 14767 esac 14768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14769 (eval "$ac_compile") 2>conftest.er1 14770 ac_status=$? 14771 grep -v '^ *+' conftest.er1 >conftest.err 14772 rm -f conftest.er1 14773 cat conftest.err >&5 14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14775 (exit $ac_status); } && { 14776 test -z "$ac_cxx_werror_flag" || 14777 test ! -s conftest.err 14778 } && test -s conftest.$ac_objext; then 14779 ac_hi=-1 ac_mid=-1 14780 while :; do 14781 cat >conftest.$ac_ext <<_ACEOF 14782 /* confdefs.h. */ 14783 _ACEOF 14784 cat confdefs.h >>conftest.$ac_ext 14785 cat >>conftest.$ac_ext <<_ACEOF 14786 /* end confdefs.h. */ 14787 $ac_includes_default 14788 typedef long ac__type_sizeof_; 14789 int 14790 main () 14791 { 14792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14793 test_array [0] = 0 14794 14795 ; 14796 return 0; 14797 } 14798 _ACEOF 14799 rm -f conftest.$ac_objext 14800 if { (ac_try="$ac_compile" 14801 case "(($ac_try" in 14802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14803 *) ac_try_echo=$ac_try;; 14804 esac 14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14806 (eval "$ac_compile") 2>conftest.er1 14807 ac_status=$? 14808 grep -v '^ *+' conftest.er1 >conftest.err 14809 rm -f conftest.er1 14810 cat conftest.err >&5 14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14812 (exit $ac_status); } && { 14813 test -z "$ac_cxx_werror_flag" || 14814 test ! -s conftest.err 14815 } && test -s conftest.$ac_objext; then 14816 ac_lo=$ac_mid; break 14817 else 14818 echo "$as_me: failed program was:" >&5 14819 sed 's/^/| /' conftest.$ac_ext >&5 14820 14821 ac_hi=`expr '(' $ac_mid ')' - 1` 14822 if test $ac_mid -le $ac_hi; then 14823 ac_lo= ac_hi= 14824 break 14825 fi 14826 ac_mid=`expr 2 '*' $ac_mid` 14827 fi 14828 14829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14830 done 14831 else 14832 echo "$as_me: failed program was:" >&5 14833 sed 's/^/| /' conftest.$ac_ext >&5 14834 14835 ac_lo= ac_hi= 14836 fi 14837 14838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14839 fi 14840 14841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14842 # Binary search between lo and hi bounds. 14843 while test "x$ac_lo" != "x$ac_hi"; do 14844 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14845 cat >conftest.$ac_ext <<_ACEOF 14846 /* confdefs.h. */ 14847 _ACEOF 14848 cat confdefs.h >>conftest.$ac_ext 14849 cat >>conftest.$ac_ext <<_ACEOF 14850 /* end confdefs.h. */ 14851 $ac_includes_default 14852 typedef long ac__type_sizeof_; 14853 int 14854 main () 14855 { 14856 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14857 test_array [0] = 0 14858 14859 ; 14860 return 0; 14861 } 14862 _ACEOF 14863 rm -f conftest.$ac_objext 14864 if { (ac_try="$ac_compile" 14865 case "(($ac_try" in 14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14867 *) ac_try_echo=$ac_try;; 14868 esac 14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14870 (eval "$ac_compile") 2>conftest.er1 14871 ac_status=$? 14872 grep -v '^ *+' conftest.er1 >conftest.err 14873 rm -f conftest.er1 14874 cat conftest.err >&5 14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14876 (exit $ac_status); } && { 14877 test -z "$ac_cxx_werror_flag" || 14878 test ! -s conftest.err 14879 } && test -s conftest.$ac_objext; then 14880 ac_hi=$ac_mid 14881 else 14882 echo "$as_me: failed program was:" >&5 14883 sed 's/^/| /' conftest.$ac_ext >&5 14884 14885 ac_lo=`expr '(' $ac_mid ')' + 1` 14886 fi 14887 14888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14889 done 14890 case $ac_lo in 14891 ?*) ac_cv_sizeof_long=$ac_lo;; 14892 '') if test "$ac_cv_type_long" = yes; then 14893 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14894 See \`config.log' for more details." >&5 14895 echo "$as_me: error: cannot compute sizeof (long) 14896 See \`config.log' for more details." >&2;} 14897 { (exit 77); exit 77; }; } 14898 else 14899 ac_cv_sizeof_long=0 14900 fi ;; 14901 esac 14902 else 14903 cat >conftest.$ac_ext <<_ACEOF 14904 /* confdefs.h. */ 14905 _ACEOF 14906 cat confdefs.h >>conftest.$ac_ext 14907 cat >>conftest.$ac_ext <<_ACEOF 14908 /* end confdefs.h. */ 14909 $ac_includes_default 14910 typedef long ac__type_sizeof_; 14911 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14912 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14913 #include <stdio.h> 14914 #include <stdlib.h> 14915 int 14916 main () 14917 { 14918 14919 FILE *f = fopen ("conftest.val", "w"); 14920 if (! f) 14921 return 1; 14922 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14923 { 14924 long int i = longval (); 14925 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14926 return 1; 14927 fprintf (f, "%ld\n", i); 14928 } 14929 else 14930 { 14931 unsigned long int i = ulongval (); 14932 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14933 return 1; 14934 fprintf (f, "%lu\n", i); 14935 } 14936 return ferror (f) || fclose (f) != 0; 14937 14938 ; 14939 return 0; 14940 } 14941 _ACEOF 14942 rm -f conftest$ac_exeext 14943 if { (ac_try="$ac_link" 14944 case "(($ac_try" in 14945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14946 *) ac_try_echo=$ac_try;; 14947 esac 14948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14949 (eval "$ac_link") 2>&5 14950 ac_status=$? 14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14953 { (case "(($ac_try" in 14954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14955 *) ac_try_echo=$ac_try;; 14956 esac 14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14958 (eval "$ac_try") 2>&5 14959 ac_status=$? 14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14961 (exit $ac_status); }; }; then 14962 ac_cv_sizeof_long=`cat conftest.val` 14963 else 14964 echo "$as_me: program exited with status $ac_status" >&5 14965 echo "$as_me: failed program was:" >&5 14966 sed 's/^/| /' conftest.$ac_ext >&5 14967 14968 ( exit $ac_status ) 14969 if test "$ac_cv_type_long" = yes; then 14970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14971 See \`config.log' for more details." >&5 14972 echo "$as_me: error: cannot compute sizeof (long) 14973 See \`config.log' for more details." >&2;} 14974 { (exit 77); exit 77; }; } 9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9328 $as_echo_n "checking size of long... " >&6; } 9329 if ${ac_cv_sizeof_long+:} false; then : 9330 $as_echo_n "(cached) " >&6 9331 else 9332 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9333 9334 else 9335 if test "$ac_cv_type_long" = yes; then 9336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9338 as_fn_error 77 "cannot compute sizeof (long) 9339 See \`config.log' for more details" "$LINENO" 5; } 14975 9340 else 14976 9341 ac_cv_sizeof_long=0 14977 9342 fi 14978 9343 fi 14979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14980 fi 14981 rm -f conftest.val 14982 fi 14983 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 14984 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 9344 9345 fi 9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9347 $as_echo "$ac_cv_sizeof_long" >&6; } 14985 9348 14986 9349 … … 14990 9353 _ACEOF 14991 9354 14992 14993 { echo "$as_me:$LINENO: checking for long long" >&514994 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }14995 if test "${ac_cv_type_long_long+set}" = set; then14996 echo $ECHO_N "(cached) $ECHO_C" >&614997 else14998 cat >conftest.$ac_ext <<_ACEOF14999 /* confdefs.h. */15000 _ACEOF15001 cat confdefs.h >>conftest.$ac_ext15002 cat >>conftest.$ac_ext <<_ACEOF15003 /* end confdefs.h. */15004 $ac_includes_default15005 typedef long long ac__type_new_;15006 int15007 main ()15008 {15009 if ((ac__type_new_ *) 0)15010 return 0;15011 if (sizeof (ac__type_new_))15012 return 0;15013 ;15014 return 0;15015 }15016 _ACEOF15017 rm -f conftest.$ac_objext15018 if { (ac_try="$ac_compile"15019 case "(($ac_try" in15020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15021 *) ac_try_echo=$ac_try;;15022 esac15023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515024 (eval "$ac_compile") 2>conftest.er115025 ac_status=$?15026 grep -v '^ *+' conftest.er1 >conftest.err15027 rm -f conftest.er115028 cat conftest.err >&515029 echo "$as_me:$LINENO: \$? = $ac_status" >&515030 (exit $ac_status); } && {15031 test -z "$ac_cxx_werror_flag" ||15032 test ! -s conftest.err15033 } && test -s conftest.$ac_objext; then15034 ac_cv_type_long_long=yes15035 else15036 echo "$as_me: failed program was:" >&515037 sed 's/^/| /' conftest.$ac_ext >&515038 15039 ac_cv_type_long_long=no15040 fi15041 15042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15043 fi15044 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&515045 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }15046 9355 15047 9356 # The cast to long int works around a bug in the HP C Compiler … … 15049 9358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15050 9359 # This bug is HP SR number 8606223364. 15051 { echo "$as_me:$LINENO: checking size of long long" >&5 15052 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 15053 if test "${ac_cv_sizeof_long_long+set}" = set; then 15054 echo $ECHO_N "(cached) $ECHO_C" >&6 15055 else 15056 if test "$cross_compiling" = yes; then 15057 # Depending upon the size, compute the lo and hi bounds. 15058 cat >conftest.$ac_ext <<_ACEOF 15059 /* confdefs.h. */ 15060 _ACEOF 15061 cat confdefs.h >>conftest.$ac_ext 15062 cat >>conftest.$ac_ext <<_ACEOF 15063 /* end confdefs.h. */ 15064 $ac_includes_default 15065 typedef long long ac__type_sizeof_; 15066 int 15067 main () 15068 { 15069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15070 test_array [0] = 0 15071 15072 ; 15073 return 0; 15074 } 15075 _ACEOF 15076 rm -f conftest.$ac_objext 15077 if { (ac_try="$ac_compile" 15078 case "(($ac_try" in 15079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15080 *) ac_try_echo=$ac_try;; 15081 esac 15082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15083 (eval "$ac_compile") 2>conftest.er1 15084 ac_status=$? 15085 grep -v '^ *+' conftest.er1 >conftest.err 15086 rm -f conftest.er1 15087 cat conftest.err >&5 15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15089 (exit $ac_status); } && { 15090 test -z "$ac_cxx_werror_flag" || 15091 test ! -s conftest.err 15092 } && test -s conftest.$ac_objext; then 15093 ac_lo=0 ac_mid=0 15094 while :; do 15095 cat >conftest.$ac_ext <<_ACEOF 15096 /* confdefs.h. */ 15097 _ACEOF 15098 cat confdefs.h >>conftest.$ac_ext 15099 cat >>conftest.$ac_ext <<_ACEOF 15100 /* end confdefs.h. */ 15101 $ac_includes_default 15102 typedef long long ac__type_sizeof_; 15103 int 15104 main () 15105 { 15106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15107 test_array [0] = 0 15108 15109 ; 15110 return 0; 15111 } 15112 _ACEOF 15113 rm -f conftest.$ac_objext 15114 if { (ac_try="$ac_compile" 15115 case "(($ac_try" in 15116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15117 *) ac_try_echo=$ac_try;; 15118 esac 15119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15120 (eval "$ac_compile") 2>conftest.er1 15121 ac_status=$? 15122 grep -v '^ *+' conftest.er1 >conftest.err 15123 rm -f conftest.er1 15124 cat conftest.err >&5 15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15126 (exit $ac_status); } && { 15127 test -z "$ac_cxx_werror_flag" || 15128 test ! -s conftest.err 15129 } && test -s conftest.$ac_objext; then 15130 ac_hi=$ac_mid; break 15131 else 15132 echo "$as_me: failed program was:" >&5 15133 sed 's/^/| /' conftest.$ac_ext >&5 15134 15135 ac_lo=`expr $ac_mid + 1` 15136 if test $ac_lo -le $ac_mid; then 15137 ac_lo= ac_hi= 15138 break 15139 fi 15140 ac_mid=`expr 2 '*' $ac_mid + 1` 15141 fi 15142 15143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15144 done 15145 else 15146 echo "$as_me: failed program was:" >&5 15147 sed 's/^/| /' conftest.$ac_ext >&5 15148 15149 cat >conftest.$ac_ext <<_ACEOF 15150 /* confdefs.h. */ 15151 _ACEOF 15152 cat confdefs.h >>conftest.$ac_ext 15153 cat >>conftest.$ac_ext <<_ACEOF 15154 /* end confdefs.h. */ 15155 $ac_includes_default 15156 typedef long long ac__type_sizeof_; 15157 int 15158 main () 15159 { 15160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15161 test_array [0] = 0 15162 15163 ; 15164 return 0; 15165 } 15166 _ACEOF 15167 rm -f conftest.$ac_objext 15168 if { (ac_try="$ac_compile" 15169 case "(($ac_try" in 15170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15171 *) ac_try_echo=$ac_try;; 15172 esac 15173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15174 (eval "$ac_compile") 2>conftest.er1 15175 ac_status=$? 15176 grep -v '^ *+' conftest.er1 >conftest.err 15177 rm -f conftest.er1 15178 cat conftest.err >&5 15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15180 (exit $ac_status); } && { 15181 test -z "$ac_cxx_werror_flag" || 15182 test ! -s conftest.err 15183 } && test -s conftest.$ac_objext; then 15184 ac_hi=-1 ac_mid=-1 15185 while :; do 15186 cat >conftest.$ac_ext <<_ACEOF 15187 /* confdefs.h. */ 15188 _ACEOF 15189 cat confdefs.h >>conftest.$ac_ext 15190 cat >>conftest.$ac_ext <<_ACEOF 15191 /* end confdefs.h. */ 15192 $ac_includes_default 15193 typedef long long ac__type_sizeof_; 15194 int 15195 main () 15196 { 15197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15198 test_array [0] = 0 15199 15200 ; 15201 return 0; 15202 } 15203 _ACEOF 15204 rm -f conftest.$ac_objext 15205 if { (ac_try="$ac_compile" 15206 case "(($ac_try" in 15207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15208 *) ac_try_echo=$ac_try;; 15209 esac 15210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15211 (eval "$ac_compile") 2>conftest.er1 15212 ac_status=$? 15213 grep -v '^ *+' conftest.er1 >conftest.err 15214 rm -f conftest.er1 15215 cat conftest.err >&5 15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15217 (exit $ac_status); } && { 15218 test -z "$ac_cxx_werror_flag" || 15219 test ! -s conftest.err 15220 } && test -s conftest.$ac_objext; then 15221 ac_lo=$ac_mid; break 15222 else 15223 echo "$as_me: failed program was:" >&5 15224 sed 's/^/| /' conftest.$ac_ext >&5 15225 15226 ac_hi=`expr '(' $ac_mid ')' - 1` 15227 if test $ac_mid -le $ac_hi; then 15228 ac_lo= ac_hi= 15229 break 15230 fi 15231 ac_mid=`expr 2 '*' $ac_mid` 15232 fi 15233 15234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15235 done 15236 else 15237 echo "$as_me: failed program was:" >&5 15238 sed 's/^/| /' conftest.$ac_ext >&5 15239 15240 ac_lo= ac_hi= 15241 fi 15242 15243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15244 fi 15245 15246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15247 # Binary search between lo and hi bounds. 15248 while test "x$ac_lo" != "x$ac_hi"; do 15249 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15250 cat >conftest.$ac_ext <<_ACEOF 15251 /* confdefs.h. */ 15252 _ACEOF 15253 cat confdefs.h >>conftest.$ac_ext 15254 cat >>conftest.$ac_ext <<_ACEOF 15255 /* end confdefs.h. */ 15256 $ac_includes_default 15257 typedef long long ac__type_sizeof_; 15258 int 15259 main () 15260 { 15261 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15262 test_array [0] = 0 15263 15264 ; 15265 return 0; 15266 } 15267 _ACEOF 15268 rm -f conftest.$ac_objext 15269 if { (ac_try="$ac_compile" 15270 case "(($ac_try" in 15271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15272 *) ac_try_echo=$ac_try;; 15273 esac 15274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15275 (eval "$ac_compile") 2>conftest.er1 15276 ac_status=$? 15277 grep -v '^ *+' conftest.er1 >conftest.err 15278 rm -f conftest.er1 15279 cat conftest.err >&5 15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15281 (exit $ac_status); } && { 15282 test -z "$ac_cxx_werror_flag" || 15283 test ! -s conftest.err 15284 } && test -s conftest.$ac_objext; then 15285 ac_hi=$ac_mid 15286 else 15287 echo "$as_me: failed program was:" >&5 15288 sed 's/^/| /' conftest.$ac_ext >&5 15289 15290 ac_lo=`expr '(' $ac_mid ')' + 1` 15291 fi 15292 15293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15294 done 15295 case $ac_lo in 15296 ?*) ac_cv_sizeof_long_long=$ac_lo;; 15297 '') if test "$ac_cv_type_long_long" = yes; then 15298 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15299 See \`config.log' for more details." >&5 15300 echo "$as_me: error: cannot compute sizeof (long long) 15301 See \`config.log' for more details." >&2;} 15302 { (exit 77); exit 77; }; } 15303 else 15304 ac_cv_sizeof_long_long=0 15305 fi ;; 15306 esac 15307 else 15308 cat >conftest.$ac_ext <<_ACEOF 15309 /* confdefs.h. */ 15310 _ACEOF 15311 cat confdefs.h >>conftest.$ac_ext 15312 cat >>conftest.$ac_ext <<_ACEOF 15313 /* end confdefs.h. */ 15314 $ac_includes_default 15315 typedef long long ac__type_sizeof_; 15316 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15317 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15318 #include <stdio.h> 15319 #include <stdlib.h> 15320 int 15321 main () 15322 { 15323 15324 FILE *f = fopen ("conftest.val", "w"); 15325 if (! f) 15326 return 1; 15327 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15328 { 15329 long int i = longval (); 15330 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15331 return 1; 15332 fprintf (f, "%ld\n", i); 15333 } 15334 else 15335 { 15336 unsigned long int i = ulongval (); 15337 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15338 return 1; 15339 fprintf (f, "%lu\n", i); 15340 } 15341 return ferror (f) || fclose (f) != 0; 15342 15343 ; 15344 return 0; 15345 } 15346 _ACEOF 15347 rm -f conftest$ac_exeext 15348 if { (ac_try="$ac_link" 15349 case "(($ac_try" in 15350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15351 *) ac_try_echo=$ac_try;; 15352 esac 15353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15354 (eval "$ac_link") 2>&5 15355 ac_status=$? 15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15357 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15358 { (case "(($ac_try" in 15359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15360 *) ac_try_echo=$ac_try;; 15361 esac 15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15363 (eval "$ac_try") 2>&5 15364 ac_status=$? 15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15366 (exit $ac_status); }; }; then 15367 ac_cv_sizeof_long_long=`cat conftest.val` 15368 else 15369 echo "$as_me: program exited with status $ac_status" >&5 15370 echo "$as_me: failed program was:" >&5 15371 sed 's/^/| /' conftest.$ac_ext >&5 15372 15373 ( exit $ac_status ) 15374 if test "$ac_cv_type_long_long" = yes; then 15375 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15376 See \`config.log' for more details." >&5 15377 echo "$as_me: error: cannot compute sizeof (long long) 15378 See \`config.log' for more details." >&2;} 15379 { (exit 77); exit 77; }; } 9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 9361 $as_echo_n "checking size of long long... " >&6; } 9362 if ${ac_cv_sizeof_long_long+:} false; then : 9363 $as_echo_n "(cached) " >&6 9364 else 9365 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9366 9367 else 9368 if test "$ac_cv_type_long_long" = yes; then 9369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9371 as_fn_error 77 "cannot compute sizeof (long long) 9372 See \`config.log' for more details" "$LINENO" 5; } 15380 9373 else 15381 9374 ac_cv_sizeof_long_long=0 15382 9375 fi 15383 9376 fi 15384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15385 fi 15386 rm -f conftest.val 15387 fi 15388 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 15389 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 9377 9378 fi 9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 9380 $as_echo "$ac_cv_sizeof_long_long" >&6; } 15390 9381 15391 9382 … … 15395 9386 _ACEOF 15396 9387 15397 15398 { echo "$as_me:$LINENO: checking for void *" >&515399 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }15400 if test "${ac_cv_type_void_p+set}" = set; then15401 echo $ECHO_N "(cached) $ECHO_C" >&615402 else15403 cat >conftest.$ac_ext <<_ACEOF15404 /* confdefs.h. */15405 _ACEOF15406 cat confdefs.h >>conftest.$ac_ext15407 cat >>conftest.$ac_ext <<_ACEOF15408 /* end confdefs.h. */15409 $ac_includes_default15410 typedef void * ac__type_new_;15411 int15412 main ()15413 {15414 if ((ac__type_new_ *) 0)15415 return 0;15416 if (sizeof (ac__type_new_))15417 return 0;15418 ;15419 return 0;15420 }15421 _ACEOF15422 rm -f conftest.$ac_objext15423 if { (ac_try="$ac_compile"15424 case "(($ac_try" in15425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15426 *) ac_try_echo=$ac_try;;15427 esac15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515429 (eval "$ac_compile") 2>conftest.er115430 ac_status=$?15431 grep -v '^ *+' conftest.er1 >conftest.err15432 rm -f conftest.er115433 cat conftest.err >&515434 echo "$as_me:$LINENO: \$? = $ac_status" >&515435 (exit $ac_status); } && {15436 test -z "$ac_cxx_werror_flag" ||15437 test ! -s conftest.err15438 } && test -s conftest.$ac_objext; then15439 ac_cv_type_void_p=yes15440 else15441 echo "$as_me: failed program was:" >&515442 sed 's/^/| /' conftest.$ac_ext >&515443 15444 ac_cv_type_void_p=no15445 fi15446 15447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15448 fi15449 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&515450 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }15451 9388 15452 9389 # The cast to long int works around a bug in the HP C Compiler … … 15454 9391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15455 9392 # This bug is HP SR number 8606223364. 15456 { echo "$as_me:$LINENO: checking size of void *" >&5 15457 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 15458 if test "${ac_cv_sizeof_void_p+set}" = set; then 15459 echo $ECHO_N "(cached) $ECHO_C" >&6 15460 else 15461 if test "$cross_compiling" = yes; then 15462 # Depending upon the size, compute the lo and hi bounds. 15463 cat >conftest.$ac_ext <<_ACEOF 15464 /* confdefs.h. */ 15465 _ACEOF 15466 cat confdefs.h >>conftest.$ac_ext 15467 cat >>conftest.$ac_ext <<_ACEOF 15468 /* end confdefs.h. */ 15469 $ac_includes_default 15470 typedef void * ac__type_sizeof_; 15471 int 15472 main () 15473 { 15474 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15475 test_array [0] = 0 15476 15477 ; 15478 return 0; 15479 } 15480 _ACEOF 15481 rm -f conftest.$ac_objext 15482 if { (ac_try="$ac_compile" 15483 case "(($ac_try" in 15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15485 *) ac_try_echo=$ac_try;; 15486 esac 15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15488 (eval "$ac_compile") 2>conftest.er1 15489 ac_status=$? 15490 grep -v '^ *+' conftest.er1 >conftest.err 15491 rm -f conftest.er1 15492 cat conftest.err >&5 15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15494 (exit $ac_status); } && { 15495 test -z "$ac_cxx_werror_flag" || 15496 test ! -s conftest.err 15497 } && test -s conftest.$ac_objext; then 15498 ac_lo=0 ac_mid=0 15499 while :; do 15500 cat >conftest.$ac_ext <<_ACEOF 15501 /* confdefs.h. */ 15502 _ACEOF 15503 cat confdefs.h >>conftest.$ac_ext 15504 cat >>conftest.$ac_ext <<_ACEOF 15505 /* end confdefs.h. */ 15506 $ac_includes_default 15507 typedef void * ac__type_sizeof_; 15508 int 15509 main () 15510 { 15511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15512 test_array [0] = 0 15513 15514 ; 15515 return 0; 15516 } 15517 _ACEOF 15518 rm -f conftest.$ac_objext 15519 if { (ac_try="$ac_compile" 15520 case "(($ac_try" in 15521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15522 *) ac_try_echo=$ac_try;; 15523 esac 15524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15525 (eval "$ac_compile") 2>conftest.er1 15526 ac_status=$? 15527 grep -v '^ *+' conftest.er1 >conftest.err 15528 rm -f conftest.er1 15529 cat conftest.err >&5 15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15531 (exit $ac_status); } && { 15532 test -z "$ac_cxx_werror_flag" || 15533 test ! -s conftest.err 15534 } && test -s conftest.$ac_objext; then 15535 ac_hi=$ac_mid; break 15536 else 15537 echo "$as_me: failed program was:" >&5 15538 sed 's/^/| /' conftest.$ac_ext >&5 15539 15540 ac_lo=`expr $ac_mid + 1` 15541 if test $ac_lo -le $ac_mid; then 15542 ac_lo= ac_hi= 15543 break 15544 fi 15545 ac_mid=`expr 2 '*' $ac_mid + 1` 15546 fi 15547 15548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15549 done 15550 else 15551 echo "$as_me: failed program was:" >&5 15552 sed 's/^/| /' conftest.$ac_ext >&5 15553 15554 cat >conftest.$ac_ext <<_ACEOF 15555 /* confdefs.h. */ 15556 _ACEOF 15557 cat confdefs.h >>conftest.$ac_ext 15558 cat >>conftest.$ac_ext <<_ACEOF 15559 /* end confdefs.h. */ 15560 $ac_includes_default 15561 typedef void * ac__type_sizeof_; 15562 int 15563 main () 15564 { 15565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15566 test_array [0] = 0 15567 15568 ; 15569 return 0; 15570 } 15571 _ACEOF 15572 rm -f conftest.$ac_objext 15573 if { (ac_try="$ac_compile" 15574 case "(($ac_try" in 15575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15576 *) ac_try_echo=$ac_try;; 15577 esac 15578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15579 (eval "$ac_compile") 2>conftest.er1 15580 ac_status=$? 15581 grep -v '^ *+' conftest.er1 >conftest.err 15582 rm -f conftest.er1 15583 cat conftest.err >&5 15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15585 (exit $ac_status); } && { 15586 test -z "$ac_cxx_werror_flag" || 15587 test ! -s conftest.err 15588 } && test -s conftest.$ac_objext; then 15589 ac_hi=-1 ac_mid=-1 15590 while :; do 15591 cat >conftest.$ac_ext <<_ACEOF 15592 /* confdefs.h. */ 15593 _ACEOF 15594 cat confdefs.h >>conftest.$ac_ext 15595 cat >>conftest.$ac_ext <<_ACEOF 15596 /* end confdefs.h. */ 15597 $ac_includes_default 15598 typedef void * ac__type_sizeof_; 15599 int 15600 main () 15601 { 15602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15603 test_array [0] = 0 15604 15605 ; 15606 return 0; 15607 } 15608 _ACEOF 15609 rm -f conftest.$ac_objext 15610 if { (ac_try="$ac_compile" 15611 case "(($ac_try" in 15612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15613 *) ac_try_echo=$ac_try;; 15614 esac 15615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15616 (eval "$ac_compile") 2>conftest.er1 15617 ac_status=$? 15618 grep -v '^ *+' conftest.er1 >conftest.err 15619 rm -f conftest.er1 15620 cat conftest.err >&5 15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15622 (exit $ac_status); } && { 15623 test -z "$ac_cxx_werror_flag" || 15624 test ! -s conftest.err 15625 } && test -s conftest.$ac_objext; then 15626 ac_lo=$ac_mid; break 15627 else 15628 echo "$as_me: failed program was:" >&5 15629 sed 's/^/| /' conftest.$ac_ext >&5 15630 15631 ac_hi=`expr '(' $ac_mid ')' - 1` 15632 if test $ac_mid -le $ac_hi; then 15633 ac_lo= ac_hi= 15634 break 15635 fi 15636 ac_mid=`expr 2 '*' $ac_mid` 15637 fi 15638 15639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15640 done 15641 else 15642 echo "$as_me: failed program was:" >&5 15643 sed 's/^/| /' conftest.$ac_ext >&5 15644 15645 ac_lo= ac_hi= 15646 fi 15647 15648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15649 fi 15650 15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15652 # Binary search between lo and hi bounds. 15653 while test "x$ac_lo" != "x$ac_hi"; do 15654 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15655 cat >conftest.$ac_ext <<_ACEOF 15656 /* confdefs.h. */ 15657 _ACEOF 15658 cat confdefs.h >>conftest.$ac_ext 15659 cat >>conftest.$ac_ext <<_ACEOF 15660 /* end confdefs.h. */ 15661 $ac_includes_default 15662 typedef void * ac__type_sizeof_; 15663 int 15664 main () 15665 { 15666 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15667 test_array [0] = 0 15668 15669 ; 15670 return 0; 15671 } 15672 _ACEOF 15673 rm -f conftest.$ac_objext 15674 if { (ac_try="$ac_compile" 15675 case "(($ac_try" in 15676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15677 *) ac_try_echo=$ac_try;; 15678 esac 15679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15680 (eval "$ac_compile") 2>conftest.er1 15681 ac_status=$? 15682 grep -v '^ *+' conftest.er1 >conftest.err 15683 rm -f conftest.er1 15684 cat conftest.err >&5 15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15686 (exit $ac_status); } && { 15687 test -z "$ac_cxx_werror_flag" || 15688 test ! -s conftest.err 15689 } && test -s conftest.$ac_objext; then 15690 ac_hi=$ac_mid 15691 else 15692 echo "$as_me: failed program was:" >&5 15693 sed 's/^/| /' conftest.$ac_ext >&5 15694 15695 ac_lo=`expr '(' $ac_mid ')' + 1` 15696 fi 15697 15698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15699 done 15700 case $ac_lo in 15701 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15702 '') if test "$ac_cv_type_void_p" = yes; then 15703 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15704 See \`config.log' for more details." >&5 15705 echo "$as_me: error: cannot compute sizeof (void *) 15706 See \`config.log' for more details." >&2;} 15707 { (exit 77); exit 77; }; } 15708 else 15709 ac_cv_sizeof_void_p=0 15710 fi ;; 15711 esac 15712 else 15713 cat >conftest.$ac_ext <<_ACEOF 15714 /* confdefs.h. */ 15715 _ACEOF 15716 cat confdefs.h >>conftest.$ac_ext 15717 cat >>conftest.$ac_ext <<_ACEOF 15718 /* end confdefs.h. */ 15719 $ac_includes_default 15720 typedef void * ac__type_sizeof_; 15721 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15722 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15723 #include <stdio.h> 15724 #include <stdlib.h> 15725 int 15726 main () 15727 { 15728 15729 FILE *f = fopen ("conftest.val", "w"); 15730 if (! f) 15731 return 1; 15732 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15733 { 15734 long int i = longval (); 15735 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15736 return 1; 15737 fprintf (f, "%ld\n", i); 15738 } 15739 else 15740 { 15741 unsigned long int i = ulongval (); 15742 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15743 return 1; 15744 fprintf (f, "%lu\n", i); 15745 } 15746 return ferror (f) || fclose (f) != 0; 15747 15748 ; 15749 return 0; 15750 } 15751 _ACEOF 15752 rm -f conftest$ac_exeext 15753 if { (ac_try="$ac_link" 15754 case "(($ac_try" in 15755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15756 *) ac_try_echo=$ac_try;; 15757 esac 15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15759 (eval "$ac_link") 2>&5 15760 ac_status=$? 15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15762 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15763 { (case "(($ac_try" in 15764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15765 *) ac_try_echo=$ac_try;; 15766 esac 15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15768 (eval "$ac_try") 2>&5 15769 ac_status=$? 15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15771 (exit $ac_status); }; }; then 15772 ac_cv_sizeof_void_p=`cat conftest.val` 15773 else 15774 echo "$as_me: program exited with status $ac_status" >&5 15775 echo "$as_me: failed program was:" >&5 15776 sed 's/^/| /' conftest.$ac_ext >&5 15777 15778 ( exit $ac_status ) 15779 if test "$ac_cv_type_void_p" = yes; then 15780 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15781 See \`config.log' for more details." >&5 15782 echo "$as_me: error: cannot compute sizeof (void *) 15783 See \`config.log' for more details." >&2;} 15784 { (exit 77); exit 77; }; } 9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 9394 $as_echo_n "checking size of void *... " >&6; } 9395 if ${ac_cv_sizeof_void_p+:} false; then : 9396 $as_echo_n "(cached) " >&6 9397 else 9398 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9399 9400 else 9401 if test "$ac_cv_type_void_p" = yes; then 9402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9404 as_fn_error 77 "cannot compute sizeof (void *) 9405 See \`config.log' for more details" "$LINENO" 5; } 15785 9406 else 15786 9407 ac_cv_sizeof_void_p=0 15787 9408 fi 15788 9409 fi 15789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15790 fi 15791 rm -f conftest.val 15792 fi 15793 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15794 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 9410 9411 fi 9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 9413 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15795 9414 15796 9415 … … 15818 9437 15819 9438 15820 { echo "$as_me:$LINENO: checking for build with symbols" >&515821 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 9440 $as_echo_n "checking for build with symbols... " >&6; } 15822 9441 # Check whether --enable-symbols was given. 15823 if test "${enable_symbols+set}" = set; then 9442 if test "${enable_symbols+set}" = set; then : 15824 9443 enableval=$enable_symbols; tcl_ok=$enableval 15825 9444 else … … 15832 9451 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 15833 9452 DBGX="" 15834 { echo "$as_me:$LINENO: result: no" >&515835 echo "${ECHO_T}no" >&6; }9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9454 $as_echo "no" >&6; } 15836 9455 else 15837 9456 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 15839 9458 DBGX=g 15840 9459 if test "$tcl_ok" = "yes"; then 15841 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&515842 echo "${ECHO_T}yes (standard debugging)" >&6; }9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 9461 $as_echo "yes (standard debugging)" >&6; } 15843 9462 fi 15844 9463 fi … … 15847 9466 15848 9467 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 15849 cat >>confdefs.h <<\_ACEOF 15850 #define TCL_MEM_DEBUG 1 15851 _ACEOF 9468 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15852 9469 15853 9470 fi 15854 9471 15855 9472 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 15856 cat >>confdefs.h <<\_ACEOF 15857 #define TCL_COMPILE_DEBUG 1 15858 _ACEOF 15859 15860 cat >>confdefs.h <<\_ACEOF 15861 #define TCL_COMPILE_STATS 1 15862 _ACEOF 9473 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9474 9475 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15863 9476 15864 9477 fi … … 15866 9479 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 15867 9480 if test "$tcl_ok" = "all"; then 15868 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&515869 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 9482 $as_echo "enabled symbols mem compile debugging" >&6; } 15870 9483 else 15871 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&515872 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 9485 $as_echo "enabled $tcl_ok debugging" >&6; } 15873 9486 fi 15874 9487 fi … … 15880 9493 #-------------------------------------------------------------------- 15881 9494 15882 15883 9495 for ac_header in ffmpeg/avcodec.h 15884 do 15885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15886 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15889 echo $ECHO_N "(cached) $ECHO_C" >&6 15890 else 15891 cat >conftest.$ac_ext <<_ACEOF 15892 /* confdefs.h. */ 15893 _ACEOF 15894 cat confdefs.h >>conftest.$ac_ext 15895 cat >>conftest.$ac_ext <<_ACEOF 15896 /* end confdefs.h. */ 15897 #define __STDC_CONSTANT_MACROS 1 9496 do : 9497 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avcodec.h" "ac_cv_header_ffmpeg_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15898 9498 #ifdef HAVE_FFMPEG_AVCODEC_H 15899 9499 # include <ffmpeg/avcodec.h> 15900 9500 #endif 15901 9501 15902 15903 #include <$ac_header> 15904 _ACEOF 15905 rm -f conftest.$ac_objext 15906 if { (ac_try="$ac_compile" 15907 case "(($ac_try" in 15908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15909 *) ac_try_echo=$ac_try;; 15910 esac 15911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15912 (eval "$ac_compile") 2>conftest.er1 15913 ac_status=$? 15914 grep -v '^ *+' conftest.er1 >conftest.err 15915 rm -f conftest.er1 15916 cat conftest.err >&5 15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15918 (exit $ac_status); } && { 15919 test -z "$ac_cxx_werror_flag" || 15920 test ! -s conftest.err 15921 } && test -s conftest.$ac_objext; then 15922 eval "$as_ac_Header=yes" 15923 else 15924 echo "$as_me: failed program was:" >&5 15925 sed 's/^/| /' conftest.$ac_ext >&5 15926 15927 eval "$as_ac_Header=no" 15928 fi 15929 15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15931 fi 15932 ac_res=`eval echo '${'$as_ac_Header'}'` 15933 { echo "$as_me:$LINENO: result: $ac_res" >&5 15934 echo "${ECHO_T}$ac_res" >&6; } 15935 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9502 " 9503 if test "x$ac_cv_header_ffmpeg_avcodec_h" = xyes; then : 15936 9504 cat >>confdefs.h <<_ACEOF 15937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15938 _ACEOF 15939 15940 fi 15941 15942 done 15943 9505 #define HAVE_FFMPEG_AVCODEC_H 1 9506 _ACEOF 9507 9508 fi 9509 9510 done 15944 9511 15945 9512 15946 9513 for ac_header in libavcodec/avcodec.h 15947 do 15948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15949 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15952 echo $ECHO_N "(cached) $ECHO_C" >&6 15953 else 15954 cat >conftest.$ac_ext <<_ACEOF 15955 /* confdefs.h. */ 15956 _ACEOF 15957 cat confdefs.h >>conftest.$ac_ext 15958 cat >>conftest.$ac_ext <<_ACEOF 15959 /* end confdefs.h. */ 15960 #define __STDC_CONSTANT_MACROS 1 9514 do : 9515 ac_fn_cxx_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15961 9516 #ifdef HAVE_LIBAVCODEC_AVCODEC_H 15962 9517 # include <libavcodec/avcodec.h> 15963 9518 #endif 15964 9519 15965 15966 #include <$ac_header> 15967 _ACEOF 15968 rm -f conftest.$ac_objext 15969 if { (ac_try="$ac_compile" 15970 case "(($ac_try" in 15971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15972 *) ac_try_echo=$ac_try;; 15973 esac 15974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15975 (eval "$ac_compile") 2>conftest.er1 15976 ac_status=$? 15977 grep -v '^ *+' conftest.er1 >conftest.err 15978 rm -f conftest.er1 15979 cat conftest.err >&5 15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15981 (exit $ac_status); } && { 15982 test -z "$ac_cxx_werror_flag" || 15983 test ! -s conftest.err 15984 } && test -s conftest.$ac_objext; then 15985 eval "$as_ac_Header=yes" 15986 else 15987 echo "$as_me: failed program was:" >&5 15988 sed 's/^/| /' conftest.$ac_ext >&5 15989 15990 eval "$as_ac_Header=no" 15991 fi 15992 15993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15994 fi 15995 ac_res=`eval echo '${'$as_ac_Header'}'` 15996 { echo "$as_me:$LINENO: result: $ac_res" >&5 15997 echo "${ECHO_T}$ac_res" >&6; } 15998 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9520 " 9521 if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes; then : 15999 9522 cat >>confdefs.h <<_ACEOF 16000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16001 _ACEOF 16002 16003 fi 16004 16005 done 16006 9523 #define HAVE_LIBAVCODEC_AVCODEC_H 1 9524 _ACEOF 9525 9526 fi 9527 9528 done 16007 9529 16008 9530 16009 9531 for ac_header in ffmpeg/avformat.h 16010 do 16011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16012 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16015 echo $ECHO_N "(cached) $ECHO_C" >&6 16016 else 16017 cat >conftest.$ac_ext <<_ACEOF 16018 /* confdefs.h. */ 16019 _ACEOF 16020 cat confdefs.h >>conftest.$ac_ext 16021 cat >>conftest.$ac_ext <<_ACEOF 16022 /* end confdefs.h. */ 16023 #define __STDC_CONSTANT_MACROS 1 9532 do : 9533 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avformat.h" "ac_cv_header_ffmpeg_avformat_h" "#define __STDC_CONSTANT_MACROS 1 16024 9534 #ifdef HAVE_FFMPEG_AVFORMAT_H 16025 9535 # include <ffmpeg/avformat.h> 16026 9536 #endif 16027 9537 16028 16029 #include <$ac_header> 16030 _ACEOF 16031 rm -f conftest.$ac_objext 16032 if { (ac_try="$ac_compile" 16033 case "(($ac_try" in 16034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16035 *) ac_try_echo=$ac_try;; 16036 esac 16037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16038 (eval "$ac_compile") 2>conftest.er1 16039 ac_status=$? 16040 grep -v '^ *+' conftest.er1 >conftest.err 16041 rm -f conftest.er1 16042 cat conftest.err >&5 16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16044 (exit $ac_status); } && { 16045 test -z "$ac_cxx_werror_flag" || 16046 test ! -s conftest.err 16047 } && test -s conftest.$ac_objext; then 16048 eval "$as_ac_Header=yes" 16049 else 16050 echo "$as_me: failed program was:" >&5 16051 sed 's/^/| /' conftest.$ac_ext >&5 16052 16053 eval "$as_ac_Header=no" 16054 fi 16055 16056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16057 fi 16058 ac_res=`eval echo '${'$as_ac_Header'}'` 16059 { echo "$as_me:$LINENO: result: $ac_res" >&5 16060 echo "${ECHO_T}$ac_res" >&6; } 16061 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9538 " 9539 if test "x$ac_cv_header_ffmpeg_avformat_h" = xyes; then : 16062 9540 cat >>confdefs.h <<_ACEOF 16063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16064 _ACEOF 16065 16066 fi 16067 16068 done 16069 9541 #define HAVE_FFMPEG_AVFORMAT_H 1 9542 _ACEOF 9543 9544 fi 9545 9546 done 16070 9547 16071 9548 16072 9549 for ac_header in libavformat/avformat.h 16073 do 16074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16075 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16078 echo $ECHO_N "(cached) $ECHO_C" >&6 16079 else 16080 cat >conftest.$ac_ext <<_ACEOF 16081 /* confdefs.h. */ 16082 _ACEOF 16083 cat confdefs.h >>conftest.$ac_ext 16084 cat >>conftest.$ac_ext <<_ACEOF 16085 /* end confdefs.h. */ 16086 #define __STDC_CONSTANT_MACROS 1 9550 do : 9551 ac_fn_cxx_check_header_compile "$LINENO" "libavformat/avformat.h" "ac_cv_header_libavformat_avformat_h" "#define __STDC_CONSTANT_MACROS 1 16087 9552 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H 16088 9553 # include <libavformat/avformat.h> 16089 9554 #endif 16090 9555 16091 16092 #include <$ac_header> 16093 _ACEOF 16094 rm -f conftest.$ac_objext 16095 if { (ac_try="$ac_compile" 16096 case "(($ac_try" in 16097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16098 *) ac_try_echo=$ac_try;; 16099 esac 16100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16101 (eval "$ac_compile") 2>conftest.er1 16102 ac_status=$? 16103 grep -v '^ *+' conftest.er1 >conftest.err 16104 rm -f conftest.er1 16105 cat conftest.err >&5 16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16107 (exit $ac_status); } && { 16108 test -z "$ac_cxx_werror_flag" || 16109 test ! -s conftest.err 16110 } && test -s conftest.$ac_objext; then 16111 eval "$as_ac_Header=yes" 16112 else 16113 echo "$as_me: failed program was:" >&5 16114 sed 's/^/| /' conftest.$ac_ext >&5 16115 16116 eval "$as_ac_Header=no" 16117 fi 16118 16119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16120 fi 16121 ac_res=`eval echo '${'$as_ac_Header'}'` 16122 { echo "$as_me:$LINENO: result: $ac_res" >&5 16123 echo "${ECHO_T}$ac_res" >&6; } 16124 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9556 " 9557 if test "x$ac_cv_header_libavformat_avformat_h" = xyes; then : 16125 9558 cat >>confdefs.h <<_ACEOF 16126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16127 _ACEOF 16128 16129 fi 16130 16131 done 16132 9559 #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 9560 _ACEOF 9561 9562 fi 9563 9564 done 16133 9565 16134 9566 16135 9567 for ac_header in ffmpeg/avutil.h 16136 do 16137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16138 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16141 echo $ECHO_N "(cached) $ECHO_C" >&6 16142 else 16143 cat >conftest.$ac_ext <<_ACEOF 16144 /* confdefs.h. */ 16145 _ACEOF 16146 cat confdefs.h >>conftest.$ac_ext 16147 cat >>conftest.$ac_ext <<_ACEOF 16148 /* end confdefs.h. */ 16149 #define __STDC_CONSTANT_MACROS 1 9568 do : 9569 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16150 9570 #ifdef HAVE_FFMPEG_AVUTIL_H 16151 9571 # include <ffmpeg/avutil.h> 16152 9572 #endif 16153 9573 16154 16155 #include <$ac_header> 16156 _ACEOF 16157 rm -f conftest.$ac_objext 16158 if { (ac_try="$ac_compile" 16159 case "(($ac_try" in 16160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16161 *) ac_try_echo=$ac_try;; 16162 esac 16163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16164 (eval "$ac_compile") 2>conftest.er1 16165 ac_status=$? 16166 grep -v '^ *+' conftest.er1 >conftest.err 16167 rm -f conftest.er1 16168 cat conftest.err >&5 16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16170 (exit $ac_status); } && { 16171 test -z "$ac_cxx_werror_flag" || 16172 test ! -s conftest.err 16173 } && test -s conftest.$ac_objext; then 16174 eval "$as_ac_Header=yes" 16175 else 16176 echo "$as_me: failed program was:" >&5 16177 sed 's/^/| /' conftest.$ac_ext >&5 16178 16179 eval "$as_ac_Header=no" 16180 fi 16181 16182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16183 fi 16184 ac_res=`eval echo '${'$as_ac_Header'}'` 16185 { echo "$as_me:$LINENO: result: $ac_res" >&5 16186 echo "${ECHO_T}$ac_res" >&6; } 16187 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9574 " 9575 if test "x$ac_cv_header_ffmpeg_avutil_h" = xyes; then : 16188 9576 cat >>confdefs.h <<_ACEOF 16189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16190 _ACEOF 16191 16192 fi 16193 16194 done 16195 9577 #define HAVE_FFMPEG_AVUTIL_H 1 9578 _ACEOF 9579 9580 fi 9581 9582 done 16196 9583 16197 9584 16198 9585 for ac_header in libavutil/avutil.h 16199 do 16200 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16201 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16204 echo $ECHO_N "(cached) $ECHO_C" >&6 16205 else 16206 cat >conftest.$ac_ext <<_ACEOF 16207 /* confdefs.h. */ 16208 _ACEOF 16209 cat confdefs.h >>conftest.$ac_ext 16210 cat >>conftest.$ac_ext <<_ACEOF 16211 /* end confdefs.h. */ 16212 #define __STDC_CONSTANT_MACROS 1 9586 do : 9587 ac_fn_cxx_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16213 9588 #ifdef HAVE_LIBAVUTIL_AVUTIL_H 16214 9589 # include <libavutil/avutil.h> 16215 9590 #endif 16216 9591 16217 16218 #include <$ac_header> 16219 _ACEOF 16220 rm -f conftest.$ac_objext 16221 if { (ac_try="$ac_compile" 16222 case "(($ac_try" in 16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16224 *) ac_try_echo=$ac_try;; 16225 esac 16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16227 (eval "$ac_compile") 2>conftest.er1 16228 ac_status=$? 16229 grep -v '^ *+' conftest.er1 >conftest.err 16230 rm -f conftest.er1 16231 cat conftest.err >&5 16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16233 (exit $ac_status); } && { 16234 test -z "$ac_cxx_werror_flag" || 16235 test ! -s conftest.err 16236 } && test -s conftest.$ac_objext; then 16237 eval "$as_ac_Header=yes" 16238 else 16239 echo "$as_me: failed program was:" >&5 16240 sed 's/^/| /' conftest.$ac_ext >&5 16241 16242 eval "$as_ac_Header=no" 16243 fi 16244 16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16246 fi 16247 ac_res=`eval echo '${'$as_ac_Header'}'` 16248 { echo "$as_me:$LINENO: result: $ac_res" >&5 16249 echo "${ECHO_T}$ac_res" >&6; } 16250 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9592 " 9593 if test "x$ac_cv_header_libavutil_avutil_h" = xyes; then : 16251 9594 cat >>confdefs.h <<_ACEOF 16252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16253 _ACEOF 16254 16255 fi 16256 16257 done 16258 9595 #define HAVE_LIBAVUTIL_AVUTIL_H 1 9596 _ACEOF 9597 9598 fi 9599 9600 done 16259 9601 16260 9602 16261 9603 for ac_header in ffmpeg/swscale.h 16262 do 16263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16264 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16267 echo $ECHO_N "(cached) $ECHO_C" >&6 16268 else 16269 cat >conftest.$ac_ext <<_ACEOF 16270 /* confdefs.h. */ 16271 _ACEOF 16272 cat confdefs.h >>conftest.$ac_ext 16273 cat >>conftest.$ac_ext <<_ACEOF 16274 /* end confdefs.h. */ 16275 #define __STDC_CONSTANT_MACROS 1 9604 do : 9605 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/swscale.h" "ac_cv_header_ffmpeg_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16276 9606 #ifdef HAVE_FFMPEG_SWSCALE_H 16277 9607 # include <ffmpeg/swscale.h> 16278 9608 #endif 16279 9609 16280 16281 #include <$ac_header> 16282 _ACEOF 16283 rm -f conftest.$ac_objext 16284 if { (ac_try="$ac_compile" 16285 case "(($ac_try" in 16286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16287 *) ac_try_echo=$ac_try;; 16288 esac 16289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16290 (eval "$ac_compile") 2>conftest.er1 16291 ac_status=$? 16292 grep -v '^ *+' conftest.er1 >conftest.err 16293 rm -f conftest.er1 16294 cat conftest.err >&5 16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16296 (exit $ac_status); } && { 16297 test -z "$ac_cxx_werror_flag" || 16298 test ! -s conftest.err 16299 } && test -s conftest.$ac_objext; then 16300 eval "$as_ac_Header=yes" 16301 else 16302 echo "$as_me: failed program was:" >&5 16303 sed 's/^/| /' conftest.$ac_ext >&5 16304 16305 eval "$as_ac_Header=no" 16306 fi 16307 16308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16309 fi 16310 ac_res=`eval echo '${'$as_ac_Header'}'` 16311 { echo "$as_me:$LINENO: result: $ac_res" >&5 16312 echo "${ECHO_T}$ac_res" >&6; } 16313 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9610 " 9611 if test "x$ac_cv_header_ffmpeg_swscale_h" = xyes; then : 16314 9612 cat >>confdefs.h <<_ACEOF 16315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16316 _ACEOF 16317 16318 fi 16319 16320 done 16321 9613 #define HAVE_FFMPEG_SWSCALE_H 1 9614 _ACEOF 9615 9616 fi 9617 9618 done 16322 9619 16323 9620 16324 9621 for ac_header in libswscale/swscale.h 16325 do 16326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16327 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16330 echo $ECHO_N "(cached) $ECHO_C" >&6 16331 else 16332 cat >conftest.$ac_ext <<_ACEOF 16333 /* confdefs.h. */ 16334 _ACEOF 16335 cat confdefs.h >>conftest.$ac_ext 16336 cat >>conftest.$ac_ext <<_ACEOF 16337 /* end confdefs.h. */ 16338 #define __STDC_CONSTANT_MACROS 1 9622 do : 9623 ac_fn_cxx_check_header_compile "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16339 9624 #ifdef HAVE_LIBSWSCALE_SWSCALE_H 16340 9625 # include <libswscale/swscale.h> 16341 9626 #endif 16342 9627 16343 16344 #include <$ac_header> 16345 _ACEOF 16346 rm -f conftest.$ac_objext 16347 if { (ac_try="$ac_compile" 16348 case "(($ac_try" in 16349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16350 *) ac_try_echo=$ac_try;; 16351 esac 16352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16353 (eval "$ac_compile") 2>conftest.er1 16354 ac_status=$? 16355 grep -v '^ *+' conftest.er1 >conftest.err 16356 rm -f conftest.er1 16357 cat conftest.err >&5 16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16359 (exit $ac_status); } && { 16360 test -z "$ac_cxx_werror_flag" || 16361 test ! -s conftest.err 16362 } && test -s conftest.$ac_objext; then 16363 eval "$as_ac_Header=yes" 16364 else 16365 echo "$as_me: failed program was:" >&5 16366 sed 's/^/| /' conftest.$ac_ext >&5 16367 16368 eval "$as_ac_Header=no" 16369 fi 16370 16371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16372 fi 16373 ac_res=`eval echo '${'$as_ac_Header'}'` 16374 { echo "$as_me:$LINENO: result: $ac_res" >&5 16375 echo "${ECHO_T}$ac_res" >&6; } 16376 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9628 " 9629 if test "x$ac_cv_header_libswscale_swscale_h" = xyes; then : 16377 9630 cat >>confdefs.h <<_ACEOF 16378 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19631 #define HAVE_LIBSWSCALE_SWSCALE_H 1 16379 9632 _ACEOF 16380 9633 … … 16395 9648 HAVE_FFMPEG_LIBS="yes" 16396 9649 16397 cat >>confdefs.h <<\_ACEOF 16398 #define BUILD_with_ffmpeg 1 16399 _ACEOF 9650 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 16400 9651 16401 9652 else … … 16403 9654 fi 16404 9655 16405 16406 9656 for ac_func in img_convert 16407 do 16408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16409 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16411 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16412 echo $ECHO_N "(cached) $ECHO_C" >&6 16413 else 16414 cat >conftest.$ac_ext <<_ACEOF 16415 /* confdefs.h. */ 16416 _ACEOF 16417 cat confdefs.h >>conftest.$ac_ext 16418 cat >>conftest.$ac_ext <<_ACEOF 16419 /* end confdefs.h. */ 16420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16421 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16422 #define $ac_func innocuous_$ac_func 16423 16424 /* System header to define __stub macros and hopefully few prototypes, 16425 which can conflict with char $ac_func (); below. 16426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16427 <limits.h> exists even on freestanding compilers. */ 16428 16429 #ifdef __STDC__ 16430 # include <limits.h> 16431 #else 16432 # include <assert.h> 16433 #endif 16434 16435 #undef $ac_func 16436 16437 /* Override any GCC internal prototype to avoid an error. 16438 Use char because int might match the return type of a GCC 16439 builtin and then its argument prototype would still apply. */ 16440 #ifdef __cplusplus 16441 extern "C" 16442 #endif 16443 char $ac_func (); 16444 /* The GNU C library defines this for functions which it implements 16445 to always fail with ENOSYS. Some functions are actually named 16446 something starting with __ and the normal name is an alias. */ 16447 #if defined __stub_$ac_func || defined __stub___$ac_func 16448 choke me 16449 #endif 16450 16451 int 16452 main () 16453 { 16454 return $ac_func (); 16455 ; 16456 return 0; 16457 } 16458 _ACEOF 16459 rm -f conftest.$ac_objext conftest$ac_exeext 16460 if { (ac_try="$ac_link" 16461 case "(($ac_try" in 16462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16463 *) ac_try_echo=$ac_try;; 16464 esac 16465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16466 (eval "$ac_link") 2>conftest.er1 16467 ac_status=$? 16468 grep -v '^ *+' conftest.er1 >conftest.err 16469 rm -f conftest.er1 16470 cat conftest.err >&5 16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16472 (exit $ac_status); } && { 16473 test -z "$ac_cxx_werror_flag" || 16474 test ! -s conftest.err 16475 } && test -s conftest$ac_exeext && 16476 $as_test_x conftest$ac_exeext; then 16477 eval "$as_ac_var=yes" 16478 else 16479 echo "$as_me: failed program was:" >&5 16480 sed 's/^/| /' conftest.$ac_ext >&5 16481 16482 eval "$as_ac_var=no" 16483 fi 16484 16485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16486 conftest$ac_exeext conftest.$ac_ext 16487 fi 16488 ac_res=`eval echo '${'$as_ac_var'}'` 16489 { echo "$as_me:$LINENO: result: $ac_res" >&5 16490 echo "${ECHO_T}$ac_res" >&6; } 16491 if test `eval echo '${'$as_ac_var'}'` = yes; then 9657 do : 9658 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9659 if test "x$ac_cv_func_img_convert" = xyes; then : 16492 9660 cat >>confdefs.h <<_ACEOF 16493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16494 _ACEOF 16495 16496 fi 16497 done 16498 9661 #define HAVE_IMG_CONVERT 1 9662 _ACEOF 9663 9664 fi 9665 done 16499 9666 16500 9667 for ac_func in sws_scale 16501 do 16502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16503 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16506 echo $ECHO_N "(cached) $ECHO_C" >&6 16507 else 16508 cat >conftest.$ac_ext <<_ACEOF 16509 /* confdefs.h. */ 16510 _ACEOF 16511 cat confdefs.h >>conftest.$ac_ext 16512 cat >>conftest.$ac_ext <<_ACEOF 16513 /* end confdefs.h. */ 16514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16515 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16516 #define $ac_func innocuous_$ac_func 16517 16518 /* System header to define __stub macros and hopefully few prototypes, 16519 which can conflict with char $ac_func (); below. 16520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16521 <limits.h> exists even on freestanding compilers. */ 16522 16523 #ifdef __STDC__ 16524 # include <limits.h> 16525 #else 16526 # include <assert.h> 16527 #endif 16528 16529 #undef $ac_func 16530 16531 /* Override any GCC internal prototype to avoid an error. 16532 Use char because int might match the return type of a GCC 16533 builtin and then its argument prototype would still apply. */ 16534 #ifdef __cplusplus 16535 extern "C" 16536 #endif 16537 char $ac_func (); 16538 /* The GNU C library defines this for functions which it implements 16539 to always fail with ENOSYS. Some functions are actually named 16540 something starting with __ and the normal name is an alias. */ 16541 #if defined __stub_$ac_func || defined __stub___$ac_func 16542 choke me 16543 #endif 16544 16545 int 16546 main () 16547 { 16548 return $ac_func (); 16549 ; 16550 return 0; 16551 } 16552 _ACEOF 16553 rm -f conftest.$ac_objext conftest$ac_exeext 16554 if { (ac_try="$ac_link" 16555 case "(($ac_try" in 16556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16557 *) ac_try_echo=$ac_try;; 16558 esac 16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16560 (eval "$ac_link") 2>conftest.er1 16561 ac_status=$? 16562 grep -v '^ *+' conftest.er1 >conftest.err 16563 rm -f conftest.er1 16564 cat conftest.err >&5 16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16566 (exit $ac_status); } && { 16567 test -z "$ac_cxx_werror_flag" || 16568 test ! -s conftest.err 16569 } && test -s conftest$ac_exeext && 16570 $as_test_x conftest$ac_exeext; then 16571 eval "$as_ac_var=yes" 16572 else 16573 echo "$as_me: failed program was:" >&5 16574 sed 's/^/| /' conftest.$ac_ext >&5 16575 16576 eval "$as_ac_var=no" 16577 fi 16578 16579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16580 conftest$ac_exeext conftest.$ac_ext 16581 fi 16582 ac_res=`eval echo '${'$as_ac_var'}'` 16583 { echo "$as_me:$LINENO: result: $ac_res" >&5 16584 echo "${ECHO_T}$ac_res" >&6; } 16585 if test `eval echo '${'$as_ac_var'}'` = yes; then 9668 do : 9669 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9670 if test "x$ac_cv_func_sws_scale" = xyes; then : 16586 9671 cat >>confdefs.h <<_ACEOF 16587 #define `echo "HAVE_$ac_func" | $as_tr_cpp`19672 #define HAVE_SWS_SCALE 1 16588 9673 _ACEOF 16589 9674 … … 16594 9679 16595 9680 ac_configure_args="--disable-threads --enable-shared" 9681 9682 16596 9683 subdirs="$subdirs packages/optimizer/src" 16597 9684 16598 9685 16599 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile instant/Makefile instant/irappture lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/2/Makefile examples/app-fermi/octave/3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/datatable/Makefile examples/zoo/datatable/matlab/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/filechoice/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile oldtest/Makefile oldtest/src/Makefile"9686 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile gui/src/Makefile builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/2/Makefile examples/app-fermi/octave/3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/datatable/Makefile examples/zoo/datatable/matlab/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/filechoice/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile oldtest/Makefile oldtest/src/Makefile" 16600 9687 16601 9688 cat >confcache <<\_ACEOF … … 16626 9713 *${as_nl}*) 16627 9714 case $ac_var in #( 16628 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&516629 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;9715 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9716 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16630 9717 esac 16631 9718 case $ac_var in #( 16632 9719 _ | IFS | as_nl) ;; #( 16633 *) $as_unset $ac_var ;; 9720 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9721 *) { eval $ac_var=; unset $ac_var;} ;; 16634 9722 esac ;; 16635 9723 esac … … 16639 9727 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16640 9728 *${as_nl}ac_space=\ *) 16641 # `set' does not quote correctly, so add quotes (double-quote16642 # substitution turns \\\\ into \\, and sed turns \\ into \ ).9729 # `set' does not quote correctly, so add quotes: double-quote 9730 # substitution turns \\\\ into \\, and sed turns \\ into \. 16643 9731 sed -n \ 16644 9732 "s/'/'\\\\''/g; … … 16662 9750 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16663 9751 if test -w "$cache_file"; then 16664 test "x$cache_file" != "x/dev/null" && 16665 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 16666 echo "$as_me: updating cache $cache_file" >&6;} 16667 cat confcache >$cache_file 9752 if test "x$cache_file" != "x/dev/null"; then 9753 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9754 $as_echo "$as_me: updating cache $cache_file" >&6;} 9755 if test ! -f "$cache_file" || test -h "$cache_file"; then 9756 cat confcache >"$cache_file" 9757 else 9758 case $cache_file in #( 9759 */* | ?:*) 9760 mv -f confcache "$cache_file"$$ && 9761 mv -f "$cache_file"$$ "$cache_file" ;; #( 9762 *) 9763 mv -f confcache "$cache_file" ;; 9764 esac 9765 fi 9766 fi 16668 9767 else 16669 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&516670 echo "$as_me: not updating unwritable cache $cache_file" >&6;}9768 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9769 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16671 9770 fi 16672 9771 fi … … 16681 9780 ac_libobjs= 16682 9781 ac_ltlibobjs= 9782 U= 16683 9783 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16684 9784 # 1. Remove the extension, and $U if already installed. 16685 9785 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16686 ac_i=` echo "$ac_i" | sed "$ac_script"`9786 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16687 9787 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16688 9788 # will be set to the directory where LIBOBJS objects are built. 16689 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"16690 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'9789 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9790 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16691 9791 done 16692 9792 LIBOBJS=$ac_libobjs … … 16696 9796 16697 9797 16698 : ${CONFIG_STATUS=./config.status} 9798 9799 : "${CONFIG_STATUS=./config.status}" 9800 ac_write_fail=0 16699 9801 ac_clean_files_save=$ac_clean_files 16700 9802 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16701 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 16702 echo "$as_me: creating $CONFIG_STATUS" >&6;} 16703 cat >$CONFIG_STATUS <<_ACEOF 9803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9804 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9805 as_write_fail=0 9806 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16704 9807 #! $SHELL 16705 9808 # Generated by $as_me. … … 16711 9814 ac_cs_recheck=false 16712 9815 ac_cs_silent=false 9816 16713 9817 SHELL=\${CONFIG_SHELL-$SHELL} 16714 _ACEOF 16715 16716 cat >>$CONFIG_STATUS <<\_A CEOF16717 ## -------------------- -##16718 ## M4sh Initialization. 16719 ## -------------------- -##9818 export SHELL 9819 _ASEOF 9820 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9821 ## -------------------- ## 9822 ## M4sh Initialization. ## 9823 ## -------------------- ## 16720 9824 16721 9825 # Be more Bourne compatible 16722 9826 DUALCASE=1; export DUALCASE # for MKS sh 16723 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9827 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16724 9828 emulate sh 16725 9829 NULLCMD=: 16726 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9830 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16727 9831 # is contrary to our usage. Disable this feature. 16728 9832 alias -g '${1+"$@"}'='"$@"' 16729 9833 setopt NO_GLOB_SUBST 16730 9834 else 16731 case `(set -o) 2>/dev/null` in 16732 *posix*) set -o posix ;; 9835 case `(set -o) 2>/dev/null` in #( 9836 *posix*) : 9837 set -o posix ;; #( 9838 *) : 9839 ;; 16733 9840 esac 16734 16735 fi 16736 16737 16738 16739 16740 # PATH needs CR 16741 # Avoid depending upon Character Ranges. 16742 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16743 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16744 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16745 as_cr_digits='0123456789' 16746 as_cr_alnum=$as_cr_Letters$as_cr_digits 9841 fi 9842 9843 9844 as_nl=' 9845 ' 9846 export as_nl 9847 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9848 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9849 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9850 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9851 # Prefer a ksh shell builtin over an external printf program on Solaris, 9852 # but without wasting forks for bash or zsh. 9853 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9854 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9855 as_echo='print -r --' 9856 as_echo_n='print -rn --' 9857 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9858 as_echo='printf %s\n' 9859 as_echo_n='printf %s' 9860 else 9861 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9862 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9863 as_echo_n='/usr/ucb/echo -n' 9864 else 9865 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9866 as_echo_n_body='eval 9867 arg=$1; 9868 case $arg in #( 9869 *"$as_nl"*) 9870 expr "X$arg" : "X\\(.*\\)$as_nl"; 9871 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9872 esac; 9873 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9874 ' 9875 export as_echo_n_body 9876 as_echo_n='sh -c $as_echo_n_body as_echo' 9877 fi 9878 export as_echo_body 9879 as_echo='sh -c $as_echo_body as_echo' 9880 fi 16747 9881 16748 9882 # The user is always right. 16749 9883 if test "${PATH_SEPARATOR+set}" != set; then 16750 echo "#! /bin/sh" >conf$$.sh 16751 echo "exit 0" >>conf$$.sh 16752 chmod +x conf$$.sh 16753 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 16754 PATH_SEPARATOR=';' 16755 else 16756 PATH_SEPARATOR=: 16757 fi 16758 rm -f conf$$.sh 16759 fi 16760 16761 # Support unset when possible. 16762 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 16763 as_unset=unset 16764 else 16765 as_unset=false 9884 PATH_SEPARATOR=: 9885 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9886 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9887 PATH_SEPARATOR=';' 9888 } 16766 9889 fi 16767 9890 … … 16772 9895 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 16773 9896 # splitting by setting IFS to empty value.) 16774 as_nl='16775 '16776 9897 IFS=" "" $as_nl" 16777 9898 16778 9899 # Find who we are. Look in the path if we contain no directory separator. 16779 case $0 in 9900 as_myself= 9901 case $0 in #(( 16780 9902 *[\\/]* ) as_myself=$0 ;; 16781 9903 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 16784 9906 IFS=$as_save_IFS 16785 9907 test -z "$as_dir" && as_dir=. 16786 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break16787 done9908 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9909 done 16788 9910 IFS=$as_save_IFS 16789 9911 … … 16796 9918 fi 16797 9919 if test ! -f "$as_myself"; then 16798 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16799 { (exit 1); exit 1; } 16800 fi 16801 16802 # Work around bugs in pre-3.0 UWIN ksh. 16803 for as_var in ENV MAIL MAILPATH 16804 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9920 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9921 exit 1 9922 fi 9923 9924 # Unset variables that we do not need and which cause bugs (e.g. in 9925 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9926 # suppresses any "Segmentation fault" message there. '((' could 9927 # trigger a bug in pdksh 5.2.14. 9928 for as_var in BASH_ENV ENV MAIL MAILPATH 9929 do eval test x\${$as_var+set} = xset \ 9930 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16805 9931 done 16806 9932 PS1='$ ' … … 16809 9935 16810 9936 # NLS nuisances. 16811 for as_var in \ 16812 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 16813 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 16814 LC_TELEPHONE LC_TIME 16815 do 16816 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 16817 eval $as_var=C; export $as_var 16818 else 16819 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 16820 fi 16821 done 16822 16823 # Required to use basename. 9937 LC_ALL=C 9938 export LC_ALL 9939 LANGUAGE=C 9940 export LANGUAGE 9941 9942 # CDPATH. 9943 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9944 9945 9946 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9947 # ---------------------------------------- 9948 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9949 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9950 # script with STATUS, using 1 if that was 0. 9951 as_fn_error () 9952 { 9953 as_status=$1; test $as_status -eq 0 && as_status=1 9954 if test "$4"; then 9955 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9956 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9957 fi 9958 $as_echo "$as_me: error: $2" >&2 9959 as_fn_exit $as_status 9960 } # as_fn_error 9961 9962 9963 # as_fn_set_status STATUS 9964 # ----------------------- 9965 # Set $? to STATUS, without forking. 9966 as_fn_set_status () 9967 { 9968 return $1 9969 } # as_fn_set_status 9970 9971 # as_fn_exit STATUS 9972 # ----------------- 9973 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9974 as_fn_exit () 9975 { 9976 set +e 9977 as_fn_set_status $1 9978 exit $1 9979 } # as_fn_exit 9980 9981 # as_fn_unset VAR 9982 # --------------- 9983 # Portably unset VAR. 9984 as_fn_unset () 9985 { 9986 { eval $1=; unset $1;} 9987 } 9988 as_unset=as_fn_unset 9989 # as_fn_append VAR VALUE 9990 # ---------------------- 9991 # Append the text in VALUE to the end of the definition contained in VAR. Take 9992 # advantage of any shell optimizations that allow amortized linear growth over 9993 # repeated appends, instead of the typical quadratic growth present in naive 9994 # implementations. 9995 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9996 eval 'as_fn_append () 9997 { 9998 eval $1+=\$2 9999 }' 10000 else 10001 as_fn_append () 10002 { 10003 eval $1=\$$1\$2 10004 } 10005 fi # as_fn_append 10006 10007 # as_fn_arith ARG... 10008 # ------------------ 10009 # Perform arithmetic evaluation on the ARGs, and store the result in the 10010 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10011 # must be portable across $(()) and expr. 10012 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10013 eval 'as_fn_arith () 10014 { 10015 as_val=$(( $* )) 10016 }' 10017 else 10018 as_fn_arith () 10019 { 10020 as_val=`expr "$@" || test $? -eq 1` 10021 } 10022 fi # as_fn_arith 10023 10024 16824 10025 if expr a : '\(a\)' >/dev/null 2>&1 && 16825 10026 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 16835 10036 fi 16836 10037 16837 16838 # Name of the executable. 10038 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10039 as_dirname=dirname 10040 else 10041 as_dirname=false 10042 fi 10043 16839 10044 as_me=`$as_basename -- "$0" || 16840 10045 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16841 10046 X"$0" : 'X\(//\)$' \| \ 16842 10047 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16843 echo X/"$0" |10048 $as_echo X/"$0" | 16844 10049 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16845 10050 s//\1/ … … 16856 10061 s/.*/./; q'` 16857 10062 16858 # CDPATH. 16859 $as_unset CDPATH 16860 16861 16862 16863 as_lineno_1=$LINENO 16864 as_lineno_2=$LINENO 16865 test "x$as_lineno_1" != "x$as_lineno_2" && 16866 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 16867 16868 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 16869 # uniformly replaced by the line number. The first 'sed' inserts a 16870 # line-number line after each line using $LINENO; the second 'sed' 16871 # does the real work. The second script uses 'N' to pair each 16872 # line-number line with the line containing $LINENO, and appends 16873 # trailing '-' during substitution so that $LINENO is not a special 16874 # case at line end. 16875 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16876 # scripts with optimization help from Paolo Bonzini. Blame Lee 16877 # E. McMahon (1931-1989) for sed's syntax. :-) 16878 sed -n ' 16879 p 16880 /[$]LINENO/= 16881 ' <$as_myself | 16882 sed ' 16883 s/[$]LINENO.*/&-/ 16884 t lineno 16885 b 16886 :lineno 16887 N 16888 :loop 16889 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 16890 t loop 16891 s/-\n.*// 16892 ' >$as_me.lineno && 16893 chmod +x "$as_me.lineno" || 16894 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 16895 { (exit 1); exit 1; }; } 16896 16897 # Don't try to exec as it changes $[0], causing all sort of problems 16898 # (the dirname of $[0] is not the place where we might find the 16899 # original and so on. Autoconf is especially sensitive to this). 16900 . "./$as_me.lineno" 16901 # Exit status is that of the last command. 16902 exit 16903 } 16904 16905 16906 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16907 as_dirname=dirname 16908 else 16909 as_dirname=false 16910 fi 10063 # Avoid depending upon Character Ranges. 10064 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10065 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10066 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10067 as_cr_digits='0123456789' 10068 as_cr_alnum=$as_cr_Letters$as_cr_digits 16911 10069 16912 10070 ECHO_C= ECHO_N= ECHO_T= 16913 case `echo -n x` in 10071 case `echo -n x` in #((((( 16914 10072 -n*) 16915 case `echo 'x \c'` in10073 case `echo 'xy\c'` in 16916 10074 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16917 *) ECHO_C='\c';; 10075 xy) ECHO_C='\c';; 10076 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10077 ECHO_T=' ';; 16918 10078 esac;; 16919 10079 *) … … 16921 10081 esac 16922 10082 16923 if expr a : '\(a\)' >/dev/null 2>&1 &&16924 test "X`expr 00001 : '.*\(...\)'`" = X001; then16925 as_expr=expr16926 else16927 as_expr=false16928 fi16929 16930 10083 rm -f conf$$ conf$$.exe conf$$.file 16931 10084 if test -d conf$$.dir; then … … 16933 10086 else 16934 10087 rm -f conf$$.dir 16935 mkdir conf$$.dir 16936 fi 16937 echo >conf$$.file 16938 if ln -s conf$$.file conf$$ 2>/dev/null; then 16939 as_ln_s='ln -s' 16940 # ... but there are two gotchas: 16941 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16942 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16943 # In both cases, we have to default to `cp -p'. 16944 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10088 mkdir conf$$.dir 2>/dev/null 10089 fi 10090 if (echo >conf$$.file) 2>/dev/null; then 10091 if ln -s conf$$.file conf$$ 2>/dev/null; then 10092 as_ln_s='ln -s' 10093 # ... but there are two gotchas: 10094 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10095 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10096 # In both cases, we have to default to `cp -p'. 10097 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10098 as_ln_s='cp -p' 10099 elif ln conf$$.file conf$$ 2>/dev/null; then 10100 as_ln_s=ln 10101 else 16945 10102 as_ln_s='cp -p' 16946 elif ln conf$$.file conf$$ 2>/dev/null; then 16947 as_ln_s=ln 10103 fi 16948 10104 else 16949 10105 as_ln_s='cp -p' … … 16952 10108 rmdir conf$$.dir 2>/dev/null 16953 10109 10110 10111 # as_fn_mkdir_p 10112 # ------------- 10113 # Create "$as_dir" as a directory, including parents if necessary. 10114 as_fn_mkdir_p () 10115 { 10116 10117 case $as_dir in #( 10118 -*) as_dir=./$as_dir;; 10119 esac 10120 test -d "$as_dir" || eval $as_mkdir_p || { 10121 as_dirs= 10122 while :; do 10123 case $as_dir in #( 10124 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10125 *) as_qdir=$as_dir;; 10126 esac 10127 as_dirs="'$as_qdir' $as_dirs" 10128 as_dir=`$as_dirname -- "$as_dir" || 10129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10130 X"$as_dir" : 'X\(//\)[^/]' \| \ 10131 X"$as_dir" : 'X\(//\)$' \| \ 10132 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10133 $as_echo X"$as_dir" | 10134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10135 s//\1/ 10136 q 10137 } 10138 /^X\(\/\/\)[^/].*/{ 10139 s//\1/ 10140 q 10141 } 10142 /^X\(\/\/\)$/{ 10143 s//\1/ 10144 q 10145 } 10146 /^X\(\/\).*/{ 10147 s//\1/ 10148 q 10149 } 10150 s/.*/./; q'` 10151 test -d "$as_dir" && break 10152 done 10153 test -z "$as_dirs" || eval "mkdir $as_dirs" 10154 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10155 10156 10157 } # as_fn_mkdir_p 16954 10158 if mkdir -p . 2>/dev/null; then 16955 as_mkdir_p= :10159 as_mkdir_p='mkdir -p "$as_dir"' 16956 10160 else 16957 10161 test -d ./-p && rmdir ./-p … … 16970 10174 eval sh -c '\'' 16971 10175 if test -d "$1"; then 16972 10176 test -d "$1/."; 16973 10177 else 16974 case $1 in 16975 10178 case $1 in #( 10179 -*)set "./$1";; 16976 10180 esac; 16977 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 10181 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 16978 10182 ???[sx]*):;;*)false;;esac;fi 16979 10183 '\'' sh … … 16990 10194 16991 10195 exec 6>&1 16992 16993 # Save the log message, to keep $[0] and so on meaningful, and to 10196 ## ----------------------------------- ## 10197 ## Main body of $CONFIG_STATUS script. ## 10198 ## ----------------------------------- ## 10199 _ASEOF 10200 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10201 10202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10203 # Save the log message, to keep $0 and so on meaningful, and to 16994 10204 # report actual input values of CONFIG_FILES etc. instead of their 16995 10205 # values after options handling. 16996 10206 ac_log=" 16997 10207 This file was extended by Rappture $as_me 1.1, which was 16998 generated by GNU Autoconf 2.6 1. Invocation command line was10208 generated by GNU Autoconf 2.68. Invocation command line was 16999 10209 17000 10210 CONFIG_FILES = $CONFIG_FILES … … 17009 10219 _ACEOF 17010 10220 17011 cat >>$CONFIG_STATUS <<_ACEOF 10221 case $ac_config_files in *" 10222 "*) set x $ac_config_files; shift; ac_config_files=$*;; 10223 esac 10224 10225 case $ac_config_headers in *" 10226 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10227 esac 10228 10229 10230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17012 10231 # Files that config.status was made for. 17013 10232 config_files="$ac_config_files" … … 17016 10235 _ACEOF 17017 10236 17018 cat >>$CONFIG_STATUS <<\_ACEOF 10237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17019 10238 ac_cs_usage="\ 17020 \`$as_me' instantiates files from templates according to the 17021 current configuration. 17022 17023 Usage: $0 [OPTIONS] [FILE]... 10239 \`$as_me' instantiates files and other configuration actions 10240 from templates according to the current configuration. Unless the files 10241 and actions are specified as TAGs, all are instantiated by default. 10242 10243 Usage: $0 [OPTION]... [TAG]... 17024 10244 17025 10245 -h, --help print this help, then exit 17026 10246 -V, --version print version number and configuration settings, then exit 17027 -q, --quiet do not print progress messages 10247 --config print configuration, then exit 10248 -q, --quiet, --silent 10249 do not print progress messages 17028 10250 -d, --debug don't remove temporary files 17029 10251 --recheck update $as_me by reconfiguring in the same conditions 17030 --file=FILE[:TEMPLATE]17031 17032 --header=FILE[:TEMPLATE]17033 10252 --file=FILE[:TEMPLATE] 10253 instantiate the configuration file FILE 10254 --header=FILE[:TEMPLATE] 10255 instantiate the configuration header FILE 17034 10256 17035 10257 Configuration files: … … 17039 10261 $config_headers 17040 10262 17041 Report bugs to <bug-autoconf@gnu.org>." 17042 17043 _ACEOF 17044 cat >>$CONFIG_STATUS <<_ACEOF 10263 Report bugs to <rappture@nanohub.org>." 10264 10265 _ACEOF 10266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10267 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17045 10268 ac_cs_version="\\ 17046 10269 Rappture config.status 1.1 17047 configured by $0, generated by GNU Autoconf 2.6 1,17048 with options \\" `echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"17049 17050 Copyright (C) 20 06Free Software Foundation, Inc.10270 configured by $0, generated by GNU Autoconf 2.68, 10271 with options \\"\$ac_cs_config\\" 10272 10273 Copyright (C) 2010 Free Software Foundation, Inc. 17051 10274 This config.status script is free software; the Free Software Foundation 17052 10275 gives unlimited permission to copy, distribute and modify it." … … 17056 10279 INSTALL='$INSTALL' 17057 10280 MKDIR_P='$MKDIR_P' 17058 _ACEOF 17059 17060 cat >>$CONFIG_STATUS <<\_ACEOF 17061 # If no file are specified by the user, then we need to provide default 17062 # value. By we need to know if files were specified by the user. 10281 AWK='$AWK' 10282 test -n "\$AWK" || AWK=awk 10283 _ACEOF 10284 10285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10286 # The default lists apply if the user does not specify any file. 17063 10287 ac_need_defaults=: 17064 10288 while test $# != 0 17065 10289 do 17066 10290 case $1 in 17067 --*= *)10291 --*=?*) 17068 10292 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17069 10293 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10294 ac_shift=: 10295 ;; 10296 --*=) 10297 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10298 ac_optarg= 17070 10299 ac_shift=: 17071 10300 ;; … … 17082 10311 ac_cs_recheck=: ;; 17083 10312 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17084 echo "$ac_cs_version"; exit ;; 10313 $as_echo "$ac_cs_version"; exit ;; 10314 --config | --confi | --conf | --con | --co | --c ) 10315 $as_echo "$ac_cs_config"; exit ;; 17085 10316 --debug | --debu | --deb | --de | --d | -d ) 17086 10317 debug=: ;; 17087 10318 --file | --fil | --fi | --f ) 17088 10319 $ac_shift 17089 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 10320 case $ac_optarg in 10321 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10322 '') as_fn_error $? "missing file argument" ;; 10323 esac 10324 as_fn_append CONFIG_FILES " '$ac_optarg'" 17090 10325 ac_need_defaults=false;; 17091 10326 --header | --heade | --head | --hea ) 17092 10327 $ac_shift 17093 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 10328 case $ac_optarg in 10329 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10330 esac 10331 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17094 10332 ac_need_defaults=false;; 17095 10333 --he | --h) 17096 10334 # Conflict between --help and --header 17097 { echo "$as_me: error: ambiguous option: $1 17098 Try \`$0 --help' for more information." >&2 17099 { (exit 1); exit 1; }; };; 10335 as_fn_error $? "ambiguous option: \`$1' 10336 Try \`$0 --help' for more information.";; 17100 10337 --help | --hel | -h ) 17101 echo "$ac_cs_usage"; exit ;;10338 $as_echo "$ac_cs_usage"; exit ;; 17102 10339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17103 10340 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 17105 10342 17106 10343 # This is an error. 17107 -*) { echo "$as_me: error: unrecognized option: $1 17108 Try \`$0 --help' for more information." >&2 17109 { (exit 1); exit 1; }; } ;; 17110 17111 *) ac_config_targets="$ac_config_targets $1" 10344 -*) as_fn_error $? "unrecognized option: \`$1' 10345 Try \`$0 --help' for more information." ;; 10346 10347 *) as_fn_append ac_config_targets " $1" 17112 10348 ac_need_defaults=false ;; 17113 10349 … … 17124 10360 17125 10361 _ACEOF 17126 cat >>$CONFIG_STATUS <<_ACEOF 10362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17127 10363 if \$ac_cs_recheck; then 17128 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 17129 CONFIG_SHELL=$SHELL 10364 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10365 shift 10366 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10367 CONFIG_SHELL='$SHELL' 17130 10368 export CONFIG_SHELL 17131 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion17132 fi 17133 17134 _ACEOF 17135 cat >>$CONFIG_STATUS <<\_ACEOF 10369 exec "\$@" 10370 fi 10371 10372 _ACEOF 10373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17136 10374 exec 5>>config.log 17137 10375 { … … 17140 10378 ## Running $as_me. ## 17141 10379 _ASBOX 17142 echo "$ac_log"10380 $as_echo "$ac_log" 17143 10381 } >&5 17144 10382 17145 10383 _ACEOF 17146 cat >>$CONFIG_STATUS <<_ACEOF 17147 _ACEOF 17148 17149 cat >>$CONFIG_STATUS <<\_ACEOF 10384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10385 _ACEOF 10386 10387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17150 10388 17151 10389 # Handling of arguments. … … 17174 10412 "gui/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES gui/pkgIndex.tcl" ;; 17175 10413 "gui/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES gui/scripts/Makefile" ;; 17176 "instant/Makefile") CONFIG_FILES="$CONFIG_FILES instant/Makefile" ;; 17177 "instant/irappture") CONFIG_FILES="$CONFIG_FILES instant/irappture" ;; 10414 "gui/src/Makefile") CONFIG_FILES="$CONFIG_FILES gui/src/Makefile" ;; 10415 "builder/Makefile") CONFIG_FILES="$CONFIG_FILES builder/Makefile" ;; 10416 "builder/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES builder/pkgIndex.tcl" ;; 10417 "builder/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES builder/scripts/Makefile" ;; 10418 "tester/Makefile") CONFIG_FILES="$CONFIG_FILES tester/Makefile" ;; 10419 "tester/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES tester/pkgIndex.tcl" ;; 10420 "tester/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES tester/scripts/Makefile" ;; 17178 10421 "lang/Makefile") CONFIG_FILES="$CONFIG_FILES lang/Makefile" ;; 17179 10422 "lang/java/Makefile") CONFIG_FILES="$CONFIG_FILES lang/java/Makefile" ;; … … 17279 10522 "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;; 17280 10523 17281 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17282 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17283 { (exit 1); exit 1; }; };; 10524 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17284 10525 esac 17285 10526 done … … 17303 10544 $debug || 17304 10545 { 17305 tmp= 10546 tmp= ac_tmp= 17306 10547 trap 'exit_status=$? 17307 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10548 : "${ac_tmp:=$tmp}" 10549 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17308 10550 ' 0 17309 trap ' { (exit 1); exit 1; }' 1 2 13 1510551 trap 'as_fn_exit 1' 1 2 13 15 17310 10552 } 17311 10553 # Create a (secure) tmp directory for tmp files. … … 17313 10555 { 17314 10556 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17315 test - n "$tmp" && test -d "$tmp"10557 test -d "$tmp" 17316 10558 } || 17317 10559 { 17318 10560 tmp=./conf$$-$RANDOM 17319 10561 (umask 077 && mkdir "$tmp") 17320 } || 10562 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10563 ac_tmp=$tmp 10564 10565 # Set up the scripts for CONFIG_FILES section. 10566 # No need to generate them if there are no CONFIG_FILES. 10567 # This happens for instance with `./config.status config.h'. 10568 if test -n "$CONFIG_FILES"; then 10569 10570 10571 ac_cr=`echo X | tr X '\015'` 10572 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10573 # But we know of no other shell where ac_cr would be empty at this 10574 # point, so we can use a bashism as a fallback. 10575 if test "x$ac_cr" = x; then 10576 eval ac_cr=\$\'\\r\' 10577 fi 10578 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10579 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10580 ac_cs_awk_cr='\\r' 10581 else 10582 ac_cs_awk_cr=$ac_cr 10583 fi 10584 10585 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10586 _ACEOF 10587 10588 17321 10589 { 17322 echo "$me: cannot create a temporary directory in ." >&2 17323 { (exit 1); exit 1; } 17324 } 17325 17326 # 17327 # Set up the sed scripts for CONFIG_FILES section. 17328 # 17329 17330 # No need to generate the scripts if there are no CONFIG_FILES. 17331 # This happens for instance when ./config.status config.h 17332 if test -n "$CONFIG_FILES"; then 17333 17334 _ACEOF 17335 17336 17337 10590 echo "cat >conf$$subs.awk <<_ACEOF" && 10591 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10592 echo "_ACEOF" 10593 } >conf$$subs.sh || 10594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10595 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17338 10596 ac_delim='%!_!# ' 17339 10597 for ac_last_try in false false false false false :; do 17340 cat >conf$$subs.sed <<_ACEOF 17341 SHELL!$SHELL$ac_delim 17342 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 17343 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 17344 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 17345 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 17346 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 17347 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 17348 exec_prefix!$exec_prefix$ac_delim 17349 prefix!$prefix$ac_delim 17350 program_transform_name!$program_transform_name$ac_delim 17351 bindir!$bindir$ac_delim 17352 sbindir!$sbindir$ac_delim 17353 libexecdir!$libexecdir$ac_delim 17354 datarootdir!$datarootdir$ac_delim 17355 datadir!$datadir$ac_delim 17356 sysconfdir!$sysconfdir$ac_delim 17357 sharedstatedir!$sharedstatedir$ac_delim 17358 localstatedir!$localstatedir$ac_delim 17359 includedir!$includedir$ac_delim 17360 oldincludedir!$oldincludedir$ac_delim 17361 docdir!$docdir$ac_delim 17362 infodir!$infodir$ac_delim 17363 htmldir!$htmldir$ac_delim 17364 dvidir!$dvidir$ac_delim 17365 pdfdir!$pdfdir$ac_delim 17366 psdir!$psdir$ac_delim 17367 libdir!$libdir$ac_delim 17368 localedir!$localedir$ac_delim 17369 mandir!$mandir$ac_delim 17370 DEFS!$DEFS$ac_delim 17371 ECHO_C!$ECHO_C$ac_delim 17372 ECHO_N!$ECHO_N$ac_delim 17373 ECHO_T!$ECHO_T$ac_delim 17374 LIBS!$LIBS$ac_delim 17375 build_alias!$build_alias$ac_delim 17376 host_alias!$host_alias$ac_delim 17377 target_alias!$target_alias$ac_delim 17378 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 17379 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 17380 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 17381 INSTALL_DATA!$INSTALL_DATA$ac_delim 17382 RANLIB!$RANLIB$ac_delim 17383 LN_S!$LN_S$ac_delim 17384 SET_MAKE!$SET_MAKE$ac_delim 17385 CC!$CC$ac_delim 17386 CFLAGS!$CFLAGS$ac_delim 17387 LDFLAGS!$LDFLAGS$ac_delim 17388 CPPFLAGS!$CPPFLAGS$ac_delim 17389 ac_ct_CC!$ac_ct_CC$ac_delim 17390 EXEEXT!$EXEEXT$ac_delim 17391 OBJEXT!$OBJEXT$ac_delim 17392 CXX!$CXX$ac_delim 17393 CXXFLAGS!$CXXFLAGS$ac_delim 17394 ac_ct_CXX!$ac_ct_CXX$ac_delim 17395 F77!$F77$ac_delim 17396 FFLAGS!$FFLAGS$ac_delim 17397 ac_ct_F77!$ac_ct_F77$ac_delim 17398 CPP!$CPP$ac_delim 17399 GREP!$GREP$ac_delim 17400 EGREP!$EGREP$ac_delim 17401 CXXCPP!$CXXCPP$ac_delim 17402 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 17403 AR!$AR$ac_delim 17404 DL_LIBS!$DL_LIBS$ac_delim 17405 DL_OBJS!$DL_OBJS$ac_delim 17406 PLAT_OBJS!$PLAT_OBJS$ac_delim 17407 PLAT_SRCS!$PLAT_SRCS$ac_delim 17408 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 17409 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 17410 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 17411 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 17412 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 17413 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 17414 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 17415 STLIB_LD!$STLIB_LD$ac_delim 17416 SHLIB_LD!$SHLIB_LD$ac_delim 17417 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 17418 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 17419 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 17420 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 17421 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 17422 MAKE_LIB!$MAKE_LIB$ac_delim 17423 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 17424 INSTALL_LIB!$INSTALL_LIB$ac_delim 17425 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 17426 MAKE!$MAKE$ac_delim 17427 ENABLE_GUI!$ENABLE_GUI$ac_delim 17428 TCLSH!$TCLSH$ac_delim 17429 TCL_VERSION!$TCL_VERSION$ac_delim 17430 TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim 17431 TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim 17432 VTKDIR!$VTKDIR$ac_delim 17433 MATLAB!$MATLAB$ac_delim 17434 MEX!$MEX$ac_delim 17435 MEXEXT!$MEXEXT$ac_delim 17436 MCC!$MCC$ac_delim 17437 MEX_ARCH!$MEX_ARCH$ac_delim 17438 _ACEOF 17439 17440 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 10598 . ./conf$$subs.sh || 10599 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10600 10601 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10602 if test $ac_delim_n = $ac_delim_num; then 17441 10603 break 17442 10604 elif $ac_last_try; then 17443 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17444 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17445 { (exit 1); exit 1; }; } 10605 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17446 10606 else 17447 10607 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17448 10608 fi 17449 10609 done 17450 17451 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17452 if test -n "$ac_eof"; then 17453 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17454 ac_eof=`expr $ac_eof + 1` 17455 fi 17456 17457 cat >>$CONFIG_STATUS <<_ACEOF 17458 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 17459 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17460 _ACEOF 17461 sed ' 17462 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17463 s/^/s,@/; s/!/@,|#_!!_#|/ 17464 :n 17465 t n 17466 s/'"$ac_delim"'$/,g/; t 17467 s/$/\\/; p 17468 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17469 ' >>$CONFIG_STATUS <conf$$subs.sed 17470 rm -f conf$$subs.sed 17471 cat >>$CONFIG_STATUS <<_ACEOF 17472 CEOF$ac_eof 17473 _ACEOF 17474 17475 17476 ac_delim='%!_!# ' 17477 for ac_last_try in false false false false false :; do 17478 cat >conf$$subs.sed <<_ACEOF 17479 OCTAVE!$OCTAVE$ac_delim 17480 MKOCTFILE!$MKOCTFILE$ac_delim 17481 octave2!$octave2$ac_delim 17482 mkoctfile2!$mkoctfile2$ac_delim 17483 octave3!$octave3$ac_delim 17484 mkoctfile3!$mkoctfile3$ac_delim 17485 OCTAVE2!$OCTAVE2$ac_delim 17486 OCTAVE3!$OCTAVE3$ac_delim 17487 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 17488 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 17489 MKOCTFILE2!$MKOCTFILE2$ac_delim 17490 MKOCTFILE3!$MKOCTFILE3$ac_delim 17491 PERL!$PERL$ac_delim 17492 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 17493 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 17494 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 17495 PERL_VERSION!$PERL_VERSION$ac_delim 17496 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 17497 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 17498 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 17499 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 17500 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 17501 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 17502 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 17503 PYTHON!$PYTHON$ac_delim 17504 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 17505 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 17506 PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim 17507 PYTHON_INCDIR!$PYTHON_INCDIR$ac_delim 17508 PYTHON_LDFLAGS!$PYTHON_LDFLAGS$ac_delim 17509 PYTHON_LIB!$PYTHON_LIB$ac_delim 17510 PYTHON_SITE_DIR!$PYTHON_SITE_DIR$ac_delim 17511 PYTHON_LIBDIR!$PYTHON_LIBDIR$ac_delim 17512 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 17513 PYTHON_DISTUTILS!$PYTHON_DISTUTILS$ac_delim 17514 RUBY!$RUBY$ac_delim 17515 SED!$SED$ac_delim 17516 RUBY_VERSION!$RUBY_VERSION$ac_delim 17517 AWK!$AWK$ac_delim 17518 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 17519 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 17520 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 17521 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 17522 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 17523 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 17524 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 17525 JAVA!$JAVA$ac_delim 17526 JAVAC!$JAVAC$ac_delim 17527 JAVAH!$JAVAH$ac_delim 17528 JAVA_HOME!$JAVA_HOME$ac_delim 17529 JAVA_INC_DIR!$JAVA_INC_DIR$ac_delim 17530 JAVA_INC_SPEC!$JAVA_INC_SPEC$ac_delim 17531 RP_BASE!$RP_BASE$ac_delim 17532 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 17533 TK_VERSION!$TK_VERSION$ac_delim 17534 SIZEOF_INT!$SIZEOF_INT$ac_delim 17535 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 17536 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 17537 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 17538 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 17539 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 17540 HAVE_FFMPEG_LIBS!$HAVE_FFMPEG_LIBS$ac_delim 17541 subdirs!$subdirs$ac_delim 17542 LIBOBJS!$LIBOBJS$ac_delim 17543 LTLIBOBJS!$LTLIBOBJS$ac_delim 17544 _ACEOF 17545 17546 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then 17547 break 17548 elif $ac_last_try; then 17549 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17550 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17551 { (exit 1); exit 1; }; } 17552 else 17553 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17554 fi 17555 done 17556 17557 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17558 if test -n "$ac_eof"; then 17559 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17560 ac_eof=`expr $ac_eof + 1` 17561 fi 17562 17563 cat >>$CONFIG_STATUS <<_ACEOF 17564 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 17565 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 17566 _ACEOF 17567 sed ' 17568 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17569 s/^/s,@/; s/!/@,|#_!!_#|/ 17570 :n 17571 t n 17572 s/'"$ac_delim"'$/,g/; t 17573 s/$/\\/; p 17574 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17575 ' >>$CONFIG_STATUS <conf$$subs.sed 17576 rm -f conf$$subs.sed 17577 cat >>$CONFIG_STATUS <<_ACEOF 17578 :end 17579 s/|#_!!_#|//g 17580 CEOF$ac_eof 17581 _ACEOF 17582 17583 17584 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17585 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10610 rm -f conf$$subs.sh 10611 10612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10613 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10614 _ACEOF 10615 sed -n ' 10616 h 10617 s/^/S["/; s/!.*/"]=/ 10618 p 10619 g 10620 s/^[^!]*!// 10621 :repl 10622 t repl 10623 s/'"$ac_delim"'$// 10624 t delim 10625 :nl 10626 h 10627 s/\(.\{148\}\)..*/\1/ 10628 t more1 10629 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10630 p 10631 n 10632 b repl 10633 :more1 10634 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10635 p 10636 g 10637 s/.\{148\}// 10638 t nl 10639 :delim 10640 h 10641 s/\(.\{148\}\)..*/\1/ 10642 t more2 10643 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10644 p 10645 b 10646 :more2 10647 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10648 p 10649 g 10650 s/.\{148\}// 10651 t delim 10652 ' <conf$$subs.awk | sed ' 10653 /^[^""]/{ 10654 N 10655 s/\n// 10656 } 10657 ' >>$CONFIG_STATUS || ac_write_fail=1 10658 rm -f conf$$subs.awk 10659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10660 _ACAWK 10661 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10662 for (key in S) S_is_set[key] = 1 10663 FS = "" 10664 10665 } 10666 { 10667 line = $ 0 10668 nfields = split(line, field, "@") 10669 substed = 0 10670 len = length(field[1]) 10671 for (i = 2; i < nfields; i++) { 10672 key = field[i] 10673 keylen = length(key) 10674 if (S_is_set[key]) { 10675 value = S[key] 10676 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10677 len += length(value) + length(field[++i]) 10678 substed = 1 10679 } else 10680 len += 1 + keylen 10681 } 10682 10683 print line 10684 } 10685 10686 _ACAWK 10687 _ACEOF 10688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10689 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10690 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10691 else 10692 cat 10693 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10694 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10695 _ACEOF 10696 10697 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10698 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17586 10699 # trailing colons and then remove the whole line if VPATH becomes empty 17587 10700 # (actually we leave an empty line to preserve line numbers). 17588 10701 if test "x$srcdir" = x.; then 17589 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17590 s/:*\$(srcdir):*/:/ 17591 s/:*\${srcdir}:*/:/ 17592 s/:*@srcdir@:*/:/ 17593 s/^\([^=]*=[ ]*\):*/\1/ 10702 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10703 h 10704 s/// 10705 s/^/:/ 10706 s/[ ]*$/:/ 10707 s/:\$(srcdir):/:/g 10708 s/:\${srcdir}:/:/g 10709 s/:@srcdir@:/:/g 10710 s/^:*// 17594 10711 s/:*$// 10712 x 10713 s/\(=[ ]*\).*/\1/ 10714 G 10715 s/\n// 17595 10716 s/^[^=]*=[ ]*$// 17596 10717 }' 17597 10718 fi 17598 10719 17599 cat >>$CONFIG_STATUS <<\_ACEOF 10720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17600 10721 fi # test -n "$CONFIG_FILES" 17601 10722 17602 17603 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 10723 # Set up the scripts for CONFIG_HEADERS section. 10724 # No need to generate them if there are no CONFIG_HEADERS. 10725 # This happens for instance with `./config.status Makefile'. 10726 if test -n "$CONFIG_HEADERS"; then 10727 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 10728 BEGIN { 10729 _ACEOF 10730 10731 # Transform confdefs.h into an awk script `defines.awk', embedded as 10732 # here-document in config.status, that substitutes the proper values into 10733 # config.h.in to produce config.h. 10734 10735 # Create a delimiter string that does not exist in confdefs.h, to ease 10736 # handling of long lines. 10737 ac_delim='%!_!# ' 10738 for ac_last_try in false false :; do 10739 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 10740 if test -z "$ac_tt"; then 10741 break 10742 elif $ac_last_try; then 10743 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10744 else 10745 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10746 fi 10747 done 10748 10749 # For the awk script, D is an array of macro values keyed by name, 10750 # likewise P contains macro parameters if any. Preserve backslash 10751 # newline sequences. 10752 10753 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10754 sed -n ' 10755 s/.\{148\}/&'"$ac_delim"'/g 10756 t rset 10757 :rset 10758 s/^[ ]*#[ ]*define[ ][ ]*/ / 10759 t def 10760 d 10761 :def 10762 s/\\$// 10763 t bsnl 10764 s/["\\]/\\&/g 10765 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10766 D["\1"]=" \3"/p 10767 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10768 d 10769 :bsnl 10770 s/["\\]/\\&/g 10771 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10772 D["\1"]=" \3\\\\\\n"\\/p 10773 t cont 10774 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10775 t cont 10776 d 10777 :cont 10778 n 10779 s/.\{148\}/&'"$ac_delim"'/g 10780 t clear 10781 :clear 10782 s/\\$// 10783 t bsnlc 10784 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10785 d 10786 :bsnlc 10787 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10788 b cont 10789 ' <confdefs.h | sed ' 10790 s/'"$ac_delim"'/"\\\ 10791 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10792 10793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10794 for (key in D) D_is_set[key] = 1 10795 FS = "" 10796 } 10797 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10798 line = \$ 0 10799 split(line, arg, " ") 10800 if (arg[1] == "#") { 10801 defundef = arg[2] 10802 mac1 = arg[3] 10803 } else { 10804 defundef = substr(arg[1], 2) 10805 mac1 = arg[2] 10806 } 10807 split(mac1, mac2, "(") #) 10808 macro = mac2[1] 10809 prefix = substr(line, 1, index(line, defundef) - 1) 10810 if (D_is_set[macro]) { 10811 # Preserve the white space surrounding the "#". 10812 print prefix "define", macro P[macro] D[macro] 10813 next 10814 } else { 10815 # Replace #undef with comments. This is necessary, for example, 10816 # in the case of _POSIX_SOURCE, which is predefined and required 10817 # on some systems where configure will not decide to define it. 10818 if (defundef == "undef") { 10819 print "/*", prefix defundef, macro, "*/" 10820 next 10821 } 10822 } 10823 } 10824 { print } 10825 _ACAWK 10826 _ACEOF 10827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10828 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10829 fi # test -n "$CONFIG_HEADERS" 10830 10831 10832 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10833 shift 10834 for ac_tag 17604 10835 do 17605 10836 case $ac_tag in … … 17608 10839 case $ac_mode$ac_tag in 17609 10840 :[FHL]*:*);; 17610 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 17611 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 17612 { (exit 1); exit 1; }; };; 10841 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17613 10842 :[FH]-) ac_tag=-:-;; 17614 10843 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 17629 10858 do 17630 10859 case $ac_f in 17631 -) ac_f="$ tmp/stdin";;10860 -) ac_f="$ac_tmp/stdin";; 17632 10861 *) # Look for the file first in the build tree, then in the source tree 17633 10862 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 17638 10867 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17639 10868 esac || 17640 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 17641 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 17642 { (exit 1); exit 1; }; };; 10869 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17643 10870 esac 17644 ac_file_inputs="$ac_file_inputs $ac_f" 10871 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10872 as_fn_append ac_file_inputs " '$ac_f'" 17645 10873 done 17646 10874 … … 17648 10876 # use $as_me), people would be surprised to read: 17649 10877 # /* config.h. Generated by config.status. */ 17650 configure_input="Generated from "`IFS=: 17651 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10878 configure_input='Generated from '` 10879 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10880 `' by configure.' 17652 10881 if test x"$ac_file" != x-; then 17653 10882 configure_input="$ac_file. $configure_input" 17654 { echo "$as_me:$LINENO: creating $ac_file" >&517655 echo "$as_me: creating $ac_file" >&6;}10883 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10884 $as_echo "$as_me: creating $ac_file" >&6;} 17656 10885 fi 10886 # Neutralize special characters interpreted by sed in replacement strings. 10887 case $configure_input in #( 10888 *\&* | *\|* | *\\* ) 10889 ac_sed_conf_input=`$as_echo "$configure_input" | 10890 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10891 *) ac_sed_conf_input=$configure_input;; 10892 esac 17657 10893 17658 10894 case $ac_tag in 17659 *:-:* | *:-) cat >"$tmp/stdin";; 10895 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10896 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17660 10897 esac 17661 10898 ;; … … 17667 10904 X"$ac_file" : 'X\(//\)$' \| \ 17668 10905 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17669 echo X"$ac_file" |10906 $as_echo X"$ac_file" | 17670 10907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17671 10908 s//\1/ … … 17685 10922 } 17686 10923 s/.*/./; q'` 17687 { as_dir="$ac_dir" 17688 case $as_dir in #( 17689 -*) as_dir=./$as_dir;; 17690 esac 17691 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17692 as_dirs= 17693 while :; do 17694 case $as_dir in #( 17695 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 17696 *) as_qdir=$as_dir;; 17697 esac 17698 as_dirs="'$as_qdir' $as_dirs" 17699 as_dir=`$as_dirname -- "$as_dir" || 17700 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17701 X"$as_dir" : 'X\(//\)[^/]' \| \ 17702 X"$as_dir" : 'X\(//\)$' \| \ 17703 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17704 echo X"$as_dir" | 17705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17706 s//\1/ 17707 q 17708 } 17709 /^X\(\/\/\)[^/].*/{ 17710 s//\1/ 17711 q 17712 } 17713 /^X\(\/\/\)$/{ 17714 s//\1/ 17715 q 17716 } 17717 /^X\(\/\).*/{ 17718 s//\1/ 17719 q 17720 } 17721 s/.*/./; q'` 17722 test -d "$as_dir" && break 17723 done 17724 test -z "$as_dirs" || eval "mkdir $as_dirs" 17725 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17726 echo "$as_me: error: cannot create directory $as_dir" >&2;} 17727 { (exit 1); exit 1; }; }; } 10924 as_dir="$ac_dir"; as_fn_mkdir_p 17728 10925 ac_builddir=. 17729 10926 … … 17731 10928 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17732 10929 *) 17733 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10930 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17734 10931 # A ".." for each directory in $ac_dir_suffix. 17735 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10932 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17736 10933 case $ac_top_builddir_sub in 17737 10934 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 17778 10975 _ACEOF 17779 10976 17780 cat >>$CONFIG_STATUS <<\_ACEOF 10977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17781 10978 # If the template does not know about datarootdir, expand it. 17782 10979 # FIXME: This hack should be removed a few years after 2.60. 17783 10980 ac_datarootdir_hack=; ac_datarootdir_seen= 17784 17785 case `sed -n '/datarootdir/ {10981 ac_sed_dataroot=' 10982 /datarootdir/ { 17786 10983 p 17787 10984 q … … 17791 10988 /@infodir@/p 17792 10989 /@localedir@/p 17793 /@mandir@/p 17794 ' $ac_file_inputs` in10990 /@mandir@/p' 10991 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17795 10992 *datarootdir*) ac_datarootdir_seen=yes;; 17796 10993 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17797 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&517798 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}17799 _ACEOF 17800 cat >>$CONFIG_STATUS <<_ACEOF 10994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10995 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10996 _ACEOF 10997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17801 10998 ac_datarootdir_hack=' 17802 10999 s&@datadir@&$datadir&g … … 17805 11002 s&@localedir@&$localedir&g 17806 11003 s&@mandir@&$mandir&g 17807 11004 s&\\\${datarootdir}&$datarootdir&g' ;; 17808 11005 esac 17809 11006 _ACEOF … … 17812 11009 # Shell code in configure.ac might set extrasub. 17813 11010 # FIXME: do we really want to maintain this feature? 17814 cat >>$CONFIG_STATUS <<_ACEOF 17815 sed"$ac_vpsub11011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11012 ac_sed_extra="$ac_vpsub 17816 11013 $extrasub 17817 11014 _ACEOF 17818 cat >>$CONFIG_STATUS <<\_ACEOF 11015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17819 11016 :t 17820 11017 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17821 s &@configure_input@&$configure_input&;t t11018 s|@configure_input@|$ac_sed_conf_input|;t t 17822 11019 s&@top_builddir@&$ac_top_builddir_sub&;t t 11020 s&@top_build_prefix@&$ac_top_build_prefix&;t t 17823 11021 s&@srcdir@&$ac_srcdir&;t t 17824 11022 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 17831 11029 s&@MKDIR_P@&$ac_MKDIR_P&;t t 17832 11030 $ac_datarootdir_hack 17833 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 11031 " 11032 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 11033 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17834 11034 17835 11035 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17836 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17837 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17838 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17839 which seems to be undefined. Please make sure it is defined." >&5 17840 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17841 which seems to be undefined. Please make sure it is defined." >&2;} 17842 17843 rm -f "$tmp/stdin" 11036 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11037 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11038 "$ac_tmp/out"`; test -z "$ac_out"; } && 11039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11040 which seems to be undefined. Please make sure it is defined" >&5 11041 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11042 which seems to be undefined. Please make sure it is defined" >&2;} 11043 11044 rm -f "$ac_tmp/stdin" 17844 11045 case $ac_file in 17845 -) cat "$tmp/out"; rm -f "$tmp/out";; 17846 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 17847 esac 11046 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 11047 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 11048 esac \ 11049 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17848 11050 ;; 17849 11051 :H) … … 17851 11053 # CONFIG_HEADER 17852 11054 # 17853 _ACEOF17854 17855 # Transform confdefs.h into a sed script `conftest.defines', that17856 # substitutes the proper values into config.h.in to produce config.h.17857 rm -f conftest.defines conftest.tail17858 # First, append a space to every undef/define line, to ease matching.17859 echo 's/$/ /' >conftest.defines17860 # Then, protect against being on the right side of a sed subst, or in17861 # an unquoted here document, in config.status. If some macros were17862 # called several times there might be several #defines for the same17863 # symbol, which is useless. But do not sort them, since the last17864 # AC_DEFINE must be honored.17865 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*17866 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where17867 # NAME is the cpp macro being defined, VALUE is the value it is being given.17868 # PARAMS is the parameter list in the macro definition--in most cases, it's17869 # just an empty string.17870 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'17871 ac_dB='\\)[ (].*,\\1define\\2'17872 ac_dC=' '17873 ac_dD=' ,'17874 17875 uniq confdefs.h |17876 sed -n '17877 t rset17878 :rset17879 s/^[ ]*#[ ]*define[ ][ ]*//17880 t ok17881 d17882 :ok17883 s/[\\&,]/\\&/g17884 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p17885 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p17886 ' >>conftest.defines17887 17888 # Remove the space that was appended to ease matching.17889 # Then replace #undef with comments. This is necessary, for17890 # example, in the case of _POSIX_SOURCE, which is predefined and required17891 # on some systems where configure will not decide to define it.17892 # (The regexp can be short, since the line contains either #define or #undef.)17893 echo 's/ $//17894 s,^[ #]*u.*,/* & */,' >>conftest.defines17895 17896 # Break up conftest.defines:17897 ac_max_sed_lines=5017898 17899 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"17900 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"17901 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"17902 # et cetera.17903 ac_in='$ac_file_inputs'17904 ac_out='"$tmp/out1"'17905 ac_nxt='"$tmp/out2"'17906 17907 while :17908 do17909 # Write a here document:17910 cat >>$CONFIG_STATUS <<_ACEOF17911 # First, check the format of the line:17912 cat >"\$tmp/defines.sed" <<\\CEOF17913 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def17914 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def17915 b17916 :def17917 _ACEOF17918 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS17919 echo 'CEOF17920 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS17921 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in17922 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail17923 grep . conftest.tail >/dev/null || break17924 rm -f conftest.defines17925 mv conftest.tail conftest.defines17926 done17927 rm -f conftest.defines conftest.tail17928 17929 echo "ac_result=$ac_in" >>$CONFIG_STATUS17930 cat >>$CONFIG_STATUS <<\_ACEOF17931 11055 if test x"$ac_file" != x-; then 17932 echo "/* $configure_input */" >"$tmp/config.h" 17933 cat "$ac_result" >>"$tmp/config.h" 17934 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 17935 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 17936 echo "$as_me: $ac_file is unchanged" >&6;} 11056 { 11057 $as_echo "/* $configure_input */" \ 11058 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11059 } >"$ac_tmp/config.h" \ 11060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11061 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11062 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11063 $as_echo "$as_me: $ac_file is unchanged" >&6;} 17937 11064 else 17938 rm -f $ac_file 17939 mv "$tmp/config.h" $ac_file 11065 rm -f "$ac_file" 11066 mv "$ac_tmp/config.h" "$ac_file" \ 11067 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17940 11068 fi 17941 11069 else 17942 echo "/* $configure_input */"17943 cat "$ac_result"17944 fi17945 rm -f "$tmp/out12"11070 $as_echo "/* $configure_input */" \ 11071 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11072 || as_fn_error $? "could not create -" "$LINENO" 5 11073 fi 17946 11074 ;; 17947 11075 … … 17952 11080 17953 11081 17954 { (exit 0); exit 0; } 17955 _ACEOF 17956 chmod +x $CONFIG_STATUS 11082 as_fn_exit 0 11083 _ACEOF 17957 11084 ac_clean_files=$ac_clean_files_save 11085 11086 test $ac_write_fail = 0 || 11087 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17958 11088 17959 11089 … … 17976 11106 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17977 11107 # would make configure fail if this is the last instruction. 17978 $ac_cs_success || { (exit 1); exit 1; }11108 $ac_cs_success || as_fn_exit 1 17979 11109 fi 17980 11110 … … 17984 11114 if test "$no_recursion" != yes; then 17985 11115 17986 # Remove --cache-file and --srcdir arguments so they do not pile up. 11116 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 11117 # so they do not pile up. 17987 11118 ac_sub_configure_args= 17988 11119 ac_prev= … … 18013 11144 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 18014 11145 ;; 11146 --disable-option-checking) 11147 ;; 18015 11148 *) 18016 11149 case $ac_arg in 18017 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11150 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 18018 11151 esac 18019 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;11152 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 18020 11153 esac 18021 11154 done … … 18025 11158 ac_arg="--prefix=$prefix" 18026 11159 case $ac_arg in 18027 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11160 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 18028 11161 esac 18029 11162 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 18034 11167 fi 18035 11168 11169 # Always prepend --disable-option-checking to silence warnings, since 11170 # different subdirs can have different --enable and --with options. 11171 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 11172 18036 11173 ac_popdir=`pwd` 18037 11174 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 18042 11179 18043 11180 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 18044 echo "$as_me:$LINENO: $ac_msg" >&5 18045 echo "$ac_msg" >&6 18046 { as_dir="$ac_dir" 18047 case $as_dir in #( 18048 -*) as_dir=./$as_dir;; 18049 esac 18050 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 18051 as_dirs= 18052 while :; do 18053 case $as_dir in #( 18054 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 18055 *) as_qdir=$as_dir;; 18056 esac 18057 as_dirs="'$as_qdir' $as_dirs" 18058 as_dir=`$as_dirname -- "$as_dir" || 18059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18060 X"$as_dir" : 'X\(//\)[^/]' \| \ 18061 X"$as_dir" : 'X\(//\)$' \| \ 18062 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18063 echo X"$as_dir" | 18064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18065 s//\1/ 18066 q 18067 } 18068 /^X\(\/\/\)[^/].*/{ 18069 s//\1/ 18070 q 18071 } 18072 /^X\(\/\/\)$/{ 18073 s//\1/ 18074 q 18075 } 18076 /^X\(\/\).*/{ 18077 s//\1/ 18078 q 18079 } 18080 s/.*/./; q'` 18081 test -d "$as_dir" && break 18082 done 18083 test -z "$as_dirs" || eval "mkdir $as_dirs" 18084 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 18085 echo "$as_me: error: cannot create directory $as_dir" >&2;} 18086 { (exit 1); exit 1; }; }; } 11181 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 11182 $as_echo "$ac_msg" >&6 11183 as_dir="$ac_dir"; as_fn_mkdir_p 18087 11184 ac_builddir=. 18088 11185 … … 18090 11187 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18091 11188 *) 18092 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`11189 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18093 11190 # A ".." for each directory in $ac_dir_suffix. 18094 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`11191 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18095 11192 case $ac_top_builddir_sub in 18096 11193 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 18131 11228 ac_sub_configure=$ac_aux_dir/configure 18132 11229 else 18133 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&518134 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}11230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 11231 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 18135 11232 ac_sub_configure= 18136 11233 fi … … 18145 11242 esac 18146 11243 18147 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&518148 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}11244 { $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 11245 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 18149 11246 # The eval makes quoting arguments work. 18150 11247 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 18151 11248 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 18152 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 18153 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 18154 { (exit 1); exit 1; }; } 11249 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 18155 11250 fi 18156 11251 … … 18158 11253 done 18159 11254 fi 18160 11255 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11257 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11258 fi 11259 -
branches/blt4/configure.in
r2170 r2179 601 601 AC_SUBST(TCL_VERSION) 602 602 AC_SUBST(TK_VERSION) 603 AC_SUBST(TK_LIB_SPEC) 604 AC_SUBST(TK_INC_SPEC) 603 605 604 606 # ----------------------------------------------------------------------- -
branches/blt4/gui/configure
r2170 r2179 605 605 LIBOBJS 606 606 TK_VERSION 607 TK_INC_SPEC 608 TK_LIB_SPEC 607 609 TCL_LIB_SPEC 608 610 TCL_INC_SPEC … … 713 715 enable_gui 714 716 with_tclsh 717 with_tk 715 718 ' 716 719 ac_precious_vars='build_alias … … 1351 1354 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1352 1355 --with-tclsh=DIR location of tclsh [default=yes] 1356 --with-tcl=DIR path of tclConfig.sh [default=yes] 1357 --with-tk=DIR path of tkConfig.sh [default=yes] 1353 1358 1354 1359 Some influential environment variables: … … 5546 5551 5547 5552 5548 gui_with_tcl="" 5553 with_tcl="" 5554 with_tk="" 5549 5555 5550 5556 make_command="" … … 5586 5592 5587 5593 5594 with_tcl="yes" 5595 5596 # Check whether --with-tk was given. 5597 if test "${with_tk+set}" = set; then : 5598 withval=$with_tk; 5599 else 5600 with_tcl="yes" 5601 fi 5602 5603 5604 with_tk="yes" 5605 5606 # Check whether --with-tk was given. 5607 if test "${with_tk+set}" = set; then : 5608 withval=$with_tk; 5609 else 5610 with_tk=yes 5611 fi 5612 5588 5613 TCLSH= 5614 5589 5615 # ----------------------------------------------------------------------- 5590 5616 # … … 5592 5618 # 5593 5619 # ----------------------------------------------------------------------- 5594 5595 5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5 5596 5621 $as_echo_n "checking for tclConfig.sh... " >&6; } 5597 5622 tcl_config_sh="" 5598 if test " x$gui_with_tcl" != "x" ; then5623 if test "$with_tcl" != "yes" ; then 5599 5624 5600 5625 # Verify that a tclConfig.sh file exists in the directory specified … … 5602 5627 5603 5628 for dir in \ 5604 $gui_with_tcl5629 $with_tcl 5605 5630 do 5606 5631 if test -r "$dir/tclConfig.sh" ; then … … 5641 5666 fi 5642 5667 . ${tcl_config_sh} 5643 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 5668 5669 5670 # ----------------------------------------------------------------------- 5671 # 5672 # Find the Tcl build configuration file "tclConfig.sh" 5673 # 5674 # ----------------------------------------------------------------------- 5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tkConfig.sh" >&5 5676 $as_echo_n "checking for tkConfig.sh... " >&6; } 5677 tk_config_sh="" 5678 if test "$with_tk" != "yes" ; then 5679 5680 # Verify that a tclConfig.sh file exists in the directory specified 5681 # by --with-tk. 5682 5683 for dir in \ 5684 $with_tk \ 5685 $with_tcl \ 5686 do 5687 if test -r "$dir/tkConfig.sh" ; then 5688 tcl_config_sh="$dir/tkConfig.sh" 5689 break 5690 elif test -r "$dir/lib/tkConfig.sh" ; then 5691 tcl_config_sh="$dir/lib/tkConfig.sh" 5692 break 5693 fi 5694 done 5695 else 5696 5697 # Otherwise, search for Tcl configuration file. 5698 5699 # 1. Search previously named locations. 5700 5701 for dir in \ 5702 $prefix \ 5703 $exec_prefix \ 5704 do 5705 if test -r "$dir/tkConfig.sh" ; then 5706 tcl_config_sh="$dir/tkConfig.sh" 5707 break 5708 elif test -r "$dir/lib/tkConfig.sh" ; then 5709 tcl_config_sh="$dir/lib/tkConfig.sh" 5710 break 5711 fi 5712 done 5713 fi 5714 5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tk_config_sh}" >&5 5716 $as_echo "${tk_config_sh}" >&6; } 5717 5718 if test "x$tk_config_sh" = "x" ; then 5719 echo "can't find Tk configuration script \"tkConfig.sh\"" 5720 exit 1 5721 fi 5722 . ${tk_config_sh} 5723 5644 5724 5645 5725 case $target in … … 5666 5746 5667 5747 5668 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then 5669 . ${exec_prefix}/lib/tclConfig.sh 5670 fi 5671 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then 5672 . ${exec_prefix}/lib/tkConfig.sh 5673 fi 5748 5749 5674 5750 5675 5751 -
branches/blt4/gui/configure.in
r2170 r2179 40 40 AC_SUBST(SHLIB_SUFFIX) 41 41 42 gui_with_tcl="" 42 with_tcl="" 43 with_tk="" 43 44 44 45 make_command="" … … 75 76 [with_tclsh=yes]) 76 77 78 with_tcl="yes" 79 AC_ARG_WITH( 80 [tk], 81 [AS_HELP_STRING([--with-tcl[=DIR]], 82 [path of tclConfig.sh @<:@default=yes@:>@])], 83 [], 84 [with_tcl="yes"]) 85 86 with_tk="yes" 87 AC_ARG_WITH( 88 [tk], 89 [AS_HELP_STRING([--with-tk[=DIR]], 90 [path of tkConfig.sh @<:@default=yes@:>@])], 91 [], 92 [with_tk=yes]) 77 93 TCLSH= 94 78 95 # ----------------------------------------------------------------------- 79 96 # … … 81 98 # 82 99 # ----------------------------------------------------------------------- 83 84 100 AC_MSG_CHECKING([for tclConfig.sh]) 85 101 tcl_config_sh="" 86 if test " x$gui_with_tcl" != "x" ; then102 if test "$with_tcl" != "yes" ; then 87 103 88 104 # Verify that a tclConfig.sh file exists in the directory specified … … 90 106 91 107 for dir in \ 92 $gui_with_tcl108 $with_tcl 93 109 do 94 110 if test -r "$dir/tclConfig.sh" ; then … … 128 144 fi 129 145 . ${tcl_config_sh} 130 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 146 147 148 # ----------------------------------------------------------------------- 149 # 150 # Find the Tcl build configuration file "tclConfig.sh" 151 # 152 # ----------------------------------------------------------------------- 153 AC_MSG_CHECKING([for tkConfig.sh]) 154 tk_config_sh="" 155 if test "$with_tk" != "yes" ; then 156 157 # Verify that a tclConfig.sh file exists in the directory specified 158 # by --with-tk. 159 160 for dir in \ 161 $with_tk \ 162 $with_tcl \ 163 do 164 if test -r "$dir/tkConfig.sh" ; then 165 tcl_config_sh="$dir/tkConfig.sh" 166 break 167 elif test -r "$dir/lib/tkConfig.sh" ; then 168 tcl_config_sh="$dir/lib/tkConfig.sh" 169 break 170 fi 171 done 172 else 173 174 # Otherwise, search for Tcl configuration file. 175 176 # 1. Search previously named locations. 177 178 for dir in \ 179 $prefix \ 180 $exec_prefix \ 181 do 182 if test -r "$dir/tkConfig.sh" ; then 183 tcl_config_sh="$dir/tkConfig.sh" 184 break 185 elif test -r "$dir/lib/tkConfig.sh" ; then 186 tcl_config_sh="$dir/lib/tkConfig.sh" 187 break 188 fi 189 done 190 fi 191 192 AC_MSG_RESULT([${tk_config_sh}]) 193 194 if test "x$tk_config_sh" = "x" ; then 195 echo "can't find Tk configuration script \"tkConfig.sh\"" 196 exit 1 197 fi 198 . ${tk_config_sh} 199 131 200 132 201 case $target in … … 148 217 AC_SUBST(TCLSH) 149 218 219 150 220 AC_SUBST(TCL_VERSION) 151 221 AC_SUBST(TCL_INC_SPEC) 152 222 AC_SUBST(TCL_LIB_SPEC) 153 154 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then 155 . ${exec_prefix}/lib/tclConfig.sh 156 fi 157 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then 158 . ${exec_prefix}/lib/tkConfig.sh 159 fi 223 AC_SUBST(TK_LIB_SPEC) 224 AC_SUBST(TK_INC_SPEC) 160 225 AC_SUBST(TCL_VERSION) 161 226 AC_SUBST(TK_VERSION) -
branches/blt4/gui/src/Makefile.in
r2170 r2179 28 28 TCL_VERSION = @TCL_VERSION@ 29 29 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 TK_LIB_SPEC = @TK_LIB_SPEC@ 30 31 31 32 CC_SWITCHES = $(SHLIB_CFLAGS) $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 46 47 LIBS = \ 47 48 -L../../src/core -lrappture \ 48 -L$(libdir) -ltcl8.4 -ltk8.4-lm49 -L$(libdir) $(TCL_LIB_SPEC) $(TK_LIB_SPEC) -lm 49 50 50 51 OBJS = \
Note: See TracChangeset
for help on using the changeset viewer.