1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.69. 4@%:@ 5@%:@ 6@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7@%:@ 8@%:@ 9@%:@ This configure script is free software; the Free Software Foundation 10@%:@ gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in @%:@( 26 *posix*) : 27 set -o posix ;; @%:@( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in @%:@( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in @%:@(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in @%:@ (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in @%:@( 170 *posix*) : 171 set -o posix ;; @%:@( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201else 202 as_have_required=no 203fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208as_found=false 209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210do 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in @%:@( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224fi 225fi 226 done;; 227 esac 228 as_found=false 229done 230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233fi; } 234IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240# neutralization value for shells without unset; and this also 241# works around shells that cannot unset nonexistent variables. 242# Preserve -v and -x to the replacement shell. 243BASH_ENV=/dev/null 244ENV=/dev/null 245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246case $- in @%:@ (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251esac 252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253# Admittedly, this is quite paranoid, since all the known shells bail 254# out after a failed `exec'. 255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256exit 255 257fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 265 else 266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 267$0: including any error possibly output before this 268$0: message. Then install a modern shell, or manually run 269$0: the script under such a shell if you do have one." 270 fi 271 exit 1 272fi 273fi 274fi 275SHELL=${CONFIG_SHELL-/bin/sh} 276export SHELL 277# Unset more variables known to interfere with behavior of common tools. 278CLICOLOR_FORCE= GREP_OPTIONS= 279unset CLICOLOR_FORCE GREP_OPTIONS 280 281## --------------------- ## 282## M4sh Shell Functions. ## 283## --------------------- ## 284@%:@ as_fn_unset VAR 285@%:@ --------------- 286@%:@ Portably unset VAR. 287as_fn_unset () 288{ 289 { eval $1=; unset $1;} 290} 291as_unset=as_fn_unset 292 293@%:@ as_fn_set_status STATUS 294@%:@ ----------------------- 295@%:@ Set @S|@? to STATUS, without forking. 296as_fn_set_status () 297{ 298 return $1 299} @%:@ as_fn_set_status 300 301@%:@ as_fn_exit STATUS 302@%:@ ----------------- 303@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304as_fn_exit () 305{ 306 set +e 307 as_fn_set_status $1 308 exit $1 309} @%:@ as_fn_exit 310 311@%:@ as_fn_mkdir_p 312@%:@ ------------- 313@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 314as_fn_mkdir_p () 315{ 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333$as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357} @%:@ as_fn_mkdir_p 358 359@%:@ as_fn_executable_p FILE 360@%:@ ----------------------- 361@%:@ Test if FILE is an executable regular file. 362as_fn_executable_p () 363{ 364 test -f "$1" && test -x "$1" 365} @%:@ as_fn_executable_p 366@%:@ as_fn_append VAR VALUE 367@%:@ ---------------------- 368@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 369@%:@ advantage of any shell optimizations that allow amortized linear growth over 370@%:@ repeated appends, instead of the typical quadratic growth present in naive 371@%:@ implementations. 372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382fi # as_fn_append 383 384@%:@ as_fn_arith ARG... 385@%:@ ------------------ 386@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 387@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 388@%:@ must be portable across @S|@(()) and expr. 389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399fi # as_fn_arith 400 401 402@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 403@%:@ ---------------------------------------- 404@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406@%:@ script with STATUS, using 1 if that was 0. 407as_fn_error () 408{ 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416} @%:@ as_fn_error 417 418if expr a : '\(a\)' >/dev/null 2>&1 && 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 as_expr=expr 421else 422 as_expr=false 423fi 424 425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 426 as_basename=basename 427else 428 as_basename=false 429fi 430 431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433else 434 as_dirname=false 435fi 436 437as_me=`$as_basename -- "$0" || 438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441$as_echo X/"$0" | 442 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 s//\1/ 444 q 445 } 446 /^X\/\(\/\/\)$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\).*/{ 451 s//\1/ 452 q 453 } 454 s/.*/./; q'` 455 456# Avoid depending upon Character Ranges. 457as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460as_cr_digits='0123456789' 461as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 469 sed -n ' 470 p 471 /[$]LINENO/= 472 ' <$as_myself | 473 sed ' 474 s/[$]LINENO.*/&-/ 475 t lineno 476 b 477 :lineno 478 N 479 :loop 480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 t loop 482 s/-\n.*// 483 ' >$as_me.lineno && 484 chmod +x "$as_me.lineno" || 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 491 # Don't try to exec as it changes $[0], causing all sort of problems 492 # (the dirname of $[0] is not the place where we might find the 493 # original and so on. Autoconf is especially sensitive to this). 494 . "./$as_me.lineno" 495 # Exit status is that of the last command. 496 exit 497} 498 499ECHO_C= ECHO_N= ECHO_T= 500case `echo -n x` in @%:@((((( 501-n*) 502 case `echo 'xy\c'` in 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 507 esac;; 508*) 509 ECHO_N='-n';; 510esac 511 512rm -f conf$$ conf$$.exe conf$$.file 513if test -d conf$$.dir; then 514 rm -f conf$$.dir/conf$$.file 515else 516 rm -f conf$$.dir 517 mkdir conf$$.dir 2>/dev/null 518fi 519if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -pR'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -pR' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -pR' 532 fi 533else 534 as_ln_s='cp -pR' 535fi 536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rmdir conf$$.dir 2>/dev/null 538 539if mkdir -p . 2>/dev/null; then 540 as_mkdir_p='mkdir -p "$as_dir"' 541else 542 test -d ./-p && rmdir ./-p 543 as_mkdir_p=false 544fi 545 546as_test_x='test -x' 547as_executable_p=as_fn_executable_p 548 549# Sed expression to map a string onto a valid CPP name. 550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551 552# Sed expression to map a string onto a valid variable name. 553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554 555 556test -n "$DJDIR" || exec 7<&0 </dev/null 557exec 6>&1 558 559# Name of the host. 560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 561# so uname gets run too. 562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563 564# 565# Initializations. 566# 567ac_default_prefix=/usr/local 568ac_clean_files= 569ac_config_libobj_dir=. 570LIB@&t@OBJS= 571cross_compiling=no 572subdirs= 573MFLAGS= 574MAKEFLAGS= 575 576# Identity of this package. 577PACKAGE_NAME= 578PACKAGE_TARNAME= 579PACKAGE_VERSION= 580PACKAGE_STRING= 581PACKAGE_BUGREPORT= 582PACKAGE_URL= 583 584ac_unique_file="src/nana.h" 585ac_subst_vars='LTLIBOBJS 586LIB@&t@OBJS 587GDB 588FIND 589TAR 590FMT 591RANLIB 592CXXCPP 593ac_ct_CXX 594CXXFLAGS 595CXX 596CPP 597AWK 598OBJEXT 599EXEEXT 600ac_ct_CC 601CPPFLAGS 602LDFLAGS 603CFLAGS 604CC 605HAVE_RDTSC 606ALWAYS_INCLUDE_MALLOC 607DL_MAKE_VALID_BREAKPOINT 608DI_MAKE_VALID_BREAKPOINT 609I_DEFAULT_HANDLER 610PREV_VERSION 611SET_MAKE 612MAKEINFO 613AUTOHEADER 614AUTOMAKE 615AUTOCONF 616ACLOCAL 617VERSION 618PACKAGE 619INSTALL_DATA 620INSTALL_SCRIPT 621INSTALL_PROGRAM 622target_os 623target_vendor 624target_cpu 625target 626host_os 627host_vendor 628host_cpu 629host 630build_os 631build_vendor 632build_cpu 633build 634target_alias 635host_alias 636build_alias 637LIBS 638ECHO_T 639ECHO_N 640ECHO_C 641DEFS 642mandir 643localedir 644libdir 645psdir 646pdfdir 647dvidir 648htmldir 649infodir 650docdir 651oldincludedir 652includedir 653localstatedir 654sharedstatedir 655sysconfdir 656datadir 657datarootdir 658libexecdir 659sbindir 660bindir 661program_transform_name 662prefix 663exec_prefix 664PACKAGE_URL 665PACKAGE_BUGREPORT 666PACKAGE_STRING 667PACKAGE_VERSION 668PACKAGE_TARNAME 669PACKAGE_NAME 670PATH_SEPARATOR 671SHELL' 672ac_subst_files='' 673ac_user_opts=' 674enable_option_checking 675enable_rdtsc 676' 677 ac_precious_vars='build_alias 678host_alias 679target_alias 680CC 681CFLAGS 682LDFLAGS 683LIBS 684CPPFLAGS 685CPP 686CXX 687CXXFLAGS 688CCC 689CXXCPP' 690 691 692# Initialize some variables set by options. 693ac_init_help= 694ac_init_version=false 695ac_unrecognized_opts= 696ac_unrecognized_sep= 697# The variables have the same names as the options, with 698# dashes changed to underlines. 699cache_file=/dev/null 700exec_prefix=NONE 701no_create= 702no_recursion= 703prefix=NONE 704program_prefix=NONE 705program_suffix=NONE 706program_transform_name=s,x,x, 707silent= 708site= 709srcdir= 710verbose= 711x_includes=NONE 712x_libraries=NONE 713 714# Installation directory options. 715# These are left unexpanded so users can "make install exec_prefix=/foo" 716# and all the variables that are supposed to be based on exec_prefix 717# by default will actually change. 718# Use braces instead of parens because sh, perl, etc. also accept them. 719# (The list follows the same order as the GNU Coding Standards.) 720bindir='${exec_prefix}/bin' 721sbindir='${exec_prefix}/sbin' 722libexecdir='${exec_prefix}/libexec' 723datarootdir='${prefix}/share' 724datadir='${datarootdir}' 725sysconfdir='${prefix}/etc' 726sharedstatedir='${prefix}/com' 727localstatedir='${prefix}/var' 728includedir='${prefix}/include' 729oldincludedir='/usr/include' 730docdir='${datarootdir}/doc/${PACKAGE}' 731infodir='${datarootdir}/info' 732htmldir='${docdir}' 733dvidir='${docdir}' 734pdfdir='${docdir}' 735psdir='${docdir}' 736libdir='${exec_prefix}/lib' 737localedir='${datarootdir}/locale' 738mandir='${datarootdir}/man' 739 740ac_prev= 741ac_dashdash= 742for ac_option 743do 744 # If the previous option needs an argument, assign it. 745 if test -n "$ac_prev"; then 746 eval $ac_prev=\$ac_option 747 ac_prev= 748 continue 749 fi 750 751 case $ac_option in 752 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 753 *=) ac_optarg= ;; 754 *) ac_optarg=yes ;; 755 esac 756 757 # Accept the important Cygnus configure options, so we can diagnose typos. 758 759 case $ac_dashdash$ac_option in 760 --) 761 ac_dashdash=yes ;; 762 763 -bindir | --bindir | --bindi | --bind | --bin | --bi) 764 ac_prev=bindir ;; 765 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 766 bindir=$ac_optarg ;; 767 768 -build | --build | --buil | --bui | --bu) 769 ac_prev=build_alias ;; 770 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 771 build_alias=$ac_optarg ;; 772 773 -cache-file | --cache-file | --cache-fil | --cache-fi \ 774 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 775 ac_prev=cache_file ;; 776 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 777 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 778 cache_file=$ac_optarg ;; 779 780 --config-cache | -C) 781 cache_file=config.cache ;; 782 783 -datadir | --datadir | --datadi | --datad) 784 ac_prev=datadir ;; 785 -datadir=* | --datadir=* | --datadi=* | --datad=*) 786 datadir=$ac_optarg ;; 787 788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 789 | --dataroo | --dataro | --datar) 790 ac_prev=datarootdir ;; 791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 793 datarootdir=$ac_optarg ;; 794 795 -disable-* | --disable-*) 796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 797 # Reject names that are not valid shell variable names. 798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 799 as_fn_error $? "invalid feature name: $ac_useropt" 800 ac_useropt_orig=$ac_useropt 801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 802 case $ac_user_opts in 803 *" 804"enable_$ac_useropt" 805"*) ;; 806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 807 ac_unrecognized_sep=', ';; 808 esac 809 eval enable_$ac_useropt=no ;; 810 811 -docdir | --docdir | --docdi | --doc | --do) 812 ac_prev=docdir ;; 813 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 814 docdir=$ac_optarg ;; 815 816 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 817 ac_prev=dvidir ;; 818 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 819 dvidir=$ac_optarg ;; 820 821 -enable-* | --enable-*) 822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 823 # Reject names that are not valid shell variable names. 824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 825 as_fn_error $? "invalid feature name: $ac_useropt" 826 ac_useropt_orig=$ac_useropt 827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 828 case $ac_user_opts in 829 *" 830"enable_$ac_useropt" 831"*) ;; 832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 833 ac_unrecognized_sep=', ';; 834 esac 835 eval enable_$ac_useropt=\$ac_optarg ;; 836 837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 839 | --exec | --exe | --ex) 840 ac_prev=exec_prefix ;; 841 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 842 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 843 | --exec=* | --exe=* | --ex=*) 844 exec_prefix=$ac_optarg ;; 845 846 -gas | --gas | --ga | --g) 847 # Obsolete; use --with-gas. 848 with_gas=yes ;; 849 850 -help | --help | --hel | --he | -h) 851 ac_init_help=long ;; 852 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 853 ac_init_help=recursive ;; 854 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 855 ac_init_help=short ;; 856 857 -host | --host | --hos | --ho) 858 ac_prev=host_alias ;; 859 -host=* | --host=* | --hos=* | --ho=*) 860 host_alias=$ac_optarg ;; 861 862 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 863 ac_prev=htmldir ;; 864 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 865 | --ht=*) 866 htmldir=$ac_optarg ;; 867 868 -includedir | --includedir | --includedi | --included | --include \ 869 | --includ | --inclu | --incl | --inc) 870 ac_prev=includedir ;; 871 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 872 | --includ=* | --inclu=* | --incl=* | --inc=*) 873 includedir=$ac_optarg ;; 874 875 -infodir | --infodir | --infodi | --infod | --info | --inf) 876 ac_prev=infodir ;; 877 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 878 infodir=$ac_optarg ;; 879 880 -libdir | --libdir | --libdi | --libd) 881 ac_prev=libdir ;; 882 -libdir=* | --libdir=* | --libdi=* | --libd=*) 883 libdir=$ac_optarg ;; 884 885 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 886 | --libexe | --libex | --libe) 887 ac_prev=libexecdir ;; 888 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 889 | --libexe=* | --libex=* | --libe=*) 890 libexecdir=$ac_optarg ;; 891 892 -localedir | --localedir | --localedi | --localed | --locale) 893 ac_prev=localedir ;; 894 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 895 localedir=$ac_optarg ;; 896 897 -localstatedir | --localstatedir | --localstatedi | --localstated \ 898 | --localstate | --localstat | --localsta | --localst | --locals) 899 ac_prev=localstatedir ;; 900 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 901 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 902 localstatedir=$ac_optarg ;; 903 904 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 905 ac_prev=mandir ;; 906 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 907 mandir=$ac_optarg ;; 908 909 -nfp | --nfp | --nf) 910 # Obsolete; use --without-fp. 911 with_fp=no ;; 912 913 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 914 | --no-cr | --no-c | -n) 915 no_create=yes ;; 916 917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 919 no_recursion=yes ;; 920 921 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 922 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 923 | --oldin | --oldi | --old | --ol | --o) 924 ac_prev=oldincludedir ;; 925 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 926 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 927 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 928 oldincludedir=$ac_optarg ;; 929 930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 931 ac_prev=prefix ;; 932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 933 prefix=$ac_optarg ;; 934 935 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 936 | --program-pre | --program-pr | --program-p) 937 ac_prev=program_prefix ;; 938 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 939 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 940 program_prefix=$ac_optarg ;; 941 942 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 943 | --program-suf | --program-su | --program-s) 944 ac_prev=program_suffix ;; 945 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 946 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 947 program_suffix=$ac_optarg ;; 948 949 -program-transform-name | --program-transform-name \ 950 | --program-transform-nam | --program-transform-na \ 951 | --program-transform-n | --program-transform- \ 952 | --program-transform | --program-transfor \ 953 | --program-transfo | --program-transf \ 954 | --program-trans | --program-tran \ 955 | --progr-tra | --program-tr | --program-t) 956 ac_prev=program_transform_name ;; 957 -program-transform-name=* | --program-transform-name=* \ 958 | --program-transform-nam=* | --program-transform-na=* \ 959 | --program-transform-n=* | --program-transform-=* \ 960 | --program-transform=* | --program-transfor=* \ 961 | --program-transfo=* | --program-transf=* \ 962 | --program-trans=* | --program-tran=* \ 963 | --progr-tra=* | --program-tr=* | --program-t=*) 964 program_transform_name=$ac_optarg ;; 965 966 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 967 ac_prev=pdfdir ;; 968 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 969 pdfdir=$ac_optarg ;; 970 971 -psdir | --psdir | --psdi | --psd | --ps) 972 ac_prev=psdir ;; 973 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 974 psdir=$ac_optarg ;; 975 976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 977 | -silent | --silent | --silen | --sile | --sil) 978 silent=yes ;; 979 980 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 981 ac_prev=sbindir ;; 982 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 983 | --sbi=* | --sb=*) 984 sbindir=$ac_optarg ;; 985 986 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 987 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 988 | --sharedst | --shareds | --shared | --share | --shar \ 989 | --sha | --sh) 990 ac_prev=sharedstatedir ;; 991 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 992 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 993 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 994 | --sha=* | --sh=*) 995 sharedstatedir=$ac_optarg ;; 996 997 -site | --site | --sit) 998 ac_prev=site ;; 999 -site=* | --site=* | --sit=*) 1000 site=$ac_optarg ;; 1001 1002 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1003 ac_prev=srcdir ;; 1004 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1005 srcdir=$ac_optarg ;; 1006 1007 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1008 | --syscon | --sysco | --sysc | --sys | --sy) 1009 ac_prev=sysconfdir ;; 1010 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1011 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1012 sysconfdir=$ac_optarg ;; 1013 1014 -target | --target | --targe | --targ | --tar | --ta | --t) 1015 ac_prev=target_alias ;; 1016 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1017 target_alias=$ac_optarg ;; 1018 1019 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1020 verbose=yes ;; 1021 1022 -version | --version | --versio | --versi | --vers | -V) 1023 ac_init_version=: ;; 1024 1025 -with-* | --with-*) 1026 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1027 # Reject names that are not valid shell variable names. 1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1029 as_fn_error $? "invalid package name: $ac_useropt" 1030 ac_useropt_orig=$ac_useropt 1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1032 case $ac_user_opts in 1033 *" 1034"with_$ac_useropt" 1035"*) ;; 1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1037 ac_unrecognized_sep=', ';; 1038 esac 1039 eval with_$ac_useropt=\$ac_optarg ;; 1040 1041 -without-* | --without-*) 1042 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1043 # Reject names that are not valid shell variable names. 1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1045 as_fn_error $? "invalid package name: $ac_useropt" 1046 ac_useropt_orig=$ac_useropt 1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1048 case $ac_user_opts in 1049 *" 1050"with_$ac_useropt" 1051"*) ;; 1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1053 ac_unrecognized_sep=', ';; 1054 esac 1055 eval with_$ac_useropt=no ;; 1056 1057 --x) 1058 # Obsolete; use --with-x. 1059 with_x=yes ;; 1060 1061 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1062 | --x-incl | --x-inc | --x-in | --x-i) 1063 ac_prev=x_includes ;; 1064 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1065 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1066 x_includes=$ac_optarg ;; 1067 1068 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1069 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1070 ac_prev=x_libraries ;; 1071 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1072 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1073 x_libraries=$ac_optarg ;; 1074 1075 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1076Try \`$0 --help' for more information" 1077 ;; 1078 1079 *=*) 1080 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1081 # Reject names that are not valid shell variable names. 1082 case $ac_envvar in #( 1083 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1084 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1085 esac 1086 eval $ac_envvar=\$ac_optarg 1087 export $ac_envvar ;; 1088 1089 *) 1090 # FIXME: should be removed in autoconf 3.0. 1091 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1092 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1093 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1094 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1095 ;; 1096 1097 esac 1098done 1099 1100if test -n "$ac_prev"; then 1101 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1102 as_fn_error $? "missing argument to $ac_option" 1103fi 1104 1105if test -n "$ac_unrecognized_opts"; then 1106 case $enable_option_checking in 1107 no) ;; 1108 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1109 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1110 esac 1111fi 1112 1113# Check all directory arguments for consistency. 1114for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1115 datadir sysconfdir sharedstatedir localstatedir includedir \ 1116 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1117 libdir localedir mandir 1118do 1119 eval ac_val=\$$ac_var 1120 # Remove trailing slashes. 1121 case $ac_val in 1122 */ ) 1123 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1124 eval $ac_var=\$ac_val;; 1125 esac 1126 # Be sure to have absolute directory names. 1127 case $ac_val in 1128 [\\/$]* | ?:[\\/]* ) continue;; 1129 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1130 esac 1131 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1132done 1133 1134# There might be people who depend on the old broken behavior: `$host' 1135# used to hold the argument of --host etc. 1136# FIXME: To remove some day. 1137build=$build_alias 1138host=$host_alias 1139target=$target_alias 1140 1141# FIXME: To remove some day. 1142if test "x$host_alias" != x; then 1143 if test "x$build_alias" = x; then 1144 cross_compiling=maybe 1145 elif test "x$build_alias" != "x$host_alias"; then 1146 cross_compiling=yes 1147 fi 1148fi 1149 1150ac_tool_prefix= 1151test -n "$host_alias" && ac_tool_prefix=$host_alias- 1152 1153test "$silent" = yes && exec 6>/dev/null 1154 1155 1156ac_pwd=`pwd` && test -n "$ac_pwd" && 1157ac_ls_di=`ls -di .` && 1158ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1159 as_fn_error $? "working directory cannot be determined" 1160test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1161 as_fn_error $? "pwd does not report name of working directory" 1162 1163 1164# Find the source files, if location was not specified. 1165if test -z "$srcdir"; then 1166 ac_srcdir_defaulted=yes 1167 # Try the directory containing this script, then the parent directory. 1168 ac_confdir=`$as_dirname -- "$as_myself" || 1169$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1170 X"$as_myself" : 'X\(//\)[^/]' \| \ 1171 X"$as_myself" : 'X\(//\)$' \| \ 1172 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1173$as_echo X"$as_myself" | 1174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1175 s//\1/ 1176 q 1177 } 1178 /^X\(\/\/\)[^/].*/{ 1179 s//\1/ 1180 q 1181 } 1182 /^X\(\/\/\)$/{ 1183 s//\1/ 1184 q 1185 } 1186 /^X\(\/\).*/{ 1187 s//\1/ 1188 q 1189 } 1190 s/.*/./; q'` 1191 srcdir=$ac_confdir 1192 if test ! -r "$srcdir/$ac_unique_file"; then 1193 srcdir=.. 1194 fi 1195else 1196 ac_srcdir_defaulted=no 1197fi 1198if test ! -r "$srcdir/$ac_unique_file"; then 1199 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1200 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1201fi 1202ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1203ac_abs_confdir=`( 1204 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1205 pwd)` 1206# When building in place, set srcdir=. 1207if test "$ac_abs_confdir" = "$ac_pwd"; then 1208 srcdir=. 1209fi 1210# Remove unnecessary trailing slashes from srcdir. 1211# Double slashes in file names in object file debugging info 1212# mess up M-x gdb in Emacs. 1213case $srcdir in 1214*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1215esac 1216for ac_var in $ac_precious_vars; do 1217 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1218 eval ac_env_${ac_var}_value=\$${ac_var} 1219 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1220 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1221done 1222 1223# 1224# Report the --help message. 1225# 1226if test "$ac_init_help" = "long"; then 1227 # Omit some internal or obsolete options to make the list less imposing. 1228 # This message is too long to be a string in the A/UX 3.1 sh. 1229 cat <<_ACEOF 1230\`configure' configures this package to adapt to many kinds of systems. 1231 1232Usage: $0 [OPTION]... [VAR=VALUE]... 1233 1234To assign environment variables (e.g., CC, CFLAGS...), specify them as 1235VAR=VALUE. See below for descriptions of some of the useful variables. 1236 1237Defaults for the options are specified in brackets. 1238 1239Configuration: 1240 -h, --help display this help and exit 1241 --help=short display options specific to this package 1242 --help=recursive display the short help of all the included packages 1243 -V, --version display version information and exit 1244 -q, --quiet, --silent do not print \`checking ...' messages 1245 --cache-file=FILE cache test results in FILE [disabled] 1246 -C, --config-cache alias for \`--cache-file=config.cache' 1247 -n, --no-create do not create output files 1248 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1249 1250Installation directories: 1251 --prefix=PREFIX install architecture-independent files in PREFIX 1252 @<:@@S|@ac_default_prefix@:>@ 1253 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1254 @<:@PREFIX@:>@ 1255 1256By default, \`make install' will install all the files in 1257\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1258an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1259for instance \`--prefix=\$HOME'. 1260 1261For better control, use the options below. 1262 1263Fine tuning of the installation directories: 1264 --bindir=DIR user executables [EPREFIX/bin] 1265 --sbindir=DIR system admin executables [EPREFIX/sbin] 1266 --libexecdir=DIR program executables [EPREFIX/libexec] 1267 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1268 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1269 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1270 --libdir=DIR object code libraries [EPREFIX/lib] 1271 --includedir=DIR C header files [PREFIX/include] 1272 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1273 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1274 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1275 --infodir=DIR info documentation [DATAROOTDIR/info] 1276 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1277 --mandir=DIR man documentation [DATAROOTDIR/man] 1278 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ 1279 --htmldir=DIR html documentation [DOCDIR] 1280 --dvidir=DIR dvi documentation [DOCDIR] 1281 --pdfdir=DIR pdf documentation [DOCDIR] 1282 --psdir=DIR ps documentation [DOCDIR] 1283_ACEOF 1284 1285 cat <<\_ACEOF 1286 1287Program names: 1288 --program-prefix=PREFIX prepend PREFIX to installed program names 1289 --program-suffix=SUFFIX append SUFFIX to installed program names 1290 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1291 1292System types: 1293 --build=BUILD configure for building on BUILD [guessed] 1294 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1295 --target=TARGET configure for building compilers for TARGET [HOST] 1296_ACEOF 1297fi 1298 1299if test -n "$ac_init_help"; then 1300 1301 cat <<\_ACEOF 1302 1303Optional Features: 1304 --disable-option-checking ignore unrecognized --enable/--with options 1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1307--enable-rdtsc use pentium rdtsc cycle timing 1308 1309Some influential environment variables: 1310 CC C compiler command 1311 CFLAGS C compiler flags 1312 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1313 nonstandard directory <lib dir> 1314 LIBS libraries to pass to the linker, e.g. -l<library> 1315 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1316 you have headers in a nonstandard directory <include dir> 1317 CPP C preprocessor 1318 CXX C++ compiler command 1319 CXXFLAGS C++ compiler flags 1320 CXXCPP C++ preprocessor 1321 1322Use these variables to override the choices made by `configure' or to help 1323it to find libraries and programs with nonstandard names/locations. 1324 1325Report bugs to the package provider. 1326_ACEOF 1327ac_status=$? 1328fi 1329 1330if test "$ac_init_help" = "recursive"; then 1331 # If there are subdirs, report their specific --help. 1332 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1333 test -d "$ac_dir" || 1334 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1335 continue 1336 ac_builddir=. 1337 1338case "$ac_dir" in 1339.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1340*) 1341 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1342 # A ".." for each directory in $ac_dir_suffix. 1343 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1344 case $ac_top_builddir_sub in 1345 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1346 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1347 esac ;; 1348esac 1349ac_abs_top_builddir=$ac_pwd 1350ac_abs_builddir=$ac_pwd$ac_dir_suffix 1351# for backward compatibility: 1352ac_top_builddir=$ac_top_build_prefix 1353 1354case $srcdir in 1355 .) # We are building in place. 1356 ac_srcdir=. 1357 ac_top_srcdir=$ac_top_builddir_sub 1358 ac_abs_top_srcdir=$ac_pwd ;; 1359 [\\/]* | ?:[\\/]* ) # Absolute name. 1360 ac_srcdir=$srcdir$ac_dir_suffix; 1361 ac_top_srcdir=$srcdir 1362 ac_abs_top_srcdir=$srcdir ;; 1363 *) # Relative name. 1364 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1365 ac_top_srcdir=$ac_top_build_prefix$srcdir 1366 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1367esac 1368ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1369 1370 cd "$ac_dir" || { ac_status=$?; continue; } 1371 # Check for guested configure. 1372 if test -f "$ac_srcdir/configure.gnu"; then 1373 echo && 1374 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1375 elif test -f "$ac_srcdir/configure"; then 1376 echo && 1377 $SHELL "$ac_srcdir/configure" --help=recursive 1378 else 1379 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1380 fi || ac_status=$? 1381 cd "$ac_pwd" || { ac_status=$?; break; } 1382 done 1383fi 1384 1385test -n "$ac_init_help" && exit $ac_status 1386if $ac_init_version; then 1387 cat <<\_ACEOF 1388configure 1389generated by GNU Autoconf 2.69 1390 1391Copyright (C) 2012 Free Software Foundation, Inc. 1392This configure script is free software; the Free Software Foundation 1393gives unlimited permission to copy, distribute and modify it. 1394_ACEOF 1395 exit 1396fi 1397 1398## ------------------------ ## 1399## Autoconf initialization. ## 1400## ------------------------ ## 1401 1402@%:@ ac_fn_c_try_compile LINENO 1403@%:@ -------------------------- 1404@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1405ac_fn_c_try_compile () 1406{ 1407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1408 rm -f conftest.$ac_objext 1409 if { { ac_try="$ac_compile" 1410case "(($ac_try" in 1411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1412 *) ac_try_echo=$ac_try;; 1413esac 1414eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1415$as_echo "$ac_try_echo"; } >&5 1416 (eval "$ac_compile") 2>conftest.err 1417 ac_status=$? 1418 if test -s conftest.err; then 1419 grep -v '^ *+' conftest.err >conftest.er1 1420 cat conftest.er1 >&5 1421 mv -f conftest.er1 conftest.err 1422 fi 1423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1424 test $ac_status = 0; } && { 1425 test -z "$ac_c_werror_flag" || 1426 test ! -s conftest.err 1427 } && test -s conftest.$ac_objext; then : 1428 ac_retval=0 1429else 1430 $as_echo "$as_me: failed program was:" >&5 1431sed 's/^/| /' conftest.$ac_ext >&5 1432 1433 ac_retval=1 1434fi 1435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1436 as_fn_set_status $ac_retval 1437 1438} @%:@ ac_fn_c_try_compile 1439 1440@%:@ ac_fn_c_try_cpp LINENO 1441@%:@ ---------------------- 1442@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1443ac_fn_c_try_cpp () 1444{ 1445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1446 if { { ac_try="$ac_cpp conftest.$ac_ext" 1447case "(($ac_try" in 1448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1449 *) ac_try_echo=$ac_try;; 1450esac 1451eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1452$as_echo "$ac_try_echo"; } >&5 1453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1454 ac_status=$? 1455 if test -s conftest.err; then 1456 grep -v '^ *+' conftest.err >conftest.er1 1457 cat conftest.er1 >&5 1458 mv -f conftest.er1 conftest.err 1459 fi 1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1461 test $ac_status = 0; } > conftest.i && { 1462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1463 test ! -s conftest.err 1464 }; then : 1465 ac_retval=0 1466else 1467 $as_echo "$as_me: failed program was:" >&5 1468sed 's/^/| /' conftest.$ac_ext >&5 1469 1470 ac_retval=1 1471fi 1472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1473 as_fn_set_status $ac_retval 1474 1475} @%:@ ac_fn_c_try_cpp 1476 1477@%:@ ac_fn_cxx_try_compile LINENO 1478@%:@ ---------------------------- 1479@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1480ac_fn_cxx_try_compile () 1481{ 1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1483 rm -f conftest.$ac_objext 1484 if { { ac_try="$ac_compile" 1485case "(($ac_try" in 1486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1487 *) ac_try_echo=$ac_try;; 1488esac 1489eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1490$as_echo "$ac_try_echo"; } >&5 1491 (eval "$ac_compile") 2>conftest.err 1492 ac_status=$? 1493 if test -s conftest.err; then 1494 grep -v '^ *+' conftest.err >conftest.er1 1495 cat conftest.er1 >&5 1496 mv -f conftest.er1 conftest.err 1497 fi 1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1499 test $ac_status = 0; } && { 1500 test -z "$ac_cxx_werror_flag" || 1501 test ! -s conftest.err 1502 } && test -s conftest.$ac_objext; then : 1503 ac_retval=0 1504else 1505 $as_echo "$as_me: failed program was:" >&5 1506sed 's/^/| /' conftest.$ac_ext >&5 1507 1508 ac_retval=1 1509fi 1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1511 as_fn_set_status $ac_retval 1512 1513} @%:@ ac_fn_cxx_try_compile 1514 1515@%:@ ac_fn_cxx_try_cpp LINENO 1516@%:@ ------------------------ 1517@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1518ac_fn_cxx_try_cpp () 1519{ 1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1521 if { { ac_try="$ac_cpp conftest.$ac_ext" 1522case "(($ac_try" in 1523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1524 *) ac_try_echo=$ac_try;; 1525esac 1526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1527$as_echo "$ac_try_echo"; } >&5 1528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1529 ac_status=$? 1530 if test -s conftest.err; then 1531 grep -v '^ *+' conftest.err >conftest.er1 1532 cat conftest.er1 >&5 1533 mv -f conftest.er1 conftest.err 1534 fi 1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1536 test $ac_status = 0; } > conftest.i && { 1537 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1538 test ! -s conftest.err 1539 }; then : 1540 ac_retval=0 1541else 1542 $as_echo "$as_me: failed program was:" >&5 1543sed 's/^/| /' conftest.$ac_ext >&5 1544 1545 ac_retval=1 1546fi 1547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1548 as_fn_set_status $ac_retval 1549 1550} @%:@ ac_fn_cxx_try_cpp 1551 1552@%:@ ac_fn_c_try_link LINENO 1553@%:@ ----------------------- 1554@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1555ac_fn_c_try_link () 1556{ 1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1558 rm -f conftest.$ac_objext conftest$ac_exeext 1559 if { { ac_try="$ac_link" 1560case "(($ac_try" in 1561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1562 *) ac_try_echo=$ac_try;; 1563esac 1564eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1565$as_echo "$ac_try_echo"; } >&5 1566 (eval "$ac_link") 2>conftest.err 1567 ac_status=$? 1568 if test -s conftest.err; then 1569 grep -v '^ *+' conftest.err >conftest.er1 1570 cat conftest.er1 >&5 1571 mv -f conftest.er1 conftest.err 1572 fi 1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1574 test $ac_status = 0; } && { 1575 test -z "$ac_c_werror_flag" || 1576 test ! -s conftest.err 1577 } && test -s conftest$ac_exeext && { 1578 test "$cross_compiling" = yes || 1579 test -x conftest$ac_exeext 1580 }; then : 1581 ac_retval=0 1582else 1583 $as_echo "$as_me: failed program was:" >&5 1584sed 's/^/| /' conftest.$ac_ext >&5 1585 1586 ac_retval=1 1587fi 1588 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1589 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1590 # interfere with the next link command; also delete a directory that is 1591 # left behind by Apple's compiler. We do this before executing the actions. 1592 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1594 as_fn_set_status $ac_retval 1595 1596} @%:@ ac_fn_c_try_link 1597 1598@%:@ ac_fn_c_check_func LINENO FUNC VAR 1599@%:@ ---------------------------------- 1600@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1601ac_fn_c_check_func () 1602{ 1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1605$as_echo_n "checking for $2... " >&6; } 1606if eval \${$3+:} false; then : 1607 $as_echo_n "(cached) " >&6 1608else 1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1610/* end confdefs.h. */ 1611/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1612 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1613#define $2 innocuous_$2 1614 1615/* System header to define __stub macros and hopefully few prototypes, 1616 which can conflict with char $2 (); below. 1617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1618 <limits.h> exists even on freestanding compilers. */ 1619 1620#ifdef __STDC__ 1621# include <limits.h> 1622#else 1623# include <assert.h> 1624#endif 1625 1626#undef $2 1627 1628/* Override any GCC internal prototype to avoid an error. 1629 Use char because int might match the return type of a GCC 1630 builtin and then its argument prototype would still apply. */ 1631#ifdef __cplusplus 1632extern "C" 1633#endif 1634char $2 (); 1635/* The GNU C library defines this for functions which it implements 1636 to always fail with ENOSYS. Some functions are actually named 1637 something starting with __ and the normal name is an alias. */ 1638#if defined __stub_$2 || defined __stub___$2 1639choke me 1640#endif 1641 1642int 1643main () 1644{ 1645return $2 (); 1646 ; 1647 return 0; 1648} 1649_ACEOF 1650if ac_fn_c_try_link "$LINENO"; then : 1651 eval "$3=yes" 1652else 1653 eval "$3=no" 1654fi 1655rm -f core conftest.err conftest.$ac_objext \ 1656 conftest$ac_exeext conftest.$ac_ext 1657fi 1658eval ac_res=\$$3 1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1660$as_echo "$ac_res" >&6; } 1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1662 1663} @%:@ ac_fn_c_check_func 1664cat >config.log <<_ACEOF 1665This file contains any messages produced by compilers while 1666running configure, to aid debugging if configure makes a mistake. 1667 1668It was created by $as_me, which was 1669generated by GNU Autoconf 2.69. Invocation command line was 1670 1671 $ $0 $@ 1672 1673_ACEOF 1674exec 5>>config.log 1675{ 1676cat <<_ASUNAME 1677## --------- ## 1678## Platform. ## 1679## --------- ## 1680 1681hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1682uname -m = `(uname -m) 2>/dev/null || echo unknown` 1683uname -r = `(uname -r) 2>/dev/null || echo unknown` 1684uname -s = `(uname -s) 2>/dev/null || echo unknown` 1685uname -v = `(uname -v) 2>/dev/null || echo unknown` 1686 1687/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1688/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1689 1690/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1691/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1692/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1693/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1694/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1695/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1696/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1697 1698_ASUNAME 1699 1700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1701for as_dir in $PATH 1702do 1703 IFS=$as_save_IFS 1704 test -z "$as_dir" && as_dir=. 1705 $as_echo "PATH: $as_dir" 1706 done 1707IFS=$as_save_IFS 1708 1709} >&5 1710 1711cat >&5 <<_ACEOF 1712 1713 1714## ----------- ## 1715## Core tests. ## 1716## ----------- ## 1717 1718_ACEOF 1719 1720 1721# Keep a trace of the command line. 1722# Strip out --no-create and --no-recursion so they do not pile up. 1723# Strip out --silent because we don't want to record it for future runs. 1724# Also quote any args containing shell meta-characters. 1725# Make two passes to allow for proper duplicate-argument suppression. 1726ac_configure_args= 1727ac_configure_args0= 1728ac_configure_args1= 1729ac_must_keep_next=false 1730for ac_pass in 1 2 1731do 1732 for ac_arg 1733 do 1734 case $ac_arg in 1735 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1736 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1737 | -silent | --silent | --silen | --sile | --sil) 1738 continue ;; 1739 *\'*) 1740 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1741 esac 1742 case $ac_pass in 1743 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1744 2) 1745 as_fn_append ac_configure_args1 " '$ac_arg'" 1746 if test $ac_must_keep_next = true; then 1747 ac_must_keep_next=false # Got value, back to normal. 1748 else 1749 case $ac_arg in 1750 *=* | --config-cache | -C | -disable-* | --disable-* \ 1751 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1752 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1753 | -with-* | --with-* | -without-* | --without-* | --x) 1754 case "$ac_configure_args0 " in 1755 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1756 esac 1757 ;; 1758 -* ) ac_must_keep_next=true ;; 1759 esac 1760 fi 1761 as_fn_append ac_configure_args " '$ac_arg'" 1762 ;; 1763 esac 1764 done 1765done 1766{ ac_configure_args0=; unset ac_configure_args0;} 1767{ ac_configure_args1=; unset ac_configure_args1;} 1768 1769# When interrupted or exit'd, cleanup temporary files, and complete 1770# config.log. We remove comments because anyway the quotes in there 1771# would cause problems or look ugly. 1772# WARNING: Use '\'' to represent an apostrophe within the trap. 1773# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1774trap 'exit_status=$? 1775 # Save into config.log some information that might help in debugging. 1776 { 1777 echo 1778 1779 $as_echo "## ---------------- ## 1780## Cache variables. ## 1781## ---------------- ##" 1782 echo 1783 # The following way of writing the cache mishandles newlines in values, 1784( 1785 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1786 eval ac_val=\$$ac_var 1787 case $ac_val in #( 1788 *${as_nl}*) 1789 case $ac_var in #( 1790 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1791$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1792 esac 1793 case $ac_var in #( 1794 _ | IFS | as_nl) ;; #( 1795 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1796 *) { eval $ac_var=; unset $ac_var;} ;; 1797 esac ;; 1798 esac 1799 done 1800 (set) 2>&1 | 1801 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1802 *${as_nl}ac_space=\ *) 1803 sed -n \ 1804 "s/'\''/'\''\\\\'\'''\''/g; 1805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1806 ;; #( 1807 *) 1808 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1809 ;; 1810 esac | 1811 sort 1812) 1813 echo 1814 1815 $as_echo "## ----------------- ## 1816## Output variables. ## 1817## ----------------- ##" 1818 echo 1819 for ac_var in $ac_subst_vars 1820 do 1821 eval ac_val=\$$ac_var 1822 case $ac_val in 1823 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1824 esac 1825 $as_echo "$ac_var='\''$ac_val'\''" 1826 done | sort 1827 echo 1828 1829 if test -n "$ac_subst_files"; then 1830 $as_echo "## ------------------- ## 1831## File substitutions. ## 1832## ------------------- ##" 1833 echo 1834 for ac_var in $ac_subst_files 1835 do 1836 eval ac_val=\$$ac_var 1837 case $ac_val in 1838 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1839 esac 1840 $as_echo "$ac_var='\''$ac_val'\''" 1841 done | sort 1842 echo 1843 fi 1844 1845 if test -s confdefs.h; then 1846 $as_echo "## ----------- ## 1847## confdefs.h. ## 1848## ----------- ##" 1849 echo 1850 cat confdefs.h 1851 echo 1852 fi 1853 test "$ac_signal" != 0 && 1854 $as_echo "$as_me: caught signal $ac_signal" 1855 $as_echo "$as_me: exit $exit_status" 1856 } >&5 1857 rm -f core *.core core.conftest.* && 1858 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1859 exit $exit_status 1860' 0 1861for ac_signal in 1 2 13 15; do 1862 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1863done 1864ac_signal=0 1865 1866# confdefs.h avoids OS command line length limits that DEFS can exceed. 1867rm -f -r conftest* confdefs.h 1868 1869$as_echo "/* confdefs.h */" > confdefs.h 1870 1871# Predefined preprocessor variables. 1872 1873cat >>confdefs.h <<_ACEOF 1874@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1875_ACEOF 1876 1877cat >>confdefs.h <<_ACEOF 1878@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1879_ACEOF 1880 1881cat >>confdefs.h <<_ACEOF 1882@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 1883_ACEOF 1884 1885cat >>confdefs.h <<_ACEOF 1886@%:@define PACKAGE_STRING "$PACKAGE_STRING" 1887_ACEOF 1888 1889cat >>confdefs.h <<_ACEOF 1890@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1891_ACEOF 1892 1893cat >>confdefs.h <<_ACEOF 1894@%:@define PACKAGE_URL "$PACKAGE_URL" 1895_ACEOF 1896 1897 1898# Let the site file select an alternate cache file if it wants to. 1899# Prefer an explicitly selected file to automatically selected ones. 1900ac_site_file1=NONE 1901ac_site_file2=NONE 1902if test -n "$CONFIG_SITE"; then 1903 # We do not want a PATH search for config.site. 1904 case $CONFIG_SITE in @%:@(( 1905 -*) ac_site_file1=./$CONFIG_SITE;; 1906 */*) ac_site_file1=$CONFIG_SITE;; 1907 *) ac_site_file1=./$CONFIG_SITE;; 1908 esac 1909elif test "x$prefix" != xNONE; then 1910 ac_site_file1=$prefix/share/config.site 1911 ac_site_file2=$prefix/etc/config.site 1912else 1913 ac_site_file1=$ac_default_prefix/share/config.site 1914 ac_site_file2=$ac_default_prefix/etc/config.site 1915fi 1916for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1917do 1918 test "x$ac_site_file" = xNONE && continue 1919 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1920 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1921$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1922 sed 's/^/| /' "$ac_site_file" >&5 1923 . "$ac_site_file" \ 1924 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1925$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1926as_fn_error $? "failed to load site script $ac_site_file 1927See \`config.log' for more details" "$LINENO" 5; } 1928 fi 1929done 1930 1931if test -r "$cache_file"; then 1932 # Some versions of bash will fail to source /dev/null (special files 1933 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1934 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1935 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1936$as_echo "$as_me: loading cache $cache_file" >&6;} 1937 case $cache_file in 1938 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1939 *) . "./$cache_file";; 1940 esac 1941 fi 1942else 1943 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1944$as_echo "$as_me: creating cache $cache_file" >&6;} 1945 >$cache_file 1946fi 1947 1948# Check that the precious variables saved in the cache have kept the same 1949# value. 1950ac_cache_corrupted=false 1951for ac_var in $ac_precious_vars; do 1952 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1953 eval ac_new_set=\$ac_env_${ac_var}_set 1954 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1955 eval ac_new_val=\$ac_env_${ac_var}_value 1956 case $ac_old_set,$ac_new_set in 1957 set,) 1958 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1959$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1960 ac_cache_corrupted=: ;; 1961 ,set) 1962 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1963$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1964 ac_cache_corrupted=: ;; 1965 ,);; 1966 *) 1967 if test "x$ac_old_val" != "x$ac_new_val"; then 1968 # differences in whitespace do not lead to failure. 1969 ac_old_val_w=`echo x $ac_old_val` 1970 ac_new_val_w=`echo x $ac_new_val` 1971 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1972 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1973$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1974 ac_cache_corrupted=: 1975 else 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1977$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1978 eval $ac_var=\$ac_old_val 1979 fi 1980 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1981$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1982 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1983$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1984 fi;; 1985 esac 1986 # Pass precious variables to config.status. 1987 if test "$ac_new_set" = set; then 1988 case $ac_new_val in 1989 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1990 *) ac_arg=$ac_var=$ac_new_val ;; 1991 esac 1992 case " $ac_configure_args " in 1993 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1994 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1995 esac 1996 fi 1997done 1998if $ac_cache_corrupted; then 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2000$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2001 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2002$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2003 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2004fi 2005## -------------------- ## 2006## Main body of script. ## 2007## -------------------- ## 2008 2009ac_ext=c 2010ac_cpp='$CPP $CPPFLAGS' 2011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2013ac_compiler_gnu=$ac_cv_c_compiler_gnu 2014 2015 2016 2017 2018ac_aux_dir= 2019for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2020 if test -f "$ac_dir/install-sh"; then 2021 ac_aux_dir=$ac_dir 2022 ac_install_sh="$ac_aux_dir/install-sh -c" 2023 break 2024 elif test -f "$ac_dir/install.sh"; then 2025 ac_aux_dir=$ac_dir 2026 ac_install_sh="$ac_aux_dir/install.sh -c" 2027 break 2028 elif test -f "$ac_dir/shtool"; then 2029 ac_aux_dir=$ac_dir 2030 ac_install_sh="$ac_aux_dir/shtool install -c" 2031 break 2032 fi 2033done 2034if test -z "$ac_aux_dir"; then 2035 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2036fi 2037 2038# These three variables are undocumented and unsupported, 2039# and are intended to be withdrawn in a future Autoconf release. 2040# They can cause serious problems if a builder's source tree is in a directory 2041# whose full name contains unusual characters. 2042ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2043ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2044ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2045 2046 2047# Make sure we can run config.sub. 2048$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2049 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2050 2051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2052$as_echo_n "checking build system type... " >&6; } 2053if ${ac_cv_build+:} false; then : 2054 $as_echo_n "(cached) " >&6 2055else 2056 ac_build_alias=$build_alias 2057test "x$ac_build_alias" = x && 2058 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2059test "x$ac_build_alias" = x && 2060 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2061ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2062 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2063 2064fi 2065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2066$as_echo "$ac_cv_build" >&6; } 2067case $ac_cv_build in 2068*-*-*) ;; 2069*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2070esac 2071build=$ac_cv_build 2072ac_save_IFS=$IFS; IFS='-' 2073set x $ac_cv_build 2074shift 2075build_cpu=$1 2076build_vendor=$2 2077shift; shift 2078# Remember, the first character of IFS is used to create $*, 2079# except with old shells: 2080build_os=$* 2081IFS=$ac_save_IFS 2082case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2083 2084 2085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2086$as_echo_n "checking host system type... " >&6; } 2087if ${ac_cv_host+:} false; then : 2088 $as_echo_n "(cached) " >&6 2089else 2090 if test "x$host_alias" = x; then 2091 ac_cv_host=$ac_cv_build 2092else 2093 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2094 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2095fi 2096 2097fi 2098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2099$as_echo "$ac_cv_host" >&6; } 2100case $ac_cv_host in 2101*-*-*) ;; 2102*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2103esac 2104host=$ac_cv_host 2105ac_save_IFS=$IFS; IFS='-' 2106set x $ac_cv_host 2107shift 2108host_cpu=$1 2109host_vendor=$2 2110shift; shift 2111# Remember, the first character of IFS is used to create $*, 2112# except with old shells: 2113host_os=$* 2114IFS=$ac_save_IFS 2115case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2116 2117 2118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2119$as_echo_n "checking target system type... " >&6; } 2120if ${ac_cv_target+:} false; then : 2121 $as_echo_n "(cached) " >&6 2122else 2123 if test "x$target_alias" = x; then 2124 ac_cv_target=$ac_cv_host 2125else 2126 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2127 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2128fi 2129 2130fi 2131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2132$as_echo "$ac_cv_target" >&6; } 2133case $ac_cv_target in 2134*-*-*) ;; 2135*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2136esac 2137target=$ac_cv_target 2138ac_save_IFS=$IFS; IFS='-' 2139set x $ac_cv_target 2140shift 2141target_cpu=$1 2142target_vendor=$2 2143shift; shift 2144# Remember, the first character of IFS is used to create $*, 2145# except with old shells: 2146target_os=$* 2147IFS=$ac_save_IFS 2148case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2149 2150 2151# The aliases save the names the user supplied, while $host etc. 2152# will get canonicalized. 2153test -n "$target_alias" && 2154 test "$program_prefix$program_suffix$program_transform_name" = \ 2155 NONENONEs,x,x, && 2156 program_prefix=${target_alias}- 2157 2158PREV_VERSION=2.4 2159# Find a good install program. We prefer a C program (faster), 2160# so one script is as good as another. But avoid the broken or 2161# incompatible versions: 2162# SysV /etc/install, /usr/sbin/install 2163# SunOS /usr/etc/install 2164# IRIX /sbin/install 2165# AIX /bin/install 2166# AmigaOS /C/install, which installs bootblocks on floppy discs 2167# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2168# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2169# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2170# OS/2's system install, which has a completely different semantic 2171# ./install, which can be erroneously created by make from ./install.sh. 2172# Reject install programs that cannot install multiple files. 2173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2174$as_echo_n "checking for a BSD-compatible install... " >&6; } 2175if test -z "$INSTALL"; then 2176if ${ac_cv_path_install+:} false; then : 2177 $as_echo_n "(cached) " >&6 2178else 2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2180for as_dir in $PATH 2181do 2182 IFS=$as_save_IFS 2183 test -z "$as_dir" && as_dir=. 2184 # Account for people who put trailing slashes in PATH elements. 2185case $as_dir/ in @%:@(( 2186 ./ | .// | /[cC]/* | \ 2187 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2188 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2189 /usr/ucb/* ) ;; 2190 *) 2191 # OSF1 and SCO ODT 3.0 have their own names for install. 2192 # Don't use installbsd from OSF since it installs stuff as root 2193 # by default. 2194 for ac_prog in ginstall scoinst install; do 2195 for ac_exec_ext in '' $ac_executable_extensions; do 2196 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2197 if test $ac_prog = install && 2198 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2199 # AIX install. It has an incompatible calling convention. 2200 : 2201 elif test $ac_prog = install && 2202 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2203 # program-specific install script used by HP pwplus--don't use. 2204 : 2205 else 2206 rm -rf conftest.one conftest.two conftest.dir 2207 echo one > conftest.one 2208 echo two > conftest.two 2209 mkdir conftest.dir 2210 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2211 test -s conftest.one && test -s conftest.two && 2212 test -s conftest.dir/conftest.one && 2213 test -s conftest.dir/conftest.two 2214 then 2215 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2216 break 3 2217 fi 2218 fi 2219 fi 2220 done 2221 done 2222 ;; 2223esac 2224 2225 done 2226IFS=$as_save_IFS 2227 2228rm -rf conftest.one conftest.two conftest.dir 2229 2230fi 2231 if test "${ac_cv_path_install+set}" = set; then 2232 INSTALL=$ac_cv_path_install 2233 else 2234 # As a last resort, use the slow shell script. Don't cache a 2235 # value for INSTALL within a source directory, because that will 2236 # break other packages using the cache if that directory is 2237 # removed, or if the value is a relative name. 2238 INSTALL=$ac_install_sh 2239 fi 2240fi 2241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2242$as_echo "$INSTALL" >&6; } 2243 2244# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2245# It thinks the first close brace ends the variable substitution. 2246test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2247 2248test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2249 2250test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2251 2252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2253$as_echo_n "checking whether build environment is sane... " >&6; } 2254# Just in case 2255sleep 1 2256echo timestamp > conftestfile 2257# Do `set' in a subshell so we don't clobber the current shell's 2258# arguments. Must try -L first in case configure is actually a 2259# symlink; some systems play weird games with the mod time of symlinks 2260# (eg FreeBSD returns the mod time of the symlink's containing 2261# directory). 2262if ( 2263 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 2264 if test "$*" = "X"; then 2265 # -L didn't work. 2266 set X `ls -t $srcdir/configure conftestfile` 2267 fi 2268 if test "$*" != "X $srcdir/configure conftestfile" \ 2269 && test "$*" != "X conftestfile $srcdir/configure"; then 2270 2271 # If neither matched, then we have a broken ls. This can happen 2272 # if, for instance, CONFIG_SHELL is bash and it inherits a 2273 # broken ls alias from the environment. This has actually 2274 # happened. Such a system could not be considered "sane". 2275 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2276alias in your environment" "$LINENO" 5 2277 fi 2278 2279 test "$2" = conftestfile 2280 ) 2281then 2282 # Ok. 2283 : 2284else 2285 as_fn_error $? "newly created file is older than distributed files! 2286Check your system clock" "$LINENO" 5 2287fi 2288rm -f conftest* 2289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2290$as_echo "yes" >&6; } 2291test "$program_prefix" != NONE && 2292 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2293# Use a double $ so make ignores it. 2294test "$program_suffix" != NONE && 2295 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2296# Double any \ or $. 2297# By default was `s,x,x', remove it if useless. 2298ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2299program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2300 2301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2302$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2303set x ${MAKE-make} 2304ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2305if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2306 $as_echo_n "(cached) " >&6 2307else 2308 cat >conftest.make <<\_ACEOF 2309SHELL = /bin/sh 2310all: 2311 @echo '@@@%%%=$(MAKE)=@@@%%%' 2312_ACEOF 2313# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2314case `${MAKE-make} -f conftest.make 2>/dev/null` in 2315 *@@@%%%=?*=@@@%%%*) 2316 eval ac_cv_prog_make_${ac_make}_set=yes;; 2317 *) 2318 eval ac_cv_prog_make_${ac_make}_set=no;; 2319esac 2320rm -f conftest.make 2321fi 2322if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2324$as_echo "yes" >&6; } 2325 SET_MAKE= 2326else 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2328$as_echo "no" >&6; } 2329 SET_MAKE="MAKE=${MAKE-make}" 2330fi 2331 2332 2333PACKAGE=nana 2334 2335VERSION=2.5 2336 2337if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 2338 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2339fi 2340 2341cat >>confdefs.h <<_ACEOF 2342@%:@define PACKAGE "$PACKAGE" 2343_ACEOF 2344 2345 2346cat >>confdefs.h <<_ACEOF 2347@%:@define VERSION "$VERSION" 2348_ACEOF 2349 2350 2351 2352missing_dir=`cd $ac_aux_dir && pwd` 2353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working aclocal" >&5 2354$as_echo_n "checking for working aclocal... " >&6; } 2355# Run test in a subshell; some versions of sh will print an error if 2356# an executable is not found, even if stderr is redirected. 2357# Redirect stdin to placate older versions of autoconf. Sigh. 2358if (aclocal --version) < /dev/null > /dev/null 2>&1; then 2359 ACLOCAL=aclocal 2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 2361$as_echo "found" >&6; } 2362else 2363 ACLOCAL="$missing_dir/missing aclocal" 2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 2365$as_echo "missing" >&6; } 2366fi 2367 2368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoconf" >&5 2369$as_echo_n "checking for working autoconf... " >&6; } 2370# Run test in a subshell; some versions of sh will print an error if 2371# an executable is not found, even if stderr is redirected. 2372# Redirect stdin to placate older versions of autoconf. Sigh. 2373if (autoconf --version) < /dev/null > /dev/null 2>&1; then 2374 AUTOCONF=autoconf 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 2376$as_echo "found" >&6; } 2377else 2378 AUTOCONF="$missing_dir/missing autoconf" 2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 2380$as_echo "missing" >&6; } 2381fi 2382 2383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working automake" >&5 2384$as_echo_n "checking for working automake... " >&6; } 2385# Run test in a subshell; some versions of sh will print an error if 2386# an executable is not found, even if stderr is redirected. 2387# Redirect stdin to placate older versions of autoconf. Sigh. 2388if (automake --version) < /dev/null > /dev/null 2>&1; then 2389 AUTOMAKE=automake 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 2391$as_echo "found" >&6; } 2392else 2393 AUTOMAKE="$missing_dir/missing automake" 2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 2395$as_echo "missing" >&6; } 2396fi 2397 2398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoheader" >&5 2399$as_echo_n "checking for working autoheader... " >&6; } 2400# Run test in a subshell; some versions of sh will print an error if 2401# an executable is not found, even if stderr is redirected. 2402# Redirect stdin to placate older versions of autoconf. Sigh. 2403if (autoheader --version) < /dev/null > /dev/null 2>&1; then 2404 AUTOHEADER=autoheader 2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 2406$as_echo "found" >&6; } 2407else 2408 AUTOHEADER="$missing_dir/missing autoheader" 2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 2410$as_echo "missing" >&6; } 2411fi 2412 2413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working makeinfo" >&5 2414$as_echo_n "checking for working makeinfo... " >&6; } 2415# Run test in a subshell; some versions of sh will print an error if 2416# an executable is not found, even if stderr is redirected. 2417# Redirect stdin to placate older versions of autoconf. Sigh. 2418if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 2419 MAKEINFO=makeinfo 2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 2421$as_echo "found" >&6; } 2422else 2423 MAKEINFO="$missing_dir/missing makeinfo" 2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 2425$as_echo "missing" >&6; } 2426fi 2427 2428 2429 2430 2431## 2432# 2433# The nana_DEFINE macro is to use to generate the default values 2434# for various architecture/os specific macros which are then used 2435# by nana. These default values are based on the canonical 2436# system name ($target), e.g. i386-unknown-freesd2.2.2 2437# 2438# For example if the new m0086 has a assembler instruction 2439# called hcf (halt+catch fire) which we want to use for assert 2440# failures since it is efficient (1 byte) we would 2441# add an extra rule to I_DEFAULT_HANDLER. 2442# 2443# m0086-*-*) 2444# I_DEFAULT_HANDLER='asm("hcf")' 2445# ;; 2446# 2447# If no default is selected here, a mostly standard C one will be 2448# selected by the header files. 2449# 2450# Note: a few more values from different machine types would be 2451# useful. Submissions encouraged! 2452# 2453## 2454 2455# default code to call when a I(..) failure occurs 2456# 2457# The I_DEFAULT variable is used to select between 2458# fast which does a core dump ASAP versus verbose 2459# which prints a nice message before core dumping. 2460 2461 2462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking I_DEFAULT_HANDLER" >&5 2463$as_echo_n "checking I_DEFAULT_HANDLER... " >&6; } 2464if test -z "$I_DEFAULT_HANDLER" 2465then # use code to work out the value 2466 2467 case "$I_DEFAULT" in 2468 fast) 2469 case "$target" in 2470 i?86-*-*) 2471 I_DEFAULT_HANDLER='asm("hlt")' 2472 ;; 2473 sparc-*-*) 2474 # note the sparc handler used to be asm("stp") 2475 I_DEFAULT_HANDLER='asm("unimp")' 2476 ;; 2477 *) 2478 I_DEFAULT_HANDLER='abort()' 2479 ;; 2480 esac 2481 ;; 2482 verbose) 2483 ;; 2484 *) 2485 ;; 2486 esac 2487 2488 2489# else its been defined by the user 2490fi 2491 2492if test -z "$I_DEFAULT_HANDLER" 2493then 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"default\"" >&5 2495$as_echo "\"default\"" >&6; } 2496else 2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $I_DEFAULT_HANDLER" >&5 2498$as_echo "$I_DEFAULT_HANDLER" >&6; } 2499 I_DEFAULT_HANDLER="#define I_DEFAULT_HANDLER(exprn,file,line,param) $I_DEFAULT_HANDLER" 2500fi 2501 2502 2503 2504# code to emit to ensure a breakpoint can be set at this location 2505# 2506# e.g. if(f>1) { f--; I(f>=0);} I(f>-1); 2507# needs to have a nop inserted so the first I(..) can be checked. 2508# 2509 2510 2511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking DI_MAKE_VALID_BREAKPOINT" >&5 2512$as_echo_n "checking DI_MAKE_VALID_BREAKPOINT... " >&6; } 2513if test -z "$DI_MAKE_VALID_BREAKPOINT" 2514then # use code to work out the value 2515 2516 case "$target" in 2517 sparc-*-*|i?86-*-*) 2518 DI_MAKE_VALID_BREAKPOINT='asm("nop")' 2519 ;; 2520 esac 2521 2522# else its been defined by the user 2523fi 2524 2525if test -z "$DI_MAKE_VALID_BREAKPOINT" 2526then 2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"default\"" >&5 2528$as_echo "\"default\"" >&6; } 2529else 2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DI_MAKE_VALID_BREAKPOINT" >&5 2531$as_echo "$DI_MAKE_VALID_BREAKPOINT" >&6; } 2532 DI_MAKE_VALID_BREAKPOINT="#define DI_MAKE_VALID_BREAKPOINT(exprn) $DI_MAKE_VALID_BREAKPOINT" 2533fi 2534 2535 2536 2537# code to emit to ensure a DL breakpoint can be set at this location 2538 2539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking DL_MAKE_VALID_BREAKPOINT" >&5 2540$as_echo_n "checking DL_MAKE_VALID_BREAKPOINT... " >&6; } 2541if test -z "$DL_MAKE_VALID_BREAKPOINT" 2542then # use code to work out the value 2543 2544 case "$target" in 2545 sparc-*-*|i?86-*-*) 2546 DL_MAKE_VALID_BREAKPOINT='asm("nop")' 2547 ;; 2548 esac 2549 2550# else its been defined by the user 2551fi 2552 2553if test -z "$DL_MAKE_VALID_BREAKPOINT" 2554then 2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"default\"" >&5 2556$as_echo "\"default\"" >&6; } 2557else 2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DL_MAKE_VALID_BREAKPOINT" >&5 2559$as_echo "$DL_MAKE_VALID_BREAKPOINT" >&6; } 2560 DL_MAKE_VALID_BREAKPOINT="#define DL_MAKE_VALID_BREAKPOINT() $DL_MAKE_VALID_BREAKPOINT" 2561fi 2562 2563 2564 2565# on some systems we need to generate a dummy reference to malloc 2566# since it isn't normally linked in and is required by gdb 2567 2568 2569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ALWAYS_INCLUDE_MALLOC" >&5 2570$as_echo_n "checking ALWAYS_INCLUDE_MALLOC... " >&6; } 2571if test -z "$ALWAYS_INCLUDE_MALLOC" 2572then # use code to work out the value 2573 2574 case "$target" in 2575 *-*-*BSD*) 2576 ALWAYS_INCLUDE_MALLOC='0' 2577 ;; 2578 i?86-*-linux*) 2579 ALWAYS_INCLUDE_MALLOC='1' 2580 ;; 2581 *) 2582 ALWAYS_INCLUDE_MALLOC='0' 2583 ;; 2584 esac 2585 2586# else its been defined by the user 2587fi 2588 2589if test -z "$ALWAYS_INCLUDE_MALLOC" 2590then 2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"default\"" >&5 2592$as_echo "\"default\"" >&6; } 2593else 2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALWAYS_INCLUDE_MALLOC" >&5 2595$as_echo "$ALWAYS_INCLUDE_MALLOC" >&6; } 2596 ALWAYS_INCLUDE_MALLOC="#define ALWAYS_INCLUDE_MALLOC/* no arguments */ $ALWAYS_INCLUDE_MALLOC" 2597fi 2598 2599 2600 2601 2602 2603# support for cycle level counting for various machines 2604# 2605# Note: autodiscovery is a bit dubious for these things since they 2606# are machine version specific (ie not all i386s have them) 2607# 2608 2609@%:@ Check whether --enable-rdtsc was given. 2610if test "${enable_rdtsc+set}" = set; then : 2611 enableval=$enable_rdtsc; HAVE_RDTSC=1 2612else 2613 HAVE_RDTSC=0 2614fi 2615 2616 2617 2618ac_ext=c 2619ac_cpp='$CPP $CPPFLAGS' 2620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2622ac_compiler_gnu=$ac_cv_c_compiler_gnu 2623if test -n "$ac_tool_prefix"; then 2624 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2625set dummy ${ac_tool_prefix}gcc; ac_word=$2 2626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2627$as_echo_n "checking for $ac_word... " >&6; } 2628if ${ac_cv_prog_CC+:} false; then : 2629 $as_echo_n "(cached) " >&6 2630else 2631 if test -n "$CC"; then 2632 ac_cv_prog_CC="$CC" # Let the user override the test. 2633else 2634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2635for as_dir in $PATH 2636do 2637 IFS=$as_save_IFS 2638 test -z "$as_dir" && as_dir=. 2639 for ac_exec_ext in '' $ac_executable_extensions; do 2640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2641 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2643 break 2 2644 fi 2645done 2646 done 2647IFS=$as_save_IFS 2648 2649fi 2650fi 2651CC=$ac_cv_prog_CC 2652if test -n "$CC"; then 2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2654$as_echo "$CC" >&6; } 2655else 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2657$as_echo "no" >&6; } 2658fi 2659 2660 2661fi 2662if test -z "$ac_cv_prog_CC"; then 2663 ac_ct_CC=$CC 2664 # Extract the first word of "gcc", so it can be a program name with args. 2665set dummy gcc; ac_word=$2 2666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2667$as_echo_n "checking for $ac_word... " >&6; } 2668if ${ac_cv_prog_ac_ct_CC+:} false; then : 2669 $as_echo_n "(cached) " >&6 2670else 2671 if test -n "$ac_ct_CC"; then 2672 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2673else 2674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2675for as_dir in $PATH 2676do 2677 IFS=$as_save_IFS 2678 test -z "$as_dir" && as_dir=. 2679 for ac_exec_ext in '' $ac_executable_extensions; do 2680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2681 ac_cv_prog_ac_ct_CC="gcc" 2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2683 break 2 2684 fi 2685done 2686 done 2687IFS=$as_save_IFS 2688 2689fi 2690fi 2691ac_ct_CC=$ac_cv_prog_ac_ct_CC 2692if test -n "$ac_ct_CC"; then 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2694$as_echo "$ac_ct_CC" >&6; } 2695else 2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2697$as_echo "no" >&6; } 2698fi 2699 2700 if test "x$ac_ct_CC" = x; then 2701 CC="" 2702 else 2703 case $cross_compiling:$ac_tool_warned in 2704yes:) 2705{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2706$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2707ac_tool_warned=yes ;; 2708esac 2709 CC=$ac_ct_CC 2710 fi 2711else 2712 CC="$ac_cv_prog_CC" 2713fi 2714 2715if test -z "$CC"; then 2716 if test -n "$ac_tool_prefix"; then 2717 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2718set dummy ${ac_tool_prefix}cc; ac_word=$2 2719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2720$as_echo_n "checking for $ac_word... " >&6; } 2721if ${ac_cv_prog_CC+:} false; then : 2722 $as_echo_n "(cached) " >&6 2723else 2724 if test -n "$CC"; then 2725 ac_cv_prog_CC="$CC" # Let the user override the test. 2726else 2727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2728for as_dir in $PATH 2729do 2730 IFS=$as_save_IFS 2731 test -z "$as_dir" && as_dir=. 2732 for ac_exec_ext in '' $ac_executable_extensions; do 2733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2734 ac_cv_prog_CC="${ac_tool_prefix}cc" 2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2736 break 2 2737 fi 2738done 2739 done 2740IFS=$as_save_IFS 2741 2742fi 2743fi 2744CC=$ac_cv_prog_CC 2745if test -n "$CC"; then 2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2747$as_echo "$CC" >&6; } 2748else 2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2750$as_echo "no" >&6; } 2751fi 2752 2753 2754 fi 2755fi 2756if test -z "$CC"; then 2757 # Extract the first word of "cc", so it can be a program name with args. 2758set dummy cc; ac_word=$2 2759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2760$as_echo_n "checking for $ac_word... " >&6; } 2761if ${ac_cv_prog_CC+:} false; then : 2762 $as_echo_n "(cached) " >&6 2763else 2764 if test -n "$CC"; then 2765 ac_cv_prog_CC="$CC" # Let the user override the test. 2766else 2767 ac_prog_rejected=no 2768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2769for as_dir in $PATH 2770do 2771 IFS=$as_save_IFS 2772 test -z "$as_dir" && as_dir=. 2773 for ac_exec_ext in '' $ac_executable_extensions; do 2774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2775 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2776 ac_prog_rejected=yes 2777 continue 2778 fi 2779 ac_cv_prog_CC="cc" 2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2781 break 2 2782 fi 2783done 2784 done 2785IFS=$as_save_IFS 2786 2787if test $ac_prog_rejected = yes; then 2788 # We found a bogon in the path, so make sure we never use it. 2789 set dummy $ac_cv_prog_CC 2790 shift 2791 if test $@%:@ != 0; then 2792 # We chose a different compiler from the bogus one. 2793 # However, it has the same basename, so the bogon will be chosen 2794 # first if we set CC to just the basename; use the full file name. 2795 shift 2796 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2797 fi 2798fi 2799fi 2800fi 2801CC=$ac_cv_prog_CC 2802if test -n "$CC"; then 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2804$as_echo "$CC" >&6; } 2805else 2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2807$as_echo "no" >&6; } 2808fi 2809 2810 2811fi 2812if test -z "$CC"; then 2813 if test -n "$ac_tool_prefix"; then 2814 for ac_prog in cl.exe 2815 do 2816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2817set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2819$as_echo_n "checking for $ac_word... " >&6; } 2820if ${ac_cv_prog_CC+:} false; then : 2821 $as_echo_n "(cached) " >&6 2822else 2823 if test -n "$CC"; then 2824 ac_cv_prog_CC="$CC" # Let the user override the test. 2825else 2826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2827for as_dir in $PATH 2828do 2829 IFS=$as_save_IFS 2830 test -z "$as_dir" && as_dir=. 2831 for ac_exec_ext in '' $ac_executable_extensions; do 2832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2833 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2835 break 2 2836 fi 2837done 2838 done 2839IFS=$as_save_IFS 2840 2841fi 2842fi 2843CC=$ac_cv_prog_CC 2844if test -n "$CC"; then 2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2846$as_echo "$CC" >&6; } 2847else 2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2849$as_echo "no" >&6; } 2850fi 2851 2852 2853 test -n "$CC" && break 2854 done 2855fi 2856if test -z "$CC"; then 2857 ac_ct_CC=$CC 2858 for ac_prog in cl.exe 2859do 2860 # Extract the first word of "$ac_prog", so it can be a program name with args. 2861set dummy $ac_prog; ac_word=$2 2862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2863$as_echo_n "checking for $ac_word... " >&6; } 2864if ${ac_cv_prog_ac_ct_CC+:} false; then : 2865 $as_echo_n "(cached) " >&6 2866else 2867 if test -n "$ac_ct_CC"; then 2868 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2869else 2870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2871for as_dir in $PATH 2872do 2873 IFS=$as_save_IFS 2874 test -z "$as_dir" && as_dir=. 2875 for ac_exec_ext in '' $ac_executable_extensions; do 2876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2877 ac_cv_prog_ac_ct_CC="$ac_prog" 2878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2879 break 2 2880 fi 2881done 2882 done 2883IFS=$as_save_IFS 2884 2885fi 2886fi 2887ac_ct_CC=$ac_cv_prog_ac_ct_CC 2888if test -n "$ac_ct_CC"; then 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2890$as_echo "$ac_ct_CC" >&6; } 2891else 2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2893$as_echo "no" >&6; } 2894fi 2895 2896 2897 test -n "$ac_ct_CC" && break 2898done 2899 2900 if test "x$ac_ct_CC" = x; then 2901 CC="" 2902 else 2903 case $cross_compiling:$ac_tool_warned in 2904yes:) 2905{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2906$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2907ac_tool_warned=yes ;; 2908esac 2909 CC=$ac_ct_CC 2910 fi 2911fi 2912 2913fi 2914 2915 2916test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2917$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2918as_fn_error $? "no acceptable C compiler found in \$PATH 2919See \`config.log' for more details" "$LINENO" 5; } 2920 2921# Provide some information about the compiler. 2922$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2923set X $ac_compile 2924ac_compiler=$2 2925for ac_option in --version -v -V -qversion; do 2926 { { ac_try="$ac_compiler $ac_option >&5" 2927case "(($ac_try" in 2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2929 *) ac_try_echo=$ac_try;; 2930esac 2931eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2932$as_echo "$ac_try_echo"; } >&5 2933 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2934 ac_status=$? 2935 if test -s conftest.err; then 2936 sed '10a\ 2937... rest of stderr output deleted ... 2938 10q' conftest.err >conftest.er1 2939 cat conftest.er1 >&5 2940 fi 2941 rm -f conftest.er1 conftest.err 2942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2943 test $ac_status = 0; } 2944done 2945 2946cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2947/* end confdefs.h. */ 2948 2949int 2950main () 2951{ 2952 2953 ; 2954 return 0; 2955} 2956_ACEOF 2957ac_clean_files_save=$ac_clean_files 2958ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2959# Try to create an executable without -o first, disregard a.out. 2960# It will help us diagnose broken compilers, and finding out an intuition 2961# of exeext. 2962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2963$as_echo_n "checking whether the C compiler works... " >&6; } 2964ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2965 2966# The possible output files: 2967ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2968 2969ac_rmfiles= 2970for ac_file in $ac_files 2971do 2972 case $ac_file in 2973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2974 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2975 esac 2976done 2977rm -f $ac_rmfiles 2978 2979if { { ac_try="$ac_link_default" 2980case "(($ac_try" in 2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2982 *) ac_try_echo=$ac_try;; 2983esac 2984eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2985$as_echo "$ac_try_echo"; } >&5 2986 (eval "$ac_link_default") 2>&5 2987 ac_status=$? 2988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2989 test $ac_status = 0; }; then : 2990 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2991# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2992# in a Makefile. We should not override ac_cv_exeext if it was cached, 2993# so that the user can short-circuit this test for compilers unknown to 2994# Autoconf. 2995for ac_file in $ac_files '' 2996do 2997 test -f "$ac_file" || continue 2998 case $ac_file in 2999 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3000 ;; 3001 [ab].out ) 3002 # We found the default executable, but exeext='' is most 3003 # certainly right. 3004 break;; 3005 *.* ) 3006 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3007 then :; else 3008 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3009 fi 3010 # We set ac_cv_exeext here because the later test for it is not 3011 # safe: cross compilers may not add the suffix if given an `-o' 3012 # argument, so we may need to know it at that point already. 3013 # Even if this section looks crufty: it has the advantage of 3014 # actually working. 3015 break;; 3016 * ) 3017 break;; 3018 esac 3019done 3020test "$ac_cv_exeext" = no && ac_cv_exeext= 3021 3022else 3023 ac_file='' 3024fi 3025if test -z "$ac_file"; then : 3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3027$as_echo "no" >&6; } 3028$as_echo "$as_me: failed program was:" >&5 3029sed 's/^/| /' conftest.$ac_ext >&5 3030 3031{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3032$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3033as_fn_error 77 "C compiler cannot create executables 3034See \`config.log' for more details" "$LINENO" 5; } 3035else 3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3037$as_echo "yes" >&6; } 3038fi 3039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3040$as_echo_n "checking for C compiler default output file name... " >&6; } 3041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3042$as_echo "$ac_file" >&6; } 3043ac_exeext=$ac_cv_exeext 3044 3045rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3046ac_clean_files=$ac_clean_files_save 3047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3048$as_echo_n "checking for suffix of executables... " >&6; } 3049if { { ac_try="$ac_link" 3050case "(($ac_try" in 3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3052 *) ac_try_echo=$ac_try;; 3053esac 3054eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3055$as_echo "$ac_try_echo"; } >&5 3056 (eval "$ac_link") 2>&5 3057 ac_status=$? 3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3059 test $ac_status = 0; }; then : 3060 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3061# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3062# work properly (i.e., refer to `conftest.exe'), while it won't with 3063# `rm'. 3064for ac_file in conftest.exe conftest conftest.*; do 3065 test -f "$ac_file" || continue 3066 case $ac_file in 3067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3068 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3069 break;; 3070 * ) break;; 3071 esac 3072done 3073else 3074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3076as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3077See \`config.log' for more details" "$LINENO" 5; } 3078fi 3079rm -f conftest conftest$ac_cv_exeext 3080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3081$as_echo "$ac_cv_exeext" >&6; } 3082 3083rm -f conftest.$ac_ext 3084EXEEXT=$ac_cv_exeext 3085ac_exeext=$EXEEXT 3086cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3087/* end confdefs.h. */ 3088@%:@include <stdio.h> 3089int 3090main () 3091{ 3092FILE *f = fopen ("conftest.out", "w"); 3093 return ferror (f) || fclose (f) != 0; 3094 3095 ; 3096 return 0; 3097} 3098_ACEOF 3099ac_clean_files="$ac_clean_files conftest.out" 3100# Check that the compiler produces executables we can run. If not, either 3101# the compiler is broken, or we cross compile. 3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3103$as_echo_n "checking whether we are cross compiling... " >&6; } 3104if test "$cross_compiling" != yes; then 3105 { { ac_try="$ac_link" 3106case "(($ac_try" in 3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3108 *) ac_try_echo=$ac_try;; 3109esac 3110eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3111$as_echo "$ac_try_echo"; } >&5 3112 (eval "$ac_link") 2>&5 3113 ac_status=$? 3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3115 test $ac_status = 0; } 3116 if { ac_try='./conftest$ac_cv_exeext' 3117 { { case "(($ac_try" in 3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3119 *) ac_try_echo=$ac_try;; 3120esac 3121eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3122$as_echo "$ac_try_echo"; } >&5 3123 (eval "$ac_try") 2>&5 3124 ac_status=$? 3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3126 test $ac_status = 0; }; }; then 3127 cross_compiling=no 3128 else 3129 if test "$cross_compiling" = maybe; then 3130 cross_compiling=yes 3131 else 3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3134as_fn_error $? "cannot run C compiled programs. 3135If you meant to cross compile, use \`--host'. 3136See \`config.log' for more details" "$LINENO" 5; } 3137 fi 3138 fi 3139fi 3140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3141$as_echo "$cross_compiling" >&6; } 3142 3143rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3144ac_clean_files=$ac_clean_files_save 3145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3146$as_echo_n "checking for suffix of object files... " >&6; } 3147if ${ac_cv_objext+:} false; then : 3148 $as_echo_n "(cached) " >&6 3149else 3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3151/* end confdefs.h. */ 3152 3153int 3154main () 3155{ 3156 3157 ; 3158 return 0; 3159} 3160_ACEOF 3161rm -f conftest.o conftest.obj 3162if { { ac_try="$ac_compile" 3163case "(($ac_try" in 3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3165 *) ac_try_echo=$ac_try;; 3166esac 3167eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3168$as_echo "$ac_try_echo"; } >&5 3169 (eval "$ac_compile") 2>&5 3170 ac_status=$? 3171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3172 test $ac_status = 0; }; then : 3173 for ac_file in conftest.o conftest.obj conftest.*; do 3174 test -f "$ac_file" || continue; 3175 case $ac_file in 3176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3177 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3178 break;; 3179 esac 3180done 3181else 3182 $as_echo "$as_me: failed program was:" >&5 3183sed 's/^/| /' conftest.$ac_ext >&5 3184 3185{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3187as_fn_error $? "cannot compute suffix of object files: cannot compile 3188See \`config.log' for more details" "$LINENO" 5; } 3189fi 3190rm -f conftest.$ac_cv_objext conftest.$ac_ext 3191fi 3192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3193$as_echo "$ac_cv_objext" >&6; } 3194OBJEXT=$ac_cv_objext 3195ac_objext=$OBJEXT 3196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3197$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3198if ${ac_cv_c_compiler_gnu+:} false; then : 3199 $as_echo_n "(cached) " >&6 3200else 3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3202/* end confdefs.h. */ 3203 3204int 3205main () 3206{ 3207#ifndef __GNUC__ 3208 choke me 3209#endif 3210 3211 ; 3212 return 0; 3213} 3214_ACEOF 3215if ac_fn_c_try_compile "$LINENO"; then : 3216 ac_compiler_gnu=yes 3217else 3218 ac_compiler_gnu=no 3219fi 3220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3221ac_cv_c_compiler_gnu=$ac_compiler_gnu 3222 3223fi 3224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3225$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3226if test $ac_compiler_gnu = yes; then 3227 GCC=yes 3228else 3229 GCC= 3230fi 3231ac_test_CFLAGS=${CFLAGS+set} 3232ac_save_CFLAGS=$CFLAGS 3233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3234$as_echo_n "checking whether $CC accepts -g... " >&6; } 3235if ${ac_cv_prog_cc_g+:} false; then : 3236 $as_echo_n "(cached) " >&6 3237else 3238 ac_save_c_werror_flag=$ac_c_werror_flag 3239 ac_c_werror_flag=yes 3240 ac_cv_prog_cc_g=no 3241 CFLAGS="-g" 3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3243/* end confdefs.h. */ 3244 3245int 3246main () 3247{ 3248 3249 ; 3250 return 0; 3251} 3252_ACEOF 3253if ac_fn_c_try_compile "$LINENO"; then : 3254 ac_cv_prog_cc_g=yes 3255else 3256 CFLAGS="" 3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3258/* end confdefs.h. */ 3259 3260int 3261main () 3262{ 3263 3264 ; 3265 return 0; 3266} 3267_ACEOF 3268if ac_fn_c_try_compile "$LINENO"; then : 3269 3270else 3271 ac_c_werror_flag=$ac_save_c_werror_flag 3272 CFLAGS="-g" 3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3274/* end confdefs.h. */ 3275 3276int 3277main () 3278{ 3279 3280 ; 3281 return 0; 3282} 3283_ACEOF 3284if ac_fn_c_try_compile "$LINENO"; then : 3285 ac_cv_prog_cc_g=yes 3286fi 3287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3288fi 3289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3290fi 3291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3292 ac_c_werror_flag=$ac_save_c_werror_flag 3293fi 3294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3295$as_echo "$ac_cv_prog_cc_g" >&6; } 3296if test "$ac_test_CFLAGS" = set; then 3297 CFLAGS=$ac_save_CFLAGS 3298elif test $ac_cv_prog_cc_g = yes; then 3299 if test "$GCC" = yes; then 3300 CFLAGS="-g -O2" 3301 else 3302 CFLAGS="-g" 3303 fi 3304else 3305 if test "$GCC" = yes; then 3306 CFLAGS="-O2" 3307 else 3308 CFLAGS= 3309 fi 3310fi 3311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3312$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3313if ${ac_cv_prog_cc_c89+:} false; then : 3314 $as_echo_n "(cached) " >&6 3315else 3316 ac_cv_prog_cc_c89=no 3317ac_save_CC=$CC 3318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3319/* end confdefs.h. */ 3320#include <stdarg.h> 3321#include <stdio.h> 3322struct stat; 3323/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3324struct buf { int x; }; 3325FILE * (*rcsopen) (struct buf *, struct stat *, int); 3326static char *e (p, i) 3327 char **p; 3328 int i; 3329{ 3330 return p[i]; 3331} 3332static char *f (char * (*g) (char **, int), char **p, ...) 3333{ 3334 char *s; 3335 va_list v; 3336 va_start (v,p); 3337 s = g (p, va_arg (v,int)); 3338 va_end (v); 3339 return s; 3340} 3341 3342/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3343 function prototypes and stuff, but not '\xHH' hex character constants. 3344 These don't provoke an error unfortunately, instead are silently treated 3345 as 'x'. The following induces an error, until -std is added to get 3346 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3347 array size at least. It's necessary to write '\x00'==0 to get something 3348 that's true only with -std. */ 3349int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3350 3351/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3352 inside strings and character constants. */ 3353#define FOO(x) 'x' 3354int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3355 3356int test (int i, double x); 3357struct s1 {int (*f) (int a);}; 3358struct s2 {int (*f) (double a);}; 3359int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3360int argc; 3361char **argv; 3362int 3363main () 3364{ 3365return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3366 ; 3367 return 0; 3368} 3369_ACEOF 3370for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3371 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3372do 3373 CC="$ac_save_CC $ac_arg" 3374 if ac_fn_c_try_compile "$LINENO"; then : 3375 ac_cv_prog_cc_c89=$ac_arg 3376fi 3377rm -f core conftest.err conftest.$ac_objext 3378 test "x$ac_cv_prog_cc_c89" != "xno" && break 3379done 3380rm -f conftest.$ac_ext 3381CC=$ac_save_CC 3382 3383fi 3384# AC_CACHE_VAL 3385case "x$ac_cv_prog_cc_c89" in 3386 x) 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3388$as_echo "none needed" >&6; } ;; 3389 xno) 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3391$as_echo "unsupported" >&6; } ;; 3392 *) 3393 CC="$CC $ac_cv_prog_cc_c89" 3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3395$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3396esac 3397if test "x$ac_cv_prog_cc_c89" != xno; then : 3398 3399fi 3400 3401ac_ext=c 3402ac_cpp='$CPP $CPPFLAGS' 3403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3405ac_compiler_gnu=$ac_cv_c_compiler_gnu 3406 3407for ac_prog in gawk mawk nawk awk 3408do 3409 # Extract the first word of "$ac_prog", so it can be a program name with args. 3410set dummy $ac_prog; ac_word=$2 3411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3412$as_echo_n "checking for $ac_word... " >&6; } 3413if ${ac_cv_prog_AWK+:} false; then : 3414 $as_echo_n "(cached) " >&6 3415else 3416 if test -n "$AWK"; then 3417 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3418else 3419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3420for as_dir in $PATH 3421do 3422 IFS=$as_save_IFS 3423 test -z "$as_dir" && as_dir=. 3424 for ac_exec_ext in '' $ac_executable_extensions; do 3425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3426 ac_cv_prog_AWK="$ac_prog" 3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3428 break 2 3429 fi 3430done 3431 done 3432IFS=$as_save_IFS 3433 3434fi 3435fi 3436AWK=$ac_cv_prog_AWK 3437if test -n "$AWK"; then 3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3439$as_echo "$AWK" >&6; } 3440else 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3442$as_echo "no" >&6; } 3443fi 3444 3445 3446 test -n "$AWK" && break 3447done 3448 3449ac_ext=c 3450ac_cpp='$CPP $CPPFLAGS' 3451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3453ac_compiler_gnu=$ac_cv_c_compiler_gnu 3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3455$as_echo_n "checking how to run the C preprocessor... " >&6; } 3456# On Suns, sometimes $CPP names a directory. 3457if test -n "$CPP" && test -d "$CPP"; then 3458 CPP= 3459fi 3460if test -z "$CPP"; then 3461 if ${ac_cv_prog_CPP+:} false; then : 3462 $as_echo_n "(cached) " >&6 3463else 3464 # Double quotes because CPP needs to be expanded 3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3466 do 3467 ac_preproc_ok=false 3468for ac_c_preproc_warn_flag in '' yes 3469do 3470 # Use a header file that comes with gcc, so configuring glibc 3471 # with a fresh cross-compiler works. 3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3473 # <limits.h> exists even on freestanding compilers. 3474 # On the NeXT, cc -E runs the code through the compiler's parser, 3475 # not just through cpp. "Syntax error" is here to catch this case. 3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3477/* end confdefs.h. */ 3478@%:@ifdef __STDC__ 3479@%:@ include <limits.h> 3480@%:@else 3481@%:@ include <assert.h> 3482@%:@endif 3483 Syntax error 3484_ACEOF 3485if ac_fn_c_try_cpp "$LINENO"; then : 3486 3487else 3488 # Broken: fails on valid input. 3489continue 3490fi 3491rm -f conftest.err conftest.i conftest.$ac_ext 3492 3493 # OK, works on sane cases. Now check whether nonexistent headers 3494 # can be detected and how. 3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3496/* end confdefs.h. */ 3497@%:@include <ac_nonexistent.h> 3498_ACEOF 3499if ac_fn_c_try_cpp "$LINENO"; then : 3500 # Broken: success on invalid input. 3501continue 3502else 3503 # Passes both tests. 3504ac_preproc_ok=: 3505break 3506fi 3507rm -f conftest.err conftest.i conftest.$ac_ext 3508 3509done 3510# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3511rm -f conftest.i conftest.err conftest.$ac_ext 3512if $ac_preproc_ok; then : 3513 break 3514fi 3515 3516 done 3517 ac_cv_prog_CPP=$CPP 3518 3519fi 3520 CPP=$ac_cv_prog_CPP 3521else 3522 ac_cv_prog_CPP=$CPP 3523fi 3524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3525$as_echo "$CPP" >&6; } 3526ac_preproc_ok=false 3527for ac_c_preproc_warn_flag in '' yes 3528do 3529 # Use a header file that comes with gcc, so configuring glibc 3530 # with a fresh cross-compiler works. 3531 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3532 # <limits.h> exists even on freestanding compilers. 3533 # On the NeXT, cc -E runs the code through the compiler's parser, 3534 # not just through cpp. "Syntax error" is here to catch this case. 3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3536/* end confdefs.h. */ 3537@%:@ifdef __STDC__ 3538@%:@ include <limits.h> 3539@%:@else 3540@%:@ include <assert.h> 3541@%:@endif 3542 Syntax error 3543_ACEOF 3544if ac_fn_c_try_cpp "$LINENO"; then : 3545 3546else 3547 # Broken: fails on valid input. 3548continue 3549fi 3550rm -f conftest.err conftest.i conftest.$ac_ext 3551 3552 # OK, works on sane cases. Now check whether nonexistent headers 3553 # can be detected and how. 3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3555/* end confdefs.h. */ 3556@%:@include <ac_nonexistent.h> 3557_ACEOF 3558if ac_fn_c_try_cpp "$LINENO"; then : 3559 # Broken: success on invalid input. 3560continue 3561else 3562 # Passes both tests. 3563ac_preproc_ok=: 3564break 3565fi 3566rm -f conftest.err conftest.i conftest.$ac_ext 3567 3568done 3569# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3570rm -f conftest.i conftest.err conftest.$ac_ext 3571if $ac_preproc_ok; then : 3572 3573else 3574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3575$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3576as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3577See \`config.log' for more details" "$LINENO" 5; } 3578fi 3579 3580ac_ext=c 3581ac_cpp='$CPP $CPPFLAGS' 3582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3584ac_compiler_gnu=$ac_cv_c_compiler_gnu 3585 3586ac_ext=cpp 3587ac_cpp='$CXXCPP $CPPFLAGS' 3588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3591if test -z "$CXX"; then 3592 if test -n "$CCC"; then 3593 CXX=$CCC 3594 else 3595 if test -n "$ac_tool_prefix"; then 3596 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3597 do 3598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3599set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3601$as_echo_n "checking for $ac_word... " >&6; } 3602if ${ac_cv_prog_CXX+:} false; then : 3603 $as_echo_n "(cached) " >&6 3604else 3605 if test -n "$CXX"; then 3606 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3607else 3608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3609for as_dir in $PATH 3610do 3611 IFS=$as_save_IFS 3612 test -z "$as_dir" && as_dir=. 3613 for ac_exec_ext in '' $ac_executable_extensions; do 3614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3615 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3617 break 2 3618 fi 3619done 3620 done 3621IFS=$as_save_IFS 3622 3623fi 3624fi 3625CXX=$ac_cv_prog_CXX 3626if test -n "$CXX"; then 3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3628$as_echo "$CXX" >&6; } 3629else 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3631$as_echo "no" >&6; } 3632fi 3633 3634 3635 test -n "$CXX" && break 3636 done 3637fi 3638if test -z "$CXX"; then 3639 ac_ct_CXX=$CXX 3640 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3641do 3642 # Extract the first word of "$ac_prog", so it can be a program name with args. 3643set dummy $ac_prog; ac_word=$2 3644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3645$as_echo_n "checking for $ac_word... " >&6; } 3646if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3647 $as_echo_n "(cached) " >&6 3648else 3649 if test -n "$ac_ct_CXX"; then 3650 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3651else 3652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3653for as_dir in $PATH 3654do 3655 IFS=$as_save_IFS 3656 test -z "$as_dir" && as_dir=. 3657 for ac_exec_ext in '' $ac_executable_extensions; do 3658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3659 ac_cv_prog_ac_ct_CXX="$ac_prog" 3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3661 break 2 3662 fi 3663done 3664 done 3665IFS=$as_save_IFS 3666 3667fi 3668fi 3669ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3670if test -n "$ac_ct_CXX"; then 3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3672$as_echo "$ac_ct_CXX" >&6; } 3673else 3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3675$as_echo "no" >&6; } 3676fi 3677 3678 3679 test -n "$ac_ct_CXX" && break 3680done 3681 3682 if test "x$ac_ct_CXX" = x; then 3683 CXX="g++" 3684 else 3685 case $cross_compiling:$ac_tool_warned in 3686yes:) 3687{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3689ac_tool_warned=yes ;; 3690esac 3691 CXX=$ac_ct_CXX 3692 fi 3693fi 3694 3695 fi 3696fi 3697# Provide some information about the compiler. 3698$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3699set X $ac_compile 3700ac_compiler=$2 3701for ac_option in --version -v -V -qversion; do 3702 { { ac_try="$ac_compiler $ac_option >&5" 3703case "(($ac_try" in 3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3705 *) ac_try_echo=$ac_try;; 3706esac 3707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3708$as_echo "$ac_try_echo"; } >&5 3709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3710 ac_status=$? 3711 if test -s conftest.err; then 3712 sed '10a\ 3713... rest of stderr output deleted ... 3714 10q' conftest.err >conftest.er1 3715 cat conftest.er1 >&5 3716 fi 3717 rm -f conftest.er1 conftest.err 3718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3719 test $ac_status = 0; } 3720done 3721 3722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3723$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3724if ${ac_cv_cxx_compiler_gnu+:} false; then : 3725 $as_echo_n "(cached) " >&6 3726else 3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3728/* end confdefs.h. */ 3729 3730int 3731main () 3732{ 3733#ifndef __GNUC__ 3734 choke me 3735#endif 3736 3737 ; 3738 return 0; 3739} 3740_ACEOF 3741if ac_fn_cxx_try_compile "$LINENO"; then : 3742 ac_compiler_gnu=yes 3743else 3744 ac_compiler_gnu=no 3745fi 3746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3747ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3748 3749fi 3750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3751$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3752if test $ac_compiler_gnu = yes; then 3753 GXX=yes 3754else 3755 GXX= 3756fi 3757ac_test_CXXFLAGS=${CXXFLAGS+set} 3758ac_save_CXXFLAGS=$CXXFLAGS 3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3760$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3761if ${ac_cv_prog_cxx_g+:} false; then : 3762 $as_echo_n "(cached) " >&6 3763else 3764 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3765 ac_cxx_werror_flag=yes 3766 ac_cv_prog_cxx_g=no 3767 CXXFLAGS="-g" 3768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3769/* end confdefs.h. */ 3770 3771int 3772main () 3773{ 3774 3775 ; 3776 return 0; 3777} 3778_ACEOF 3779if ac_fn_cxx_try_compile "$LINENO"; then : 3780 ac_cv_prog_cxx_g=yes 3781else 3782 CXXFLAGS="" 3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3784/* end confdefs.h. */ 3785 3786int 3787main () 3788{ 3789 3790 ; 3791 return 0; 3792} 3793_ACEOF 3794if ac_fn_cxx_try_compile "$LINENO"; then : 3795 3796else 3797 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3798 CXXFLAGS="-g" 3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3800/* end confdefs.h. */ 3801 3802int 3803main () 3804{ 3805 3806 ; 3807 return 0; 3808} 3809_ACEOF 3810if ac_fn_cxx_try_compile "$LINENO"; then : 3811 ac_cv_prog_cxx_g=yes 3812fi 3813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3814fi 3815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3816fi 3817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3818 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3819fi 3820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3821$as_echo "$ac_cv_prog_cxx_g" >&6; } 3822if test "$ac_test_CXXFLAGS" = set; then 3823 CXXFLAGS=$ac_save_CXXFLAGS 3824elif test $ac_cv_prog_cxx_g = yes; then 3825 if test "$GXX" = yes; then 3826 CXXFLAGS="-g -O2" 3827 else 3828 CXXFLAGS="-g" 3829 fi 3830else 3831 if test "$GXX" = yes; then 3832 CXXFLAGS="-O2" 3833 else 3834 CXXFLAGS= 3835 fi 3836fi 3837ac_ext=c 3838ac_cpp='$CPP $CPPFLAGS' 3839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3841ac_compiler_gnu=$ac_cv_c_compiler_gnu 3842 3843ac_ext=cpp 3844ac_cpp='$CXXCPP $CPPFLAGS' 3845ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3846ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3847ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 3849$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 3850if test -z "$CXXCPP"; then 3851 if ${ac_cv_prog_CXXCPP+:} false; then : 3852 $as_echo_n "(cached) " >&6 3853else 3854 # Double quotes because CXXCPP needs to be expanded 3855 for CXXCPP in "$CXX -E" "/lib/cpp" 3856 do 3857 ac_preproc_ok=false 3858for ac_cxx_preproc_warn_flag in '' yes 3859do 3860 # Use a header file that comes with gcc, so configuring glibc 3861 # with a fresh cross-compiler works. 3862 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3863 # <limits.h> exists even on freestanding compilers. 3864 # On the NeXT, cc -E runs the code through the compiler's parser, 3865 # not just through cpp. "Syntax error" is here to catch this case. 3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3867/* end confdefs.h. */ 3868@%:@ifdef __STDC__ 3869@%:@ include <limits.h> 3870@%:@else 3871@%:@ include <assert.h> 3872@%:@endif 3873 Syntax error 3874_ACEOF 3875if ac_fn_cxx_try_cpp "$LINENO"; then : 3876 3877else 3878 # Broken: fails on valid input. 3879continue 3880fi 3881rm -f conftest.err conftest.i conftest.$ac_ext 3882 3883 # OK, works on sane cases. Now check whether nonexistent headers 3884 # can be detected and how. 3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3886/* end confdefs.h. */ 3887@%:@include <ac_nonexistent.h> 3888_ACEOF 3889if ac_fn_cxx_try_cpp "$LINENO"; then : 3890 # Broken: success on invalid input. 3891continue 3892else 3893 # Passes both tests. 3894ac_preproc_ok=: 3895break 3896fi 3897rm -f conftest.err conftest.i conftest.$ac_ext 3898 3899done 3900# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3901rm -f conftest.i conftest.err conftest.$ac_ext 3902if $ac_preproc_ok; then : 3903 break 3904fi 3905 3906 done 3907 ac_cv_prog_CXXCPP=$CXXCPP 3908 3909fi 3910 CXXCPP=$ac_cv_prog_CXXCPP 3911else 3912 ac_cv_prog_CXXCPP=$CXXCPP 3913fi 3914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 3915$as_echo "$CXXCPP" >&6; } 3916ac_preproc_ok=false 3917for ac_cxx_preproc_warn_flag in '' yes 3918do 3919 # Use a header file that comes with gcc, so configuring glibc 3920 # with a fresh cross-compiler works. 3921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3922 # <limits.h> exists even on freestanding compilers. 3923 # On the NeXT, cc -E runs the code through the compiler's parser, 3924 # not just through cpp. "Syntax error" is here to catch this case. 3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3926/* end confdefs.h. */ 3927@%:@ifdef __STDC__ 3928@%:@ include <limits.h> 3929@%:@else 3930@%:@ include <assert.h> 3931@%:@endif 3932 Syntax error 3933_ACEOF 3934if ac_fn_cxx_try_cpp "$LINENO"; then : 3935 3936else 3937 # Broken: fails on valid input. 3938continue 3939fi 3940rm -f conftest.err conftest.i conftest.$ac_ext 3941 3942 # OK, works on sane cases. Now check whether nonexistent headers 3943 # can be detected and how. 3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3945/* end confdefs.h. */ 3946@%:@include <ac_nonexistent.h> 3947_ACEOF 3948if ac_fn_cxx_try_cpp "$LINENO"; then : 3949 # Broken: success on invalid input. 3950continue 3951else 3952 # Passes both tests. 3953ac_preproc_ok=: 3954break 3955fi 3956rm -f conftest.err conftest.i conftest.$ac_ext 3957 3958done 3959# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3960rm -f conftest.i conftest.err conftest.$ac_ext 3961if $ac_preproc_ok; then : 3962 3963else 3964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3965$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3966as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 3967See \`config.log' for more details" "$LINENO" 5; } 3968fi 3969 3970ac_ext=c 3971ac_cpp='$CPP $CPPFLAGS' 3972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3974ac_compiler_gnu=$ac_cv_c_compiler_gnu 3975 3976 3977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3978$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3979set x ${MAKE-make} 3980ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3981if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3982 $as_echo_n "(cached) " >&6 3983else 3984 cat >conftest.make <<\_ACEOF 3985SHELL = /bin/sh 3986all: 3987 @echo '@@@%%%=$(MAKE)=@@@%%%' 3988_ACEOF 3989# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3990case `${MAKE-make} -f conftest.make 2>/dev/null` in 3991 *@@@%%%=?*=@@@%%%*) 3992 eval ac_cv_prog_make_${ac_make}_set=yes;; 3993 *) 3994 eval ac_cv_prog_make_${ac_make}_set=no;; 3995esac 3996rm -f conftest.make 3997fi 3998if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4000$as_echo "yes" >&6; } 4001 SET_MAKE= 4002else 4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4004$as_echo "no" >&6; } 4005 SET_MAKE="MAKE=${MAKE-make}" 4006fi 4007 4008if test -n "$ac_tool_prefix"; then 4009 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4010set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4012$as_echo_n "checking for $ac_word... " >&6; } 4013if ${ac_cv_prog_RANLIB+:} false; then : 4014 $as_echo_n "(cached) " >&6 4015else 4016 if test -n "$RANLIB"; then 4017 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4018else 4019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4020for as_dir in $PATH 4021do 4022 IFS=$as_save_IFS 4023 test -z "$as_dir" && as_dir=. 4024 for ac_exec_ext in '' $ac_executable_extensions; do 4025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4026 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4028 break 2 4029 fi 4030done 4031 done 4032IFS=$as_save_IFS 4033 4034fi 4035fi 4036RANLIB=$ac_cv_prog_RANLIB 4037if test -n "$RANLIB"; then 4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4039$as_echo "$RANLIB" >&6; } 4040else 4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4042$as_echo "no" >&6; } 4043fi 4044 4045 4046fi 4047if test -z "$ac_cv_prog_RANLIB"; then 4048 ac_ct_RANLIB=$RANLIB 4049 # Extract the first word of "ranlib", so it can be a program name with args. 4050set dummy ranlib; ac_word=$2 4051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4052$as_echo_n "checking for $ac_word... " >&6; } 4053if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4054 $as_echo_n "(cached) " >&6 4055else 4056 if test -n "$ac_ct_RANLIB"; then 4057 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4058else 4059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4060for as_dir in $PATH 4061do 4062 IFS=$as_save_IFS 4063 test -z "$as_dir" && as_dir=. 4064 for ac_exec_ext in '' $ac_executable_extensions; do 4065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4066 ac_cv_prog_ac_ct_RANLIB="ranlib" 4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4068 break 2 4069 fi 4070done 4071 done 4072IFS=$as_save_IFS 4073 4074fi 4075fi 4076ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4077if test -n "$ac_ct_RANLIB"; then 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4079$as_echo "$ac_ct_RANLIB" >&6; } 4080else 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4082$as_echo "no" >&6; } 4083fi 4084 4085 if test "x$ac_ct_RANLIB" = x; then 4086 RANLIB=":" 4087 else 4088 case $cross_compiling:$ac_tool_warned in 4089yes:) 4090{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4091$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4092ac_tool_warned=yes ;; 4093esac 4094 RANLIB=$ac_ct_RANLIB 4095 fi 4096else 4097 RANLIB="$ac_cv_prog_RANLIB" 4098fi 4099 4100# Extract the first word of "fmt", so it can be a program name with args. 4101set dummy fmt; ac_word=$2 4102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4103$as_echo_n "checking for $ac_word... " >&6; } 4104if ${ac_cv_prog_FMT+:} false; then : 4105 $as_echo_n "(cached) " >&6 4106else 4107 if test -n "$FMT"; then 4108 ac_cv_prog_FMT="$FMT" # Let the user override the test. 4109else 4110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4111for as_dir in $PATH 4112do 4113 IFS=$as_save_IFS 4114 test -z "$as_dir" && as_dir=. 4115 for ac_exec_ext in '' $ac_executable_extensions; do 4116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4117 ac_cv_prog_FMT="fmt" 4118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4119 break 2 4120 fi 4121done 4122 done 4123IFS=$as_save_IFS 4124 4125 test -z "$ac_cv_prog_FMT" && ac_cv_prog_FMT="cat" 4126fi 4127fi 4128FMT=$ac_cv_prog_FMT 4129if test -n "$FMT"; then 4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FMT" >&5 4131$as_echo "$FMT" >&6; } 4132else 4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4134$as_echo "no" >&6; } 4135fi 4136 4137 4138 4139# Extract the first word of "gtar", so it can be a program name with args. 4140set dummy gtar; ac_word=$2 4141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4142$as_echo_n "checking for $ac_word... " >&6; } 4143if ${ac_cv_path_TAR+:} false; then : 4144 $as_echo_n "(cached) " >&6 4145else 4146 case $TAR in 4147 [\\/]* | ?:[\\/]*) 4148 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. 4149 ;; 4150 *) 4151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4152for as_dir in $PATH 4153do 4154 IFS=$as_save_IFS 4155 test -z "$as_dir" && as_dir=. 4156 for ac_exec_ext in '' $ac_executable_extensions; do 4157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4158 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" 4159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4160 break 2 4161 fi 4162done 4163 done 4164IFS=$as_save_IFS 4165 4166 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="tar" 4167 ;; 4168esac 4169fi 4170TAR=$ac_cv_path_TAR 4171if test -n "$TAR"; then 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 4173$as_echo "$TAR" >&6; } 4174else 4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4176$as_echo "no" >&6; } 4177fi 4178 4179 4180# Extract the first word of "gfind", so it can be a program name with args. 4181set dummy gfind; ac_word=$2 4182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4183$as_echo_n "checking for $ac_word... " >&6; } 4184if ${ac_cv_path_FIND+:} false; then : 4185 $as_echo_n "(cached) " >&6 4186else 4187 case $FIND in 4188 [\\/]* | ?:[\\/]*) 4189 ac_cv_path_FIND="$FIND" # Let the user override the test with a path. 4190 ;; 4191 *) 4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4193for as_dir in $PATH 4194do 4195 IFS=$as_save_IFS 4196 test -z "$as_dir" && as_dir=. 4197 for ac_exec_ext in '' $ac_executable_extensions; do 4198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4199 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext" 4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4201 break 2 4202 fi 4203done 4204 done 4205IFS=$as_save_IFS 4206 4207 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="find" 4208 ;; 4209esac 4210fi 4211FIND=$ac_cv_path_FIND 4212if test -n "$FIND"; then 4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5 4214$as_echo "$FIND" >&6; } 4215else 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4217$as_echo "no" >&6; } 4218fi 4219 4220 4221# Extract the first word of "gdb", so it can be a program name with args. 4222set dummy gdb; ac_word=$2 4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4224$as_echo_n "checking for $ac_word... " >&6; } 4225if ${ac_cv_path_GDB+:} false; then : 4226 $as_echo_n "(cached) " >&6 4227else 4228 case $GDB in 4229 [\\/]* | ?:[\\/]*) 4230 ac_cv_path_GDB="$GDB" # Let the user override the test with a path. 4231 ;; 4232 *) 4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4234for as_dir in $PATH 4235do 4236 IFS=$as_save_IFS 4237 test -z "$as_dir" && as_dir=. 4238 for ac_exec_ext in '' $ac_executable_extensions; do 4239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4240 ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext" 4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4242 break 2 4243 fi 4244done 4245 done 4246IFS=$as_save_IFS 4247 4248 ;; 4249esac 4250fi 4251GDB=$ac_cv_path_GDB 4252if test -n "$GDB"; then 4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDB" >&5 4254$as_echo "$GDB" >&6; } 4255else 4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4257$as_echo "no" >&6; } 4258fi 4259 4260 4261 4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 4263$as_echo_n "checking for inline... " >&6; } 4264if ${ac_cv_c_inline+:} false; then : 4265 $as_echo_n "(cached) " >&6 4266else 4267 ac_cv_c_inline=no 4268for ac_kw in inline __inline__ __inline; do 4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4270/* end confdefs.h. */ 4271#ifndef __cplusplus 4272typedef int foo_t; 4273static $ac_kw foo_t static_foo () {return 0; } 4274$ac_kw foo_t foo () {return 0; } 4275#endif 4276 4277_ACEOF 4278if ac_fn_c_try_compile "$LINENO"; then : 4279 ac_cv_c_inline=$ac_kw 4280fi 4281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4282 test "$ac_cv_c_inline" != no && break 4283done 4284 4285fi 4286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 4287$as_echo "$ac_cv_c_inline" >&6; } 4288 4289case $ac_cv_c_inline in 4290 inline | yes) ;; 4291 *) 4292 case $ac_cv_c_inline in 4293 no) ac_val=;; 4294 *) ac_val=$ac_cv_c_inline;; 4295 esac 4296 cat >>confdefs.h <<_ACEOF 4297#ifndef __cplusplus 4298#define inline $ac_val 4299#endif 4300_ACEOF 4301 ;; 4302esac 4303 4304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4305$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4306if ${ac_cv_c_const+:} false; then : 4307 $as_echo_n "(cached) " >&6 4308else 4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4310/* end confdefs.h. */ 4311 4312int 4313main () 4314{ 4315 4316#ifndef __cplusplus 4317 /* Ultrix mips cc rejects this sort of thing. */ 4318 typedef int charset[2]; 4319 const charset cs = { 0, 0 }; 4320 /* SunOS 4.1.1 cc rejects this. */ 4321 char const *const *pcpcc; 4322 char **ppc; 4323 /* NEC SVR4.0.2 mips cc rejects this. */ 4324 struct point {int x, y;}; 4325 static struct point const zero = {0,0}; 4326 /* AIX XL C 1.02.0.0 rejects this. 4327 It does not let you subtract one const X* pointer from another in 4328 an arm of an if-expression whose if-part is not a constant 4329 expression */ 4330 const char *g = "string"; 4331 pcpcc = &g + (g ? g-g : 0); 4332 /* HPUX 7.0 cc rejects these. */ 4333 ++pcpcc; 4334 ppc = (char**) pcpcc; 4335 pcpcc = (char const *const *) ppc; 4336 { /* SCO 3.2v4 cc rejects this sort of thing. */ 4337 char tx; 4338 char *t = &tx; 4339 char const *s = 0 ? (char *) 0 : (char const *) 0; 4340 4341 *t++ = 0; 4342 if (s) return 0; 4343 } 4344 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4345 int x[] = {25, 17}; 4346 const int *foo = &x[0]; 4347 ++foo; 4348 } 4349 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4350 typedef const int *iptr; 4351 iptr p = 0; 4352 ++p; 4353 } 4354 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 4355 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4356 struct s { int j; const int *ap[3]; } bx; 4357 struct s *b = &bx; b->j = 5; 4358 } 4359 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4360 const int foo = 10; 4361 if (!foo) return 0; 4362 } 4363 return !cs[0] && !zero.x; 4364#endif 4365 4366 ; 4367 return 0; 4368} 4369_ACEOF 4370if ac_fn_c_try_compile "$LINENO"; then : 4371 ac_cv_c_const=yes 4372else 4373 ac_cv_c_const=no 4374fi 4375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4376fi 4377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4378$as_echo "$ac_cv_c_const" >&6; } 4379if test $ac_cv_c_const = no; then 4380 4381$as_echo "@%:@define const /**/" >>confdefs.h 4382 4383fi 4384 4385 4386 4387 4388for ac_func in vsprintf vsnprintf gettimeofday 4389do : 4390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4391ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4392if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 4393 cat >>confdefs.h <<_ACEOF 4394@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4395_ACEOF 4396 4397fi 4398done 4399 4400 4401ac_config_files="$ac_config_files Makefile doc/Makefile examples/Makefile man/Makefile src/Makefile test/Makefile gdb/Makefile tcl/Makefile emacs/Makefile perf/Makefile src/nana-config.h src/nana src/nana-run src/nana-clg gdb/nana-trace gdb/nana-libtrace src/nana-c++lg shortform/Makefile shortform/nana-sfg shortform/nana-sfdir gnuware test/gammon" 4402 4403ac_config_commands="$ac_config_commands default" 4404 4405cat >confcache <<\_ACEOF 4406# This file is a shell script that caches the results of configure 4407# tests run on this system so they can be shared between configure 4408# scripts and configure runs, see configure's option --config-cache. 4409# It is not useful on other systems. If it contains results you don't 4410# want to keep, you may remove or edit it. 4411# 4412# config.status only pays attention to the cache file if you give it 4413# the --recheck option to rerun configure. 4414# 4415# `ac_cv_env_foo' variables (set or unset) will be overridden when 4416# loading this file, other *unset* `ac_cv_foo' will be assigned the 4417# following values. 4418 4419_ACEOF 4420 4421# The following way of writing the cache mishandles newlines in values, 4422# but we know of no workaround that is simple, portable, and efficient. 4423# So, we kill variables containing newlines. 4424# Ultrix sh set writes to stderr and can't be redirected directly, 4425# and sets the high bit in the cache file unless we assign to the vars. 4426( 4427 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4428 eval ac_val=\$$ac_var 4429 case $ac_val in #( 4430 *${as_nl}*) 4431 case $ac_var in #( 4432 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4433$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4434 esac 4435 case $ac_var in #( 4436 _ | IFS | as_nl) ;; #( 4437 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4438 *) { eval $ac_var=; unset $ac_var;} ;; 4439 esac ;; 4440 esac 4441 done 4442 4443 (set) 2>&1 | 4444 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4445 *${as_nl}ac_space=\ *) 4446 # `set' does not quote correctly, so add quotes: double-quote 4447 # substitution turns \\\\ into \\, and sed turns \\ into \. 4448 sed -n \ 4449 "s/'/'\\\\''/g; 4450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4451 ;; #( 4452 *) 4453 # `set' quotes correctly as required by POSIX, so do not add quotes. 4454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4455 ;; 4456 esac | 4457 sort 4458) | 4459 sed ' 4460 /^ac_cv_env_/b end 4461 t clear 4462 :clear 4463 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4464 t end 4465 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4466 :end' >>confcache 4467if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4468 if test -w "$cache_file"; then 4469 if test "x$cache_file" != "x/dev/null"; then 4470 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4471$as_echo "$as_me: updating cache $cache_file" >&6;} 4472 if test ! -f "$cache_file" || test -h "$cache_file"; then 4473 cat confcache >"$cache_file" 4474 else 4475 case $cache_file in #( 4476 */* | ?:*) 4477 mv -f confcache "$cache_file"$$ && 4478 mv -f "$cache_file"$$ "$cache_file" ;; #( 4479 *) 4480 mv -f confcache "$cache_file" ;; 4481 esac 4482 fi 4483 fi 4484 else 4485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4486$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4487 fi 4488fi 4489rm -f confcache 4490 4491test "x$prefix" = xNONE && prefix=$ac_default_prefix 4492# Let make expand exec_prefix. 4493test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4494 4495# Transform confdefs.h into DEFS. 4496# Protect against shell expansion while executing Makefile rules. 4497# Protect against Makefile macro expansion. 4498# 4499# If the first sed substitution is executed (which looks for macros that 4500# take arguments), then branch to the quote section. Otherwise, 4501# look for a macro that doesn't take arguments. 4502ac_script=' 4503:mline 4504/\\$/{ 4505 N 4506 s,\\\n,, 4507 b mline 4508} 4509t clear 4510:clear 4511s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4512t quote 4513s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4514t quote 4515b any 4516:quote 4517s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4518s/\[/\\&/g 4519s/\]/\\&/g 4520s/\$/$$/g 4521H 4522:any 4523${ 4524 g 4525 s/^\n// 4526 s/\n/ /g 4527 p 4528} 4529' 4530DEFS=`sed -n "$ac_script" confdefs.h` 4531 4532 4533ac_libobjs= 4534ac_ltlibobjs= 4535U= 4536for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 4537 # 1. Remove the extension, and $U if already installed. 4538 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4539 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4540 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4541 # will be set to the directory where LIBOBJS objects are built. 4542 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4543 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4544done 4545LIB@&t@OBJS=$ac_libobjs 4546 4547LTLIBOBJS=$ac_ltlibobjs 4548 4549 4550 4551: "${CONFIG_STATUS=./config.status}" 4552ac_write_fail=0 4553ac_clean_files_save=$ac_clean_files 4554ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4555{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4556$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4557as_write_fail=0 4558cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4559#! $SHELL 4560# Generated by $as_me. 4561# Run this file to recreate the current configuration. 4562# Compiler output produced by configure, useful for debugging 4563# configure, is in config.log if it exists. 4564 4565debug=false 4566ac_cs_recheck=false 4567ac_cs_silent=false 4568 4569SHELL=\${CONFIG_SHELL-$SHELL} 4570export SHELL 4571_ASEOF 4572cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4573## -------------------- ## 4574## M4sh Initialization. ## 4575## -------------------- ## 4576 4577# Be more Bourne compatible 4578DUALCASE=1; export DUALCASE # for MKS sh 4579if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4580 emulate sh 4581 NULLCMD=: 4582 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4583 # is contrary to our usage. Disable this feature. 4584 alias -g '${1+"$@"}'='"$@"' 4585 setopt NO_GLOB_SUBST 4586else 4587 case `(set -o) 2>/dev/null` in @%:@( 4588 *posix*) : 4589 set -o posix ;; @%:@( 4590 *) : 4591 ;; 4592esac 4593fi 4594 4595 4596as_nl=' 4597' 4598export as_nl 4599# Printing a long string crashes Solaris 7 /usr/bin/printf. 4600as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4601as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4602as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4603# Prefer a ksh shell builtin over an external printf program on Solaris, 4604# but without wasting forks for bash or zsh. 4605if test -z "$BASH_VERSION$ZSH_VERSION" \ 4606 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4607 as_echo='print -r --' 4608 as_echo_n='print -rn --' 4609elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4610 as_echo='printf %s\n' 4611 as_echo_n='printf %s' 4612else 4613 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4614 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4615 as_echo_n='/usr/ucb/echo -n' 4616 else 4617 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4618 as_echo_n_body='eval 4619 arg=$1; 4620 case $arg in @%:@( 4621 *"$as_nl"*) 4622 expr "X$arg" : "X\\(.*\\)$as_nl"; 4623 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4624 esac; 4625 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4626 ' 4627 export as_echo_n_body 4628 as_echo_n='sh -c $as_echo_n_body as_echo' 4629 fi 4630 export as_echo_body 4631 as_echo='sh -c $as_echo_body as_echo' 4632fi 4633 4634# The user is always right. 4635if test "${PATH_SEPARATOR+set}" != set; then 4636 PATH_SEPARATOR=: 4637 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4638 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4639 PATH_SEPARATOR=';' 4640 } 4641fi 4642 4643 4644# IFS 4645# We need space, tab and new line, in precisely that order. Quoting is 4646# there to prevent editors from complaining about space-tab. 4647# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4648# splitting by setting IFS to empty value.) 4649IFS=" "" $as_nl" 4650 4651# Find who we are. Look in the path if we contain no directory separator. 4652as_myself= 4653case $0 in @%:@(( 4654 *[\\/]* ) as_myself=$0 ;; 4655 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4656for as_dir in $PATH 4657do 4658 IFS=$as_save_IFS 4659 test -z "$as_dir" && as_dir=. 4660 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4661 done 4662IFS=$as_save_IFS 4663 4664 ;; 4665esac 4666# We did not find ourselves, most probably we were run as `sh COMMAND' 4667# in which case we are not to be found in the path. 4668if test "x$as_myself" = x; then 4669 as_myself=$0 4670fi 4671if test ! -f "$as_myself"; then 4672 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4673 exit 1 4674fi 4675 4676# Unset variables that we do not need and which cause bugs (e.g. in 4677# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4678# suppresses any "Segmentation fault" message there. '((' could 4679# trigger a bug in pdksh 5.2.14. 4680for as_var in BASH_ENV ENV MAIL MAILPATH 4681do eval test x\${$as_var+set} = xset \ 4682 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4683done 4684PS1='$ ' 4685PS2='> ' 4686PS4='+ ' 4687 4688# NLS nuisances. 4689LC_ALL=C 4690export LC_ALL 4691LANGUAGE=C 4692export LANGUAGE 4693 4694# CDPATH. 4695(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4696 4697 4698@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 4699@%:@ ---------------------------------------- 4700@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4701@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4702@%:@ script with STATUS, using 1 if that was 0. 4703as_fn_error () 4704{ 4705 as_status=$1; test $as_status -eq 0 && as_status=1 4706 if test "$4"; then 4707 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4708 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4709 fi 4710 $as_echo "$as_me: error: $2" >&2 4711 as_fn_exit $as_status 4712} @%:@ as_fn_error 4713 4714 4715@%:@ as_fn_set_status STATUS 4716@%:@ ----------------------- 4717@%:@ Set @S|@? to STATUS, without forking. 4718as_fn_set_status () 4719{ 4720 return $1 4721} @%:@ as_fn_set_status 4722 4723@%:@ as_fn_exit STATUS 4724@%:@ ----------------- 4725@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4726as_fn_exit () 4727{ 4728 set +e 4729 as_fn_set_status $1 4730 exit $1 4731} @%:@ as_fn_exit 4732 4733@%:@ as_fn_unset VAR 4734@%:@ --------------- 4735@%:@ Portably unset VAR. 4736as_fn_unset () 4737{ 4738 { eval $1=; unset $1;} 4739} 4740as_unset=as_fn_unset 4741@%:@ as_fn_append VAR VALUE 4742@%:@ ---------------------- 4743@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 4744@%:@ advantage of any shell optimizations that allow amortized linear growth over 4745@%:@ repeated appends, instead of the typical quadratic growth present in naive 4746@%:@ implementations. 4747if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4748 eval 'as_fn_append () 4749 { 4750 eval $1+=\$2 4751 }' 4752else 4753 as_fn_append () 4754 { 4755 eval $1=\$$1\$2 4756 } 4757fi # as_fn_append 4758 4759@%:@ as_fn_arith ARG... 4760@%:@ ------------------ 4761@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 4762@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 4763@%:@ must be portable across @S|@(()) and expr. 4764if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4765 eval 'as_fn_arith () 4766 { 4767 as_val=$(( $* )) 4768 }' 4769else 4770 as_fn_arith () 4771 { 4772 as_val=`expr "$@" || test $? -eq 1` 4773 } 4774fi # as_fn_arith 4775 4776 4777if expr a : '\(a\)' >/dev/null 2>&1 && 4778 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4779 as_expr=expr 4780else 4781 as_expr=false 4782fi 4783 4784if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4785 as_basename=basename 4786else 4787 as_basename=false 4788fi 4789 4790if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4791 as_dirname=dirname 4792else 4793 as_dirname=false 4794fi 4795 4796as_me=`$as_basename -- "$0" || 4797$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4798 X"$0" : 'X\(//\)$' \| \ 4799 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4800$as_echo X/"$0" | 4801 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4802 s//\1/ 4803 q 4804 } 4805 /^X\/\(\/\/\)$/{ 4806 s//\1/ 4807 q 4808 } 4809 /^X\/\(\/\).*/{ 4810 s//\1/ 4811 q 4812 } 4813 s/.*/./; q'` 4814 4815# Avoid depending upon Character Ranges. 4816as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4817as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4818as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4819as_cr_digits='0123456789' 4820as_cr_alnum=$as_cr_Letters$as_cr_digits 4821 4822ECHO_C= ECHO_N= ECHO_T= 4823case `echo -n x` in @%:@((((( 4824-n*) 4825 case `echo 'xy\c'` in 4826 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4827 xy) ECHO_C='\c';; 4828 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4829 ECHO_T=' ';; 4830 esac;; 4831*) 4832 ECHO_N='-n';; 4833esac 4834 4835rm -f conf$$ conf$$.exe conf$$.file 4836if test -d conf$$.dir; then 4837 rm -f conf$$.dir/conf$$.file 4838else 4839 rm -f conf$$.dir 4840 mkdir conf$$.dir 2>/dev/null 4841fi 4842if (echo >conf$$.file) 2>/dev/null; then 4843 if ln -s conf$$.file conf$$ 2>/dev/null; then 4844 as_ln_s='ln -s' 4845 # ... but there are two gotchas: 4846 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4847 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4848 # In both cases, we have to default to `cp -pR'. 4849 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4850 as_ln_s='cp -pR' 4851 elif ln conf$$.file conf$$ 2>/dev/null; then 4852 as_ln_s=ln 4853 else 4854 as_ln_s='cp -pR' 4855 fi 4856else 4857 as_ln_s='cp -pR' 4858fi 4859rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4860rmdir conf$$.dir 2>/dev/null 4861 4862 4863@%:@ as_fn_mkdir_p 4864@%:@ ------------- 4865@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 4866as_fn_mkdir_p () 4867{ 4868 4869 case $as_dir in #( 4870 -*) as_dir=./$as_dir;; 4871 esac 4872 test -d "$as_dir" || eval $as_mkdir_p || { 4873 as_dirs= 4874 while :; do 4875 case $as_dir in #( 4876 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4877 *) as_qdir=$as_dir;; 4878 esac 4879 as_dirs="'$as_qdir' $as_dirs" 4880 as_dir=`$as_dirname -- "$as_dir" || 4881$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4882 X"$as_dir" : 'X\(//\)[^/]' \| \ 4883 X"$as_dir" : 'X\(//\)$' \| \ 4884 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4885$as_echo X"$as_dir" | 4886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4887 s//\1/ 4888 q 4889 } 4890 /^X\(\/\/\)[^/].*/{ 4891 s//\1/ 4892 q 4893 } 4894 /^X\(\/\/\)$/{ 4895 s//\1/ 4896 q 4897 } 4898 /^X\(\/\).*/{ 4899 s//\1/ 4900 q 4901 } 4902 s/.*/./; q'` 4903 test -d "$as_dir" && break 4904 done 4905 test -z "$as_dirs" || eval "mkdir $as_dirs" 4906 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4907 4908 4909} @%:@ as_fn_mkdir_p 4910if mkdir -p . 2>/dev/null; then 4911 as_mkdir_p='mkdir -p "$as_dir"' 4912else 4913 test -d ./-p && rmdir ./-p 4914 as_mkdir_p=false 4915fi 4916 4917 4918@%:@ as_fn_executable_p FILE 4919@%:@ ----------------------- 4920@%:@ Test if FILE is an executable regular file. 4921as_fn_executable_p () 4922{ 4923 test -f "$1" && test -x "$1" 4924} @%:@ as_fn_executable_p 4925as_test_x='test -x' 4926as_executable_p=as_fn_executable_p 4927 4928# Sed expression to map a string onto a valid CPP name. 4929as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4930 4931# Sed expression to map a string onto a valid variable name. 4932as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4933 4934 4935exec 6>&1 4936## ----------------------------------- ## 4937## Main body of $CONFIG_STATUS script. ## 4938## ----------------------------------- ## 4939_ASEOF 4940test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4941 4942cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4943# Save the log message, to keep $0 and so on meaningful, and to 4944# report actual input values of CONFIG_FILES etc. instead of their 4945# values after options handling. 4946ac_log=" 4947This file was extended by $as_me, which was 4948generated by GNU Autoconf 2.69. Invocation command line was 4949 4950 CONFIG_FILES = $CONFIG_FILES 4951 CONFIG_HEADERS = $CONFIG_HEADERS 4952 CONFIG_LINKS = $CONFIG_LINKS 4953 CONFIG_COMMANDS = $CONFIG_COMMANDS 4954 $ $0 $@ 4955 4956on `(hostname || uname -n) 2>/dev/null | sed 1q` 4957" 4958 4959_ACEOF 4960 4961case $ac_config_files in *" 4962"*) set x $ac_config_files; shift; ac_config_files=$*;; 4963esac 4964 4965 4966 4967cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4968# Files that config.status was made for. 4969config_files="$ac_config_files" 4970config_commands="$ac_config_commands" 4971 4972_ACEOF 4973 4974cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4975ac_cs_usage="\ 4976\`$as_me' instantiates files and other configuration actions 4977from templates according to the current configuration. Unless the files 4978and actions are specified as TAGs, all are instantiated by default. 4979 4980Usage: $0 [OPTION]... [TAG]... 4981 4982 -h, --help print this help, then exit 4983 -V, --version print version number and configuration settings, then exit 4984 --config print configuration, then exit 4985 -q, --quiet, --silent 4986 do not print progress messages 4987 -d, --debug don't remove temporary files 4988 --recheck update $as_me by reconfiguring in the same conditions 4989 --file=FILE[:TEMPLATE] 4990 instantiate the configuration file FILE 4991 4992Configuration files: 4993$config_files 4994 4995Configuration commands: 4996$config_commands 4997 4998Report bugs to the package provider." 4999 5000_ACEOF 5001cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5002ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5003ac_cs_version="\\ 5004config.status 5005configured by $0, generated by GNU Autoconf 2.69, 5006 with options \\"\$ac_cs_config\\" 5007 5008Copyright (C) 2012 Free Software Foundation, Inc. 5009This config.status script is free software; the Free Software Foundation 5010gives unlimited permission to copy, distribute and modify it." 5011 5012ac_pwd='$ac_pwd' 5013srcdir='$srcdir' 5014INSTALL='$INSTALL' 5015AWK='$AWK' 5016test -n "\$AWK" || AWK=awk 5017_ACEOF 5018 5019cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5020# The default lists apply if the user does not specify any file. 5021ac_need_defaults=: 5022while test $# != 0 5023do 5024 case $1 in 5025 --*=?*) 5026 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5027 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5028 ac_shift=: 5029 ;; 5030 --*=) 5031 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5032 ac_optarg= 5033 ac_shift=: 5034 ;; 5035 *) 5036 ac_option=$1 5037 ac_optarg=$2 5038 ac_shift=shift 5039 ;; 5040 esac 5041 5042 case $ac_option in 5043 # Handling of the options. 5044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5045 ac_cs_recheck=: ;; 5046 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5047 $as_echo "$ac_cs_version"; exit ;; 5048 --config | --confi | --conf | --con | --co | --c ) 5049 $as_echo "$ac_cs_config"; exit ;; 5050 --debug | --debu | --deb | --de | --d | -d ) 5051 debug=: ;; 5052 --file | --fil | --fi | --f ) 5053 $ac_shift 5054 case $ac_optarg in 5055 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5056 '') as_fn_error $? "missing file argument" ;; 5057 esac 5058 as_fn_append CONFIG_FILES " '$ac_optarg'" 5059 ac_need_defaults=false;; 5060 --he | --h | --help | --hel | -h ) 5061 $as_echo "$ac_cs_usage"; exit ;; 5062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5063 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5064 ac_cs_silent=: ;; 5065 5066 # This is an error. 5067 -*) as_fn_error $? "unrecognized option: \`$1' 5068Try \`$0 --help' for more information." ;; 5069 5070 *) as_fn_append ac_config_targets " $1" 5071 ac_need_defaults=false ;; 5072 5073 esac 5074 shift 5075done 5076 5077ac_configure_extra_args= 5078 5079if $ac_cs_silent; then 5080 exec 6>/dev/null 5081 ac_configure_extra_args="$ac_configure_extra_args --silent" 5082fi 5083 5084_ACEOF 5085cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5086if \$ac_cs_recheck; then 5087 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5088 shift 5089 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5090 CONFIG_SHELL='$SHELL' 5091 export CONFIG_SHELL 5092 exec "\$@" 5093fi 5094 5095_ACEOF 5096cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5097exec 5>>config.log 5098{ 5099 echo 5100 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 5101@%:@@%:@ Running $as_me. @%:@@%:@ 5102_ASBOX 5103 $as_echo "$ac_log" 5104} >&5 5105 5106_ACEOF 5107cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5108_ACEOF 5109 5110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5111 5112# Handling of arguments. 5113for ac_config_target in $ac_config_targets 5114do 5115 case $ac_config_target in 5116 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5117 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 5118 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 5119 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 5120 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 5121 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 5122 "gdb/Makefile") CONFIG_FILES="$CONFIG_FILES gdb/Makefile" ;; 5123 "tcl/Makefile") CONFIG_FILES="$CONFIG_FILES tcl/Makefile" ;; 5124 "emacs/Makefile") CONFIG_FILES="$CONFIG_FILES emacs/Makefile" ;; 5125 "perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;; 5126 "src/nana-config.h") CONFIG_FILES="$CONFIG_FILES src/nana-config.h" ;; 5127 "src/nana") CONFIG_FILES="$CONFIG_FILES src/nana" ;; 5128 "src/nana-run") CONFIG_FILES="$CONFIG_FILES src/nana-run" ;; 5129 "src/nana-clg") CONFIG_FILES="$CONFIG_FILES src/nana-clg" ;; 5130 "gdb/nana-trace") CONFIG_FILES="$CONFIG_FILES gdb/nana-trace" ;; 5131 "gdb/nana-libtrace") CONFIG_FILES="$CONFIG_FILES gdb/nana-libtrace" ;; 5132 "src/nana-c++lg") CONFIG_FILES="$CONFIG_FILES src/nana-c++lg" ;; 5133 "shortform/Makefile") CONFIG_FILES="$CONFIG_FILES shortform/Makefile" ;; 5134 "shortform/nana-sfg") CONFIG_FILES="$CONFIG_FILES shortform/nana-sfg" ;; 5135 "shortform/nana-sfdir") CONFIG_FILES="$CONFIG_FILES shortform/nana-sfdir" ;; 5136 "gnuware") CONFIG_FILES="$CONFIG_FILES gnuware" ;; 5137 "test/gammon") CONFIG_FILES="$CONFIG_FILES test/gammon" ;; 5138 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 5139 5140 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5141 esac 5142done 5143 5144 5145# If the user did not use the arguments to specify the items to instantiate, 5146# then the envvar interface is used. Set only those that are not. 5147# We use the long form for the default assignment because of an extremely 5148# bizarre bug on SunOS 4.1.3. 5149if $ac_need_defaults; then 5150 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5152fi 5153 5154# Have a temporary directory for convenience. Make it in the build tree 5155# simply because there is no reason against having it here, and in addition, 5156# creating and moving files from /tmp can sometimes cause problems. 5157# Hook for its removal unless debugging. 5158# Note that there is a small window in which the directory will not be cleaned: 5159# after its creation but before its name has been assigned to `$tmp'. 5160$debug || 5161{ 5162 tmp= ac_tmp= 5163 trap 'exit_status=$? 5164 : "${ac_tmp:=$tmp}" 5165 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5166' 0 5167 trap 'as_fn_exit 1' 1 2 13 15 5168} 5169# Create a (secure) tmp directory for tmp files. 5170 5171{ 5172 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5173 test -d "$tmp" 5174} || 5175{ 5176 tmp=./conf$$-$RANDOM 5177 (umask 077 && mkdir "$tmp") 5178} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5179ac_tmp=$tmp 5180 5181# Set up the scripts for CONFIG_FILES section. 5182# No need to generate them if there are no CONFIG_FILES. 5183# This happens for instance with `./config.status config.h'. 5184if test -n "$CONFIG_FILES"; then 5185 5186 5187ac_cr=`echo X | tr X '\015'` 5188# On cygwin, bash can eat \r inside `` if the user requested igncr. 5189# But we know of no other shell where ac_cr would be empty at this 5190# point, so we can use a bashism as a fallback. 5191if test "x$ac_cr" = x; then 5192 eval ac_cr=\$\'\\r\' 5193fi 5194ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5195if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5196 ac_cs_awk_cr='\\r' 5197else 5198 ac_cs_awk_cr=$ac_cr 5199fi 5200 5201echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5202_ACEOF 5203 5204 5205{ 5206 echo "cat >conf$$subs.awk <<_ACEOF" && 5207 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5208 echo "_ACEOF" 5209} >conf$$subs.sh || 5210 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5211ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5212ac_delim='%!_!# ' 5213for ac_last_try in false false false false false :; do 5214 . ./conf$$subs.sh || 5215 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5216 5217 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5218 if test $ac_delim_n = $ac_delim_num; then 5219 break 5220 elif $ac_last_try; then 5221 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5222 else 5223 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5224 fi 5225done 5226rm -f conf$$subs.sh 5227 5228cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5229cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5230_ACEOF 5231sed -n ' 5232h 5233s/^/S["/; s/!.*/"]=/ 5234p 5235g 5236s/^[^!]*!// 5237:repl 5238t repl 5239s/'"$ac_delim"'$// 5240t delim 5241:nl 5242h 5243s/\(.\{148\}\)..*/\1/ 5244t more1 5245s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5246p 5247n 5248b repl 5249:more1 5250s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5251p 5252g 5253s/.\{148\}// 5254t nl 5255:delim 5256h 5257s/\(.\{148\}\)..*/\1/ 5258t more2 5259s/["\\]/\\&/g; s/^/"/; s/$/"/ 5260p 5261b 5262:more2 5263s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5264p 5265g 5266s/.\{148\}// 5267t delim 5268' <conf$$subs.awk | sed ' 5269/^[^""]/{ 5270 N 5271 s/\n// 5272} 5273' >>$CONFIG_STATUS || ac_write_fail=1 5274rm -f conf$$subs.awk 5275cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5276_ACAWK 5277cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5278 for (key in S) S_is_set[key] = 1 5279 FS = "" 5280 5281} 5282{ 5283 line = $ 0 5284 nfields = split(line, field, "@") 5285 substed = 0 5286 len = length(field[1]) 5287 for (i = 2; i < nfields; i++) { 5288 key = field[i] 5289 keylen = length(key) 5290 if (S_is_set[key]) { 5291 value = S[key] 5292 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5293 len += length(value) + length(field[++i]) 5294 substed = 1 5295 } else 5296 len += 1 + keylen 5297 } 5298 5299 print line 5300} 5301 5302_ACAWK 5303_ACEOF 5304cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5305if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5306 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5307else 5308 cat 5309fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5310 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5311_ACEOF 5312 5313# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5314# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5315# trailing colons and then remove the whole line if VPATH becomes empty 5316# (actually we leave an empty line to preserve line numbers). 5317if test "x$srcdir" = x.; then 5318 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5319h 5320s/// 5321s/^/:/ 5322s/[ ]*$/:/ 5323s/:\$(srcdir):/:/g 5324s/:\${srcdir}:/:/g 5325s/:@srcdir@:/:/g 5326s/^:*// 5327s/:*$// 5328x 5329s/\(=[ ]*\).*/\1/ 5330G 5331s/\n// 5332s/^[^=]*=[ ]*$// 5333}' 5334fi 5335 5336cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5337fi # test -n "$CONFIG_FILES" 5338 5339 5340eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 5341shift 5342for ac_tag 5343do 5344 case $ac_tag in 5345 :[FHLC]) ac_mode=$ac_tag; continue;; 5346 esac 5347 case $ac_mode$ac_tag in 5348 :[FHL]*:*);; 5349 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5350 :[FH]-) ac_tag=-:-;; 5351 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5352 esac 5353 ac_save_IFS=$IFS 5354 IFS=: 5355 set x $ac_tag 5356 IFS=$ac_save_IFS 5357 shift 5358 ac_file=$1 5359 shift 5360 5361 case $ac_mode in 5362 :L) ac_source=$1;; 5363 :[FH]) 5364 ac_file_inputs= 5365 for ac_f 5366 do 5367 case $ac_f in 5368 -) ac_f="$ac_tmp/stdin";; 5369 *) # Look for the file first in the build tree, then in the source tree 5370 # (if the path is not absolute). The absolute path cannot be DOS-style, 5371 # because $ac_f cannot contain `:'. 5372 test -f "$ac_f" || 5373 case $ac_f in 5374 [\\/$]*) false;; 5375 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5376 esac || 5377 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5378 esac 5379 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5380 as_fn_append ac_file_inputs " '$ac_f'" 5381 done 5382 5383 # Let's still pretend it is `configure' which instantiates (i.e., don't 5384 # use $as_me), people would be surprised to read: 5385 # /* config.h. Generated by config.status. */ 5386 configure_input='Generated from '` 5387 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5388 `' by configure.' 5389 if test x"$ac_file" != x-; then 5390 configure_input="$ac_file. $configure_input" 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5392$as_echo "$as_me: creating $ac_file" >&6;} 5393 fi 5394 # Neutralize special characters interpreted by sed in replacement strings. 5395 case $configure_input in #( 5396 *\&* | *\|* | *\\* ) 5397 ac_sed_conf_input=`$as_echo "$configure_input" | 5398 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5399 *) ac_sed_conf_input=$configure_input;; 5400 esac 5401 5402 case $ac_tag in 5403 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5404 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5405 esac 5406 ;; 5407 esac 5408 5409 ac_dir=`$as_dirname -- "$ac_file" || 5410$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5411 X"$ac_file" : 'X\(//\)[^/]' \| \ 5412 X"$ac_file" : 'X\(//\)$' \| \ 5413 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5414$as_echo X"$ac_file" | 5415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5416 s//\1/ 5417 q 5418 } 5419 /^X\(\/\/\)[^/].*/{ 5420 s//\1/ 5421 q 5422 } 5423 /^X\(\/\/\)$/{ 5424 s//\1/ 5425 q 5426 } 5427 /^X\(\/\).*/{ 5428 s//\1/ 5429 q 5430 } 5431 s/.*/./; q'` 5432 as_dir="$ac_dir"; as_fn_mkdir_p 5433 ac_builddir=. 5434 5435case "$ac_dir" in 5436.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5437*) 5438 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5439 # A ".." for each directory in $ac_dir_suffix. 5440 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5441 case $ac_top_builddir_sub in 5442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5444 esac ;; 5445esac 5446ac_abs_top_builddir=$ac_pwd 5447ac_abs_builddir=$ac_pwd$ac_dir_suffix 5448# for backward compatibility: 5449ac_top_builddir=$ac_top_build_prefix 5450 5451case $srcdir in 5452 .) # We are building in place. 5453 ac_srcdir=. 5454 ac_top_srcdir=$ac_top_builddir_sub 5455 ac_abs_top_srcdir=$ac_pwd ;; 5456 [\\/]* | ?:[\\/]* ) # Absolute name. 5457 ac_srcdir=$srcdir$ac_dir_suffix; 5458 ac_top_srcdir=$srcdir 5459 ac_abs_top_srcdir=$srcdir ;; 5460 *) # Relative name. 5461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5462 ac_top_srcdir=$ac_top_build_prefix$srcdir 5463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5464esac 5465ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5466 5467 5468 case $ac_mode in 5469 :F) 5470 # 5471 # CONFIG_FILE 5472 # 5473 5474 case $INSTALL in 5475 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5476 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5477 esac 5478_ACEOF 5479 5480cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5481# If the template does not know about datarootdir, expand it. 5482# FIXME: This hack should be removed a few years after 2.60. 5483ac_datarootdir_hack=; ac_datarootdir_seen= 5484ac_sed_dataroot=' 5485/datarootdir/ { 5486 p 5487 q 5488} 5489/@datadir@/p 5490/@docdir@/p 5491/@infodir@/p 5492/@localedir@/p 5493/@mandir@/p' 5494case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5495*datarootdir*) ac_datarootdir_seen=yes;; 5496*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5498$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5499_ACEOF 5500cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5501 ac_datarootdir_hack=' 5502 s&@datadir@&$datadir&g 5503 s&@docdir@&$docdir&g 5504 s&@infodir@&$infodir&g 5505 s&@localedir@&$localedir&g 5506 s&@mandir@&$mandir&g 5507 s&\\\${datarootdir}&$datarootdir&g' ;; 5508esac 5509_ACEOF 5510 5511# Neutralize VPATH when `$srcdir' = `.'. 5512# Shell code in configure.ac might set extrasub. 5513# FIXME: do we really want to maintain this feature? 5514cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5515ac_sed_extra="$ac_vpsub 5516$extrasub 5517_ACEOF 5518cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5519:t 5520/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5521s|@configure_input@|$ac_sed_conf_input|;t t 5522s&@top_builddir@&$ac_top_builddir_sub&;t t 5523s&@top_build_prefix@&$ac_top_build_prefix&;t t 5524s&@srcdir@&$ac_srcdir&;t t 5525s&@abs_srcdir@&$ac_abs_srcdir&;t t 5526s&@top_srcdir@&$ac_top_srcdir&;t t 5527s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5528s&@builddir@&$ac_builddir&;t t 5529s&@abs_builddir@&$ac_abs_builddir&;t t 5530s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5531s&@INSTALL@&$ac_INSTALL&;t t 5532$ac_datarootdir_hack 5533" 5534eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5535 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5536 5537test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5538 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5539 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5540 "$ac_tmp/out"`; test -z "$ac_out"; } && 5541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5542which seems to be undefined. Please make sure it is defined" >&5 5543$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5544which seems to be undefined. Please make sure it is defined" >&2;} 5545 5546 rm -f "$ac_tmp/stdin" 5547 case $ac_file in 5548 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5549 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5550 esac \ 5551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5552 ;; 5553 5554 5555 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5556$as_echo "$as_me: executing $ac_file commands" >&6;} 5557 ;; 5558 esac 5559 5560 5561 case $ac_file$ac_mode in 5562 "default":C) chmod +x src/nana src/nana-clg src/nana-c++lg src/nana-run test/gammon gnuware ;; 5563 5564 esac 5565done # for ac_tag 5566 5567 5568as_fn_exit 0 5569_ACEOF 5570ac_clean_files=$ac_clean_files_save 5571 5572test $ac_write_fail = 0 || 5573 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5574 5575 5576# configure is writing to config.log, and then calls config.status. 5577# config.status does its own redirection, appending to config.log. 5578# Unfortunately, on DOS this fails, as config.log is still kept open 5579# by configure, so config.status won't be able to write to it; its 5580# output is simply discarded. So we exec the FD to /dev/null, 5581# effectively closing config.log, so it can be properly (re)opened and 5582# appended to by config.status. When coming back to configure, we 5583# need to make the FD available again. 5584if test "$no_create" != yes; then 5585 ac_cs_success=: 5586 ac_config_status_args= 5587 test "$silent" = yes && 5588 ac_config_status_args="$ac_config_status_args --quiet" 5589 exec 5>/dev/null 5590 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5591 exec 5>>config.log 5592 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5593 # would make configure fail if this is the last instruction. 5594 $ac_cs_success || as_fn_exit 1 5595fi 5596if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5598$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5599fi 5600 5601 5602echo "* Displaying configure variables for C code" 5603make showconfig 5604