Changeset 1974 for branches/blt4
- Timestamp:
- Dec 2, 2010 9:47:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/configure
r1972 r1974 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for Rappture 1.1.3 # Generated by GNU Autoconf 2.68 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 25 # is contrary to our usage. Disable this feature. 22 26 alias -g '${1+"$@"}'='"$@"' 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 41 75 42 76 # The user is always right. 43 77 if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53 fi 54 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 60 83 fi 61 84 … … 66 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 90 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 91 IFS=" "" $as_nl" 71 92 72 93 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 94 as_myself= 95 case $0 in #(( 74 96 *[\\/]* ) as_myself=$0 ;; 75 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 100 IFS=$as_save_IFS 79 101 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 82 104 IFS=$as_save_IFS 83 105 … … 90 112 fi 91 113 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 125 done 100 126 PS1='$ ' … … 103 129 104 130 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 189 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 240 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 114 246 fi 115 done 116 117 # Required to use basename. 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 118 386 if expr a : '\(a\)' >/dev/null 2>&1 && 119 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 397 fi 130 398 131 132 # Name of the executable. 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 133 405 as_me=`$as_basename -- "$0" || 134 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 407 X"$0" : 'X\(//\)$' \| \ 136 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |409 $as_echo X/"$0" | 138 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 411 s//\1/ … … 150 422 s/.*/./; q'` 151 423 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225 do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 437 sed -n ' 441 438 p … … 454 451 ' >$as_me.lineno && 455 452 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 454 459 455 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 461 } 466 462 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then469 as_dirname=dirname470 else471 as_dirname=false472 fi473 474 463 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 464 case `echo -n x` in #((((( 476 465 -n*) 477 case `echo 'x \c'` in466 case `echo 'xy\c'` in 478 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 480 471 esac;; 481 472 *) … … 483 474 esac 484 475 485 if expr a : '\(a\)' >/dev/null 2>&1 &&486 test "X`expr 00001 : '.*\(...\)'`" = X001; then487 as_expr=expr488 else489 as_expr=false490 fi491 492 476 rm -f conf$$ conf$$.exe conf$$.file 493 477 if test -d conf$$.dir; then … … 495 479 else 496 480 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 481 mkdir conf$$.dir 2>/dev/null 482 fi 483 if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 507 495 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 496 fi 510 497 else 511 498 as_ln_s='cp -p' … … 515 502 516 503 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :504 as_mkdir_p='mkdir -p "$as_dir"' 518 505 else 519 506 test -d ./-p && rmdir ./-p … … 532 519 eval sh -c '\'' 533 520 if test -d "$1"; then 534 521 test -d "$1/."; 535 522 else 536 case $1 in 537 523 case $1 in #( 524 -*)set "./$1";; 538 525 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 527 ???[sx]*):;;*)false;;esac;fi 541 528 '\'' sh … … 551 538 552 539 553 554 exec 7<&0 </dev/null6>&1540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 555 542 556 543 # Name of the host. 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 558 545 # so uname gets run too. 559 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 570 557 MFLAGS= 571 558 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 559 574 560 # Identity of this package. … … 578 564 PACKAGE_STRING='Rappture 1.1' 579 565 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL='' 580 567 581 568 # Factoring default headers for most tests. … … 615 602 #endif" 616 603 617 ac_subst_vars='SHELL 604 enable_option_checking=no 605 ac_subst_vars='LTLIBOBJS 606 LIBOBJS 607 subdirs 608 HAVE_FFMPEG_LIBS 609 LDFLAGS_DEFAULT 610 CFLAGS_DEFAULT 611 SIZEOF_VOID_P 612 SIZEOF_LONG_LONG 613 SIZEOF_LONG 614 SIZEOF_INT 615 TK_VERSION 616 SHLIB_LDFLAGS 617 RP_BASE 618 JAVA_INC_SPEC 619 JAVA_INC_DIR 620 JAVA_HOME 621 JAVAH 622 JAVAC 623 JAVA 624 RUBY_PLATFORM 625 RUBY_VERSION_RV 626 HAVE_RUBY_DEVEL 627 RUBY_EXTRA_LIBS 628 RUBY_SITE_PKG 629 RUBY_LDFLAGS 630 RUBY_CPPFLAGS 631 AWK 632 RUBY_VERSION 633 SED 634 RUBY 635 HAVE_PYTHON_DISTUTILS 636 PYTHON_SITE_PACKAGES 637 PYTHON_INCLUDES 638 PYTHON_VERSION 639 pythondir 640 PYTHON_CPPFLAGS 641 PYTHON 642 PERL_LIBSPEC 643 PERL_VERSION_RV 644 PERL_INSTALLARCHLIB 645 PERL_PRIVLIB 646 PERL_VENDORLIB 647 PERL_CPPFLAGS 648 PERL_CCFLAGS 649 PERL_VERSION 650 PERL_ARCHLIBEXP 651 PERL_ARCHLIB 652 PERL_INCLUDES 653 PERL 654 MKOCTFILE3 655 MKOCTFILE2 656 OCTAVE_VERSION_MAJOR 657 OCTAVE_VERSION 658 OCTAVE3 659 OCTAVE2 660 mkoctfile3 661 octave3 662 mkoctfile2 663 octave2 664 MKOCTFILE 665 OCTAVE 666 MEX_ARCH 667 MCC 668 MEXEXT 669 MEX 670 MATLAB 671 VTKDIR 672 TCL_LIB_SPEC 673 TCL_INC_SPEC 674 TCL_VERSION 675 TCLSH 676 ENABLE_GUI 677 MAKE 678 INSTALL_STUB_LIB 679 INSTALL_LIB 680 MAKE_STUB_LIB 681 MAKE_LIB 682 SHLIB_SUFFIX 683 SHLIB_CFLAGS 684 SHLIB_LD_LIBS 685 TK_SHLIB_LD_EXTRAS 686 TCL_SHLIB_LD_EXTRAS 687 SHLIB_LD 688 STLIB_LD 689 LD_SEARCH_FLAGS 690 CC_SEARCH_FLAGS 691 LDFLAGS_OPTIMIZE 692 LDFLAGS_DEBUG 693 CFLAGS_WARNING 694 CFLAGS_OPTIMIZE 695 CFLAGS_DEBUG 696 PLAT_SRCS 697 PLAT_OBJS 698 DL_OBJS 699 DL_LIBS 700 AR 701 HAVE_INTTYPES_H 702 CXXCPP 703 EGREP 704 GREP 705 CPP 706 ac_ct_F77 707 FFLAGS 708 F77 709 ac_ct_CXX 710 CXXFLAGS 711 CXX 712 OBJEXT 713 EXEEXT 714 ac_ct_CC 715 CPPFLAGS 716 LDFLAGS 717 CFLAGS 718 CC 719 SET_MAKE 720 MKDIR_P 721 LN_S 722 RANLIB 723 INSTALL_DATA 724 INSTALL_SCRIPT 725 INSTALL_PROGRAM 726 LIB_SEARCH_DIRS 727 target_alias 728 host_alias 729 build_alias 730 LIBS 731 ECHO_T 732 ECHO_N 733 ECHO_C 734 DEFS 735 mandir 736 localedir 737 libdir 738 psdir 739 pdfdir 740 dvidir 741 htmldir 742 infodir 743 docdir 744 oldincludedir 745 includedir 746 localstatedir 747 sharedstatedir 748 sysconfdir 749 datadir 750 datarootdir 751 libexecdir 752 sbindir 753 bindir 754 program_transform_name 755 prefix 756 exec_prefix 757 PACKAGE_URL 758 PACKAGE_BUGREPORT 759 PACKAGE_STRING 760 PACKAGE_VERSION 761 PACKAGE_TARNAME 762 PACKAGE_NAME 618 763 PATH_SEPARATOR 619 PACKAGE_NAME 620 PACKAGE_TARNAME 621 PACKAGE_VERSION 622 PACKAGE_STRING 623 PACKAGE_BUGREPORT 624 exec_prefix 625 prefix 626 program_transform_name 627 bindir 628 sbindir 629 libexecdir 630 datarootdir 631 datadir 632 sysconfdir 633 sharedstatedir 634 localstatedir 635 includedir 636 oldincludedir 637 docdir 638 infodir 639 htmldir 640 dvidir 641 pdfdir 642 psdir 643 libdir 644 localedir 645 mandir 646 DEFS 647 ECHO_C 648 ECHO_N 649 ECHO_T 650 LIBS 651 build_alias 652 host_alias 653 target_alias 654 LIB_SEARCH_DIRS 655 INSTALL_PROGRAM 656 INSTALL_SCRIPT 657 INSTALL_DATA 658 RANLIB 659 LN_S 660 SET_MAKE 661 CC 662 CFLAGS 663 LDFLAGS 664 CPPFLAGS 665 ac_ct_CC 666 EXEEXT 667 OBJEXT 668 CXX 669 CXXFLAGS 670 ac_ct_CXX 671 F77 672 FFLAGS 673 ac_ct_F77 674 CPP 675 GREP 676 EGREP 677 CXXCPP 678 HAVE_INTTYPES_H 679 AR 680 DL_LIBS 681 DL_OBJS 682 PLAT_OBJS 683 PLAT_SRCS 684 CFLAGS_DEBUG 685 CFLAGS_OPTIMIZE 686 CFLAGS_WARNING 687 LDFLAGS_DEBUG 688 LDFLAGS_OPTIMIZE 689 CC_SEARCH_FLAGS 690 LD_SEARCH_FLAGS 691 STLIB_LD 692 SHLIB_LD 693 TCL_SHLIB_LD_EXTRAS 694 TK_SHLIB_LD_EXTRAS 695 SHLIB_LD_LIBS 696 SHLIB_CFLAGS 697 SHLIB_SUFFIX 698 MAKE_LIB 699 MAKE_STUB_LIB 700 INSTALL_LIB 701 INSTALL_STUB_LIB 702 MAKE 703 ENABLE_GUI 704 TCLSH 705 TCL_VERSION 706 TCL_INC_SPEC 707 TCL_LIB_SPEC 708 VTKDIR 709 MATLAB 710 MEX 711 MEXEXT 712 MCC 713 MEX_ARCH 714 OCTAVE 715 MKOCTFILE 716 octave2 717 mkoctfile2 718 octave3 719 mkoctfile3 720 OCTAVE2 721 OCTAVE3 722 OCTAVE_VERSION 723 OCTAVE_VERSION_MAJOR 724 MKOCTFILE2 725 MKOCTFILE3 726 PERL 727 PERL_INCLUDES 728 PERL_ARCHLIB 729 PERL_ARCHLIBEXP 730 PERL_VERSION 731 PERL_CCFLAGS 732 PERL_CPPFLAGS 733 PERL_VENDORLIB 734 PERL_PRIVLIB 735 PERL_INSTALLARCHLIB 736 PERL_VERSION_RV 737 PERL_LIBSPEC 738 PYTHON 739 PYTHON_CPPFLAGS 740 pythondir 741 PYTHON_VERSION 742 PYTHON_INCLUDES 743 PYTHON_SITE_PACKAGES 744 HAVE_PYTHON_DISTUTILS 745 RUBY 746 SED 747 RUBY_VERSION 748 AWK 749 RUBY_CPPFLAGS 750 RUBY_LDFLAGS 751 RUBY_SITE_PKG 752 RUBY_EXTRA_LIBS 753 HAVE_RUBY_DEVEL 754 RUBY_VERSION_RV 755 RUBY_PLATFORM 756 JAVA 757 JAVAC 758 JAVAH 759 JAVA_HOME 760 JAVA_INC_DIR 761 JAVA_INC_SPEC 762 RP_BASE 763 SHLIB_LDFLAGS 764 TK_VERSION 765 SIZEOF_INT 766 SIZEOF_LONG 767 SIZEOF_LONG_LONG 768 SIZEOF_VOID_P 769 CFLAGS_DEFAULT 770 LDFLAGS_DEFAULT 771 HAVE_FFMPEG_LIBS 772 subdirs 773 LIBOBJS 774 LTLIBOBJS' 764 SHELL' 775 765 ac_subst_files='' 766 ac_user_opts=' 767 enable_option_checking 768 enable_64bit 769 enable_64bit_vis 770 enable_corefoundation 771 enable_load 772 enable_gui 773 with_tclsh 774 with_vtk 775 with_matlab 776 with_octave 777 with_octave2 778 with_octave3 779 with_perl 780 with_python 781 with_ruby 782 with_java 783 enable_shared 784 enable_symbols 785 ' 776 786 ac_precious_vars='build_alias 777 787 host_alias … … 794 804 ac_init_help= 795 805 ac_init_version=false 806 ac_unrecognized_opts= 807 ac_unrecognized_sep= 796 808 # The variables have the same names as the options, with 797 809 # dashes changed to underlines. … … 849 861 850 862 case $ac_option in 851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 852 *) ac_optarg=yes ;; 863 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 864 *=) ac_optarg= ;; 865 *) ac_optarg=yes ;; 853 866 esac 854 867 … … 892 905 893 906 -disable-* | --disable-*) 894 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`907 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 895 908 # Reject names that are not valid shell variable names. 896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 898 { (exit 1); exit 1; }; } 899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 900 eval enable_$ac_feature=no ;; 909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 910 as_fn_error $? "invalid feature name: $ac_useropt" 911 ac_useropt_orig=$ac_useropt 912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 913 case $ac_user_opts in 914 *" 915 "enable_$ac_useropt" 916 "*) ;; 917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 918 ac_unrecognized_sep=', ';; 919 esac 920 eval enable_$ac_useropt=no ;; 901 921 902 922 -docdir | --docdir | --docdi | --doc | --do) … … 911 931 912 932 -enable-* | --enable-*) 913 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`933 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 914 934 # Reject names that are not valid shell variable names. 915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 917 { (exit 1); exit 1; }; } 918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 919 eval enable_$ac_feature=\$ac_optarg ;; 935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 936 as_fn_error $? "invalid feature name: $ac_useropt" 937 ac_useropt_orig=$ac_useropt 938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 939 case $ac_user_opts in 940 *" 941 "enable_$ac_useropt" 942 "*) ;; 943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 944 ac_unrecognized_sep=', ';; 945 esac 946 eval enable_$ac_useropt=\$ac_optarg ;; 920 947 921 948 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1108 1135 1109 1136 -with-* | --with-*) 1110 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1137 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1111 1138 # Reject names that are not valid shell variable names. 1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1113 { echo "$as_me: error: invalid package name: $ac_package" >&2 1114 { (exit 1); exit 1; }; } 1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1116 eval with_$ac_package=\$ac_optarg ;; 1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1140 as_fn_error $? "invalid package name: $ac_useropt" 1141 ac_useropt_orig=$ac_useropt 1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1143 case $ac_user_opts in 1144 *" 1145 "with_$ac_useropt" 1146 "*) ;; 1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1148 ac_unrecognized_sep=', ';; 1149 esac 1150 eval with_$ac_useropt=\$ac_optarg ;; 1117 1151 1118 1152 -without-* | --without-*) 1119 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1153 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1120 1154 # Reject names that are not valid shell variable names. 1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1122 { echo "$as_me: error: invalid package name: $ac_package" >&2 1123 { (exit 1); exit 1; }; } 1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1125 eval with_$ac_package=no ;; 1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1156 as_fn_error $? "invalid package name: $ac_useropt" 1157 ac_useropt_orig=$ac_useropt 1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1159 case $ac_user_opts in 1160 *" 1161 "with_$ac_useropt" 1162 "*) ;; 1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1164 ac_unrecognized_sep=', ';; 1165 esac 1166 eval with_$ac_useropt=no ;; 1126 1167 1127 1168 --x) … … 1143 1184 x_libraries=$ac_optarg ;; 1144 1185 1145 -*) { echo "$as_me: error: unrecognized option: $ac_option 1146 Try \`$0 --help' for more information." >&2 1147 { (exit 1); exit 1; }; } 1186 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1187 Try \`$0 --help' for more information" 1148 1188 ;; 1149 1189 … … 1151 1191 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1152 1192 # Reject names that are not valid shell variable names. 1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1155 { (exit 1); exit 1; }; } 1193 case $ac_envvar in #( 1194 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1195 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1196 esac 1156 1197 eval $ac_envvar=\$ac_optarg 1157 1198 export $ac_envvar ;; … … 1159 1200 *) 1160 1201 # FIXME: should be removed in autoconf 3.0. 1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&21202 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1162 1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&21164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1204 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1165 1206 ;; 1166 1207 … … 1170 1211 if test -n "$ac_prev"; then 1171 1212 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1172 { echo "$as_me: error: missing argument to $ac_option" >&2 1173 { (exit 1); exit 1; }; } 1174 fi 1175 1176 # Be sure to have absolute directory names. 1213 as_fn_error $? "missing argument to $ac_option" 1214 fi 1215 1216 if test -n "$ac_unrecognized_opts"; then 1217 case $enable_option_checking in 1218 no) ;; 1219 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1220 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1221 esac 1222 fi 1223 1224 # Check all directory arguments for consistency. 1177 1225 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1178 1226 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1181 1229 do 1182 1230 eval ac_val=\$$ac_var 1231 # Remove trailing slashes. 1232 case $ac_val in 1233 */ ) 1234 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1235 eval $ac_var=\$ac_val;; 1236 esac 1237 # Be sure to have absolute directory names. 1183 1238 case $ac_val in 1184 1239 [\\/$]* | ?:[\\/]* ) continue;; 1185 1240 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1186 1241 esac 1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1188 { (exit 1); exit 1; }; } 1242 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1189 1243 done 1190 1244 … … 1200 1254 if test "x$build_alias" = x; then 1201 1255 cross_compiling=maybe 1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1203 If a cross compiler is detected then cross compile mode will be used ." >&21256 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1257 If a cross compiler is detected then cross compile mode will be used" >&2 1204 1258 elif test "x$build_alias" != "x$host_alias"; then 1205 1259 cross_compiling=yes … … 1216 1270 ac_ls_di=`ls -di .` && 1217 1271 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1218 { echo "$as_me: error: Working directory cannot be determined" >&2 1219 { (exit 1); exit 1; }; } 1272 as_fn_error $? "working directory cannot be determined" 1220 1273 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1221 { echo "$as_me: error: pwd does not report name of working directory" >&2 1222 { (exit 1); exit 1; }; } 1274 as_fn_error $? "pwd does not report name of working directory" 1223 1275 1224 1276 … … 1227 1279 ac_srcdir_defaulted=yes 1228 1280 # Try the directory containing this script, then the parent directory. 1229 ac_confdir=`$as_dirname -- "$ 0" ||1230 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1231 X"$ 0" : 'X\(//\)[^/]' \| \1232 X"$ 0" : 'X\(//\)$' \| \1233 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1234 echo X"$0" |1281 ac_confdir=`$as_dirname -- "$as_myself" || 1282 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1283 X"$as_myself" : 'X\(//\)[^/]' \| \ 1284 X"$as_myself" : 'X\(//\)$' \| \ 1285 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1286 $as_echo X"$as_myself" | 1235 1287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1236 1288 s//\1/ … … 1259 1311 if test ! -r "$srcdir/$ac_unique_file"; then 1260 1312 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1262 { (exit 1); exit 1; }; } 1313 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1263 1314 fi 1264 1315 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1265 1316 ac_abs_confdir=`( 1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1267 { (exit 1); exit 1; }; } 1317 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1268 1318 pwd)` 1269 1319 # When building in place, set srcdir=. … … 1305 1355 --help=recursive display the short help of all the included packages 1306 1356 -V, --version display version information and exit 1307 -q, --quiet, --silent do not print \`checking ...' messages1357 -q, --quiet, --silent do not print \`checking ...' messages 1308 1358 --cache-file=FILE cache test results in FILE [disabled] 1309 1359 -C, --config-cache alias for \`--cache-file=config.cache' … … 1313 1363 Installation directories: 1314 1364 --prefix=PREFIX install architecture-independent files in PREFIX 1315 1365 [$ac_default_prefix] 1316 1366 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1317 1367 [PREFIX] 1318 1368 1319 1369 By default, \`make install' will install all the files in … … 1325 1375 1326 1376 Fine tuning of the installation directories: 1327 --bindir=DIR user executables [EPREFIX/bin]1328 --sbindir=DIR system admin executables [EPREFIX/sbin]1329 --libexecdir=DIR program executables [EPREFIX/libexec]1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1333 --libdir=DIR object code libraries [EPREFIX/lib]1334 --includedir=DIR C header files [PREFIX/include]1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1338 --infodir=DIR info documentation [DATAROOTDIR/info]1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1340 --mandir=DIR man documentation [DATAROOTDIR/man]1341 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1342 --htmldir=DIR html documentation [DOCDIR]1343 --dvidir=DIR dvi documentation [DOCDIR]1344 --pdfdir=DIR pdf documentation [DOCDIR]1345 --psdir=DIR ps documentation [DOCDIR]1377 --bindir=DIR user executables [EPREFIX/bin] 1378 --sbindir=DIR system admin executables [EPREFIX/sbin] 1379 --libexecdir=DIR program executables [EPREFIX/libexec] 1380 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1381 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1383 --libdir=DIR object code libraries [EPREFIX/lib] 1384 --includedir=DIR C header files [PREFIX/include] 1385 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1388 --infodir=DIR info documentation [DATAROOTDIR/info] 1389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1390 --mandir=DIR man documentation [DATAROOTDIR/man] 1391 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1392 --htmldir=DIR html documentation [DOCDIR] 1393 --dvidir=DIR dvi documentation [DOCDIR] 1394 --pdfdir=DIR pdf documentation [DOCDIR] 1395 --psdir=DIR ps documentation [DOCDIR] 1346 1396 _ACEOF 1347 1397 … … 1357 1407 1358 1408 Optional Features: 1409 --disable-option-checking ignore unrecognized --enable/--with options 1359 1410 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1360 1411 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1379 1430 --with-perl=DIR location of perl [default=yes] 1380 1431 --with-python=DIR location of python [default=yes] 1381 --with-ruby= PATH absolute path to ruby executable1432 --with-ruby=DIR location of ruby [default=yes] 1382 1433 --with-java=DIR location of java [default=yes] 1383 1434 … … 1388 1439 nonstandard directory <lib dir> 1389 1440 LIBS libraries to pass to the linker, e.g. -l<library> 1390 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1441 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1391 1442 you have headers in a nonstandard directory <include dir> 1392 1443 CXX C++ compiler command … … 1408 1459 # If there are subdirs, report their specific --help. 1409 1460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1410 test -d "$ac_dir" || continue 1461 test -d "$ac_dir" || 1462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1463 continue 1411 1464 ac_builddir=. 1412 1465 … … 1414 1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1415 1468 *) 1416 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1417 1470 # A ".." for each directory in $ac_dir_suffix. 1418 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1419 1472 case $ac_top_builddir_sub in 1420 1473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1452 1505 $SHELL "$ac_srcdir/configure" --help=recursive 1453 1506 else 1454 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1455 1508 fi || ac_status=$? 1456 1509 cd "$ac_pwd" || { ac_status=$?; break; } … … 1462 1515 cat <<\_ACEOF 1463 1516 Rappture configure 1.1 1464 generated by GNU Autoconf 2.61 1465 1466 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1467 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1517 generated by GNU Autoconf 2.68 1518 1519 Copyright (C) 2010 Free Software Foundation, Inc. 1468 1520 This configure script is free software; the Free Software Foundation 1469 1521 gives unlimited permission to copy, distribute and modify it. … … 1471 1523 exit 1472 1524 fi 1525 1526 ## ------------------------ ## 1527 ## Autoconf initialization. ## 1528 ## ------------------------ ## 1529 1530 # ac_fn_c_try_compile LINENO 1531 # -------------------------- 1532 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1533 ac_fn_c_try_compile () 1534 { 1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1536 rm -f conftest.$ac_objext 1537 if { { ac_try="$ac_compile" 1538 case "(($ac_try" in 1539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1540 *) ac_try_echo=$ac_try;; 1541 esac 1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1543 $as_echo "$ac_try_echo"; } >&5 1544 (eval "$ac_compile") 2>conftest.err 1545 ac_status=$? 1546 if test -s conftest.err; then 1547 grep -v '^ *+' conftest.err >conftest.er1 1548 cat conftest.er1 >&5 1549 mv -f conftest.er1 conftest.err 1550 fi 1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1552 test $ac_status = 0; } && { 1553 test -z "$ac_c_werror_flag" || 1554 test ! -s conftest.err 1555 } && test -s conftest.$ac_objext; then : 1556 ac_retval=0 1557 else 1558 $as_echo "$as_me: failed program was:" >&5 1559 sed 's/^/| /' conftest.$ac_ext >&5 1560 1561 ac_retval=1 1562 fi 1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1564 as_fn_set_status $ac_retval 1565 1566 } # ac_fn_c_try_compile 1567 1568 # ac_fn_cxx_try_compile LINENO 1569 # ---------------------------- 1570 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1571 ac_fn_cxx_try_compile () 1572 { 1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1574 rm -f conftest.$ac_objext 1575 if { { ac_try="$ac_compile" 1576 case "(($ac_try" in 1577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1578 *) ac_try_echo=$ac_try;; 1579 esac 1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1581 $as_echo "$ac_try_echo"; } >&5 1582 (eval "$ac_compile") 2>conftest.err 1583 ac_status=$? 1584 if test -s conftest.err; then 1585 grep -v '^ *+' conftest.err >conftest.er1 1586 cat conftest.er1 >&5 1587 mv -f conftest.er1 conftest.err 1588 fi 1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1590 test $ac_status = 0; } && { 1591 test -z "$ac_cxx_werror_flag" || 1592 test ! -s conftest.err 1593 } && test -s conftest.$ac_objext; then : 1594 ac_retval=0 1595 else 1596 $as_echo "$as_me: failed program was:" >&5 1597 sed 's/^/| /' conftest.$ac_ext >&5 1598 1599 ac_retval=1 1600 fi 1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1602 as_fn_set_status $ac_retval 1603 1604 } # ac_fn_cxx_try_compile 1605 1606 # ac_fn_f77_try_compile LINENO 1607 # ---------------------------- 1608 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1609 ac_fn_f77_try_compile () 1610 { 1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1612 rm -f conftest.$ac_objext 1613 if { { ac_try="$ac_compile" 1614 case "(($ac_try" in 1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1616 *) ac_try_echo=$ac_try;; 1617 esac 1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1619 $as_echo "$ac_try_echo"; } >&5 1620 (eval "$ac_compile") 2>conftest.err 1621 ac_status=$? 1622 if test -s conftest.err; then 1623 grep -v '^ *+' conftest.err >conftest.er1 1624 cat conftest.er1 >&5 1625 mv -f conftest.er1 conftest.err 1626 fi 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; } && { 1629 test -z "$ac_f77_werror_flag" || 1630 test ! -s conftest.err 1631 } && test -s conftest.$ac_objext; then : 1632 ac_retval=0 1633 else 1634 $as_echo "$as_me: failed program was:" >&5 1635 sed 's/^/| /' conftest.$ac_ext >&5 1636 1637 ac_retval=1 1638 fi 1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1640 as_fn_set_status $ac_retval 1641 1642 } # ac_fn_f77_try_compile 1643 1644 # ac_fn_c_try_cpp LINENO 1645 # ---------------------- 1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1647 ac_fn_c_try_cpp () 1648 { 1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1650 if { { ac_try="$ac_cpp conftest.$ac_ext" 1651 case "(($ac_try" in 1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1653 *) ac_try_echo=$ac_try;; 1654 esac 1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1656 $as_echo "$ac_try_echo"; } >&5 1657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1658 ac_status=$? 1659 if test -s conftest.err; then 1660 grep -v '^ *+' conftest.err >conftest.er1 1661 cat conftest.er1 >&5 1662 mv -f conftest.er1 conftest.err 1663 fi 1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1665 test $ac_status = 0; } > conftest.i && { 1666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1667 test ! -s conftest.err 1668 }; then : 1669 ac_retval=0 1670 else 1671 $as_echo "$as_me: failed program was:" >&5 1672 sed 's/^/| /' conftest.$ac_ext >&5 1673 1674 ac_retval=1 1675 fi 1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1677 as_fn_set_status $ac_retval 1678 1679 } # ac_fn_c_try_cpp 1680 1681 # ac_fn_c_try_run LINENO 1682 # ---------------------- 1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1684 # that executables *can* be run. 1685 ac_fn_c_try_run () 1686 { 1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1688 if { { ac_try="$ac_link" 1689 case "(($ac_try" in 1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1691 *) ac_try_echo=$ac_try;; 1692 esac 1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1694 $as_echo "$ac_try_echo"; } >&5 1695 (eval "$ac_link") 2>&5 1696 ac_status=$? 1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1698 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1699 { { case "(($ac_try" in 1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1701 *) ac_try_echo=$ac_try;; 1702 esac 1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1704 $as_echo "$ac_try_echo"; } >&5 1705 (eval "$ac_try") 2>&5 1706 ac_status=$? 1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1708 test $ac_status = 0; }; }; then : 1709 ac_retval=0 1710 else 1711 $as_echo "$as_me: program exited with status $ac_status" >&5 1712 $as_echo "$as_me: failed program was:" >&5 1713 sed 's/^/| /' conftest.$ac_ext >&5 1714 1715 ac_retval=$ac_status 1716 fi 1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1719 as_fn_set_status $ac_retval 1720 1721 } # ac_fn_c_try_run 1722 1723 # ac_fn_c_try_link LINENO 1724 # ----------------------- 1725 # Try to link conftest.$ac_ext, and return whether this succeeded. 1726 ac_fn_c_try_link () 1727 { 1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1729 rm -f conftest.$ac_objext conftest$ac_exeext 1730 if { { ac_try="$ac_link" 1731 case "(($ac_try" in 1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1733 *) ac_try_echo=$ac_try;; 1734 esac 1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1736 $as_echo "$ac_try_echo"; } >&5 1737 (eval "$ac_link") 2>conftest.err 1738 ac_status=$? 1739 if test -s conftest.err; then 1740 grep -v '^ *+' conftest.err >conftest.er1 1741 cat conftest.er1 >&5 1742 mv -f conftest.er1 conftest.err 1743 fi 1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1745 test $ac_status = 0; } && { 1746 test -z "$ac_c_werror_flag" || 1747 test ! -s conftest.err 1748 } && test -s conftest$ac_exeext && { 1749 test "$cross_compiling" = yes || 1750 $as_test_x conftest$ac_exeext 1751 }; then : 1752 ac_retval=0 1753 else 1754 $as_echo "$as_me: failed program was:" >&5 1755 sed 's/^/| /' conftest.$ac_ext >&5 1756 1757 ac_retval=1 1758 fi 1759 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1760 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1761 # interfere with the next link command; also delete a directory that is 1762 # left behind by Apple's compiler. We do this before executing the actions. 1763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1765 as_fn_set_status $ac_retval 1766 1767 } # ac_fn_c_try_link 1768 1769 # ac_fn_c_check_func LINENO FUNC VAR 1770 # ---------------------------------- 1771 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1772 ac_fn_c_check_func () 1773 { 1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1776 $as_echo_n "checking for $2... " >&6; } 1777 if eval \${$3+:} false; then : 1778 $as_echo_n "(cached) " >&6 1779 else 1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1781 /* end confdefs.h. */ 1782 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1783 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1784 #define $2 innocuous_$2 1785 1786 /* System header to define __stub macros and hopefully few prototypes, 1787 which can conflict with char $2 (); below. 1788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1789 <limits.h> exists even on freestanding compilers. */ 1790 1791 #ifdef __STDC__ 1792 # include <limits.h> 1793 #else 1794 # include <assert.h> 1795 #endif 1796 1797 #undef $2 1798 1799 /* Override any GCC internal prototype to avoid an error. 1800 Use char because int might match the return type of a GCC 1801 builtin and then its argument prototype would still apply. */ 1802 #ifdef __cplusplus 1803 extern "C" 1804 #endif 1805 char $2 (); 1806 /* The GNU C library defines this for functions which it implements 1807 to always fail with ENOSYS. Some functions are actually named 1808 something starting with __ and the normal name is an alias. */ 1809 #if defined __stub_$2 || defined __stub___$2 1810 choke me 1811 #endif 1812 1813 int 1814 main () 1815 { 1816 return $2 (); 1817 ; 1818 return 0; 1819 } 1820 _ACEOF 1821 if ac_fn_c_try_link "$LINENO"; then : 1822 eval "$3=yes" 1823 else 1824 eval "$3=no" 1825 fi 1826 rm -f core conftest.err conftest.$ac_objext \ 1827 conftest$ac_exeext conftest.$ac_ext 1828 fi 1829 eval ac_res=\$$3 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1831 $as_echo "$ac_res" >&6; } 1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1833 1834 } # ac_fn_c_check_func 1835 1836 # ac_fn_cxx_try_link LINENO 1837 # ------------------------- 1838 # Try to link conftest.$ac_ext, and return whether this succeeded. 1839 ac_fn_cxx_try_link () 1840 { 1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1842 rm -f conftest.$ac_objext conftest$ac_exeext 1843 if { { ac_try="$ac_link" 1844 case "(($ac_try" in 1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1846 *) ac_try_echo=$ac_try;; 1847 esac 1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1849 $as_echo "$ac_try_echo"; } >&5 1850 (eval "$ac_link") 2>conftest.err 1851 ac_status=$? 1852 if test -s conftest.err; then 1853 grep -v '^ *+' conftest.err >conftest.er1 1854 cat conftest.er1 >&5 1855 mv -f conftest.er1 conftest.err 1856 fi 1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1858 test $ac_status = 0; } && { 1859 test -z "$ac_cxx_werror_flag" || 1860 test ! -s conftest.err 1861 } && test -s conftest$ac_exeext && { 1862 test "$cross_compiling" = yes || 1863 $as_test_x conftest$ac_exeext 1864 }; then : 1865 ac_retval=0 1866 else 1867 $as_echo "$as_me: failed program was:" >&5 1868 sed 's/^/| /' conftest.$ac_ext >&5 1869 1870 ac_retval=1 1871 fi 1872 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1873 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1874 # interfere with the next link command; also delete a directory that is 1875 # left behind by Apple's compiler. We do this before executing the actions. 1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1878 as_fn_set_status $ac_retval 1879 1880 } # ac_fn_cxx_try_link 1881 1882 # ac_fn_cxx_check_func LINENO FUNC VAR 1883 # ------------------------------------ 1884 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1885 ac_fn_cxx_check_func () 1886 { 1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1889 $as_echo_n "checking for $2... " >&6; } 1890 if eval \${$3+:} false; then : 1891 $as_echo_n "(cached) " >&6 1892 else 1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1894 /* end confdefs.h. */ 1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1896 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1897 #define $2 innocuous_$2 1898 1899 /* System header to define __stub macros and hopefully few prototypes, 1900 which can conflict with char $2 (); below. 1901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1902 <limits.h> exists even on freestanding compilers. */ 1903 1904 #ifdef __STDC__ 1905 # include <limits.h> 1906 #else 1907 # include <assert.h> 1908 #endif 1909 1910 #undef $2 1911 1912 /* Override any GCC internal prototype to avoid an error. 1913 Use char because int might match the return type of a GCC 1914 builtin and then its argument prototype would still apply. */ 1915 #ifdef __cplusplus 1916 extern "C" 1917 #endif 1918 char $2 (); 1919 /* The GNU C library defines this for functions which it implements 1920 to always fail with ENOSYS. Some functions are actually named 1921 something starting with __ and the normal name is an alias. */ 1922 #if defined __stub_$2 || defined __stub___$2 1923 choke me 1924 #endif 1925 1926 int 1927 main () 1928 { 1929 return $2 (); 1930 ; 1931 return 0; 1932 } 1933 _ACEOF 1934 if ac_fn_cxx_try_link "$LINENO"; then : 1935 eval "$3=yes" 1936 else 1937 eval "$3=no" 1938 fi 1939 rm -f core conftest.err conftest.$ac_objext \ 1940 conftest$ac_exeext conftest.$ac_ext 1941 fi 1942 eval ac_res=\$$3 1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1944 $as_echo "$ac_res" >&6; } 1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1946 1947 } # ac_fn_cxx_check_func 1948 1949 # ac_fn_cxx_try_cpp LINENO 1950 # ------------------------ 1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1952 ac_fn_cxx_try_cpp () 1953 { 1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1955 if { { ac_try="$ac_cpp conftest.$ac_ext" 1956 case "(($ac_try" in 1957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1958 *) ac_try_echo=$ac_try;; 1959 esac 1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1961 $as_echo "$ac_try_echo"; } >&5 1962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1963 ac_status=$? 1964 if test -s conftest.err; then 1965 grep -v '^ *+' conftest.err >conftest.er1 1966 cat conftest.er1 >&5 1967 mv -f conftest.er1 conftest.err 1968 fi 1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1970 test $ac_status = 0; } > conftest.i && { 1971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1972 test ! -s conftest.err 1973 }; then : 1974 ac_retval=0 1975 else 1976 $as_echo "$as_me: failed program was:" >&5 1977 sed 's/^/| /' conftest.$ac_ext >&5 1978 1979 ac_retval=1 1980 fi 1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1982 as_fn_set_status $ac_retval 1983 1984 } # ac_fn_cxx_try_cpp 1985 1986 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1987 # --------------------------------------------------------- 1988 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1989 # the include files in INCLUDES and setting the cache variable VAR 1990 # accordingly. 1991 ac_fn_cxx_check_header_mongrel () 1992 { 1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1994 if eval \${$3+:} false; then : 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1996 $as_echo_n "checking for $2... " >&6; } 1997 if eval \${$3+:} false; then : 1998 $as_echo_n "(cached) " >&6 1999 fi 2000 eval ac_res=\$$3 2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2002 $as_echo "$ac_res" >&6; } 2003 else 2004 # Is the header compilable? 2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2006 $as_echo_n "checking $2 usability... " >&6; } 2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2008 /* end confdefs.h. */ 2009 $4 2010 #include <$2> 2011 _ACEOF 2012 if ac_fn_cxx_try_compile "$LINENO"; then : 2013 ac_header_compiler=yes 2014 else 2015 ac_header_compiler=no 2016 fi 2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2019 $as_echo "$ac_header_compiler" >&6; } 2020 2021 # Is the header present? 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2023 $as_echo_n "checking $2 presence... " >&6; } 2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2025 /* end confdefs.h. */ 2026 #include <$2> 2027 _ACEOF 2028 if ac_fn_cxx_try_cpp "$LINENO"; then : 2029 ac_header_preproc=yes 2030 else 2031 ac_header_preproc=no 2032 fi 2033 rm -f conftest.err conftest.i conftest.$ac_ext 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2035 $as_echo "$ac_header_preproc" >&6; } 2036 2037 # So? What about this header? 2038 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2039 yes:no: ) 2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2041 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2043 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2044 ;; 2045 no:yes:* ) 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2047 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2049 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2051 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2053 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2055 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2056 ( $as_echo "## ----------------------------------- ## 2057 ## Report this to rappture@nanohub.org ## 2058 ## ----------------------------------- ##" 2059 ) | sed "s/^/$as_me: WARNING: /" >&2 2060 ;; 2061 esac 2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2063 $as_echo_n "checking for $2... " >&6; } 2064 if eval \${$3+:} false; then : 2065 $as_echo_n "(cached) " >&6 2066 else 2067 eval "$3=\$ac_header_compiler" 2068 fi 2069 eval ac_res=\$$3 2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2071 $as_echo "$ac_res" >&6; } 2072 fi 2073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2074 2075 } # ac_fn_cxx_check_header_mongrel 2076 2077 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2078 # --------------------------------------------------------- 2079 # Tests whether HEADER exists and can be compiled using the include files in 2080 # INCLUDES, setting the cache variable VAR accordingly. 2081 ac_fn_cxx_check_header_compile () 2082 { 2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2085 $as_echo_n "checking for $2... " >&6; } 2086 if eval \${$3+:} false; then : 2087 $as_echo_n "(cached) " >&6 2088 else 2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2090 /* end confdefs.h. */ 2091 $4 2092 #include <$2> 2093 _ACEOF 2094 if ac_fn_cxx_try_compile "$LINENO"; then : 2095 eval "$3=yes" 2096 else 2097 eval "$3=no" 2098 fi 2099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2100 fi 2101 eval ac_res=\$$3 2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2103 $as_echo "$ac_res" >&6; } 2104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2105 2106 } # ac_fn_cxx_check_header_compile 2107 2108 # ac_fn_cxx_try_run LINENO 2109 # ------------------------ 2110 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2111 # that executables *can* be run. 2112 ac_fn_cxx_try_run () 2113 { 2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2115 if { { ac_try="$ac_link" 2116 case "(($ac_try" in 2117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2118 *) ac_try_echo=$ac_try;; 2119 esac 2120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2121 $as_echo "$ac_try_echo"; } >&5 2122 (eval "$ac_link") 2>&5 2123 ac_status=$? 2124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2125 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2126 { { case "(($ac_try" in 2127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2128 *) ac_try_echo=$ac_try;; 2129 esac 2130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2131 $as_echo "$ac_try_echo"; } >&5 2132 (eval "$ac_try") 2>&5 2133 ac_status=$? 2134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2135 test $ac_status = 0; }; }; then : 2136 ac_retval=0 2137 else 2138 $as_echo "$as_me: program exited with status $ac_status" >&5 2139 $as_echo "$as_me: failed program was:" >&5 2140 sed 's/^/| /' conftest.$ac_ext >&5 2141 2142 ac_retval=$ac_status 2143 fi 2144 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2145 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2146 as_fn_set_status $ac_retval 2147 2148 } # ac_fn_cxx_try_run 2149 2150 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2151 # ---------------------------------------------- 2152 # Tries to find the compile-time value of EXPR in a program that includes 2153 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2154 # computed 2155 ac_fn_cxx_compute_int () 2156 { 2157 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2158 if test "$cross_compiling" = yes; then 2159 # Depending upon the size, compute the lo and hi bounds. 2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2161 /* end confdefs.h. */ 2162 $4 2163 int 2164 main () 2165 { 2166 static int test_array [1 - 2 * !(($2) >= 0)]; 2167 test_array [0] = 0 2168 2169 ; 2170 return 0; 2171 } 2172 _ACEOF 2173 if ac_fn_cxx_try_compile "$LINENO"; then : 2174 ac_lo=0 ac_mid=0 2175 while :; do 2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2177 /* end confdefs.h. */ 2178 $4 2179 int 2180 main () 2181 { 2182 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2183 test_array [0] = 0 2184 2185 ; 2186 return 0; 2187 } 2188 _ACEOF 2189 if ac_fn_cxx_try_compile "$LINENO"; then : 2190 ac_hi=$ac_mid; break 2191 else 2192 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2193 if test $ac_lo -le $ac_mid; then 2194 ac_lo= ac_hi= 2195 break 2196 fi 2197 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2198 fi 2199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2200 done 2201 else 2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2203 /* end confdefs.h. */ 2204 $4 2205 int 2206 main () 2207 { 2208 static int test_array [1 - 2 * !(($2) < 0)]; 2209 test_array [0] = 0 2210 2211 ; 2212 return 0; 2213 } 2214 _ACEOF 2215 if ac_fn_cxx_try_compile "$LINENO"; then : 2216 ac_hi=-1 ac_mid=-1 2217 while :; do 2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2219 /* end confdefs.h. */ 2220 $4 2221 int 2222 main () 2223 { 2224 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2225 test_array [0] = 0 2226 2227 ; 2228 return 0; 2229 } 2230 _ACEOF 2231 if ac_fn_cxx_try_compile "$LINENO"; then : 2232 ac_lo=$ac_mid; break 2233 else 2234 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2235 if test $ac_mid -le $ac_hi; then 2236 ac_lo= ac_hi= 2237 break 2238 fi 2239 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2240 fi 2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2242 done 2243 else 2244 ac_lo= ac_hi= 2245 fi 2246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2247 fi 2248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2249 # Binary search between lo and hi bounds. 2250 while test "x$ac_lo" != "x$ac_hi"; do 2251 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2253 /* end confdefs.h. */ 2254 $4 2255 int 2256 main () 2257 { 2258 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2259 test_array [0] = 0 2260 2261 ; 2262 return 0; 2263 } 2264 _ACEOF 2265 if ac_fn_cxx_try_compile "$LINENO"; then : 2266 ac_hi=$ac_mid 2267 else 2268 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2269 fi 2270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2271 done 2272 case $ac_lo in #(( 2273 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2274 '') ac_retval=1 ;; 2275 esac 2276 else 2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2278 /* end confdefs.h. */ 2279 $4 2280 static long int longval () { return $2; } 2281 static unsigned long int ulongval () { return $2; } 2282 #include <stdio.h> 2283 #include <stdlib.h> 2284 int 2285 main () 2286 { 2287 2288 FILE *f = fopen ("conftest.val", "w"); 2289 if (! f) 2290 return 1; 2291 if (($2) < 0) 2292 { 2293 long int i = longval (); 2294 if (i != ($2)) 2295 return 1; 2296 fprintf (f, "%ld", i); 2297 } 2298 else 2299 { 2300 unsigned long int i = ulongval (); 2301 if (i != ($2)) 2302 return 1; 2303 fprintf (f, "%lu", i); 2304 } 2305 /* Do not output a trailing newline, as this causes \r\n confusion 2306 on some platforms. */ 2307 return ferror (f) || fclose (f) != 0; 2308 2309 ; 2310 return 0; 2311 } 2312 _ACEOF 2313 if ac_fn_cxx_try_run "$LINENO"; then : 2314 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2315 else 2316 ac_retval=1 2317 fi 2318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2319 conftest.$ac_objext conftest.beam conftest.$ac_ext 2320 rm -f conftest.val 2321 2322 fi 2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2324 as_fn_set_status $ac_retval 2325 2326 } # ac_fn_cxx_compute_int 1473 2327 cat >config.log <<_ACEOF 1474 2328 This file contains any messages produced by compilers while … … 1476 2330 1477 2331 It was created by Rappture $as_me 1.1, which was 1478 generated by GNU Autoconf 2.6 1. Invocation command line was2332 generated by GNU Autoconf 2.68. Invocation command line was 1479 2333 1480 2334 $ $0 $@ … … 1512 2366 IFS=$as_save_IFS 1513 2367 test -z "$as_dir" && as_dir=. 1514 echo "PATH: $as_dir"1515 done2368 $as_echo "PATH: $as_dir" 2369 done 1516 2370 IFS=$as_save_IFS 1517 2371 … … 1547 2401 continue ;; 1548 2402 *\'*) 1549 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2403 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1550 2404 esac 1551 2405 case $ac_pass in 1552 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2406 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1553 2407 2) 1554 a c_configure_args1="$ac_configure_args1'$ac_arg'"2408 as_fn_append ac_configure_args1 " '$ac_arg'" 1555 2409 if test $ac_must_keep_next = true; then 1556 2410 ac_must_keep_next=false # Got value, back to normal. … … 1568 2422 esac 1569 2423 fi 1570 a c_configure_args="$ac_configure_args'$ac_arg'"2424 as_fn_append ac_configure_args " '$ac_arg'" 1571 2425 ;; 1572 2426 esac 1573 2427 done 1574 2428 done 1575 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1576 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2429 { ac_configure_args0=; unset ac_configure_args0;} 2430 { ac_configure_args1=; unset ac_configure_args1;} 1577 2431 1578 2432 # When interrupted or exit'd, cleanup temporary files, and complete … … 1586 2440 echo 1587 2441 1588 cat <<\_ASBOX 1589 ## ---------------- ## 2442 $as_echo "## ---------------- ## 1590 2443 ## Cache variables. ## 1591 ## ---------------- ## 1592 _ASBOX 2444 ## ---------------- ##" 1593 2445 echo 1594 2446 # The following way of writing the cache mishandles newlines in values, … … 1599 2451 *${as_nl}*) 1600 2452 case $ac_var in #( 1601 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51602 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2453 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1603 2455 esac 1604 2456 case $ac_var in #( 1605 2457 _ | IFS | as_nl) ;; #( 1606 *) $as_unset $ac_var ;; 2458 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2459 *) { eval $ac_var=; unset $ac_var;} ;; 1607 2460 esac ;; 1608 2461 esac … … 1623 2476 echo 1624 2477 1625 cat <<\_ASBOX 1626 ## ----------------- ## 2478 $as_echo "## ----------------- ## 1627 2479 ## Output variables. ## 1628 ## ----------------- ## 1629 _ASBOX 2480 ## ----------------- ##" 1630 2481 echo 1631 2482 for ac_var in $ac_subst_vars … … 1633 2484 eval ac_val=\$$ac_var 1634 2485 case $ac_val in 1635 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2486 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1636 2487 esac 1637 echo "$ac_var='\''$ac_val'\''"2488 $as_echo "$ac_var='\''$ac_val'\''" 1638 2489 done | sort 1639 2490 echo 1640 2491 1641 2492 if test -n "$ac_subst_files"; then 1642 cat <<\_ASBOX 1643 ## ------------------- ## 2493 $as_echo "## ------------------- ## 1644 2494 ## File substitutions. ## 1645 ## ------------------- ## 1646 _ASBOX 2495 ## ------------------- ##" 1647 2496 echo 1648 2497 for ac_var in $ac_subst_files … … 1650 2499 eval ac_val=\$$ac_var 1651 2500 case $ac_val in 1652 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2501 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1653 2502 esac 1654 echo "$ac_var='\''$ac_val'\''"2503 $as_echo "$ac_var='\''$ac_val'\''" 1655 2504 done | sort 1656 2505 echo … … 1658 2507 1659 2508 if test -s confdefs.h; then 1660 cat <<\_ASBOX 1661 ## ----------- ## 2509 $as_echo "## ----------- ## 1662 2510 ## confdefs.h. ## 1663 ## ----------- ## 1664 _ASBOX 2511 ## ----------- ##" 1665 2512 echo 1666 2513 cat confdefs.h … … 1668 2515 fi 1669 2516 test "$ac_signal" != 0 && 1670 echo "$as_me: caught signal $ac_signal"1671 echo "$as_me: exit $exit_status"2517 $as_echo "$as_me: caught signal $ac_signal" 2518 $as_echo "$as_me: exit $exit_status" 1672 2519 } >&5 1673 2520 rm -f core *.core core.conftest.* && … … 1676 2523 ' 0 1677 2524 for ac_signal in 1 2 13 15; do 1678 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2525 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1679 2526 done 1680 2527 ac_signal=0 … … 1683 2530 rm -f -r conftest* confdefs.h 1684 2531 2532 $as_echo "/* confdefs.h */" > confdefs.h 2533 1685 2534 # Predefined preprocessor variables. 1686 2535 … … 1689 2538 _ACEOF 1690 2539 1691 1692 2540 cat >>confdefs.h <<_ACEOF 1693 2541 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1694 2542 _ACEOF 1695 2543 1696 1697 2544 cat >>confdefs.h <<_ACEOF 1698 2545 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1699 2546 _ACEOF 1700 2547 1701 1702 2548 cat >>confdefs.h <<_ACEOF 1703 2549 #define PACKAGE_STRING "$PACKAGE_STRING" 1704 2550 _ACEOF 1705 2551 1706 1707 2552 cat >>confdefs.h <<_ACEOF 1708 2553 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1709 2554 _ACEOF 1710 2555 2556 cat >>confdefs.h <<_ACEOF 2557 #define PACKAGE_URL "$PACKAGE_URL" 2558 _ACEOF 2559 1711 2560 1712 2561 # Let the site file select an alternate cache file if it wants to. 1713 # Prefer explicitly selected file to automatically selected ones. 2562 # Prefer an explicitly selected file to automatically selected ones. 2563 ac_site_file1=NONE 2564 ac_site_file2=NONE 1714 2565 if test -n "$CONFIG_SITE"; then 1715 set x "$CONFIG_SITE" 2566 # We do not want a PATH search for config.site. 2567 case $CONFIG_SITE in #(( 2568 -*) ac_site_file1=./$CONFIG_SITE;; 2569 */*) ac_site_file1=$CONFIG_SITE;; 2570 *) ac_site_file1=./$CONFIG_SITE;; 2571 esac 1716 2572 elif test "x$prefix" != xNONE; then 1717 set x "$prefix/share/config.site" "$prefix/etc/config.site"1718 else1719 set x "$ac_default_prefix/share/config.site" \ 1720 "$ac_default_prefix/etc/config.site" 1721 fi 1722 shift 1723 for ac_site_file 2573 ac_site_file1=$prefix/share/config.site 2574 ac_site_file2=$prefix/etc/config.site 2575 else 2576 ac_site_file1=$ac_default_prefix/share/config.site 2577 ac_site_file2=$ac_default_prefix/etc/config.site 2578 fi 2579 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1724 2580 do 1725 if test -r "$ac_site_file"; then 1726 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1727 echo "$as_me: loading site script $ac_site_file" >&6;} 2581 test "x$ac_site_file" = xNONE && continue 2582 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2584 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1728 2585 sed 's/^/| /' "$ac_site_file" >&5 1729 . "$ac_site_file" 2586 . "$ac_site_file" \ 2587 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2589 as_fn_error $? "failed to load site script $ac_site_file 2590 See \`config.log' for more details" "$LINENO" 5; } 1730 2591 fi 1731 2592 done 1732 2593 1733 2594 if test -r "$cache_file"; then 1734 # Some versions of bash will fail to source /dev/null (special 1735 # files actually), so we avoid doing that.1736 if test -f "$cache_file"; then1737 { echo "$as_me:$LINENO: loading cache $cache_file" >&51738 echo "$as_me: loading cache $cache_file" >&6;}2595 # Some versions of bash will fail to source /dev/null (special files 2596 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2597 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2599 $as_echo "$as_me: loading cache $cache_file" >&6;} 1739 2600 case $cache_file in 1740 2601 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1743 2604 fi 1744 2605 else 1745 { echo "$as_me:$LINENO: creating cache $cache_file" >&51746 echo "$as_me: creating cache $cache_file" >&6;}2606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2607 $as_echo "$as_me: creating cache $cache_file" >&6;} 1747 2608 >$cache_file 1748 2609 fi … … 1758 2619 case $ac_old_set,$ac_new_set in 1759 2620 set,) 1760 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51761 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2622 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1762 2623 ac_cache_corrupted=: ;; 1763 2624 ,set) 1764 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51765 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2626 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1766 2627 ac_cache_corrupted=: ;; 1767 2628 ,);; 1768 2629 *) 1769 2630 if test "x$ac_old_val" != "x$ac_new_val"; then 1770 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1771 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1772 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1773 echo "$as_me: former value: $ac_old_val" >&2;} 1774 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1775 echo "$as_me: current value: $ac_new_val" >&2;} 1776 ac_cache_corrupted=: 2631 # differences in whitespace do not lead to failure. 2632 ac_old_val_w=`echo x $ac_old_val` 2633 ac_new_val_w=`echo x $ac_new_val` 2634 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2636 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2637 ac_cache_corrupted=: 2638 else 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2640 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2641 eval $ac_var=\$ac_old_val 2642 fi 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2644 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2645 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2646 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1777 2647 fi;; 1778 2648 esac … … 1780 2650 if test "$ac_new_set" = set; then 1781 2651 case $ac_new_val in 1782 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2652 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1783 2653 *) ac_arg=$ac_var=$ac_new_val ;; 1784 2654 esac 1785 2655 case " $ac_configure_args " in 1786 2656 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1787 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2657 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1788 2658 esac 1789 2659 fi 1790 2660 done 1791 2661 if $ac_cache_corrupted; then 1792 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1793 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1794 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1795 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1796 { (exit 1); exit 1; }; } 1797 fi 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 2662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2665 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2666 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2667 fi 2668 ## -------------------- ## 2669 ## Main body of script. ## 2670 ## -------------------- ## 1822 2671 1823 2672 ac_ext=c … … 1845 2694 done 1846 2695 if test -z "$ac_aux_dir"; then 1847 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1848 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1849 { (exit 1); exit 1; }; } 2696 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1850 2697 fi 1851 2698 … … 1894 2741 # OS/2's system install, which has a completely different semantic 1895 2742 # ./install, which can be erroneously created by make from ./install.sh. 1896 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1897 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2743 # Reject install programs that cannot install multiple files. 2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2745 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1898 2746 if test -z "$INSTALL"; then 1899 if test "${ac_cv_path_install+set}" = set; then1900 echo $ECHO_N "(cached) $ECHO_C" >&62747 if ${ac_cv_path_install+:} false; then : 2748 $as_echo_n "(cached) " >&6 1901 2749 else 1902 2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1905 2753 IFS=$as_save_IFS 1906 2754 test -z "$as_dir" && as_dir=. 1907 # Account for people who put trailing slashes in PATH elements.1908 case $as_dir/ in 1909 ./ | .// | / cC/* | \2755 # Account for people who put trailing slashes in PATH elements. 2756 case $as_dir/ in #(( 2757 ./ | .// | /[cC]/* | \ 1910 2758 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1911 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2759 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1912 2760 /usr/ucb/* ) ;; 1913 2761 *) … … 1927 2775 : 1928 2776 else 1929 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1930 break 3 2777 rm -rf conftest.one conftest.two conftest.dir 2778 echo one > conftest.one 2779 echo two > conftest.two 2780 mkdir conftest.dir 2781 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2782 test -s conftest.one && test -s conftest.two && 2783 test -s conftest.dir/conftest.one && 2784 test -s conftest.dir/conftest.two 2785 then 2786 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2787 break 3 2788 fi 1931 2789 fi 1932 2790 fi … … 1935 2793 ;; 1936 2794 esac 1937 done 2795 2796 done 1938 2797 IFS=$as_save_IFS 1939 2798 2799 rm -rf conftest.one conftest.two conftest.dir 1940 2800 1941 2801 fi … … 1950 2810 fi 1951 2811 fi 1952 { echo "$as_me:$LINENO: result: $INSTALL" >&51953 echo "${ECHO_T}$INSTALL" >&6; }2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2813 $as_echo "$INSTALL" >&6; } 1954 2814 1955 2815 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1961 2821 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1962 2822 1963 # Find a good install program. We prefer a C program (faster),1964 # so one script is as good as another. But avoid the broken or1965 # incompatible versions:1966 # SysV /etc/install, /usr/sbin/install1967 # SunOS /usr/etc/install1968 # IRIX /sbin/install1969 # AIX /bin/install1970 # AmigaOS /C/install, which installs bootblocks on floppy discs1971 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1972 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1973 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1974 # OS/2's system install, which has a completely different semantic1975 # ./install, which can be erroneously created by make from ./install.sh.1976 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51977 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }1978 if test -z "$INSTALL"; then1979 if test "${ac_cv_path_install+set}" = set; then1980 echo $ECHO_N "(cached) $ECHO_C" >&61981 else1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1983 for as_dir in $PATH1984 do1985 IFS=$as_save_IFS1986 test -z "$as_dir" && as_dir=.1987 # Account for people who put trailing slashes in PATH elements.1988 case $as_dir/ in1989 ./ | .// | /cC/* | \1990 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \1991 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \1992 /usr/ucb/* ) ;;1993 *)1994 # OSF1 and SCO ODT 3.0 have their own names for install.1995 # Don't use installbsd from OSF since it installs stuff as root1996 # by default.1997 for ac_prog in ginstall scoinst install; do1998 for ac_exec_ext in '' $ac_executable_extensions; do1999 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2000 if test $ac_prog = install &&2001 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2002 # AIX install. It has an incompatible calling convention.2003 :2004 elif test $ac_prog = install &&2005 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2006 # program-specific install script used by HP pwplus--don't use.2007 :2008 else2009 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2010 break 32011 fi2012 fi2013 done2014 done2015 ;;2016 esac2017 done2018 IFS=$as_save_IFS2019 2020 2021 fi2022 if test "${ac_cv_path_install+set}" = set; then2023 INSTALL=$ac_cv_path_install2024 else2025 # As a last resort, use the slow shell script. Don't cache a2026 # value for INSTALL within a source directory, because that will2027 # break other packages using the cache if that directory is2028 # removed, or if the value is a relative name.2029 INSTALL=$ac_install_sh2030 fi2031 fi2032 { echo "$as_me:$LINENO: result: $INSTALL" >&52033 echo "${ECHO_T}$INSTALL" >&6; }2034 2035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2036 # It thinks the first close brace ends the variable substitution.2037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2038 2039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2040 2041 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2042 2823 2043 2824 if test -n "$ac_tool_prefix"; then 2044 2825 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2045 2826 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2046 { echo "$as_me:$LINENO: checking for $ac_word" >&52047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2048 if test "${ac_cv_prog_RANLIB+set}" = set; then2049 echo $ECHO_N "(cached) $ECHO_C" >&62827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2828 $as_echo_n "checking for $ac_word... " >&6; } 2829 if ${ac_cv_prog_RANLIB+:} false; then : 2830 $as_echo_n "(cached) " >&6 2050 2831 else 2051 2832 if test -n "$RANLIB"; then … … 2057 2838 IFS=$as_save_IFS 2058 2839 test -z "$as_dir" && as_dir=. 2059 for ac_exec_ext in '' $ac_executable_extensions; do2840 for ac_exec_ext in '' $ac_executable_extensions; do 2060 2841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2061 2842 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2063 2844 break 2 2064 2845 fi 2065 2846 done 2066 done2847 done 2067 2848 IFS=$as_save_IFS 2068 2849 … … 2071 2852 RANLIB=$ac_cv_prog_RANLIB 2072 2853 if test -n "$RANLIB"; then 2073 { echo "$as_me:$LINENO: result: $RANLIB" >&52074 echo "${ECHO_T}$RANLIB" >&6; }2075 else 2076 { echo "$as_me:$LINENO: result: no" >&52077 echo "${ECHO_T}no" >&6; }2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2855 $as_echo "$RANLIB" >&6; } 2856 else 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2858 $as_echo "no" >&6; } 2078 2859 fi 2079 2860 … … 2084 2865 # Extract the first word of "ranlib", so it can be a program name with args. 2085 2866 set dummy ranlib; ac_word=$2 2086 { echo "$as_me:$LINENO: checking for $ac_word" >&52087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2088 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2089 echo $ECHO_N "(cached) $ECHO_C" >&62867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2868 $as_echo_n "checking for $ac_word... " >&6; } 2869 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2870 $as_echo_n "(cached) " >&6 2090 2871 else 2091 2872 if test -n "$ac_ct_RANLIB"; then … … 2097 2878 IFS=$as_save_IFS 2098 2879 test -z "$as_dir" && as_dir=. 2099 for ac_exec_ext in '' $ac_executable_extensions; do2880 for ac_exec_ext in '' $ac_executable_extensions; do 2100 2881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2101 2882 ac_cv_prog_ac_ct_RANLIB="ranlib" 2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2103 2884 break 2 2104 2885 fi 2105 2886 done 2106 done2887 done 2107 2888 IFS=$as_save_IFS 2108 2889 … … 2111 2892 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2112 2893 if test -n "$ac_ct_RANLIB"; then 2113 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52114 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2115 else 2116 { echo "$as_me:$LINENO: result: no" >&52117 echo "${ECHO_T}no" >&6; }2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2895 $as_echo "$ac_ct_RANLIB" >&6; } 2896 else 2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2898 $as_echo "no" >&6; } 2118 2899 fi 2119 2900 … … 2123 2904 case $cross_compiling:$ac_tool_warned in 2124 2905 yes:) 2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2126 whose name does not start with the host triplet. If you think this 2127 configuration is useful to you, please write to autoconf@gnu.org." >&5 2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2129 whose name does not start with the host triplet. If you think this 2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2131 2908 ac_tool_warned=yes ;; 2132 2909 esac … … 2137 2914 fi 2138 2915 2139 { echo "$as_me:$LINENO: checking whether ln -s works" >&52140 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2917 $as_echo_n "checking whether ln -s works... " >&6; } 2141 2918 LN_S=$as_ln_s 2142 2919 if test "$LN_S" = "ln -s"; then 2143 { echo "$as_me:$LINENO: result: yes" >&52144 echo "${ECHO_T}yes" >&6; }2145 else 2146 { echo "$as_me:$LINENO: result: no, using $LN_S" >&52147 echo "${ECHO_T}no, using $LN_S" >&6; }2148 fi 2149 2150 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52151 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2921 $as_echo "yes" >&6; } 2922 else 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2924 $as_echo "no, using $LN_S" >&6; } 2925 fi 2926 2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2928 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2152 2929 if test -z "$MKDIR_P"; then 2153 if test "${ac_cv_path_mkdir+set}" = set; then2154 echo $ECHO_N "(cached) $ECHO_C" >&62930 if ${ac_cv_path_mkdir+:} false; then : 2931 $as_echo_n "(cached) " >&6 2155 2932 else 2156 2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2159 2936 IFS=$as_save_IFS 2160 2937 test -z "$as_dir" && as_dir=. 2161 for ac_prog in mkdir gmkdir; do2938 for ac_prog in mkdir gmkdir; do 2162 2939 for ac_exec_ext in '' $ac_executable_extensions; do 2163 2940 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 2171 2948 done 2172 2949 done 2173 done2950 done 2174 2951 IFS=$as_save_IFS 2175 2952 2176 2953 fi 2177 2954 2955 test -d ./--version && rmdir ./--version 2178 2956 if test "${ac_cv_path_mkdir+set}" = set; then 2179 2957 MKDIR_P="$ac_cv_path_mkdir -p" … … 2183 2961 # break other packages using the cache if that directory is 2184 2962 # removed, or if the value is a relative name. 2185 test -d ./--version && rmdir ./--version2186 2963 MKDIR_P="$ac_install_sh -d" 2187 2964 fi 2188 2965 fi 2189 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2190 echo "${ECHO_T}$MKDIR_P" >&6; } 2191 2192 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2193 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2194 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2195 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2196 echo $ECHO_N "(cached) $ECHO_C" >&6 2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2967 $as_echo "$MKDIR_P" >&6; } 2968 2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2970 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2971 set x ${MAKE-make} 2972 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2973 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2974 $as_echo_n "(cached) " >&6 2197 2975 else 2198 2976 cat >conftest.make <<\_ACEOF … … 2201 2979 @echo '@@@%%%=$(MAKE)=@@@%%%' 2202 2980 _ACEOF 2203 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.2981 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2204 2982 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2205 2983 *@@@%%%=?*=@@@%%%*) … … 2211 2989 fi 2212 2990 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2213 { echo "$as_me:$LINENO: result: yes" >&52214 echo "${ECHO_T}yes" >&6; }2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2992 $as_echo "yes" >&6; } 2215 2993 SET_MAKE= 2216 2994 else 2217 { echo "$as_me:$LINENO: result: no" >&52218 echo "${ECHO_T}no" >&6; }2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2996 $as_echo "no" >&6; } 2219 2997 SET_MAKE="MAKE=${MAKE-make}" 2220 2998 fi … … 2230 3008 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2231 3009 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2232 { echo "$as_me:$LINENO: checking for $ac_word" >&52233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2234 if test "${ac_cv_prog_CC+set}" = set; then2235 echo $ECHO_N "(cached) $ECHO_C" >&63010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3011 $as_echo_n "checking for $ac_word... " >&6; } 3012 if ${ac_cv_prog_CC+:} false; then : 3013 $as_echo_n "(cached) " >&6 2236 3014 else 2237 3015 if test -n "$CC"; then … … 2243 3021 IFS=$as_save_IFS 2244 3022 test -z "$as_dir" && as_dir=. 2245 for ac_exec_ext in '' $ac_executable_extensions; do3023 for ac_exec_ext in '' $ac_executable_extensions; do 2246 3024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2247 3025 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2249 3027 break 2 2250 3028 fi 2251 3029 done 2252 done3030 done 2253 3031 IFS=$as_save_IFS 2254 3032 … … 2257 3035 CC=$ac_cv_prog_CC 2258 3036 if test -n "$CC"; then 2259 { echo "$as_me:$LINENO: result: $CC" >&52260 echo "${ECHO_T}$CC" >&6; }2261 else 2262 { echo "$as_me:$LINENO: result: no" >&52263 echo "${ECHO_T}no" >&6; }3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3038 $as_echo "$CC" >&6; } 3039 else 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3041 $as_echo "no" >&6; } 2264 3042 fi 2265 3043 … … 2270 3048 # Extract the first word of "gcc", so it can be a program name with args. 2271 3049 set dummy gcc; ac_word=$2 2272 { echo "$as_me:$LINENO: checking for $ac_word" >&52273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2275 echo $ECHO_N "(cached) $ECHO_C" >&63050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3051 $as_echo_n "checking for $ac_word... " >&6; } 3052 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3053 $as_echo_n "(cached) " >&6 2276 3054 else 2277 3055 if test -n "$ac_ct_CC"; then … … 2283 3061 IFS=$as_save_IFS 2284 3062 test -z "$as_dir" && as_dir=. 2285 for ac_exec_ext in '' $ac_executable_extensions; do3063 for ac_exec_ext in '' $ac_executable_extensions; do 2286 3064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2287 3065 ac_cv_prog_ac_ct_CC="gcc" 2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2289 3067 break 2 2290 3068 fi 2291 3069 done 2292 done3070 done 2293 3071 IFS=$as_save_IFS 2294 3072 … … 2297 3075 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2298 3076 if test -n "$ac_ct_CC"; then 2299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52300 echo "${ECHO_T}$ac_ct_CC" >&6; }2301 else 2302 { echo "$as_me:$LINENO: result: no" >&52303 echo "${ECHO_T}no" >&6; }3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3078 $as_echo "$ac_ct_CC" >&6; } 3079 else 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3081 $as_echo "no" >&6; } 2304 3082 fi 2305 3083 … … 2309 3087 case $cross_compiling:$ac_tool_warned in 2310 3088 yes:) 2311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2312 whose name does not start with the host triplet. If you think this 2313 configuration is useful to you, please write to autoconf@gnu.org." >&5 2314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2315 whose name does not start with the host triplet. If you think this 2316 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2317 3091 ac_tool_warned=yes ;; 2318 3092 esac … … 2327 3101 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2328 3102 set dummy ${ac_tool_prefix}cc; ac_word=$2 2329 { echo "$as_me:$LINENO: checking for $ac_word" >&52330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2331 if test "${ac_cv_prog_CC+set}" = set; then2332 echo $ECHO_N "(cached) $ECHO_C" >&63103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3104 $as_echo_n "checking for $ac_word... " >&6; } 3105 if ${ac_cv_prog_CC+:} false; then : 3106 $as_echo_n "(cached) " >&6 2333 3107 else 2334 3108 if test -n "$CC"; then … … 2340 3114 IFS=$as_save_IFS 2341 3115 test -z "$as_dir" && as_dir=. 2342 for ac_exec_ext in '' $ac_executable_extensions; do3116 for ac_exec_ext in '' $ac_executable_extensions; do 2343 3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2344 3118 ac_cv_prog_CC="${ac_tool_prefix}cc" 2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2346 3120 break 2 2347 3121 fi 2348 3122 done 2349 done3123 done 2350 3124 IFS=$as_save_IFS 2351 3125 … … 2354 3128 CC=$ac_cv_prog_CC 2355 3129 if test -n "$CC"; then 2356 { echo "$as_me:$LINENO: result: $CC" >&52357 echo "${ECHO_T}$CC" >&6; }2358 else 2359 { echo "$as_me:$LINENO: result: no" >&52360 echo "${ECHO_T}no" >&6; }3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3131 $as_echo "$CC" >&6; } 3132 else 3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3134 $as_echo "no" >&6; } 2361 3135 fi 2362 3136 … … 2367 3141 # Extract the first word of "cc", so it can be a program name with args. 2368 3142 set dummy cc; ac_word=$2 2369 { echo "$as_me:$LINENO: checking for $ac_word" >&52370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2371 if test "${ac_cv_prog_CC+set}" = set; then2372 echo $ECHO_N "(cached) $ECHO_C" >&63143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3144 $as_echo_n "checking for $ac_word... " >&6; } 3145 if ${ac_cv_prog_CC+:} false; then : 3146 $as_echo_n "(cached) " >&6 2373 3147 else 2374 3148 if test -n "$CC"; then … … 2381 3155 IFS=$as_save_IFS 2382 3156 test -z "$as_dir" && as_dir=. 2383 for ac_exec_ext in '' $ac_executable_extensions; do3157 for ac_exec_ext in '' $ac_executable_extensions; do 2384 3158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2385 3159 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2388 3162 fi 2389 3163 ac_cv_prog_CC="cc" 2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2391 3165 break 2 2392 3166 fi 2393 3167 done 2394 done3168 done 2395 3169 IFS=$as_save_IFS 2396 3170 … … 2411 3185 CC=$ac_cv_prog_CC 2412 3186 if test -n "$CC"; then 2413 { echo "$as_me:$LINENO: result: $CC" >&52414 echo "${ECHO_T}$CC" >&6; }2415 else 2416 { echo "$as_me:$LINENO: result: no" >&52417 echo "${ECHO_T}no" >&6; }3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3188 $as_echo "$CC" >&6; } 3189 else 3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3191 $as_echo "no" >&6; } 2418 3192 fi 2419 3193 … … 2426 3200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2427 3201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2428 { echo "$as_me:$LINENO: checking for $ac_word" >&52429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2430 if test "${ac_cv_prog_CC+set}" = set; then2431 echo $ECHO_N "(cached) $ECHO_C" >&63202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3203 $as_echo_n "checking for $ac_word... " >&6; } 3204 if ${ac_cv_prog_CC+:} false; then : 3205 $as_echo_n "(cached) " >&6 2432 3206 else 2433 3207 if test -n "$CC"; then … … 2439 3213 IFS=$as_save_IFS 2440 3214 test -z "$as_dir" && as_dir=. 2441 for ac_exec_ext in '' $ac_executable_extensions; do3215 for ac_exec_ext in '' $ac_executable_extensions; do 2442 3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2443 3217 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2445 3219 break 2 2446 3220 fi 2447 3221 done 2448 done3222 done 2449 3223 IFS=$as_save_IFS 2450 3224 … … 2453 3227 CC=$ac_cv_prog_CC 2454 3228 if test -n "$CC"; then 2455 { echo "$as_me:$LINENO: result: $CC" >&52456 echo "${ECHO_T}$CC" >&6; }2457 else 2458 { echo "$as_me:$LINENO: result: no" >&52459 echo "${ECHO_T}no" >&6; }3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3230 $as_echo "$CC" >&6; } 3231 else 3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3233 $as_echo "no" >&6; } 2460 3234 fi 2461 3235 … … 2470 3244 # Extract the first word of "$ac_prog", so it can be a program name with args. 2471 3245 set dummy $ac_prog; ac_word=$2 2472 { echo "$as_me:$LINENO: checking for $ac_word" >&52473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2475 echo $ECHO_N "(cached) $ECHO_C" >&63246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3247 $as_echo_n "checking for $ac_word... " >&6; } 3248 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3249 $as_echo_n "(cached) " >&6 2476 3250 else 2477 3251 if test -n "$ac_ct_CC"; then … … 2483 3257 IFS=$as_save_IFS 2484 3258 test -z "$as_dir" && as_dir=. 2485 for ac_exec_ext in '' $ac_executable_extensions; do3259 for ac_exec_ext in '' $ac_executable_extensions; do 2486 3260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2487 3261 ac_cv_prog_ac_ct_CC="$ac_prog" 2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2489 3263 break 2 2490 3264 fi 2491 3265 done 2492 done3266 done 2493 3267 IFS=$as_save_IFS 2494 3268 … … 2497 3271 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2498 3272 if test -n "$ac_ct_CC"; then 2499 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52500 echo "${ECHO_T}$ac_ct_CC" >&6; }2501 else 2502 { echo "$as_me:$LINENO: result: no" >&52503 echo "${ECHO_T}no" >&6; }3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3274 $as_echo "$ac_ct_CC" >&6; } 3275 else 3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3277 $as_echo "no" >&6; } 2504 3278 fi 2505 3279 … … 2513 3287 case $cross_compiling:$ac_tool_warned in 2514 3288 yes:) 2515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2516 whose name does not start with the host triplet. If you think this 2517 configuration is useful to you, please write to autoconf@gnu.org." >&5 2518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2519 whose name does not start with the host triplet. If you think this 2520 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2521 3291 ac_tool_warned=yes ;; 2522 3292 esac … … 2528 3298 2529 3299 2530 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2531 See \`config.log' for more details." >&5 2532 echo "$as_me: error: no acceptable C compiler found in \$PATH 2533 See \`config.log' for more details." >&2;} 2534 { (exit 1); exit 1; }; } 3300 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3302 as_fn_error $? "no acceptable C compiler found in \$PATH 3303 See \`config.log' for more details" "$LINENO" 5; } 2535 3304 2536 3305 # Provide some information about the compiler. 2537 echo "$as_me:$LINENO: checking for C compiler version" >&5 2538 ac_compiler=`set X $ac_compile; echo $2` 2539 { (ac_try="$ac_compiler --version >&5" 3306 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3307 set X $ac_compile 3308 ac_compiler=$2 3309 for ac_option in --version -v -V -qversion; do 3310 { { ac_try="$ac_compiler $ac_option >&5" 2540 3311 case "(($ac_try" in 2541 3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2542 3313 *) ac_try_echo=$ac_try;; 2543 3314 esac 2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2545 (eval "$ac_compiler --version >&5") 2>&5 3315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3316 $as_echo "$ac_try_echo"; } >&5 3317 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2546 3318 ac_status=$? 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2548 (exit $ac_status); } 2549 { (ac_try="$ac_compiler -v >&5" 3319 if test -s conftest.err; then 3320 sed '10a\ 3321 ... rest of stderr output deleted ... 3322 10q' conftest.err >conftest.er1 3323 cat conftest.er1 >&5 3324 fi 3325 rm -f conftest.er1 conftest.err 3326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3327 test $ac_status = 0; } 3328 done 3329 3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3331 /* end confdefs.h. */ 3332 3333 int 3334 main () 3335 { 3336 3337 ; 3338 return 0; 3339 } 3340 _ACEOF 3341 ac_clean_files_save=$ac_clean_files 3342 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3343 # Try to create an executable without -o first, disregard a.out. 3344 # It will help us diagnose broken compilers, and finding out an intuition 3345 # of exeext. 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3347 $as_echo_n "checking whether the C compiler works... " >&6; } 3348 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3349 3350 # The possible output files: 3351 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3352 3353 ac_rmfiles= 3354 for ac_file in $ac_files 3355 do 3356 case $ac_file in 3357 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3358 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3359 esac 3360 done 3361 rm -f $ac_rmfiles 3362 3363 if { { ac_try="$ac_link_default" 2550 3364 case "(($ac_try" in 2551 3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2552 3366 *) ac_try_echo=$ac_try;; 2553 3367 esac 2554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2555 (eval "$ac_compiler -v >&5") 2>&5 2556 ac_status=$? 2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2558 (exit $ac_status); } 2559 { (ac_try="$ac_compiler -V >&5" 2560 case "(($ac_try" in 2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2562 *) ac_try_echo=$ac_try;; 2563 esac 2564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2565 (eval "$ac_compiler -V >&5") 2>&5 2566 ac_status=$? 2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2568 (exit $ac_status); } 2569 2570 cat >conftest.$ac_ext <<_ACEOF 2571 /* confdefs.h. */ 2572 _ACEOF 2573 cat confdefs.h >>conftest.$ac_ext 2574 cat >>conftest.$ac_ext <<_ACEOF 2575 /* end confdefs.h. */ 2576 2577 int 2578 main () 2579 { 2580 2581 ; 2582 return 0; 2583 } 2584 _ACEOF 2585 ac_clean_files_save=$ac_clean_files 2586 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2587 # Try to create an executable without -o first, disregard a.out. 2588 # It will help us diagnose broken compilers, and finding out an intuition 2589 # of exeext. 2590 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2591 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2592 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2593 # 2594 # List of possible output files, starting from the most likely. 2595 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2596 # only as a last resort. b.out is created by i960 compilers. 2597 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2598 # 2599 # The IRIX 6 linker writes into existing files which may not be 2600 # executable, retaining their permissions. Remove them first so a 2601 # subsequent execution test works. 2602 ac_rmfiles= 2603 for ac_file in $ac_files 2604 do 2605 case $ac_file in 2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2607 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2608 esac 2609 done 2610 rm -f $ac_rmfiles 2611 2612 if { (ac_try="$ac_link_default" 2613 case "(($ac_try" in 2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2615 *) ac_try_echo=$ac_try;; 2616 esac 2617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3369 $as_echo "$ac_try_echo"; } >&5 2618 3370 (eval "$ac_link_default") 2>&5 2619 3371 ac_status=$? 2620 echo "$as_me:$LINENO: \$? = $ac_status" >&52621 (exit $ac_status); }; then3372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3373 test $ac_status = 0; }; then : 2622 3374 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2623 3375 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2629 3381 test -f "$ac_file" || continue 2630 3382 case $ac_file in 2631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2632 3384 ;; 2633 3385 [ab].out ) … … 2636 3388 break;; 2637 3389 *.* ) 2638 3390 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2639 3391 then :; else 2640 3392 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2655 3407 ac_file='' 2656 3408 fi 2657 2658 { echo "$as_me:$LINENO: result: $ac_file" >&5 2659 echo "${ECHO_T}$ac_file" >&6; } 2660 if test -z "$ac_file"; then 2661 echo "$as_me: failed program was:" >&5 3409 if test -z "$ac_file"; then : 3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3411 $as_echo "no" >&6; } 3412 $as_echo "$as_me: failed program was:" >&5 2662 3413 sed 's/^/| /' conftest.$ac_ext >&5 2663 3414 2664 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2665 See \`config.log' for more details." >&5 2666 echo "$as_me: error: C compiler cannot create executables 2667 See \`config.log' for more details." >&2;} 2668 { (exit 77); exit 77; }; } 2669 fi 2670 3415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3417 as_fn_error 77 "C compiler cannot create executables 3418 See \`config.log' for more details" "$LINENO" 5; } 3419 else 3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3421 $as_echo "yes" >&6; } 3422 fi 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3424 $as_echo_n "checking for C compiler default output file name... " >&6; } 3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3426 $as_echo "$ac_file" >&6; } 2671 3427 ac_exeext=$ac_cv_exeext 2672 3428 2673 # Check that the compiler produces executables we can run. If not, either 2674 # the compiler is broken, or we cross compile. 2675 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2676 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2677 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2678 # If not cross compiling, check that we can run a simple program. 2679 if test "$cross_compiling" != yes; then 2680 if { ac_try='./$ac_file' 2681 { (case "(($ac_try" in 2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2683 *) ac_try_echo=$ac_try;; 2684 esac 2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2686 (eval "$ac_try") 2>&5 2687 ac_status=$? 2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 (exit $ac_status); }; }; then 2690 cross_compiling=no 2691 else 2692 if test "$cross_compiling" = maybe; then 2693 cross_compiling=yes 2694 else 2695 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2696 If you meant to cross compile, use \`--host'. 2697 See \`config.log' for more details." >&5 2698 echo "$as_me: error: cannot run C compiled programs. 2699 If you meant to cross compile, use \`--host'. 2700 See \`config.log' for more details." >&2;} 2701 { (exit 1); exit 1; }; } 2702 fi 2703 fi 2704 fi 2705 { echo "$as_me:$LINENO: result: yes" >&5 2706 echo "${ECHO_T}yes" >&6; } 2707 2708 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3429 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2709 3430 ac_clean_files=$ac_clean_files_save 2710 # Check that the compiler produces executables we can run. If not, either 2711 # the compiler is broken, or we cross compile. 2712 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2713 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2714 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2715 echo "${ECHO_T}$cross_compiling" >&6; } 2716 2717 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2718 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2719 if { (ac_try="$ac_link" 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3432 $as_echo_n "checking for suffix of executables... " >&6; } 3433 if { { ac_try="$ac_link" 2720 3434 case "(($ac_try" in 2721 3435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2722 3436 *) ac_try_echo=$ac_try;; 2723 3437 esac 2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3439 $as_echo "$ac_try_echo"; } >&5 2725 3440 (eval "$ac_link") 2>&5 2726 3441 ac_status=$? 2727 echo "$as_me:$LINENO: \$? = $ac_status" >&52728 (exit $ac_status); }; then3442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3443 test $ac_status = 0; }; then : 2729 3444 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2730 3445 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2734 3449 test -f "$ac_file" || continue 2735 3450 case $ac_file in 2736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3451 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2737 3452 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2738 3453 break;; … … 2741 3456 done 2742 3457 else 2743 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2744 See \`config.log' for more details." >&5 2745 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2746 See \`config.log' for more details." >&2;} 2747 { (exit 1); exit 1; }; } 2748 fi 2749 2750 rm -f conftest$ac_cv_exeext 2751 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2752 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3460 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3461 See \`config.log' for more details" "$LINENO" 5; } 3462 fi 3463 rm -f conftest conftest$ac_cv_exeext 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3465 $as_echo "$ac_cv_exeext" >&6; } 2753 3466 2754 3467 rm -f conftest.$ac_ext 2755 3468 EXEEXT=$ac_cv_exeext 2756 3469 ac_exeext=$EXEEXT 2757 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2758 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2759 if test "${ac_cv_objext+set}" = set; then 2760 echo $ECHO_N "(cached) $ECHO_C" >&6 2761 else 2762 cat >conftest.$ac_ext <<_ACEOF 2763 /* confdefs.h. */ 2764 _ACEOF 2765 cat confdefs.h >>conftest.$ac_ext 2766 cat >>conftest.$ac_ext <<_ACEOF 3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2767 3471 /* end confdefs.h. */ 2768 3472 #include <stdio.h> 2769 3473 int 2770 3474 main () 2771 3475 { 3476 FILE *f = fopen ("conftest.out", "w"); 3477 return ferror (f) || fclose (f) != 0; 2772 3478 2773 3479 ; … … 2775 3481 } 2776 3482 _ACEOF 2777 rm -f conftest.o conftest.obj 2778 if { (ac_try="$ac_compile" 3483 ac_clean_files="$ac_clean_files conftest.out" 3484 # Check that the compiler produces executables we can run. If not, either 3485 # the compiler is broken, or we cross compile. 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3487 $as_echo_n "checking whether we are cross compiling... " >&6; } 3488 if test "$cross_compiling" != yes; then 3489 { { ac_try="$ac_link" 2779 3490 case "(($ac_try" in 2780 3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2781 3492 *) ac_try_echo=$ac_try;; 2782 3493 esac 2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3495 $as_echo "$ac_try_echo"; } >&5 3496 (eval "$ac_link") 2>&5 3497 ac_status=$? 3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3499 test $ac_status = 0; } 3500 if { ac_try='./conftest$ac_cv_exeext' 3501 { { case "(($ac_try" in 3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3503 *) ac_try_echo=$ac_try;; 3504 esac 3505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3506 $as_echo "$ac_try_echo"; } >&5 3507 (eval "$ac_try") 2>&5 3508 ac_status=$? 3509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3510 test $ac_status = 0; }; }; then 3511 cross_compiling=no 3512 else 3513 if test "$cross_compiling" = maybe; then 3514 cross_compiling=yes 3515 else 3516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3518 as_fn_error $? "cannot run C compiled programs. 3519 If you meant to cross compile, use \`--host'. 3520 See \`config.log' for more details" "$LINENO" 5; } 3521 fi 3522 fi 3523 fi 3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3525 $as_echo "$cross_compiling" >&6; } 3526 3527 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3528 ac_clean_files=$ac_clean_files_save 3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3530 $as_echo_n "checking for suffix of object files... " >&6; } 3531 if ${ac_cv_objext+:} false; then : 3532 $as_echo_n "(cached) " >&6 3533 else 3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3535 /* end confdefs.h. */ 3536 3537 int 3538 main () 3539 { 3540 3541 ; 3542 return 0; 3543 } 3544 _ACEOF 3545 rm -f conftest.o conftest.obj 3546 if { { ac_try="$ac_compile" 3547 case "(($ac_try" in 3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3549 *) ac_try_echo=$ac_try;; 3550 esac 3551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3552 $as_echo "$ac_try_echo"; } >&5 2784 3553 (eval "$ac_compile") 2>&5 2785 3554 ac_status=$? 2786 echo "$as_me:$LINENO: \$? = $ac_status" >&52787 (exit $ac_status); }; then3555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3556 test $ac_status = 0; }; then : 2788 3557 for ac_file in conftest.o conftest.obj conftest.*; do 2789 3558 test -f "$ac_file" || continue; 2790 3559 case $ac_file in 2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3560 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2792 3561 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2793 3562 break;; … … 2795 3564 done 2796 3565 else 2797 echo "$as_me: failed program was:" >&53566 $as_echo "$as_me: failed program was:" >&5 2798 3567 sed 's/^/| /' conftest.$ac_ext >&5 2799 3568 2800 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2801 See \`config.log' for more details." >&5 2802 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2803 See \`config.log' for more details." >&2;} 2804 { (exit 1); exit 1; }; } 2805 fi 2806 3569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3571 as_fn_error $? "cannot compute suffix of object files: cannot compile 3572 See \`config.log' for more details" "$LINENO" 5; } 3573 fi 2807 3574 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2808 3575 fi 2809 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52810 echo "${ECHO_T}$ac_cv_objext" >&6; }3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3577 $as_echo "$ac_cv_objext" >&6; } 2811 3578 OBJEXT=$ac_cv_objext 2812 3579 ac_objext=$OBJEXT 2813 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2814 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2815 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2816 echo $ECHO_N "(cached) $ECHO_C" >&6 2817 else 2818 cat >conftest.$ac_ext <<_ACEOF 2819 /* confdefs.h. */ 2820 _ACEOF 2821 cat confdefs.h >>conftest.$ac_ext 2822 cat >>conftest.$ac_ext <<_ACEOF 3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3581 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3582 if ${ac_cv_c_compiler_gnu+:} false; then : 3583 $as_echo_n "(cached) " >&6 3584 else 3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2823 3586 /* end confdefs.h. */ 2824 3587 … … 2834 3597 } 2835 3598 _ACEOF 2836 rm -f conftest.$ac_objext 2837 if { (ac_try="$ac_compile" 2838 case "(($ac_try" in 2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2840 *) ac_try_echo=$ac_try;; 2841 esac 2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2843 (eval "$ac_compile") 2>conftest.er1 2844 ac_status=$? 2845 grep -v '^ *+' conftest.er1 >conftest.err 2846 rm -f conftest.er1 2847 cat conftest.err >&5 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2849 (exit $ac_status); } && { 2850 test -z "$ac_c_werror_flag" || 2851 test ! -s conftest.err 2852 } && test -s conftest.$ac_objext; then 3599 if ac_fn_c_try_compile "$LINENO"; then : 2853 3600 ac_compiler_gnu=yes 2854 3601 else 2855 echo "$as_me: failed program was:" >&5 2856 sed 's/^/| /' conftest.$ac_ext >&5 2857 2858 ac_compiler_gnu=no 2859 fi 2860 3602 ac_compiler_gnu=no 3603 fi 2861 3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2862 3605 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2863 3606 2864 3607 fi 2865 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2866 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2867 GCC=`test $ac_compiler_gnu = yes && echo yes` 3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3609 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3610 if test $ac_compiler_gnu = yes; then 3611 GCC=yes 3612 else 3613 GCC= 3614 fi 2868 3615 ac_test_CFLAGS=${CFLAGS+set} 2869 3616 ac_save_CFLAGS=$CFLAGS 2870 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52871 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2872 if test "${ac_cv_prog_cc_g+set}" = set; then2873 echo $ECHO_N "(cached) $ECHO_C" >&63617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3618 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3619 if ${ac_cv_prog_cc_g+:} false; then : 3620 $as_echo_n "(cached) " >&6 2874 3621 else 2875 3622 ac_save_c_werror_flag=$ac_c_werror_flag … … 2877 3624 ac_cv_prog_cc_g=no 2878 3625 CFLAGS="-g" 2879 cat >conftest.$ac_ext <<_ACEOF 2880 /* confdefs.h. */ 2881 _ACEOF 2882 cat confdefs.h >>conftest.$ac_ext 2883 cat >>conftest.$ac_ext <<_ACEOF 3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2884 3627 /* end confdefs.h. */ 2885 3628 … … 2892 3635 } 2893 3636 _ACEOF 2894 rm -f conftest.$ac_objext 2895 if { (ac_try="$ac_compile" 2896 case "(($ac_try" in 2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2898 *) ac_try_echo=$ac_try;; 2899 esac 2900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2901 (eval "$ac_compile") 2>conftest.er1 2902 ac_status=$? 2903 grep -v '^ *+' conftest.er1 >conftest.err 2904 rm -f conftest.er1 2905 cat conftest.err >&5 2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2907 (exit $ac_status); } && { 2908 test -z "$ac_c_werror_flag" || 2909 test ! -s conftest.err 2910 } && test -s conftest.$ac_objext; then 3637 if ac_fn_c_try_compile "$LINENO"; then : 2911 3638 ac_cv_prog_cc_g=yes 2912 3639 else 2913 echo "$as_me: failed program was:" >&5 2914 sed 's/^/| /' conftest.$ac_ext >&5 2915 2916 CFLAGS="" 2917 cat >conftest.$ac_ext <<_ACEOF 2918 /* confdefs.h. */ 2919 _ACEOF 2920 cat confdefs.h >>conftest.$ac_ext 2921 cat >>conftest.$ac_ext <<_ACEOF 3640 CFLAGS="" 3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2922 3642 /* end confdefs.h. */ 2923 3643 … … 2930 3650 } 2931 3651 _ACEOF 2932 rm -f conftest.$ac_objext 2933 if { (ac_try="$ac_compile" 2934 case "(($ac_try" in 2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2936 *) ac_try_echo=$ac_try;; 2937 esac 2938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2939 (eval "$ac_compile") 2>conftest.er1 2940 ac_status=$? 2941 grep -v '^ *+' conftest.er1 >conftest.err 2942 rm -f conftest.er1 2943 cat conftest.err >&5 2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 (exit $ac_status); } && { 2946 test -z "$ac_c_werror_flag" || 2947 test ! -s conftest.err 2948 } && test -s conftest.$ac_objext; then 2949 : 2950 else 2951 echo "$as_me: failed program was:" >&5 2952 sed 's/^/| /' conftest.$ac_ext >&5 2953 2954 ac_c_werror_flag=$ac_save_c_werror_flag 3652 if ac_fn_c_try_compile "$LINENO"; then : 3653 3654 else 3655 ac_c_werror_flag=$ac_save_c_werror_flag 2955 3656 CFLAGS="-g" 2956 cat >conftest.$ac_ext <<_ACEOF 2957 /* confdefs.h. */ 2958 _ACEOF 2959 cat confdefs.h >>conftest.$ac_ext 2960 cat >>conftest.$ac_ext <<_ACEOF 3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2961 3658 /* end confdefs.h. */ 2962 3659 … … 2969 3666 } 2970 3667 _ACEOF 2971 rm -f conftest.$ac_objext 2972 if { (ac_try="$ac_compile" 2973 case "(($ac_try" in 2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2975 *) ac_try_echo=$ac_try;; 2976 esac 2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2978 (eval "$ac_compile") 2>conftest.er1 2979 ac_status=$? 2980 grep -v '^ *+' conftest.er1 >conftest.err 2981 rm -f conftest.er1 2982 cat conftest.err >&5 2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2984 (exit $ac_status); } && { 2985 test -z "$ac_c_werror_flag" || 2986 test ! -s conftest.err 2987 } && test -s conftest.$ac_objext; then 3668 if ac_fn_c_try_compile "$LINENO"; then : 2988 3669 ac_cv_prog_cc_g=yes 2989 else 2990 echo "$as_me: failed program was:" >&5 2991 sed 's/^/| /' conftest.$ac_ext >&5 2992 2993 2994 fi 2995 3670 fi 2996 3671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2997 3672 fi 2998 2999 3673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3000 3674 fi 3001 3002 3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3003 3676 ac_c_werror_flag=$ac_save_c_werror_flag 3004 3677 fi 3005 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53006 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3679 $as_echo "$ac_cv_prog_cc_g" >&6; } 3007 3680 if test "$ac_test_CFLAGS" = set; then 3008 3681 CFLAGS=$ac_save_CFLAGS … … 3020 3693 fi 3021 3694 fi 3022 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53023 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3024 if test "${ac_cv_prog_cc_c89+set}" = set; then3025 echo $ECHO_N "(cached) $ECHO_C" >&63695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3696 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3697 if ${ac_cv_prog_cc_c89+:} false; then : 3698 $as_echo_n "(cached) " >&6 3026 3699 else 3027 3700 ac_cv_prog_cc_c89=no 3028 3701 ac_save_CC=$CC 3029 cat >conftest.$ac_ext <<_ACEOF 3030 /* confdefs.h. */ 3031 _ACEOF 3032 cat confdefs.h >>conftest.$ac_ext 3033 cat >>conftest.$ac_ext <<_ACEOF 3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3034 3703 /* end confdefs.h. */ 3035 3704 #include <stdarg.h> … … 3088 3757 do 3089 3758 CC="$ac_save_CC $ac_arg" 3090 rm -f conftest.$ac_objext 3091 if { (ac_try="$ac_compile" 3092 case "(($ac_try" in 3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3094 *) ac_try_echo=$ac_try;; 3095 esac 3096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3097 (eval "$ac_compile") 2>conftest.er1 3098 ac_status=$? 3099 grep -v '^ *+' conftest.er1 >conftest.err 3100 rm -f conftest.er1 3101 cat conftest.err >&5 3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3103 (exit $ac_status); } && { 3104 test -z "$ac_c_werror_flag" || 3105 test ! -s conftest.err 3106 } && test -s conftest.$ac_objext; then 3759 if ac_fn_c_try_compile "$LINENO"; then : 3107 3760 ac_cv_prog_cc_c89=$ac_arg 3108 else 3109 echo "$as_me: failed program was:" >&5 3110 sed 's/^/| /' conftest.$ac_ext >&5 3111 3112 3113 fi 3114 3761 fi 3115 3762 rm -f core conftest.err conftest.$ac_objext 3116 3763 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3123 3770 case "x$ac_cv_prog_cc_c89" in 3124 3771 x) 3125 { echo "$as_me:$LINENO: result: none needed" >&53126 echo "${ECHO_T}none needed" >&6; } ;;3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3773 $as_echo "none needed" >&6; } ;; 3127 3774 xno) 3128 { echo "$as_me:$LINENO: result: unsupported" >&53129 echo "${ECHO_T}unsupported" >&6; } ;;3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3776 $as_echo "unsupported" >&6; } ;; 3130 3777 *) 3131 3778 CC="$CC $ac_cv_prog_cc_c89" 3132 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53133 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3780 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3134 3781 esac 3135 3782 if test "x$ac_cv_prog_cc_c89" != xno; then : 3783 3784 fi 3136 3785 3137 3786 ac_ext=c … … 3155 3804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3156 3805 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3157 { echo "$as_me:$LINENO: checking for $ac_word" >&53158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3159 if test "${ac_cv_prog_CXX+set}" = set; then3160 echo $ECHO_N "(cached) $ECHO_C" >&63806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3807 $as_echo_n "checking for $ac_word... " >&6; } 3808 if ${ac_cv_prog_CXX+:} false; then : 3809 $as_echo_n "(cached) " >&6 3161 3810 else 3162 3811 if test -n "$CXX"; then … … 3168 3817 IFS=$as_save_IFS 3169 3818 test -z "$as_dir" && as_dir=. 3170 for ac_exec_ext in '' $ac_executable_extensions; do3819 for ac_exec_ext in '' $ac_executable_extensions; do 3171 3820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3172 3821 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3174 3823 break 2 3175 3824 fi 3176 3825 done 3177 done3826 done 3178 3827 IFS=$as_save_IFS 3179 3828 … … 3182 3831 CXX=$ac_cv_prog_CXX 3183 3832 if test -n "$CXX"; then 3184 { echo "$as_me:$LINENO: result: $CXX" >&53185 echo "${ECHO_T}$CXX" >&6; }3186 else 3187 { echo "$as_me:$LINENO: result: no" >&53188 echo "${ECHO_T}no" >&6; }3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3834 $as_echo "$CXX" >&6; } 3835 else 3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3837 $as_echo "no" >&6; } 3189 3838 fi 3190 3839 … … 3199 3848 # Extract the first word of "$ac_prog", so it can be a program name with args. 3200 3849 set dummy $ac_prog; ac_word=$2 3201 { echo "$as_me:$LINENO: checking for $ac_word" >&53202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3203 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3204 echo $ECHO_N "(cached) $ECHO_C" >&63850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3851 $as_echo_n "checking for $ac_word... " >&6; } 3852 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3853 $as_echo_n "(cached) " >&6 3205 3854 else 3206 3855 if test -n "$ac_ct_CXX"; then … … 3212 3861 IFS=$as_save_IFS 3213 3862 test -z "$as_dir" && as_dir=. 3214 for ac_exec_ext in '' $ac_executable_extensions; do3863 for ac_exec_ext in '' $ac_executable_extensions; do 3215 3864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3216 3865 ac_cv_prog_ac_ct_CXX="$ac_prog" 3217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3218 3867 break 2 3219 3868 fi 3220 3869 done 3221 done3870 done 3222 3871 IFS=$as_save_IFS 3223 3872 … … 3226 3875 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3227 3876 if test -n "$ac_ct_CXX"; then 3228 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53229 echo "${ECHO_T}$ac_ct_CXX" >&6; }3230 else 3231 { echo "$as_me:$LINENO: result: no" >&53232 echo "${ECHO_T}no" >&6; }3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3878 $as_echo "$ac_ct_CXX" >&6; } 3879 else 3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3881 $as_echo "no" >&6; } 3233 3882 fi 3234 3883 … … 3242 3891 case $cross_compiling:$ac_tool_warned in 3243 3892 yes:) 3244 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3245 whose name does not start with the host triplet. If you think this 3246 configuration is useful to you, please write to autoconf@gnu.org." >&5 3247 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3248 whose name does not start with the host triplet. If you think this 3249 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3250 3895 ac_tool_warned=yes ;; 3251 3896 esac … … 3257 3902 fi 3258 3903 # Provide some information about the compiler. 3259 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3260 ac_compiler=`set X $ac_compile; echo $2` 3261 { (ac_try="$ac_compiler --version >&5" 3904 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3905 set X $ac_compile 3906 ac_compiler=$2 3907 for ac_option in --version -v -V -qversion; do 3908 { { ac_try="$ac_compiler $ac_option >&5" 3262 3909 case "(($ac_try" in 3263 3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3264 3911 *) ac_try_echo=$ac_try;; 3265 3912 esac 3266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3267 (eval "$ac_compiler --version >&5") 2>&5 3913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3914 $as_echo "$ac_try_echo"; } >&5 3915 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3268 3916 ac_status=$? 3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3270 (exit $ac_status); } 3271 { (ac_try="$ac_compiler -v >&5" 3272 case "(($ac_try" in 3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3274 *) ac_try_echo=$ac_try;; 3275 esac 3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3277 (eval "$ac_compiler -v >&5") 2>&5 3278 ac_status=$? 3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3280 (exit $ac_status); } 3281 { (ac_try="$ac_compiler -V >&5" 3282 case "(($ac_try" in 3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3284 *) ac_try_echo=$ac_try;; 3285 esac 3286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3287 (eval "$ac_compiler -V >&5") 2>&5 3288 ac_status=$? 3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3290 (exit $ac_status); } 3291 3292 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3293 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3294 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3295 echo $ECHO_N "(cached) $ECHO_C" >&6 3296 else 3297 cat >conftest.$ac_ext <<_ACEOF 3298 /* confdefs.h. */ 3299 _ACEOF 3300 cat confdefs.h >>conftest.$ac_ext 3301 cat >>conftest.$ac_ext <<_ACEOF 3917 if test -s conftest.err; then 3918 sed '10a\ 3919 ... rest of stderr output deleted ... 3920 10q' conftest.err >conftest.er1 3921 cat conftest.er1 >&5 3922 fi 3923 rm -f conftest.er1 conftest.err 3924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3925 test $ac_status = 0; } 3926 done 3927 3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3929 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3930 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3931 $as_echo_n "(cached) " >&6 3932 else 3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3302 3934 /* end confdefs.h. */ 3303 3935 … … 3313 3945 } 3314 3946 _ACEOF 3315 rm -f conftest.$ac_objext 3316 if { (ac_try="$ac_compile" 3317 case "(($ac_try" in 3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3319 *) ac_try_echo=$ac_try;; 3320 esac 3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3322 (eval "$ac_compile") 2>conftest.er1 3323 ac_status=$? 3324 grep -v '^ *+' conftest.er1 >conftest.err 3325 rm -f conftest.er1 3326 cat conftest.err >&5 3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3328 (exit $ac_status); } && { 3329 test -z "$ac_cxx_werror_flag" || 3330 test ! -s conftest.err 3331 } && test -s conftest.$ac_objext; then 3947 if ac_fn_cxx_try_compile "$LINENO"; then : 3332 3948 ac_compiler_gnu=yes 3333 3949 else 3334 echo "$as_me: failed program was:" >&5 3335 sed 's/^/| /' conftest.$ac_ext >&5 3336 3337 ac_compiler_gnu=no 3338 fi 3339 3950 ac_compiler_gnu=no 3951 fi 3340 3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3341 3953 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3342 3954 3343 3955 fi 3344 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3345 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3346 GXX=`test $ac_compiler_gnu = yes && echo yes` 3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3957 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3958 if test $ac_compiler_gnu = yes; then 3959 GXX=yes 3960 else 3961 GXX= 3962 fi 3347 3963 ac_test_CXXFLAGS=${CXXFLAGS+set} 3348 3964 ac_save_CXXFLAGS=$CXXFLAGS 3349 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53350 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3351 if test "${ac_cv_prog_cxx_g+set}" = set; then3352 echo $ECHO_N "(cached) $ECHO_C" >&63965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3966 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3967 if ${ac_cv_prog_cxx_g+:} false; then : 3968 $as_echo_n "(cached) " >&6 3353 3969 else 3354 3970 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3356 3972 ac_cv_prog_cxx_g=no 3357 3973 CXXFLAGS="-g" 3358 cat >conftest.$ac_ext <<_ACEOF 3359 /* confdefs.h. */ 3360 _ACEOF 3361 cat confdefs.h >>conftest.$ac_ext 3362 cat >>conftest.$ac_ext <<_ACEOF 3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3363 3975 /* end confdefs.h. */ 3364 3976 … … 3371 3983 } 3372 3984 _ACEOF 3373 rm -f conftest.$ac_objext 3374 if { (ac_try="$ac_compile" 3375 case "(($ac_try" in 3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3377 *) ac_try_echo=$ac_try;; 3378 esac 3379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3380 (eval "$ac_compile") 2>conftest.er1 3381 ac_status=$? 3382 grep -v '^ *+' conftest.er1 >conftest.err 3383 rm -f conftest.er1 3384 cat conftest.err >&5 3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3386 (exit $ac_status); } && { 3387 test -z "$ac_cxx_werror_flag" || 3388 test ! -s conftest.err 3389 } && test -s conftest.$ac_objext; then 3985 if ac_fn_cxx_try_compile "$LINENO"; then : 3390 3986 ac_cv_prog_cxx_g=yes 3391 3987 else 3392 echo "$as_me: failed program was:" >&5 3393 sed 's/^/| /' conftest.$ac_ext >&5 3394 3395 CXXFLAGS="" 3396 cat >conftest.$ac_ext <<_ACEOF 3397 /* confdefs.h. */ 3398 _ACEOF 3399 cat confdefs.h >>conftest.$ac_ext 3400 cat >>conftest.$ac_ext <<_ACEOF 3988 CXXFLAGS="" 3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3401 3990 /* end confdefs.h. */ 3402 3991 … … 3409 3998 } 3410 3999 _ACEOF 3411 rm -f conftest.$ac_objext 3412 if { (ac_try="$ac_compile" 3413 case "(($ac_try" in 3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3415 *) ac_try_echo=$ac_try;; 3416 esac 3417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3418 (eval "$ac_compile") 2>conftest.er1 3419 ac_status=$? 3420 grep -v '^ *+' conftest.er1 >conftest.err 3421 rm -f conftest.er1 3422 cat conftest.err >&5 3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3424 (exit $ac_status); } && { 3425 test -z "$ac_cxx_werror_flag" || 3426 test ! -s conftest.err 3427 } && test -s conftest.$ac_objext; then 3428 : 3429 else 3430 echo "$as_me: failed program was:" >&5 3431 sed 's/^/| /' conftest.$ac_ext >&5 3432 3433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4000 if ac_fn_cxx_try_compile "$LINENO"; then : 4001 4002 else 4003 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3434 4004 CXXFLAGS="-g" 3435 cat >conftest.$ac_ext <<_ACEOF 3436 /* confdefs.h. */ 3437 _ACEOF 3438 cat confdefs.h >>conftest.$ac_ext 3439 cat >>conftest.$ac_ext <<_ACEOF 4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3440 4006 /* end confdefs.h. */ 3441 4007 … … 3448 4014 } 3449 4015 _ACEOF 3450 rm -f conftest.$ac_objext 3451 if { (ac_try="$ac_compile" 3452 case "(($ac_try" in 3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3454 *) ac_try_echo=$ac_try;; 3455 esac 3456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3457 (eval "$ac_compile") 2>conftest.er1 3458 ac_status=$? 3459 grep -v '^ *+' conftest.er1 >conftest.err 3460 rm -f conftest.er1 3461 cat conftest.err >&5 3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3463 (exit $ac_status); } && { 3464 test -z "$ac_cxx_werror_flag" || 3465 test ! -s conftest.err 3466 } && test -s conftest.$ac_objext; then 4016 if ac_fn_cxx_try_compile "$LINENO"; then : 3467 4017 ac_cv_prog_cxx_g=yes 3468 else 3469 echo "$as_me: failed program was:" >&5 3470 sed 's/^/| /' conftest.$ac_ext >&5 3471 3472 3473 fi 3474 4018 fi 3475 4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3476 4020 fi 3477 3478 4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3479 4022 fi 3480 3481 4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3482 4024 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3483 4025 fi 3484 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53485 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4027 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3486 4028 if test "$ac_test_CXXFLAGS" = set; then 3487 4029 CXXFLAGS=$ac_save_CXXFLAGS … … 3515 4057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3516 4058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3517 { echo "$as_me:$LINENO: checking for $ac_word" >&53518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3519 if test "${ac_cv_prog_F77+set}" = set; then3520 echo $ECHO_N "(cached) $ECHO_C" >&64059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4060 $as_echo_n "checking for $ac_word... " >&6; } 4061 if ${ac_cv_prog_F77+:} false; then : 4062 $as_echo_n "(cached) " >&6 3521 4063 else 3522 4064 if test -n "$F77"; then … … 3528 4070 IFS=$as_save_IFS 3529 4071 test -z "$as_dir" && as_dir=. 3530 for ac_exec_ext in '' $ac_executable_extensions; do4072 for ac_exec_ext in '' $ac_executable_extensions; do 3531 4073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3532 4074 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3534 4076 break 2 3535 4077 fi 3536 4078 done 3537 done4079 done 3538 4080 IFS=$as_save_IFS 3539 4081 … … 3542 4084 F77=$ac_cv_prog_F77 3543 4085 if test -n "$F77"; then 3544 { echo "$as_me:$LINENO: result: $F77" >&53545 echo "${ECHO_T}$F77" >&6; }3546 else 3547 { echo "$as_me:$LINENO: result: no" >&53548 echo "${ECHO_T}no" >&6; }4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4087 $as_echo "$F77" >&6; } 4088 else 4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4090 $as_echo "no" >&6; } 3549 4091 fi 3550 4092 … … 3559 4101 # Extract the first word of "$ac_prog", so it can be a program name with args. 3560 4102 set dummy $ac_prog; ac_word=$2 3561 { echo "$as_me:$LINENO: checking for $ac_word" >&53562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3563 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then3564 echo $ECHO_N "(cached) $ECHO_C" >&64103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4104 $as_echo_n "checking for $ac_word... " >&6; } 4105 if ${ac_cv_prog_ac_ct_F77+:} false; then : 4106 $as_echo_n "(cached) " >&6 3565 4107 else 3566 4108 if test -n "$ac_ct_F77"; then … … 3572 4114 IFS=$as_save_IFS 3573 4115 test -z "$as_dir" && as_dir=. 3574 for ac_exec_ext in '' $ac_executable_extensions; do4116 for ac_exec_ext in '' $ac_executable_extensions; do 3575 4117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3576 4118 ac_cv_prog_ac_ct_F77="$ac_prog" 3577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3578 4120 break 2 3579 4121 fi 3580 4122 done 3581 done4123 done 3582 4124 IFS=$as_save_IFS 3583 4125 … … 3586 4128 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3587 4129 if test -n "$ac_ct_F77"; then 3588 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53589 echo "${ECHO_T}$ac_ct_F77" >&6; }3590 else 3591 { echo "$as_me:$LINENO: result: no" >&53592 echo "${ECHO_T}no" >&6; }4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4131 $as_echo "$ac_ct_F77" >&6; } 4132 else 4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4134 $as_echo "no" >&6; } 3593 4135 fi 3594 4136 … … 3602 4144 case $cross_compiling:$ac_tool_warned in 3603 4145 yes:) 3604 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3605 whose name does not start with the host triplet. If you think this 3606 configuration is useful to you, please write to autoconf@gnu.org." >&5 3607 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3608 whose name does not start with the host triplet. If you think this 3609 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3610 4148 ac_tool_warned=yes ;; 3611 4149 esac … … 3616 4154 3617 4155 # Provide some information about the compiler. 3618 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3619 ac_compiler=`set X $ac_compile; echo $2` 3620 { (ac_try="$ac_compiler --version >&5" 4156 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4157 set X $ac_compile 4158 ac_compiler=$2 4159 for ac_option in --version -v -V -qversion; do 4160 { { ac_try="$ac_compiler $ac_option >&5" 3621 4161 case "(($ac_try" in 3622 4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3623 4163 *) ac_try_echo=$ac_try;; 3624 4164 esac 3625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3626 (eval "$ac_compiler --version >&5") 2>&5 4165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4166 $as_echo "$ac_try_echo"; } >&5 4167 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3627 4168 ac_status=$? 3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3629 (exit $ac_status); } 3630 { (ac_try="$ac_compiler -v >&5" 3631 case "(($ac_try" in 3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3633 *) ac_try_echo=$ac_try;; 3634 esac 3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3636 (eval "$ac_compiler -v >&5") 2>&5 3637 ac_status=$? 3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3639 (exit $ac_status); } 3640 { (ac_try="$ac_compiler -V >&5" 3641 case "(($ac_try" in 3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3643 *) ac_try_echo=$ac_try;; 3644 esac 3645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3646 (eval "$ac_compiler -V >&5") 2>&5 3647 ac_status=$? 3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3649 (exit $ac_status); } 4169 if test -s conftest.err; then 4170 sed '10a\ 4171 ... rest of stderr output deleted ... 4172 10q' conftest.err >conftest.er1 4173 cat conftest.er1 >&5 4174 fi 4175 rm -f conftest.er1 conftest.err 4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4177 test $ac_status = 0; } 4178 done 3650 4179 rm -f a.out 3651 4180 … … 3654 4183 ac_save_ext=$ac_ext 3655 4184 ac_ext=F 3656 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53657 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3658 if test "${ac_cv_f77_compiler_gnu+set}" = set; then3659 echo $ECHO_N "(cached) $ECHO_C" >&63660 else 3661 cat > conftest.$ac_ext <<_ACEOF4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4186 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4187 if ${ac_cv_f77_compiler_gnu+:} false; then : 4188 $as_echo_n "(cached) " >&6 4189 else 4190 cat > conftest.$ac_ext <<_ACEOF 3662 4191 program main 3663 4192 #ifndef __GNUC__ … … 3667 4196 end 3668 4197 _ACEOF 3669 rm -f conftest.$ac_objext 3670 if { (ac_try="$ac_compile" 3671 case "(($ac_try" in 3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3673 *) ac_try_echo=$ac_try;; 3674 esac 3675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3676 (eval "$ac_compile") 2>conftest.er1 3677 ac_status=$? 3678 grep -v '^ *+' conftest.er1 >conftest.err 3679 rm -f conftest.er1 3680 cat conftest.err >&5 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3682 (exit $ac_status); } && { 3683 test -z "$ac_f77_werror_flag" || 3684 test ! -s conftest.err 3685 } && test -s conftest.$ac_objext; then 4198 if ac_fn_f77_try_compile "$LINENO"; then : 3686 4199 ac_compiler_gnu=yes 3687 4200 else 3688 echo "$as_me: failed program was:" >&5 3689 sed 's/^/| /' conftest.$ac_ext >&5 3690 3691 ac_compiler_gnu=no 3692 fi 3693 4201 ac_compiler_gnu=no 4202 fi 3694 4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3695 4204 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3696 4205 3697 4206 fi 3698 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53699 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4208 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3700 4209 ac_ext=$ac_save_ext 3701 4210 ac_test_FFLAGS=${FFLAGS+set} 3702 4211 ac_save_FFLAGS=$FFLAGS 3703 4212 FFLAGS= 3704 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53705 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3706 if test "${ac_cv_prog_f77_g+set}" = set; then3707 echo $ECHO_N "(cached) $ECHO_C" >&64213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4214 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4215 if ${ac_cv_prog_f77_g+:} false; then : 4216 $as_echo_n "(cached) " >&6 3708 4217 else 3709 4218 FFLAGS=-g 3710 cat > conftest.$ac_ext <<_ACEOF4219 cat > conftest.$ac_ext <<_ACEOF 3711 4220 program main 3712 4221 3713 4222 end 3714 4223 _ACEOF 3715 rm -f conftest.$ac_objext 3716 if { (ac_try="$ac_compile" 3717 case "(($ac_try" in 3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3719 *) ac_try_echo=$ac_try;; 3720 esac 3721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3722 (eval "$ac_compile") 2>conftest.er1 3723 ac_status=$? 3724 grep -v '^ *+' conftest.er1 >conftest.err 3725 rm -f conftest.er1 3726 cat conftest.err >&5 3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3728 (exit $ac_status); } && { 3729 test -z "$ac_f77_werror_flag" || 3730 test ! -s conftest.err 3731 } && test -s conftest.$ac_objext; then 4224 if ac_fn_f77_try_compile "$LINENO"; then : 3732 4225 ac_cv_prog_f77_g=yes 3733 4226 else 3734 echo "$as_me: failed program was:" >&5 3735 sed 's/^/| /' conftest.$ac_ext >&5 3736 3737 ac_cv_prog_f77_g=no 3738 fi 3739 4227 ac_cv_prog_f77_g=no 4228 fi 3740 4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3741 4230 3742 4231 fi 3743 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53744 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4233 $as_echo "$ac_cv_prog_f77_g" >&6; } 3745 4234 if test "$ac_test_FFLAGS" = set; then 3746 4235 FFLAGS=$ac_save_FFLAGS … … 3759 4248 fi 3760 4249 3761 G77=`test $ac_compiler_gnu = yes && echo yes` 4250 if test $ac_compiler_gnu = yes; then 4251 G77=yes 4252 else 4253 G77= 4254 fi 3762 4255 ac_ext=c 3763 4256 ac_cpp='$CPP $CPPFLAGS' … … 3780 4273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3781 4274 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3782 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53783 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4276 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3784 4277 # On Suns, sometimes $CPP names a directory. 3785 4278 if test -n "$CPP" && test -d "$CPP"; then … … 3787 4280 fi 3788 4281 if test -z "$CPP"; then 3789 if test "${ac_cv_prog_CPP+set}" = set; then3790 echo $ECHO_N "(cached) $ECHO_C" >&64282 if ${ac_cv_prog_CPP+:} false; then : 4283 $as_echo_n "(cached) " >&6 3791 4284 else 3792 4285 # Double quotes because CPP needs to be expanded … … 3802 4295 # On the NeXT, cc -E runs the code through the compiler's parser, 3803 4296 # not just through cpp. "Syntax error" is here to catch this case. 3804 cat >conftest.$ac_ext <<_ACEOF 3805 /* confdefs.h. */ 3806 _ACEOF 3807 cat confdefs.h >>conftest.$ac_ext 3808 cat >>conftest.$ac_ext <<_ACEOF 4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3809 4298 /* end confdefs.h. */ 3810 4299 #ifdef __STDC__ … … 3815 4304 Syntax error 3816 4305 _ACEOF 3817 if { (ac_try="$ac_cpp conftest.$ac_ext" 3818 case "(($ac_try" in 3819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3820 *) ac_try_echo=$ac_try;; 3821 esac 3822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3824 ac_status=$? 3825 grep -v '^ *+' conftest.er1 >conftest.err 3826 rm -f conftest.er1 3827 cat conftest.err >&5 3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3829 (exit $ac_status); } >/dev/null && { 3830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3831 test ! -s conftest.err 3832 }; then 3833 : 3834 else 3835 echo "$as_me: failed program was:" >&5 3836 sed 's/^/| /' conftest.$ac_ext >&5 3837 4306 if ac_fn_c_try_cpp "$LINENO"; then : 4307 4308 else 3838 4309 # Broken: fails on valid input. 3839 4310 continue 3840 4311 fi 3841 3842 rm -f conftest.err conftest.$ac_ext 4312 rm -f conftest.err conftest.i conftest.$ac_ext 3843 4313 3844 4314 # OK, works on sane cases. Now check whether nonexistent headers 3845 4315 # can be detected and how. 3846 cat >conftest.$ac_ext <<_ACEOF 3847 /* confdefs.h. */ 3848 _ACEOF 3849 cat confdefs.h >>conftest.$ac_ext 3850 cat >>conftest.$ac_ext <<_ACEOF 4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3851 4317 /* end confdefs.h. */ 3852 4318 #include <ac_nonexistent.h> 3853 4319 _ACEOF 3854 if { (ac_try="$ac_cpp conftest.$ac_ext" 3855 case "(($ac_try" in 3856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3857 *) ac_try_echo=$ac_try;; 3858 esac 3859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3861 ac_status=$? 3862 grep -v '^ *+' conftest.er1 >conftest.err 3863 rm -f conftest.er1 3864 cat conftest.err >&5 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); } >/dev/null && { 3867 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3868 test ! -s conftest.err 3869 }; then 4320 if ac_fn_c_try_cpp "$LINENO"; then : 3870 4321 # Broken: success on invalid input. 3871 4322 continue 3872 4323 else 3873 echo "$as_me: failed program was:" >&53874 sed 's/^/| /' conftest.$ac_ext >&53875 3876 4324 # Passes both tests. 3877 4325 ac_preproc_ok=: 3878 4326 break 3879 4327 fi 3880 3881 rm -f conftest.err conftest.$ac_ext 4328 rm -f conftest.err conftest.i conftest.$ac_ext 3882 4329 3883 4330 done 3884 4331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3885 rm -f conftest. err conftest.$ac_ext3886 if $ac_preproc_ok; then 4332 rm -f conftest.i conftest.err conftest.$ac_ext 4333 if $ac_preproc_ok; then : 3887 4334 break 3888 4335 fi … … 3896 4343 ac_cv_prog_CPP=$CPP 3897 4344 fi 3898 { echo "$as_me:$LINENO: result: $CPP" >&53899 echo "${ECHO_T}$CPP" >&6; }4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4346 $as_echo "$CPP" >&6; } 3900 4347 ac_preproc_ok=false 3901 4348 for ac_c_preproc_warn_flag in '' yes … … 3907 4354 # On the NeXT, cc -E runs the code through the compiler's parser, 3908 4355 # not just through cpp. "Syntax error" is here to catch this case. 3909 cat >conftest.$ac_ext <<_ACEOF 3910 /* confdefs.h. */ 3911 _ACEOF 3912 cat confdefs.h >>conftest.$ac_ext 3913 cat >>conftest.$ac_ext <<_ACEOF 4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3914 4357 /* end confdefs.h. */ 3915 4358 #ifdef __STDC__ … … 3920 4363 Syntax error 3921 4364 _ACEOF 3922 if { (ac_try="$ac_cpp conftest.$ac_ext" 3923 case "(($ac_try" in 3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3925 *) ac_try_echo=$ac_try;; 3926 esac 3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3929 ac_status=$? 3930 grep -v '^ *+' conftest.er1 >conftest.err 3931 rm -f conftest.er1 3932 cat conftest.err >&5 3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3934 (exit $ac_status); } >/dev/null && { 3935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3936 test ! -s conftest.err 3937 }; then 3938 : 3939 else 3940 echo "$as_me: failed program was:" >&5 3941 sed 's/^/| /' conftest.$ac_ext >&5 3942 4365 if ac_fn_c_try_cpp "$LINENO"; then : 4366 4367 else 3943 4368 # Broken: fails on valid input. 3944 4369 continue 3945 4370 fi 3946 3947 rm -f conftest.err conftest.$ac_ext 4371 rm -f conftest.err conftest.i conftest.$ac_ext 3948 4372 3949 4373 # OK, works on sane cases. Now check whether nonexistent headers 3950 4374 # can be detected and how. 3951 cat >conftest.$ac_ext <<_ACEOF 3952 /* confdefs.h. */ 3953 _ACEOF 3954 cat confdefs.h >>conftest.$ac_ext 3955 cat >>conftest.$ac_ext <<_ACEOF 4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3956 4376 /* end confdefs.h. */ 3957 4377 #include <ac_nonexistent.h> 3958 4378 _ACEOF 3959 if { (ac_try="$ac_cpp conftest.$ac_ext" 3960 case "(($ac_try" in 3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3962 *) ac_try_echo=$ac_try;; 3963 esac 3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3966 ac_status=$? 3967 grep -v '^ *+' conftest.er1 >conftest.err 3968 rm -f conftest.er1 3969 cat conftest.err >&5 3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3971 (exit $ac_status); } >/dev/null && { 3972 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3973 test ! -s conftest.err 3974 }; then 4379 if ac_fn_c_try_cpp "$LINENO"; then : 3975 4380 # Broken: success on invalid input. 3976 4381 continue 3977 4382 else 3978 echo "$as_me: failed program was:" >&53979 sed 's/^/| /' conftest.$ac_ext >&53980 3981 4383 # Passes both tests. 3982 4384 ac_preproc_ok=: 3983 4385 break 3984 4386 fi 3985 3986 rm -f conftest.err conftest.$ac_ext 4387 rm -f conftest.err conftest.i conftest.$ac_ext 3987 4388 3988 4389 done 3989 4390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3990 rm -f conftest.err conftest.$ac_ext 3991 if $ac_preproc_ok; then 3992 : 3993 else 3994 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3995 See \`config.log' for more details." >&5 3996 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3997 See \`config.log' for more details." >&2;} 3998 { (exit 1); exit 1; }; } 4391 rm -f conftest.i conftest.err conftest.$ac_ext 4392 if $ac_preproc_ok; then : 4393 4394 else 4395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4397 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4398 See \`config.log' for more details" "$LINENO" 5; } 3999 4399 fi 4000 4400 … … 4006 4406 4007 4407 4008 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4009 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4010 if test "${ac_cv_path_GREP+set}" = set; then 4011 echo $ECHO_N "(cached) $ECHO_C" >&6 4012 else 4013 # Extract the first word of "grep ggrep" to use in msg output 4014 if test -z "$GREP"; then 4015 set dummy grep ggrep; ac_prog_name=$2 4016 if test "${ac_cv_path_GREP+set}" = set; then 4017 echo $ECHO_N "(cached) $ECHO_C" >&6 4018 else 4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4409 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4410 if ${ac_cv_path_GREP+:} false; then : 4411 $as_echo_n "(cached) " >&6 4412 else 4413 if test -z "$GREP"; then 4019 4414 ac_path_GREP_found=false 4020 # Loop through the user's path and test for each of PROGNAME-LIST4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4415 # Loop through the user's path and test for each of PROGNAME-LIST 4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4022 4417 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4023 4418 do 4024 4419 IFS=$as_save_IFS 4025 4420 test -z "$as_dir" && as_dir=. 4026 for ac_prog in grep ggrep; do4027 for ac_exec_ext in '' $ac_executable_extensions; do4028 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4029 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4030 4421 for ac_prog in grep ggrep; do 4422 for ac_exec_ext in '' $ac_executable_extensions; do 4423 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4424 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4425 # Check for GNU ac_path_GREP and select it if it is found. 4031 4426 # Check for GNU $ac_path_GREP 4032 4427 case `"$ac_path_GREP" --version 2>&1` in … … 4035 4430 *) 4036 4431 ac_count=0 4037 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4432 $as_echo_n 0123456789 >"conftest.in" 4038 4433 while : 4039 4434 do … … 4041 4436 mv "conftest.tmp" "conftest.in" 4042 4437 cp "conftest.in" "conftest.nl" 4043 echo 'GREP' >> "conftest.nl"4438 $as_echo 'GREP' >> "conftest.nl" 4044 4439 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4045 4440 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4046 a c_count=`expr $ac_count + 1`4441 as_fn_arith $ac_count + 1 && ac_count=$as_val 4047 4442 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4048 4443 # Best one so far, save it but keep looking for a better one … … 4056 4451 esac 4057 4452 4058 4059 $ac_path_GREP_found && break 34453 $ac_path_GREP_found && break 3 4454 done 4060 4455 done 4061 done 4062 4063 done 4456 done 4064 4457 IFS=$as_save_IFS 4065 4066 4067 fi 4068 4069 GREP="$ac_cv_path_GREP" 4070 if test -z "$GREP"; then 4071 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4072 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4073 { (exit 1); exit 1; }; } 4074 fi 4075 4458 if test -z "$ac_cv_path_GREP"; then 4459 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4460 fi 4076 4461 else 4077 4462 ac_cv_path_GREP=$GREP 4078 4463 fi 4079 4464 4080 4081 fi 4082 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4083 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4465 fi 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4467 $as_echo "$ac_cv_path_GREP" >&6; } 4084 4468 GREP="$ac_cv_path_GREP" 4085 4469 4086 4470 4087 { echo "$as_me:$LINENO: checking for egrep" >&54088 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4089 if test "${ac_cv_path_EGREP+set}" = set; then4090 echo $ECHO_N "(cached) $ECHO_C" >&64471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4472 $as_echo_n "checking for egrep... " >&6; } 4473 if ${ac_cv_path_EGREP+:} false; then : 4474 $as_echo_n "(cached) " >&6 4091 4475 else 4092 4476 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4093 4477 then ac_cv_path_EGREP="$GREP -E" 4094 4478 else 4095 # Extract the first word of "egrep" to use in msg output 4096 if test -z "$EGREP"; then 4097 set dummy egrep; ac_prog_name=$2 4098 if test "${ac_cv_path_EGREP+set}" = set; then 4099 echo $ECHO_N "(cached) $ECHO_C" >&6 4100 else 4479 if test -z "$EGREP"; then 4101 4480 ac_path_EGREP_found=false 4102 # Loop through the user's path and test for each of PROGNAME-LIST4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4481 # Loop through the user's path and test for each of PROGNAME-LIST 4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4104 4483 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4105 4484 do 4106 4485 IFS=$as_save_IFS 4107 4486 test -z "$as_dir" && as_dir=. 4108 for ac_prog in egrep; do4109 for ac_exec_ext in '' $ac_executable_extensions; do4110 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4111 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4112 4487 for ac_prog in egrep; do 4488 for ac_exec_ext in '' $ac_executable_extensions; do 4489 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4490 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4491 # Check for GNU ac_path_EGREP and select it if it is found. 4113 4492 # Check for GNU $ac_path_EGREP 4114 4493 case `"$ac_path_EGREP" --version 2>&1` in … … 4117 4496 *) 4118 4497 ac_count=0 4119 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4498 $as_echo_n 0123456789 >"conftest.in" 4120 4499 while : 4121 4500 do … … 4123 4502 mv "conftest.tmp" "conftest.in" 4124 4503 cp "conftest.in" "conftest.nl" 4125 echo 'EGREP' >> "conftest.nl"4504 $as_echo 'EGREP' >> "conftest.nl" 4126 4505 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4127 4506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4128 a c_count=`expr $ac_count + 1`4507 as_fn_arith $ac_count + 1 && ac_count=$as_val 4129 4508 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4130 4509 # Best one so far, save it but keep looking for a better one … … 4138 4517 esac 4139 4518 4140 4141 $ac_path_EGREP_found && break 34519 $ac_path_EGREP_found && break 3 4520 done 4142 4521 done 4143 done 4144 4145 done 4522 done 4146 4523 IFS=$as_save_IFS 4147 4148 4149 fi 4150 4151 EGREP="$ac_cv_path_EGREP" 4152 if test -z "$EGREP"; then 4153 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4154 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4155 { (exit 1); exit 1; }; } 4156 fi 4157 4524 if test -z "$ac_cv_path_EGREP"; then 4525 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4526 fi 4158 4527 else 4159 4528 ac_cv_path_EGREP=$EGREP 4160 4529 fi 4161 4530 4162 4163 4531 fi 4164 4532 fi 4165 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54166 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4534 $as_echo "$ac_cv_path_EGREP" >&6; } 4167 4535 EGREP="$ac_cv_path_EGREP" 4168 4536 4169 4537 4170 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4172 if test "${ac_cv_header_stdc+set}" = set; then 4173 echo $ECHO_N "(cached) $ECHO_C" >&6 4174 else 4175 cat >conftest.$ac_ext <<_ACEOF 4176 /* confdefs.h. */ 4177 _ACEOF 4178 cat confdefs.h >>conftest.$ac_ext 4179 cat >>conftest.$ac_ext <<_ACEOF 4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4539 $as_echo_n "checking for ANSI C header files... " >&6; } 4540 if ${ac_cv_header_stdc+:} false; then : 4541 $as_echo_n "(cached) " >&6 4542 else 4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4180 4544 /* end confdefs.h. */ 4181 4545 #include <stdlib.h> … … 4192 4556 } 4193 4557 _ACEOF 4194 rm -f conftest.$ac_objext 4195 if { (ac_try="$ac_compile" 4196 case "(($ac_try" in 4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4198 *) ac_try_echo=$ac_try;; 4199 esac 4200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4201 (eval "$ac_compile") 2>conftest.er1 4202 ac_status=$? 4203 grep -v '^ *+' conftest.er1 >conftest.err 4204 rm -f conftest.er1 4205 cat conftest.err >&5 4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4207 (exit $ac_status); } && { 4208 test -z "$ac_c_werror_flag" || 4209 test ! -s conftest.err 4210 } && test -s conftest.$ac_objext; then 4558 if ac_fn_c_try_compile "$LINENO"; then : 4211 4559 ac_cv_header_stdc=yes 4212 4560 else 4213 echo "$as_me: failed program was:" >&5 4214 sed 's/^/| /' conftest.$ac_ext >&5 4215 4216 ac_cv_header_stdc=no 4217 fi 4218 4561 ac_cv_header_stdc=no 4562 fi 4219 4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4220 4564 4221 4565 if test $ac_cv_header_stdc = yes; then 4222 4566 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4223 cat >conftest.$ac_ext <<_ACEOF 4224 /* confdefs.h. */ 4225 _ACEOF 4226 cat confdefs.h >>conftest.$ac_ext 4227 cat >>conftest.$ac_ext <<_ACEOF 4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4228 4568 /* end confdefs.h. */ 4229 4569 #include <string.h> … … 4231 4571 _ACEOF 4232 4572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4233 $EGREP "memchr" >/dev/null 2>&1; then 4234 : 4573 $EGREP "memchr" >/dev/null 2>&1; then : 4574 4235 4575 else 4236 4576 ac_cv_header_stdc=no … … 4242 4582 if test $ac_cv_header_stdc = yes; then 4243 4583 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4244 cat >conftest.$ac_ext <<_ACEOF 4245 /* confdefs.h. */ 4246 _ACEOF 4247 cat confdefs.h >>conftest.$ac_ext 4248 cat >>conftest.$ac_ext <<_ACEOF 4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4249 4585 /* end confdefs.h. */ 4250 4586 #include <stdlib.h> … … 4252 4588 _ACEOF 4253 4589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4254 $EGREP "free" >/dev/null 2>&1; then 4255 : 4590 $EGREP "free" >/dev/null 2>&1; then : 4591 4256 4592 else 4257 4593 ac_cv_header_stdc=no … … 4263 4599 if test $ac_cv_header_stdc = yes; then 4264 4600 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4265 if test "$cross_compiling" = yes; then 4601 if test "$cross_compiling" = yes; then : 4266 4602 : 4267 4603 else 4268 cat >conftest.$ac_ext <<_ACEOF 4269 /* confdefs.h. */ 4270 _ACEOF 4271 cat confdefs.h >>conftest.$ac_ext 4272 cat >>conftest.$ac_ext <<_ACEOF 4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4273 4605 /* end confdefs.h. */ 4274 4606 #include <ctype.h> … … 4297 4629 } 4298 4630 _ACEOF 4299 rm -f conftest$ac_exeext 4300 if { (ac_try="$ac_link" 4301 case "(($ac_try" in 4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4303 *) ac_try_echo=$ac_try;; 4304 esac 4305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4306 (eval "$ac_link") 2>&5 4307 ac_status=$? 4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4310 { (case "(($ac_try" in 4311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4312 *) ac_try_echo=$ac_try;; 4313 esac 4314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4315 (eval "$ac_try") 2>&5 4316 ac_status=$? 4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4318 (exit $ac_status); }; }; then 4319 : 4320 else 4321 echo "$as_me: program exited with status $ac_status" >&5 4322 echo "$as_me: failed program was:" >&5 4323 sed 's/^/| /' conftest.$ac_ext >&5 4324 4325 ( exit $ac_status ) 4326 ac_cv_header_stdc=no 4327 fi 4328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4329 fi 4330 4331 4332 fi 4333 fi 4334 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4335 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4631 if ac_fn_c_try_run "$LINENO"; then : 4632 4633 else 4634 ac_cv_header_stdc=no 4635 fi 4636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4637 conftest.$ac_objext conftest.beam conftest.$ac_ext 4638 fi 4639 4640 fi 4641 fi 4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4643 $as_echo "$ac_cv_header_stdc" >&6; } 4336 4644 if test $ac_cv_header_stdc = yes; then 4337 4645 4338 cat >>confdefs.h <<\_ACEOF 4339 #define STDC_HEADERS 1 4340 _ACEOF 4341 4342 fi 4343 4344 { echo "$as_me:$LINENO: checking for atol" >&5 4345 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4346 if test "${ac_cv_func_atol+set}" = set; then 4347 echo $ECHO_N "(cached) $ECHO_C" >&6 4348 else 4349 cat >conftest.$ac_ext <<_ACEOF 4350 /* confdefs.h. */ 4351 _ACEOF 4352 cat confdefs.h >>conftest.$ac_ext 4353 cat >>conftest.$ac_ext <<_ACEOF 4354 /* end confdefs.h. */ 4355 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4356 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4357 #define atol innocuous_atol 4358 4359 /* System header to define __stub macros and hopefully few prototypes, 4360 which can conflict with char atol (); below. 4361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4362 <limits.h> exists even on freestanding compilers. */ 4363 4364 #ifdef __STDC__ 4365 # include <limits.h> 4366 #else 4367 # include <assert.h> 4368 #endif 4369 4370 #undef atol 4371 4372 /* Override any GCC internal prototype to avoid an error. 4373 Use char because int might match the return type of a GCC 4374 builtin and then its argument prototype would still apply. */ 4375 #ifdef __cplusplus 4376 extern "C" 4377 #endif 4378 char atol (); 4379 /* The GNU C library defines this for functions which it implements 4380 to always fail with ENOSYS. Some functions are actually named 4381 something starting with __ and the normal name is an alias. */ 4382 #if defined __stub_atol || defined __stub___atol 4383 choke me 4384 #endif 4385 4386 int 4387 main () 4388 { 4389 return atol (); 4390 ; 4391 return 0; 4392 } 4393 _ACEOF 4394 rm -f conftest.$ac_objext conftest$ac_exeext 4395 if { (ac_try="$ac_link" 4396 case "(($ac_try" in 4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4398 *) ac_try_echo=$ac_try;; 4399 esac 4400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4401 (eval "$ac_link") 2>conftest.er1 4402 ac_status=$? 4403 grep -v '^ *+' conftest.er1 >conftest.err 4404 rm -f conftest.er1 4405 cat conftest.err >&5 4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4407 (exit $ac_status); } && { 4408 test -z "$ac_c_werror_flag" || 4409 test ! -s conftest.err 4410 } && test -s conftest$ac_exeext && 4411 $as_test_x conftest$ac_exeext; then 4412 ac_cv_func_atol=yes 4413 else 4414 echo "$as_me: failed program was:" >&5 4415 sed 's/^/| /' conftest.$ac_ext >&5 4416 4417 ac_cv_func_atol=no 4418 fi 4419 4420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4421 conftest$ac_exeext conftest.$ac_ext 4422 fi 4423 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4424 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4425 if test $ac_cv_func_atol = yes; then 4426 : 4427 else 4428 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4429 echo "$as_me: error: oops! no atol ?!?" >&2;} 4430 { (exit 1); exit 1; }; } 4646 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4647 4648 fi 4649 4650 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4651 if test "x$ac_cv_func_atol" = xyes; then : 4652 4653 else 4654 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4431 4655 fi 4432 4656 … … 4440 4664 4441 4665 4442 4443 4666 for ac_func in sysinfo 4444 do 4445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4446 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4448 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4449 echo $ECHO_N "(cached) $ECHO_C" >&6 4450 else 4451 cat >conftest.$ac_ext <<_ACEOF 4452 /* confdefs.h. */ 4453 _ACEOF 4454 cat confdefs.h >>conftest.$ac_ext 4455 cat >>conftest.$ac_ext <<_ACEOF 4456 /* end confdefs.h. */ 4457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4458 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4459 #define $ac_func innocuous_$ac_func 4460 4461 /* System header to define __stub macros and hopefully few prototypes, 4462 which can conflict with char $ac_func (); below. 4463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4464 <limits.h> exists even on freestanding compilers. */ 4465 4466 #ifdef __STDC__ 4467 # include <limits.h> 4468 #else 4469 # include <assert.h> 4470 #endif 4471 4472 #undef $ac_func 4473 4474 /* Override any GCC internal prototype to avoid an error. 4475 Use char because int might match the return type of a GCC 4476 builtin and then its argument prototype would still apply. */ 4477 #ifdef __cplusplus 4478 extern "C" 4479 #endif 4480 char $ac_func (); 4481 /* The GNU C library defines this for functions which it implements 4482 to always fail with ENOSYS. Some functions are actually named 4483 something starting with __ and the normal name is an alias. */ 4484 #if defined __stub_$ac_func || defined __stub___$ac_func 4485 choke me 4486 #endif 4487 4488 int 4489 main () 4490 { 4491 return $ac_func (); 4492 ; 4493 return 0; 4494 } 4495 _ACEOF 4496 rm -f conftest.$ac_objext conftest$ac_exeext 4497 if { (ac_try="$ac_link" 4498 case "(($ac_try" in 4499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4500 *) ac_try_echo=$ac_try;; 4501 esac 4502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4503 (eval "$ac_link") 2>conftest.er1 4504 ac_status=$? 4505 grep -v '^ *+' conftest.er1 >conftest.err 4506 rm -f conftest.er1 4507 cat conftest.err >&5 4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4509 (exit $ac_status); } && { 4510 test -z "$ac_cxx_werror_flag" || 4511 test ! -s conftest.err 4512 } && test -s conftest$ac_exeext && 4513 $as_test_x conftest$ac_exeext; then 4514 eval "$as_ac_var=yes" 4515 else 4516 echo "$as_me: failed program was:" >&5 4517 sed 's/^/| /' conftest.$ac_ext >&5 4518 4519 eval "$as_ac_var=no" 4520 fi 4521 4522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4523 conftest$ac_exeext conftest.$ac_ext 4524 fi 4525 ac_res=`eval echo '${'$as_ac_var'}'` 4526 { echo "$as_me:$LINENO: result: $ac_res" >&5 4527 echo "${ECHO_T}$ac_res" >&6; } 4528 if test `eval echo '${'$as_ac_var'}'` = yes; then 4667 do : 4668 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4669 if test "x$ac_cv_func_sysinfo" = xyes; then : 4529 4670 cat >>confdefs.h <<_ACEOF 4530 #define `echo "HAVE_$ac_func" | $as_tr_cpp`14671 #define HAVE_SYSINFO 1 4531 4672 _ACEOF 4532 4673 4533 4674 fi 4534 4675 done 4535 4536 # On IRIX 5.3, sys/types and inttypes.h are conflicting.4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \4547 inttypes.h stdint.h unistd.h4548 do4549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`4550 { echo "$as_me:$LINENO: checking for $ac_header" >&54551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4553 echo $ECHO_N "(cached) $ECHO_C" >&64554 else4555 cat >conftest.$ac_ext <<_ACEOF4556 /* confdefs.h. */4557 _ACEOF4558 cat confdefs.h >>conftest.$ac_ext4559 cat >>conftest.$ac_ext <<_ACEOF4560 /* end confdefs.h. */4561 $ac_includes_default4562 4563 #include <$ac_header>4564 _ACEOF4565 rm -f conftest.$ac_objext4566 if { (ac_try="$ac_compile"4567 case "(($ac_try" in4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4569 *) ac_try_echo=$ac_try;;4570 esac4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54572 (eval "$ac_compile") 2>conftest.er14573 ac_status=$?4574 grep -v '^ *+' conftest.er1 >conftest.err4575 rm -f conftest.er14576 cat conftest.err >&54577 echo "$as_me:$LINENO: \$? = $ac_status" >&54578 (exit $ac_status); } && {4579 test -z "$ac_cxx_werror_flag" ||4580 test ! -s conftest.err4581 } && test -s conftest.$ac_objext; then4582 eval "$as_ac_Header=yes"4583 else4584 echo "$as_me: failed program was:" >&54585 sed 's/^/| /' conftest.$ac_ext >&54586 4587 eval "$as_ac_Header=no"4588 fi4589 4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4591 fi4592 ac_res=`eval echo '${'$as_ac_Header'}'`4593 { echo "$as_me:$LINENO: result: $ac_res" >&54594 echo "${ECHO_T}$ac_res" >&6; }4595 if test `eval echo '${'$as_ac_Header'}'` = yes; then4596 cat >>confdefs.h <<_ACEOF4597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 14598 _ACEOF4599 4600 fi4601 4602 done4603 4604 4676 4605 4677 ac_ext=cpp … … 4608 4680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4609 4681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4610 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54611 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4683 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4612 4684 if test -z "$CXXCPP"; then 4613 if test "${ac_cv_prog_CXXCPP+set}" = set; then4614 echo $ECHO_N "(cached) $ECHO_C" >&64685 if ${ac_cv_prog_CXXCPP+:} false; then : 4686 $as_echo_n "(cached) " >&6 4615 4687 else 4616 4688 # Double quotes because CXXCPP needs to be expanded … … 4626 4698 # On the NeXT, cc -E runs the code through the compiler's parser, 4627 4699 # not just through cpp. "Syntax error" is here to catch this case. 4628 cat >conftest.$ac_ext <<_ACEOF 4629 /* confdefs.h. */ 4630 _ACEOF 4631 cat confdefs.h >>conftest.$ac_ext 4632 cat >>conftest.$ac_ext <<_ACEOF 4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4633 4701 /* end confdefs.h. */ 4634 4702 #ifdef __STDC__ … … 4639 4707 Syntax error 4640 4708 _ACEOF 4641 if { (ac_try="$ac_cpp conftest.$ac_ext" 4642 case "(($ac_try" in 4643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4644 *) ac_try_echo=$ac_try;; 4645 esac 4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4648 ac_status=$? 4649 grep -v '^ *+' conftest.er1 >conftest.err 4650 rm -f conftest.er1 4651 cat conftest.err >&5 4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4653 (exit $ac_status); } >/dev/null && { 4654 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4655 test ! -s conftest.err 4656 }; then 4657 : 4658 else 4659 echo "$as_me: failed program was:" >&5 4660 sed 's/^/| /' conftest.$ac_ext >&5 4661 4709 if ac_fn_cxx_try_cpp "$LINENO"; then : 4710 4711 else 4662 4712 # Broken: fails on valid input. 4663 4713 continue 4664 4714 fi 4665 4666 rm -f conftest.err conftest.$ac_ext 4715 rm -f conftest.err conftest.i conftest.$ac_ext 4667 4716 4668 4717 # OK, works on sane cases. Now check whether nonexistent headers 4669 4718 # can be detected and how. 4670 cat >conftest.$ac_ext <<_ACEOF 4671 /* confdefs.h. */ 4672 _ACEOF 4673 cat confdefs.h >>conftest.$ac_ext 4674 cat >>conftest.$ac_ext <<_ACEOF 4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4675 4720 /* end confdefs.h. */ 4676 4721 #include <ac_nonexistent.h> 4677 4722 _ACEOF 4678 if { (ac_try="$ac_cpp conftest.$ac_ext" 4679 case "(($ac_try" in 4680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4681 *) ac_try_echo=$ac_try;; 4682 esac 4683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4685 ac_status=$? 4686 grep -v '^ *+' conftest.er1 >conftest.err 4687 rm -f conftest.er1 4688 cat conftest.err >&5 4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4690 (exit $ac_status); } >/dev/null && { 4691 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4692 test ! -s conftest.err 4693 }; then 4723 if ac_fn_cxx_try_cpp "$LINENO"; then : 4694 4724 # Broken: success on invalid input. 4695 4725 continue 4696 4726 else 4697 echo "$as_me: failed program was:" >&54698 sed 's/^/| /' conftest.$ac_ext >&54699 4700 4727 # Passes both tests. 4701 4728 ac_preproc_ok=: 4702 4729 break 4703 4730 fi 4704 4705 rm -f conftest.err conftest.$ac_ext 4731 rm -f conftest.err conftest.i conftest.$ac_ext 4706 4732 4707 4733 done 4708 4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4709 rm -f conftest. err conftest.$ac_ext4710 if $ac_preproc_ok; then 4735 rm -f conftest.i conftest.err conftest.$ac_ext 4736 if $ac_preproc_ok; then : 4711 4737 break 4712 4738 fi … … 4720 4746 ac_cv_prog_CXXCPP=$CXXCPP 4721 4747 fi 4722 { echo "$as_me:$LINENO: result: $CXXCPP" >&54723 echo "${ECHO_T}$CXXCPP" >&6; }4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4749 $as_echo "$CXXCPP" >&6; } 4724 4750 ac_preproc_ok=false 4725 4751 for ac_cxx_preproc_warn_flag in '' yes … … 4731 4757 # On the NeXT, cc -E runs the code through the compiler's parser, 4732 4758 # not just through cpp. "Syntax error" is here to catch this case. 4733 cat >conftest.$ac_ext <<_ACEOF 4734 /* confdefs.h. */ 4735 _ACEOF 4736 cat confdefs.h >>conftest.$ac_ext 4737 cat >>conftest.$ac_ext <<_ACEOF 4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4738 4760 /* end confdefs.h. */ 4739 4761 #ifdef __STDC__ … … 4744 4766 Syntax error 4745 4767 _ACEOF 4746 if { (ac_try="$ac_cpp conftest.$ac_ext" 4747 case "(($ac_try" in 4748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4749 *) ac_try_echo=$ac_try;; 4750 esac 4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4753 ac_status=$? 4754 grep -v '^ *+' conftest.er1 >conftest.err 4755 rm -f conftest.er1 4756 cat conftest.err >&5 4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4758 (exit $ac_status); } >/dev/null && { 4759 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4760 test ! -s conftest.err 4761 }; then 4762 : 4763 else 4764 echo "$as_me: failed program was:" >&5 4765 sed 's/^/| /' conftest.$ac_ext >&5 4766 4768 if ac_fn_cxx_try_cpp "$LINENO"; then : 4769 4770 else 4767 4771 # Broken: fails on valid input. 4768 4772 continue 4769 4773 fi 4770 4771 rm -f conftest.err conftest.$ac_ext 4774 rm -f conftest.err conftest.i conftest.$ac_ext 4772 4775 4773 4776 # OK, works on sane cases. Now check whether nonexistent headers 4774 4777 # can be detected and how. 4775 cat >conftest.$ac_ext <<_ACEOF 4776 /* confdefs.h. */ 4777 _ACEOF 4778 cat confdefs.h >>conftest.$ac_ext 4779 cat >>conftest.$ac_ext <<_ACEOF 4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4780 4779 /* end confdefs.h. */ 4781 4780 #include <ac_nonexistent.h> 4782 4781 _ACEOF 4783 if { (ac_try="$ac_cpp conftest.$ac_ext" 4784 case "(($ac_try" in 4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4786 *) ac_try_echo=$ac_try;; 4787 esac 4788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4790 ac_status=$? 4791 grep -v '^ *+' conftest.er1 >conftest.err 4792 rm -f conftest.er1 4793 cat conftest.err >&5 4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4795 (exit $ac_status); } >/dev/null && { 4796 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4797 test ! -s conftest.err 4798 }; then 4782 if ac_fn_cxx_try_cpp "$LINENO"; then : 4799 4783 # Broken: success on invalid input. 4800 4784 continue 4801 4785 else 4802 echo "$as_me: failed program was:" >&54803 sed 's/^/| /' conftest.$ac_ext >&54804 4805 4786 # Passes both tests. 4806 4787 ac_preproc_ok=: 4807 4788 break 4808 4789 fi 4809 4810 rm -f conftest.err conftest.$ac_ext 4790 rm -f conftest.err conftest.i conftest.$ac_ext 4811 4791 4812 4792 done 4813 4793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4814 rm -f conftest.err conftest.$ac_ext 4815 if $ac_preproc_ok; then 4816 : 4817 else 4818 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4819 See \`config.log' for more details." >&5 4820 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4821 See \`config.log' for more details." >&2;} 4822 { (exit 1); exit 1; }; } 4794 rm -f conftest.i conftest.err conftest.$ac_ext 4795 if $ac_preproc_ok; then : 4796 4797 else 4798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4800 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4801 See \`config.log' for more details" "$LINENO" 5; } 4823 4802 fi 4824 4803 … … 4830 4809 4831 4810 4811 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4812 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4813 inttypes.h stdint.h unistd.h 4814 do : 4815 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4816 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4817 " 4818 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4819 cat >>confdefs.h <<_ACEOF 4820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4821 _ACEOF 4822 4823 fi 4824 4825 done 4826 4832 4827 4833 4828 for ac_header in sys/sysinfo.h 4834 do 4835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4837 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4840 echo $ECHO_N "(cached) $ECHO_C" >&6 4841 fi 4842 ac_res=`eval echo '${'$as_ac_Header'}'` 4843 { echo "$as_me:$LINENO: result: $ac_res" >&5 4844 echo "${ECHO_T}$ac_res" >&6; } 4845 else 4846 # Is the header compilable? 4847 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4849 cat >conftest.$ac_ext <<_ACEOF 4850 /* confdefs.h. */ 4851 _ACEOF 4852 cat confdefs.h >>conftest.$ac_ext 4853 cat >>conftest.$ac_ext <<_ACEOF 4854 /* end confdefs.h. */ 4855 $ac_includes_default 4856 #include <$ac_header> 4857 _ACEOF 4858 rm -f conftest.$ac_objext 4859 if { (ac_try="$ac_compile" 4860 case "(($ac_try" in 4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4862 *) ac_try_echo=$ac_try;; 4863 esac 4864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4865 (eval "$ac_compile") 2>conftest.er1 4866 ac_status=$? 4867 grep -v '^ *+' conftest.er1 >conftest.err 4868 rm -f conftest.er1 4869 cat conftest.err >&5 4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4871 (exit $ac_status); } && { 4872 test -z "$ac_cxx_werror_flag" || 4873 test ! -s conftest.err 4874 } && test -s conftest.$ac_objext; then 4875 ac_header_compiler=yes 4876 else 4877 echo "$as_me: failed program was:" >&5 4878 sed 's/^/| /' conftest.$ac_ext >&5 4879 4880 ac_header_compiler=no 4881 fi 4882 4883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4884 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4885 echo "${ECHO_T}$ac_header_compiler" >&6; } 4886 4887 # Is the header present? 4888 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4890 cat >conftest.$ac_ext <<_ACEOF 4891 /* confdefs.h. */ 4892 _ACEOF 4893 cat confdefs.h >>conftest.$ac_ext 4894 cat >>conftest.$ac_ext <<_ACEOF 4895 /* end confdefs.h. */ 4896 #include <$ac_header> 4897 _ACEOF 4898 if { (ac_try="$ac_cpp conftest.$ac_ext" 4899 case "(($ac_try" in 4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4901 *) ac_try_echo=$ac_try;; 4902 esac 4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4905 ac_status=$? 4906 grep -v '^ *+' conftest.er1 >conftest.err 4907 rm -f conftest.er1 4908 cat conftest.err >&5 4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4910 (exit $ac_status); } >/dev/null && { 4911 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4912 test ! -s conftest.err 4913 }; then 4914 ac_header_preproc=yes 4915 else 4916 echo "$as_me: failed program was:" >&5 4917 sed 's/^/| /' conftest.$ac_ext >&5 4918 4919 ac_header_preproc=no 4920 fi 4921 4922 rm -f conftest.err conftest.$ac_ext 4923 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4924 echo "${ECHO_T}$ac_header_preproc" >&6; } 4925 4926 # So? What about this header? 4927 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4928 yes:no: ) 4929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4932 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4933 ac_header_preproc=yes 4934 ;; 4935 no:yes:* ) 4936 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4937 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4938 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4939 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4940 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4941 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4942 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4943 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4946 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4947 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4948 ( cat <<\_ASBOX 4949 ## ----------------------------------- ## 4950 ## Report this to rappture@nanohub.org ## 4951 ## ----------------------------------- ## 4952 _ASBOX 4953 ) | sed "s/^/$as_me: WARNING: /" >&2 4954 ;; 4955 esac 4956 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4959 echo $ECHO_N "(cached) $ECHO_C" >&6 4960 else 4961 eval "$as_ac_Header=\$ac_header_preproc" 4962 fi 4963 ac_res=`eval echo '${'$as_ac_Header'}'` 4964 { echo "$as_me:$LINENO: result: $ac_res" >&5 4965 echo "${ECHO_T}$ac_res" >&6; } 4966 4967 fi 4968 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4829 do : 4830 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4831 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4969 4832 cat >>confdefs.h <<_ACEOF 4970 #define `echo "HAVE_$ac_header" | $as_tr_cpp`14833 #define HAVE_SYS_SYSINFO_H 1 4971 4834 _ACEOF 4972 4835 … … 4976 4839 4977 4840 4978 4979 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4980 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4981 if test "${ac_cv_lib_m_main+set}" = set; then 4982 echo $ECHO_N "(cached) $ECHO_C" >&6 4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4842 $as_echo_n "checking for main in -lm... " >&6; } 4843 if ${ac_cv_lib_m_main+:} false; then : 4844 $as_echo_n "(cached) " >&6 4983 4845 else 4984 4846 ac_check_lib_save_LIBS=$LIBS 4985 4847 LIBS="-lm $LIBS" 4986 cat >conftest.$ac_ext <<_ACEOF 4987 /* confdefs.h. */ 4988 _ACEOF 4989 cat confdefs.h >>conftest.$ac_ext 4990 cat >>conftest.$ac_ext <<_ACEOF 4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4991 4849 /* end confdefs.h. */ 4992 4850 … … 5000 4858 } 5001 4859 _ACEOF 5002 rm -f conftest.$ac_objext conftest$ac_exeext 5003 if { (ac_try="$ac_link" 5004 case "(($ac_try" in 5005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5006 *) ac_try_echo=$ac_try;; 5007 esac 5008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5009 (eval "$ac_link") 2>conftest.er1 5010 ac_status=$? 5011 grep -v '^ *+' conftest.er1 >conftest.err 5012 rm -f conftest.er1 5013 cat conftest.err >&5 5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5015 (exit $ac_status); } && { 5016 test -z "$ac_cxx_werror_flag" || 5017 test ! -s conftest.err 5018 } && test -s conftest$ac_exeext && 5019 $as_test_x conftest$ac_exeext; then 4860 if ac_fn_cxx_try_link "$LINENO"; then : 5020 4861 ac_cv_lib_m_main=yes 5021 4862 else 5022 echo "$as_me: failed program was:" >&5 5023 sed 's/^/| /' conftest.$ac_ext >&5 5024 5025 ac_cv_lib_m_main=no 5026 fi 5027 5028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5029 conftest$ac_exeext conftest.$ac_ext 4863 ac_cv_lib_m_main=no 4864 fi 4865 rm -f core conftest.err conftest.$ac_objext \ 4866 conftest$ac_exeext conftest.$ac_ext 5030 4867 LIBS=$ac_check_lib_save_LIBS 5031 4868 fi 5032 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55033 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5034 if test $ac_cv_lib_m_main = yes; then4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4870 $as_echo "$ac_cv_lib_m_main" >&6; } 4871 if test "x$ac_cv_lib_m_main" = xyes; then : 5035 4872 cat >>confdefs.h <<_ACEOF 5036 4873 #define HAVE_LIBM 1 … … 5040 4877 5041 4878 else 5042 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5043 echo "$as_me: error: librappture requires libm" >&2;} 5044 { (exit 1); exit 1; }; } 5045 fi 5046 5047 5048 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5049 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5050 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5051 echo $ECHO_N "(cached) $ECHO_C" >&6 4879 as_fn_error $? "librappture requires libm" "$LINENO" 5 4880 fi 4881 4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4883 $as_echo_n "checking for main in -lstdc++... " >&6; } 4884 if ${ac_cv_lib_stdcpp_main+:} false; then : 4885 $as_echo_n "(cached) " >&6 5052 4886 else 5053 4887 ac_check_lib_save_LIBS=$LIBS 5054 4888 LIBS="-lstdc++ $LIBS" 5055 cat >conftest.$ac_ext <<_ACEOF 5056 /* confdefs.h. */ 5057 _ACEOF 5058 cat confdefs.h >>conftest.$ac_ext 5059 cat >>conftest.$ac_ext <<_ACEOF 4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5060 4890 /* end confdefs.h. */ 5061 4891 … … 5069 4899 } 5070 4900 _ACEOF 5071 rm -f conftest.$ac_objext conftest$ac_exeext 5072 if { (ac_try="$ac_link" 5073 case "(($ac_try" in 5074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5075 *) ac_try_echo=$ac_try;; 5076 esac 5077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5078 (eval "$ac_link") 2>conftest.er1 5079 ac_status=$? 5080 grep -v '^ *+' conftest.er1 >conftest.err 5081 rm -f conftest.er1 5082 cat conftest.err >&5 5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5084 (exit $ac_status); } && { 5085 test -z "$ac_cxx_werror_flag" || 5086 test ! -s conftest.err 5087 } && test -s conftest$ac_exeext && 5088 $as_test_x conftest$ac_exeext; then 4901 if ac_fn_cxx_try_link "$LINENO"; then : 5089 4902 ac_cv_lib_stdcpp_main=yes 5090 4903 else 5091 echo "$as_me: failed program was:" >&5 5092 sed 's/^/| /' conftest.$ac_ext >&5 5093 5094 ac_cv_lib_stdcpp_main=no 5095 fi 5096 5097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5098 conftest$ac_exeext conftest.$ac_ext 4904 ac_cv_lib_stdcpp_main=no 4905 fi 4906 rm -f core conftest.err conftest.$ac_objext \ 4907 conftest$ac_exeext conftest.$ac_ext 5099 4908 LIBS=$ac_check_lib_save_LIBS 5100 4909 fi 5101 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55102 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5103 if test $ac_cv_lib_stdcpp_main = yes; then4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4911 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4912 if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 5104 4913 cat >>confdefs.h <<_ACEOF 5105 4914 #define HAVE_LIBSTDC__ 1 … … 5109 4918 5110 4919 else 5111 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5112 echo "$as_me: error: librappture requires libstdc++" >&2;} 5113 { (exit 1); exit 1; }; } 5114 fi 5115 4920 as_fn_error $? "librappture requires libstdc++" "$LINENO" 5 4921 fi 5116 4922 5117 4923 for ac_header in algorithm 5118 do 5119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5121 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5124 echo $ECHO_N "(cached) $ECHO_C" >&6 5125 fi 5126 ac_res=`eval echo '${'$as_ac_Header'}'` 5127 { echo "$as_me:$LINENO: result: $ac_res" >&5 5128 echo "${ECHO_T}$ac_res" >&6; } 5129 else 5130 # Is the header compilable? 5131 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5133 cat >conftest.$ac_ext <<_ACEOF 5134 /* confdefs.h. */ 5135 _ACEOF 5136 cat confdefs.h >>conftest.$ac_ext 5137 cat >>conftest.$ac_ext <<_ACEOF 5138 /* end confdefs.h. */ 5139 $ac_includes_default 5140 #include <$ac_header> 5141 _ACEOF 5142 rm -f conftest.$ac_objext 5143 if { (ac_try="$ac_compile" 5144 case "(($ac_try" in 5145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5146 *) ac_try_echo=$ac_try;; 5147 esac 5148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5149 (eval "$ac_compile") 2>conftest.er1 5150 ac_status=$? 5151 grep -v '^ *+' conftest.er1 >conftest.err 5152 rm -f conftest.er1 5153 cat conftest.err >&5 5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5155 (exit $ac_status); } && { 5156 test -z "$ac_cxx_werror_flag" || 5157 test ! -s conftest.err 5158 } && test -s conftest.$ac_objext; then 5159 ac_header_compiler=yes 5160 else 5161 echo "$as_me: failed program was:" >&5 5162 sed 's/^/| /' conftest.$ac_ext >&5 5163 5164 ac_header_compiler=no 5165 fi 5166 5167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5168 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5169 echo "${ECHO_T}$ac_header_compiler" >&6; } 5170 5171 # Is the header present? 5172 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5174 cat >conftest.$ac_ext <<_ACEOF 5175 /* confdefs.h. */ 5176 _ACEOF 5177 cat confdefs.h >>conftest.$ac_ext 5178 cat >>conftest.$ac_ext <<_ACEOF 5179 /* end confdefs.h. */ 5180 #include <$ac_header> 5181 _ACEOF 5182 if { (ac_try="$ac_cpp conftest.$ac_ext" 5183 case "(($ac_try" in 5184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5185 *) ac_try_echo=$ac_try;; 5186 esac 5187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5189 ac_status=$? 5190 grep -v '^ *+' conftest.er1 >conftest.err 5191 rm -f conftest.er1 5192 cat conftest.err >&5 5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5194 (exit $ac_status); } >/dev/null && { 5195 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5196 test ! -s conftest.err 5197 }; then 5198 ac_header_preproc=yes 5199 else 5200 echo "$as_me: failed program was:" >&5 5201 sed 's/^/| /' conftest.$ac_ext >&5 5202 5203 ac_header_preproc=no 5204 fi 5205 5206 rm -f conftest.err conftest.$ac_ext 5207 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5208 echo "${ECHO_T}$ac_header_preproc" >&6; } 5209 5210 # So? What about this header? 5211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5212 yes:no: ) 5213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5217 ac_header_preproc=yes 5218 ;; 5219 no:yes:* ) 5220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5232 ( cat <<\_ASBOX 5233 ## ----------------------------------- ## 5234 ## Report this to rappture@nanohub.org ## 5235 ## ----------------------------------- ## 5236 _ASBOX 5237 ) | sed "s/^/$as_me: WARNING: /" >&2 5238 ;; 5239 esac 5240 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5243 echo $ECHO_N "(cached) $ECHO_C" >&6 5244 else 5245 eval "$as_ac_Header=\$ac_header_preproc" 5246 fi 5247 ac_res=`eval echo '${'$as_ac_Header'}'` 5248 { echo "$as_me:$LINENO: result: $ac_res" >&5 5249 echo "${ECHO_T}$ac_res" >&6; } 5250 5251 fi 5252 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4924 do : 4925 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default" 4926 if test "x$ac_cv_header_algorithm" = xyes; then : 5253 4927 cat >>confdefs.h <<_ACEOF 5254 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15255 _ACEOF 5256 5257 else 5258 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55259 echo "$as_me: WARNING: STL classes missing ?" >&2;}4928 #define HAVE_ALGORITHM 1 4929 _ACEOF 4930 4931 else 4932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4933 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5260 4934 fi 5261 4935 5262 4936 done 5263 4937 5264 5265 4938 for ac_header in cctype 5266 do 5267 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5269 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5272 echo $ECHO_N "(cached) $ECHO_C" >&6 5273 fi 5274 ac_res=`eval echo '${'$as_ac_Header'}'` 5275 { echo "$as_me:$LINENO: result: $ac_res" >&5 5276 echo "${ECHO_T}$ac_res" >&6; } 5277 else 5278 # Is the header compilable? 5279 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5281 cat >conftest.$ac_ext <<_ACEOF 5282 /* confdefs.h. */ 5283 _ACEOF 5284 cat confdefs.h >>conftest.$ac_ext 5285 cat >>conftest.$ac_ext <<_ACEOF 5286 /* end confdefs.h. */ 5287 $ac_includes_default 5288 #include <$ac_header> 5289 _ACEOF 5290 rm -f conftest.$ac_objext 5291 if { (ac_try="$ac_compile" 5292 case "(($ac_try" in 5293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5294 *) ac_try_echo=$ac_try;; 5295 esac 5296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5297 (eval "$ac_compile") 2>conftest.er1 5298 ac_status=$? 5299 grep -v '^ *+' conftest.er1 >conftest.err 5300 rm -f conftest.er1 5301 cat conftest.err >&5 5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5303 (exit $ac_status); } && { 5304 test -z "$ac_cxx_werror_flag" || 5305 test ! -s conftest.err 5306 } && test -s conftest.$ac_objext; then 5307 ac_header_compiler=yes 5308 else 5309 echo "$as_me: failed program was:" >&5 5310 sed 's/^/| /' conftest.$ac_ext >&5 5311 5312 ac_header_compiler=no 5313 fi 5314 5315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5316 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5317 echo "${ECHO_T}$ac_header_compiler" >&6; } 5318 5319 # Is the header present? 5320 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5321 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5322 cat >conftest.$ac_ext <<_ACEOF 5323 /* confdefs.h. */ 5324 _ACEOF 5325 cat confdefs.h >>conftest.$ac_ext 5326 cat >>conftest.$ac_ext <<_ACEOF 5327 /* end confdefs.h. */ 5328 #include <$ac_header> 5329 _ACEOF 5330 if { (ac_try="$ac_cpp conftest.$ac_ext" 5331 case "(($ac_try" in 5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5333 *) ac_try_echo=$ac_try;; 5334 esac 5335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5337 ac_status=$? 5338 grep -v '^ *+' conftest.er1 >conftest.err 5339 rm -f conftest.er1 5340 cat conftest.err >&5 5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5342 (exit $ac_status); } >/dev/null && { 5343 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5344 test ! -s conftest.err 5345 }; then 5346 ac_header_preproc=yes 5347 else 5348 echo "$as_me: failed program was:" >&5 5349 sed 's/^/| /' conftest.$ac_ext >&5 5350 5351 ac_header_preproc=no 5352 fi 5353 5354 rm -f conftest.err conftest.$ac_ext 5355 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5356 echo "${ECHO_T}$ac_header_preproc" >&6; } 5357 5358 # So? What about this header? 5359 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5360 yes:no: ) 5361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5365 ac_header_preproc=yes 5366 ;; 5367 no:yes:* ) 5368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5380 ( cat <<\_ASBOX 5381 ## ----------------------------------- ## 5382 ## Report this to rappture@nanohub.org ## 5383 ## ----------------------------------- ## 5384 _ASBOX 5385 ) | sed "s/^/$as_me: WARNING: /" >&2 5386 ;; 5387 esac 5388 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5391 echo $ECHO_N "(cached) $ECHO_C" >&6 5392 else 5393 eval "$as_ac_Header=\$ac_header_preproc" 5394 fi 5395 ac_res=`eval echo '${'$as_ac_Header'}'` 5396 { echo "$as_me:$LINENO: result: $ac_res" >&5 5397 echo "${ECHO_T}$ac_res" >&6; } 5398 5399 fi 5400 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4939 do : 4940 ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default" 4941 if test "x$ac_cv_header_cctype" = xyes; then : 5401 4942 cat >>confdefs.h <<_ACEOF 5402 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15403 _ACEOF 5404 5405 else 5406 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55407 echo "$as_me: WARNING: STL classes missing ?" >&2;}4943 #define HAVE_CCTYPE 1 4944 _ACEOF 4945 4946 else 4947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4948 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5408 4949 fi 5409 4950 5410 4951 done 5411 4952 5412 5413 4953 for ac_header in cfloat 5414 do 5415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5417 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5420 echo $ECHO_N "(cached) $ECHO_C" >&6 5421 fi 5422 ac_res=`eval echo '${'$as_ac_Header'}'` 5423 { echo "$as_me:$LINENO: result: $ac_res" >&5 5424 echo "${ECHO_T}$ac_res" >&6; } 5425 else 5426 # Is the header compilable? 5427 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5429 cat >conftest.$ac_ext <<_ACEOF 5430 /* confdefs.h. */ 5431 _ACEOF 5432 cat confdefs.h >>conftest.$ac_ext 5433 cat >>conftest.$ac_ext <<_ACEOF 5434 /* end confdefs.h. */ 5435 $ac_includes_default 5436 #include <$ac_header> 5437 _ACEOF 5438 rm -f conftest.$ac_objext 5439 if { (ac_try="$ac_compile" 5440 case "(($ac_try" in 5441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5442 *) ac_try_echo=$ac_try;; 5443 esac 5444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5445 (eval "$ac_compile") 2>conftest.er1 5446 ac_status=$? 5447 grep -v '^ *+' conftest.er1 >conftest.err 5448 rm -f conftest.er1 5449 cat conftest.err >&5 5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5451 (exit $ac_status); } && { 5452 test -z "$ac_cxx_werror_flag" || 5453 test ! -s conftest.err 5454 } && test -s conftest.$ac_objext; then 5455 ac_header_compiler=yes 5456 else 5457 echo "$as_me: failed program was:" >&5 5458 sed 's/^/| /' conftest.$ac_ext >&5 5459 5460 ac_header_compiler=no 5461 fi 5462 5463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5465 echo "${ECHO_T}$ac_header_compiler" >&6; } 5466 5467 # Is the header present? 5468 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5470 cat >conftest.$ac_ext <<_ACEOF 5471 /* confdefs.h. */ 5472 _ACEOF 5473 cat confdefs.h >>conftest.$ac_ext 5474 cat >>conftest.$ac_ext <<_ACEOF 5475 /* end confdefs.h. */ 5476 #include <$ac_header> 5477 _ACEOF 5478 if { (ac_try="$ac_cpp conftest.$ac_ext" 5479 case "(($ac_try" in 5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5481 *) ac_try_echo=$ac_try;; 5482 esac 5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5485 ac_status=$? 5486 grep -v '^ *+' conftest.er1 >conftest.err 5487 rm -f conftest.er1 5488 cat conftest.err >&5 5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 (exit $ac_status); } >/dev/null && { 5491 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5492 test ! -s conftest.err 5493 }; then 5494 ac_header_preproc=yes 5495 else 5496 echo "$as_me: failed program was:" >&5 5497 sed 's/^/| /' conftest.$ac_ext >&5 5498 5499 ac_header_preproc=no 5500 fi 5501 5502 rm -f conftest.err conftest.$ac_ext 5503 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5504 echo "${ECHO_T}$ac_header_preproc" >&6; } 5505 5506 # So? What about this header? 5507 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5508 yes:no: ) 5509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5513 ac_header_preproc=yes 5514 ;; 5515 no:yes:* ) 5516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5528 ( cat <<\_ASBOX 5529 ## ----------------------------------- ## 5530 ## Report this to rappture@nanohub.org ## 5531 ## ----------------------------------- ## 5532 _ASBOX 5533 ) | sed "s/^/$as_me: WARNING: /" >&2 5534 ;; 5535 esac 5536 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5539 echo $ECHO_N "(cached) $ECHO_C" >&6 5540 else 5541 eval "$as_ac_Header=\$ac_header_preproc" 5542 fi 5543 ac_res=`eval echo '${'$as_ac_Header'}'` 5544 { echo "$as_me:$LINENO: result: $ac_res" >&5 5545 echo "${ECHO_T}$ac_res" >&6; } 5546 5547 fi 5548 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4954 do : 4955 ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default" 4956 if test "x$ac_cv_header_cfloat" = xyes; then : 5549 4957 cat >>confdefs.h <<_ACEOF 5550 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15551 _ACEOF 5552 5553 else 5554 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55555 echo "$as_me: WARNING: STL classes missing ?" >&2;}4958 #define HAVE_CFLOAT 1 4959 _ACEOF 4960 4961 else 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4963 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5556 4964 fi 5557 4965 5558 4966 done 5559 4967 5560 5561 4968 for ac_header in cmath 5562 do 5563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5564 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5565 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5568 echo $ECHO_N "(cached) $ECHO_C" >&6 5569 fi 5570 ac_res=`eval echo '${'$as_ac_Header'}'` 5571 { echo "$as_me:$LINENO: result: $ac_res" >&5 5572 echo "${ECHO_T}$ac_res" >&6; } 5573 else 5574 # Is the header compilable? 5575 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5577 cat >conftest.$ac_ext <<_ACEOF 5578 /* confdefs.h. */ 5579 _ACEOF 5580 cat confdefs.h >>conftest.$ac_ext 5581 cat >>conftest.$ac_ext <<_ACEOF 5582 /* end confdefs.h. */ 5583 $ac_includes_default 5584 #include <$ac_header> 5585 _ACEOF 5586 rm -f conftest.$ac_objext 5587 if { (ac_try="$ac_compile" 5588 case "(($ac_try" in 5589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5590 *) ac_try_echo=$ac_try;; 5591 esac 5592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5593 (eval "$ac_compile") 2>conftest.er1 5594 ac_status=$? 5595 grep -v '^ *+' conftest.er1 >conftest.err 5596 rm -f conftest.er1 5597 cat conftest.err >&5 5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5599 (exit $ac_status); } && { 5600 test -z "$ac_cxx_werror_flag" || 5601 test ! -s conftest.err 5602 } && test -s conftest.$ac_objext; then 5603 ac_header_compiler=yes 5604 else 5605 echo "$as_me: failed program was:" >&5 5606 sed 's/^/| /' conftest.$ac_ext >&5 5607 5608 ac_header_compiler=no 5609 fi 5610 5611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5612 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5613 echo "${ECHO_T}$ac_header_compiler" >&6; } 5614 5615 # Is the header present? 5616 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5618 cat >conftest.$ac_ext <<_ACEOF 5619 /* confdefs.h. */ 5620 _ACEOF 5621 cat confdefs.h >>conftest.$ac_ext 5622 cat >>conftest.$ac_ext <<_ACEOF 5623 /* end confdefs.h. */ 5624 #include <$ac_header> 5625 _ACEOF 5626 if { (ac_try="$ac_cpp conftest.$ac_ext" 5627 case "(($ac_try" in 5628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5629 *) ac_try_echo=$ac_try;; 5630 esac 5631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5633 ac_status=$? 5634 grep -v '^ *+' conftest.er1 >conftest.err 5635 rm -f conftest.er1 5636 cat conftest.err >&5 5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5638 (exit $ac_status); } >/dev/null && { 5639 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5640 test ! -s conftest.err 5641 }; then 5642 ac_header_preproc=yes 5643 else 5644 echo "$as_me: failed program was:" >&5 5645 sed 's/^/| /' conftest.$ac_ext >&5 5646 5647 ac_header_preproc=no 5648 fi 5649 5650 rm -f conftest.err conftest.$ac_ext 5651 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5652 echo "${ECHO_T}$ac_header_preproc" >&6; } 5653 5654 # So? What about this header? 5655 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5656 yes:no: ) 5657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5661 ac_header_preproc=yes 5662 ;; 5663 no:yes:* ) 5664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5676 ( cat <<\_ASBOX 5677 ## ----------------------------------- ## 5678 ## Report this to rappture@nanohub.org ## 5679 ## ----------------------------------- ## 5680 _ASBOX 5681 ) | sed "s/^/$as_me: WARNING: /" >&2 5682 ;; 5683 esac 5684 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5687 echo $ECHO_N "(cached) $ECHO_C" >&6 5688 else 5689 eval "$as_ac_Header=\$ac_header_preproc" 5690 fi 5691 ac_res=`eval echo '${'$as_ac_Header'}'` 5692 { echo "$as_me:$LINENO: result: $ac_res" >&5 5693 echo "${ECHO_T}$ac_res" >&6; } 5694 5695 fi 5696 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4969 do : 4970 ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default" 4971 if test "x$ac_cv_header_cmath" = xyes; then : 5697 4972 cat >>confdefs.h <<_ACEOF 5698 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15699 _ACEOF 5700 5701 else 5702 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55703 echo "$as_me: WARNING: STL classes missing ?" >&2;}4973 #define HAVE_CMATH 1 4974 _ACEOF 4975 4976 else 4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4978 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5704 4979 fi 5705 4980 5706 4981 done 5707 4982 5708 5709 4983 for ac_header in cstdio 5710 do 5711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5713 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5716 echo $ECHO_N "(cached) $ECHO_C" >&6 5717 fi 5718 ac_res=`eval echo '${'$as_ac_Header'}'` 5719 { echo "$as_me:$LINENO: result: $ac_res" >&5 5720 echo "${ECHO_T}$ac_res" >&6; } 5721 else 5722 # Is the header compilable? 5723 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5725 cat >conftest.$ac_ext <<_ACEOF 5726 /* confdefs.h. */ 5727 _ACEOF 5728 cat confdefs.h >>conftest.$ac_ext 5729 cat >>conftest.$ac_ext <<_ACEOF 5730 /* end confdefs.h. */ 5731 $ac_includes_default 5732 #include <$ac_header> 5733 _ACEOF 5734 rm -f conftest.$ac_objext 5735 if { (ac_try="$ac_compile" 5736 case "(($ac_try" in 5737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5738 *) ac_try_echo=$ac_try;; 5739 esac 5740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5741 (eval "$ac_compile") 2>conftest.er1 5742 ac_status=$? 5743 grep -v '^ *+' conftest.er1 >conftest.err 5744 rm -f conftest.er1 5745 cat conftest.err >&5 5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5747 (exit $ac_status); } && { 5748 test -z "$ac_cxx_werror_flag" || 5749 test ! -s conftest.err 5750 } && test -s conftest.$ac_objext; then 5751 ac_header_compiler=yes 5752 else 5753 echo "$as_me: failed program was:" >&5 5754 sed 's/^/| /' conftest.$ac_ext >&5 5755 5756 ac_header_compiler=no 5757 fi 5758 5759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5760 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5761 echo "${ECHO_T}$ac_header_compiler" >&6; } 5762 5763 # Is the header present? 5764 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5766 cat >conftest.$ac_ext <<_ACEOF 5767 /* confdefs.h. */ 5768 _ACEOF 5769 cat confdefs.h >>conftest.$ac_ext 5770 cat >>conftest.$ac_ext <<_ACEOF 5771 /* end confdefs.h. */ 5772 #include <$ac_header> 5773 _ACEOF 5774 if { (ac_try="$ac_cpp conftest.$ac_ext" 5775 case "(($ac_try" in 5776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5777 *) ac_try_echo=$ac_try;; 5778 esac 5779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5781 ac_status=$? 5782 grep -v '^ *+' conftest.er1 >conftest.err 5783 rm -f conftest.er1 5784 cat conftest.err >&5 5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5786 (exit $ac_status); } >/dev/null && { 5787 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5788 test ! -s conftest.err 5789 }; then 5790 ac_header_preproc=yes 5791 else 5792 echo "$as_me: failed program was:" >&5 5793 sed 's/^/| /' conftest.$ac_ext >&5 5794 5795 ac_header_preproc=no 5796 fi 5797 5798 rm -f conftest.err conftest.$ac_ext 5799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5800 echo "${ECHO_T}$ac_header_preproc" >&6; } 5801 5802 # So? What about this header? 5803 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5804 yes:no: ) 5805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5809 ac_header_preproc=yes 5810 ;; 5811 no:yes:* ) 5812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5824 ( cat <<\_ASBOX 5825 ## ----------------------------------- ## 5826 ## Report this to rappture@nanohub.org ## 5827 ## ----------------------------------- ## 5828 _ASBOX 5829 ) | sed "s/^/$as_me: WARNING: /" >&2 5830 ;; 5831 esac 5832 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5835 echo $ECHO_N "(cached) $ECHO_C" >&6 5836 else 5837 eval "$as_ac_Header=\$ac_header_preproc" 5838 fi 5839 ac_res=`eval echo '${'$as_ac_Header'}'` 5840 { echo "$as_me:$LINENO: result: $ac_res" >&5 5841 echo "${ECHO_T}$ac_res" >&6; } 5842 5843 fi 5844 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4984 do : 4985 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default" 4986 if test "x$ac_cv_header_cstdio" = xyes; then : 5845 4987 cat >>confdefs.h <<_ACEOF 5846 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15847 _ACEOF 5848 5849 else 5850 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55851 echo "$as_me: WARNING: STL classes missing ?" >&2;}4988 #define HAVE_CSTDIO 1 4989 _ACEOF 4990 4991 else 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 4993 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 5852 4994 fi 5853 4995 5854 4996 done 5855 4997 5856 5857 4998 for ac_header in cstdlib 5858 do 5859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5861 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5864 echo $ECHO_N "(cached) $ECHO_C" >&6 5865 fi 5866 ac_res=`eval echo '${'$as_ac_Header'}'` 5867 { echo "$as_me:$LINENO: result: $ac_res" >&5 5868 echo "${ECHO_T}$ac_res" >&6; } 5869 else 5870 # Is the header compilable? 5871 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5873 cat >conftest.$ac_ext <<_ACEOF 5874 /* confdefs.h. */ 5875 _ACEOF 5876 cat confdefs.h >>conftest.$ac_ext 5877 cat >>conftest.$ac_ext <<_ACEOF 5878 /* end confdefs.h. */ 5879 $ac_includes_default 5880 #include <$ac_header> 5881 _ACEOF 5882 rm -f conftest.$ac_objext 5883 if { (ac_try="$ac_compile" 5884 case "(($ac_try" in 5885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5886 *) ac_try_echo=$ac_try;; 5887 esac 5888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5889 (eval "$ac_compile") 2>conftest.er1 5890 ac_status=$? 5891 grep -v '^ *+' conftest.er1 >conftest.err 5892 rm -f conftest.er1 5893 cat conftest.err >&5 5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5895 (exit $ac_status); } && { 5896 test -z "$ac_cxx_werror_flag" || 5897 test ! -s conftest.err 5898 } && test -s conftest.$ac_objext; then 5899 ac_header_compiler=yes 5900 else 5901 echo "$as_me: failed program was:" >&5 5902 sed 's/^/| /' conftest.$ac_ext >&5 5903 5904 ac_header_compiler=no 5905 fi 5906 5907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5908 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5909 echo "${ECHO_T}$ac_header_compiler" >&6; } 5910 5911 # Is the header present? 5912 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5914 cat >conftest.$ac_ext <<_ACEOF 5915 /* confdefs.h. */ 5916 _ACEOF 5917 cat confdefs.h >>conftest.$ac_ext 5918 cat >>conftest.$ac_ext <<_ACEOF 5919 /* end confdefs.h. */ 5920 #include <$ac_header> 5921 _ACEOF 5922 if { (ac_try="$ac_cpp conftest.$ac_ext" 5923 case "(($ac_try" in 5924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5925 *) ac_try_echo=$ac_try;; 5926 esac 5927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5929 ac_status=$? 5930 grep -v '^ *+' conftest.er1 >conftest.err 5931 rm -f conftest.er1 5932 cat conftest.err >&5 5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5934 (exit $ac_status); } >/dev/null && { 5935 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5936 test ! -s conftest.err 5937 }; then 5938 ac_header_preproc=yes 5939 else 5940 echo "$as_me: failed program was:" >&5 5941 sed 's/^/| /' conftest.$ac_ext >&5 5942 5943 ac_header_preproc=no 5944 fi 5945 5946 rm -f conftest.err conftest.$ac_ext 5947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5948 echo "${ECHO_T}$ac_header_preproc" >&6; } 5949 5950 # So? What about this header? 5951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5952 yes:no: ) 5953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5957 ac_header_preproc=yes 5958 ;; 5959 no:yes:* ) 5960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5972 ( cat <<\_ASBOX 5973 ## ----------------------------------- ## 5974 ## Report this to rappture@nanohub.org ## 5975 ## ----------------------------------- ## 5976 _ASBOX 5977 ) | sed "s/^/$as_me: WARNING: /" >&2 5978 ;; 5979 esac 5980 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5983 echo $ECHO_N "(cached) $ECHO_C" >&6 5984 else 5985 eval "$as_ac_Header=\$ac_header_preproc" 5986 fi 5987 ac_res=`eval echo '${'$as_ac_Header'}'` 5988 { echo "$as_me:$LINENO: result: $ac_res" >&5 5989 echo "${ECHO_T}$ac_res" >&6; } 5990 5991 fi 5992 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4999 do : 5000 ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default" 5001 if test "x$ac_cv_header_cstdlib" = xyes; then : 5993 5002 cat >>confdefs.h <<_ACEOF 5994 #define `echo "HAVE_$ac_header" | $as_tr_cpp`15995 _ACEOF 5996 5997 else 5998 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&55999 echo "$as_me: WARNING: STL classes missing ?" >&2;}5003 #define HAVE_CSTDLIB 1 5004 _ACEOF 5005 5006 else 5007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5008 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6000 5009 fi 6001 5010 6002 5011 done 6003 5012 6004 6005 5013 for ac_header in cstring 6006 do 6007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6009 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6012 echo $ECHO_N "(cached) $ECHO_C" >&6 6013 fi 6014 ac_res=`eval echo '${'$as_ac_Header'}'` 6015 { echo "$as_me:$LINENO: result: $ac_res" >&5 6016 echo "${ECHO_T}$ac_res" >&6; } 6017 else 6018 # Is the header compilable? 6019 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6021 cat >conftest.$ac_ext <<_ACEOF 6022 /* confdefs.h. */ 6023 _ACEOF 6024 cat confdefs.h >>conftest.$ac_ext 6025 cat >>conftest.$ac_ext <<_ACEOF 6026 /* end confdefs.h. */ 6027 $ac_includes_default 6028 #include <$ac_header> 6029 _ACEOF 6030 rm -f conftest.$ac_objext 6031 if { (ac_try="$ac_compile" 6032 case "(($ac_try" in 6033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6034 *) ac_try_echo=$ac_try;; 6035 esac 6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6037 (eval "$ac_compile") 2>conftest.er1 6038 ac_status=$? 6039 grep -v '^ *+' conftest.er1 >conftest.err 6040 rm -f conftest.er1 6041 cat conftest.err >&5 6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6043 (exit $ac_status); } && { 6044 test -z "$ac_cxx_werror_flag" || 6045 test ! -s conftest.err 6046 } && test -s conftest.$ac_objext; then 6047 ac_header_compiler=yes 6048 else 6049 echo "$as_me: failed program was:" >&5 6050 sed 's/^/| /' conftest.$ac_ext >&5 6051 6052 ac_header_compiler=no 6053 fi 6054 6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6056 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6057 echo "${ECHO_T}$ac_header_compiler" >&6; } 6058 6059 # Is the header present? 6060 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6061 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6062 cat >conftest.$ac_ext <<_ACEOF 6063 /* confdefs.h. */ 6064 _ACEOF 6065 cat confdefs.h >>conftest.$ac_ext 6066 cat >>conftest.$ac_ext <<_ACEOF 6067 /* end confdefs.h. */ 6068 #include <$ac_header> 6069 _ACEOF 6070 if { (ac_try="$ac_cpp conftest.$ac_ext" 6071 case "(($ac_try" in 6072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6073 *) ac_try_echo=$ac_try;; 6074 esac 6075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6077 ac_status=$? 6078 grep -v '^ *+' conftest.er1 >conftest.err 6079 rm -f conftest.er1 6080 cat conftest.err >&5 6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6082 (exit $ac_status); } >/dev/null && { 6083 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6084 test ! -s conftest.err 6085 }; then 6086 ac_header_preproc=yes 6087 else 6088 echo "$as_me: failed program was:" >&5 6089 sed 's/^/| /' conftest.$ac_ext >&5 6090 6091 ac_header_preproc=no 6092 fi 6093 6094 rm -f conftest.err conftest.$ac_ext 6095 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6096 echo "${ECHO_T}$ac_header_preproc" >&6; } 6097 6098 # So? What about this header? 6099 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6100 yes:no: ) 6101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6105 ac_header_preproc=yes 6106 ;; 6107 no:yes:* ) 6108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6112 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6114 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6115 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6118 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6120 ( cat <<\_ASBOX 6121 ## ----------------------------------- ## 6122 ## Report this to rappture@nanohub.org ## 6123 ## ----------------------------------- ## 6124 _ASBOX 6125 ) | sed "s/^/$as_me: WARNING: /" >&2 6126 ;; 6127 esac 6128 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6130 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6131 echo $ECHO_N "(cached) $ECHO_C" >&6 6132 else 6133 eval "$as_ac_Header=\$ac_header_preproc" 6134 fi 6135 ac_res=`eval echo '${'$as_ac_Header'}'` 6136 { echo "$as_me:$LINENO: result: $ac_res" >&5 6137 echo "${ECHO_T}$ac_res" >&6; } 6138 6139 fi 6140 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5014 do : 5015 ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default" 5016 if test "x$ac_cv_header_cstring" = xyes; then : 6141 5017 cat >>confdefs.h <<_ACEOF 6142 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16143 _ACEOF 6144 6145 else 6146 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56147 echo "$as_me: WARNING: STL classes missing ?" >&2;}5018 #define HAVE_CSTRING 1 5019 _ACEOF 5020 5021 else 5022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5023 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6148 5024 fi 6149 5025 6150 5026 done 6151 5027 6152 6153 5028 for ac_header in fstream 6154 do 6155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6157 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6160 echo $ECHO_N "(cached) $ECHO_C" >&6 6161 fi 6162 ac_res=`eval echo '${'$as_ac_Header'}'` 6163 { echo "$as_me:$LINENO: result: $ac_res" >&5 6164 echo "${ECHO_T}$ac_res" >&6; } 6165 else 6166 # Is the header compilable? 6167 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6168 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6169 cat >conftest.$ac_ext <<_ACEOF 6170 /* confdefs.h. */ 6171 _ACEOF 6172 cat confdefs.h >>conftest.$ac_ext 6173 cat >>conftest.$ac_ext <<_ACEOF 6174 /* end confdefs.h. */ 6175 $ac_includes_default 6176 #include <$ac_header> 6177 _ACEOF 6178 rm -f conftest.$ac_objext 6179 if { (ac_try="$ac_compile" 6180 case "(($ac_try" in 6181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6182 *) ac_try_echo=$ac_try;; 6183 esac 6184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6185 (eval "$ac_compile") 2>conftest.er1 6186 ac_status=$? 6187 grep -v '^ *+' conftest.er1 >conftest.err 6188 rm -f conftest.er1 6189 cat conftest.err >&5 6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6191 (exit $ac_status); } && { 6192 test -z "$ac_cxx_werror_flag" || 6193 test ! -s conftest.err 6194 } && test -s conftest.$ac_objext; then 6195 ac_header_compiler=yes 6196 else 6197 echo "$as_me: failed program was:" >&5 6198 sed 's/^/| /' conftest.$ac_ext >&5 6199 6200 ac_header_compiler=no 6201 fi 6202 6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6205 echo "${ECHO_T}$ac_header_compiler" >&6; } 6206 6207 # Is the header present? 6208 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6210 cat >conftest.$ac_ext <<_ACEOF 6211 /* confdefs.h. */ 6212 _ACEOF 6213 cat confdefs.h >>conftest.$ac_ext 6214 cat >>conftest.$ac_ext <<_ACEOF 6215 /* end confdefs.h. */ 6216 #include <$ac_header> 6217 _ACEOF 6218 if { (ac_try="$ac_cpp conftest.$ac_ext" 6219 case "(($ac_try" in 6220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6221 *) ac_try_echo=$ac_try;; 6222 esac 6223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6225 ac_status=$? 6226 grep -v '^ *+' conftest.er1 >conftest.err 6227 rm -f conftest.er1 6228 cat conftest.err >&5 6229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6230 (exit $ac_status); } >/dev/null && { 6231 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6232 test ! -s conftest.err 6233 }; then 6234 ac_header_preproc=yes 6235 else 6236 echo "$as_me: failed program was:" >&5 6237 sed 's/^/| /' conftest.$ac_ext >&5 6238 6239 ac_header_preproc=no 6240 fi 6241 6242 rm -f conftest.err conftest.$ac_ext 6243 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6244 echo "${ECHO_T}$ac_header_preproc" >&6; } 6245 6246 # So? What about this header? 6247 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6248 yes:no: ) 6249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6253 ac_header_preproc=yes 6254 ;; 6255 no:yes:* ) 6256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6268 ( cat <<\_ASBOX 6269 ## ----------------------------------- ## 6270 ## Report this to rappture@nanohub.org ## 6271 ## ----------------------------------- ## 6272 _ASBOX 6273 ) | sed "s/^/$as_me: WARNING: /" >&2 6274 ;; 6275 esac 6276 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6279 echo $ECHO_N "(cached) $ECHO_C" >&6 6280 else 6281 eval "$as_ac_Header=\$ac_header_preproc" 6282 fi 6283 ac_res=`eval echo '${'$as_ac_Header'}'` 6284 { echo "$as_me:$LINENO: result: $ac_res" >&5 6285 echo "${ECHO_T}$ac_res" >&6; } 6286 6287 fi 6288 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5029 do : 5030 ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default" 5031 if test "x$ac_cv_header_fstream" = xyes; then : 6289 5032 cat >>confdefs.h <<_ACEOF 6290 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16291 _ACEOF 6292 6293 else 6294 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56295 echo "$as_me: WARNING: STL classes missing ?" >&2;}5033 #define HAVE_FSTREAM 1 5034 _ACEOF 5035 5036 else 5037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5038 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6296 5039 fi 6297 5040 6298 5041 done 6299 5042 6300 6301 5043 for ac_header in list 6302 do 6303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6305 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6308 echo $ECHO_N "(cached) $ECHO_C" >&6 6309 fi 6310 ac_res=`eval echo '${'$as_ac_Header'}'` 6311 { echo "$as_me:$LINENO: result: $ac_res" >&5 6312 echo "${ECHO_T}$ac_res" >&6; } 6313 else 6314 # Is the header compilable? 6315 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6317 cat >conftest.$ac_ext <<_ACEOF 6318 /* confdefs.h. */ 6319 _ACEOF 6320 cat confdefs.h >>conftest.$ac_ext 6321 cat >>conftest.$ac_ext <<_ACEOF 6322 /* end confdefs.h. */ 6323 $ac_includes_default 6324 #include <$ac_header> 6325 _ACEOF 6326 rm -f conftest.$ac_objext 6327 if { (ac_try="$ac_compile" 6328 case "(($ac_try" in 6329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6330 *) ac_try_echo=$ac_try;; 6331 esac 6332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6333 (eval "$ac_compile") 2>conftest.er1 6334 ac_status=$? 6335 grep -v '^ *+' conftest.er1 >conftest.err 6336 rm -f conftest.er1 6337 cat conftest.err >&5 6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6339 (exit $ac_status); } && { 6340 test -z "$ac_cxx_werror_flag" || 6341 test ! -s conftest.err 6342 } && test -s conftest.$ac_objext; then 6343 ac_header_compiler=yes 6344 else 6345 echo "$as_me: failed program was:" >&5 6346 sed 's/^/| /' conftest.$ac_ext >&5 6347 6348 ac_header_compiler=no 6349 fi 6350 6351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6352 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6353 echo "${ECHO_T}$ac_header_compiler" >&6; } 6354 6355 # Is the header present? 6356 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6358 cat >conftest.$ac_ext <<_ACEOF 6359 /* confdefs.h. */ 6360 _ACEOF 6361 cat confdefs.h >>conftest.$ac_ext 6362 cat >>conftest.$ac_ext <<_ACEOF 6363 /* end confdefs.h. */ 6364 #include <$ac_header> 6365 _ACEOF 6366 if { (ac_try="$ac_cpp conftest.$ac_ext" 6367 case "(($ac_try" in 6368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6369 *) ac_try_echo=$ac_try;; 6370 esac 6371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6372 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6373 ac_status=$? 6374 grep -v '^ *+' conftest.er1 >conftest.err 6375 rm -f conftest.er1 6376 cat conftest.err >&5 6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6378 (exit $ac_status); } >/dev/null && { 6379 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6380 test ! -s conftest.err 6381 }; then 6382 ac_header_preproc=yes 6383 else 6384 echo "$as_me: failed program was:" >&5 6385 sed 's/^/| /' conftest.$ac_ext >&5 6386 6387 ac_header_preproc=no 6388 fi 6389 6390 rm -f conftest.err conftest.$ac_ext 6391 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6392 echo "${ECHO_T}$ac_header_preproc" >&6; } 6393 6394 # So? What about this header? 6395 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6396 yes:no: ) 6397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6401 ac_header_preproc=yes 6402 ;; 6403 no:yes:* ) 6404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6411 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6416 ( cat <<\_ASBOX 6417 ## ----------------------------------- ## 6418 ## Report this to rappture@nanohub.org ## 6419 ## ----------------------------------- ## 6420 _ASBOX 6421 ) | sed "s/^/$as_me: WARNING: /" >&2 6422 ;; 6423 esac 6424 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6427 echo $ECHO_N "(cached) $ECHO_C" >&6 6428 else 6429 eval "$as_ac_Header=\$ac_header_preproc" 6430 fi 6431 ac_res=`eval echo '${'$as_ac_Header'}'` 6432 { echo "$as_me:$LINENO: result: $ac_res" >&5 6433 echo "${ECHO_T}$ac_res" >&6; } 6434 6435 fi 6436 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5044 do : 5045 ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default" 5046 if test "x$ac_cv_header_list" = xyes; then : 6437 5047 cat >>confdefs.h <<_ACEOF 6438 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16439 _ACEOF 6440 6441 else 6442 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56443 echo "$as_me: WARNING: STL classes missing ?" >&2;}5048 #define HAVE_LIST 1 5049 _ACEOF 5050 5051 else 5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5053 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6444 5054 fi 6445 5055 6446 5056 done 6447 5057 6448 6449 5058 for ac_header in iostream 6450 do 6451 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6453 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6456 echo $ECHO_N "(cached) $ECHO_C" >&6 6457 fi 6458 ac_res=`eval echo '${'$as_ac_Header'}'` 6459 { echo "$as_me:$LINENO: result: $ac_res" >&5 6460 echo "${ECHO_T}$ac_res" >&6; } 6461 else 6462 # Is the header compilable? 6463 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6465 cat >conftest.$ac_ext <<_ACEOF 6466 /* confdefs.h. */ 6467 _ACEOF 6468 cat confdefs.h >>conftest.$ac_ext 6469 cat >>conftest.$ac_ext <<_ACEOF 6470 /* end confdefs.h. */ 6471 $ac_includes_default 6472 #include <$ac_header> 6473 _ACEOF 6474 rm -f conftest.$ac_objext 6475 if { (ac_try="$ac_compile" 6476 case "(($ac_try" in 6477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6478 *) ac_try_echo=$ac_try;; 6479 esac 6480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6481 (eval "$ac_compile") 2>conftest.er1 6482 ac_status=$? 6483 grep -v '^ *+' conftest.er1 >conftest.err 6484 rm -f conftest.er1 6485 cat conftest.err >&5 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); } && { 6488 test -z "$ac_cxx_werror_flag" || 6489 test ! -s conftest.err 6490 } && test -s conftest.$ac_objext; then 6491 ac_header_compiler=yes 6492 else 6493 echo "$as_me: failed program was:" >&5 6494 sed 's/^/| /' conftest.$ac_ext >&5 6495 6496 ac_header_compiler=no 6497 fi 6498 6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6501 echo "${ECHO_T}$ac_header_compiler" >&6; } 6502 6503 # Is the header present? 6504 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6506 cat >conftest.$ac_ext <<_ACEOF 6507 /* confdefs.h. */ 6508 _ACEOF 6509 cat confdefs.h >>conftest.$ac_ext 6510 cat >>conftest.$ac_ext <<_ACEOF 6511 /* end confdefs.h. */ 6512 #include <$ac_header> 6513 _ACEOF 6514 if { (ac_try="$ac_cpp conftest.$ac_ext" 6515 case "(($ac_try" in 6516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6517 *) ac_try_echo=$ac_try;; 6518 esac 6519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6521 ac_status=$? 6522 grep -v '^ *+' conftest.er1 >conftest.err 6523 rm -f conftest.er1 6524 cat conftest.err >&5 6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6526 (exit $ac_status); } >/dev/null && { 6527 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6528 test ! -s conftest.err 6529 }; then 6530 ac_header_preproc=yes 6531 else 6532 echo "$as_me: failed program was:" >&5 6533 sed 's/^/| /' conftest.$ac_ext >&5 6534 6535 ac_header_preproc=no 6536 fi 6537 6538 rm -f conftest.err conftest.$ac_ext 6539 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6540 echo "${ECHO_T}$ac_header_preproc" >&6; } 6541 6542 # So? What about this header? 6543 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6544 yes:no: ) 6545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6548 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6549 ac_header_preproc=yes 6550 ;; 6551 no:yes:* ) 6552 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6554 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6555 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6556 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6557 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6558 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6559 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6562 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6563 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6564 ( cat <<\_ASBOX 6565 ## ----------------------------------- ## 6566 ## Report this to rappture@nanohub.org ## 6567 ## ----------------------------------- ## 6568 _ASBOX 6569 ) | sed "s/^/$as_me: WARNING: /" >&2 6570 ;; 6571 esac 6572 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6575 echo $ECHO_N "(cached) $ECHO_C" >&6 6576 else 6577 eval "$as_ac_Header=\$ac_header_preproc" 6578 fi 6579 ac_res=`eval echo '${'$as_ac_Header'}'` 6580 { echo "$as_me:$LINENO: result: $ac_res" >&5 6581 echo "${ECHO_T}$ac_res" >&6; } 6582 6583 fi 6584 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5059 do : 5060 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default" 5061 if test "x$ac_cv_header_iostream" = xyes; then : 6585 5062 cat >>confdefs.h <<_ACEOF 6586 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16587 _ACEOF 6588 6589 else 6590 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56591 echo "$as_me: WARNING: STL classes missing ?" >&2;}5063 #define HAVE_IOSTREAM 1 5064 _ACEOF 5065 5066 else 5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5068 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6592 5069 fi 6593 5070 6594 5071 done 6595 5072 6596 6597 5073 for ac_header in iterator 6598 do 6599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6601 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6604 echo $ECHO_N "(cached) $ECHO_C" >&6 6605 fi 6606 ac_res=`eval echo '${'$as_ac_Header'}'` 6607 { echo "$as_me:$LINENO: result: $ac_res" >&5 6608 echo "${ECHO_T}$ac_res" >&6; } 6609 else 6610 # Is the header compilable? 6611 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6613 cat >conftest.$ac_ext <<_ACEOF 6614 /* confdefs.h. */ 6615 _ACEOF 6616 cat confdefs.h >>conftest.$ac_ext 6617 cat >>conftest.$ac_ext <<_ACEOF 6618 /* end confdefs.h. */ 6619 $ac_includes_default 6620 #include <$ac_header> 6621 _ACEOF 6622 rm -f conftest.$ac_objext 6623 if { (ac_try="$ac_compile" 6624 case "(($ac_try" in 6625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6626 *) ac_try_echo=$ac_try;; 6627 esac 6628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6629 (eval "$ac_compile") 2>conftest.er1 6630 ac_status=$? 6631 grep -v '^ *+' conftest.er1 >conftest.err 6632 rm -f conftest.er1 6633 cat conftest.err >&5 6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6635 (exit $ac_status); } && { 6636 test -z "$ac_cxx_werror_flag" || 6637 test ! -s conftest.err 6638 } && test -s conftest.$ac_objext; then 6639 ac_header_compiler=yes 6640 else 6641 echo "$as_me: failed program was:" >&5 6642 sed 's/^/| /' conftest.$ac_ext >&5 6643 6644 ac_header_compiler=no 6645 fi 6646 6647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6648 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6649 echo "${ECHO_T}$ac_header_compiler" >&6; } 6650 6651 # Is the header present? 6652 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6654 cat >conftest.$ac_ext <<_ACEOF 6655 /* confdefs.h. */ 6656 _ACEOF 6657 cat confdefs.h >>conftest.$ac_ext 6658 cat >>conftest.$ac_ext <<_ACEOF 6659 /* end confdefs.h. */ 6660 #include <$ac_header> 6661 _ACEOF 6662 if { (ac_try="$ac_cpp conftest.$ac_ext" 6663 case "(($ac_try" in 6664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6665 *) ac_try_echo=$ac_try;; 6666 esac 6667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6669 ac_status=$? 6670 grep -v '^ *+' conftest.er1 >conftest.err 6671 rm -f conftest.er1 6672 cat conftest.err >&5 6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6674 (exit $ac_status); } >/dev/null && { 6675 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6676 test ! -s conftest.err 6677 }; then 6678 ac_header_preproc=yes 6679 else 6680 echo "$as_me: failed program was:" >&5 6681 sed 's/^/| /' conftest.$ac_ext >&5 6682 6683 ac_header_preproc=no 6684 fi 6685 6686 rm -f conftest.err conftest.$ac_ext 6687 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6688 echo "${ECHO_T}$ac_header_preproc" >&6; } 6689 6690 # So? What about this header? 6691 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6692 yes:no: ) 6693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6697 ac_header_preproc=yes 6698 ;; 6699 no:yes:* ) 6700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6712 ( cat <<\_ASBOX 6713 ## ----------------------------------- ## 6714 ## Report this to rappture@nanohub.org ## 6715 ## ----------------------------------- ## 6716 _ASBOX 6717 ) | sed "s/^/$as_me: WARNING: /" >&2 6718 ;; 6719 esac 6720 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6723 echo $ECHO_N "(cached) $ECHO_C" >&6 6724 else 6725 eval "$as_ac_Header=\$ac_header_preproc" 6726 fi 6727 ac_res=`eval echo '${'$as_ac_Header'}'` 6728 { echo "$as_me:$LINENO: result: $ac_res" >&5 6729 echo "${ECHO_T}$ac_res" >&6; } 6730 6731 fi 6732 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5074 do : 5075 ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default" 5076 if test "x$ac_cv_header_iterator" = xyes; then : 6733 5077 cat >>confdefs.h <<_ACEOF 6734 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16735 _ACEOF 6736 6737 else 6738 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56739 echo "$as_me: WARNING: STL classes missing ?" >&2;}5078 #define HAVE_ITERATOR 1 5079 _ACEOF 5080 5081 else 5082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5083 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6740 5084 fi 6741 5085 6742 5086 done 6743 5087 6744 6745 5088 for ac_header in sstream 6746 do 6747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6749 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6752 echo $ECHO_N "(cached) $ECHO_C" >&6 6753 fi 6754 ac_res=`eval echo '${'$as_ac_Header'}'` 6755 { echo "$as_me:$LINENO: result: $ac_res" >&5 6756 echo "${ECHO_T}$ac_res" >&6; } 6757 else 6758 # Is the header compilable? 6759 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6761 cat >conftest.$ac_ext <<_ACEOF 6762 /* confdefs.h. */ 6763 _ACEOF 6764 cat confdefs.h >>conftest.$ac_ext 6765 cat >>conftest.$ac_ext <<_ACEOF 6766 /* end confdefs.h. */ 6767 $ac_includes_default 6768 #include <$ac_header> 6769 _ACEOF 6770 rm -f conftest.$ac_objext 6771 if { (ac_try="$ac_compile" 6772 case "(($ac_try" in 6773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6774 *) ac_try_echo=$ac_try;; 6775 esac 6776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6777 (eval "$ac_compile") 2>conftest.er1 6778 ac_status=$? 6779 grep -v '^ *+' conftest.er1 >conftest.err 6780 rm -f conftest.er1 6781 cat conftest.err >&5 6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6783 (exit $ac_status); } && { 6784 test -z "$ac_cxx_werror_flag" || 6785 test ! -s conftest.err 6786 } && test -s conftest.$ac_objext; then 6787 ac_header_compiler=yes 6788 else 6789 echo "$as_me: failed program was:" >&5 6790 sed 's/^/| /' conftest.$ac_ext >&5 6791 6792 ac_header_compiler=no 6793 fi 6794 6795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6796 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6797 echo "${ECHO_T}$ac_header_compiler" >&6; } 6798 6799 # Is the header present? 6800 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6802 cat >conftest.$ac_ext <<_ACEOF 6803 /* confdefs.h. */ 6804 _ACEOF 6805 cat confdefs.h >>conftest.$ac_ext 6806 cat >>conftest.$ac_ext <<_ACEOF 6807 /* end confdefs.h. */ 6808 #include <$ac_header> 6809 _ACEOF 6810 if { (ac_try="$ac_cpp conftest.$ac_ext" 6811 case "(($ac_try" in 6812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6813 *) ac_try_echo=$ac_try;; 6814 esac 6815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6817 ac_status=$? 6818 grep -v '^ *+' conftest.er1 >conftest.err 6819 rm -f conftest.er1 6820 cat conftest.err >&5 6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6822 (exit $ac_status); } >/dev/null && { 6823 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6824 test ! -s conftest.err 6825 }; then 6826 ac_header_preproc=yes 6827 else 6828 echo "$as_me: failed program was:" >&5 6829 sed 's/^/| /' conftest.$ac_ext >&5 6830 6831 ac_header_preproc=no 6832 fi 6833 6834 rm -f conftest.err conftest.$ac_ext 6835 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6836 echo "${ECHO_T}$ac_header_preproc" >&6; } 6837 6838 # So? What about this header? 6839 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6840 yes:no: ) 6841 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6845 ac_header_preproc=yes 6846 ;; 6847 no:yes:* ) 6848 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6850 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6851 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6852 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6854 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6855 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6858 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6860 ( cat <<\_ASBOX 6861 ## ----------------------------------- ## 6862 ## Report this to rappture@nanohub.org ## 6863 ## ----------------------------------- ## 6864 _ASBOX 6865 ) | sed "s/^/$as_me: WARNING: /" >&2 6866 ;; 6867 esac 6868 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6871 echo $ECHO_N "(cached) $ECHO_C" >&6 6872 else 6873 eval "$as_ac_Header=\$ac_header_preproc" 6874 fi 6875 ac_res=`eval echo '${'$as_ac_Header'}'` 6876 { echo "$as_me:$LINENO: result: $ac_res" >&5 6877 echo "${ECHO_T}$ac_res" >&6; } 6878 6879 fi 6880 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5089 do : 5090 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 5091 if test "x$ac_cv_header_sstream" = xyes; then : 6881 5092 cat >>confdefs.h <<_ACEOF 6882 #define `echo "HAVE_$ac_header" | $as_tr_cpp`16883 _ACEOF 6884 6885 else 6886 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&56887 echo "$as_me: WARNING: STL classes missing ?" >&2;}5093 #define HAVE_SSTREAM 1 5094 _ACEOF 5095 5096 else 5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5098 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 6888 5099 fi 6889 5100 6890 5101 done 6891 5102 6892 6893 5103 for ac_header in stack 6894 do 6895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6897 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6900 echo $ECHO_N "(cached) $ECHO_C" >&6 6901 fi 6902 ac_res=`eval echo '${'$as_ac_Header'}'` 6903 { echo "$as_me:$LINENO: result: $ac_res" >&5 6904 echo "${ECHO_T}$ac_res" >&6; } 6905 else 6906 # Is the header compilable? 6907 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6909 cat >conftest.$ac_ext <<_ACEOF 6910 /* confdefs.h. */ 6911 _ACEOF 6912 cat confdefs.h >>conftest.$ac_ext 6913 cat >>conftest.$ac_ext <<_ACEOF 6914 /* end confdefs.h. */ 6915 $ac_includes_default 6916 #include <$ac_header> 6917 _ACEOF 6918 rm -f conftest.$ac_objext 6919 if { (ac_try="$ac_compile" 6920 case "(($ac_try" in 6921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6922 *) ac_try_echo=$ac_try;; 6923 esac 6924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6925 (eval "$ac_compile") 2>conftest.er1 6926 ac_status=$? 6927 grep -v '^ *+' conftest.er1 >conftest.err 6928 rm -f conftest.er1 6929 cat conftest.err >&5 6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6931 (exit $ac_status); } && { 6932 test -z "$ac_cxx_werror_flag" || 6933 test ! -s conftest.err 6934 } && test -s conftest.$ac_objext; then 6935 ac_header_compiler=yes 6936 else 6937 echo "$as_me: failed program was:" >&5 6938 sed 's/^/| /' conftest.$ac_ext >&5 6939 6940 ac_header_compiler=no 6941 fi 6942 6943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6944 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6945 echo "${ECHO_T}$ac_header_compiler" >&6; } 6946 6947 # Is the header present? 6948 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6950 cat >conftest.$ac_ext <<_ACEOF 6951 /* confdefs.h. */ 6952 _ACEOF 6953 cat confdefs.h >>conftest.$ac_ext 6954 cat >>conftest.$ac_ext <<_ACEOF 6955 /* end confdefs.h. */ 6956 #include <$ac_header> 6957 _ACEOF 6958 if { (ac_try="$ac_cpp conftest.$ac_ext" 6959 case "(($ac_try" in 6960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6961 *) ac_try_echo=$ac_try;; 6962 esac 6963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6965 ac_status=$? 6966 grep -v '^ *+' conftest.er1 >conftest.err 6967 rm -f conftest.er1 6968 cat conftest.err >&5 6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6970 (exit $ac_status); } >/dev/null && { 6971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6972 test ! -s conftest.err 6973 }; then 6974 ac_header_preproc=yes 6975 else 6976 echo "$as_me: failed program was:" >&5 6977 sed 's/^/| /' conftest.$ac_ext >&5 6978 6979 ac_header_preproc=no 6980 fi 6981 6982 rm -f conftest.err conftest.$ac_ext 6983 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6984 echo "${ECHO_T}$ac_header_preproc" >&6; } 6985 6986 # So? What about this header? 6987 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6988 yes:no: ) 6989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6993 ac_header_preproc=yes 6994 ;; 6995 no:yes:* ) 6996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7003 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7008 ( cat <<\_ASBOX 7009 ## ----------------------------------- ## 7010 ## Report this to rappture@nanohub.org ## 7011 ## ----------------------------------- ## 7012 _ASBOX 7013 ) | sed "s/^/$as_me: WARNING: /" >&2 7014 ;; 7015 esac 7016 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7019 echo $ECHO_N "(cached) $ECHO_C" >&6 7020 else 7021 eval "$as_ac_Header=\$ac_header_preproc" 7022 fi 7023 ac_res=`eval echo '${'$as_ac_Header'}'` 7024 { echo "$as_me:$LINENO: result: $ac_res" >&5 7025 echo "${ECHO_T}$ac_res" >&6; } 7026 7027 fi 7028 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5104 do : 5105 ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default" 5106 if test "x$ac_cv_header_stack" = xyes; then : 7029 5107 cat >>confdefs.h <<_ACEOF 7030 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17031 _ACEOF 7032 7033 else 7034 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57035 echo "$as_me: WARNING: STL classes missing ?" >&2;}5108 #define HAVE_STACK 1 5109 _ACEOF 5110 5111 else 5112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5113 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7036 5114 fi 7037 5115 7038 5116 done 7039 5117 7040 7041 5118 for ac_header in string 7042 do 7043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7045 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7048 echo $ECHO_N "(cached) $ECHO_C" >&6 7049 fi 7050 ac_res=`eval echo '${'$as_ac_Header'}'` 7051 { echo "$as_me:$LINENO: result: $ac_res" >&5 7052 echo "${ECHO_T}$ac_res" >&6; } 7053 else 7054 # Is the header compilable? 7055 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7057 cat >conftest.$ac_ext <<_ACEOF 7058 /* confdefs.h. */ 7059 _ACEOF 7060 cat confdefs.h >>conftest.$ac_ext 7061 cat >>conftest.$ac_ext <<_ACEOF 7062 /* end confdefs.h. */ 7063 $ac_includes_default 7064 #include <$ac_header> 7065 _ACEOF 7066 rm -f conftest.$ac_objext 7067 if { (ac_try="$ac_compile" 7068 case "(($ac_try" in 7069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7070 *) ac_try_echo=$ac_try;; 7071 esac 7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7073 (eval "$ac_compile") 2>conftest.er1 7074 ac_status=$? 7075 grep -v '^ *+' conftest.er1 >conftest.err 7076 rm -f conftest.er1 7077 cat conftest.err >&5 7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7079 (exit $ac_status); } && { 7080 test -z "$ac_cxx_werror_flag" || 7081 test ! -s conftest.err 7082 } && test -s conftest.$ac_objext; then 7083 ac_header_compiler=yes 7084 else 7085 echo "$as_me: failed program was:" >&5 7086 sed 's/^/| /' conftest.$ac_ext >&5 7087 7088 ac_header_compiler=no 7089 fi 7090 7091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7092 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7093 echo "${ECHO_T}$ac_header_compiler" >&6; } 7094 7095 # Is the header present? 7096 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7098 cat >conftest.$ac_ext <<_ACEOF 7099 /* confdefs.h. */ 7100 _ACEOF 7101 cat confdefs.h >>conftest.$ac_ext 7102 cat >>conftest.$ac_ext <<_ACEOF 7103 /* end confdefs.h. */ 7104 #include <$ac_header> 7105 _ACEOF 7106 if { (ac_try="$ac_cpp conftest.$ac_ext" 7107 case "(($ac_try" in 7108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7109 *) ac_try_echo=$ac_try;; 7110 esac 7111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7113 ac_status=$? 7114 grep -v '^ *+' conftest.er1 >conftest.err 7115 rm -f conftest.er1 7116 cat conftest.err >&5 7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7118 (exit $ac_status); } >/dev/null && { 7119 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7120 test ! -s conftest.err 7121 }; then 7122 ac_header_preproc=yes 7123 else 7124 echo "$as_me: failed program was:" >&5 7125 sed 's/^/| /' conftest.$ac_ext >&5 7126 7127 ac_header_preproc=no 7128 fi 7129 7130 rm -f conftest.err conftest.$ac_ext 7131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7132 echo "${ECHO_T}$ac_header_preproc" >&6; } 7133 7134 # So? What about this header? 7135 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7136 yes:no: ) 7137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7141 ac_header_preproc=yes 7142 ;; 7143 no:yes:* ) 7144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7156 ( cat <<\_ASBOX 7157 ## ----------------------------------- ## 7158 ## Report this to rappture@nanohub.org ## 7159 ## ----------------------------------- ## 7160 _ASBOX 7161 ) | sed "s/^/$as_me: WARNING: /" >&2 7162 ;; 7163 esac 7164 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7167 echo $ECHO_N "(cached) $ECHO_C" >&6 7168 else 7169 eval "$as_ac_Header=\$ac_header_preproc" 7170 fi 7171 ac_res=`eval echo '${'$as_ac_Header'}'` 7172 { echo "$as_me:$LINENO: result: $ac_res" >&5 7173 echo "${ECHO_T}$ac_res" >&6; } 7174 7175 fi 7176 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5119 do : 5120 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default" 5121 if test "x$ac_cv_header_string" = xyes; then : 7177 5122 cat >>confdefs.h <<_ACEOF 7178 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17179 _ACEOF 7180 7181 else 7182 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57183 echo "$as_me: WARNING: STL classes missing ?" >&2;}5123 #define HAVE_STRING 1 5124 _ACEOF 5125 5126 else 5127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5128 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7184 5129 fi 7185 5130 7186 5131 done 7187 5132 7188 7189 5133 for ac_header in vector 7190 do 7191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7193 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7196 echo $ECHO_N "(cached) $ECHO_C" >&6 7197 fi 7198 ac_res=`eval echo '${'$as_ac_Header'}'` 7199 { echo "$as_me:$LINENO: result: $ac_res" >&5 7200 echo "${ECHO_T}$ac_res" >&6; } 7201 else 7202 # Is the header compilable? 7203 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7205 cat >conftest.$ac_ext <<_ACEOF 7206 /* confdefs.h. */ 7207 _ACEOF 7208 cat confdefs.h >>conftest.$ac_ext 7209 cat >>conftest.$ac_ext <<_ACEOF 7210 /* end confdefs.h. */ 7211 $ac_includes_default 7212 #include <$ac_header> 7213 _ACEOF 7214 rm -f conftest.$ac_objext 7215 if { (ac_try="$ac_compile" 7216 case "(($ac_try" in 7217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7218 *) ac_try_echo=$ac_try;; 7219 esac 7220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7221 (eval "$ac_compile") 2>conftest.er1 7222 ac_status=$? 7223 grep -v '^ *+' conftest.er1 >conftest.err 7224 rm -f conftest.er1 7225 cat conftest.err >&5 7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7227 (exit $ac_status); } && { 7228 test -z "$ac_cxx_werror_flag" || 7229 test ! -s conftest.err 7230 } && test -s conftest.$ac_objext; then 7231 ac_header_compiler=yes 7232 else 7233 echo "$as_me: failed program was:" >&5 7234 sed 's/^/| /' conftest.$ac_ext >&5 7235 7236 ac_header_compiler=no 7237 fi 7238 7239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7240 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7241 echo "${ECHO_T}$ac_header_compiler" >&6; } 7242 7243 # Is the header present? 7244 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7245 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7246 cat >conftest.$ac_ext <<_ACEOF 7247 /* confdefs.h. */ 7248 _ACEOF 7249 cat confdefs.h >>conftest.$ac_ext 7250 cat >>conftest.$ac_ext <<_ACEOF 7251 /* end confdefs.h. */ 7252 #include <$ac_header> 7253 _ACEOF 7254 if { (ac_try="$ac_cpp conftest.$ac_ext" 7255 case "(($ac_try" in 7256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7257 *) ac_try_echo=$ac_try;; 7258 esac 7259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7260 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7261 ac_status=$? 7262 grep -v '^ *+' conftest.er1 >conftest.err 7263 rm -f conftest.er1 7264 cat conftest.err >&5 7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7266 (exit $ac_status); } >/dev/null && { 7267 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7268 test ! -s conftest.err 7269 }; then 7270 ac_header_preproc=yes 7271 else 7272 echo "$as_me: failed program was:" >&5 7273 sed 's/^/| /' conftest.$ac_ext >&5 7274 7275 ac_header_preproc=no 7276 fi 7277 7278 rm -f conftest.err conftest.$ac_ext 7279 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7280 echo "${ECHO_T}$ac_header_preproc" >&6; } 7281 7282 # So? What about this header? 7283 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7284 yes:no: ) 7285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7286 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7288 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7289 ac_header_preproc=yes 7290 ;; 7291 no:yes:* ) 7292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7296 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7297 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7298 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7299 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7302 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7303 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7304 ( cat <<\_ASBOX 7305 ## ----------------------------------- ## 7306 ## Report this to rappture@nanohub.org ## 7307 ## ----------------------------------- ## 7308 _ASBOX 7309 ) | sed "s/^/$as_me: WARNING: /" >&2 7310 ;; 7311 esac 7312 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7315 echo $ECHO_N "(cached) $ECHO_C" >&6 7316 else 7317 eval "$as_ac_Header=\$ac_header_preproc" 7318 fi 7319 ac_res=`eval echo '${'$as_ac_Header'}'` 7320 { echo "$as_me:$LINENO: result: $ac_res" >&5 7321 echo "${ECHO_T}$ac_res" >&6; } 7322 7323 fi 7324 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5134 do : 5135 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default" 5136 if test "x$ac_cv_header_vector" = xyes; then : 7325 5137 cat >>confdefs.h <<_ACEOF 7326 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17327 _ACEOF 7328 7329 else 7330 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&57331 echo "$as_me: WARNING: STL classes missing ?" >&2;}5138 #define HAVE_VECTOR 1 5139 _ACEOF 5140 5141 else 5142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5 5143 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;} 7332 5144 fi 7333 5145 … … 7335 5147 7336 5148 7337 7338 5149 for ac_header in assert.h 7339 do 7340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7342 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7345 echo $ECHO_N "(cached) $ECHO_C" >&6 7346 fi 7347 ac_res=`eval echo '${'$as_ac_Header'}'` 7348 { echo "$as_me:$LINENO: result: $ac_res" >&5 7349 echo "${ECHO_T}$ac_res" >&6; } 7350 else 7351 # Is the header compilable? 7352 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7354 cat >conftest.$ac_ext <<_ACEOF 7355 /* confdefs.h. */ 7356 _ACEOF 7357 cat confdefs.h >>conftest.$ac_ext 7358 cat >>conftest.$ac_ext <<_ACEOF 7359 /* end confdefs.h. */ 7360 $ac_includes_default 7361 #include <$ac_header> 7362 _ACEOF 7363 rm -f conftest.$ac_objext 7364 if { (ac_try="$ac_compile" 7365 case "(($ac_try" in 7366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7367 *) ac_try_echo=$ac_try;; 7368 esac 7369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7370 (eval "$ac_compile") 2>conftest.er1 7371 ac_status=$? 7372 grep -v '^ *+' conftest.er1 >conftest.err 7373 rm -f conftest.er1 7374 cat conftest.err >&5 7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7376 (exit $ac_status); } && { 7377 test -z "$ac_cxx_werror_flag" || 7378 test ! -s conftest.err 7379 } && test -s conftest.$ac_objext; then 7380 ac_header_compiler=yes 7381 else 7382 echo "$as_me: failed program was:" >&5 7383 sed 's/^/| /' conftest.$ac_ext >&5 7384 7385 ac_header_compiler=no 7386 fi 7387 7388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7389 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7390 echo "${ECHO_T}$ac_header_compiler" >&6; } 7391 7392 # Is the header present? 7393 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7395 cat >conftest.$ac_ext <<_ACEOF 7396 /* confdefs.h. */ 7397 _ACEOF 7398 cat confdefs.h >>conftest.$ac_ext 7399 cat >>conftest.$ac_ext <<_ACEOF 7400 /* end confdefs.h. */ 7401 #include <$ac_header> 7402 _ACEOF 7403 if { (ac_try="$ac_cpp conftest.$ac_ext" 7404 case "(($ac_try" in 7405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7406 *) ac_try_echo=$ac_try;; 7407 esac 7408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7409 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7410 ac_status=$? 7411 grep -v '^ *+' conftest.er1 >conftest.err 7412 rm -f conftest.er1 7413 cat conftest.err >&5 7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7415 (exit $ac_status); } >/dev/null && { 7416 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7417 test ! -s conftest.err 7418 }; then 7419 ac_header_preproc=yes 7420 else 7421 echo "$as_me: failed program was:" >&5 7422 sed 's/^/| /' conftest.$ac_ext >&5 7423 7424 ac_header_preproc=no 7425 fi 7426 7427 rm -f conftest.err conftest.$ac_ext 7428 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7429 echo "${ECHO_T}$ac_header_preproc" >&6; } 7430 7431 # So? What about this header? 7432 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7433 yes:no: ) 7434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7438 ac_header_preproc=yes 7439 ;; 7440 no:yes:* ) 7441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7453 ( cat <<\_ASBOX 7454 ## ----------------------------------- ## 7455 ## Report this to rappture@nanohub.org ## 7456 ## ----------------------------------- ## 7457 _ASBOX 7458 ) | sed "s/^/$as_me: WARNING: /" >&2 7459 ;; 7460 esac 7461 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7464 echo $ECHO_N "(cached) $ECHO_C" >&6 7465 else 7466 eval "$as_ac_Header=\$ac_header_preproc" 7467 fi 7468 ac_res=`eval echo '${'$as_ac_Header'}'` 7469 { echo "$as_me:$LINENO: result: $ac_res" >&5 7470 echo "${ECHO_T}$ac_res" >&6; } 7471 7472 fi 7473 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5150 do : 5151 ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 5152 if test "x$ac_cv_header_assert_h" = xyes; then : 7474 5153 cat >>confdefs.h <<_ACEOF 7475 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17476 _ACEOF 7477 7478 else 7479 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57480 echo "$as_me: WARNING: C headers missing ?" >&2;}5154 #define HAVE_ASSERT_H 1 5155 _ACEOF 5156 5157 else 5158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5159 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7481 5160 fi 7482 5161 7483 5162 done 7484 5163 7485 7486 5164 for ac_header in ctype.h 7487 do 7488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7490 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7493 echo $ECHO_N "(cached) $ECHO_C" >&6 7494 fi 7495 ac_res=`eval echo '${'$as_ac_Header'}'` 7496 { echo "$as_me:$LINENO: result: $ac_res" >&5 7497 echo "${ECHO_T}$ac_res" >&6; } 7498 else 7499 # Is the header compilable? 7500 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7502 cat >conftest.$ac_ext <<_ACEOF 7503 /* confdefs.h. */ 7504 _ACEOF 7505 cat confdefs.h >>conftest.$ac_ext 7506 cat >>conftest.$ac_ext <<_ACEOF 7507 /* end confdefs.h. */ 7508 $ac_includes_default 7509 #include <$ac_header> 7510 _ACEOF 7511 rm -f conftest.$ac_objext 7512 if { (ac_try="$ac_compile" 7513 case "(($ac_try" in 7514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7515 *) ac_try_echo=$ac_try;; 7516 esac 7517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7518 (eval "$ac_compile") 2>conftest.er1 7519 ac_status=$? 7520 grep -v '^ *+' conftest.er1 >conftest.err 7521 rm -f conftest.er1 7522 cat conftest.err >&5 7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7524 (exit $ac_status); } && { 7525 test -z "$ac_cxx_werror_flag" || 7526 test ! -s conftest.err 7527 } && test -s conftest.$ac_objext; then 7528 ac_header_compiler=yes 7529 else 7530 echo "$as_me: failed program was:" >&5 7531 sed 's/^/| /' conftest.$ac_ext >&5 7532 7533 ac_header_compiler=no 7534 fi 7535 7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7538 echo "${ECHO_T}$ac_header_compiler" >&6; } 7539 7540 # Is the header present? 7541 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7543 cat >conftest.$ac_ext <<_ACEOF 7544 /* confdefs.h. */ 7545 _ACEOF 7546 cat confdefs.h >>conftest.$ac_ext 7547 cat >>conftest.$ac_ext <<_ACEOF 7548 /* end confdefs.h. */ 7549 #include <$ac_header> 7550 _ACEOF 7551 if { (ac_try="$ac_cpp conftest.$ac_ext" 7552 case "(($ac_try" in 7553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7554 *) ac_try_echo=$ac_try;; 7555 esac 7556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7558 ac_status=$? 7559 grep -v '^ *+' conftest.er1 >conftest.err 7560 rm -f conftest.er1 7561 cat conftest.err >&5 7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7563 (exit $ac_status); } >/dev/null && { 7564 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7565 test ! -s conftest.err 7566 }; then 7567 ac_header_preproc=yes 7568 else 7569 echo "$as_me: failed program was:" >&5 7570 sed 's/^/| /' conftest.$ac_ext >&5 7571 7572 ac_header_preproc=no 7573 fi 7574 7575 rm -f conftest.err conftest.$ac_ext 7576 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7577 echo "${ECHO_T}$ac_header_preproc" >&6; } 7578 7579 # So? What about this header? 7580 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7581 yes:no: ) 7582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7586 ac_header_preproc=yes 7587 ;; 7588 no:yes:* ) 7589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7601 ( cat <<\_ASBOX 7602 ## ----------------------------------- ## 7603 ## Report this to rappture@nanohub.org ## 7604 ## ----------------------------------- ## 7605 _ASBOX 7606 ) | sed "s/^/$as_me: WARNING: /" >&2 7607 ;; 7608 esac 7609 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7612 echo $ECHO_N "(cached) $ECHO_C" >&6 7613 else 7614 eval "$as_ac_Header=\$ac_header_preproc" 7615 fi 7616 ac_res=`eval echo '${'$as_ac_Header'}'` 7617 { echo "$as_me:$LINENO: result: $ac_res" >&5 7618 echo "${ECHO_T}$ac_res" >&6; } 7619 7620 fi 7621 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5165 do : 5166 ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 5167 if test "x$ac_cv_header_ctype_h" = xyes; then : 7622 5168 cat >>confdefs.h <<_ACEOF 7623 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17624 _ACEOF 7625 7626 else 7627 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57628 echo "$as_me: WARNING: C headers missing ?" >&2;}5169 #define HAVE_CTYPE_H 1 5170 _ACEOF 5171 5172 else 5173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5174 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7629 5175 fi 7630 5176 7631 5177 done 7632 5178 7633 7634 5179 for ac_header in errno.h 7635 do 7636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7638 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7641 echo $ECHO_N "(cached) $ECHO_C" >&6 7642 fi 7643 ac_res=`eval echo '${'$as_ac_Header'}'` 7644 { echo "$as_me:$LINENO: result: $ac_res" >&5 7645 echo "${ECHO_T}$ac_res" >&6; } 7646 else 7647 # Is the header compilable? 7648 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7650 cat >conftest.$ac_ext <<_ACEOF 7651 /* confdefs.h. */ 7652 _ACEOF 7653 cat confdefs.h >>conftest.$ac_ext 7654 cat >>conftest.$ac_ext <<_ACEOF 7655 /* end confdefs.h. */ 7656 $ac_includes_default 7657 #include <$ac_header> 7658 _ACEOF 7659 rm -f conftest.$ac_objext 7660 if { (ac_try="$ac_compile" 7661 case "(($ac_try" in 7662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7663 *) ac_try_echo=$ac_try;; 7664 esac 7665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7666 (eval "$ac_compile") 2>conftest.er1 7667 ac_status=$? 7668 grep -v '^ *+' conftest.er1 >conftest.err 7669 rm -f conftest.er1 7670 cat conftest.err >&5 7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 (exit $ac_status); } && { 7673 test -z "$ac_cxx_werror_flag" || 7674 test ! -s conftest.err 7675 } && test -s conftest.$ac_objext; then 7676 ac_header_compiler=yes 7677 else 7678 echo "$as_me: failed program was:" >&5 7679 sed 's/^/| /' conftest.$ac_ext >&5 7680 7681 ac_header_compiler=no 7682 fi 7683 7684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7686 echo "${ECHO_T}$ac_header_compiler" >&6; } 7687 7688 # Is the header present? 7689 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7691 cat >conftest.$ac_ext <<_ACEOF 7692 /* confdefs.h. */ 7693 _ACEOF 7694 cat confdefs.h >>conftest.$ac_ext 7695 cat >>conftest.$ac_ext <<_ACEOF 7696 /* end confdefs.h. */ 7697 #include <$ac_header> 7698 _ACEOF 7699 if { (ac_try="$ac_cpp conftest.$ac_ext" 7700 case "(($ac_try" in 7701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7702 *) ac_try_echo=$ac_try;; 7703 esac 7704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7706 ac_status=$? 7707 grep -v '^ *+' conftest.er1 >conftest.err 7708 rm -f conftest.er1 7709 cat conftest.err >&5 7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7711 (exit $ac_status); } >/dev/null && { 7712 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7713 test ! -s conftest.err 7714 }; then 7715 ac_header_preproc=yes 7716 else 7717 echo "$as_me: failed program was:" >&5 7718 sed 's/^/| /' conftest.$ac_ext >&5 7719 7720 ac_header_preproc=no 7721 fi 7722 7723 rm -f conftest.err conftest.$ac_ext 7724 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7725 echo "${ECHO_T}$ac_header_preproc" >&6; } 7726 7727 # So? What about this header? 7728 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7729 yes:no: ) 7730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7734 ac_header_preproc=yes 7735 ;; 7736 no:yes:* ) 7737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7749 ( cat <<\_ASBOX 7750 ## ----------------------------------- ## 7751 ## Report this to rappture@nanohub.org ## 7752 ## ----------------------------------- ## 7753 _ASBOX 7754 ) | sed "s/^/$as_me: WARNING: /" >&2 7755 ;; 7756 esac 7757 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7760 echo $ECHO_N "(cached) $ECHO_C" >&6 7761 else 7762 eval "$as_ac_Header=\$ac_header_preproc" 7763 fi 7764 ac_res=`eval echo '${'$as_ac_Header'}'` 7765 { echo "$as_me:$LINENO: result: $ac_res" >&5 7766 echo "${ECHO_T}$ac_res" >&6; } 7767 7768 fi 7769 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5180 do : 5181 ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 5182 if test "x$ac_cv_header_errno_h" = xyes; then : 7770 5183 cat >>confdefs.h <<_ACEOF 7771 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17772 _ACEOF 7773 7774 else 7775 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57776 echo "$as_me: WARNING: C headers missing ?" >&2;}5184 #define HAVE_ERRNO_H 1 5185 _ACEOF 5186 5187 else 5188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5189 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7777 5190 fi 7778 5191 7779 5192 done 7780 5193 7781 7782 5194 for ac_header in limits.h 7783 do 7784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7786 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7789 echo $ECHO_N "(cached) $ECHO_C" >&6 7790 fi 7791 ac_res=`eval echo '${'$as_ac_Header'}'` 7792 { echo "$as_me:$LINENO: result: $ac_res" >&5 7793 echo "${ECHO_T}$ac_res" >&6; } 7794 else 7795 # Is the header compilable? 7796 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7798 cat >conftest.$ac_ext <<_ACEOF 7799 /* confdefs.h. */ 7800 _ACEOF 7801 cat confdefs.h >>conftest.$ac_ext 7802 cat >>conftest.$ac_ext <<_ACEOF 7803 /* end confdefs.h. */ 7804 $ac_includes_default 7805 #include <$ac_header> 7806 _ACEOF 7807 rm -f conftest.$ac_objext 7808 if { (ac_try="$ac_compile" 7809 case "(($ac_try" in 7810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7811 *) ac_try_echo=$ac_try;; 7812 esac 7813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7814 (eval "$ac_compile") 2>conftest.er1 7815 ac_status=$? 7816 grep -v '^ *+' conftest.er1 >conftest.err 7817 rm -f conftest.er1 7818 cat conftest.err >&5 7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7820 (exit $ac_status); } && { 7821 test -z "$ac_cxx_werror_flag" || 7822 test ! -s conftest.err 7823 } && test -s conftest.$ac_objext; then 7824 ac_header_compiler=yes 7825 else 7826 echo "$as_me: failed program was:" >&5 7827 sed 's/^/| /' conftest.$ac_ext >&5 7828 7829 ac_header_compiler=no 7830 fi 7831 7832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7833 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7834 echo "${ECHO_T}$ac_header_compiler" >&6; } 7835 7836 # Is the header present? 7837 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7839 cat >conftest.$ac_ext <<_ACEOF 7840 /* confdefs.h. */ 7841 _ACEOF 7842 cat confdefs.h >>conftest.$ac_ext 7843 cat >>conftest.$ac_ext <<_ACEOF 7844 /* end confdefs.h. */ 7845 #include <$ac_header> 7846 _ACEOF 7847 if { (ac_try="$ac_cpp conftest.$ac_ext" 7848 case "(($ac_try" in 7849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7850 *) ac_try_echo=$ac_try;; 7851 esac 7852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7854 ac_status=$? 7855 grep -v '^ *+' conftest.er1 >conftest.err 7856 rm -f conftest.er1 7857 cat conftest.err >&5 7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7859 (exit $ac_status); } >/dev/null && { 7860 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7861 test ! -s conftest.err 7862 }; then 7863 ac_header_preproc=yes 7864 else 7865 echo "$as_me: failed program was:" >&5 7866 sed 's/^/| /' conftest.$ac_ext >&5 7867 7868 ac_header_preproc=no 7869 fi 7870 7871 rm -f conftest.err conftest.$ac_ext 7872 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7873 echo "${ECHO_T}$ac_header_preproc" >&6; } 7874 7875 # So? What about this header? 7876 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7877 yes:no: ) 7878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7882 ac_header_preproc=yes 7883 ;; 7884 no:yes:* ) 7885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7897 ( cat <<\_ASBOX 7898 ## ----------------------------------- ## 7899 ## Report this to rappture@nanohub.org ## 7900 ## ----------------------------------- ## 7901 _ASBOX 7902 ) | sed "s/^/$as_me: WARNING: /" >&2 7903 ;; 7904 esac 7905 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7908 echo $ECHO_N "(cached) $ECHO_C" >&6 7909 else 7910 eval "$as_ac_Header=\$ac_header_preproc" 7911 fi 7912 ac_res=`eval echo '${'$as_ac_Header'}'` 7913 { echo "$as_me:$LINENO: result: $ac_res" >&5 7914 echo "${ECHO_T}$ac_res" >&6; } 7915 7916 fi 7917 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5195 do : 5196 ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 5197 if test "x$ac_cv_header_limits_h" = xyes; then : 7918 5198 cat >>confdefs.h <<_ACEOF 7919 #define `echo "HAVE_$ac_header" | $as_tr_cpp`17920 _ACEOF 7921 7922 else 7923 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&57924 echo "$as_me: WARNING: C headers missing ?" >&2;}5199 #define HAVE_LIMITS_H 1 5200 _ACEOF 5201 5202 else 5203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5204 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 7925 5205 fi 7926 5206 7927 5207 done 7928 5208 7929 7930 5209 for ac_header in string.h 7931 do 7932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7934 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7937 echo $ECHO_N "(cached) $ECHO_C" >&6 7938 fi 7939 ac_res=`eval echo '${'$as_ac_Header'}'` 7940 { echo "$as_me:$LINENO: result: $ac_res" >&5 7941 echo "${ECHO_T}$ac_res" >&6; } 7942 else 7943 # Is the header compilable? 7944 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7946 cat >conftest.$ac_ext <<_ACEOF 7947 /* confdefs.h. */ 7948 _ACEOF 7949 cat confdefs.h >>conftest.$ac_ext 7950 cat >>conftest.$ac_ext <<_ACEOF 7951 /* end confdefs.h. */ 7952 $ac_includes_default 7953 #include <$ac_header> 7954 _ACEOF 7955 rm -f conftest.$ac_objext 7956 if { (ac_try="$ac_compile" 7957 case "(($ac_try" in 7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7959 *) ac_try_echo=$ac_try;; 7960 esac 7961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7962 (eval "$ac_compile") 2>conftest.er1 7963 ac_status=$? 7964 grep -v '^ *+' conftest.er1 >conftest.err 7965 rm -f conftest.er1 7966 cat conftest.err >&5 7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7968 (exit $ac_status); } && { 7969 test -z "$ac_cxx_werror_flag" || 7970 test ! -s conftest.err 7971 } && test -s conftest.$ac_objext; then 7972 ac_header_compiler=yes 7973 else 7974 echo "$as_me: failed program was:" >&5 7975 sed 's/^/| /' conftest.$ac_ext >&5 7976 7977 ac_header_compiler=no 7978 fi 7979 7980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7981 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7982 echo "${ECHO_T}$ac_header_compiler" >&6; } 7983 7984 # Is the header present? 7985 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7987 cat >conftest.$ac_ext <<_ACEOF 7988 /* confdefs.h. */ 7989 _ACEOF 7990 cat confdefs.h >>conftest.$ac_ext 7991 cat >>conftest.$ac_ext <<_ACEOF 7992 /* end confdefs.h. */ 7993 #include <$ac_header> 7994 _ACEOF 7995 if { (ac_try="$ac_cpp conftest.$ac_ext" 7996 case "(($ac_try" in 7997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7998 *) ac_try_echo=$ac_try;; 7999 esac 8000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8002 ac_status=$? 8003 grep -v '^ *+' conftest.er1 >conftest.err 8004 rm -f conftest.er1 8005 cat conftest.err >&5 8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8007 (exit $ac_status); } >/dev/null && { 8008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8009 test ! -s conftest.err 8010 }; then 8011 ac_header_preproc=yes 8012 else 8013 echo "$as_me: failed program was:" >&5 8014 sed 's/^/| /' conftest.$ac_ext >&5 8015 8016 ac_header_preproc=no 8017 fi 8018 8019 rm -f conftest.err conftest.$ac_ext 8020 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8021 echo "${ECHO_T}$ac_header_preproc" >&6; } 8022 8023 # So? What about this header? 8024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8025 yes:no: ) 8026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8030 ac_header_preproc=yes 8031 ;; 8032 no:yes:* ) 8033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8045 ( cat <<\_ASBOX 8046 ## ----------------------------------- ## 8047 ## Report this to rappture@nanohub.org ## 8048 ## ----------------------------------- ## 8049 _ASBOX 8050 ) | sed "s/^/$as_me: WARNING: /" >&2 8051 ;; 8052 esac 8053 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8056 echo $ECHO_N "(cached) $ECHO_C" >&6 8057 else 8058 eval "$as_ac_Header=\$ac_header_preproc" 8059 fi 8060 ac_res=`eval echo '${'$as_ac_Header'}'` 8061 { echo "$as_me:$LINENO: result: $ac_res" >&5 8062 echo "${ECHO_T}$ac_res" >&6; } 8063 8064 fi 8065 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5210 do : 5211 ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5212 if test "x$ac_cv_header_string_h" = xyes; then : 8066 5213 cat >>confdefs.h <<_ACEOF 8067 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18068 _ACEOF 8069 8070 else 8071 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58072 echo "$as_me: WARNING: C headers missing ?" >&2;}5214 #define HAVE_STRING_H 1 5215 _ACEOF 5216 5217 else 5218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5219 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8073 5220 fi 8074 5221 8075 5222 done 8076 5223 8077 8078 5224 for ac_header in stdlib.h 8079 do 8080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8082 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8085 echo $ECHO_N "(cached) $ECHO_C" >&6 8086 fi 8087 ac_res=`eval echo '${'$as_ac_Header'}'` 8088 { echo "$as_me:$LINENO: result: $ac_res" >&5 8089 echo "${ECHO_T}$ac_res" >&6; } 8090 else 8091 # Is the header compilable? 8092 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8094 cat >conftest.$ac_ext <<_ACEOF 8095 /* confdefs.h. */ 8096 _ACEOF 8097 cat confdefs.h >>conftest.$ac_ext 8098 cat >>conftest.$ac_ext <<_ACEOF 8099 /* end confdefs.h. */ 8100 $ac_includes_default 8101 #include <$ac_header> 8102 _ACEOF 8103 rm -f conftest.$ac_objext 8104 if { (ac_try="$ac_compile" 8105 case "(($ac_try" in 8106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8107 *) ac_try_echo=$ac_try;; 8108 esac 8109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8110 (eval "$ac_compile") 2>conftest.er1 8111 ac_status=$? 8112 grep -v '^ *+' conftest.er1 >conftest.err 8113 rm -f conftest.er1 8114 cat conftest.err >&5 8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8116 (exit $ac_status); } && { 8117 test -z "$ac_cxx_werror_flag" || 8118 test ! -s conftest.err 8119 } && test -s conftest.$ac_objext; then 8120 ac_header_compiler=yes 8121 else 8122 echo "$as_me: failed program was:" >&5 8123 sed 's/^/| /' conftest.$ac_ext >&5 8124 8125 ac_header_compiler=no 8126 fi 8127 8128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8129 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8130 echo "${ECHO_T}$ac_header_compiler" >&6; } 8131 8132 # Is the header present? 8133 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8135 cat >conftest.$ac_ext <<_ACEOF 8136 /* confdefs.h. */ 8137 _ACEOF 8138 cat confdefs.h >>conftest.$ac_ext 8139 cat >>conftest.$ac_ext <<_ACEOF 8140 /* end confdefs.h. */ 8141 #include <$ac_header> 8142 _ACEOF 8143 if { (ac_try="$ac_cpp conftest.$ac_ext" 8144 case "(($ac_try" in 8145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8146 *) ac_try_echo=$ac_try;; 8147 esac 8148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8150 ac_status=$? 8151 grep -v '^ *+' conftest.er1 >conftest.err 8152 rm -f conftest.er1 8153 cat conftest.err >&5 8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8155 (exit $ac_status); } >/dev/null && { 8156 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8157 test ! -s conftest.err 8158 }; then 8159 ac_header_preproc=yes 8160 else 8161 echo "$as_me: failed program was:" >&5 8162 sed 's/^/| /' conftest.$ac_ext >&5 8163 8164 ac_header_preproc=no 8165 fi 8166 8167 rm -f conftest.err conftest.$ac_ext 8168 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8169 echo "${ECHO_T}$ac_header_preproc" >&6; } 8170 8171 # So? What about this header? 8172 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8173 yes:no: ) 8174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8178 ac_header_preproc=yes 8179 ;; 8180 no:yes:* ) 8181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8193 ( cat <<\_ASBOX 8194 ## ----------------------------------- ## 8195 ## Report this to rappture@nanohub.org ## 8196 ## ----------------------------------- ## 8197 _ASBOX 8198 ) | sed "s/^/$as_me: WARNING: /" >&2 8199 ;; 8200 esac 8201 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8204 echo $ECHO_N "(cached) $ECHO_C" >&6 8205 else 8206 eval "$as_ac_Header=\$ac_header_preproc" 8207 fi 8208 ac_res=`eval echo '${'$as_ac_Header'}'` 8209 { echo "$as_me:$LINENO: result: $ac_res" >&5 8210 echo "${ECHO_T}$ac_res" >&6; } 8211 8212 fi 8213 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5225 do : 5226 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5227 if test "x$ac_cv_header_stdlib_h" = xyes; then : 8214 5228 cat >>confdefs.h <<_ACEOF 8215 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18216 _ACEOF 8217 8218 else 8219 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58220 echo "$as_me: WARNING: C headers missing ?" >&2;}5229 #define HAVE_STDLIB_H 1 5230 _ACEOF 5231 5232 else 5233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5234 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8221 5235 fi 8222 5236 8223 5237 done 8224 5238 8225 8226 5239 for ac_header in stddef.h 8227 do 8228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8230 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8233 echo $ECHO_N "(cached) $ECHO_C" >&6 8234 fi 8235 ac_res=`eval echo '${'$as_ac_Header'}'` 8236 { echo "$as_me:$LINENO: result: $ac_res" >&5 8237 echo "${ECHO_T}$ac_res" >&6; } 8238 else 8239 # Is the header compilable? 8240 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8242 cat >conftest.$ac_ext <<_ACEOF 8243 /* confdefs.h. */ 8244 _ACEOF 8245 cat confdefs.h >>conftest.$ac_ext 8246 cat >>conftest.$ac_ext <<_ACEOF 8247 /* end confdefs.h. */ 8248 $ac_includes_default 8249 #include <$ac_header> 8250 _ACEOF 8251 rm -f conftest.$ac_objext 8252 if { (ac_try="$ac_compile" 8253 case "(($ac_try" in 8254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8255 *) ac_try_echo=$ac_try;; 8256 esac 8257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8258 (eval "$ac_compile") 2>conftest.er1 8259 ac_status=$? 8260 grep -v '^ *+' conftest.er1 >conftest.err 8261 rm -f conftest.er1 8262 cat conftest.err >&5 8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8264 (exit $ac_status); } && { 8265 test -z "$ac_cxx_werror_flag" || 8266 test ! -s conftest.err 8267 } && test -s conftest.$ac_objext; then 8268 ac_header_compiler=yes 8269 else 8270 echo "$as_me: failed program was:" >&5 8271 sed 's/^/| /' conftest.$ac_ext >&5 8272 8273 ac_header_compiler=no 8274 fi 8275 8276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8277 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8278 echo "${ECHO_T}$ac_header_compiler" >&6; } 8279 8280 # Is the header present? 8281 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8283 cat >conftest.$ac_ext <<_ACEOF 8284 /* confdefs.h. */ 8285 _ACEOF 8286 cat confdefs.h >>conftest.$ac_ext 8287 cat >>conftest.$ac_ext <<_ACEOF 8288 /* end confdefs.h. */ 8289 #include <$ac_header> 8290 _ACEOF 8291 if { (ac_try="$ac_cpp conftest.$ac_ext" 8292 case "(($ac_try" in 8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8294 *) ac_try_echo=$ac_try;; 8295 esac 8296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8297 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8298 ac_status=$? 8299 grep -v '^ *+' conftest.er1 >conftest.err 8300 rm -f conftest.er1 8301 cat conftest.err >&5 8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8303 (exit $ac_status); } >/dev/null && { 8304 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8305 test ! -s conftest.err 8306 }; then 8307 ac_header_preproc=yes 8308 else 8309 echo "$as_me: failed program was:" >&5 8310 sed 's/^/| /' conftest.$ac_ext >&5 8311 8312 ac_header_preproc=no 8313 fi 8314 8315 rm -f conftest.err conftest.$ac_ext 8316 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8317 echo "${ECHO_T}$ac_header_preproc" >&6; } 8318 8319 # So? What about this header? 8320 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8321 yes:no: ) 8322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8326 ac_header_preproc=yes 8327 ;; 8328 no:yes:* ) 8329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8341 ( cat <<\_ASBOX 8342 ## ----------------------------------- ## 8343 ## Report this to rappture@nanohub.org ## 8344 ## ----------------------------------- ## 8345 _ASBOX 8346 ) | sed "s/^/$as_me: WARNING: /" >&2 8347 ;; 8348 esac 8349 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8352 echo $ECHO_N "(cached) $ECHO_C" >&6 8353 else 8354 eval "$as_ac_Header=\$ac_header_preproc" 8355 fi 8356 ac_res=`eval echo '${'$as_ac_Header'}'` 8357 { echo "$as_me:$LINENO: result: $ac_res" >&5 8358 echo "${ECHO_T}$ac_res" >&6; } 8359 8360 fi 8361 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5240 do : 5241 ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 5242 if test "x$ac_cv_header_stddef_h" = xyes; then : 8362 5243 cat >>confdefs.h <<_ACEOF 8363 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18364 _ACEOF 8365 8366 else 8367 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58368 echo "$as_me: WARNING: C headers missing ?" >&2;}5244 #define HAVE_STDDEF_H 1 5245 _ACEOF 5246 5247 else 5248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5249 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8369 5250 fi 8370 5251 8371 5252 done 8372 5253 8373 8374 5254 for ac_header in float.h 8375 do 8376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8378 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8381 echo $ECHO_N "(cached) $ECHO_C" >&6 8382 fi 8383 ac_res=`eval echo '${'$as_ac_Header'}'` 8384 { echo "$as_me:$LINENO: result: $ac_res" >&5 8385 echo "${ECHO_T}$ac_res" >&6; } 8386 else 8387 # Is the header compilable? 8388 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8390 cat >conftest.$ac_ext <<_ACEOF 8391 /* confdefs.h. */ 8392 _ACEOF 8393 cat confdefs.h >>conftest.$ac_ext 8394 cat >>conftest.$ac_ext <<_ACEOF 8395 /* end confdefs.h. */ 8396 $ac_includes_default 8397 #include <$ac_header> 8398 _ACEOF 8399 rm -f conftest.$ac_objext 8400 if { (ac_try="$ac_compile" 8401 case "(($ac_try" in 8402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8403 *) ac_try_echo=$ac_try;; 8404 esac 8405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8406 (eval "$ac_compile") 2>conftest.er1 8407 ac_status=$? 8408 grep -v '^ *+' conftest.er1 >conftest.err 8409 rm -f conftest.er1 8410 cat conftest.err >&5 8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8412 (exit $ac_status); } && { 8413 test -z "$ac_cxx_werror_flag" || 8414 test ! -s conftest.err 8415 } && test -s conftest.$ac_objext; then 8416 ac_header_compiler=yes 8417 else 8418 echo "$as_me: failed program was:" >&5 8419 sed 's/^/| /' conftest.$ac_ext >&5 8420 8421 ac_header_compiler=no 8422 fi 8423 8424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8425 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8426 echo "${ECHO_T}$ac_header_compiler" >&6; } 8427 8428 # Is the header present? 8429 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8430 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8431 cat >conftest.$ac_ext <<_ACEOF 8432 /* confdefs.h. */ 8433 _ACEOF 8434 cat confdefs.h >>conftest.$ac_ext 8435 cat >>conftest.$ac_ext <<_ACEOF 8436 /* end confdefs.h. */ 8437 #include <$ac_header> 8438 _ACEOF 8439 if { (ac_try="$ac_cpp conftest.$ac_ext" 8440 case "(($ac_try" in 8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8442 *) ac_try_echo=$ac_try;; 8443 esac 8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8446 ac_status=$? 8447 grep -v '^ *+' conftest.er1 >conftest.err 8448 rm -f conftest.er1 8449 cat conftest.err >&5 8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8451 (exit $ac_status); } >/dev/null && { 8452 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8453 test ! -s conftest.err 8454 }; then 8455 ac_header_preproc=yes 8456 else 8457 echo "$as_me: failed program was:" >&5 8458 sed 's/^/| /' conftest.$ac_ext >&5 8459 8460 ac_header_preproc=no 8461 fi 8462 8463 rm -f conftest.err conftest.$ac_ext 8464 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8465 echo "${ECHO_T}$ac_header_preproc" >&6; } 8466 8467 # So? What about this header? 8468 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8469 yes:no: ) 8470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8474 ac_header_preproc=yes 8475 ;; 8476 no:yes:* ) 8477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8489 ( cat <<\_ASBOX 8490 ## ----------------------------------- ## 8491 ## Report this to rappture@nanohub.org ## 8492 ## ----------------------------------- ## 8493 _ASBOX 8494 ) | sed "s/^/$as_me: WARNING: /" >&2 8495 ;; 8496 esac 8497 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8500 echo $ECHO_N "(cached) $ECHO_C" >&6 8501 else 8502 eval "$as_ac_Header=\$ac_header_preproc" 8503 fi 8504 ac_res=`eval echo '${'$as_ac_Header'}'` 8505 { echo "$as_me:$LINENO: result: $ac_res" >&5 8506 echo "${ECHO_T}$ac_res" >&6; } 8507 8508 fi 8509 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5255 do : 5256 ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 5257 if test "x$ac_cv_header_float_h" = xyes; then : 8510 5258 cat >>confdefs.h <<_ACEOF 8511 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18512 _ACEOF 8513 8514 else 8515 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58516 echo "$as_me: WARNING: C headers missing ?" >&2;}5259 #define HAVE_FLOAT_H 1 5260 _ACEOF 5261 5262 else 5263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5264 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8517 5265 fi 8518 5266 8519 5267 done 8520 5268 8521 8522 5269 for ac_header in math.h 8523 do 8524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8526 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8529 echo $ECHO_N "(cached) $ECHO_C" >&6 8530 fi 8531 ac_res=`eval echo '${'$as_ac_Header'}'` 8532 { echo "$as_me:$LINENO: result: $ac_res" >&5 8533 echo "${ECHO_T}$ac_res" >&6; } 8534 else 8535 # Is the header compilable? 8536 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8538 cat >conftest.$ac_ext <<_ACEOF 8539 /* confdefs.h. */ 8540 _ACEOF 8541 cat confdefs.h >>conftest.$ac_ext 8542 cat >>conftest.$ac_ext <<_ACEOF 8543 /* end confdefs.h. */ 8544 $ac_includes_default 8545 #include <$ac_header> 8546 _ACEOF 8547 rm -f conftest.$ac_objext 8548 if { (ac_try="$ac_compile" 8549 case "(($ac_try" in 8550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8551 *) ac_try_echo=$ac_try;; 8552 esac 8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8554 (eval "$ac_compile") 2>conftest.er1 8555 ac_status=$? 8556 grep -v '^ *+' conftest.er1 >conftest.err 8557 rm -f conftest.er1 8558 cat conftest.err >&5 8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8560 (exit $ac_status); } && { 8561 test -z "$ac_cxx_werror_flag" || 8562 test ! -s conftest.err 8563 } && test -s conftest.$ac_objext; then 8564 ac_header_compiler=yes 8565 else 8566 echo "$as_me: failed program was:" >&5 8567 sed 's/^/| /' conftest.$ac_ext >&5 8568 8569 ac_header_compiler=no 8570 fi 8571 8572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8574 echo "${ECHO_T}$ac_header_compiler" >&6; } 8575 8576 # Is the header present? 8577 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8579 cat >conftest.$ac_ext <<_ACEOF 8580 /* confdefs.h. */ 8581 _ACEOF 8582 cat confdefs.h >>conftest.$ac_ext 8583 cat >>conftest.$ac_ext <<_ACEOF 8584 /* end confdefs.h. */ 8585 #include <$ac_header> 8586 _ACEOF 8587 if { (ac_try="$ac_cpp conftest.$ac_ext" 8588 case "(($ac_try" in 8589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8590 *) ac_try_echo=$ac_try;; 8591 esac 8592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8594 ac_status=$? 8595 grep -v '^ *+' conftest.er1 >conftest.err 8596 rm -f conftest.er1 8597 cat conftest.err >&5 8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8599 (exit $ac_status); } >/dev/null && { 8600 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8601 test ! -s conftest.err 8602 }; then 8603 ac_header_preproc=yes 8604 else 8605 echo "$as_me: failed program was:" >&5 8606 sed 's/^/| /' conftest.$ac_ext >&5 8607 8608 ac_header_preproc=no 8609 fi 8610 8611 rm -f conftest.err conftest.$ac_ext 8612 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8613 echo "${ECHO_T}$ac_header_preproc" >&6; } 8614 8615 # So? What about this header? 8616 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8617 yes:no: ) 8618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8622 ac_header_preproc=yes 8623 ;; 8624 no:yes:* ) 8625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8637 ( cat <<\_ASBOX 8638 ## ----------------------------------- ## 8639 ## Report this to rappture@nanohub.org ## 8640 ## ----------------------------------- ## 8641 _ASBOX 8642 ) | sed "s/^/$as_me: WARNING: /" >&2 8643 ;; 8644 esac 8645 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8648 echo $ECHO_N "(cached) $ECHO_C" >&6 8649 else 8650 eval "$as_ac_Header=\$ac_header_preproc" 8651 fi 8652 ac_res=`eval echo '${'$as_ac_Header'}'` 8653 { echo "$as_me:$LINENO: result: $ac_res" >&5 8654 echo "${ECHO_T}$ac_res" >&6; } 8655 8656 fi 8657 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5270 do : 5271 ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 5272 if test "x$ac_cv_header_math_h" = xyes; then : 8658 5273 cat >>confdefs.h <<_ACEOF 8659 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18660 _ACEOF 8661 8662 else 8663 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58664 echo "$as_me: WARNING: C headers missing ?" >&2;}5274 #define HAVE_MATH_H 1 5275 _ACEOF 5276 5277 else 5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5279 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8665 5280 fi 8666 5281 8667 5282 done 8668 5283 8669 8670 5284 for ac_header in malloc.h 8671 do 8672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8674 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8677 echo $ECHO_N "(cached) $ECHO_C" >&6 8678 fi 8679 ac_res=`eval echo '${'$as_ac_Header'}'` 8680 { echo "$as_me:$LINENO: result: $ac_res" >&5 8681 echo "${ECHO_T}$ac_res" >&6; } 8682 else 8683 # Is the header compilable? 8684 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8686 cat >conftest.$ac_ext <<_ACEOF 8687 /* confdefs.h. */ 8688 _ACEOF 8689 cat confdefs.h >>conftest.$ac_ext 8690 cat >>conftest.$ac_ext <<_ACEOF 8691 /* end confdefs.h. */ 8692 $ac_includes_default 8693 #include <$ac_header> 8694 _ACEOF 8695 rm -f conftest.$ac_objext 8696 if { (ac_try="$ac_compile" 8697 case "(($ac_try" in 8698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8699 *) ac_try_echo=$ac_try;; 8700 esac 8701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8702 (eval "$ac_compile") 2>conftest.er1 8703 ac_status=$? 8704 grep -v '^ *+' conftest.er1 >conftest.err 8705 rm -f conftest.er1 8706 cat conftest.err >&5 8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8708 (exit $ac_status); } && { 8709 test -z "$ac_cxx_werror_flag" || 8710 test ! -s conftest.err 8711 } && test -s conftest.$ac_objext; then 8712 ac_header_compiler=yes 8713 else 8714 echo "$as_me: failed program was:" >&5 8715 sed 's/^/| /' conftest.$ac_ext >&5 8716 8717 ac_header_compiler=no 8718 fi 8719 8720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8721 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8722 echo "${ECHO_T}$ac_header_compiler" >&6; } 8723 8724 # Is the header present? 8725 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8727 cat >conftest.$ac_ext <<_ACEOF 8728 /* confdefs.h. */ 8729 _ACEOF 8730 cat confdefs.h >>conftest.$ac_ext 8731 cat >>conftest.$ac_ext <<_ACEOF 8732 /* end confdefs.h. */ 8733 #include <$ac_header> 8734 _ACEOF 8735 if { (ac_try="$ac_cpp conftest.$ac_ext" 8736 case "(($ac_try" in 8737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8738 *) ac_try_echo=$ac_try;; 8739 esac 8740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8741 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8742 ac_status=$? 8743 grep -v '^ *+' conftest.er1 >conftest.err 8744 rm -f conftest.er1 8745 cat conftest.err >&5 8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8747 (exit $ac_status); } >/dev/null && { 8748 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8749 test ! -s conftest.err 8750 }; then 8751 ac_header_preproc=yes 8752 else 8753 echo "$as_me: failed program was:" >&5 8754 sed 's/^/| /' conftest.$ac_ext >&5 8755 8756 ac_header_preproc=no 8757 fi 8758 8759 rm -f conftest.err conftest.$ac_ext 8760 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8761 echo "${ECHO_T}$ac_header_preproc" >&6; } 8762 8763 # So? What about this header? 8764 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8765 yes:no: ) 8766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8767 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8769 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8770 ac_header_preproc=yes 8771 ;; 8772 no:yes:* ) 8773 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8774 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8775 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8776 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8777 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8778 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8779 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8780 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8783 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8784 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8785 ( cat <<\_ASBOX 8786 ## ----------------------------------- ## 8787 ## Report this to rappture@nanohub.org ## 8788 ## ----------------------------------- ## 8789 _ASBOX 8790 ) | sed "s/^/$as_me: WARNING: /" >&2 8791 ;; 8792 esac 8793 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8796 echo $ECHO_N "(cached) $ECHO_C" >&6 8797 else 8798 eval "$as_ac_Header=\$ac_header_preproc" 8799 fi 8800 ac_res=`eval echo '${'$as_ac_Header'}'` 8801 { echo "$as_me:$LINENO: result: $ac_res" >&5 8802 echo "${ECHO_T}$ac_res" >&6; } 8803 8804 fi 8805 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5285 do : 5286 ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 5287 if test "x$ac_cv_header_malloc_h" = xyes; then : 8806 5288 cat >>confdefs.h <<_ACEOF 8807 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18808 _ACEOF 8809 8810 else 8811 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58812 echo "$as_me: WARNING: C headers missing ?" >&2;}5289 #define HAVE_MALLOC_H 1 5290 _ACEOF 5291 5292 else 5293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5294 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8813 5295 fi 8814 5296 8815 5297 done 8816 5298 8817 8818 5299 for ac_header in memory.h 8819 do 8820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8821 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8822 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8825 echo $ECHO_N "(cached) $ECHO_C" >&6 8826 fi 8827 ac_res=`eval echo '${'$as_ac_Header'}'` 8828 { echo "$as_me:$LINENO: result: $ac_res" >&5 8829 echo "${ECHO_T}$ac_res" >&6; } 8830 else 8831 # Is the header compilable? 8832 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8834 cat >conftest.$ac_ext <<_ACEOF 8835 /* confdefs.h. */ 8836 _ACEOF 8837 cat confdefs.h >>conftest.$ac_ext 8838 cat >>conftest.$ac_ext <<_ACEOF 8839 /* end confdefs.h. */ 8840 $ac_includes_default 8841 #include <$ac_header> 8842 _ACEOF 8843 rm -f conftest.$ac_objext 8844 if { (ac_try="$ac_compile" 8845 case "(($ac_try" in 8846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8847 *) ac_try_echo=$ac_try;; 8848 esac 8849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8850 (eval "$ac_compile") 2>conftest.er1 8851 ac_status=$? 8852 grep -v '^ *+' conftest.er1 >conftest.err 8853 rm -f conftest.er1 8854 cat conftest.err >&5 8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8856 (exit $ac_status); } && { 8857 test -z "$ac_cxx_werror_flag" || 8858 test ! -s conftest.err 8859 } && test -s conftest.$ac_objext; then 8860 ac_header_compiler=yes 8861 else 8862 echo "$as_me: failed program was:" >&5 8863 sed 's/^/| /' conftest.$ac_ext >&5 8864 8865 ac_header_compiler=no 8866 fi 8867 8868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8869 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8870 echo "${ECHO_T}$ac_header_compiler" >&6; } 8871 8872 # Is the header present? 8873 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8875 cat >conftest.$ac_ext <<_ACEOF 8876 /* confdefs.h. */ 8877 _ACEOF 8878 cat confdefs.h >>conftest.$ac_ext 8879 cat >>conftest.$ac_ext <<_ACEOF 8880 /* end confdefs.h. */ 8881 #include <$ac_header> 8882 _ACEOF 8883 if { (ac_try="$ac_cpp conftest.$ac_ext" 8884 case "(($ac_try" in 8885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8886 *) ac_try_echo=$ac_try;; 8887 esac 8888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8890 ac_status=$? 8891 grep -v '^ *+' conftest.er1 >conftest.err 8892 rm -f conftest.er1 8893 cat conftest.err >&5 8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8895 (exit $ac_status); } >/dev/null && { 8896 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8897 test ! -s conftest.err 8898 }; then 8899 ac_header_preproc=yes 8900 else 8901 echo "$as_me: failed program was:" >&5 8902 sed 's/^/| /' conftest.$ac_ext >&5 8903 8904 ac_header_preproc=no 8905 fi 8906 8907 rm -f conftest.err conftest.$ac_ext 8908 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8909 echo "${ECHO_T}$ac_header_preproc" >&6; } 8910 8911 # So? What about this header? 8912 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8913 yes:no: ) 8914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8918 ac_header_preproc=yes 8919 ;; 8920 no:yes:* ) 8921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8925 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8927 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8928 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8931 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8933 ( cat <<\_ASBOX 8934 ## ----------------------------------- ## 8935 ## Report this to rappture@nanohub.org ## 8936 ## ----------------------------------- ## 8937 _ASBOX 8938 ) | sed "s/^/$as_me: WARNING: /" >&2 8939 ;; 8940 esac 8941 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8944 echo $ECHO_N "(cached) $ECHO_C" >&6 8945 else 8946 eval "$as_ac_Header=\$ac_header_preproc" 8947 fi 8948 ac_res=`eval echo '${'$as_ac_Header'}'` 8949 { echo "$as_me:$LINENO: result: $ac_res" >&5 8950 echo "${ECHO_T}$ac_res" >&6; } 8951 8952 fi 8953 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5300 do : 5301 ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 5302 if test "x$ac_cv_header_memory_h" = xyes; then : 8954 5303 cat >>confdefs.h <<_ACEOF 8955 #define `echo "HAVE_$ac_header" | $as_tr_cpp`18956 _ACEOF 8957 8958 else 8959 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&58960 echo "$as_me: WARNING: C headers missing ?" >&2;}5304 #define HAVE_MEMORY_H 1 5305 _ACEOF 5306 5307 else 5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5309 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 8961 5310 fi 8962 5311 8963 5312 done 8964 5313 8965 8966 5314 for ac_header in unistd.h 8967 do 8968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8969 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8970 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8973 echo $ECHO_N "(cached) $ECHO_C" >&6 8974 fi 8975 ac_res=`eval echo '${'$as_ac_Header'}'` 8976 { echo "$as_me:$LINENO: result: $ac_res" >&5 8977 echo "${ECHO_T}$ac_res" >&6; } 8978 else 8979 # Is the header compilable? 8980 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8982 cat >conftest.$ac_ext <<_ACEOF 8983 /* confdefs.h. */ 8984 _ACEOF 8985 cat confdefs.h >>conftest.$ac_ext 8986 cat >>conftest.$ac_ext <<_ACEOF 8987 /* end confdefs.h. */ 8988 $ac_includes_default 8989 #include <$ac_header> 8990 _ACEOF 8991 rm -f conftest.$ac_objext 8992 if { (ac_try="$ac_compile" 8993 case "(($ac_try" in 8994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8995 *) ac_try_echo=$ac_try;; 8996 esac 8997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8998 (eval "$ac_compile") 2>conftest.er1 8999 ac_status=$? 9000 grep -v '^ *+' conftest.er1 >conftest.err 9001 rm -f conftest.er1 9002 cat conftest.err >&5 9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9004 (exit $ac_status); } && { 9005 test -z "$ac_cxx_werror_flag" || 9006 test ! -s conftest.err 9007 } && test -s conftest.$ac_objext; then 9008 ac_header_compiler=yes 9009 else 9010 echo "$as_me: failed program was:" >&5 9011 sed 's/^/| /' conftest.$ac_ext >&5 9012 9013 ac_header_compiler=no 9014 fi 9015 9016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9017 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9018 echo "${ECHO_T}$ac_header_compiler" >&6; } 9019 9020 # Is the header present? 9021 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9023 cat >conftest.$ac_ext <<_ACEOF 9024 /* confdefs.h. */ 9025 _ACEOF 9026 cat confdefs.h >>conftest.$ac_ext 9027 cat >>conftest.$ac_ext <<_ACEOF 9028 /* end confdefs.h. */ 9029 #include <$ac_header> 9030 _ACEOF 9031 if { (ac_try="$ac_cpp conftest.$ac_ext" 9032 case "(($ac_try" in 9033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9034 *) ac_try_echo=$ac_try;; 9035 esac 9036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9037 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9038 ac_status=$? 9039 grep -v '^ *+' conftest.er1 >conftest.err 9040 rm -f conftest.er1 9041 cat conftest.err >&5 9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9043 (exit $ac_status); } >/dev/null && { 9044 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9045 test ! -s conftest.err 9046 }; then 9047 ac_header_preproc=yes 9048 else 9049 echo "$as_me: failed program was:" >&5 9050 sed 's/^/| /' conftest.$ac_ext >&5 9051 9052 ac_header_preproc=no 9053 fi 9054 9055 rm -f conftest.err conftest.$ac_ext 9056 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9057 echo "${ECHO_T}$ac_header_preproc" >&6; } 9058 9059 # So? What about this header? 9060 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9061 yes:no: ) 9062 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9066 ac_header_preproc=yes 9067 ;; 9068 no:yes:* ) 9069 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9071 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9072 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9073 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9075 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9076 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9079 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9081 ( cat <<\_ASBOX 9082 ## ----------------------------------- ## 9083 ## Report this to rappture@nanohub.org ## 9084 ## ----------------------------------- ## 9085 _ASBOX 9086 ) | sed "s/^/$as_me: WARNING: /" >&2 9087 ;; 9088 esac 9089 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9092 echo $ECHO_N "(cached) $ECHO_C" >&6 9093 else 9094 eval "$as_ac_Header=\$ac_header_preproc" 9095 fi 9096 ac_res=`eval echo '${'$as_ac_Header'}'` 9097 { echo "$as_me:$LINENO: result: $ac_res" >&5 9098 echo "${ECHO_T}$ac_res" >&6; } 9099 9100 fi 9101 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5315 do : 5316 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5317 if test "x$ac_cv_header_unistd_h" = xyes; then : 9102 5318 cat >>confdefs.h <<_ACEOF 9103 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19104 _ACEOF 9105 9106 else 9107 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59108 echo "$as_me: WARNING: C headers missing ?" >&2;}5319 #define HAVE_UNISTD_H 1 5320 _ACEOF 5321 5322 else 5323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5324 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9109 5325 fi 9110 5326 … … 9112 5328 9113 5329 9114 9115 5330 for ac_header in inttypes.h 9116 do 9117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9119 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9121 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9122 echo $ECHO_N "(cached) $ECHO_C" >&6 9123 fi 9124 ac_res=`eval echo '${'$as_ac_Header'}'` 9125 { echo "$as_me:$LINENO: result: $ac_res" >&5 9126 echo "${ECHO_T}$ac_res" >&6; } 9127 else 9128 # Is the header compilable? 9129 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 9130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9131 cat >conftest.$ac_ext <<_ACEOF 9132 /* confdefs.h. */ 9133 _ACEOF 9134 cat confdefs.h >>conftest.$ac_ext 9135 cat >>conftest.$ac_ext <<_ACEOF 9136 /* end confdefs.h. */ 9137 $ac_includes_default 9138 #include <$ac_header> 9139 _ACEOF 9140 rm -f conftest.$ac_objext 9141 if { (ac_try="$ac_compile" 9142 case "(($ac_try" in 9143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9144 *) ac_try_echo=$ac_try;; 9145 esac 9146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9147 (eval "$ac_compile") 2>conftest.er1 9148 ac_status=$? 9149 grep -v '^ *+' conftest.er1 >conftest.err 9150 rm -f conftest.er1 9151 cat conftest.err >&5 9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9153 (exit $ac_status); } && { 9154 test -z "$ac_cxx_werror_flag" || 9155 test ! -s conftest.err 9156 } && test -s conftest.$ac_objext; then 9157 ac_header_compiler=yes 9158 else 9159 echo "$as_me: failed program was:" >&5 9160 sed 's/^/| /' conftest.$ac_ext >&5 9161 9162 ac_header_compiler=no 9163 fi 9164 9165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9166 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9167 echo "${ECHO_T}$ac_header_compiler" >&6; } 9168 9169 # Is the header present? 9170 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 9171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9172 cat >conftest.$ac_ext <<_ACEOF 9173 /* confdefs.h. */ 9174 _ACEOF 9175 cat confdefs.h >>conftest.$ac_ext 9176 cat >>conftest.$ac_ext <<_ACEOF 9177 /* end confdefs.h. */ 9178 #include <$ac_header> 9179 _ACEOF 9180 if { (ac_try="$ac_cpp conftest.$ac_ext" 9181 case "(($ac_try" in 9182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9183 *) ac_try_echo=$ac_try;; 9184 esac 9185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9187 ac_status=$? 9188 grep -v '^ *+' conftest.er1 >conftest.err 9189 rm -f conftest.er1 9190 cat conftest.err >&5 9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9192 (exit $ac_status); } >/dev/null && { 9193 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9194 test ! -s conftest.err 9195 }; then 9196 ac_header_preproc=yes 9197 else 9198 echo "$as_me: failed program was:" >&5 9199 sed 's/^/| /' conftest.$ac_ext >&5 9200 9201 ac_header_preproc=no 9202 fi 9203 9204 rm -f conftest.err conftest.$ac_ext 9205 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9206 echo "${ECHO_T}$ac_header_preproc" >&6; } 9207 9208 # So? What about this header? 9209 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9210 yes:no: ) 9211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9215 ac_header_preproc=yes 9216 ;; 9217 no:yes:* ) 9218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9230 ( cat <<\_ASBOX 9231 ## ----------------------------------- ## 9232 ## Report this to rappture@nanohub.org ## 9233 ## ----------------------------------- ## 9234 _ASBOX 9235 ) | sed "s/^/$as_me: WARNING: /" >&2 9236 ;; 9237 esac 9238 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9241 echo $ECHO_N "(cached) $ECHO_C" >&6 9242 else 9243 eval "$as_ac_Header=\$ac_header_preproc" 9244 fi 9245 ac_res=`eval echo '${'$as_ac_Header'}'` 9246 { echo "$as_me:$LINENO: result: $ac_res" >&5 9247 echo "${ECHO_T}$ac_res" >&6; } 9248 9249 fi 9250 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5331 do : 5332 ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5333 if test "x$ac_cv_header_inttypes_h" = xyes; then : 9251 5334 cat >>confdefs.h <<_ACEOF 9252 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19253 _ACEOF 9254 9255 else 9256 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&59257 echo "$as_me: WARNING: C headers missing ?" >&2;}5335 #define HAVE_INTTYPES_H 1 5336 _ACEOF 5337 5338 else 5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5 5340 $as_echo "$as_me: WARNING: C headers missing ?" >&2;} 9258 5341 fi 9259 5342 … … 9272 5355 # Step 0.a: Enable 64 bit support? 9273 5356 9274 { echo "$as_me:$LINENO: checking if 64bit support is requested" >&59275 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 5358 $as_echo_n "checking if 64bit support is requested... " >&6; } 9276 5359 # Check whether --enable-64bit was given. 9277 if test "${enable_64bit+set}" = set; then 5360 if test "${enable_64bit+set}" = set; then : 9278 5361 enableval=$enable_64bit; do64bit=$enableval 9279 5362 else … … 9281 5364 fi 9282 5365 9283 { echo "$as_me:$LINENO: result: $do64bit" >&59284 echo "${ECHO_T}$do64bit" >&6; }5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 5367 $as_echo "$do64bit" >&6; } 9285 5368 9286 5369 # Step 0.b: Enable Solaris 64 bit VIS support? 9287 5370 9288 { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&59289 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 5372 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9290 5373 # Check whether --enable-64bit-vis was given. 9291 if test "${enable_64bit_vis+set}" = set; then 5374 if test "${enable_64bit_vis+set}" = set; then : 9292 5375 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9293 5376 else … … 9295 5378 fi 9296 5379 9297 { echo "$as_me:$LINENO: result: $do64bitVIS" >&59298 echo "${ECHO_T}$do64bitVIS" >&6; }5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 5381 $as_echo "$do64bitVIS" >&6; } 9299 5382 9300 5383 if test "$do64bitVIS" = "yes"; then … … 9307 5390 9308 5391 9309 { echo "$as_me:$LINENO: checking system version" >&59310 echo $ECHO_N "checking system version... $ECHO_C" >&6; }9311 if test "${tcl_cv_sys_version+set}" = set; then9312 echo $ECHO_N "(cached) $ECHO_C" >&65392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 5393 $as_echo_n "checking system version... " >&6; } 5394 if ${tcl_cv_sys_version+:} false; then : 5395 $as_echo_n "(cached) " >&6 9313 5396 else 9314 5397 … … 9318 5401 tcl_cv_sys_version=`uname -s`-`uname -r` 9319 5402 if test "$?" -ne 0 ; then 9320 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&59321 echo "$as_me: WARNING: can't find uname command" >&2;}5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 5404 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9322 5405 tcl_cv_sys_version=unknown 9323 5406 else … … 9335 5418 9336 5419 fi 9337 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&59338 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 5421 $as_echo "$tcl_cv_sys_version" >&6; } 9339 5422 system=$tcl_cv_sys_version 9340 5423 … … 9343 5426 # Linux can use either -ldl or -ldld for dynamic loading. 9344 5427 9345 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&59346 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }9347 if test "${ac_cv_lib_dl_dlopen+set}" = set; then9348 echo $ECHO_N "(cached) $ECHO_C" >&65428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5429 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5430 if ${ac_cv_lib_dl_dlopen+:} false; then : 5431 $as_echo_n "(cached) " >&6 9349 5432 else 9350 5433 ac_check_lib_save_LIBS=$LIBS 9351 5434 LIBS="-ldl $LIBS" 9352 cat >conftest.$ac_ext <<_ACEOF 9353 /* confdefs.h. */ 9354 _ACEOF 9355 cat confdefs.h >>conftest.$ac_ext 9356 cat >>conftest.$ac_ext <<_ACEOF 5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9357 5436 /* end confdefs.h. */ 9358 5437 … … 9372 5451 } 9373 5452 _ACEOF 9374 rm -f conftest.$ac_objext conftest$ac_exeext 9375 if { (ac_try="$ac_link" 9376 case "(($ac_try" in 9377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9378 *) ac_try_echo=$ac_try;; 9379 esac 9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9381 (eval "$ac_link") 2>conftest.er1 9382 ac_status=$? 9383 grep -v '^ *+' conftest.er1 >conftest.err 9384 rm -f conftest.er1 9385 cat conftest.err >&5 9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9387 (exit $ac_status); } && { 9388 test -z "$ac_cxx_werror_flag" || 9389 test ! -s conftest.err 9390 } && test -s conftest$ac_exeext && 9391 $as_test_x conftest$ac_exeext; then 5453 if ac_fn_cxx_try_link "$LINENO"; then : 9392 5454 ac_cv_lib_dl_dlopen=yes 9393 5455 else 9394 echo "$as_me: failed program was:" >&5 9395 sed 's/^/| /' conftest.$ac_ext >&5 9396 9397 ac_cv_lib_dl_dlopen=no 9398 fi 9399 9400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9401 conftest$ac_exeext conftest.$ac_ext 5456 ac_cv_lib_dl_dlopen=no 5457 fi 5458 rm -f core conftest.err conftest.$ac_objext \ 5459 conftest$ac_exeext conftest.$ac_ext 9402 5460 LIBS=$ac_check_lib_save_LIBS 9403 5461 fi 9404 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&59405 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }9406 if test $ac_cv_lib_dl_dlopen = yes; then5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5463 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5464 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 9407 5465 have_dl=yes 9408 5466 else … … 9436 5494 # Extract the first word of "ar", so it can be a program name with args. 9437 5495 set dummy ar; ac_word=$2 9438 { echo "$as_me:$LINENO: checking for $ac_word" >&59439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }9440 if test "${ac_cv_prog_AR+set}" = set; then9441 echo $ECHO_N "(cached) $ECHO_C" >&65496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5497 $as_echo_n "checking for $ac_word... " >&6; } 5498 if ${ac_cv_prog_AR+:} false; then : 5499 $as_echo_n "(cached) " >&6 9442 5500 else 9443 5501 if test -n "$AR"; then … … 9449 5507 IFS=$as_save_IFS 9450 5508 test -z "$as_dir" && as_dir=. 9451 for ac_exec_ext in '' $ac_executable_extensions; do5509 for ac_exec_ext in '' $ac_executable_extensions; do 9452 5510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9453 5511 ac_cv_prog_AR="ar" 9454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9455 5513 break 2 9456 5514 fi 9457 5515 done 9458 done5516 done 9459 5517 IFS=$as_save_IFS 9460 5518 … … 9463 5521 AR=$ac_cv_prog_AR 9464 5522 if test -n "$AR"; then 9465 { echo "$as_me:$LINENO: result: $AR" >&59466 echo "${ECHO_T}$AR" >&6; }9467 else 9468 { echo "$as_me:$LINENO: result: no" >&59469 echo "${ECHO_T}no" >&6; }5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5524 $as_echo "$AR" >&6; } 5525 else 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5527 $as_echo "no" >&6; } 9470 5528 fi 9471 5529 9472 5530 9473 5531 if test "${AR}" = "" ; then 9474 { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 9475 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 9476 { (exit 1); exit 1; }; } 5532 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 9477 5533 fi 9478 5534 STLIB_LD='${AR} cr' … … 9492 5548 ;; 9493 5549 esac 9494 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&59495 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 5551 $as_echo "Using $CC for compiling with threads" >&6; } 9496 5552 fi 9497 5553 LIBS="$LIBS -lc" … … 9508 5564 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 9509 5565 if test "$GCC" = "yes" ; then 9510 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59511 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5567 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9512 5568 else 9513 5569 do64bit_ok=yes … … 9563 5619 # known GMT value. 9564 5620 9565 { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&59566 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }9567 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then9568 echo $ECHO_N "(cached) $ECHO_C" >&65621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 5622 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 5623 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 5624 $as_echo_n "(cached) " >&6 9569 5625 else 9570 5626 ac_check_lib_save_LIBS=$LIBS 9571 5627 LIBS="-lbsd $LIBS" 9572 cat >conftest.$ac_ext <<_ACEOF 9573 /* confdefs.h. */ 9574 _ACEOF 9575 cat confdefs.h >>conftest.$ac_ext 9576 cat >>conftest.$ac_ext <<_ACEOF 5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9577 5629 /* end confdefs.h. */ 9578 5630 … … 9592 5644 } 9593 5645 _ACEOF 9594 rm -f conftest.$ac_objext conftest$ac_exeext 9595 if { (ac_try="$ac_link" 9596 case "(($ac_try" in 9597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9598 *) ac_try_echo=$ac_try;; 9599 esac 9600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9601 (eval "$ac_link") 2>conftest.er1 9602 ac_status=$? 9603 grep -v '^ *+' conftest.er1 >conftest.err 9604 rm -f conftest.er1 9605 cat conftest.err >&5 9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9607 (exit $ac_status); } && { 9608 test -z "$ac_cxx_werror_flag" || 9609 test ! -s conftest.err 9610 } && test -s conftest$ac_exeext && 9611 $as_test_x conftest$ac_exeext; then 5646 if ac_fn_cxx_try_link "$LINENO"; then : 9612 5647 ac_cv_lib_bsd_gettimeofday=yes 9613 5648 else 9614 echo "$as_me: failed program was:" >&5 9615 sed 's/^/| /' conftest.$ac_ext >&5 9616 9617 ac_cv_lib_bsd_gettimeofday=no 9618 fi 9619 9620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9621 conftest$ac_exeext conftest.$ac_ext 5649 ac_cv_lib_bsd_gettimeofday=no 5650 fi 5651 rm -f core conftest.err conftest.$ac_objext \ 5652 conftest$ac_exeext conftest.$ac_ext 9622 5653 LIBS=$ac_check_lib_save_LIBS 9623 5654 fi 9624 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&59625 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }9626 if test $ac_cv_lib_bsd_gettimeofday = yes; then5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 5656 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 5657 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 9627 5658 libbsd=yes 9628 5659 else … … 9632 5663 if test $libbsd = yes; then 9633 5664 MATH_LIBS="$MATH_LIBS -lbsd" 9634 cat >>confdefs.h <<\_ACEOF 9635 #define USE_DELTA_FOR_TZ 1 9636 _ACEOF 5665 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 9637 5666 9638 5667 fi … … 9651 5680 # is always linked to, for compatibility. 9652 5681 #----------------------------------------------------------- 9653 { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&59654 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }9655 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then9656 echo $ECHO_N "(cached) $ECHO_C" >&65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 5683 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 5684 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 5685 $as_echo_n "(cached) " >&6 9657 5686 else 9658 5687 ac_check_lib_save_LIBS=$LIBS 9659 5688 LIBS="-lbind $LIBS" 9660 cat >conftest.$ac_ext <<_ACEOF 9661 /* confdefs.h. */ 9662 _ACEOF 9663 cat confdefs.h >>conftest.$ac_ext 9664 cat >>conftest.$ac_ext <<_ACEOF 5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9665 5690 /* end confdefs.h. */ 9666 5691 … … 9680 5705 } 9681 5706 _ACEOF 9682 rm -f conftest.$ac_objext conftest$ac_exeext 9683 if { (ac_try="$ac_link" 9684 case "(($ac_try" in 9685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9686 *) ac_try_echo=$ac_try;; 9687 esac 9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9689 (eval "$ac_link") 2>conftest.er1 9690 ac_status=$? 9691 grep -v '^ *+' conftest.er1 >conftest.err 9692 rm -f conftest.er1 9693 cat conftest.err >&5 9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9695 (exit $ac_status); } && { 9696 test -z "$ac_cxx_werror_flag" || 9697 test ! -s conftest.err 9698 } && test -s conftest$ac_exeext && 9699 $as_test_x conftest$ac_exeext; then 5707 if ac_fn_cxx_try_link "$LINENO"; then : 9700 5708 ac_cv_lib_bind_inet_ntoa=yes 9701 5709 else 9702 echo "$as_me: failed program was:" >&5 9703 sed 's/^/| /' conftest.$ac_ext >&5 9704 9705 ac_cv_lib_bind_inet_ntoa=no 9706 fi 9707 9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9709 conftest$ac_exeext conftest.$ac_ext 5710 ac_cv_lib_bind_inet_ntoa=no 5711 fi 5712 rm -f core conftest.err conftest.$ac_objext \ 5713 conftest$ac_exeext conftest.$ac_ext 9710 5714 LIBS=$ac_check_lib_save_LIBS 9711 5715 fi 9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&59713 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }9714 if test $ac_cv_lib_bind_inet_ntoa = yes; then5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 5717 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 5718 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 9715 5719 LIBS="$LIBS -lbind -lsocket" 9716 5720 fi … … 9750 5754 HP-UX-*.11.*) 9751 5755 # Use updated header definitions where possible 9752 cat >>confdefs.h <<\_ACEOF 9753 #define _XOPEN_SOURCE 1 9754 _ACEOF 5756 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 9755 5757 # Use the XOPEN network library 9756 cat >>confdefs.h <<\_ACEOF 9757 #define _XOPEN_SOURCE_EXTENDED 1 9758 _ACEOF 5758 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 9759 5759 # Use the XOPEN network library 9760 5760 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 9765 5765 SHLIB_SUFFIX=".sl" 9766 5766 fi 9767 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59768 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9769 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9770 echo $ECHO_N "(cached) $ECHO_C" >&65767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5768 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5769 if ${ac_cv_lib_dld_shl_load+:} false; then : 5770 $as_echo_n "(cached) " >&6 9771 5771 else 9772 5772 ac_check_lib_save_LIBS=$LIBS 9773 5773 LIBS="-ldld $LIBS" 9774 cat >conftest.$ac_ext <<_ACEOF 9775 /* confdefs.h. */ 9776 _ACEOF 9777 cat confdefs.h >>conftest.$ac_ext 9778 cat >>conftest.$ac_ext <<_ACEOF 5774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9779 5775 /* end confdefs.h. */ 9780 5776 … … 9794 5790 } 9795 5791 _ACEOF 9796 rm -f conftest.$ac_objext conftest$ac_exeext 9797 if { (ac_try="$ac_link" 9798 case "(($ac_try" in 9799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9800 *) ac_try_echo=$ac_try;; 9801 esac 9802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9803 (eval "$ac_link") 2>conftest.er1 9804 ac_status=$? 9805 grep -v '^ *+' conftest.er1 >conftest.err 9806 rm -f conftest.er1 9807 cat conftest.err >&5 9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9809 (exit $ac_status); } && { 9810 test -z "$ac_cxx_werror_flag" || 9811 test ! -s conftest.err 9812 } && test -s conftest$ac_exeext && 9813 $as_test_x conftest$ac_exeext; then 5792 if ac_fn_cxx_try_link "$LINENO"; then : 9814 5793 ac_cv_lib_dld_shl_load=yes 9815 5794 else 9816 echo "$as_me: failed program was:" >&5 9817 sed 's/^/| /' conftest.$ac_ext >&5 9818 9819 ac_cv_lib_dld_shl_load=no 9820 fi 9821 9822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9823 conftest$ac_exeext conftest.$ac_ext 5795 ac_cv_lib_dld_shl_load=no 5796 fi 5797 rm -f core conftest.err conftest.$ac_objext \ 5798 conftest$ac_exeext conftest.$ac_ext 9824 5799 LIBS=$ac_check_lib_save_LIBS 9825 5800 fi 9826 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59827 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9828 if test $ac_cv_lib_dld_shl_load = yes; then5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5802 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5803 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9829 5804 tcl_ok=yes 9830 5805 else … … 9866 5841 ;; 9867 5842 *) 9868 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&59869 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}5843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 5844 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 9870 5845 ;; 9871 5846 esac … … 9879 5854 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 9880 5855 SHLIB_SUFFIX=".sl" 9881 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&59882 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }9883 if test "${ac_cv_lib_dld_shl_load+set}" = set; then9884 echo $ECHO_N "(cached) $ECHO_C" >&65856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 5857 $as_echo_n "checking for shl_load in -ldld... " >&6; } 5858 if ${ac_cv_lib_dld_shl_load+:} false; then : 5859 $as_echo_n "(cached) " >&6 9885 5860 else 9886 5861 ac_check_lib_save_LIBS=$LIBS 9887 5862 LIBS="-ldld $LIBS" 9888 cat >conftest.$ac_ext <<_ACEOF 9889 /* confdefs.h. */ 9890 _ACEOF 9891 cat confdefs.h >>conftest.$ac_ext 9892 cat >>conftest.$ac_ext <<_ACEOF 5863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9893 5864 /* end confdefs.h. */ 9894 5865 … … 9908 5879 } 9909 5880 _ACEOF 9910 rm -f conftest.$ac_objext conftest$ac_exeext 9911 if { (ac_try="$ac_link" 9912 case "(($ac_try" in 9913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9914 *) ac_try_echo=$ac_try;; 9915 esac 9916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9917 (eval "$ac_link") 2>conftest.er1 9918 ac_status=$? 9919 grep -v '^ *+' conftest.er1 >conftest.err 9920 rm -f conftest.er1 9921 cat conftest.err >&5 9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9923 (exit $ac_status); } && { 9924 test -z "$ac_cxx_werror_flag" || 9925 test ! -s conftest.err 9926 } && test -s conftest$ac_exeext && 9927 $as_test_x conftest$ac_exeext; then 5881 if ac_fn_cxx_try_link "$LINENO"; then : 9928 5882 ac_cv_lib_dld_shl_load=yes 9929 5883 else 9930 echo "$as_me: failed program was:" >&5 9931 sed 's/^/| /' conftest.$ac_ext >&5 9932 9933 ac_cv_lib_dld_shl_load=no 9934 fi 9935 9936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9937 conftest$ac_exeext conftest.$ac_ext 5884 ac_cv_lib_dld_shl_load=no 5885 fi 5886 rm -f core conftest.err conftest.$ac_objext \ 5887 conftest$ac_exeext conftest.$ac_ext 9938 5888 LIBS=$ac_check_lib_save_LIBS 9939 5889 fi 9940 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&59941 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }9942 if test $ac_cv_lib_dld_shl_load = yes; then5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 5891 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 5892 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 9943 5893 tcl_ok=yes 9944 5894 else … … 10019 5969 if test "$do64bit" = "yes" ; then 10020 5970 if test "$GCC" = "yes" ; then 10021 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&510022 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}5971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 5972 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10023 5973 else 10024 5974 do64bit_ok=yes … … 10048 5998 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10049 5999 else 10050 if test "${ac_cv_header_dld_h+set}" = set; then 10051 { echo "$as_me:$LINENO: checking for dld.h" >&5 10052 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10053 if test "${ac_cv_header_dld_h+set}" = set; then 10054 echo $ECHO_N "(cached) $ECHO_C" >&6 10055 fi 10056 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10057 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10058 else 10059 # Is the header compilable? 10060 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10061 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10062 cat >conftest.$ac_ext <<_ACEOF 10063 /* confdefs.h. */ 10064 _ACEOF 10065 cat confdefs.h >>conftest.$ac_ext 10066 cat >>conftest.$ac_ext <<_ACEOF 10067 /* end confdefs.h. */ 10068 $ac_includes_default 10069 #include <dld.h> 10070 _ACEOF 10071 rm -f conftest.$ac_objext 10072 if { (ac_try="$ac_compile" 10073 case "(($ac_try" in 10074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10075 *) ac_try_echo=$ac_try;; 10076 esac 10077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10078 (eval "$ac_compile") 2>conftest.er1 10079 ac_status=$? 10080 grep -v '^ *+' conftest.er1 >conftest.err 10081 rm -f conftest.er1 10082 cat conftest.err >&5 10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10084 (exit $ac_status); } && { 10085 test -z "$ac_cxx_werror_flag" || 10086 test ! -s conftest.err 10087 } && test -s conftest.$ac_objext; then 10088 ac_header_compiler=yes 10089 else 10090 echo "$as_me: failed program was:" >&5 10091 sed 's/^/| /' conftest.$ac_ext >&5 10092 10093 ac_header_compiler=no 10094 fi 10095 10096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10097 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10098 echo "${ECHO_T}$ac_header_compiler" >&6; } 10099 10100 # Is the header present? 10101 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10102 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10103 cat >conftest.$ac_ext <<_ACEOF 10104 /* confdefs.h. */ 10105 _ACEOF 10106 cat confdefs.h >>conftest.$ac_ext 10107 cat >>conftest.$ac_ext <<_ACEOF 10108 /* end confdefs.h. */ 10109 #include <dld.h> 10110 _ACEOF 10111 if { (ac_try="$ac_cpp conftest.$ac_ext" 10112 case "(($ac_try" in 10113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10114 *) ac_try_echo=$ac_try;; 10115 esac 10116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10118 ac_status=$? 10119 grep -v '^ *+' conftest.er1 >conftest.err 10120 rm -f conftest.er1 10121 cat conftest.err >&5 10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10123 (exit $ac_status); } >/dev/null && { 10124 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10125 test ! -s conftest.err 10126 }; then 10127 ac_header_preproc=yes 10128 else 10129 echo "$as_me: failed program was:" >&5 10130 sed 's/^/| /' conftest.$ac_ext >&5 10131 10132 ac_header_preproc=no 10133 fi 10134 10135 rm -f conftest.err conftest.$ac_ext 10136 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10137 echo "${ECHO_T}$ac_header_preproc" >&6; } 10138 10139 # So? What about this header? 10140 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10141 yes:no: ) 10142 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10143 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10144 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10145 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10146 ac_header_preproc=yes 10147 ;; 10148 no:yes:* ) 10149 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10150 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10151 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10152 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10153 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10154 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10155 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10156 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10157 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10158 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10159 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10160 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10161 ( cat <<\_ASBOX 10162 ## ----------------------------------- ## 10163 ## Report this to rappture@nanohub.org ## 10164 ## ----------------------------------- ## 10165 _ASBOX 10166 ) | sed "s/^/$as_me: WARNING: /" >&2 10167 ;; 10168 esac 10169 { echo "$as_me:$LINENO: checking for dld.h" >&5 10170 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10171 if test "${ac_cv_header_dld_h+set}" = set; then 10172 echo $ECHO_N "(cached) $ECHO_C" >&6 10173 else 10174 ac_cv_header_dld_h=$ac_header_preproc 10175 fi 10176 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10177 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10178 10179 fi 10180 if test $ac_cv_header_dld_h = yes; then 6000 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6001 if test "x$ac_cv_header_dld_h" = xyes; then : 10181 6002 10182 6003 SHLIB_LD="ld -shared" … … 10193 6014 fi 10194 6015 if test $do64bit = yes; then 10195 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&510196 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }10197 if test "${tcl_cv_cc_m64+set}" = set; then10198 echo $ECHO_N "(cached) $ECHO_C" >&66016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 6017 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 6018 if ${tcl_cv_cc_m64+:} false; then : 6019 $as_echo_n "(cached) " >&6 10199 6020 else 10200 6021 10201 6022 hold_cflags=$CFLAGS 10202 6023 CFLAGS="$CFLAGS -m64" 10203 cat >conftest.$ac_ext <<_ACEOF 10204 /* confdefs.h. */ 10205 _ACEOF 10206 cat confdefs.h >>conftest.$ac_ext 10207 cat >>conftest.$ac_ext <<_ACEOF 6024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10208 6025 /* end confdefs.h. */ 10209 6026 … … 10216 6033 } 10217 6034 _ACEOF 10218 rm -f conftest.$ac_objext conftest$ac_exeext 10219 if { (ac_try="$ac_link" 10220 case "(($ac_try" in 10221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10222 *) ac_try_echo=$ac_try;; 10223 esac 10224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10225 (eval "$ac_link") 2>conftest.er1 10226 ac_status=$? 10227 grep -v '^ *+' conftest.er1 >conftest.err 10228 rm -f conftest.er1 10229 cat conftest.err >&5 10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10231 (exit $ac_status); } && { 10232 test -z "$ac_cxx_werror_flag" || 10233 test ! -s conftest.err 10234 } && test -s conftest$ac_exeext && 10235 $as_test_x conftest$ac_exeext; then 6035 if ac_fn_cxx_try_link "$LINENO"; then : 10236 6036 tcl_cv_cc_m64=yes 10237 6037 else 10238 echo "$as_me: failed program was:" >&5 10239 sed 's/^/| /' conftest.$ac_ext >&5 10240 10241 tcl_cv_cc_m64=no 10242 fi 10243 10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10245 conftest$ac_exeext conftest.$ac_ext 6038 tcl_cv_cc_m64=no 6039 fi 6040 rm -f core conftest.err conftest.$ac_objext \ 6041 conftest$ac_exeext conftest.$ac_ext 10246 6042 CFLAGS=$hold_cflags 10247 6043 fi 10248 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&510249 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 6045 $as_echo "$tcl_cv_cc_m64" >&6; } 10250 6046 if test $tcl_cv_cc_m64 = yes; then 10251 6047 CFLAGS="$CFLAGS -m64" … … 10266 6062 10267 6063 # XIM peeking works under XFree86. 10268 cat >>confdefs.h <<\_ACEOF 10269 #define PEEK_XCLOSEIM 1 10270 _ACEOF 6064 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 10271 6065 10272 6066 … … 10285 6079 LD_SEARCH_FLAGS="" 10286 6080 else 10287 if test "${ac_cv_header_dld_h+set}" = set; then 10288 { echo "$as_me:$LINENO: checking for dld.h" >&5 10289 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10290 if test "${ac_cv_header_dld_h+set}" = set; then 10291 echo $ECHO_N "(cached) $ECHO_C" >&6 10292 fi 10293 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10294 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10295 else 10296 # Is the header compilable? 10297 { echo "$as_me:$LINENO: checking dld.h usability" >&5 10298 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; } 10299 cat >conftest.$ac_ext <<_ACEOF 10300 /* confdefs.h. */ 10301 _ACEOF 10302 cat confdefs.h >>conftest.$ac_ext 10303 cat >>conftest.$ac_ext <<_ACEOF 10304 /* end confdefs.h. */ 10305 $ac_includes_default 10306 #include <dld.h> 10307 _ACEOF 10308 rm -f conftest.$ac_objext 10309 if { (ac_try="$ac_compile" 10310 case "(($ac_try" in 10311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10312 *) ac_try_echo=$ac_try;; 10313 esac 10314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10315 (eval "$ac_compile") 2>conftest.er1 10316 ac_status=$? 10317 grep -v '^ *+' conftest.er1 >conftest.err 10318 rm -f conftest.er1 10319 cat conftest.err >&5 10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10321 (exit $ac_status); } && { 10322 test -z "$ac_cxx_werror_flag" || 10323 test ! -s conftest.err 10324 } && test -s conftest.$ac_objext; then 10325 ac_header_compiler=yes 10326 else 10327 echo "$as_me: failed program was:" >&5 10328 sed 's/^/| /' conftest.$ac_ext >&5 10329 10330 ac_header_compiler=no 10331 fi 10332 10333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10334 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10335 echo "${ECHO_T}$ac_header_compiler" >&6; } 10336 10337 # Is the header present? 10338 { echo "$as_me:$LINENO: checking dld.h presence" >&5 10339 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; } 10340 cat >conftest.$ac_ext <<_ACEOF 10341 /* confdefs.h. */ 10342 _ACEOF 10343 cat confdefs.h >>conftest.$ac_ext 10344 cat >>conftest.$ac_ext <<_ACEOF 10345 /* end confdefs.h. */ 10346 #include <dld.h> 10347 _ACEOF 10348 if { (ac_try="$ac_cpp conftest.$ac_ext" 10349 case "(($ac_try" in 10350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10351 *) ac_try_echo=$ac_try;; 10352 esac 10353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10354 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10355 ac_status=$? 10356 grep -v '^ *+' conftest.er1 >conftest.err 10357 rm -f conftest.er1 10358 cat conftest.err >&5 10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10360 (exit $ac_status); } >/dev/null && { 10361 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10362 test ! -s conftest.err 10363 }; then 10364 ac_header_preproc=yes 10365 else 10366 echo "$as_me: failed program was:" >&5 10367 sed 's/^/| /' conftest.$ac_ext >&5 10368 10369 ac_header_preproc=no 10370 fi 10371 10372 rm -f conftest.err conftest.$ac_ext 10373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10374 echo "${ECHO_T}$ac_header_preproc" >&6; } 10375 10376 # So? What about this header? 10377 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10378 yes:no: ) 10379 { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 10380 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10381 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 10382 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 10383 ac_header_preproc=yes 10384 ;; 10385 no:yes:* ) 10386 { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 10387 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 10388 { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 10389 echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 10390 { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 10391 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 10392 { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 10393 echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 10394 { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 10395 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 10396 { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 10397 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 10398 ( cat <<\_ASBOX 10399 ## ----------------------------------- ## 10400 ## Report this to rappture@nanohub.org ## 10401 ## ----------------------------------- ## 10402 _ASBOX 10403 ) | sed "s/^/$as_me: WARNING: /" >&2 10404 ;; 10405 esac 10406 { echo "$as_me:$LINENO: checking for dld.h" >&5 10407 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; } 10408 if test "${ac_cv_header_dld_h+set}" = set; then 10409 echo $ECHO_N "(cached) $ECHO_C" >&6 10410 else 10411 ac_cv_header_dld_h=$ac_header_preproc 10412 fi 10413 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 10414 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; } 10415 10416 fi 10417 if test $ac_cv_header_dld_h = yes; then 6081 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 6082 if test "x$ac_cv_header_dld_h" = xyes; then : 10418 6083 10419 6084 SHLIB_LD="ld -shared" … … 10465 6130 NetBSD-*|FreeBSD-[1-2].*) 10466 6131 # Not available on all versions: check for include file. 10467 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10468 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10469 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10470 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10471 echo $ECHO_N "(cached) $ECHO_C" >&6 10472 fi 10473 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10474 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10475 else 10476 # Is the header compilable? 10477 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 10478 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; } 10479 cat >conftest.$ac_ext <<_ACEOF 10480 /* confdefs.h. */ 10481 _ACEOF 10482 cat confdefs.h >>conftest.$ac_ext 10483 cat >>conftest.$ac_ext <<_ACEOF 10484 /* end confdefs.h. */ 10485 $ac_includes_default 10486 #include <dlfcn.h> 10487 _ACEOF 10488 rm -f conftest.$ac_objext 10489 if { (ac_try="$ac_compile" 10490 case "(($ac_try" in 10491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10492 *) ac_try_echo=$ac_try;; 10493 esac 10494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10495 (eval "$ac_compile") 2>conftest.er1 10496 ac_status=$? 10497 grep -v '^ *+' conftest.er1 >conftest.err 10498 rm -f conftest.er1 10499 cat conftest.err >&5 10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10501 (exit $ac_status); } && { 10502 test -z "$ac_cxx_werror_flag" || 10503 test ! -s conftest.err 10504 } && test -s conftest.$ac_objext; then 10505 ac_header_compiler=yes 10506 else 10507 echo "$as_me: failed program was:" >&5 10508 sed 's/^/| /' conftest.$ac_ext >&5 10509 10510 ac_header_compiler=no 10511 fi 10512 10513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10514 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10515 echo "${ECHO_T}$ac_header_compiler" >&6; } 10516 10517 # Is the header present? 10518 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 10519 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; } 10520 cat >conftest.$ac_ext <<_ACEOF 10521 /* confdefs.h. */ 10522 _ACEOF 10523 cat confdefs.h >>conftest.$ac_ext 10524 cat >>conftest.$ac_ext <<_ACEOF 10525 /* end confdefs.h. */ 10526 #include <dlfcn.h> 10527 _ACEOF 10528 if { (ac_try="$ac_cpp conftest.$ac_ext" 10529 case "(($ac_try" in 10530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10531 *) ac_try_echo=$ac_try;; 10532 esac 10533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10535 ac_status=$? 10536 grep -v '^ *+' conftest.er1 >conftest.err 10537 rm -f conftest.er1 10538 cat conftest.err >&5 10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10540 (exit $ac_status); } >/dev/null && { 10541 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 10542 test ! -s conftest.err 10543 }; then 10544 ac_header_preproc=yes 10545 else 10546 echo "$as_me: failed program was:" >&5 10547 sed 's/^/| /' conftest.$ac_ext >&5 10548 10549 ac_header_preproc=no 10550 fi 10551 10552 rm -f conftest.err conftest.$ac_ext 10553 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10554 echo "${ECHO_T}$ac_header_preproc" >&6; } 10555 10556 # So? What about this header? 10557 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10558 yes:no: ) 10559 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 10560 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10561 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 10562 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 10563 ac_header_preproc=yes 10564 ;; 10565 no:yes:* ) 10566 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 10567 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 10568 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 10569 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 10570 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 10571 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 10572 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 10573 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 10574 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 10575 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 10576 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 10577 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 10578 ( cat <<\_ASBOX 10579 ## ----------------------------------- ## 10580 ## Report this to rappture@nanohub.org ## 10581 ## ----------------------------------- ## 10582 _ASBOX 10583 ) | sed "s/^/$as_me: WARNING: /" >&2 10584 ;; 10585 esac 10586 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5 10587 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; } 10588 if test "${ac_cv_header_dlfcn_h+set}" = set; then 10589 echo $ECHO_N "(cached) $ECHO_C" >&6 10590 else 10591 ac_cv_header_dlfcn_h=$ac_header_preproc 10592 fi 10593 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 10594 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; } 10595 10596 fi 10597 if test $ac_cv_header_dlfcn_h = yes; then 6132 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 6133 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10598 6134 10599 6135 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 10606 6142 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10607 6143 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10608 { echo "$as_me:$LINENO: checking for ELF" >&5 10609 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10610 if test "${tcl_cv_ld_elf+set}" = set; then 10611 echo $ECHO_N "(cached) $ECHO_C" >&6 10612 else 10613 10614 cat >conftest.$ac_ext <<_ACEOF 10615 /* confdefs.h. */ 10616 _ACEOF 10617 cat confdefs.h >>conftest.$ac_ext 10618 cat >>conftest.$ac_ext <<_ACEOF 6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6145 $as_echo_n "checking for ELF... " >&6; } 6146 if ${tcl_cv_ld_elf+:} false; then : 6147 $as_echo_n "(cached) " >&6 6148 else 6149 6150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10619 6151 /* end confdefs.h. */ 10620 6152 … … 10625 6157 _ACEOF 10626 6158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10627 $EGREP "yes" >/dev/null 2>&1; then 6159 $EGREP "yes" >/dev/null 2>&1; then : 10628 6160 tcl_cv_ld_elf=yes 10629 6161 else … … 10633 6165 10634 6166 fi 10635 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510636 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6168 $as_echo "$tcl_cv_ld_elf" >&6; } 10637 6169 if test $tcl_cv_ld_elf = yes; then 10638 6170 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' … … 10692 6224 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10693 6225 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 10694 { echo "$as_me:$LINENO: checking for ELF" >&5 10695 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } 10696 if test "${tcl_cv_ld_elf+set}" = set; then 10697 echo $ECHO_N "(cached) $ECHO_C" >&6 10698 else 10699 10700 cat >conftest.$ac_ext <<_ACEOF 10701 /* confdefs.h. */ 10702 _ACEOF 10703 cat confdefs.h >>conftest.$ac_ext 10704 cat >>conftest.$ac_ext <<_ACEOF 6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 6227 $as_echo_n "checking for ELF... " >&6; } 6228 if ${tcl_cv_ld_elf+:} false; then : 6229 $as_echo_n "(cached) " >&6 6230 else 6231 6232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10705 6233 /* end confdefs.h. */ 10706 6234 … … 10711 6239 _ACEOF 10712 6240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10713 $EGREP "yes" >/dev/null 2>&1; then 6241 $EGREP "yes" >/dev/null 2>&1; then : 10714 6242 tcl_cv_ld_elf=yes 10715 6243 else … … 10719 6247 10720 6248 fi 10721 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&510722 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 6250 $as_echo "$tcl_cv_ld_elf" >&6; } 10723 6251 if test $tcl_cv_ld_elf = yes; then 10724 6252 LDFLAGS=-Wl,-export-dynamic … … 10774 6302 case `arch` in 10775 6303 ppc) 10776 { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&510777 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }10778 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then10779 echo $ECHO_N "(cached) $ECHO_C" >&66304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 6305 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 6306 if ${tcl_cv_cc_arch_ppc64+:} false; then : 6307 $as_echo_n "(cached) " >&6 10780 6308 else 10781 6309 10782 6310 hold_cflags=$CFLAGS 10783 6311 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 10784 cat >conftest.$ac_ext <<_ACEOF 10785 /* confdefs.h. */ 10786 _ACEOF 10787 cat confdefs.h >>conftest.$ac_ext 10788 cat >>conftest.$ac_ext <<_ACEOF 6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10789 6313 /* end confdefs.h. */ 10790 6314 … … 10797 6321 } 10798 6322 _ACEOF 10799 rm -f conftest.$ac_objext conftest$ac_exeext 10800 if { (ac_try="$ac_link" 10801 case "(($ac_try" in 10802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10803 *) ac_try_echo=$ac_try;; 10804 esac 10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10806 (eval "$ac_link") 2>conftest.er1 10807 ac_status=$? 10808 grep -v '^ *+' conftest.er1 >conftest.err 10809 rm -f conftest.er1 10810 cat conftest.err >&5 10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10812 (exit $ac_status); } && { 10813 test -z "$ac_cxx_werror_flag" || 10814 test ! -s conftest.err 10815 } && test -s conftest$ac_exeext && 10816 $as_test_x conftest$ac_exeext; then 6323 if ac_fn_cxx_try_link "$LINENO"; then : 10817 6324 tcl_cv_cc_arch_ppc64=yes 10818 6325 else 10819 echo "$as_me: failed program was:" >&5 10820 sed 's/^/| /' conftest.$ac_ext >&5 10821 10822 tcl_cv_cc_arch_ppc64=no 10823 fi 10824 10825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10826 conftest$ac_exeext conftest.$ac_ext 6326 tcl_cv_cc_arch_ppc64=no 6327 fi 6328 rm -f core conftest.err conftest.$ac_objext \ 6329 conftest$ac_exeext conftest.$ac_ext 10827 6330 CFLAGS=$hold_cflags 10828 6331 fi 10829 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&510830 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 6333 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 10831 6334 if test $tcl_cv_cc_arch_ppc64 = yes; then 10832 6335 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" … … 10834 6337 fi;; 10835 6338 i386) 10836 { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&510837 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }10838 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then10839 echo $ECHO_N "(cached) $ECHO_C" >&66339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 6340 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 6341 if ${tcl_cv_cc_arch_x86_64+:} false; then : 6342 $as_echo_n "(cached) " >&6 10840 6343 else 10841 6344 10842 6345 hold_cflags=$CFLAGS 10843 6346 CFLAGS="$CFLAGS -arch x86_64" 10844 cat >conftest.$ac_ext <<_ACEOF 10845 /* confdefs.h. */ 10846 _ACEOF 10847 cat confdefs.h >>conftest.$ac_ext 10848 cat >>conftest.$ac_ext <<_ACEOF 6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10849 6348 /* end confdefs.h. */ 10850 6349 … … 10857 6356 } 10858 6357 _ACEOF 10859 rm -f conftest.$ac_objext conftest$ac_exeext 10860 if { (ac_try="$ac_link" 10861 case "(($ac_try" in 10862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10863 *) ac_try_echo=$ac_try;; 10864 esac 10865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10866 (eval "$ac_link") 2>conftest.er1 10867 ac_status=$? 10868 grep -v '^ *+' conftest.er1 >conftest.err 10869 rm -f conftest.er1 10870 cat conftest.err >&5 10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10872 (exit $ac_status); } && { 10873 test -z "$ac_cxx_werror_flag" || 10874 test ! -s conftest.err 10875 } && test -s conftest$ac_exeext && 10876 $as_test_x conftest$ac_exeext; then 6358 if ac_fn_cxx_try_link "$LINENO"; then : 10877 6359 tcl_cv_cc_arch_x86_64=yes 10878 6360 else 10879 echo "$as_me: failed program was:" >&5 10880 sed 's/^/| /' conftest.$ac_ext >&5 10881 10882 tcl_cv_cc_arch_x86_64=no 10883 fi 10884 10885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10886 conftest$ac_exeext conftest.$ac_ext 6361 tcl_cv_cc_arch_x86_64=no 6362 fi 6363 rm -f core conftest.err conftest.$ac_objext \ 6364 conftest$ac_exeext conftest.$ac_ext 10887 6365 CFLAGS=$hold_cflags 10888 6366 fi 10889 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&510890 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 6368 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 10891 6369 if test $tcl_cv_cc_arch_x86_64 = yes; then 10892 6370 CFLAGS="$CFLAGS -arch x86_64" … … 10894 6372 fi;; 10895 6373 *) 10896 { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&510897 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;6374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 6375 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 10898 6376 esac 10899 6377 else … … 10904 6382 fi 10905 6383 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 10906 { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&510907 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }10908 if test "${tcl_cv_ld_single_module+set}" = set; then10909 echo $ECHO_N "(cached) $ECHO_C" >&66384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 6385 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 6386 if ${tcl_cv_ld_single_module+:} false; then : 6387 $as_echo_n "(cached) " >&6 10910 6388 else 10911 6389 10912 6390 hold_ldflags=$LDFLAGS 10913 6391 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10914 cat >conftest.$ac_ext <<_ACEOF 10915 /* confdefs.h. */ 10916 _ACEOF 10917 cat confdefs.h >>conftest.$ac_ext 10918 cat >>conftest.$ac_ext <<_ACEOF 6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10919 6393 /* end confdefs.h. */ 10920 6394 … … 10927 6401 } 10928 6402 _ACEOF 10929 rm -f conftest.$ac_objext conftest$ac_exeext 10930 if { (ac_try="$ac_link" 10931 case "(($ac_try" in 10932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10933 *) ac_try_echo=$ac_try;; 10934 esac 10935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10936 (eval "$ac_link") 2>conftest.er1 10937 ac_status=$? 10938 grep -v '^ *+' conftest.er1 >conftest.err 10939 rm -f conftest.er1 10940 cat conftest.err >&5 10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10942 (exit $ac_status); } && { 10943 test -z "$ac_cxx_werror_flag" || 10944 test ! -s conftest.err 10945 } && test -s conftest$ac_exeext && 10946 $as_test_x conftest$ac_exeext; then 6403 if ac_fn_cxx_try_link "$LINENO"; then : 10947 6404 tcl_cv_ld_single_module=yes 10948 6405 else 10949 echo "$as_me: failed program was:" >&5 10950 sed 's/^/| /' conftest.$ac_ext >&5 10951 10952 tcl_cv_ld_single_module=no 10953 fi 10954 10955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10956 conftest$ac_exeext conftest.$ac_ext 6406 tcl_cv_ld_single_module=no 6407 fi 6408 rm -f core conftest.err conftest.$ac_objext \ 6409 conftest$ac_exeext conftest.$ac_ext 10957 6410 LDFLAGS=$hold_ldflags 10958 6411 fi 10959 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&510960 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 6413 $as_echo "$tcl_cv_ld_single_module" >&6; } 10961 6414 if test $tcl_cv_ld_single_module = yes; then 10962 6415 SHLIB_LD="${SHLIB_LD} -Wl,-single_module" … … 10971 6424 LDFLAGS="$LDFLAGS -prebind" 10972 6425 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10973 { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&510974 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }10975 if test "${tcl_cv_ld_search_paths_first+set}" = set; then10976 echo $ECHO_N "(cached) $ECHO_C" >&66426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 6427 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 6428 if ${tcl_cv_ld_search_paths_first+:} false; then : 6429 $as_echo_n "(cached) " >&6 10977 6430 else 10978 6431 10979 6432 hold_ldflags=$LDFLAGS 10980 6433 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 10981 cat >conftest.$ac_ext <<_ACEOF 10982 /* confdefs.h. */ 10983 _ACEOF 10984 cat confdefs.h >>conftest.$ac_ext 10985 cat >>conftest.$ac_ext <<_ACEOF 6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10986 6435 /* end confdefs.h. */ 10987 6436 … … 10994 6443 } 10995 6444 _ACEOF 10996 rm -f conftest.$ac_objext conftest$ac_exeext 10997 if { (ac_try="$ac_link" 10998 case "(($ac_try" in 10999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11000 *) ac_try_echo=$ac_try;; 11001 esac 11002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11003 (eval "$ac_link") 2>conftest.er1 11004 ac_status=$? 11005 grep -v '^ *+' conftest.er1 >conftest.err 11006 rm -f conftest.er1 11007 cat conftest.err >&5 11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11009 (exit $ac_status); } && { 11010 test -z "$ac_cxx_werror_flag" || 11011 test ! -s conftest.err 11012 } && test -s conftest$ac_exeext && 11013 $as_test_x conftest$ac_exeext; then 6445 if ac_fn_cxx_try_link "$LINENO"; then : 11014 6446 tcl_cv_ld_search_paths_first=yes 11015 6447 else 11016 echo "$as_me: failed program was:" >&5 11017 sed 's/^/| /' conftest.$ac_ext >&5 11018 11019 tcl_cv_ld_search_paths_first=no 11020 fi 11021 11022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11023 conftest$ac_exeext conftest.$ac_ext 6448 tcl_cv_ld_search_paths_first=no 6449 fi 6450 rm -f core conftest.err conftest.$ac_objext \ 6451 conftest$ac_exeext conftest.$ac_ext 11024 6452 LDFLAGS=$hold_ldflags 11025 6453 fi 11026 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&511027 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 6455 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11028 6456 if test $tcl_cv_ld_search_paths_first = yes; then 11029 6457 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" … … 11034 6462 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 11035 6463 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 11036 { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&511037 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 6465 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 11038 6466 # Check whether --enable-corefoundation was given. 11039 if test "${enable_corefoundation+set}" = set; then 6467 if test "${enable_corefoundation+set}" = set; then : 11040 6468 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 11041 6469 else … … 11043 6471 fi 11044 6472 11045 { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&511046 echo "${ECHO_T}$tcl_corefoundation" >&6; }6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 6474 $as_echo "$tcl_corefoundation" >&6; } 11047 6475 if test $tcl_corefoundation = yes; then 11048 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&511049 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }11050 if test "${tcl_cv_lib_corefoundation+set}" = set; then11051 echo $ECHO_N "(cached) $ECHO_C" >&66476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 6477 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 6478 if ${tcl_cv_lib_corefoundation+:} false; then : 6479 $as_echo_n "(cached) " >&6 11052 6480 else 11053 6481 … … 11060 6488 done; fi 11061 6489 LIBS="$LIBS -framework CoreFoundation" 11062 cat >conftest.$ac_ext <<_ACEOF 11063 /* confdefs.h. */ 11064 _ACEOF 11065 cat confdefs.h >>conftest.$ac_ext 11066 cat >>conftest.$ac_ext <<_ACEOF 6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11067 6491 /* end confdefs.h. */ 11068 6492 #include <CoreFoundation/CoreFoundation.h> … … 11075 6499 } 11076 6500 _ACEOF 11077 rm -f conftest.$ac_objext conftest$ac_exeext 11078 if { (ac_try="$ac_link" 11079 case "(($ac_try" in 11080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11081 *) ac_try_echo=$ac_try;; 11082 esac 11083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11084 (eval "$ac_link") 2>conftest.er1 11085 ac_status=$? 11086 grep -v '^ *+' conftest.er1 >conftest.err 11087 rm -f conftest.er1 11088 cat conftest.err >&5 11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11090 (exit $ac_status); } && { 11091 test -z "$ac_cxx_werror_flag" || 11092 test ! -s conftest.err 11093 } && test -s conftest$ac_exeext && 11094 $as_test_x conftest$ac_exeext; then 6501 if ac_fn_cxx_try_link "$LINENO"; then : 11095 6502 tcl_cv_lib_corefoundation=yes 11096 6503 else 11097 echo "$as_me: failed program was:" >&5 11098 sed 's/^/| /' conftest.$ac_ext >&5 11099 11100 tcl_cv_lib_corefoundation=no 11101 fi 11102 11103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11104 conftest$ac_exeext conftest.$ac_ext 6504 tcl_cv_lib_corefoundation=no 6505 fi 6506 rm -f core conftest.err conftest.$ac_objext \ 6507 conftest$ac_exeext conftest.$ac_ext 11105 6508 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 11106 6509 eval $v'="$hold_'$v'"' 11107 6510 done; fi; LIBS=$hold_libs 11108 6511 fi 11109 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&511110 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 6513 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 11111 6514 if test $tcl_cv_lib_corefoundation = yes; then 11112 6515 LIBS="$LIBS -framework CoreFoundation" 11113 cat >>confdefs.h <<\_ACEOF 11114 #define HAVE_COREFOUNDATION 1 11115 _ACEOF 6516 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 11116 6517 11117 6518 else … … 11119 6520 fi 11120 6521 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 11121 { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&511122 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }11123 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then11124 echo $ECHO_N "(cached) $ECHO_C" >&66522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 6523 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 6524 if ${tcl_cv_lib_corefoundation_64+:} false; then : 6525 $as_echo_n "(cached) " >&6 11125 6526 else 11126 6527 … … 11128 6529 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 11129 6530 done 11130 cat >conftest.$ac_ext <<_ACEOF 11131 /* confdefs.h. */ 11132 _ACEOF 11133 cat confdefs.h >>conftest.$ac_ext 11134 cat >>conftest.$ac_ext <<_ACEOF 6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11135 6532 /* end confdefs.h. */ 11136 6533 #include <CoreFoundation/CoreFoundation.h> … … 11143 6540 } 11144 6541 _ACEOF 11145 rm -f conftest.$ac_objext conftest$ac_exeext 11146 if { (ac_try="$ac_link" 11147 case "(($ac_try" in 11148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11149 *) ac_try_echo=$ac_try;; 11150 esac 11151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11152 (eval "$ac_link") 2>conftest.er1 11153 ac_status=$? 11154 grep -v '^ *+' conftest.er1 >conftest.err 11155 rm -f conftest.er1 11156 cat conftest.err >&5 11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11158 (exit $ac_status); } && { 11159 test -z "$ac_cxx_werror_flag" || 11160 test ! -s conftest.err 11161 } && test -s conftest$ac_exeext && 11162 $as_test_x conftest$ac_exeext; then 6542 if ac_fn_cxx_try_link "$LINENO"; then : 11163 6543 tcl_cv_lib_corefoundation_64=yes 11164 6544 else 11165 echo "$as_me: failed program was:" >&5 11166 sed 's/^/| /' conftest.$ac_ext >&5 11167 11168 tcl_cv_lib_corefoundation_64=no 11169 fi 11170 11171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11172 conftest$ac_exeext conftest.$ac_ext 6545 tcl_cv_lib_corefoundation_64=no 6546 fi 6547 rm -f core conftest.err conftest.$ac_objext \ 6548 conftest$ac_exeext conftest.$ac_ext 11173 6549 for v in CFLAGS CPPFLAGS LDFLAGS; do 11174 6550 eval $v'="$hold_'$v'"' 11175 6551 done 11176 6552 fi 11177 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&511178 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 6554 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 11179 6555 if test $tcl_cv_lib_corefoundation_64 = no; then 11180 cat >>confdefs.h <<\_ACEOF 11181 #define NO_COREFOUNDATION_64 1 11182 _ACEOF 6556 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 11183 6557 11184 6558 fi 11185 6559 fi 11186 6560 fi 11187 cat >>confdefs.h <<\_ACEOF 11188 #define MAC_OSX_TCL 1 11189 _ACEOF 6561 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 11190 6562 11191 6563 ;; … … 11202 6574 OS/390-*) 11203 6575 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11204 cat >>confdefs.h <<\_ACEOF 11205 #define _OE_SOCKETS 1 11206 _ACEOF 6576 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11207 6577 # needed in sys/socket.h 11208 6578 ;; … … 11345 6715 # won't define thread-safe library routines. 11346 6716 11347 cat >>confdefs.h <<\_ACEOF 11348 #define _REENTRANT 1 11349 _ACEOF 11350 11351 cat >>confdefs.h <<\_ACEOF 11352 #define _POSIX_PTHREAD_SEMANTICS 1 11353 _ACEOF 6717 $as_echo "#define _REENTRANT 1" >>confdefs.h 6718 6719 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11354 6720 11355 6721 … … 11377 6743 # won't define thread-safe library routines. 11378 6744 11379 cat >>confdefs.h <<\_ACEOF 11380 #define _REENTRANT 1 11381 _ACEOF 11382 11383 cat >>confdefs.h <<\_ACEOF 11384 #define _POSIX_PTHREAD_SEMANTICS 1 11385 _ACEOF 6745 $as_echo "#define _REENTRANT 1" >>confdefs.h 6746 6747 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11386 6748 11387 6749 … … 11394 6756 if test "$GCC" = "yes" ; then 11395 6757 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11396 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&511397 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}6758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6759 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11398 6760 else 11399 6761 do64bit_ok=yes … … 11416 6778 elif test "$arch" = "amd64 i386" ; then 11417 6779 if test "$GCC" = "yes" ; then 11418 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&511419 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6781 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11420 6782 else 11421 6783 do64bit_ok=yes … … 11424 6786 fi 11425 6787 else 11426 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&511427 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6789 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11428 6790 fi 11429 6791 fi … … 11483 6845 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11484 6846 # that don't grok the -Bexport option. Test that it does. 11485 { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&511486 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }11487 if test "${tcl_cv_ld_Bexport+set}" = set; then11488 echo $ECHO_N "(cached) $ECHO_C" >&66847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6848 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6849 if ${tcl_cv_ld_Bexport+:} false; then : 6850 $as_echo_n "(cached) " >&6 11489 6851 else 11490 6852 11491 6853 hold_ldflags=$LDFLAGS 11492 6854 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11493 cat >conftest.$ac_ext <<_ACEOF 11494 /* confdefs.h. */ 11495 _ACEOF 11496 cat confdefs.h >>conftest.$ac_ext 11497 cat >>conftest.$ac_ext <<_ACEOF 6855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11498 6856 /* end confdefs.h. */ 11499 6857 … … 11506 6864 } 11507 6865 _ACEOF 11508 rm -f conftest.$ac_objext conftest$ac_exeext 11509 if { (ac_try="$ac_link" 11510 case "(($ac_try" in 11511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11512 *) ac_try_echo=$ac_try;; 11513 esac 11514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11515 (eval "$ac_link") 2>conftest.er1 11516 ac_status=$? 11517 grep -v '^ *+' conftest.er1 >conftest.err 11518 rm -f conftest.er1 11519 cat conftest.err >&5 11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11521 (exit $ac_status); } && { 11522 test -z "$ac_cxx_werror_flag" || 11523 test ! -s conftest.err 11524 } && test -s conftest$ac_exeext && 11525 $as_test_x conftest$ac_exeext; then 6866 if ac_fn_cxx_try_link "$LINENO"; then : 11526 6867 tcl_cv_ld_Bexport=yes 11527 6868 else 11528 echo "$as_me: failed program was:" >&5 11529 sed 's/^/| /' conftest.$ac_ext >&5 11530 11531 tcl_cv_ld_Bexport=no 11532 fi 11533 11534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11535 conftest$ac_exeext conftest.$ac_ext 6869 tcl_cv_ld_Bexport=no 6870 fi 6871 rm -f core conftest.err conftest.$ac_objext \ 6872 conftest$ac_exeext conftest.$ac_ext 11536 6873 LDFLAGS=$hold_ldflags 11537 6874 fi 11538 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&511539 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6876 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11540 6877 if test $tcl_cv_ld_Bexport = yes; then 11541 6878 LDFLAGS="$LDFLAGS -Wl,-Bexport" … … 11547 6884 11548 6885 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11549 { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&511550 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}6886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6887 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11551 6888 fi 11552 6889 … … 11574 6911 11575 6912 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 11576 { echo "$as_me:$LINENO: checking sys/exec.h" >&5 11577 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; } 11578 if test "${tcl_cv_sysexec_h+set}" = set; then 11579 echo $ECHO_N "(cached) $ECHO_C" >&6 11580 else 11581 11582 cat >conftest.$ac_ext <<_ACEOF 11583 /* confdefs.h. */ 11584 _ACEOF 11585 cat confdefs.h >>conftest.$ac_ext 11586 cat >>conftest.$ac_ext <<_ACEOF 6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6914 $as_echo_n "checking sys/exec.h... " >&6; } 6915 if ${tcl_cv_sysexec_h+:} false; then : 6916 $as_echo_n "(cached) " >&6 6917 else 6918 6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11587 6920 /* end confdefs.h. */ 11588 6921 #include <sys/exec.h> … … 11606 6939 } 11607 6940 _ACEOF 11608 rm -f conftest.$ac_objext 11609 if { (ac_try="$ac_compile" 11610 case "(($ac_try" in 11611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11612 *) ac_try_echo=$ac_try;; 11613 esac 11614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11615 (eval "$ac_compile") 2>conftest.er1 11616 ac_status=$? 11617 grep -v '^ *+' conftest.er1 >conftest.err 11618 rm -f conftest.er1 11619 cat conftest.err >&5 11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11621 (exit $ac_status); } && { 11622 test -z "$ac_cxx_werror_flag" || 11623 test ! -s conftest.err 11624 } && test -s conftest.$ac_objext; then 6941 if ac_fn_cxx_try_compile "$LINENO"; then : 11625 6942 tcl_cv_sysexec_h=usable 11626 6943 else 11627 echo "$as_me: failed program was:" >&5 11628 sed 's/^/| /' conftest.$ac_ext >&5 11629 11630 tcl_cv_sysexec_h=unusable 11631 fi 11632 6944 tcl_cv_sysexec_h=unusable 6945 fi 11633 6946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11634 6947 fi 11635 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&511636 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6949 $as_echo "$tcl_cv_sysexec_h" >&6; } 11637 6950 if test $tcl_cv_sysexec_h = usable; then 11638 cat >>confdefs.h <<\_ACEOF 11639 #define USE_SYS_EXEC_H 1 11640 _ACEOF 6951 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 11641 6952 11642 6953 else 11643 { echo "$as_me:$LINENO: checking a.out.h" >&5 11644 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; } 11645 if test "${tcl_cv_aout_h+set}" = set; then 11646 echo $ECHO_N "(cached) $ECHO_C" >&6 11647 else 11648 11649 cat >conftest.$ac_ext <<_ACEOF 11650 /* confdefs.h. */ 11651 _ACEOF 11652 cat confdefs.h >>conftest.$ac_ext 11653 cat >>conftest.$ac_ext <<_ACEOF 6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6955 $as_echo_n "checking a.out.h... " >&6; } 6956 if ${tcl_cv_aout_h+:} false; then : 6957 $as_echo_n "(cached) " >&6 6958 else 6959 6960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11654 6961 /* end confdefs.h. */ 11655 6962 #include <a.out.h> … … 11673 6980 } 11674 6981 _ACEOF 11675 rm -f conftest.$ac_objext 11676 if { (ac_try="$ac_compile" 11677 case "(($ac_try" in 11678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11679 *) ac_try_echo=$ac_try;; 11680 esac 11681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11682 (eval "$ac_compile") 2>conftest.er1 11683 ac_status=$? 11684 grep -v '^ *+' conftest.er1 >conftest.err 11685 rm -f conftest.er1 11686 cat conftest.err >&5 11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11688 (exit $ac_status); } && { 11689 test -z "$ac_cxx_werror_flag" || 11690 test ! -s conftest.err 11691 } && test -s conftest.$ac_objext; then 6982 if ac_fn_cxx_try_compile "$LINENO"; then : 11692 6983 tcl_cv_aout_h=usable 11693 6984 else 11694 echo "$as_me: failed program was:" >&5 11695 sed 's/^/| /' conftest.$ac_ext >&5 11696 11697 tcl_cv_aout_h=unusable 11698 fi 11699 6985 tcl_cv_aout_h=unusable 6986 fi 11700 6987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11701 6988 fi 11702 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&511703 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6990 $as_echo "$tcl_cv_aout_h" >&6; } 11704 6991 if test $tcl_cv_aout_h = usable; then 11705 cat >>confdefs.h <<\_ACEOF 11706 #define USE_A_OUT_H 1 11707 _ACEOF 6992 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 11708 6993 11709 6994 else 11710 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 11711 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; } 11712 if test "${tcl_cv_sysexecaout_h+set}" = set; then 11713 echo $ECHO_N "(cached) $ECHO_C" >&6 11714 else 11715 11716 cat >conftest.$ac_ext <<_ACEOF 11717 /* confdefs.h. */ 11718 _ACEOF 11719 cat confdefs.h >>conftest.$ac_ext 11720 cat >>conftest.$ac_ext <<_ACEOF 6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6996 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6997 if ${tcl_cv_sysexecaout_h+:} false; then : 6998 $as_echo_n "(cached) " >&6 6999 else 7000 7001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11721 7002 /* end confdefs.h. */ 11722 7003 #include <sys/exec_aout.h> … … 11740 7021 } 11741 7022 _ACEOF 11742 rm -f conftest.$ac_objext 11743 if { (ac_try="$ac_compile" 11744 case "(($ac_try" in 11745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11746 *) ac_try_echo=$ac_try;; 11747 esac 11748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11749 (eval "$ac_compile") 2>conftest.er1 11750 ac_status=$? 11751 grep -v '^ *+' conftest.er1 >conftest.err 11752 rm -f conftest.er1 11753 cat conftest.err >&5 11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11755 (exit $ac_status); } && { 11756 test -z "$ac_cxx_werror_flag" || 11757 test ! -s conftest.err 11758 } && test -s conftest.$ac_objext; then 7023 if ac_fn_cxx_try_compile "$LINENO"; then : 11759 7024 tcl_cv_sysexecaout_h=usable 11760 7025 else 11761 echo "$as_me: failed program was:" >&5 11762 sed 's/^/| /' conftest.$ac_ext >&5 11763 11764 tcl_cv_sysexecaout_h=unusable 11765 fi 11766 7026 tcl_cv_sysexecaout_h=unusable 7027 fi 11767 7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11768 7029 fi 11769 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&511770 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 7031 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 11771 7032 if test $tcl_cv_sysexecaout_h = usable; then 11772 cat >>confdefs.h <<\_ACEOF 11773 #define USE_SYS_EXEC_AOUT_H 1 11774 _ACEOF 7033 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 11775 7034 11776 7035 else … … 11784 7043 11785 7044 # Check whether --enable-load was given. 11786 if test "${enable_load+set}" = set; then 7045 if test "${enable_load+set}" = set; then : 11787 7046 enableval=$enable_load; tcl_ok=$enableval 11788 7047 else … … 11915 7174 done 11916 7175 if test "x${make_command}" = "x" ; then 11917 { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 11918 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 11919 { (exit 1); exit 1; }; } 7176 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 11920 7177 fi 11921 7178 MAKE=${make_command} … … 11923 7180 11924 7181 # Check whether --enable-gui was given. 11925 if test "${enable_gui+set}" = set; then 7182 if test "${enable_gui+set}" = set; then : 11926 7183 enableval=$enable_gui; 11927 7184 else … … 11936 7193 11937 7194 11938 with_tclsh="yes"7195 rp_with_tclsh="yes" 11939 7196 11940 7197 # Check whether --with-tclsh was given. 11941 if test "${with_tclsh+set}" = set; then 7198 if test "${with_tclsh+set}" = set; then : 11942 7199 withval=$with_tclsh; 11943 7200 else 11944 with_tclsh=yes7201 rp_with_tclsh=$withval 11945 7202 fi 11946 7203 11947 7204 11948 7205 TCLSH= 11949 if test "$ with_tclsh" != "no" ; then11950 { echo "$as_me:$LINENO: checking for tclsh" >&511951 echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }11952 if test -x "$ with_tclsh/bin/tclsh"7206 if test "${rp_with_tclsh}" != "no" ; then 7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5 7208 $as_echo_n "checking for tclsh... " >&6; } 7209 if test -x "${rp_with_tclsh}/bin/tclsh" 11953 7210 then 11954 echo Found tclsh in $ with_tclsh/bin/tclsh11955 TCLSH="$ with_tclsh/bin/tclsh"7211 echo Found tclsh in ${rp_with_tclsh}/bin/tclsh 7212 TCLSH="${rp_with_tclsh}/bin/tclsh" 11956 7213 else 11957 if test -x "$ with_tclsh"7214 if test -x "${rp_with_tclsh}" 11958 7215 then 11959 echo Found tclsh in $with_tclsh11960 TCLSH="$ with_tclsh"7216 echo "Found tclsh in ${rp_with_tclsh}" 7217 TCLSH="${rp_with_tclsh}" 11961 7218 else 11962 7219 if test -x "${exec_prefix}/bin/tclsh" … … 11980 7237 # Extract the first word of "tclsh", so it can be a program name with args. 11981 7238 set dummy tclsh; ac_word=$2 11982 { echo "$as_me:$LINENO: checking for $ac_word" >&511983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }11984 if test "${ac_cv_path_TCLSH+set}" = set; then11985 echo $ECHO_N "(cached) $ECHO_C" >&67239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7240 $as_echo_n "checking for $ac_word... " >&6; } 7241 if ${ac_cv_path_TCLSH+:} false; then : 7242 $as_echo_n "(cached) " >&6 11986 7243 else 11987 7244 case $TCLSH in … … 11995 7252 IFS=$as_save_IFS 11996 7253 test -z "$as_dir" && as_dir=. 11997 for ac_exec_ext in '' $ac_executable_extensions; do7254 for ac_exec_ext in '' $ac_executable_extensions; do 11998 7255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11999 7256 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext" 12000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12001 7258 break 2 12002 7259 fi 12003 7260 done 12004 done7261 done 12005 7262 IFS=$as_save_IFS 12006 7263 … … 12010 7267 TCLSH=$ac_cv_path_TCLSH 12011 7268 if test -n "$TCLSH"; then 12012 { echo "$as_me:$LINENO: result: $TCLSH" >&512013 echo "${ECHO_T}$TCLSH" >&6; }12014 else 12015 { echo "$as_me:$LINENO: result: no" >&512016 echo "${ECHO_T}no" >&6; }7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 7270 $as_echo "$TCLSH" >&6; } 7271 else 7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7273 $as_echo "no" >&6; } 12017 7274 fi 12018 7275 … … 12021 7278 fi 12022 7279 12023 { echo "$as_me:$LINENO: result: ${TCLSH}" >&512024 echo "${ECHO_T}${TCLSH}" >&6; }7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5 7281 $as_echo "${TCLSH}" >&6; } 12025 7282 12026 7283 … … 12037 7294 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 12038 7295 12039 if test "x$ with_tcllib" != "x" ; then12040 tclconfig="${ with_tcllib}/tclConfig.sh"7296 if test "x$rp_with_tcllib" != "x" ; then 7297 tclconfig="${rp_with_tcllib}/tclConfig.sh" 12041 7298 if test -f "$tclconfig" ; then 12042 7299 . $tclconfig 12043 7300 fi 12044 TCL_LIB_SPEC="-L${ with_tcllib} -ltcl${TCL_VERSION}"12045 fi 12046 if test "x$ with_tclinclude" != "x" ; then12047 TCL_INC_SPEC="-I${ with_tclinclude}"7301 TCL_LIB_SPEC="-L${rp_with_tcllib} -ltcl${TCL_VERSION}" 7302 fi 7303 if test "x$rp_with_tclinclude" != "x" ; then 7304 TCL_INC_SPEC="-I${rp_with_tclinclude}" 12048 7305 fi 12049 7306 … … 12054 7311 12055 7312 # Check whether --with-vtk was given. 12056 if test "${with_vtk+set}" = set; then 12057 withval=$with_vtk; with_vtk=$withval12058 else 12059 with_vtk=yes12060 fi 12061 12062 12063 { echo "$as_me:$LINENO: checking for vtk" >&512064 echo $ECHO_N "checking for vtk... $ECHO_C" >&6; }7313 if test "${with_vtk+set}" = set; then : 7314 withval=$with_vtk; rp_with_vtk=$withval 7315 else 7316 rp_with_vtk=yes 7317 fi 7318 7319 7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 7321 $as_echo_n "checking for vtk... " >&6; } 12065 7322 VTKDIR="" 12066 7323 12067 if test "$ with_vtk" != "no" ; then12068 if test "$ with_vtk" = "yes" ; then7324 if test "$rp_with_vtk" != "no" ; then 7325 if test "$rp_with_vtk" = "yes" ; then 12069 7326 for path in \ 12070 7327 $libdir \ … … 12085 7342 fi 12086 7343 12087 { echo "$as_me:$LINENO: result: $VTKDIR" >&512088 echo "${ECHO_T}$VTKDIR" >&6; }7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 7345 $as_echo "$VTKDIR" >&6; } 12089 7346 12090 7347 12091 7348 12092 7349 # Check whether --with-matlab was given. 12093 if test "${with_matlab+set}" = set; then 12094 withval=$with_matlab; with_matlab=$withval12095 else 12096 with_matlab=yes7350 if test "${with_matlab+set}" = set; then : 7351 withval=$with_matlab; rp_with_matlab=$withval 7352 else 7353 rp_with_matlab=yes 12097 7354 fi 12098 7355 … … 12103 7360 MEXEXT="" 12104 7361 MATLAB= 12105 if test "$ with_matlab" != "no" ; then12106 if test "$ with_matlab" = "yes" ; then7362 if test "$rp_with_matlab" != "no" ; then 7363 if test "$rp_with_matlab" = "yes" ; then 12107 7364 # Extract the first word of "matlab", so it can be a program name with args. 12108 7365 set dummy matlab; ac_word=$2 12109 { echo "$as_me:$LINENO: checking for $ac_word" >&512110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12111 if test "${ac_cv_path_MATLAB+set}" = set; then12112 echo $ECHO_N "(cached) $ECHO_C" >&67366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7367 $as_echo_n "checking for $ac_word... " >&6; } 7368 if ${ac_cv_path_MATLAB+:} false; then : 7369 $as_echo_n "(cached) " >&6 12113 7370 else 12114 7371 case $MATLAB in … … 12122 7379 IFS=$as_save_IFS 12123 7380 test -z "$as_dir" && as_dir=. 12124 for ac_exec_ext in '' $ac_executable_extensions; do7381 for ac_exec_ext in '' $ac_executable_extensions; do 12125 7382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12126 7383 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12128 7385 break 2 12129 7386 fi 12130 7387 done 12131 done7388 done 12132 7389 IFS=$as_save_IFS 12133 7390 … … 12137 7394 MATLAB=$ac_cv_path_MATLAB 12138 7395 if test -n "$MATLAB"; then 12139 { echo "$as_me:$LINENO: result: $MATLAB" >&512140 echo "${ECHO_T}$MATLAB" >&6; }12141 else 12142 { echo "$as_me:$LINENO: result: no" >&512143 echo "${ECHO_T}no" >&6; }7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7397 $as_echo "$MATLAB" >&6; } 7398 else 7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7400 $as_echo "no" >&6; } 12144 7401 fi 12145 7402 … … 12148 7405 # Extract the first word of "matlab", so it can be a program name with args. 12149 7406 set dummy matlab; ac_word=$2 12150 { echo "$as_me:$LINENO: checking for $ac_word" >&512151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12152 if test "${ac_cv_path_MATLAB+set}" = set; then12153 echo $ECHO_N "(cached) $ECHO_C" >&67407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7408 $as_echo_n "checking for $ac_word... " >&6; } 7409 if ${ac_cv_path_MATLAB+:} false; then : 7410 $as_echo_n "(cached) " >&6 12154 7411 else 12155 7412 case $MATLAB in … … 12159 7416 *) 12160 7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12161 as_dummy="${ with_matlab}/bin:${with_matlab}"7418 as_dummy="${rp_with_matlab}/bin:${rp_with_matlab}" 12162 7419 for as_dir in $as_dummy 12163 7420 do 12164 7421 IFS=$as_save_IFS 12165 7422 test -z "$as_dir" && as_dir=. 12166 for ac_exec_ext in '' $ac_executable_extensions; do7423 for ac_exec_ext in '' $ac_executable_extensions; do 12167 7424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12168 7425 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext" 12169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12170 7427 break 2 12171 7428 fi 12172 7429 done 12173 done7430 done 12174 7431 IFS=$as_save_IFS 12175 7432 … … 12179 7436 MATLAB=$ac_cv_path_MATLAB 12180 7437 if test -n "$MATLAB"; then 12181 { echo "$as_me:$LINENO: result: $MATLAB" >&512182 echo "${ECHO_T}$MATLAB" >&6; }12183 else 12184 { echo "$as_me:$LINENO: result: no" >&512185 echo "${ECHO_T}no" >&6; }7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5 7439 $as_echo "$MATLAB" >&6; } 7440 else 7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7442 $as_echo "no" >&6; } 12186 7443 fi 12187 7444 … … 12199 7456 # Extract the first word of "mex", so it can be a program name with args. 12200 7457 set dummy mex; ac_word=$2 12201 { echo "$as_me:$LINENO: checking for $ac_word" >&512202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12203 if test "${ac_cv_path_MEX+set}" = set; then12204 echo $ECHO_N "(cached) $ECHO_C" >&67458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7459 $as_echo_n "checking for $ac_word... " >&6; } 7460 if ${ac_cv_path_MEX+:} false; then : 7461 $as_echo_n "(cached) " >&6 12205 7462 else 12206 7463 case $MEX in … … 12214 7471 IFS=$as_save_IFS 12215 7472 test -z "$as_dir" && as_dir=. 12216 for ac_exec_ext in '' $ac_executable_extensions; do7473 for ac_exec_ext in '' $ac_executable_extensions; do 12217 7474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12218 7475 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 12219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12220 7477 break 2 12221 7478 fi 12222 7479 done 12223 done7480 done 12224 7481 IFS=$as_save_IFS 12225 7482 … … 12229 7486 MEX=$ac_cv_path_MEX 12230 7487 if test -n "$MEX"; then 12231 { echo "$as_me:$LINENO: result: $MEX" >&512232 echo "${ECHO_T}$MEX" >&6; }12233 else 12234 { echo "$as_me:$LINENO: result: no" >&512235 echo "${ECHO_T}no" >&6; }7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5 7489 $as_echo "$MEX" >&6; } 7490 else 7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7492 $as_echo "no" >&6; } 12236 7493 fi 12237 7494 … … 12239 7496 # Extract the first word of "mexext", so it can be a program name with args. 12240 7497 set dummy mexext; ac_word=$2 12241 { echo "$as_me:$LINENO: checking for $ac_word" >&512242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12243 if test "${ac_cv_path_MEXEXT+set}" = set; then12244 echo $ECHO_N "(cached) $ECHO_C" >&67498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7499 $as_echo_n "checking for $ac_word... " >&6; } 7500 if ${ac_cv_path_MEXEXT+:} false; then : 7501 $as_echo_n "(cached) " >&6 12245 7502 else 12246 7503 case $MEXEXT in … … 12254 7511 IFS=$as_save_IFS 12255 7512 test -z "$as_dir" && as_dir=. 12256 for ac_exec_ext in '' $ac_executable_extensions; do7513 for ac_exec_ext in '' $ac_executable_extensions; do 12257 7514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12258 7515 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext" 12259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12260 7517 break 2 12261 7518 fi 12262 7519 done 12263 done7520 done 12264 7521 IFS=$as_save_IFS 12265 7522 … … 12269 7526 MEXEXT=$ac_cv_path_MEXEXT 12270 7527 if test -n "$MEXEXT"; then 12271 { echo "$as_me:$LINENO: result: $MEXEXT" >&512272 echo "${ECHO_T}$MEXEXT" >&6; }12273 else 12274 { echo "$as_me:$LINENO: result: no" >&512275 echo "${ECHO_T}no" >&6; }7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7529 $as_echo "$MEXEXT" >&6; } 7530 else 7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7532 $as_echo "no" >&6; } 12276 7533 fi 12277 7534 … … 12279 7536 12280 7537 # Run "mexext" to get the expected module extension for this platform. 12281 { echo "$as_me:$LINENO: checking for mex extension" >&512282 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5 7539 $as_echo_n "checking for mex extension... " >&6; } 12283 7540 if test "x$MEXEXT" != "x" ; then 12284 7541 MEXEXT=`$MEXEXT` … … 12286 7543 MEXEXT="mexglx" 12287 7544 fi 12288 { echo "$as_me:$LINENO: result: $MEXEXT" >&512289 echo "${ECHO_T}$MEXEXT" >&6; }7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5 7546 $as_echo "$MEXEXT" >&6; } 12290 7547 # Extract the first word of "mcc", so it can be a program name with args. 12291 7548 set dummy mcc; ac_word=$2 12292 { echo "$as_me:$LINENO: checking for $ac_word" >&512293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12294 if test "${ac_cv_path_MCC+set}" = set; then12295 echo $ECHO_N "(cached) $ECHO_C" >&67549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7550 $as_echo_n "checking for $ac_word... " >&6; } 7551 if ${ac_cv_path_MCC+:} false; then : 7552 $as_echo_n "(cached) " >&6 12296 7553 else 12297 7554 case $MCC in … … 12305 7562 IFS=$as_save_IFS 12306 7563 test -z "$as_dir" && as_dir=. 12307 for ac_exec_ext in '' $ac_executable_extensions; do7564 for ac_exec_ext in '' $ac_executable_extensions; do 12308 7565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12309 7566 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext" 12310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12311 7568 break 2 12312 7569 fi 12313 7570 done 12314 done7571 done 12315 7572 IFS=$as_save_IFS 12316 7573 … … 12320 7577 MCC=$ac_cv_path_MCC 12321 7578 if test -n "$MCC"; then 12322 { echo "$as_me:$LINENO: result: $MCC" >&512323 echo "${ECHO_T}$MCC" >&6; }12324 else 12325 { echo "$as_me:$LINENO: result: no" >&512326 echo "${ECHO_T}no" >&6; }12327 fi 12328 12329 12330 { echo "$as_me:$LINENO: checking for mcc extension" >&512331 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; }7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5 7580 $as_echo "$MCC" >&6; } 7581 else 7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7583 $as_echo "no" >&6; } 7584 fi 7585 7586 7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5 7588 $as_echo_n "checking for mcc extension... " >&6; } 12332 7589 fi 12333 7590 … … 12341 7598 12342 7599 # Check whether --with-octave was given. 12343 if test "${with_octave+set}" = set; then 12344 withval=$with_octave; with_octave=$withval12345 else 12346 with_octave=yes7600 if test "${with_octave+set}" = set; then : 7601 withval=$with_octave; rp_with_octave=$withval 7602 else 7603 rp_with_octave=yes 12347 7604 fi 12348 7605 … … 12356 7613 MKOCTFILE2= 12357 7614 MKOCTFILE3= 12358 if test "$ with_octave" != "no" ; then12359 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512360 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }12361 if test "$ with_octave" = "yes" ; then7615 if test "$rp_with_octave" != "no" ; then 7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7617 $as_echo_n "checking for octave and mkoctfile... " >&6; } 7618 if test "$rp_with_octave" = "yes" ; then 12362 7619 # Extract the first word of "octave", so it can be a program name with args. 12363 7620 set dummy octave; ac_word=$2 12364 { echo "$as_me:$LINENO: checking for $ac_word" >&512365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12366 if test "${ac_cv_path_OCTAVE+set}" = set; then12367 echo $ECHO_N "(cached) $ECHO_C" >&67621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7622 $as_echo_n "checking for $ac_word... " >&6; } 7623 if ${ac_cv_path_OCTAVE+:} false; then : 7624 $as_echo_n "(cached) " >&6 12368 7625 else 12369 7626 case $OCTAVE in … … 12377 7634 IFS=$as_save_IFS 12378 7635 test -z "$as_dir" && as_dir=. 12379 for ac_exec_ext in '' $ac_executable_extensions; do7636 for ac_exec_ext in '' $ac_executable_extensions; do 12380 7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12381 7638 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12383 7640 break 2 12384 7641 fi 12385 7642 done 12386 done7643 done 12387 7644 IFS=$as_save_IFS 12388 7645 … … 12392 7649 OCTAVE=$ac_cv_path_OCTAVE 12393 7650 if test -n "$OCTAVE"; then 12394 { echo "$as_me:$LINENO: result: $OCTAVE" >&512395 echo "${ECHO_T}$OCTAVE" >&6; }12396 else 12397 { echo "$as_me:$LINENO: result: no" >&512398 echo "${ECHO_T}no" >&6; }7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 7652 $as_echo "$OCTAVE" >&6; } 7653 else 7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7655 $as_echo "no" >&6; } 12399 7656 fi 12400 7657 … … 12402 7659 # Extract the first word of "mkoctfile", so it can be a program name with args. 12403 7660 set dummy mkoctfile; ac_word=$2 12404 { echo "$as_me:$LINENO: checking for $ac_word" >&512405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12406 if test "${ac_cv_path_MKOCTFILE+set}" = set; then12407 echo $ECHO_N "(cached) $ECHO_C" >&67661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7662 $as_echo_n "checking for $ac_word... " >&6; } 7663 if ${ac_cv_path_MKOCTFILE+:} false; then : 7664 $as_echo_n "(cached) " >&6 12408 7665 else 12409 7666 case $MKOCTFILE in … … 12417 7674 IFS=$as_save_IFS 12418 7675 test -z "$as_dir" && as_dir=. 12419 for ac_exec_ext in '' $ac_executable_extensions; do7676 for ac_exec_ext in '' $ac_executable_extensions; do 12420 7677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12421 7678 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 12422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12423 7680 break 2 12424 7681 fi 12425 7682 done 12426 done7683 done 12427 7684 IFS=$as_save_IFS 12428 7685 … … 12432 7689 MKOCTFILE=$ac_cv_path_MKOCTFILE 12433 7690 if test -n "$MKOCTFILE"; then 12434 { echo "$as_me:$LINENO: result: $MKOCTFILE" >&512435 echo "${ECHO_T}$MKOCTFILE" >&6; }12436 else 12437 { echo "$as_me:$LINENO: result: no" >&512438 echo "${ECHO_T}no" >&6; }7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 7692 $as_echo "$MKOCTFILE" >&6; } 7693 else 7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7695 $as_echo "no" >&6; } 12439 7696 fi 12440 7697 12441 7698 12442 7699 else 12443 MKOCTFILE=$ with_octave12444 OCTAVE=$ with_octave7700 MKOCTFILE=$rp_with_octave 7701 OCTAVE=$rp_with_octave 12445 7702 fi 12446 7703 fi … … 12461 7718 12462 7719 # Check whether --with-octave2 was given. 12463 if test "${with_octave2+set}" = set; then 12464 withval=$with_octave2; with_octave2=$withval12465 else 12466 with_octave2=no12467 fi 12468 12469 12470 if test "$ with_octave2" != "no" ; then12471 if test "$ with_octave2" = "yes" ; then12472 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512473 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }7720 if test "${with_octave2+set}" = set; then : 7721 withval=$with_octave2; rp_with_octave2=$withval 7722 else 7723 rp_with_octave2=no 7724 fi 7725 7726 7727 if test "$rp_with_octave2" != "no" ; then 7728 if test "$rp_with_octave2" = "yes" ; then 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7730 $as_echo_n "checking for octave and mkoctfile... " >&6; } 12474 7731 # Extract the first word of "octave", so it can be a program name with args. 12475 7732 set dummy octave; ac_word=$2 12476 { echo "$as_me:$LINENO: checking for $ac_word" >&512477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12478 if test "${ac_cv_path_octave2+set}" = set; then12479 echo $ECHO_N "(cached) $ECHO_C" >&67733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7734 $as_echo_n "checking for $ac_word... " >&6; } 7735 if ${ac_cv_path_octave2+:} false; then : 7736 $as_echo_n "(cached) " >&6 12480 7737 else 12481 7738 case $octave2 in … … 12489 7746 IFS=$as_save_IFS 12490 7747 test -z "$as_dir" && as_dir=. 12491 for ac_exec_ext in '' $ac_executable_extensions; do7748 for ac_exec_ext in '' $ac_executable_extensions; do 12492 7749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12493 7750 ac_cv_path_octave2="$as_dir/$ac_word$ac_exec_ext" 12494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12495 7752 break 2 12496 7753 fi 12497 7754 done 12498 done7755 done 12499 7756 IFS=$as_save_IFS 12500 7757 … … 12504 7761 octave2=$ac_cv_path_octave2 12505 7762 if test -n "$octave2"; then 12506 { echo "$as_me:$LINENO: result: $octave2" >&512507 echo "${ECHO_T}$octave2" >&6; }12508 else 12509 { echo "$as_me:$LINENO: result: no" >&512510 echo "${ECHO_T}no" >&6; }7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave2" >&5 7764 $as_echo "$octave2" >&6; } 7765 else 7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7767 $as_echo "no" >&6; } 12511 7768 fi 12512 7769 … … 12514 7771 # Extract the first word of "mkoctfile", so it can be a program name with args. 12515 7772 set dummy mkoctfile; ac_word=$2 12516 { echo "$as_me:$LINENO: checking for $ac_word" >&512517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12518 if test "${ac_cv_path_mkoctfile2+set}" = set; then12519 echo $ECHO_N "(cached) $ECHO_C" >&67773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7774 $as_echo_n "checking for $ac_word... " >&6; } 7775 if ${ac_cv_path_mkoctfile2+:} false; then : 7776 $as_echo_n "(cached) " >&6 12520 7777 else 12521 7778 case $mkoctfile2 in … … 12529 7786 IFS=$as_save_IFS 12530 7787 test -z "$as_dir" && as_dir=. 12531 for ac_exec_ext in '' $ac_executable_extensions; do7788 for ac_exec_ext in '' $ac_executable_extensions; do 12532 7789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12533 7790 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext" 12534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12535 7792 break 2 12536 7793 fi 12537 7794 done 12538 done7795 done 12539 7796 IFS=$as_save_IFS 12540 7797 … … 12544 7801 mkoctfile2=$ac_cv_path_mkoctfile2 12545 7802 if test -n "$mkoctfile2"; then 12546 { echo "$as_me:$LINENO: result: $mkoctfile2" >&512547 echo "${ECHO_T}$mkoctfile2" >&6; }12548 else 12549 { echo "$as_me:$LINENO: result: no" >&512550 echo "${ECHO_T}no" >&6; }7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5 7804 $as_echo "$mkoctfile2" >&6; } 7805 else 7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7807 $as_echo "no" >&6; } 12551 7808 fi 12552 7809 12553 7810 12554 7811 else 12555 octave2=$ with_octave212556 mkoctfile2=`dirname $ with_octave2`/mkoctfile7812 octave2=$rp_with_octave2 7813 mkoctfile2=`dirname $rp_with_octave2`/mkoctfile 12557 7814 fi 12558 7815 fi … … 12570 7827 12571 7828 # Check whether --with-octave3 was given. 12572 if test "${with_octave3+set}" = set; then 12573 withval=$with_octave3; with_octave3=$withval12574 else 12575 with_octave3=no12576 fi 12577 12578 12579 echo with_octave3=$with_octave312580 if test "$ with_octave3" != "no" ; then12581 if test "$ with_octave3" = "yes" ; then12582 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&512583 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }7829 if test "${with_octave3+set}" = set; then : 7830 withval=$with_octave3; rp_with_octave3=$withval 7831 else 7832 rp_with_octave3=no 7833 fi 7834 7835 7836 echo rp_with_octave3=$rp_with_octave3 7837 if test "$rp_with_octave3" != "no" ; then 7838 if test "$rp_with_octave3" = "yes" ; then 7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7840 $as_echo_n "checking for octave and mkoctfile... " >&6; } 12584 7841 # Extract the first word of "octave", so it can be a program name with args. 12585 7842 set dummy octave; ac_word=$2 12586 { echo "$as_me:$LINENO: checking for $ac_word" >&512587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12588 if test "${ac_cv_path_octave3+set}" = set; then12589 echo $ECHO_N "(cached) $ECHO_C" >&67843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7844 $as_echo_n "checking for $ac_word... " >&6; } 7845 if ${ac_cv_path_octave3+:} false; then : 7846 $as_echo_n "(cached) " >&6 12590 7847 else 12591 7848 case $octave3 in … … 12599 7856 IFS=$as_save_IFS 12600 7857 test -z "$as_dir" && as_dir=. 12601 for ac_exec_ext in '' $ac_executable_extensions; do7858 for ac_exec_ext in '' $ac_executable_extensions; do 12602 7859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12603 7860 ac_cv_path_octave3="$as_dir/$ac_word$ac_exec_ext" 12604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12605 7862 break 2 12606 7863 fi 12607 7864 done 12608 done7865 done 12609 7866 IFS=$as_save_IFS 12610 7867 … … 12614 7871 octave3=$ac_cv_path_octave3 12615 7872 if test -n "$octave3"; then 12616 { echo "$as_me:$LINENO: result: $octave3" >&512617 echo "${ECHO_T}$octave3" >&6; }12618 else 12619 { echo "$as_me:$LINENO: result: no" >&512620 echo "${ECHO_T}no" >&6; }7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave3" >&5 7874 $as_echo "$octave3" >&6; } 7875 else 7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7877 $as_echo "no" >&6; } 12621 7878 fi 12622 7879 … … 12624 7881 # Extract the first word of "mkoctfile", so it can be a program name with args. 12625 7882 set dummy mkoctfile; ac_word=$2 12626 { echo "$as_me:$LINENO: checking for $ac_word" >&512627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12628 if test "${ac_cv_path_mkoctfile3+set}" = set; then12629 echo $ECHO_N "(cached) $ECHO_C" >&67883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7884 $as_echo_n "checking for $ac_word... " >&6; } 7885 if ${ac_cv_path_mkoctfile3+:} false; then : 7886 $as_echo_n "(cached) " >&6 12630 7887 else 12631 7888 case $mkoctfile3 in … … 12639 7896 IFS=$as_save_IFS 12640 7897 test -z "$as_dir" && as_dir=. 12641 for ac_exec_ext in '' $ac_executable_extensions; do7898 for ac_exec_ext in '' $ac_executable_extensions; do 12642 7899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12643 7900 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext" 12644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12645 7902 break 2 12646 7903 fi 12647 7904 done 12648 done7905 done 12649 7906 IFS=$as_save_IFS 12650 7907 … … 12654 7911 mkoctfile3=$ac_cv_path_mkoctfile3 12655 7912 if test -n "$mkoctfile3"; then 12656 { echo "$as_me:$LINENO: result: $mkoctfile3" >&512657 echo "${ECHO_T}$mkoctfile3" >&6; }12658 else 12659 { echo "$as_me:$LINENO: result: no" >&512660 echo "${ECHO_T}no" >&6; }7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5 7914 $as_echo "$mkoctfile3" >&6; } 7915 else 7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7917 $as_echo "no" >&6; } 12661 7918 fi 12662 7919 12663 7920 12664 7921 else 12665 octave3=$ with_octave312666 mkoctfile3=`dirname $ with_octave3`/mkoctfile7922 octave3=$rp_with_octave3 7923 mkoctfile3=`dirname $rp_with_octave3`/mkoctfile 12667 7924 fi 12668 7925 fi … … 12676 7933 echo version_major=$version_major 12677 7934 if test "$version_major" = "3" ; then 12678 OCTAVE3=$ with_octave37935 OCTAVE3=$rp_with_octave3 12679 7936 MKOCTFILE3=$mkoctfile3 12680 7937 fi … … 12692 7949 12693 7950 # Check whether --with-perl was given. 12694 if test "${with_perl+set}" = set; then 7951 if test "${with_perl+set}" = set; then : 12695 7952 withval=$with_perl; 12696 7953 else 12697 with_perl=yes7954 rp_with_perl=yes 12698 7955 fi 12699 7956 … … 12710 7967 PERL_VERSION_RV= 12711 7968 PERL_LIBSPEC= 12712 if test "$ with_perl" != "no" ; then12713 { echo "$as_me:$LINENO: checking for perl" >&512714 echo $ECHO_N "checking for perl... $ECHO_C" >&6; }12715 if test "$ with_perl" != "yes" ; then7969 if test "$rp_with_perl" != "no" ; then 7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5 7971 $as_echo_n "checking for perl... " >&6; } 7972 if test "$rp_with_perl" != "yes" ; then 12716 7973 # Extract the first word of "perl", so it can be a program name with args. 12717 7974 set dummy perl; ac_word=$2 12718 { echo "$as_me:$LINENO: checking for $ac_word" >&512719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12720 if test "${ac_cv_path_PERL+set}" = set; then12721 echo $ECHO_N "(cached) $ECHO_C" >&67975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7976 $as_echo_n "checking for $ac_word... " >&6; } 7977 if ${ac_cv_path_PERL+:} false; then : 7978 $as_echo_n "(cached) " >&6 12722 7979 else 12723 7980 case $PERL in … … 12727 7984 *) 12728 7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12729 as_dummy="$ with_perl/bin:$with_perl"7986 as_dummy="$rp_with_perl/bin:$rp_with_perl" 12730 7987 for as_dir in $as_dummy 12731 7988 do 12732 7989 IFS=$as_save_IFS 12733 7990 test -z "$as_dir" && as_dir=. 12734 for ac_exec_ext in '' $ac_executable_extensions; do7991 for ac_exec_ext in '' $ac_executable_extensions; do 12735 7992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12736 7993 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12738 7995 break 2 12739 7996 fi 12740 7997 done 12741 done7998 done 12742 7999 IFS=$as_save_IFS 12743 8000 … … 12747 8004 PERL=$ac_cv_path_PERL 12748 8005 if test -n "$PERL"; then 12749 { echo "$as_me:$LINENO: result: $PERL" >&512750 echo "${ECHO_T}$PERL" >&6; }12751 else 12752 { echo "$as_me:$LINENO: result: no" >&512753 echo "${ECHO_T}no" >&6; }8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8007 $as_echo "$PERL" >&6; } 8008 else 8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8010 $as_echo "no" >&6; } 12754 8011 fi 12755 8012 … … 12758 8015 # Extract the first word of "perl", so it can be a program name with args. 12759 8016 set dummy perl; ac_word=$2 12760 { echo "$as_me:$LINENO: checking for $ac_word" >&512761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12762 if test "${ac_cv_path_PERL+set}" = set; then12763 echo $ECHO_N "(cached) $ECHO_C" >&68017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8018 $as_echo_n "checking for $ac_word... " >&6; } 8019 if ${ac_cv_path_PERL+:} false; then : 8020 $as_echo_n "(cached) " >&6 12764 8021 else 12765 8022 case $PERL in … … 12773 8030 IFS=$as_save_IFS 12774 8031 test -z "$as_dir" && as_dir=. 12775 for ac_exec_ext in '' $ac_executable_extensions; do8032 for ac_exec_ext in '' $ac_executable_extensions; do 12776 8033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12777 8034 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12779 8036 break 2 12780 8037 fi 12781 8038 done 12782 done8039 done 12783 8040 IFS=$as_save_IFS 12784 8041 … … 12788 8045 PERL=$ac_cv_path_PERL 12789 8046 if test -n "$PERL"; then 12790 { echo "$as_me:$LINENO: result: $PERL" >&512791 echo "${ECHO_T}$PERL" >&6; }12792 else 12793 { echo "$as_me:$LINENO: result: no" >&512794 echo "${ECHO_T}no" >&6; }8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8048 $as_echo "$PERL" >&6; } 8049 else 8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8051 $as_echo "no" >&6; } 12795 8052 fi 12796 8053 … … 12815 8072 fi 12816 8073 fi 12817 { echo "$as_me:$LINENO: result: ${PERL}" >&512818 echo "${ECHO_T}${PERL}" >&6; }8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PERL}" >&5 8075 $as_echo "${PERL}" >&6; } 12819 8076 12820 8077 … … 12845 8102 12846 8103 # Check whether --with-python was given. 12847 if test "${with_python+set}" = set; then 8104 if test "${with_python+set}" = set; then : 12848 8105 withval=$with_python; 12849 8106 else 12850 with_python=yes12851 fi 12852 12853 12854 if test "$ with_python" != "no" ; then12855 { echo "$as_me:$LINENO: checking for python" >&512856 echo $ECHO_N "checking for python... $ECHO_C" >&6; }12857 if test -x "$ with_python/bin/python"; then12858 echo Found python in $ with_python/bin/python12859 PYTHON="$ with_python/bin/python"12860 elif test -x "$ with_python"; then12861 echo Found python in $ with_python12862 PYTHON="$ with_python"8107 rp_with_python=yes 8108 fi 8109 8110 8111 if test "$rp_with_python" != "no" ; then 8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5 8113 $as_echo_n "checking for python... " >&6; } 8114 if test -x "$rp_with_python/bin/python"; then 8115 echo Found python in $rp_with_python/bin/python 8116 PYTHON="$rp_with_python/bin/python" 8117 elif test -x "$rp_with_python"; then 8118 echo Found python in $rp_with_python 8119 PYTHON="$rp_with_python" 12863 8120 else 12864 8121 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 12865 8122 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 12866 { echo "$as_me:$LINENO: checking for $ac_word" >&512867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }12868 if test "${ac_cv_path_PYTHON+set}" = set; then12869 echo $ECHO_N "(cached) $ECHO_C" >&68123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8124 $as_echo_n "checking for $ac_word... " >&6; } 8125 if ${ac_cv_path_PYTHON+:} false; then : 8126 $as_echo_n "(cached) " >&6 12870 8127 else 12871 8128 case $PYTHON in … … 12879 8136 IFS=$as_save_IFS 12880 8137 test -z "$as_dir" && as_dir=. 12881 for ac_exec_ext in '' $ac_executable_extensions; do8138 for ac_exec_ext in '' $ac_executable_extensions; do 12882 8139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12883 8140 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12885 8142 break 2 12886 8143 fi 12887 8144 done 12888 done8145 done 12889 8146 IFS=$as_save_IFS 12890 8147 … … 12894 8151 PYTHON=$ac_cv_path_PYTHON 12895 8152 if test -n "$PYTHON"; then 12896 { echo "$as_me:$LINENO: result: $PYTHON" >&512897 echo "${ECHO_T}$PYTHON" >&6; }12898 else 12899 { echo "$as_me:$LINENO: result: no" >&512900 echo "${ECHO_T}no" >&6; }8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 8154 $as_echo "$PYTHON" >&6; } 8155 else 8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8157 $as_echo "no" >&6; } 12901 8158 fi 12902 8159 … … 12908 8165 fi 12909 8166 if test "x${PYTHON_VERSION}" != "x"; then 12910 if test -r $ with_python/include/python$PYTHON_VERSION/Python.h -a \12911 -d $ with_python/lib/python$PYTHON_VERSION/site-packages; then12912 PYTHON_INCLUDES=$ with_python/include/python$PYTHON_VERSION12913 PYTHON_SITE_PACKAGES=$ with_python/lib/python$PYTHON_VERSION/site-packages8167 if test -r $rp_with_python/include/python$PYTHON_VERSION/Python.h -a \ 8168 -d $rp_with_python/lib/python$PYTHON_VERSION/site-packages; then 8169 PYTHON_INCLUDES=$rp_with_python/include/python$PYTHON_VERSION 8170 PYTHON_SITE_PACKAGES=$rp_with_python/lib/python$PYTHON_VERSION/site-packages 12914 8171 else 12915 8172 if test -r $prefix/include/python$PYTHON_VERSION/Python.h; then … … 12929 8186 fi 12930 8187 fi 12931 if test "x$ with_python" != "x" ; then8188 if test "x$rp_with_python" != "x" ; then 12932 8189 pythondir='$(PYTHON_SITE_PACKAGES)' 12933 8190 else … … 12935 8192 fi 12936 8193 12937 { echo "$as_me:$LINENO: checking for python distutils" >&512938 echo $ECHO_N "checking for python distutils... $ECHO_C" >&6; }8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python distutils" >&5 8195 $as_echo_n "checking for python distutils... " >&6; } 12939 8196 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 12940 8197 build build_ext 2>&1 > /dev/null … … 12944 8201 HAVE_PYTHON_DISTUTILS="no" 12945 8202 fi 12946 { echo "$as_me:$LINENO: result: $HAVE_PYTHON_DISTUTILS" >&512947 echo "${ECHO_T}$HAVE_PYTHON_DISTUTILS" >&6; }8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PYTHON_DISTUTILS" >&5 8204 $as_echo "$HAVE_PYTHON_DISTUTILS" >&6; } 12948 8205 12949 8206 if test "${HAVE_PYTHON_DISTUTILS}" = "yes"; then … … 12951 8208 # Check for Python include path 12952 8209 # 12953 { echo "$as_me:$LINENO: checking for Python include path" >&512954 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; }8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 8211 $as_echo_n "checking for Python include path... " >&6; } 12955 8212 if test "x${PYTHON_CPPFLAGS}" = "x"; then 12956 8213 incdir_path=`${PYTHON} -c "import distutils.sysconfig; \ … … 12961 8218 PYTHON_CPPFLAGS=$python_path 12962 8219 fi 12963 { echo "$as_me:$LINENO: result: $PYTHON_CPPFLAGS" >&512964 echo "${ECHO_T}$PYTHON_CPPFLAGS" >&6; }8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5 8221 $as_echo "$PYTHON_CPPFLAGS" >&6; } 12965 8222 12966 8223 # 12967 8224 # python distutils found, get settings from python directly 12968 8225 # 12969 { echo "$as_me:$LINENO: checking location of site-packages" >&512970 echo $ECHO_N "checking location of site-packages... $ECHO_C" >&6; }8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of site-packages" >&5 8227 $as_echo_n "checking location of site-packages... " >&6; } 12971 8228 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 12972 8229 … … 12985 8242 12986 8243 12987 r appture_with_ruby="yes"8244 rp_with_ruby="yes" 12988 8245 12989 8246 RUBY="" … … 12992 8249 12993 8250 # Check whether --with-ruby was given. 12994 if test "${with_ruby+set}" = set; then 12995 withval=$with_ruby; rappture_with_ruby=$with_val 12996 fi 12997 12998 if test "${rappture_with_ruby}" != "no" ; then 12999 if test "${rappture_with_ruby}" = "yes" ; then 8251 if test "${with_ruby+set}" = set; then : 8252 withval=$with_ruby; rp_with_ruby=$withval 8253 fi 8254 8255 8256 if test "${rp_with_ruby}" != "no" ; then 8257 if test "${rp_with_ruby}" = "yes" ; then 13000 8258 # Extract the first word of "ruby", so it can be a program name with args. 13001 8259 set dummy ruby; ac_word=$2 13002 { echo "$as_me:$LINENO: checking for $ac_word" >&513003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13004 if test "${ac_cv_path_RUBY+set}" = set; then13005 echo $ECHO_N "(cached) $ECHO_C" >&68260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8261 $as_echo_n "checking for $ac_word... " >&6; } 8262 if ${ac_cv_path_RUBY+:} false; then : 8263 $as_echo_n "(cached) " >&6 13006 8264 else 13007 8265 case $RUBY in … … 13015 8273 IFS=$as_save_IFS 13016 8274 test -z "$as_dir" && as_dir=. 13017 for ac_exec_ext in '' $ac_executable_extensions; do8275 for ac_exec_ext in '' $ac_executable_extensions; do 13018 8276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13019 8277 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13021 8279 break 2 13022 8280 fi 13023 8281 done 13024 done8282 done 13025 8283 IFS=$as_save_IFS 13026 8284 … … 13030 8288 RUBY=$ac_cv_path_RUBY 13031 8289 if test -n "$RUBY"; then 13032 { echo "$as_me:$LINENO: result: $RUBY" >&513033 echo "${ECHO_T}$RUBY" >&6; }13034 else 13035 { echo "$as_me:$LINENO: result: no" >&513036 echo "${ECHO_T}no" >&6; }8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8291 $as_echo "$RUBY" >&6; } 8292 else 8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8294 $as_echo "no" >&6; } 13037 8295 fi 13038 8296 … … 13041 8299 # Extract the first word of "ruby", so it can be a program name with args. 13042 8300 set dummy ruby; ac_word=$2 13043 { echo "$as_me:$LINENO: checking for $ac_word" >&513044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13045 if test "${ac_cv_path_RUBY+set}" = set; then13046 echo $ECHO_N "(cached) $ECHO_C" >&68301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8302 $as_echo_n "checking for $ac_word... " >&6; } 8303 if ${ac_cv_path_RUBY+:} false; then : 8304 $as_echo_n "(cached) " >&6 13047 8305 else 13048 8306 case $RUBY in … … 13052 8310 *) 13053 8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13054 as_dummy="${r appture_with_ruby}/bin/ruby:${rappture_with_ruby}"8312 as_dummy="${rp_with_ruby}/bin:${rp_with_ruby}" 13055 8313 for as_dir in $as_dummy 13056 8314 do 13057 8315 IFS=$as_save_IFS 13058 8316 test -z "$as_dir" && as_dir=. 13059 for ac_exec_ext in '' $ac_executable_extensions; do8317 for ac_exec_ext in '' $ac_executable_extensions; do 13060 8318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13061 8319 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 13062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13063 8321 break 2 13064 8322 fi 13065 8323 done 13066 done8324 done 13067 8325 IFS=$as_save_IFS 13068 8326 … … 13072 8330 RUBY=$ac_cv_path_RUBY 13073 8331 if test -n "$RUBY"; then 13074 { echo "$as_me:$LINENO: result: $RUBY" >&513075 echo "${ECHO_T}$RUBY" >&6; }13076 else 13077 { echo "$as_me:$LINENO: result: no" >&513078 echo "${ECHO_T}no" >&6; }8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 8333 $as_echo "$RUBY" >&6; } 8334 else 8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8336 $as_echo "no" >&6; } 13079 8337 fi 13080 8338 … … 13087 8345 RUBY_PLATFORM= 13088 8346 if test "x${RUBY}" != "x" ; then 13089 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&513090 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }13091 if test "${ac_cv_path_SED+set}" = set; then13092 echo $ECHO_N "(cached) $ECHO_C" >&68347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8348 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8349 if ${ac_cv_path_SED+:} false; then : 8350 $as_echo_n "(cached) " >&6 13093 8351 else 13094 8352 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ … … 13096 8354 ac_script="$ac_script$as_nl$ac_script" 13097 8355 done 13098 echo "$ac_script" | sed 99q >conftest.sed 13099 $as_unset ac_script || ac_script= 13100 # Extract the first word of "sed gsed" to use in msg output 13101 if test -z "$SED"; then 13102 set dummy sed gsed; ac_prog_name=$2 13103 if test "${ac_cv_path_SED+set}" = set; then 13104 echo $ECHO_N "(cached) $ECHO_C" >&6 13105 else 8356 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8357 { ac_script=; unset ac_script;} 8358 if test -z "$SED"; then 13106 8359 ac_path_SED_found=false 13107 # Loop through the user's path and test for each of PROGNAME-LIST13108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8360 # Loop through the user's path and test for each of PROGNAME-LIST 8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13109 8362 for as_dir in $PATH 13110 8363 do 13111 8364 IFS=$as_save_IFS 13112 8365 test -z "$as_dir" && as_dir=. 13113 for ac_prog in sed gsed; do13114 for ac_exec_ext in '' $ac_executable_extensions; do13115 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"13116 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue13117 8366 for ac_prog in sed gsed; do 8367 for ac_exec_ext in '' $ac_executable_extensions; do 8368 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8369 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 8370 # Check for GNU ac_path_SED and select it if it is found. 13118 8371 # Check for GNU $ac_path_SED 13119 8372 case `"$ac_path_SED" --version 2>&1` in … … 13122 8375 *) 13123 8376 ac_count=0 13124 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"8377 $as_echo_n 0123456789 >"conftest.in" 13125 8378 while : 13126 8379 do … … 13128 8381 mv "conftest.tmp" "conftest.in" 13129 8382 cp "conftest.in" "conftest.nl" 13130 echo '' >> "conftest.nl"8383 $as_echo '' >> "conftest.nl" 13131 8384 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 13132 8385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 13133 a c_count=`expr $ac_count + 1`8386 as_fn_arith $ac_count + 1 && ac_count=$as_val 13134 8387 if test $ac_count -gt ${ac_path_SED_max-0}; then 13135 8388 # Best one so far, save it but keep looking for a better one … … 13143 8396 esac 13144 8397 13145 13146 $ac_path_SED_found && break 38398 $ac_path_SED_found && break 3 8399 done 13147 8400 done 13148 done 13149 13150 done 8401 done 13151 8402 IFS=$as_save_IFS 13152 13153 13154 fi 13155 13156 SED="$ac_cv_path_SED" 13157 if test -z "$SED"; then 13158 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 13159 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 13160 { (exit 1); exit 1; }; } 13161 fi 13162 8403 if test -z "$ac_cv_path_SED"; then 8404 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8405 fi 13163 8406 else 13164 8407 ac_cv_path_SED=$SED … … 13166 8409 13167 8410 fi 13168 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&513169 echo "${ECHO_T}$ac_cv_path_SED" >&6; }8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8412 $as_echo "$ac_cv_path_SED" >&6; } 13170 8413 SED="$ac_cv_path_SED" 13171 8414 rm -f conftest.sed … … 13175 8418 13176 8419 13177 if test -n "$RUBY"; then 8420 if test -n "$RUBY"; then : 13178 8421 13179 8422 ax_ruby_version="" 13180 8423 13181 { echo "$as_me:$LINENO: checking for ruby version" >&513182 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5 8425 $as_echo_n "checking for ruby version... " >&6; } 13183 8426 13184 8427 ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'` 13185 8428 13186 { echo "$as_me:$LINENO: result: $ruby_version" >&513187 echo "${ECHO_T}$ruby_version" >&6; }8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5 8430 $as_echo "$ruby_version" >&6; } 13188 8431 13189 8432 RUBY_VERSION=$ruby_version … … 13195 8438 # Extract the first word of "$ac_prog", so it can be a program name with args. 13196 8439 set dummy $ac_prog; ac_word=$2 13197 { echo "$as_me:$LINENO: checking for $ac_word" >&513198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13199 if test "${ac_cv_prog_AWK+set}" = set; then13200 echo $ECHO_N "(cached) $ECHO_C" >&68440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8441 $as_echo_n "checking for $ac_word... " >&6; } 8442 if ${ac_cv_prog_AWK+:} false; then : 8443 $as_echo_n "(cached) " >&6 13201 8444 else 13202 8445 if test -n "$AWK"; then … … 13208 8451 IFS=$as_save_IFS 13209 8452 test -z "$as_dir" && as_dir=. 13210 for ac_exec_ext in '' $ac_executable_extensions; do8453 for ac_exec_ext in '' $ac_executable_extensions; do 13211 8454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13212 8455 ac_cv_prog_AWK="$ac_prog" 13213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13214 8457 break 2 13215 8458 fi 13216 8459 done 13217 done8460 done 13218 8461 IFS=$as_save_IFS 13219 8462 … … 13222 8465 AWK=$ac_cv_prog_AWK 13223 8466 if test -n "$AWK"; then 13224 { echo "$as_me:$LINENO: result: $AWK" >&513225 echo "${ECHO_T}$AWK" >&6; }13226 else 13227 { echo "$as_me:$LINENO: result: no" >&513228 echo "${ECHO_T}no" >&6; }8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 8468 $as_echo "$AWK" >&6; } 8469 else 8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8471 $as_echo "no" >&6; } 13229 8472 fi 13230 8473 … … 13276 8519 else 13277 8520 13278 { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5 13279 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 13280 13281 13282 fi 13283 8521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5 8522 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;} 8523 8524 8525 fi 13284 8526 13285 8527 RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2` … … 13292 8534 # Check for Ruby include path 13293 8535 # 13294 { echo "$as_me:$LINENO: checking for Ruby include path" >&513295 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5 8537 $as_echo_n "checking for Ruby include path... " >&6; } 13296 8538 if test -z "$RUBY_CPPFLAGS"; then 13297 8539 ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'` … … 13301 8543 RUBY_CPPFLAGS=$ruby_path 13302 8544 fi 13303 { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&513304 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5 8546 $as_echo "$RUBY_CPPFLAGS" >&6; } 13305 8547 13306 8548 … … 13308 8550 # Check for Ruby library path 13309 8551 # 13310 { echo "$as_me:$LINENO: checking for Ruby library path" >&513311 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5 8553 $as_echo_n "checking for Ruby library path... " >&6; } 13312 8554 if test -z "$RUBY_LDFLAGS"; then 13313 8555 RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'` 13314 8556 fi 13315 { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&513316 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5 8558 $as_echo "$RUBY_LDFLAGS" >&6; } 13317 8559 13318 8560 … … 13320 8562 # Check for site packages 13321 8563 # 13322 { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&513323 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5 8565 $as_echo_n "checking for Ruby site-packages path... " >&6; } 13324 8566 if test -z "$RUBY_SITE_PKG"; then 13325 8567 RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'` 13326 8568 fi 13327 { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&513328 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5 8570 $as_echo "$RUBY_SITE_PKG" >&6; } 13329 8571 13330 8572 … … 13332 8574 # libraries which must be linked in when embedding 13333 8575 # 13334 { echo "$as_me:$LINENO: checking ruby extra libraries" >&513335 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5 8577 $as_echo_n "checking ruby extra libraries... " >&6; } 13336 8578 if test -z "$RUBY_EXTRA_LIBS"; then 13337 8579 RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'` 13338 8580 fi 13339 { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&513340 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5 8582 $as_echo "$RUBY_EXTRA_LIBS" >&6; } 13341 8583 13342 8584 … … 13357 8599 # final check to see if everything compiles alright 13358 8600 # 13359 { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&513360 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5 8602 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; } 13361 8603 ac_ext=c 13362 8604 ac_cpp='$CPP $CPPFLAGS' … … 13370 8612 ac_save_CPPFLAGS="$CPPFLAGS" 13371 8613 CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS" 13372 cat >conftest.$ac_ext <<_ACEOF 13373 /* confdefs.h. */ 13374 _ACEOF 13375 cat confdefs.h >>conftest.$ac_ext 13376 cat >>conftest.$ac_ext <<_ACEOF 8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13377 8615 /* end confdefs.h. */ 13378 8616 … … 13389 8627 } 13390 8628 _ACEOF 13391 rm -f conftest.$ac_objext conftest$ac_exeext 13392 if { (ac_try="$ac_link" 13393 case "(($ac_try" in 13394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13395 *) ac_try_echo=$ac_try;; 13396 esac 13397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13398 (eval "$ac_link") 2>conftest.er1 13399 ac_status=$? 13400 grep -v '^ *+' conftest.er1 >conftest.err 13401 rm -f conftest.er1 13402 cat conftest.err >&5 13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13404 (exit $ac_status); } && { 13405 test -z "$ac_c_werror_flag" || 13406 test ! -s conftest.err 13407 } && test -s conftest$ac_exeext && 13408 $as_test_x conftest$ac_exeext; then 8629 if ac_fn_c_try_link "$LINENO"; then : 13409 8630 rubyexists=yes 13410 8631 else 13411 echo "$as_me: failed program was:" >&5 13412 sed 's/^/| /' conftest.$ac_ext >&5 13413 13414 rubyexists=no 13415 fi 13416 13417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13418 conftest$ac_exeext conftest.$ac_ext 13419 13420 { echo "$as_me:$LINENO: result: $rubyexists" >&5 13421 echo "${ECHO_T}$rubyexists" >&6; } 8632 rubyexists=no 8633 fi 8634 rm -f core conftest.err conftest.$ac_objext \ 8635 conftest$ac_exeext conftest.$ac_ext 8636 8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5 8638 $as_echo "$rubyexists" >&6; } 13422 8639 13423 8640 if test "$rubyexists" = "no"; then … … 13451 8668 13452 8669 # Check whether --with-java was given. 13453 if test "${with_java+set}" = set; then 8670 if test "${with_java+set}" = set; then : 13454 8671 withval=$with_java; rp_with_java=$withval 13455 8672 fi … … 13460 8677 # Extract the first word of "java", so it can be a program name with args. 13461 8678 set dummy java; ac_word=$2 13462 { echo "$as_me:$LINENO: checking for $ac_word" >&513463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13464 if test "${ac_cv_path_JAVA+set}" = set; then13465 echo $ECHO_N "(cached) $ECHO_C" >&68679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8680 $as_echo_n "checking for $ac_word... " >&6; } 8681 if ${ac_cv_path_JAVA+:} false; then : 8682 $as_echo_n "(cached) " >&6 13466 8683 else 13467 8684 case $JAVA in … … 13475 8692 IFS=$as_save_IFS 13476 8693 test -z "$as_dir" && as_dir=. 13477 for ac_exec_ext in '' $ac_executable_extensions; do8694 for ac_exec_ext in '' $ac_executable_extensions; do 13478 8695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13479 8696 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13481 8698 break 2 13482 8699 fi 13483 8700 done 13484 done8701 done 13485 8702 IFS=$as_save_IFS 13486 8703 … … 13490 8707 JAVA=$ac_cv_path_JAVA 13491 8708 if test -n "$JAVA"; then 13492 { echo "$as_me:$LINENO: result: $JAVA" >&513493 echo "${ECHO_T}$JAVA" >&6; }13494 else 13495 { echo "$as_me:$LINENO: result: no" >&513496 echo "${ECHO_T}no" >&6; }8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8710 $as_echo "$JAVA" >&6; } 8711 else 8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8713 $as_echo "no" >&6; } 13497 8714 fi 13498 8715 … … 13500 8717 # Extract the first word of "javac", so it can be a program name with args. 13501 8718 set dummy javac; ac_word=$2 13502 { echo "$as_me:$LINENO: checking for $ac_word" >&513503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13504 if test "${ac_cv_path_JAVAC+set}" = set; then13505 echo $ECHO_N "(cached) $ECHO_C" >&68719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8720 $as_echo_n "checking for $ac_word... " >&6; } 8721 if ${ac_cv_path_JAVAC+:} false; then : 8722 $as_echo_n "(cached) " >&6 13506 8723 else 13507 8724 case $JAVAC in … … 13515 8732 IFS=$as_save_IFS 13516 8733 test -z "$as_dir" && as_dir=. 13517 for ac_exec_ext in '' $ac_executable_extensions; do8734 for ac_exec_ext in '' $ac_executable_extensions; do 13518 8735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13519 8736 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13521 8738 break 2 13522 8739 fi 13523 8740 done 13524 done8741 done 13525 8742 IFS=$as_save_IFS 13526 8743 … … 13530 8747 JAVAC=$ac_cv_path_JAVAC 13531 8748 if test -n "$JAVAC"; then 13532 { echo "$as_me:$LINENO: result: $JAVAC" >&513533 echo "${ECHO_T}$JAVAC" >&6; }13534 else 13535 { echo "$as_me:$LINENO: result: no" >&513536 echo "${ECHO_T}no" >&6; }8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8750 $as_echo "$JAVAC" >&6; } 8751 else 8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8753 $as_echo "no" >&6; } 13537 8754 fi 13538 8755 … … 13540 8757 # Extract the first word of "javah", so it can be a program name with args. 13541 8758 set dummy javah; ac_word=$2 13542 { echo "$as_me:$LINENO: checking for $ac_word" >&513543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13544 if test "${ac_cv_path_JAVAH+set}" = set; then13545 echo $ECHO_N "(cached) $ECHO_C" >&68759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8760 $as_echo_n "checking for $ac_word... " >&6; } 8761 if ${ac_cv_path_JAVAH+:} false; then : 8762 $as_echo_n "(cached) " >&6 13546 8763 else 13547 8764 case $JAVAH in … … 13555 8772 IFS=$as_save_IFS 13556 8773 test -z "$as_dir" && as_dir=. 13557 for ac_exec_ext in '' $ac_executable_extensions; do8774 for ac_exec_ext in '' $ac_executable_extensions; do 13558 8775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13559 8776 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13561 8778 break 2 13562 8779 fi 13563 8780 done 13564 done8781 done 13565 8782 IFS=$as_save_IFS 13566 8783 … … 13570 8787 JAVAH=$ac_cv_path_JAVAH 13571 8788 if test -n "$JAVAH"; then 13572 { echo "$as_me:$LINENO: result: $JAVAH" >&513573 echo "${ECHO_T}$JAVAH" >&6; }13574 else 13575 { echo "$as_me:$LINENO: result: no" >&513576 echo "${ECHO_T}no" >&6; }8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8790 $as_echo "$JAVAH" >&6; } 8791 else 8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8793 $as_echo "no" >&6; } 13577 8794 fi 13578 8795 … … 13581 8798 # Extract the first word of "java", so it can be a program name with args. 13582 8799 set dummy java; ac_word=$2 13583 { echo "$as_me:$LINENO: checking for $ac_word" >&513584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13585 if test "${ac_cv_path_JAVA+set}" = set; then13586 echo $ECHO_N "(cached) $ECHO_C" >&68800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8801 $as_echo_n "checking for $ac_word... " >&6; } 8802 if ${ac_cv_path_JAVA+:} false; then : 8803 $as_echo_n "(cached) " >&6 13587 8804 else 13588 8805 case $JAVA in … … 13597 8814 IFS=$as_save_IFS 13598 8815 test -z "$as_dir" && as_dir=. 13599 for ac_exec_ext in '' $ac_executable_extensions; do8816 for ac_exec_ext in '' $ac_executable_extensions; do 13600 8817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13601 8818 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 13602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13603 8820 break 2 13604 8821 fi 13605 8822 done 13606 done8823 done 13607 8824 IFS=$as_save_IFS 13608 8825 … … 13612 8829 JAVA=$ac_cv_path_JAVA 13613 8830 if test -n "$JAVA"; then 13614 { echo "$as_me:$LINENO: result: $JAVA" >&513615 echo "${ECHO_T}$JAVA" >&6; }13616 else 13617 { echo "$as_me:$LINENO: result: no" >&513618 echo "${ECHO_T}no" >&6; }8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 8832 $as_echo "$JAVA" >&6; } 8833 else 8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8835 $as_echo "no" >&6; } 13619 8836 fi 13620 8837 … … 13622 8839 # Extract the first word of "javac", so it can be a program name with args. 13623 8840 set dummy javac; ac_word=$2 13624 { echo "$as_me:$LINENO: checking for $ac_word" >&513625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13626 if test "${ac_cv_path_JAVAC+set}" = set; then13627 echo $ECHO_N "(cached) $ECHO_C" >&68841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8842 $as_echo_n "checking for $ac_word... " >&6; } 8843 if ${ac_cv_path_JAVAC+:} false; then : 8844 $as_echo_n "(cached) " >&6 13628 8845 else 13629 8846 case $JAVAC in … … 13638 8855 IFS=$as_save_IFS 13639 8856 test -z "$as_dir" && as_dir=. 13640 for ac_exec_ext in '' $ac_executable_extensions; do8857 for ac_exec_ext in '' $ac_executable_extensions; do 13641 8858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13642 8859 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 13643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13644 8861 break 2 13645 8862 fi 13646 8863 done 13647 done8864 done 13648 8865 IFS=$as_save_IFS 13649 8866 … … 13653 8870 JAVAC=$ac_cv_path_JAVAC 13654 8871 if test -n "$JAVAC"; then 13655 { echo "$as_me:$LINENO: result: $JAVAC" >&513656 echo "${ECHO_T}$JAVAC" >&6; }13657 else 13658 { echo "$as_me:$LINENO: result: no" >&513659 echo "${ECHO_T}no" >&6; }8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 8873 $as_echo "$JAVAC" >&6; } 8874 else 8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8876 $as_echo "no" >&6; } 13660 8877 fi 13661 8878 … … 13663 8880 # Extract the first word of "javah", so it can be a program name with args. 13664 8881 set dummy javah; ac_word=$2 13665 { echo "$as_me:$LINENO: checking for $ac_word" >&513666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13667 if test "${ac_cv_path_JAVAH+set}" = set; then13668 echo $ECHO_N "(cached) $ECHO_C" >&68882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8883 $as_echo_n "checking for $ac_word... " >&6; } 8884 if ${ac_cv_path_JAVAH+:} false; then : 8885 $as_echo_n "(cached) " >&6 13669 8886 else 13670 8887 case $JAVAH in … … 13679 8896 IFS=$as_save_IFS 13680 8897 test -z "$as_dir" && as_dir=. 13681 for ac_exec_ext in '' $ac_executable_extensions; do8898 for ac_exec_ext in '' $ac_executable_extensions; do 13682 8899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13683 8900 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 13684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13685 8902 break 2 13686 8903 fi 13687 8904 done 13688 done8905 done 13689 8906 IFS=$as_save_IFS 13690 8907 … … 13694 8911 JAVAH=$ac_cv_path_JAVAH 13695 8912 if test -n "$JAVAH"; then 13696 { echo "$as_me:$LINENO: result: $JAVAH" >&513697 echo "${ECHO_T}$JAVAH" >&6; }13698 else 13699 { echo "$as_me:$LINENO: result: no" >&513700 echo "${ECHO_T}no" >&6; }8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 8914 $as_echo "$JAVAH" >&6; } 8915 else 8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8917 $as_echo "no" >&6; } 13701 8918 fi 13702 8919 … … 13740 8957 13741 8958 13742 { echo "$as_me:$LINENO: checking how to build libraries" >&513743 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 8960 $as_echo_n "checking how to build libraries... " >&6; } 13744 8961 # Check whether --enable-shared was given. 13745 if test "${enable_shared+set}" = set; then 8962 if test "${enable_shared+set}" = set; then : 13746 8963 enableval=$enable_shared; tcl_ok=$enableval 13747 8964 else … … 13758 8975 13759 8976 if test "$tcl_ok" = "yes" ; then 13760 { echo "$as_me:$LINENO: result: shared" >&513761 echo "${ECHO_T}shared" >&6; }8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 8978 $as_echo "shared" >&6; } 13762 8979 SHARED_BUILD=1 13763 8980 else 13764 { echo "$as_me:$LINENO: result: static" >&513765 echo "${ECHO_T}static" >&6; }8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 8982 $as_echo "static" >&6; } 13766 8983 SHARED_BUILD=0 13767 cat >>confdefs.h <<\_ACEOF 13768 #define STATIC_BUILD 1 13769 _ACEOF 8984 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 13770 8985 13771 8986 fi … … 13802 9017 # ----------------------------------------------------------------------- 13803 9018 13804 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13805 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13806 if test "${ac_cv_c_bigendian+set}" = set; then 13807 echo $ECHO_N "(cached) $ECHO_C" >&6 13808 else 13809 # See if sys/param.h defines the BYTE_ORDER macro. 13810 cat >conftest.$ac_ext <<_ACEOF 13811 /* confdefs.h. */ 13812 _ACEOF 13813 cat confdefs.h >>conftest.$ac_ext 13814 cat >>conftest.$ac_ext <<_ACEOF 9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9020 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9021 if ${ac_cv_c_bigendian+:} false; then : 9022 $as_echo_n "(cached) " >&6 9023 else 9024 ac_cv_c_bigendian=unknown 9025 # See if we're dealing with a universal compiler. 9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9027 /* end confdefs.h. */ 9028 #ifndef __APPLE_CC__ 9029 not a universal capable compiler 9030 #endif 9031 typedef int dummy; 9032 9033 _ACEOF 9034 if ac_fn_cxx_try_compile "$LINENO"; then : 9035 9036 # Check for potential -arch flags. It is not universal unless 9037 # there are at least two -arch flags with different values. 9038 ac_arch= 9039 ac_prev= 9040 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9041 if test -n "$ac_prev"; then 9042 case $ac_word in 9043 i?86 | x86_64 | ppc | ppc64) 9044 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9045 ac_arch=$ac_word 9046 else 9047 ac_cv_c_bigendian=universal 9048 break 9049 fi 9050 ;; 9051 esac 9052 ac_prev= 9053 elif test "x$ac_word" = "x-arch"; then 9054 ac_prev=arch 9055 fi 9056 done 9057 fi 9058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9059 if test $ac_cv_c_bigendian = unknown; then 9060 # See if sys/param.h defines the BYTE_ORDER macro. 9061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13815 9062 /* end confdefs.h. */ 13816 9063 #include <sys/types.h> 13817 #include <sys/param.h>9064 #include <sys/param.h> 13818 9065 13819 9066 int 13820 9067 main () 13821 9068 { 13822 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13823 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13824 bogus endian macros 13825 #endif 9069 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 9070 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 9071 && LITTLE_ENDIAN) 9072 bogus endian macros 9073 #endif 13826 9074 13827 9075 ; … … 13829 9077 } 13830 9078 _ACEOF 13831 rm -f conftest.$ac_objext 13832 if { (ac_try="$ac_compile" 13833 case "(($ac_try" in 13834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13835 *) ac_try_echo=$ac_try;; 13836 esac 13837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13838 (eval "$ac_compile") 2>conftest.er1 13839 ac_status=$? 13840 grep -v '^ *+' conftest.er1 >conftest.err 13841 rm -f conftest.er1 13842 cat conftest.err >&5 13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13844 (exit $ac_status); } && { 13845 test -z "$ac_cxx_werror_flag" || 13846 test ! -s conftest.err 13847 } && test -s conftest.$ac_objext; then 9079 if ac_fn_cxx_try_compile "$LINENO"; then : 13848 9080 # It does; now see whether it defined to BIG_ENDIAN or not. 13849 cat >conftest.$ac_ext <<_ACEOF 13850 /* confdefs.h. */ 13851 _ACEOF 13852 cat confdefs.h >>conftest.$ac_ext 13853 cat >>conftest.$ac_ext <<_ACEOF 9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13854 9082 /* end confdefs.h. */ 13855 9083 #include <sys/types.h> 13856 #include <sys/param.h>9084 #include <sys/param.h> 13857 9085 13858 9086 int … … 13860 9088 { 13861 9089 #if BYTE_ORDER != BIG_ENDIAN 13862 not big endian13863 #endif9090 not big endian 9091 #endif 13864 9092 13865 9093 ; … … 13867 9095 } 13868 9096 _ACEOF 13869 rm -f conftest.$ac_objext 13870 if { (ac_try="$ac_compile" 13871 case "(($ac_try" in 13872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13873 *) ac_try_echo=$ac_try;; 13874 esac 13875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13876 (eval "$ac_compile") 2>conftest.er1 13877 ac_status=$? 13878 grep -v '^ *+' conftest.er1 >conftest.err 13879 rm -f conftest.er1 13880 cat conftest.err >&5 13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13882 (exit $ac_status); } && { 13883 test -z "$ac_cxx_werror_flag" || 13884 test ! -s conftest.err 13885 } && test -s conftest.$ac_objext; then 9097 if ac_fn_cxx_try_compile "$LINENO"; then : 13886 9098 ac_cv_c_bigendian=yes 13887 9099 else 13888 echo "$as_me: failed program was:" >&5 13889 sed 's/^/| /' conftest.$ac_ext >&5 13890 13891 ac_cv_c_bigendian=no 13892 fi 13893 9100 ac_cv_c_bigendian=no 9101 fi 13894 9102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13895 else 13896 echo "$as_me: failed program was:" >&5 13897 sed 's/^/| /' conftest.$ac_ext >&5 13898 13899 # It does not; compile a test program. 13900 if test "$cross_compiling" = yes; then 13901 # try to guess the endianness by grepping values into an object file 13902 ac_cv_c_bigendian=unknown 13903 cat >conftest.$ac_ext <<_ACEOF 13904 /* confdefs.h. */ 13905 _ACEOF 13906 cat confdefs.h >>conftest.$ac_ext 13907 cat >>conftest.$ac_ext <<_ACEOF 9103 fi 9104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9105 fi 9106 if test $ac_cv_c_bigendian = unknown; then 9107 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13908 9109 /* end confdefs.h. */ 13909 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13910 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13911 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 13912 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13913 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13914 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 9110 #include <limits.h> 9111 13915 9112 int 13916 9113 main () 13917 9114 { 13918 _ascii (); _ebcdic (); 9115 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 9116 bogus endian macros 9117 #endif 9118 13919 9119 ; 13920 9120 return 0; 13921 9121 } 13922 9122 _ACEOF 13923 rm -f conftest.$ac_objext 13924 if { (ac_try="$ac_compile" 13925 case "(($ac_try" in 13926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13927 *) ac_try_echo=$ac_try;; 13928 esac 13929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13930 (eval "$ac_compile") 2>conftest.er1 13931 ac_status=$? 13932 grep -v '^ *+' conftest.er1 >conftest.err 13933 rm -f conftest.er1 13934 cat conftest.err >&5 13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13936 (exit $ac_status); } && {13937 test -z "$ac_cxx_werror_flag" || 13938 test ! -s conftest.err 13939 } && test -s conftest.$ac_objext; then 13940 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 9123 if ac_fn_cxx_try_compile "$LINENO"; then : 9124 # It does; now see whether it defined to _BIG_ENDIAN or not. 9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9126 /* end confdefs.h. */ 9127 #include <limits.h> 9128 9129 int 9130 main () 9131 { 9132 #ifndef _BIG_ENDIAN 9133 not big endian 9134 #endif 9135 9136 ; 9137 return 0; 9138 } 9139 _ACEOF 9140 if ac_fn_cxx_try_compile "$LINENO"; then : 13941 9141 ac_cv_c_bigendian=yes 13942 fi 13943 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13944 if test "$ac_cv_c_bigendian" = unknown; then 13945 ac_cv_c_bigendian=no 13946 else 13947 # finding both strings is unlikely to happen, but who knows? 13948 ac_cv_c_bigendian=unknown 13949 fi 13950 fi 13951 else 13952 echo "$as_me: failed program was:" >&5 13953 sed 's/^/| /' conftest.$ac_ext >&5 13954 13955 13956 fi 13957 9142 else 9143 ac_cv_c_bigendian=no 9144 fi 13958 9145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13959 else 13960 cat >conftest.$ac_ext <<_ACEOF 13961 /* confdefs.h. */ 13962 _ACEOF 13963 cat confdefs.h >>conftest.$ac_ext 13964 cat >>conftest.$ac_ext <<_ACEOF 9146 fi 9147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9148 fi 9149 if test $ac_cv_c_bigendian = unknown; then 9150 # Compile a test program. 9151 if test "$cross_compiling" = yes; then : 9152 # Try to guess by grepping values from an object file. 9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9154 /* end confdefs.h. */ 9155 short int ascii_mm[] = 9156 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9157 short int ascii_ii[] = 9158 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9159 int use_ascii (int i) { 9160 return ascii_mm[i] + ascii_ii[i]; 9161 } 9162 short int ebcdic_ii[] = 9163 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9164 short int ebcdic_mm[] = 9165 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9166 int use_ebcdic (int i) { 9167 return ebcdic_mm[i] + ebcdic_ii[i]; 9168 } 9169 extern int foo; 9170 9171 int 9172 main () 9173 { 9174 return use_ascii (foo) == use_ebcdic (foo); 9175 ; 9176 return 0; 9177 } 9178 _ACEOF 9179 if ac_fn_cxx_try_compile "$LINENO"; then : 9180 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9181 ac_cv_c_bigendian=yes 9182 fi 9183 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9184 if test "$ac_cv_c_bigendian" = unknown; then 9185 ac_cv_c_bigendian=no 9186 else 9187 # finding both strings is unlikely to happen, but who knows? 9188 ac_cv_c_bigendian=unknown 9189 fi 9190 fi 9191 fi 9192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9193 else 9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13965 9195 /* end confdefs.h. */ 13966 9196 $ac_includes_default … … 13969 9199 { 13970 9200 13971 /* Are we little or big endian? From Harbison&Steele. */13972 union13973 {13974 long int l;13975 char c[sizeof (long int)];13976 } u;13977 u.l = 1;13978 return u.c[sizeof (long int) - 1] == 1;9201 /* Are we little or big endian? From Harbison&Steele. */ 9202 union 9203 { 9204 long int l; 9205 char c[sizeof (long int)]; 9206 } u; 9207 u.l = 1; 9208 return u.c[sizeof (long int) - 1] == 1; 13979 9209 13980 9210 ; … … 13982 9212 } 13983 9213 _ACEOF 13984 rm -f conftest$ac_exeext 13985 if { (ac_try="$ac_link" 13986 case "(($ac_try" in 13987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13988 *) ac_try_echo=$ac_try;; 13989 esac 13990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13991 (eval "$ac_link") 2>&5 13992 ac_status=$? 13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13995 { (case "(($ac_try" in 13996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13997 *) ac_try_echo=$ac_try;; 13998 esac 13999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14000 (eval "$ac_try") 2>&5 14001 ac_status=$? 14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14003 (exit $ac_status); }; }; then 9214 if ac_fn_cxx_try_run "$LINENO"; then : 14004 9215 ac_cv_c_bigendian=no 14005 9216 else 14006 echo "$as_me: program exited with status $ac_status" >&5 14007 echo "$as_me: failed program was:" >&5 14008 sed 's/^/| /' conftest.$ac_ext >&5 14009 14010 ( exit $ac_status ) 14011 ac_cv_c_bigendian=yes 14012 fi 14013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14014 fi 14015 14016 14017 fi 14018 14019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14020 fi 14021 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 14022 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 14023 case $ac_cv_c_bigendian in 14024 yes) 14025 14026 cat >>confdefs.h <<\_ACEOF 14027 #define WORDS_BIGENDIAN 1 14028 _ACEOF 14029 ;; 14030 no) 14031 ;; 14032 *) 14033 { { echo "$as_me:$LINENO: error: unknown endianness 14034 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 14035 echo "$as_me: error: unknown endianness 14036 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 14037 { (exit 1); exit 1; }; } ;; 14038 esac 14039 14040 { echo "$as_me:$LINENO: checking for int" >&5 14041 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 14042 if test "${ac_cv_type_int+set}" = set; then 14043 echo $ECHO_N "(cached) $ECHO_C" >&6 14044 else 14045 cat >conftest.$ac_ext <<_ACEOF 14046 /* confdefs.h. */ 14047 _ACEOF 14048 cat confdefs.h >>conftest.$ac_ext 14049 cat >>conftest.$ac_ext <<_ACEOF 14050 /* end confdefs.h. */ 14051 $ac_includes_default 14052 typedef int ac__type_new_; 14053 int 14054 main () 14055 { 14056 if ((ac__type_new_ *) 0) 14057 return 0; 14058 if (sizeof (ac__type_new_)) 14059 return 0; 14060 ; 14061 return 0; 14062 } 14063 _ACEOF 14064 rm -f conftest.$ac_objext 14065 if { (ac_try="$ac_compile" 14066 case "(($ac_try" in 14067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14068 *) ac_try_echo=$ac_try;; 14069 esac 14070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14071 (eval "$ac_compile") 2>conftest.er1 14072 ac_status=$? 14073 grep -v '^ *+' conftest.er1 >conftest.err 14074 rm -f conftest.er1 14075 cat conftest.err >&5 14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14077 (exit $ac_status); } && { 14078 test -z "$ac_cxx_werror_flag" || 14079 test ! -s conftest.err 14080 } && test -s conftest.$ac_objext; then 14081 ac_cv_type_int=yes 14082 else 14083 echo "$as_me: failed program was:" >&5 14084 sed 's/^/| /' conftest.$ac_ext >&5 14085 14086 ac_cv_type_int=no 14087 fi 14088 14089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14090 fi 14091 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 14092 echo "${ECHO_T}$ac_cv_type_int" >&6; } 9217 ac_cv_c_bigendian=yes 9218 fi 9219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9220 conftest.$ac_objext conftest.beam conftest.$ac_ext 9221 fi 9222 9223 fi 9224 fi 9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9226 $as_echo "$ac_cv_c_bigendian" >&6; } 9227 case $ac_cv_c_bigendian in #( 9228 yes) 9229 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9230 ;; #( 9231 no) 9232 ;; #( 9233 universal) 9234 9235 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9236 9237 ;; #( 9238 *) 9239 as_fn_error $? "unknown endianness 9240 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9241 esac 14093 9242 14094 9243 # The cast to long int works around a bug in the HP C Compiler … … 14096 9245 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14097 9246 # This bug is HP SR number 8606223364. 14098 { echo "$as_me:$LINENO: checking size of int" >&5 14099 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 14100 if test "${ac_cv_sizeof_int+set}" = set; then 14101 echo $ECHO_N "(cached) $ECHO_C" >&6 14102 else 14103 if test "$cross_compiling" = yes; then 14104 # Depending upon the size, compute the lo and hi bounds. 14105 cat >conftest.$ac_ext <<_ACEOF 14106 /* confdefs.h. */ 14107 _ACEOF 14108 cat confdefs.h >>conftest.$ac_ext 14109 cat >>conftest.$ac_ext <<_ACEOF 14110 /* end confdefs.h. */ 14111 $ac_includes_default 14112 typedef int ac__type_sizeof_; 14113 int 14114 main () 14115 { 14116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14117 test_array [0] = 0 14118 14119 ; 14120 return 0; 14121 } 14122 _ACEOF 14123 rm -f conftest.$ac_objext 14124 if { (ac_try="$ac_compile" 14125 case "(($ac_try" in 14126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14127 *) ac_try_echo=$ac_try;; 14128 esac 14129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14130 (eval "$ac_compile") 2>conftest.er1 14131 ac_status=$? 14132 grep -v '^ *+' conftest.er1 >conftest.err 14133 rm -f conftest.er1 14134 cat conftest.err >&5 14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14136 (exit $ac_status); } && { 14137 test -z "$ac_cxx_werror_flag" || 14138 test ! -s conftest.err 14139 } && test -s conftest.$ac_objext; then 14140 ac_lo=0 ac_mid=0 14141 while :; do 14142 cat >conftest.$ac_ext <<_ACEOF 14143 /* confdefs.h. */ 14144 _ACEOF 14145 cat confdefs.h >>conftest.$ac_ext 14146 cat >>conftest.$ac_ext <<_ACEOF 14147 /* end confdefs.h. */ 14148 $ac_includes_default 14149 typedef int ac__type_sizeof_; 14150 int 14151 main () 14152 { 14153 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14154 test_array [0] = 0 14155 14156 ; 14157 return 0; 14158 } 14159 _ACEOF 14160 rm -f conftest.$ac_objext 14161 if { (ac_try="$ac_compile" 14162 case "(($ac_try" in 14163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14164 *) ac_try_echo=$ac_try;; 14165 esac 14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14167 (eval "$ac_compile") 2>conftest.er1 14168 ac_status=$? 14169 grep -v '^ *+' conftest.er1 >conftest.err 14170 rm -f conftest.er1 14171 cat conftest.err >&5 14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14173 (exit $ac_status); } && { 14174 test -z "$ac_cxx_werror_flag" || 14175 test ! -s conftest.err 14176 } && test -s conftest.$ac_objext; then 14177 ac_hi=$ac_mid; break 14178 else 14179 echo "$as_me: failed program was:" >&5 14180 sed 's/^/| /' conftest.$ac_ext >&5 14181 14182 ac_lo=`expr $ac_mid + 1` 14183 if test $ac_lo -le $ac_mid; then 14184 ac_lo= ac_hi= 14185 break 14186 fi 14187 ac_mid=`expr 2 '*' $ac_mid + 1` 14188 fi 14189 14190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14191 done 14192 else 14193 echo "$as_me: failed program was:" >&5 14194 sed 's/^/| /' conftest.$ac_ext >&5 14195 14196 cat >conftest.$ac_ext <<_ACEOF 14197 /* confdefs.h. */ 14198 _ACEOF 14199 cat confdefs.h >>conftest.$ac_ext 14200 cat >>conftest.$ac_ext <<_ACEOF 14201 /* end confdefs.h. */ 14202 $ac_includes_default 14203 typedef int ac__type_sizeof_; 14204 int 14205 main () 14206 { 14207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14208 test_array [0] = 0 14209 14210 ; 14211 return 0; 14212 } 14213 _ACEOF 14214 rm -f conftest.$ac_objext 14215 if { (ac_try="$ac_compile" 14216 case "(($ac_try" in 14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14218 *) ac_try_echo=$ac_try;; 14219 esac 14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14221 (eval "$ac_compile") 2>conftest.er1 14222 ac_status=$? 14223 grep -v '^ *+' conftest.er1 >conftest.err 14224 rm -f conftest.er1 14225 cat conftest.err >&5 14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14227 (exit $ac_status); } && { 14228 test -z "$ac_cxx_werror_flag" || 14229 test ! -s conftest.err 14230 } && test -s conftest.$ac_objext; then 14231 ac_hi=-1 ac_mid=-1 14232 while :; do 14233 cat >conftest.$ac_ext <<_ACEOF 14234 /* confdefs.h. */ 14235 _ACEOF 14236 cat confdefs.h >>conftest.$ac_ext 14237 cat >>conftest.$ac_ext <<_ACEOF 14238 /* end confdefs.h. */ 14239 $ac_includes_default 14240 typedef int ac__type_sizeof_; 14241 int 14242 main () 14243 { 14244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14245 test_array [0] = 0 14246 14247 ; 14248 return 0; 14249 } 14250 _ACEOF 14251 rm -f conftest.$ac_objext 14252 if { (ac_try="$ac_compile" 14253 case "(($ac_try" in 14254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14255 *) ac_try_echo=$ac_try;; 14256 esac 14257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14258 (eval "$ac_compile") 2>conftest.er1 14259 ac_status=$? 14260 grep -v '^ *+' conftest.er1 >conftest.err 14261 rm -f conftest.er1 14262 cat conftest.err >&5 14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14264 (exit $ac_status); } && { 14265 test -z "$ac_cxx_werror_flag" || 14266 test ! -s conftest.err 14267 } && test -s conftest.$ac_objext; then 14268 ac_lo=$ac_mid; break 14269 else 14270 echo "$as_me: failed program was:" >&5 14271 sed 's/^/| /' conftest.$ac_ext >&5 14272 14273 ac_hi=`expr '(' $ac_mid ')' - 1` 14274 if test $ac_mid -le $ac_hi; then 14275 ac_lo= ac_hi= 14276 break 14277 fi 14278 ac_mid=`expr 2 '*' $ac_mid` 14279 fi 14280 14281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14282 done 14283 else 14284 echo "$as_me: failed program was:" >&5 14285 sed 's/^/| /' conftest.$ac_ext >&5 14286 14287 ac_lo= ac_hi= 14288 fi 14289 14290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14291 fi 14292 14293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14294 # Binary search between lo and hi bounds. 14295 while test "x$ac_lo" != "x$ac_hi"; do 14296 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14297 cat >conftest.$ac_ext <<_ACEOF 14298 /* confdefs.h. */ 14299 _ACEOF 14300 cat confdefs.h >>conftest.$ac_ext 14301 cat >>conftest.$ac_ext <<_ACEOF 14302 /* end confdefs.h. */ 14303 $ac_includes_default 14304 typedef int ac__type_sizeof_; 14305 int 14306 main () 14307 { 14308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14309 test_array [0] = 0 14310 14311 ; 14312 return 0; 14313 } 14314 _ACEOF 14315 rm -f conftest.$ac_objext 14316 if { (ac_try="$ac_compile" 14317 case "(($ac_try" in 14318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14319 *) ac_try_echo=$ac_try;; 14320 esac 14321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14322 (eval "$ac_compile") 2>conftest.er1 14323 ac_status=$? 14324 grep -v '^ *+' conftest.er1 >conftest.err 14325 rm -f conftest.er1 14326 cat conftest.err >&5 14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14328 (exit $ac_status); } && { 14329 test -z "$ac_cxx_werror_flag" || 14330 test ! -s conftest.err 14331 } && test -s conftest.$ac_objext; then 14332 ac_hi=$ac_mid 14333 else 14334 echo "$as_me: failed program was:" >&5 14335 sed 's/^/| /' conftest.$ac_ext >&5 14336 14337 ac_lo=`expr '(' $ac_mid ')' + 1` 14338 fi 14339 14340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14341 done 14342 case $ac_lo in 14343 ?*) ac_cv_sizeof_int=$ac_lo;; 14344 '') if test "$ac_cv_type_int" = yes; then 14345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14346 See \`config.log' for more details." >&5 14347 echo "$as_me: error: cannot compute sizeof (int) 14348 See \`config.log' for more details." >&2;} 14349 { (exit 77); exit 77; }; } 14350 else 14351 ac_cv_sizeof_int=0 14352 fi ;; 14353 esac 14354 else 14355 cat >conftest.$ac_ext <<_ACEOF 14356 /* confdefs.h. */ 14357 _ACEOF 14358 cat confdefs.h >>conftest.$ac_ext 14359 cat >>conftest.$ac_ext <<_ACEOF 14360 /* end confdefs.h. */ 14361 $ac_includes_default 14362 typedef int ac__type_sizeof_; 14363 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14364 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14365 #include <stdio.h> 14366 #include <stdlib.h> 14367 int 14368 main () 14369 { 14370 14371 FILE *f = fopen ("conftest.val", "w"); 14372 if (! f) 14373 return 1; 14374 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14375 { 14376 long int i = longval (); 14377 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14378 return 1; 14379 fprintf (f, "%ld\n", i); 14380 } 14381 else 14382 { 14383 unsigned long int i = ulongval (); 14384 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14385 return 1; 14386 fprintf (f, "%lu\n", i); 14387 } 14388 return ferror (f) || fclose (f) != 0; 14389 14390 ; 14391 return 0; 14392 } 14393 _ACEOF 14394 rm -f conftest$ac_exeext 14395 if { (ac_try="$ac_link" 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_link") 2>&5 14402 ac_status=$? 14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14405 { (case "(($ac_try" in 14406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14407 *) ac_try_echo=$ac_try;; 14408 esac 14409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14410 (eval "$ac_try") 2>&5 14411 ac_status=$? 14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14413 (exit $ac_status); }; }; then 14414 ac_cv_sizeof_int=`cat conftest.val` 14415 else 14416 echo "$as_me: program exited with status $ac_status" >&5 14417 echo "$as_me: failed program was:" >&5 14418 sed 's/^/| /' conftest.$ac_ext >&5 14419 14420 ( exit $ac_status ) 14421 if test "$ac_cv_type_int" = yes; then 14422 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 14423 See \`config.log' for more details." >&5 14424 echo "$as_me: error: cannot compute sizeof (int) 14425 See \`config.log' for more details." >&2;} 14426 { (exit 77); exit 77; }; } 9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9248 $as_echo_n "checking size of int... " >&6; } 9249 if ${ac_cv_sizeof_int+:} false; then : 9250 $as_echo_n "(cached) " >&6 9251 else 9252 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 9253 9254 else 9255 if test "$ac_cv_type_int" = yes; then 9256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9258 as_fn_error 77 "cannot compute sizeof (int) 9259 See \`config.log' for more details" "$LINENO" 5; } 14427 9260 else 14428 9261 ac_cv_sizeof_int=0 14429 9262 fi 14430 9263 fi 14431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14432 fi 14433 rm -f conftest.val 14434 fi 14435 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 14436 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 9264 9265 fi 9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9267 $as_echo "$ac_cv_sizeof_int" >&6; } 14437 9268 14438 9269 … … 14442 9273 _ACEOF 14443 9274 14444 14445 { echo "$as_me:$LINENO: checking for long" >&514446 echo $ECHO_N "checking for long... $ECHO_C" >&6; }14447 if test "${ac_cv_type_long+set}" = set; then14448 echo $ECHO_N "(cached) $ECHO_C" >&614449 else14450 cat >conftest.$ac_ext <<_ACEOF14451 /* confdefs.h. */14452 _ACEOF14453 cat confdefs.h >>conftest.$ac_ext14454 cat >>conftest.$ac_ext <<_ACEOF14455 /* end confdefs.h. */14456 $ac_includes_default14457 typedef long ac__type_new_;14458 int14459 main ()14460 {14461 if ((ac__type_new_ *) 0)14462 return 0;14463 if (sizeof (ac__type_new_))14464 return 0;14465 ;14466 return 0;14467 }14468 _ACEOF14469 rm -f conftest.$ac_objext14470 if { (ac_try="$ac_compile"14471 case "(($ac_try" in14472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14473 *) ac_try_echo=$ac_try;;14474 esac14475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514476 (eval "$ac_compile") 2>conftest.er114477 ac_status=$?14478 grep -v '^ *+' conftest.er1 >conftest.err14479 rm -f conftest.er114480 cat conftest.err >&514481 echo "$as_me:$LINENO: \$? = $ac_status" >&514482 (exit $ac_status); } && {14483 test -z "$ac_cxx_werror_flag" ||14484 test ! -s conftest.err14485 } && test -s conftest.$ac_objext; then14486 ac_cv_type_long=yes14487 else14488 echo "$as_me: failed program was:" >&514489 sed 's/^/| /' conftest.$ac_ext >&514490 14491 ac_cv_type_long=no14492 fi14493 14494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14495 fi14496 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&514497 echo "${ECHO_T}$ac_cv_type_long" >&6; }14498 9275 14499 9276 # The cast to long int works around a bug in the HP C Compiler … … 14501 9278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14502 9279 # This bug is HP SR number 8606223364. 14503 { echo "$as_me:$LINENO: checking size of long" >&5 14504 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 14505 if test "${ac_cv_sizeof_long+set}" = set; then 14506 echo $ECHO_N "(cached) $ECHO_C" >&6 14507 else 14508 if test "$cross_compiling" = yes; then 14509 # Depending upon the size, compute the lo and hi bounds. 14510 cat >conftest.$ac_ext <<_ACEOF 14511 /* confdefs.h. */ 14512 _ACEOF 14513 cat confdefs.h >>conftest.$ac_ext 14514 cat >>conftest.$ac_ext <<_ACEOF 14515 /* end confdefs.h. */ 14516 $ac_includes_default 14517 typedef long ac__type_sizeof_; 14518 int 14519 main () 14520 { 14521 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14522 test_array [0] = 0 14523 14524 ; 14525 return 0; 14526 } 14527 _ACEOF 14528 rm -f conftest.$ac_objext 14529 if { (ac_try="$ac_compile" 14530 case "(($ac_try" in 14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14532 *) ac_try_echo=$ac_try;; 14533 esac 14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14535 (eval "$ac_compile") 2>conftest.er1 14536 ac_status=$? 14537 grep -v '^ *+' conftest.er1 >conftest.err 14538 rm -f conftest.er1 14539 cat conftest.err >&5 14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14541 (exit $ac_status); } && { 14542 test -z "$ac_cxx_werror_flag" || 14543 test ! -s conftest.err 14544 } && test -s conftest.$ac_objext; then 14545 ac_lo=0 ac_mid=0 14546 while :; do 14547 cat >conftest.$ac_ext <<_ACEOF 14548 /* confdefs.h. */ 14549 _ACEOF 14550 cat confdefs.h >>conftest.$ac_ext 14551 cat >>conftest.$ac_ext <<_ACEOF 14552 /* end confdefs.h. */ 14553 $ac_includes_default 14554 typedef long ac__type_sizeof_; 14555 int 14556 main () 14557 { 14558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14559 test_array [0] = 0 14560 14561 ; 14562 return 0; 14563 } 14564 _ACEOF 14565 rm -f conftest.$ac_objext 14566 if { (ac_try="$ac_compile" 14567 case "(($ac_try" in 14568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14569 *) ac_try_echo=$ac_try;; 14570 esac 14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14572 (eval "$ac_compile") 2>conftest.er1 14573 ac_status=$? 14574 grep -v '^ *+' conftest.er1 >conftest.err 14575 rm -f conftest.er1 14576 cat conftest.err >&5 14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14578 (exit $ac_status); } && { 14579 test -z "$ac_cxx_werror_flag" || 14580 test ! -s conftest.err 14581 } && test -s conftest.$ac_objext; then 14582 ac_hi=$ac_mid; break 14583 else 14584 echo "$as_me: failed program was:" >&5 14585 sed 's/^/| /' conftest.$ac_ext >&5 14586 14587 ac_lo=`expr $ac_mid + 1` 14588 if test $ac_lo -le $ac_mid; then 14589 ac_lo= ac_hi= 14590 break 14591 fi 14592 ac_mid=`expr 2 '*' $ac_mid + 1` 14593 fi 14594 14595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14596 done 14597 else 14598 echo "$as_me: failed program was:" >&5 14599 sed 's/^/| /' conftest.$ac_ext >&5 14600 14601 cat >conftest.$ac_ext <<_ACEOF 14602 /* confdefs.h. */ 14603 _ACEOF 14604 cat confdefs.h >>conftest.$ac_ext 14605 cat >>conftest.$ac_ext <<_ACEOF 14606 /* end confdefs.h. */ 14607 $ac_includes_default 14608 typedef long ac__type_sizeof_; 14609 int 14610 main () 14611 { 14612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14613 test_array [0] = 0 14614 14615 ; 14616 return 0; 14617 } 14618 _ACEOF 14619 rm -f conftest.$ac_objext 14620 if { (ac_try="$ac_compile" 14621 case "(($ac_try" in 14622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14623 *) ac_try_echo=$ac_try;; 14624 esac 14625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14626 (eval "$ac_compile") 2>conftest.er1 14627 ac_status=$? 14628 grep -v '^ *+' conftest.er1 >conftest.err 14629 rm -f conftest.er1 14630 cat conftest.err >&5 14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14632 (exit $ac_status); } && { 14633 test -z "$ac_cxx_werror_flag" || 14634 test ! -s conftest.err 14635 } && test -s conftest.$ac_objext; then 14636 ac_hi=-1 ac_mid=-1 14637 while :; do 14638 cat >conftest.$ac_ext <<_ACEOF 14639 /* confdefs.h. */ 14640 _ACEOF 14641 cat confdefs.h >>conftest.$ac_ext 14642 cat >>conftest.$ac_ext <<_ACEOF 14643 /* end confdefs.h. */ 14644 $ac_includes_default 14645 typedef long ac__type_sizeof_; 14646 int 14647 main () 14648 { 14649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14650 test_array [0] = 0 14651 14652 ; 14653 return 0; 14654 } 14655 _ACEOF 14656 rm -f conftest.$ac_objext 14657 if { (ac_try="$ac_compile" 14658 case "(($ac_try" in 14659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14660 *) ac_try_echo=$ac_try;; 14661 esac 14662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14663 (eval "$ac_compile") 2>conftest.er1 14664 ac_status=$? 14665 grep -v '^ *+' conftest.er1 >conftest.err 14666 rm -f conftest.er1 14667 cat conftest.err >&5 14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14669 (exit $ac_status); } && { 14670 test -z "$ac_cxx_werror_flag" || 14671 test ! -s conftest.err 14672 } && test -s conftest.$ac_objext; then 14673 ac_lo=$ac_mid; break 14674 else 14675 echo "$as_me: failed program was:" >&5 14676 sed 's/^/| /' conftest.$ac_ext >&5 14677 14678 ac_hi=`expr '(' $ac_mid ')' - 1` 14679 if test $ac_mid -le $ac_hi; then 14680 ac_lo= ac_hi= 14681 break 14682 fi 14683 ac_mid=`expr 2 '*' $ac_mid` 14684 fi 14685 14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14687 done 14688 else 14689 echo "$as_me: failed program was:" >&5 14690 sed 's/^/| /' conftest.$ac_ext >&5 14691 14692 ac_lo= ac_hi= 14693 fi 14694 14695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14696 fi 14697 14698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14699 # Binary search between lo and hi bounds. 14700 while test "x$ac_lo" != "x$ac_hi"; do 14701 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14702 cat >conftest.$ac_ext <<_ACEOF 14703 /* confdefs.h. */ 14704 _ACEOF 14705 cat confdefs.h >>conftest.$ac_ext 14706 cat >>conftest.$ac_ext <<_ACEOF 14707 /* end confdefs.h. */ 14708 $ac_includes_default 14709 typedef long ac__type_sizeof_; 14710 int 14711 main () 14712 { 14713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14714 test_array [0] = 0 14715 14716 ; 14717 return 0; 14718 } 14719 _ACEOF 14720 rm -f conftest.$ac_objext 14721 if { (ac_try="$ac_compile" 14722 case "(($ac_try" in 14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14724 *) ac_try_echo=$ac_try;; 14725 esac 14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14727 (eval "$ac_compile") 2>conftest.er1 14728 ac_status=$? 14729 grep -v '^ *+' conftest.er1 >conftest.err 14730 rm -f conftest.er1 14731 cat conftest.err >&5 14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14733 (exit $ac_status); } && { 14734 test -z "$ac_cxx_werror_flag" || 14735 test ! -s conftest.err 14736 } && test -s conftest.$ac_objext; then 14737 ac_hi=$ac_mid 14738 else 14739 echo "$as_me: failed program was:" >&5 14740 sed 's/^/| /' conftest.$ac_ext >&5 14741 14742 ac_lo=`expr '(' $ac_mid ')' + 1` 14743 fi 14744 14745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14746 done 14747 case $ac_lo in 14748 ?*) ac_cv_sizeof_long=$ac_lo;; 14749 '') if test "$ac_cv_type_long" = yes; then 14750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14751 See \`config.log' for more details." >&5 14752 echo "$as_me: error: cannot compute sizeof (long) 14753 See \`config.log' for more details." >&2;} 14754 { (exit 77); exit 77; }; } 14755 else 14756 ac_cv_sizeof_long=0 14757 fi ;; 14758 esac 14759 else 14760 cat >conftest.$ac_ext <<_ACEOF 14761 /* confdefs.h. */ 14762 _ACEOF 14763 cat confdefs.h >>conftest.$ac_ext 14764 cat >>conftest.$ac_ext <<_ACEOF 14765 /* end confdefs.h. */ 14766 $ac_includes_default 14767 typedef long ac__type_sizeof_; 14768 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14769 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14770 #include <stdio.h> 14771 #include <stdlib.h> 14772 int 14773 main () 14774 { 14775 14776 FILE *f = fopen ("conftest.val", "w"); 14777 if (! f) 14778 return 1; 14779 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14780 { 14781 long int i = longval (); 14782 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14783 return 1; 14784 fprintf (f, "%ld\n", i); 14785 } 14786 else 14787 { 14788 unsigned long int i = ulongval (); 14789 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14790 return 1; 14791 fprintf (f, "%lu\n", i); 14792 } 14793 return ferror (f) || fclose (f) != 0; 14794 14795 ; 14796 return 0; 14797 } 14798 _ACEOF 14799 rm -f conftest$ac_exeext 14800 if { (ac_try="$ac_link" 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_link") 2>&5 14807 ac_status=$? 14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14809 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14810 { (case "(($ac_try" in 14811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14812 *) ac_try_echo=$ac_try;; 14813 esac 14814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14815 (eval "$ac_try") 2>&5 14816 ac_status=$? 14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14818 (exit $ac_status); }; }; then 14819 ac_cv_sizeof_long=`cat conftest.val` 14820 else 14821 echo "$as_me: program exited with status $ac_status" >&5 14822 echo "$as_me: failed program was:" >&5 14823 sed 's/^/| /' conftest.$ac_ext >&5 14824 14825 ( exit $ac_status ) 14826 if test "$ac_cv_type_long" = yes; then 14827 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14828 See \`config.log' for more details." >&5 14829 echo "$as_me: error: cannot compute sizeof (long) 14830 See \`config.log' for more details." >&2;} 14831 { (exit 77); exit 77; }; } 9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9281 $as_echo_n "checking size of long... " >&6; } 9282 if ${ac_cv_sizeof_long+:} false; then : 9283 $as_echo_n "(cached) " >&6 9284 else 9285 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 9286 9287 else 9288 if test "$ac_cv_type_long" = yes; then 9289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9291 as_fn_error 77 "cannot compute sizeof (long) 9292 See \`config.log' for more details" "$LINENO" 5; } 14832 9293 else 14833 9294 ac_cv_sizeof_long=0 14834 9295 fi 14835 9296 fi 14836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14837 fi 14838 rm -f conftest.val 14839 fi 14840 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 14841 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 9297 9298 fi 9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 9300 $as_echo "$ac_cv_sizeof_long" >&6; } 14842 9301 14843 9302 … … 14847 9306 _ACEOF 14848 9307 14849 14850 { echo "$as_me:$LINENO: checking for long long" >&514851 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }14852 if test "${ac_cv_type_long_long+set}" = set; then14853 echo $ECHO_N "(cached) $ECHO_C" >&614854 else14855 cat >conftest.$ac_ext <<_ACEOF14856 /* confdefs.h. */14857 _ACEOF14858 cat confdefs.h >>conftest.$ac_ext14859 cat >>conftest.$ac_ext <<_ACEOF14860 /* end confdefs.h. */14861 $ac_includes_default14862 typedef long long ac__type_new_;14863 int14864 main ()14865 {14866 if ((ac__type_new_ *) 0)14867 return 0;14868 if (sizeof (ac__type_new_))14869 return 0;14870 ;14871 return 0;14872 }14873 _ACEOF14874 rm -f conftest.$ac_objext14875 if { (ac_try="$ac_compile"14876 case "(($ac_try" in14877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;14878 *) ac_try_echo=$ac_try;;14879 esac14880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&514881 (eval "$ac_compile") 2>conftest.er114882 ac_status=$?14883 grep -v '^ *+' conftest.er1 >conftest.err14884 rm -f conftest.er114885 cat conftest.err >&514886 echo "$as_me:$LINENO: \$? = $ac_status" >&514887 (exit $ac_status); } && {14888 test -z "$ac_cxx_werror_flag" ||14889 test ! -s conftest.err14890 } && test -s conftest.$ac_objext; then14891 ac_cv_type_long_long=yes14892 else14893 echo "$as_me: failed program was:" >&514894 sed 's/^/| /' conftest.$ac_ext >&514895 14896 ac_cv_type_long_long=no14897 fi14898 14899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext14900 fi14901 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&514902 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }14903 9308 14904 9309 # The cast to long int works around a bug in the HP C Compiler … … 14906 9311 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14907 9312 # This bug is HP SR number 8606223364. 14908 { echo "$as_me:$LINENO: checking size of long long" >&5 14909 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 14910 if test "${ac_cv_sizeof_long_long+set}" = set; then 14911 echo $ECHO_N "(cached) $ECHO_C" >&6 14912 else 14913 if test "$cross_compiling" = yes; then 14914 # Depending upon the size, compute the lo and hi bounds. 14915 cat >conftest.$ac_ext <<_ACEOF 14916 /* confdefs.h. */ 14917 _ACEOF 14918 cat confdefs.h >>conftest.$ac_ext 14919 cat >>conftest.$ac_ext <<_ACEOF 14920 /* end confdefs.h. */ 14921 $ac_includes_default 14922 typedef long long ac__type_sizeof_; 14923 int 14924 main () 14925 { 14926 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14927 test_array [0] = 0 14928 14929 ; 14930 return 0; 14931 } 14932 _ACEOF 14933 rm -f conftest.$ac_objext 14934 if { (ac_try="$ac_compile" 14935 case "(($ac_try" in 14936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14937 *) ac_try_echo=$ac_try;; 14938 esac 14939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14940 (eval "$ac_compile") 2>conftest.er1 14941 ac_status=$? 14942 grep -v '^ *+' conftest.er1 >conftest.err 14943 rm -f conftest.er1 14944 cat conftest.err >&5 14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14946 (exit $ac_status); } && { 14947 test -z "$ac_cxx_werror_flag" || 14948 test ! -s conftest.err 14949 } && test -s conftest.$ac_objext; then 14950 ac_lo=0 ac_mid=0 14951 while :; do 14952 cat >conftest.$ac_ext <<_ACEOF 14953 /* confdefs.h. */ 14954 _ACEOF 14955 cat confdefs.h >>conftest.$ac_ext 14956 cat >>conftest.$ac_ext <<_ACEOF 14957 /* end confdefs.h. */ 14958 $ac_includes_default 14959 typedef long long ac__type_sizeof_; 14960 int 14961 main () 14962 { 14963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14964 test_array [0] = 0 14965 14966 ; 14967 return 0; 14968 } 14969 _ACEOF 14970 rm -f conftest.$ac_objext 14971 if { (ac_try="$ac_compile" 14972 case "(($ac_try" in 14973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14974 *) ac_try_echo=$ac_try;; 14975 esac 14976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14977 (eval "$ac_compile") 2>conftest.er1 14978 ac_status=$? 14979 grep -v '^ *+' conftest.er1 >conftest.err 14980 rm -f conftest.er1 14981 cat conftest.err >&5 14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14983 (exit $ac_status); } && { 14984 test -z "$ac_cxx_werror_flag" || 14985 test ! -s conftest.err 14986 } && test -s conftest.$ac_objext; then 14987 ac_hi=$ac_mid; break 14988 else 14989 echo "$as_me: failed program was:" >&5 14990 sed 's/^/| /' conftest.$ac_ext >&5 14991 14992 ac_lo=`expr $ac_mid + 1` 14993 if test $ac_lo -le $ac_mid; then 14994 ac_lo= ac_hi= 14995 break 14996 fi 14997 ac_mid=`expr 2 '*' $ac_mid + 1` 14998 fi 14999 15000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15001 done 15002 else 15003 echo "$as_me: failed program was:" >&5 15004 sed 's/^/| /' conftest.$ac_ext >&5 15005 15006 cat >conftest.$ac_ext <<_ACEOF 15007 /* confdefs.h. */ 15008 _ACEOF 15009 cat confdefs.h >>conftest.$ac_ext 15010 cat >>conftest.$ac_ext <<_ACEOF 15011 /* end confdefs.h. */ 15012 $ac_includes_default 15013 typedef long long ac__type_sizeof_; 15014 int 15015 main () 15016 { 15017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15018 test_array [0] = 0 15019 15020 ; 15021 return 0; 15022 } 15023 _ACEOF 15024 rm -f conftest.$ac_objext 15025 if { (ac_try="$ac_compile" 15026 case "(($ac_try" in 15027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15028 *) ac_try_echo=$ac_try;; 15029 esac 15030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15031 (eval "$ac_compile") 2>conftest.er1 15032 ac_status=$? 15033 grep -v '^ *+' conftest.er1 >conftest.err 15034 rm -f conftest.er1 15035 cat conftest.err >&5 15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15037 (exit $ac_status); } && { 15038 test -z "$ac_cxx_werror_flag" || 15039 test ! -s conftest.err 15040 } && test -s conftest.$ac_objext; then 15041 ac_hi=-1 ac_mid=-1 15042 while :; do 15043 cat >conftest.$ac_ext <<_ACEOF 15044 /* confdefs.h. */ 15045 _ACEOF 15046 cat confdefs.h >>conftest.$ac_ext 15047 cat >>conftest.$ac_ext <<_ACEOF 15048 /* end confdefs.h. */ 15049 $ac_includes_default 15050 typedef long long ac__type_sizeof_; 15051 int 15052 main () 15053 { 15054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15055 test_array [0] = 0 15056 15057 ; 15058 return 0; 15059 } 15060 _ACEOF 15061 rm -f conftest.$ac_objext 15062 if { (ac_try="$ac_compile" 15063 case "(($ac_try" in 15064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15065 *) ac_try_echo=$ac_try;; 15066 esac 15067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15068 (eval "$ac_compile") 2>conftest.er1 15069 ac_status=$? 15070 grep -v '^ *+' conftest.er1 >conftest.err 15071 rm -f conftest.er1 15072 cat conftest.err >&5 15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15074 (exit $ac_status); } && { 15075 test -z "$ac_cxx_werror_flag" || 15076 test ! -s conftest.err 15077 } && test -s conftest.$ac_objext; then 15078 ac_lo=$ac_mid; break 15079 else 15080 echo "$as_me: failed program was:" >&5 15081 sed 's/^/| /' conftest.$ac_ext >&5 15082 15083 ac_hi=`expr '(' $ac_mid ')' - 1` 15084 if test $ac_mid -le $ac_hi; then 15085 ac_lo= ac_hi= 15086 break 15087 fi 15088 ac_mid=`expr 2 '*' $ac_mid` 15089 fi 15090 15091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15092 done 15093 else 15094 echo "$as_me: failed program was:" >&5 15095 sed 's/^/| /' conftest.$ac_ext >&5 15096 15097 ac_lo= ac_hi= 15098 fi 15099 15100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15101 fi 15102 15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15104 # Binary search between lo and hi bounds. 15105 while test "x$ac_lo" != "x$ac_hi"; do 15106 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15107 cat >conftest.$ac_ext <<_ACEOF 15108 /* confdefs.h. */ 15109 _ACEOF 15110 cat confdefs.h >>conftest.$ac_ext 15111 cat >>conftest.$ac_ext <<_ACEOF 15112 /* end confdefs.h. */ 15113 $ac_includes_default 15114 typedef long long ac__type_sizeof_; 15115 int 15116 main () 15117 { 15118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15119 test_array [0] = 0 15120 15121 ; 15122 return 0; 15123 } 15124 _ACEOF 15125 rm -f conftest.$ac_objext 15126 if { (ac_try="$ac_compile" 15127 case "(($ac_try" in 15128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15129 *) ac_try_echo=$ac_try;; 15130 esac 15131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15132 (eval "$ac_compile") 2>conftest.er1 15133 ac_status=$? 15134 grep -v '^ *+' conftest.er1 >conftest.err 15135 rm -f conftest.er1 15136 cat conftest.err >&5 15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15138 (exit $ac_status); } && { 15139 test -z "$ac_cxx_werror_flag" || 15140 test ! -s conftest.err 15141 } && test -s conftest.$ac_objext; then 15142 ac_hi=$ac_mid 15143 else 15144 echo "$as_me: failed program was:" >&5 15145 sed 's/^/| /' conftest.$ac_ext >&5 15146 15147 ac_lo=`expr '(' $ac_mid ')' + 1` 15148 fi 15149 15150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15151 done 15152 case $ac_lo in 15153 ?*) ac_cv_sizeof_long_long=$ac_lo;; 15154 '') if test "$ac_cv_type_long_long" = yes; then 15155 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15156 See \`config.log' for more details." >&5 15157 echo "$as_me: error: cannot compute sizeof (long long) 15158 See \`config.log' for more details." >&2;} 15159 { (exit 77); exit 77; }; } 15160 else 15161 ac_cv_sizeof_long_long=0 15162 fi ;; 15163 esac 15164 else 15165 cat >conftest.$ac_ext <<_ACEOF 15166 /* confdefs.h. */ 15167 _ACEOF 15168 cat confdefs.h >>conftest.$ac_ext 15169 cat >>conftest.$ac_ext <<_ACEOF 15170 /* end confdefs.h. */ 15171 $ac_includes_default 15172 typedef long long ac__type_sizeof_; 15173 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15174 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15175 #include <stdio.h> 15176 #include <stdlib.h> 15177 int 15178 main () 15179 { 15180 15181 FILE *f = fopen ("conftest.val", "w"); 15182 if (! f) 15183 return 1; 15184 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15185 { 15186 long int i = longval (); 15187 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15188 return 1; 15189 fprintf (f, "%ld\n", i); 15190 } 15191 else 15192 { 15193 unsigned long int i = ulongval (); 15194 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15195 return 1; 15196 fprintf (f, "%lu\n", i); 15197 } 15198 return ferror (f) || fclose (f) != 0; 15199 15200 ; 15201 return 0; 15202 } 15203 _ACEOF 15204 rm -f conftest$ac_exeext 15205 if { (ac_try="$ac_link" 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_link") 2>&5 15212 ac_status=$? 15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15215 { (case "(($ac_try" in 15216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15217 *) ac_try_echo=$ac_try;; 15218 esac 15219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15220 (eval "$ac_try") 2>&5 15221 ac_status=$? 15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15223 (exit $ac_status); }; }; then 15224 ac_cv_sizeof_long_long=`cat conftest.val` 15225 else 15226 echo "$as_me: program exited with status $ac_status" >&5 15227 echo "$as_me: failed program was:" >&5 15228 sed 's/^/| /' conftest.$ac_ext >&5 15229 15230 ( exit $ac_status ) 15231 if test "$ac_cv_type_long_long" = yes; then 15232 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 15233 See \`config.log' for more details." >&5 15234 echo "$as_me: error: cannot compute sizeof (long long) 15235 See \`config.log' for more details." >&2;} 15236 { (exit 77); exit 77; }; } 9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 9314 $as_echo_n "checking size of long long... " >&6; } 9315 if ${ac_cv_sizeof_long_long+:} false; then : 9316 $as_echo_n "(cached) " >&6 9317 else 9318 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 9319 9320 else 9321 if test "$ac_cv_type_long_long" = yes; then 9322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9324 as_fn_error 77 "cannot compute sizeof (long long) 9325 See \`config.log' for more details" "$LINENO" 5; } 15237 9326 else 15238 9327 ac_cv_sizeof_long_long=0 15239 9328 fi 15240 9329 fi 15241 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15242 fi 15243 rm -f conftest.val 15244 fi 15245 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 15246 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 9330 9331 fi 9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 9333 $as_echo "$ac_cv_sizeof_long_long" >&6; } 15247 9334 15248 9335 … … 15252 9339 _ACEOF 15253 9340 15254 15255 { echo "$as_me:$LINENO: checking for void *" >&515256 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }15257 if test "${ac_cv_type_void_p+set}" = set; then15258 echo $ECHO_N "(cached) $ECHO_C" >&615259 else15260 cat >conftest.$ac_ext <<_ACEOF15261 /* confdefs.h. */15262 _ACEOF15263 cat confdefs.h >>conftest.$ac_ext15264 cat >>conftest.$ac_ext <<_ACEOF15265 /* end confdefs.h. */15266 $ac_includes_default15267 typedef void * ac__type_new_;15268 int15269 main ()15270 {15271 if ((ac__type_new_ *) 0)15272 return 0;15273 if (sizeof (ac__type_new_))15274 return 0;15275 ;15276 return 0;15277 }15278 _ACEOF15279 rm -f conftest.$ac_objext15280 if { (ac_try="$ac_compile"15281 case "(($ac_try" in15282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;15283 *) ac_try_echo=$ac_try;;15284 esac15285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&515286 (eval "$ac_compile") 2>conftest.er115287 ac_status=$?15288 grep -v '^ *+' conftest.er1 >conftest.err15289 rm -f conftest.er115290 cat conftest.err >&515291 echo "$as_me:$LINENO: \$? = $ac_status" >&515292 (exit $ac_status); } && {15293 test -z "$ac_cxx_werror_flag" ||15294 test ! -s conftest.err15295 } && test -s conftest.$ac_objext; then15296 ac_cv_type_void_p=yes15297 else15298 echo "$as_me: failed program was:" >&515299 sed 's/^/| /' conftest.$ac_ext >&515300 15301 ac_cv_type_void_p=no15302 fi15303 15304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext15305 fi15306 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&515307 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }15308 9341 15309 9342 # The cast to long int works around a bug in the HP C Compiler … … 15311 9344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15312 9345 # This bug is HP SR number 8606223364. 15313 { echo "$as_me:$LINENO: checking size of void *" >&5 15314 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 15315 if test "${ac_cv_sizeof_void_p+set}" = set; then 15316 echo $ECHO_N "(cached) $ECHO_C" >&6 15317 else 15318 if test "$cross_compiling" = yes; then 15319 # Depending upon the size, compute the lo and hi bounds. 15320 cat >conftest.$ac_ext <<_ACEOF 15321 /* confdefs.h. */ 15322 _ACEOF 15323 cat confdefs.h >>conftest.$ac_ext 15324 cat >>conftest.$ac_ext <<_ACEOF 15325 /* end confdefs.h. */ 15326 $ac_includes_default 15327 typedef void * ac__type_sizeof_; 15328 int 15329 main () 15330 { 15331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15332 test_array [0] = 0 15333 15334 ; 15335 return 0; 15336 } 15337 _ACEOF 15338 rm -f conftest.$ac_objext 15339 if { (ac_try="$ac_compile" 15340 case "(($ac_try" in 15341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15342 *) ac_try_echo=$ac_try;; 15343 esac 15344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15345 (eval "$ac_compile") 2>conftest.er1 15346 ac_status=$? 15347 grep -v '^ *+' conftest.er1 >conftest.err 15348 rm -f conftest.er1 15349 cat conftest.err >&5 15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15351 (exit $ac_status); } && { 15352 test -z "$ac_cxx_werror_flag" || 15353 test ! -s conftest.err 15354 } && test -s conftest.$ac_objext; then 15355 ac_lo=0 ac_mid=0 15356 while :; do 15357 cat >conftest.$ac_ext <<_ACEOF 15358 /* confdefs.h. */ 15359 _ACEOF 15360 cat confdefs.h >>conftest.$ac_ext 15361 cat >>conftest.$ac_ext <<_ACEOF 15362 /* end confdefs.h. */ 15363 $ac_includes_default 15364 typedef void * ac__type_sizeof_; 15365 int 15366 main () 15367 { 15368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15369 test_array [0] = 0 15370 15371 ; 15372 return 0; 15373 } 15374 _ACEOF 15375 rm -f conftest.$ac_objext 15376 if { (ac_try="$ac_compile" 15377 case "(($ac_try" in 15378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15379 *) ac_try_echo=$ac_try;; 15380 esac 15381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15382 (eval "$ac_compile") 2>conftest.er1 15383 ac_status=$? 15384 grep -v '^ *+' conftest.er1 >conftest.err 15385 rm -f conftest.er1 15386 cat conftest.err >&5 15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15388 (exit $ac_status); } && { 15389 test -z "$ac_cxx_werror_flag" || 15390 test ! -s conftest.err 15391 } && test -s conftest.$ac_objext; then 15392 ac_hi=$ac_mid; break 15393 else 15394 echo "$as_me: failed program was:" >&5 15395 sed 's/^/| /' conftest.$ac_ext >&5 15396 15397 ac_lo=`expr $ac_mid + 1` 15398 if test $ac_lo -le $ac_mid; then 15399 ac_lo= ac_hi= 15400 break 15401 fi 15402 ac_mid=`expr 2 '*' $ac_mid + 1` 15403 fi 15404 15405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15406 done 15407 else 15408 echo "$as_me: failed program was:" >&5 15409 sed 's/^/| /' conftest.$ac_ext >&5 15410 15411 cat >conftest.$ac_ext <<_ACEOF 15412 /* confdefs.h. */ 15413 _ACEOF 15414 cat confdefs.h >>conftest.$ac_ext 15415 cat >>conftest.$ac_ext <<_ACEOF 15416 /* end confdefs.h. */ 15417 $ac_includes_default 15418 typedef void * ac__type_sizeof_; 15419 int 15420 main () 15421 { 15422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 15423 test_array [0] = 0 15424 15425 ; 15426 return 0; 15427 } 15428 _ACEOF 15429 rm -f conftest.$ac_objext 15430 if { (ac_try="$ac_compile" 15431 case "(($ac_try" in 15432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15433 *) ac_try_echo=$ac_try;; 15434 esac 15435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15436 (eval "$ac_compile") 2>conftest.er1 15437 ac_status=$? 15438 grep -v '^ *+' conftest.er1 >conftest.err 15439 rm -f conftest.er1 15440 cat conftest.err >&5 15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15442 (exit $ac_status); } && { 15443 test -z "$ac_cxx_werror_flag" || 15444 test ! -s conftest.err 15445 } && test -s conftest.$ac_objext; then 15446 ac_hi=-1 ac_mid=-1 15447 while :; do 15448 cat >conftest.$ac_ext <<_ACEOF 15449 /* confdefs.h. */ 15450 _ACEOF 15451 cat confdefs.h >>conftest.$ac_ext 15452 cat >>conftest.$ac_ext <<_ACEOF 15453 /* end confdefs.h. */ 15454 $ac_includes_default 15455 typedef void * ac__type_sizeof_; 15456 int 15457 main () 15458 { 15459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 15460 test_array [0] = 0 15461 15462 ; 15463 return 0; 15464 } 15465 _ACEOF 15466 rm -f conftest.$ac_objext 15467 if { (ac_try="$ac_compile" 15468 case "(($ac_try" in 15469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15470 *) ac_try_echo=$ac_try;; 15471 esac 15472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15473 (eval "$ac_compile") 2>conftest.er1 15474 ac_status=$? 15475 grep -v '^ *+' conftest.er1 >conftest.err 15476 rm -f conftest.er1 15477 cat conftest.err >&5 15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15479 (exit $ac_status); } && { 15480 test -z "$ac_cxx_werror_flag" || 15481 test ! -s conftest.err 15482 } && test -s conftest.$ac_objext; then 15483 ac_lo=$ac_mid; break 15484 else 15485 echo "$as_me: failed program was:" >&5 15486 sed 's/^/| /' conftest.$ac_ext >&5 15487 15488 ac_hi=`expr '(' $ac_mid ')' - 1` 15489 if test $ac_mid -le $ac_hi; then 15490 ac_lo= ac_hi= 15491 break 15492 fi 15493 ac_mid=`expr 2 '*' $ac_mid` 15494 fi 15495 15496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15497 done 15498 else 15499 echo "$as_me: failed program was:" >&5 15500 sed 's/^/| /' conftest.$ac_ext >&5 15501 15502 ac_lo= ac_hi= 15503 fi 15504 15505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15506 fi 15507 15508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15509 # Binary search between lo and hi bounds. 15510 while test "x$ac_lo" != "x$ac_hi"; do 15511 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15512 cat >conftest.$ac_ext <<_ACEOF 15513 /* confdefs.h. */ 15514 _ACEOF 15515 cat confdefs.h >>conftest.$ac_ext 15516 cat >>conftest.$ac_ext <<_ACEOF 15517 /* end confdefs.h. */ 15518 $ac_includes_default 15519 typedef void * ac__type_sizeof_; 15520 int 15521 main () 15522 { 15523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15524 test_array [0] = 0 15525 15526 ; 15527 return 0; 15528 } 15529 _ACEOF 15530 rm -f conftest.$ac_objext 15531 if { (ac_try="$ac_compile" 15532 case "(($ac_try" in 15533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15534 *) ac_try_echo=$ac_try;; 15535 esac 15536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15537 (eval "$ac_compile") 2>conftest.er1 15538 ac_status=$? 15539 grep -v '^ *+' conftest.er1 >conftest.err 15540 rm -f conftest.er1 15541 cat conftest.err >&5 15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15543 (exit $ac_status); } && { 15544 test -z "$ac_cxx_werror_flag" || 15545 test ! -s conftest.err 15546 } && test -s conftest.$ac_objext; then 15547 ac_hi=$ac_mid 15548 else 15549 echo "$as_me: failed program was:" >&5 15550 sed 's/^/| /' conftest.$ac_ext >&5 15551 15552 ac_lo=`expr '(' $ac_mid ')' + 1` 15553 fi 15554 15555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15556 done 15557 case $ac_lo in 15558 ?*) ac_cv_sizeof_void_p=$ac_lo;; 15559 '') if test "$ac_cv_type_void_p" = yes; then 15560 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15561 See \`config.log' for more details." >&5 15562 echo "$as_me: error: cannot compute sizeof (void *) 15563 See \`config.log' for more details." >&2;} 15564 { (exit 77); exit 77; }; } 15565 else 15566 ac_cv_sizeof_void_p=0 15567 fi ;; 15568 esac 15569 else 15570 cat >conftest.$ac_ext <<_ACEOF 15571 /* confdefs.h. */ 15572 _ACEOF 15573 cat confdefs.h >>conftest.$ac_ext 15574 cat >>conftest.$ac_ext <<_ACEOF 15575 /* end confdefs.h. */ 15576 $ac_includes_default 15577 typedef void * ac__type_sizeof_; 15578 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 15579 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 15580 #include <stdio.h> 15581 #include <stdlib.h> 15582 int 15583 main () 15584 { 15585 15586 FILE *f = fopen ("conftest.val", "w"); 15587 if (! f) 15588 return 1; 15589 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 15590 { 15591 long int i = longval (); 15592 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15593 return 1; 15594 fprintf (f, "%ld\n", i); 15595 } 15596 else 15597 { 15598 unsigned long int i = ulongval (); 15599 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 15600 return 1; 15601 fprintf (f, "%lu\n", i); 15602 } 15603 return ferror (f) || fclose (f) != 0; 15604 15605 ; 15606 return 0; 15607 } 15608 _ACEOF 15609 rm -f conftest$ac_exeext 15610 if { (ac_try="$ac_link" 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_link") 2>&5 15617 ac_status=$? 15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15620 { (case "(($ac_try" in 15621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15622 *) ac_try_echo=$ac_try;; 15623 esac 15624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15625 (eval "$ac_try") 2>&5 15626 ac_status=$? 15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15628 (exit $ac_status); }; }; then 15629 ac_cv_sizeof_void_p=`cat conftest.val` 15630 else 15631 echo "$as_me: program exited with status $ac_status" >&5 15632 echo "$as_me: failed program was:" >&5 15633 sed 's/^/| /' conftest.$ac_ext >&5 15634 15635 ( exit $ac_status ) 15636 if test "$ac_cv_type_void_p" = yes; then 15637 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 15638 See \`config.log' for more details." >&5 15639 echo "$as_me: error: cannot compute sizeof (void *) 15640 See \`config.log' for more details." >&2;} 15641 { (exit 77); exit 77; }; } 9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 9347 $as_echo_n "checking size of void *... " >&6; } 9348 if ${ac_cv_sizeof_void_p+:} false; then : 9349 $as_echo_n "(cached) " >&6 9350 else 9351 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 9352 9353 else 9354 if test "$ac_cv_type_void_p" = yes; then 9355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9357 as_fn_error 77 "cannot compute sizeof (void *) 9358 See \`config.log' for more details" "$LINENO" 5; } 15642 9359 else 15643 9360 ac_cv_sizeof_void_p=0 15644 9361 fi 15645 9362 fi 15646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15647 fi 15648 rm -f conftest.val 15649 fi 15650 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 15651 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 9363 9364 fi 9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 9366 $as_echo "$ac_cv_sizeof_void_p" >&6; } 15652 9367 15653 9368 … … 15675 9390 15676 9391 15677 { echo "$as_me:$LINENO: checking for build with symbols" >&515678 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 9393 $as_echo_n "checking for build with symbols... " >&6; } 15679 9394 # Check whether --enable-symbols was given. 15680 if test "${enable_symbols+set}" = set; then 9395 if test "${enable_symbols+set}" = set; then : 15681 9396 enableval=$enable_symbols; tcl_ok=$enableval 15682 9397 else … … 15689 9404 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' 15690 9405 DBGX="" 15691 { echo "$as_me:$LINENO: result: no" >&515692 echo "${ECHO_T}no" >&6; }9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9407 $as_echo "no" >&6; } 15693 9408 else 15694 9409 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' … … 15696 9411 DBGX=g 15697 9412 if test "$tcl_ok" = "yes"; then 15698 { echo "$as_me:$LINENO: result: yes (standard debugging)" >&515699 echo "${ECHO_T}yes (standard debugging)" >&6; }9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 9414 $as_echo "yes (standard debugging)" >&6; } 15700 9415 fi 15701 9416 fi … … 15704 9419 15705 9420 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 15706 cat >>confdefs.h <<\_ACEOF 15707 #define TCL_MEM_DEBUG 1 15708 _ACEOF 9421 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 15709 9422 15710 9423 fi 15711 9424 15712 9425 if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then 15713 cat >>confdefs.h <<\_ACEOF 15714 #define TCL_COMPILE_DEBUG 1 15715 _ACEOF 15716 15717 cat >>confdefs.h <<\_ACEOF 15718 #define TCL_COMPILE_STATS 1 15719 _ACEOF 9426 $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h 9427 9428 $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h 15720 9429 15721 9430 fi … … 15723 9432 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 15724 9433 if test "$tcl_ok" = "all"; then 15725 { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&515726 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5 9435 $as_echo "enabled symbols mem compile debugging" >&6; } 15727 9436 else 15728 { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&515729 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 9438 $as_echo "enabled $tcl_ok debugging" >&6; } 15730 9439 fi 15731 9440 fi … … 15737 9446 #-------------------------------------------------------------------- 15738 9447 15739 15740 9448 for ac_header in ffmpeg/avcodec.h 15741 do 15742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15743 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15746 echo $ECHO_N "(cached) $ECHO_C" >&6 15747 else 15748 cat >conftest.$ac_ext <<_ACEOF 15749 /* confdefs.h. */ 15750 _ACEOF 15751 cat confdefs.h >>conftest.$ac_ext 15752 cat >>conftest.$ac_ext <<_ACEOF 15753 /* end confdefs.h. */ 15754 #define __STDC_CONSTANT_MACROS 1 9449 do : 9450 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avcodec.h" "ac_cv_header_ffmpeg_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15755 9451 #ifdef HAVE_FFMPEG_AVCODEC_H 15756 9452 # include <ffmpeg/avcodec.h> 15757 9453 #endif 15758 9454 15759 15760 #include <$ac_header> 15761 _ACEOF 15762 rm -f conftest.$ac_objext 15763 if { (ac_try="$ac_compile" 15764 case "(($ac_try" in 15765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15766 *) ac_try_echo=$ac_try;; 15767 esac 15768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15769 (eval "$ac_compile") 2>conftest.er1 15770 ac_status=$? 15771 grep -v '^ *+' conftest.er1 >conftest.err 15772 rm -f conftest.er1 15773 cat conftest.err >&5 15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15775 (exit $ac_status); } && { 15776 test -z "$ac_cxx_werror_flag" || 15777 test ! -s conftest.err 15778 } && test -s conftest.$ac_objext; then 15779 eval "$as_ac_Header=yes" 15780 else 15781 echo "$as_me: failed program was:" >&5 15782 sed 's/^/| /' conftest.$ac_ext >&5 15783 15784 eval "$as_ac_Header=no" 15785 fi 15786 15787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15788 fi 15789 ac_res=`eval echo '${'$as_ac_Header'}'` 15790 { echo "$as_me:$LINENO: result: $ac_res" >&5 15791 echo "${ECHO_T}$ac_res" >&6; } 15792 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9455 " 9456 if test "x$ac_cv_header_ffmpeg_avcodec_h" = xyes; then : 15793 9457 cat >>confdefs.h <<_ACEOF 15794 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19458 #define HAVE_FFMPEG_AVCODEC_H 1 15795 9459 _ACEOF 15796 9460 … … 15800 9464 15801 9465 15802 15803 9466 for ac_header in libavcodec/avcodec.h 15804 do 15805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15806 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15809 echo $ECHO_N "(cached) $ECHO_C" >&6 15810 else 15811 cat >conftest.$ac_ext <<_ACEOF 15812 /* confdefs.h. */ 15813 _ACEOF 15814 cat confdefs.h >>conftest.$ac_ext 15815 cat >>conftest.$ac_ext <<_ACEOF 15816 /* end confdefs.h. */ 15817 #define __STDC_CONSTANT_MACROS 1 9467 do : 9468 ac_fn_cxx_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "#define __STDC_CONSTANT_MACROS 1 15818 9469 #ifdef HAVE_LIBAVCODEC_AVCODEC_H 15819 9470 # include <libavcodec/avcodec.h> 15820 9471 #endif 15821 9472 15822 15823 #include <$ac_header> 15824 _ACEOF 15825 rm -f conftest.$ac_objext 15826 if { (ac_try="$ac_compile" 15827 case "(($ac_try" in 15828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15829 *) ac_try_echo=$ac_try;; 15830 esac 15831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15832 (eval "$ac_compile") 2>conftest.er1 15833 ac_status=$? 15834 grep -v '^ *+' conftest.er1 >conftest.err 15835 rm -f conftest.er1 15836 cat conftest.err >&5 15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15838 (exit $ac_status); } && { 15839 test -z "$ac_cxx_werror_flag" || 15840 test ! -s conftest.err 15841 } && test -s conftest.$ac_objext; then 15842 eval "$as_ac_Header=yes" 15843 else 15844 echo "$as_me: failed program was:" >&5 15845 sed 's/^/| /' conftest.$ac_ext >&5 15846 15847 eval "$as_ac_Header=no" 15848 fi 15849 15850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15851 fi 15852 ac_res=`eval echo '${'$as_ac_Header'}'` 15853 { echo "$as_me:$LINENO: result: $ac_res" >&5 15854 echo "${ECHO_T}$ac_res" >&6; } 15855 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9473 " 9474 if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes; then : 15856 9475 cat >>confdefs.h <<_ACEOF 15857 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19476 #define HAVE_LIBAVCODEC_AVCODEC_H 1 15858 9477 _ACEOF 15859 9478 … … 15863 9482 15864 9483 15865 15866 9484 for ac_header in ffmpeg/avformat.h 15867 do 15868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15869 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15872 echo $ECHO_N "(cached) $ECHO_C" >&6 15873 else 15874 cat >conftest.$ac_ext <<_ACEOF 15875 /* confdefs.h. */ 15876 _ACEOF 15877 cat confdefs.h >>conftest.$ac_ext 15878 cat >>conftest.$ac_ext <<_ACEOF 15879 /* end confdefs.h. */ 15880 #define __STDC_CONSTANT_MACROS 1 9485 do : 9486 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avformat.h" "ac_cv_header_ffmpeg_avformat_h" "#define __STDC_CONSTANT_MACROS 1 15881 9487 #ifdef HAVE_FFMPEG_AVFORMAT_H 15882 9488 # include <ffmpeg/avformat.h> 15883 9489 #endif 15884 9490 15885 15886 #include <$ac_header> 15887 _ACEOF 15888 rm -f conftest.$ac_objext 15889 if { (ac_try="$ac_compile" 15890 case "(($ac_try" in 15891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15892 *) ac_try_echo=$ac_try;; 15893 esac 15894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15895 (eval "$ac_compile") 2>conftest.er1 15896 ac_status=$? 15897 grep -v '^ *+' conftest.er1 >conftest.err 15898 rm -f conftest.er1 15899 cat conftest.err >&5 15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15901 (exit $ac_status); } && { 15902 test -z "$ac_cxx_werror_flag" || 15903 test ! -s conftest.err 15904 } && test -s conftest.$ac_objext; then 15905 eval "$as_ac_Header=yes" 15906 else 15907 echo "$as_me: failed program was:" >&5 15908 sed 's/^/| /' conftest.$ac_ext >&5 15909 15910 eval "$as_ac_Header=no" 15911 fi 15912 15913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15914 fi 15915 ac_res=`eval echo '${'$as_ac_Header'}'` 15916 { echo "$as_me:$LINENO: result: $ac_res" >&5 15917 echo "${ECHO_T}$ac_res" >&6; } 15918 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9491 " 9492 if test "x$ac_cv_header_ffmpeg_avformat_h" = xyes; then : 15919 9493 cat >>confdefs.h <<_ACEOF 15920 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19494 #define HAVE_FFMPEG_AVFORMAT_H 1 15921 9495 _ACEOF 15922 9496 … … 15926 9500 15927 9501 15928 15929 9502 for ac_header in libavformat/avformat.h 15930 do 15931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15932 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15934 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15935 echo $ECHO_N "(cached) $ECHO_C" >&6 15936 else 15937 cat >conftest.$ac_ext <<_ACEOF 15938 /* confdefs.h. */ 15939 _ACEOF 15940 cat confdefs.h >>conftest.$ac_ext 15941 cat >>conftest.$ac_ext <<_ACEOF 15942 /* end confdefs.h. */ 15943 #define __STDC_CONSTANT_MACROS 1 9503 do : 9504 ac_fn_cxx_check_header_compile "$LINENO" "libavformat/avformat.h" "ac_cv_header_libavformat_avformat_h" "#define __STDC_CONSTANT_MACROS 1 15944 9505 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H 15945 9506 # include <libavformat/avformat.h> 15946 9507 #endif 15947 9508 15948 15949 #include <$ac_header> 15950 _ACEOF 15951 rm -f conftest.$ac_objext 15952 if { (ac_try="$ac_compile" 15953 case "(($ac_try" in 15954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15955 *) ac_try_echo=$ac_try;; 15956 esac 15957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15958 (eval "$ac_compile") 2>conftest.er1 15959 ac_status=$? 15960 grep -v '^ *+' conftest.er1 >conftest.err 15961 rm -f conftest.er1 15962 cat conftest.err >&5 15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15964 (exit $ac_status); } && { 15965 test -z "$ac_cxx_werror_flag" || 15966 test ! -s conftest.err 15967 } && test -s conftest.$ac_objext; then 15968 eval "$as_ac_Header=yes" 15969 else 15970 echo "$as_me: failed program was:" >&5 15971 sed 's/^/| /' conftest.$ac_ext >&5 15972 15973 eval "$as_ac_Header=no" 15974 fi 15975 15976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15977 fi 15978 ac_res=`eval echo '${'$as_ac_Header'}'` 15979 { echo "$as_me:$LINENO: result: $ac_res" >&5 15980 echo "${ECHO_T}$ac_res" >&6; } 15981 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9509 " 9510 if test "x$ac_cv_header_libavformat_avformat_h" = xyes; then : 15982 9511 cat >>confdefs.h <<_ACEOF 15983 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19512 #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 15984 9513 _ACEOF 15985 9514 … … 15989 9518 15990 9519 15991 15992 9520 for ac_header in ffmpeg/avutil.h 15993 do 15994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15995 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15998 echo $ECHO_N "(cached) $ECHO_C" >&6 15999 else 16000 cat >conftest.$ac_ext <<_ACEOF 16001 /* confdefs.h. */ 16002 _ACEOF 16003 cat confdefs.h >>conftest.$ac_ext 16004 cat >>conftest.$ac_ext <<_ACEOF 16005 /* end confdefs.h. */ 16006 #define __STDC_CONSTANT_MACROS 1 9521 do : 9522 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16007 9523 #ifdef HAVE_FFMPEG_AVUTIL_H 16008 9524 # include <ffmpeg/avutil.h> 16009 9525 #endif 16010 9526 16011 16012 #include <$ac_header> 16013 _ACEOF 16014 rm -f conftest.$ac_objext 16015 if { (ac_try="$ac_compile" 16016 case "(($ac_try" in 16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16018 *) ac_try_echo=$ac_try;; 16019 esac 16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16021 (eval "$ac_compile") 2>conftest.er1 16022 ac_status=$? 16023 grep -v '^ *+' conftest.er1 >conftest.err 16024 rm -f conftest.er1 16025 cat conftest.err >&5 16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16027 (exit $ac_status); } && { 16028 test -z "$ac_cxx_werror_flag" || 16029 test ! -s conftest.err 16030 } && test -s conftest.$ac_objext; then 16031 eval "$as_ac_Header=yes" 16032 else 16033 echo "$as_me: failed program was:" >&5 16034 sed 's/^/| /' conftest.$ac_ext >&5 16035 16036 eval "$as_ac_Header=no" 16037 fi 16038 16039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16040 fi 16041 ac_res=`eval echo '${'$as_ac_Header'}'` 16042 { echo "$as_me:$LINENO: result: $ac_res" >&5 16043 echo "${ECHO_T}$ac_res" >&6; } 16044 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9527 " 9528 if test "x$ac_cv_header_ffmpeg_avutil_h" = xyes; then : 16045 9529 cat >>confdefs.h <<_ACEOF 16046 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19530 #define HAVE_FFMPEG_AVUTIL_H 1 16047 9531 _ACEOF 16048 9532 … … 16052 9536 16053 9537 16054 16055 9538 for ac_header in libavutil/avutil.h 16056 do 16057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16058 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16061 echo $ECHO_N "(cached) $ECHO_C" >&6 16062 else 16063 cat >conftest.$ac_ext <<_ACEOF 16064 /* confdefs.h. */ 16065 _ACEOF 16066 cat confdefs.h >>conftest.$ac_ext 16067 cat >>conftest.$ac_ext <<_ACEOF 16068 /* end confdefs.h. */ 16069 #define __STDC_CONSTANT_MACROS 1 9539 do : 9540 ac_fn_cxx_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "#define __STDC_CONSTANT_MACROS 1 16070 9541 #ifdef HAVE_LIBAVUTIL_AVUTIL_H 16071 9542 # include <libavutil/avutil.h> 16072 9543 #endif 16073 9544 16074 16075 #include <$ac_header> 16076 _ACEOF 16077 rm -f conftest.$ac_objext 16078 if { (ac_try="$ac_compile" 16079 case "(($ac_try" in 16080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16081 *) ac_try_echo=$ac_try;; 16082 esac 16083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16084 (eval "$ac_compile") 2>conftest.er1 16085 ac_status=$? 16086 grep -v '^ *+' conftest.er1 >conftest.err 16087 rm -f conftest.er1 16088 cat conftest.err >&5 16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16090 (exit $ac_status); } && { 16091 test -z "$ac_cxx_werror_flag" || 16092 test ! -s conftest.err 16093 } && test -s conftest.$ac_objext; then 16094 eval "$as_ac_Header=yes" 16095 else 16096 echo "$as_me: failed program was:" >&5 16097 sed 's/^/| /' conftest.$ac_ext >&5 16098 16099 eval "$as_ac_Header=no" 16100 fi 16101 16102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16103 fi 16104 ac_res=`eval echo '${'$as_ac_Header'}'` 16105 { echo "$as_me:$LINENO: result: $ac_res" >&5 16106 echo "${ECHO_T}$ac_res" >&6; } 16107 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9545 " 9546 if test "x$ac_cv_header_libavutil_avutil_h" = xyes; then : 16108 9547 cat >>confdefs.h <<_ACEOF 16109 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19548 #define HAVE_LIBAVUTIL_AVUTIL_H 1 16110 9549 _ACEOF 16111 9550 … … 16115 9554 16116 9555 16117 16118 9556 for ac_header in ffmpeg/swscale.h 16119 do 16120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16121 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16124 echo $ECHO_N "(cached) $ECHO_C" >&6 16125 else 16126 cat >conftest.$ac_ext <<_ACEOF 16127 /* confdefs.h. */ 16128 _ACEOF 16129 cat confdefs.h >>conftest.$ac_ext 16130 cat >>conftest.$ac_ext <<_ACEOF 16131 /* end confdefs.h. */ 16132 #define __STDC_CONSTANT_MACROS 1 9557 do : 9558 ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/swscale.h" "ac_cv_header_ffmpeg_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16133 9559 #ifdef HAVE_FFMPEG_SWSCALE_H 16134 9560 # include <ffmpeg/swscale.h> 16135 9561 #endif 16136 9562 16137 16138 #include <$ac_header> 16139 _ACEOF 16140 rm -f conftest.$ac_objext 16141 if { (ac_try="$ac_compile" 16142 case "(($ac_try" in 16143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16144 *) ac_try_echo=$ac_try;; 16145 esac 16146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16147 (eval "$ac_compile") 2>conftest.er1 16148 ac_status=$? 16149 grep -v '^ *+' conftest.er1 >conftest.err 16150 rm -f conftest.er1 16151 cat conftest.err >&5 16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16153 (exit $ac_status); } && { 16154 test -z "$ac_cxx_werror_flag" || 16155 test ! -s conftest.err 16156 } && test -s conftest.$ac_objext; then 16157 eval "$as_ac_Header=yes" 16158 else 16159 echo "$as_me: failed program was:" >&5 16160 sed 's/^/| /' conftest.$ac_ext >&5 16161 16162 eval "$as_ac_Header=no" 16163 fi 16164 16165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16166 fi 16167 ac_res=`eval echo '${'$as_ac_Header'}'` 16168 { echo "$as_me:$LINENO: result: $ac_res" >&5 16169 echo "${ECHO_T}$ac_res" >&6; } 16170 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9563 " 9564 if test "x$ac_cv_header_ffmpeg_swscale_h" = xyes; then : 16171 9565 cat >>confdefs.h <<_ACEOF 16172 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19566 #define HAVE_FFMPEG_SWSCALE_H 1 16173 9567 _ACEOF 16174 9568 … … 16178 9572 16179 9573 16180 16181 9574 for ac_header in libswscale/swscale.h 16182 do 16183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16184 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16186 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16187 echo $ECHO_N "(cached) $ECHO_C" >&6 16188 else 16189 cat >conftest.$ac_ext <<_ACEOF 16190 /* confdefs.h. */ 16191 _ACEOF 16192 cat confdefs.h >>conftest.$ac_ext 16193 cat >>conftest.$ac_ext <<_ACEOF 16194 /* end confdefs.h. */ 16195 #define __STDC_CONSTANT_MACROS 1 9575 do : 9576 ac_fn_cxx_check_header_compile "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "#define __STDC_CONSTANT_MACROS 1 16196 9577 #ifdef HAVE_LIBSWSCALE_SWSCALE_H 16197 9578 # include <libswscale/swscale.h> 16198 9579 #endif 16199 9580 16200 16201 #include <$ac_header> 16202 _ACEOF 16203 rm -f conftest.$ac_objext 16204 if { (ac_try="$ac_compile" 16205 case "(($ac_try" in 16206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16207 *) ac_try_echo=$ac_try;; 16208 esac 16209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16210 (eval "$ac_compile") 2>conftest.er1 16211 ac_status=$? 16212 grep -v '^ *+' conftest.er1 >conftest.err 16213 rm -f conftest.er1 16214 cat conftest.err >&5 16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16216 (exit $ac_status); } && { 16217 test -z "$ac_cxx_werror_flag" || 16218 test ! -s conftest.err 16219 } && test -s conftest.$ac_objext; then 16220 eval "$as_ac_Header=yes" 16221 else 16222 echo "$as_me: failed program was:" >&5 16223 sed 's/^/| /' conftest.$ac_ext >&5 16224 16225 eval "$as_ac_Header=no" 16226 fi 16227 16228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16229 fi 16230 ac_res=`eval echo '${'$as_ac_Header'}'` 16231 { echo "$as_me:$LINENO: result: $ac_res" >&5 16232 echo "${ECHO_T}$ac_res" >&6; } 16233 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9581 " 9582 if test "x$ac_cv_header_libswscale_swscale_h" = xyes; then : 16234 9583 cat >>confdefs.h <<_ACEOF 16235 #define `echo "HAVE_$ac_header" | $as_tr_cpp`19584 #define HAVE_LIBSWSCALE_SWSCALE_H 1 16236 9585 _ACEOF 16237 9586 … … 16252 9601 HAVE_FFMPEG_LIBS="yes" 16253 9602 16254 cat >>confdefs.h <<\_ACEOF 16255 #define BUILD_with_ffmpeg 1 16256 _ACEOF 9603 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h 16257 9604 16258 9605 else … … 16260 9607 fi 16261 9608 16262 16263 9609 for ac_func in img_convert 16264 do 16265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16266 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16269 echo $ECHO_N "(cached) $ECHO_C" >&6 16270 else 16271 cat >conftest.$ac_ext <<_ACEOF 16272 /* confdefs.h. */ 16273 _ACEOF 16274 cat confdefs.h >>conftest.$ac_ext 16275 cat >>conftest.$ac_ext <<_ACEOF 16276 /* end confdefs.h. */ 16277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16278 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16279 #define $ac_func innocuous_$ac_func 16280 16281 /* System header to define __stub macros and hopefully few prototypes, 16282 which can conflict with char $ac_func (); below. 16283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16284 <limits.h> exists even on freestanding compilers. */ 16285 16286 #ifdef __STDC__ 16287 # include <limits.h> 16288 #else 16289 # include <assert.h> 16290 #endif 16291 16292 #undef $ac_func 16293 16294 /* Override any GCC internal prototype to avoid an error. 16295 Use char because int might match the return type of a GCC 16296 builtin and then its argument prototype would still apply. */ 16297 #ifdef __cplusplus 16298 extern "C" 16299 #endif 16300 char $ac_func (); 16301 /* The GNU C library defines this for functions which it implements 16302 to always fail with ENOSYS. Some functions are actually named 16303 something starting with __ and the normal name is an alias. */ 16304 #if defined __stub_$ac_func || defined __stub___$ac_func 16305 choke me 16306 #endif 16307 16308 int 16309 main () 16310 { 16311 return $ac_func (); 16312 ; 16313 return 0; 16314 } 16315 _ACEOF 16316 rm -f conftest.$ac_objext conftest$ac_exeext 16317 if { (ac_try="$ac_link" 16318 case "(($ac_try" in 16319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16320 *) ac_try_echo=$ac_try;; 16321 esac 16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16323 (eval "$ac_link") 2>conftest.er1 16324 ac_status=$? 16325 grep -v '^ *+' conftest.er1 >conftest.err 16326 rm -f conftest.er1 16327 cat conftest.err >&5 16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16329 (exit $ac_status); } && { 16330 test -z "$ac_cxx_werror_flag" || 16331 test ! -s conftest.err 16332 } && test -s conftest$ac_exeext && 16333 $as_test_x conftest$ac_exeext; then 16334 eval "$as_ac_var=yes" 16335 else 16336 echo "$as_me: failed program was:" >&5 16337 sed 's/^/| /' conftest.$ac_ext >&5 16338 16339 eval "$as_ac_var=no" 16340 fi 16341 16342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16343 conftest$ac_exeext conftest.$ac_ext 16344 fi 16345 ac_res=`eval echo '${'$as_ac_var'}'` 16346 { echo "$as_me:$LINENO: result: $ac_res" >&5 16347 echo "${ECHO_T}$ac_res" >&6; } 16348 if test `eval echo '${'$as_ac_var'}'` = yes; then 9610 do : 9611 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9612 if test "x$ac_cv_func_img_convert" = xyes; then : 16349 9613 cat >>confdefs.h <<_ACEOF 16350 #define `echo "HAVE_$ac_func" | $as_tr_cpp`19614 #define HAVE_IMG_CONVERT 1 16351 9615 _ACEOF 16352 9616 … … 16354 9618 done 16355 9619 16356 16357 9620 for ac_func in sws_scale 16358 do 16359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16360 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16362 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16363 echo $ECHO_N "(cached) $ECHO_C" >&6 16364 else 16365 cat >conftest.$ac_ext <<_ACEOF 16366 /* confdefs.h. */ 16367 _ACEOF 16368 cat confdefs.h >>conftest.$ac_ext 16369 cat >>conftest.$ac_ext <<_ACEOF 16370 /* end confdefs.h. */ 16371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16372 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16373 #define $ac_func innocuous_$ac_func 16374 16375 /* System header to define __stub macros and hopefully few prototypes, 16376 which can conflict with char $ac_func (); below. 16377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16378 <limits.h> exists even on freestanding compilers. */ 16379 16380 #ifdef __STDC__ 16381 # include <limits.h> 16382 #else 16383 # include <assert.h> 16384 #endif 16385 16386 #undef $ac_func 16387 16388 /* Override any GCC internal prototype to avoid an error. 16389 Use char because int might match the return type of a GCC 16390 builtin and then its argument prototype would still apply. */ 16391 #ifdef __cplusplus 16392 extern "C" 16393 #endif 16394 char $ac_func (); 16395 /* The GNU C library defines this for functions which it implements 16396 to always fail with ENOSYS. Some functions are actually named 16397 something starting with __ and the normal name is an alias. */ 16398 #if defined __stub_$ac_func || defined __stub___$ac_func 16399 choke me 16400 #endif 16401 16402 int 16403 main () 16404 { 16405 return $ac_func (); 16406 ; 16407 return 0; 16408 } 16409 _ACEOF 16410 rm -f conftest.$ac_objext conftest$ac_exeext 16411 if { (ac_try="$ac_link" 16412 case "(($ac_try" in 16413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16414 *) ac_try_echo=$ac_try;; 16415 esac 16416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16417 (eval "$ac_link") 2>conftest.er1 16418 ac_status=$? 16419 grep -v '^ *+' conftest.er1 >conftest.err 16420 rm -f conftest.er1 16421 cat conftest.err >&5 16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16423 (exit $ac_status); } && { 16424 test -z "$ac_cxx_werror_flag" || 16425 test ! -s conftest.err 16426 } && test -s conftest$ac_exeext && 16427 $as_test_x conftest$ac_exeext; then 16428 eval "$as_ac_var=yes" 16429 else 16430 echo "$as_me: failed program was:" >&5 16431 sed 's/^/| /' conftest.$ac_ext >&5 16432 16433 eval "$as_ac_var=no" 16434 fi 16435 16436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16437 conftest$ac_exeext conftest.$ac_ext 16438 fi 16439 ac_res=`eval echo '${'$as_ac_var'}'` 16440 { echo "$as_me:$LINENO: result: $ac_res" >&5 16441 echo "${ECHO_T}$ac_res" >&6; } 16442 if test `eval echo '${'$as_ac_var'}'` = yes; then 9621 do : 9622 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9623 if test "x$ac_cv_func_sws_scale" = xyes; then : 16443 9624 cat >>confdefs.h <<_ACEOF 16444 #define `echo "HAVE_$ac_func" | $as_tr_cpp`19625 #define HAVE_SWS_SCALE 1 16445 9626 _ACEOF 16446 9627 … … 16451 9632 16452 9633 ac_configure_args="--disable-threads --enable-shared" 9634 9635 16453 9636 subdirs="$subdirs packages/optimizer/src" 16454 9637 … … 16483 9666 *${as_nl}*) 16484 9667 case $ac_var in #( 16485 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&516486 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;9668 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9669 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16487 9670 esac 16488 9671 case $ac_var in #( 16489 9672 _ | IFS | as_nl) ;; #( 16490 *) $as_unset $ac_var ;; 9673 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9674 *) { eval $ac_var=; unset $ac_var;} ;; 16491 9675 esac ;; 16492 9676 esac … … 16496 9680 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16497 9681 *${as_nl}ac_space=\ *) 16498 # `set' does not quote correctly, so add quotes (double-quote16499 # substitution turns \\\\ into \\, and sed turns \\ into \ ).9682 # `set' does not quote correctly, so add quotes: double-quote 9683 # substitution turns \\\\ into \\, and sed turns \\ into \. 16500 9684 sed -n \ 16501 9685 "s/'/'\\\\''/g; … … 16519 9703 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16520 9704 if test -w "$cache_file"; then 16521 test "x$cache_file" != "x/dev/null" && 16522 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 16523 echo "$as_me: updating cache $cache_file" >&6;} 16524 cat confcache >$cache_file 9705 if test "x$cache_file" != "x/dev/null"; then 9706 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9707 $as_echo "$as_me: updating cache $cache_file" >&6;} 9708 if test ! -f "$cache_file" || test -h "$cache_file"; then 9709 cat confcache >"$cache_file" 9710 else 9711 case $cache_file in #( 9712 */* | ?:*) 9713 mv -f confcache "$cache_file"$$ && 9714 mv -f "$cache_file"$$ "$cache_file" ;; #( 9715 *) 9716 mv -f confcache "$cache_file" ;; 9717 esac 9718 fi 9719 fi 16525 9720 else 16526 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&516527 echo "$as_me: not updating unwritable cache $cache_file" >&6;}9721 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9722 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16528 9723 fi 16529 9724 fi … … 16538 9733 ac_libobjs= 16539 9734 ac_ltlibobjs= 9735 U= 16540 9736 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16541 9737 # 1. Remove the extension, and $U if already installed. 16542 9738 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16543 ac_i=` echo "$ac_i" | sed "$ac_script"`9739 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16544 9740 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16545 9741 # will be set to the directory where LIBOBJS objects are built. 16546 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"16547 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'9742 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9743 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16548 9744 done 16549 9745 LIBOBJS=$ac_libobjs … … 16553 9749 16554 9750 16555 : ${CONFIG_STATUS=./config.status} 9751 9752 : "${CONFIG_STATUS=./config.status}" 9753 ac_write_fail=0 16556 9754 ac_clean_files_save=$ac_clean_files 16557 9755 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16558 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 16559 echo "$as_me: creating $CONFIG_STATUS" >&6;} 16560 cat >$CONFIG_STATUS <<_ACEOF 9756 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9757 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9758 as_write_fail=0 9759 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16561 9760 #! $SHELL 16562 9761 # Generated by $as_me. … … 16568 9767 ac_cs_recheck=false 16569 9768 ac_cs_silent=false 9769 16570 9770 SHELL=\${CONFIG_SHELL-$SHELL} 16571 _ACEOF 16572 16573 cat >>$CONFIG_STATUS <<\_A CEOF16574 ## -------------------- -##16575 ## M4sh Initialization. 16576 ## -------------------- -##9771 export SHELL 9772 _ASEOF 9773 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9774 ## -------------------- ## 9775 ## M4sh Initialization. ## 9776 ## -------------------- ## 16577 9777 16578 9778 # Be more Bourne compatible 16579 9779 DUALCASE=1; export DUALCASE # for MKS sh 16580 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9780 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16581 9781 emulate sh 16582 9782 NULLCMD=: 16583 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9783 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16584 9784 # is contrary to our usage. Disable this feature. 16585 9785 alias -g '${1+"$@"}'='"$@"' 16586 9786 setopt NO_GLOB_SUBST 16587 9787 else 16588 case `(set -o) 2>/dev/null` in 16589 *posix*) set -o posix ;; 9788 case `(set -o) 2>/dev/null` in #( 9789 *posix*) : 9790 set -o posix ;; #( 9791 *) : 9792 ;; 16590 9793 esac 16591 16592 fi 16593 16594 16595 16596 16597 # PATH needs CR 16598 # Avoid depending upon Character Ranges. 16599 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16600 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16601 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16602 as_cr_digits='0123456789' 16603 as_cr_alnum=$as_cr_Letters$as_cr_digits 9794 fi 9795 9796 9797 as_nl=' 9798 ' 9799 export as_nl 9800 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9801 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9802 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9803 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9804 # Prefer a ksh shell builtin over an external printf program on Solaris, 9805 # but without wasting forks for bash or zsh. 9806 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9807 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9808 as_echo='print -r --' 9809 as_echo_n='print -rn --' 9810 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9811 as_echo='printf %s\n' 9812 as_echo_n='printf %s' 9813 else 9814 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9815 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9816 as_echo_n='/usr/ucb/echo -n' 9817 else 9818 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9819 as_echo_n_body='eval 9820 arg=$1; 9821 case $arg in #( 9822 *"$as_nl"*) 9823 expr "X$arg" : "X\\(.*\\)$as_nl"; 9824 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9825 esac; 9826 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9827 ' 9828 export as_echo_n_body 9829 as_echo_n='sh -c $as_echo_n_body as_echo' 9830 fi 9831 export as_echo_body 9832 as_echo='sh -c $as_echo_body as_echo' 9833 fi 16604 9834 16605 9835 # The user is always right. 16606 9836 if test "${PATH_SEPARATOR+set}" != set; then 16607 echo "#! /bin/sh" >conf$$.sh 16608 echo "exit 0" >>conf$$.sh 16609 chmod +x conf$$.sh 16610 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 16611 PATH_SEPARATOR=';' 16612 else 16613 PATH_SEPARATOR=: 16614 fi 16615 rm -f conf$$.sh 16616 fi 16617 16618 # Support unset when possible. 16619 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 16620 as_unset=unset 16621 else 16622 as_unset=false 9837 PATH_SEPARATOR=: 9838 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9839 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9840 PATH_SEPARATOR=';' 9841 } 16623 9842 fi 16624 9843 … … 16629 9848 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 16630 9849 # splitting by setting IFS to empty value.) 16631 as_nl='16632 '16633 9850 IFS=" "" $as_nl" 16634 9851 16635 9852 # Find who we are. Look in the path if we contain no directory separator. 16636 case $0 in 9853 as_myself= 9854 case $0 in #(( 16637 9855 *[\\/]* ) as_myself=$0 ;; 16638 9856 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 16641 9859 IFS=$as_save_IFS 16642 9860 test -z "$as_dir" && as_dir=. 16643 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break16644 done9861 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9862 done 16645 9863 IFS=$as_save_IFS 16646 9864 … … 16653 9871 fi 16654 9872 if test ! -f "$as_myself"; then 16655 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16656 { (exit 1); exit 1; } 16657 fi 16658 16659 # Work around bugs in pre-3.0 UWIN ksh. 16660 for as_var in ENV MAIL MAILPATH 16661 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9873 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9874 exit 1 9875 fi 9876 9877 # Unset variables that we do not need and which cause bugs (e.g. in 9878 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9879 # suppresses any "Segmentation fault" message there. '((' could 9880 # trigger a bug in pdksh 5.2.14. 9881 for as_var in BASH_ENV ENV MAIL MAILPATH 9882 do eval test x\${$as_var+set} = xset \ 9883 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16662 9884 done 16663 9885 PS1='$ ' … … 16666 9888 16667 9889 # NLS nuisances. 16668 for as_var in \ 16669 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 16670 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 16671 LC_TELEPHONE LC_TIME 16672 do 16673 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 16674 eval $as_var=C; export $as_var 16675 else 16676 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9890 LC_ALL=C 9891 export LC_ALL 9892 LANGUAGE=C 9893 export LANGUAGE 9894 9895 # CDPATH. 9896 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9897 9898 9899 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9900 # ---------------------------------------- 9901 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9902 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9903 # script with STATUS, using 1 if that was 0. 9904 as_fn_error () 9905 { 9906 as_status=$1; test $as_status -eq 0 && as_status=1 9907 if test "$4"; then 9908 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9909 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16677 9910 fi 16678 done 16679 16680 # Required to use basename. 9911 $as_echo "$as_me: error: $2" >&2 9912 as_fn_exit $as_status 9913 } # as_fn_error 9914 9915 9916 # as_fn_set_status STATUS 9917 # ----------------------- 9918 # Set $? to STATUS, without forking. 9919 as_fn_set_status () 9920 { 9921 return $1 9922 } # as_fn_set_status 9923 9924 # as_fn_exit STATUS 9925 # ----------------- 9926 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9927 as_fn_exit () 9928 { 9929 set +e 9930 as_fn_set_status $1 9931 exit $1 9932 } # as_fn_exit 9933 9934 # as_fn_unset VAR 9935 # --------------- 9936 # Portably unset VAR. 9937 as_fn_unset () 9938 { 9939 { eval $1=; unset $1;} 9940 } 9941 as_unset=as_fn_unset 9942 # as_fn_append VAR VALUE 9943 # ---------------------- 9944 # Append the text in VALUE to the end of the definition contained in VAR. Take 9945 # advantage of any shell optimizations that allow amortized linear growth over 9946 # repeated appends, instead of the typical quadratic growth present in naive 9947 # implementations. 9948 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9949 eval 'as_fn_append () 9950 { 9951 eval $1+=\$2 9952 }' 9953 else 9954 as_fn_append () 9955 { 9956 eval $1=\$$1\$2 9957 } 9958 fi # as_fn_append 9959 9960 # as_fn_arith ARG... 9961 # ------------------ 9962 # Perform arithmetic evaluation on the ARGs, and store the result in the 9963 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9964 # must be portable across $(()) and expr. 9965 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9966 eval 'as_fn_arith () 9967 { 9968 as_val=$(( $* )) 9969 }' 9970 else 9971 as_fn_arith () 9972 { 9973 as_val=`expr "$@" || test $? -eq 1` 9974 } 9975 fi # as_fn_arith 9976 9977 16681 9978 if expr a : '\(a\)' >/dev/null 2>&1 && 16682 9979 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 16692 9989 fi 16693 9990 16694 16695 # Name of the executable. 9991 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9992 as_dirname=dirname 9993 else 9994 as_dirname=false 9995 fi 9996 16696 9997 as_me=`$as_basename -- "$0" || 16697 9998 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16698 9999 X"$0" : 'X\(//\)$' \| \ 16699 10000 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16700 echo X/"$0" |10001 $as_echo X/"$0" | 16701 10002 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16702 10003 s//\1/ … … 16713 10014 s/.*/./; q'` 16714 10015 16715 # CDPATH. 16716 $as_unset CDPATH 16717 16718 16719 16720 as_lineno_1=$LINENO 16721 as_lineno_2=$LINENO 16722 test "x$as_lineno_1" != "x$as_lineno_2" && 16723 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 16724 16725 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 16726 # uniformly replaced by the line number. The first 'sed' inserts a 16727 # line-number line after each line using $LINENO; the second 'sed' 16728 # does the real work. The second script uses 'N' to pair each 16729 # line-number line with the line containing $LINENO, and appends 16730 # trailing '-' during substitution so that $LINENO is not a special 16731 # case at line end. 16732 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16733 # scripts with optimization help from Paolo Bonzini. Blame Lee 16734 # E. McMahon (1931-1989) for sed's syntax. :-) 16735 sed -n ' 16736 p 16737 /[$]LINENO/= 16738 ' <$as_myself | 16739 sed ' 16740 s/[$]LINENO.*/&-/ 16741 t lineno 16742 b 16743 :lineno 16744 N 16745 :loop 16746 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 16747 t loop 16748 s/-\n.*// 16749 ' >$as_me.lineno && 16750 chmod +x "$as_me.lineno" || 16751 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 16752 { (exit 1); exit 1; }; } 16753 16754 # Don't try to exec as it changes $[0], causing all sort of problems 16755 # (the dirname of $[0] is not the place where we might find the 16756 # original and so on. Autoconf is especially sensitive to this). 16757 . "./$as_me.lineno" 16758 # Exit status is that of the last command. 16759 exit 16760 } 16761 16762 16763 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16764 as_dirname=dirname 16765 else 16766 as_dirname=false 16767 fi 10016 # Avoid depending upon Character Ranges. 10017 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10018 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10019 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10020 as_cr_digits='0123456789' 10021 as_cr_alnum=$as_cr_Letters$as_cr_digits 16768 10022 16769 10023 ECHO_C= ECHO_N= ECHO_T= 16770 case `echo -n x` in 10024 case `echo -n x` in #((((( 16771 10025 -n*) 16772 case `echo 'x \c'` in10026 case `echo 'xy\c'` in 16773 10027 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16774 *) ECHO_C='\c';; 10028 xy) ECHO_C='\c';; 10029 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10030 ECHO_T=' ';; 16775 10031 esac;; 16776 10032 *) … … 16778 10034 esac 16779 10035 16780 if expr a : '\(a\)' >/dev/null 2>&1 &&16781 test "X`expr 00001 : '.*\(...\)'`" = X001; then16782 as_expr=expr16783 else16784 as_expr=false16785 fi16786 16787 10036 rm -f conf$$ conf$$.exe conf$$.file 16788 10037 if test -d conf$$.dir; then … … 16790 10039 else 16791 10040 rm -f conf$$.dir 16792 mkdir conf$$.dir 16793 fi 16794 echo >conf$$.file 16795 if ln -s conf$$.file conf$$ 2>/dev/null; then 16796 as_ln_s='ln -s' 16797 # ... but there are two gotchas: 16798 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16799 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16800 # In both cases, we have to default to `cp -p'. 16801 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10041 mkdir conf$$.dir 2>/dev/null 10042 fi 10043 if (echo >conf$$.file) 2>/dev/null; then 10044 if ln -s conf$$.file conf$$ 2>/dev/null; then 10045 as_ln_s='ln -s' 10046 # ... but there are two gotchas: 10047 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10048 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10049 # In both cases, we have to default to `cp -p'. 10050 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10051 as_ln_s='cp -p' 10052 elif ln conf$$.file conf$$ 2>/dev/null; then 10053 as_ln_s=ln 10054 else 16802 10055 as_ln_s='cp -p' 16803 elif ln conf$$.file conf$$ 2>/dev/null; then 16804 as_ln_s=ln 10056 fi 16805 10057 else 16806 10058 as_ln_s='cp -p' … … 16809 10061 rmdir conf$$.dir 2>/dev/null 16810 10062 10063 10064 # as_fn_mkdir_p 10065 # ------------- 10066 # Create "$as_dir" as a directory, including parents if necessary. 10067 as_fn_mkdir_p () 10068 { 10069 10070 case $as_dir in #( 10071 -*) as_dir=./$as_dir;; 10072 esac 10073 test -d "$as_dir" || eval $as_mkdir_p || { 10074 as_dirs= 10075 while :; do 10076 case $as_dir in #( 10077 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10078 *) as_qdir=$as_dir;; 10079 esac 10080 as_dirs="'$as_qdir' $as_dirs" 10081 as_dir=`$as_dirname -- "$as_dir" || 10082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10083 X"$as_dir" : 'X\(//\)[^/]' \| \ 10084 X"$as_dir" : 'X\(//\)$' \| \ 10085 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10086 $as_echo X"$as_dir" | 10087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10088 s//\1/ 10089 q 10090 } 10091 /^X\(\/\/\)[^/].*/{ 10092 s//\1/ 10093 q 10094 } 10095 /^X\(\/\/\)$/{ 10096 s//\1/ 10097 q 10098 } 10099 /^X\(\/\).*/{ 10100 s//\1/ 10101 q 10102 } 10103 s/.*/./; q'` 10104 test -d "$as_dir" && break 10105 done 10106 test -z "$as_dirs" || eval "mkdir $as_dirs" 10107 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10108 10109 10110 } # as_fn_mkdir_p 16811 10111 if mkdir -p . 2>/dev/null; then 16812 as_mkdir_p= :10112 as_mkdir_p='mkdir -p "$as_dir"' 16813 10113 else 16814 10114 test -d ./-p && rmdir ./-p … … 16827 10127 eval sh -c '\'' 16828 10128 if test -d "$1"; then 16829 10129 test -d "$1/."; 16830 10130 else 16831 case $1 in 16832 10131 case $1 in #( 10132 -*)set "./$1";; 16833 10133 esac; 16834 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 10134 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 16835 10135 ???[sx]*):;;*)false;;esac;fi 16836 10136 '\'' sh … … 16847 10147 16848 10148 exec 6>&1 16849 16850 # Save the log message, to keep $[0] and so on meaningful, and to 10149 ## ----------------------------------- ## 10150 ## Main body of $CONFIG_STATUS script. ## 10151 ## ----------------------------------- ## 10152 _ASEOF 10153 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10154 10155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10156 # Save the log message, to keep $0 and so on meaningful, and to 16851 10157 # report actual input values of CONFIG_FILES etc. instead of their 16852 10158 # values after options handling. 16853 10159 ac_log=" 16854 10160 This file was extended by Rappture $as_me 1.1, which was 16855 generated by GNU Autoconf 2.6 1. Invocation command line was10161 generated by GNU Autoconf 2.68. Invocation command line was 16856 10162 16857 10163 CONFIG_FILES = $CONFIG_FILES … … 16866 10172 _ACEOF 16867 10173 16868 cat >>$CONFIG_STATUS <<_ACEOF 10174 case $ac_config_files in *" 10175 "*) set x $ac_config_files; shift; ac_config_files=$*;; 10176 esac 10177 10178 case $ac_config_headers in *" 10179 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10180 esac 10181 10182 10183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16869 10184 # Files that config.status was made for. 16870 10185 config_files="$ac_config_files" … … 16873 10188 _ACEOF 16874 10189 16875 cat >>$CONFIG_STATUS <<\_ACEOF 10190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16876 10191 ac_cs_usage="\ 16877 \`$as_me' instantiates files from templates according to the 16878 current configuration. 16879 16880 Usage: $0 [OPTIONS] [FILE]... 10192 \`$as_me' instantiates files and other configuration actions 10193 from templates according to the current configuration. Unless the files 10194 and actions are specified as TAGs, all are instantiated by default. 10195 10196 Usage: $0 [OPTION]... [TAG]... 16881 10197 16882 10198 -h, --help print this help, then exit 16883 10199 -V, --version print version number and configuration settings, then exit 16884 -q, --quiet do not print progress messages 10200 --config print configuration, then exit 10201 -q, --quiet, --silent 10202 do not print progress messages 16885 10203 -d, --debug don't remove temporary files 16886 10204 --recheck update $as_me by reconfiguring in the same conditions 16887 --file=FILE[:TEMPLATE]16888 16889 --header=FILE[:TEMPLATE]16890 10205 --file=FILE[:TEMPLATE] 10206 instantiate the configuration file FILE 10207 --header=FILE[:TEMPLATE] 10208 instantiate the configuration header FILE 16891 10209 16892 10210 Configuration files: … … 16896 10214 $config_headers 16897 10215 16898 Report bugs to <bug-autoconf@gnu.org>." 16899 16900 _ACEOF 16901 cat >>$CONFIG_STATUS <<_ACEOF 10216 Report bugs to <rappture@nanohub.org>." 10217 10218 _ACEOF 10219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10220 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16902 10221 ac_cs_version="\\ 16903 10222 Rappture config.status 1.1 16904 configured by $0, generated by GNU Autoconf 2.6 1,16905 with options \\" `echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"16906 16907 Copyright (C) 20 06Free Software Foundation, Inc.10223 configured by $0, generated by GNU Autoconf 2.68, 10224 with options \\"\$ac_cs_config\\" 10225 10226 Copyright (C) 2010 Free Software Foundation, Inc. 16908 10227 This config.status script is free software; the Free Software Foundation 16909 10228 gives unlimited permission to copy, distribute and modify it." … … 16913 10232 INSTALL='$INSTALL' 16914 10233 MKDIR_P='$MKDIR_P' 16915 _ACEOF 16916 16917 cat >>$CONFIG_STATUS <<\_ACEOF 16918 # If no file are specified by the user, then we need to provide default 16919 # value. By we need to know if files were specified by the user. 10234 AWK='$AWK' 10235 test -n "\$AWK" || AWK=awk 10236 _ACEOF 10237 10238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10239 # The default lists apply if the user does not specify any file. 16920 10240 ac_need_defaults=: 16921 10241 while test $# != 0 16922 10242 do 16923 10243 case $1 in 16924 --*= *)10244 --*=?*) 16925 10245 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16926 10246 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10247 ac_shift=: 10248 ;; 10249 --*=) 10250 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10251 ac_optarg= 16927 10252 ac_shift=: 16928 10253 ;; … … 16939 10264 ac_cs_recheck=: ;; 16940 10265 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16941 echo "$ac_cs_version"; exit ;; 10266 $as_echo "$ac_cs_version"; exit ;; 10267 --config | --confi | --conf | --con | --co | --c ) 10268 $as_echo "$ac_cs_config"; exit ;; 16942 10269 --debug | --debu | --deb | --de | --d | -d ) 16943 10270 debug=: ;; 16944 10271 --file | --fil | --fi | --f ) 16945 10272 $ac_shift 16946 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 10273 case $ac_optarg in 10274 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10275 '') as_fn_error $? "missing file argument" ;; 10276 esac 10277 as_fn_append CONFIG_FILES " '$ac_optarg'" 16947 10278 ac_need_defaults=false;; 16948 10279 --header | --heade | --head | --hea ) 16949 10280 $ac_shift 16950 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 10281 case $ac_optarg in 10282 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10283 esac 10284 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16951 10285 ac_need_defaults=false;; 16952 10286 --he | --h) 16953 10287 # Conflict between --help and --header 16954 { echo "$as_me: error: ambiguous option: $1 16955 Try \`$0 --help' for more information." >&2 16956 { (exit 1); exit 1; }; };; 10288 as_fn_error $? "ambiguous option: \`$1' 10289 Try \`$0 --help' for more information.";; 16957 10290 --help | --hel | -h ) 16958 echo "$ac_cs_usage"; exit ;;10291 $as_echo "$ac_cs_usage"; exit ;; 16959 10292 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16960 10293 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 16962 10295 16963 10296 # This is an error. 16964 -*) { echo "$as_me: error: unrecognized option: $1 16965 Try \`$0 --help' for more information." >&2 16966 { (exit 1); exit 1; }; } ;; 16967 16968 *) ac_config_targets="$ac_config_targets $1" 10297 -*) as_fn_error $? "unrecognized option: \`$1' 10298 Try \`$0 --help' for more information." ;; 10299 10300 *) as_fn_append ac_config_targets " $1" 16969 10301 ac_need_defaults=false ;; 16970 10302 … … 16981 10313 16982 10314 _ACEOF 16983 cat >>$CONFIG_STATUS <<_ACEOF 10315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16984 10316 if \$ac_cs_recheck; then 16985 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 16986 CONFIG_SHELL=$SHELL 10317 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10318 shift 10319 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10320 CONFIG_SHELL='$SHELL' 16987 10321 export CONFIG_SHELL 16988 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion16989 fi 16990 16991 _ACEOF 16992 cat >>$CONFIG_STATUS <<\_ACEOF 10322 exec "\$@" 10323 fi 10324 10325 _ACEOF 10326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16993 10327 exec 5>>config.log 16994 10328 { … … 16997 10331 ## Running $as_me. ## 16998 10332 _ASBOX 16999 echo "$ac_log"10333 $as_echo "$ac_log" 17000 10334 } >&5 17001 10335 17002 10336 _ACEOF 17003 cat >>$CONFIG_STATUS <<_ACEOF 17004 _ACEOF 17005 17006 cat >>$CONFIG_STATUS <<\_ACEOF 10337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10338 _ACEOF 10339 10340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17007 10341 17008 10342 # Handling of arguments. … … 17136 10470 "test/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/src/Makefile" ;; 17137 10471 17138 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17139 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17140 { (exit 1); exit 1; }; };; 10472 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17141 10473 esac 17142 10474 done … … 17160 10492 $debug || 17161 10493 { 17162 tmp= 10494 tmp= ac_tmp= 17163 10495 trap 'exit_status=$? 17164 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10496 : "${ac_tmp:=$tmp}" 10497 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17165 10498 ' 0 17166 trap ' { (exit 1); exit 1; }' 1 2 13 1510499 trap 'as_fn_exit 1' 1 2 13 15 17167 10500 } 17168 10501 # Create a (secure) tmp directory for tmp files. … … 17170 10503 { 17171 10504 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17172 test - n "$tmp" && test -d "$tmp"10505 test -d "$tmp" 17173 10506 } || 17174 10507 { 17175 10508 tmp=./conf$$-$RANDOM 17176 10509 (umask 077 && mkdir "$tmp") 17177 } || 10510 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10511 ac_tmp=$tmp 10512 10513 # Set up the scripts for CONFIG_FILES section. 10514 # No need to generate them if there are no CONFIG_FILES. 10515 # This happens for instance with `./config.status config.h'. 10516 if test -n "$CONFIG_FILES"; then 10517 10518 10519 ac_cr=`echo X | tr X '\015'` 10520 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10521 # But we know of no other shell where ac_cr would be empty at this 10522 # point, so we can use a bashism as a fallback. 10523 if test "x$ac_cr" = x; then 10524 eval ac_cr=\$\'\\r\' 10525 fi 10526 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10527 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10528 ac_cs_awk_cr='\\r' 10529 else 10530 ac_cs_awk_cr=$ac_cr 10531 fi 10532 10533 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10534 _ACEOF 10535 10536 17178 10537 { 17179 echo "$me: cannot create a temporary directory in ." >&2 17180 { (exit 1); exit 1; } 17181 } 17182 17183 # 17184 # Set up the sed scripts for CONFIG_FILES section. 17185 # 17186 17187 # No need to generate the scripts if there are no CONFIG_FILES. 17188 # This happens for instance when ./config.status config.h 17189 if test -n "$CONFIG_FILES"; then 17190 17191 _ACEOF 17192 17193 17194 10538 echo "cat >conf$$subs.awk <<_ACEOF" && 10539 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10540 echo "_ACEOF" 10541 } >conf$$subs.sh || 10542 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10543 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17195 10544 ac_delim='%!_!# ' 17196 10545 for ac_last_try in false false false false false :; do 17197 cat >conf$$subs.sed <<_ACEOF 17198 SHELL!$SHELL$ac_delim 17199 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 17200 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 17201 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 17202 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 17203 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 17204 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 17205 exec_prefix!$exec_prefix$ac_delim 17206 prefix!$prefix$ac_delim 17207 program_transform_name!$program_transform_name$ac_delim 17208 bindir!$bindir$ac_delim 17209 sbindir!$sbindir$ac_delim 17210 libexecdir!$libexecdir$ac_delim 17211 datarootdir!$datarootdir$ac_delim 17212 datadir!$datadir$ac_delim 17213 sysconfdir!$sysconfdir$ac_delim 17214 sharedstatedir!$sharedstatedir$ac_delim 17215 localstatedir!$localstatedir$ac_delim 17216 includedir!$includedir$ac_delim 17217 oldincludedir!$oldincludedir$ac_delim 17218 docdir!$docdir$ac_delim 17219 infodir!$infodir$ac_delim 17220 htmldir!$htmldir$ac_delim 17221 dvidir!$dvidir$ac_delim 17222 pdfdir!$pdfdir$ac_delim 17223 psdir!$psdir$ac_delim 17224 libdir!$libdir$ac_delim 17225 localedir!$localedir$ac_delim 17226 mandir!$mandir$ac_delim 17227 DEFS!$DEFS$ac_delim 17228 ECHO_C!$ECHO_C$ac_delim 17229 ECHO_N!$ECHO_N$ac_delim 17230 ECHO_T!$ECHO_T$ac_delim 17231 LIBS!$LIBS$ac_delim 17232 build_alias!$build_alias$ac_delim 17233 host_alias!$host_alias$ac_delim 17234 target_alias!$target_alias$ac_delim 17235 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim 17236 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 17237 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 17238 INSTALL_DATA!$INSTALL_DATA$ac_delim 17239 RANLIB!$RANLIB$ac_delim 17240 LN_S!$LN_S$ac_delim 17241 SET_MAKE!$SET_MAKE$ac_delim 17242 CC!$CC$ac_delim 17243 CFLAGS!$CFLAGS$ac_delim 17244 LDFLAGS!$LDFLAGS$ac_delim 17245 CPPFLAGS!$CPPFLAGS$ac_delim 17246 ac_ct_CC!$ac_ct_CC$ac_delim 17247 EXEEXT!$EXEEXT$ac_delim 17248 OBJEXT!$OBJEXT$ac_delim 17249 CXX!$CXX$ac_delim 17250 CXXFLAGS!$CXXFLAGS$ac_delim 17251 ac_ct_CXX!$ac_ct_CXX$ac_delim 17252 F77!$F77$ac_delim 17253 FFLAGS!$FFLAGS$ac_delim 17254 ac_ct_F77!$ac_ct_F77$ac_delim 17255 CPP!$CPP$ac_delim 17256 GREP!$GREP$ac_delim 17257 EGREP!$EGREP$ac_delim 17258 CXXCPP!$CXXCPP$ac_delim 17259 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 17260 AR!$AR$ac_delim 17261 DL_LIBS!$DL_LIBS$ac_delim 17262 DL_OBJS!$DL_OBJS$ac_delim 17263 PLAT_OBJS!$PLAT_OBJS$ac_delim 17264 PLAT_SRCS!$PLAT_SRCS$ac_delim 17265 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim 17266 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim 17267 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim 17268 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim 17269 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim 17270 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim 17271 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim 17272 STLIB_LD!$STLIB_LD$ac_delim 17273 SHLIB_LD!$SHLIB_LD$ac_delim 17274 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim 17275 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim 17276 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim 17277 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim 17278 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim 17279 MAKE_LIB!$MAKE_LIB$ac_delim 17280 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim 17281 INSTALL_LIB!$INSTALL_LIB$ac_delim 17282 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim 17283 MAKE!$MAKE$ac_delim 17284 ENABLE_GUI!$ENABLE_GUI$ac_delim 17285 TCLSH!$TCLSH$ac_delim 17286 TCL_VERSION!$TCL_VERSION$ac_delim 17287 TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim 17288 TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim 17289 VTKDIR!$VTKDIR$ac_delim 17290 MATLAB!$MATLAB$ac_delim 17291 MEX!$MEX$ac_delim 17292 MEXEXT!$MEXEXT$ac_delim 17293 MCC!$MCC$ac_delim 17294 MEX_ARCH!$MEX_ARCH$ac_delim 17295 _ACEOF 17296 17297 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 10546 . ./conf$$subs.sh || 10547 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10548 10549 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10550 if test $ac_delim_n = $ac_delim_num; then 17298 10551 break 17299 10552 elif $ac_last_try; then 17300 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17301 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17302 { (exit 1); exit 1; }; } 10553 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17303 10554 else 17304 10555 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17305 10556 fi 17306 10557 done 17307 17308 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17309 if test -n "$ac_eof"; then 17310 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17311 ac_eof=`expr $ac_eof + 1` 17312 fi 17313 17314 cat >>$CONFIG_STATUS <<_ACEOF 17315 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 17316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17317 _ACEOF 17318 sed ' 17319 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17320 s/^/s,@/; s/!/@,|#_!!_#|/ 17321 :n 17322 t n 17323 s/'"$ac_delim"'$/,g/; t 17324 s/$/\\/; p 17325 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17326 ' >>$CONFIG_STATUS <conf$$subs.sed 17327 rm -f conf$$subs.sed 17328 cat >>$CONFIG_STATUS <<_ACEOF 17329 CEOF$ac_eof 17330 _ACEOF 17331 17332 10558 rm -f conf$$subs.sh 10559 10560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10561 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10562 _ACEOF 10563 sed -n ' 10564 h 10565 s/^/S["/; s/!.*/"]=/ 10566 p 10567 g 10568 s/^[^!]*!// 10569 :repl 10570 t repl 10571 s/'"$ac_delim"'$// 10572 t delim 10573 :nl 10574 h 10575 s/\(.\{148\}\)..*/\1/ 10576 t more1 10577 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10578 p 10579 n 10580 b repl 10581 :more1 10582 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10583 p 10584 g 10585 s/.\{148\}// 10586 t nl 10587 :delim 10588 h 10589 s/\(.\{148\}\)..*/\1/ 10590 t more2 10591 s/["\\]/\\&/g; s/^/"/; s/$/"/ 10592 p 10593 b 10594 :more2 10595 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10596 p 10597 g 10598 s/.\{148\}// 10599 t delim 10600 ' <conf$$subs.awk | sed ' 10601 /^[^""]/{ 10602 N 10603 s/\n// 10604 } 10605 ' >>$CONFIG_STATUS || ac_write_fail=1 10606 rm -f conf$$subs.awk 10607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10608 _ACAWK 10609 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10610 for (key in S) S_is_set[key] = 1 10611 FS = "" 10612 10613 } 10614 { 10615 line = $ 0 10616 nfields = split(line, field, "@") 10617 substed = 0 10618 len = length(field[1]) 10619 for (i = 2; i < nfields; i++) { 10620 key = field[i] 10621 keylen = length(key) 10622 if (S_is_set[key]) { 10623 value = S[key] 10624 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10625 len += length(value) + length(field[++i]) 10626 substed = 1 10627 } else 10628 len += 1 + keylen 10629 } 10630 10631 print line 10632 } 10633 10634 _ACAWK 10635 _ACEOF 10636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10637 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10638 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10639 else 10640 cat 10641 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10642 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10643 _ACEOF 10644 10645 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10646 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 10647 # trailing colons and then remove the whole line if VPATH becomes empty 10648 # (actually we leave an empty line to preserve line numbers). 10649 if test "x$srcdir" = x.; then 10650 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10651 h 10652 s/// 10653 s/^/:/ 10654 s/[ ]*$/:/ 10655 s/:\$(srcdir):/:/g 10656 s/:\${srcdir}:/:/g 10657 s/:@srcdir@:/:/g 10658 s/^:*// 10659 s/:*$// 10660 x 10661 s/\(=[ ]*\).*/\1/ 10662 G 10663 s/\n// 10664 s/^[^=]*=[ ]*$// 10665 }' 10666 fi 10667 10668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10669 fi # test -n "$CONFIG_FILES" 10670 10671 # Set up the scripts for CONFIG_HEADERS section. 10672 # No need to generate them if there are no CONFIG_HEADERS. 10673 # This happens for instance with `./config.status Makefile'. 10674 if test -n "$CONFIG_HEADERS"; then 10675 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 10676 BEGIN { 10677 _ACEOF 10678 10679 # Transform confdefs.h into an awk script `defines.awk', embedded as 10680 # here-document in config.status, that substitutes the proper values into 10681 # config.h.in to produce config.h. 10682 10683 # Create a delimiter string that does not exist in confdefs.h, to ease 10684 # handling of long lines. 17333 10685 ac_delim='%!_!# ' 17334 for ac_last_try in false false false false false :; do 17335 cat >conf$$subs.sed <<_ACEOF 17336 OCTAVE!$OCTAVE$ac_delim 17337 MKOCTFILE!$MKOCTFILE$ac_delim 17338 octave2!$octave2$ac_delim 17339 mkoctfile2!$mkoctfile2$ac_delim 17340 octave3!$octave3$ac_delim 17341 mkoctfile3!$mkoctfile3$ac_delim 17342 OCTAVE2!$OCTAVE2$ac_delim 17343 OCTAVE3!$OCTAVE3$ac_delim 17344 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 17345 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 17346 MKOCTFILE2!$MKOCTFILE2$ac_delim 17347 MKOCTFILE3!$MKOCTFILE3$ac_delim 17348 PERL!$PERL$ac_delim 17349 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 17350 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 17351 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 17352 PERL_VERSION!$PERL_VERSION$ac_delim 17353 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim 17354 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim 17355 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim 17356 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim 17357 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim 17358 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim 17359 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim 17360 PYTHON!$PYTHON$ac_delim 17361 PYTHON_CPPFLAGS!$PYTHON_CPPFLAGS$ac_delim 17362 pythondir!$pythondir$ac_delim 17363 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 17364 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 17365 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 17366 HAVE_PYTHON_DISTUTILS!$HAVE_PYTHON_DISTUTILS$ac_delim 17367 RUBY!$RUBY$ac_delim 17368 SED!$SED$ac_delim 17369 RUBY_VERSION!$RUBY_VERSION$ac_delim 17370 AWK!$AWK$ac_delim 17371 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim 17372 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim 17373 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim 17374 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim 17375 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim 17376 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim 17377 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim 17378 JAVA!$JAVA$ac_delim 17379 JAVAC!$JAVAC$ac_delim 17380 JAVAH!$JAVAH$ac_delim 17381 JAVA_HOME!$JAVA_HOME$ac_delim 17382 JAVA_INC_DIR!$JAVA_INC_DIR$ac_delim 17383 JAVA_INC_SPEC!$JAVA_INC_SPEC$ac_delim 17384 RP_BASE!$RP_BASE$ac_delim 17385 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim 17386 TK_VERSION!$TK_VERSION$ac_delim 17387 SIZEOF_INT!$SIZEOF_INT$ac_delim 17388 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 17389 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 17390 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 17391 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 17392 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim 17393 HAVE_FFMPEG_LIBS!$HAVE_FFMPEG_LIBS$ac_delim 17394 subdirs!$subdirs$ac_delim 17395 LIBOBJS!$LIBOBJS$ac_delim 17396 LTLIBOBJS!$LTLIBOBJS$ac_delim 17397 _ACEOF 17398 17399 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then 10686 for ac_last_try in false false :; do 10687 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 10688 if test -z "$ac_tt"; then 17400 10689 break 17401 10690 elif $ac_last_try; then 17402 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17403 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17404 { (exit 1); exit 1; }; } 10691 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17405 10692 else 17406 10693 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 17408 10695 done 17409 10696 17410 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 17411 if test -n "$ac_eof"; then 17412 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 17413 ac_eof=`expr $ac_eof + 1` 17414 fi 17415 17416 cat >>$CONFIG_STATUS <<_ACEOF 17417 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 17418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 17419 _ACEOF 17420 sed ' 17421 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 17422 s/^/s,@/; s/!/@,|#_!!_#|/ 17423 :n 17424 t n 17425 s/'"$ac_delim"'$/,g/; t 17426 s/$/\\/; p 17427 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 17428 ' >>$CONFIG_STATUS <conf$$subs.sed 17429 rm -f conf$$subs.sed 17430 cat >>$CONFIG_STATUS <<_ACEOF 17431 :end 17432 s/|#_!!_#|//g 17433 CEOF$ac_eof 17434 _ACEOF 17435 17436 17437 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17438 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 17439 # trailing colons and then remove the whole line if VPATH becomes empty 17440 # (actually we leave an empty line to preserve line numbers). 17441 if test "x$srcdir" = x.; then 17442 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17443 s/:*\$(srcdir):*/:/ 17444 s/:*\${srcdir}:*/:/ 17445 s/:*@srcdir@:*/:/ 17446 s/^\([^=]*=[ ]*\):*/\1/ 17447 s/:*$// 17448 s/^[^=]*=[ ]*$// 17449 }' 17450 fi 17451 17452 cat >>$CONFIG_STATUS <<\_ACEOF 17453 fi # test -n "$CONFIG_FILES" 17454 17455 17456 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 10697 # For the awk script, D is an array of macro values keyed by name, 10698 # likewise P contains macro parameters if any. Preserve backslash 10699 # newline sequences. 10700 10701 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10702 sed -n ' 10703 s/.\{148\}/&'"$ac_delim"'/g 10704 t rset 10705 :rset 10706 s/^[ ]*#[ ]*define[ ][ ]*/ / 10707 t def 10708 d 10709 :def 10710 s/\\$// 10711 t bsnl 10712 s/["\\]/\\&/g 10713 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10714 D["\1"]=" \3"/p 10715 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10716 d 10717 :bsnl 10718 s/["\\]/\\&/g 10719 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10720 D["\1"]=" \3\\\\\\n"\\/p 10721 t cont 10722 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10723 t cont 10724 d 10725 :cont 10726 n 10727 s/.\{148\}/&'"$ac_delim"'/g 10728 t clear 10729 :clear 10730 s/\\$// 10731 t bsnlc 10732 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10733 d 10734 :bsnlc 10735 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10736 b cont 10737 ' <confdefs.h | sed ' 10738 s/'"$ac_delim"'/"\\\ 10739 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10740 10741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10742 for (key in D) D_is_set[key] = 1 10743 FS = "" 10744 } 10745 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10746 line = \$ 0 10747 split(line, arg, " ") 10748 if (arg[1] == "#") { 10749 defundef = arg[2] 10750 mac1 = arg[3] 10751 } else { 10752 defundef = substr(arg[1], 2) 10753 mac1 = arg[2] 10754 } 10755 split(mac1, mac2, "(") #) 10756 macro = mac2[1] 10757 prefix = substr(line, 1, index(line, defundef) - 1) 10758 if (D_is_set[macro]) { 10759 # Preserve the white space surrounding the "#". 10760 print prefix "define", macro P[macro] D[macro] 10761 next 10762 } else { 10763 # Replace #undef with comments. This is necessary, for example, 10764 # in the case of _POSIX_SOURCE, which is predefined and required 10765 # on some systems where configure will not decide to define it. 10766 if (defundef == "undef") { 10767 print "/*", prefix defundef, macro, "*/" 10768 next 10769 } 10770 } 10771 } 10772 { print } 10773 _ACAWK 10774 _ACEOF 10775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10776 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10777 fi # test -n "$CONFIG_HEADERS" 10778 10779 10780 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10781 shift 10782 for ac_tag 17457 10783 do 17458 10784 case $ac_tag in … … 17461 10787 case $ac_mode$ac_tag in 17462 10788 :[FHL]*:*);; 17463 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 17464 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 17465 { (exit 1); exit 1; }; };; 10789 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17466 10790 :[FH]-) ac_tag=-:-;; 17467 10791 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 17482 10806 do 17483 10807 case $ac_f in 17484 -) ac_f="$ tmp/stdin";;10808 -) ac_f="$ac_tmp/stdin";; 17485 10809 *) # Look for the file first in the build tree, then in the source tree 17486 10810 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 17491 10815 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17492 10816 esac || 17493 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 17494 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 17495 { (exit 1); exit 1; }; };; 10817 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17496 10818 esac 17497 ac_file_inputs="$ac_file_inputs $ac_f" 10819 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10820 as_fn_append ac_file_inputs " '$ac_f'" 17498 10821 done 17499 10822 … … 17501 10824 # use $as_me), people would be surprised to read: 17502 10825 # /* config.h. Generated by config.status. */ 17503 configure_input="Generated from "`IFS=: 17504 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10826 configure_input='Generated from '` 10827 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10828 `' by configure.' 17505 10829 if test x"$ac_file" != x-; then 17506 10830 configure_input="$ac_file. $configure_input" 17507 { echo "$as_me:$LINENO: creating $ac_file" >&517508 echo "$as_me: creating $ac_file" >&6;}10831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10832 $as_echo "$as_me: creating $ac_file" >&6;} 17509 10833 fi 10834 # Neutralize special characters interpreted by sed in replacement strings. 10835 case $configure_input in #( 10836 *\&* | *\|* | *\\* ) 10837 ac_sed_conf_input=`$as_echo "$configure_input" | 10838 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10839 *) ac_sed_conf_input=$configure_input;; 10840 esac 17510 10841 17511 10842 case $ac_tag in 17512 *:-:* | *:-) cat >"$tmp/stdin";; 10843 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10844 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17513 10845 esac 17514 10846 ;; … … 17520 10852 X"$ac_file" : 'X\(//\)$' \| \ 17521 10853 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17522 echo X"$ac_file" |10854 $as_echo X"$ac_file" | 17523 10855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17524 10856 s//\1/ … … 17538 10870 } 17539 10871 s/.*/./; q'` 17540 { as_dir="$ac_dir" 17541 case $as_dir in #( 17542 -*) as_dir=./$as_dir;; 17543 esac 17544 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17545 as_dirs= 17546 while :; do 17547 case $as_dir in #( 17548 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 17549 *) as_qdir=$as_dir;; 17550 esac 17551 as_dirs="'$as_qdir' $as_dirs" 17552 as_dir=`$as_dirname -- "$as_dir" || 17553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17554 X"$as_dir" : 'X\(//\)[^/]' \| \ 17555 X"$as_dir" : 'X\(//\)$' \| \ 17556 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17557 echo X"$as_dir" | 17558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17559 s//\1/ 17560 q 17561 } 17562 /^X\(\/\/\)[^/].*/{ 17563 s//\1/ 17564 q 17565 } 17566 /^X\(\/\/\)$/{ 17567 s//\1/ 17568 q 17569 } 17570 /^X\(\/\).*/{ 17571 s//\1/ 17572 q 17573 } 17574 s/.*/./; q'` 17575 test -d "$as_dir" && break 17576 done 17577 test -z "$as_dirs" || eval "mkdir $as_dirs" 17578 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17579 echo "$as_me: error: cannot create directory $as_dir" >&2;} 17580 { (exit 1); exit 1; }; }; } 10872 as_dir="$ac_dir"; as_fn_mkdir_p 17581 10873 ac_builddir=. 17582 10874 … … 17584 10876 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17585 10877 *) 17586 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`10878 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17587 10879 # A ".." for each directory in $ac_dir_suffix. 17588 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`10880 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17589 10881 case $ac_top_builddir_sub in 17590 10882 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 17631 10923 _ACEOF 17632 10924 17633 cat >>$CONFIG_STATUS <<\_ACEOF 10925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17634 10926 # If the template does not know about datarootdir, expand it. 17635 10927 # FIXME: This hack should be removed a few years after 2.60. 17636 10928 ac_datarootdir_hack=; ac_datarootdir_seen= 17637 17638 case `sed -n '/datarootdir/ {10929 ac_sed_dataroot=' 10930 /datarootdir/ { 17639 10931 p 17640 10932 q … … 17644 10936 /@infodir@/p 17645 10937 /@localedir@/p 17646 /@mandir@/p 17647 ' $ac_file_inputs` in10938 /@mandir@/p' 10939 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17648 10940 *datarootdir*) ac_datarootdir_seen=yes;; 17649 10941 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17650 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&517651 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}17652 _ACEOF 17653 cat >>$CONFIG_STATUS <<_ACEOF 10942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10943 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10944 _ACEOF 10945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17654 10946 ac_datarootdir_hack=' 17655 10947 s&@datadir@&$datadir&g … … 17658 10950 s&@localedir@&$localedir&g 17659 10951 s&@mandir@&$mandir&g 17660 10952 s&\\\${datarootdir}&$datarootdir&g' ;; 17661 10953 esac 17662 10954 _ACEOF … … 17665 10957 # Shell code in configure.ac might set extrasub. 17666 10958 # FIXME: do we really want to maintain this feature? 17667 cat >>$CONFIG_STATUS <<_ACEOF 17668 sed"$ac_vpsub10959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10960 ac_sed_extra="$ac_vpsub 17669 10961 $extrasub 17670 10962 _ACEOF 17671 cat >>$CONFIG_STATUS <<\_ACEOF 10963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17672 10964 :t 17673 10965 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17674 s &@configure_input@&$configure_input&;t t10966 s|@configure_input@|$ac_sed_conf_input|;t t 17675 10967 s&@top_builddir@&$ac_top_builddir_sub&;t t 10968 s&@top_build_prefix@&$ac_top_build_prefix&;t t 17676 10969 s&@srcdir@&$ac_srcdir&;t t 17677 10970 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 17684 10977 s&@MKDIR_P@&$ac_MKDIR_P&;t t 17685 10978 $ac_datarootdir_hack 17686 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 10979 " 10980 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10981 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17687 10982 17688 10983 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17689 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17690 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17691 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17692 which seems to be undefined. Please make sure it is defined." >&5 17693 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17694 which seems to be undefined. Please make sure it is defined." >&2;} 17695 17696 rm -f "$tmp/stdin" 10984 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10985 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10986 "$ac_tmp/out"`; test -z "$ac_out"; } && 10987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10988 which seems to be undefined. Please make sure it is defined" >&5 10989 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10990 which seems to be undefined. Please make sure it is defined" >&2;} 10991 10992 rm -f "$ac_tmp/stdin" 17697 10993 case $ac_file in 17698 -) cat "$tmp/out"; rm -f "$tmp/out";; 17699 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 17700 esac 10994 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 10995 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 10996 esac \ 10997 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17701 10998 ;; 17702 10999 :H) … … 17704 11001 # CONFIG_HEADER 17705 11002 # 17706 _ACEOF17707 17708 # Transform confdefs.h into a sed script `conftest.defines', that17709 # substitutes the proper values into config.h.in to produce config.h.17710 rm -f conftest.defines conftest.tail17711 # First, append a space to every undef/define line, to ease matching.17712 echo 's/$/ /' >conftest.defines17713 # Then, protect against being on the right side of a sed subst, or in17714 # an unquoted here document, in config.status. If some macros were17715 # called several times there might be several #defines for the same17716 # symbol, which is useless. But do not sort them, since the last17717 # AC_DEFINE must be honored.17718 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*17719 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where17720 # NAME is the cpp macro being defined, VALUE is the value it is being given.17721 # PARAMS is the parameter list in the macro definition--in most cases, it's17722 # just an empty string.17723 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'17724 ac_dB='\\)[ (].*,\\1define\\2'17725 ac_dC=' '17726 ac_dD=' ,'17727 17728 uniq confdefs.h |17729 sed -n '17730 t rset17731 :rset17732 s/^[ ]*#[ ]*define[ ][ ]*//17733 t ok17734 d17735 :ok17736 s/[\\&,]/\\&/g17737 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p17738 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p17739 ' >>conftest.defines17740 17741 # Remove the space that was appended to ease matching.17742 # Then replace #undef with comments. This is necessary, for17743 # example, in the case of _POSIX_SOURCE, which is predefined and required17744 # on some systems where configure will not decide to define it.17745 # (The regexp can be short, since the line contains either #define or #undef.)17746 echo 's/ $//17747 s,^[ #]*u.*,/* & */,' >>conftest.defines17748 17749 # Break up conftest.defines:17750 ac_max_sed_lines=5017751 17752 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"17753 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"17754 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"17755 # et cetera.17756 ac_in='$ac_file_inputs'17757 ac_out='"$tmp/out1"'17758 ac_nxt='"$tmp/out2"'17759 17760 while :17761 do17762 # Write a here document:17763 cat >>$CONFIG_STATUS <<_ACEOF17764 # First, check the format of the line:17765 cat >"\$tmp/defines.sed" <<\\CEOF17766 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def17767 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def17768 b17769 :def17770 _ACEOF17771 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS17772 echo 'CEOF17773 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS17774 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in17775 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail17776 grep . conftest.tail >/dev/null || break17777 rm -f conftest.defines17778 mv conftest.tail conftest.defines17779 done17780 rm -f conftest.defines conftest.tail17781 17782 echo "ac_result=$ac_in" >>$CONFIG_STATUS17783 cat >>$CONFIG_STATUS <<\_ACEOF17784 11003 if test x"$ac_file" != x-; then 17785 echo "/* $configure_input */" >"$tmp/config.h" 17786 cat "$ac_result" >>"$tmp/config.h" 17787 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 17788 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 17789 echo "$as_me: $ac_file is unchanged" >&6;} 11004 { 11005 $as_echo "/* $configure_input */" \ 11006 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11007 } >"$ac_tmp/config.h" \ 11008 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11009 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11010 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11011 $as_echo "$as_me: $ac_file is unchanged" >&6;} 17790 11012 else 17791 rm -f $ac_file 17792 mv "$tmp/config.h" $ac_file 11013 rm -f "$ac_file" 11014 mv "$ac_tmp/config.h" "$ac_file" \ 11015 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17793 11016 fi 17794 11017 else 17795 echo "/* $configure_input */" 17796 cat "$ac_result" 11018 $as_echo "/* $configure_input */" \ 11019 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11020 || as_fn_error $? "could not create -" "$LINENO" 5 17797 11021 fi 17798 rm -f "$tmp/out12"17799 11022 ;; 17800 11023 … … 17805 11028 17806 11029 17807 { (exit 0); exit 0; } 17808 _ACEOF 17809 chmod +x $CONFIG_STATUS 11030 as_fn_exit 0 11031 _ACEOF 17810 11032 ac_clean_files=$ac_clean_files_save 11033 11034 test $ac_write_fail = 0 || 11035 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17811 11036 17812 11037 … … 17829 11054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17830 11055 # would make configure fail if this is the last instruction. 17831 $ac_cs_success || { (exit 1); exit 1; }11056 $ac_cs_success || as_fn_exit 1 17832 11057 fi 17833 11058 … … 17837 11062 if test "$no_recursion" != yes; then 17838 11063 17839 # Remove --cache-file and --srcdir arguments so they do not pile up. 11064 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 11065 # so they do not pile up. 17840 11066 ac_sub_configure_args= 17841 11067 ac_prev= … … 17866 11092 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 17867 11093 ;; 11094 --disable-option-checking) 11095 ;; 17868 11096 *) 17869 11097 case $ac_arg in 17870 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11098 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17871 11099 esac 17872 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;11100 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 17873 11101 esac 17874 11102 done … … 17878 11106 ac_arg="--prefix=$prefix" 17879 11107 case $ac_arg in 17880 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;11108 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17881 11109 esac 17882 11110 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 17887 11115 fi 17888 11116 11117 # Always prepend --disable-option-checking to silence warnings, since 11118 # different subdirs can have different --enable and --with options. 11119 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 11120 17889 11121 ac_popdir=`pwd` 17890 11122 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 17895 11127 17896 11128 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 17897 echo "$as_me:$LINENO: $ac_msg" >&5 17898 echo "$ac_msg" >&6 17899 { as_dir="$ac_dir" 17900 case $as_dir in #( 17901 -*) as_dir=./$as_dir;; 17902 esac 17903 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17904 as_dirs= 17905 while :; do 17906 case $as_dir in #( 17907 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 17908 *) as_qdir=$as_dir;; 17909 esac 17910 as_dirs="'$as_qdir' $as_dirs" 17911 as_dir=`$as_dirname -- "$as_dir" || 17912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17913 X"$as_dir" : 'X\(//\)[^/]' \| \ 17914 X"$as_dir" : 'X\(//\)$' \| \ 17915 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17916 echo X"$as_dir" | 17917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17918 s//\1/ 17919 q 17920 } 17921 /^X\(\/\/\)[^/].*/{ 17922 s//\1/ 17923 q 17924 } 17925 /^X\(\/\/\)$/{ 17926 s//\1/ 17927 q 17928 } 17929 /^X\(\/\).*/{ 17930 s//\1/ 17931 q 17932 } 17933 s/.*/./; q'` 17934 test -d "$as_dir" && break 17935 done 17936 test -z "$as_dirs" || eval "mkdir $as_dirs" 17937 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17938 echo "$as_me: error: cannot create directory $as_dir" >&2;} 17939 { (exit 1); exit 1; }; }; } 11129 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 11130 $as_echo "$ac_msg" >&6 11131 as_dir="$ac_dir"; as_fn_mkdir_p 17940 11132 ac_builddir=. 17941 11133 … … 17943 11135 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17944 11136 *) 17945 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`11137 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17946 11138 # A ".." for each directory in $ac_dir_suffix. 17947 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`11139 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17948 11140 case $ac_top_builddir_sub in 17949 11141 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 17984 11176 ac_sub_configure=$ac_aux_dir/configure 17985 11177 else 17986 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&517987 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}11178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 11179 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 17988 11180 ac_sub_configure= 17989 11181 fi … … 17998 11190 esac 17999 11191 18000 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&518001 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}11192 { $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 11193 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 18002 11194 # The eval makes quoting arguments work. 18003 11195 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 18004 11196 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 18005 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 18006 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 18007 { (exit 1); exit 1; }; } 11197 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 18008 11198 fi 18009 11199 … … 18011 11201 done 18012 11202 fi 18013 11203 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11205 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11206 fi 11207
Note: See TracChangeset
for help on using the changeset viewer.