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