1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.63 for syck 0.70. 4@%:@ 5@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7@%:@ This configure script is free software; the Free Software Foundation 8@%:@ gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be more Bourne compatible 14DUALCASE=1; export DUALCASE # for MKS sh 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40as_nl=' 41' 42export as_nl 43# Printing a long string crashes Solaris 7 /usr/bin/printf. 44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47if (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# Support unset when possible. 82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84else 85 as_unset=false 86fi 87 88 89# IFS 90# We need space, tab and new line, in precisely that order. Quoting is 91# there to prevent editors from complaining about space-tab. 92# (If _AS_PATH_WALK were called with IFS unset, it would disable word 93# splitting by setting IFS to empty value.) 94IFS=" "" $as_nl" 95 96# Find who we are. Look in the path if we contain no directory separator. 97case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 100for as_dir in $PATH 101do 102 IFS=$as_save_IFS 103 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105done 106IFS=$as_save_IFS 107 108 ;; 109esac 110# We did not find ourselves, most probably we were run as `sh COMMAND' 111# in which case we are not to be found in the path. 112if test "x$as_myself" = x; then 113 as_myself=$0 114fi 115if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118fi 119 120# Work around bugs in pre-3.0 UWIN ksh. 121for as_var in ENV MAIL MAILPATH 122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# Required to use basename. 135if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138else 139 as_expr=false 140fi 141 142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144else 145 as_basename=false 146fi 147 148 149# Name of the executable. 150as_me=`$as_basename -- "$0" || 151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154$as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169# CDPATH. 170$as_unset CDPATH 171 172 173if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176else 177 as_have_required=no 178fi 179 180 if test $as_have_required = yes && (eval ": 181(as_func_return () { 182 (exit \$1) 183} 184as_func_success () { 185 as_func_return 0 186} 187as_func_failure () { 188 as_func_return 1 189} 190as_func_ret_success () { 191 return 0 192} 193as_func_ret_failure () { 194 return 1 195} 196 197exitcode=0 198if as_func_success; then 199 : 200else 201 exitcode=1 202 echo as_func_success failed. 203fi 204 205if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208fi 209 210if as_func_ret_success; then 211 : 212else 213 exitcode=1 214 echo as_func_ret_success failed. 215fi 216 217if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220fi 221 222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224else 225 exitcode=1 226 echo positional parameters were not saved. 227fi 228 229test \$exitcode = 0) || { (exit 1); exit 1; } 230 231( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236") 2> /dev/null; then 237 : 238else 239 as_candidate_shells= 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 242do 243 IFS=$as_save_IFS 244 test -z "$as_dir" && as_dir=. 245 case $as_dir in 246 /*) 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251done 252IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269esac 270 271fi 272 273 274: 275_ASEOF 276}; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290esac 291 292fi 293 294 295: 296(as_func_return () { 297 (exit $1) 298} 299as_func_success () { 300 as_func_return 0 301} 302as_func_failure () { 303 as_func_return 1 304} 305as_func_ret_success () { 306 return 0 307} 308as_func_ret_failure () { 309 return 1 310} 311 312exitcode=0 313if as_func_success; then 314 : 315else 316 exitcode=1 317 echo as_func_success failed. 318fi 319 320if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323fi 324 325if as_func_ret_success; then 326 : 327else 328 exitcode=1 329 echo as_func_ret_success failed. 330fi 331 332if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335fi 336 337if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339else 340 exitcode=1 341 echo positional parameters were not saved. 342fi 343 344test $exitcode = 0) || { (exit 1); exit 1; } 345 346( 347 as_lineno_1=$LINENO 348 as_lineno_2=$LINENO 349 test "x$as_lineno_1" != "x$as_lineno_2" && 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352_ASEOF 353}; then 354 break 355fi 356 357fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376fi 377 378 379fi 380 381fi 382 383 384 385(eval "as_func_return () { 386 (exit \$1) 387} 388as_func_success () { 389 as_func_return 0 390} 391as_func_failure () { 392 as_func_return 1 393} 394as_func_ret_success () { 395 return 0 396} 397as_func_ret_failure () { 398 return 1 399} 400 401exitcode=0 402if as_func_success; then 403 : 404else 405 exitcode=1 406 echo as_func_success failed. 407fi 408 409if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412fi 413 414if as_func_ret_success; then 415 : 416else 417 exitcode=1 418 echo as_func_ret_success failed. 419fi 420 421if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424fi 425 426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428else 429 exitcode=1 430 echo positional parameters were not saved. 431fi 432 433test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell bug-autoconf@gnu.org about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439} 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 447 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 449 # uniformly replaced by the line number. The first 'sed' inserts a 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 467 N 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 470 t loop 471 s/-\n.*// 472 ' >$as_me.lineno && 473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 { (exit 1); exit 1; }; } 476 477 # Don't try to exec as it changes $[0], causing all sort of problems 478 # (the dirname of $[0] is not the place where we might find the 479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 481 # Exit status is that of the last command. 482 exit 483} 484 485 486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488else 489 as_dirname=false 490fi 491 492ECHO_C= ECHO_N= ECHO_T= 493case `echo -n x` in 494-n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499*) 500 ECHO_N='-n';; 501esac 502if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 504 as_expr=expr 505else 506 as_expr=false 507fi 508 509rm -f conf$$ conf$$.exe conf$$.file 510if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515fi 516if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 528 as_ln_s='cp -p' 529 fi 530else 531 as_ln_s='cp -p' 532fi 533rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534rmdir conf$$.dir 2>/dev/null 535 536if mkdir -p . 2>/dev/null; then 537 as_mkdir_p=: 538else 539 test -d ./-p && rmdir ./-p 540 as_mkdir_p=false 541fi 542 543if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563fi 564as_executable_p=$as_test_x 565 566# Sed expression to map a string onto a valid CPP name. 567as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 568 569# Sed expression to map a string onto a valid variable name. 570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 571 572 573 574exec 7<&0 </dev/null 6>&1 575 576# Name of the host. 577# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 578# so uname gets run too. 579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 580 581# 582# Initializations. 583# 584ac_default_prefix=/usr/local 585ac_clean_files= 586ac_config_libobj_dir=. 587LIB@&t@OBJS= 588cross_compiling=no 589subdirs= 590MFLAGS= 591MAKEFLAGS= 592SHELL=${CONFIG_SHELL-/bin/sh} 593 594# Identity of this package. 595PACKAGE_NAME='syck' 596PACKAGE_TARNAME='syck' 597PACKAGE_VERSION='0.70' 598PACKAGE_STRING='syck 0.70' 599PACKAGE_BUGREPORT='' 600 601# Factoring default headers for most tests. 602ac_includes_default="\ 603#include <stdio.h> 604#ifdef HAVE_SYS_TYPES_H 605# include <sys/types.h> 606#endif 607#ifdef HAVE_SYS_STAT_H 608# include <sys/stat.h> 609#endif 610#ifdef STDC_HEADERS 611# include <stdlib.h> 612# include <stddef.h> 613#else 614# ifdef HAVE_STDLIB_H 615# include <stdlib.h> 616# endif 617#endif 618#ifdef HAVE_STRING_H 619# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 620# include <memory.h> 621# endif 622# include <string.h> 623#endif 624#ifdef HAVE_STRINGS_H 625# include <strings.h> 626#endif 627#ifdef HAVE_INTTYPES_H 628# include <inttypes.h> 629#endif 630#ifdef HAVE_STDINT_H 631# include <stdint.h> 632#endif 633#ifdef HAVE_UNISTD_H 634# include <unistd.h> 635#endif" 636 637ac_subst_vars='LTLIBOBJS 638LIB@&t@OBJS 639EGREP 640GREP 641CPP 642YACC 643LEXLIB 644LEX_OUTPUT_ROOT 645LEX 646RANLIB 647LN_S 648am__fastdepCC_FALSE 649am__fastdepCC_TRUE 650CCDEPMODE 651AMDEPBACKSLASH 652AMDEP_FALSE 653AMDEP_TRUE 654am__quote 655am__include 656DEPDIR 657OBJEXT 658EXEEXT 659ac_ct_CC 660CPPFLAGS 661LDFLAGS 662CFLAGS 663CC 664am__untar 665am__tar 666AMTAR 667am__leading_dot 668SET_MAKE 669AWK 670mkdir_p 671MKDIR_P 672INSTALL_STRIP_PROGRAM 673STRIP 674install_sh 675MAKEINFO 676AUTOHEADER 677AUTOMAKE 678AUTOCONF 679ACLOCAL 680VERSION 681PACKAGE 682CYGPATH_W 683am__isrc 684INSTALL_DATA 685INSTALL_SCRIPT 686INSTALL_PROGRAM 687target_alias 688host_alias 689build_alias 690LIBS 691ECHO_T 692ECHO_N 693ECHO_C 694DEFS 695mandir 696localedir 697libdir 698psdir 699pdfdir 700dvidir 701htmldir 702infodir 703docdir 704oldincludedir 705includedir 706localstatedir 707sharedstatedir 708sysconfdir 709datadir 710datarootdir 711libexecdir 712sbindir 713bindir 714program_transform_name 715prefix 716exec_prefix 717PACKAGE_BUGREPORT 718PACKAGE_STRING 719PACKAGE_VERSION 720PACKAGE_TARNAME 721PACKAGE_NAME 722PATH_SEPARATOR 723SHELL' 724ac_subst_files='' 725ac_user_opts=' 726enable_option_checking 727enable_dependency_tracking 728' 729 ac_precious_vars='build_alias 730host_alias 731target_alias 732CC 733CFLAGS 734LDFLAGS 735LIBS 736CPPFLAGS 737CPP' 738 739 740# Initialize some variables set by options. 741ac_init_help= 742ac_init_version=false 743ac_unrecognized_opts= 744ac_unrecognized_sep= 745# The variables have the same names as the options, with 746# dashes changed to underlines. 747cache_file=/dev/null 748exec_prefix=NONE 749no_create= 750no_recursion= 751prefix=NONE 752program_prefix=NONE 753program_suffix=NONE 754program_transform_name=s,x,x, 755silent= 756site= 757srcdir= 758verbose= 759x_includes=NONE 760x_libraries=NONE 761 762# Installation directory options. 763# These are left unexpanded so users can "make install exec_prefix=/foo" 764# and all the variables that are supposed to be based on exec_prefix 765# by default will actually change. 766# Use braces instead of parens because sh, perl, etc. also accept them. 767# (The list follows the same order as the GNU Coding Standards.) 768bindir='${exec_prefix}/bin' 769sbindir='${exec_prefix}/sbin' 770libexecdir='${exec_prefix}/libexec' 771datarootdir='${prefix}/share' 772datadir='${datarootdir}' 773sysconfdir='${prefix}/etc' 774sharedstatedir='${prefix}/com' 775localstatedir='${prefix}/var' 776includedir='${prefix}/include' 777oldincludedir='/usr/include' 778docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 779infodir='${datarootdir}/info' 780htmldir='${docdir}' 781dvidir='${docdir}' 782pdfdir='${docdir}' 783psdir='${docdir}' 784libdir='${exec_prefix}/lib' 785localedir='${datarootdir}/locale' 786mandir='${datarootdir}/man' 787 788ac_prev= 789ac_dashdash= 790for ac_option 791do 792 # If the previous option needs an argument, assign it. 793 if test -n "$ac_prev"; then 794 eval $ac_prev=\$ac_option 795 ac_prev= 796 continue 797 fi 798 799 case $ac_option in 800 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 801 *) ac_optarg=yes ;; 802 esac 803 804 # Accept the important Cygnus configure options, so we can diagnose typos. 805 806 case $ac_dashdash$ac_option in 807 --) 808 ac_dashdash=yes ;; 809 810 -bindir | --bindir | --bindi | --bind | --bin | --bi) 811 ac_prev=bindir ;; 812 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 813 bindir=$ac_optarg ;; 814 815 -build | --build | --buil | --bui | --bu) 816 ac_prev=build_alias ;; 817 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 818 build_alias=$ac_optarg ;; 819 820 -cache-file | --cache-file | --cache-fil | --cache-fi \ 821 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 822 ac_prev=cache_file ;; 823 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 824 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 825 cache_file=$ac_optarg ;; 826 827 --config-cache | -C) 828 cache_file=config.cache ;; 829 830 -datadir | --datadir | --datadi | --datad) 831 ac_prev=datadir ;; 832 -datadir=* | --datadir=* | --datadi=* | --datad=*) 833 datadir=$ac_optarg ;; 834 835 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 836 | --dataroo | --dataro | --datar) 837 ac_prev=datarootdir ;; 838 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 839 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 840 datarootdir=$ac_optarg ;; 841 842 -disable-* | --disable-*) 843 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 844 # Reject names that are not valid shell variable names. 845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 846 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 847 { (exit 1); exit 1; }; } 848 ac_useropt_orig=$ac_useropt 849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 850 case $ac_user_opts in 851 *" 852"enable_$ac_useropt" 853"*) ;; 854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 855 ac_unrecognized_sep=', ';; 856 esac 857 eval enable_$ac_useropt=no ;; 858 859 -docdir | --docdir | --docdi | --doc | --do) 860 ac_prev=docdir ;; 861 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 862 docdir=$ac_optarg ;; 863 864 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 865 ac_prev=dvidir ;; 866 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 867 dvidir=$ac_optarg ;; 868 869 -enable-* | --enable-*) 870 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 871 # Reject names that are not valid shell variable names. 872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 873 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 874 { (exit 1); exit 1; }; } 875 ac_useropt_orig=$ac_useropt 876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 877 case $ac_user_opts in 878 *" 879"enable_$ac_useropt" 880"*) ;; 881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 882 ac_unrecognized_sep=', ';; 883 esac 884 eval enable_$ac_useropt=\$ac_optarg ;; 885 886 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 887 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 888 | --exec | --exe | --ex) 889 ac_prev=exec_prefix ;; 890 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 891 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 892 | --exec=* | --exe=* | --ex=*) 893 exec_prefix=$ac_optarg ;; 894 895 -gas | --gas | --ga | --g) 896 # Obsolete; use --with-gas. 897 with_gas=yes ;; 898 899 -help | --help | --hel | --he | -h) 900 ac_init_help=long ;; 901 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 902 ac_init_help=recursive ;; 903 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 904 ac_init_help=short ;; 905 906 -host | --host | --hos | --ho) 907 ac_prev=host_alias ;; 908 -host=* | --host=* | --hos=* | --ho=*) 909 host_alias=$ac_optarg ;; 910 911 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 912 ac_prev=htmldir ;; 913 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 914 | --ht=*) 915 htmldir=$ac_optarg ;; 916 917 -includedir | --includedir | --includedi | --included | --include \ 918 | --includ | --inclu | --incl | --inc) 919 ac_prev=includedir ;; 920 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 921 | --includ=* | --inclu=* | --incl=* | --inc=*) 922 includedir=$ac_optarg ;; 923 924 -infodir | --infodir | --infodi | --infod | --info | --inf) 925 ac_prev=infodir ;; 926 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 927 infodir=$ac_optarg ;; 928 929 -libdir | --libdir | --libdi | --libd) 930 ac_prev=libdir ;; 931 -libdir=* | --libdir=* | --libdi=* | --libd=*) 932 libdir=$ac_optarg ;; 933 934 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 935 | --libexe | --libex | --libe) 936 ac_prev=libexecdir ;; 937 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 938 | --libexe=* | --libex=* | --libe=*) 939 libexecdir=$ac_optarg ;; 940 941 -localedir | --localedir | --localedi | --localed | --locale) 942 ac_prev=localedir ;; 943 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 944 localedir=$ac_optarg ;; 945 946 -localstatedir | --localstatedir | --localstatedi | --localstated \ 947 | --localstate | --localstat | --localsta | --localst | --locals) 948 ac_prev=localstatedir ;; 949 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 950 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 951 localstatedir=$ac_optarg ;; 952 953 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 954 ac_prev=mandir ;; 955 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 956 mandir=$ac_optarg ;; 957 958 -nfp | --nfp | --nf) 959 # Obsolete; use --without-fp. 960 with_fp=no ;; 961 962 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 963 | --no-cr | --no-c | -n) 964 no_create=yes ;; 965 966 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 967 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 968 no_recursion=yes ;; 969 970 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 971 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 972 | --oldin | --oldi | --old | --ol | --o) 973 ac_prev=oldincludedir ;; 974 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 975 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 976 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 977 oldincludedir=$ac_optarg ;; 978 979 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 980 ac_prev=prefix ;; 981 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 982 prefix=$ac_optarg ;; 983 984 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 985 | --program-pre | --program-pr | --program-p) 986 ac_prev=program_prefix ;; 987 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 988 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 989 program_prefix=$ac_optarg ;; 990 991 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 992 | --program-suf | --program-su | --program-s) 993 ac_prev=program_suffix ;; 994 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 995 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 996 program_suffix=$ac_optarg ;; 997 998 -program-transform-name | --program-transform-name \ 999 | --program-transform-nam | --program-transform-na \ 1000 | --program-transform-n | --program-transform- \ 1001 | --program-transform | --program-transfor \ 1002 | --program-transfo | --program-transf \ 1003 | --program-trans | --program-tran \ 1004 | --progr-tra | --program-tr | --program-t) 1005 ac_prev=program_transform_name ;; 1006 -program-transform-name=* | --program-transform-name=* \ 1007 | --program-transform-nam=* | --program-transform-na=* \ 1008 | --program-transform-n=* | --program-transform-=* \ 1009 | --program-transform=* | --program-transfor=* \ 1010 | --program-transfo=* | --program-transf=* \ 1011 | --program-trans=* | --program-tran=* \ 1012 | --progr-tra=* | --program-tr=* | --program-t=*) 1013 program_transform_name=$ac_optarg ;; 1014 1015 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1016 ac_prev=pdfdir ;; 1017 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1018 pdfdir=$ac_optarg ;; 1019 1020 -psdir | --psdir | --psdi | --psd | --ps) 1021 ac_prev=psdir ;; 1022 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1023 psdir=$ac_optarg ;; 1024 1025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1026 | -silent | --silent | --silen | --sile | --sil) 1027 silent=yes ;; 1028 1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1030 ac_prev=sbindir ;; 1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1032 | --sbi=* | --sb=*) 1033 sbindir=$ac_optarg ;; 1034 1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1037 | --sharedst | --shareds | --shared | --share | --shar \ 1038 | --sha | --sh) 1039 ac_prev=sharedstatedir ;; 1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1043 | --sha=* | --sh=*) 1044 sharedstatedir=$ac_optarg ;; 1045 1046 -site | --site | --sit) 1047 ac_prev=site ;; 1048 -site=* | --site=* | --sit=*) 1049 site=$ac_optarg ;; 1050 1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1052 ac_prev=srcdir ;; 1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1054 srcdir=$ac_optarg ;; 1055 1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1057 | --syscon | --sysco | --sysc | --sys | --sy) 1058 ac_prev=sysconfdir ;; 1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1061 sysconfdir=$ac_optarg ;; 1062 1063 -target | --target | --targe | --targ | --tar | --ta | --t) 1064 ac_prev=target_alias ;; 1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1066 target_alias=$ac_optarg ;; 1067 1068 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1069 verbose=yes ;; 1070 1071 -version | --version | --versio | --versi | --vers | -V) 1072 ac_init_version=: ;; 1073 1074 -with-* | --with-*) 1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1076 # Reject names that are not valid shell variable names. 1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1079 { (exit 1); exit 1; }; } 1080 ac_useropt_orig=$ac_useropt 1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1082 case $ac_user_opts in 1083 *" 1084"with_$ac_useropt" 1085"*) ;; 1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1087 ac_unrecognized_sep=', ';; 1088 esac 1089 eval with_$ac_useropt=\$ac_optarg ;; 1090 1091 -without-* | --without-*) 1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1093 # Reject names that are not valid shell variable names. 1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1095 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1096 { (exit 1); exit 1; }; } 1097 ac_useropt_orig=$ac_useropt 1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1099 case $ac_user_opts in 1100 *" 1101"with_$ac_useropt" 1102"*) ;; 1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1104 ac_unrecognized_sep=', ';; 1105 esac 1106 eval with_$ac_useropt=no ;; 1107 1108 --x) 1109 # Obsolete; use --with-x. 1110 with_x=yes ;; 1111 1112 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1113 | --x-incl | --x-inc | --x-in | --x-i) 1114 ac_prev=x_includes ;; 1115 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1116 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1117 x_includes=$ac_optarg ;; 1118 1119 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1120 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1121 ac_prev=x_libraries ;; 1122 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1123 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1124 x_libraries=$ac_optarg ;; 1125 1126 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1127Try \`$0 --help' for more information." >&2 1128 { (exit 1); exit 1; }; } 1129 ;; 1130 1131 *=*) 1132 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1133 # Reject names that are not valid shell variable names. 1134 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1135 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1136 { (exit 1); exit 1; }; } 1137 eval $ac_envvar=\$ac_optarg 1138 export $ac_envvar ;; 1139 1140 *) 1141 # FIXME: should be removed in autoconf 3.0. 1142 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1145 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1146 ;; 1147 1148 esac 1149done 1150 1151if test -n "$ac_prev"; then 1152 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1153 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1154 { (exit 1); exit 1; }; } 1155fi 1156 1157if test -n "$ac_unrecognized_opts"; then 1158 case $enable_option_checking in 1159 no) ;; 1160 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1161 { (exit 1); exit 1; }; } ;; 1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1163 esac 1164fi 1165 1166# Check all directory arguments for consistency. 1167for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1168 datadir sysconfdir sharedstatedir localstatedir includedir \ 1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1170 libdir localedir mandir 1171do 1172 eval ac_val=\$$ac_var 1173 # Remove trailing slashes. 1174 case $ac_val in 1175 */ ) 1176 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1177 eval $ac_var=\$ac_val;; 1178 esac 1179 # Be sure to have absolute directory names. 1180 case $ac_val in 1181 [\\/$]* | ?:[\\/]* ) continue;; 1182 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1183 esac 1184 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1185 { (exit 1); exit 1; }; } 1186done 1187 1188# There might be people who depend on the old broken behavior: `$host' 1189# used to hold the argument of --host etc. 1190# FIXME: To remove some day. 1191build=$build_alias 1192host=$host_alias 1193target=$target_alias 1194 1195# FIXME: To remove some day. 1196if test "x$host_alias" != x; then 1197 if test "x$build_alias" = x; then 1198 cross_compiling=maybe 1199 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1200 If a cross compiler is detected then cross compile mode will be used." >&2 1201 elif test "x$build_alias" != "x$host_alias"; then 1202 cross_compiling=yes 1203 fi 1204fi 1205 1206ac_tool_prefix= 1207test -n "$host_alias" && ac_tool_prefix=$host_alias- 1208 1209test "$silent" = yes && exec 6>/dev/null 1210 1211 1212ac_pwd=`pwd` && test -n "$ac_pwd" && 1213ac_ls_di=`ls -di .` && 1214ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1215 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1216 { (exit 1); exit 1; }; } 1217test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1218 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1219 { (exit 1); exit 1; }; } 1220 1221 1222# Find the source files, if location was not specified. 1223if test -z "$srcdir"; then 1224 ac_srcdir_defaulted=yes 1225 # Try the directory containing this script, then the parent directory. 1226 ac_confdir=`$as_dirname -- "$as_myself" || 1227$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1228 X"$as_myself" : 'X\(//\)[^/]' \| \ 1229 X"$as_myself" : 'X\(//\)$' \| \ 1230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1231$as_echo X"$as_myself" | 1232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1233 s//\1/ 1234 q 1235 } 1236 /^X\(\/\/\)[^/].*/{ 1237 s//\1/ 1238 q 1239 } 1240 /^X\(\/\/\)$/{ 1241 s//\1/ 1242 q 1243 } 1244 /^X\(\/\).*/{ 1245 s//\1/ 1246 q 1247 } 1248 s/.*/./; q'` 1249 srcdir=$ac_confdir 1250 if test ! -r "$srcdir/$ac_unique_file"; then 1251 srcdir=.. 1252 fi 1253else 1254 ac_srcdir_defaulted=no 1255fi 1256if test ! -r "$srcdir/$ac_unique_file"; then 1257 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1258 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1259 { (exit 1); exit 1; }; } 1260fi 1261ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1262ac_abs_confdir=`( 1263 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1264 { (exit 1); exit 1; }; } 1265 pwd)` 1266# When building in place, set srcdir=. 1267if test "$ac_abs_confdir" = "$ac_pwd"; then 1268 srcdir=. 1269fi 1270# Remove unnecessary trailing slashes from srcdir. 1271# Double slashes in file names in object file debugging info 1272# mess up M-x gdb in Emacs. 1273case $srcdir in 1274*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1275esac 1276for ac_var in $ac_precious_vars; do 1277 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1278 eval ac_env_${ac_var}_value=\$${ac_var} 1279 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1280 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1281done 1282 1283# 1284# Report the --help message. 1285# 1286if test "$ac_init_help" = "long"; then 1287 # Omit some internal or obsolete options to make the list less imposing. 1288 # This message is too long to be a string in the A/UX 3.1 sh. 1289 cat <<_ACEOF 1290\`configure' configures syck 0.70 to adapt to many kinds of systems. 1291 1292Usage: $0 [OPTION]... [VAR=VALUE]... 1293 1294To assign environment variables (e.g., CC, CFLAGS...), specify them as 1295VAR=VALUE. See below for descriptions of some of the useful variables. 1296 1297Defaults for the options are specified in brackets. 1298 1299Configuration: 1300 -h, --help display this help and exit 1301 --help=short display options specific to this package 1302 --help=recursive display the short help of all the included packages 1303 -V, --version display version information and exit 1304 -q, --quiet, --silent do not print \`checking...' messages 1305 --cache-file=FILE cache test results in FILE [disabled] 1306 -C, --config-cache alias for \`--cache-file=config.cache' 1307 -n, --no-create do not create output files 1308 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1309 1310Installation directories: 1311 --prefix=PREFIX install architecture-independent files in PREFIX 1312 [$ac_default_prefix] 1313 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1314 [PREFIX] 1315 1316By default, \`make install' will install all the files in 1317\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1318an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1319for instance \`--prefix=\$HOME'. 1320 1321For better control, use the options below. 1322 1323Fine tuning of the installation directories: 1324 --bindir=DIR user executables [EPREFIX/bin] 1325 --sbindir=DIR system admin executables [EPREFIX/sbin] 1326 --libexecdir=DIR program executables [EPREFIX/libexec] 1327 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1328 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1329 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1330 --libdir=DIR object code libraries [EPREFIX/lib] 1331 --includedir=DIR C header files [PREFIX/include] 1332 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1333 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1334 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1335 --infodir=DIR info documentation [DATAROOTDIR/info] 1336 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1337 --mandir=DIR man documentation [DATAROOTDIR/man] 1338 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/syck@:>@ 1339 --htmldir=DIR html documentation [DOCDIR] 1340 --dvidir=DIR dvi documentation [DOCDIR] 1341 --pdfdir=DIR pdf documentation [DOCDIR] 1342 --psdir=DIR ps documentation [DOCDIR] 1343_ACEOF 1344 1345 cat <<\_ACEOF 1346 1347Program names: 1348 --program-prefix=PREFIX prepend PREFIX to installed program names 1349 --program-suffix=SUFFIX append SUFFIX to installed program names 1350 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1351_ACEOF 1352fi 1353 1354if test -n "$ac_init_help"; then 1355 case $ac_init_help in 1356 short | recursive ) echo "Configuration of syck 0.70:";; 1357 esac 1358 cat <<\_ACEOF 1359 1360Optional Features: 1361 --disable-option-checking ignore unrecognized --enable/--with options 1362 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1363 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1364 --disable-dependency-tracking speeds up one-time build 1365 --enable-dependency-tracking do not reject slow dependency extractors 1366 1367Some influential environment variables: 1368 CC C compiler command 1369 CFLAGS C compiler flags 1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1371 nonstandard directory <lib dir> 1372 LIBS libraries to pass to the linker, e.g. -l<library> 1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1374 you have headers in a nonstandard directory <include dir> 1375 CPP C preprocessor 1376 1377Use these variables to override the choices made by `configure' or to help 1378it to find libraries and programs with nonstandard names/locations. 1379 1380_ACEOF 1381ac_status=$? 1382fi 1383 1384if test "$ac_init_help" = "recursive"; then 1385 # If there are subdirs, report their specific --help. 1386 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1387 test -d "$ac_dir" || 1388 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1389 continue 1390 ac_builddir=. 1391 1392case "$ac_dir" in 1393.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1394*) 1395 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1396 # A ".." for each directory in $ac_dir_suffix. 1397 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1398 case $ac_top_builddir_sub in 1399 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1400 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1401 esac ;; 1402esac 1403ac_abs_top_builddir=$ac_pwd 1404ac_abs_builddir=$ac_pwd$ac_dir_suffix 1405# for backward compatibility: 1406ac_top_builddir=$ac_top_build_prefix 1407 1408case $srcdir in 1409 .) # We are building in place. 1410 ac_srcdir=. 1411 ac_top_srcdir=$ac_top_builddir_sub 1412 ac_abs_top_srcdir=$ac_pwd ;; 1413 [\\/]* | ?:[\\/]* ) # Absolute name. 1414 ac_srcdir=$srcdir$ac_dir_suffix; 1415 ac_top_srcdir=$srcdir 1416 ac_abs_top_srcdir=$srcdir ;; 1417 *) # Relative name. 1418 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1419 ac_top_srcdir=$ac_top_build_prefix$srcdir 1420 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1421esac 1422ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1423 1424 cd "$ac_dir" || { ac_status=$?; continue; } 1425 # Check for guested configure. 1426 if test -f "$ac_srcdir/configure.gnu"; then 1427 echo && 1428 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1429 elif test -f "$ac_srcdir/configure"; then 1430 echo && 1431 $SHELL "$ac_srcdir/configure" --help=recursive 1432 else 1433 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1434 fi || ac_status=$? 1435 cd "$ac_pwd" || { ac_status=$?; break; } 1436 done 1437fi 1438 1439test -n "$ac_init_help" && exit $ac_status 1440if $ac_init_version; then 1441 cat <<\_ACEOF 1442syck configure 0.70 1443generated by GNU Autoconf 2.63 1444 1445Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 14462002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1447This configure script is free software; the Free Software Foundation 1448gives unlimited permission to copy, distribute and modify it. 1449_ACEOF 1450 exit 1451fi 1452cat >config.log <<_ACEOF 1453This file contains any messages produced by compilers while 1454running configure, to aid debugging if configure makes a mistake. 1455 1456It was created by syck $as_me 0.70, which was 1457generated by GNU Autoconf 2.63. Invocation command line was 1458 1459 $ $0 $@ 1460 1461_ACEOF 1462exec 5>>config.log 1463{ 1464cat <<_ASUNAME 1465@%:@@%:@ --------- @%:@@%:@ 1466@%:@@%:@ Platform. @%:@@%:@ 1467@%:@@%:@ --------- @%:@@%:@ 1468 1469hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1470uname -m = `(uname -m) 2>/dev/null || echo unknown` 1471uname -r = `(uname -r) 2>/dev/null || echo unknown` 1472uname -s = `(uname -s) 2>/dev/null || echo unknown` 1473uname -v = `(uname -v) 2>/dev/null || echo unknown` 1474 1475/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1476/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1477 1478/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1479/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1480/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1481/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1482/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1483/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1484/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1485 1486_ASUNAME 1487 1488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1489for as_dir in $PATH 1490do 1491 IFS=$as_save_IFS 1492 test -z "$as_dir" && as_dir=. 1493 $as_echo "PATH: $as_dir" 1494done 1495IFS=$as_save_IFS 1496 1497} >&5 1498 1499cat >&5 <<_ACEOF 1500 1501 1502@%:@@%:@ ----------- @%:@@%:@ 1503@%:@@%:@ Core tests. @%:@@%:@ 1504@%:@@%:@ ----------- @%:@@%:@ 1505 1506_ACEOF 1507 1508 1509# Keep a trace of the command line. 1510# Strip out --no-create and --no-recursion so they do not pile up. 1511# Strip out --silent because we don't want to record it for future runs. 1512# Also quote any args containing shell meta-characters. 1513# Make two passes to allow for proper duplicate-argument suppression. 1514ac_configure_args= 1515ac_configure_args0= 1516ac_configure_args1= 1517ac_must_keep_next=false 1518for ac_pass in 1 2 1519do 1520 for ac_arg 1521 do 1522 case $ac_arg in 1523 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1525 | -silent | --silent | --silen | --sile | --sil) 1526 continue ;; 1527 *\'*) 1528 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1529 esac 1530 case $ac_pass in 1531 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1532 2) 1533 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1534 if test $ac_must_keep_next = true; then 1535 ac_must_keep_next=false # Got value, back to normal. 1536 else 1537 case $ac_arg in 1538 *=* | --config-cache | -C | -disable-* | --disable-* \ 1539 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1540 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1541 | -with-* | --with-* | -without-* | --without-* | --x) 1542 case "$ac_configure_args0 " in 1543 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1544 esac 1545 ;; 1546 -* ) ac_must_keep_next=true ;; 1547 esac 1548 fi 1549 ac_configure_args="$ac_configure_args '$ac_arg'" 1550 ;; 1551 esac 1552 done 1553done 1554$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1555$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1556 1557# When interrupted or exit'd, cleanup temporary files, and complete 1558# config.log. We remove comments because anyway the quotes in there 1559# would cause problems or look ugly. 1560# WARNING: Use '\'' to represent an apostrophe within the trap. 1561# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1562trap 'exit_status=$? 1563 # Save into config.log some information that might help in debugging. 1564 { 1565 echo 1566 1567 cat <<\_ASBOX 1568@%:@@%:@ ---------------- @%:@@%:@ 1569@%:@@%:@ Cache variables. @%:@@%:@ 1570@%:@@%:@ ---------------- @%:@@%:@ 1571_ASBOX 1572 echo 1573 # The following way of writing the cache mishandles newlines in values, 1574( 1575 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1576 eval ac_val=\$$ac_var 1577 case $ac_val in #( 1578 *${as_nl}*) 1579 case $ac_var in #( 1580 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1581$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1582 esac 1583 case $ac_var in #( 1584 _ | IFS | as_nl) ;; #( 1585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1586 *) $as_unset $ac_var ;; 1587 esac ;; 1588 esac 1589 done 1590 (set) 2>&1 | 1591 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1592 *${as_nl}ac_space=\ *) 1593 sed -n \ 1594 "s/'\''/'\''\\\\'\'''\''/g; 1595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1596 ;; #( 1597 *) 1598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1599 ;; 1600 esac | 1601 sort 1602) 1603 echo 1604 1605 cat <<\_ASBOX 1606@%:@@%:@ ----------------- @%:@@%:@ 1607@%:@@%:@ Output variables. @%:@@%:@ 1608@%:@@%:@ ----------------- @%:@@%:@ 1609_ASBOX 1610 echo 1611 for ac_var in $ac_subst_vars 1612 do 1613 eval ac_val=\$$ac_var 1614 case $ac_val in 1615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1616 esac 1617 $as_echo "$ac_var='\''$ac_val'\''" 1618 done | sort 1619 echo 1620 1621 if test -n "$ac_subst_files"; then 1622 cat <<\_ASBOX 1623@%:@@%:@ ------------------- @%:@@%:@ 1624@%:@@%:@ File substitutions. @%:@@%:@ 1625@%:@@%:@ ------------------- @%:@@%:@ 1626_ASBOX 1627 echo 1628 for ac_var in $ac_subst_files 1629 do 1630 eval ac_val=\$$ac_var 1631 case $ac_val in 1632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1633 esac 1634 $as_echo "$ac_var='\''$ac_val'\''" 1635 done | sort 1636 echo 1637 fi 1638 1639 if test -s confdefs.h; then 1640 cat <<\_ASBOX 1641@%:@@%:@ ----------- @%:@@%:@ 1642@%:@@%:@ confdefs.h. @%:@@%:@ 1643@%:@@%:@ ----------- @%:@@%:@ 1644_ASBOX 1645 echo 1646 cat confdefs.h 1647 echo 1648 fi 1649 test "$ac_signal" != 0 && 1650 $as_echo "$as_me: caught signal $ac_signal" 1651 $as_echo "$as_me: exit $exit_status" 1652 } >&5 1653 rm -f core *.core core.conftest.* && 1654 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1655 exit $exit_status 1656' 0 1657for ac_signal in 1 2 13 15; do 1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1659done 1660ac_signal=0 1661 1662# confdefs.h avoids OS command line length limits that DEFS can exceed. 1663rm -f -r conftest* confdefs.h 1664 1665# Predefined preprocessor variables. 1666 1667cat >>confdefs.h <<_ACEOF 1668@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1669_ACEOF 1670 1671 1672cat >>confdefs.h <<_ACEOF 1673@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1674_ACEOF 1675 1676 1677cat >>confdefs.h <<_ACEOF 1678@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 1679_ACEOF 1680 1681 1682cat >>confdefs.h <<_ACEOF 1683@%:@define PACKAGE_STRING "$PACKAGE_STRING" 1684_ACEOF 1685 1686 1687cat >>confdefs.h <<_ACEOF 1688@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1689_ACEOF 1690 1691 1692# Let the site file select an alternate cache file if it wants to. 1693# Prefer an explicitly selected file to automatically selected ones. 1694ac_site_file1=NONE 1695ac_site_file2=NONE 1696if test -n "$CONFIG_SITE"; then 1697 ac_site_file1=$CONFIG_SITE 1698elif test "x$prefix" != xNONE; then 1699 ac_site_file1=$prefix/share/config.site 1700 ac_site_file2=$prefix/etc/config.site 1701else 1702 ac_site_file1=$ac_default_prefix/share/config.site 1703 ac_site_file2=$ac_default_prefix/etc/config.site 1704fi 1705for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1706do 1707 test "x$ac_site_file" = xNONE && continue 1708 if test -r "$ac_site_file"; then 1709 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1710$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1711 sed 's/^/| /' "$ac_site_file" >&5 1712 . "$ac_site_file" 1713 fi 1714done 1715 1716if test -r "$cache_file"; then 1717 # Some versions of bash will fail to source /dev/null (special 1718 # files actually), so we avoid doing that. 1719 if test -f "$cache_file"; then 1720 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1721$as_echo "$as_me: loading cache $cache_file" >&6;} 1722 case $cache_file in 1723 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1724 *) . "./$cache_file";; 1725 esac 1726 fi 1727else 1728 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1729$as_echo "$as_me: creating cache $cache_file" >&6;} 1730 >$cache_file 1731fi 1732 1733# Check that the precious variables saved in the cache have kept the same 1734# value. 1735ac_cache_corrupted=false 1736for ac_var in $ac_precious_vars; do 1737 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1738 eval ac_new_set=\$ac_env_${ac_var}_set 1739 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1740 eval ac_new_val=\$ac_env_${ac_var}_value 1741 case $ac_old_set,$ac_new_set in 1742 set,) 1743 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1744$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1745 ac_cache_corrupted=: ;; 1746 ,set) 1747 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1748$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1749 ac_cache_corrupted=: ;; 1750 ,);; 1751 *) 1752 if test "x$ac_old_val" != "x$ac_new_val"; then 1753 # differences in whitespace do not lead to failure. 1754 ac_old_val_w=`echo x $ac_old_val` 1755 ac_new_val_w=`echo x $ac_new_val` 1756 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1757 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1758$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1759 ac_cache_corrupted=: 1760 else 1761 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1762$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1763 eval $ac_var=\$ac_old_val 1764 fi 1765 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1766$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1767 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1768$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1769 fi;; 1770 esac 1771 # Pass precious variables to config.status. 1772 if test "$ac_new_set" = set; then 1773 case $ac_new_val in 1774 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1775 *) ac_arg=$ac_var=$ac_new_val ;; 1776 esac 1777 case " $ac_configure_args " in 1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1780 esac 1781 fi 1782done 1783if $ac_cache_corrupted; then 1784 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1785$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1786 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1787$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1788 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1789$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1790 { (exit 1); exit 1; }; } 1791fi 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817ac_ext=c 1818ac_cpp='$CPP $CPPFLAGS' 1819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1821ac_compiler_gnu=$ac_cv_c_compiler_gnu 1822 1823 1824ac_aux_dir= 1825for ac_dir in config "$srcdir"/config; do 1826 if test -f "$ac_dir/install-sh"; then 1827 ac_aux_dir=$ac_dir 1828 ac_install_sh="$ac_aux_dir/install-sh -c" 1829 break 1830 elif test -f "$ac_dir/install.sh"; then 1831 ac_aux_dir=$ac_dir 1832 ac_install_sh="$ac_aux_dir/install.sh -c" 1833 break 1834 elif test -f "$ac_dir/shtool"; then 1835 ac_aux_dir=$ac_dir 1836 ac_install_sh="$ac_aux_dir/shtool install -c" 1837 break 1838 fi 1839done 1840if test -z "$ac_aux_dir"; then 1841 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 1842$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} 1843 { (exit 1); exit 1; }; } 1844fi 1845 1846# These three variables are undocumented and unsupported, 1847# and are intended to be withdrawn in a future Autoconf release. 1848# They can cause serious problems if a builder's source tree is in a directory 1849# whose full name contains unusual characters. 1850ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1851ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1852ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1853 1854 1855 1856 1857am__api_version='1.10' 1858 1859# Find a good install program. We prefer a C program (faster), 1860# so one script is as good as another. But avoid the broken or 1861# incompatible versions: 1862# SysV /etc/install, /usr/sbin/install 1863# SunOS /usr/etc/install 1864# IRIX /sbin/install 1865# AIX /bin/install 1866# AmigaOS /C/install, which installs bootblocks on floppy discs 1867# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1868# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1869# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1870# OS/2's system install, which has a completely different semantic 1871# ./install, which can be erroneously created by make from ./install.sh. 1872# Reject install programs that cannot install multiple files. 1873{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1874$as_echo_n "checking for a BSD-compatible install... " >&6; } 1875if test -z "$INSTALL"; then 1876if test "${ac_cv_path_install+set}" = set; then 1877 $as_echo_n "(cached) " >&6 1878else 1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1880for as_dir in $PATH 1881do 1882 IFS=$as_save_IFS 1883 test -z "$as_dir" && as_dir=. 1884 # Account for people who put trailing slashes in PATH elements. 1885case $as_dir/ in 1886 ./ | .// | /cC/* | \ 1887 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1888 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1889 /usr/ucb/* ) ;; 1890 *) 1891 # OSF1 and SCO ODT 3.0 have their own names for install. 1892 # Don't use installbsd from OSF since it installs stuff as root 1893 # by default. 1894 for ac_prog in ginstall scoinst install; do 1895 for ac_exec_ext in '' $ac_executable_extensions; do 1896 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1897 if test $ac_prog = install && 1898 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1899 # AIX install. It has an incompatible calling convention. 1900 : 1901 elif test $ac_prog = install && 1902 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1903 # program-specific install script used by HP pwplus--don't use. 1904 : 1905 else 1906 rm -rf conftest.one conftest.two conftest.dir 1907 echo one > conftest.one 1908 echo two > conftest.two 1909 mkdir conftest.dir 1910 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1911 test -s conftest.one && test -s conftest.two && 1912 test -s conftest.dir/conftest.one && 1913 test -s conftest.dir/conftest.two 1914 then 1915 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1916 break 3 1917 fi 1918 fi 1919 fi 1920 done 1921 done 1922 ;; 1923esac 1924 1925done 1926IFS=$as_save_IFS 1927 1928rm -rf conftest.one conftest.two conftest.dir 1929 1930fi 1931 if test "${ac_cv_path_install+set}" = set; then 1932 INSTALL=$ac_cv_path_install 1933 else 1934 # As a last resort, use the slow shell script. Don't cache a 1935 # value for INSTALL within a source directory, because that will 1936 # break other packages using the cache if that directory is 1937 # removed, or if the value is a relative name. 1938 INSTALL=$ac_install_sh 1939 fi 1940fi 1941{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 1942$as_echo "$INSTALL" >&6; } 1943 1944# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1945# It thinks the first close brace ends the variable substitution. 1946test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1947 1948test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1949 1950test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1951 1952{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1953$as_echo_n "checking whether build environment is sane... " >&6; } 1954# Just in case 1955sleep 1 1956echo timestamp > conftest.file 1957# Do `set' in a subshell so we don't clobber the current shell's 1958# arguments. Must try -L first in case configure is actually a 1959# symlink; some systems play weird games with the mod time of symlinks 1960# (eg FreeBSD returns the mod time of the symlink's containing 1961# directory). 1962if ( 1963 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1964 if test "$*" = "X"; then 1965 # -L didn't work. 1966 set X `ls -t $srcdir/configure conftest.file` 1967 fi 1968 rm -f conftest.file 1969 if test "$*" != "X $srcdir/configure conftest.file" \ 1970 && test "$*" != "X conftest.file $srcdir/configure"; then 1971 1972 # If neither matched, then we have a broken ls. This can happen 1973 # if, for instance, CONFIG_SHELL is bash and it inherits a 1974 # broken ls alias from the environment. This has actually 1975 # happened. Such a system could not be considered "sane". 1976 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1977alias in your environment" >&5 1978$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1979alias in your environment" >&2;} 1980 { (exit 1); exit 1; }; } 1981 fi 1982 1983 test "$2" = conftest.file 1984 ) 1985then 1986 # Ok. 1987 : 1988else 1989 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1990Check your system clock" >&5 1991$as_echo "$as_me: error: newly created file is older than distributed files! 1992Check your system clock" >&2;} 1993 { (exit 1); exit 1; }; } 1994fi 1995{ $as_echo "$as_me:$LINENO: result: yes" >&5 1996$as_echo "yes" >&6; } 1997test "$program_prefix" != NONE && 1998 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1999# Use a double $ so make ignores it. 2000test "$program_suffix" != NONE && 2001 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2002# Double any \ or $. 2003# By default was `s,x,x', remove it if useless. 2004ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2005program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2006 2007# expand $ac_aux_dir to an absolute path 2008am_aux_dir=`cd $ac_aux_dir && pwd` 2009 2010test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2011# Use eval to expand $SHELL 2012if eval "$MISSING --run true"; then 2013 am_missing_run="$MISSING --run " 2014else 2015 am_missing_run= 2016 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2017$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2018fi 2019 2020{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2021$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2022if test -z "$MKDIR_P"; then 2023 if test "${ac_cv_path_mkdir+set}" = set; then 2024 $as_echo_n "(cached) " >&6 2025else 2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2027for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2028do 2029 IFS=$as_save_IFS 2030 test -z "$as_dir" && as_dir=. 2031 for ac_prog in mkdir gmkdir; do 2032 for ac_exec_ext in '' $ac_executable_extensions; do 2033 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2034 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2035 'mkdir (GNU coreutils) '* | \ 2036 'mkdir (coreutils) '* | \ 2037 'mkdir (fileutils) '4.1*) 2038 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2039 break 3;; 2040 esac 2041 done 2042 done 2043done 2044IFS=$as_save_IFS 2045 2046fi 2047 2048 if test "${ac_cv_path_mkdir+set}" = set; then 2049 MKDIR_P="$ac_cv_path_mkdir -p" 2050 else 2051 # As a last resort, use the slow shell script. Don't cache a 2052 # value for MKDIR_P within a source directory, because that will 2053 # break other packages using the cache if that directory is 2054 # removed, or if the value is a relative name. 2055 test -d ./--version && rmdir ./--version 2056 MKDIR_P="$ac_install_sh -d" 2057 fi 2058fi 2059{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2060$as_echo "$MKDIR_P" >&6; } 2061 2062mkdir_p="$MKDIR_P" 2063case $mkdir_p in 2064 [\\/$]* | ?:[\\/]*) ;; 2065 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2066esac 2067 2068for ac_prog in gawk mawk nawk awk 2069do 2070 # Extract the first word of "$ac_prog", so it can be a program name with args. 2071set dummy $ac_prog; ac_word=$2 2072{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2073$as_echo_n "checking for $ac_word... " >&6; } 2074if test "${ac_cv_prog_AWK+set}" = set; then 2075 $as_echo_n "(cached) " >&6 2076else 2077 if test -n "$AWK"; then 2078 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2079else 2080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2081for as_dir in $PATH 2082do 2083 IFS=$as_save_IFS 2084 test -z "$as_dir" && as_dir=. 2085 for ac_exec_ext in '' $ac_executable_extensions; do 2086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2087 ac_cv_prog_AWK="$ac_prog" 2088 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2089 break 2 2090 fi 2091done 2092done 2093IFS=$as_save_IFS 2094 2095fi 2096fi 2097AWK=$ac_cv_prog_AWK 2098if test -n "$AWK"; then 2099 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2100$as_echo "$AWK" >&6; } 2101else 2102 { $as_echo "$as_me:$LINENO: result: no" >&5 2103$as_echo "no" >&6; } 2104fi 2105 2106 2107 test -n "$AWK" && break 2108done 2109 2110{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2111$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2112set x ${MAKE-make} 2113ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2114if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2115 $as_echo_n "(cached) " >&6 2116else 2117 cat >conftest.make <<\_ACEOF 2118SHELL = /bin/sh 2119all: 2120 @echo '@@@%%%=$(MAKE)=@@@%%%' 2121_ACEOF 2122# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2123case `${MAKE-make} -f conftest.make 2>/dev/null` in 2124 *@@@%%%=?*=@@@%%%*) 2125 eval ac_cv_prog_make_${ac_make}_set=yes;; 2126 *) 2127 eval ac_cv_prog_make_${ac_make}_set=no;; 2128esac 2129rm -f conftest.make 2130fi 2131if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2132 { $as_echo "$as_me:$LINENO: result: yes" >&5 2133$as_echo "yes" >&6; } 2134 SET_MAKE= 2135else 2136 { $as_echo "$as_me:$LINENO: result: no" >&5 2137$as_echo "no" >&6; } 2138 SET_MAKE="MAKE=${MAKE-make}" 2139fi 2140 2141rm -rf .tst 2>/dev/null 2142mkdir .tst 2>/dev/null 2143if test -d .tst; then 2144 am__leading_dot=. 2145else 2146 am__leading_dot=_ 2147fi 2148rmdir .tst 2>/dev/null 2149 2150if test "`cd $srcdir && pwd`" != "`pwd`"; then 2151 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2152 # is not polluted with repeated "-I." 2153 am__isrc=' -I$(srcdir)' 2154 # test to see if srcdir already configured 2155 if test -f $srcdir/config.status; then 2156 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2157$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2158 { (exit 1); exit 1; }; } 2159 fi 2160fi 2161 2162# test whether we have cygpath 2163if test -z "$CYGPATH_W"; then 2164 if (cygpath --version) >/dev/null 2>/dev/null; then 2165 CYGPATH_W='cygpath -w' 2166 else 2167 CYGPATH_W=echo 2168 fi 2169fi 2170 2171 2172# Define the identity of the package. 2173 PACKAGE=syck 2174 VERSION=0.70 2175 2176 2177cat >>confdefs.h <<_ACEOF 2178@%:@define PACKAGE "$PACKAGE" 2179_ACEOF 2180 2181 2182cat >>confdefs.h <<_ACEOF 2183@%:@define VERSION "$VERSION" 2184_ACEOF 2185 2186# Some tools Automake needs. 2187 2188ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2189 2190 2191AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2192 2193 2194AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2195 2196 2197AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2198 2199 2200MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2201 2202install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2203 2204# Installed binaries are usually stripped using `strip' when the user 2205# run `make install-strip'. However `strip' might not be the right 2206# tool to use in cross-compilation environments, therefore Automake 2207# will honor the `STRIP' environment variable to overrule this program. 2208if test "$cross_compiling" != no; then 2209 if test -n "$ac_tool_prefix"; then 2210 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2211set dummy ${ac_tool_prefix}strip; ac_word=$2 2212{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2213$as_echo_n "checking for $ac_word... " >&6; } 2214if test "${ac_cv_prog_STRIP+set}" = set; then 2215 $as_echo_n "(cached) " >&6 2216else 2217 if test -n "$STRIP"; then 2218 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2219else 2220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2221for as_dir in $PATH 2222do 2223 IFS=$as_save_IFS 2224 test -z "$as_dir" && as_dir=. 2225 for ac_exec_ext in '' $ac_executable_extensions; do 2226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2227 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2228 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2229 break 2 2230 fi 2231done 2232done 2233IFS=$as_save_IFS 2234 2235fi 2236fi 2237STRIP=$ac_cv_prog_STRIP 2238if test -n "$STRIP"; then 2239 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2240$as_echo "$STRIP" >&6; } 2241else 2242 { $as_echo "$as_me:$LINENO: result: no" >&5 2243$as_echo "no" >&6; } 2244fi 2245 2246 2247fi 2248if test -z "$ac_cv_prog_STRIP"; then 2249 ac_ct_STRIP=$STRIP 2250 # Extract the first word of "strip", so it can be a program name with args. 2251set dummy strip; ac_word=$2 2252{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2253$as_echo_n "checking for $ac_word... " >&6; } 2254if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2255 $as_echo_n "(cached) " >&6 2256else 2257 if test -n "$ac_ct_STRIP"; then 2258 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2259else 2260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2261for as_dir in $PATH 2262do 2263 IFS=$as_save_IFS 2264 test -z "$as_dir" && as_dir=. 2265 for ac_exec_ext in '' $ac_executable_extensions; do 2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2267 ac_cv_prog_ac_ct_STRIP="strip" 2268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2269 break 2 2270 fi 2271done 2272done 2273IFS=$as_save_IFS 2274 2275fi 2276fi 2277ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2278if test -n "$ac_ct_STRIP"; then 2279 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2280$as_echo "$ac_ct_STRIP" >&6; } 2281else 2282 { $as_echo "$as_me:$LINENO: result: no" >&5 2283$as_echo "no" >&6; } 2284fi 2285 2286 if test "x$ac_ct_STRIP" = x; then 2287 STRIP=":" 2288 else 2289 case $cross_compiling:$ac_tool_warned in 2290yes:) 2291{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2292$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2293ac_tool_warned=yes ;; 2294esac 2295 STRIP=$ac_ct_STRIP 2296 fi 2297else 2298 STRIP="$ac_cv_prog_STRIP" 2299fi 2300 2301fi 2302INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2303 2304# We need awk for the "check" target. The system "awk" is bad on 2305# some platforms. 2306# Always define AMTAR for backward compatibility. 2307 2308AMTAR=${AMTAR-"${am_missing_run}tar"} 2309 2310am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2311 2312 2313 2314 2315 2316ac_config_headers="$ac_config_headers config.h" 2317 2318 2319# Checks for programs. 2320DEPDIR="${am__leading_dot}deps" 2321 2322ac_config_commands="$ac_config_commands depfiles" 2323 2324 2325am_make=${MAKE-make} 2326cat > confinc << 'END' 2327am__doit: 2328 @echo done 2329.PHONY: am__doit 2330END 2331# If we don't find an include directive, just comment out the code. 2332{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2333$as_echo_n "checking for style of include used by $am_make... " >&6; } 2334am__include="#" 2335am__quote= 2336_am_result=none 2337# First try GNU make style include. 2338echo "include confinc" > confmf 2339# We grep out `Entering directory' and `Leaving directory' 2340# messages which can occur if `w' ends up in MAKEFLAGS. 2341# In particular we don't look at `^make:' because GNU make might 2342# be invoked under some other name (usually "gmake"), in which 2343# case it prints its new name instead of `make'. 2344if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2345 am__include=include 2346 am__quote= 2347 _am_result=GNU 2348fi 2349# Now try BSD make style include. 2350if test "$am__include" = "#"; then 2351 echo '.include "confinc"' > confmf 2352 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2353 am__include=.include 2354 am__quote="\"" 2355 _am_result=BSD 2356 fi 2357fi 2358 2359 2360{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 2361$as_echo "$_am_result" >&6; } 2362rm -f confinc confmf 2363 2364@%:@ Check whether --enable-dependency-tracking was given. 2365if test "${enable_dependency_tracking+set}" = set; then 2366 enableval=$enable_dependency_tracking; 2367fi 2368 2369if test "x$enable_dependency_tracking" != xno; then 2370 am_depcomp="$ac_aux_dir/depcomp" 2371 AMDEPBACKSLASH='\' 2372fi 2373 if test "x$enable_dependency_tracking" != xno; then 2374 AMDEP_TRUE= 2375 AMDEP_FALSE='#' 2376else 2377 AMDEP_TRUE='#' 2378 AMDEP_FALSE= 2379fi 2380 2381 2382ac_ext=c 2383ac_cpp='$CPP $CPPFLAGS' 2384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2386ac_compiler_gnu=$ac_cv_c_compiler_gnu 2387if test -n "$ac_tool_prefix"; then 2388 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2389set dummy ${ac_tool_prefix}gcc; ac_word=$2 2390{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2391$as_echo_n "checking for $ac_word... " >&6; } 2392if test "${ac_cv_prog_CC+set}" = set; then 2393 $as_echo_n "(cached) " >&6 2394else 2395 if test -n "$CC"; then 2396 ac_cv_prog_CC="$CC" # Let the user override the test. 2397else 2398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2399for as_dir in $PATH 2400do 2401 IFS=$as_save_IFS 2402 test -z "$as_dir" && as_dir=. 2403 for ac_exec_ext in '' $ac_executable_extensions; do 2404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2405 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2406 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2407 break 2 2408 fi 2409done 2410done 2411IFS=$as_save_IFS 2412 2413fi 2414fi 2415CC=$ac_cv_prog_CC 2416if test -n "$CC"; then 2417 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2418$as_echo "$CC" >&6; } 2419else 2420 { $as_echo "$as_me:$LINENO: result: no" >&5 2421$as_echo "no" >&6; } 2422fi 2423 2424 2425fi 2426if test -z "$ac_cv_prog_CC"; then 2427 ac_ct_CC=$CC 2428 # Extract the first word of "gcc", so it can be a program name with args. 2429set dummy gcc; ac_word=$2 2430{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2431$as_echo_n "checking for $ac_word... " >&6; } 2432if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2433 $as_echo_n "(cached) " >&6 2434else 2435 if test -n "$ac_ct_CC"; then 2436 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2437else 2438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2439for as_dir in $PATH 2440do 2441 IFS=$as_save_IFS 2442 test -z "$as_dir" && as_dir=. 2443 for ac_exec_ext in '' $ac_executable_extensions; do 2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2445 ac_cv_prog_ac_ct_CC="gcc" 2446 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2447 break 2 2448 fi 2449done 2450done 2451IFS=$as_save_IFS 2452 2453fi 2454fi 2455ac_ct_CC=$ac_cv_prog_ac_ct_CC 2456if test -n "$ac_ct_CC"; then 2457 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2458$as_echo "$ac_ct_CC" >&6; } 2459else 2460 { $as_echo "$as_me:$LINENO: result: no" >&5 2461$as_echo "no" >&6; } 2462fi 2463 2464 if test "x$ac_ct_CC" = x; then 2465 CC="" 2466 else 2467 case $cross_compiling:$ac_tool_warned in 2468yes:) 2469{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2470$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2471ac_tool_warned=yes ;; 2472esac 2473 CC=$ac_ct_CC 2474 fi 2475else 2476 CC="$ac_cv_prog_CC" 2477fi 2478 2479if test -z "$CC"; then 2480 if test -n "$ac_tool_prefix"; then 2481 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2482set dummy ${ac_tool_prefix}cc; ac_word=$2 2483{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2484$as_echo_n "checking for $ac_word... " >&6; } 2485if test "${ac_cv_prog_CC+set}" = set; then 2486 $as_echo_n "(cached) " >&6 2487else 2488 if test -n "$CC"; then 2489 ac_cv_prog_CC="$CC" # Let the user override the test. 2490else 2491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2492for as_dir in $PATH 2493do 2494 IFS=$as_save_IFS 2495 test -z "$as_dir" && as_dir=. 2496 for ac_exec_ext in '' $ac_executable_extensions; do 2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2498 ac_cv_prog_CC="${ac_tool_prefix}cc" 2499 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2500 break 2 2501 fi 2502done 2503done 2504IFS=$as_save_IFS 2505 2506fi 2507fi 2508CC=$ac_cv_prog_CC 2509if test -n "$CC"; then 2510 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2511$as_echo "$CC" >&6; } 2512else 2513 { $as_echo "$as_me:$LINENO: result: no" >&5 2514$as_echo "no" >&6; } 2515fi 2516 2517 2518 fi 2519fi 2520if test -z "$CC"; then 2521 # Extract the first word of "cc", so it can be a program name with args. 2522set dummy cc; ac_word=$2 2523{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2524$as_echo_n "checking for $ac_word... " >&6; } 2525if test "${ac_cv_prog_CC+set}" = set; then 2526 $as_echo_n "(cached) " >&6 2527else 2528 if test -n "$CC"; then 2529 ac_cv_prog_CC="$CC" # Let the user override the test. 2530else 2531 ac_prog_rejected=no 2532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2533for as_dir in $PATH 2534do 2535 IFS=$as_save_IFS 2536 test -z "$as_dir" && as_dir=. 2537 for ac_exec_ext in '' $ac_executable_extensions; do 2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2539 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2540 ac_prog_rejected=yes 2541 continue 2542 fi 2543 ac_cv_prog_CC="cc" 2544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2545 break 2 2546 fi 2547done 2548done 2549IFS=$as_save_IFS 2550 2551if test $ac_prog_rejected = yes; then 2552 # We found a bogon in the path, so make sure we never use it. 2553 set dummy $ac_cv_prog_CC 2554 shift 2555 if test $@%:@ != 0; then 2556 # We chose a different compiler from the bogus one. 2557 # However, it has the same basename, so the bogon will be chosen 2558 # first if we set CC to just the basename; use the full file name. 2559 shift 2560 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2561 fi 2562fi 2563fi 2564fi 2565CC=$ac_cv_prog_CC 2566if test -n "$CC"; then 2567 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2568$as_echo "$CC" >&6; } 2569else 2570 { $as_echo "$as_me:$LINENO: result: no" >&5 2571$as_echo "no" >&6; } 2572fi 2573 2574 2575fi 2576if test -z "$CC"; then 2577 if test -n "$ac_tool_prefix"; then 2578 for ac_prog in cl.exe 2579 do 2580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2581set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2582{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2583$as_echo_n "checking for $ac_word... " >&6; } 2584if test "${ac_cv_prog_CC+set}" = set; then 2585 $as_echo_n "(cached) " >&6 2586else 2587 if test -n "$CC"; then 2588 ac_cv_prog_CC="$CC" # Let the user override the test. 2589else 2590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2591for as_dir in $PATH 2592do 2593 IFS=$as_save_IFS 2594 test -z "$as_dir" && as_dir=. 2595 for ac_exec_ext in '' $ac_executable_extensions; do 2596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2597 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2598 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2599 break 2 2600 fi 2601done 2602done 2603IFS=$as_save_IFS 2604 2605fi 2606fi 2607CC=$ac_cv_prog_CC 2608if test -n "$CC"; then 2609 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2610$as_echo "$CC" >&6; } 2611else 2612 { $as_echo "$as_me:$LINENO: result: no" >&5 2613$as_echo "no" >&6; } 2614fi 2615 2616 2617 test -n "$CC" && break 2618 done 2619fi 2620if test -z "$CC"; then 2621 ac_ct_CC=$CC 2622 for ac_prog in cl.exe 2623do 2624 # Extract the first word of "$ac_prog", so it can be a program name with args. 2625set dummy $ac_prog; ac_word=$2 2626{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2627$as_echo_n "checking for $ac_word... " >&6; } 2628if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2629 $as_echo_n "(cached) " >&6 2630else 2631 if test -n "$ac_ct_CC"; then 2632 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2633else 2634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2635for as_dir in $PATH 2636do 2637 IFS=$as_save_IFS 2638 test -z "$as_dir" && as_dir=. 2639 for ac_exec_ext in '' $ac_executable_extensions; do 2640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2641 ac_cv_prog_ac_ct_CC="$ac_prog" 2642 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2643 break 2 2644 fi 2645done 2646done 2647IFS=$as_save_IFS 2648 2649fi 2650fi 2651ac_ct_CC=$ac_cv_prog_ac_ct_CC 2652if test -n "$ac_ct_CC"; then 2653 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2654$as_echo "$ac_ct_CC" >&6; } 2655else 2656 { $as_echo "$as_me:$LINENO: result: no" >&5 2657$as_echo "no" >&6; } 2658fi 2659 2660 2661 test -n "$ac_ct_CC" && break 2662done 2663 2664 if test "x$ac_ct_CC" = x; then 2665 CC="" 2666 else 2667 case $cross_compiling:$ac_tool_warned in 2668yes:) 2669{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2671ac_tool_warned=yes ;; 2672esac 2673 CC=$ac_ct_CC 2674 fi 2675fi 2676 2677fi 2678 2679 2680test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2681$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2682{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2683See \`config.log' for more details." >&5 2684$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2685See \`config.log' for more details." >&2;} 2686 { (exit 1); exit 1; }; }; } 2687 2688# Provide some information about the compiler. 2689$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2690set X $ac_compile 2691ac_compiler=$2 2692{ (ac_try="$ac_compiler --version >&5" 2693case "(($ac_try" in 2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2695 *) ac_try_echo=$ac_try;; 2696esac 2697eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2698$as_echo "$ac_try_echo") >&5 2699 (eval "$ac_compiler --version >&5") 2>&5 2700 ac_status=$? 2701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2702 (exit $ac_status); } 2703{ (ac_try="$ac_compiler -v >&5" 2704case "(($ac_try" in 2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2706 *) ac_try_echo=$ac_try;; 2707esac 2708eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2709$as_echo "$ac_try_echo") >&5 2710 (eval "$ac_compiler -v >&5") 2>&5 2711 ac_status=$? 2712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2713 (exit $ac_status); } 2714{ (ac_try="$ac_compiler -V >&5" 2715case "(($ac_try" in 2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2717 *) ac_try_echo=$ac_try;; 2718esac 2719eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2720$as_echo "$ac_try_echo") >&5 2721 (eval "$ac_compiler -V >&5") 2>&5 2722 ac_status=$? 2723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2724 (exit $ac_status); } 2725 2726cat >conftest.$ac_ext <<_ACEOF 2727/* confdefs.h. */ 2728_ACEOF 2729cat confdefs.h >>conftest.$ac_ext 2730cat >>conftest.$ac_ext <<_ACEOF 2731/* end confdefs.h. */ 2732 2733int 2734main () 2735{ 2736 2737 ; 2738 return 0; 2739} 2740_ACEOF 2741ac_clean_files_save=$ac_clean_files 2742ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2743# Try to create an executable without -o first, disregard a.out. 2744# It will help us diagnose broken compilers, and finding out an intuition 2745# of exeext. 2746{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2747$as_echo_n "checking for C compiler default output file name... " >&6; } 2748ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2749 2750# The possible output files: 2751ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2752 2753ac_rmfiles= 2754for ac_file in $ac_files 2755do 2756 case $ac_file in 2757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2758 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2759 esac 2760done 2761rm -f $ac_rmfiles 2762 2763if { (ac_try="$ac_link_default" 2764case "(($ac_try" in 2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2766 *) ac_try_echo=$ac_try;; 2767esac 2768eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2769$as_echo "$ac_try_echo") >&5 2770 (eval "$ac_link_default") 2>&5 2771 ac_status=$? 2772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2773 (exit $ac_status); }; then 2774 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2775# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2776# in a Makefile. We should not override ac_cv_exeext if it was cached, 2777# so that the user can short-circuit this test for compilers unknown to 2778# Autoconf. 2779for ac_file in $ac_files '' 2780do 2781 test -f "$ac_file" || continue 2782 case $ac_file in 2783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2784 ;; 2785 [ab].out ) 2786 # We found the default executable, but exeext='' is most 2787 # certainly right. 2788 break;; 2789 *.* ) 2790 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2791 then :; else 2792 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2793 fi 2794 # We set ac_cv_exeext here because the later test for it is not 2795 # safe: cross compilers may not add the suffix if given an `-o' 2796 # argument, so we may need to know it at that point already. 2797 # Even if this section looks crufty: it has the advantage of 2798 # actually working. 2799 break;; 2800 * ) 2801 break;; 2802 esac 2803done 2804test "$ac_cv_exeext" = no && ac_cv_exeext= 2805 2806else 2807 ac_file='' 2808fi 2809 2810{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2811$as_echo "$ac_file" >&6; } 2812if test -z "$ac_file"; then 2813 $as_echo "$as_me: failed program was:" >&5 2814sed 's/^/| /' conftest.$ac_ext >&5 2815 2816{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2817$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2818{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2819See \`config.log' for more details." >&5 2820$as_echo "$as_me: error: C compiler cannot create executables 2821See \`config.log' for more details." >&2;} 2822 { (exit 77); exit 77; }; }; } 2823fi 2824 2825ac_exeext=$ac_cv_exeext 2826 2827# Check that the compiler produces executables we can run. If not, either 2828# the compiler is broken, or we cross compile. 2829{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2830$as_echo_n "checking whether the C compiler works... " >&6; } 2831# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2832# If not cross compiling, check that we can run a simple program. 2833if test "$cross_compiling" != yes; then 2834 if { ac_try='./$ac_file' 2835 { (case "(($ac_try" in 2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2837 *) ac_try_echo=$ac_try;; 2838esac 2839eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2840$as_echo "$ac_try_echo") >&5 2841 (eval "$ac_try") 2>&5 2842 ac_status=$? 2843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2844 (exit $ac_status); }; }; then 2845 cross_compiling=no 2846 else 2847 if test "$cross_compiling" = maybe; then 2848 cross_compiling=yes 2849 else 2850 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2851$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2852{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2853If you meant to cross compile, use \`--host'. 2854See \`config.log' for more details." >&5 2855$as_echo "$as_me: error: cannot run C compiled programs. 2856If you meant to cross compile, use \`--host'. 2857See \`config.log' for more details." >&2;} 2858 { (exit 1); exit 1; }; }; } 2859 fi 2860 fi 2861fi 2862{ $as_echo "$as_me:$LINENO: result: yes" >&5 2863$as_echo "yes" >&6; } 2864 2865rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2866ac_clean_files=$ac_clean_files_save 2867# Check that the compiler produces executables we can run. If not, either 2868# the compiler is broken, or we cross compile. 2869{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2870$as_echo_n "checking whether we are cross compiling... " >&6; } 2871{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2872$as_echo "$cross_compiling" >&6; } 2873 2874{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2875$as_echo_n "checking for suffix of executables... " >&6; } 2876if { (ac_try="$ac_link" 2877case "(($ac_try" in 2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2879 *) ac_try_echo=$ac_try;; 2880esac 2881eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2882$as_echo "$ac_try_echo") >&5 2883 (eval "$ac_link") 2>&5 2884 ac_status=$? 2885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2886 (exit $ac_status); }; then 2887 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2888# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2889# work properly (i.e., refer to `conftest.exe'), while it won't with 2890# `rm'. 2891for ac_file in conftest.exe conftest conftest.*; do 2892 test -f "$ac_file" || continue 2893 case $ac_file in 2894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2895 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2896 break;; 2897 * ) break;; 2898 esac 2899done 2900else 2901 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2903{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2904See \`config.log' for more details." >&5 2905$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2906See \`config.log' for more details." >&2;} 2907 { (exit 1); exit 1; }; }; } 2908fi 2909 2910rm -f conftest$ac_cv_exeext 2911{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2912$as_echo "$ac_cv_exeext" >&6; } 2913 2914rm -f conftest.$ac_ext 2915EXEEXT=$ac_cv_exeext 2916ac_exeext=$EXEEXT 2917{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2918$as_echo_n "checking for suffix of object files... " >&6; } 2919if test "${ac_cv_objext+set}" = set; then 2920 $as_echo_n "(cached) " >&6 2921else 2922 cat >conftest.$ac_ext <<_ACEOF 2923/* confdefs.h. */ 2924_ACEOF 2925cat confdefs.h >>conftest.$ac_ext 2926cat >>conftest.$ac_ext <<_ACEOF 2927/* end confdefs.h. */ 2928 2929int 2930main () 2931{ 2932 2933 ; 2934 return 0; 2935} 2936_ACEOF 2937rm -f conftest.o conftest.obj 2938if { (ac_try="$ac_compile" 2939case "(($ac_try" in 2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2941 *) ac_try_echo=$ac_try;; 2942esac 2943eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2944$as_echo "$ac_try_echo") >&5 2945 (eval "$ac_compile") 2>&5 2946 ac_status=$? 2947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948 (exit $ac_status); }; then 2949 for ac_file in conftest.o conftest.obj conftest.*; do 2950 test -f "$ac_file" || continue; 2951 case $ac_file in 2952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2953 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2954 break;; 2955 esac 2956done 2957else 2958 $as_echo "$as_me: failed program was:" >&5 2959sed 's/^/| /' conftest.$ac_ext >&5 2960 2961{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2962$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2963{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2964See \`config.log' for more details." >&5 2965$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2966See \`config.log' for more details." >&2;} 2967 { (exit 1); exit 1; }; }; } 2968fi 2969 2970rm -f conftest.$ac_cv_objext conftest.$ac_ext 2971fi 2972{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2973$as_echo "$ac_cv_objext" >&6; } 2974OBJEXT=$ac_cv_objext 2975ac_objext=$OBJEXT 2976{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2977$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2978if test "${ac_cv_c_compiler_gnu+set}" = set; then 2979 $as_echo_n "(cached) " >&6 2980else 2981 cat >conftest.$ac_ext <<_ACEOF 2982/* confdefs.h. */ 2983_ACEOF 2984cat confdefs.h >>conftest.$ac_ext 2985cat >>conftest.$ac_ext <<_ACEOF 2986/* end confdefs.h. */ 2987 2988int 2989main () 2990{ 2991#ifndef __GNUC__ 2992 choke me 2993#endif 2994 2995 ; 2996 return 0; 2997} 2998_ACEOF 2999rm -f conftest.$ac_objext 3000if { (ac_try="$ac_compile" 3001case "(($ac_try" in 3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3003 *) ac_try_echo=$ac_try;; 3004esac 3005eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3006$as_echo "$ac_try_echo") >&5 3007 (eval "$ac_compile") 2>conftest.er1 3008 ac_status=$? 3009 grep -v '^ *+' conftest.er1 >conftest.err 3010 rm -f conftest.er1 3011 cat conftest.err >&5 3012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3013 (exit $ac_status); } && { 3014 test -z "$ac_c_werror_flag" || 3015 test ! -s conftest.err 3016 } && test -s conftest.$ac_objext; then 3017 ac_compiler_gnu=yes 3018else 3019 $as_echo "$as_me: failed program was:" >&5 3020sed 's/^/| /' conftest.$ac_ext >&5 3021 3022 ac_compiler_gnu=no 3023fi 3024 3025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3026ac_cv_c_compiler_gnu=$ac_compiler_gnu 3027 3028fi 3029{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3030$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3031if test $ac_compiler_gnu = yes; then 3032 GCC=yes 3033else 3034 GCC= 3035fi 3036ac_test_CFLAGS=${CFLAGS+set} 3037ac_save_CFLAGS=$CFLAGS 3038{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3039$as_echo_n "checking whether $CC accepts -g... " >&6; } 3040if test "${ac_cv_prog_cc_g+set}" = set; then 3041 $as_echo_n "(cached) " >&6 3042else 3043 ac_save_c_werror_flag=$ac_c_werror_flag 3044 ac_c_werror_flag=yes 3045 ac_cv_prog_cc_g=no 3046 CFLAGS="-g" 3047 cat >conftest.$ac_ext <<_ACEOF 3048/* confdefs.h. */ 3049_ACEOF 3050cat confdefs.h >>conftest.$ac_ext 3051cat >>conftest.$ac_ext <<_ACEOF 3052/* end confdefs.h. */ 3053 3054int 3055main () 3056{ 3057 3058 ; 3059 return 0; 3060} 3061_ACEOF 3062rm -f conftest.$ac_objext 3063if { (ac_try="$ac_compile" 3064case "(($ac_try" in 3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3066 *) ac_try_echo=$ac_try;; 3067esac 3068eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3069$as_echo "$ac_try_echo") >&5 3070 (eval "$ac_compile") 2>conftest.er1 3071 ac_status=$? 3072 grep -v '^ *+' conftest.er1 >conftest.err 3073 rm -f conftest.er1 3074 cat conftest.err >&5 3075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3076 (exit $ac_status); } && { 3077 test -z "$ac_c_werror_flag" || 3078 test ! -s conftest.err 3079 } && test -s conftest.$ac_objext; then 3080 ac_cv_prog_cc_g=yes 3081else 3082 $as_echo "$as_me: failed program was:" >&5 3083sed 's/^/| /' conftest.$ac_ext >&5 3084 3085 CFLAGS="" 3086 cat >conftest.$ac_ext <<_ACEOF 3087/* confdefs.h. */ 3088_ACEOF 3089cat confdefs.h >>conftest.$ac_ext 3090cat >>conftest.$ac_ext <<_ACEOF 3091/* end confdefs.h. */ 3092 3093int 3094main () 3095{ 3096 3097 ; 3098 return 0; 3099} 3100_ACEOF 3101rm -f conftest.$ac_objext 3102if { (ac_try="$ac_compile" 3103case "(($ac_try" in 3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3105 *) ac_try_echo=$ac_try;; 3106esac 3107eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3108$as_echo "$ac_try_echo") >&5 3109 (eval "$ac_compile") 2>conftest.er1 3110 ac_status=$? 3111 grep -v '^ *+' conftest.er1 >conftest.err 3112 rm -f conftest.er1 3113 cat conftest.err >&5 3114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3115 (exit $ac_status); } && { 3116 test -z "$ac_c_werror_flag" || 3117 test ! -s conftest.err 3118 } && test -s conftest.$ac_objext; then 3119 : 3120else 3121 $as_echo "$as_me: failed program was:" >&5 3122sed 's/^/| /' conftest.$ac_ext >&5 3123 3124 ac_c_werror_flag=$ac_save_c_werror_flag 3125 CFLAGS="-g" 3126 cat >conftest.$ac_ext <<_ACEOF 3127/* confdefs.h. */ 3128_ACEOF 3129cat confdefs.h >>conftest.$ac_ext 3130cat >>conftest.$ac_ext <<_ACEOF 3131/* end confdefs.h. */ 3132 3133int 3134main () 3135{ 3136 3137 ; 3138 return 0; 3139} 3140_ACEOF 3141rm -f conftest.$ac_objext 3142if { (ac_try="$ac_compile" 3143case "(($ac_try" in 3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3145 *) ac_try_echo=$ac_try;; 3146esac 3147eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3148$as_echo "$ac_try_echo") >&5 3149 (eval "$ac_compile") 2>conftest.er1 3150 ac_status=$? 3151 grep -v '^ *+' conftest.er1 >conftest.err 3152 rm -f conftest.er1 3153 cat conftest.err >&5 3154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3155 (exit $ac_status); } && { 3156 test -z "$ac_c_werror_flag" || 3157 test ! -s conftest.err 3158 } && test -s conftest.$ac_objext; then 3159 ac_cv_prog_cc_g=yes 3160else 3161 $as_echo "$as_me: failed program was:" >&5 3162sed 's/^/| /' conftest.$ac_ext >&5 3163 3164 3165fi 3166 3167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3168fi 3169 3170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3171fi 3172 3173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3174 ac_c_werror_flag=$ac_save_c_werror_flag 3175fi 3176{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3177$as_echo "$ac_cv_prog_cc_g" >&6; } 3178if test "$ac_test_CFLAGS" = set; then 3179 CFLAGS=$ac_save_CFLAGS 3180elif test $ac_cv_prog_cc_g = yes; then 3181 if test "$GCC" = yes; then 3182 CFLAGS="-g -O2" 3183 else 3184 CFLAGS="-g" 3185 fi 3186else 3187 if test "$GCC" = yes; then 3188 CFLAGS="-O2" 3189 else 3190 CFLAGS= 3191 fi 3192fi 3193{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3194$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3195if test "${ac_cv_prog_cc_c89+set}" = set; then 3196 $as_echo_n "(cached) " >&6 3197else 3198 ac_cv_prog_cc_c89=no 3199ac_save_CC=$CC 3200cat >conftest.$ac_ext <<_ACEOF 3201/* confdefs.h. */ 3202_ACEOF 3203cat confdefs.h >>conftest.$ac_ext 3204cat >>conftest.$ac_ext <<_ACEOF 3205/* end confdefs.h. */ 3206#include <stdarg.h> 3207#include <stdio.h> 3208#include <sys/types.h> 3209#include <sys/stat.h> 3210/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3211struct buf { int x; }; 3212FILE * (*rcsopen) (struct buf *, struct stat *, int); 3213static char *e (p, i) 3214 char **p; 3215 int i; 3216{ 3217 return p[i]; 3218} 3219static char *f (char * (*g) (char **, int), char **p, ...) 3220{ 3221 char *s; 3222 va_list v; 3223 va_start (v,p); 3224 s = g (p, va_arg (v,int)); 3225 va_end (v); 3226 return s; 3227} 3228 3229/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3230 function prototypes and stuff, but not '\xHH' hex character constants. 3231 These don't provoke an error unfortunately, instead are silently treated 3232 as 'x'. The following induces an error, until -std is added to get 3233 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3234 array size at least. It's necessary to write '\x00'==0 to get something 3235 that's true only with -std. */ 3236int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3237 3238/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3239 inside strings and character constants. */ 3240#define FOO(x) 'x' 3241int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3242 3243int test (int i, double x); 3244struct s1 {int (*f) (int a);}; 3245struct s2 {int (*f) (double a);}; 3246int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3247int argc; 3248char **argv; 3249int 3250main () 3251{ 3252return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3253 ; 3254 return 0; 3255} 3256_ACEOF 3257for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3258 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3259do 3260 CC="$ac_save_CC $ac_arg" 3261 rm -f conftest.$ac_objext 3262if { (ac_try="$ac_compile" 3263case "(($ac_try" in 3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3265 *) ac_try_echo=$ac_try;; 3266esac 3267eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3268$as_echo "$ac_try_echo") >&5 3269 (eval "$ac_compile") 2>conftest.er1 3270 ac_status=$? 3271 grep -v '^ *+' conftest.er1 >conftest.err 3272 rm -f conftest.er1 3273 cat conftest.err >&5 3274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3275 (exit $ac_status); } && { 3276 test -z "$ac_c_werror_flag" || 3277 test ! -s conftest.err 3278 } && test -s conftest.$ac_objext; then 3279 ac_cv_prog_cc_c89=$ac_arg 3280else 3281 $as_echo "$as_me: failed program was:" >&5 3282sed 's/^/| /' conftest.$ac_ext >&5 3283 3284 3285fi 3286 3287rm -f core conftest.err conftest.$ac_objext 3288 test "x$ac_cv_prog_cc_c89" != "xno" && break 3289done 3290rm -f conftest.$ac_ext 3291CC=$ac_save_CC 3292 3293fi 3294# AC_CACHE_VAL 3295case "x$ac_cv_prog_cc_c89" in 3296 x) 3297 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3298$as_echo "none needed" >&6; } ;; 3299 xno) 3300 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3301$as_echo "unsupported" >&6; } ;; 3302 *) 3303 CC="$CC $ac_cv_prog_cc_c89" 3304 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3305$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3306esac 3307 3308 3309ac_ext=c 3310ac_cpp='$CPP $CPPFLAGS' 3311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3313ac_compiler_gnu=$ac_cv_c_compiler_gnu 3314 3315depcc="$CC" am_compiler_list= 3316 3317{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3318$as_echo_n "checking dependency style of $depcc... " >&6; } 3319if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3320 $as_echo_n "(cached) " >&6 3321else 3322 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3323 # We make a subdir and do the tests there. Otherwise we can end up 3324 # making bogus files that we don't know about and never remove. For 3325 # instance it was reported that on HP-UX the gcc test will end up 3326 # making a dummy file named `D' -- because `-MD' means `put the output 3327 # in D'. 3328 mkdir conftest.dir 3329 # Copy depcomp to subdir because otherwise we won't find it if we're 3330 # using a relative directory. 3331 cp "$am_depcomp" conftest.dir 3332 cd conftest.dir 3333 # We will build objects and dependencies in a subdirectory because 3334 # it helps to detect inapplicable dependency modes. For instance 3335 # both Tru64's cc and ICC support -MD to output dependencies as a 3336 # side effect of compilation, but ICC will put the dependencies in 3337 # the current directory while Tru64 will put them in the object 3338 # directory. 3339 mkdir sub 3340 3341 am_cv_CC_dependencies_compiler_type=none 3342 if test "$am_compiler_list" = ""; then 3343 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3344 fi 3345 for depmode in $am_compiler_list; do 3346 # Setup a source with many dependencies, because some compilers 3347 # like to wrap large dependency lists on column 80 (with \), and 3348 # we should not choose a depcomp mode which is confused by this. 3349 # 3350 # We need to recreate these files for each test, as the compiler may 3351 # overwrite some of them when testing with obscure command lines. 3352 # This happens at least with the AIX C compiler. 3353 : > sub/conftest.c 3354 for i in 1 2 3 4 5 6; do 3355 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3356 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3357 # Solaris 8's {/usr,}/bin/sh. 3358 touch sub/conftst$i.h 3359 done 3360 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3361 3362 case $depmode in 3363 nosideeffect) 3364 # after this tag, mechanisms are not by side-effect, so they'll 3365 # only be used when explicitly requested 3366 if test "x$enable_dependency_tracking" = xyes; then 3367 continue 3368 else 3369 break 3370 fi 3371 ;; 3372 none) break ;; 3373 esac 3374 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3375 # mode. It turns out that the SunPro C++ compiler does not properly 3376 # handle `-M -o', and we need to detect this. 3377 if depmode=$depmode \ 3378 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3379 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3380 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3381 >/dev/null 2>conftest.err && 3382 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3383 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3384 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3385 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3386 # icc doesn't choke on unknown options, it will just issue warnings 3387 # or remarks (even with -Werror). So we grep stderr for any message 3388 # that says an option was ignored or not supported. 3389 # When given -MP, icc 7.0 and 7.1 complain thusly: 3390 # icc: Command line warning: ignoring option '-M'; no argument required 3391 # The diagnosis changed in icc 8.0: 3392 # icc: Command line remark: option '-MP' not supported 3393 if (grep 'ignoring option' conftest.err || 3394 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3395 am_cv_CC_dependencies_compiler_type=$depmode 3396 break 3397 fi 3398 fi 3399 done 3400 3401 cd .. 3402 rm -rf conftest.dir 3403else 3404 am_cv_CC_dependencies_compiler_type=none 3405fi 3406 3407fi 3408{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3409$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3410CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3411 3412 if 3413 test "x$enable_dependency_tracking" != xno \ 3414 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3415 am__fastdepCC_TRUE= 3416 am__fastdepCC_FALSE='#' 3417else 3418 am__fastdepCC_TRUE='#' 3419 am__fastdepCC_FALSE= 3420fi 3421 3422 3423 case $ac_cv_prog_cc_stdc in 3424 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; 3425 *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 3426$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3427if test "${ac_cv_prog_cc_c99+set}" = set; then 3428 $as_echo_n "(cached) " >&6 3429else 3430 ac_cv_prog_cc_c99=no 3431ac_save_CC=$CC 3432cat >conftest.$ac_ext <<_ACEOF 3433/* confdefs.h. */ 3434_ACEOF 3435cat confdefs.h >>conftest.$ac_ext 3436cat >>conftest.$ac_ext <<_ACEOF 3437/* end confdefs.h. */ 3438#include <stdarg.h> 3439#include <stdbool.h> 3440#include <stdlib.h> 3441#include <wchar.h> 3442#include <stdio.h> 3443 3444// Check varargs macros. These examples are taken from C99 6.10.3.5. 3445#define debug(...) fprintf (stderr, __VA_ARGS__) 3446#define showlist(...) puts (#__VA_ARGS__) 3447#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3448static void 3449test_varargs_macros (void) 3450{ 3451 int x = 1234; 3452 int y = 5678; 3453 debug ("Flag"); 3454 debug ("X = %d\n", x); 3455 showlist (The first, second, and third items.); 3456 report (x>y, "x is %d but y is %d", x, y); 3457} 3458 3459// Check long long types. 3460#define BIG64 18446744073709551615ull 3461#define BIG32 4294967295ul 3462#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3463#if !BIG_OK 3464 your preprocessor is broken; 3465#endif 3466#if BIG_OK 3467#else 3468 your preprocessor is broken; 3469#endif 3470static long long int bignum = -9223372036854775807LL; 3471static unsigned long long int ubignum = BIG64; 3472 3473struct incomplete_array 3474{ 3475 int datasize; 3476 double data[]; 3477}; 3478 3479struct named_init { 3480 int number; 3481 const wchar_t *name; 3482 double average; 3483}; 3484 3485typedef const char *ccp; 3486 3487static inline int 3488test_restrict (ccp restrict text) 3489{ 3490 // See if C++-style comments work. 3491 // Iterate through items via the restricted pointer. 3492 // Also check for declarations in for loops. 3493 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3494 continue; 3495 return 0; 3496} 3497 3498// Check varargs and va_copy. 3499static void 3500test_varargs (const char *format, ...) 3501{ 3502 va_list args; 3503 va_start (args, format); 3504 va_list args_copy; 3505 va_copy (args_copy, args); 3506 3507 const char *str; 3508 int number; 3509 float fnumber; 3510 3511 while (*format) 3512 { 3513 switch (*format++) 3514 { 3515 case 's': // string 3516 str = va_arg (args_copy, const char *); 3517 break; 3518 case 'd': // int 3519 number = va_arg (args_copy, int); 3520 break; 3521 case 'f': // float 3522 fnumber = va_arg (args_copy, double); 3523 break; 3524 default: 3525 break; 3526 } 3527 } 3528 va_end (args_copy); 3529 va_end (args); 3530} 3531 3532int 3533main () 3534{ 3535 3536 // Check bool. 3537 _Bool success = false; 3538 3539 // Check restrict. 3540 if (test_restrict ("String literal") == 0) 3541 success = true; 3542 char *restrict newvar = "Another string"; 3543 3544 // Check varargs. 3545 test_varargs ("s, d' f .", "string", 65, 34.234); 3546 test_varargs_macros (); 3547 3548 // Check flexible array members. 3549 struct incomplete_array *ia = 3550 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3551 ia->datasize = 10; 3552 for (int i = 0; i < ia->datasize; ++i) 3553 ia->data[i] = i * 1.234; 3554 3555 // Check named initializers. 3556 struct named_init ni = { 3557 .number = 34, 3558 .name = L"Test wide string", 3559 .average = 543.34343, 3560 }; 3561 3562 ni.number = 58; 3563 3564 int dynamic_array[ni.number]; 3565 dynamic_array[ni.number - 1] = 543; 3566 3567 // work around unused variable warnings 3568 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3569 || dynamic_array[ni.number - 1] != 543); 3570 3571 ; 3572 return 0; 3573} 3574_ACEOF 3575for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3576do 3577 CC="$ac_save_CC $ac_arg" 3578 rm -f conftest.$ac_objext 3579if { (ac_try="$ac_compile" 3580case "(($ac_try" in 3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3582 *) ac_try_echo=$ac_try;; 3583esac 3584eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3585$as_echo "$ac_try_echo") >&5 3586 (eval "$ac_compile") 2>conftest.er1 3587 ac_status=$? 3588 grep -v '^ *+' conftest.er1 >conftest.err 3589 rm -f conftest.er1 3590 cat conftest.err >&5 3591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3592 (exit $ac_status); } && { 3593 test -z "$ac_c_werror_flag" || 3594 test ! -s conftest.err 3595 } && test -s conftest.$ac_objext; then 3596 ac_cv_prog_cc_c99=$ac_arg 3597else 3598 $as_echo "$as_me: failed program was:" >&5 3599sed 's/^/| /' conftest.$ac_ext >&5 3600 3601 3602fi 3603 3604rm -f core conftest.err conftest.$ac_objext 3605 test "x$ac_cv_prog_cc_c99" != "xno" && break 3606done 3607rm -f conftest.$ac_ext 3608CC=$ac_save_CC 3609 3610fi 3611# AC_CACHE_VAL 3612case "x$ac_cv_prog_cc_c99" in 3613 x) 3614 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3615$as_echo "none needed" >&6; } ;; 3616 xno) 3617 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3618$as_echo "unsupported" >&6; } ;; 3619 *) 3620 CC="$CC $ac_cv_prog_cc_c99" 3621 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 3622$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3623esac 3624if test "x$ac_cv_prog_cc_c99" != xno; then 3625 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 3626else 3627 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3628$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3629if test "${ac_cv_prog_cc_c89+set}" = set; then 3630 $as_echo_n "(cached) " >&6 3631else 3632 ac_cv_prog_cc_c89=no 3633ac_save_CC=$CC 3634cat >conftest.$ac_ext <<_ACEOF 3635/* confdefs.h. */ 3636_ACEOF 3637cat confdefs.h >>conftest.$ac_ext 3638cat >>conftest.$ac_ext <<_ACEOF 3639/* end confdefs.h. */ 3640#include <stdarg.h> 3641#include <stdio.h> 3642#include <sys/types.h> 3643#include <sys/stat.h> 3644/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3645struct buf { int x; }; 3646FILE * (*rcsopen) (struct buf *, struct stat *, int); 3647static char *e (p, i) 3648 char **p; 3649 int i; 3650{ 3651 return p[i]; 3652} 3653static char *f (char * (*g) (char **, int), char **p, ...) 3654{ 3655 char *s; 3656 va_list v; 3657 va_start (v,p); 3658 s = g (p, va_arg (v,int)); 3659 va_end (v); 3660 return s; 3661} 3662 3663/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3664 function prototypes and stuff, but not '\xHH' hex character constants. 3665 These don't provoke an error unfortunately, instead are silently treated 3666 as 'x'. The following induces an error, until -std is added to get 3667 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3668 array size at least. It's necessary to write '\x00'==0 to get something 3669 that's true only with -std. */ 3670int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3671 3672/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3673 inside strings and character constants. */ 3674#define FOO(x) 'x' 3675int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3676 3677int test (int i, double x); 3678struct s1 {int (*f) (int a);}; 3679struct s2 {int (*f) (double a);}; 3680int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3681int argc; 3682char **argv; 3683int 3684main () 3685{ 3686return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3687 ; 3688 return 0; 3689} 3690_ACEOF 3691for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3692 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3693do 3694 CC="$ac_save_CC $ac_arg" 3695 rm -f conftest.$ac_objext 3696if { (ac_try="$ac_compile" 3697case "(($ac_try" in 3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3699 *) ac_try_echo=$ac_try;; 3700esac 3701eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3702$as_echo "$ac_try_echo") >&5 3703 (eval "$ac_compile") 2>conftest.er1 3704 ac_status=$? 3705 grep -v '^ *+' conftest.er1 >conftest.err 3706 rm -f conftest.er1 3707 cat conftest.err >&5 3708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3709 (exit $ac_status); } && { 3710 test -z "$ac_c_werror_flag" || 3711 test ! -s conftest.err 3712 } && test -s conftest.$ac_objext; then 3713 ac_cv_prog_cc_c89=$ac_arg 3714else 3715 $as_echo "$as_me: failed program was:" >&5 3716sed 's/^/| /' conftest.$ac_ext >&5 3717 3718 3719fi 3720 3721rm -f core conftest.err conftest.$ac_objext 3722 test "x$ac_cv_prog_cc_c89" != "xno" && break 3723done 3724rm -f conftest.$ac_ext 3725CC=$ac_save_CC 3726 3727fi 3728# AC_CACHE_VAL 3729case "x$ac_cv_prog_cc_c89" in 3730 x) 3731 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3732$as_echo "none needed" >&6; } ;; 3733 xno) 3734 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3735$as_echo "unsupported" >&6; } ;; 3736 *) 3737 CC="$CC $ac_cv_prog_cc_c89" 3738 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3739$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3740esac 3741if test "x$ac_cv_prog_cc_c89" != xno; then 3742 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 3743else 3744 ac_cv_prog_cc_stdc=no 3745fi 3746 3747 3748fi 3749 3750 ;; 3751esac 3752 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5 3753$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 3754 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3755 $as_echo_n "(cached) " >&6 3756fi 3757 3758 case $ac_cv_prog_cc_stdc in 3759 no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3760$as_echo "unsupported" >&6; } ;; 3761 '') { $as_echo "$as_me:$LINENO: result: none needed" >&5 3762$as_echo "none needed" >&6; } ;; 3763 *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 3764$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 3765esac 3766 3767 3768# Find a good install program. We prefer a C program (faster), 3769# so one script is as good as another. But avoid the broken or 3770# incompatible versions: 3771# SysV /etc/install, /usr/sbin/install 3772# SunOS /usr/etc/install 3773# IRIX /sbin/install 3774# AIX /bin/install 3775# AmigaOS /C/install, which installs bootblocks on floppy discs 3776# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3777# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3778# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3779# OS/2's system install, which has a completely different semantic 3780# ./install, which can be erroneously created by make from ./install.sh. 3781# Reject install programs that cannot install multiple files. 3782{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3783$as_echo_n "checking for a BSD-compatible install... " >&6; } 3784if test -z "$INSTALL"; then 3785if test "${ac_cv_path_install+set}" = set; then 3786 $as_echo_n "(cached) " >&6 3787else 3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3789for as_dir in $PATH 3790do 3791 IFS=$as_save_IFS 3792 test -z "$as_dir" && as_dir=. 3793 # Account for people who put trailing slashes in PATH elements. 3794case $as_dir/ in 3795 ./ | .// | /cC/* | \ 3796 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3797 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3798 /usr/ucb/* ) ;; 3799 *) 3800 # OSF1 and SCO ODT 3.0 have their own names for install. 3801 # Don't use installbsd from OSF since it installs stuff as root 3802 # by default. 3803 for ac_prog in ginstall scoinst install; do 3804 for ac_exec_ext in '' $ac_executable_extensions; do 3805 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3806 if test $ac_prog = install && 3807 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3808 # AIX install. It has an incompatible calling convention. 3809 : 3810 elif test $ac_prog = install && 3811 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3812 # program-specific install script used by HP pwplus--don't use. 3813 : 3814 else 3815 rm -rf conftest.one conftest.two conftest.dir 3816 echo one > conftest.one 3817 echo two > conftest.two 3818 mkdir conftest.dir 3819 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3820 test -s conftest.one && test -s conftest.two && 3821 test -s conftest.dir/conftest.one && 3822 test -s conftest.dir/conftest.two 3823 then 3824 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3825 break 3 3826 fi 3827 fi 3828 fi 3829 done 3830 done 3831 ;; 3832esac 3833 3834done 3835IFS=$as_save_IFS 3836 3837rm -rf conftest.one conftest.two conftest.dir 3838 3839fi 3840 if test "${ac_cv_path_install+set}" = set; then 3841 INSTALL=$ac_cv_path_install 3842 else 3843 # As a last resort, use the slow shell script. Don't cache a 3844 # value for INSTALL within a source directory, because that will 3845 # break other packages using the cache if that directory is 3846 # removed, or if the value is a relative name. 3847 INSTALL=$ac_install_sh 3848 fi 3849fi 3850{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3851$as_echo "$INSTALL" >&6; } 3852 3853# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3854# It thinks the first close brace ends the variable substitution. 3855test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3856 3857test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3858 3859test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3860 3861{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3862$as_echo_n "checking whether ln -s works... " >&6; } 3863LN_S=$as_ln_s 3864if test "$LN_S" = "ln -s"; then 3865 { $as_echo "$as_me:$LINENO: result: yes" >&5 3866$as_echo "yes" >&6; } 3867else 3868 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3869$as_echo "no, using $LN_S" >&6; } 3870fi 3871 3872if test -n "$ac_tool_prefix"; then 3873 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3874set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3875{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3876$as_echo_n "checking for $ac_word... " >&6; } 3877if test "${ac_cv_prog_RANLIB+set}" = set; then 3878 $as_echo_n "(cached) " >&6 3879else 3880 if test -n "$RANLIB"; then 3881 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3882else 3883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3884for as_dir in $PATH 3885do 3886 IFS=$as_save_IFS 3887 test -z "$as_dir" && as_dir=. 3888 for ac_exec_ext in '' $ac_executable_extensions; do 3889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3890 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3891 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3892 break 2 3893 fi 3894done 3895done 3896IFS=$as_save_IFS 3897 3898fi 3899fi 3900RANLIB=$ac_cv_prog_RANLIB 3901if test -n "$RANLIB"; then 3902 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3903$as_echo "$RANLIB" >&6; } 3904else 3905 { $as_echo "$as_me:$LINENO: result: no" >&5 3906$as_echo "no" >&6; } 3907fi 3908 3909 3910fi 3911if test -z "$ac_cv_prog_RANLIB"; then 3912 ac_ct_RANLIB=$RANLIB 3913 # Extract the first word of "ranlib", so it can be a program name with args. 3914set dummy ranlib; ac_word=$2 3915{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3916$as_echo_n "checking for $ac_word... " >&6; } 3917if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3918 $as_echo_n "(cached) " >&6 3919else 3920 if test -n "$ac_ct_RANLIB"; then 3921 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3922else 3923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3924for as_dir in $PATH 3925do 3926 IFS=$as_save_IFS 3927 test -z "$as_dir" && as_dir=. 3928 for ac_exec_ext in '' $ac_executable_extensions; do 3929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3930 ac_cv_prog_ac_ct_RANLIB="ranlib" 3931 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3932 break 2 3933 fi 3934done 3935done 3936IFS=$as_save_IFS 3937 3938fi 3939fi 3940ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3941if test -n "$ac_ct_RANLIB"; then 3942 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3943$as_echo "$ac_ct_RANLIB" >&6; } 3944else 3945 { $as_echo "$as_me:$LINENO: result: no" >&5 3946$as_echo "no" >&6; } 3947fi 3948 3949 if test "x$ac_ct_RANLIB" = x; then 3950 RANLIB=":" 3951 else 3952 case $cross_compiling:$ac_tool_warned in 3953yes:) 3954{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3955$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3956ac_tool_warned=yes ;; 3957esac 3958 RANLIB=$ac_ct_RANLIB 3959 fi 3960else 3961 RANLIB="$ac_cv_prog_RANLIB" 3962fi 3963 3964{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3965$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3966set x ${MAKE-make} 3967ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3968if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3969 $as_echo_n "(cached) " >&6 3970else 3971 cat >conftest.make <<\_ACEOF 3972SHELL = /bin/sh 3973all: 3974 @echo '@@@%%%=$(MAKE)=@@@%%%' 3975_ACEOF 3976# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3977case `${MAKE-make} -f conftest.make 2>/dev/null` in 3978 *@@@%%%=?*=@@@%%%*) 3979 eval ac_cv_prog_make_${ac_make}_set=yes;; 3980 *) 3981 eval ac_cv_prog_make_${ac_make}_set=no;; 3982esac 3983rm -f conftest.make 3984fi 3985if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3986 { $as_echo "$as_me:$LINENO: result: yes" >&5 3987$as_echo "yes" >&6; } 3988 SET_MAKE= 3989else 3990 { $as_echo "$as_me:$LINENO: result: no" >&5 3991$as_echo "no" >&6; } 3992 SET_MAKE="MAKE=${MAKE-make}" 3993fi 3994 3995for ac_prog in gawk mawk nawk awk 3996do 3997 # Extract the first word of "$ac_prog", so it can be a program name with args. 3998set dummy $ac_prog; ac_word=$2 3999{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4000$as_echo_n "checking for $ac_word... " >&6; } 4001if test "${ac_cv_prog_AWK+set}" = set; then 4002 $as_echo_n "(cached) " >&6 4003else 4004 if test -n "$AWK"; then 4005 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4006else 4007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4008for as_dir in $PATH 4009do 4010 IFS=$as_save_IFS 4011 test -z "$as_dir" && as_dir=. 4012 for ac_exec_ext in '' $ac_executable_extensions; do 4013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4014 ac_cv_prog_AWK="$ac_prog" 4015 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4016 break 2 4017 fi 4018done 4019done 4020IFS=$as_save_IFS 4021 4022fi 4023fi 4024AWK=$ac_cv_prog_AWK 4025if test -n "$AWK"; then 4026 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 4027$as_echo "$AWK" >&6; } 4028else 4029 { $as_echo "$as_me:$LINENO: result: no" >&5 4030$as_echo "no" >&6; } 4031fi 4032 4033 4034 test -n "$AWK" && break 4035done 4036 4037 4038for ac_prog in flex lex 4039do 4040 # Extract the first word of "$ac_prog", so it can be a program name with args. 4041set dummy $ac_prog; ac_word=$2 4042{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4043$as_echo_n "checking for $ac_word... " >&6; } 4044if test "${ac_cv_prog_LEX+set}" = set; then 4045 $as_echo_n "(cached) " >&6 4046else 4047 if test -n "$LEX"; then 4048 ac_cv_prog_LEX="$LEX" # Let the user override the test. 4049else 4050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4051for as_dir in $PATH 4052do 4053 IFS=$as_save_IFS 4054 test -z "$as_dir" && as_dir=. 4055 for ac_exec_ext in '' $ac_executable_extensions; do 4056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4057 ac_cv_prog_LEX="$ac_prog" 4058 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4059 break 2 4060 fi 4061done 4062done 4063IFS=$as_save_IFS 4064 4065fi 4066fi 4067LEX=$ac_cv_prog_LEX 4068if test -n "$LEX"; then 4069 { $as_echo "$as_me:$LINENO: result: $LEX" >&5 4070$as_echo "$LEX" >&6; } 4071else 4072 { $as_echo "$as_me:$LINENO: result: no" >&5 4073$as_echo "no" >&6; } 4074fi 4075 4076 4077 test -n "$LEX" && break 4078done 4079test -n "$LEX" || LEX=":" 4080 4081if test "x$LEX" != "x:"; then 4082 cat >conftest.l <<_ACEOF 4083%% 4084a { ECHO; } 4085b { REJECT; } 4086c { yymore (); } 4087d { yyless (1); } 4088e { yyless (input () != 0); } 4089f { unput (yytext[0]); } 4090. { BEGIN INITIAL; } 4091%% 4092#ifdef YYTEXT_POINTER 4093extern char *yytext; 4094#endif 4095int 4096main (void) 4097{ 4098 return ! yylex () + ! yywrap (); 4099} 4100_ACEOF 4101{ (ac_try="$LEX conftest.l" 4102case "(($ac_try" in 4103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4104 *) ac_try_echo=$ac_try;; 4105esac 4106eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4107$as_echo "$ac_try_echo") >&5 4108 (eval "$LEX conftest.l") 2>&5 4109 ac_status=$? 4110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4111 (exit $ac_status); } 4112{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5 4113$as_echo_n "checking lex output file root... " >&6; } 4114if test "${ac_cv_prog_lex_root+set}" = set; then 4115 $as_echo_n "(cached) " >&6 4116else 4117 4118if test -f lex.yy.c; then 4119 ac_cv_prog_lex_root=lex.yy 4120elif test -f lexyy.c; then 4121 ac_cv_prog_lex_root=lexyy 4122else 4123 { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 4124$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 4125 { (exit 1); exit 1; }; } 4126fi 4127fi 4128{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 4129$as_echo "$ac_cv_prog_lex_root" >&6; } 4130LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 4131 4132if test -z "${LEXLIB+set}"; then 4133 { $as_echo "$as_me:$LINENO: checking lex library" >&5 4134$as_echo_n "checking lex library... " >&6; } 4135if test "${ac_cv_lib_lex+set}" = set; then 4136 $as_echo_n "(cached) " >&6 4137else 4138 4139 ac_save_LIBS=$LIBS 4140 ac_cv_lib_lex='none needed' 4141 for ac_lib in '' -lfl -ll; do 4142 LIBS="$ac_lib $ac_save_LIBS" 4143 cat >conftest.$ac_ext <<_ACEOF 4144`cat $LEX_OUTPUT_ROOT.c` 4145_ACEOF 4146rm -f conftest.$ac_objext conftest$ac_exeext 4147if { (ac_try="$ac_link" 4148case "(($ac_try" in 4149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4150 *) ac_try_echo=$ac_try;; 4151esac 4152eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4153$as_echo "$ac_try_echo") >&5 4154 (eval "$ac_link") 2>conftest.er1 4155 ac_status=$? 4156 grep -v '^ *+' conftest.er1 >conftest.err 4157 rm -f conftest.er1 4158 cat conftest.err >&5 4159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4160 (exit $ac_status); } && { 4161 test -z "$ac_c_werror_flag" || 4162 test ! -s conftest.err 4163 } && test -s conftest$ac_exeext && { 4164 test "$cross_compiling" = yes || 4165 $as_test_x conftest$ac_exeext 4166 }; then 4167 ac_cv_lib_lex=$ac_lib 4168else 4169 $as_echo "$as_me: failed program was:" >&5 4170sed 's/^/| /' conftest.$ac_ext >&5 4171 4172 4173fi 4174 4175rm -rf conftest.dSYM 4176rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4177 conftest$ac_exeext conftest.$ac_ext 4178 test "$ac_cv_lib_lex" != 'none needed' && break 4179 done 4180 LIBS=$ac_save_LIBS 4181 4182fi 4183{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 4184$as_echo "$ac_cv_lib_lex" >&6; } 4185 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 4186fi 4187 4188 4189{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 4190$as_echo_n "checking whether yytext is a pointer... " >&6; } 4191if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 4192 $as_echo_n "(cached) " >&6 4193else 4194 # POSIX says lex can declare yytext either as a pointer or an array; the 4195# default is implementation-dependent. Figure out which it is, since 4196# not all implementations provide the %pointer and %array declarations. 4197ac_cv_prog_lex_yytext_pointer=no 4198ac_save_LIBS=$LIBS 4199LIBS="$LEXLIB $ac_save_LIBS" 4200cat >conftest.$ac_ext <<_ACEOF 4201#define YYTEXT_POINTER 1 4202`cat $LEX_OUTPUT_ROOT.c` 4203_ACEOF 4204rm -f conftest.$ac_objext conftest$ac_exeext 4205if { (ac_try="$ac_link" 4206case "(($ac_try" in 4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4208 *) ac_try_echo=$ac_try;; 4209esac 4210eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4211$as_echo "$ac_try_echo") >&5 4212 (eval "$ac_link") 2>conftest.er1 4213 ac_status=$? 4214 grep -v '^ *+' conftest.er1 >conftest.err 4215 rm -f conftest.er1 4216 cat conftest.err >&5 4217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4218 (exit $ac_status); } && { 4219 test -z "$ac_c_werror_flag" || 4220 test ! -s conftest.err 4221 } && test -s conftest$ac_exeext && { 4222 test "$cross_compiling" = yes || 4223 $as_test_x conftest$ac_exeext 4224 }; then 4225 ac_cv_prog_lex_yytext_pointer=yes 4226else 4227 $as_echo "$as_me: failed program was:" >&5 4228sed 's/^/| /' conftest.$ac_ext >&5 4229 4230 4231fi 4232 4233rm -rf conftest.dSYM 4234rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4235 conftest$ac_exeext conftest.$ac_ext 4236LIBS=$ac_save_LIBS 4237 4238fi 4239{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 4240$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 4241if test $ac_cv_prog_lex_yytext_pointer = yes; then 4242 4243cat >>confdefs.h <<\_ACEOF 4244@%:@define YYTEXT_POINTER 1 4245_ACEOF 4246 4247fi 4248rm -f conftest.l $LEX_OUTPUT_ROOT.c 4249 4250fi 4251if test "$LEX" = :; then 4252 LEX=${am_missing_run}flex 4253fi 4254 4255for ac_prog in 'bison -y' 4256do 4257 # Extract the first word of "$ac_prog", so it can be a program name with args. 4258set dummy $ac_prog; ac_word=$2 4259{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4260$as_echo_n "checking for $ac_word... " >&6; } 4261if test "${ac_cv_prog_YACC+set}" = set; then 4262 $as_echo_n "(cached) " >&6 4263else 4264 if test -n "$YACC"; then 4265 ac_cv_prog_YACC="$YACC" # Let the user override the test. 4266else 4267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4268for as_dir in $PATH 4269do 4270 IFS=$as_save_IFS 4271 test -z "$as_dir" && as_dir=. 4272 for ac_exec_ext in '' $ac_executable_extensions; do 4273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4274 ac_cv_prog_YACC="$ac_prog" 4275 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4276 break 2 4277 fi 4278done 4279done 4280IFS=$as_save_IFS 4281 4282fi 4283fi 4284YACC=$ac_cv_prog_YACC 4285if test -n "$YACC"; then 4286 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 4287$as_echo "$YACC" >&6; } 4288else 4289 { $as_echo "$as_me:$LINENO: result: no" >&5 4290$as_echo "no" >&6; } 4291fi 4292 4293 4294 test -n "$YACC" && break 4295done 4296 4297if test "$YACC" != "bison -y"; then 4298 { { $as_echo "$as_me:$LINENO: error: bison not found" >&5 4299$as_echo "$as_me: error: bison not found" >&2;} 4300 { (exit 1); exit 1; }; } 4301fi 4302 4303# Checks for libraries. 4304 4305# Checks for header files. 4306ac_ext=c 4307ac_cpp='$CPP $CPPFLAGS' 4308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4310ac_compiler_gnu=$ac_cv_c_compiler_gnu 4311{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4312$as_echo_n "checking how to run the C preprocessor... " >&6; } 4313# On Suns, sometimes $CPP names a directory. 4314if test -n "$CPP" && test -d "$CPP"; then 4315 CPP= 4316fi 4317if test -z "$CPP"; then 4318 if test "${ac_cv_prog_CPP+set}" = set; then 4319 $as_echo_n "(cached) " >&6 4320else 4321 # Double quotes because CPP needs to be expanded 4322 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4323 do 4324 ac_preproc_ok=false 4325for ac_c_preproc_warn_flag in '' yes 4326do 4327 # Use a header file that comes with gcc, so configuring glibc 4328 # with a fresh cross-compiler works. 4329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4330 # <limits.h> exists even on freestanding compilers. 4331 # On the NeXT, cc -E runs the code through the compiler's parser, 4332 # not just through cpp. "Syntax error" is here to catch this case. 4333 cat >conftest.$ac_ext <<_ACEOF 4334/* confdefs.h. */ 4335_ACEOF 4336cat confdefs.h >>conftest.$ac_ext 4337cat >>conftest.$ac_ext <<_ACEOF 4338/* end confdefs.h. */ 4339@%:@ifdef __STDC__ 4340@%:@ include <limits.h> 4341@%:@else 4342@%:@ include <assert.h> 4343@%:@endif 4344 Syntax error 4345_ACEOF 4346if { (ac_try="$ac_cpp conftest.$ac_ext" 4347case "(($ac_try" in 4348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4349 *) ac_try_echo=$ac_try;; 4350esac 4351eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4352$as_echo "$ac_try_echo") >&5 4353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4354 ac_status=$? 4355 grep -v '^ *+' conftest.er1 >conftest.err 4356 rm -f conftest.er1 4357 cat conftest.err >&5 4358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4359 (exit $ac_status); } >/dev/null && { 4360 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4361 test ! -s conftest.err 4362 }; then 4363 : 4364else 4365 $as_echo "$as_me: failed program was:" >&5 4366sed 's/^/| /' conftest.$ac_ext >&5 4367 4368 # Broken: fails on valid input. 4369continue 4370fi 4371 4372rm -f conftest.err conftest.$ac_ext 4373 4374 # OK, works on sane cases. Now check whether nonexistent headers 4375 # can be detected and how. 4376 cat >conftest.$ac_ext <<_ACEOF 4377/* confdefs.h. */ 4378_ACEOF 4379cat confdefs.h >>conftest.$ac_ext 4380cat >>conftest.$ac_ext <<_ACEOF 4381/* end confdefs.h. */ 4382@%:@include <ac_nonexistent.h> 4383_ACEOF 4384if { (ac_try="$ac_cpp conftest.$ac_ext" 4385case "(($ac_try" in 4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4387 *) ac_try_echo=$ac_try;; 4388esac 4389eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4390$as_echo "$ac_try_echo") >&5 4391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4392 ac_status=$? 4393 grep -v '^ *+' conftest.er1 >conftest.err 4394 rm -f conftest.er1 4395 cat conftest.err >&5 4396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4397 (exit $ac_status); } >/dev/null && { 4398 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4399 test ! -s conftest.err 4400 }; then 4401 # Broken: success on invalid input. 4402continue 4403else 4404 $as_echo "$as_me: failed program was:" >&5 4405sed 's/^/| /' conftest.$ac_ext >&5 4406 4407 # Passes both tests. 4408ac_preproc_ok=: 4409break 4410fi 4411 4412rm -f conftest.err conftest.$ac_ext 4413 4414done 4415# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4416rm -f conftest.err conftest.$ac_ext 4417if $ac_preproc_ok; then 4418 break 4419fi 4420 4421 done 4422 ac_cv_prog_CPP=$CPP 4423 4424fi 4425 CPP=$ac_cv_prog_CPP 4426else 4427 ac_cv_prog_CPP=$CPP 4428fi 4429{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 4430$as_echo "$CPP" >&6; } 4431ac_preproc_ok=false 4432for ac_c_preproc_warn_flag in '' yes 4433do 4434 # Use a header file that comes with gcc, so configuring glibc 4435 # with a fresh cross-compiler works. 4436 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4437 # <limits.h> exists even on freestanding compilers. 4438 # On the NeXT, cc -E runs the code through the compiler's parser, 4439 # not just through cpp. "Syntax error" is here to catch this case. 4440 cat >conftest.$ac_ext <<_ACEOF 4441/* confdefs.h. */ 4442_ACEOF 4443cat confdefs.h >>conftest.$ac_ext 4444cat >>conftest.$ac_ext <<_ACEOF 4445/* end confdefs.h. */ 4446@%:@ifdef __STDC__ 4447@%:@ include <limits.h> 4448@%:@else 4449@%:@ include <assert.h> 4450@%:@endif 4451 Syntax error 4452_ACEOF 4453if { (ac_try="$ac_cpp conftest.$ac_ext" 4454case "(($ac_try" in 4455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4456 *) ac_try_echo=$ac_try;; 4457esac 4458eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4459$as_echo "$ac_try_echo") >&5 4460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4461 ac_status=$? 4462 grep -v '^ *+' conftest.er1 >conftest.err 4463 rm -f conftest.er1 4464 cat conftest.err >&5 4465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4466 (exit $ac_status); } >/dev/null && { 4467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4468 test ! -s conftest.err 4469 }; then 4470 : 4471else 4472 $as_echo "$as_me: failed program was:" >&5 4473sed 's/^/| /' conftest.$ac_ext >&5 4474 4475 # Broken: fails on valid input. 4476continue 4477fi 4478 4479rm -f conftest.err conftest.$ac_ext 4480 4481 # OK, works on sane cases. Now check whether nonexistent headers 4482 # can be detected and how. 4483 cat >conftest.$ac_ext <<_ACEOF 4484/* confdefs.h. */ 4485_ACEOF 4486cat confdefs.h >>conftest.$ac_ext 4487cat >>conftest.$ac_ext <<_ACEOF 4488/* end confdefs.h. */ 4489@%:@include <ac_nonexistent.h> 4490_ACEOF 4491if { (ac_try="$ac_cpp conftest.$ac_ext" 4492case "(($ac_try" in 4493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4494 *) ac_try_echo=$ac_try;; 4495esac 4496eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4497$as_echo "$ac_try_echo") >&5 4498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4499 ac_status=$? 4500 grep -v '^ *+' conftest.er1 >conftest.err 4501 rm -f conftest.er1 4502 cat conftest.err >&5 4503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4504 (exit $ac_status); } >/dev/null && { 4505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4506 test ! -s conftest.err 4507 }; then 4508 # Broken: success on invalid input. 4509continue 4510else 4511 $as_echo "$as_me: failed program was:" >&5 4512sed 's/^/| /' conftest.$ac_ext >&5 4513 4514 # Passes both tests. 4515ac_preproc_ok=: 4516break 4517fi 4518 4519rm -f conftest.err conftest.$ac_ext 4520 4521done 4522# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4523rm -f conftest.err conftest.$ac_ext 4524if $ac_preproc_ok; then 4525 : 4526else 4527 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4528$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4529{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4530See \`config.log' for more details." >&5 4531$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4532See \`config.log' for more details." >&2;} 4533 { (exit 1); exit 1; }; }; } 4534fi 4535 4536ac_ext=c 4537ac_cpp='$CPP $CPPFLAGS' 4538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4540ac_compiler_gnu=$ac_cv_c_compiler_gnu 4541 4542 4543{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4544$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4545if test "${ac_cv_path_GREP+set}" = set; then 4546 $as_echo_n "(cached) " >&6 4547else 4548 if test -z "$GREP"; then 4549 ac_path_GREP_found=false 4550 # Loop through the user's path and test for each of PROGNAME-LIST 4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4552for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4553do 4554 IFS=$as_save_IFS 4555 test -z "$as_dir" && as_dir=. 4556 for ac_prog in grep ggrep; do 4557 for ac_exec_ext in '' $ac_executable_extensions; do 4558 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4559 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4560# Check for GNU ac_path_GREP and select it if it is found. 4561 # Check for GNU $ac_path_GREP 4562case `"$ac_path_GREP" --version 2>&1` in 4563*GNU*) 4564 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4565*) 4566 ac_count=0 4567 $as_echo_n 0123456789 >"conftest.in" 4568 while : 4569 do 4570 cat "conftest.in" "conftest.in" >"conftest.tmp" 4571 mv "conftest.tmp" "conftest.in" 4572 cp "conftest.in" "conftest.nl" 4573 $as_echo 'GREP' >> "conftest.nl" 4574 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4575 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4576 ac_count=`expr $ac_count + 1` 4577 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4578 # Best one so far, save it but keep looking for a better one 4579 ac_cv_path_GREP="$ac_path_GREP" 4580 ac_path_GREP_max=$ac_count 4581 fi 4582 # 10*(2^10) chars as input seems more than enough 4583 test $ac_count -gt 10 && break 4584 done 4585 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4586esac 4587 4588 $ac_path_GREP_found && break 3 4589 done 4590 done 4591done 4592IFS=$as_save_IFS 4593 if test -z "$ac_cv_path_GREP"; then 4594 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4595$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4596 { (exit 1); exit 1; }; } 4597 fi 4598else 4599 ac_cv_path_GREP=$GREP 4600fi 4601 4602fi 4603{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4604$as_echo "$ac_cv_path_GREP" >&6; } 4605 GREP="$ac_cv_path_GREP" 4606 4607 4608{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4609$as_echo_n "checking for egrep... " >&6; } 4610if test "${ac_cv_path_EGREP+set}" = set; then 4611 $as_echo_n "(cached) " >&6 4612else 4613 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4614 then ac_cv_path_EGREP="$GREP -E" 4615 else 4616 if test -z "$EGREP"; then 4617 ac_path_EGREP_found=false 4618 # Loop through the user's path and test for each of PROGNAME-LIST 4619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4620for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4621do 4622 IFS=$as_save_IFS 4623 test -z "$as_dir" && as_dir=. 4624 for ac_prog in egrep; do 4625 for ac_exec_ext in '' $ac_executable_extensions; do 4626 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4627 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4628# Check for GNU ac_path_EGREP and select it if it is found. 4629 # Check for GNU $ac_path_EGREP 4630case `"$ac_path_EGREP" --version 2>&1` in 4631*GNU*) 4632 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4633*) 4634 ac_count=0 4635 $as_echo_n 0123456789 >"conftest.in" 4636 while : 4637 do 4638 cat "conftest.in" "conftest.in" >"conftest.tmp" 4639 mv "conftest.tmp" "conftest.in" 4640 cp "conftest.in" "conftest.nl" 4641 $as_echo 'EGREP' >> "conftest.nl" 4642 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4644 ac_count=`expr $ac_count + 1` 4645 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4646 # Best one so far, save it but keep looking for a better one 4647 ac_cv_path_EGREP="$ac_path_EGREP" 4648 ac_path_EGREP_max=$ac_count 4649 fi 4650 # 10*(2^10) chars as input seems more than enough 4651 test $ac_count -gt 10 && break 4652 done 4653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4654esac 4655 4656 $ac_path_EGREP_found && break 3 4657 done 4658 done 4659done 4660IFS=$as_save_IFS 4661 if test -z "$ac_cv_path_EGREP"; then 4662 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4663$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4664 { (exit 1); exit 1; }; } 4665 fi 4666else 4667 ac_cv_path_EGREP=$EGREP 4668fi 4669 4670 fi 4671fi 4672{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4673$as_echo "$ac_cv_path_EGREP" >&6; } 4674 EGREP="$ac_cv_path_EGREP" 4675 4676 4677{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4678$as_echo_n "checking for ANSI C header files... " >&6; } 4679if test "${ac_cv_header_stdc+set}" = set; then 4680 $as_echo_n "(cached) " >&6 4681else 4682 cat >conftest.$ac_ext <<_ACEOF 4683/* confdefs.h. */ 4684_ACEOF 4685cat confdefs.h >>conftest.$ac_ext 4686cat >>conftest.$ac_ext <<_ACEOF 4687/* end confdefs.h. */ 4688#include <stdlib.h> 4689#include <stdarg.h> 4690#include <string.h> 4691#include <float.h> 4692 4693int 4694main () 4695{ 4696 4697 ; 4698 return 0; 4699} 4700_ACEOF 4701rm -f conftest.$ac_objext 4702if { (ac_try="$ac_compile" 4703case "(($ac_try" in 4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4705 *) ac_try_echo=$ac_try;; 4706esac 4707eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4708$as_echo "$ac_try_echo") >&5 4709 (eval "$ac_compile") 2>conftest.er1 4710 ac_status=$? 4711 grep -v '^ *+' conftest.er1 >conftest.err 4712 rm -f conftest.er1 4713 cat conftest.err >&5 4714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4715 (exit $ac_status); } && { 4716 test -z "$ac_c_werror_flag" || 4717 test ! -s conftest.err 4718 } && test -s conftest.$ac_objext; then 4719 ac_cv_header_stdc=yes 4720else 4721 $as_echo "$as_me: failed program was:" >&5 4722sed 's/^/| /' conftest.$ac_ext >&5 4723 4724 ac_cv_header_stdc=no 4725fi 4726 4727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4728 4729if test $ac_cv_header_stdc = yes; then 4730 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4731 cat >conftest.$ac_ext <<_ACEOF 4732/* confdefs.h. */ 4733_ACEOF 4734cat confdefs.h >>conftest.$ac_ext 4735cat >>conftest.$ac_ext <<_ACEOF 4736/* end confdefs.h. */ 4737#include <string.h> 4738 4739_ACEOF 4740if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4741 $EGREP "memchr" >/dev/null 2>&1; then 4742 : 4743else 4744 ac_cv_header_stdc=no 4745fi 4746rm -f conftest* 4747 4748fi 4749 4750if test $ac_cv_header_stdc = yes; then 4751 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4752 cat >conftest.$ac_ext <<_ACEOF 4753/* confdefs.h. */ 4754_ACEOF 4755cat confdefs.h >>conftest.$ac_ext 4756cat >>conftest.$ac_ext <<_ACEOF 4757/* end confdefs.h. */ 4758#include <stdlib.h> 4759 4760_ACEOF 4761if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4762 $EGREP "free" >/dev/null 2>&1; then 4763 : 4764else 4765 ac_cv_header_stdc=no 4766fi 4767rm -f conftest* 4768 4769fi 4770 4771if test $ac_cv_header_stdc = yes; then 4772 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4773 if test "$cross_compiling" = yes; then 4774 : 4775else 4776 cat >conftest.$ac_ext <<_ACEOF 4777/* confdefs.h. */ 4778_ACEOF 4779cat confdefs.h >>conftest.$ac_ext 4780cat >>conftest.$ac_ext <<_ACEOF 4781/* end confdefs.h. */ 4782#include <ctype.h> 4783#include <stdlib.h> 4784#if ((' ' & 0x0FF) == 0x020) 4785# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4786# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4787#else 4788# define ISLOWER(c) \ 4789 (('a' <= (c) && (c) <= 'i') \ 4790 || ('j' <= (c) && (c) <= 'r') \ 4791 || ('s' <= (c) && (c) <= 'z')) 4792# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4793#endif 4794 4795#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4796int 4797main () 4798{ 4799 int i; 4800 for (i = 0; i < 256; i++) 4801 if (XOR (islower (i), ISLOWER (i)) 4802 || toupper (i) != TOUPPER (i)) 4803 return 2; 4804 return 0; 4805} 4806_ACEOF 4807rm -f conftest$ac_exeext 4808if { (ac_try="$ac_link" 4809case "(($ac_try" in 4810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4811 *) ac_try_echo=$ac_try;; 4812esac 4813eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4814$as_echo "$ac_try_echo") >&5 4815 (eval "$ac_link") 2>&5 4816 ac_status=$? 4817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4819 { (case "(($ac_try" in 4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4821 *) ac_try_echo=$ac_try;; 4822esac 4823eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4824$as_echo "$ac_try_echo") >&5 4825 (eval "$ac_try") 2>&5 4826 ac_status=$? 4827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4828 (exit $ac_status); }; }; then 4829 : 4830else 4831 $as_echo "$as_me: program exited with status $ac_status" >&5 4832$as_echo "$as_me: failed program was:" >&5 4833sed 's/^/| /' conftest.$ac_ext >&5 4834 4835( exit $ac_status ) 4836ac_cv_header_stdc=no 4837fi 4838rm -rf conftest.dSYM 4839rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4840fi 4841 4842 4843fi 4844fi 4845{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4846$as_echo "$ac_cv_header_stdc" >&6; } 4847if test $ac_cv_header_stdc = yes; then 4848 4849cat >>confdefs.h <<\_ACEOF 4850@%:@define STDC_HEADERS 1 4851_ACEOF 4852 4853fi 4854 4855# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4866 inttypes.h stdint.h unistd.h 4867do 4868as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4869{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4870$as_echo_n "checking for $ac_header... " >&6; } 4871if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4872 $as_echo_n "(cached) " >&6 4873else 4874 cat >conftest.$ac_ext <<_ACEOF 4875/* confdefs.h. */ 4876_ACEOF 4877cat confdefs.h >>conftest.$ac_ext 4878cat >>conftest.$ac_ext <<_ACEOF 4879/* end confdefs.h. */ 4880$ac_includes_default 4881 4882@%:@include <$ac_header> 4883_ACEOF 4884rm -f conftest.$ac_objext 4885if { (ac_try="$ac_compile" 4886case "(($ac_try" in 4887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4888 *) ac_try_echo=$ac_try;; 4889esac 4890eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4891$as_echo "$ac_try_echo") >&5 4892 (eval "$ac_compile") 2>conftest.er1 4893 ac_status=$? 4894 grep -v '^ *+' conftest.er1 >conftest.err 4895 rm -f conftest.er1 4896 cat conftest.err >&5 4897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4898 (exit $ac_status); } && { 4899 test -z "$ac_c_werror_flag" || 4900 test ! -s conftest.err 4901 } && test -s conftest.$ac_objext; then 4902 eval "$as_ac_Header=yes" 4903else 4904 $as_echo "$as_me: failed program was:" >&5 4905sed 's/^/| /' conftest.$ac_ext >&5 4906 4907 eval "$as_ac_Header=no" 4908fi 4909 4910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4911fi 4912ac_res=`eval 'as_val=${'$as_ac_Header'} 4913 $as_echo "$as_val"'` 4914 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4915$as_echo "$ac_res" >&6; } 4916as_val=`eval 'as_val=${'$as_ac_Header'} 4917 $as_echo "$as_val"'` 4918 if test "x$as_val" = x""yes; then 4919 cat >>confdefs.h <<_ACEOF 4920@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4921_ACEOF 4922 4923fi 4924 4925done 4926 4927 4928 4929 4930 4931for ac_header in alloca.h stdlib.h string.h 4932do 4933as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4934if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4935 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4936$as_echo_n "checking for $ac_header... " >&6; } 4937if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4938 $as_echo_n "(cached) " >&6 4939fi 4940ac_res=`eval 'as_val=${'$as_ac_Header'} 4941 $as_echo "$as_val"'` 4942 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4943$as_echo "$ac_res" >&6; } 4944else 4945 # Is the header compilable? 4946{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4947$as_echo_n "checking $ac_header usability... " >&6; } 4948cat >conftest.$ac_ext <<_ACEOF 4949/* confdefs.h. */ 4950_ACEOF 4951cat confdefs.h >>conftest.$ac_ext 4952cat >>conftest.$ac_ext <<_ACEOF 4953/* end confdefs.h. */ 4954$ac_includes_default 4955@%:@include <$ac_header> 4956_ACEOF 4957rm -f conftest.$ac_objext 4958if { (ac_try="$ac_compile" 4959case "(($ac_try" in 4960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4961 *) ac_try_echo=$ac_try;; 4962esac 4963eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4964$as_echo "$ac_try_echo") >&5 4965 (eval "$ac_compile") 2>conftest.er1 4966 ac_status=$? 4967 grep -v '^ *+' conftest.er1 >conftest.err 4968 rm -f conftest.er1 4969 cat conftest.err >&5 4970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4971 (exit $ac_status); } && { 4972 test -z "$ac_c_werror_flag" || 4973 test ! -s conftest.err 4974 } && test -s conftest.$ac_objext; then 4975 ac_header_compiler=yes 4976else 4977 $as_echo "$as_me: failed program was:" >&5 4978sed 's/^/| /' conftest.$ac_ext >&5 4979 4980 ac_header_compiler=no 4981fi 4982 4983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4984{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4985$as_echo "$ac_header_compiler" >&6; } 4986 4987# Is the header present? 4988{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4989$as_echo_n "checking $ac_header presence... " >&6; } 4990cat >conftest.$ac_ext <<_ACEOF 4991/* confdefs.h. */ 4992_ACEOF 4993cat confdefs.h >>conftest.$ac_ext 4994cat >>conftest.$ac_ext <<_ACEOF 4995/* end confdefs.h. */ 4996@%:@include <$ac_header> 4997_ACEOF 4998if { (ac_try="$ac_cpp conftest.$ac_ext" 4999case "(($ac_try" in 5000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5001 *) ac_try_echo=$ac_try;; 5002esac 5003eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5004$as_echo "$ac_try_echo") >&5 5005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5006 ac_status=$? 5007 grep -v '^ *+' conftest.er1 >conftest.err 5008 rm -f conftest.er1 5009 cat conftest.err >&5 5010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5011 (exit $ac_status); } >/dev/null && { 5012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5013 test ! -s conftest.err 5014 }; then 5015 ac_header_preproc=yes 5016else 5017 $as_echo "$as_me: failed program was:" >&5 5018sed 's/^/| /' conftest.$ac_ext >&5 5019 5020 ac_header_preproc=no 5021fi 5022 5023rm -f conftest.err conftest.$ac_ext 5024{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5025$as_echo "$ac_header_preproc" >&6; } 5026 5027# So? What about this header? 5028case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5029 yes:no: ) 5030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5031$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5033$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5034 ac_header_preproc=yes 5035 ;; 5036 no:yes:* ) 5037 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5038$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5040$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5042$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5044$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5046$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5048$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5049 5050 ;; 5051esac 5052{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5053$as_echo_n "checking for $ac_header... " >&6; } 5054if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5055 $as_echo_n "(cached) " >&6 5056else 5057 eval "$as_ac_Header=\$ac_header_preproc" 5058fi 5059ac_res=`eval 'as_val=${'$as_ac_Header'} 5060 $as_echo "$as_val"'` 5061 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5062$as_echo "$ac_res" >&6; } 5063 5064fi 5065as_val=`eval 'as_val=${'$as_ac_Header'} 5066 $as_echo "$as_val"'` 5067 if test "x$as_val" = x""yes; then 5068 cat >>confdefs.h <<_ACEOF 5069@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5070_ACEOF 5071 5072fi 5073 5074done 5075 5076# The cast to long int works around a bug in the HP C Compiler 5077# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 5078# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 5079# This bug is HP SR number 8606223364. 5080{ $as_echo "$as_me:$LINENO: checking size of int" >&5 5081$as_echo_n "checking size of int... " >&6; } 5082if test "${ac_cv_sizeof_int+set}" = set; then 5083 $as_echo_n "(cached) " >&6 5084else 5085 if test "$cross_compiling" = yes; then 5086 # Depending upon the size, compute the lo and hi bounds. 5087cat >conftest.$ac_ext <<_ACEOF 5088/* confdefs.h. */ 5089_ACEOF 5090cat confdefs.h >>conftest.$ac_ext 5091cat >>conftest.$ac_ext <<_ACEOF 5092/* end confdefs.h. */ 5093$ac_includes_default 5094int 5095main () 5096{ 5097static int test_array @<:@1 - 2 * !(((long int) (sizeof (int))) >= 0)@:>@; 5098test_array @<:@0@:>@ = 0 5099 5100 ; 5101 return 0; 5102} 5103_ACEOF 5104rm -f conftest.$ac_objext 5105if { (ac_try="$ac_compile" 5106case "(($ac_try" in 5107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5108 *) ac_try_echo=$ac_try;; 5109esac 5110eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5111$as_echo "$ac_try_echo") >&5 5112 (eval "$ac_compile") 2>conftest.er1 5113 ac_status=$? 5114 grep -v '^ *+' conftest.er1 >conftest.err 5115 rm -f conftest.er1 5116 cat conftest.err >&5 5117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5118 (exit $ac_status); } && { 5119 test -z "$ac_c_werror_flag" || 5120 test ! -s conftest.err 5121 } && test -s conftest.$ac_objext; then 5122 ac_lo=0 ac_mid=0 5123 while :; do 5124 cat >conftest.$ac_ext <<_ACEOF 5125/* confdefs.h. */ 5126_ACEOF 5127cat confdefs.h >>conftest.$ac_ext 5128cat >>conftest.$ac_ext <<_ACEOF 5129/* end confdefs.h. */ 5130$ac_includes_default 5131int 5132main () 5133{ 5134static int test_array @<:@1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)@:>@; 5135test_array @<:@0@:>@ = 0 5136 5137 ; 5138 return 0; 5139} 5140_ACEOF 5141rm -f conftest.$ac_objext 5142if { (ac_try="$ac_compile" 5143case "(($ac_try" in 5144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5145 *) ac_try_echo=$ac_try;; 5146esac 5147eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5148$as_echo "$ac_try_echo") >&5 5149 (eval "$ac_compile") 2>conftest.er1 5150 ac_status=$? 5151 grep -v '^ *+' conftest.er1 >conftest.err 5152 rm -f conftest.er1 5153 cat conftest.err >&5 5154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5155 (exit $ac_status); } && { 5156 test -z "$ac_c_werror_flag" || 5157 test ! -s conftest.err 5158 } && test -s conftest.$ac_objext; then 5159 ac_hi=$ac_mid; break 5160else 5161 $as_echo "$as_me: failed program was:" >&5 5162sed 's/^/| /' conftest.$ac_ext >&5 5163 5164 ac_lo=`expr $ac_mid + 1` 5165 if test $ac_lo -le $ac_mid; then 5166 ac_lo= ac_hi= 5167 break 5168 fi 5169 ac_mid=`expr 2 '*' $ac_mid + 1` 5170fi 5171 5172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5173 done 5174else 5175 $as_echo "$as_me: failed program was:" >&5 5176sed 's/^/| /' conftest.$ac_ext >&5 5177 5178 cat >conftest.$ac_ext <<_ACEOF 5179/* confdefs.h. */ 5180_ACEOF 5181cat confdefs.h >>conftest.$ac_ext 5182cat >>conftest.$ac_ext <<_ACEOF 5183/* end confdefs.h. */ 5184$ac_includes_default 5185int 5186main () 5187{ 5188static int test_array @<:@1 - 2 * !(((long int) (sizeof (int))) < 0)@:>@; 5189test_array @<:@0@:>@ = 0 5190 5191 ; 5192 return 0; 5193} 5194_ACEOF 5195rm -f conftest.$ac_objext 5196if { (ac_try="$ac_compile" 5197case "(($ac_try" in 5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5199 *) ac_try_echo=$ac_try;; 5200esac 5201eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5202$as_echo "$ac_try_echo") >&5 5203 (eval "$ac_compile") 2>conftest.er1 5204 ac_status=$? 5205 grep -v '^ *+' conftest.er1 >conftest.err 5206 rm -f conftest.er1 5207 cat conftest.err >&5 5208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5209 (exit $ac_status); } && { 5210 test -z "$ac_c_werror_flag" || 5211 test ! -s conftest.err 5212 } && test -s conftest.$ac_objext; then 5213 ac_hi=-1 ac_mid=-1 5214 while :; do 5215 cat >conftest.$ac_ext <<_ACEOF 5216/* confdefs.h. */ 5217_ACEOF 5218cat confdefs.h >>conftest.$ac_ext 5219cat >>conftest.$ac_ext <<_ACEOF 5220/* end confdefs.h. */ 5221$ac_includes_default 5222int 5223main () 5224{ 5225static int test_array @<:@1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)@:>@; 5226test_array @<:@0@:>@ = 0 5227 5228 ; 5229 return 0; 5230} 5231_ACEOF 5232rm -f conftest.$ac_objext 5233if { (ac_try="$ac_compile" 5234case "(($ac_try" in 5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5236 *) ac_try_echo=$ac_try;; 5237esac 5238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5239$as_echo "$ac_try_echo") >&5 5240 (eval "$ac_compile") 2>conftest.er1 5241 ac_status=$? 5242 grep -v '^ *+' conftest.er1 >conftest.err 5243 rm -f conftest.er1 5244 cat conftest.err >&5 5245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5246 (exit $ac_status); } && { 5247 test -z "$ac_c_werror_flag" || 5248 test ! -s conftest.err 5249 } && test -s conftest.$ac_objext; then 5250 ac_lo=$ac_mid; break 5251else 5252 $as_echo "$as_me: failed program was:" >&5 5253sed 's/^/| /' conftest.$ac_ext >&5 5254 5255 ac_hi=`expr '(' $ac_mid ')' - 1` 5256 if test $ac_mid -le $ac_hi; then 5257 ac_lo= ac_hi= 5258 break 5259 fi 5260 ac_mid=`expr 2 '*' $ac_mid` 5261fi 5262 5263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5264 done 5265else 5266 $as_echo "$as_me: failed program was:" >&5 5267sed 's/^/| /' conftest.$ac_ext >&5 5268 5269 ac_lo= ac_hi= 5270fi 5271 5272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5273fi 5274 5275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5276# Binary search between lo and hi bounds. 5277while test "x$ac_lo" != "x$ac_hi"; do 5278 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 5279 cat >conftest.$ac_ext <<_ACEOF 5280/* confdefs.h. */ 5281_ACEOF 5282cat confdefs.h >>conftest.$ac_ext 5283cat >>conftest.$ac_ext <<_ACEOF 5284/* end confdefs.h. */ 5285$ac_includes_default 5286int 5287main () 5288{ 5289static int test_array @<:@1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)@:>@; 5290test_array @<:@0@:>@ = 0 5291 5292 ; 5293 return 0; 5294} 5295_ACEOF 5296rm -f conftest.$ac_objext 5297if { (ac_try="$ac_compile" 5298case "(($ac_try" in 5299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5300 *) ac_try_echo=$ac_try;; 5301esac 5302eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5303$as_echo "$ac_try_echo") >&5 5304 (eval "$ac_compile") 2>conftest.er1 5305 ac_status=$? 5306 grep -v '^ *+' conftest.er1 >conftest.err 5307 rm -f conftest.er1 5308 cat conftest.err >&5 5309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5310 (exit $ac_status); } && { 5311 test -z "$ac_c_werror_flag" || 5312 test ! -s conftest.err 5313 } && test -s conftest.$ac_objext; then 5314 ac_hi=$ac_mid 5315else 5316 $as_echo "$as_me: failed program was:" >&5 5317sed 's/^/| /' conftest.$ac_ext >&5 5318 5319 ac_lo=`expr '(' $ac_mid ')' + 1` 5320fi 5321 5322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5323done 5324case $ac_lo in 5325?*) ac_cv_sizeof_int=$ac_lo;; 5326'') if test "$ac_cv_type_int" = yes; then 5327 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 5328$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5329{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 5330See \`config.log' for more details." >&5 5331$as_echo "$as_me: error: cannot compute sizeof (int) 5332See \`config.log' for more details." >&2;} 5333 { (exit 77); exit 77; }; }; } 5334 else 5335 ac_cv_sizeof_int=0 5336 fi ;; 5337esac 5338else 5339 cat >conftest.$ac_ext <<_ACEOF 5340/* confdefs.h. */ 5341_ACEOF 5342cat confdefs.h >>conftest.$ac_ext 5343cat >>conftest.$ac_ext <<_ACEOF 5344/* end confdefs.h. */ 5345$ac_includes_default 5346static long int longval () { return (long int) (sizeof (int)); } 5347static unsigned long int ulongval () { return (long int) (sizeof (int)); } 5348@%:@include <stdio.h> 5349@%:@include <stdlib.h> 5350int 5351main () 5352{ 5353 5354 FILE *f = fopen ("conftest.val", "w"); 5355 if (! f) 5356 return 1; 5357 if (((long int) (sizeof (int))) < 0) 5358 { 5359 long int i = longval (); 5360 if (i != ((long int) (sizeof (int)))) 5361 return 1; 5362 fprintf (f, "%ld", i); 5363 } 5364 else 5365 { 5366 unsigned long int i = ulongval (); 5367 if (i != ((long int) (sizeof (int)))) 5368 return 1; 5369 fprintf (f, "%lu", i); 5370 } 5371 /* Do not output a trailing newline, as this causes \r\n confusion 5372 on some platforms. */ 5373 return ferror (f) || fclose (f) != 0; 5374 5375 ; 5376 return 0; 5377} 5378_ACEOF 5379rm -f conftest$ac_exeext 5380if { (ac_try="$ac_link" 5381case "(($ac_try" in 5382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5383 *) ac_try_echo=$ac_try;; 5384esac 5385eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5386$as_echo "$ac_try_echo") >&5 5387 (eval "$ac_link") 2>&5 5388 ac_status=$? 5389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5390 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5391 { (case "(($ac_try" in 5392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5393 *) ac_try_echo=$ac_try;; 5394esac 5395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5396$as_echo "$ac_try_echo") >&5 5397 (eval "$ac_try") 2>&5 5398 ac_status=$? 5399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 (exit $ac_status); }; }; then 5401 ac_cv_sizeof_int=`cat conftest.val` 5402else 5403 $as_echo "$as_me: program exited with status $ac_status" >&5 5404$as_echo "$as_me: failed program was:" >&5 5405sed 's/^/| /' conftest.$ac_ext >&5 5406 5407( exit $ac_status ) 5408if test "$ac_cv_type_int" = yes; then 5409 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 5410$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5411{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 5412See \`config.log' for more details." >&5 5413$as_echo "$as_me: error: cannot compute sizeof (int) 5414See \`config.log' for more details." >&2;} 5415 { (exit 77); exit 77; }; }; } 5416 else 5417 ac_cv_sizeof_int=0 5418 fi 5419fi 5420rm -rf conftest.dSYM 5421rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5422fi 5423rm -f conftest.val 5424fi 5425{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 5426$as_echo "$ac_cv_sizeof_int" >&6; } 5427 5428 5429 5430cat >>confdefs.h <<_ACEOF 5431@%:@define SIZEOF_INT $ac_cv_sizeof_int 5432_ACEOF 5433 5434 5435# The cast to long int works around a bug in the HP C Compiler 5436# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 5437# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 5438# This bug is HP SR number 8606223364. 5439{ $as_echo "$as_me:$LINENO: checking size of long" >&5 5440$as_echo_n "checking size of long... " >&6; } 5441if test "${ac_cv_sizeof_long+set}" = set; then 5442 $as_echo_n "(cached) " >&6 5443else 5444 if test "$cross_compiling" = yes; then 5445 # Depending upon the size, compute the lo and hi bounds. 5446cat >conftest.$ac_ext <<_ACEOF 5447/* confdefs.h. */ 5448_ACEOF 5449cat confdefs.h >>conftest.$ac_ext 5450cat >>conftest.$ac_ext <<_ACEOF 5451/* end confdefs.h. */ 5452$ac_includes_default 5453int 5454main () 5455{ 5456static int test_array @<:@1 - 2 * !(((long int) (sizeof (long))) >= 0)@:>@; 5457test_array @<:@0@:>@ = 0 5458 5459 ; 5460 return 0; 5461} 5462_ACEOF 5463rm -f conftest.$ac_objext 5464if { (ac_try="$ac_compile" 5465case "(($ac_try" in 5466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5467 *) ac_try_echo=$ac_try;; 5468esac 5469eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5470$as_echo "$ac_try_echo") >&5 5471 (eval "$ac_compile") 2>conftest.er1 5472 ac_status=$? 5473 grep -v '^ *+' conftest.er1 >conftest.err 5474 rm -f conftest.er1 5475 cat conftest.err >&5 5476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5477 (exit $ac_status); } && { 5478 test -z "$ac_c_werror_flag" || 5479 test ! -s conftest.err 5480 } && test -s conftest.$ac_objext; then 5481 ac_lo=0 ac_mid=0 5482 while :; do 5483 cat >conftest.$ac_ext <<_ACEOF 5484/* confdefs.h. */ 5485_ACEOF 5486cat confdefs.h >>conftest.$ac_ext 5487cat >>conftest.$ac_ext <<_ACEOF 5488/* end confdefs.h. */ 5489$ac_includes_default 5490int 5491main () 5492{ 5493static int test_array @<:@1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)@:>@; 5494test_array @<:@0@:>@ = 0 5495 5496 ; 5497 return 0; 5498} 5499_ACEOF 5500rm -f conftest.$ac_objext 5501if { (ac_try="$ac_compile" 5502case "(($ac_try" in 5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5504 *) ac_try_echo=$ac_try;; 5505esac 5506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5507$as_echo "$ac_try_echo") >&5 5508 (eval "$ac_compile") 2>conftest.er1 5509 ac_status=$? 5510 grep -v '^ *+' conftest.er1 >conftest.err 5511 rm -f conftest.er1 5512 cat conftest.err >&5 5513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5514 (exit $ac_status); } && { 5515 test -z "$ac_c_werror_flag" || 5516 test ! -s conftest.err 5517 } && test -s conftest.$ac_objext; then 5518 ac_hi=$ac_mid; break 5519else 5520 $as_echo "$as_me: failed program was:" >&5 5521sed 's/^/| /' conftest.$ac_ext >&5 5522 5523 ac_lo=`expr $ac_mid + 1` 5524 if test $ac_lo -le $ac_mid; then 5525 ac_lo= ac_hi= 5526 break 5527 fi 5528 ac_mid=`expr 2 '*' $ac_mid + 1` 5529fi 5530 5531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5532 done 5533else 5534 $as_echo "$as_me: failed program was:" >&5 5535sed 's/^/| /' conftest.$ac_ext >&5 5536 5537 cat >conftest.$ac_ext <<_ACEOF 5538/* confdefs.h. */ 5539_ACEOF 5540cat confdefs.h >>conftest.$ac_ext 5541cat >>conftest.$ac_ext <<_ACEOF 5542/* end confdefs.h. */ 5543$ac_includes_default 5544int 5545main () 5546{ 5547static int test_array @<:@1 - 2 * !(((long int) (sizeof (long))) < 0)@:>@; 5548test_array @<:@0@:>@ = 0 5549 5550 ; 5551 return 0; 5552} 5553_ACEOF 5554rm -f conftest.$ac_objext 5555if { (ac_try="$ac_compile" 5556case "(($ac_try" in 5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5558 *) ac_try_echo=$ac_try;; 5559esac 5560eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5561$as_echo "$ac_try_echo") >&5 5562 (eval "$ac_compile") 2>conftest.er1 5563 ac_status=$? 5564 grep -v '^ *+' conftest.er1 >conftest.err 5565 rm -f conftest.er1 5566 cat conftest.err >&5 5567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5568 (exit $ac_status); } && { 5569 test -z "$ac_c_werror_flag" || 5570 test ! -s conftest.err 5571 } && test -s conftest.$ac_objext; then 5572 ac_hi=-1 ac_mid=-1 5573 while :; do 5574 cat >conftest.$ac_ext <<_ACEOF 5575/* confdefs.h. */ 5576_ACEOF 5577cat confdefs.h >>conftest.$ac_ext 5578cat >>conftest.$ac_ext <<_ACEOF 5579/* end confdefs.h. */ 5580$ac_includes_default 5581int 5582main () 5583{ 5584static int test_array @<:@1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)@:>@; 5585test_array @<:@0@:>@ = 0 5586 5587 ; 5588 return 0; 5589} 5590_ACEOF 5591rm -f conftest.$ac_objext 5592if { (ac_try="$ac_compile" 5593case "(($ac_try" in 5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5595 *) ac_try_echo=$ac_try;; 5596esac 5597eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5598$as_echo "$ac_try_echo") >&5 5599 (eval "$ac_compile") 2>conftest.er1 5600 ac_status=$? 5601 grep -v '^ *+' conftest.er1 >conftest.err 5602 rm -f conftest.er1 5603 cat conftest.err >&5 5604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5605 (exit $ac_status); } && { 5606 test -z "$ac_c_werror_flag" || 5607 test ! -s conftest.err 5608 } && test -s conftest.$ac_objext; then 5609 ac_lo=$ac_mid; break 5610else 5611 $as_echo "$as_me: failed program was:" >&5 5612sed 's/^/| /' conftest.$ac_ext >&5 5613 5614 ac_hi=`expr '(' $ac_mid ')' - 1` 5615 if test $ac_mid -le $ac_hi; then 5616 ac_lo= ac_hi= 5617 break 5618 fi 5619 ac_mid=`expr 2 '*' $ac_mid` 5620fi 5621 5622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5623 done 5624else 5625 $as_echo "$as_me: failed program was:" >&5 5626sed 's/^/| /' conftest.$ac_ext >&5 5627 5628 ac_lo= ac_hi= 5629fi 5630 5631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5632fi 5633 5634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5635# Binary search between lo and hi bounds. 5636while test "x$ac_lo" != "x$ac_hi"; do 5637 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 5638 cat >conftest.$ac_ext <<_ACEOF 5639/* confdefs.h. */ 5640_ACEOF 5641cat confdefs.h >>conftest.$ac_ext 5642cat >>conftest.$ac_ext <<_ACEOF 5643/* end confdefs.h. */ 5644$ac_includes_default 5645int 5646main () 5647{ 5648static int test_array @<:@1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)@:>@; 5649test_array @<:@0@:>@ = 0 5650 5651 ; 5652 return 0; 5653} 5654_ACEOF 5655rm -f conftest.$ac_objext 5656if { (ac_try="$ac_compile" 5657case "(($ac_try" in 5658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5659 *) ac_try_echo=$ac_try;; 5660esac 5661eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5662$as_echo "$ac_try_echo") >&5 5663 (eval "$ac_compile") 2>conftest.er1 5664 ac_status=$? 5665 grep -v '^ *+' conftest.er1 >conftest.err 5666 rm -f conftest.er1 5667 cat conftest.err >&5 5668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5669 (exit $ac_status); } && { 5670 test -z "$ac_c_werror_flag" || 5671 test ! -s conftest.err 5672 } && test -s conftest.$ac_objext; then 5673 ac_hi=$ac_mid 5674else 5675 $as_echo "$as_me: failed program was:" >&5 5676sed 's/^/| /' conftest.$ac_ext >&5 5677 5678 ac_lo=`expr '(' $ac_mid ')' + 1` 5679fi 5680 5681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5682done 5683case $ac_lo in 5684?*) ac_cv_sizeof_long=$ac_lo;; 5685'') if test "$ac_cv_type_long" = yes; then 5686 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 5687$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5688{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 5689See \`config.log' for more details." >&5 5690$as_echo "$as_me: error: cannot compute sizeof (long) 5691See \`config.log' for more details." >&2;} 5692 { (exit 77); exit 77; }; }; } 5693 else 5694 ac_cv_sizeof_long=0 5695 fi ;; 5696esac 5697else 5698 cat >conftest.$ac_ext <<_ACEOF 5699/* confdefs.h. */ 5700_ACEOF 5701cat confdefs.h >>conftest.$ac_ext 5702cat >>conftest.$ac_ext <<_ACEOF 5703/* end confdefs.h. */ 5704$ac_includes_default 5705static long int longval () { return (long int) (sizeof (long)); } 5706static unsigned long int ulongval () { return (long int) (sizeof (long)); } 5707@%:@include <stdio.h> 5708@%:@include <stdlib.h> 5709int 5710main () 5711{ 5712 5713 FILE *f = fopen ("conftest.val", "w"); 5714 if (! f) 5715 return 1; 5716 if (((long int) (sizeof (long))) < 0) 5717 { 5718 long int i = longval (); 5719 if (i != ((long int) (sizeof (long)))) 5720 return 1; 5721 fprintf (f, "%ld", i); 5722 } 5723 else 5724 { 5725 unsigned long int i = ulongval (); 5726 if (i != ((long int) (sizeof (long)))) 5727 return 1; 5728 fprintf (f, "%lu", i); 5729 } 5730 /* Do not output a trailing newline, as this causes \r\n confusion 5731 on some platforms. */ 5732 return ferror (f) || fclose (f) != 0; 5733 5734 ; 5735 return 0; 5736} 5737_ACEOF 5738rm -f conftest$ac_exeext 5739if { (ac_try="$ac_link" 5740case "(($ac_try" in 5741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5742 *) ac_try_echo=$ac_try;; 5743esac 5744eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5745$as_echo "$ac_try_echo") >&5 5746 (eval "$ac_link") 2>&5 5747 ac_status=$? 5748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5750 { (case "(($ac_try" in 5751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5752 *) ac_try_echo=$ac_try;; 5753esac 5754eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5755$as_echo "$ac_try_echo") >&5 5756 (eval "$ac_try") 2>&5 5757 ac_status=$? 5758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5759 (exit $ac_status); }; }; then 5760 ac_cv_sizeof_long=`cat conftest.val` 5761else 5762 $as_echo "$as_me: program exited with status $ac_status" >&5 5763$as_echo "$as_me: failed program was:" >&5 5764sed 's/^/| /' conftest.$ac_ext >&5 5765 5766( exit $ac_status ) 5767if test "$ac_cv_type_long" = yes; then 5768 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 5769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5770{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 5771See \`config.log' for more details." >&5 5772$as_echo "$as_me: error: cannot compute sizeof (long) 5773See \`config.log' for more details." >&2;} 5774 { (exit 77); exit 77; }; }; } 5775 else 5776 ac_cv_sizeof_long=0 5777 fi 5778fi 5779rm -rf conftest.dSYM 5780rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5781fi 5782rm -f conftest.val 5783fi 5784{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 5785$as_echo "$ac_cv_sizeof_long" >&6; } 5786 5787 5788 5789cat >>confdefs.h <<_ACEOF 5790@%:@define SIZEOF_LONG $ac_cv_sizeof_long 5791_ACEOF 5792 5793 5794 5795# Checks for typedefs, structures, and compiler characteristics. 5796 5797# Checks for library functions. 5798 5799for ac_header in stdlib.h 5800do 5801as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5802if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5803 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5804$as_echo_n "checking for $ac_header... " >&6; } 5805if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5806 $as_echo_n "(cached) " >&6 5807fi 5808ac_res=`eval 'as_val=${'$as_ac_Header'} 5809 $as_echo "$as_val"'` 5810 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5811$as_echo "$ac_res" >&6; } 5812else 5813 # Is the header compilable? 5814{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5815$as_echo_n "checking $ac_header usability... " >&6; } 5816cat >conftest.$ac_ext <<_ACEOF 5817/* confdefs.h. */ 5818_ACEOF 5819cat confdefs.h >>conftest.$ac_ext 5820cat >>conftest.$ac_ext <<_ACEOF 5821/* end confdefs.h. */ 5822$ac_includes_default 5823@%:@include <$ac_header> 5824_ACEOF 5825rm -f conftest.$ac_objext 5826if { (ac_try="$ac_compile" 5827case "(($ac_try" in 5828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5829 *) ac_try_echo=$ac_try;; 5830esac 5831eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5832$as_echo "$ac_try_echo") >&5 5833 (eval "$ac_compile") 2>conftest.er1 5834 ac_status=$? 5835 grep -v '^ *+' conftest.er1 >conftest.err 5836 rm -f conftest.er1 5837 cat conftest.err >&5 5838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5839 (exit $ac_status); } && { 5840 test -z "$ac_c_werror_flag" || 5841 test ! -s conftest.err 5842 } && test -s conftest.$ac_objext; then 5843 ac_header_compiler=yes 5844else 5845 $as_echo "$as_me: failed program was:" >&5 5846sed 's/^/| /' conftest.$ac_ext >&5 5847 5848 ac_header_compiler=no 5849fi 5850 5851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5852{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5853$as_echo "$ac_header_compiler" >&6; } 5854 5855# Is the header present? 5856{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5857$as_echo_n "checking $ac_header presence... " >&6; } 5858cat >conftest.$ac_ext <<_ACEOF 5859/* confdefs.h. */ 5860_ACEOF 5861cat confdefs.h >>conftest.$ac_ext 5862cat >>conftest.$ac_ext <<_ACEOF 5863/* end confdefs.h. */ 5864@%:@include <$ac_header> 5865_ACEOF 5866if { (ac_try="$ac_cpp conftest.$ac_ext" 5867case "(($ac_try" in 5868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5869 *) ac_try_echo=$ac_try;; 5870esac 5871eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5872$as_echo "$ac_try_echo") >&5 5873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5874 ac_status=$? 5875 grep -v '^ *+' conftest.er1 >conftest.err 5876 rm -f conftest.er1 5877 cat conftest.err >&5 5878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5879 (exit $ac_status); } >/dev/null && { 5880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5881 test ! -s conftest.err 5882 }; then 5883 ac_header_preproc=yes 5884else 5885 $as_echo "$as_me: failed program was:" >&5 5886sed 's/^/| /' conftest.$ac_ext >&5 5887 5888 ac_header_preproc=no 5889fi 5890 5891rm -f conftest.err conftest.$ac_ext 5892{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5893$as_echo "$ac_header_preproc" >&6; } 5894 5895# So? What about this header? 5896case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5897 yes:no: ) 5898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5899$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5901$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5902 ac_header_preproc=yes 5903 ;; 5904 no:yes:* ) 5905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5906$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5908$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5910$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5912$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5914$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5915 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5916$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5917 5918 ;; 5919esac 5920{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5921$as_echo_n "checking for $ac_header... " >&6; } 5922if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5923 $as_echo_n "(cached) " >&6 5924else 5925 eval "$as_ac_Header=\$ac_header_preproc" 5926fi 5927ac_res=`eval 'as_val=${'$as_ac_Header'} 5928 $as_echo "$as_val"'` 5929 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5930$as_echo "$ac_res" >&6; } 5931 5932fi 5933as_val=`eval 'as_val=${'$as_ac_Header'} 5934 $as_echo "$as_val"'` 5935 if test "x$as_val" = x""yes; then 5936 cat >>confdefs.h <<_ACEOF 5937@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5938_ACEOF 5939 5940fi 5941 5942done 5943 5944{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 5945$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 5946if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then 5947 $as_echo_n "(cached) " >&6 5948else 5949 if test "$cross_compiling" = yes; then 5950 ac_cv_func_malloc_0_nonnull=no 5951else 5952 cat >conftest.$ac_ext <<_ACEOF 5953/* confdefs.h. */ 5954_ACEOF 5955cat confdefs.h >>conftest.$ac_ext 5956cat >>conftest.$ac_ext <<_ACEOF 5957/* end confdefs.h. */ 5958#if defined STDC_HEADERS || defined HAVE_STDLIB_H 5959# include <stdlib.h> 5960#else 5961char *malloc (); 5962#endif 5963 5964int 5965main () 5966{ 5967return ! malloc (0); 5968 ; 5969 return 0; 5970} 5971_ACEOF 5972rm -f conftest$ac_exeext 5973if { (ac_try="$ac_link" 5974case "(($ac_try" in 5975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5976 *) ac_try_echo=$ac_try;; 5977esac 5978eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5979$as_echo "$ac_try_echo") >&5 5980 (eval "$ac_link") 2>&5 5981 ac_status=$? 5982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5984 { (case "(($ac_try" in 5985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5986 *) ac_try_echo=$ac_try;; 5987esac 5988eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5989$as_echo "$ac_try_echo") >&5 5990 (eval "$ac_try") 2>&5 5991 ac_status=$? 5992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5993 (exit $ac_status); }; }; then 5994 ac_cv_func_malloc_0_nonnull=yes 5995else 5996 $as_echo "$as_me: program exited with status $ac_status" >&5 5997$as_echo "$as_me: failed program was:" >&5 5998sed 's/^/| /' conftest.$ac_ext >&5 5999 6000( exit $ac_status ) 6001ac_cv_func_malloc_0_nonnull=no 6002fi 6003rm -rf conftest.dSYM 6004rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6005fi 6006 6007 6008fi 6009{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 6010$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 6011if test $ac_cv_func_malloc_0_nonnull = yes; then 6012 6013cat >>confdefs.h <<\_ACEOF 6014@%:@define HAVE_MALLOC 1 6015_ACEOF 6016 6017else 6018 cat >>confdefs.h <<\_ACEOF 6019@%:@define HAVE_MALLOC 0 6020_ACEOF 6021 6022 case " $LIB@&t@OBJS " in 6023 *" malloc.$ac_objext "* ) ;; 6024 *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" 6025 ;; 6026esac 6027 6028 6029cat >>confdefs.h <<\_ACEOF 6030@%:@define malloc rpl_malloc 6031_ACEOF 6032 6033fi 6034 6035 6036 6037 6038for ac_func in vprintf 6039do 6040as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6041{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6042$as_echo_n "checking for $ac_func... " >&6; } 6043if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6044 $as_echo_n "(cached) " >&6 6045else 6046 cat >conftest.$ac_ext <<_ACEOF 6047/* confdefs.h. */ 6048_ACEOF 6049cat confdefs.h >>conftest.$ac_ext 6050cat >>conftest.$ac_ext <<_ACEOF 6051/* end confdefs.h. */ 6052/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6053 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6054#define $ac_func innocuous_$ac_func 6055 6056/* System header to define __stub macros and hopefully few prototypes, 6057 which can conflict with char $ac_func (); below. 6058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6059 <limits.h> exists even on freestanding compilers. */ 6060 6061#ifdef __STDC__ 6062# include <limits.h> 6063#else 6064# include <assert.h> 6065#endif 6066 6067#undef $ac_func 6068 6069/* Override any GCC internal prototype to avoid an error. 6070 Use char because int might match the return type of a GCC 6071 builtin and then its argument prototype would still apply. */ 6072#ifdef __cplusplus 6073extern "C" 6074#endif 6075char $ac_func (); 6076/* The GNU C library defines this for functions which it implements 6077 to always fail with ENOSYS. Some functions are actually named 6078 something starting with __ and the normal name is an alias. */ 6079#if defined __stub_$ac_func || defined __stub___$ac_func 6080choke me 6081#endif 6082 6083int 6084main () 6085{ 6086return $ac_func (); 6087 ; 6088 return 0; 6089} 6090_ACEOF 6091rm -f conftest.$ac_objext conftest$ac_exeext 6092if { (ac_try="$ac_link" 6093case "(($ac_try" in 6094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6095 *) ac_try_echo=$ac_try;; 6096esac 6097eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6098$as_echo "$ac_try_echo") >&5 6099 (eval "$ac_link") 2>conftest.er1 6100 ac_status=$? 6101 grep -v '^ *+' conftest.er1 >conftest.err 6102 rm -f conftest.er1 6103 cat conftest.err >&5 6104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6105 (exit $ac_status); } && { 6106 test -z "$ac_c_werror_flag" || 6107 test ! -s conftest.err 6108 } && test -s conftest$ac_exeext && { 6109 test "$cross_compiling" = yes || 6110 $as_test_x conftest$ac_exeext 6111 }; then 6112 eval "$as_ac_var=yes" 6113else 6114 $as_echo "$as_me: failed program was:" >&5 6115sed 's/^/| /' conftest.$ac_ext >&5 6116 6117 eval "$as_ac_var=no" 6118fi 6119 6120rm -rf conftest.dSYM 6121rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6122 conftest$ac_exeext conftest.$ac_ext 6123fi 6124ac_res=`eval 'as_val=${'$as_ac_var'} 6125 $as_echo "$as_val"'` 6126 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6127$as_echo "$ac_res" >&6; } 6128as_val=`eval 'as_val=${'$as_ac_var'} 6129 $as_echo "$as_val"'` 6130 if test "x$as_val" = x""yes; then 6131 cat >>confdefs.h <<_ACEOF 6132@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6133_ACEOF 6134 6135{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 6136$as_echo_n "checking for _doprnt... " >&6; } 6137if test "${ac_cv_func__doprnt+set}" = set; then 6138 $as_echo_n "(cached) " >&6 6139else 6140 cat >conftest.$ac_ext <<_ACEOF 6141/* confdefs.h. */ 6142_ACEOF 6143cat confdefs.h >>conftest.$ac_ext 6144cat >>conftest.$ac_ext <<_ACEOF 6145/* end confdefs.h. */ 6146/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 6147 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6148#define _doprnt innocuous__doprnt 6149 6150/* System header to define __stub macros and hopefully few prototypes, 6151 which can conflict with char _doprnt (); below. 6152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6153 <limits.h> exists even on freestanding compilers. */ 6154 6155#ifdef __STDC__ 6156# include <limits.h> 6157#else 6158# include <assert.h> 6159#endif 6160 6161#undef _doprnt 6162 6163/* Override any GCC internal prototype to avoid an error. 6164 Use char because int might match the return type of a GCC 6165 builtin and then its argument prototype would still apply. */ 6166#ifdef __cplusplus 6167extern "C" 6168#endif 6169char _doprnt (); 6170/* The GNU C library defines this for functions which it implements 6171 to always fail with ENOSYS. Some functions are actually named 6172 something starting with __ and the normal name is an alias. */ 6173#if defined __stub__doprnt || defined __stub____doprnt 6174choke me 6175#endif 6176 6177int 6178main () 6179{ 6180return _doprnt (); 6181 ; 6182 return 0; 6183} 6184_ACEOF 6185rm -f conftest.$ac_objext conftest$ac_exeext 6186if { (ac_try="$ac_link" 6187case "(($ac_try" in 6188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6189 *) ac_try_echo=$ac_try;; 6190esac 6191eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6192$as_echo "$ac_try_echo") >&5 6193 (eval "$ac_link") 2>conftest.er1 6194 ac_status=$? 6195 grep -v '^ *+' conftest.er1 >conftest.err 6196 rm -f conftest.er1 6197 cat conftest.err >&5 6198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6199 (exit $ac_status); } && { 6200 test -z "$ac_c_werror_flag" || 6201 test ! -s conftest.err 6202 } && test -s conftest$ac_exeext && { 6203 test "$cross_compiling" = yes || 6204 $as_test_x conftest$ac_exeext 6205 }; then 6206 ac_cv_func__doprnt=yes 6207else 6208 $as_echo "$as_me: failed program was:" >&5 6209sed 's/^/| /' conftest.$ac_ext >&5 6210 6211 ac_cv_func__doprnt=no 6212fi 6213 6214rm -rf conftest.dSYM 6215rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6216 conftest$ac_exeext conftest.$ac_ext 6217fi 6218{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6219$as_echo "$ac_cv_func__doprnt" >&6; } 6220if test "x$ac_cv_func__doprnt" = x""yes; then 6221 6222cat >>confdefs.h <<\_ACEOF 6223@%:@define HAVE_DOPRNT 1 6224_ACEOF 6225 6226fi 6227 6228fi 6229done 6230 6231 6232 6233ac_config_files="$ac_config_files Makefile lib/Makefile tests/Makefile" 6234 6235cat >confcache <<\_ACEOF 6236# This file is a shell script that caches the results of configure 6237# tests run on this system so they can be shared between configure 6238# scripts and configure runs, see configure's option --config-cache. 6239# It is not useful on other systems. If it contains results you don't 6240# want to keep, you may remove or edit it. 6241# 6242# config.status only pays attention to the cache file if you give it 6243# the --recheck option to rerun configure. 6244# 6245# `ac_cv_env_foo' variables (set or unset) will be overridden when 6246# loading this file, other *unset* `ac_cv_foo' will be assigned the 6247# following values. 6248 6249_ACEOF 6250 6251# The following way of writing the cache mishandles newlines in values, 6252# but we know of no workaround that is simple, portable, and efficient. 6253# So, we kill variables containing newlines. 6254# Ultrix sh set writes to stderr and can't be redirected directly, 6255# and sets the high bit in the cache file unless we assign to the vars. 6256( 6257 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6258 eval ac_val=\$$ac_var 6259 case $ac_val in #( 6260 *${as_nl}*) 6261 case $ac_var in #( 6262 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 6263$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6264 esac 6265 case $ac_var in #( 6266 _ | IFS | as_nl) ;; #( 6267 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6268 *) $as_unset $ac_var ;; 6269 esac ;; 6270 esac 6271 done 6272 6273 (set) 2>&1 | 6274 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6275 *${as_nl}ac_space=\ *) 6276 # `set' does not quote correctly, so add quotes (double-quote 6277 # substitution turns \\\\ into \\, and sed turns \\ into \). 6278 sed -n \ 6279 "s/'/'\\\\''/g; 6280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6281 ;; #( 6282 *) 6283 # `set' quotes correctly as required by POSIX, so do not add quotes. 6284 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6285 ;; 6286 esac | 6287 sort 6288) | 6289 sed ' 6290 /^ac_cv_env_/b end 6291 t clear 6292 :clear 6293 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6294 t end 6295 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6296 :end' >>confcache 6297if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6298 if test -w "$cache_file"; then 6299 test "x$cache_file" != "x/dev/null" && 6300 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 6301$as_echo "$as_me: updating cache $cache_file" >&6;} 6302 cat confcache >$cache_file 6303 else 6304 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6305$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6306 fi 6307fi 6308rm -f confcache 6309 6310test "x$prefix" = xNONE && prefix=$ac_default_prefix 6311# Let make expand exec_prefix. 6312test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6313 6314DEFS=-DHAVE_CONFIG_H 6315 6316ac_libobjs= 6317ac_ltlibobjs= 6318for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 6319 # 1. Remove the extension, and $U if already installed. 6320 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6321 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6322 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6323 # will be set to the directory where LIBOBJS objects are built. 6324 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6325 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 6326done 6327LIB@&t@OBJS=$ac_libobjs 6328 6329LTLIBOBJS=$ac_ltlibobjs 6330 6331 6332if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6333 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 6334Usually this means the macro was only invoked conditionally." >&5 6335$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 6336Usually this means the macro was only invoked conditionally." >&2;} 6337 { (exit 1); exit 1; }; } 6338fi 6339if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6340 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 6341Usually this means the macro was only invoked conditionally." >&5 6342$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 6343Usually this means the macro was only invoked conditionally." >&2;} 6344 { (exit 1); exit 1; }; } 6345fi 6346 6347: ${CONFIG_STATUS=./config.status} 6348ac_write_fail=0 6349ac_clean_files_save=$ac_clean_files 6350ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6351{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6352$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6353cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6354#! $SHELL 6355# Generated by $as_me. 6356# Run this file to recreate the current configuration. 6357# Compiler output produced by configure, useful for debugging 6358# configure, is in config.log if it exists. 6359 6360debug=false 6361ac_cs_recheck=false 6362ac_cs_silent=false 6363SHELL=\${CONFIG_SHELL-$SHELL} 6364_ACEOF 6365 6366cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6367## --------------------- ## 6368## M4sh Initialization. ## 6369## --------------------- ## 6370 6371# Be more Bourne compatible 6372DUALCASE=1; export DUALCASE # for MKS sh 6373if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6374 emulate sh 6375 NULLCMD=: 6376 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6377 # is contrary to our usage. Disable this feature. 6378 alias -g '${1+"$@"}'='"$@"' 6379 setopt NO_GLOB_SUBST 6380else 6381 case `(set -o) 2>/dev/null` in 6382 *posix*) set -o posix ;; 6383esac 6384 6385fi 6386 6387 6388 6389 6390# PATH needs CR 6391# Avoid depending upon Character Ranges. 6392as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6393as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6394as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6395as_cr_digits='0123456789' 6396as_cr_alnum=$as_cr_Letters$as_cr_digits 6397 6398as_nl=' 6399' 6400export as_nl 6401# Printing a long string crashes Solaris 7 /usr/bin/printf. 6402as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6403as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6404as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6405if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6406 as_echo='printf %s\n' 6407 as_echo_n='printf %s' 6408else 6409 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6410 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6411 as_echo_n='/usr/ucb/echo -n' 6412 else 6413 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6414 as_echo_n_body='eval 6415 arg=$1; 6416 case $arg in 6417 *"$as_nl"*) 6418 expr "X$arg" : "X\\(.*\\)$as_nl"; 6419 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6420 esac; 6421 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6422 ' 6423 export as_echo_n_body 6424 as_echo_n='sh -c $as_echo_n_body as_echo' 6425 fi 6426 export as_echo_body 6427 as_echo='sh -c $as_echo_body as_echo' 6428fi 6429 6430# The user is always right. 6431if test "${PATH_SEPARATOR+set}" != set; then 6432 PATH_SEPARATOR=: 6433 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6434 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6435 PATH_SEPARATOR=';' 6436 } 6437fi 6438 6439# Support unset when possible. 6440if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6441 as_unset=unset 6442else 6443 as_unset=false 6444fi 6445 6446 6447# IFS 6448# We need space, tab and new line, in precisely that order. Quoting is 6449# there to prevent editors from complaining about space-tab. 6450# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6451# splitting by setting IFS to empty value.) 6452IFS=" "" $as_nl" 6453 6454# Find who we are. Look in the path if we contain no directory separator. 6455case $0 in 6456 *[\\/]* ) as_myself=$0 ;; 6457 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6458for as_dir in $PATH 6459do 6460 IFS=$as_save_IFS 6461 test -z "$as_dir" && as_dir=. 6462 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6463done 6464IFS=$as_save_IFS 6465 6466 ;; 6467esac 6468# We did not find ourselves, most probably we were run as `sh COMMAND' 6469# in which case we are not to be found in the path. 6470if test "x$as_myself" = x; then 6471 as_myself=$0 6472fi 6473if test ! -f "$as_myself"; then 6474 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6475 { (exit 1); exit 1; } 6476fi 6477 6478# Work around bugs in pre-3.0 UWIN ksh. 6479for as_var in ENV MAIL MAILPATH 6480do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6481done 6482PS1='$ ' 6483PS2='> ' 6484PS4='+ ' 6485 6486# NLS nuisances. 6487LC_ALL=C 6488export LC_ALL 6489LANGUAGE=C 6490export LANGUAGE 6491 6492# Required to use basename. 6493if expr a : '\(a\)' >/dev/null 2>&1 && 6494 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6495 as_expr=expr 6496else 6497 as_expr=false 6498fi 6499 6500if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6501 as_basename=basename 6502else 6503 as_basename=false 6504fi 6505 6506 6507# Name of the executable. 6508as_me=`$as_basename -- "$0" || 6509$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6510 X"$0" : 'X\(//\)$' \| \ 6511 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6512$as_echo X/"$0" | 6513 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6514 s//\1/ 6515 q 6516 } 6517 /^X\/\(\/\/\)$/{ 6518 s//\1/ 6519 q 6520 } 6521 /^X\/\(\/\).*/{ 6522 s//\1/ 6523 q 6524 } 6525 s/.*/./; q'` 6526 6527# CDPATH. 6528$as_unset CDPATH 6529 6530 6531 6532 as_lineno_1=$LINENO 6533 as_lineno_2=$LINENO 6534 test "x$as_lineno_1" != "x$as_lineno_2" && 6535 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 6536 6537 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6538 # uniformly replaced by the line number. The first 'sed' inserts a 6539 # line-number line after each line using $LINENO; the second 'sed' 6540 # does the real work. The second script uses 'N' to pair each 6541 # line-number line with the line containing $LINENO, and appends 6542 # trailing '-' during substitution so that $LINENO is not a special 6543 # case at line end. 6544 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6545 # scripts with optimization help from Paolo Bonzini. Blame Lee 6546 # E. McMahon (1931-1989) for sed's syntax. :-) 6547 sed -n ' 6548 p 6549 /[$]LINENO/= 6550 ' <$as_myself | 6551 sed ' 6552 s/[$]LINENO.*/&-/ 6553 t lineno 6554 b 6555 :lineno 6556 N 6557 :loop 6558 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 6559 t loop 6560 s/-\n.*// 6561 ' >$as_me.lineno && 6562 chmod +x "$as_me.lineno" || 6563 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 6564 { (exit 1); exit 1; }; } 6565 6566 # Don't try to exec as it changes $[0], causing all sort of problems 6567 # (the dirname of $[0] is not the place where we might find the 6568 # original and so on. Autoconf is especially sensitive to this). 6569 . "./$as_me.lineno" 6570 # Exit status is that of the last command. 6571 exit 6572} 6573 6574 6575if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6576 as_dirname=dirname 6577else 6578 as_dirname=false 6579fi 6580 6581ECHO_C= ECHO_N= ECHO_T= 6582case `echo -n x` in 6583-n*) 6584 case `echo 'x\c'` in 6585 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6586 *) ECHO_C='\c';; 6587 esac;; 6588*) 6589 ECHO_N='-n';; 6590esac 6591if expr a : '\(a\)' >/dev/null 2>&1 && 6592 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6593 as_expr=expr 6594else 6595 as_expr=false 6596fi 6597 6598rm -f conf$$ conf$$.exe conf$$.file 6599if test -d conf$$.dir; then 6600 rm -f conf$$.dir/conf$$.file 6601else 6602 rm -f conf$$.dir 6603 mkdir conf$$.dir 2>/dev/null 6604fi 6605if (echo >conf$$.file) 2>/dev/null; then 6606 if ln -s conf$$.file conf$$ 2>/dev/null; then 6607 as_ln_s='ln -s' 6608 # ... but there are two gotchas: 6609 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6610 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6611 # In both cases, we have to default to `cp -p'. 6612 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6613 as_ln_s='cp -p' 6614 elif ln conf$$.file conf$$ 2>/dev/null; then 6615 as_ln_s=ln 6616 else 6617 as_ln_s='cp -p' 6618 fi 6619else 6620 as_ln_s='cp -p' 6621fi 6622rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6623rmdir conf$$.dir 2>/dev/null 6624 6625if mkdir -p . 2>/dev/null; then 6626 as_mkdir_p=: 6627else 6628 test -d ./-p && rmdir ./-p 6629 as_mkdir_p=false 6630fi 6631 6632if test -x / >/dev/null 2>&1; then 6633 as_test_x='test -x' 6634else 6635 if ls -dL / >/dev/null 2>&1; then 6636 as_ls_L_option=L 6637 else 6638 as_ls_L_option= 6639 fi 6640 as_test_x=' 6641 eval sh -c '\'' 6642 if test -d "$1"; then 6643 test -d "$1/."; 6644 else 6645 case $1 in 6646 -*)set "./$1";; 6647 esac; 6648 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6649 ???[sx]*):;;*)false;;esac;fi 6650 '\'' sh 6651 ' 6652fi 6653as_executable_p=$as_test_x 6654 6655# Sed expression to map a string onto a valid CPP name. 6656as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6657 6658# Sed expression to map a string onto a valid variable name. 6659as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6660 6661 6662exec 6>&1 6663 6664# Save the log message, to keep $[0] and so on meaningful, and to 6665# report actual input values of CONFIG_FILES etc. instead of their 6666# values after options handling. 6667ac_log=" 6668This file was extended by syck $as_me 0.70, which was 6669generated by GNU Autoconf 2.63. Invocation command line was 6670 6671 CONFIG_FILES = $CONFIG_FILES 6672 CONFIG_HEADERS = $CONFIG_HEADERS 6673 CONFIG_LINKS = $CONFIG_LINKS 6674 CONFIG_COMMANDS = $CONFIG_COMMANDS 6675 $ $0 $@ 6676 6677on `(hostname || uname -n) 2>/dev/null | sed 1q` 6678" 6679 6680_ACEOF 6681 6682case $ac_config_files in *" 6683"*) set x $ac_config_files; shift; ac_config_files=$*;; 6684esac 6685 6686case $ac_config_headers in *" 6687"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6688esac 6689 6690 6691cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6692# Files that config.status was made for. 6693config_files="$ac_config_files" 6694config_headers="$ac_config_headers" 6695config_commands="$ac_config_commands" 6696 6697_ACEOF 6698 6699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6700ac_cs_usage="\ 6701\`$as_me' instantiates files from templates according to the 6702current configuration. 6703 6704Usage: $0 [OPTION]... [FILE]... 6705 6706 -h, --help print this help, then exit 6707 -V, --version print version number and configuration settings, then exit 6708 -q, --quiet, --silent 6709 do not print progress messages 6710 -d, --debug don't remove temporary files 6711 --recheck update $as_me by reconfiguring in the same conditions 6712 --file=FILE[:TEMPLATE] 6713 instantiate the configuration file FILE 6714 --header=FILE[:TEMPLATE] 6715 instantiate the configuration header FILE 6716 6717Configuration files: 6718$config_files 6719 6720Configuration headers: 6721$config_headers 6722 6723Configuration commands: 6724$config_commands 6725 6726Report bugs to <bug-autoconf@gnu.org>." 6727 6728_ACEOF 6729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6730ac_cs_version="\\ 6731syck config.status 0.70 6732configured by $0, generated by GNU Autoconf 2.63, 6733 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6734 6735Copyright (C) 2008 Free Software Foundation, Inc. 6736This config.status script is free software; the Free Software Foundation 6737gives unlimited permission to copy, distribute and modify it." 6738 6739ac_pwd='$ac_pwd' 6740srcdir='$srcdir' 6741INSTALL='$INSTALL' 6742MKDIR_P='$MKDIR_P' 6743AWK='$AWK' 6744test -n "\$AWK" || AWK=awk 6745_ACEOF 6746 6747cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6748# The default lists apply if the user does not specify any file. 6749ac_need_defaults=: 6750while test $# != 0 6751do 6752 case $1 in 6753 --*=*) 6754 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6755 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6756 ac_shift=: 6757 ;; 6758 *) 6759 ac_option=$1 6760 ac_optarg=$2 6761 ac_shift=shift 6762 ;; 6763 esac 6764 6765 case $ac_option in 6766 # Handling of the options. 6767 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6768 ac_cs_recheck=: ;; 6769 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6770 $as_echo "$ac_cs_version"; exit ;; 6771 --debug | --debu | --deb | --de | --d | -d ) 6772 debug=: ;; 6773 --file | --fil | --fi | --f ) 6774 $ac_shift 6775 case $ac_optarg in 6776 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6777 esac 6778 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 6779 ac_need_defaults=false;; 6780 --header | --heade | --head | --hea ) 6781 $ac_shift 6782 case $ac_optarg in 6783 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6784 esac 6785 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 6786 ac_need_defaults=false;; 6787 --he | --h) 6788 # Conflict between --help and --header 6789 { $as_echo "$as_me: error: ambiguous option: $1 6790Try \`$0 --help' for more information." >&2 6791 { (exit 1); exit 1; }; };; 6792 --help | --hel | -h ) 6793 $as_echo "$ac_cs_usage"; exit ;; 6794 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6795 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6796 ac_cs_silent=: ;; 6797 6798 # This is an error. 6799 -*) { $as_echo "$as_me: error: unrecognized option: $1 6800Try \`$0 --help' for more information." >&2 6801 { (exit 1); exit 1; }; } ;; 6802 6803 *) ac_config_targets="$ac_config_targets $1" 6804 ac_need_defaults=false ;; 6805 6806 esac 6807 shift 6808done 6809 6810ac_configure_extra_args= 6811 6812if $ac_cs_silent; then 6813 exec 6>/dev/null 6814 ac_configure_extra_args="$ac_configure_extra_args --silent" 6815fi 6816 6817_ACEOF 6818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6819if \$ac_cs_recheck; then 6820 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6821 shift 6822 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6823 CONFIG_SHELL='$SHELL' 6824 export CONFIG_SHELL 6825 exec "\$@" 6826fi 6827 6828_ACEOF 6829cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6830exec 5>>config.log 6831{ 6832 echo 6833 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 6834@%:@@%:@ Running $as_me. @%:@@%:@ 6835_ASBOX 6836 $as_echo "$ac_log" 6837} >&5 6838 6839_ACEOF 6840cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6841# 6842# INIT-COMMANDS 6843# 6844AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 6845 6846_ACEOF 6847 6848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6849 6850# Handling of arguments. 6851for ac_config_target in $ac_config_targets 6852do 6853 case $ac_config_target in 6854 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 6855 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6856 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6857 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 6858 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 6859 6860 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 6861$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6862 { (exit 1); exit 1; }; };; 6863 esac 6864done 6865 6866 6867# If the user did not use the arguments to specify the items to instantiate, 6868# then the envvar interface is used. Set only those that are not. 6869# We use the long form for the default assignment because of an extremely 6870# bizarre bug on SunOS 4.1.3. 6871if $ac_need_defaults; then 6872 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6873 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 6874 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6875fi 6876 6877# Have a temporary directory for convenience. Make it in the build tree 6878# simply because there is no reason against having it here, and in addition, 6879# creating and moving files from /tmp can sometimes cause problems. 6880# Hook for its removal unless debugging. 6881# Note that there is a small window in which the directory will not be cleaned: 6882# after its creation but before its name has been assigned to `$tmp'. 6883$debug || 6884{ 6885 tmp= 6886 trap 'exit_status=$? 6887 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6888' 0 6889 trap '{ (exit 1); exit 1; }' 1 2 13 15 6890} 6891# Create a (secure) tmp directory for tmp files. 6892 6893{ 6894 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6895 test -n "$tmp" && test -d "$tmp" 6896} || 6897{ 6898 tmp=./conf$$-$RANDOM 6899 (umask 077 && mkdir "$tmp") 6900} || 6901{ 6902 $as_echo "$as_me: cannot create a temporary directory in ." >&2 6903 { (exit 1); exit 1; } 6904} 6905 6906# Set up the scripts for CONFIG_FILES section. 6907# No need to generate them if there are no CONFIG_FILES. 6908# This happens for instance with `./config.status config.h'. 6909if test -n "$CONFIG_FILES"; then 6910 6911 6912ac_cr=' 6913' 6914ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6915if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6916 ac_cs_awk_cr='\\r' 6917else 6918 ac_cs_awk_cr=$ac_cr 6919fi 6920 6921echo 'BEGIN {' >"$tmp/subs1.awk" && 6922_ACEOF 6923 6924 6925{ 6926 echo "cat >conf$$subs.awk <<_ACEOF" && 6927 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6928 echo "_ACEOF" 6929} >conf$$subs.sh || 6930 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6931$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6932 { (exit 1); exit 1; }; } 6933ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6934ac_delim='%!_!# ' 6935for ac_last_try in false false false false false :; do 6936 . ./conf$$subs.sh || 6937 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6938$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6939 { (exit 1); exit 1; }; } 6940 6941 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6942 if test $ac_delim_n = $ac_delim_num; then 6943 break 6944 elif $ac_last_try; then 6945 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6946$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6947 { (exit 1); exit 1; }; } 6948 else 6949 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6950 fi 6951done 6952rm -f conf$$subs.sh 6953 6954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6955cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6956_ACEOF 6957sed -n ' 6958h 6959s/^/S["/; s/!.*/"]=/ 6960p 6961g 6962s/^[^!]*!// 6963:repl 6964t repl 6965s/'"$ac_delim"'$// 6966t delim 6967:nl 6968h 6969s/\(.\{148\}\).*/\1/ 6970t more1 6971s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6972p 6973n 6974b repl 6975:more1 6976s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6977p 6978g 6979s/.\{148\}// 6980t nl 6981:delim 6982h 6983s/\(.\{148\}\).*/\1/ 6984t more2 6985s/["\\]/\\&/g; s/^/"/; s/$/"/ 6986p 6987b 6988:more2 6989s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6990p 6991g 6992s/.\{148\}// 6993t delim 6994' <conf$$subs.awk | sed ' 6995/^[^""]/{ 6996 N 6997 s/\n// 6998} 6999' >>$CONFIG_STATUS || ac_write_fail=1 7000rm -f conf$$subs.awk 7001cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7002_ACAWK 7003cat >>"\$tmp/subs1.awk" <<_ACAWK && 7004 for (key in S) S_is_set[key] = 1 7005 FS = "" 7006 7007} 7008{ 7009 line = $ 0 7010 nfields = split(line, field, "@") 7011 substed = 0 7012 len = length(field[1]) 7013 for (i = 2; i < nfields; i++) { 7014 key = field[i] 7015 keylen = length(key) 7016 if (S_is_set[key]) { 7017 value = S[key] 7018 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7019 len += length(value) + length(field[++i]) 7020 substed = 1 7021 } else 7022 len += 1 + keylen 7023 } 7024 7025 print line 7026} 7027 7028_ACAWK 7029_ACEOF 7030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7031if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7032 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7033else 7034 cat 7035fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7036 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 7037$as_echo "$as_me: error: could not setup config files machinery" >&2;} 7038 { (exit 1); exit 1; }; } 7039_ACEOF 7040 7041# VPATH may cause trouble with some makes, so we remove $(srcdir), 7042# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7043# trailing colons and then remove the whole line if VPATH becomes empty 7044# (actually we leave an empty line to preserve line numbers). 7045if test "x$srcdir" = x.; then 7046 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7047s/:*\$(srcdir):*/:/ 7048s/:*\${srcdir}:*/:/ 7049s/:*@srcdir@:*/:/ 7050s/^\([^=]*=[ ]*\):*/\1/ 7051s/:*$// 7052s/^[^=]*=[ ]*$// 7053}' 7054fi 7055 7056cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7057fi # test -n "$CONFIG_FILES" 7058 7059# Set up the scripts for CONFIG_HEADERS section. 7060# No need to generate them if there are no CONFIG_HEADERS. 7061# This happens for instance with `./config.status Makefile'. 7062if test -n "$CONFIG_HEADERS"; then 7063cat >"$tmp/defines.awk" <<\_ACAWK || 7064BEGIN { 7065_ACEOF 7066 7067# Transform confdefs.h into an awk script `defines.awk', embedded as 7068# here-document in config.status, that substitutes the proper values into 7069# config.h.in to produce config.h. 7070 7071# Create a delimiter string that does not exist in confdefs.h, to ease 7072# handling of long lines. 7073ac_delim='%!_!# ' 7074for ac_last_try in false false :; do 7075 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7076 if test -z "$ac_t"; then 7077 break 7078 elif $ac_last_try; then 7079 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 7080$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 7081 { (exit 1); exit 1; }; } 7082 else 7083 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7084 fi 7085done 7086 7087# For the awk script, D is an array of macro values keyed by name, 7088# likewise P contains macro parameters if any. Preserve backslash 7089# newline sequences. 7090 7091ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7092sed -n ' 7093s/.\{148\}/&'"$ac_delim"'/g 7094t rset 7095:rset 7096s/^[ ]*#[ ]*define[ ][ ]*/ / 7097t def 7098d 7099:def 7100s/\\$// 7101t bsnl 7102s/["\\]/\\&/g 7103s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7104D["\1"]=" \3"/p 7105s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7106d 7107:bsnl 7108s/["\\]/\\&/g 7109s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7110D["\1"]=" \3\\\\\\n"\\/p 7111t cont 7112s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7113t cont 7114d 7115:cont 7116n 7117s/.\{148\}/&'"$ac_delim"'/g 7118t clear 7119:clear 7120s/\\$// 7121t bsnlc 7122s/["\\]/\\&/g; s/^/"/; s/$/"/p 7123d 7124:bsnlc 7125s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7126b cont 7127' <confdefs.h | sed ' 7128s/'"$ac_delim"'/"\\\ 7129"/g' >>$CONFIG_STATUS || ac_write_fail=1 7130 7131cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7132 for (key in D) D_is_set[key] = 1 7133 FS = "" 7134} 7135/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7136 line = \$ 0 7137 split(line, arg, " ") 7138 if (arg[1] == "#") { 7139 defundef = arg[2] 7140 mac1 = arg[3] 7141 } else { 7142 defundef = substr(arg[1], 2) 7143 mac1 = arg[2] 7144 } 7145 split(mac1, mac2, "(") #) 7146 macro = mac2[1] 7147 prefix = substr(line, 1, index(line, defundef) - 1) 7148 if (D_is_set[macro]) { 7149 # Preserve the white space surrounding the "#". 7150 print prefix "define", macro P[macro] D[macro] 7151 next 7152 } else { 7153 # Replace #undef with comments. This is necessary, for example, 7154 # in the case of _POSIX_SOURCE, which is predefined and required 7155 # on some systems where configure will not decide to define it. 7156 if (defundef == "undef") { 7157 print "/*", prefix defundef, macro, "*/" 7158 next 7159 } 7160 } 7161} 7162{ print } 7163_ACAWK 7164_ACEOF 7165cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7166 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 7167$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 7168 { (exit 1); exit 1; }; } 7169fi # test -n "$CONFIG_HEADERS" 7170 7171 7172eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 7173shift 7174for ac_tag 7175do 7176 case $ac_tag in 7177 :[FHLC]) ac_mode=$ac_tag; continue;; 7178 esac 7179 case $ac_mode$ac_tag in 7180 :[FHL]*:*);; 7181 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 7182$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 7183 { (exit 1); exit 1; }; };; 7184 :[FH]-) ac_tag=-:-;; 7185 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7186 esac 7187 ac_save_IFS=$IFS 7188 IFS=: 7189 set x $ac_tag 7190 IFS=$ac_save_IFS 7191 shift 7192 ac_file=$1 7193 shift 7194 7195 case $ac_mode in 7196 :L) ac_source=$1;; 7197 :[FH]) 7198 ac_file_inputs= 7199 for ac_f 7200 do 7201 case $ac_f in 7202 -) ac_f="$tmp/stdin";; 7203 *) # Look for the file first in the build tree, then in the source tree 7204 # (if the path is not absolute). The absolute path cannot be DOS-style, 7205 # because $ac_f cannot contain `:'. 7206 test -f "$ac_f" || 7207 case $ac_f in 7208 [\\/$]*) false;; 7209 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7210 esac || 7211 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 7212$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 7213 { (exit 1); exit 1; }; };; 7214 esac 7215 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7216 ac_file_inputs="$ac_file_inputs '$ac_f'" 7217 done 7218 7219 # Let's still pretend it is `configure' which instantiates (i.e., don't 7220 # use $as_me), people would be surprised to read: 7221 # /* config.h. Generated by config.status. */ 7222 configure_input='Generated from '` 7223 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7224 `' by configure.' 7225 if test x"$ac_file" != x-; then 7226 configure_input="$ac_file. $configure_input" 7227 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 7228$as_echo "$as_me: creating $ac_file" >&6;} 7229 fi 7230 # Neutralize special characters interpreted by sed in replacement strings. 7231 case $configure_input in #( 7232 *\&* | *\|* | *\\* ) 7233 ac_sed_conf_input=`$as_echo "$configure_input" | 7234 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7235 *) ac_sed_conf_input=$configure_input;; 7236 esac 7237 7238 case $ac_tag in 7239 *:-:* | *:-) cat >"$tmp/stdin" \ 7240 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7241$as_echo "$as_me: error: could not create $ac_file" >&2;} 7242 { (exit 1); exit 1; }; } ;; 7243 esac 7244 ;; 7245 esac 7246 7247 ac_dir=`$as_dirname -- "$ac_file" || 7248$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7249 X"$ac_file" : 'X\(//\)[^/]' \| \ 7250 X"$ac_file" : 'X\(//\)$' \| \ 7251 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7252$as_echo X"$ac_file" | 7253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7254 s//\1/ 7255 q 7256 } 7257 /^X\(\/\/\)[^/].*/{ 7258 s//\1/ 7259 q 7260 } 7261 /^X\(\/\/\)$/{ 7262 s//\1/ 7263 q 7264 } 7265 /^X\(\/\).*/{ 7266 s//\1/ 7267 q 7268 } 7269 s/.*/./; q'` 7270 { as_dir="$ac_dir" 7271 case $as_dir in #( 7272 -*) as_dir=./$as_dir;; 7273 esac 7274 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7275 as_dirs= 7276 while :; do 7277 case $as_dir in #( 7278 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7279 *) as_qdir=$as_dir;; 7280 esac 7281 as_dirs="'$as_qdir' $as_dirs" 7282 as_dir=`$as_dirname -- "$as_dir" || 7283$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7284 X"$as_dir" : 'X\(//\)[^/]' \| \ 7285 X"$as_dir" : 'X\(//\)$' \| \ 7286 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7287$as_echo X"$as_dir" | 7288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7289 s//\1/ 7290 q 7291 } 7292 /^X\(\/\/\)[^/].*/{ 7293 s//\1/ 7294 q 7295 } 7296 /^X\(\/\/\)$/{ 7297 s//\1/ 7298 q 7299 } 7300 /^X\(\/\).*/{ 7301 s//\1/ 7302 q 7303 } 7304 s/.*/./; q'` 7305 test -d "$as_dir" && break 7306 done 7307 test -z "$as_dirs" || eval "mkdir $as_dirs" 7308 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7309$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 7310 { (exit 1); exit 1; }; }; } 7311 ac_builddir=. 7312 7313case "$ac_dir" in 7314.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7315*) 7316 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7317 # A ".." for each directory in $ac_dir_suffix. 7318 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7319 case $ac_top_builddir_sub in 7320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7322 esac ;; 7323esac 7324ac_abs_top_builddir=$ac_pwd 7325ac_abs_builddir=$ac_pwd$ac_dir_suffix 7326# for backward compatibility: 7327ac_top_builddir=$ac_top_build_prefix 7328 7329case $srcdir in 7330 .) # We are building in place. 7331 ac_srcdir=. 7332 ac_top_srcdir=$ac_top_builddir_sub 7333 ac_abs_top_srcdir=$ac_pwd ;; 7334 [\\/]* | ?:[\\/]* ) # Absolute name. 7335 ac_srcdir=$srcdir$ac_dir_suffix; 7336 ac_top_srcdir=$srcdir 7337 ac_abs_top_srcdir=$srcdir ;; 7338 *) # Relative name. 7339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7340 ac_top_srcdir=$ac_top_build_prefix$srcdir 7341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7342esac 7343ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7344 7345 7346 case $ac_mode in 7347 :F) 7348 # 7349 # CONFIG_FILE 7350 # 7351 7352 case $INSTALL in 7353 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7354 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7355 esac 7356 ac_MKDIR_P=$MKDIR_P 7357 case $MKDIR_P in 7358 [\\/$]* | ?:[\\/]* ) ;; 7359 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7360 esac 7361_ACEOF 7362 7363cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7364# If the template does not know about datarootdir, expand it. 7365# FIXME: This hack should be removed a few years after 2.60. 7366ac_datarootdir_hack=; ac_datarootdir_seen= 7367 7368ac_sed_dataroot=' 7369/datarootdir/ { 7370 p 7371 q 7372} 7373/@datadir@/p 7374/@docdir@/p 7375/@infodir@/p 7376/@localedir@/p 7377/@mandir@/p 7378' 7379case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7380*datarootdir*) ac_datarootdir_seen=yes;; 7381*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7382 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7383$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7384_ACEOF 7385cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7386 ac_datarootdir_hack=' 7387 s&@datadir@&$datadir&g 7388 s&@docdir@&$docdir&g 7389 s&@infodir@&$infodir&g 7390 s&@localedir@&$localedir&g 7391 s&@mandir@&$mandir&g 7392 s&\\\${datarootdir}&$datarootdir&g' ;; 7393esac 7394_ACEOF 7395 7396# Neutralize VPATH when `$srcdir' = `.'. 7397# Shell code in configure.ac might set extrasub. 7398# FIXME: do we really want to maintain this feature? 7399cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7400ac_sed_extra="$ac_vpsub 7401$extrasub 7402_ACEOF 7403cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7404:t 7405/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7406s|@configure_input@|$ac_sed_conf_input|;t t 7407s&@top_builddir@&$ac_top_builddir_sub&;t t 7408s&@top_build_prefix@&$ac_top_build_prefix&;t t 7409s&@srcdir@&$ac_srcdir&;t t 7410s&@abs_srcdir@&$ac_abs_srcdir&;t t 7411s&@top_srcdir@&$ac_top_srcdir&;t t 7412s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7413s&@builddir@&$ac_builddir&;t t 7414s&@abs_builddir@&$ac_abs_builddir&;t t 7415s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7416s&@INSTALL@&$ac_INSTALL&;t t 7417s&@MKDIR_P@&$ac_MKDIR_P&;t t 7418$ac_datarootdir_hack 7419" 7420eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7421 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7422$as_echo "$as_me: error: could not create $ac_file" >&2;} 7423 { (exit 1); exit 1; }; } 7424 7425test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7426 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7427 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7428 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7429which seems to be undefined. Please make sure it is defined." >&5 7430$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7431which seems to be undefined. Please make sure it is defined." >&2;} 7432 7433 rm -f "$tmp/stdin" 7434 case $ac_file in 7435 -) cat "$tmp/out" && rm -f "$tmp/out";; 7436 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7437 esac \ 7438 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7439$as_echo "$as_me: error: could not create $ac_file" >&2;} 7440 { (exit 1); exit 1; }; } 7441 ;; 7442 :H) 7443 # 7444 # CONFIG_HEADER 7445 # 7446 if test x"$ac_file" != x-; then 7447 { 7448 $as_echo "/* $configure_input */" \ 7449 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7450 } >"$tmp/config.h" \ 7451 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7452$as_echo "$as_me: error: could not create $ac_file" >&2;} 7453 { (exit 1); exit 1; }; } 7454 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7455 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7456$as_echo "$as_me: $ac_file is unchanged" >&6;} 7457 else 7458 rm -f "$ac_file" 7459 mv "$tmp/config.h" "$ac_file" \ 7460 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7461$as_echo "$as_me: error: could not create $ac_file" >&2;} 7462 { (exit 1); exit 1; }; } 7463 fi 7464 else 7465 $as_echo "/* $configure_input */" \ 7466 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7467 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 7468$as_echo "$as_me: error: could not create -" >&2;} 7469 { (exit 1); exit 1; }; } 7470 fi 7471# Compute "$ac_file"'s index in $config_headers. 7472_am_arg="$ac_file" 7473_am_stamp_count=1 7474for _am_header in $config_headers :; do 7475 case $_am_header in 7476 $_am_arg | $_am_arg:* ) 7477 break ;; 7478 * ) 7479 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7480 esac 7481done 7482echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 7483$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7484 X"$_am_arg" : 'X\(//\)[^/]' \| \ 7485 X"$_am_arg" : 'X\(//\)$' \| \ 7486 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 7487$as_echo X"$_am_arg" | 7488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7489 s//\1/ 7490 q 7491 } 7492 /^X\(\/\/\)[^/].*/{ 7493 s//\1/ 7494 q 7495 } 7496 /^X\(\/\/\)$/{ 7497 s//\1/ 7498 q 7499 } 7500 /^X\(\/\).*/{ 7501 s//\1/ 7502 q 7503 } 7504 s/.*/./; q'`/stamp-h$_am_stamp_count 7505 ;; 7506 7507 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 7508$as_echo "$as_me: executing $ac_file commands" >&6;} 7509 ;; 7510 esac 7511 7512 7513 case $ac_file$ac_mode in 7514 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files 7515# are listed without --file. Let's play safe and only enable the eval 7516# if we detect the quoting. 7517case $CONFIG_FILES in 7518*\'*) eval set x "$CONFIG_FILES" ;; 7519*) set x $CONFIG_FILES ;; 7520esac 7521shift 7522for mf 7523do 7524 # Strip MF so we end up with the name of the file. 7525 mf=`echo "$mf" | sed -e 's/:.*$//'` 7526 # Check whether this is an Automake generated Makefile or not. 7527 # We used to match only the files named `Makefile.in', but 7528 # some people rename them; so instead we look at the file content. 7529 # Grep'ing the first line is not enough: some people post-process 7530 # each Makefile.in and add a new line on top of each file to say so. 7531 # Grep'ing the whole file is not good either: AIX grep has a line 7532 # limit of 2048, but all sed's we know have understand at least 4000. 7533 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7534 dirpart=`$as_dirname -- "$mf" || 7535$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7536 X"$mf" : 'X\(//\)[^/]' \| \ 7537 X"$mf" : 'X\(//\)$' \| \ 7538 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7539$as_echo X"$mf" | 7540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7541 s//\1/ 7542 q 7543 } 7544 /^X\(\/\/\)[^/].*/{ 7545 s//\1/ 7546 q 7547 } 7548 /^X\(\/\/\)$/{ 7549 s//\1/ 7550 q 7551 } 7552 /^X\(\/\).*/{ 7553 s//\1/ 7554 q 7555 } 7556 s/.*/./; q'` 7557 else 7558 continue 7559 fi 7560 # Extract the definition of DEPDIR, am__include, and am__quote 7561 # from the Makefile without running `make'. 7562 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7563 test -z "$DEPDIR" && continue 7564 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7565 test -z "am__include" && continue 7566 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7567 # When using ansi2knr, U may be empty or an underscore; expand it 7568 U=`sed -n 's/^U = //p' < "$mf"` 7569 # Find all dependency output files, they are included files with 7570 # $(DEPDIR) in their names. We invoke sed twice because it is the 7571 # simplest approach to changing $(DEPDIR) to its actual value in the 7572 # expansion. 7573 for file in `sed -n " 7574 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7575 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7576 # Make sure the directory exists. 7577 test -f "$dirpart/$file" && continue 7578 fdir=`$as_dirname -- "$file" || 7579$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7580 X"$file" : 'X\(//\)[^/]' \| \ 7581 X"$file" : 'X\(//\)$' \| \ 7582 X"$file" : 'X\(/\)' \| . 2>/dev/null || 7583$as_echo X"$file" | 7584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7585 s//\1/ 7586 q 7587 } 7588 /^X\(\/\/\)[^/].*/{ 7589 s//\1/ 7590 q 7591 } 7592 /^X\(\/\/\)$/{ 7593 s//\1/ 7594 q 7595 } 7596 /^X\(\/\).*/{ 7597 s//\1/ 7598 q 7599 } 7600 s/.*/./; q'` 7601 { as_dir=$dirpart/$fdir 7602 case $as_dir in #( 7603 -*) as_dir=./$as_dir;; 7604 esac 7605 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7606 as_dirs= 7607 while :; do 7608 case $as_dir in #( 7609 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7610 *) as_qdir=$as_dir;; 7611 esac 7612 as_dirs="'$as_qdir' $as_dirs" 7613 as_dir=`$as_dirname -- "$as_dir" || 7614$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7615 X"$as_dir" : 'X\(//\)[^/]' \| \ 7616 X"$as_dir" : 'X\(//\)$' \| \ 7617 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7618$as_echo X"$as_dir" | 7619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7620 s//\1/ 7621 q 7622 } 7623 /^X\(\/\/\)[^/].*/{ 7624 s//\1/ 7625 q 7626 } 7627 /^X\(\/\/\)$/{ 7628 s//\1/ 7629 q 7630 } 7631 /^X\(\/\).*/{ 7632 s//\1/ 7633 q 7634 } 7635 s/.*/./; q'` 7636 test -d "$as_dir" && break 7637 done 7638 test -z "$as_dirs" || eval "mkdir $as_dirs" 7639 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7640$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 7641 { (exit 1); exit 1; }; }; } 7642 # echo "creating $dirpart/$file" 7643 echo '# dummy' > "$dirpart/$file" 7644 done 7645done 7646 ;; 7647 7648 esac 7649done # for ac_tag 7650 7651 7652{ (exit 0); exit 0; } 7653_ACEOF 7654chmod +x $CONFIG_STATUS 7655ac_clean_files=$ac_clean_files_save 7656 7657test $ac_write_fail = 0 || 7658 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 7659$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 7660 { (exit 1); exit 1; }; } 7661 7662 7663# configure is writing to config.log, and then calls config.status. 7664# config.status does its own redirection, appending to config.log. 7665# Unfortunately, on DOS this fails, as config.log is still kept open 7666# by configure, so config.status won't be able to write to it; its 7667# output is simply discarded. So we exec the FD to /dev/null, 7668# effectively closing config.log, so it can be properly (re)opened and 7669# appended to by config.status. When coming back to configure, we 7670# need to make the FD available again. 7671if test "$no_create" != yes; then 7672 ac_cs_success=: 7673 ac_config_status_args= 7674 test "$silent" = yes && 7675 ac_config_status_args="$ac_config_status_args --quiet" 7676 exec 5>/dev/null 7677 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7678 exec 5>>config.log 7679 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7680 # would make configure fail if this is the last instruction. 7681 $ac_cs_success || { (exit 1); exit 1; } 7682fi 7683if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7684 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7685$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7686fi 7687 7688