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