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