Changeset 2180
- Timestamp:
- Mar 31, 2011 11:20:27 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r2177 r2180 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for Rappture 1.1.3 # Generated by GNU Autoconf 2.68 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 25 # is contrary to our usage. Disable this feature. 22 26 alias -g '${1+"$@"}'='"$@"' 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 41 75 42 76 # The user is always right. 43 77 if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53 fi 54 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 60 83 fi 61 84 … … 66 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 90 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 91 IFS=" "" $as_nl" 71 92 72 93 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 94 as_myself= 95 case $0 in #(( 74 96 *[\\/]* ) as_myself=$0 ;; 75 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 100 IFS=$as_save_IFS 79 101 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 82 104 IFS=$as_save_IFS 83 105 … … 90 112 fi 91 113 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 125 done 100 126 PS1='$ ' … … 103 129 104 130 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 189 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 240 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 114 246 fi 115 done 116 117 # Required to use basename. 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 118 386 if expr a : '\(a\)' >/dev/null 2>&1 && 119 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 397 fi 130 398 131 132 # Name of the executable. 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 133 405 as_me=`$as_basename -- "$0" || 134 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 407 X"$0" : 'X\(//\)$' \| \ 136 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |409 $as_echo X/"$0" | 138 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 411 s//\1/ … … 150 422 s/.*/./; q'` 151 423 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225 do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 437 sed -n ' 441 438 p … … 454 451 ' >$as_me.lineno && 455 452 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 454 459 455 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 461 } 466 462 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then469 as_dirname=dirname470 else471 as_dirname=false472 fi473 474 463 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 464 case `echo -n x` in #((((( 476 465 -n*) 477 case `echo 'x \c'` in466 case `echo 'xy\c'` in 478 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 480 471 esac;; 481 472 *) … … 483 474 esac 484 475 485 if expr a : '\(a\)' >/dev/null 2>&1 &&486 test "X`expr 00001 : '.*\(...\)'`" = X001; then487 as_expr=expr488 else489 as_expr=false490 fi491 492 476 rm -f conf$$ conf$$.exe conf$$.file 493 477 if test -d conf$$.dir; then … … 495 479 else 496 480 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 481 mkdir conf$$.dir 2>/dev/null 482 fi 483 if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 507 495 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 496 fi 510 497 else 511 498 as_ln_s='cp -p' … … 515 502 516 503 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :504 as_mkdir_p='mkdir -p "$as_dir"' 518 505 else 519 506 test -d ./-p && rmdir ./-p … … 532 519 eval sh -c '\'' 533 520 if test -d "$1"; then 534 521 test -d "$1/."; 535 522 else 536 case $1 in 537 523 case $1 in #( 524 -*)set "./$1";; 538 525 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 527 ???[sx]*):;;*)false;;esac;fi 541 528 '\'' sh … … 551 538 552 539 553 554 exec 7<&0 </dev/null6>&1540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 555 542 556 543 # Name of the host. 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 558 545 # so uname gets run too. 559 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 570 557 MFLAGS= 571 558 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 559 574 560 # Identity of this package. … … 578 564 PACKAGE_STRING='Rappture 1.1' 579 565 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL='' 580 567 581 568 # Factoring default headers for most tests. … … 615 602 #endif" 616 603 617 ac_subst_vars='SHELL 604 enable_option_checking=no 605 ac_subst_vars='LTLIBOBJS 606 LIBOBJS 607 subdirs 608 HAVE_FFMPEG_LIBS 609 LDFLAGS_DEFAULT 610 CFLAGS_DEFAULT 611 SIZEOF_VOID_P 612 SIZEOF_LONG_LONG 613 SIZEOF_LONG 614 SIZEOF_INT 615 TK_VERSION 616 SHLIB_LDFLAGS 617 RP_BASE 618 JAVA_INC_SPEC 619 JAVA_INC_DIR 620 JAVA_HOME 621 JAVAH 622 JAVAC 623 JAVA 624 RUBY_PLATFORM 625 RUBY_VERSION_RV 626 HAVE_RUBY_DEVEL 627 RUBY_EXTRA_LIBS 628 RUBY_SITE_PKG 629 RUBY_LDFLAGS 630 RUBY_CPPFLAGS 631 AWK 632 RUBY_VERSION 633 SED 634 RUBY 635 PYTHON_DISTUTILS 636 PYTHON_SITE_PACKAGES 637 PYTHON_LIBDIR 638 PYTHON_SITE_DIR 639 PYTHON_LIB 640 PYTHON_LDFLAGS 641 PYTHON_INCDIR 642 PYTHON_CFLAGS 643 PYTHON_INCLUDES 644 PYTHON_VERSION 645 PYTHON 646 PERL_LIBSPEC 647 PERL_VERSION_RV 648 PERL_INSTALLARCHLIB 649 PERL_PRIVLIB 650 PERL_VENDORLIB 651 PERL_CPPFLAGS 652 PERL_CCFLAGS 653 PERL_VERSION 654 PERL_ARCHLIBEXP 655 PERL_ARCHLIB 656 PERL_INCLUDES 657 PERL 658 MKOCTFILE3 659 MKOCTFILE2 660 OCTAVE_VERSION_MAJOR 661 OCTAVE_VERSION 662 mkoctfile3 663 mkoctfile2 664 MKOCTFILE 665 OCTAVE 666 MEX_ARCH 667 MCC 668 MEXEXT 669 MEX 670 MATLAB 671 VTKDIR 672 TCL_LIB_SPEC 673 TCL_INC_SPEC 674 TCL_VERSION 675 TCLSH 676 ENABLE_GUI 677 MAKE 678 INSTALL_STUB_LIB 679 INSTALL_LIB 680 MAKE_STUB_LIB 681 MAKE_LIB 682 SHLIB_SUFFIX 683 SHLIB_CFLAGS 684 SHLIB_LD_LIBS 685 TK_SHLIB_LD_EXTRAS 686 TCL_SHLIB_LD_EXTRAS 687 SHLIB_LD 688 STLIB_LD 689 LD_SEARCH_FLAGS 690 CC_SEARCH_FLAGS 691 LDFLAGS_OPTIMIZE 692 LDFLAGS_DEBUG 693 CFLAGS_WARNING 694 CFLAGS_OPTIMIZE 695 CFLAGS_DEBUG 696 PLAT_SRCS 697 PLAT_OBJS 698 DL_OBJS 699 DL_LIBS 700 AR 701 HAVE_INTTYPES_H 702 CXXCPP 703 EGREP 704 GREP 705 CPP 706 ac_ct_F77 707 FFLAGS 708 F77 709 ac_ct_CXX 710 CXXFLAGS 711 CXX 712 OBJEXT 713 EXEEXT 714 ac_ct_CC 715 CPPFLAGS 716 LDFLAGS 717 CFLAGS 718 CC 719 SET_MAKE 720 MKDIR_P 721 LN_S 722 RANLIB 723 INSTALL_DATA 724 INSTALL_SCRIPT 725 INSTALL_PROGRAM 726 LIB_SEARCH_DIRS 727 INSTALL_PREFIX 728 target_alias 729 host_alias 730 build_alias 731 LIBS 732 ECHO_T 733 ECHO_N 734 ECHO_C 735 DEFS 736 mandir 737 localedir 738 libdir 739 psdir 740 pdfdir 741 dvidir 742 htmldir 743 infodir 744 docdir 745 oldincludedir 746 includedir 747 localstatedir 748 sharedstatedir 749 sysconfdir 750 datadir 751 datarootdir 752 libexecdir 753 sbindir 754 bindir 755 program_transform_name 756 prefix 757 exec_prefix 758 PACKAGE_URL 759 PACKAGE_BUGREPORT 760 PACKAGE_STRING 761 PACKAGE_VERSION 762 PACKAGE_TARNAME 763 PACKAGE_NAME 618 764 PATH_SEPARATOR 619 PACKAGE_NAME 620 PACKAGE_TARNAME 621 PACKAGE_VERSION 622 PACKAGE_STRING 623 PACKAGE_BUGREPORT 624 exec_prefix 625 prefix 626 program_transform_name 627 bindir 628 sbindir 629 libexecdir 630 datarootdir 631 datadir 632 sysconfdir 633 sharedstatedir 634 localstatedir 635 includedir 636 oldincludedir 637 docdir 638 infodir 639 htmldir 640 dvidir 641 pdfdir 642 psdir 643 libdir 644 localedir 645 mandir 646 DEFS 647 ECHO_C 648 ECHO_N 649 ECHO_T 650 LIBS 651 build_alias 652 host_alias 653 target_alias 654 INSTALL_PREFIX 655 LIB_SEARCH_DIRS 656 INSTALL_PROGRAM 657 INSTALL_SCRIPT 658 INSTALL_DATA 659 RANLIB 660 LN_S 661 SET_MAKE 662 CC 663 CFLAGS 664 LDFLAGS 665 CPPFLAGS 666 ac_ct_CC 667 EXEEXT 668 OBJEXT 669 CXX 670 CXXFLAGS 671 ac_ct_CXX 672 F77 673 FFLAGS 674 ac_ct_F77 675 CPP 676 GREP 677 EGREP 678 CXXCPP 679 HAVE_INTTYPES_H 680 AR 681 DL_LIBS 682 DL_OBJS 683 PLAT_OBJS 684 PLAT_SRCS 685 CFLAGS_DEBUG 686 CFLAGS_OPTIMIZE 687 CFLAGS_WARNING 688 LDFLAGS_DEBUG 689 LDFLAGS_OPTIMIZE 690 CC_SEARCH_FLAGS 691 LD_SEARCH_FLAGS 692 STLIB_LD 693 SHLIB_LD 694 TCL_SHLIB_LD_EXTRAS 695 TK_SHLIB_LD_EXTRAS 696 SHLIB_LD_LIBS 697 SHLIB_CFLAGS 698 SHLIB_SUFFIX 699 MAKE_LIB 700 MAKE_STUB_LIB 701 INSTALL_LIB 702 INSTALL_STUB_LIB 703 MAKE 704 ENABLE_GUI 705 TCLSH 706 TCL_VERSION 707 TCL_INC_SPEC 708 TCL_LIB_SPEC 709 VTKDIR 710 MATLAB 711 MEX 712 MEXEXT 713 MCC 714 MEX_ARCH 715 OCTAVE 716 MKOCTFILE 717 octave2 718 mkoctfile2 719 octave3 720 mkoctfile3 721 OCTAVE2 722 OCTAVE3 723 OCTAVE_VERSION 724 OCTAVE_VERSION_MAJOR 725 MKOCTFILE2 726 MKOCTFILE3 727 PERL 728 PERL_INCLUDES 729 PERL_ARCHLIB 730 PERL_ARCHLIBEXP 731 PERL_VERSION 732 PERL_CCFLAGS 733 PERL_CPPFLAGS 734 PERL_VENDORLIB 735 PERL_PRIVLIB 736 PERL_INSTALLARCHLIB 737 PERL_VERSION_RV 738 PERL_LIBSPEC 739 PYTHON 740 PYTHON_VERSION 741 PYTHON_INCLUDES 742 PYTHON_CFLAGS 743 PYTHON_INCDIR 744 PYTHON_LDFLAGS 745 PYTHON_LIB 746 PYTHON_SITE_DIR 747 PYTHON_LIBDIR 748 PYTHON_SITE_PACKAGES 749 PYTHON_DISTUTILS 750 RUBY 751 SED 752 RUBY_VERSION 753 AWK 754 RUBY_CPPFLAGS 755 RUBY_LDFLAGS 756 RUBY_SITE_PKG 757 RUBY_EXTRA_LIBS 758 HAVE_RUBY_DEVEL 759 RUBY_VERSION_RV 760 RUBY_PLATFORM 761 JAVA 762 JAVAC 763 JAVAH 764 JAVA_HOME 765 JAVA_INC_DIR 766 JAVA_INC_SPEC 767 RP_BASE 768 SHLIB_LDFLAGS 769 TK_VERSION 770 SIZEOF_INT 771 SIZEOF_LONG 772 SIZEOF_LONG_LONG 773 SIZEOF_VOID_P 774 CFLAGS_DEFAULT 775 LDFLAGS_DEFAULT 776 HAVE_FFMPEG_LIBS 777 subdirs 778 LIBOBJS 779 LTLIBOBJS' 765 SHELL' 780 766 ac_subst_files='' 767 ac_user_opts=' 768 enable_option_checking 769 with_install 770 enable_64bit 771 enable_64bit_vis 772 enable_corefoundation 773 enable_load 774 enable_gui 775 with_tclsh 776 with_vtk 777 with_matlab 778 with_octave 779 with_mkoctfile2 780 with_mkoctfile3 781 with_perl 782 with_python 783 with_ruby 784 with_java 785 enable_shared 786 enable_symbols 787 ' 781 788 ac_precious_vars='build_alias 782 789 host_alias … … 799 806 ac_init_help= 800 807 ac_init_version=false 808 ac_unrecognized_opts= 809 ac_unrecognized_sep= 801 810 # The variables have the same names as the options, with 802 811 # dashes changed to underlines. … … 854 863 855 864 case $ac_option in 856 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 857 *) ac_optarg=yes ;; 865 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 866 *=) ac_optarg= ;; 867 *) ac_optarg=yes ;; 858 868 esac 859 869 … … 897 907 898 908 -disable-* | --disable-*) 899 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`909 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 900 910 # Reject names that are not valid shell variable names. 901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 903 { (exit 1); exit 1; }; } 904 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 905 eval enable_$ac_feature=no ;; 911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 912 as_fn_error $? "invalid feature name: $ac_useropt" 913 ac_useropt_orig=$ac_useropt 914 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 915 case $ac_user_opts in 916 *" 917 "enable_$ac_useropt" 918 "*) ;; 919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 920 ac_unrecognized_sep=', ';; 921 esac 922 eval enable_$ac_useropt=no ;; 906 923 907 924 -docdir | --docdir | --docdi | --doc | --do) … … 916 933 917 934 -enable-* | --enable-*) 918 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`935 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 919 936 # Reject names that are not valid shell variable names. 920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 922 { (exit 1); exit 1; }; } 923 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 924 eval enable_$ac_feature=\$ac_optarg ;; 937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 938 as_fn_error $? "invalid feature name: $ac_useropt" 939 ac_useropt_orig=$ac_useropt 940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 941 case $ac_user_opts in 942 *" 943 "enable_$ac_useropt" 944 "*) ;; 945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 946 ac_unrecognized_sep=', ';; 947 esac 948 eval enable_$ac_useropt=\$ac_optarg ;; 925 949 926 950 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1113 1137 1114 1138 -with-* | --with-*) 1115 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1139 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1116 1140 # Reject names that are not valid shell variable names. 1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1118 { echo "$as_me: error: invalid package name: $ac_package" >&2 1119 { (exit 1); exit 1; }; } 1120 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1121 eval with_$ac_package=\$ac_optarg ;; 1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1142 as_fn_error $? "invalid package name: $ac_useropt" 1143 ac_useropt_orig=$ac_useropt 1144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1145 case $ac_user_opts in 1146 *" 1147 "with_$ac_useropt" 1148 "*) ;; 1149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1150 ac_unrecognized_sep=', ';; 1151 esac 1152 eval with_$ac_useropt=\$ac_optarg ;; 1122 1153 1123 1154 -without-* | --without-*) 1124 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1155 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1125 1156 # Reject names that are not valid shell variable names. 1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1127 { echo "$as_me: error: invalid package name: $ac_package" >&2 1128 { (exit 1); exit 1; }; } 1129 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1130 eval with_$ac_package=no ;; 1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1158 as_fn_error $? "invalid package name: $ac_useropt" 1159 ac_useropt_orig=$ac_useropt 1160 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1161 case $ac_user_opts in 1162 *" 1163 "with_$ac_useropt" 1164 "*) ;; 1165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1166 ac_unrecognized_sep=', ';; 1167 esac 1168 eval with_$ac_useropt=no ;; 1131 1169 1132 1170 --x) … … 1148 1186 x_libraries=$ac_optarg ;; 1149 1187 1150 -*) { echo "$as_me: error: unrecognized option: $ac_option 1151 Try \`$0 --help' for more information." >&2 1152 { (exit 1); exit 1; }; } 1188 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1189 Try \`$0 --help' for more information" 1153 1190 ;; 1154 1191 … … 1156 1193 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1157 1194 # Reject names that are not valid shell variable names. 1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1160 { (exit 1); exit 1; }; } 1195 case $ac_envvar in #( 1196 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1197 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1198 esac 1161 1199 eval $ac_envvar=\$ac_optarg 1162 1200 export $ac_envvar ;; … … 1164 1202 *) 1165 1203 # FIXME: should be removed in autoconf 3.0. 1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&21204 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1167 1205 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&21169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1206 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1207 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1170 1208 ;; 1171 1209 … … 1175 1213 if test -n "$ac_prev"; then 1176 1214 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1177 { echo "$as_me: error: missing argument to $ac_option" >&2 1178 { (exit 1); exit 1; }; } 1179 fi 1180 1181 # Be sure to have absolute directory names. 1215 as_fn_error $? "missing argument to $ac_option" 1216 fi 1217 1218 if test -n "$ac_unrecognized_opts"; then 1219 case $enable_option_checking in 1220 no) ;; 1221 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1222 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1223 esac 1224 fi 1225 1226 # Check all directory arguments for consistency. 1182 1227 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1183 1228 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1186 1231 do 1187 1232 eval ac_val=\$$ac_var 1233 # Remove trailing slashes. 1234 case $ac_val in 1235 */ ) 1236 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1237 eval $ac_var=\$ac_val;; 1238 esac 1239 # Be sure to have absolute directory names. 1188 1240 case $ac_val in 1189 1241 [\\/$]* | ?:[\\/]* ) continue;; 1190 1242 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1191 1243 esac 1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1193 { (exit 1); exit 1; }; } 1244 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1194 1245 done 1195 1246 … … 1205 1256 if test "x$build_alias" = x; then 1206 1257 cross_compiling=maybe 1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1208 If a cross compiler is detected then cross compile mode will be used ." >&21258 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1259 If a cross compiler is detected then cross compile mode will be used" >&2 1209 1260 elif test "x$build_alias" != "x$host_alias"; then 1210 1261 cross_compiling=yes … … 1221 1272 ac_ls_di=`ls -di .` && 1222 1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1223 { echo "$as_me: error: Working directory cannot be determined" >&2 1224 { (exit 1); exit 1; }; } 1274 as_fn_error $? "working directory cannot be determined" 1225 1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1226 { echo "$as_me: error: pwd does not report name of working directory" >&2 1227 { (exit 1); exit 1; }; } 1276 as_fn_error $? "pwd does not report name of working directory" 1228 1277 1229 1278 … … 1232 1281 ac_srcdir_defaulted=yes 1233 1282 # Try the directory containing this script, then the parent directory. 1234 ac_confdir=`$as_dirname -- "$ 0" ||1235 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1236 X"$ 0" : 'X\(//\)[^/]' \| \1237 X"$ 0" : 'X\(//\)$' \| \1238 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1239 echo X"$0" |1283 ac_confdir=`$as_dirname -- "$as_myself" || 1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1285 X"$as_myself" : 'X\(//\)[^/]' \| \ 1286 X"$as_myself" : 'X\(//\)$' \| \ 1287 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1288 $as_echo X"$as_myself" | 1240 1289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1241 1290 s//\1/ … … 1264 1313 if test ! -r "$srcdir/$ac_unique_file"; then 1265 1314 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1267 { (exit 1); exit 1; }; } 1315 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1268 1316 fi 1269 1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1270 1318 ac_abs_confdir=`( 1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1272 { (exit 1); exit 1; }; } 1319 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1273 1320 pwd)` 1274 1321 # When building in place, set srcdir=. … … 1310 1357 --help=recursive display the short help of all the included packages 1311 1358 -V, --version display version information and exit 1312 -q, --quiet, --silent do not print \`checking ...' messages1359 -q, --quiet, --silent do not print \`checking ...' messages 1313 1360 --cache-file=FILE cache test results in FILE [disabled] 1314 1361 -C, --config-cache alias for \`--cache-file=config.cache' … … 1318 1365 Installation directories: 1319 1366 --prefix=PREFIX install architecture-independent files in PREFIX 1320 1367 [$ac_default_prefix] 1321 1368 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1322 1369 [PREFIX] 1323 1370 1324 1371 By default, \`make install' will install all the files in … … 1330 1377 1331 1378 Fine tuning of the installation directories: 1332 --bindir=DIR user executables [EPREFIX/bin]1333 --sbindir=DIR system admin executables [EPREFIX/sbin]1334 --libexecdir=DIR program executables [EPREFIX/libexec]1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1338 --libdir=DIR object code libraries [EPREFIX/lib]1339 --includedir=DIR C header files [PREFIX/include]1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1343 --infodir=DIR info documentation [DATAROOTDIR/info]1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1345 --mandir=DIR man documentation [DATAROOTDIR/man]1346 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1347 --htmldir=DIR html documentation [DOCDIR]1348 --dvidir=DIR dvi documentation [DOCDIR]1349 --pdfdir=DIR pdf documentation [DOCDIR]1350 --psdir=DIR ps documentation [DOCDIR]1379 --bindir=DIR user executables [EPREFIX/bin] 1380 --sbindir=DIR system admin executables [EPREFIX/sbin] 1381 --libexecdir=DIR program executables [EPREFIX/libexec] 1382 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1383 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1384 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1385 --libdir=DIR object code libraries [EPREFIX/lib] 1386 --includedir=DIR C header files [PREFIX/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1390 --infodir=DIR info documentation [DATAROOTDIR/info] 1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1392 --mandir=DIR man documentation [DATAROOTDIR/man] 1393 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1394 --htmldir=DIR html documentation [DOCDIR] 1395 --dvidir=DIR dvi documentation [DOCDIR] 1396 --pdfdir=DIR pdf documentation [DOCDIR] 1397 --psdir=DIR ps documentation [DOCDIR] 1351 1398 _ACEOF 1352 1399 … … 1362 1409 1363 1410 Optional Features: 1411 --disable-option-checking ignore unrecognized --enable/--with options 1364 1412 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1365 1413 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1380 1428 --with-vtk=DIR location of vtk library [default=yes] 1381 1429 --with-matlab=DIR location of matlab and mex compiler [default=yes] 1382 --with-octave=DIR location of octave compiler MKOCTFILE [default=yes] 1383 --with-octave2=DIR location of octave compiler MKOCTFILE [default=no] 1384 --with-octave3=DIR location of octave compiler MKOCTFILE [default=no] 1430 --with-octave=DIR path of default octave compiler `mkoctfile' 1431 [default=yes] 1432 --with-mkoctfile2=DIR path of octave compiler `mkoctfile' [default=no] 1433 --with-mkoctfile3=DIR path of octave compiler `mkoctfile' [default=no] 1385 1434 --with-perl=DIR location of perl [default=yes] 1386 1435 --with-python=DIR location of python [default=yes] … … 1394 1443 nonstandard directory <lib dir> 1395 1444 LIBS libraries to pass to the linker, e.g. -l<library> 1396 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1445 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1397 1446 you have headers in a nonstandard directory <include dir> 1398 1447 CXX C++ compiler command … … 1414 1463 # If there are subdirs, report their specific --help. 1415 1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1416 test -d "$ac_dir" || continue 1465 test -d "$ac_dir" || 1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1467 continue 1417 1468 ac_builddir=. 1418 1469 … … 1420 1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1421 1472 *) 1422 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1423 1474 # A ".." for each directory in $ac_dir_suffix. 1424 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1475 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1425 1476 case $ac_top_builddir_sub in 1426 1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1458 1509 $SHELL "$ac_srcdir/configure" --help=recursive 1459 1510 else 1460 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1461 1512 fi || ac_status=$? 1462 1513 cd "$ac_pwd" || { ac_status=$?; break; } … … 1468 1519 cat <<\_ACEOF 1469 1520 Rappture configure 1.1 1470 generated by GNU Autoconf 2.61 1471 1472 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1473 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1521 generated by GNU Autoconf 2.68 1522 1523 Copyright (C) 2010 Free Software Foundation, Inc. 1474 1524 This configure script is free software; the Free Software Foundation 1475 1525 gives unlimited permission to copy, distribute and modify it. … … 1477 1527 exit 1478 1528 fi 1529 1530 ## ------------------------ ## 1531 ## Autoconf initialization. ## 1532 ## ------------------------ ## 1533 1534 # ac_fn_c_try_compile LINENO 1535 # -------------------------- 1536 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1537 ac_fn_c_try_compile () 1538 { 1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1540 rm -f conftest.$ac_objext 1541 if { { ac_try="$ac_compile" 1542 case "(($ac_try" in 1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1544 *) ac_try_echo=$ac_try;; 1545 esac 1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1547 $as_echo "$ac_try_echo"; } >&5 1548 (eval "$ac_compile") 2>conftest.err 1549 ac_status=$? 1550 if test -s conftest.err; then 1551 grep -v '^ *+' conftest.err >conftest.er1 1552 cat conftest.er1 >&5 1553 mv -f conftest.er1 conftest.err 1554 fi 1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1556 test $ac_status = 0; } && { 1557 test -z "$ac_c_werror_flag" || 1558 test ! -s conftest.err 1559 } && test -s conftest.$ac_objext; then : 1560 ac_retval=0 1561 else 1562 $as_echo "$as_me: failed program was:" >&5 1563 sed 's/^/| /' conftest.$ac_ext >&5 1564 1565 ac_retval=1 1566 fi 1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1568 as_fn_set_status $ac_retval 1569 1570 } # ac_fn_c_try_compile 1571 1572 # ac_fn_cxx_try_compile LINENO 1573 # ---------------------------- 1574 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1575 ac_fn_cxx_try_compile () 1576 { 1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1578 rm -f conftest.$ac_objext 1579 if { { ac_try="$ac_compile" 1580 case "(($ac_try" in 1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1582 *) ac_try_echo=$ac_try;; 1583 esac 1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1585 $as_echo "$ac_try_echo"; } >&5 1586 (eval "$ac_compile") 2>conftest.err 1587 ac_status=$? 1588 if test -s conftest.err; then 1589 grep -v '^ *+' conftest.err >conftest.er1 1590 cat conftest.er1 >&5 1591 mv -f conftest.er1 conftest.err 1592 fi 1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1594 test $ac_status = 0; } && { 1595 test -z "$ac_cxx_werror_flag" || 1596 test ! -s conftest.err 1597 } && test -s conftest.$ac_objext; then : 1598 ac_retval=0 1599 else 1600 $as_echo "$as_me: failed program was:" >&5 1601 sed 's/^/| /' conftest.$ac_ext >&5 1602 1603 ac_retval=1 1604 fi 1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1606 as_fn_set_status $ac_retval 1607 1608 } # ac_fn_cxx_try_compile 1609 1610 # ac_fn_f77_try_compile LINENO 1611 # ---------------------------- 1612 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1613 ac_fn_f77_try_compile () 1614 { 1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1616 rm -f conftest.$ac_objext 1617 if { { ac_try="$ac_compile" 1618 case "(($ac_try" in 1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1620 *) ac_try_echo=$ac_try;; 1621 esac 1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1623 $as_echo "$ac_try_echo"; } >&5 1624 (eval "$ac_compile") 2>conftest.err 1625 ac_status=$? 1626 if test -s conftest.err; then 1627 grep -v '^ *+' conftest.err >conftest.er1 1628 cat conftest.er1 >&5 1629 mv -f conftest.er1 conftest.err 1630 fi 1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1632 test $ac_status = 0; } && { 1633 test -z "$ac_f77_werror_flag" || 1634 test ! -s conftest.err 1635 } && test -s conftest.$ac_objext; then : 1636 ac_retval=0 1637 else 1638 $as_echo "$as_me: failed program was:" >&5 1639 sed 's/^/| /' conftest.$ac_ext >&5 1640 1641 ac_retval=1 1642 fi 1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1644 as_fn_set_status $ac_retval 1645 1646 } # ac_fn_f77_try_compile 1647 1648 # ac_fn_c_try_cpp LINENO 1649 # ---------------------- 1650 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1651 ac_fn_c_try_cpp () 1652 { 1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1654 if { { ac_try="$ac_cpp conftest.$ac_ext" 1655 case "(($ac_try" in 1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1657 *) ac_try_echo=$ac_try;; 1658 esac 1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1660 $as_echo "$ac_try_echo"; } >&5 1661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1662 ac_status=$? 1663 if test -s conftest.err; then 1664 grep -v '^ *+' conftest.err >conftest.er1 1665 cat conftest.er1 >&5 1666 mv -f conftest.er1 conftest.err 1667 fi 1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1669 test $ac_status = 0; } > conftest.i && { 1670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1671 test ! -s conftest.err 1672 }; then : 1673 ac_retval=0 1674 else 1675 $as_echo "$as_me: failed program was:" >&5 1676 sed 's/^/| /' conftest.$ac_ext >&5 1677 1678 ac_retval=1 1679 fi 1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1681 as_fn_set_status $ac_retval 1682 1683 } # ac_fn_c_try_cpp 1684 1685 # ac_fn_c_try_run LINENO 1686 # ---------------------- 1687 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1688 # that executables *can* be run. 1689 ac_fn_c_try_run () 1690 { 1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 if { { ac_try="$ac_link" 1693 case "(($ac_try" in 1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1695 *) ac_try_echo=$ac_try;; 1696 esac 1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1698 $as_echo "$ac_try_echo"; } >&5 1699 (eval "$ac_link") 2>&5 1700 ac_status=$? 1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1702 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1703 { { case "(($ac_try" in 1704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1705 *) ac_try_echo=$ac_try;; 1706 esac 1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1708 $as_echo "$ac_try_echo"; } >&5 1709 (eval "$ac_try") 2>&5 1710 ac_status=$? 1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1712 test $ac_status = 0; }; }; then : 1713 ac_retval=0 1714 else 1715 $as_echo "$as_me: program exited with status $ac_status" >&5 1716 $as_echo "$as_me: failed program was:" >&5 1717 sed 's/^/| /' conftest.$ac_ext >&5 1718 1719 ac_retval=$ac_status 1720 fi 1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1723 as_fn_set_status $ac_retval 1724 1725 } # ac_fn_c_try_run 1726 1727 # ac_fn_c_try_link LINENO 1728 # ----------------------- 1729 # Try to link conftest.$ac_ext, and return whether this succeeded. 1730 ac_fn_c_try_link () 1731 { 1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1733 rm -f conftest.$ac_objext conftest$ac_exeext 1734 if { { ac_try="$ac_link" 1735 case "(($ac_try" in 1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1737 *) ac_try_echo=$ac_try;; 1738 esac 1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1740 $as_echo "$ac_try_echo"; } >&5 1741 (eval "$ac_link") 2>conftest.err 1742 ac_status=$? 1743 if test -s conftest.err; then 1744 grep -v '^ *+' conftest.err >conftest.er1 1745 cat conftest.er1 >&5 1746 mv -f conftest.er1 conftest.err 1747 fi 1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1749 test $ac_status = 0; } && { 1750 test -z "$ac_c_werror_flag" || 1751 test ! -s conftest.err 1752 } && test -s conftest$ac_exeext && { 1753 test "$cross_compiling" = yes || 1754 $as_test_x conftest$ac_exeext 1755 }; then : 1756 ac_retval=0 1757 else 1758 $as_echo "$as_me: failed program was:" >&5 1759 sed 's/^/| /' conftest.$ac_ext >&5 1760 1761 ac_retval=1 1762 fi 1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1765 # interfere with the next link command; also delete a directory that is 1766 # left behind by Apple's compiler. We do this before executing the actions. 1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1769 as_fn_set_status $ac_retval 1770 1771 } # ac_fn_c_try_link 1772 1773 # ac_fn_c_check_func LINENO FUNC VAR 1774 # ---------------------------------- 1775 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1776 ac_fn_c_check_func () 1777 { 1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1780 $as_echo_n "checking for $2... " >&6; } 1781 if eval \${$3+:} false; then : 1782 $as_echo_n "(cached) " >&6 1783 else 1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1785 /* end confdefs.h. */ 1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1787 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1788 #define $2 innocuous_$2 1789 1790 /* System header to define __stub macros and hopefully few prototypes, 1791 which can conflict with char $2 (); below. 1792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1793 <limits.h> exists even on freestanding compilers. */ 1794 1795 #ifdef __STDC__ 1796 # include <limits.h> 1797 #else 1798 # include <assert.h> 1799 #endif 1800 1801 #undef $2 1802 1803 /* Override any GCC internal prototype to avoid an error. 1804 Use char because int might match the return type of a GCC 1805 builtin and then its argument prototype would still apply. */ 1806 #ifdef __cplusplus 1807 extern "C" 1808 #endif 1809 char $2 (); 1810 /* The GNU C library defines this for functions which it implements 1811 to always fail with ENOSYS. Some functions are actually named 1812 something starting with __ and the normal name is an alias. */ 1813 #if defined __stub_$2 || defined __stub___$2 1814 choke me 1815 #endif 1816 1817 int 1818 main () 1819 { 1820 return $2 (); 1821 ; 1822 return 0; 1823 } 1824 _ACEOF 1825 if ac_fn_c_try_link "$LINENO"; then : 1826 eval "$3=yes" 1827 else 1828 eval "$3=no" 1829 fi 1830 rm -f core conftest.err conftest.$ac_objext \ 1831 conftest$ac_exeext conftest.$ac_ext 1832 fi 1833 eval ac_res=\$$3 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1835 $as_echo "$ac_res" >&6; } 1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1837 1838 } # ac_fn_c_check_func 1839 1840 # ac_fn_cxx_try_link LINENO 1841 # ------------------------- 1842 # Try to link conftest.$ac_ext, and return whether this succeeded. 1843 ac_fn_cxx_try_link () 1844 { 1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1846 rm -f conftest.$ac_objext conftest$ac_exeext 1847 if { { ac_try="$ac_link" 1848 case "(($ac_try" in 1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1850 *) ac_try_echo=$ac_try;; 1851 esac 1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1853 $as_echo "$ac_try_echo"; } >&5 1854 (eval "$ac_link") 2>conftest.err 1855 ac_status=$? 1856 if test -s conftest.err; then 1857 grep -v '^ *+' conftest.err >conftest.er1 1858 cat conftest.er1 >&5 1859 mv -f conftest.er1 conftest.err 1860 fi 1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1862 test $ac_status = 0; } && { 1863 test -z "$ac_cxx_werror_flag" || 1864 test ! -s conftest.err 1865 } && test -s conftest$ac_exeext && { 1866 test "$cross_compiling" = yes || 1867 $as_test_x conftest$ac_exeext 1868 }; then : 1869 ac_retval=0 1870 else 1871 $as_echo "$as_me: failed program was:" >&5 1872 sed 's/^/| /' conftest.$ac_ext >&5 1873 1874 ac_retval=1 1875 fi 1876 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1877 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1878 # interfere with the next link command; also delete a directory that is 1879 # left behind by Apple's compiler. We do this before executing the actions. 1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1882 as_fn_set_status $ac_retval 1883 1884 } # ac_fn_cxx_try_link 1885 1886 # ac_fn_cxx_check_func LINENO FUNC VAR 1887 # ------------------------------------ 1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1889 ac_fn_cxx_check_func () 1890 { 1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1893 $as_echo_n "checking for $2... " >&6; } 1894 if eval \${$3+:} false; then : 1895 $as_echo_n "(cached) " >&6 1896 else 1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1898 /* end confdefs.h. */ 1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1901 #define $2 innocuous_$2 1902 1903 /* System header to define __stub macros and hopefully few prototypes, 1904 which can conflict with char $2 (); below. 1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1906 <limits.h> exists even on freestanding compilers. */ 1907 1908 #ifdef __STDC__ 1909 # include <limits.h> 1910 #else 1911 # include <assert.h> 1912 #endif 1913 1914 #undef $2 1915 1916 /* Override any GCC internal prototype to avoid an error. 1917 Use char because int might match the return type of a GCC 1918 builtin and then its argument prototype would still apply. */ 1919 #ifdef __cplusplus 1920 extern "C" 1921 #endif 1922 char $2 (); 1923 /* The GNU C library defines this for functions which it implements 1924 to always fail with ENOSYS. Some functions are actually named 1925 something starting with __ and the normal name is an alias. */ 1926 #if defined __stub_$2 || defined __stub___$2 1927 choke me 1928 #endif 1929 1930 int 1931 main () 1932 { 1933 return $2 (); 1934 ; 1935 return 0; 1936 } 1937 _ACEOF 1938 if ac_fn_cxx_try_link "$LINENO"; then : 1939 eval "$3=yes" 1940 else 1941 eval "$3=no" 1942 fi 1943 rm -f core conftest.err conftest.$ac_objext \ 1944 conftest$ac_exeext conftest.$ac_ext 1945 fi 1946 eval ac_res=\$$3 1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1948 $as_echo "$ac_res" >&6; } 1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1950 1951 } # ac_fn_cxx_check_func 1952 1953 # ac_fn_cxx_try_cpp LINENO 1954 # ------------------------ 1955 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1956 ac_fn_cxx_try_cpp () 1957 { 1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1959 if { { ac_try="$ac_cpp conftest.$ac_ext" 1960 case "(($ac_try" in 1961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1962 *) ac_try_echo=$ac_try;; 1963 esac 1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1965 $as_echo "$ac_try_echo"; } >&5 1966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1967 ac_status=$? 1968 if test -s conftest.err; then 1969 grep -v '^ *+' conftest.err >conftest.er1 1970 cat conftest.er1 >&5 1971 mv -f conftest.er1 conftest.err 1972 fi 1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1974 test $ac_status = 0; } > conftest.i && { 1975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1976 test ! -s conftest.err 1977 }; then : 1978 ac_retval=0 1979 else 1980 $as_echo "$as_me: failed program was:" >&5 1981 sed 's/^/| /' conftest.$ac_ext >&5 1982 1983 ac_retval=1 1984 fi 1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1986 as_fn_set_status $ac_retval 1987 1988 } # ac_fn_cxx_try_cpp 1989 1990 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1991 # --------------------------------------------------------- 1992 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1993 # the include files in INCLUDES and setting the cache variable VAR 1994 # accordingly. 1995 ac_fn_cxx_check_header_mongrel () 1996 { 1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1998 if eval \${$3+:} false; then : 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2000 $as_echo_n "checking for $2... " >&6; } 2001 if eval \${$3+:} false; then : 2002 $as_echo_n "(cached) " >&6 2003 fi 2004 eval ac_res=\$$3 2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2006 $as_echo "$ac_res" >&6; } 2007 else 2008 # Is the header compilable? 2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2010 $as_echo_n "checking $2 usability... " >&6; } 2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2012 /* end confdefs.h. */ 2013 $4 2014 #include <$2> 2015 _ACEOF 2016 if ac_fn_cxx_try_compile "$LINENO"; then : 2017 ac_header_compiler=yes 2018 else 2019 ac_header_compiler=no 2020 fi 2021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2023 $as_echo "$ac_header_compiler" >&6; } 2024 2025 # Is the header present? 2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2027 $as_echo_n "checking $2 presence... " >&6; } 2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2029 /* end confdefs.h. */ 2030 #include <$2> 2031 _ACEOF 2032 if ac_fn_cxx_try_cpp "$LINENO"; then : 2033 ac_header_preproc=yes 2034 else 2035 ac_header_preproc=no 2036 fi 2037 rm -f conftest.err conftest.i conftest.$ac_ext 2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2039 $as_echo "$ac_header_preproc" >&6; } 2040 2041 # So? What about this header? 2042 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2043 yes:no: ) 2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2045 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2047 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2048 ;; 2049 no:yes:* ) 2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2051 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2053 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2055 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2057 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2059 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2060 ( $as_echo "## ----------------------------------- ## 2061 ## Report this to rappture@nanohub.org ## 2062 ## ----------------------------------- ##" 2063 ) | sed "s/^/$as_me: WARNING: /" >&2 2064 ;; 2065 esac 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2067 $as_echo_n "checking for $2... " >&6; } 2068 if eval \${$3+:} false; then : 2069 $as_echo_n "(cached) " >&6 2070 else 2071 eval "$3=\$ac_header_compiler" 2072 fi 2073 eval ac_res=\$$3 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2075 $as_echo "$ac_res" >&6; } 2076 fi 2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2078 2079 } # ac_fn_cxx_check_header_mongrel 2080 2081 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2082 # --------------------------------------------------------- 2083 # Tests whether HEADER exists and can be compiled using the include files in 2084 # INCLUDES, setting the cache variable VAR accordingly. 2085 ac_fn_cxx_check_header_compile () 2086 { 2087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2089 $as_echo_n "checking for $2... " >&6; } 2090 if eval \${$3+:} false; then : 2091 $as_echo_n "(cached) " >&6 2092 else 2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2094 /* end confdefs.h. */ 2095 $4 2096 #include <$2> 2097 _ACEOF 2098 if ac_fn_cxx_try_compile "$LINENO"; then : 2099 eval "$3=yes" 2100 else 2101 eval "$3=no" 2102 fi 2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2104 fi 2105 eval ac_res=\$$3 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2107 $as_echo "$ac_res" >&6; } 2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2109 2110 } # ac_fn_cxx_check_header_compile 2111 2112 # ac_fn_cxx_try_run LINENO 2113 # ------------------------ 2114 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2115 # that executables *can* be run. 2116 ac_fn_cxx_try_run () 2117 { 2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2119 if { { ac_try="$ac_link" 2120 case "(($ac_try" in 2121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2122 *) ac_try_echo=$ac_try;; 2123 esac 2124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2125 $as_echo "$ac_try_echo"; } >&5 2126 (eval "$ac_link") 2>&5 2127 ac_status=$? 2128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2129 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2130 { { case "(($ac_try" in 2131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2132 *) ac_try_echo=$ac_try;; 2133 esac 2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2135 $as_echo "$ac_try_echo"; } >&5 2136 (eval "$ac_try") 2>&5 2137 ac_status=$? 2138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2139 test $ac_status = 0; }; }; then : 2140 ac_retval=0 2141 else 2142 $as_echo "$as_me: program exited with status $ac_status" >&5 2143 $as_echo "$as_me: failed program was:" >&5 2144 sed 's/^/| /' conftest.$ac_ext >&5 2145 2146 ac_retval=$ac_status 2147 fi 2148 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2150 as_fn_set_status $ac_retval 2151 2152 } # ac_fn_cxx_try_run 2153 2154 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2155 # ---------------------------------------------- 2156 # Tries to find the compile-time value of EXPR in a program that includes 2157 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2158 # computed 2159 ac_fn_cxx_compute_int () 2160 { 2161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2162 if test "$cross_compiling" = yes; then 2163 # Depending upon the size, compute the lo and hi bounds. 2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2165 /* end confdefs.h. */ 2166 $4 2167 int 2168 main () 2169 { 2170 static int test_array [1 - 2 * !(($2) >= 0)]; 2171 test_array [0] = 0 2172 2173 ; 2174 return 0; 2175 } 2176 _ACEOF 2177 if ac_fn_cxx_try_compile "$LINENO"; then : 2178 ac_lo=0 ac_mid=0 2179 while :; do 2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2181 /* end confdefs.h. */ 2182 $4 2183 int 2184 main () 2185 { 2186 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2187 test_array [0] = 0 2188 2189 ; 2190 return 0; 2191 } 2192 _ACEOF 2193 if ac_fn_cxx_try_compile "$LINENO"; then : 2194 ac_hi=$ac_mid; break 2195 else 2196 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2197 if test $ac_lo -le $ac_mid; then 2198 ac_lo= ac_hi= 2199 break 2200 fi 2201 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2202 fi 2203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2204 done 2205 else 2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2207 /* end confdefs.h. */ 2208 $4 2209 int 2210 main () 2211 { 2212 static int test_array [1 - 2 * !(($2) < 0)]; 2213 test_array [0] = 0 2214 2215 ; 2216 return 0; 2217 } 2218 _ACEOF 2219 if ac_fn_cxx_try_compile "$LINENO"; then : 2220 ac_hi=-1 ac_mid=-1 2221 while :; do 2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2223 /* end confdefs.h. */ 2224 $4 2225 int 2226 main () 2227 { 2228 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2229 test_array [0] = 0 2230 2231 ; 2232 return 0; 2233 } 2234 _ACEOF 2235 if ac_fn_cxx_try_compile "$LINENO"; then : 2236 ac_lo=$ac_mid; break 2237 else 2238 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2239 if test $ac_mid -le $ac_hi; then 2240 ac_lo= ac_hi= 2241 break 2242 fi 2243 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2244 fi 2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2246 done 2247 else 2248 ac_lo= ac_hi= 2249 fi 2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2251 fi 2252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2253 # Binary search between lo and hi bounds. 2254 while test "x$ac_lo" != "x$ac_hi"; do 2255 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2257 /* end confdefs.h. */ 2258 $4 2259 int 2260 main () 2261 { 2262 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2263 test_array [0] = 0 2264 2265 ; 2266 return 0; 2267 } 2268 _ACEOF 2269 if ac_fn_cxx_try_compile "$LINENO"; then : 2270 ac_hi=$ac_mid 2271 else 2272 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2273 fi 2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2275 done 2276 case $ac_lo in #(( 2277 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2278 '') ac_retval=1 ;; 2279 esac 2280 else 2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2282 /* end confdefs.h. */ 2283 $4 2284 static long int longval () { return $2; } 2285 static unsigned long int ulongval () { return $2; } 2286 #include <stdio.h> 2287 #include <stdlib.h> 2288 int 2289 main () 2290 { 2291 2292 FILE *f = fopen ("conftest.val", "w"); 2293 if (! f) 2294 return 1; 2295 if (($2) < 0) 2296 { 2297 long int i = longval (); 2298 if (i != ($2)) 2299 return 1; 2300 fprintf (f, "%ld", i); 2301 } 2302 else 2303 { 2304 unsigned long int i = ulongval (); 2305 if (i != ($2)) 2306 return 1; 2307 fprintf (f, "%lu", i); 2308 } 2309 /* Do not output a trailing newline, as this causes \r\n confusion 2310 on some platforms. */ 2311 return ferror (f) || fclose (f) != 0; 2312 2313 ; 2314 return 0; 2315 } 2316 _ACEOF 2317 if ac_fn_cxx_try_run "$LINENO"; then : 2318 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2319 else 2320 ac_retval=1 2321 fi 2322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2323 conftest.$ac_objext conftest.beam conftest.$ac_ext 2324 rm -f conftest.val 2325 2326 fi 2327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2328 as_fn_set_status $ac_retval 2329 2330 } # ac_fn_cxx_compute_int 1479 2331 cat >config.log <<_ACEOF 1480 2332 This file contains any messages produced by compilers while … … 1482 2334 1483 2335 It was created by Rappture $as_me 1.1, which was 1484 generated by GNU Autoconf 2.6 1. Invocation command line was2336 generated by GNU Autoconf 2.68. Invocation command line was 1485 2337 1486 2338 $ $0 $@ … … 1518 2370 IFS=$as_save_IFS 1519 2371 test -z "$as_dir" && as_dir=. 1520 echo "PATH: $as_dir"1521 done2372 $as_echo "PATH: $as_dir" 2373 done 1522 2374 IFS=$as_save_IFS 1523 2375 … … 1553 2405 continue ;; 1554 2406 *\'*) 1555 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2407 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1556 2408 esac 1557 2409 case $ac_pass in 1558 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2410 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1559 2411 2) 1560 a c_configure_args1="$ac_configure_args1'$ac_arg'"2412 as_fn_append ac_configure_args1 " '$ac_arg'" 1561 2413 if test $ac_must_keep_next = true; then 1562 2414 ac_must_keep_next=false # Got value, back to normal. … … 1574 2426 esac 1575 2427 fi 1576 a c_configure_args="$ac_configure_args'$ac_arg'"2428 as_fn_append ac_configure_args " '$ac_arg'" 1577 2429 ;; 1578 2430 esac 1579 2431 done 1580 2432 done 1581 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1582 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2433 { ac_configure_args0=; unset ac_configure_args0;} 2434 { ac_configure_args1=; unset ac_configure_args1;} 1583 2435 1584 2436 # When interrupted or exit'd, cleanup temporary files, and complete … … 1592 2444 echo 1593 2445 1594 cat <<\_ASBOX 1595 ## ---------------- ## 2446 $as_echo "## ---------------- ## 1596 2447 ## Cache variables. ## 1597 ## ---------------- ## 1598 _ASBOX 2448 ## ---------------- ##" 1599 2449 echo 1600 2450 # The following way of writing the cache mishandles newlines in values, … … 1605 2455 *${as_nl}*) 1606 2456 case $ac_var in #( 1607 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2457 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2458 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1609 2459 esac 1610 2460 case $ac_var in #( 1611 2461 _ | IFS | as_nl) ;; #( 1612 *) $as_unset $ac_var ;; 2462 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2463 *) { eval $ac_var=; unset $ac_var;} ;; 1613 2464 esac ;; 1614 2465 esac … … 1629 2480 echo 1630 2481 1631 cat <<\_ASBOX 1632 ## ----------------- ## 2482 $as_echo "## ----------------- ## 1633 2483 ## Output variables. ## 1634 ## ----------------- ## 1635 _ASBOX 2484 ## ----------------- ##" 1636 2485 echo 1637 2486 for ac_var in $ac_subst_vars … … 1639 2488 eval ac_val=\$$ac_var 1640 2489 case $ac_val in 1641 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2490 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1642 2491 esac 1643 echo "$ac_var='\''$ac_val'\''"2492 $as_echo "$ac_var='\''$ac_val'\''" 1644 2493 done | sort 1645 2494 echo 1646 2495 1647 2496 if test -n "$ac_subst_files"; then 1648 cat <<\_ASBOX 1649 ## ------------------- ## 2497 $as_echo "## ------------------- ## 1650 2498 ## File substitutions. ## 1651 ## ------------------- ## 1652 _ASBOX 2499 ## ------------------- ##" 1653 2500 echo 1654 2501 for ac_var in $ac_subst_files … … 1656 2503 eval ac_val=\$$ac_var 1657 2504 case $ac_val in 1658 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2505 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1659 2506 esac 1660 echo "$ac_var='\''$ac_val'\''"2507 $as_echo "$ac_var='\''$ac_val'\''" 1661 2508 done | sort 1662 2509 echo … … 1664 2511 1665 2512 if test -s confdefs.h; then 1666 cat <<\_ASBOX 1667 ## ----------- ## 2513 $as_echo "## ----------- ## 1668 2514 ## confdefs.h. ## 1669 ## ----------- ## 1670 _ASBOX 2515 ## ----------- ##" 1671 2516 echo 1672 2517 cat confdefs.h … … 1674 2519 fi 1675 2520 test "$ac_signal" != 0 && 1676 echo "$as_me: caught signal $ac_signal"1677 echo "$as_me: exit $exit_status"2521 $as_echo "$as_me: caught signal $ac_signal" 2522 $as_echo "$as_me: exit $exit_status" 1678 2523 } >&5 1679 2524 rm -f core *.core core.conftest.* && … … 1682 2527 ' 0 1683 2528 for ac_signal in 1 2 13 15; do 1684 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2529 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1685 2530 done 1686 2531 ac_signal=0 … … 1689 2534 rm -f -r conftest* confdefs.h 1690 2535 2536 $as_echo "/* confdefs.h */" > confdefs.h 2537 1691 2538 # Predefined preprocessor variables. 1692 2539 … … 1695 2542 _ACEOF 1696 2543 1697 1698 2544 cat >>confdefs.h <<_ACEOF 1699 2545 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1700 2546 _ACEOF 1701 2547 1702 1703 2548 cat >>confdefs.h <<_ACEOF 1704 2549 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1705 2550 _ACEOF 1706 2551 1707 1708 2552 cat >>confdefs.h <<_ACEOF 1709 2553 #define PACKAGE_STRING "$PACKAGE_STRING" 1710 2554 _ACEOF 1711 2555 1712 1713 2556 cat >>confdefs.h <<_ACEOF 1714 2557 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1715 2558 _ACEOF 1716 2559 2560 cat >>confdefs.h <<_ACEOF 2561 #define PACKAGE_URL "$PACKAGE_URL" 2562 _ACEOF 2563 1717 2564 1718 2565 # Let the site file select an alternate cache file if it wants to. 1719 # Prefer explicitly selected file to automatically selected ones. 2566 # Prefer an explicitly selected file to automatically selected ones. 2567 ac_site_file1=NONE 2568 ac_site_file2=NONE 1720 2569 if test -n "$CONFIG_SITE"; then 1721 set x "$CONFIG_SITE" 2570 # We do not want a PATH search for config.site. 2571 case $CONFIG_SITE in #(( 2572 -*) ac_site_file1=./$CONFIG_SITE;; 2573 */*) ac_site_file1=$CONFIG_SITE;; 2574 *) ac_site_file1=./$CONFIG_SITE;; 2575 esac 1722 2576 elif test "x$prefix" != xNONE; then 1723 set x "$prefix/share/config.site" "$prefix/etc/config.site"1724 else1725 set x "$ac_default_prefix/share/config.site" \ 1726 "$ac_default_prefix/etc/config.site" 1727 fi 1728 shift 1729 for ac_site_file 2577 ac_site_file1=$prefix/share/config.site 2578 ac_site_file2=$prefix/etc/config.site 2579 else 2580 ac_site_file1=$ac_default_prefix/share/config.site 2581 ac_site_file2=$ac_default_prefix/etc/config.site 2582 fi 2583 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1730 2584 do 1731 if test -r "$ac_site_file"; then 1732 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1733 echo "$as_me: loading site script $ac_site_file" >&6;} 2585 test "x$ac_site_file" = xNONE && continue 2586 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2588 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1734 2589 sed 's/^/| /' "$ac_site_file" >&5 1735 . "$ac_site_file" 2590 . "$ac_site_file" \ 2591 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2593 as_fn_error $? "failed to load site script $ac_site_file 2594 See \`config.log' for more details" "$LINENO" 5; } 1736 2595 fi 1737 2596 done 1738 2597 1739 2598 if test -r "$cache_file"; then 1740 # Some versions of bash will fail to source /dev/null (special 1741 # files actually), so we avoid doing that.1742 if test -f "$cache_file"; then1743 { echo "$as_me:$LINENO: loading cache $cache_file" >&51744 echo "$as_me: loading cache $cache_file" >&6;}2599 # Some versions of bash will fail to source /dev/null (special files 2600 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2601 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2602 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2603 $as_echo "$as_me: loading cache $cache_file" >&6;} 1745 2604 case $cache_file in 1746 2605 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1749 2608 fi 1750 2609 else 1751 { echo "$as_me:$LINENO: creating cache $cache_file" >&51752 echo "$as_me: creating cache $cache_file" >&6;}2610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2611 $as_echo "$as_me: creating cache $cache_file" >&6;} 1753 2612 >$cache_file 1754 2613 fi … … 1764 2623 case $ac_old_set,$ac_new_set in 1765 2624 set,) 1766 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51767 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2626 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1768 2627 ac_cache_corrupted=: ;; 1769 2628 ,set) 1770 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51771 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2630 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1772 2631 ac_cache_corrupted=: ;; 1773 2632 ,);; 1774 2633 *) 1775 2634 if test "x$ac_old_val" != "x$ac_new_val"; then 1776 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1777 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1778 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1779 echo "$as_me: former value: $ac_old_val" >&2;} 1780 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1781 echo "$as_me: current value: $ac_new_val" >&2;} 1782 ac_cache_corrupted=: 2635 # differences in whitespace do not lead to failure. 2636 ac_old_val_w=`echo x $ac_old_val` 2637 ac_new_val_w=`echo x $ac_new_val` 2638 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2640 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2641 ac_cache_corrupted=: 2642 else 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2644 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2645 eval $ac_var=\$ac_old_val 2646 fi 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2648 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2650 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1783 2651 fi;; 1784 2652 esac … … 1786 2654 if test "$ac_new_set" = set; then 1787 2655 case $ac_new_val in 1788 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2656 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1789 2657 *) ac_arg=$ac_var=$ac_new_val ;; 1790 2658 esac 1791 2659 case " $ac_configure_args " in 1792 2660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1793 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2661 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1794 2662 esac 1795 2663 fi 1796 2664 done 1797 2665 if $ac_cache_corrupted; then 1798 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1799 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1800 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1801 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1802 { (exit 1); exit 1; }; } 1803 fi 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2669 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2670 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2671 fi 2672 ## -------------------- ## 2673 ## Main body of script. ## 2674 ## -------------------- ## 1828 2675 1829 2676 ac_ext=c … … 1851 2698 done 1852 2699 if test -z "$ac_aux_dir"; then 1853 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1854 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1855 { (exit 1); exit 1; }; } 2700 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1856 2701 fi 1857 2702 … … 1869 2714 1870 2715 with_tclsh=yes 2716 rp_with_tclsh="yes" 2717 rp_with_mkoctfile2="no" 2718 rp_with_mkoctfile3="no" 2719 rp_with_octave="yes" 2720 rp_with_vtk="yes" 2721 rp_with_matlab="yes" 2722 rp_with_perl="yes" 2723 rp_with_python="yes" 2724 rp_with_ruby="yes" 2725 rp_with_java="yes" 2726 with_install="yes" 1871 2727 1872 2728 #------------------------------------------------------------------------ … … 1883 2739 1884 2740 # Check whether --with-install was given. 1885 if test "${with_install+set}" = set; then 2741 if test "${with_install+set}" = set; then : 1886 2742 withval=$with_install; 1887 2743 else … … 1918 2774 # OS/2's system install, which has a completely different semantic 1919 2775 # ./install, which can be erroneously created by make from ./install.sh. 1920 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1921 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2776 # Reject install programs that cannot install multiple files. 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2778 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1922 2779 if test -z "$INSTALL"; then 1923 if test "${ac_cv_path_install+set}" = set; then1924 echo $ECHO_N "(cached) $ECHO_C" >&62780 if ${ac_cv_path_install+:} false; then : 2781 $as_echo_n "(cached) " >&6 1925 2782 else 1926 2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1929 2786 IFS=$as_save_IFS 1930 2787 test -z "$as_dir" && as_dir=. 1931 # Account for people who put trailing slashes in PATH elements.1932 case $as_dir/ in 1933 ./ | .// | / cC/* | \2788 # Account for people who put trailing slashes in PATH elements. 2789 case $as_dir/ in #(( 2790 ./ | .// | /[cC]/* | \ 1934 2791 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1935 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2792 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1936 2793 /usr/ucb/* ) ;; 1937 2794 *) … … 1951 2808 : 1952 2809 else 1953 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1954 break 3 2810 rm -rf conftest.one conftest.two conftest.dir 2811 echo one > conftest.one 2812 echo two > conftest.two 2813 mkdir conftest.dir 2814 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2815 test -s conftest.one && test -s conftest.two && 2816 test -s conftest.dir/conftest.one && 2817 test -s conftest.dir/conftest.two 2818 then 2819 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2820 break 3 2821 fi 1955 2822 fi 1956 2823 fi … … 1959 2826 ;; 1960 2827 esac 1961 done 2828 2829 done 1962 2830 IFS=$as_save_IFS 1963 2831 2832 rm -rf conftest.one conftest.two conftest.dir 1964 2833 1965 2834 fi … … 1974 2843 fi 1975 2844 fi 1976 { echo "$as_me:$LINENO: result: $INSTALL" >&51977 echo "${ECHO_T}$INSTALL" >&6; }2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2846 $as_echo "$INSTALL" >&6; } 1978 2847 1979 2848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1985 2854 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1986 2855 1987 # Find a good install program. We prefer a C program (faster),1988 # so one script is as good as another. But avoid the broken or1989 # incompatible versions:1990 # SysV /etc/install, /usr/sbin/install1991 # SunOS /usr/etc/install1992 # IRIX /sbin/install1993 # AIX /bin/install1994 # AmigaOS /C/install, which installs bootblocks on floppy discs1995 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1996 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1997 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1998 # OS/2's system install, which has a completely different semantic1999 # ./install, which can be erroneously created by make from ./install.sh.2000 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52001 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }2002 if test -z "$INSTALL"; then2003 if test "${ac_cv_path_install+set}" = set; then2004 echo $ECHO_N "(cached) $ECHO_C" >&62005 else2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2007 for as_dir in $PATH2008 do2009 IFS=$as_save_IFS2010 test -z "$as_dir" && as_dir=.2011 # Account for people who put trailing slashes in PATH elements.2012 case $as_dir/ in2013 ./ | .// | /cC/* | \2014 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2015 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2016 /usr/ucb/* ) ;;2017 *)2018 # OSF1 and SCO ODT 3.0 have their own names for install.2019 # Don't use installbsd from OSF since it installs stuff as root2020 # by default.2021 for ac_prog in ginstall scoinst install; do2022 for ac_exec_ext in '' $ac_executable_extensions; do2023 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2024 if test $ac_prog = install &&2025 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2026 # AIX install. It has an incompatible calling convention.2027 :2028 elif test $ac_prog = install &&2029 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2030 # program-specific install script used by HP pwplus--don't use.2031 :2032 else2033 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2034 break 32035 fi2036 fi2037 done2038 done2039 ;;2040 esac2041 done2042 IFS=$as_save_IFS2043 2044 2045 fi2046 if test "${ac_cv_path_install+set}" = set; then2047 INSTALL=$ac_cv_path_install2048 else2049 # As a last resort, use the slow shell script. Don't cache a2050 # value for INSTALL within a source directory, because that will2051 # break other packages using the cache if that directory is2052 # removed, or if the value is a relative name.2053 INSTALL=$ac_install_sh2054 fi2055 fi2056 { echo "$as_me:$LINENO: result: $INSTALL" >&52057 echo "${ECHO_T}$INSTALL" >&6; }2058 2059 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2060 # It thinks the first close brace ends the variable substitution.2061 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2062 2063 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2064 2065 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2066 2856 2067 2857 if test -n "$ac_tool_prefix"; then 2068 2858 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2069 2859 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2070 { echo "$as_me:$LINENO: checking for $ac_word" >&52071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2072 if test "${ac_cv_prog_RANLIB+set}" = set; then2073 echo $ECHO_N "(cached) $ECHO_C" >&62860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2861 $as_echo_n "checking for $ac_word... " >&6; } 2862 if ${ac_cv_prog_RANLIB+:} false; then : 2863 $as_echo_n "(cached) " >&6 2074 2864 else 2075 2865 if test -n "$RANLIB"; then … … 2081 2871 IFS=$as_save_IFS 2082 2872 test -z "$as_dir" && as_dir=. 2083 for ac_exec_ext in '' $ac_executable_extensions; do2873 for ac_exec_ext in '' $ac_executable_extensions; do 2084 2874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2085 2875 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2087 2877 break 2 2088 2878 fi 2089 2879 done 2090 done2880 done 2091 2881 IFS=$as_save_IFS 2092 2882 … … 2095 2885 RANLIB=$ac_cv_prog_RANLIB 2096 2886 if test -n "$RANLIB"; then 2097 { echo "$as_me:$LINENO: result: $RANLIB" >&52098 echo "${ECHO_T}$RANLIB" >&6; }2099 else 2100 { echo "$as_me:$LINENO: result: no" >&52101 echo "${ECHO_T}no" >&6; }2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2888 $as_echo "$RANLIB" >&6; } 2889 else 2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2891 $as_echo "no" >&6; } 2102 2892 fi 2103 2893 … … 2108 2898 # Extract the first word of "ranlib", so it can be a program name with args. 2109 2899 set dummy ranlib; ac_word=$2 2110 { echo "$as_me:$LINENO: checking for $ac_word" >&52111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2112 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2113 echo $ECHO_N "(cached) $ECHO_C" >&62900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2901 $as_echo_n "checking for $ac_word... " >&6; } 2902 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2903 $as_echo_n "(cached) " >&6 2114 2904 else 2115 2905 if test -n "$ac_ct_RANLIB"; then … … 2121 2911 IFS=$as_save_IFS 2122 2912 test -z "$as_dir" && as_dir=. 2123 for ac_exec_ext in '' $ac_executable_extensions; do2913 for ac_exec_ext in '' $ac_executable_extensions; do 2124 2914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2125 2915 ac_cv_prog_ac_ct_RANLIB="ranlib" 2126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2127 2917 break 2 2128 2918 fi 2129 2919 done 2130 done2920 done 2131 2921 IFS=$as_save_IFS 2132 2922 … … 2135 2925 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2136 2926 if test -n "$ac_ct_RANLIB"; then 2137 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52138 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2139 else 2140 { echo "$as_me:$LINENO: result: no" >&52141 echo "${ECHO_T}no" >&6; }2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2928 $as_echo "$ac_ct_RANLIB" >&6; } 2929 else 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2931 $as_echo "no" >&6; } 2142 2932 fi 2143 2933 … … 2147 2937 case $cross_compiling:$ac_tool_warned in 2148 2938 yes:) 2149 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2150 whose name does not start with the host triplet. If you think this 2151 configuration is useful to you, please write to autoconf@gnu.org." >&5 2152 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2153 whose name does not start with the host triplet. If you think this 2154 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2155 2941 ac_tool_warned=yes ;; 2156 2942 esac … … 2161 2947 fi 2162 2948 2163 { echo "$as_me:$LINENO: checking whether ln -s works" >&52164 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2950 $as_echo_n "checking whether ln -s works... " >&6; } 2165 2951 LN_S=$as_ln_s 2166 2952 if test "$LN_S" = "ln -s"; then 2167 { echo "$as_me:$LINENO: result: yes" >&52168 echo "${ECHO_T}yes" >&6; }2169 else 2170 { echo "$as_me:$LINENO: result: no, using $LN_S" >&52171 echo "${ECHO_T}no, using $LN_S" >&6; }2172 fi 2173 2174 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52175 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2954 $as_echo "yes" >&6; } 2955 else 2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2957 $as_echo "no, using $LN_S" >&6; } 2958 fi 2959 2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2961 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2176 2962 if test -z "$MKDIR_P"; then 2177 if test "${ac_cv_path_mkdir+set}" = set; then2178 echo $ECHO_N "(cached) $ECHO_C" >&62963 if ${ac_cv_path_mkdir+:} false; then : 2964 $as_echo_n "(cached) " >&6 2179 2965 else 2180 2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2183 2969 IFS=$as_save_IFS 2184 2970 test -z "$as_dir" && as_dir=. 2185 for ac_prog in mkdir gmkdir; do2971 for ac_prog in mkdir gmkdir; do 2186 2972 for ac_exec_ext in '' $ac_executable_extensions; do 2187 2973 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 2195 2981 done 2196 2982 done 2197 done2983 done 2198 2984 IFS=$as_save_IFS 2199 2985 2200 2986 fi 2201 2987 2988 test -d ./--version && rmdir ./--version 2202 2989 if test "${ac_cv_path_mkdir+set}" = set; then 2203 2990 MKDIR_P="$ac_cv_path_mkdir -p" … … 2207 2994 # break other packages using the cache if that directory is 2208 2995 # removed, or if the value is a relative name. 2209 test -d ./--version && rmdir ./--version2210 2996 MKDIR_P="$ac_install_sh -d" 2211 2997 fi 2212 2998 fi 2213 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2214 echo "${ECHO_T}$MKDIR_P" >&6; } 2215 2216 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2217 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2218 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2219 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2220 echo $ECHO_N "(cached) $ECHO_C" >&6 2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3000 $as_echo "$MKDIR_P" >&6; } 3001 3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3003 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3004 set x ${MAKE-make} 3005 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3006 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3007 $as_echo_n "(cached) " >&6 2221 3008 else 2222 3009 cat >conftest.make <<\_ACEOF … … 2225 3012 @echo '@@@%%%=$(MAKE)=@@@%%%' 2226 3013 _ACEOF 2227 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3014 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2228 3015 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2229 3016 *@@@%%%=?*=@@@%%%*) … … 2235 3022 fi 2236 3023 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2237 { echo "$as_me:$LINENO: result: yes" >&52238 echo "${ECHO_T}yes" >&6; }3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3025 $as_echo "yes" >&6; } 2239 3026 SET_MAKE= 2240 3027 else 2241 { echo "$as_me:$LINENO: result: no" >&52242 echo "${ECHO_T}no" >&6; }3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3029 $as_echo "no" >&6; } 2243 3030 SET_MAKE="MAKE=${MAKE-make}" 2244 3031 fi … … 2254 3041 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2255 3042 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2256 { echo "$as_me:$LINENO: checking for $ac_word" >&52257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2258 if test "${ac_cv_prog_CC+set}" = set; then2259 echo $ECHO_N "(cached) $ECHO_C" >&63043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3044 $as_echo_n "checking for $ac_word... " >&6; } 3045 if ${ac_cv_prog_CC+:} false; then : 3046 $as_echo_n "(cached) " >&6 2260 3047 else 2261 3048 if test -n "$CC"; then … … 2267 3054 IFS=$as_save_IFS 2268 3055 test -z "$as_dir" && as_dir=. 2269 for ac_exec_ext in '' $ac_executable_extensions; do3056 for ac_exec_ext in '' $ac_executable_extensions; do 2270 3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2271 3058 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2273 3060 break 2 2274 3061 fi 2275 3062 done 2276 done3063 done 2277 3064 IFS=$as_save_IFS 2278 3065 … … 2281 3068 CC=$ac_cv_prog_CC 2282 3069 if test -n "$CC"; then 2283 { echo "$as_me:$LINENO: result: $CC" >&52284 echo "${ECHO_T}$CC" >&6; }2285 else 2286 { echo "$as_me:$LINENO: result: no" >&52287 echo "${ECHO_T}no" >&6; }3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3071 $as_echo "$CC" >&6; } 3072 else 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3074 $as_echo "no" >&6; } 2288 3075 fi 2289 3076 … … 2294 3081 # Extract the first word of "gcc", so it can be a program name with args. 2295 3082 set dummy gcc; ac_word=$2 2296 { echo "$as_me:$LINENO: checking for $ac_word" >&52297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2299 echo $ECHO_N "(cached) $ECHO_C" >&63083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3084 $as_echo_n "checking for $ac_word... " >&6; } 3085 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3086 $as_echo_n "(cached) " >&6 2300 3087 else 2301 3088 if test -n "$ac_ct_CC"; then … … 2307 3094 IFS=$as_save_IFS 2308 3095 test -z "$as_dir" && as_dir=. 2309 for ac_exec_ext in '' $ac_executable_extensions; do3096 for ac_exec_ext in '' $ac_executable_extensions; do 2310 3097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2311 3098 ac_cv_prog_ac_ct_CC="gcc" 2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2313 3100 break 2 2314 3101 fi 2315 3102 done 2316 done3103 done 2317 3104 IFS=$as_save_IFS 2318 3105 … … 2321 3108 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2322 3109 if test -n "$ac_ct_CC"; then 2323 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52324 echo "${ECHO_T}$ac_ct_CC" >&6; }2325 else 2326 { echo "$as_me:$LINENO: result: no" >&52327 echo "${ECHO_T}no" >&6; }3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3111 $as_echo "$ac_ct_CC" >&6; } 3112 else 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3114 $as_echo "no" >&6; } 2328 3115 fi 2329 3116 … … 2333 3120 case $cross_compiling:$ac_tool_warned in 2334 3121 yes:) 2335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2336 whose name does not start with the host triplet. If you think this 2337 configuration is useful to you, please write to autoconf@gnu.org." >&5 2338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2339 whose name does not start with the host triplet. If you think this 2340 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2341 3124 ac_tool_warned=yes ;; 2342 3125 esac … … 2351 3134 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2352 3135 set dummy ${ac_tool_prefix}cc; ac_word=$2 2353 { echo "$as_me:$LINENO: checking for $ac_word" >&52354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2355 if test "${ac_cv_prog_CC+set}" = set; then2356 echo $ECHO_N "(cached) $ECHO_C" >&63136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3137 $as_echo_n "checking for $ac_word... " >&6; } 3138 if ${ac_cv_prog_CC+:} false; then : 3139 $as_echo_n "(cached) " >&6 2357 3140 else 2358 3141 if test -n "$CC"; then … … 2364 3147 IFS=$as_save_IFS 2365 3148 test -z "$as_dir" && as_dir=. 2366 for ac_exec_ext in '' $ac_executable_extensions; do3149 for ac_exec_ext in '' $ac_executable_extensions; do 2367 3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2368 3151 ac_cv_prog_CC="${ac_tool_prefix}cc" 2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2370 3153 break 2 2371 3154 fi 2372 3155 done 2373 done3156 done 2374 3157 IFS=$as_save_IFS 2375 3158 … … 2378 3161 CC=$ac_cv_prog_CC 2379 3162 if test -n "$CC"; then 2380 { echo "$as_me:$LINENO: result: $CC" >&52381 echo "${ECHO_T}$CC" >&6; }2382 else 2383 { echo "$as_me:$LINENO: result: no" >&52384 echo "${ECHO_T}no" >&6; }3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3164 $as_echo "$CC" >&6; } 3165 else 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3167 $as_echo "no" >&6; } 2385 3168 fi 2386 3169 … … 2391 3174 # Extract the first word of "cc", so it can be a program name with args. 2392 3175 set dummy cc; ac_word=$2 2393 { echo "$as_me:$LINENO: checking for $ac_word" >&52394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2395 if test "${ac_cv_prog_CC+set}" = set; then2396 echo $ECHO_N "(cached) $ECHO_C" >&63176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3177 $as_echo_n "checking for $ac_word... " >&6; } 3178 if ${ac_cv_prog_CC+:} false; then : 3179 $as_echo_n "(cached) " >&6 2397 3180 else 2398 3181 if test -n "$CC"; then … … 2405 3188 IFS=$as_save_IFS 2406 3189 test -z "$as_dir" && as_dir=. 2407 for ac_exec_ext in '' $ac_executable_extensions; do3190 for ac_exec_ext in '' $ac_executable_extensions; do 2408 3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2409 3192 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2412 3195 fi 2413 3196 ac_cv_prog_CC="cc" 2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2415 3198 break 2 2416 3199 fi 2417 3200 done 2418 done3201 done 2419 3202 IFS=$as_save_IFS 2420 3203 … … 2435 3218 CC=$ac_cv_prog_CC 2436 3219 if test -n "$CC"; then 2437 { echo "$as_me:$LINENO: result: $CC" >&52438 echo "${ECHO_T}$CC" >&6; }2439 else 2440 { echo "$as_me:$LINENO: result: no" >&52441 echo "${ECHO_T}no" >&6; }3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3221 $as_echo "$CC" >&6; } 3222 else 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3224 $as_echo "no" >&6; } 2442 3225 fi 2443 3226 … … 2450 3233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2451 3234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2452 { echo "$as_me:$LINENO: checking for $ac_word" >&52453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2454 if test "${ac_cv_prog_CC+set}" = set; then2455 echo $ECHO_N "(cached) $ECHO_C" >&63235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3236 $as_echo_n "checking for $ac_word... " >&6; } 3237 if ${ac_cv_prog_CC+:} false; then : 3238 $as_echo_n "(cached) " >&6 2456 3239 else 2457 3240 if test -n "$CC"; then … … 2463 3246 IFS=$as_save_IFS 2464 3247 test -z "$as_dir" && as_dir=. 2465 for ac_exec_ext in '' $ac_executable_extensions; do3248 for ac_exec_ext in '' $ac_executable_extensions; do 2466 3249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2467 3250 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2469 3252 break 2 2470 3253 fi 2471 3254 done 2472 done3255 done 2473 3256 IFS=$as_save_IFS 2474 3257 … … 2477 3260 CC=$ac_cv_prog_CC 2478 3261 if test -n "$CC"; then 2479 { echo "$as_me:$LINENO: result: $CC" >&52480 echo "${ECHO_T}$CC" >&6; }2481 else 2482 { echo "$as_me:$LINENO: result: no" >&52483 echo "${ECHO_T}no" >&6; }3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3263 $as_echo "$CC" >&6; } 3264 else 3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3266 $as_echo "no" >&6; } 2484 3267 fi 2485 3268 … … 2494 3277 # Extract the first word of "$ac_prog", so it can be a program name with args. 2495 3278 set dummy $ac_prog; ac_word=$2 2496 { echo "$as_me:$LINENO: checking for $ac_word" >&52497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2499 echo $ECHO_N "(cached) $ECHO_C" >&63279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3280 $as_echo_n "checking for $ac_word... " >&6; } 3281 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3282 $as_echo_n "(cached) " >&6 2500 3283 else 2501 3284 if test -n "$ac_ct_CC"; then … … 2507 3290 IFS=$as_save_IFS 2508 3291 test -z "$as_dir" && as_dir=. 2509 for ac_exec_ext in '' $ac_executable_extensions; do3292 for ac_exec_ext in '' $ac_executable_extensions; do 2510 3293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2511 3294 ac_cv_prog_ac_ct_CC="$ac_prog" 2512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2513 3296 break 2 2514 3297 fi 2515 3298 done 2516 done3299 done 2517 3300 IFS=$as_save_IFS 2518 3301 … … 2521 3304 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2522 3305 if test -n "$ac_ct_CC"; then 2523 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52524 echo "${ECHO_T}$ac_ct_CC" >&6; }2525 else 2526 { echo "$as_me:$LINENO: result: no" >&52527 echo "${ECHO_T}no" >&6; }3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3307 $as_echo "$ac_ct_CC" >&6; } 3308 else 3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3310 $as_echo "no" >&6; } 2528 3311 fi 2529 3312 … … 2537 3320 case $cross_compiling:$ac_tool_warned in 2538 3321 yes:) 2539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2540 whose name does not start with the host triplet. If you think this 2541 configuration is useful to you, please write to autoconf@gnu.org." >&5 2542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2543 whose name does not start with the host triplet. If you think this 2544 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2545 3324 ac_tool_warned=yes ;; 2546 3325 esac … … 2552 3331 2553 3332 2554 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2555 See \`config.log' for more details." >&5 2556 echo "$as_me: error: no acceptable C compiler found in \$PATH 2557 See \`config.log' for more details." >&2;} 2558 { (exit 1); exit 1; }; } 3333 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3335 as_fn_error $? "no acceptable C compiler found in \$PATH 3336 See \`config.log' for more details" "$LINENO" 5; } 2559 3337 2560 3338 # Provide some information about the compiler. 2561 echo "$as_me:$LINENO: checking for C compiler version" >&5 2562 ac_compiler=`set X $ac_compile; echo $2` 2563 { (ac_try="$ac_compiler --version >&5" 3339 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3340 set X $ac_compile 3341 ac_compiler=$2 3342 for ac_option in --version -v -V -qversion; do 3343 { { ac_try="$ac_compiler $ac_option >&5" 2564 3344 case "(($ac_try" in 2565 3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2566 3346 *) ac_try_echo=$ac_try;; 2567 3347 esac 2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2569 (eval "$ac_compiler --version >&5") 2>&5 3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3349 $as_echo "$ac_try_echo"; } >&5 3350 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2570 3351 ac_status=$? 2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2572 (exit $ac_status); } 2573 { (ac_try="$ac_compiler -v >&5" 3352 if test -s conftest.err; then 3353 sed '10a\ 3354 ... rest of stderr output deleted ... 3355 10q' conftest.err >conftest.er1 3356 cat conftest.er1 >&5 3357 fi 3358 rm -f conftest.er1 conftest.err 3359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3360 test $ac_status = 0; } 3361 done 3362 3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3364 /* end confdefs.h. */ 3365 3366 int 3367 main () 3368 { 3369 3370 ; 3371 return 0; 3372 } 3373 _ACEOF 3374 ac_clean_files_save=$ac_clean_files 3375 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3376 # Try to create an executable without -o first, disregard a.out. 3377 # It will help us diagnose broken compilers, and finding out an intuition 3378 # of exeext. 3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3380 $as_echo_n "checking whether the C compiler works... " >&6; } 3381 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3382 3383 # The possible output files: 3384 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3385 3386 ac_rmfiles= 3387 for ac_file in $ac_files 3388 do 3389 case $ac_file in 3390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3391 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3392 esac 3393 done 3394 rm -f $ac_rmfiles 3395 3396 if { { ac_try="$ac_link_default" 2574 3397 case "(($ac_try" in 2575 3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2576 3399 *) ac_try_echo=$ac_try;; 2577 3400 esac 2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2579 (eval "$ac_compiler -v >&5") 2>&5 2580 ac_status=$? 2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2582 (exit $ac_status); } 2583 { (ac_try="$ac_compiler -V >&5" 2584 case "(($ac_try" in 2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2586 *) ac_try_echo=$ac_try;; 2587 esac 2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2589 (eval "$ac_compiler -V >&5") 2>&5 2590 ac_status=$? 2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 (exit $ac_status); } 2593 2594 cat >conftest.$ac_ext <<_ACEOF 2595 /* confdefs.h. */ 2596 _ACEOF 2597 cat confdefs.h >>conftest.$ac_ext 2598 cat >>conftest.$ac_ext <<_ACEOF 2599 /* end confdefs.h. */ 2600 2601 int 2602 main () 2603 { 2604 2605 ; 2606 return 0; 2607 } 2608 _ACEOF 2609 ac_clean_files_save=$ac_clean_files 2610 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2611 # Try to create an executable without -o first, disregard a.out. 2612 # It will help us diagnose broken compilers, and finding out an intuition 2613 # of exeext. 2614 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2615 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2616 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2617 # 2618 # List of possible output files, starting from the most likely. 2619 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2620 # only as a last resort. b.out is created by i960 compilers. 2621 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2622 # 2623 # The IRIX 6 linker writes into existing files which may not be 2624 # executable, retaining their permissions. Remove them first so a 2625 # subsequent execution test works. 2626 ac_rmfiles= 2627 for ac_file in $ac_files 2628 do 2629 case $ac_file in 2630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2631 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2632 esac 2633 done 2634 rm -f $ac_rmfiles 2635 2636 if { (ac_try="$ac_link_default" 2637 case "(($ac_try" in 2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2639 *) ac_try_echo=$ac_try;; 2640 esac 2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3402 $as_echo "$ac_try_echo"; } >&5 2642 3403 (eval "$ac_link_default") 2>&5 2643 3404 ac_status=$? 2644 echo "$as_me:$LINENO: \$? = $ac_status" >&52645 (exit $ac_status); }; then3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3406 test $ac_status = 0; }; then : 2646 3407 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2647 3408 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2653 3414 test -f "$ac_file" || continue 2654 3415 case $ac_file in 2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3416 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2656 3417 ;; 2657 3418 [ab].out ) … … 2660 3421 break;; 2661 3422 *.* ) 2662 3423 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2663 3424 then :; else 2664 3425 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2679 3440 ac_file='' 2680 3441 fi 2681 2682 { echo "$as_me:$LINENO: result: $ac_file" >&5 2683 echo "${ECHO_T}$ac_file" >&6; } 2684 if test -z "$ac_file"; then 2685 echo "$as_me: failed program was:" >&5 3442 if test -z "$ac_file"; then : 3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3444 $as_echo "no" >&6; } 3445 $as_echo "$as_me: failed program was:" >&5 2686 3446 sed 's/^/| /' conftest.$ac_ext >&5 2687 3447 2688 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2689 See \`config.log' for more details." >&5 2690 echo "$as_me: error: C compiler cannot create executables 2691 See \`config.log' for more details." >&2;} 2692 { (exit 77); exit 77; }; } 2693 fi 2694 3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3450 as_fn_error 77 "C compiler cannot create executables 3451 See \`config.log' for more details" "$LINENO" 5; } 3452 else 3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3454 $as_echo "yes" >&6; } 3455 fi 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3457 $as_echo_n "checking for C compiler default output file name... " >&6; } 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3459 $as_echo "$ac_file" >&6; } 2695 3460 ac_exeext=$ac_cv_exeext 2696 3461 2697 # Check that the compiler produces executables we can run. If not, either 2698 # the compiler is broken, or we cross compile. 2699 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2700 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2701 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2702 # If not cross compiling, check that we can run a simple program. 2703 if test "$cross_compiling" != yes; then 2704 if { ac_try='./$ac_file' 2705 { (case "(($ac_try" in 2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2707 *) ac_try_echo=$ac_try;; 2708 esac 2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2710 (eval "$ac_try") 2>&5 2711 ac_status=$? 2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2713 (exit $ac_status); }; }; then 2714 cross_compiling=no 2715 else 2716 if test "$cross_compiling" = maybe; then 2717 cross_compiling=yes 2718 else 2719 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2720 If you meant to cross compile, use \`--host'. 2721 See \`config.log' for more details." >&5 2722 echo "$as_me: error: cannot run C compiled programs. 2723 If you meant to cross compile, use \`--host'. 2724 See \`config.log' for more details." >&2;} 2725 { (exit 1); exit 1; }; } 2726 fi 2727 fi 2728 fi 2729 { echo "$as_me:$LINENO: result: yes" >&5 2730 echo "${ECHO_T}yes" >&6; } 2731 2732 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3462 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2733 3463 ac_clean_files=$ac_clean_files_save 2734 # Check that the compiler produces executables we can run. If not, either 2735 # the compiler is broken, or we cross compile. 2736 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2737 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2738 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2739 echo "${ECHO_T}$cross_compiling" >&6; } 2740 2741 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2742 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2743 if { (ac_try="$ac_link" 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3465 $as_echo_n "checking for suffix of executables... " >&6; } 3466 if { { ac_try="$ac_link" 2744 3467 case "(($ac_try" in 2745 3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2746 3469 *) ac_try_echo=$ac_try;; 2747 3470 esac 2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3472 $as_echo "$ac_try_echo"; } >&5 2749 3473 (eval "$ac_link") 2>&5 2750 3474 ac_status=$? 2751 echo "$as_me:$LINENO: \$? = $ac_status" >&52752 (exit $ac_status); }; then3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3476 test $ac_status = 0; }; then : 2753 3477 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2754 3478 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2758 3482 test -f "$ac_file" || continue 2759 3483 case $ac_file in 2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2761 3485 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2762 3486 break;; … … 2765 3489 done 2766 3490 else 2767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2768 See \`config.log' for more details." >&5 2769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2770 See \`config.log' for more details." >&2;} 2771 { (exit 1); exit 1; }; } 2772 fi 2773 2774 rm -f conftest$ac_cv_exeext 2775 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2776 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3493 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3494 See \`config.log' for more details" "$LINENO" 5; } 3495 fi 3496 rm -f conftest conftest$ac_cv_exeext 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3498 $as_echo "$ac_cv_exeext" >&6; } 2777 3499 2778 3500 rm -f conftest.$ac_ext 2779 3501 EXEEXT=$ac_cv_exeext 2780 3502 ac_exeext=$EXEEXT 2781 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2783 if test "${ac_cv_objext+set}" = set; then 2784 echo $ECHO_N "(cached) $ECHO_C" >&6 2785 else 2786 cat >conftest.$ac_ext <<_ACEOF 2787 /* confdefs.h. */ 2788 _ACEOF 2789 cat confdefs.h >>conftest.$ac_ext 2790 cat >>conftest.$ac_ext <<_ACEOF 3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2791 3504 /* end confdefs.h. */ 2792 3505 #include <stdio.h> 2793 3506 int 2794 3507 main () 2795 3508 { 3509 FILE *f = fopen ("conftest.out", "w"); 3510 return ferror (f) || fclose (f) != 0; 2796 3511 2797 3512 ; … … 2799 3514 } 2800 3515 _ACEOF 2801 rm -f conftest.o conftest.obj 2802 if { (ac_try="$ac_compile" 3516 ac_clean_files="$ac_clean_files conftest.out" 3517 # Check that the compiler produces executables we can run. If not, either 3518 # the compiler is broken, or we cross compile. 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3520 $as_echo_n "checking whether we are cross compiling... " >&6; } 3521 if test "$cross_compiling" != yes; then 3522 { { ac_try="$ac_link" 2803 3523 case "(($ac_try" in 2804 3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2805 3525 *) ac_try_echo=$ac_try;; 2806 3526 esac 2807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3528 $as_echo "$ac_try_echo"; } >&5 3529 (eval "$ac_link") 2>&5 3530 ac_status=$? 3531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3532 test $ac_status = 0; } 3533 if { ac_try='./conftest$ac_cv_exeext' 3534 { { case "(($ac_try" in 3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3536 *) ac_try_echo=$ac_try;; 3537 esac 3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3539 $as_echo "$ac_try_echo"; } >&5 3540 (eval "$ac_try") 2>&5 3541 ac_status=$? 3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3543 test $ac_status = 0; }; }; then 3544 cross_compiling=no 3545 else 3546 if test "$cross_compiling" = maybe; then 3547 cross_compiling=yes 3548 else 3549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3551 as_fn_error $? "cannot run C compiled programs. 3552 If you meant to cross compile, use \`--host'. 3553 See \`config.log' for more details" "$LINENO" 5; } 3554 fi 3555 fi 3556 fi 3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3558 $as_echo "$cross_compiling" >&6; } 3559 3560 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3561 ac_clean_files=$ac_clean_files_save 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3563 $as_echo_n "checking for suffix of object files... " >&6; } 3564 if ${ac_cv_objext+:} false; then : 3565 $as_echo_n "(cached) " >&6 3566 else 3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3568 /* end confdefs.h. */ 3569 3570 int 3571 main () 3572 { 3573 3574 ; 3575 return 0; 3576 } 3577 _ACEOF 3578 rm -f conftest.o conftest.obj 3579 if { { ac_try="$ac_compile" 3580 case "(($ac_try" in 3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3582 *) ac_try_echo=$ac_try;; 3583 esac 3584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3585 $as_echo "$ac_try_echo"; } >&5 2808 3586 (eval "$ac_compile") 2>&5 2809 3587 ac_status=$? 2810 echo "$as_me:$LINENO: \$? = $ac_status" >&52811 (exit $ac_status); }; then3588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3589 test $ac_status = 0; }; then : 2812 3590 for ac_file in conftest.o conftest.obj conftest.*; do 2813 3591 test -f "$ac_file" || continue; 2814 3592 case $ac_file in 2815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2816 3594 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2817 3595 break;; … … 2819 3597 done 2820 3598 else 2821 echo "$as_me: failed program was:" >&53599 $as_echo "$as_me: failed program was:" >&5 2822 3600 sed 's/^/| /' conftest.$ac_ext >&5 2823 3601 2824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2825 See \`config.log' for more details." >&5 2826 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2827 See \`config.log' for more details." >&2;} 2828 { (exit 1); exit 1; }; } 2829 fi 2830 3602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3604 as_fn_error $? "cannot compute suffix of object files: cannot compile 3605 See \`config.log' for more details" "$LINENO" 5; } 3606 fi 2831 3607 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2832 3608 fi 2833 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52834 echo "${ECHO_T}$ac_cv_objext" >&6; }3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3610 $as_echo "$ac_cv_objext" >&6; } 2835 3611 OBJEXT=$ac_cv_objext 2836 3612 ac_objext=$OBJEXT 2837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2839 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2840 echo $ECHO_N "(cached) $ECHO_C" >&6 2841 else 2842 cat >conftest.$ac_ext <<_ACEOF 2843 /* confdefs.h. */ 2844 _ACEOF 2845 cat confdefs.h >>conftest.$ac_ext 2846 cat >>conftest.$ac_ext <<_ACEOF 3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3614 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3615 if ${ac_cv_c_compiler_gnu+:} false; then : 3616 $as_echo_n "(cached) " >&6 3617 else 3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2847 3619 /* end confdefs.h. */ 2848 3620 … … 2858 3630 } 2859 3631 _ACEOF 2860 rm -f conftest.$ac_objext 2861 if { (ac_try="$ac_compile" 2862 case "(($ac_try" in 2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2864 *) ac_try_echo=$ac_try;; 2865 esac 2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2867 (eval "$ac_compile") 2>conftest.er1 2868 ac_status=$? 2869 grep -v '^ *+' conftest.er1 >conftest.err 2870 rm -f conftest.er1 2871 cat conftest.err >&5 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2873 (exit $ac_status); } && { 2874 test -z "$ac_c_werror_flag" || 2875 test ! -s conftest.err 2876 } && test -s conftest.$ac_objext; then 3632 if ac_fn_c_try_compile "$LINENO"; then : 2877 3633 ac_compiler_gnu=yes 2878 3634 else 2879 echo "$as_me: failed program was:" >&5 2880 sed 's/^/| /' conftest.$ac_ext >&5 2881 2882 ac_compiler_gnu=no 2883 fi 2884 3635 ac_compiler_gnu=no 3636 fi 2885 3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2886 3638 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2887 3639 2888 3640 fi 2889 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2891 GCC=`test $ac_compiler_gnu = yes && echo yes` 3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3642 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3643 if test $ac_compiler_gnu = yes; then 3644 GCC=yes 3645 else 3646 GCC= 3647 fi 2892 3648 ac_test_CFLAGS=${CFLAGS+set} 2893 3649 ac_save_CFLAGS=$CFLAGS 2894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2896 if test "${ac_cv_prog_cc_g+set}" = set; then2897 echo $ECHO_N "(cached) $ECHO_C" >&63650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3651 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3652 if ${ac_cv_prog_cc_g+:} false; then : 3653 $as_echo_n "(cached) " >&6 2898 3654 else 2899 3655 ac_save_c_werror_flag=$ac_c_werror_flag … … 2901 3657 ac_cv_prog_cc_g=no 2902 3658 CFLAGS="-g" 2903 cat >conftest.$ac_ext <<_ACEOF 2904 /* confdefs.h. */ 2905 _ACEOF 2906 cat confdefs.h >>conftest.$ac_ext 2907 cat >>conftest.$ac_ext <<_ACEOF 3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2908 3660 /* end confdefs.h. */ 2909 3661 … … 2916 3668 } 2917 3669 _ACEOF 2918 rm -f conftest.$ac_objext 2919 if { (ac_try="$ac_compile" 2920 case "(($ac_try" in 2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2922 *) ac_try_echo=$ac_try;; 2923 esac 2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2925 (eval "$ac_compile") 2>conftest.er1 2926 ac_status=$? 2927 grep -v '^ *+' conftest.er1 >conftest.err 2928 rm -f conftest.er1 2929 cat conftest.err >&5 2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2931 (exit $ac_status); } && { 2932 test -z "$ac_c_werror_flag" || 2933 test ! -s conftest.err 2934 } && test -s conftest.$ac_objext; then 3670 if ac_fn_c_try_compile "$LINENO"; then : 2935 3671 ac_cv_prog_cc_g=yes 2936 3672 else 2937 echo "$as_me: failed program was:" >&5 2938 sed 's/^/| /' conftest.$ac_ext >&5 2939 2940 CFLAGS="" 2941 cat >conftest.$ac_ext <<_ACEOF 2942 /* confdefs.h. */ 2943 _ACEOF 2944 cat confdefs.h >>conftest.$ac_ext 2945 cat >>conftest.$ac_ext <<_ACEOF 3673 CFLAGS="" 3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2946 3675 /* end confdefs.h. */ 2947 3676 … … 2954 3683 } 2955 3684 _ACEOF 2956 rm -f conftest.$ac_objext 2957 if { (ac_try="$ac_compile" 2958 case "(($ac_try" in 2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2960 *) ac_try_echo=$ac_try;; 2961 esac 2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2963 (eval "$ac_compile") 2>conftest.er1 2964 ac_status=$? 2965 grep -v '^ *+' conftest.er1 >conftest.err 2966 rm -f conftest.er1 2967 cat conftest.err >&5 2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2969 (exit $ac_status); } && { 2970 test -z "$ac_c_werror_flag" || 2971 test ! -s conftest.err 2972 } && test -s conftest.$ac_objext; then 2973 : 2974 else 2975 echo "$as_me: failed program was:" >&5 2976 sed 's/^/| /' conftest.$ac_ext >&5 2977 2978 ac_c_werror_flag=$ac_save_c_werror_flag 3685 if ac_fn_c_try_compile "$LINENO"; then : 3686 3687 else 3688 ac_c_werror_flag=$ac_save_c_werror_flag 2979 3689 CFLAGS="-g" 2980 cat >conftest.$ac_ext <<_ACEOF 2981 /* confdefs.h. */ 2982 _ACEOF 2983 cat confdefs.h >>conftest.$ac_ext 2984 cat >>conftest.$ac_ext <<_ACEOF 3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2985 3691 /* end confdefs.h. */ 2986 3692 … … 2993 3699 } 2994 3700 _ACEOF 2995 rm -f conftest.$ac_objext 2996 if { (ac_try="$ac_compile" 2997 case "(($ac_try" in 2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2999 *) ac_try_echo=$ac_try;; 3000 esac 3001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3002 (eval "$ac_compile") 2>conftest.er1 3003 ac_status=$? 3004 grep -v '^ *+' conftest.er1 >conftest.err 3005 rm -f conftest.er1 3006 cat conftest.err >&5 3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3008 (exit $ac_status); } && { 3009 test -z "$ac_c_werror_flag" || 3010 test ! -s conftest.err 3011 } && test -s conftest.$ac_objext; then 3701 if ac_fn_c_try_compile "$LINENO"; then : 3012 3702 ac_cv_prog_cc_g=yes 3013 else 3014 echo "$as_me: failed program was:" >&5 3015 sed 's/^/| /' conftest.$ac_ext >&5 3016 3017 3018 fi 3019 3703 fi 3020 3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3021 3705 fi 3022 3023 3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3024 3707 fi 3025 3026 3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3027 3709 ac_c_werror_flag=$ac_save_c_werror_flag 3028 3710 fi 3029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3712 $as_echo "$ac_cv_prog_cc_g" >&6; } 3031 3713 if test "$ac_test_CFLAGS" = set; then 3032 3714 CFLAGS=$ac_save_CFLAGS … … 3044 3726 fi 3045 3727 fi 3046 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53047 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3048 if test "${ac_cv_prog_cc_c89+set}" = set; then3049 echo $ECHO_N "(cached) $ECHO_C" >&63728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3729 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3730 if ${ac_cv_prog_cc_c89+:} false; then : 3731 $as_echo_n "(cached) " >&6 3050 3732 else 3051 3733 ac_cv_prog_cc_c89=no 3052 3734 ac_save_CC=$CC 3053 cat >conftest.$ac_ext <<_ACEOF 3054 /* confdefs.h. */ 3055 _ACEOF 3056 cat confdefs.h >>conftest.$ac_ext 3057 cat >>conftest.$ac_ext <<_ACEOF 3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3058 3736 /* end confdefs.h. */ 3059 3737 #include <stdarg.h> … … 3112 3790 do 3113 3791 CC="$ac_save_CC $ac_arg" 3114 rm -f conftest.$ac_objext 3115 if { (ac_try="$ac_compile" 3116 case "(($ac_try" in 3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3118 *) ac_try_echo=$ac_try;; 3119 esac 3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3121 (eval "$ac_compile") 2>conftest.er1 3122 ac_status=$? 3123 grep -v '^ *+' conftest.er1 >conftest.err 3124 rm -f conftest.er1 3125 cat conftest.err >&5 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); } && { 3128 test -z "$ac_c_werror_flag" || 3129 test ! -s conftest.err 3130 } && test -s conftest.$ac_objext; then 3792 if ac_fn_c_try_compile "$LINENO"; then : 3131 3793 ac_cv_prog_cc_c89=$ac_arg 3132 else 3133 echo "$as_me: failed program was:" >&5 3134 sed 's/^/| /' conftest.$ac_ext >&5 3135 3136 3137 fi 3138 3794 fi 3139 3795 rm -f core conftest.err conftest.$ac_objext 3140 3796 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3147 3803 case "x$ac_cv_prog_cc_c89" in 3148 3804 x) 3149 { echo "$as_me:$LINENO: result: none needed" >&53150 echo "${ECHO_T}none needed" >&6; } ;;3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3806 $as_echo "none needed" >&6; } ;; 3151 3807 xno) 3152 { echo "$as_me:$LINENO: result: unsupported" >&53153 echo "${ECHO_T}unsupported" >&6; } ;;3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3809 $as_echo "unsupported" >&6; } ;; 3154 3810 *) 3155 3811 CC="$CC $ac_cv_prog_cc_c89" 3156 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3813 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3158 3814 esac 3159 3815 if test "x$ac_cv_prog_cc_c89" != xno; then : 3816 3817 fi 3160 3818 3161 3819 ac_ext=c … … 3179 3837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3180 3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3181 { echo "$as_me:$LINENO: checking for $ac_word" >&53182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3183 if test "${ac_cv_prog_CXX+set}" = set; then3184 echo $ECHO_N "(cached) $ECHO_C" >&63839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3840 $as_echo_n "checking for $ac_word... " >&6; } 3841 if ${ac_cv_prog_CXX+:} false; then : 3842 $as_echo_n "(cached) " >&6 3185 3843 else 3186 3844 if test -n "$CXX"; then … … 3192 3850 IFS=$as_save_IFS 3193 3851 test -z "$as_dir" && as_dir=. 3194 for ac_exec_ext in '' $ac_executable_extensions; do3852 for ac_exec_ext in '' $ac_executable_extensions; do 3195 3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3196 3854 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3198 3856 break 2 3199 3857 fi 3200 3858 done 3201 done3859 done 3202 3860 IFS=$as_save_IFS 3203 3861 … … 3206 3864 CXX=$ac_cv_prog_CXX 3207 3865 if test -n "$CXX"; then 3208 { echo "$as_me:$LINENO: result: $CXX" >&53209 echo "${ECHO_T}$CXX" >&6; }3210 else 3211 { echo "$as_me:$LINENO: result: no" >&53212 echo "${ECHO_T}no" >&6; }3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3867 $as_echo "$CXX" >&6; } 3868 else 3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3870 $as_echo "no" >&6; } 3213 3871 fi 3214 3872 … … 3223 3881 # Extract the first word of "$ac_prog", so it can be a program name with args. 3224 3882 set dummy $ac_prog; ac_word=$2 3225 { echo "$as_me:$LINENO: checking for $ac_word" >&53226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3227 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3228 echo $ECHO_N "(cached) $ECHO_C" >&63883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3884 $as_echo_n "checking for $ac_word... " >&6; } 3885 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3886 $as_echo_n "(cached) " >&6 3229 3887 else 3230 3888 if test -n "$ac_ct_CXX"; then … … 3236 3894 IFS=$as_save_IFS 3237 3895 test -z "$as_dir" && as_dir=. 3238 for ac_exec_ext in '' $ac_executable_extensions; do3896 for ac_exec_ext in '' $ac_executable_extensions; do 3239 3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3240 3898 ac_cv_prog_ac_ct_CXX="$ac_prog" 3241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3242 3900 break 2 3243 3901 fi 3244 3902 done 3245 done3903 done 3246 3904 IFS=$as_save_IFS 3247 3905 … … 3250 3908 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3251 3909 if test -n "$ac_ct_CXX"; then 3252 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53253 echo "${ECHO_T}$ac_ct_CXX" >&6; }3254 else 3255 { echo "$as_me:$LINENO: result: no" >&53256 echo "${ECHO_T}no" >&6; }3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3911 $as_echo "$ac_ct_CXX" >&6; } 3912 else 3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3914 $as_echo "no" >&6; } 3257 3915 fi 3258 3916 … … 3266 3924 case $cross_compiling:$ac_tool_warned in 3267 3925 yes:) 3268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3269 whose name does not start with the host triplet. If you think this 3270 configuration is useful to you, please write to autoconf@gnu.org." >&5 3271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3272 whose name does not start with the host triplet. If you think this 3273 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3274 3928 ac_tool_warned=yes ;; 3275 3929 esac … … 3281 3935 fi 3282 3936 # Provide some information about the compiler. 3283 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3284 ac_compiler=`set X $ac_compile; echo $2` 3285 { (ac_try="$ac_compiler --version >&5" 3937 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3938 set X $ac_compile 3939 ac_compiler=$2 3940 for ac_option in --version -v -V -qversion; do 3941 { { ac_try="$ac_compiler $ac_option >&5" 3286 3942 case "(($ac_try" in 3287 3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 3944 *) ac_try_echo=$ac_try;; 3289 3945 esac 3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3291 (eval "$ac_compiler --version >&5") 2>&5 3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3947 $as_echo "$ac_try_echo"; } >&5 3948 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3292 3949 ac_status=$? 3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3294 (exit $ac_status); } 3295 { (ac_try="$ac_compiler -v >&5" 3296 case "(($ac_try" in 3297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3298 *) ac_try_echo=$ac_try;; 3299 esac 3300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3301 (eval "$ac_compiler -v >&5") 2>&5 3302 ac_status=$? 3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3304 (exit $ac_status); } 3305 { (ac_try="$ac_compiler -V >&5" 3306 case "(($ac_try" in 3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3308 *) ac_try_echo=$ac_try;; 3309 esac 3310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3311 (eval "$ac_compiler -V >&5") 2>&5 3312 ac_status=$? 3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3314 (exit $ac_status); } 3315 3316 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3317 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3318 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3319 echo $ECHO_N "(cached) $ECHO_C" >&6 3320 else 3321 cat >conftest.$ac_ext <<_ACEOF 3322 /* confdefs.h. */ 3323 _ACEOF 3324 cat confdefs.h >>conftest.$ac_ext 3325 cat >>conftest.$ac_ext <<_ACEOF 3950 if test -s conftest.err; then 3951 sed '10a\ 3952 ... rest of stderr output deleted ... 3953 10q' conftest.err >conftest.er1 3954 cat conftest.er1 >&5 3955 fi 3956 rm -f conftest.er1 conftest.err 3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3958 test $ac_status = 0; } 3959 done 3960 3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3962 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3963 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3964 $as_echo_n "(cached) " >&6 3965 else 3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3326 3967 /* end confdefs.h. */ 3327 3968 … … 3337 3978 } 3338 3979 _ACEOF 3339 rm -f conftest.$ac_objext 3340 if { (ac_try="$ac_compile" 3341 case "(($ac_try" in 3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3343 *) ac_try_echo=$ac_try;; 3344 esac 3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3346 (eval "$ac_compile") 2>conftest.er1 3347 ac_status=$? 3348 grep -v '^ *+' conftest.er1 >conftest.err 3349 rm -f conftest.er1 3350 cat conftest.err >&5 3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3352 (exit $ac_status); } && { 3353 test -z "$ac_cxx_werror_flag" || 3354 test ! -s conftest.err 3355 } && test -s conftest.$ac_objext; then 3980 if ac_fn_cxx_try_compile "$LINENO"; then : 3356 3981 ac_compiler_gnu=yes 3357 3982 else 3358 echo "$as_me: failed program was:" >&5 3359 sed 's/^/| /' conftest.$ac_ext >&5 3360 3361 ac_compiler_gnu=no 3362 fi 3363 3983 ac_compiler_gnu=no 3984 fi 3364 3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3365 3986 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3366 3987 3367 3988 fi 3368 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3369 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3370 GXX=`test $ac_compiler_gnu = yes && echo yes` 3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3990 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3991 if test $ac_compiler_gnu = yes; then 3992 GXX=yes 3993 else 3994 GXX= 3995 fi 3371 3996 ac_test_CXXFLAGS=${CXXFLAGS+set} 3372 3997 ac_save_CXXFLAGS=$CXXFLAGS 3373 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53374 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3375 if test "${ac_cv_prog_cxx_g+set}" = set; then3376 echo $ECHO_N "(cached) $ECHO_C" >&63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3999 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 4000 if ${ac_cv_prog_cxx_g+:} false; then : 4001 $as_echo_n "(cached) " >&6 3377 4002 else 3378 4003 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3380 4005 ac_cv_prog_cxx_g=no 3381 4006 CXXFLAGS="-g" 3382 cat >conftest.$ac_ext <<_ACEOF 3383 /* confdefs.h. */ 3384 _ACEOF 3385 cat confdefs.h >>conftest.$ac_ext 3386 cat >>conftest.$ac_ext <<_ACEOF 4007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3387 4008 /* end confdefs.h. */ 3388 4009 … … 3395 4016 } 3396 4017 _ACEOF 3397 rm -f conftest.$ac_objext 3398 if { (ac_try="$ac_compile" 3399 case "(($ac_try" in 3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3401 *) ac_try_echo=$ac_try;; 3402 esac 3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3404 (eval "$ac_compile") 2>conftest.er1 3405 ac_status=$? 3406 grep -v '^ *+' conftest.er1 >conftest.err 3407 rm -f conftest.er1 3408 cat conftest.err >&5 3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3410 (exit $ac_status); } && { 3411 test -z "$ac_cxx_werror_flag" || 3412 test ! -s conftest.err 3413 } && test -s conftest.$ac_objext; then 4018 if ac_fn_cxx_try_compile "$LINENO"; then : 3414 4019 ac_cv_prog_cxx_g=yes 3415 4020 else 3416 echo "$as_me: failed program was:" >&5 3417 sed 's/^/| /' conftest.$ac_ext >&5 3418 3419 CXXFLAGS="" 3420 cat >conftest.$ac_ext <<_ACEOF 3421 /* confdefs.h. */ 3422 _ACEOF 3423 cat confdefs.h >>conftest.$ac_ext 3424 cat >>conftest.$ac_ext <<_ACEOF 4021 CXXFLAGS="" 4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3425 4023 /* end confdefs.h. */ 3426 4024 … … 3433 4031 } 3434 4032 _ACEOF 3435 rm -f conftest.$ac_objext 3436 if { (ac_try="$ac_compile" 3437 case "(($ac_try" in 3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3439 *) ac_try_echo=$ac_try;; 3440 esac 3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3442 (eval "$ac_compile") 2>conftest.er1 3443 ac_status=$? 3444 grep -v '^ *+' conftest.er1 >conftest.err 3445 rm -f conftest.er1 3446 cat conftest.err >&5 3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3448 (exit $ac_status); } && { 3449 test -z "$ac_cxx_werror_flag" || 3450 test ! -s conftest.err 3451 } && test -s conftest.$ac_objext; then 3452 : 3453 else 3454 echo "$as_me: failed program was:" >&5 3455 sed 's/^/| /' conftest.$ac_ext >&5 3456 3457 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4033 if ac_fn_cxx_try_compile "$LINENO"; then : 4034 4035 else 4036 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3458 4037 CXXFLAGS="-g" 3459 cat >conftest.$ac_ext <<_ACEOF 3460 /* confdefs.h. */ 3461 _ACEOF 3462 cat confdefs.h >>conftest.$ac_ext 3463 cat >>conftest.$ac_ext <<_ACEOF 4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3464 4039 /* end confdefs.h. */ 3465 4040 … … 3472 4047 } 3473 4048 _ACEOF 3474 rm -f conftest.$ac_objext 3475 if { (ac_try="$ac_compile" 3476 case "(($ac_try" in 3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3478 *) ac_try_echo=$ac_try;; 3479 esac 3480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3481 (eval "$ac_compile") 2>conftest.er1 3482 ac_status=$? 3483 grep -v '^ *+' conftest.er1 >conftest.err 3484 rm -f conftest.er1 3485 cat conftest.err >&5 3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); } && { 3488 test -z "$ac_cxx_werror_flag" || 3489 test ! -s conftest.err 3490 } && test -s conftest.$ac_objext; then 4049 if ac_fn_cxx_try_compile "$LINENO"; then : 3491 4050 ac_cv_prog_cxx_g=yes 3492 else 3493 echo "$as_me: failed program was:" >&5 3494 sed 's/^/| /' conftest.$ac_ext >&5 3495 3496 3497 fi 3498 4051 fi 3499 4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3500 4053 fi 3501 3502 4054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3503 4055 fi 3504 3505 4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3506 4057 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3507 4058 fi 3508 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53509 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4060 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3510 4061 if test "$ac_test_CXXFLAGS" = set; then 3511 4062 CXXFLAGS=$ac_save_CXXFLAGS … … 3539 4090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3540 4091 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3541 { echo "$as_me:$LINENO: checking for $ac_word" >&53542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3543 if test "${ac_cv_prog_F77+set}" = set; then3544 echo $ECHO_N "(cached) $ECHO_C" >&64092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4093 $as_echo_n "checking for $ac_word... " >&6; } 4094 if ${ac_cv_prog_F77+:} false; then : 4095 $as_echo_n "(cached) " >&6 3545 4096 else 3546 4097 if test -n "$F77"; then … … 3552 4103 IFS=$as_save_IFS 3553 4104 test -z "$as_dir" && as_dir=. 3554 for ac_exec_ext in '' $ac_executable_extensions; do4105 for ac_exec_ext in '' $ac_executable_extensions; do 3555 4106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3556 4107 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3558 4109 break 2 3559 4110 fi 3560 4111 done 3561 done4112 done 3562 4113 IFS=$as_save_IFS 3563 4114 … … 3566 4117 F77=$ac_cv_prog_F77 3567 4118 if test -n "$F77"; then 3568 { echo "$as_me:$LINENO: result: $F77" >&53569 echo "${ECHO_T}$F77" >&6; }3570 else 3571 { echo "$as_me:$LINENO: result: no" >&53572 echo "${ECHO_T}no" >&6; }4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4120 $as_echo "$F77" >&6; } 4121 else 4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4123 $as_echo "no" >&6; } 3573 4124 fi 3574 4125 … … 3583 4134 # Extract the first word of "$ac_prog", so it can be a program name with args. 3584 4135 set dummy $ac_prog; ac_word=$2 3585 { echo "$as_me:$LINENO: checking for $ac_word" >&53586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3587 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then3588 echo $ECHO_N "(cached) $ECHO_C" >&64136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4137 $as_echo_n "checking for $ac_word... " >&6; } 4138 if ${ac_cv_prog_ac_ct_F77+:} false; then : 4139 $as_echo_n "(cached) " >&6 3589 4140 else 3590 4141 if test -n "$ac_ct_F77"; then … … 3596 4147 IFS=$as_save_IFS 3597 4148 test -z "$as_dir" && as_dir=. 3598 for ac_exec_ext in '' $ac_executable_extensions; do4149 for ac_exec_ext in '' $ac_executable_extensions; do 3599 4150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3600 4151 ac_cv_prog_ac_ct_F77="$ac_prog" 3601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3602 4153 break 2 3603 4154 fi 3604 4155 done 3605 done4156 done 3606 4157 IFS=$as_save_IFS 3607 4158 … … 3610 4161 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3611 4162 if test -n "$ac_ct_F77"; then 3612 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53613 echo "${ECHO_T}$ac_ct_F77" >&6; }3614 else 3615 { echo "$as_me:$LINENO: result: no" >&53616 echo "${ECHO_T}no" >&6; }4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4164 $as_echo "$ac_ct_F77" >&6; } 4165 else 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4167 $as_echo "no" >&6; } 3617 4168 fi 3618 4169 … … 3626 4177 case $cross_compiling:$ac_tool_warned in 3627 4178 yes:) 3628 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3629 whose name does not start with the host triplet. If you think this 3630 configuration is useful to you, please write to autoconf@gnu.org." >&5 3631 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3632 whose name does not start with the host triplet. If you think this 3633 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3634 4181 ac_tool_warned=yes ;; 3635 4182 esac … … 3640 4187 3641 4188 # Provide some information about the compiler. 3642 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3643 ac_compiler=`set X $ac_compile; echo $2` 3644 { (ac_try="$ac_compiler --version >&5" 4189 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4190 set X $ac_compile 4191 ac_compiler=$2 4192 for ac_option in --version -v -V -qversion; do 4193 { { ac_try="$ac_compiler $ac_option >&5" 3645 4194 case "(($ac_try" in 3646 4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3647 4196 *) ac_try_echo=$ac_try;; 3648 4197 esac 3649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3650 (eval "$ac_compiler --version >&5") 2>&5 4198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4199 $as_echo "$ac_try_echo"; } >&5 4200 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3651 4201 ac_status=$? 3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3653 (exit $ac_status); } 3654 { (ac_try="$ac_compiler -v >&5" 3655 case "(($ac_try" in 3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3657 *) ac_try_echo=$ac_try;; 3658 esac 3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3660 (eval "$ac_compiler -v >&5") 2>&5 3661 ac_status=$? 3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3663 (exit $ac_status); } 3664 { (ac_try="$ac_compiler -V >&5" 3665 case "(($ac_try" in 3666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3667 *) ac_try_echo=$ac_try;; 3668 esac 3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3670 (eval "$ac_compiler -V >&5") 2>&5 3671 ac_status=$? 3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3673 (exit $ac_status); } 4202 if test -s conftest.err; then 4203 sed '10a\ 4204 ... rest of stderr output deleted ... 4205 10q' conftest.err >conftest.er1 4206 cat conftest.er1 >&5 4207 fi 4208 rm -f conftest.er1 conftest.err 4209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4210 test $ac_status = 0; } 4211 done 3674 4212 rm -f a.out 3675 4213 … … 3678 4216 ac_save_ext=$ac_ext 3679 4217 ac_ext=F 3680 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53681 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3682 if test "${ac_cv_f77_compiler_gnu+set}" = set; then3683 echo $ECHO_N "(cached) $ECHO_C" >&63684 else 3685 cat > conftest.$ac_ext <<_ACEOF4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4219 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4220 if ${ac_cv_f77_compiler_gnu+:} false; then : 4221 $as_echo_n "(cached) " >&6 4222 else 4223 cat > conftest.$ac_ext <<_ACEOF 3686 4224 program main 3687 4225 #ifndef __GNUC__ … … 3691 4229 end 3692 4230 _ACEOF 3693 rm -f conftest.$ac_objext 3694 if { (ac_try="$ac_compile" 3695 case "(($ac_try" in 3696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3697 *) ac_try_echo=$ac_try;; 3698 esac 3699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3700 (eval "$ac_compile") 2>conftest.er1 3701 ac_status=$? 3702 grep -v '^ *+' conftest.er1 >conftest.err 3703 rm -f conftest.er1 3704 cat conftest.err >&5 3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3706 (exit $ac_status); } && { 3707 test -z "$ac_f77_werror_flag" || 3708 test ! -s conftest.err 3709 } && test -s conftest.$ac_objext; then 4231 if ac_fn_f77_try_compile "$LINENO"; then : 3710 4232 ac_compiler_gnu=yes 3711 4233 else 3712 echo "$as_me: failed program was:" >&5 3713 sed 's/^/| /' conftest.$ac_ext >&5 3714 3715 ac_compiler_gnu=no 3716 fi 3717 4234 ac_compiler_gnu=no 4235 fi 3718 4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3719 4237 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3720 4238 3721 4239 fi 3722 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53723 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4241 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3724 4242 ac_ext=$ac_save_ext 3725 4243 ac_test_FFLAGS=${FFLAGS+set} 3726 4244 ac_save_FFLAGS=$FFLAGS 3727 4245 FFLAGS= 3728 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53729 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3730 if test "${ac_cv_prog_f77_g+set}" = set; then3731 echo $ECHO_N "(cached) $ECHO_C" >&64246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4247 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4248 if ${ac_cv_prog_f77_g+:} false; then : 4249 $as_echo_n "(cached) " >&6 3732 4250 else 3733 4251 FFLAGS=-g 3734 cat > conftest.$ac_ext <<_ACEOF4252 cat > conftest.$ac_ext <<_ACEOF 3735 4253 program main 3736 4254 3737 4255 end 3738 4256 _ACEOF 3739 rm -f conftest.$ac_objext 3740 if { (ac_try="$ac_compile" 3741 case "(($ac_try" in 3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3743 *) ac_try_echo=$ac_try;; 3744 esac 3745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3746 (eval "$ac_compile") 2>conftest.er1 3747 ac_status=$? 3748 grep -v '^ *+' conftest.er1 >conftest.err 3749 rm -f conftest.er1 3750 cat conftest.err >&5 3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3752 (exit $ac_status); } && { 3753 test -z "$ac_f77_werror_flag" || 3754 test ! -s conftest.err 3755 } && test -s conftest.$ac_objext; then 4257 if ac_fn_f77_try_compile "$LINENO"; then : 3756 4258 ac_cv_prog_f77_g=yes 3757 4259 else 3758 echo "$as_me: failed program was:" >&5 3759 sed 's/^/| /' conftest.$ac_ext >&5 3760 3761 ac_cv_prog_f77_g=no 3762 fi 3763 4260 ac_cv_prog_f77_g=no 4261 fi 3764 4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3765 4263 3766 4264 fi 3767 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53768 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4266 $as_echo "$ac_cv_prog_f77_g" >&6; } 3769 4267 if test "$ac_test_FFLAGS" = set; then 3770 4268 FFLAGS=$ac_save_FFLAGS … … 3783 4281 fi 3784 4282 3785 G77=`test $ac_compiler_gnu = yes && echo yes` 4283 if test $ac_compiler_gnu = yes; then 4284 G77=yes 4285 else 4286 G77= 4287 fi 3786 4288 ac_ext=c 3787 4289 ac_cpp='$CPP $CPPFLAGS' … … 3804 4306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3805 4307 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3806 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53807 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4309 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3808 4310 # On Suns, sometimes $CPP names a directory. 3809 4311 if test -n "$CPP" && test -d "$CPP"; then … … 3811 4313 fi 3812 4314 if test -z "$CPP"; then 3813 if test "${ac_cv_prog_CPP+set}" = set; then3814 echo $ECHO_N "(cached) $ECHO_C" >&64315 if ${ac_cv_prog_CPP+:} false; then : 4316 $as_echo_n "(cached) " >&6 3815 4317 else 3816 4318 # Double quotes because CPP needs to be expanded … … 3826 4328 # On the NeXT, cc -E runs the code through the compiler's parser, 3827 4329 # not just through cpp. "Syntax error" is here to catch this case. 3828 cat >conftest.$ac_ext <<_ACEOF 3829 /* confdefs.h. */ 3830 _ACEOF 3831 cat confdefs.h >>conftest.$ac_ext 3832 cat >>conftest.$ac_ext <<_ACEOF 4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3833 4331 /* end confdefs.h. */ 3834 4332 #ifdef __STDC__ … … 3839 4337 Syntax error 3840 4338 _ACEOF 3841 if { (ac_try="$ac_cpp conftest.$ac_ext" 3842 case "(($ac_try" in 3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3844 *) ac_try_echo=$ac_try;; 3845 esac 3846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3848 ac_status=$? 3849 grep -v '^ *+' conftest.er1 >conftest.err 3850 rm -f conftest.er1 3851 cat conftest.err >&5 3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3853 (exit $ac_status); } >/dev/null && { 3854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3855 test ! -s conftest.err 3856 }; then 3857 : 3858 else 3859 echo "$as_me: failed program was:" >&5 3860 sed 's/^/| /' conftest.$ac_ext >&5 3861 4339 if ac_fn_c_try_cpp "$LINENO"; then : 4340 4341 else 3862 4342 # Broken: fails on valid input. 3863 4343 continue 3864 4344 fi 3865 3866 rm -f conftest.err conftest.$ac_ext 4345 rm -f conftest.err conftest.i conftest.$ac_ext 3867 4346 3868 4347 # OK, works on sane cases. Now check whether nonexistent headers 3869 4348 # can be detected and how. 3870 cat >conftest.$ac_ext <<_ACEOF 3871 /* confdefs.h. */ 3872 _ACEOF 3873 cat confdefs.h >>conftest.$ac_ext 3874 cat >>conftest.$ac_ext <<_ACEOF 4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3875 4350 /* end confdefs.h. */ 3876 4351 #include <ac_nonexistent.h> 3877 4352 _ACEOF 3878 if { (ac_try="$ac_cpp conftest.$ac_ext" 3879 case "(($ac_try" in 3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3881 *) ac_try_echo=$ac_try;; 3882 esac 3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3885 ac_status=$? 3886 grep -v '^ *+' conftest.er1 >conftest.err 3887 rm -f conftest.er1 3888 cat conftest.err >&5 3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3890 (exit $ac_status); } >/dev/null && { 3891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3892 test ! -s conftest.err 3893 }; then 4353 if ac_fn_c_try_cpp "$LINENO"; then : 3894 4354 # Broken: success on invalid input. 3895 4355 continue 3896 4356 else 3897 echo "$as_me: failed program was:" >&53898 sed 's/^/| /' conftest.$ac_ext >&53899 3900 4357 # Passes both tests. 3901 4358 ac_preproc_ok=: 3902 4359 break 3903 4360 fi 3904 3905 rm -f conftest.err conftest.$ac_ext 4361 rm -f conftest.err conftest.i conftest.$ac_ext 3906 4362 3907 4363 done 3908 4364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3909 rm -f conftest. err conftest.$ac_ext3910 if $ac_preproc_ok; then 4365 rm -f conftest.i conftest.err conftest.$ac_ext 4366 if $ac_preproc_ok; then : 3911 4367 break 3912 4368 fi … … 3920 4376 ac_cv_prog_CPP=$CPP 3921 4377 fi 3922 { echo "$as_me:$LINENO: result: $CPP" >&53923 echo "${ECHO_T}$CPP" >&6; }4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4379 $as_echo "$CPP" >&6; } 3924 4380 ac_preproc_ok=false 3925 4381 for ac_c_preproc_warn_flag in '' yes … … 3931 4387 # On the NeXT, cc -E runs the code through the compiler's parser, 3932 4388 # not just through cpp. "Syntax error" is here to catch this case. 3933 cat >conftest.$ac_ext <<_ACEOF 3934 /* confdefs.h. */ 3935 _ACEOF 3936 cat confdefs.h >>conftest.$ac_ext 3937 cat >>conftest.$ac_ext <<_ACEOF 4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3938 4390 /* end confdefs.h. */ 3939 4391 #ifdef __STDC__ … … 3944 4396 Syntax error 3945 4397 _ACEOF 3946 if { (ac_try="$ac_cpp conftest.$ac_ext" 3947 case "(($ac_try" in 3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3949 *) ac_try_echo=$ac_try;; 3950 esac 3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3953 ac_status=$? 3954 grep -v '^ *+' conftest.er1 >conftest.err 3955 rm -f conftest.er1 3956 cat conftest.err >&5 3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3958 (exit $ac_status); } >/dev/null && { 3959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3960 test ! -s conftest.err 3961 }; then 3962 : 3963 else 3964 echo "$as_me: failed program was:" >&5 3965 sed 's/^/| /' conftest.$ac_ext >&5 3966 4398 if ac_fn_c_try_cpp "$LINENO"; then : 4399 4400 else 3967 4401 # Broken: fails on valid input. 3968 4402 continue 3969 4403 fi 3970 3971 rm -f conftest.err conftest.$ac_ext 4404 rm -f conftest.err conftest.i conftest.$ac_ext 3972 4405 3973 4406 # OK, works on sane cases. Now check whether nonexistent headers 3974 4407 # can be detected and how. 3975 cat >conftest.$ac_ext <<_ACEOF 3976 /* confdefs.h. */ 3977 _ACEOF 3978 cat confdefs.h >>conftest.$ac_ext 3979 cat >>conftest.$ac_ext <<_ACEOF 4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3980 4409 /* end confdefs.h. */ 3981 4410 #include <ac_nonexistent.h> 3982 4411 _ACEOF 3983 if { (ac_try="$ac_cpp conftest.$ac_ext" 3984 case "(($ac_try" in 3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3986 *) ac_try_echo=$ac_try;; 3987 esac 3988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3990 ac_status=$? 3991 grep -v '^ *+' conftest.er1 >conftest.err 3992 rm -f conftest.er1 3993 cat conftest.err >&5 3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3995 (exit $ac_status); } >/dev/null && { 3996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3997 test ! -s conftest.err 3998 }; then 4412 if ac_fn_c_try_cpp "$LINENO"; then : 3999 4413 # Broken: success on invalid input. 4000 4414 continue 4001 4415 else 4002 echo "$as_me: failed program was:" >&54003 sed 's/^/| /' conftest.$ac_ext >&54004 4005 4416 # Passes both tests. 4006 4417 ac_preproc_ok=: 4007 4418 break 4008 4419 fi 4009 4010 rm -f conftest.err conftest.$ac_ext 4420 rm -f conftest.err conftest.i conftest.$ac_ext 4011 4421 4012 4422 done 4013 4423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4014 rm -f conftest.err conftest.$ac_ext 4015 if $ac_preproc_ok; then 4016 : 4017 else 4018 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4019 See \`config.log' for more details." >&5 4020 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4021 See \`config.log' for more details." >&2;} 4022 { (exit 1); exit 1; }; } 4424 rm -f conftest.i conftest.err conftest.$ac_ext 4425 if $ac_preproc_ok; then : 4426 4427 else 4428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4430 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4431 See \`config.log' for more details" "$LINENO" 5; } 4023 4432 fi 4024 4433 … … 4030 4439 4031 4440 4032 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4033 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4034 if test "${ac_cv_path_GREP+set}" = set; then 4035 echo $ECHO_N "(cached) $ECHO_C" >&6 4036 else 4037 # Extract the first word of "grep ggrep" to use in msg output 4038 if test -z "$GREP"; then 4039 set dummy grep ggrep; ac_prog_name=$2 4040 if test "${ac_cv_path_GREP+set}" = set; then 4041 echo $ECHO_N "(cached) $ECHO_C" >&6 4042 else 4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4442 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4443 if ${ac_cv_path_GREP+:} false; then : 4444 $as_echo_n "(cached) " >&6 4445 else 4446 if test -z "$GREP"; then 4043 4447 ac_path_GREP_found=false 4044 # Loop through the user's path and test for each of PROGNAME-LIST4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4448 # Loop through the user's path and test for each of PROGNAME-LIST 4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4046 4450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4047 4451 do 4048 4452 IFS=$as_save_IFS 4049 4453 test -z "$as_dir" && as_dir=. 4050 for ac_prog in grep ggrep; do4051 for ac_exec_ext in '' $ac_executable_extensions; do4052 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4053 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4054 4454 for ac_prog in grep ggrep; do 4455 for ac_exec_ext in '' $ac_executable_extensions; do 4456 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4457 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4458 # Check for GNU ac_path_GREP and select it if it is found. 4055 4459 # Check for GNU $ac_path_GREP 4056 4460 case `"$ac_path_GREP" --version 2>&1` in … … 4059 4463 *) 4060 4464 ac_count=0 4061 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4465 $as_echo_n 0123456789 >"conftest.in" 4062 4466 while : 4063 4467 do … … 4065 4469 mv "conftest.tmp" "conftest.in" 4066 4470 cp "conftest.in" "conftest.nl" 4067 echo 'GREP' >> "conftest.nl"4471 $as_echo 'GREP' >> "conftest.nl" 4068 4472 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4069 4473 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4070 a c_count=`expr $ac_count + 1`4474 as_fn_arith $ac_count + 1 && ac_count=$as_val 4071 4475 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4072 4476 # Best one so far, save it but keep looking for a better one … … 4080 4484 esac 4081 4485 4082 4083 $ac_path_GREP_found && break 34486 $ac_path_GREP_found && break 3 4487 done 4084 4488 done 4085 done 4086 4087 done 4489 done 4088 4490 IFS=$as_save_IFS 4089 4090 4091 fi 4092 4093 GREP="$ac_cv_path_GREP" 4094 if test -z "$GREP"; then 4095 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4096 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4097 { (exit 1); exit 1; }; } 4098 fi 4099 4491 if test -z "$ac_cv_path_GREP"; then 4492 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4493 fi 4100 4494 else 4101 4495 ac_cv_path_GREP=$GREP 4102 4496 fi 4103 4497 4104 4105 fi 4106 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4107 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4498 fi 4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4500 $as_echo "$ac_cv_path_GREP" >&6; } 4108 4501 GREP="$ac_cv_path_GREP" 4109 4502 4110 4503 4111 { echo "$as_me:$LINENO: checking for egrep" >&54112 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4113 if test "${ac_cv_path_EGREP+set}" = set; then4114 echo $ECHO_N "(cached) $ECHO_C" >&64504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4505 $as_echo_n "checking for egrep... " >&6; } 4506 if ${ac_cv_path_EGREP+:} false; then : 4507 $as_echo_n "(cached) " >&6 4115 4508 else 4116 4509 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4117 4510 then ac_cv_path_EGREP="$GREP -E" 4118 4511 else 4119 # Extract the first word of "egrep" to use in msg output 4120 if test -z "$EGREP"; then 4121 set dummy egrep; ac_prog_name=$2 4122 if test "${ac_cv_path_EGREP+set}" = set; then 4123 echo $ECHO_N "(cached) $ECHO_C" >&6 4124 else 4512 if test -z "$EGREP"; then 4125 4513 ac_path_EGREP_found=false 4126 # Loop through the user's path and test for each of PROGNAME-LIST4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4514 # Loop through the user's path and test for each of PROGNAME-LIST 4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4128 4516 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4129 4517 do 4130 4518 IFS=$as_save_IFS 4131 4519 test -z "$as_dir" && as_dir=. 4132 for ac_prog in egrep; do4133 for ac_exec_ext in '' $ac_executable_extensions; do4134 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4135 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4136 4520 for ac_prog in egrep; do 4521 for ac_exec_ext in '' $ac_executable_extensions; do 4522 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4523 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4524 # Check for GNU ac_path_EGREP and select it if it is found. 4137 4525 # Check for GNU $ac_path_EGREP 4138 4526 case `"$ac_path_EGREP" --version 2>&1` in … … 4141 4529 *) 4142 4530 ac_count=0 4143 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4531 $as_echo_n 0123456789 >"conftest.in" 4144 4532 while : 4145 4533 do … … 4147 4535 mv "conftest.tmp" "conftest.in" 4148 4536 cp "conftest.in" "conftest.nl" 4149 echo 'EGREP' >> "conftest.nl"4537 $as_echo 'EGREP' >> "conftest.nl" 4150 4538 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4151 4539 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4152 a c_count=`expr $ac_count + 1`4540 as_fn_arith $ac_count + 1 && ac_count=$as_val 4153 4541 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4154 4542 # Best one so far, save it but keep looking for a better one … … 4162 4550 esac 4163 4551 4164 4165 $ac_path_EGREP_found && break 34552 $ac_path_EGREP_found && break 3 4553 done 4166 4554 done 4167 done 4168 4169 done 4555 done 4170 4556 IFS=$as_save_IFS 4171 4172 4173 fi 4174 4175 EGREP="$ac_cv_path_EGREP" 4176 if test -z "$EGREP"; then 4177 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4178 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4179 { (exit 1); exit 1; }; } 4180 fi 4181 4557 if test -z "$ac_cv_path_EGREP"; then 4558 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4559 fi 4182 4560 else 4183 4561 ac_cv_path_EGREP=$EGREP 4184 4562 fi 4185 4563 4186 4187 4564 fi 4188 4565 fi 4189 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54190 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4567 $as_echo "$ac_cv_path_EGREP" >&6; } 4191 4568 EGREP="$ac_cv_path_EGREP" 4192 4569 4193 4570 4194 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4195 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4196 if test "${ac_cv_header_stdc+set}" = set; then 4197 echo $ECHO_N "(cached) $ECHO_C" >&6 4198 else 4199 cat >conftest.$ac_ext <<_ACEOF 4200 /* confdefs.h. */ 4201 _ACEOF 4202 cat confdefs.h >>conftest.$ac_ext 4203 cat >>conftest.$ac_ext <<_ACEOF 4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4572 $as_echo_n "checking for ANSI C header files... " >&6; } 4573 if ${ac_cv_header_stdc+:} false; then : 4574 $as_echo_n "(cached) " >&6 4575 else 4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4204 4577 /* end confdefs.h. */ 4205 4578 #include <stdlib.h> … … 4216 4589 } 4217 4590 _ACEOF 4218 rm -f conftest.$ac_objext 4219 if { (ac_try="$ac_compile" 4220 case "(($ac_try" in 4221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4222 *) ac_try_echo=$ac_try;; 4223 esac 4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4225 (eval "$ac_compile") 2>conftest.er1 4226 ac_status=$? 4227 grep -v '^ *+' conftest.er1 >conftest.err 4228 rm -f conftest.er1 4229 cat conftest.err >&5 4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4231 (exit $ac_status); } && { 4232 test -z "$ac_c_werror_flag" || 4233 test ! -s conftest.err 4234 } && test -s conftest.$ac_objext; then 4591 if ac_fn_c_try_compile "$LINENO"; then : 4235 4592 ac_cv_header_stdc=yes 4236 4593 else 4237 echo "$as_me: failed program was:" >&5 4238 sed 's/^/| /' conftest.$ac_ext >&5 4239 4240 ac_cv_header_stdc=no 4241 fi 4242 4594 ac_cv_header_stdc=no 4595 fi 4243 4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4244 4597 4245 4598 if test $ac_cv_header_stdc = yes; then 4246 4599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4247 cat >conftest.$ac_ext <<_ACEOF 4248 /* confdefs.h. */ 4249 _ACEOF 4250 cat confdefs.h >>conftest.$ac_ext 4251 cat >>conftest.$ac_ext <<_ACEOF 4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4252 4601 /* end confdefs.h. */ 4253 4602 #include <string.h> … … 4255 4604 _ACEOF 4256 4605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4257 $EGREP "memchr" >/dev/null 2>&1; then 4258 : 4606 $EGREP "memchr" >/dev/null 2>&1; then : 4607 4259 4608 else 4260 4609 ac_cv_header_stdc=no … … 4266 4615 if test $ac_cv_header_stdc = yes; then 4267 4616 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4268 cat >conftest.$ac_ext <<_ACEOF 4269 /* confdefs.h. */ 4270 _ACEOF 4271 cat confdefs.h >>conftest.$ac_ext 4272 cat >>conftest.$ac_ext <<_ACEOF 4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4273 4618 /* end confdefs.h. */ 4274 4619 #include <stdlib.h> … … 4276 4621 _ACEOF 4277 4622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4278 $EGREP "free" >/dev/null 2>&1; then 4279 : 4623 $EGREP "free" >/dev/null 2>&1; then : 4624 4280 4625 else 4281 4626 ac_cv_header_stdc=no … … 4287 4632 if test $ac_cv_header_stdc = yes; then 4288 4633 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4289 if test "$cross_compiling" = yes; then 4634 if test "$cross_compiling" = yes; then : 4290 4635 : 4291 4636 else 4292 cat >conftest.$ac_ext <<_ACEOF 4293 /* confdefs.h. */ 4294 _ACEOF 4295 cat confdefs.h >>conftest.$ac_ext 4296 cat >>conftest.$ac_ext <<_ACEOF 4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4297 4638 /* end confdefs.h. */ 4298 4639 #include <ctype.h> … … 4321 4662 } 4322 4663 _ACEOF 4323 rm -f conftest$ac_exeext 4324 if { (ac_try="$ac_link" 4325 case "(($ac_try" in 4326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4327 *) ac_try_echo=$ac_try;; 4328 esac 4329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4330 (eval "$ac_link") 2>&5 4331 ac_status=$? 4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4334 { (case "(($ac_try" in 4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4336 *) ac_try_echo=$ac_try;; 4337 esac 4338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4339 (eval "$ac_try") 2>&5 4340 ac_status=$? 4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4342 (exit $ac_status); }; }; then 4343 : 4344 else 4345 echo "$as_me: program exited with status $ac_status" >&5 4346 echo "$as_me: failed program was:" >&5 4347 sed 's/^/| /' conftest.$ac_ext >&5 4348 4349 ( exit $ac_status ) 4350 ac_cv_header_stdc=no 4351 fi 4352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4353 fi 4354 4355 4356 fi 4357 fi 4358 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4359 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4664 if ac_fn_c_try_run "$LINENO"; then : 4665 4666 else 4667 ac_cv_header_stdc=no 4668 fi 4669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4670 conftest.$ac_objext conftest.beam conftest.$ac_ext 4671 fi 4672 4673 fi 4674 fi 4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4676 $as_echo "$ac_cv_header_stdc" >&6; } 4360 4677 if test $ac_cv_header_stdc = yes; then 4361 4678 4362 cat >>confdefs.h <<\_ACEOF 4363 #define STDC_HEADERS 1 4364 _ACEOF 4365 4366 fi 4367 4368 { echo "$as_me:$LINENO: checking for atol" >&5 4369 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4370 if test "${ac_cv_func_atol+set}" = set; then 4371 echo $ECHO_N "(cached) $ECHO_C" >&6 4372 else 4373 cat >conftest.$ac_ext <<_ACEOF 4374 /* confdefs.h. */ 4375 _ACEOF 4376 cat confdefs.h >>conftest.$ac_ext 4377 cat >>conftest.$ac_ext <<_ACEOF 4378 /* end confdefs.h. */ 4379 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4380 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4381 #define atol innocuous_atol 4382 4383 /* System header to define __stub macros and hopefully few prototypes, 4384 which can conflict with char atol (); below. 4385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4386 <limits.h> exists even on freestanding compilers. */ 4387 4388 #ifdef __STDC__ 4389 # include <limits.h> 4390 #else 4391 # include <assert.h> 4392 #endif 4393 4394 #undef atol 4395 4396 /* Override any GCC internal prototype to avoid an error. 4397 Use char because int might match the return type of a GCC 4398 builtin and then its argument prototype would still apply. */ 4399 #ifdef __cplusplus 4400 extern "C" 4401 #endif 4402 char atol (); 4403 /* The GNU C library defines this for functions which it implements 4404 to always fail with ENOSYS. Some functions are actually named 4405 something starting with __ and the normal name is an alias. */ 4406 #if defined __stub_atol || defined __stub___atol 4407 choke me 4408 #endif 4409 4410 int 4411 main () 4412 { 4413 return atol (); 4414 ; 4415 return 0; 4416 } 4417 _ACEOF 4418 rm -f conftest.$ac_objext conftest$ac_exeext 4419 if { (ac_try="$ac_link" 4420 case "(($ac_try" in 4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4422 *) ac_try_echo=$ac_try;; 4423 esac 4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4425 (eval "$ac_link") 2>conftest.er1 4426 ac_status=$? 4427 grep -v '^ *+' conftest.er1 >conftest.err 4428 rm -f conftest.er1 4429 cat conftest.err >&5 4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4431 (exit $ac_status); } && { 4432 test -z "$ac_c_werror_flag" || 4433 test ! -s conftest.err 4434 } && test -s conftest$ac_exeext && 4435 $as_test_x conftest$ac_exeext; then 4436 ac_cv_func_atol=yes 4437 else 4438 echo "$as_me: failed program was:" >&5 4439 sed 's/^/| /' conftest.$ac_ext >&5 4440 4441 ac_cv_func_atol=no 4442 fi 4443 4444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4445 conftest$ac_exeext conftest.$ac_ext 4446 fi 4447 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4448 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4449 if test $ac_cv_func_atol = yes; then 4450 : 4451 else 4452 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4453 echo "$as_me: error: oops! no atol ?!?" >&2;} 4454 { (exit 1); exit 1; }; } 4679 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4680 4681 fi 4682 4683 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4684 if test "x$ac_cv_func_atol" = xyes; then : 4685 4686 else 4687 as_fn_error $? "oops! no atol ?!?" "$LINENO" 5 4455 4688 fi 4456 4689 … … 4464 4697 4465 4698 4466 4467 4699 for ac_func in sysinfo 4468 do 4469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4470 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4473 echo $ECHO_N "(cached) $ECHO_C" >&6 4474 else 4475 cat >conftest.$ac_ext <<_ACEOF 4476 /* confdefs.h. */ 4477 _ACEOF 4478 cat confdefs.h >>conftest.$ac_ext 4479 cat >>conftest.$ac_ext <<_ACEOF 4480 /* end confdefs.h. */ 4481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4482 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4483 #define $ac_func innocuous_$ac_func 4484 4485 /* System header to define __stub macros and hopefully few prototypes, 4486 which can conflict with char $ac_func (); below. 4487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4488 <limits.h> exists even on freestanding compilers. */ 4489 4490 #ifdef __STDC__ 4491 # include <limits.h> 4492 #else 4493 # include <assert.h> 4494 #endif 4495 4496 #undef $ac_func 4497 4498 /* Override any GCC internal prototype to avoid an error. 4499 Use char because int might match the return type of a GCC 4500 builtin and then its argument prototype would still apply. */ 4501 #ifdef __cplusplus 4502 extern "C" 4503 #endif 4504 char $ac_func (); 4505 /* The GNU C library defines this for functions which it implements 4506 to always fail with ENOSYS. Some functions are actually named 4507 something starting with __ and the normal name is an alias. */ 4508 #if defined __stub_$ac_func || defined __stub___$ac_func 4509 choke me 4510 #endif 4511 4512 int 4513 main () 4514 { 4515 return $ac_func (); 4516 ; 4517 return 0; 4518 } 4519 _ACEOF 4520 rm -f conftest.$ac_objext conftest$ac_exeext 4521 if { (ac_try="$ac_link" 4522 case "(($ac_try" in 4523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4524 *) ac_try_echo=$ac_try;; 4525 esac 4526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4527 (eval "$ac_link") 2>conftest.er1 4528 ac_status=$? 4529 grep -v '^ *+' conftest.er1 >conftest.err 4530 rm -f conftest.er1 4531 cat conftest.err >&5 4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4533 (exit $ac_status); } && { 4534 test -z "$ac_cxx_werror_flag" || 4535 test ! -s conftest.err 4536 } && test -s conftest$ac_exeext && 4537 $as_test_x conftest$ac_exeext; then 4538 eval "$as_ac_var=yes" 4539 else 4540 echo "$as_me: failed program was:" >&5 4541 sed 's/^/| /' conftest.$ac_ext >&5 4542 4543 eval "$as_ac_var=no" 4544 fi 4545 4546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4547 conftest$ac_exeext conftest.$ac_ext 4548 fi 4549 ac_res=`eval echo '${'$as_ac_var'}'` 4550 { echo "$as_me:$LINENO: result: $ac_res" >&5 4551 echo "${ECHO_T}$ac_res" >&6; } 4552 if test `eval echo '${'$as_ac_var'}'` = yes; then 4700 do : 4701 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4702 if test "x$ac_cv_func_sysinfo" = xyes; then : 4553 4703 cat >>confdefs.h <<_ACEOF 4554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4555 _ACEOF 4556 4557 fi 4558 done 4559 4560 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4571 inttypes.h stdint.h unistd.h 4572 do 4573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4574 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4577 echo $ECHO_N "(cached) $ECHO_C" >&6 4578 else 4579 cat >conftest.$ac_ext <<_ACEOF 4580 /* confdefs.h. */ 4581 _ACEOF 4582 cat confdefs.h >>conftest.$ac_ext 4583 cat >>conftest.$ac_ext <<_ACEOF 4584 /* end confdefs.h. */ 4585 $ac_includes_default 4586 4587 #include <$ac_header> 4588 _ACEOF 4589 rm -f conftest.$ac_objext 4590 if { (ac_try="$ac_compile" 4591 case "(($ac_try" in 4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4593 *) ac_try_echo=$ac_try;; 4594 esac 4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4596 (eval "$ac_compile") 2>conftest.er1 4597 ac_status=$? 4598 grep -v '^ *+' conftest.er1 >conftest.err 4599 rm -f conftest.er1 4600 cat conftest.err >&5 4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4602 (exit $ac_status); } && { 4603 test -z "$ac_cxx_werror_flag" || 4604 test ! -s conftest.err 4605 } && test -s conftest.$ac_objext; then 4606 eval "$as_ac_Header=yes" 4607 else 4608 echo "$as_me: failed program was:" >&5 4609 sed 's/^/| /' conftest.$ac_ext >&5 4610 4611 eval "$as_ac_Header=no" 4612 fi 4613 4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4615 fi 4616 ac_res=`eval echo '${'$as_ac_Header'}'` 4617 { echo "$as_me:$LINENO: result: $ac_res" >&5 4618 echo "${ECHO_T}$ac_res" >&6; } 4619 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4620 cat >>confdefs.h <<_ACEOF 4621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4622 _ACEOF 4623 4624 fi 4625 4626 done 4627 4704 #define HAVE_SYSINFO 1 4705 _ACEOF 4706 4707 fi 4708 done 4628 4709 4629 4710 ac_ext=cpp … … 4632 4713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4633 4714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4634 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54635 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4716 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4636 4717 if test -z "$CXXCPP"; then 4637 if test "${ac_cv_prog_CXXCPP+set}" = set; then4638 echo $ECHO_N "(cached) $ECHO_C" >&64718 if ${ac_cv_prog_CXXCPP+:} false; then : 4719 $as_echo_n "(cached) " >&6 4639 4720 else 4640 4721 # Double quotes because CXXCPP needs to be expanded … … 4650 4731 # On the NeXT, cc -E runs the code through the compiler's parser, 4651 4732 # not just through cpp. "Syntax error" is here to catch this case. 4652 cat >conftest.$ac_ext <<_ACEOF 4653 /* confdefs.h. */ 4654 _ACEOF 4655 cat confdefs.h >>conftest.$ac_ext 4656 cat >>conftest.$ac_ext <<_ACEOF 4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4657 4734 /* end confdefs.h. */ 4658 4735 #ifdef __STDC__ … … 4663 4740 Syntax error 4664 4741 _ACEOF 4665 if { (ac_try="$ac_cpp conftest.$ac_ext" 4666 case "(($ac_try" in 4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4668 *) ac_try_echo=$ac_try;; 4669 esac 4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4672 ac_status=$? 4673 grep -v '^ *+' conftest.er1 >conftest.err 4674 rm -f conftest.er1 4675 cat conftest.err >&5 4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4677 (exit $ac_status); } >/dev/null && { 4678 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4679 test ! -s conftest.err 4680 }; then 4681 : 4682 else 4683 echo "$as_me: failed program was:" >&5 4684 sed 's/^/| /' conftest.$ac_ext >&5 4685 4742 if ac_fn_cxx_try_cpp "$LINENO"; then : 4743 4744 else 4686 4745 # Broken: fails on valid input. 4687 4746 continue 4688 4747 fi 4689 4690 rm -f conftest.err conftest.$ac_ext 4748 rm -f conftest.err conftest.i conftest.$ac_ext 4691 4749 4692 4750 # OK, works on sane cases. Now check whether nonexistent headers 4693 4751 # can be detected and how. 4694 cat >conftest.$ac_ext <<_ACEOF 4695 /* confdefs.h. */ 4696 _ACEOF 4697 cat confdefs.h >>conftest.$ac_ext 4698 cat >>conftest.$ac_ext <<_ACEOF 4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4699 4753 /* end confdefs.h. */ 4700 4754 #include <ac_nonexistent.h> 4701 4755 _ACEOF 4702 if { (ac_try="$ac_cpp conftest.$ac_ext" 4703 case "(($ac_try" in 4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4705 *) ac_try_echo=$ac_try;; 4706 esac 4707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4709 ac_status=$? 4710 grep -v '^ *+' conftest.er1 >conftest.err 4711 rm -f conftest.er1 4712 cat conftest.err >&5 4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4714 (exit $ac_status); } >/dev/null && { 4715 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4716 test ! -s conftest.err 4717 }; then 4756 if ac_fn_cxx_try_cpp "$LINENO"; then : 4718 4757 # Broken: success on invalid input. 4719 4758 continue 4720 4759 else 4721 echo "$as_me: failed program was:" >&54722 sed 's/^/| /' conftest.$ac_ext >&54723 4724 4760 # Passes both tests. 4725 4761 ac_preproc_ok=: 4726 4762 break 4727 4763 fi 4728 4729 rm -f conftest.err conftest.$ac_ext 4764 rm -f conftest.err conftest.i conftest.$ac_ext 4730 4765 4731 4766 done 4732 4767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4733 rm -f conftest. err conftest.$ac_ext4734 if $ac_preproc_ok; then 4768 rm -f conftest.i conftest.err conftest.$ac_ext 4769 if $ac_preproc_ok; then : 4735 4770 break 4736 4771 fi … … 4744 4779 ac_cv_prog_CXXCPP=$CXXCPP 4745 4780 fi 4746 { echo "$as_me:$LINENO: result: $CXXCPP" >&54747 echo "${ECHO_T}$CXXCPP" >&6; }4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4782 $as_echo "$CXXCPP" >&6; } 4748 4783 ac_preproc_ok=false 4749 4784 for ac_cxx_preproc_warn_flag in '' yes … … 4755 4790 # On the NeXT, cc -E runs the code through the compiler's parser, 4756 4791 # not just through cpp. "Syntax error" is here to catch this case. 4757 cat >conftest.$ac_ext <<_ACEOF 4758 /* confdefs.h. */ 4759 _ACEOF 4760 cat confdefs.h >>conftest.$ac_ext 4761 cat >>conftest.$ac_ext <<_ACEOF 4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4762 4793 /* end confdefs.h. */ 4763 4794 #ifdef __STDC__ … … 4768 4799 Syntax error 4769 4800 _ACEOF 4770 if { (ac_try="$ac_cpp conftest.$ac_ext" 4771 case "(($ac_try" in 4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4773 *) ac_try_echo=$ac_try;; 4774 esac 4775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4777 ac_status=$? 4778 grep -v '^ *+' conftest.er1 >conftest.err 4779 rm -f conftest.er1 4780 cat conftest.err >&5 4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4782 (exit $ac_status); } >/dev/null && { 4783 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4784 test ! -s conftest.err 4785 }; then 4786 : 4787 else 4788 echo "$as_me: failed program was:" >&5 4789 sed 's/^/| /' conftest.$ac_ext >&5 4790 4801 if ac_fn_cxx_try_cpp "$LINENO"; then : 4802 4803 else 4791 4804 # Broken: fails on valid input. 4792 4805 continue 4793 4806 fi 4794 4795 rm -f conftest.err conftest.$ac_ext 4807 rm -f conftest.err conftest.i conftest.$ac_ext 4796 4808 4797 4809 # OK, works on sane cases. Now check whether nonexistent headers 4798 4810 # can be detected and how. 4799 cat >conftest.$ac_ext <<_ACEOF 4800 /* confdefs.h. */ 4801 _ACEOF 4802 cat confdefs.h >>conftest.$ac_ext 4803 cat >>conftest.$ac_ext <<_ACEOF 4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4804 4812 /* end confdefs.h. */ 4805 4813 #include <ac_nonexistent.h> 4806 4814 _ACEOF 4807 if { (ac_try="$ac_cpp conftest.$ac_ext" 4808 case "(($ac_try" in 4809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4810 *) ac_try_echo=$ac_try;; 4811 esac 4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4814 ac_status=$? 4815 grep -v '^ *+' conftest.er1 >conftest.err 4816 rm -f conftest.er1 4817 cat conftest.err >&5 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); } >/dev/null && { 4820 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4821 test ! -s conftest.err 4822 }; then 4815 if ac_fn_cxx_try_cpp "$LINENO"; then : 4823 4816 # Broken: success on invalid input. 4824 4817 continue 4825 4818 else 4826 echo "$as_me: failed program was:" >&54827 sed 's/^/| /' conftest.$ac_ext >&54828 4829 4819 # Passes both tests. 4830 4820 ac_preproc_ok=: 4831 4821 break 4832 4822 fi 4833 4834 rm -f conftest.err conftest.$ac_ext 4823 rm -f conftest.err conftest.i conftest.$ac_ext 4835 4824 4836 4825 done 4837 4826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4838 rm -f conftest.err conftest.$ac_ext 4839 if $ac_preproc_ok; then 4840 : 4841 else 4842 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4843 See \`config.log' for more details." >&5 4844 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4845 See \`config.log' for more details." >&2;} 4846 { (exit 1); exit 1; }; } 4827 rm -f conftest.i conftest.err conftest.$ac_ext 4828 if $ac_preproc_ok; then : 4829 4830 else 4831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4833 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4834 See \`config.log' for more details" "$LINENO" 5; } 4847 4835 fi 4848 4836 … … 4854 4842 4855 4843 4844 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4845 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4846 inttypes.h stdint.h unistd.h 4847 do : 4848 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4849 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4850 " 4851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4852 cat >>confdefs.h <<_ACEOF 4853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4854 _ACEOF 4855 4856 fi 4857 4858 done 4859 4856 4860 4857 4861 for ac_header in sys/sysinfo.h 4858 do 4859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4861 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4864 echo $ECHO_N "(cached) $ECHO_C" >&6 4865 fi 4866 ac_res=`eval echo '${'$as_ac_Header'}'` 4867 { echo "$as_me:$LINENO: result: $ac_res" >&5 4868 echo "${ECHO_T}$ac_res" >&6; } 4869 else 4870 # Is the header compilable? 4871 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4873 cat >conftest.$ac_ext <<_ACEOF 4874 /* confdefs.h. */ 4875 _ACEOF 4876 cat confdefs.h >>conftest.$ac_ext 4877 cat >>conftest.$ac_ext <<_ACEOF 4878 /* end confdefs.h. */ 4879 $ac_includes_default 4880 #include <$ac_header> 4881 _ACEOF 4882 rm -f conftest.$ac_objext 4883 if { (ac_try="$ac_compile" 4884 case "(($ac_try" in 4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4886 *) ac_try_echo=$ac_try;; 4887 esac 4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4889 (eval "$ac_compile") 2>conftest.er1 4890 ac_status=$? 4891 grep -v '^ *+' conftest.er1 >conftest.err 4892 rm -f conftest.er1 4893 cat conftest.err >&5 4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4895 (exit $ac_status); } && { 4896 test -z "$ac_cxx_werror_flag" || 4897 test ! -s conftest.err 4898 } && test -s conftest.$ac_objext; then 4899 ac_header_compiler=yes 4900 else 4901 echo "$as_me: failed program was:" >&5 4902 sed 's/^/| /' conftest.$ac_ext >&5 4903 4904 ac_header_compiler=no 4905 fi 4906 4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4908 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4909 echo "${ECHO_T}$ac_header_compiler" >&6; } 4910 4911 # Is the header present? 4912 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4914 cat >conftest.$ac_ext <<_ACEOF 4915 /* confdefs.h. */ 4916 _ACEOF 4917 cat confdefs.h >>conftest.$ac_ext 4918 cat >>conftest.$ac_ext <<_ACEOF 4919 /* end confdefs.h. */ 4920 #include <$ac_header> 4921 _ACEOF 4922 if { (ac_try="$ac_cpp conftest.$ac_ext" 4923 case "(($ac_try" in 4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4925 *) ac_try_echo=$ac_try;; 4926 esac 4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4929 ac_status=$? 4930 grep -v '^ *+' conftest.er1 >conftest.err 4931 rm -f conftest.er1 4932 cat conftest.err >&5 4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4934 (exit $ac_status); } >/dev/null && { 4935 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4936 test ! -s conftest.err 4937 }; then 4938 ac_header_preproc=yes 4939 else 4940 echo "$as_me: failed program was:" >&5 4941 sed 's/^/| /' conftest.$ac_ext >&5 4942 4943 ac_header_preproc=no 4944 fi 4945 4946 rm -f conftest.err conftest.$ac_ext 4947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4948 echo "${ECHO_T}$ac_header_preproc" >&6; } 4949 4950 # So? What about this header? 4951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4952 yes:no: ) 4953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4957 ac_header_preproc=yes 4958 ;; 4959 no:yes:* ) 4960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4972 ( cat <<\_ASBOX 4973 ## ----------------------------------- ## 4974 ## Report this to rappture@nanohub.org ## 4975 ## ----------------------------------- ## 4976 _ASBOX 4977 ) | sed "s/^/$as_me: WARNING: /" >&2 4978 ;; 4979 esac 4980 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4983 echo $ECHO_N "(cached) $ECHO_C" >&6 4984 else 4985 eval "$as_ac_Header=\$ac_header_preproc" 4986 fi 4987 ac_res=`eval echo '${'$as_ac_Header'}'` 4988 { echo "$as_me:$LINENO: result: $ac_res" >&5 4989 echo "${ECHO_T}$ac_res" >&6; } 4990 4991 fi 4992 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4862 do : 4863 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4864 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 4993 4865 cat >>confdefs.h <<_ACEOF 4994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4995 _ACEOF 4996 4997 fi 4998 4999 done 5000 5001 5002 5003 { echo "$as_me:$LINENO: checking for main in -lm" >&5 5004 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 5005 if test "${ac_cv_lib_m_main+set}" = set; then 5006 echo $ECHO_N "(cached) $ECHO_C" >&6 4866 #define HAVE_SYS_SYSINFO_H 1 4867 _ACEOF 4868 4869 fi 4870 4871 done 4872 4873 4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4875 $as_echo_n "checking for main in -lm... " >&6; } 4876 if ${ac_cv_lib_m_main+:} false; then : 4877 $as_echo_n "(cached) " >&6 5007 4878 else 5008 4879 ac_check_lib_save_LIBS=$LIBS 5009 4880 LIBS="-lm $LIBS" 5010 cat >conftest.$ac_ext <<_ACEOF 5011 /* confdefs.h. */ 5012 _ACEOF 5013 cat confdefs.h >>conftest.$ac_ext 5014 cat >>conftest.$ac_ext <<_ACEOF 4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5015 4882 /* end confdefs.h. */ 5016 4883 … … 5024 4891 } 5025 4892 _ACEOF 5026 rm -f conftest.$ac_objext conftest$ac_exeext 5027 if { (ac_try="$ac_link" 5028 case "(($ac_try" in 5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5030 *) ac_try_echo=$ac_try;; 5031 esac 5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5033 (eval "$ac_link") 2>conftest.er1 5034 ac_status=$? 5035 grep -v '^ *+' conftest.er1 >conftest.err 5036 rm -f conftest.er1 5037 cat conftest.err >&5 5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5039 (exit $ac_status); } && { 5040 test -z "$ac_cxx_werror_flag" || 5041 test ! -s conftest.err 5042 } && test -s conftest$ac_exeext && 5043 $as_test_x conftest$ac_exeext; then 4893 if ac_fn_cxx_try_link "$LINENO"; then : 5044 4894 ac_cv_lib_m_main=yes 5045 4895 else 5046 echo "$as_me: failed program was:" >&5 5047 sed 's/^/| /' conftest.$ac_ext >&5 5048 5049 ac_cv_lib_m_main=no 5050 fi 5051 5052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5053 conftest$ac_exeext conftest.$ac_ext 4896 ac_cv_lib_m_main=no 4897 fi 4898 rm -f core conftest.err conftest.$ac_objext \ 4899 conftest$ac_exeext conftest.$ac_ext 5054 4900 LIBS=$ac_check_lib_save_LIBS 5055 4901 fi 5056 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55057 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5058 if test $ac_cv_lib_m_main = yes; then4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4903 $as_echo "$ac_cv_lib_m_main" >&6; } 4904 if test "x$ac_cv_lib_m_main" = xyes; then : 5059 4905 cat >>confdefs.h <<_ACEOF 5060 4906 #define HAVE_LIBM 1 … … 5064 4910 5065 4911 else 5066 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5067 echo "$as_me: error: librappture requires libm" >&2;} 5068 { (exit 1); exit 1; }; } 5069 fi 5070 5071 5072 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5073 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5074 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5075 echo $ECHO_N "(cached) $ECHO_C" >&6 4912 as_fn_error $? "librappture requires libm" "$LINENO" 5 4913 fi 4914 4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4916 $as_echo_n "checking for main in -lstdc++... " >&6; } 4917 if ${ac_cv_lib_stdcpp_main+:} false; then : 4918 $as_echo_n "(cached) " >&6 5076 4919 else 5077 4920 ac_check_lib_save_LIBS=$LIBS 5078 4921 LIBS="-lstdc++ $LIBS" 5079 cat >conftest.$ac_ext <<_ACEOF 5080 /* confdefs.h. */ 5081 _ACEOF 5082 cat confdefs.h >>conftest.$ac_ext 5083 cat >>conftest.$ac_ext <<_ACEOF 4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5084 4923 /* end confdefs.h. */ 5085 4924 … … 5093 4932 } 5094 4933 _ACEOF 5095 rm -f conftest.$ac_objext conftest$ac_exeext 5096 if { (ac_try="$ac_link" 5097 case "(($ac_try" in 5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5099 *) ac_try_echo=$ac_try;; 5100 esac 5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5102 (eval "$ac_link") 2>conftest.er1 5103 ac_status=$? 5104 grep -v '^ *+' conftest.er1 >conftest.err 5105 rm -f conftest.er1 5106 cat conftest.err >&5 5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5108 (exit $ac_status); } && { 5109 test -z "$ac_cxx_werror_flag" || 5110 test ! -s conftest.err 5111 } && test -s conftest$ac_exeext && 5112 $as_test_x conftest$ac_exeext; then 4934 if ac_fn_cxx_try_link "$LINENO"; then : 5113 4935 ac_cv_lib_stdcpp_main=yes 5114 4936 else 5115 echo "$as_me: failed program was:" >&5 5116 sed 's/^/| /' conftest.$ac_ext >&5 5117 5118 ac_cv_lib_stdcpp_main=no 5119 fi 5120 5121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5122 conftest$ac_exeext conftest.$ac_ext 4937 ac_cv_lib_stdcpp_main=no 4938 fi 4939 rm -f core conftest.err conftest.$ac_objext \ 4940 conftest$ac_exeext conftest.$ac_ext 5123 4941 LIBS=$ac_check_lib_save_LIBS 5124 4942 fi 5125 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55126 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5127 if test $ac_cv_lib_stdcpp_main = yes; then4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5