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