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