1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.69 for nana 3.0. 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='nana' 578PACKAGE_TARNAME='nana' 579PACKAGE_VERSION='3.0' 580PACKAGE_STRING='nana 3.0' 581PACKAGE_BUGREPORT='' 582PACKAGE_URL='' 583 584ac_unique_file="src/nana.h" 585ac_subst_vars='am__EXEEXT_FALSE 586am__EXEEXT_TRUE 587LTLIBOBJS 588LIB@&t@OBJS 589ALWAYS_INCLUDE_MALLOC 590DL_MAKE_VALID_BREAKPOINT 591DI_MAKE_VALID_BREAKPOINT 592I_DEFAULT_HANDLER 593GDB 594FIND 595TAR 596FMT 597RANLIB 598CXXCPP 599am__fastdepCXX_FALSE 600am__fastdepCXX_TRUE 601CXXDEPMODE 602ac_ct_CXX 603CXXFLAGS 604CXX 605CPP 606am__fastdepCC_FALSE 607am__fastdepCC_TRUE 608CCDEPMODE 609am__nodep 610AMDEPBACKSLASH 611AMDEP_FALSE 612AMDEP_TRUE 613am__quote 614am__include 615DEPDIR 616OBJEXT 617EXEEXT 618ac_ct_CC 619CPPFLAGS 620LDFLAGS 621CFLAGS 622CC 623HAVE_RDTSC 624PREV_VERSION 625AM_BACKSLASH 626AM_DEFAULT_VERBOSITY 627AM_DEFAULT_V 628AM_V 629am__untar 630am__tar 631AMTAR 632am__leading_dot 633SET_MAKE 634AWK 635mkdir_p 636MKDIR_P 637INSTALL_STRIP_PROGRAM 638STRIP 639install_sh 640MAKEINFO 641AUTOHEADER 642AUTOMAKE 643AUTOCONF 644ACLOCAL 645VERSION 646PACKAGE 647CYGPATH_W 648am__isrc 649INSTALL_DATA 650INSTALL_SCRIPT 651INSTALL_PROGRAM 652target_os 653target_vendor 654target_cpu 655target 656host_os 657host_vendor 658host_cpu 659host 660build_os 661build_vendor 662build_cpu 663build 664target_alias 665host_alias 666build_alias 667LIBS 668ECHO_T 669ECHO_N 670ECHO_C 671DEFS 672mandir 673localedir 674libdir 675psdir 676pdfdir 677dvidir 678htmldir 679infodir 680docdir 681oldincludedir 682includedir 683localstatedir 684sharedstatedir 685sysconfdir 686datadir 687datarootdir 688libexecdir 689sbindir 690bindir 691program_transform_name 692prefix 693exec_prefix 694PACKAGE_URL 695PACKAGE_BUGREPORT 696PACKAGE_STRING 697PACKAGE_VERSION 698PACKAGE_TARNAME 699PACKAGE_NAME 700PATH_SEPARATOR 701SHELL' 702ac_subst_files='' 703ac_user_opts=' 704enable_option_checking 705enable_silent_rules 706enable_rdtsc 707enable_dependency_tracking 708' 709 ac_precious_vars='build_alias 710host_alias 711target_alias 712CC 713CFLAGS 714LDFLAGS 715LIBS 716CPPFLAGS 717CPP 718CXX 719CXXFLAGS 720CCC 721CXXCPP' 722 723 724# Initialize some variables set by options. 725ac_init_help= 726ac_init_version=false 727ac_unrecognized_opts= 728ac_unrecognized_sep= 729# The variables have the same names as the options, with 730# dashes changed to underlines. 731cache_file=/dev/null 732exec_prefix=NONE 733no_create= 734no_recursion= 735prefix=NONE 736program_prefix=NONE 737program_suffix=NONE 738program_transform_name=s,x,x, 739silent= 740site= 741srcdir= 742verbose= 743x_includes=NONE 744x_libraries=NONE 745 746# Installation directory options. 747# These are left unexpanded so users can "make install exec_prefix=/foo" 748# and all the variables that are supposed to be based on exec_prefix 749# by default will actually change. 750# Use braces instead of parens because sh, perl, etc. also accept them. 751# (The list follows the same order as the GNU Coding Standards.) 752bindir='${exec_prefix}/bin' 753sbindir='${exec_prefix}/sbin' 754libexecdir='${exec_prefix}/libexec' 755datarootdir='${prefix}/share' 756datadir='${datarootdir}' 757sysconfdir='${prefix}/etc' 758sharedstatedir='${prefix}/com' 759localstatedir='${prefix}/var' 760includedir='${prefix}/include' 761oldincludedir='/usr/include' 762docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 763infodir='${datarootdir}/info' 764htmldir='${docdir}' 765dvidir='${docdir}' 766pdfdir='${docdir}' 767psdir='${docdir}' 768libdir='${exec_prefix}/lib' 769localedir='${datarootdir}/locale' 770mandir='${datarootdir}/man' 771 772ac_prev= 773ac_dashdash= 774for ac_option 775do 776 # If the previous option needs an argument, assign it. 777 if test -n "$ac_prev"; then 778 eval $ac_prev=\$ac_option 779 ac_prev= 780 continue 781 fi 782 783 case $ac_option in 784 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 785 *=) ac_optarg= ;; 786 *) ac_optarg=yes ;; 787 esac 788 789 # Accept the important Cygnus configure options, so we can diagnose typos. 790 791 case $ac_dashdash$ac_option in 792 --) 793 ac_dashdash=yes ;; 794 795 -bindir | --bindir | --bindi | --bind | --bin | --bi) 796 ac_prev=bindir ;; 797 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 798 bindir=$ac_optarg ;; 799 800 -build | --build | --buil | --bui | --bu) 801 ac_prev=build_alias ;; 802 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 803 build_alias=$ac_optarg ;; 804 805 -cache-file | --cache-file | --cache-fil | --cache-fi \ 806 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 807 ac_prev=cache_file ;; 808 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 809 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 810 cache_file=$ac_optarg ;; 811 812 --config-cache | -C) 813 cache_file=config.cache ;; 814 815 -datadir | --datadir | --datadi | --datad) 816 ac_prev=datadir ;; 817 -datadir=* | --datadir=* | --datadi=* | --datad=*) 818 datadir=$ac_optarg ;; 819 820 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 821 | --dataroo | --dataro | --datar) 822 ac_prev=datarootdir ;; 823 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 824 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 825 datarootdir=$ac_optarg ;; 826 827 -disable-* | --disable-*) 828 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 829 # Reject names that are not valid shell variable names. 830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 831 as_fn_error $? "invalid feature name: $ac_useropt" 832 ac_useropt_orig=$ac_useropt 833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 834 case $ac_user_opts in 835 *" 836"enable_$ac_useropt" 837"*) ;; 838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 839 ac_unrecognized_sep=', ';; 840 esac 841 eval enable_$ac_useropt=no ;; 842 843 -docdir | --docdir | --docdi | --doc | --do) 844 ac_prev=docdir ;; 845 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 846 docdir=$ac_optarg ;; 847 848 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 849 ac_prev=dvidir ;; 850 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 851 dvidir=$ac_optarg ;; 852 853 -enable-* | --enable-*) 854 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 855 # Reject names that are not valid shell variable names. 856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 857 as_fn_error $? "invalid feature name: $ac_useropt" 858 ac_useropt_orig=$ac_useropt 859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 860 case $ac_user_opts in 861 *" 862"enable_$ac_useropt" 863"*) ;; 864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 865 ac_unrecognized_sep=', ';; 866 esac 867 eval enable_$ac_useropt=\$ac_optarg ;; 868 869 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 870 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 871 | --exec | --exe | --ex) 872 ac_prev=exec_prefix ;; 873 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 874 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 875 | --exec=* | --exe=* | --ex=*) 876 exec_prefix=$ac_optarg ;; 877 878 -gas | --gas | --ga | --g) 879 # Obsolete; use --with-gas. 880 with_gas=yes ;; 881 882 -help | --help | --hel | --he | -h) 883 ac_init_help=long ;; 884 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 885 ac_init_help=recursive ;; 886 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 887 ac_init_help=short ;; 888 889 -host | --host | --hos | --ho) 890 ac_prev=host_alias ;; 891 -host=* | --host=* | --hos=* | --ho=*) 892 host_alias=$ac_optarg ;; 893 894 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 895 ac_prev=htmldir ;; 896 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 897 | --ht=*) 898 htmldir=$ac_optarg ;; 899 900 -includedir | --includedir | --includedi | --included | --include \ 901 | --includ | --inclu | --incl | --inc) 902 ac_prev=includedir ;; 903 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 904 | --includ=* | --inclu=* | --incl=* | --inc=*) 905 includedir=$ac_optarg ;; 906 907 -infodir | --infodir | --infodi | --infod | --info | --inf) 908 ac_prev=infodir ;; 909 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 910 infodir=$ac_optarg ;; 911 912 -libdir | --libdir | --libdi | --libd) 913 ac_prev=libdir ;; 914 -libdir=* | --libdir=* | --libdi=* | --libd=*) 915 libdir=$ac_optarg ;; 916 917 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 918 | --libexe | --libex | --libe) 919 ac_prev=libexecdir ;; 920 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 921 | --libexe=* | --libex=* | --libe=*) 922 libexecdir=$ac_optarg ;; 923 924 -localedir | --localedir | --localedi | --localed | --locale) 925 ac_prev=localedir ;; 926 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 927 localedir=$ac_optarg ;; 928 929 -localstatedir | --localstatedir | --localstatedi | --localstated \ 930 | --localstate | --localstat | --localsta | --localst | --locals) 931 ac_prev=localstatedir ;; 932 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 933 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 934 localstatedir=$ac_optarg ;; 935 936 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 937 ac_prev=mandir ;; 938 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 939 mandir=$ac_optarg ;; 940 941 -nfp | --nfp | --nf) 942 # Obsolete; use --without-fp. 943 with_fp=no ;; 944 945 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 946 | --no-cr | --no-c | -n) 947 no_create=yes ;; 948 949 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 950 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 951 no_recursion=yes ;; 952 953 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 954 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 955 | --oldin | --oldi | --old | --ol | --o) 956 ac_prev=oldincludedir ;; 957 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 958 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 959 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 960 oldincludedir=$ac_optarg ;; 961 962 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 963 ac_prev=prefix ;; 964 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 965 prefix=$ac_optarg ;; 966 967 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 968 | --program-pre | --program-pr | --program-p) 969 ac_prev=program_prefix ;; 970 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 971 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 972 program_prefix=$ac_optarg ;; 973 974 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 975 | --program-suf | --program-su | --program-s) 976 ac_prev=program_suffix ;; 977 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 978 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 979 program_suffix=$ac_optarg ;; 980 981 -program-transform-name | --program-transform-name \ 982 | --program-transform-nam | --program-transform-na \ 983 | --program-transform-n | --program-transform- \ 984 | --program-transform | --program-transfor \ 985 | --program-transfo | --program-transf \ 986 | --program-trans | --program-tran \ 987 | --progr-tra | --program-tr | --program-t) 988 ac_prev=program_transform_name ;; 989 -program-transform-name=* | --program-transform-name=* \ 990 | --program-transform-nam=* | --program-transform-na=* \ 991 | --program-transform-n=* | --program-transform-=* \ 992 | --program-transform=* | --program-transfor=* \ 993 | --program-transfo=* | --program-transf=* \ 994 | --program-trans=* | --program-tran=* \ 995 | --progr-tra=* | --program-tr=* | --program-t=*) 996 program_transform_name=$ac_optarg ;; 997 998 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 999 ac_prev=pdfdir ;; 1000 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1001 pdfdir=$ac_optarg ;; 1002 1003 -psdir | --psdir | --psdi | --psd | --ps) 1004 ac_prev=psdir ;; 1005 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1006 psdir=$ac_optarg ;; 1007 1008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1009 | -silent | --silent | --silen | --sile | --sil) 1010 silent=yes ;; 1011 1012 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1013 ac_prev=sbindir ;; 1014 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1015 | --sbi=* | --sb=*) 1016 sbindir=$ac_optarg ;; 1017 1018 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1019 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1020 | --sharedst | --shareds | --shared | --share | --shar \ 1021 | --sha | --sh) 1022 ac_prev=sharedstatedir ;; 1023 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1024 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1025 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1026 | --sha=* | --sh=*) 1027 sharedstatedir=$ac_optarg ;; 1028 1029 -site | --site | --sit) 1030 ac_prev=site ;; 1031 -site=* | --site=* | --sit=*) 1032 site=$ac_optarg ;; 1033 1034 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1035 ac_prev=srcdir ;; 1036 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1037 srcdir=$ac_optarg ;; 1038 1039 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1040 | --syscon | --sysco | --sysc | --sys | --sy) 1041 ac_prev=sysconfdir ;; 1042 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1043 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1044 sysconfdir=$ac_optarg ;; 1045 1046 -target | --target | --targe | --targ | --tar | --ta | --t) 1047 ac_prev=target_alias ;; 1048 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1049 target_alias=$ac_optarg ;; 1050 1051 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1052 verbose=yes ;; 1053 1054 -version | --version | --versio | --versi | --vers | -V) 1055 ac_init_version=: ;; 1056 1057 -with-* | --with-*) 1058 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1059 # Reject names that are not valid shell variable names. 1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1061 as_fn_error $? "invalid package name: $ac_useropt" 1062 ac_useropt_orig=$ac_useropt 1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1064 case $ac_user_opts in 1065 *" 1066"with_$ac_useropt" 1067"*) ;; 1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1069 ac_unrecognized_sep=', ';; 1070 esac 1071 eval with_$ac_useropt=\$ac_optarg ;; 1072 1073 -without-* | --without-*) 1074 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1075 # Reject names that are not valid shell variable names. 1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1077 as_fn_error $? "invalid package name: $ac_useropt" 1078 ac_useropt_orig=$ac_useropt 1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1080 case $ac_user_opts in 1081 *" 1082"with_$ac_useropt" 1083"*) ;; 1084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1085 ac_unrecognized_sep=', ';; 1086 esac 1087 eval with_$ac_useropt=no ;; 1088 1089 --x) 1090 # Obsolete; use --with-x. 1091 with_x=yes ;; 1092 1093 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1094 | --x-incl | --x-inc | --x-in | --x-i) 1095 ac_prev=x_includes ;; 1096 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1097 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1098 x_includes=$ac_optarg ;; 1099 1100 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1101 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1102 ac_prev=x_libraries ;; 1103 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1104 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1105 x_libraries=$ac_optarg ;; 1106 1107 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1108Try \`$0 --help' for more information" 1109 ;; 1110 1111 *=*) 1112 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1113 # Reject names that are not valid shell variable names. 1114 case $ac_envvar in #( 1115 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1116 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1117 esac 1118 eval $ac_envvar=\$ac_optarg 1119 export $ac_envvar ;; 1120 1121 *) 1122 # FIXME: should be removed in autoconf 3.0. 1123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1126 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1127 ;; 1128 1129 esac 1130done 1131 1132if test -n "$ac_prev"; then 1133 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1134 as_fn_error $? "missing argument to $ac_option" 1135fi 1136 1137if test -n "$ac_unrecognized_opts"; then 1138 case $enable_option_checking in 1139 no) ;; 1140 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1142 esac 1143fi 1144 1145# Check all directory arguments for consistency. 1146for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1147 datadir sysconfdir sharedstatedir localstatedir includedir \ 1148 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1149 libdir localedir mandir 1150do 1151 eval ac_val=\$$ac_var 1152 # Remove trailing slashes. 1153 case $ac_val in 1154 */ ) 1155 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1156 eval $ac_var=\$ac_val;; 1157 esac 1158 # Be sure to have absolute directory names. 1159 case $ac_val in 1160 [\\/$]* | ?:[\\/]* ) continue;; 1161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1162 esac 1163 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1164done 1165 1166# There might be people who depend on the old broken behavior: `$host' 1167# used to hold the argument of --host etc. 1168# FIXME: To remove some day. 1169build=$build_alias 1170host=$host_alias 1171target=$target_alias 1172 1173# FIXME: To remove some day. 1174if test "x$host_alias" != x; then 1175 if test "x$build_alias" = x; then 1176 cross_compiling=maybe 1177 elif test "x$build_alias" != "x$host_alias"; then 1178 cross_compiling=yes 1179 fi 1180fi 1181 1182ac_tool_prefix= 1183test -n "$host_alias" && ac_tool_prefix=$host_alias- 1184 1185test "$silent" = yes && exec 6>/dev/null 1186 1187 1188ac_pwd=`pwd` && test -n "$ac_pwd" && 1189ac_ls_di=`ls -di .` && 1190ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1191 as_fn_error $? "working directory cannot be determined" 1192test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1193 as_fn_error $? "pwd does not report name of working directory" 1194 1195 1196# Find the source files, if location was not specified. 1197if test -z "$srcdir"; then 1198 ac_srcdir_defaulted=yes 1199 # Try the directory containing this script, then the parent directory. 1200 ac_confdir=`$as_dirname -- "$as_myself" || 1201$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1202 X"$as_myself" : 'X\(//\)[^/]' \| \ 1203 X"$as_myself" : 'X\(//\)$' \| \ 1204 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1205$as_echo X"$as_myself" | 1206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1207 s//\1/ 1208 q 1209 } 1210 /^X\(\/\/\)[^/].*/{ 1211 s//\1/ 1212 q 1213 } 1214 /^X\(\/\/\)$/{ 1215 s//\1/ 1216 q 1217 } 1218 /^X\(\/\).*/{ 1219 s//\1/ 1220 q 1221 } 1222 s/.*/./; q'` 1223 srcdir=$ac_confdir 1224 if test ! -r "$srcdir/$ac_unique_file"; then 1225 srcdir=.. 1226 fi 1227else 1228 ac_srcdir_defaulted=no 1229fi 1230if test ! -r "$srcdir/$ac_unique_file"; then 1231 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1232 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1233fi 1234ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1235ac_abs_confdir=`( 1236 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1237 pwd)` 1238# When building in place, set srcdir=. 1239if test "$ac_abs_confdir" = "$ac_pwd"; then 1240 srcdir=. 1241fi 1242# Remove unnecessary trailing slashes from srcdir. 1243# Double slashes in file names in object file debugging info 1244# mess up M-x gdb in Emacs. 1245case $srcdir in 1246*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1247esac 1248for ac_var in $ac_precious_vars; do 1249 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1250 eval ac_env_${ac_var}_value=\$${ac_var} 1251 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1252 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1253done 1254 1255# 1256# Report the --help message. 1257# 1258if test "$ac_init_help" = "long"; then 1259 # Omit some internal or obsolete options to make the list less imposing. 1260 # This message is too long to be a string in the A/UX 3.1 sh. 1261 cat <<_ACEOF 1262\`configure' configures nana 3.0 to adapt to many kinds of systems. 1263 1264Usage: $0 [OPTION]... [VAR=VALUE]... 1265 1266To assign environment variables (e.g., CC, CFLAGS...), specify them as 1267VAR=VALUE. See below for descriptions of some of the useful variables. 1268 1269Defaults for the options are specified in brackets. 1270 1271Configuration: 1272 -h, --help display this help and exit 1273 --help=short display options specific to this package 1274 --help=recursive display the short help of all the included packages 1275 -V, --version display version information and exit 1276 -q, --quiet, --silent do not print \`checking ...' messages 1277 --cache-file=FILE cache test results in FILE [disabled] 1278 -C, --config-cache alias for \`--cache-file=config.cache' 1279 -n, --no-create do not create output files 1280 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1281 1282Installation directories: 1283 --prefix=PREFIX install architecture-independent files in PREFIX 1284 @<:@@S|@ac_default_prefix@:>@ 1285 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1286 @<:@PREFIX@:>@ 1287 1288By default, \`make install' will install all the files in 1289\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1290an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1291for instance \`--prefix=\$HOME'. 1292 1293For better control, use the options below. 1294 1295Fine tuning of the installation directories: 1296 --bindir=DIR user executables [EPREFIX/bin] 1297 --sbindir=DIR system admin executables [EPREFIX/sbin] 1298 --libexecdir=DIR program executables [EPREFIX/libexec] 1299 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1300 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1301 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1302 --libdir=DIR object code libraries [EPREFIX/lib] 1303 --includedir=DIR C header files [PREFIX/include] 1304 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1305 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1306 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1307 --infodir=DIR info documentation [DATAROOTDIR/info] 1308 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1309 --mandir=DIR man documentation [DATAROOTDIR/man] 1310 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/nana@:>@ 1311 --htmldir=DIR html documentation [DOCDIR] 1312 --dvidir=DIR dvi documentation [DOCDIR] 1313 --pdfdir=DIR pdf documentation [DOCDIR] 1314 --psdir=DIR ps documentation [DOCDIR] 1315_ACEOF 1316 1317 cat <<\_ACEOF 1318 1319Program names: 1320 --program-prefix=PREFIX prepend PREFIX to installed program names 1321 --program-suffix=SUFFIX append SUFFIX to installed program names 1322 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1323 1324System types: 1325 --build=BUILD configure for building on BUILD [guessed] 1326 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1327 --target=TARGET configure for building compilers for TARGET [HOST] 1328_ACEOF 1329fi 1330 1331if test -n "$ac_init_help"; then 1332 case $ac_init_help in 1333 short | recursive ) echo "Configuration of nana 3.0:";; 1334 esac 1335 cat <<\_ACEOF 1336 1337Optional Features: 1338 --disable-option-checking ignore unrecognized --enable/--with options 1339 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1340 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1341 --enable-silent-rules less verbose build output (undo: "make V=1") 1342 --disable-silent-rules verbose build output (undo: "make V=0") 1343--enable-rdtsc use pentium rdtsc cycle timing 1344 --enable-dependency-tracking 1345 do not reject slow dependency extractors 1346 --disable-dependency-tracking 1347 speeds up one-time build 1348 1349Some influential environment variables: 1350 CC C compiler command 1351 CFLAGS C compiler flags 1352 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1353 nonstandard directory <lib dir> 1354 LIBS libraries to pass to the linker, e.g. -l<library> 1355 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1356 you have headers in a nonstandard directory <include dir> 1357 CPP C preprocessor 1358 CXX C++ compiler command 1359 CXXFLAGS C++ compiler flags 1360 CXXCPP C++ preprocessor 1361 1362Use these variables to override the choices made by `configure' or to help 1363it to find libraries and programs with nonstandard names/locations. 1364 1365Report bugs to the package provider. 1366_ACEOF 1367ac_status=$? 1368fi 1369 1370if test "$ac_init_help" = "recursive"; then 1371 # If there are subdirs, report their specific --help. 1372 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1373 test -d "$ac_dir" || 1374 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1375 continue 1376 ac_builddir=. 1377 1378case "$ac_dir" in 1379.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1380*) 1381 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1382 # A ".." for each directory in $ac_dir_suffix. 1383 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1384 case $ac_top_builddir_sub in 1385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1387 esac ;; 1388esac 1389ac_abs_top_builddir=$ac_pwd 1390ac_abs_builddir=$ac_pwd$ac_dir_suffix 1391# for backward compatibility: 1392ac_top_builddir=$ac_top_build_prefix 1393 1394case $srcdir in 1395 .) # We are building in place. 1396 ac_srcdir=. 1397 ac_top_srcdir=$ac_top_builddir_sub 1398 ac_abs_top_srcdir=$ac_pwd ;; 1399 [\\/]* | ?:[\\/]* ) # Absolute name. 1400 ac_srcdir=$srcdir$ac_dir_suffix; 1401 ac_top_srcdir=$srcdir 1402 ac_abs_top_srcdir=$srcdir ;; 1403 *) # Relative name. 1404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1405 ac_top_srcdir=$ac_top_build_prefix$srcdir 1406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1407esac 1408ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1409 1410 cd "$ac_dir" || { ac_status=$?; continue; } 1411 # Check for guested configure. 1412 if test -f "$ac_srcdir/configure.gnu"; then 1413 echo && 1414 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1415 elif test -f "$ac_srcdir/configure"; then 1416 echo && 1417 $SHELL "$ac_srcdir/configure" --help=recursive 1418 else 1419 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1420 fi || ac_status=$? 1421 cd "$ac_pwd" || { ac_status=$?; break; } 1422 done 1423fi 1424 1425test -n "$ac_init_help" && exit $ac_status 1426if $ac_init_version; then 1427 cat <<\_ACEOF 1428nana configure 3.0 1429generated by GNU Autoconf 2.69 1430 1431Copyright (C) 2012 Free Software Foundation, Inc. 1432This configure script is free software; the Free Software Foundation 1433gives unlimited permission to copy, distribute and modify it. 1434_ACEOF 1435 exit 1436fi 1437 1438## ------------------------ ## 1439## Autoconf initialization. ## 1440## ------------------------ ## 1441 1442@%:@ ac_fn_c_try_compile LINENO 1443@%:@ -------------------------- 1444@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1445ac_fn_c_try_compile () 1446{ 1447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1448 rm -f conftest.$ac_objext 1449 if { { ac_try="$ac_compile" 1450case "(($ac_try" in 1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1452 *) ac_try_echo=$ac_try;; 1453esac 1454eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1455$as_echo "$ac_try_echo"; } >&5 1456 (eval "$ac_compile") 2>conftest.err 1457 ac_status=$? 1458 if test -s conftest.err; then 1459 grep -v '^ *+' conftest.err >conftest.er1 1460 cat conftest.er1 >&5 1461 mv -f conftest.er1 conftest.err 1462 fi 1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1464 test $ac_status = 0; } && { 1465 test -z "$ac_c_werror_flag" || 1466 test ! -s conftest.err 1467 } && test -s conftest.$ac_objext; then : 1468 ac_retval=0 1469else 1470 $as_echo "$as_me: failed program was:" >&5 1471sed 's/^/| /' conftest.$ac_ext >&5 1472 1473 ac_retval=1 1474fi 1475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1476 as_fn_set_status $ac_retval 1477 1478} @%:@ ac_fn_c_try_compile 1479 1480@%:@ ac_fn_c_try_cpp LINENO 1481@%:@ ---------------------- 1482@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1483ac_fn_c_try_cpp () 1484{ 1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1486 if { { ac_try="$ac_cpp conftest.$ac_ext" 1487case "(($ac_try" in 1488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1489 *) ac_try_echo=$ac_try;; 1490esac 1491eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1492$as_echo "$ac_try_echo"; } >&5 1493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1494 ac_status=$? 1495 if test -s conftest.err; then 1496 grep -v '^ *+' conftest.err >conftest.er1 1497 cat conftest.er1 >&5 1498 mv -f conftest.er1 conftest.err 1499 fi 1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1501 test $ac_status = 0; } > conftest.i && { 1502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1503 test ! -s conftest.err 1504 }; then : 1505 ac_retval=0 1506else 1507 $as_echo "$as_me: failed program was:" >&5 1508sed 's/^/| /' conftest.$ac_ext >&5 1509 1510 ac_retval=1 1511fi 1512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1513 as_fn_set_status $ac_retval 1514 1515} @%:@ ac_fn_c_try_cpp 1516 1517@%:@ ac_fn_cxx_try_compile LINENO 1518@%:@ ---------------------------- 1519@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1520ac_fn_cxx_try_compile () 1521{ 1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1523 rm -f conftest.$ac_objext 1524 if { { ac_try="$ac_compile" 1525case "(($ac_try" in 1526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1527 *) ac_try_echo=$ac_try;; 1528esac 1529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1530$as_echo "$ac_try_echo"; } >&5 1531 (eval "$ac_compile") 2>conftest.err 1532 ac_status=$? 1533 if test -s conftest.err; then 1534 grep -v '^ *+' conftest.err >conftest.er1 1535 cat conftest.er1 >&5 1536 mv -f conftest.er1 conftest.err 1537 fi 1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1539 test $ac_status = 0; } && { 1540 test -z "$ac_cxx_werror_flag" || 1541 test ! -s conftest.err 1542 } && test -s conftest.$ac_objext; then : 1543 ac_retval=0 1544else 1545 $as_echo "$as_me: failed program was:" >&5 1546sed 's/^/| /' conftest.$ac_ext >&5 1547 1548 ac_retval=1 1549fi 1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1551 as_fn_set_status $ac_retval 1552 1553} @%:@ ac_fn_cxx_try_compile 1554 1555@%:@ ac_fn_cxx_try_cpp LINENO 1556@%:@ ------------------------ 1557@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1558ac_fn_cxx_try_cpp () 1559{ 1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1561 if { { ac_try="$ac_cpp conftest.$ac_ext" 1562case "(($ac_try" in 1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1564 *) ac_try_echo=$ac_try;; 1565esac 1566eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1567$as_echo "$ac_try_echo"; } >&5 1568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1569 ac_status=$? 1570 if test -s conftest.err; then 1571 grep -v '^ *+' conftest.err >conftest.er1 1572 cat conftest.er1 >&5 1573 mv -f conftest.er1 conftest.err 1574 fi 1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1576 test $ac_status = 0; } > conftest.i && { 1577 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1578 test ! -s conftest.err 1579 }; then : 1580 ac_retval=0 1581else 1582 $as_echo "$as_me: failed program was:" >&5 1583sed 's/^/| /' conftest.$ac_ext >&5 1584 1585 ac_retval=1 1586fi 1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1588 as_fn_set_status $ac_retval 1589 1590} @%:@ ac_fn_cxx_try_cpp 1591 1592@%:@ ac_fn_c_try_link LINENO 1593@%:@ ----------------------- 1594@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1595ac_fn_c_try_link () 1596{ 1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1598 rm -f conftest.$ac_objext conftest$ac_exeext 1599 if { { ac_try="$ac_link" 1600case "(($ac_try" in 1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1602 *) ac_try_echo=$ac_try;; 1603esac 1604eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1605$as_echo "$ac_try_echo"; } >&5 1606 (eval "$ac_link") 2>conftest.err 1607 ac_status=$? 1608 if test -s conftest.err; then 1609 grep -v '^ *+' conftest.err >conftest.er1 1610 cat conftest.er1 >&5 1611 mv -f conftest.er1 conftest.err 1612 fi 1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1614 test $ac_status = 0; } && { 1615 test -z "$ac_c_werror_flag" || 1616 test ! -s conftest.err 1617 } && test -s conftest$ac_exeext && { 1618 test "$cross_compiling" = yes || 1619 test -x conftest$ac_exeext 1620 }; then : 1621 ac_retval=0 1622else 1623 $as_echo "$as_me: failed program was:" >&5 1624sed 's/^/| /' conftest.$ac_ext >&5 1625 1626 ac_retval=1 1627fi 1628 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1629 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1630 # interfere with the next link command; also delete a directory that is 1631 # left behind by Apple's compiler. We do this before executing the actions. 1632 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1634 as_fn_set_status $ac_retval 1635 1636} @%:@ ac_fn_c_try_link 1637 1638@%:@ ac_fn_c_check_func LINENO FUNC VAR 1639@%:@ ---------------------------------- 1640@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1641ac_fn_c_check_func () 1642{ 1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1645$as_echo_n "checking for $2... " >&6; } 1646if eval \${$3+:} false; then : 1647 $as_echo_n "(cached) " >&6 1648else 1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1650/* end confdefs.h. */ 1651/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1652 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1653#define $2 innocuous_$2 1654 1655/* System header to define __stub macros and hopefully few prototypes, 1656 which can conflict with char $2 (); below. 1657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1658 <limits.h> exists even on freestanding compilers. */ 1659 1660#ifdef __STDC__ 1661# include <limits.h> 1662#else 1663# include <assert.h> 1664#endif 1665 1666#undef $2 1667 1668/* Override any GCC internal prototype to avoid an error. 1669 Use char because int might match the return type of a GCC 1670 builtin and then its argument prototype would still apply. */ 1671#ifdef __cplusplus 1672extern "C" 1673#endif 1674char $2 (); 1675/* The GNU C library defines this for functions which it implements 1676 to always fail with ENOSYS. Some functions are actually named 1677 something starting with __ and the normal name is an alias. */ 1678#if defined __stub_$2 || defined __stub___$2 1679choke me 1680#endif 1681 1682int 1683main () 1684{ 1685return $2 (); 1686 ; 1687 return 0; 1688} 1689_ACEOF 1690if ac_fn_c_try_link "$LINENO"; then : 1691 eval "$3=yes" 1692else 1693 eval "$3=no" 1694fi 1695rm -f core conftest.err conftest.$ac_objext \ 1696 conftest$ac_exeext conftest.$ac_ext 1697fi 1698eval ac_res=\$$3 1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1700$as_echo "$ac_res" >&6; } 1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1702 1703} @%:@ ac_fn_c_check_func 1704cat >config.log <<_ACEOF 1705This file contains any messages produced by compilers while 1706running configure, to aid debugging if configure makes a mistake. 1707 1708It was created by nana $as_me 3.0, which was 1709generated by GNU Autoconf 2.69. Invocation command line was 1710 1711 $ $0 $@ 1712 1713_ACEOF 1714exec 5>>config.log 1715{ 1716cat <<_ASUNAME 1717## --------- ## 1718## Platform. ## 1719## --------- ## 1720 1721hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1722uname -m = `(uname -m) 2>/dev/null || echo unknown` 1723uname -r = `(uname -r) 2>/dev/null || echo unknown` 1724uname -s = `(uname -s) 2>/dev/null || echo unknown` 1725uname -v = `(uname -v) 2>/dev/null || echo unknown` 1726 1727/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1728/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1729 1730/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1731/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1732/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1733/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1734/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1735/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1736/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1737 1738_ASUNAME 1739 1740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1741for as_dir in $PATH 1742do 1743 IFS=$as_save_IFS 1744 test -z "$as_dir" && as_dir=. 1745 $as_echo "PATH: $as_dir" 1746 done 1747IFS=$as_save_IFS 1748 1749} >&5 1750 1751cat >&5 <<_ACEOF 1752 1753 1754## ----------- ## 1755## Core tests. ## 1756## ----------- ## 1757 1758_ACEOF 1759 1760 1761# Keep a trace of the command line. 1762# Strip out --no-create and --no-recursion so they do not pile up. 1763# Strip out --silent because we don't want to record it for future runs. 1764# Also quote any args containing shell meta-characters. 1765# Make two passes to allow for proper duplicate-argument suppression. 1766ac_configure_args= 1767ac_configure_args0= 1768ac_configure_args1= 1769ac_must_keep_next=false 1770for ac_pass in 1 2 1771do 1772 for ac_arg 1773 do 1774 case $ac_arg in 1775 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1776 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1777 | -silent | --silent | --silen | --sile | --sil) 1778 continue ;; 1779 *\'*) 1780 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1781 esac 1782 case $ac_pass in 1783 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1784 2) 1785 as_fn_append ac_configure_args1 " '$ac_arg'" 1786 if test $ac_must_keep_next = true; then 1787 ac_must_keep_next=false # Got value, back to normal. 1788 else 1789 case $ac_arg in 1790 *=* | --config-cache | -C | -disable-* | --disable-* \ 1791 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1792 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1793 | -with-* | --with-* | -without-* | --without-* | --x) 1794 case "$ac_configure_args0 " in 1795 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1796 esac 1797 ;; 1798 -* ) ac_must_keep_next=true ;; 1799 esac 1800 fi 1801 as_fn_append ac_configure_args " '$ac_arg'" 1802 ;; 1803 esac 1804 done 1805done 1806{ ac_configure_args0=; unset ac_configure_args0;} 1807{ ac_configure_args1=; unset ac_configure_args1;} 1808 1809# When interrupted or exit'd, cleanup temporary files, and complete 1810# config.log. We remove comments because anyway the quotes in there 1811# would cause problems or look ugly. 1812# WARNING: Use '\'' to represent an apostrophe within the trap. 1813# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1814trap 'exit_status=$? 1815 # Save into config.log some information that might help in debugging. 1816 { 1817 echo 1818 1819 $as_echo "## ---------------- ## 1820## Cache variables. ## 1821## ---------------- ##" 1822 echo 1823 # The following way of writing the cache mishandles newlines in values, 1824( 1825 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1826 eval ac_val=\$$ac_var 1827 case $ac_val in #( 1828 *${as_nl}*) 1829 case $ac_var in #( 1830 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1831$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1832 esac 1833 case $ac_var in #( 1834 _ | IFS | as_nl) ;; #( 1835 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1836 *) { eval $ac_var=; unset $ac_var;} ;; 1837 esac ;; 1838 esac 1839 done 1840 (set) 2>&1 | 1841 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1842 *${as_nl}ac_space=\ *) 1843 sed -n \ 1844 "s/'\''/'\''\\\\'\'''\''/g; 1845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1846 ;; #( 1847 *) 1848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1849 ;; 1850 esac | 1851 sort 1852) 1853 echo 1854 1855 $as_echo "## ----------------- ## 1856## Output variables. ## 1857## ----------------- ##" 1858 echo 1859 for ac_var in $ac_subst_vars 1860 do 1861 eval ac_val=\$$ac_var 1862 case $ac_val in 1863 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1864 esac 1865 $as_echo "$ac_var='\''$ac_val'\''" 1866 done | sort 1867 echo 1868 1869 if test -n "$ac_subst_files"; then 1870 $as_echo "## ------------------- ## 1871## File substitutions. ## 1872## ------------------- ##" 1873 echo 1874 for ac_var in $ac_subst_files 1875 do 1876 eval ac_val=\$$ac_var 1877 case $ac_val in 1878 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1879 esac 1880 $as_echo "$ac_var='\''$ac_val'\''" 1881 done | sort 1882 echo 1883 fi 1884 1885 if test -s confdefs.h; then 1886 $as_echo "## ----------- ## 1887## confdefs.h. ## 1888## ----------- ##" 1889 echo 1890 cat confdefs.h 1891 echo 1892 fi 1893 test "$ac_signal" != 0 && 1894 $as_echo "$as_me: caught signal $ac_signal" 1895 $as_echo "$as_me: exit $exit_status" 1896 } >&5 1897 rm -f core *.core core.conftest.* && 1898 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1899 exit $exit_status 1900' 0 1901for ac_signal in 1 2 13 15; do 1902 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1903done 1904ac_signal=0 1905 1906# confdefs.h avoids OS command line length limits that DEFS can exceed. 1907rm -f -r conftest* confdefs.h 1908 1909$as_echo "/* confdefs.h */" > confdefs.h 1910 1911# Predefined preprocessor variables. 1912 1913cat >>confdefs.h <<_ACEOF 1914@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1915_ACEOF 1916 1917cat >>confdefs.h <<_ACEOF 1918@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1919_ACEOF 1920 1921cat >>confdefs.h <<_ACEOF 1922@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 1923_ACEOF 1924 1925cat >>confdefs.h <<_ACEOF 1926@%:@define PACKAGE_STRING "$PACKAGE_STRING" 1927_ACEOF 1928 1929cat >>confdefs.h <<_ACEOF 1930@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1931_ACEOF 1932 1933cat >>confdefs.h <<_ACEOF 1934@%:@define PACKAGE_URL "$PACKAGE_URL" 1935_ACEOF 1936 1937 1938# Let the site file select an alternate cache file if it wants to. 1939# Prefer an explicitly selected file to automatically selected ones. 1940ac_site_file1=NONE 1941ac_site_file2=NONE 1942if test -n "$CONFIG_SITE"; then 1943 # We do not want a PATH search for config.site. 1944 case $CONFIG_SITE in @%:@(( 1945 -*) ac_site_file1=./$CONFIG_SITE;; 1946 */*) ac_site_file1=$CONFIG_SITE;; 1947 *) ac_site_file1=./$CONFIG_SITE;; 1948 esac 1949elif test "x$prefix" != xNONE; then 1950 ac_site_file1=$prefix/share/config.site 1951 ac_site_file2=$prefix/etc/config.site 1952else 1953 ac_site_file1=$ac_default_prefix/share/config.site 1954 ac_site_file2=$ac_default_prefix/etc/config.site 1955fi 1956for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1957do 1958 test "x$ac_site_file" = xNONE && continue 1959 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1960 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1961$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1962 sed 's/^/| /' "$ac_site_file" >&5 1963 . "$ac_site_file" \ 1964 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1965$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1966as_fn_error $? "failed to load site script $ac_site_file 1967See \`config.log' for more details" "$LINENO" 5; } 1968 fi 1969done 1970 1971if test -r "$cache_file"; then 1972 # Some versions of bash will fail to source /dev/null (special files 1973 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1974 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1975 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1976$as_echo "$as_me: loading cache $cache_file" >&6;} 1977 case $cache_file in 1978 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1979 *) . "./$cache_file";; 1980 esac 1981 fi 1982else 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1984$as_echo "$as_me: creating cache $cache_file" >&6;} 1985 >$cache_file 1986fi 1987 1988# Check that the precious variables saved in the cache have kept the same 1989# value. 1990ac_cache_corrupted=false 1991for ac_var in $ac_precious_vars; do 1992 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1993 eval ac_new_set=\$ac_env_${ac_var}_set 1994 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1995 eval ac_new_val=\$ac_env_${ac_var}_value 1996 case $ac_old_set,$ac_new_set in 1997 set,) 1998 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1999$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2000 ac_cache_corrupted=: ;; 2001 ,set) 2002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2003$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2004 ac_cache_corrupted=: ;; 2005 ,);; 2006 *) 2007 if test "x$ac_old_val" != "x$ac_new_val"; then 2008 # differences in whitespace do not lead to failure. 2009 ac_old_val_w=`echo x $ac_old_val` 2010 ac_new_val_w=`echo x $ac_new_val` 2011 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2013$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2014 ac_cache_corrupted=: 2015 else 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2017$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2018 eval $ac_var=\$ac_old_val 2019 fi 2020 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2021$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2023$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2024 fi;; 2025 esac 2026 # Pass precious variables to config.status. 2027 if test "$ac_new_set" = set; then 2028 case $ac_new_val in 2029 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2030 *) ac_arg=$ac_var=$ac_new_val ;; 2031 esac 2032 case " $ac_configure_args " in 2033 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2034 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2035 esac 2036 fi 2037done 2038if $ac_cache_corrupted; then 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2042$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2043 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2044fi 2045## -------------------- ## 2046## Main body of script. ## 2047## -------------------- ## 2048 2049ac_ext=c 2050ac_cpp='$CPP $CPPFLAGS' 2051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2053ac_compiler_gnu=$ac_cv_c_compiler_gnu 2054 2055 2056 2057 2058ac_aux_dir= 2059for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2060 if test -f "$ac_dir/install-sh"; then 2061 ac_aux_dir=$ac_dir 2062 ac_install_sh="$ac_aux_dir/install-sh -c" 2063 break 2064 elif test -f "$ac_dir/install.sh"; then 2065 ac_aux_dir=$ac_dir 2066 ac_install_sh="$ac_aux_dir/install.sh -c" 2067 break 2068 elif test -f "$ac_dir/shtool"; then 2069 ac_aux_dir=$ac_dir 2070 ac_install_sh="$ac_aux_dir/shtool install -c" 2071 break 2072 fi 2073done 2074if test -z "$ac_aux_dir"; then 2075 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2076fi 2077 2078# These three variables are undocumented and unsupported, 2079# and are intended to be withdrawn in a future Autoconf release. 2080# They can cause serious problems if a builder's source tree is in a directory 2081# whose full name contains unusual characters. 2082ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2083ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2084ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2085 2086 2087# Make sure we can run config.sub. 2088$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2089 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2090 2091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2092$as_echo_n "checking build system type... " >&6; } 2093if ${ac_cv_build+:} false; then : 2094 $as_echo_n "(cached) " >&6 2095else 2096 ac_build_alias=$build_alias 2097test "x$ac_build_alias" = x && 2098 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2099test "x$ac_build_alias" = x && 2100 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2101ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2102 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2103 2104fi 2105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2106$as_echo "$ac_cv_build" >&6; } 2107case $ac_cv_build in 2108*-*-*) ;; 2109*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2110esac 2111build=$ac_cv_build 2112ac_save_IFS=$IFS; IFS='-' 2113set x $ac_cv_build 2114shift 2115build_cpu=$1 2116build_vendor=$2 2117shift; shift 2118# Remember, the first character of IFS is used to create $*, 2119# except with old shells: 2120build_os=$* 2121IFS=$ac_save_IFS 2122case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2123 2124 2125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2126$as_echo_n "checking host system type... " >&6; } 2127if ${ac_cv_host+:} false; then : 2128 $as_echo_n "(cached) " >&6 2129else 2130 if test "x$host_alias" = x; then 2131 ac_cv_host=$ac_cv_build 2132else 2133 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2134 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2135fi 2136 2137fi 2138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2139$as_echo "$ac_cv_host" >&6; } 2140case $ac_cv_host in 2141*-*-*) ;; 2142*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2143esac 2144host=$ac_cv_host 2145ac_save_IFS=$IFS; IFS='-' 2146set x $ac_cv_host 2147shift 2148host_cpu=$1 2149host_vendor=$2 2150shift; shift 2151# Remember, the first character of IFS is used to create $*, 2152# except with old shells: 2153host_os=$* 2154IFS=$ac_save_IFS 2155case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2156 2157 2158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2159$as_echo_n "checking target system type... " >&6; } 2160if ${ac_cv_target+:} false; then : 2161 $as_echo_n "(cached) " >&6 2162else 2163 if test "x$target_alias" = x; then 2164 ac_cv_target=$ac_cv_host 2165else 2166 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2168fi 2169 2170fi 2171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2172$as_echo "$ac_cv_target" >&6; } 2173case $ac_cv_target in 2174*-*-*) ;; 2175*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2176esac 2177target=$ac_cv_target 2178ac_save_IFS=$IFS; IFS='-' 2179set x $ac_cv_target 2180shift 2181target_cpu=$1 2182target_vendor=$2 2183shift; shift 2184# Remember, the first character of IFS is used to create $*, 2185# except with old shells: 2186target_os=$* 2187IFS=$ac_save_IFS 2188case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2189 2190 2191# The aliases save the names the user supplied, while $host etc. 2192# will get canonicalized. 2193test -n "$target_alias" && 2194 test "$program_prefix$program_suffix$program_transform_name" = \ 2195 NONENONEs,x,x, && 2196 program_prefix=${target_alias}- 2197 2198PREV_VERSION=2.4 2199am__api_version='1.14' 2200 2201# Find a good install program. We prefer a C program (faster), 2202# so one script is as good as another. But avoid the broken or 2203# incompatible versions: 2204# SysV /etc/install, /usr/sbin/install 2205# SunOS /usr/etc/install 2206# IRIX /sbin/install 2207# AIX /bin/install 2208# AmigaOS /C/install, which installs bootblocks on floppy discs 2209# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2210# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2211# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2212# OS/2's system install, which has a completely different semantic 2213# ./install, which can be erroneously created by make from ./install.sh. 2214# Reject install programs that cannot install multiple files. 2215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2216$as_echo_n "checking for a BSD-compatible install... " >&6; } 2217if test -z "$INSTALL"; then 2218if ${ac_cv_path_install+:} false; then : 2219 $as_echo_n "(cached) " >&6 2220else 2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2222for as_dir in $PATH 2223do 2224 IFS=$as_save_IFS 2225 test -z "$as_dir" && as_dir=. 2226 # Account for people who put trailing slashes in PATH elements. 2227case $as_dir/ in @%:@(( 2228 ./ | .// | /[cC]/* | \ 2229 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2230 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2231 /usr/ucb/* ) ;; 2232 *) 2233 # OSF1 and SCO ODT 3.0 have their own names for install. 2234 # Don't use installbsd from OSF since it installs stuff as root 2235 # by default. 2236 for ac_prog in ginstall scoinst install; do 2237 for ac_exec_ext in '' $ac_executable_extensions; do 2238 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2239 if test $ac_prog = install && 2240 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2241 # AIX install. It has an incompatible calling convention. 2242 : 2243 elif test $ac_prog = install && 2244 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2245 # program-specific install script used by HP pwplus--don't use. 2246 : 2247 else 2248 rm -rf conftest.one conftest.two conftest.dir 2249 echo one > conftest.one 2250 echo two > conftest.two 2251 mkdir conftest.dir 2252 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2253 test -s conftest.one && test -s conftest.two && 2254 test -s conftest.dir/conftest.one && 2255 test -s conftest.dir/conftest.two 2256 then 2257 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2258 break 3 2259 fi 2260 fi 2261 fi 2262 done 2263 done 2264 ;; 2265esac 2266 2267 done 2268IFS=$as_save_IFS 2269 2270rm -rf conftest.one conftest.two conftest.dir 2271 2272fi 2273 if test "${ac_cv_path_install+set}" = set; then 2274 INSTALL=$ac_cv_path_install 2275 else 2276 # As a last resort, use the slow shell script. Don't cache a 2277 # value for INSTALL within a source directory, because that will 2278 # break other packages using the cache if that directory is 2279 # removed, or if the value is a relative name. 2280 INSTALL=$ac_install_sh 2281 fi 2282fi 2283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2284$as_echo "$INSTALL" >&6; } 2285 2286# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2287# It thinks the first close brace ends the variable substitution. 2288test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2289 2290test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2291 2292test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2293 2294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2295$as_echo_n "checking whether build environment is sane... " >&6; } 2296# Reject unsafe characters in $srcdir or the absolute working directory 2297# name. Accept space and tab only in the latter. 2298am_lf=' 2299' 2300case `pwd` in 2301 *[\\\"\#\$\&\'\`$am_lf]*) 2302 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2303esac 2304case $srcdir in 2305 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2306 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2307esac 2308 2309# Do 'set' in a subshell so we don't clobber the current shell's 2310# arguments. Must try -L first in case configure is actually a 2311# symlink; some systems play weird games with the mod time of symlinks 2312# (eg FreeBSD returns the mod time of the symlink's containing 2313# directory). 2314if ( 2315 am_has_slept=no 2316 for am_try in 1 2; do 2317 echo "timestamp, slept: $am_has_slept" > conftest.file 2318 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2319 if test "$*" = "X"; then 2320 # -L didn't work. 2321 set X `ls -t "$srcdir/configure" conftest.file` 2322 fi 2323 if test "$*" != "X $srcdir/configure conftest.file" \ 2324 && test "$*" != "X conftest.file $srcdir/configure"; then 2325 2326 # If neither matched, then we have a broken ls. This can happen 2327 # if, for instance, CONFIG_SHELL is bash and it inherits a 2328 # broken ls alias from the environment. This has actually 2329 # happened. Such a system could not be considered "sane". 2330 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2331 alias in your environment" "$LINENO" 5 2332 fi 2333 if test "$2" = conftest.file || test $am_try -eq 2; then 2334 break 2335 fi 2336 # Just in case. 2337 sleep 1 2338 am_has_slept=yes 2339 done 2340 test "$2" = conftest.file 2341 ) 2342then 2343 # Ok. 2344 : 2345else 2346 as_fn_error $? "newly created file is older than distributed files! 2347Check your system clock" "$LINENO" 5 2348fi 2349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2350$as_echo "yes" >&6; } 2351# If we didn't sleep, we still need to ensure time stamps of config.status and 2352# generated files are strictly newer. 2353am_sleep_pid= 2354if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2355 ( sleep 1 ) & 2356 am_sleep_pid=$! 2357fi 2358 2359rm -f conftest.file 2360 2361test "$program_prefix" != NONE && 2362 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2363# Use a double $ so make ignores it. 2364test "$program_suffix" != NONE && 2365 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2366# Double any \ or $. 2367# By default was `s,x,x', remove it if useless. 2368ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2369program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2370 2371# expand $ac_aux_dir to an absolute path 2372am_aux_dir=`cd $ac_aux_dir && pwd` 2373 2374if test x"${MISSING+set}" != xset; then 2375 case $am_aux_dir in 2376 *\ * | *\ *) 2377 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2378 *) 2379 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2380 esac 2381fi 2382# Use eval to expand $SHELL 2383if eval "$MISSING --is-lightweight"; then 2384 am_missing_run="$MISSING " 2385else 2386 am_missing_run= 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2388$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2389fi 2390 2391if test x"${install_sh}" != xset; then 2392 case $am_aux_dir in 2393 *\ * | *\ *) 2394 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2395 *) 2396 install_sh="\${SHELL} $am_aux_dir/install-sh" 2397 esac 2398fi 2399 2400# Installed binaries are usually stripped using 'strip' when the user 2401# run "make install-strip". However 'strip' might not be the right 2402# tool to use in cross-compilation environments, therefore Automake 2403# will honor the 'STRIP' environment variable to overrule this program. 2404if test "$cross_compiling" != no; then 2405 if test -n "$ac_tool_prefix"; then 2406 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2407set dummy ${ac_tool_prefix}strip; ac_word=$2 2408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2409$as_echo_n "checking for $ac_word... " >&6; } 2410if ${ac_cv_prog_STRIP+:} false; then : 2411 $as_echo_n "(cached) " >&6 2412else 2413 if test -n "$STRIP"; then 2414 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2415else 2416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2417for as_dir in $PATH 2418do 2419 IFS=$as_save_IFS 2420 test -z "$as_dir" && as_dir=. 2421 for ac_exec_ext in '' $ac_executable_extensions; do 2422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2423 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2425 break 2 2426 fi 2427done 2428 done 2429IFS=$as_save_IFS 2430 2431fi 2432fi 2433STRIP=$ac_cv_prog_STRIP 2434if test -n "$STRIP"; then 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2436$as_echo "$STRIP" >&6; } 2437else 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2439$as_echo "no" >&6; } 2440fi 2441 2442 2443fi 2444if test -z "$ac_cv_prog_STRIP"; then 2445 ac_ct_STRIP=$STRIP 2446 # Extract the first word of "strip", so it can be a program name with args. 2447set dummy strip; ac_word=$2 2448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2449$as_echo_n "checking for $ac_word... " >&6; } 2450if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2451 $as_echo_n "(cached) " >&6 2452else 2453 if test -n "$ac_ct_STRIP"; then 2454 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2455else 2456as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2457for as_dir in $PATH 2458do 2459 IFS=$as_save_IFS 2460 test -z "$as_dir" && as_dir=. 2461 for ac_exec_ext in '' $ac_executable_extensions; do 2462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2463 ac_cv_prog_ac_ct_STRIP="strip" 2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2465 break 2 2466 fi 2467done 2468 done 2469IFS=$as_save_IFS 2470 2471fi 2472fi 2473ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2474if test -n "$ac_ct_STRIP"; then 2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2476$as_echo "$ac_ct_STRIP" >&6; } 2477else 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2479$as_echo "no" >&6; } 2480fi 2481 2482 if test "x$ac_ct_STRIP" = x; then 2483 STRIP=":" 2484 else 2485 case $cross_compiling:$ac_tool_warned in 2486yes:) 2487{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2488$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2489ac_tool_warned=yes ;; 2490esac 2491 STRIP=$ac_ct_STRIP 2492 fi 2493else 2494 STRIP="$ac_cv_prog_STRIP" 2495fi 2496 2497fi 2498INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2499 2500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2501$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2502if test -z "$MKDIR_P"; then 2503 if ${ac_cv_path_mkdir+:} false; then : 2504 $as_echo_n "(cached) " >&6 2505else 2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2507for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2508do 2509 IFS=$as_save_IFS 2510 test -z "$as_dir" && as_dir=. 2511 for ac_prog in mkdir gmkdir; do 2512 for ac_exec_ext in '' $ac_executable_extensions; do 2513 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2514 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2515 'mkdir (GNU coreutils) '* | \ 2516 'mkdir (coreutils) '* | \ 2517 'mkdir (fileutils) '4.1*) 2518 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2519 break 3;; 2520 esac 2521 done 2522 done 2523 done 2524IFS=$as_save_IFS 2525 2526fi 2527 2528 test -d ./--version && rmdir ./--version 2529 if test "${ac_cv_path_mkdir+set}" = set; then 2530 MKDIR_P="$ac_cv_path_mkdir -p" 2531 else 2532 # As a last resort, use the slow shell script. Don't cache a 2533 # value for MKDIR_P within a source directory, because that will 2534 # break other packages using the cache if that directory is 2535 # removed, or if the value is a relative name. 2536 MKDIR_P="$ac_install_sh -d" 2537 fi 2538fi 2539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2540$as_echo "$MKDIR_P" >&6; } 2541 2542for ac_prog in gawk mawk nawk awk 2543do 2544 # Extract the first word of "$ac_prog", so it can be a program name with args. 2545set dummy $ac_prog; ac_word=$2 2546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2547$as_echo_n "checking for $ac_word... " >&6; } 2548if ${ac_cv_prog_AWK+:} false; then : 2549 $as_echo_n "(cached) " >&6 2550else 2551 if test -n "$AWK"; then 2552 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2553else 2554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2555for as_dir in $PATH 2556do 2557 IFS=$as_save_IFS 2558 test -z "$as_dir" && as_dir=. 2559 for ac_exec_ext in '' $ac_executable_extensions; do 2560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2561 ac_cv_prog_AWK="$ac_prog" 2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2563 break 2 2564 fi 2565done 2566 done 2567IFS=$as_save_IFS 2568 2569fi 2570fi 2571AWK=$ac_cv_prog_AWK 2572if test -n "$AWK"; then 2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2574$as_echo "$AWK" >&6; } 2575else 2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2577$as_echo "no" >&6; } 2578fi 2579 2580 2581 test -n "$AWK" && break 2582done 2583 2584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2585$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2586set x ${MAKE-make} 2587ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2588if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2589 $as_echo_n "(cached) " >&6 2590else 2591 cat >conftest.make <<\_ACEOF 2592SHELL = /bin/sh 2593all: 2594 @echo '@@@%%%=$(MAKE)=@@@%%%' 2595_ACEOF 2596# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2597case `${MAKE-make} -f conftest.make 2>/dev/null` in 2598 *@@@%%%=?*=@@@%%%*) 2599 eval ac_cv_prog_make_${ac_make}_set=yes;; 2600 *) 2601 eval ac_cv_prog_make_${ac_make}_set=no;; 2602esac 2603rm -f conftest.make 2604fi 2605if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2607$as_echo "yes" >&6; } 2608 SET_MAKE= 2609else 2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2611$as_echo "no" >&6; } 2612 SET_MAKE="MAKE=${MAKE-make}" 2613fi 2614 2615rm -rf .tst 2>/dev/null 2616mkdir .tst 2>/dev/null 2617if test -d .tst; then 2618 am__leading_dot=. 2619else 2620 am__leading_dot=_ 2621fi 2622rmdir .tst 2>/dev/null 2623 2624@%:@ Check whether --enable-silent-rules was given. 2625if test "${enable_silent_rules+set}" = set; then : 2626 enableval=$enable_silent_rules; 2627fi 2628 2629case $enable_silent_rules in @%:@ ((( 2630 yes) AM_DEFAULT_VERBOSITY=0;; 2631 no) AM_DEFAULT_VERBOSITY=1;; 2632 *) AM_DEFAULT_VERBOSITY=1;; 2633esac 2634am_make=${MAKE-make} 2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2636$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2637if ${am_cv_make_support_nested_variables+:} false; then : 2638 $as_echo_n "(cached) " >&6 2639else 2640 if $as_echo 'TRUE=$(BAR$(V)) 2641BAR0=false 2642BAR1=true 2643V=1 2644am__doit: 2645 @$(TRUE) 2646.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2647 am_cv_make_support_nested_variables=yes 2648else 2649 am_cv_make_support_nested_variables=no 2650fi 2651fi 2652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2653$as_echo "$am_cv_make_support_nested_variables" >&6; } 2654if test $am_cv_make_support_nested_variables = yes; then 2655 AM_V='$(V)' 2656 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2657else 2658 AM_V=$AM_DEFAULT_VERBOSITY 2659 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2660fi 2661AM_BACKSLASH='\' 2662 2663if test "`cd $srcdir && pwd`" != "`pwd`"; then 2664 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2665 # is not polluted with repeated "-I." 2666 am__isrc=' -I$(srcdir)' 2667 # test to see if srcdir already configured 2668 if test -f $srcdir/config.status; then 2669 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2670 fi 2671fi 2672 2673# test whether we have cygpath 2674if test -z "$CYGPATH_W"; then 2675 if (cygpath --version) >/dev/null 2>/dev/null; then 2676 CYGPATH_W='cygpath -w' 2677 else 2678 CYGPATH_W=echo 2679 fi 2680fi 2681 2682 2683# Define the identity of the package. 2684 PACKAGE='nana' 2685 VERSION='3.0' 2686 2687 2688cat >>confdefs.h <<_ACEOF 2689@%:@define PACKAGE "$PACKAGE" 2690_ACEOF 2691 2692 2693cat >>confdefs.h <<_ACEOF 2694@%:@define VERSION "$VERSION" 2695_ACEOF 2696 2697# Some tools Automake needs. 2698 2699ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2700 2701 2702AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2703 2704 2705AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2706 2707 2708AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2709 2710 2711MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2712 2713# For better backward compatibility. To be removed once Automake 1.9.x 2714# dies out for good. For more background, see: 2715# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2716# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2717mkdir_p='$(MKDIR_P)' 2718 2719# We need awk for the "check" target. The system "awk" is bad on 2720# some platforms. 2721# Always define AMTAR for backward compatibility. Yes, it's still used 2722# in the wild :-( We should find a proper way to deprecate it ... 2723AMTAR='$${TAR-tar}' 2724 2725 2726# We'll loop over all known methods to create a tar archive until one works. 2727_am_tools='gnutar pax cpio none' 2728 2729am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2730 2731 2732 2733 2734 2735 2736# POSIX will say in a future version that running "rm -f" with no argument 2737# is OK; and we want to be able to make that assumption in our Makefile 2738# recipes. So use an aggressive probe to check that the usage we want is 2739# actually supported "in the wild" to an acceptable degree. 2740# See automake bug#10828. 2741# To make any issue more visible, cause the running configure to be aborted 2742# by default if the 'rm' program in use doesn't match our expectations; the 2743# user can still override this though. 2744if rm -f && rm -fr && rm -rf; then : OK; else 2745 cat >&2 <<'END' 2746Oops! 2747 2748Your 'rm' program seems unable to run without file operands specified 2749on the command line, even when the '-f' option is present. This is contrary 2750to the behaviour of most rm programs out there, and not conforming with 2751the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2752 2753Please tell bug-automake@gnu.org about your system, including the value 2754of your $PATH and any error possibly output before this message. This 2755can help us improve future automake versions. 2756 2757END 2758 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2759 echo 'Configuration will proceed anyway, since you have set the' >&2 2760 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2761 echo >&2 2762 else 2763 cat >&2 <<'END' 2764Aborting the configuration process, to ensure you take notice of the issue. 2765 2766You can download and install GNU coreutils to get an 'rm' implementation 2767that behaves properly: <http://www.gnu.org/software/coreutils/>. 2768 2769If you want to complete the configuration process using your problematic 2770'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2771to "yes", and re-run configure. 2772 2773END 2774 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2775 fi 2776fi 2777 2778 2779@%:@ Check whether --enable-rdtsc was given. 2780if test "${enable_rdtsc+set}" = set; then : 2781 enableval=$enable_rdtsc; HAVE_RDTSC=1 2782else 2783 HAVE_RDTSC=0 2784fi 2785 2786 2787 2788ac_ext=c 2789ac_cpp='$CPP $CPPFLAGS' 2790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2792ac_compiler_gnu=$ac_cv_c_compiler_gnu 2793if test -n "$ac_tool_prefix"; then 2794 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2795set dummy ${ac_tool_prefix}gcc; ac_word=$2 2796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2797$as_echo_n "checking for $ac_word... " >&6; } 2798if ${ac_cv_prog_CC+:} false; then : 2799 $as_echo_n "(cached) " >&6 2800else 2801 if test -n "$CC"; then 2802 ac_cv_prog_CC="$CC" # Let the user override the test. 2803else 2804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2805for as_dir in $PATH 2806do 2807 IFS=$as_save_IFS 2808 test -z "$as_dir" && as_dir=. 2809 for ac_exec_ext in '' $ac_executable_extensions; do 2810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2811 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2813 break 2 2814 fi 2815done 2816 done 2817IFS=$as_save_IFS 2818 2819fi 2820fi 2821CC=$ac_cv_prog_CC 2822if test -n "$CC"; then 2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2824$as_echo "$CC" >&6; } 2825else 2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2827$as_echo "no" >&6; } 2828fi 2829 2830 2831fi 2832if test -z "$ac_cv_prog_CC"; then 2833 ac_ct_CC=$CC 2834 # Extract the first word of "gcc", so it can be a program name with args. 2835set dummy gcc; ac_word=$2 2836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2837$as_echo_n "checking for $ac_word... " >&6; } 2838if ${ac_cv_prog_ac_ct_CC+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 if test -n "$ac_ct_CC"; then 2842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2843else 2844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2845for as_dir in $PATH 2846do 2847 IFS=$as_save_IFS 2848 test -z "$as_dir" && as_dir=. 2849 for ac_exec_ext in '' $ac_executable_extensions; do 2850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2851 ac_cv_prog_ac_ct_CC="gcc" 2852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2853 break 2 2854 fi 2855done 2856 done 2857IFS=$as_save_IFS 2858 2859fi 2860fi 2861ac_ct_CC=$ac_cv_prog_ac_ct_CC 2862if test -n "$ac_ct_CC"; then 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2864$as_echo "$ac_ct_CC" >&6; } 2865else 2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2867$as_echo "no" >&6; } 2868fi 2869 2870 if test "x$ac_ct_CC" = x; then 2871 CC="" 2872 else 2873 case $cross_compiling:$ac_tool_warned in 2874yes:) 2875{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2876$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2877ac_tool_warned=yes ;; 2878esac 2879 CC=$ac_ct_CC 2880 fi 2881else 2882 CC="$ac_cv_prog_CC" 2883fi 2884 2885if test -z "$CC"; then 2886 if test -n "$ac_tool_prefix"; then 2887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2888set dummy ${ac_tool_prefix}cc; ac_word=$2 2889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2890$as_echo_n "checking for $ac_word... " >&6; } 2891if ${ac_cv_prog_CC+:} false; then : 2892 $as_echo_n "(cached) " >&6 2893else 2894 if test -n "$CC"; then 2895 ac_cv_prog_CC="$CC" # Let the user override the test. 2896else 2897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2898for as_dir in $PATH 2899do 2900 IFS=$as_save_IFS 2901 test -z "$as_dir" && as_dir=. 2902 for ac_exec_ext in '' $ac_executable_extensions; do 2903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2904 ac_cv_prog_CC="${ac_tool_prefix}cc" 2905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2906 break 2 2907 fi 2908done 2909 done 2910IFS=$as_save_IFS 2911 2912fi 2913fi 2914CC=$ac_cv_prog_CC 2915if test -n "$CC"; then 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2917$as_echo "$CC" >&6; } 2918else 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2920$as_echo "no" >&6; } 2921fi 2922 2923 2924 fi 2925fi 2926if test -z "$CC"; then 2927 # Extract the first word of "cc", so it can be a program name with args. 2928set dummy cc; ac_word=$2 2929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2930$as_echo_n "checking for $ac_word... " >&6; } 2931if ${ac_cv_prog_CC+:} false; then : 2932 $as_echo_n "(cached) " >&6 2933else 2934 if test -n "$CC"; then 2935 ac_cv_prog_CC="$CC" # Let the user override the test. 2936else 2937 ac_prog_rejected=no 2938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2939for as_dir in $PATH 2940do 2941 IFS=$as_save_IFS 2942 test -z "$as_dir" && as_dir=. 2943 for ac_exec_ext in '' $ac_executable_extensions; do 2944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2945 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2946 ac_prog_rejected=yes 2947 continue 2948 fi 2949 ac_cv_prog_CC="cc" 2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2951 break 2 2952 fi 2953done 2954 done 2955IFS=$as_save_IFS 2956 2957if test $ac_prog_rejected = yes; then 2958 # We found a bogon in the path, so make sure we never use it. 2959 set dummy $ac_cv_prog_CC 2960 shift 2961 if test $@%:@ != 0; then 2962 # We chose a different compiler from the bogus one. 2963 # However, it has the same basename, so the bogon will be chosen 2964 # first if we set CC to just the basename; use the full file name. 2965 shift 2966 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2967 fi 2968fi 2969fi 2970fi 2971CC=$ac_cv_prog_CC 2972if test -n "$CC"; then 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2974$as_echo "$CC" >&6; } 2975else 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2977$as_echo "no" >&6; } 2978fi 2979 2980 2981fi 2982if test -z "$CC"; then 2983 if test -n "$ac_tool_prefix"; then 2984 for ac_prog in cl.exe 2985 do 2986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2987set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2989$as_echo_n "checking for $ac_word... " >&6; } 2990if ${ac_cv_prog_CC+:} false; then : 2991 $as_echo_n "(cached) " >&6 2992else 2993 if test -n "$CC"; then 2994 ac_cv_prog_CC="$CC" # Let the user override the test. 2995else 2996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2997for as_dir in $PATH 2998do 2999 IFS=$as_save_IFS 3000 test -z "$as_dir" && as_dir=. 3001 for ac_exec_ext in '' $ac_executable_extensions; do 3002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3003 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3005 break 2 3006 fi 3007done 3008 done 3009IFS=$as_save_IFS 3010 3011fi 3012fi 3013CC=$ac_cv_prog_CC 3014if test -n "$CC"; then 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3016$as_echo "$CC" >&6; } 3017else 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3019$as_echo "no" >&6; } 3020fi 3021 3022 3023 test -n "$CC" && break 3024 done 3025fi 3026if test -z "$CC"; then 3027 ac_ct_CC=$CC 3028 for ac_prog in cl.exe 3029do 3030 # Extract the first word of "$ac_prog", so it can be a program name with args. 3031set dummy $ac_prog; ac_word=$2 3032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3033$as_echo_n "checking for $ac_word... " >&6; } 3034if ${ac_cv_prog_ac_ct_CC+:} false; then : 3035 $as_echo_n "(cached) " >&6 3036else 3037 if test -n "$ac_ct_CC"; then 3038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3039else 3040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3041for as_dir in $PATH 3042do 3043 IFS=$as_save_IFS 3044 test -z "$as_dir" && as_dir=. 3045 for ac_exec_ext in '' $ac_executable_extensions; do 3046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3047 ac_cv_prog_ac_ct_CC="$ac_prog" 3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3049 break 2 3050 fi 3051done 3052 done 3053IFS=$as_save_IFS 3054 3055fi 3056fi 3057ac_ct_CC=$ac_cv_prog_ac_ct_CC 3058if test -n "$ac_ct_CC"; then 3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3060$as_echo "$ac_ct_CC" >&6; } 3061else 3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3063$as_echo "no" >&6; } 3064fi 3065 3066 3067 test -n "$ac_ct_CC" && break 3068done 3069 3070 if test "x$ac_ct_CC" = x; then 3071 CC="" 3072 else 3073 case $cross_compiling:$ac_tool_warned in 3074yes:) 3075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3077ac_tool_warned=yes ;; 3078esac 3079 CC=$ac_ct_CC 3080 fi 3081fi 3082 3083fi 3084 3085 3086test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3087$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3088as_fn_error $? "no acceptable C compiler found in \$PATH 3089See \`config.log' for more details" "$LINENO" 5; } 3090 3091# Provide some information about the compiler. 3092$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3093set X $ac_compile 3094ac_compiler=$2 3095for ac_option in --version -v -V -qversion; do 3096 { { ac_try="$ac_compiler $ac_option >&5" 3097case "(($ac_try" in 3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3099 *) ac_try_echo=$ac_try;; 3100esac 3101eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3102$as_echo "$ac_try_echo"; } >&5 3103 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3104 ac_status=$? 3105 if test -s conftest.err; then 3106 sed '10a\ 3107... rest of stderr output deleted ... 3108 10q' conftest.err >conftest.er1 3109 cat conftest.er1 >&5 3110 fi 3111 rm -f conftest.er1 conftest.err 3112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3113 test $ac_status = 0; } 3114done 3115 3116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3117/* end confdefs.h. */ 3118 3119int 3120main () 3121{ 3122 3123 ; 3124 return 0; 3125} 3126_ACEOF 3127ac_clean_files_save=$ac_clean_files 3128ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3129# Try to create an executable without -o first, disregard a.out. 3130# It will help us diagnose broken compilers, and finding out an intuition 3131# of exeext. 3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3133$as_echo_n "checking whether the C compiler works... " >&6; } 3134ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3135 3136# The possible output files: 3137ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3138 3139ac_rmfiles= 3140for ac_file in $ac_files 3141do 3142 case $ac_file in 3143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3144 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3145 esac 3146done 3147rm -f $ac_rmfiles 3148 3149if { { ac_try="$ac_link_default" 3150case "(($ac_try" in 3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3152 *) ac_try_echo=$ac_try;; 3153esac 3154eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3155$as_echo "$ac_try_echo"; } >&5 3156 (eval "$ac_link_default") 2>&5 3157 ac_status=$? 3158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3159 test $ac_status = 0; }; then : 3160 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3161# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3162# in a Makefile. We should not override ac_cv_exeext if it was cached, 3163# so that the user can short-circuit this test for compilers unknown to 3164# Autoconf. 3165for ac_file in $ac_files '' 3166do 3167 test -f "$ac_file" || continue 3168 case $ac_file in 3169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3170 ;; 3171 [ab].out ) 3172 # We found the default executable, but exeext='' is most 3173 # certainly right. 3174 break;; 3175 *.* ) 3176 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3177 then :; else 3178 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3179 fi 3180 # We set ac_cv_exeext here because the later test for it is not 3181 # safe: cross compilers may not add the suffix if given an `-o' 3182 # argument, so we may need to know it at that point already. 3183 # Even if this section looks crufty: it has the advantage of 3184 # actually working. 3185 break;; 3186 * ) 3187 break;; 3188 esac 3189done 3190test "$ac_cv_exeext" = no && ac_cv_exeext= 3191 3192else 3193 ac_file='' 3194fi 3195if test -z "$ac_file"; then : 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3197$as_echo "no" >&6; } 3198$as_echo "$as_me: failed program was:" >&5 3199sed 's/^/| /' conftest.$ac_ext >&5 3200 3201{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3203as_fn_error 77 "C compiler cannot create executables 3204See \`config.log' for more details" "$LINENO" 5; } 3205else 3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3207$as_echo "yes" >&6; } 3208fi 3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3210$as_echo_n "checking for C compiler default output file name... " >&6; } 3211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3212$as_echo "$ac_file" >&6; } 3213ac_exeext=$ac_cv_exeext 3214 3215rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3216ac_clean_files=$ac_clean_files_save 3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3218$as_echo_n "checking for suffix of executables... " >&6; } 3219if { { ac_try="$ac_link" 3220case "(($ac_try" in 3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3222 *) ac_try_echo=$ac_try;; 3223esac 3224eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3225$as_echo "$ac_try_echo"; } >&5 3226 (eval "$ac_link") 2>&5 3227 ac_status=$? 3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3229 test $ac_status = 0; }; then : 3230 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3231# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3232# work properly (i.e., refer to `conftest.exe'), while it won't with 3233# `rm'. 3234for ac_file in conftest.exe conftest conftest.*; do 3235 test -f "$ac_file" || continue 3236 case $ac_file in 3237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3238 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3239 break;; 3240 * ) break;; 3241 esac 3242done 3243else 3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3246as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3247See \`config.log' for more details" "$LINENO" 5; } 3248fi 3249rm -f conftest conftest$ac_cv_exeext 3250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3251$as_echo "$ac_cv_exeext" >&6; } 3252 3253rm -f conftest.$ac_ext 3254EXEEXT=$ac_cv_exeext 3255ac_exeext=$EXEEXT 3256cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3257/* end confdefs.h. */ 3258@%:@include <stdio.h> 3259int 3260main () 3261{ 3262FILE *f = fopen ("conftest.out", "w"); 3263 return ferror (f) || fclose (f) != 0; 3264 3265 ; 3266 return 0; 3267} 3268_ACEOF 3269ac_clean_files="$ac_clean_files conftest.out" 3270# Check that the compiler produces executables we can run. If not, either 3271# the compiler is broken, or we cross compile. 3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3273$as_echo_n "checking whether we are cross compiling... " >&6; } 3274if test "$cross_compiling" != yes; then 3275 { { ac_try="$ac_link" 3276case "(($ac_try" in 3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3278 *) ac_try_echo=$ac_try;; 3279esac 3280eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3281$as_echo "$ac_try_echo"; } >&5 3282 (eval "$ac_link") 2>&5 3283 ac_status=$? 3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3285 test $ac_status = 0; } 3286 if { ac_try='./conftest$ac_cv_exeext' 3287 { { case "(($ac_try" in 3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3289 *) ac_try_echo=$ac_try;; 3290esac 3291eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3292$as_echo "$ac_try_echo"; } >&5 3293 (eval "$ac_try") 2>&5 3294 ac_status=$? 3295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3296 test $ac_status = 0; }; }; then 3297 cross_compiling=no 3298 else 3299 if test "$cross_compiling" = maybe; then 3300 cross_compiling=yes 3301 else 3302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3303$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3304as_fn_error $? "cannot run C compiled programs. 3305If you meant to cross compile, use \`--host'. 3306See \`config.log' for more details" "$LINENO" 5; } 3307 fi 3308 fi 3309fi 3310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3311$as_echo "$cross_compiling" >&6; } 3312 3313rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3314ac_clean_files=$ac_clean_files_save 3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3316$as_echo_n "checking for suffix of object files... " >&6; } 3317if ${ac_cv_objext+:} false; then : 3318 $as_echo_n "(cached) " >&6 3319else 3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3321/* end confdefs.h. */ 3322 3323int 3324main () 3325{ 3326 3327 ; 3328 return 0; 3329} 3330_ACEOF 3331rm -f conftest.o conftest.obj 3332if { { ac_try="$ac_compile" 3333case "(($ac_try" in 3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3335 *) ac_try_echo=$ac_try;; 3336esac 3337eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3338$as_echo "$ac_try_echo"; } >&5 3339 (eval "$ac_compile") 2>&5 3340 ac_status=$? 3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3342 test $ac_status = 0; }; then : 3343 for ac_file in conftest.o conftest.obj conftest.*; do 3344 test -f "$ac_file" || continue; 3345 case $ac_file in 3346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3347 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3348 break;; 3349 esac 3350done 3351else 3352 $as_echo "$as_me: failed program was:" >&5 3353sed 's/^/| /' conftest.$ac_ext >&5 3354 3355{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3357as_fn_error $? "cannot compute suffix of object files: cannot compile 3358See \`config.log' for more details" "$LINENO" 5; } 3359fi 3360rm -f conftest.$ac_cv_objext conftest.$ac_ext 3361fi 3362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3363$as_echo "$ac_cv_objext" >&6; } 3364OBJEXT=$ac_cv_objext 3365ac_objext=$OBJEXT 3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3367$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3368if ${ac_cv_c_compiler_gnu+:} false; then : 3369 $as_echo_n "(cached) " >&6 3370else 3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3372/* end confdefs.h. */ 3373 3374int 3375main () 3376{ 3377#ifndef __GNUC__ 3378 choke me 3379#endif 3380 3381 ; 3382 return 0; 3383} 3384_ACEOF 3385if ac_fn_c_try_compile "$LINENO"; then : 3386 ac_compiler_gnu=yes 3387else 3388 ac_compiler_gnu=no 3389fi 3390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3391ac_cv_c_compiler_gnu=$ac_compiler_gnu 3392 3393fi 3394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3395$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3396if test $ac_compiler_gnu = yes; then 3397 GCC=yes 3398else 3399 GCC= 3400fi 3401ac_test_CFLAGS=${CFLAGS+set} 3402ac_save_CFLAGS=$CFLAGS 3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3404$as_echo_n "checking whether $CC accepts -g... " >&6; } 3405if ${ac_cv_prog_cc_g+:} false; then : 3406 $as_echo_n "(cached) " >&6 3407else 3408 ac_save_c_werror_flag=$ac_c_werror_flag 3409 ac_c_werror_flag=yes 3410 ac_cv_prog_cc_g=no 3411 CFLAGS="-g" 3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3413/* end confdefs.h. */ 3414 3415int 3416main () 3417{ 3418 3419 ; 3420 return 0; 3421} 3422_ACEOF 3423if ac_fn_c_try_compile "$LINENO"; then : 3424 ac_cv_prog_cc_g=yes 3425else 3426 CFLAGS="" 3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3428/* end confdefs.h. */ 3429 3430int 3431main () 3432{ 3433 3434 ; 3435 return 0; 3436} 3437_ACEOF 3438if ac_fn_c_try_compile "$LINENO"; then : 3439 3440else 3441 ac_c_werror_flag=$ac_save_c_werror_flag 3442 CFLAGS="-g" 3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3444/* end confdefs.h. */ 3445 3446int 3447main () 3448{ 3449 3450 ; 3451 return 0; 3452} 3453_ACEOF 3454if ac_fn_c_try_compile "$LINENO"; then : 3455 ac_cv_prog_cc_g=yes 3456fi 3457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3458fi 3459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3460fi 3461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3462 ac_c_werror_flag=$ac_save_c_werror_flag 3463fi 3464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3465$as_echo "$ac_cv_prog_cc_g" >&6; } 3466if test "$ac_test_CFLAGS" = set; then 3467 CFLAGS=$ac_save_CFLAGS 3468elif test $ac_cv_prog_cc_g = yes; then 3469 if test "$GCC" = yes; then 3470 CFLAGS="-g -O2" 3471 else 3472 CFLAGS="-g" 3473 fi 3474else 3475 if test "$GCC" = yes; then 3476 CFLAGS="-O2" 3477 else 3478 CFLAGS= 3479 fi 3480fi 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3482$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3483if ${ac_cv_prog_cc_c89+:} false; then : 3484 $as_echo_n "(cached) " >&6 3485else 3486 ac_cv_prog_cc_c89=no 3487ac_save_CC=$CC 3488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3489/* end confdefs.h. */ 3490#include <stdarg.h> 3491#include <stdio.h> 3492struct stat; 3493/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3494struct buf { int x; }; 3495FILE * (*rcsopen) (struct buf *, struct stat *, int); 3496static char *e (p, i) 3497 char **p; 3498 int i; 3499{ 3500 return p[i]; 3501} 3502static char *f (char * (*g) (char **, int), char **p, ...) 3503{ 3504 char *s; 3505 va_list v; 3506 va_start (v,p); 3507 s = g (p, va_arg (v,int)); 3508 va_end (v); 3509 return s; 3510} 3511 3512/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3513 function prototypes and stuff, but not '\xHH' hex character constants. 3514 These don't provoke an error unfortunately, instead are silently treated 3515 as 'x'. The following induces an error, until -std is added to get 3516 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3517 array size at least. It's necessary to write '\x00'==0 to get something 3518 that's true only with -std. */ 3519int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3520 3521/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3522 inside strings and character constants. */ 3523#define FOO(x) 'x' 3524int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3525 3526int test (int i, double x); 3527struct s1 {int (*f) (int a);}; 3528struct s2 {int (*f) (double a);}; 3529int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3530int argc; 3531char **argv; 3532int 3533main () 3534{ 3535return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3536 ; 3537 return 0; 3538} 3539_ACEOF 3540for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3541 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3542do 3543 CC="$ac_save_CC $ac_arg" 3544 if ac_fn_c_try_compile "$LINENO"; then : 3545 ac_cv_prog_cc_c89=$ac_arg 3546fi 3547rm -f core conftest.err conftest.$ac_objext 3548 test "x$ac_cv_prog_cc_c89" != "xno" && break 3549done 3550rm -f conftest.$ac_ext 3551CC=$ac_save_CC 3552 3553fi 3554# AC_CACHE_VAL 3555case "x$ac_cv_prog_cc_c89" in 3556 x) 3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3558$as_echo "none needed" >&6; } ;; 3559 xno) 3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3561$as_echo "unsupported" >&6; } ;; 3562 *) 3563 CC="$CC $ac_cv_prog_cc_c89" 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3565$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3566esac 3567if test "x$ac_cv_prog_cc_c89" != xno; then : 3568 3569fi 3570 3571ac_ext=c 3572ac_cpp='$CPP $CPPFLAGS' 3573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3575ac_compiler_gnu=$ac_cv_c_compiler_gnu 3576 3577ac_ext=c 3578ac_cpp='$CPP $CPPFLAGS' 3579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3581ac_compiler_gnu=$ac_cv_c_compiler_gnu 3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3583$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3584if ${am_cv_prog_cc_c_o+:} false; then : 3585 $as_echo_n "(cached) " >&6 3586else 3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3588/* end confdefs.h. */ 3589 3590int 3591main () 3592{ 3593 3594 ; 3595 return 0; 3596} 3597_ACEOF 3598 # Make sure it works both with $CC and with simple cc. 3599 # Following AC_PROG_CC_C_O, we do the test twice because some 3600 # compilers refuse to overwrite an existing .o file with -o, 3601 # though they will create one. 3602 am_cv_prog_cc_c_o=yes 3603 for am_i in 1 2; do 3604 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3605 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3606 ac_status=$? 3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3608 (exit $ac_status); } \ 3609 && test -f conftest2.$ac_objext; then 3610 : OK 3611 else 3612 am_cv_prog_cc_c_o=no 3613 break 3614 fi 3615 done 3616 rm -f core conftest* 3617 unset am_i 3618fi 3619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3620$as_echo "$am_cv_prog_cc_c_o" >&6; } 3621if test "$am_cv_prog_cc_c_o" != yes; then 3622 # Losing compiler, so override with the script. 3623 # FIXME: It is wrong to rewrite CC. 3624 # But if we don't then we get into trouble of one sort or another. 3625 # A longer-term fix would be to have automake use am__CC in this case, 3626 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3627 CC="$am_aux_dir/compile $CC" 3628fi 3629ac_ext=c 3630ac_cpp='$CPP $CPPFLAGS' 3631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3633ac_compiler_gnu=$ac_cv_c_compiler_gnu 3634 3635DEPDIR="${am__leading_dot}deps" 3636 3637ac_config_commands="$ac_config_commands depfiles" 3638 3639 3640am_make=${MAKE-make} 3641cat > confinc << 'END' 3642am__doit: 3643 @echo this is the am__doit target 3644.PHONY: am__doit 3645END 3646# If we don't find an include directive, just comment out the code. 3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3648$as_echo_n "checking for style of include used by $am_make... " >&6; } 3649am__include="#" 3650am__quote= 3651_am_result=none 3652# First try GNU make style include. 3653echo "include confinc" > confmf 3654# Ignore all kinds of additional output from 'make'. 3655case `$am_make -s -f confmf 2> /dev/null` in #( 3656*the\ am__doit\ target*) 3657 am__include=include 3658 am__quote= 3659 _am_result=GNU 3660 ;; 3661esac 3662# Now try BSD make style include. 3663if test "$am__include" = "#"; then 3664 echo '.include "confinc"' > confmf 3665 case `$am_make -s -f confmf 2> /dev/null` in #( 3666 *the\ am__doit\ target*) 3667 am__include=.include 3668 am__quote="\"" 3669 _am_result=BSD 3670 ;; 3671 esac 3672fi 3673 3674 3675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3676$as_echo "$_am_result" >&6; } 3677rm -f confinc confmf 3678 3679@%:@ Check whether --enable-dependency-tracking was given. 3680if test "${enable_dependency_tracking+set}" = set; then : 3681 enableval=$enable_dependency_tracking; 3682fi 3683 3684if test "x$enable_dependency_tracking" != xno; then 3685 am_depcomp="$ac_aux_dir/depcomp" 3686 AMDEPBACKSLASH='\' 3687 am__nodep='_no' 3688fi 3689 if test "x$enable_dependency_tracking" != xno; then 3690 AMDEP_TRUE= 3691 AMDEP_FALSE='#' 3692else 3693 AMDEP_TRUE='#' 3694 AMDEP_FALSE= 3695fi 3696 3697 3698 3699depcc="$CC" am_compiler_list= 3700 3701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3702$as_echo_n "checking dependency style of $depcc... " >&6; } 3703if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3704 $as_echo_n "(cached) " >&6 3705else 3706 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3707 # We make a subdir and do the tests there. Otherwise we can end up 3708 # making bogus files that we don't know about and never remove. For 3709 # instance it was reported that on HP-UX the gcc test will end up 3710 # making a dummy file named 'D' -- because '-MD' means "put the output 3711 # in D". 3712 rm -rf conftest.dir 3713 mkdir conftest.dir 3714 # Copy depcomp to subdir because otherwise we won't find it if we're 3715 # using a relative directory. 3716 cp "$am_depcomp" conftest.dir 3717 cd conftest.dir 3718 # We will build objects and dependencies in a subdirectory because 3719 # it helps to detect inapplicable dependency modes. For instance 3720 # both Tru64's cc and ICC support -MD to output dependencies as a 3721 # side effect of compilation, but ICC will put the dependencies in 3722 # the current directory while Tru64 will put them in the object 3723 # directory. 3724 mkdir sub 3725 3726 am_cv_CC_dependencies_compiler_type=none 3727 if test "$am_compiler_list" = ""; then 3728 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3729 fi 3730 am__universal=false 3731 case " $depcc " in #( 3732 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3733 esac 3734 3735 for depmode in $am_compiler_list; do 3736 # Setup a source with many dependencies, because some compilers 3737 # like to wrap large dependency lists on column 80 (with \), and 3738 # we should not choose a depcomp mode which is confused by this. 3739 # 3740 # We need to recreate these files for each test, as the compiler may 3741 # overwrite some of them when testing with obscure command lines. 3742 # This happens at least with the AIX C compiler. 3743 : > sub/conftest.c 3744 for i in 1 2 3 4 5 6; do 3745 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3746 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3747 # Solaris 10 /bin/sh. 3748 echo '/* dummy */' > sub/conftst$i.h 3749 done 3750 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3751 3752 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3753 # mode. It turns out that the SunPro C++ compiler does not properly 3754 # handle '-M -o', and we need to detect this. Also, some Intel 3755 # versions had trouble with output in subdirs. 3756 am__obj=sub/conftest.${OBJEXT-o} 3757 am__minus_obj="-o $am__obj" 3758 case $depmode in 3759 gcc) 3760 # This depmode causes a compiler race in universal mode. 3761 test "$am__universal" = false || continue 3762 ;; 3763 nosideeffect) 3764 # After this tag, mechanisms are not by side-effect, so they'll 3765 # only be used when explicitly requested. 3766 if test "x$enable_dependency_tracking" = xyes; then 3767 continue 3768 else 3769 break 3770 fi 3771 ;; 3772 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3773 # This compiler won't grok '-c -o', but also, the minuso test has 3774 # not run yet. These depmodes are late enough in the game, and 3775 # so weak that their functioning should not be impacted. 3776 am__obj=conftest.${OBJEXT-o} 3777 am__minus_obj= 3778 ;; 3779 none) break ;; 3780 esac 3781 if depmode=$depmode \ 3782 source=sub/conftest.c object=$am__obj \ 3783 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3784 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3785 >/dev/null 2>conftest.err && 3786 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3787 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3788 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3789 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3790 # icc doesn't choke on unknown options, it will just issue warnings 3791 # or remarks (even with -Werror). So we grep stderr for any message 3792 # that says an option was ignored or not supported. 3793 # When given -MP, icc 7.0 and 7.1 complain thusly: 3794 # icc: Command line warning: ignoring option '-M'; no argument required 3795 # The diagnosis changed in icc 8.0: 3796 # icc: Command line remark: option '-MP' not supported 3797 if (grep 'ignoring option' conftest.err || 3798 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3799 am_cv_CC_dependencies_compiler_type=$depmode 3800 break 3801 fi 3802 fi 3803 done 3804 3805 cd .. 3806 rm -rf conftest.dir 3807else 3808 am_cv_CC_dependencies_compiler_type=none 3809fi 3810 3811fi 3812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3813$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3814CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3815 3816 if 3817 test "x$enable_dependency_tracking" != xno \ 3818 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3819 am__fastdepCC_TRUE= 3820 am__fastdepCC_FALSE='#' 3821else 3822 am__fastdepCC_TRUE='#' 3823 am__fastdepCC_FALSE= 3824fi 3825 3826 3827for ac_prog in gawk mawk nawk awk 3828do 3829 # Extract the first word of "$ac_prog", so it can be a program name with args. 3830set dummy $ac_prog; ac_word=$2 3831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3832$as_echo_n "checking for $ac_word... " >&6; } 3833if ${ac_cv_prog_AWK+:} false; then : 3834 $as_echo_n "(cached) " >&6 3835else 3836 if test -n "$AWK"; then 3837 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3838else 3839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3840for as_dir in $PATH 3841do 3842 IFS=$as_save_IFS 3843 test -z "$as_dir" && as_dir=. 3844 for ac_exec_ext in '' $ac_executable_extensions; do 3845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3846 ac_cv_prog_AWK="$ac_prog" 3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3848 break 2 3849 fi 3850done 3851 done 3852IFS=$as_save_IFS 3853 3854fi 3855fi 3856AWK=$ac_cv_prog_AWK 3857if test -n "$AWK"; then 3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3859$as_echo "$AWK" >&6; } 3860else 3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3862$as_echo "no" >&6; } 3863fi 3864 3865 3866 test -n "$AWK" && break 3867done 3868 3869ac_ext=c 3870ac_cpp='$CPP $CPPFLAGS' 3871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3873ac_compiler_gnu=$ac_cv_c_compiler_gnu 3874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3875$as_echo_n "checking how to run the C preprocessor... " >&6; } 3876# On Suns, sometimes $CPP names a directory. 3877if test -n "$CPP" && test -d "$CPP"; then 3878 CPP= 3879fi 3880if test -z "$CPP"; then 3881 if ${ac_cv_prog_CPP+:} false; then : 3882 $as_echo_n "(cached) " >&6 3883else 3884 # Double quotes because CPP needs to be expanded 3885 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3886 do 3887 ac_preproc_ok=false 3888for ac_c_preproc_warn_flag in '' yes 3889do 3890 # Use a header file that comes with gcc, so configuring glibc 3891 # with a fresh cross-compiler works. 3892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3893 # <limits.h> exists even on freestanding compilers. 3894 # On the NeXT, cc -E runs the code through the compiler's parser, 3895 # not just through cpp. "Syntax error" is here to catch this case. 3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3897/* end confdefs.h. */ 3898@%:@ifdef __STDC__ 3899@%:@ include <limits.h> 3900@%:@else 3901@%:@ include <assert.h> 3902@%:@endif 3903 Syntax error 3904_ACEOF 3905if ac_fn_c_try_cpp "$LINENO"; then : 3906 3907else 3908 # Broken: fails on valid input. 3909continue 3910fi 3911rm -f conftest.err conftest.i conftest.$ac_ext 3912 3913 # OK, works on sane cases. Now check whether nonexistent headers 3914 # can be detected and how. 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3916/* end confdefs.h. */ 3917@%:@include <ac_nonexistent.h> 3918_ACEOF 3919if ac_fn_c_try_cpp "$LINENO"; then : 3920 # Broken: success on invalid input. 3921continue 3922else 3923 # Passes both tests. 3924ac_preproc_ok=: 3925break 3926fi 3927rm -f conftest.err conftest.i conftest.$ac_ext 3928 3929done 3930# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3931rm -f conftest.i conftest.err conftest.$ac_ext 3932if $ac_preproc_ok; then : 3933 break 3934fi 3935 3936 done 3937 ac_cv_prog_CPP=$CPP 3938 3939fi 3940 CPP=$ac_cv_prog_CPP 3941else 3942 ac_cv_prog_CPP=$CPP 3943fi 3944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3945$as_echo "$CPP" >&6; } 3946ac_preproc_ok=false 3947for ac_c_preproc_warn_flag in '' yes 3948do 3949 # Use a header file that comes with gcc, so configuring glibc 3950 # with a fresh cross-compiler works. 3951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3952 # <limits.h> exists even on freestanding compilers. 3953 # On the NeXT, cc -E runs the code through the compiler's parser, 3954 # not just through cpp. "Syntax error" is here to catch this case. 3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3956/* end confdefs.h. */ 3957@%:@ifdef __STDC__ 3958@%:@ include <limits.h> 3959@%:@else 3960@%:@ include <assert.h> 3961@%:@endif 3962 Syntax error 3963_ACEOF 3964if ac_fn_c_try_cpp "$LINENO"; then : 3965 3966else 3967 # Broken: fails on valid input. 3968continue 3969fi 3970rm -f conftest.err conftest.i conftest.$ac_ext 3971 3972 # OK, works on sane cases. Now check whether nonexistent headers 3973 # can be detected and how. 3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3975/* end confdefs.h. */ 3976@%:@include <ac_nonexistent.h> 3977_ACEOF 3978if ac_fn_c_try_cpp "$LINENO"; then : 3979 # Broken: success on invalid input. 3980continue 3981else 3982 # Passes both tests. 3983ac_preproc_ok=: 3984break 3985fi 3986rm -f conftest.err conftest.i conftest.$ac_ext 3987 3988done 3989# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3990rm -f conftest.i conftest.err conftest.$ac_ext 3991if $ac_preproc_ok; then : 3992 3993else 3994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3995$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3996as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3997See \`config.log' for more details" "$LINENO" 5; } 3998fi 3999 4000ac_ext=c 4001ac_cpp='$CPP $CPPFLAGS' 4002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4004ac_compiler_gnu=$ac_cv_c_compiler_gnu 4005 4006ac_ext=cpp 4007ac_cpp='$CXXCPP $CPPFLAGS' 4008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4011if test -z "$CXX"; then 4012 if test -n "$CCC"; then 4013 CXX=$CCC 4014 else 4015 if test -n "$ac_tool_prefix"; then 4016 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4017 do 4018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4019set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4021$as_echo_n "checking for $ac_word... " >&6; } 4022if ${ac_cv_prog_CXX+:} false; then : 4023 $as_echo_n "(cached) " >&6 4024else 4025 if test -n "$CXX"; then 4026 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4027else 4028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4029for as_dir in $PATH 4030do 4031 IFS=$as_save_IFS 4032 test -z "$as_dir" && as_dir=. 4033 for ac_exec_ext in '' $ac_executable_extensions; do 4034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4035 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4037 break 2 4038 fi 4039done 4040 done 4041IFS=$as_save_IFS 4042 4043fi 4044fi 4045CXX=$ac_cv_prog_CXX 4046if test -n "$CXX"; then 4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4048$as_echo "$CXX" >&6; } 4049else 4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4051$as_echo "no" >&6; } 4052fi 4053 4054 4055 test -n "$CXX" && break 4056 done 4057fi 4058if test -z "$CXX"; then 4059 ac_ct_CXX=$CXX 4060 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4061do 4062 # Extract the first word of "$ac_prog", so it can be a program name with args. 4063set dummy $ac_prog; ac_word=$2 4064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4065$as_echo_n "checking for $ac_word... " >&6; } 4066if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4067 $as_echo_n "(cached) " >&6 4068else 4069 if test -n "$ac_ct_CXX"; then 4070 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4071else 4072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4073for as_dir in $PATH 4074do 4075 IFS=$as_save_IFS 4076 test -z "$as_dir" && as_dir=. 4077 for ac_exec_ext in '' $ac_executable_extensions; do 4078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4079 ac_cv_prog_ac_ct_CXX="$ac_prog" 4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4081 break 2 4082 fi 4083done 4084 done 4085IFS=$as_save_IFS 4086 4087fi 4088fi 4089ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4090if test -n "$ac_ct_CXX"; then 4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4092$as_echo "$ac_ct_CXX" >&6; } 4093else 4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4095$as_echo "no" >&6; } 4096fi 4097 4098 4099 test -n "$ac_ct_CXX" && break 4100done 4101 4102 if test "x$ac_ct_CXX" = x; then 4103 CXX="g++" 4104 else 4105 case $cross_compiling:$ac_tool_warned in 4106yes:) 4107{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4108$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4109ac_tool_warned=yes ;; 4110esac 4111 CXX=$ac_ct_CXX 4112 fi 4113fi 4114 4115 fi 4116fi 4117# Provide some information about the compiler. 4118$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4119set X $ac_compile 4120ac_compiler=$2 4121for ac_option in --version -v -V -qversion; do 4122 { { ac_try="$ac_compiler $ac_option >&5" 4123case "(($ac_try" in 4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4125 *) ac_try_echo=$ac_try;; 4126esac 4127eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4128$as_echo "$ac_try_echo"; } >&5 4129 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4130 ac_status=$? 4131 if test -s conftest.err; then 4132 sed '10a\ 4133... rest of stderr output deleted ... 4134 10q' conftest.err >conftest.er1 4135 cat conftest.er1 >&5 4136 fi 4137 rm -f conftest.er1 conftest.err 4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4139 test $ac_status = 0; } 4140done 4141 4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4143$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4144if ${ac_cv_cxx_compiler_gnu+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146else 4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4148/* end confdefs.h. */ 4149 4150int 4151main () 4152{ 4153#ifndef __GNUC__ 4154 choke me 4155#endif 4156 4157 ; 4158 return 0; 4159} 4160_ACEOF 4161if ac_fn_cxx_try_compile "$LINENO"; then : 4162 ac_compiler_gnu=yes 4163else 4164 ac_compiler_gnu=no 4165fi 4166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4167ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4168 4169fi 4170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4171$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4172if test $ac_compiler_gnu = yes; then 4173 GXX=yes 4174else 4175 GXX= 4176fi 4177ac_test_CXXFLAGS=${CXXFLAGS+set} 4178ac_save_CXXFLAGS=$CXXFLAGS 4179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4180$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4181if ${ac_cv_prog_cxx_g+:} false; then : 4182 $as_echo_n "(cached) " >&6 4183else 4184 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4185 ac_cxx_werror_flag=yes 4186 ac_cv_prog_cxx_g=no 4187 CXXFLAGS="-g" 4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4189/* end confdefs.h. */ 4190 4191int 4192main () 4193{ 4194 4195 ; 4196 return 0; 4197} 4198_ACEOF 4199if ac_fn_cxx_try_compile "$LINENO"; then : 4200 ac_cv_prog_cxx_g=yes 4201else 4202 CXXFLAGS="" 4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4204/* end confdefs.h. */ 4205 4206int 4207main () 4208{ 4209 4210 ; 4211 return 0; 4212} 4213_ACEOF 4214if ac_fn_cxx_try_compile "$LINENO"; then : 4215 4216else 4217 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4218 CXXFLAGS="-g" 4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4220/* end confdefs.h. */ 4221 4222int 4223main () 4224{ 4225 4226 ; 4227 return 0; 4228} 4229_ACEOF 4230if ac_fn_cxx_try_compile "$LINENO"; then : 4231 ac_cv_prog_cxx_g=yes 4232fi 4233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4234fi 4235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4236fi 4237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4238 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4239fi 4240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4241$as_echo "$ac_cv_prog_cxx_g" >&6; } 4242if test "$ac_test_CXXFLAGS" = set; then 4243 CXXFLAGS=$ac_save_CXXFLAGS 4244elif test $ac_cv_prog_cxx_g = yes; then 4245 if test "$GXX" = yes; then 4246 CXXFLAGS="-g -O2" 4247 else 4248 CXXFLAGS="-g" 4249 fi 4250else 4251 if test "$GXX" = yes; then 4252 CXXFLAGS="-O2" 4253 else 4254 CXXFLAGS= 4255 fi 4256fi 4257ac_ext=c 4258ac_cpp='$CPP $CPPFLAGS' 4259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4261ac_compiler_gnu=$ac_cv_c_compiler_gnu 4262 4263depcc="$CXX" am_compiler_list= 4264 4265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4266$as_echo_n "checking dependency style of $depcc... " >&6; } 4267if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 4268 $as_echo_n "(cached) " >&6 4269else 4270 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4271 # We make a subdir and do the tests there. Otherwise we can end up 4272 # making bogus files that we don't know about and never remove. For 4273 # instance it was reported that on HP-UX the gcc test will end up 4274 # making a dummy file named 'D' -- because '-MD' means "put the output 4275 # in D". 4276 rm -rf conftest.dir 4277 mkdir conftest.dir 4278 # Copy depcomp to subdir because otherwise we won't find it if we're 4279 # using a relative directory. 4280 cp "$am_depcomp" conftest.dir 4281 cd conftest.dir 4282 # We will build objects and dependencies in a subdirectory because 4283 # it helps to detect inapplicable dependency modes. For instance 4284 # both Tru64's cc and ICC support -MD to output dependencies as a 4285 # side effect of compilation, but ICC will put the dependencies in 4286 # the current directory while Tru64 will put them in the object 4287 # directory. 4288 mkdir sub 4289 4290 am_cv_CXX_dependencies_compiler_type=none 4291 if test "$am_compiler_list" = ""; then 4292 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4293 fi 4294 am__universal=false 4295 case " $depcc " in #( 4296 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4297 esac 4298 4299 for depmode in $am_compiler_list; do 4300 # Setup a source with many dependencies, because some compilers 4301 # like to wrap large dependency lists on column 80 (with \), and 4302 # we should not choose a depcomp mode which is confused by this. 4303 # 4304 # We need to recreate these files for each test, as the compiler may 4305 # overwrite some of them when testing with obscure command lines. 4306 # This happens at least with the AIX C compiler. 4307 : > sub/conftest.c 4308 for i in 1 2 3 4 5 6; do 4309 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4310 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4311 # Solaris 10 /bin/sh. 4312 echo '/* dummy */' > sub/conftst$i.h 4313 done 4314 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4315 4316 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4317 # mode. It turns out that the SunPro C++ compiler does not properly 4318 # handle '-M -o', and we need to detect this. Also, some Intel 4319 # versions had trouble with output in subdirs. 4320 am__obj=sub/conftest.${OBJEXT-o} 4321 am__minus_obj="-o $am__obj" 4322 case $depmode in 4323 gcc) 4324 # This depmode causes a compiler race in universal mode. 4325 test "$am__universal" = false || continue 4326 ;; 4327 nosideeffect) 4328 # After this tag, mechanisms are not by side-effect, so they'll 4329 # only be used when explicitly requested. 4330 if test "x$enable_dependency_tracking" = xyes; then 4331 continue 4332 else 4333 break 4334 fi 4335 ;; 4336 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4337 # This compiler won't grok '-c -o', but also, the minuso test has 4338 # not run yet. These depmodes are late enough in the game, and 4339 # so weak that their functioning should not be impacted. 4340 am__obj=conftest.${OBJEXT-o} 4341 am__minus_obj= 4342 ;; 4343 none) break ;; 4344 esac 4345 if depmode=$depmode \ 4346 source=sub/conftest.c object=$am__obj \ 4347 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4348 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4349 >/dev/null 2>conftest.err && 4350 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4351 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4352 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4353 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4354 # icc doesn't choke on unknown options, it will just issue warnings 4355 # or remarks (even with -Werror). So we grep stderr for any message 4356 # that says an option was ignored or not supported. 4357 # When given -MP, icc 7.0 and 7.1 complain thusly: 4358 # icc: Command line warning: ignoring option '-M'; no argument required 4359 # The diagnosis changed in icc 8.0: 4360 # icc: Command line remark: option '-MP' not supported 4361 if (grep 'ignoring option' conftest.err || 4362 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4363 am_cv_CXX_dependencies_compiler_type=$depmode 4364 break 4365 fi 4366 fi 4367 done 4368 4369 cd .. 4370 rm -rf conftest.dir 4371else 4372 am_cv_CXX_dependencies_compiler_type=none 4373fi 4374 4375fi 4376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4377$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4378CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4379 4380 if 4381 test "x$enable_dependency_tracking" != xno \ 4382 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4383 am__fastdepCXX_TRUE= 4384 am__fastdepCXX_FALSE='#' 4385else 4386 am__fastdepCXX_TRUE='#' 4387 am__fastdepCXX_FALSE= 4388fi 4389 4390 4391ac_ext=cpp 4392ac_cpp='$CXXCPP $CPPFLAGS' 4393ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4394ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4395ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4397$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4398if test -z "$CXXCPP"; then 4399 if ${ac_cv_prog_CXXCPP+:} false; then : 4400 $as_echo_n "(cached) " >&6 4401else 4402 # Double quotes because CXXCPP needs to be expanded 4403 for CXXCPP in "$CXX -E" "/lib/cpp" 4404 do 4405 ac_preproc_ok=false 4406for ac_cxx_preproc_warn_flag in '' yes 4407do 4408 # Use a header file that comes with gcc, so configuring glibc 4409 # with a fresh cross-compiler works. 4410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4411 # <limits.h> exists even on freestanding compilers. 4412 # On the NeXT, cc -E runs the code through the compiler's parser, 4413 # not just through cpp. "Syntax error" is here to catch this case. 4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4415/* end confdefs.h. */ 4416@%:@ifdef __STDC__ 4417@%:@ include <limits.h> 4418@%:@else 4419@%:@ include <assert.h> 4420@%:@endif 4421 Syntax error 4422_ACEOF 4423if ac_fn_cxx_try_cpp "$LINENO"; then : 4424 4425else 4426 # Broken: fails on valid input. 4427continue 4428fi 4429rm -f conftest.err conftest.i conftest.$ac_ext 4430 4431 # OK, works on sane cases. Now check whether nonexistent headers 4432 # can be detected and how. 4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4434/* end confdefs.h. */ 4435@%:@include <ac_nonexistent.h> 4436_ACEOF 4437if ac_fn_cxx_try_cpp "$LINENO"; then : 4438 # Broken: success on invalid input. 4439continue 4440else 4441 # Passes both tests. 4442ac_preproc_ok=: 4443break 4444fi 4445rm -f conftest.err conftest.i conftest.$ac_ext 4446 4447done 4448# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4449rm -f conftest.i conftest.err conftest.$ac_ext 4450if $ac_preproc_ok; then : 4451 break 4452fi 4453 4454 done 4455 ac_cv_prog_CXXCPP=$CXXCPP 4456 4457fi 4458 CXXCPP=$ac_cv_prog_CXXCPP 4459else 4460 ac_cv_prog_CXXCPP=$CXXCPP 4461fi 4462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4463$as_echo "$CXXCPP" >&6; } 4464ac_preproc_ok=false 4465for ac_cxx_preproc_warn_flag in '' yes 4466do 4467 # Use a header file that comes with gcc, so configuring glibc 4468 # with a fresh cross-compiler works. 4469 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4470 # <limits.h> exists even on freestanding compilers. 4471 # On the NeXT, cc -E runs the code through the compiler's parser, 4472 # not just through cpp. "Syntax error" is here to catch this case. 4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4474/* end confdefs.h. */ 4475@%:@ifdef __STDC__ 4476@%:@ include <limits.h> 4477@%:@else 4478@%:@ include <assert.h> 4479@%:@endif 4480 Syntax error 4481_ACEOF 4482if ac_fn_cxx_try_cpp "$LINENO"; then : 4483 4484else 4485 # Broken: fails on valid input. 4486continue 4487fi 4488rm -f conftest.err conftest.i conftest.$ac_ext 4489 4490 # OK, works on sane cases. Now check whether nonexistent headers 4491 # can be detected and how. 4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4493/* end confdefs.h. */ 4494@%:@include <ac_nonexistent.h> 4495_ACEOF 4496if ac_fn_cxx_try_cpp "$LINENO"; then : 4497 # Broken: success on invalid input. 4498continue 4499else 4500 # Passes both tests. 4501ac_preproc_ok=: 4502break 4503fi 4504rm -f conftest.err conftest.i conftest.$ac_ext 4505 4506done 4507# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4508rm -f conftest.i conftest.err conftest.$ac_ext 4509if $ac_preproc_ok; then : 4510 4511else 4512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4513$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4514as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 4515See \`config.log' for more details" "$LINENO" 5; } 4516fi 4517 4518ac_ext=c 4519ac_cpp='$CPP $CPPFLAGS' 4520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4522ac_compiler_gnu=$ac_cv_c_compiler_gnu 4523 4524 4525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4526$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4527set x ${MAKE-make} 4528ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4529if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4530 $as_echo_n "(cached) " >&6 4531else 4532 cat >conftest.make <<\_ACEOF 4533SHELL = /bin/sh 4534all: 4535 @echo '@@@%%%=$(MAKE)=@@@%%%' 4536_ACEOF 4537# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4538case `${MAKE-make} -f conftest.make 2>/dev/null` in 4539 *@@@%%%=?*=@@@%%%*) 4540 eval ac_cv_prog_make_${ac_make}_set=yes;; 4541 *) 4542 eval ac_cv_prog_make_${ac_make}_set=no;; 4543esac 4544rm -f conftest.make 4545fi 4546if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4548$as_echo "yes" >&6; } 4549 SET_MAKE= 4550else 4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4552$as_echo "no" >&6; } 4553 SET_MAKE="MAKE=${MAKE-make}" 4554fi 4555 4556if test -n "$ac_tool_prefix"; then 4557 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4558set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4560$as_echo_n "checking for $ac_word... " >&6; } 4561if ${ac_cv_prog_RANLIB+:} false; then : 4562 $as_echo_n "(cached) " >&6 4563else 4564 if test -n "$RANLIB"; then 4565 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4566else 4567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4568for as_dir in $PATH 4569do 4570 IFS=$as_save_IFS 4571 test -z "$as_dir" && as_dir=. 4572 for ac_exec_ext in '' $ac_executable_extensions; do 4573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4574 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4576 break 2 4577 fi 4578done 4579 done 4580IFS=$as_save_IFS 4581 4582fi 4583fi 4584RANLIB=$ac_cv_prog_RANLIB 4585if test -n "$RANLIB"; then 4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4587$as_echo "$RANLIB" >&6; } 4588else 4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4590$as_echo "no" >&6; } 4591fi 4592 4593 4594fi 4595if test -z "$ac_cv_prog_RANLIB"; then 4596 ac_ct_RANLIB=$RANLIB 4597 # Extract the first word of "ranlib", so it can be a program name with args. 4598set dummy ranlib; ac_word=$2 4599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4600$as_echo_n "checking for $ac_word... " >&6; } 4601if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4602 $as_echo_n "(cached) " >&6 4603else 4604 if test -n "$ac_ct_RANLIB"; then 4605 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4606else 4607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4608for as_dir in $PATH 4609do 4610 IFS=$as_save_IFS 4611 test -z "$as_dir" && as_dir=. 4612 for ac_exec_ext in '' $ac_executable_extensions; do 4613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4614 ac_cv_prog_ac_ct_RANLIB="ranlib" 4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4616 break 2 4617 fi 4618done 4619 done 4620IFS=$as_save_IFS 4621 4622fi 4623fi 4624ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4625if test -n "$ac_ct_RANLIB"; then 4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4627$as_echo "$ac_ct_RANLIB" >&6; } 4628else 4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4630$as_echo "no" >&6; } 4631fi 4632 4633 if test "x$ac_ct_RANLIB" = x; then 4634 RANLIB=":" 4635 else 4636 case $cross_compiling:$ac_tool_warned in 4637yes:) 4638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4640ac_tool_warned=yes ;; 4641esac 4642 RANLIB=$ac_ct_RANLIB 4643 fi 4644else 4645 RANLIB="$ac_cv_prog_RANLIB" 4646fi 4647 4648# Extract the first word of "fmt", so it can be a program name with args. 4649set dummy fmt; ac_word=$2 4650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4651$as_echo_n "checking for $ac_word... " >&6; } 4652if ${ac_cv_prog_FMT+:} false; then : 4653 $as_echo_n "(cached) " >&6 4654else 4655 if test -n "$FMT"; then 4656 ac_cv_prog_FMT="$FMT" # Let the user override the test. 4657else 4658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4659for as_dir in $PATH 4660do 4661 IFS=$as_save_IFS 4662 test -z "$as_dir" && as_dir=. 4663 for ac_exec_ext in '' $ac_executable_extensions; do 4664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4665 ac_cv_prog_FMT="fmt" 4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4667 break 2 4668 fi 4669done 4670 done 4671IFS=$as_save_IFS 4672 4673 test -z "$ac_cv_prog_FMT" && ac_cv_prog_FMT="cat" 4674fi 4675fi 4676FMT=$ac_cv_prog_FMT 4677if test -n "$FMT"; then 4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FMT" >&5 4679$as_echo "$FMT" >&6; } 4680else 4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4682$as_echo "no" >&6; } 4683fi 4684 4685 4686 4687# Extract the first word of "gtar", so it can be a program name with args. 4688set dummy gtar; ac_word=$2 4689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4690$as_echo_n "checking for $ac_word... " >&6; } 4691if ${ac_cv_path_TAR+:} false; then : 4692 $as_echo_n "(cached) " >&6 4693else 4694 case $TAR in 4695 [\\/]* | ?:[\\/]*) 4696 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. 4697 ;; 4698 *) 4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4700for as_dir in $PATH 4701do 4702 IFS=$as_save_IFS 4703 test -z "$as_dir" && as_dir=. 4704 for ac_exec_ext in '' $ac_executable_extensions; do 4705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4706 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" 4707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4708 break 2 4709 fi 4710done 4711 done 4712IFS=$as_save_IFS 4713 4714 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="tar" 4715 ;; 4716esac 4717fi 4718TAR=$ac_cv_path_TAR 4719if test -n "$TAR"; then 4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 4721$as_echo "$TAR" >&6; } 4722else 4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4724$as_echo "no" >&6; } 4725fi 4726 4727 4728# Extract the first word of "gfind", so it can be a program name with args. 4729set dummy gfind; ac_word=$2 4730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4731$as_echo_n "checking for $ac_word... " >&6; } 4732if ${ac_cv_path_FIND+:} false; then : 4733 $as_echo_n "(cached) " >&6 4734else 4735 case $FIND in 4736 [\\/]* | ?:[\\/]*) 4737 ac_cv_path_FIND="$FIND" # Let the user override the test with a path. 4738 ;; 4739 *) 4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4741for as_dir in $PATH 4742do 4743 IFS=$as_save_IFS 4744 test -z "$as_dir" && as_dir=. 4745 for ac_exec_ext in '' $ac_executable_extensions; do 4746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4747 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext" 4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4749 break 2 4750 fi 4751done 4752 done 4753IFS=$as_save_IFS 4754 4755 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="find" 4756 ;; 4757esac 4758fi 4759FIND=$ac_cv_path_FIND 4760if test -n "$FIND"; then 4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5 4762$as_echo "$FIND" >&6; } 4763else 4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4765$as_echo "no" >&6; } 4766fi 4767 4768 4769# Extract the first word of "gdb", so it can be a program name with args. 4770set dummy gdb; ac_word=$2 4771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4772$as_echo_n "checking for $ac_word... " >&6; } 4773if ${ac_cv_path_GDB+:} false; then : 4774 $as_echo_n "(cached) " >&6 4775else 4776 case $GDB in 4777 [\\/]* | ?:[\\/]*) 4778 ac_cv_path_GDB="$GDB" # Let the user override the test with a path. 4779 ;; 4780 *) 4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4782for as_dir in $PATH 4783do 4784 IFS=$as_save_IFS 4785 test -z "$as_dir" && as_dir=. 4786 for ac_exec_ext in '' $ac_executable_extensions; do 4787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4788 ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext" 4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4790 break 2 4791 fi 4792done 4793 done 4794IFS=$as_save_IFS 4795 4796 ;; 4797esac 4798fi 4799GDB=$ac_cv_path_GDB 4800if test -n "$GDB"; then 4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDB" >&5 4802$as_echo "$GDB" >&6; } 4803else 4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4805$as_echo "no" >&6; } 4806fi 4807 4808 4809 4810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 4811$as_echo_n "checking for inline... " >&6; } 4812if ${ac_cv_c_inline+:} false; then : 4813 $as_echo_n "(cached) " >&6 4814else 4815 ac_cv_c_inline=no 4816for ac_kw in inline __inline__ __inline; do 4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4818/* end confdefs.h. */ 4819#ifndef __cplusplus 4820typedef int foo_t; 4821static $ac_kw foo_t static_foo () {return 0; } 4822$ac_kw foo_t foo () {return 0; } 4823#endif 4824 4825_ACEOF 4826if ac_fn_c_try_compile "$LINENO"; then : 4827 ac_cv_c_inline=$ac_kw 4828fi 4829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4830 test "$ac_cv_c_inline" != no && break 4831done 4832 4833fi 4834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 4835$as_echo "$ac_cv_c_inline" >&6; } 4836 4837case $ac_cv_c_inline in 4838 inline | yes) ;; 4839 *) 4840 case $ac_cv_c_inline in 4841 no) ac_val=;; 4842 *) ac_val=$ac_cv_c_inline;; 4843 esac 4844 cat >>confdefs.h <<_ACEOF 4845#ifndef __cplusplus 4846#define inline $ac_val 4847#endif 4848_ACEOF 4849 ;; 4850esac 4851 4852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4853$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4854if ${ac_cv_c_const+:} false; then : 4855 $as_echo_n "(cached) " >&6 4856else 4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4858/* end confdefs.h. */ 4859 4860int 4861main () 4862{ 4863 4864#ifndef __cplusplus 4865 /* Ultrix mips cc rejects this sort of thing. */ 4866 typedef int charset[2]; 4867 const charset cs = { 0, 0 }; 4868 /* SunOS 4.1.1 cc rejects this. */ 4869 char const *const *pcpcc; 4870 char **ppc; 4871 /* NEC SVR4.0.2 mips cc rejects this. */ 4872 struct point {int x, y;}; 4873 static struct point const zero = {0,0}; 4874 /* AIX XL C 1.02.0.0 rejects this. 4875 It does not let you subtract one const X* pointer from another in 4876 an arm of an if-expression whose if-part is not a constant 4877 expression */ 4878 const char *g = "string"; 4879 pcpcc = &g + (g ? g-g : 0); 4880 /* HPUX 7.0 cc rejects these. */ 4881 ++pcpcc; 4882 ppc = (char**) pcpcc; 4883 pcpcc = (char const *const *) ppc; 4884 { /* SCO 3.2v4 cc rejects this sort of thing. */ 4885 char tx; 4886 char *t = &tx; 4887 char const *s = 0 ? (char *) 0 : (char const *) 0; 4888 4889 *t++ = 0; 4890 if (s) return 0; 4891 } 4892 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4893 int x[] = {25, 17}; 4894 const int *foo = &x[0]; 4895 ++foo; 4896 } 4897 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4898 typedef const int *iptr; 4899 iptr p = 0; 4900 ++p; 4901 } 4902 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 4903 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4904 struct s { int j; const int *ap[3]; } bx; 4905 struct s *b = &bx; b->j = 5; 4906 } 4907 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4908 const int foo = 10; 4909 if (!foo) return 0; 4910 } 4911 return !cs[0] && !zero.x; 4912#endif 4913 4914 ; 4915 return 0; 4916} 4917_ACEOF 4918if ac_fn_c_try_compile "$LINENO"; then : 4919 ac_cv_c_const=yes 4920else 4921 ac_cv_c_const=no 4922fi 4923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4924fi 4925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4926$as_echo "$ac_cv_c_const" >&6; } 4927if test $ac_cv_c_const = no; then 4928 4929$as_echo "@%:@define const /**/" >>confdefs.h 4930 4931fi 4932 4933 4934 4935# nana checking code 4936 4937 4938# default code to call when a I(..) failure occurs 4939# 4940# The I_DEFAULT variable is used to select between 4941# fast which does a core dump ASAP versus verbose 4942# which prints a nice message before core dumping. 4943 4944 4945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking I_DEFAULT_HANDLER" >&5 4946$as_echo_n "checking I_DEFAULT_HANDLER... " >&6; } 4947if test -z "$I_DEFAULT_HANDLER" 4948then # use code to work out the value 4949 4950 case "$I_DEFAULT" in 4951 fast) 4952 case "$target" in 4953 i?86-*-*) 4954 I_DEFAULT_HANDLER='asm("hlt")' 4955 ;; 4956 sparc-*-*) 4957 # note the sparc handler used to be asm("stp") 4958 I_DEFAULT_HANDLER='asm("unimp")' 4959 ;; 4960 *) 4961 I_DEFAULT_HANDLER='abort()' 4962 ;; 4963 esac 4964 ;; 4965 verbose) 4966 ;; 4967 *) 4968 ;; 4969 esac 4970 4971 4972# else its been defined by the user 4973fi 4974 4975if test -z "$I_DEFAULT_HANDLER" 4976then 4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"default\"" >&5 4978$as_echo "\"default\"" >&6; } 4979else 4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $I_DEFAULT_HANDLER" >&5 4981$as_echo "$I_DEFAULT_HANDLER" >&6; } 4982 I_DEFAULT_HANDLER="#define I_DEFAULT_HANDLER(exprn,file,line,param) $I_DEFAULT_HANDLER" 4983fi 4984 4985 4986 4987# code to emit to ensure a breakpoint can be set at this location 4988# 4989# e.g. if(f>1) { f--; I(f>=0);} I(f>-1); 4990# needs to have a nop inserted so the first I(..) can be checked. 4991# 4992 4993 4994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking DI_MAKE_VALID_BREAKPOINT" >&5 4995$as_echo_n "checking DI_MAKE_VALID_BREAKPOINT... " >&6; } 4996if test -z "$DI_MAKE_VALID_BREAKPOINT" 4997then # use code to work out the value 4998 4999 case "$target" in 5000 sparc-*-*|i?86-*-*) 5001 DI_MAKE_VALID_BREAKPOINT='asm("nop")' 5002 ;; 5003 esac 5004 5005# else its been defined by the user 5006fi 5007 5008if test -z "$DI_MAKE_VALID_BREAKPOINT" 5009then 5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"default\"" >&5 5011$as_echo "\"default\"" >&6; } 5012else 5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DI_MAKE_VALID_BREAKPOINT" >&5 5014$as_echo "$DI_MAKE_VALID_BREAKPOINT" >&6; } 5015 DI_MAKE_VALID_BREAKPOINT="#define DI_MAKE_VALID_BREAKPOINT(exprn) $DI_MAKE_VALID_BREAKPOINT" 5016fi 5017 5018 5019 5020# code to emit to ensure a DL breakpoint can be set at this location 5021 5022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking DL_MAKE_VALID_BREAKPOINT" >&5 5023$as_echo_n "checking DL_MAKE_VALID_BREAKPOINT... " >&6; } 5024if test -z "$DL_MAKE_VALID_BREAKPOINT" 5025then # use code to work out the value 5026 5027 case "$target" in 5028 sparc-*-*|i?86-*-*) 5029 DL_MAKE_VALID_BREAKPOINT='asm("nop")' 5030 ;; 5031 esac 5032 5033# else its been defined by the user 5034fi 5035 5036if test -z "$DL_MAKE_VALID_BREAKPOINT" 5037then 5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"default\"" >&5 5039$as_echo "\"default\"" >&6; } 5040else 5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DL_MAKE_VALID_BREAKPOINT" >&5 5042$as_echo "$DL_MAKE_VALID_BREAKPOINT" >&6; } 5043 DL_MAKE_VALID_BREAKPOINT="#define DL_MAKE_VALID_BREAKPOINT() $DL_MAKE_VALID_BREAKPOINT" 5044fi 5045 5046 5047 5048# on some systems we need to generate a dummy reference to malloc 5049# since it isn't normally linked in and is required by gdb 5050 5051 5052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ALWAYS_INCLUDE_MALLOC" >&5 5053$as_echo_n "checking ALWAYS_INCLUDE_MALLOC... " >&6; } 5054if test -z "$ALWAYS_INCLUDE_MALLOC" 5055then # use code to work out the value 5056 5057 case "$target" in 5058 *-*-*BSD*) 5059 ALWAYS_INCLUDE_MALLOC='0' 5060 ;; 5061 i?86-*-linux*) 5062 ALWAYS_INCLUDE_MALLOC='1' 5063 ;; 5064 *) 5065 ALWAYS_INCLUDE_MALLOC='0' 5066 ;; 5067 esac 5068 5069# else its been defined by the user 5070fi 5071 5072if test -z "$ALWAYS_INCLUDE_MALLOC" 5073then 5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"default\"" >&5 5075$as_echo "\"default\"" >&6; } 5076else 5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALWAYS_INCLUDE_MALLOC" >&5 5078$as_echo "$ALWAYS_INCLUDE_MALLOC" >&6; } 5079 ALWAYS_INCLUDE_MALLOC="#define ALWAYS_INCLUDE_MALLOC/* no arguments */ $ALWAYS_INCLUDE_MALLOC" 5080fi 5081 5082 5083 5084 5085# support for cycle level counting for various machines 5086# 5087# Note: autodiscovery is a bit dubious for these things since they 5088# are machine version specific (ie not all i386s have them) 5089# 5090 5091@%:@ Check whether --enable-rdtsc was given. 5092if test "${enable_rdtsc+set}" = set; then : 5093 enableval=$enable_rdtsc; HAVE_RDTSC=1 5094else 5095 HAVE_RDTSC=0 5096fi 5097 5098 5099 5100 5101for ac_func in vsprintf vsnprintf gettimeofday 5102do : 5103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5104ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5105if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5106 cat >>confdefs.h <<_ACEOF 5107@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5108_ACEOF 5109 5110fi 5111done 5112 5113 5114ac_config_files="$ac_config_files Makefile doc/Makefile examples/Makefile man/Makefile src/Makefile test/Makefile gdb/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 test/gammon" 5115 5116 5117ac_config_commands="$ac_config_commands default" 5118 5119 5120cat >confcache <<\_ACEOF 5121# This file is a shell script that caches the results of configure 5122# tests run on this system so they can be shared between configure 5123# scripts and configure runs, see configure's option --config-cache. 5124# It is not useful on other systems. If it contains results you don't 5125# want to keep, you may remove or edit it. 5126# 5127# config.status only pays attention to the cache file if you give it 5128# the --recheck option to rerun configure. 5129# 5130# `ac_cv_env_foo' variables (set or unset) will be overridden when 5131# loading this file, other *unset* `ac_cv_foo' will be assigned the 5132# following values. 5133 5134_ACEOF 5135 5136# The following way of writing the cache mishandles newlines in values, 5137# but we know of no workaround that is simple, portable, and efficient. 5138# So, we kill variables containing newlines. 5139# Ultrix sh set writes to stderr and can't be redirected directly, 5140# and sets the high bit in the cache file unless we assign to the vars. 5141( 5142 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5143 eval ac_val=\$$ac_var 5144 case $ac_val in #( 5145 *${as_nl}*) 5146 case $ac_var in #( 5147 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 5148$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5149 esac 5150 case $ac_var in #( 5151 _ | IFS | as_nl) ;; #( 5152 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5153 *) { eval $ac_var=; unset $ac_var;} ;; 5154 esac ;; 5155 esac 5156 done 5157 5158 (set) 2>&1 | 5159 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5160 *${as_nl}ac_space=\ *) 5161 # `set' does not quote correctly, so add quotes: double-quote 5162 # substitution turns \\\\ into \\, and sed turns \\ into \. 5163 sed -n \ 5164 "s/'/'\\\\''/g; 5165 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5166 ;; #( 5167 *) 5168 # `set' quotes correctly as required by POSIX, so do not add quotes. 5169 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5170 ;; 5171 esac | 5172 sort 5173) | 5174 sed ' 5175 /^ac_cv_env_/b end 5176 t clear 5177 :clear 5178 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5179 t end 5180 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5181 :end' >>confcache 5182if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5183 if test -w "$cache_file"; then 5184 if test "x$cache_file" != "x/dev/null"; then 5185 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 5186$as_echo "$as_me: updating cache $cache_file" >&6;} 5187 if test ! -f "$cache_file" || test -h "$cache_file"; then 5188 cat confcache >"$cache_file" 5189 else 5190 case $cache_file in #( 5191 */* | ?:*) 5192 mv -f confcache "$cache_file"$$ && 5193 mv -f "$cache_file"$$ "$cache_file" ;; #( 5194 *) 5195 mv -f confcache "$cache_file" ;; 5196 esac 5197 fi 5198 fi 5199 else 5200 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 5201$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5202 fi 5203fi 5204rm -f confcache 5205 5206test "x$prefix" = xNONE && prefix=$ac_default_prefix 5207# Let make expand exec_prefix. 5208test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5209 5210# Transform confdefs.h into DEFS. 5211# Protect against shell expansion while executing Makefile rules. 5212# Protect against Makefile macro expansion. 5213# 5214# If the first sed substitution is executed (which looks for macros that 5215# take arguments), then branch to the quote section. Otherwise, 5216# look for a macro that doesn't take arguments. 5217ac_script=' 5218:mline 5219/\\$/{ 5220 N 5221 s,\\\n,, 5222 b mline 5223} 5224t clear 5225:clear 5226s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 5227t quote 5228s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 5229t quote 5230b any 5231:quote 5232s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 5233s/\[/\\&/g 5234s/\]/\\&/g 5235s/\$/$$/g 5236H 5237:any 5238${ 5239 g 5240 s/^\n// 5241 s/\n/ /g 5242 p 5243} 5244' 5245DEFS=`sed -n "$ac_script" confdefs.h` 5246 5247 5248ac_libobjs= 5249ac_ltlibobjs= 5250U= 5251for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 5252 # 1. Remove the extension, and $U if already installed. 5253 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5254 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5255 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5256 # will be set to the directory where LIBOBJS objects are built. 5257 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5258 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5259done 5260LIB@&t@OBJS=$ac_libobjs 5261 5262LTLIBOBJS=$ac_ltlibobjs 5263 5264 5265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 5266$as_echo_n "checking that generated files are newer than configure... " >&6; } 5267 if test -n "$am_sleep_pid"; then 5268 # Hide warnings about reused PIDs. 5269 wait $am_sleep_pid 2>/dev/null 5270 fi 5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 5272$as_echo "done" >&6; } 5273 if test -n "$EXEEXT"; then 5274 am__EXEEXT_TRUE= 5275 am__EXEEXT_FALSE='#' 5276else 5277 am__EXEEXT_TRUE='#' 5278 am__EXEEXT_FALSE= 5279fi 5280 5281if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5282 as_fn_error $? "conditional \"AMDEP\" was never defined. 5283Usually this means the macro was only invoked conditionally." "$LINENO" 5 5284fi 5285if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5286 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5287Usually this means the macro was only invoked conditionally." "$LINENO" 5 5288fi 5289if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 5290 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 5291Usually this means the macro was only invoked conditionally." "$LINENO" 5 5292fi 5293 5294: "${CONFIG_STATUS=./config.status}" 5295ac_write_fail=0 5296ac_clean_files_save=$ac_clean_files 5297ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5298{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5299$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5300as_write_fail=0 5301cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5302#! $SHELL 5303# Generated by $as_me. 5304# Run this file to recreate the current configuration. 5305# Compiler output produced by configure, useful for debugging 5306# configure, is in config.log if it exists. 5307 5308debug=false 5309ac_cs_recheck=false 5310ac_cs_silent=false 5311 5312SHELL=\${CONFIG_SHELL-$SHELL} 5313export SHELL 5314_ASEOF 5315cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5316## -------------------- ## 5317## M4sh Initialization. ## 5318## -------------------- ## 5319 5320# Be more Bourne compatible 5321DUALCASE=1; export DUALCASE # for MKS sh 5322if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5323 emulate sh 5324 NULLCMD=: 5325 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5326 # is contrary to our usage. Disable this feature. 5327 alias -g '${1+"$@"}'='"$@"' 5328 setopt NO_GLOB_SUBST 5329else 5330 case `(set -o) 2>/dev/null` in @%:@( 5331 *posix*) : 5332 set -o posix ;; @%:@( 5333 *) : 5334 ;; 5335esac 5336fi 5337 5338 5339as_nl=' 5340' 5341export as_nl 5342# Printing a long string crashes Solaris 7 /usr/bin/printf. 5343as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5344as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5345as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5346# Prefer a ksh shell builtin over an external printf program on Solaris, 5347# but without wasting forks for bash or zsh. 5348if test -z "$BASH_VERSION$ZSH_VERSION" \ 5349 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5350 as_echo='print -r --' 5351 as_echo_n='print -rn --' 5352elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5353 as_echo='printf %s\n' 5354 as_echo_n='printf %s' 5355else 5356 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5357 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5358 as_echo_n='/usr/ucb/echo -n' 5359 else 5360 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5361 as_echo_n_body='eval 5362 arg=$1; 5363 case $arg in @%:@( 5364 *"$as_nl"*) 5365 expr "X$arg" : "X\\(.*\\)$as_nl"; 5366 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5367 esac; 5368 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5369 ' 5370 export as_echo_n_body 5371 as_echo_n='sh -c $as_echo_n_body as_echo' 5372 fi 5373 export as_echo_body 5374 as_echo='sh -c $as_echo_body as_echo' 5375fi 5376 5377# The user is always right. 5378if test "${PATH_SEPARATOR+set}" != set; then 5379 PATH_SEPARATOR=: 5380 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5381 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5382 PATH_SEPARATOR=';' 5383 } 5384fi 5385 5386 5387# IFS 5388# We need space, tab and new line, in precisely that order. Quoting is 5389# there to prevent editors from complaining about space-tab. 5390# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5391# splitting by setting IFS to empty value.) 5392IFS=" "" $as_nl" 5393 5394# Find who we are. Look in the path if we contain no directory separator. 5395as_myself= 5396case $0 in @%:@(( 5397 *[\\/]* ) as_myself=$0 ;; 5398 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5399for as_dir in $PATH 5400do 5401 IFS=$as_save_IFS 5402 test -z "$as_dir" && as_dir=. 5403 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5404 done 5405IFS=$as_save_IFS 5406 5407 ;; 5408esac 5409# We did not find ourselves, most probably we were run as `sh COMMAND' 5410# in which case we are not to be found in the path. 5411if test "x$as_myself" = x; then 5412 as_myself=$0 5413fi 5414if test ! -f "$as_myself"; then 5415 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5416 exit 1 5417fi 5418 5419# Unset variables that we do not need and which cause bugs (e.g. in 5420# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5421# suppresses any "Segmentation fault" message there. '((' could 5422# trigger a bug in pdksh 5.2.14. 5423for as_var in BASH_ENV ENV MAIL MAILPATH 5424do eval test x\${$as_var+set} = xset \ 5425 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5426done 5427PS1='$ ' 5428PS2='> ' 5429PS4='+ ' 5430 5431# NLS nuisances. 5432LC_ALL=C 5433export LC_ALL 5434LANGUAGE=C 5435export LANGUAGE 5436 5437# CDPATH. 5438(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5439 5440 5441@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 5442@%:@ ---------------------------------------- 5443@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5444@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5445@%:@ script with STATUS, using 1 if that was 0. 5446as_fn_error () 5447{ 5448 as_status=$1; test $as_status -eq 0 && as_status=1 5449 if test "$4"; then 5450 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5451 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5452 fi 5453 $as_echo "$as_me: error: $2" >&2 5454 as_fn_exit $as_status 5455} @%:@ as_fn_error 5456 5457 5458@%:@ as_fn_set_status STATUS 5459@%:@ ----------------------- 5460@%:@ Set @S|@? to STATUS, without forking. 5461as_fn_set_status () 5462{ 5463 return $1 5464} @%:@ as_fn_set_status 5465 5466@%:@ as_fn_exit STATUS 5467@%:@ ----------------- 5468@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5469as_fn_exit () 5470{ 5471 set +e 5472 as_fn_set_status $1 5473 exit $1 5474} @%:@ as_fn_exit 5475 5476@%:@ as_fn_unset VAR 5477@%:@ --------------- 5478@%:@ Portably unset VAR. 5479as_fn_unset () 5480{ 5481 { eval $1=; unset $1;} 5482} 5483as_unset=as_fn_unset 5484@%:@ as_fn_append VAR VALUE 5485@%:@ ---------------------- 5486@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 5487@%:@ advantage of any shell optimizations that allow amortized linear growth over 5488@%:@ repeated appends, instead of the typical quadratic growth present in naive 5489@%:@ implementations. 5490if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5491 eval 'as_fn_append () 5492 { 5493 eval $1+=\$2 5494 }' 5495else 5496 as_fn_append () 5497 { 5498 eval $1=\$$1\$2 5499 } 5500fi # as_fn_append 5501 5502@%:@ as_fn_arith ARG... 5503@%:@ ------------------ 5504@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 5505@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 5506@%:@ must be portable across @S|@(()) and expr. 5507if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5508 eval 'as_fn_arith () 5509 { 5510 as_val=$(( $* )) 5511 }' 5512else 5513 as_fn_arith () 5514 { 5515 as_val=`expr "$@" || test $? -eq 1` 5516 } 5517fi # as_fn_arith 5518 5519 5520if expr a : '\(a\)' >/dev/null 2>&1 && 5521 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5522 as_expr=expr 5523else 5524 as_expr=false 5525fi 5526 5527if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5528 as_basename=basename 5529else 5530 as_basename=false 5531fi 5532 5533if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5534 as_dirname=dirname 5535else 5536 as_dirname=false 5537fi 5538 5539as_me=`$as_basename -- "$0" || 5540$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5541 X"$0" : 'X\(//\)$' \| \ 5542 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5543$as_echo X/"$0" | 5544 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5545 s//\1/ 5546 q 5547 } 5548 /^X\/\(\/\/\)$/{ 5549 s//\1/ 5550 q 5551 } 5552 /^X\/\(\/\).*/{ 5553 s//\1/ 5554 q 5555 } 5556 s/.*/./; q'` 5557 5558# Avoid depending upon Character Ranges. 5559as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5560as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5561as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5562as_cr_digits='0123456789' 5563as_cr_alnum=$as_cr_Letters$as_cr_digits 5564 5565ECHO_C= ECHO_N= ECHO_T= 5566case `echo -n x` in @%:@((((( 5567-n*) 5568 case `echo 'xy\c'` in 5569 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5570 xy) ECHO_C='\c';; 5571 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5572 ECHO_T=' ';; 5573 esac;; 5574*) 5575 ECHO_N='-n';; 5576esac 5577 5578rm -f conf$$ conf$$.exe conf$$.file 5579if test -d conf$$.dir; then 5580 rm -f conf$$.dir/conf$$.file 5581else 5582 rm -f conf$$.dir 5583 mkdir conf$$.dir 2>/dev/null 5584fi 5585if (echo >conf$$.file) 2>/dev/null; then 5586 if ln -s conf$$.file conf$$ 2>/dev/null; then 5587 as_ln_s='ln -s' 5588 # ... but there are two gotchas: 5589 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5590 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5591 # In both cases, we have to default to `cp -pR'. 5592 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5593 as_ln_s='cp -pR' 5594 elif ln conf$$.file conf$$ 2>/dev/null; then 5595 as_ln_s=ln 5596 else 5597 as_ln_s='cp -pR' 5598 fi 5599else 5600 as_ln_s='cp -pR' 5601fi 5602rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5603rmdir conf$$.dir 2>/dev/null 5604 5605 5606@%:@ as_fn_mkdir_p 5607@%:@ ------------- 5608@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 5609as_fn_mkdir_p () 5610{ 5611 5612 case $as_dir in #( 5613 -*) as_dir=./$as_dir;; 5614 esac 5615 test -d "$as_dir" || eval $as_mkdir_p || { 5616 as_dirs= 5617 while :; do 5618 case $as_dir in #( 5619 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5620 *) as_qdir=$as_dir;; 5621 esac 5622 as_dirs="'$as_qdir' $as_dirs" 5623 as_dir=`$as_dirname -- "$as_dir" || 5624$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5625 X"$as_dir" : 'X\(//\)[^/]' \| \ 5626 X"$as_dir" : 'X\(//\)$' \| \ 5627 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5628$as_echo X"$as_dir" | 5629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5630 s//\1/ 5631 q 5632 } 5633 /^X\(\/\/\)[^/].*/{ 5634 s//\1/ 5635 q 5636 } 5637 /^X\(\/\/\)$/{ 5638 s//\1/ 5639 q 5640 } 5641 /^X\(\/\).*/{ 5642 s//\1/ 5643 q 5644 } 5645 s/.*/./; q'` 5646 test -d "$as_dir" && break 5647 done 5648 test -z "$as_dirs" || eval "mkdir $as_dirs" 5649 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5650 5651 5652} @%:@ as_fn_mkdir_p 5653if mkdir -p . 2>/dev/null; then 5654 as_mkdir_p='mkdir -p "$as_dir"' 5655else 5656 test -d ./-p && rmdir ./-p 5657 as_mkdir_p=false 5658fi 5659 5660 5661@%:@ as_fn_executable_p FILE 5662@%:@ ----------------------- 5663@%:@ Test if FILE is an executable regular file. 5664as_fn_executable_p () 5665{ 5666 test -f "$1" && test -x "$1" 5667} @%:@ as_fn_executable_p 5668as_test_x='test -x' 5669as_executable_p=as_fn_executable_p 5670 5671# Sed expression to map a string onto a valid CPP name. 5672as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5673 5674# Sed expression to map a string onto a valid variable name. 5675as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5676 5677 5678exec 6>&1 5679## ----------------------------------- ## 5680## Main body of $CONFIG_STATUS script. ## 5681## ----------------------------------- ## 5682_ASEOF 5683test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5684 5685cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5686# Save the log message, to keep $0 and so on meaningful, and to 5687# report actual input values of CONFIG_FILES etc. instead of their 5688# values after options handling. 5689ac_log=" 5690This file was extended by nana $as_me 3.0, which was 5691generated by GNU Autoconf 2.69. Invocation command line was 5692 5693 CONFIG_FILES = $CONFIG_FILES 5694 CONFIG_HEADERS = $CONFIG_HEADERS 5695 CONFIG_LINKS = $CONFIG_LINKS 5696 CONFIG_COMMANDS = $CONFIG_COMMANDS 5697 $ $0 $@ 5698 5699on `(hostname || uname -n) 2>/dev/null | sed 1q` 5700" 5701 5702_ACEOF 5703 5704case $ac_config_files in *" 5705"*) set x $ac_config_files; shift; ac_config_files=$*;; 5706esac 5707 5708 5709 5710cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5711# Files that config.status was made for. 5712config_files="$ac_config_files" 5713config_commands="$ac_config_commands" 5714 5715_ACEOF 5716 5717cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5718ac_cs_usage="\ 5719\`$as_me' instantiates files and other configuration actions 5720from templates according to the current configuration. Unless the files 5721and actions are specified as TAGs, all are instantiated by default. 5722 5723Usage: $0 [OPTION]... [TAG]... 5724 5725 -h, --help print this help, then exit 5726 -V, --version print version number and configuration settings, then exit 5727 --config print configuration, then exit 5728 -q, --quiet, --silent 5729 do not print progress messages 5730 -d, --debug don't remove temporary files 5731 --recheck update $as_me by reconfiguring in the same conditions 5732 --file=FILE[:TEMPLATE] 5733 instantiate the configuration file FILE 5734 5735Configuration files: 5736$config_files 5737 5738Configuration commands: 5739$config_commands 5740 5741Report bugs to the package provider." 5742 5743_ACEOF 5744cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5745ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5746ac_cs_version="\\ 5747nana config.status 3.0 5748configured by $0, generated by GNU Autoconf 2.69, 5749 with options \\"\$ac_cs_config\\" 5750 5751Copyright (C) 2012 Free Software Foundation, Inc. 5752This config.status script is free software; the Free Software Foundation 5753gives unlimited permission to copy, distribute and modify it." 5754 5755ac_pwd='$ac_pwd' 5756srcdir='$srcdir' 5757INSTALL='$INSTALL' 5758MKDIR_P='$MKDIR_P' 5759AWK='$AWK' 5760test -n "\$AWK" || AWK=awk 5761_ACEOF 5762 5763cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5764# The default lists apply if the user does not specify any file. 5765ac_need_defaults=: 5766while test $# != 0 5767do 5768 case $1 in 5769 --*=?*) 5770 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5771 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5772 ac_shift=: 5773 ;; 5774 --*=) 5775 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5776 ac_optarg= 5777 ac_shift=: 5778 ;; 5779 *) 5780 ac_option=$1 5781 ac_optarg=$2 5782 ac_shift=shift 5783 ;; 5784 esac 5785 5786 case $ac_option in 5787 # Handling of the options. 5788 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5789 ac_cs_recheck=: ;; 5790 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5791 $as_echo "$ac_cs_version"; exit ;; 5792 --config | --confi | --conf | --con | --co | --c ) 5793 $as_echo "$ac_cs_config"; exit ;; 5794 --debug | --debu | --deb | --de | --d | -d ) 5795 debug=: ;; 5796 --file | --fil | --fi | --f ) 5797 $ac_shift 5798 case $ac_optarg in 5799 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5800 '') as_fn_error $? "missing file argument" ;; 5801 esac 5802 as_fn_append CONFIG_FILES " '$ac_optarg'" 5803 ac_need_defaults=false;; 5804 --he | --h | --help | --hel | -h ) 5805 $as_echo "$ac_cs_usage"; exit ;; 5806 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5807 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5808 ac_cs_silent=: ;; 5809 5810 # This is an error. 5811 -*) as_fn_error $? "unrecognized option: \`$1' 5812Try \`$0 --help' for more information." ;; 5813 5814 *) as_fn_append ac_config_targets " $1" 5815 ac_need_defaults=false ;; 5816 5817 esac 5818 shift 5819done 5820 5821ac_configure_extra_args= 5822 5823if $ac_cs_silent; then 5824 exec 6>/dev/null 5825 ac_configure_extra_args="$ac_configure_extra_args --silent" 5826fi 5827 5828_ACEOF 5829cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5830if \$ac_cs_recheck; then 5831 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5832 shift 5833 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5834 CONFIG_SHELL='$SHELL' 5835 export CONFIG_SHELL 5836 exec "\$@" 5837fi 5838 5839_ACEOF 5840cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5841exec 5>>config.log 5842{ 5843 echo 5844 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 5845@%:@@%:@ Running $as_me. @%:@@%:@ 5846_ASBOX 5847 $as_echo "$ac_log" 5848} >&5 5849 5850_ACEOF 5851cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5852# 5853# INIT-COMMANDS 5854# 5855AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5856 5857_ACEOF 5858 5859cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5860 5861# Handling of arguments. 5862for ac_config_target in $ac_config_targets 5863do 5864 case $ac_config_target in 5865 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5866 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5867 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 5868 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 5869 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 5870 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 5871 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 5872 "gdb/Makefile") CONFIG_FILES="$CONFIG_FILES gdb/Makefile" ;; 5873 "emacs/Makefile") CONFIG_FILES="$CONFIG_FILES emacs/Makefile" ;; 5874 "perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;; 5875 "src/nana-config.h") CONFIG_FILES="$CONFIG_FILES src/nana-config.h" ;; 5876 "src/nana") CONFIG_FILES="$CONFIG_FILES src/nana" ;; 5877 "src/nana-run") CONFIG_FILES="$CONFIG_FILES src/nana-run" ;; 5878 "src/nana-clg") CONFIG_FILES="$CONFIG_FILES src/nana-clg" ;; 5879 "gdb/nana-trace") CONFIG_FILES="$CONFIG_FILES gdb/nana-trace" ;; 5880 "gdb/nana-libtrace") CONFIG_FILES="$CONFIG_FILES gdb/nana-libtrace" ;; 5881 "src/nana-c++lg") CONFIG_FILES="$CONFIG_FILES src/nana-c++lg" ;; 5882 "shortform/Makefile") CONFIG_FILES="$CONFIG_FILES shortform/Makefile" ;; 5883 "shortform/nana-sfg") CONFIG_FILES="$CONFIG_FILES shortform/nana-sfg" ;; 5884 "shortform/nana-sfdir") CONFIG_FILES="$CONFIG_FILES shortform/nana-sfdir" ;; 5885 "test/gammon") CONFIG_FILES="$CONFIG_FILES test/gammon" ;; 5886 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 5887 5888 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5889 esac 5890done 5891 5892 5893# If the user did not use the arguments to specify the items to instantiate, 5894# then the envvar interface is used. Set only those that are not. 5895# We use the long form for the default assignment because of an extremely 5896# bizarre bug on SunOS 4.1.3. 5897if $ac_need_defaults; then 5898 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5899 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5900fi 5901 5902# Have a temporary directory for convenience. Make it in the build tree 5903# simply because there is no reason against having it here, and in addition, 5904# creating and moving files from /tmp can sometimes cause problems. 5905# Hook for its removal unless debugging. 5906# Note that there is a small window in which the directory will not be cleaned: 5907# after its creation but before its name has been assigned to `$tmp'. 5908$debug || 5909{ 5910 tmp= ac_tmp= 5911 trap 'exit_status=$? 5912 : "${ac_tmp:=$tmp}" 5913 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5914' 0 5915 trap 'as_fn_exit 1' 1 2 13 15 5916} 5917# Create a (secure) tmp directory for tmp files. 5918 5919{ 5920 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5921 test -d "$tmp" 5922} || 5923{ 5924 tmp=./conf$$-$RANDOM 5925 (umask 077 && mkdir "$tmp") 5926} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5927ac_tmp=$tmp 5928 5929# Set up the scripts for CONFIG_FILES section. 5930# No need to generate them if there are no CONFIG_FILES. 5931# This happens for instance with `./config.status config.h'. 5932if test -n "$CONFIG_FILES"; then 5933 5934 5935ac_cr=`echo X | tr X '\015'` 5936# On cygwin, bash can eat \r inside `` if the user requested igncr. 5937# But we know of no other shell where ac_cr would be empty at this 5938# point, so we can use a bashism as a fallback. 5939if test "x$ac_cr" = x; then 5940 eval ac_cr=\$\'\\r\' 5941fi 5942ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5943if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5944 ac_cs_awk_cr='\\r' 5945else 5946 ac_cs_awk_cr=$ac_cr 5947fi 5948 5949echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5950_ACEOF 5951 5952 5953{ 5954 echo "cat >conf$$subs.awk <<_ACEOF" && 5955 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5956 echo "_ACEOF" 5957} >conf$$subs.sh || 5958 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5959ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5960ac_delim='%!_!# ' 5961for ac_last_try in false false false false false :; do 5962 . ./conf$$subs.sh || 5963 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5964 5965 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5966 if test $ac_delim_n = $ac_delim_num; then 5967 break 5968 elif $ac_last_try; then 5969 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5970 else 5971 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5972 fi 5973done 5974rm -f conf$$subs.sh 5975 5976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5977cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5978_ACEOF 5979sed -n ' 5980h 5981s/^/S["/; s/!.*/"]=/ 5982p 5983g 5984s/^[^!]*!// 5985:repl 5986t repl 5987s/'"$ac_delim"'$// 5988t delim 5989:nl 5990h 5991s/\(.\{148\}\)..*/\1/ 5992t more1 5993s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5994p 5995n 5996b repl 5997:more1 5998s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5999p 6000g 6001s/.\{148\}// 6002t nl 6003:delim 6004h 6005s/\(.\{148\}\)..*/\1/ 6006t more2 6007s/["\\]/\\&/g; s/^/"/; s/$/"/ 6008p 6009b 6010:more2 6011s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6012p 6013g 6014s/.\{148\}// 6015t delim 6016' <conf$$subs.awk | sed ' 6017/^[^""]/{ 6018 N 6019 s/\n// 6020} 6021' >>$CONFIG_STATUS || ac_write_fail=1 6022rm -f conf$$subs.awk 6023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6024_ACAWK 6025cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 6026 for (key in S) S_is_set[key] = 1 6027 FS = "" 6028 6029} 6030{ 6031 line = $ 0 6032 nfields = split(line, field, "@") 6033 substed = 0 6034 len = length(field[1]) 6035 for (i = 2; i < nfields; i++) { 6036 key = field[i] 6037 keylen = length(key) 6038 if (S_is_set[key]) { 6039 value = S[key] 6040 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6041 len += length(value) + length(field[++i]) 6042 substed = 1 6043 } else 6044 len += 1 + keylen 6045 } 6046 6047 print line 6048} 6049 6050_ACAWK 6051_ACEOF 6052cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6053if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6054 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6055else 6056 cat 6057fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 6058 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 6059_ACEOF 6060 6061# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 6062# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 6063# trailing colons and then remove the whole line if VPATH becomes empty 6064# (actually we leave an empty line to preserve line numbers). 6065if test "x$srcdir" = x.; then 6066 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 6067h 6068s/// 6069s/^/:/ 6070s/[ ]*$/:/ 6071s/:\$(srcdir):/:/g 6072s/:\${srcdir}:/:/g 6073s/:@srcdir@:/:/g 6074s/^:*// 6075s/:*$// 6076x 6077s/\(=[ ]*\).*/\1/ 6078G 6079s/\n// 6080s/^[^=]*=[ ]*$// 6081}' 6082fi 6083 6084cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6085fi # test -n "$CONFIG_FILES" 6086 6087 6088eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 6089shift 6090for ac_tag 6091do 6092 case $ac_tag in 6093 :[FHLC]) ac_mode=$ac_tag; continue;; 6094 esac 6095 case $ac_mode$ac_tag in 6096 :[FHL]*:*);; 6097 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 6098 :[FH]-) ac_tag=-:-;; 6099 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6100 esac 6101 ac_save_IFS=$IFS 6102 IFS=: 6103 set x $ac_tag 6104 IFS=$ac_save_IFS 6105 shift 6106 ac_file=$1 6107 shift 6108 6109 case $ac_mode in 6110 :L) ac_source=$1;; 6111 :[FH]) 6112 ac_file_inputs= 6113 for ac_f 6114 do 6115 case $ac_f in 6116 -) ac_f="$ac_tmp/stdin";; 6117 *) # Look for the file first in the build tree, then in the source tree 6118 # (if the path is not absolute). The absolute path cannot be DOS-style, 6119 # because $ac_f cannot contain `:'. 6120 test -f "$ac_f" || 6121 case $ac_f in 6122 [\\/$]*) false;; 6123 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6124 esac || 6125 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6126 esac 6127 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6128 as_fn_append ac_file_inputs " '$ac_f'" 6129 done 6130 6131 # Let's still pretend it is `configure' which instantiates (i.e., don't 6132 # use $as_me), people would be surprised to read: 6133 # /* config.h. Generated by config.status. */ 6134 configure_input='Generated from '` 6135 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6136 `' by configure.' 6137 if test x"$ac_file" != x-; then 6138 configure_input="$ac_file. $configure_input" 6139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 6140$as_echo "$as_me: creating $ac_file" >&6;} 6141 fi 6142 # Neutralize special characters interpreted by sed in replacement strings. 6143 case $configure_input in #( 6144 *\&* | *\|* | *\\* ) 6145 ac_sed_conf_input=`$as_echo "$configure_input" | 6146 sed 's/[\\\\&|]/\\\\&/g'`;; #( 6147 *) ac_sed_conf_input=$configure_input;; 6148 esac 6149 6150 case $ac_tag in 6151 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 6152 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 6153 esac 6154 ;; 6155 esac 6156 6157 ac_dir=`$as_dirname -- "$ac_file" || 6158$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6159 X"$ac_file" : 'X\(//\)[^/]' \| \ 6160 X"$ac_file" : 'X\(//\)$' \| \ 6161 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6162$as_echo X"$ac_file" | 6163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6164 s//\1/ 6165 q 6166 } 6167 /^X\(\/\/\)[^/].*/{ 6168 s//\1/ 6169 q 6170 } 6171 /^X\(\/\/\)$/{ 6172 s//\1/ 6173 q 6174 } 6175 /^X\(\/\).*/{ 6176 s//\1/ 6177 q 6178 } 6179 s/.*/./; q'` 6180 as_dir="$ac_dir"; as_fn_mkdir_p 6181 ac_builddir=. 6182 6183case "$ac_dir" in 6184.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6185*) 6186 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6187 # A ".." for each directory in $ac_dir_suffix. 6188 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6189 case $ac_top_builddir_sub in 6190 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6191 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6192 esac ;; 6193esac 6194ac_abs_top_builddir=$ac_pwd 6195ac_abs_builddir=$ac_pwd$ac_dir_suffix 6196# for backward compatibility: 6197ac_top_builddir=$ac_top_build_prefix 6198 6199case $srcdir in 6200 .) # We are building in place. 6201 ac_srcdir=. 6202 ac_top_srcdir=$ac_top_builddir_sub 6203 ac_abs_top_srcdir=$ac_pwd ;; 6204 [\\/]* | ?:[\\/]* ) # Absolute name. 6205 ac_srcdir=$srcdir$ac_dir_suffix; 6206 ac_top_srcdir=$srcdir 6207 ac_abs_top_srcdir=$srcdir ;; 6208 *) # Relative name. 6209 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6210 ac_top_srcdir=$ac_top_build_prefix$srcdir 6211 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6212esac 6213ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6214 6215 6216 case $ac_mode in 6217 :F) 6218 # 6219 # CONFIG_FILE 6220 # 6221 6222 case $INSTALL in 6223 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6224 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6225 esac 6226 ac_MKDIR_P=$MKDIR_P 6227 case $MKDIR_P in 6228 [\\/$]* | ?:[\\/]* ) ;; 6229 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6230 esac 6231_ACEOF 6232 6233cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6234# If the template does not know about datarootdir, expand it. 6235# FIXME: This hack should be removed a few years after 2.60. 6236ac_datarootdir_hack=; ac_datarootdir_seen= 6237ac_sed_dataroot=' 6238/datarootdir/ { 6239 p 6240 q 6241} 6242/@datadir@/p 6243/@docdir@/p 6244/@infodir@/p 6245/@localedir@/p 6246/@mandir@/p' 6247case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6248*datarootdir*) ac_datarootdir_seen=yes;; 6249*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6251$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6252_ACEOF 6253cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6254 ac_datarootdir_hack=' 6255 s&@datadir@&$datadir&g 6256 s&@docdir@&$docdir&g 6257 s&@infodir@&$infodir&g 6258 s&@localedir@&$localedir&g 6259 s&@mandir@&$mandir&g 6260 s&\\\${datarootdir}&$datarootdir&g' ;; 6261esac 6262_ACEOF 6263 6264# Neutralize VPATH when `$srcdir' = `.'. 6265# Shell code in configure.ac might set extrasub. 6266# FIXME: do we really want to maintain this feature? 6267cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6268ac_sed_extra="$ac_vpsub 6269$extrasub 6270_ACEOF 6271cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6272:t 6273/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6274s|@configure_input@|$ac_sed_conf_input|;t t 6275s&@top_builddir@&$ac_top_builddir_sub&;t t 6276s&@top_build_prefix@&$ac_top_build_prefix&;t t 6277s&@srcdir@&$ac_srcdir&;t t 6278s&@abs_srcdir@&$ac_abs_srcdir&;t t 6279s&@top_srcdir@&$ac_top_srcdir&;t t 6280s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6281s&@builddir@&$ac_builddir&;t t 6282s&@abs_builddir@&$ac_abs_builddir&;t t 6283s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6284s&@INSTALL@&$ac_INSTALL&;t t 6285s&@MKDIR_P@&$ac_MKDIR_P&;t t 6286$ac_datarootdir_hack 6287" 6288eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6289 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6290 6291test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6292 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6293 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6294 "$ac_tmp/out"`; test -z "$ac_out"; } && 6295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6296which seems to be undefined. Please make sure it is defined" >&5 6297$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6298which seems to be undefined. Please make sure it is defined" >&2;} 6299 6300 rm -f "$ac_tmp/stdin" 6301 case $ac_file in 6302 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6303 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6304 esac \ 6305 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6306 ;; 6307 6308 6309 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6310$as_echo "$as_me: executing $ac_file commands" >&6;} 6311 ;; 6312 esac 6313 6314 6315 case $ac_file$ac_mode in 6316 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6317 # Older Autoconf quotes --file arguments for eval, but not when files 6318 # are listed without --file. Let's play safe and only enable the eval 6319 # if we detect the quoting. 6320 case $CONFIG_FILES in 6321 *\'*) eval set x "$CONFIG_FILES" ;; 6322 *) set x $CONFIG_FILES ;; 6323 esac 6324 shift 6325 for mf 6326 do 6327 # Strip MF so we end up with the name of the file. 6328 mf=`echo "$mf" | sed -e 's/:.*$//'` 6329 # Check whether this is an Automake generated Makefile or not. 6330 # We used to match only the files named 'Makefile.in', but 6331 # some people rename them; so instead we look at the file content. 6332 # Grep'ing the first line is not enough: some people post-process 6333 # each Makefile.in and add a new line on top of each file to say so. 6334 # Grep'ing the whole file is not good either: AIX grep has a line 6335 # limit of 2048, but all sed's we know have understand at least 4000. 6336 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6337 dirpart=`$as_dirname -- "$mf" || 6338$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6339 X"$mf" : 'X\(//\)[^/]' \| \ 6340 X"$mf" : 'X\(//\)$' \| \ 6341 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6342$as_echo X"$mf" | 6343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6344 s//\1/ 6345 q 6346 } 6347 /^X\(\/\/\)[^/].*/{ 6348 s//\1/ 6349 q 6350 } 6351 /^X\(\/\/\)$/{ 6352 s//\1/ 6353 q 6354 } 6355 /^X\(\/\).*/{ 6356 s//\1/ 6357 q 6358 } 6359 s/.*/./; q'` 6360 else 6361 continue 6362 fi 6363 # Extract the definition of DEPDIR, am__include, and am__quote 6364 # from the Makefile without running 'make'. 6365 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6366 test -z "$DEPDIR" && continue 6367 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6368 test -z "$am__include" && continue 6369 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6370 # Find all dependency output files, they are included files with 6371 # $(DEPDIR) in their names. We invoke sed twice because it is the 6372 # simplest approach to changing $(DEPDIR) to its actual value in the 6373 # expansion. 6374 for file in `sed -n " 6375 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6376 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 6377 # Make sure the directory exists. 6378 test -f "$dirpart/$file" && continue 6379 fdir=`$as_dirname -- "$file" || 6380$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6381 X"$file" : 'X\(//\)[^/]' \| \ 6382 X"$file" : 'X\(//\)$' \| \ 6383 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6384$as_echo X"$file" | 6385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6386 s//\1/ 6387 q 6388 } 6389 /^X\(\/\/\)[^/].*/{ 6390 s//\1/ 6391 q 6392 } 6393 /^X\(\/\/\)$/{ 6394 s//\1/ 6395 q 6396 } 6397 /^X\(\/\).*/{ 6398 s//\1/ 6399 q 6400 } 6401 s/.*/./; q'` 6402 as_dir=$dirpart/$fdir; as_fn_mkdir_p 6403 # echo "creating $dirpart/$file" 6404 echo '# dummy' > "$dirpart/$file" 6405 done 6406 done 6407} 6408 ;; 6409 "default":C) chmod +x src/nana src/nana-clg src/nana-c++lg src/nana-run test/gammon ;; 6410 6411 esac 6412done # for ac_tag 6413 6414 6415as_fn_exit 0 6416_ACEOF 6417ac_clean_files=$ac_clean_files_save 6418 6419test $ac_write_fail = 0 || 6420 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6421 6422 6423# configure is writing to config.log, and then calls config.status. 6424# config.status does its own redirection, appending to config.log. 6425# Unfortunately, on DOS this fails, as config.log is still kept open 6426# by configure, so config.status won't be able to write to it; its 6427# output is simply discarded. So we exec the FD to /dev/null, 6428# effectively closing config.log, so it can be properly (re)opened and 6429# appended to by config.status. When coming back to configure, we 6430# need to make the FD available again. 6431if test "$no_create" != yes; then 6432 ac_cs_success=: 6433 ac_config_status_args= 6434 test "$silent" = yes && 6435 ac_config_status_args="$ac_config_status_args --quiet" 6436 exec 5>/dev/null 6437 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6438 exec 5>>config.log 6439 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6440 # would make configure fail if this is the last instruction. 6441 $ac_cs_success || as_fn_exit 1 6442fi 6443if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6445$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6446fi 6447 6448 6449echo "* Displaying configure variables for C code" 6450make showconfig 6451 6452