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