1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.53a. 4# 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6# Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be Bourne compatible 14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 set -o posix 22fi 23 24# NLS nuisances. 25# Support unset when possible. 26if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 27 as_unset=unset 28else 29 as_unset=false 30fi 31 32(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 33 { $as_unset LANG || test "${LANG+set}" != set; } || 34 { LANG=C; export LANG; } 35(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 36 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 37 { LC_ALL=C; export LC_ALL; } 38(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 39 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 40 { LC_TIME=C; export LC_TIME; } 41(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 42 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 43 { LC_CTYPE=C; export LC_CTYPE; } 44(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 45 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 46 { LANGUAGE=C; export LANGUAGE; } 47(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 48 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 49 { LC_COLLATE=C; export LC_COLLATE; } 50(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 51 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 52 { LC_NUMERIC=C; export LC_NUMERIC; } 53(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 54 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 55 { LC_MESSAGES=C; export LC_MESSAGES; } 56 57 58# Required to use basename. 59if expr a : '\(a\)' >/dev/null 2>&1; then 60 as_expr=expr 61else 62 as_expr=false 63fi 64 65if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 66 as_basename=basename 67else 68 as_basename=false 69fi 70 71 72# Name of the executable. 73as_me=`$as_basename "$0" || 74$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 75 X"$0" : 'X\(//\)$' \| \ 76 X"$0" : 'X\(/\)$' \| \ 77 . : '\(.\)' 2>/dev/null || 78echo X/"$0" | 79 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 80 /^X\/\(\/\/\)$/{ s//\1/; q; } 81 /^X\/\(\/\).*/{ s//\1/; q; } 82 s/.*/./; q'` 83 84 85# PATH needs CR, and LINENO needs CR and PATH. 86# Avoid depending upon Character Ranges. 87as_cr_letters='abcdefghijklmnopqrstuvwxyz' 88as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 89as_cr_Letters=$as_cr_letters$as_cr_LETTERS 90as_cr_digits='0123456789' 91as_cr_alnum=$as_cr_Letters$as_cr_digits 92 93# The user is always right. 94if test "${PATH_SEPARATOR+set}" != set; then 95 echo "#! /bin/sh" >conftest.sh 96 echo "exit 0" >>conftest.sh 97 chmod +x conftest.sh 98 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 99 PATH_SEPARATOR=';' 100 else 101 PATH_SEPARATOR=: 102 fi 103 rm -f conftest.sh 104fi 105 106 107 as_lineno_1=$LINENO 108 as_lineno_2=$LINENO 109 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 110 test "x$as_lineno_1" != "x$as_lineno_2" && 111 test "x$as_lineno_3" = "x$as_lineno_2" || { 112 # Find who we are. Look in the path if we contain no path at all 113 # relative or not. 114 case $0 in 115 *[\\/]* ) as_myself=$0 ;; 116 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 117for as_dir in $PATH 118do 119 IFS=$as_save_IFS 120 test -z "$as_dir" && as_dir=. 121 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 122done 123 124 ;; 125 esac 126 # We did not find ourselves, most probably we were run as `sh COMMAND' 127 # in which case we are not to be found in the path. 128 if test "x$as_myself" = x; then 129 as_myself=$0 130 fi 131 if test ! -f "$as_myself"; then 132 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 133 { (exit 1); exit 1; }; } 134 fi 135 case $CONFIG_SHELL in 136 '') 137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 138for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 139do 140 IFS=$as_save_IFS 141 test -z "$as_dir" && as_dir=. 142 for as_base in sh bash ksh sh5; do 143 case $as_dir in 144 /*) 145 if ("$as_dir/$as_base" -c ' 146 as_lineno_1=$LINENO 147 as_lineno_2=$LINENO 148 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 149 test "x$as_lineno_1" != "x$as_lineno_2" && 150 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 151 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 152 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 153 CONFIG_SHELL=$as_dir/$as_base 154 export CONFIG_SHELL 155 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 156 fi;; 157 esac 158 done 159done 160;; 161 esac 162 163 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 164 # uniformly replaced by the line number. The first 'sed' inserts a 165 # line-number line before each line; the second 'sed' does the real 166 # work. The second script uses 'N' to pair each line-number line 167 # with the numbered line, and appends trailing '-' during 168 # substitution so that $LINENO is not a special case at line end. 169 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 170 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 171 sed '=' <$as_myself | 172 sed ' 173 N 174 s,$,-, 175 : loop 176 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 177 t loop 178 s,-$,, 179 s,^['$as_cr_digits']*\n,, 180 ' >$as_me.lineno && 181 chmod +x $as_me.lineno || 182 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 183 { (exit 1); exit 1; }; } 184 185 # Don't try to exec as it changes $[0], causing all sort of problems 186 # (the dirname of $[0] is not the place where we might find the 187 # original and so on. Autoconf is especially sensible to this). 188 . ./$as_me.lineno 189 # Exit status is that of the last command. 190 exit 191} 192 193 194case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 195 *c*,-n*) ECHO_N= ECHO_C=' 196' ECHO_T=' ' ;; 197 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 198 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 199esac 200 201if expr a : '\(a\)' >/dev/null 2>&1; then 202 as_expr=expr 203else 204 as_expr=false 205fi 206 207rm -f conf$$ conf$$.exe conf$$.file 208echo >conf$$.file 209if ln -s conf$$.file conf$$ 2>/dev/null; then 210 # We could just check for DJGPP; but this test a) works b) is more generic 211 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 212 if test -f conf$$.exe; then 213 # Don't use ln at all; we don't have any links 214 as_ln_s='cp -p' 215 else 216 as_ln_s='ln -s' 217 fi 218elif ln conf$$.file conf$$ 2>/dev/null; then 219 as_ln_s=ln 220else 221 as_ln_s='cp -p' 222fi 223rm -f conf$$ conf$$.exe conf$$.file 224 225if mkdir -p . 2>/dev/null; then 226 as_mkdir_p=: 227else 228 as_mkdir_p=false 229fi 230 231as_executable_p="test -f" 232 233# Sed expression to map a string onto a valid CPP name. 234as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 235 236# Sed expression to map a string onto a valid variable name. 237as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 238 239 240# IFS 241# We need space, tab and new line, in precisely that order. 242as_nl=' 243' 244IFS=" $as_nl" 245 246# CDPATH. 247$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 248 249 250# Name of the host. 251# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 252# so uname gets run too. 253ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 254 255exec 6>&1 256 257# 258# Initializations. 259# 260ac_default_prefix=/usr/local 261cross_compiling=no 262subdirs= 263MFLAGS= 264MAKEFLAGS= 265SHELL=${CONFIG_SHELL-/bin/sh} 266 267# Maximum number of lines to put in a shell here document. 268# This variable seems obsolete. It should probably be removed, and 269# only ac_max_sed_lines should be used. 270: ${ac_max_here_lines=38} 271 272# Identity of this package. 273PACKAGE_NAME= 274PACKAGE_TARNAME= 275PACKAGE_VERSION= 276PACKAGE_STRING= 277PACKAGE_BUGREPORT= 278 279ac_unique_file="rats-c.xml" 280# Factoring default headers for most tests. 281ac_includes_default="\ 282#include <stdio.h> 283#if HAVE_SYS_TYPES_H 284# include <sys/types.h> 285#endif 286#if HAVE_SYS_STAT_H 287# include <sys/stat.h> 288#endif 289#if STDC_HEADERS 290# include <stdlib.h> 291# include <stddef.h> 292#else 293# if HAVE_STDLIB_H 294# include <stdlib.h> 295# endif 296#endif 297#if HAVE_STRING_H 298# if !STDC_HEADERS && HAVE_MEMORY_H 299# include <memory.h> 300# endif 301# include <string.h> 302#endif 303#if HAVE_STRINGS_H 304# include <strings.h> 305#endif 306#if HAVE_INTTYPES_H 307# include <inttypes.h> 308#else 309# if HAVE_STDINT_H 310# include <stdint.h> 311# endif 312#endif 313#if HAVE_UNISTD_H 314# include <unistd.h> 315#endif" 316 317 318# Initialize some variables set by options. 319ac_init_help= 320ac_init_version=false 321# The variables have the same names as the options, with 322# dashes changed to underlines. 323cache_file=/dev/null 324exec_prefix=NONE 325no_create= 326no_recursion= 327prefix=NONE 328program_prefix=NONE 329program_suffix=NONE 330program_transform_name=s,x,x, 331silent= 332site= 333srcdir= 334verbose= 335x_includes=NONE 336x_libraries=NONE 337 338# Installation directory options. 339# These are left unexpanded so users can "make install exec_prefix=/foo" 340# and all the variables that are supposed to be based on exec_prefix 341# by default will actually change. 342# Use braces instead of parens because sh, perl, etc. also accept them. 343bindir='${exec_prefix}/bin' 344sbindir='${exec_prefix}/sbin' 345libexecdir='${exec_prefix}/libexec' 346datadir='${prefix}/share' 347sysconfdir='${prefix}/etc' 348sharedstatedir='${prefix}/com' 349localstatedir='${prefix}/var' 350libdir='${exec_prefix}/lib' 351includedir='${prefix}/include' 352oldincludedir='/usr/include' 353infodir='${prefix}/info' 354mandir='${prefix}/man' 355 356ac_prev= 357for ac_option 358do 359 # If the previous option needs an argument, assign it. 360 if test -n "$ac_prev"; then 361 eval "$ac_prev=\$ac_option" 362 ac_prev= 363 continue 364 fi 365 366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 367 368 # Accept the important Cygnus configure options, so we can diagnose typos. 369 370 case $ac_option in 371 372 -bindir | --bindir | --bindi | --bind | --bin | --bi) 373 ac_prev=bindir ;; 374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 375 bindir=$ac_optarg ;; 376 377 -build | --build | --buil | --bui | --bu) 378 ac_prev=build_alias ;; 379 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 380 build_alias=$ac_optarg ;; 381 382 -cache-file | --cache-file | --cache-fil | --cache-fi \ 383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 384 ac_prev=cache_file ;; 385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 387 cache_file=$ac_optarg ;; 388 389 --config-cache | -C) 390 cache_file=config.cache ;; 391 392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 393 ac_prev=datadir ;; 394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 395 | --da=*) 396 datadir=$ac_optarg ;; 397 398 -disable-* | --disable-*) 399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 400 # Reject names that are not valid shell variable names. 401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 403 { (exit 1); exit 1; }; } 404 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 405 eval "enable_$ac_feature=no" ;; 406 407 -enable-* | --enable-*) 408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 409 # Reject names that are not valid shell variable names. 410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 412 { (exit 1); exit 1; }; } 413 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 414 case $ac_option in 415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 416 *) ac_optarg=yes ;; 417 esac 418 eval "enable_$ac_feature='$ac_optarg'" ;; 419 420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 422 | --exec | --exe | --ex) 423 ac_prev=exec_prefix ;; 424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 426 | --exec=* | --exe=* | --ex=*) 427 exec_prefix=$ac_optarg ;; 428 429 -gas | --gas | --ga | --g) 430 # Obsolete; use --with-gas. 431 with_gas=yes ;; 432 433 -help | --help | --hel | --he | -h) 434 ac_init_help=long ;; 435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 436 ac_init_help=recursive ;; 437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 438 ac_init_help=short ;; 439 440 -host | --host | --hos | --ho) 441 ac_prev=host_alias ;; 442 -host=* | --host=* | --hos=* | --ho=*) 443 host_alias=$ac_optarg ;; 444 445 -includedir | --includedir | --includedi | --included | --include \ 446 | --includ | --inclu | --incl | --inc) 447 ac_prev=includedir ;; 448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 449 | --includ=* | --inclu=* | --incl=* | --inc=*) 450 includedir=$ac_optarg ;; 451 452 -infodir | --infodir | --infodi | --infod | --info | --inf) 453 ac_prev=infodir ;; 454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 455 infodir=$ac_optarg ;; 456 457 -libdir | --libdir | --libdi | --libd) 458 ac_prev=libdir ;; 459 -libdir=* | --libdir=* | --libdi=* | --libd=*) 460 libdir=$ac_optarg ;; 461 462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 463 | --libexe | --libex | --libe) 464 ac_prev=libexecdir ;; 465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 466 | --libexe=* | --libex=* | --libe=*) 467 libexecdir=$ac_optarg ;; 468 469 -localstatedir | --localstatedir | --localstatedi | --localstated \ 470 | --localstate | --localstat | --localsta | --localst \ 471 | --locals | --local | --loca | --loc | --lo) 472 ac_prev=localstatedir ;; 473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 476 localstatedir=$ac_optarg ;; 477 478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 479 ac_prev=mandir ;; 480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 481 mandir=$ac_optarg ;; 482 483 -nfp | --nfp | --nf) 484 # Obsolete; use --without-fp. 485 with_fp=no ;; 486 487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 488 | --no-cr | --no-c | -n) 489 no_create=yes ;; 490 491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 493 no_recursion=yes ;; 494 495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 497 | --oldin | --oldi | --old | --ol | --o) 498 ac_prev=oldincludedir ;; 499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 502 oldincludedir=$ac_optarg ;; 503 504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 505 ac_prev=prefix ;; 506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 507 prefix=$ac_optarg ;; 508 509 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 510 | --program-pre | --program-pr | --program-p) 511 ac_prev=program_prefix ;; 512 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 514 program_prefix=$ac_optarg ;; 515 516 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 517 | --program-suf | --program-su | --program-s) 518 ac_prev=program_suffix ;; 519 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 521 program_suffix=$ac_optarg ;; 522 523 -program-transform-name | --program-transform-name \ 524 | --program-transform-nam | --program-transform-na \ 525 | --program-transform-n | --program-transform- \ 526 | --program-transform | --program-transfor \ 527 | --program-transfo | --program-transf \ 528 | --program-trans | --program-tran \ 529 | --progr-tra | --program-tr | --program-t) 530 ac_prev=program_transform_name ;; 531 -program-transform-name=* | --program-transform-name=* \ 532 | --program-transform-nam=* | --program-transform-na=* \ 533 | --program-transform-n=* | --program-transform-=* \ 534 | --program-transform=* | --program-transfor=* \ 535 | --program-transfo=* | --program-transf=* \ 536 | --program-trans=* | --program-tran=* \ 537 | --progr-tra=* | --program-tr=* | --program-t=*) 538 program_transform_name=$ac_optarg ;; 539 540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 541 | -silent | --silent | --silen | --sile | --sil) 542 silent=yes ;; 543 544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 545 ac_prev=sbindir ;; 546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 547 | --sbi=* | --sb=*) 548 sbindir=$ac_optarg ;; 549 550 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 552 | --sharedst | --shareds | --shared | --share | --shar \ 553 | --sha | --sh) 554 ac_prev=sharedstatedir ;; 555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 558 | --sha=* | --sh=*) 559 sharedstatedir=$ac_optarg ;; 560 561 -site | --site | --sit) 562 ac_prev=site ;; 563 -site=* | --site=* | --sit=*) 564 site=$ac_optarg ;; 565 566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 567 ac_prev=srcdir ;; 568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 569 srcdir=$ac_optarg ;; 570 571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 572 | --syscon | --sysco | --sysc | --sys | --sy) 573 ac_prev=sysconfdir ;; 574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 576 sysconfdir=$ac_optarg ;; 577 578 -target | --target | --targe | --targ | --tar | --ta | --t) 579 ac_prev=target_alias ;; 580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 581 target_alias=$ac_optarg ;; 582 583 -v | -verbose | --verbose | --verbos | --verbo | --verb) 584 verbose=yes ;; 585 586 -version | --version | --versio | --versi | --vers | -V) 587 ac_init_version=: ;; 588 589 -with-* | --with-*) 590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 591 # Reject names that are not valid shell variable names. 592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 593 { echo "$as_me: error: invalid package name: $ac_package" >&2 594 { (exit 1); exit 1; }; } 595 ac_package=`echo $ac_package| sed 's/-/_/g'` 596 case $ac_option in 597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 598 *) ac_optarg=yes ;; 599 esac 600 eval "with_$ac_package='$ac_optarg'" ;; 601 602 -without-* | --without-*) 603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 604 # Reject names that are not valid shell variable names. 605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 606 { echo "$as_me: error: invalid package name: $ac_package" >&2 607 { (exit 1); exit 1; }; } 608 ac_package=`echo $ac_package | sed 's/-/_/g'` 609 eval "with_$ac_package=no" ;; 610 611 --x) 612 # Obsolete; use --with-x. 613 with_x=yes ;; 614 615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 616 | --x-incl | --x-inc | --x-in | --x-i) 617 ac_prev=x_includes ;; 618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 620 x_includes=$ac_optarg ;; 621 622 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 624 ac_prev=x_libraries ;; 625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 627 x_libraries=$ac_optarg ;; 628 629 -*) { echo "$as_me: error: unrecognized option: $ac_option 630Try \`$0 --help' for more information." >&2 631 { (exit 1); exit 1; }; } 632 ;; 633 634 *=*) 635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 636 # Reject names that are not valid shell variable names. 637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 639 { (exit 1); exit 1; }; } 640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 641 eval "$ac_envvar='$ac_optarg'" 642 export $ac_envvar ;; 643 644 *) 645 # FIXME: should be removed in autoconf 3.0. 646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 650 ;; 651 652 esac 653done 654 655if test -n "$ac_prev"; then 656 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 657 { echo "$as_me: error: missing argument to $ac_option" >&2 658 { (exit 1); exit 1; }; } 659fi 660 661# Be sure to have absolute paths. 662for ac_var in exec_prefix prefix 663do 664 eval ac_val=$`echo $ac_var` 665 case $ac_val in 666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 668 { (exit 1); exit 1; }; };; 669 esac 670done 671 672# Be sure to have absolute paths. 673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 674 localstatedir libdir includedir oldincludedir infodir mandir 675do 676 eval ac_val=$`echo $ac_var` 677 case $ac_val in 678 [\\/$]* | ?:[\\/]* ) ;; 679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 680 { (exit 1); exit 1; }; };; 681 esac 682done 683 684# There might be people who depend on the old broken behavior: `$host' 685# used to hold the argument of --host etc. 686# FIXME: To remove some day. 687build=$build_alias 688host=$host_alias 689target=$target_alias 690 691# FIXME: To remove some day. 692if test "x$host_alias" != x; then 693 if test "x$build_alias" = x; then 694 cross_compiling=maybe 695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 696 If a cross compiler is detected then cross compile mode will be used." >&2 697 elif test "x$build_alias" != "x$host_alias"; then 698 cross_compiling=yes 699 fi 700fi 701 702ac_tool_prefix= 703test -n "$host_alias" && ac_tool_prefix=$host_alias- 704 705test "$silent" = yes && exec 6>/dev/null 706 707 708# Find the source files, if location was not specified. 709if test -z "$srcdir"; then 710 ac_srcdir_defaulted=yes 711 # Try the directory containing this script, then its parent. 712 ac_confdir=`(dirname "$0") 2>/dev/null || 713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 714 X"$0" : 'X\(//\)[^/]' \| \ 715 X"$0" : 'X\(//\)$' \| \ 716 X"$0" : 'X\(/\)' \| \ 717 . : '\(.\)' 2>/dev/null || 718echo X"$0" | 719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 720 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 721 /^X\(\/\/\)$/{ s//\1/; q; } 722 /^X\(\/\).*/{ s//\1/; q; } 723 s/.*/./; q'` 724 srcdir=$ac_confdir 725 if test ! -r $srcdir/$ac_unique_file; then 726 srcdir=.. 727 fi 728else 729 ac_srcdir_defaulted=no 730fi 731if test ! -r $srcdir/$ac_unique_file; then 732 if test "$ac_srcdir_defaulted" = yes; then 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 734 { (exit 1); exit 1; }; } 735 else 736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 737 { (exit 1); exit 1; }; } 738 fi 739fi 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_ACEOF 834fi 835 836if test -n "$ac_init_help"; then 837 838 cat <<\_ACEOF 839 840Optional Packages: 841 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 842 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 843 --with-expat-lib=path 844 --with-expat-include=path 845 846Some influential environment variables: 847 CC C compiler command 848 CFLAGS C compiler flags 849 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 850 nonstandard directory <lib dir> 851 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 852 headers in a nonstandard directory <include dir> 853 CPP C preprocessor 854 855Use these variables to override the choices made by `configure' or to help 856it to find libraries and programs with nonstandard names/locations. 857 858_ACEOF 859fi 860 861if test "$ac_init_help" = "recursive"; then 862 # If there are subdirs, report their specific --help. 863 ac_popdir=`pwd` 864 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 865 test -d $ac_dir || continue 866 ac_builddir=. 867 868if test "$ac_dir" != .; then 869 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 870 # A "../" for each directory in $ac_dir_suffix. 871 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 872else 873 ac_dir_suffix= ac_top_builddir= 874fi 875 876case $srcdir in 877 .) # No --srcdir option. We are building in place. 878 ac_srcdir=. 879 if test -z "$ac_top_builddir"; then 880 ac_top_srcdir=. 881 else 882 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 883 fi ;; 884 [\\/]* | ?:[\\/]* ) # Absolute path. 885 ac_srcdir=$srcdir$ac_dir_suffix; 886 ac_top_srcdir=$srcdir ;; 887 *) # Relative path. 888 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 889 ac_top_srcdir=$ac_top_builddir$srcdir ;; 890esac 891# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 892# absolute. 893ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 894ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 895ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 896ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 897 898 cd $ac_dir 899 # Check for guested configure; otherwise get Cygnus style configure. 900 if test -f $ac_srcdir/configure.gnu; then 901 echo 902 $SHELL $ac_srcdir/configure.gnu --help=recursive 903 elif test -f $ac_srcdir/configure; then 904 echo 905 $SHELL $ac_srcdir/configure --help=recursive 906 elif test -f $ac_srcdir/configure.ac || 907 test -f $ac_srcdir/configure.in; then 908 echo 909 $ac_configure --help 910 else 911 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 912 fi 913 cd $ac_popdir 914 done 915fi 916 917test -n "$ac_init_help" && exit 0 918if $ac_init_version; then 919 cat <<\_ACEOF 920 921Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 922Free Software Foundation, Inc. 923This configure script is free software; the Free Software Foundation 924gives unlimited permission to copy, distribute and modify it. 925_ACEOF 926 exit 0 927fi 928exec 5>config.log 929cat >&5 <<_ACEOF 930This file contains any messages produced by compilers while 931running configure, to aid debugging if configure makes a mistake. 932 933It was created by $as_me, which was 934generated by GNU Autoconf 2.53a. Invocation command line was 935 936 $ $0 $@ 937 938_ACEOF 939{ 940cat <<_ASUNAME 941## --------- ## 942## Platform. ## 943## --------- ## 944 945hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 946uname -m = `(uname -m) 2>/dev/null || echo unknown` 947uname -r = `(uname -r) 2>/dev/null || echo unknown` 948uname -s = `(uname -s) 2>/dev/null || echo unknown` 949uname -v = `(uname -v) 2>/dev/null || echo unknown` 950 951/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 952/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 953 954/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 955/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 956/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 957hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 958/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 959/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 960/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 961 962_ASUNAME 963 964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 965for as_dir in $PATH 966do 967 IFS=$as_save_IFS 968 test -z "$as_dir" && as_dir=. 969 echo "PATH: $as_dir" 970done 971 972} >&5 973 974cat >&5 <<_ACEOF 975 976 977## ----------- ## 978## Core tests. ## 979## ----------- ## 980 981_ACEOF 982 983 984# Keep a trace of the command line. 985# Strip out --no-create and --no-recursion so they do not pile up. 986# Also quote any args containing shell meta-characters. 987ac_configure_args= 988ac_sep= 989for ac_arg 990do 991 case $ac_arg in 992 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 993 | --no-cr | --no-c | -n ) continue ;; 994 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 995 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 996 continue ;; 997 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 998 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 999 esac 1000 case " $ac_configure_args " in 1001 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1002 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1003 ac_sep=" " ;; 1004 esac 1005 # Get rid of the leading space. 1006done 1007 1008# When interrupted or exit'd, cleanup temporary files, and complete 1009# config.log. We remove comments because anyway the quotes in there 1010# would cause problems or look ugly. 1011# WARNING: Be sure not to use single quotes in there, as some shells, 1012# such as our DU 5.0 friend, will then `close' the trap. 1013trap 'exit_status=$? 1014 # Save into config.log some information that might help in debugging. 1015 { 1016 echo 1017 cat <<\_ASBOX 1018## ---------------- ## 1019## Cache variables. ## 1020## ---------------- ## 1021_ASBOX 1022 echo 1023 # The following way of writing the cache mishandles newlines in values, 1024{ 1025 (set) 2>&1 | 1026 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1027 *ac_space=\ *) 1028 sed -n \ 1029 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1031 ;; 1032 *) 1033 sed -n \ 1034 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1035 ;; 1036 esac; 1037} 1038 echo 1039 if test -s confdefs.h; then 1040 cat <<\_ASBOX 1041## ----------- ## 1042## confdefs.h. ## 1043## ----------- ## 1044_ASBOX 1045 echo 1046 sed "/^$/d" confdefs.h 1047 echo 1048 fi 1049 test "$ac_signal" != 0 && 1050 echo "$as_me: caught signal $ac_signal" 1051 echo "$as_me: exit $exit_status" 1052 } >&5 1053 rm -f core core.* *.core && 1054 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1055 exit $exit_status 1056 ' 0 1057for ac_signal in 1 2 13 15; do 1058 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1059done 1060ac_signal=0 1061 1062# confdefs.h avoids OS command line length limits that DEFS can exceed. 1063rm -rf conftest* confdefs.h 1064# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1065echo >confdefs.h 1066 1067# Predefined preprocessor variables. 1068 1069cat >>confdefs.h <<_ACEOF 1070#define PACKAGE_NAME "$PACKAGE_NAME" 1071_ACEOF 1072 1073 1074cat >>confdefs.h <<_ACEOF 1075#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1076_ACEOF 1077 1078 1079cat >>confdefs.h <<_ACEOF 1080#define PACKAGE_VERSION "$PACKAGE_VERSION" 1081_ACEOF 1082 1083 1084cat >>confdefs.h <<_ACEOF 1085#define PACKAGE_STRING "$PACKAGE_STRING" 1086_ACEOF 1087 1088 1089cat >>confdefs.h <<_ACEOF 1090#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1091_ACEOF 1092 1093 1094# Let the site file select an alternate cache file if it wants to. 1095# Prefer explicitly selected file to automatically selected ones. 1096if test -z "$CONFIG_SITE"; then 1097 if test "x$prefix" != xNONE; then 1098 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1099 else 1100 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1101 fi 1102fi 1103for ac_site_file in $CONFIG_SITE; do 1104 if test -r "$ac_site_file"; then 1105 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1106echo "$as_me: loading site script $ac_site_file" >&6;} 1107 sed 's/^/| /' "$ac_site_file" >&5 1108 . "$ac_site_file" 1109 fi 1110done 1111 1112if test -r "$cache_file"; then 1113 # Some versions of bash will fail to source /dev/null (special 1114 # files actually), so we avoid doing that. 1115 if test -f "$cache_file"; then 1116 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1117echo "$as_me: loading cache $cache_file" >&6;} 1118 case $cache_file in 1119 [\\/]* | ?:[\\/]* ) . $cache_file;; 1120 *) . ./$cache_file;; 1121 esac 1122 fi 1123else 1124 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1125echo "$as_me: creating cache $cache_file" >&6;} 1126 >$cache_file 1127fi 1128 1129# Check that the precious variables saved in the cache have kept the same 1130# value. 1131ac_cache_corrupted=false 1132for ac_var in `(set) 2>&1 | 1133 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1134 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1135 eval ac_new_set=\$ac_env_${ac_var}_set 1136 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1137 eval ac_new_val="\$ac_env_${ac_var}_value" 1138 case $ac_old_set,$ac_new_set in 1139 set,) 1140 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1141echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1142 ac_cache_corrupted=: ;; 1143 ,set) 1144 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1145echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1146 ac_cache_corrupted=: ;; 1147 ,);; 1148 *) 1149 if test "x$ac_old_val" != "x$ac_new_val"; then 1150 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1151echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1152 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1153echo "$as_me: former value: $ac_old_val" >&2;} 1154 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1155echo "$as_me: current value: $ac_new_val" >&2;} 1156 ac_cache_corrupted=: 1157 fi;; 1158 esac 1159 # Pass precious variables to config.status. 1160 if test "$ac_new_set" = set; then 1161 case $ac_new_val in 1162 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1163 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1164 *) ac_arg=$ac_var=$ac_new_val ;; 1165 esac 1166 case " $ac_configure_args " in 1167 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1168 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1169 esac 1170 fi 1171done 1172if $ac_cache_corrupted; then 1173 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1174echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1175 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1176echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1177 { (exit 1); exit 1; }; } 1178fi 1179 1180ac_ext=c 1181ac_cpp='$CPP $CPPFLAGS' 1182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1184ac_compiler_gnu=$ac_cv_c_compiler_gnu 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204ac_ext=c 1205ac_cpp='$CPP $CPPFLAGS' 1206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1208ac_compiler_gnu=$ac_cv_c_compiler_gnu 1209if test -n "$ac_tool_prefix"; then 1210 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1211set dummy ${ac_tool_prefix}gcc; ac_word=$2 1212echo "$as_me:$LINENO: checking for $ac_word" >&5 1213echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1214if test "${ac_cv_prog_CC+set}" = set; then 1215 echo $ECHO_N "(cached) $ECHO_C" >&6 1216else 1217 if test -n "$CC"; then 1218 ac_cv_prog_CC="$CC" # Let the user override the test. 1219else 1220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1221for as_dir in $PATH 1222do 1223 IFS=$as_save_IFS 1224 test -z "$as_dir" && as_dir=. 1225 for ac_exec_ext in '' $ac_executable_extensions; do 1226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1227 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1229 break 2 1230 fi 1231done 1232done 1233 1234fi 1235fi 1236CC=$ac_cv_prog_CC 1237if test -n "$CC"; then 1238 echo "$as_me:$LINENO: result: $CC" >&5 1239echo "${ECHO_T}$CC" >&6 1240else 1241 echo "$as_me:$LINENO: result: no" >&5 1242echo "${ECHO_T}no" >&6 1243fi 1244 1245fi 1246if test -z "$ac_cv_prog_CC"; then 1247 ac_ct_CC=$CC 1248 # Extract the first word of "gcc", so it can be a program name with args. 1249set dummy gcc; ac_word=$2 1250echo "$as_me:$LINENO: checking for $ac_word" >&5 1251echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1252if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1253 echo $ECHO_N "(cached) $ECHO_C" >&6 1254else 1255 if test -n "$ac_ct_CC"; then 1256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1257else 1258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1259for as_dir in $PATH 1260do 1261 IFS=$as_save_IFS 1262 test -z "$as_dir" && as_dir=. 1263 for ac_exec_ext in '' $ac_executable_extensions; do 1264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1265 ac_cv_prog_ac_ct_CC="gcc" 1266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1267 break 2 1268 fi 1269done 1270done 1271 1272fi 1273fi 1274ac_ct_CC=$ac_cv_prog_ac_ct_CC 1275if test -n "$ac_ct_CC"; then 1276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1277echo "${ECHO_T}$ac_ct_CC" >&6 1278else 1279 echo "$as_me:$LINENO: result: no" >&5 1280echo "${ECHO_T}no" >&6 1281fi 1282 1283 CC=$ac_ct_CC 1284else 1285 CC="$ac_cv_prog_CC" 1286fi 1287 1288if test -z "$CC"; then 1289 if test -n "$ac_tool_prefix"; then 1290 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1291set dummy ${ac_tool_prefix}cc; ac_word=$2 1292echo "$as_me:$LINENO: checking for $ac_word" >&5 1293echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1294if test "${ac_cv_prog_CC+set}" = set; then 1295 echo $ECHO_N "(cached) $ECHO_C" >&6 1296else 1297 if test -n "$CC"; then 1298 ac_cv_prog_CC="$CC" # Let the user override the test. 1299else 1300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1301for as_dir in $PATH 1302do 1303 IFS=$as_save_IFS 1304 test -z "$as_dir" && as_dir=. 1305 for ac_exec_ext in '' $ac_executable_extensions; do 1306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1307 ac_cv_prog_CC="${ac_tool_prefix}cc" 1308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1309 break 2 1310 fi 1311done 1312done 1313 1314fi 1315fi 1316CC=$ac_cv_prog_CC 1317if test -n "$CC"; then 1318 echo "$as_me:$LINENO: result: $CC" >&5 1319echo "${ECHO_T}$CC" >&6 1320else 1321 echo "$as_me:$LINENO: result: no" >&5 1322echo "${ECHO_T}no" >&6 1323fi 1324 1325fi 1326if test -z "$ac_cv_prog_CC"; then 1327 ac_ct_CC=$CC 1328 # Extract the first word of "cc", so it can be a program name with args. 1329set dummy cc; ac_word=$2 1330echo "$as_me:$LINENO: checking for $ac_word" >&5 1331echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1332if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1333 echo $ECHO_N "(cached) $ECHO_C" >&6 1334else 1335 if test -n "$ac_ct_CC"; then 1336 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1337else 1338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1339for as_dir in $PATH 1340do 1341 IFS=$as_save_IFS 1342 test -z "$as_dir" && as_dir=. 1343 for ac_exec_ext in '' $ac_executable_extensions; do 1344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1345 ac_cv_prog_ac_ct_CC="cc" 1346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1347 break 2 1348 fi 1349done 1350done 1351 1352fi 1353fi 1354ac_ct_CC=$ac_cv_prog_ac_ct_CC 1355if test -n "$ac_ct_CC"; then 1356 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1357echo "${ECHO_T}$ac_ct_CC" >&6 1358else 1359 echo "$as_me:$LINENO: result: no" >&5 1360echo "${ECHO_T}no" >&6 1361fi 1362 1363 CC=$ac_ct_CC 1364else 1365 CC="$ac_cv_prog_CC" 1366fi 1367 1368fi 1369if test -z "$CC"; then 1370 # Extract the first word of "cc", so it can be a program name with args. 1371set dummy cc; ac_word=$2 1372echo "$as_me:$LINENO: checking for $ac_word" >&5 1373echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1374if test "${ac_cv_prog_CC+set}" = set; then 1375 echo $ECHO_N "(cached) $ECHO_C" >&6 1376else 1377 if test -n "$CC"; then 1378 ac_cv_prog_CC="$CC" # Let the user override the test. 1379else 1380 ac_prog_rejected=no 1381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1382for as_dir in $PATH 1383do 1384 IFS=$as_save_IFS 1385 test -z "$as_dir" && as_dir=. 1386 for ac_exec_ext in '' $ac_executable_extensions; do 1387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1388 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1389 ac_prog_rejected=yes 1390 continue 1391 fi 1392 ac_cv_prog_CC="cc" 1393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1394 break 2 1395 fi 1396done 1397done 1398 1399if test $ac_prog_rejected = yes; then 1400 # We found a bogon in the path, so make sure we never use it. 1401 set dummy $ac_cv_prog_CC 1402 shift 1403 if test $# != 0; then 1404 # We chose a different compiler from the bogus one. 1405 # However, it has the same basename, so the bogon will be chosen 1406 # first if we set CC to just the basename; use the full file name. 1407 shift 1408 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1409 fi 1410fi 1411fi 1412fi 1413CC=$ac_cv_prog_CC 1414if test -n "$CC"; then 1415 echo "$as_me:$LINENO: result: $CC" >&5 1416echo "${ECHO_T}$CC" >&6 1417else 1418 echo "$as_me:$LINENO: result: no" >&5 1419echo "${ECHO_T}no" >&6 1420fi 1421 1422fi 1423if test -z "$CC"; then 1424 if test -n "$ac_tool_prefix"; then 1425 for ac_prog in cl 1426 do 1427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1428set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1429echo "$as_me:$LINENO: checking for $ac_word" >&5 1430echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1431if test "${ac_cv_prog_CC+set}" = set; then 1432 echo $ECHO_N "(cached) $ECHO_C" >&6 1433else 1434 if test -n "$CC"; then 1435 ac_cv_prog_CC="$CC" # Let the user override the test. 1436else 1437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1438for as_dir in $PATH 1439do 1440 IFS=$as_save_IFS 1441 test -z "$as_dir" && as_dir=. 1442 for ac_exec_ext in '' $ac_executable_extensions; do 1443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1444 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1446 break 2 1447 fi 1448done 1449done 1450 1451fi 1452fi 1453CC=$ac_cv_prog_CC 1454if test -n "$CC"; then 1455 echo "$as_me:$LINENO: result: $CC" >&5 1456echo "${ECHO_T}$CC" >&6 1457else 1458 echo "$as_me:$LINENO: result: no" >&5 1459echo "${ECHO_T}no" >&6 1460fi 1461 1462 test -n "$CC" && break 1463 done 1464fi 1465if test -z "$CC"; then 1466 ac_ct_CC=$CC 1467 for ac_prog in cl 1468do 1469 # Extract the first word of "$ac_prog", so it can be a program name with args. 1470set dummy $ac_prog; ac_word=$2 1471echo "$as_me:$LINENO: checking for $ac_word" >&5 1472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1473if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1474 echo $ECHO_N "(cached) $ECHO_C" >&6 1475else 1476 if test -n "$ac_ct_CC"; then 1477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1478else 1479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1480for as_dir in $PATH 1481do 1482 IFS=$as_save_IFS 1483 test -z "$as_dir" && as_dir=. 1484 for ac_exec_ext in '' $ac_executable_extensions; do 1485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1486 ac_cv_prog_ac_ct_CC="$ac_prog" 1487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1488 break 2 1489 fi 1490done 1491done 1492 1493fi 1494fi 1495ac_ct_CC=$ac_cv_prog_ac_ct_CC 1496if test -n "$ac_ct_CC"; then 1497 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1498echo "${ECHO_T}$ac_ct_CC" >&6 1499else 1500 echo "$as_me:$LINENO: result: no" >&5 1501echo "${ECHO_T}no" >&6 1502fi 1503 1504 test -n "$ac_ct_CC" && break 1505done 1506 1507 CC=$ac_ct_CC 1508fi 1509 1510fi 1511 1512 1513test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 1514echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} 1515 { (exit 1); exit 1; }; } 1516 1517# Provide some information about the compiler. 1518echo "$as_me:$LINENO:" \ 1519 "checking for C compiler version" >&5 1520ac_compiler=`set X $ac_compile; echo $2` 1521{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1522 (eval $ac_compiler --version </dev/null >&5) 2>&5 1523 ac_status=$? 1524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1525 (exit $ac_status); } 1526{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1527 (eval $ac_compiler -v </dev/null >&5) 2>&5 1528 ac_status=$? 1529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1530 (exit $ac_status); } 1531{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1532 (eval $ac_compiler -V </dev/null >&5) 2>&5 1533 ac_status=$? 1534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1535 (exit $ac_status); } 1536 1537cat >conftest.$ac_ext <<_ACEOF 1538#line $LINENO "configure" 1539#include "confdefs.h" 1540 1541#ifdef F77_DUMMY_MAIN 1542# ifdef __cplusplus 1543 extern "C" 1544# endif 1545 int F77_DUMMY_MAIN() { return 1; } 1546#endif 1547int 1548main () 1549{ 1550 1551 ; 1552 return 0; 1553} 1554_ACEOF 1555ac_clean_files_save=$ac_clean_files 1556ac_clean_files="$ac_clean_files a.out a.exe" 1557# Try to create an executable without -o first, disregard a.out. 1558# It will help us diagnose broken compilers, and finding out an intuition 1559# of exeext. 1560echo "$as_me:$LINENO: checking for C compiler default output" >&5 1561echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1562ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1563if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1564 (eval $ac_link_default) 2>&5 1565 ac_status=$? 1566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1567 (exit $ac_status); }; then 1568 # Find the output, starting from the most likely. This scheme is 1569# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1570# resort. 1571 1572# Be careful to initialize this variable, since it used to be cached. 1573# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1574ac_cv_exeext= 1575for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; 1576 ls a.out conftest 2>/dev/null; 1577 ls a.* conftest.* 2>/dev/null`; do 1578 case $ac_file in 1579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1580 a.out ) # We found the default executable, but exeext='' is most 1581 # certainly right. 1582 break;; 1583 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1584 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1585 export ac_cv_exeext 1586 break;; 1587 * ) break;; 1588 esac 1589done 1590else 1591 echo "$as_me: failed program was:" >&5 1592cat conftest.$ac_ext >&5 1593{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 1594echo "$as_me: error: C compiler cannot create executables" >&2;} 1595 { (exit 77); exit 77; }; } 1596fi 1597 1598ac_exeext=$ac_cv_exeext 1599echo "$as_me:$LINENO: result: $ac_file" >&5 1600echo "${ECHO_T}$ac_file" >&6 1601 1602# Check the compiler produces executables we can run. If not, either 1603# the compiler is broken, or we cross compile. 1604echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1605echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1606# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1607# If not cross compiling, check that we can run a simple program. 1608if test "$cross_compiling" != yes; then 1609 if { ac_try='./$ac_file' 1610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1611 (eval $ac_try) 2>&5 1612 ac_status=$? 1613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1614 (exit $ac_status); }; }; then 1615 cross_compiling=no 1616 else 1617 if test "$cross_compiling" = maybe; then 1618 cross_compiling=yes 1619 else 1620 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1621If you meant to cross compile, use \`--host'." >&5 1622echo "$as_me: error: cannot run C compiled programs. 1623If you meant to cross compile, use \`--host'." >&2;} 1624 { (exit 1); exit 1; }; } 1625 fi 1626 fi 1627fi 1628echo "$as_me:$LINENO: result: yes" >&5 1629echo "${ECHO_T}yes" >&6 1630 1631rm -f a.out a.exe conftest$ac_cv_exeext 1632ac_clean_files=$ac_clean_files_save 1633# Check the compiler produces executables we can run. If not, either 1634# the compiler is broken, or we cross compile. 1635echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1636echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1637echo "$as_me:$LINENO: result: $cross_compiling" >&5 1638echo "${ECHO_T}$cross_compiling" >&6 1639 1640echo "$as_me:$LINENO: checking for suffix of executables" >&5 1641echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1642if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1643 (eval $ac_link) 2>&5 1644 ac_status=$? 1645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1646 (exit $ac_status); }; then 1647 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1648# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1649# work properly (i.e., refer to `conftest.exe'), while it won't with 1650# `rm'. 1651for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1652 case $ac_file in 1653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1654 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1655 export ac_cv_exeext 1656 break;; 1657 * ) break;; 1658 esac 1659done 1660else 1661 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 1662echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} 1663 { (exit 1); exit 1; }; } 1664fi 1665 1666rm -f conftest$ac_cv_exeext 1667echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1668echo "${ECHO_T}$ac_cv_exeext" >&6 1669 1670rm -f conftest.$ac_ext 1671EXEEXT=$ac_cv_exeext 1672ac_exeext=$EXEEXT 1673echo "$as_me:$LINENO: checking for suffix of object files" >&5 1674echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1675if test "${ac_cv_objext+set}" = set; then 1676 echo $ECHO_N "(cached) $ECHO_C" >&6 1677else 1678 cat >conftest.$ac_ext <<_ACEOF 1679#line $LINENO "configure" 1680#include "confdefs.h" 1681 1682#ifdef F77_DUMMY_MAIN 1683# ifdef __cplusplus 1684 extern "C" 1685# endif 1686 int F77_DUMMY_MAIN() { return 1; } 1687#endif 1688int 1689main () 1690{ 1691 1692 ; 1693 return 0; 1694} 1695_ACEOF 1696rm -f conftest.o conftest.obj 1697if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1698 (eval $ac_compile) 2>&5 1699 ac_status=$? 1700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1701 (exit $ac_status); }; then 1702 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1703 case $ac_file in 1704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1705 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1706 break;; 1707 esac 1708done 1709else 1710 echo "$as_me: failed program was:" >&5 1711cat conftest.$ac_ext >&5 1712{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 1713echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} 1714 { (exit 1); exit 1; }; } 1715fi 1716 1717rm -f conftest.$ac_cv_objext conftest.$ac_ext 1718fi 1719echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1720echo "${ECHO_T}$ac_cv_objext" >&6 1721OBJEXT=$ac_cv_objext 1722ac_objext=$OBJEXT 1723echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1724echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1725if test "${ac_cv_c_compiler_gnu+set}" = set; then 1726 echo $ECHO_N "(cached) $ECHO_C" >&6 1727else 1728 cat >conftest.$ac_ext <<_ACEOF 1729#line $LINENO "configure" 1730#include "confdefs.h" 1731 1732#ifdef F77_DUMMY_MAIN 1733# ifdef __cplusplus 1734 extern "C" 1735# endif 1736 int F77_DUMMY_MAIN() { return 1; } 1737#endif 1738int 1739main () 1740{ 1741#ifndef __GNUC__ 1742 choke me 1743#endif 1744 1745 ; 1746 return 0; 1747} 1748_ACEOF 1749rm -f conftest.$ac_objext 1750if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1751 (eval $ac_compile) 2>&5 1752 ac_status=$? 1753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1754 (exit $ac_status); } && 1755 { ac_try='test -s conftest.$ac_objext' 1756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1757 (eval $ac_try) 2>&5 1758 ac_status=$? 1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1760 (exit $ac_status); }; }; then 1761 ac_compiler_gnu=yes 1762else 1763 echo "$as_me: failed program was:" >&5 1764cat conftest.$ac_ext >&5 1765ac_compiler_gnu=no 1766fi 1767rm -f conftest.$ac_objext conftest.$ac_ext 1768ac_cv_c_compiler_gnu=$ac_compiler_gnu 1769 1770fi 1771echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1772echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1773GCC=`test $ac_compiler_gnu = yes && echo yes` 1774ac_test_CFLAGS=${CFLAGS+set} 1775ac_save_CFLAGS=$CFLAGS 1776CFLAGS="-g" 1777echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1778echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1779if test "${ac_cv_prog_cc_g+set}" = set; then 1780 echo $ECHO_N "(cached) $ECHO_C" >&6 1781else 1782 cat >conftest.$ac_ext <<_ACEOF 1783#line $LINENO "configure" 1784#include "confdefs.h" 1785 1786#ifdef F77_DUMMY_MAIN 1787# ifdef __cplusplus 1788 extern "C" 1789# endif 1790 int F77_DUMMY_MAIN() { return 1; } 1791#endif 1792int 1793main () 1794{ 1795 1796 ; 1797 return 0; 1798} 1799_ACEOF 1800rm -f conftest.$ac_objext 1801if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1802 (eval $ac_compile) 2>&5 1803 ac_status=$? 1804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1805 (exit $ac_status); } && 1806 { ac_try='test -s conftest.$ac_objext' 1807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1808 (eval $ac_try) 2>&5 1809 ac_status=$? 1810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1811 (exit $ac_status); }; }; then 1812 ac_cv_prog_cc_g=yes 1813else 1814 echo "$as_me: failed program was:" >&5 1815cat conftest.$ac_ext >&5 1816ac_cv_prog_cc_g=no 1817fi 1818rm -f conftest.$ac_objext conftest.$ac_ext 1819fi 1820echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1821echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1822if test "$ac_test_CFLAGS" = set; then 1823 CFLAGS=$ac_save_CFLAGS 1824elif test $ac_cv_prog_cc_g = yes; then 1825 if test "$GCC" = yes; then 1826 CFLAGS="-g -O2" 1827 else 1828 CFLAGS="-g" 1829 fi 1830else 1831 if test "$GCC" = yes; then 1832 CFLAGS="-O2" 1833 else 1834 CFLAGS= 1835 fi 1836fi 1837echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 1838echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 1839if test "${ac_cv_prog_cc_stdc+set}" = set; then 1840 echo $ECHO_N "(cached) $ECHO_C" >&6 1841else 1842 ac_cv_prog_cc_stdc=no 1843ac_save_CC=$CC 1844cat >conftest.$ac_ext <<_ACEOF 1845#line $LINENO "configure" 1846#include "confdefs.h" 1847#include <stdarg.h> 1848#include <stdio.h> 1849#include <sys/types.h> 1850#include <sys/stat.h> 1851/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 1852struct buf { int x; }; 1853FILE * (*rcsopen) (struct buf *, struct stat *, int); 1854static char *e (p, i) 1855 char **p; 1856 int i; 1857{ 1858 return p[i]; 1859} 1860static char *f (char * (*g) (char **, int), char **p, ...) 1861{ 1862 char *s; 1863 va_list v; 1864 va_start (v,p); 1865 s = g (p, va_arg (v,int)); 1866 va_end (v); 1867 return s; 1868} 1869int test (int i, double x); 1870struct s1 {int (*f) (int a);}; 1871struct s2 {int (*f) (double a);}; 1872int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 1873int argc; 1874char **argv; 1875#ifdef F77_DUMMY_MAIN 1876# ifdef __cplusplus 1877 extern "C" 1878# endif 1879 int F77_DUMMY_MAIN() { return 1; } 1880#endif 1881int 1882main () 1883{ 1884return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 1885 ; 1886 return 0; 1887} 1888_ACEOF 1889# Don't try gcc -ansi; that turns off useful extensions and 1890# breaks some systems' header files. 1891# AIX -qlanglvl=ansi 1892# Ultrix and OSF/1 -std1 1893# HP-UX 10.20 and later -Ae 1894# HP-UX older versions -Aa -D_HPUX_SOURCE 1895# SVR4 -Xc -D__EXTENSIONS__ 1896for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 1897do 1898 CC="$ac_save_CC $ac_arg" 1899 rm -f conftest.$ac_objext 1900if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1901 (eval $ac_compile) 2>&5 1902 ac_status=$? 1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1904 (exit $ac_status); } && 1905 { ac_try='test -s conftest.$ac_objext' 1906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1907 (eval $ac_try) 2>&5 1908 ac_status=$? 1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1910 (exit $ac_status); }; }; then 1911 ac_cv_prog_cc_stdc=$ac_arg 1912break 1913else 1914 echo "$as_me: failed program was:" >&5 1915cat conftest.$ac_ext >&5 1916fi 1917rm -f conftest.$ac_objext 1918done 1919rm -f conftest.$ac_ext conftest.$ac_objext 1920CC=$ac_save_CC 1921 1922fi 1923 1924case "x$ac_cv_prog_cc_stdc" in 1925 x|xno) 1926 echo "$as_me:$LINENO: result: none needed" >&5 1927echo "${ECHO_T}none needed" >&6 ;; 1928 *) 1929 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 1930echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 1931 CC="$CC $ac_cv_prog_cc_stdc" ;; 1932esac 1933 1934# Some people use a C++ compiler to compile C. Since we use `exit', 1935# in C++ we need to declare it. In case someone uses the same compiler 1936# for both compiling C and C++ we need to have the C++ compiler decide 1937# the declaration of exit, since it's the most demanding environment. 1938cat >conftest.$ac_ext <<_ACEOF 1939#ifndef __cplusplus 1940 choke me 1941#endif 1942_ACEOF 1943rm -f conftest.$ac_objext 1944if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1945 (eval $ac_compile) 2>&5 1946 ac_status=$? 1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1948 (exit $ac_status); } && 1949 { ac_try='test -s conftest.$ac_objext' 1950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1951 (eval $ac_try) 2>&5 1952 ac_status=$? 1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1954 (exit $ac_status); }; }; then 1955 for ac_declaration in \ 1956 ''\ 1957 '#include <stdlib.h>' \ 1958 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1959 'extern "C" void std::exit (int); using std::exit;' \ 1960 'extern "C" void exit (int) throw ();' \ 1961 'extern "C" void exit (int);' \ 1962 'void exit (int);' 1963do 1964 cat >conftest.$ac_ext <<_ACEOF 1965#line $LINENO "configure" 1966#include "confdefs.h" 1967#include <stdlib.h> 1968$ac_declaration 1969#ifdef F77_DUMMY_MAIN 1970# ifdef __cplusplus 1971 extern "C" 1972# endif 1973 int F77_DUMMY_MAIN() { return 1; } 1974#endif 1975int 1976main () 1977{ 1978exit (42); 1979 ; 1980 return 0; 1981} 1982_ACEOF 1983rm -f conftest.$ac_objext 1984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1985 (eval $ac_compile) 2>&5 1986 ac_status=$? 1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1988 (exit $ac_status); } && 1989 { ac_try='test -s conftest.$ac_objext' 1990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1991 (eval $ac_try) 2>&5 1992 ac_status=$? 1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1994 (exit $ac_status); }; }; then 1995 : 1996else 1997 echo "$as_me: failed program was:" >&5 1998cat conftest.$ac_ext >&5 1999continue 2000fi 2001rm -f conftest.$ac_objext conftest.$ac_ext 2002 cat >conftest.$ac_ext <<_ACEOF 2003#line $LINENO "configure" 2004#include "confdefs.h" 2005$ac_declaration 2006#ifdef F77_DUMMY_MAIN 2007# ifdef __cplusplus 2008 extern "C" 2009# endif 2010 int F77_DUMMY_MAIN() { return 1; } 2011#endif 2012int 2013main () 2014{ 2015exit (42); 2016 ; 2017 return 0; 2018} 2019_ACEOF 2020rm -f conftest.$ac_objext 2021if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2022 (eval $ac_compile) 2>&5 2023 ac_status=$? 2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2025 (exit $ac_status); } && 2026 { ac_try='test -s conftest.$ac_objext' 2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2028 (eval $ac_try) 2>&5 2029 ac_status=$? 2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 (exit $ac_status); }; }; then 2032 break 2033else 2034 echo "$as_me: failed program was:" >&5 2035cat conftest.$ac_ext >&5 2036fi 2037rm -f conftest.$ac_objext conftest.$ac_ext 2038done 2039rm -f conftest* 2040if test -n "$ac_declaration"; then 2041 echo '#ifdef __cplusplus' >>confdefs.h 2042 echo $ac_declaration >>confdefs.h 2043 echo '#endif' >>confdefs.h 2044fi 2045 2046else 2047 echo "$as_me: failed program was:" >&5 2048cat conftest.$ac_ext >&5 2049fi 2050rm -f conftest.$ac_objext conftest.$ac_ext 2051ac_ext=c 2052ac_cpp='$CPP $CPPFLAGS' 2053ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2054ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2055ac_compiler_gnu=$ac_cv_c_compiler_gnu 2056 2057 2058for ac_prog in flex lex 2059do 2060 # Extract the first word of "$ac_prog", so it can be a program name with args. 2061set dummy $ac_prog; ac_word=$2 2062echo "$as_me:$LINENO: checking for $ac_word" >&5 2063echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2064if test "${ac_cv_prog_LEX+set}" = set; then 2065 echo $ECHO_N "(cached) $ECHO_C" >&6 2066else 2067 if test -n "$LEX"; then 2068 ac_cv_prog_LEX="$LEX" # Let the user override the test. 2069else 2070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2071for as_dir in $PATH 2072do 2073 IFS=$as_save_IFS 2074 test -z "$as_dir" && as_dir=. 2075 for ac_exec_ext in '' $ac_executable_extensions; do 2076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2077 ac_cv_prog_LEX="$ac_prog" 2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2079 break 2 2080 fi 2081done 2082done 2083 2084fi 2085fi 2086LEX=$ac_cv_prog_LEX 2087if test -n "$LEX"; then 2088 echo "$as_me:$LINENO: result: $LEX" >&5 2089echo "${ECHO_T}$LEX" >&6 2090else 2091 echo "$as_me:$LINENO: result: no" >&5 2092echo "${ECHO_T}no" >&6 2093fi 2094 2095 test -n "$LEX" && break 2096done 2097test -n "$LEX" || LEX=":" 2098 2099if test -z "$LEXLIB" 2100then 2101 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 2102echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 2103if test "${ac_cv_lib_fl_yywrap+set}" = set; then 2104 echo $ECHO_N "(cached) $ECHO_C" >&6 2105else 2106 ac_check_lib_save_LIBS=$LIBS 2107LIBS="-lfl $LIBS" 2108cat >conftest.$ac_ext <<_ACEOF 2109#line $LINENO "configure" 2110#include "confdefs.h" 2111 2112/* Override any gcc2 internal prototype to avoid an error. */ 2113#ifdef __cplusplus 2114extern "C" 2115#endif 2116/* We use char because int might match the return type of a gcc2 2117 builtin and then its argument prototype would still apply. */ 2118char yywrap (); 2119#ifdef F77_DUMMY_MAIN 2120# ifdef __cplusplus 2121 extern "C" 2122# endif 2123 int F77_DUMMY_MAIN() { return 1; } 2124#endif 2125int 2126main () 2127{ 2128yywrap (); 2129 ; 2130 return 0; 2131} 2132_ACEOF 2133rm -f conftest.$ac_objext conftest$ac_exeext 2134if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2135 (eval $ac_link) 2>&5 2136 ac_status=$? 2137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2138 (exit $ac_status); } && 2139 { ac_try='test -s conftest$ac_exeext' 2140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2141 (eval $ac_try) 2>&5 2142 ac_status=$? 2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2144 (exit $ac_status); }; }; then 2145 ac_cv_lib_fl_yywrap=yes 2146else 2147 echo "$as_me: failed program was:" >&5 2148cat conftest.$ac_ext >&5 2149ac_cv_lib_fl_yywrap=no 2150fi 2151rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2152LIBS=$ac_check_lib_save_LIBS 2153fi 2154echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 2155echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 2156if test $ac_cv_lib_fl_yywrap = yes; then 2157 LEXLIB="-lfl" 2158else 2159 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 2160echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 2161if test "${ac_cv_lib_l_yywrap+set}" = set; then 2162 echo $ECHO_N "(cached) $ECHO_C" >&6 2163else 2164 ac_check_lib_save_LIBS=$LIBS 2165LIBS="-ll $LIBS" 2166cat >conftest.$ac_ext <<_ACEOF 2167#line $LINENO "configure" 2168#include "confdefs.h" 2169 2170/* Override any gcc2 internal prototype to avoid an error. */ 2171#ifdef __cplusplus 2172extern "C" 2173#endif 2174/* We use char because int might match the return type of a gcc2 2175 builtin and then its argument prototype would still apply. */ 2176char yywrap (); 2177#ifdef F77_DUMMY_MAIN 2178# ifdef __cplusplus 2179 extern "C" 2180# endif 2181 int F77_DUMMY_MAIN() { return 1; } 2182#endif 2183int 2184main () 2185{ 2186yywrap (); 2187 ; 2188 return 0; 2189} 2190_ACEOF 2191rm -f conftest.$ac_objext conftest$ac_exeext 2192if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2193 (eval $ac_link) 2>&5 2194 ac_status=$? 2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2196 (exit $ac_status); } && 2197 { ac_try='test -s conftest$ac_exeext' 2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2199 (eval $ac_try) 2>&5 2200 ac_status=$? 2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2202 (exit $ac_status); }; }; then 2203 ac_cv_lib_l_yywrap=yes 2204else 2205 echo "$as_me: failed program was:" >&5 2206cat conftest.$ac_ext >&5 2207ac_cv_lib_l_yywrap=no 2208fi 2209rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2210LIBS=$ac_check_lib_save_LIBS 2211fi 2212echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 2213echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 2214if test $ac_cv_lib_l_yywrap = yes; then 2215 LEXLIB="-ll" 2216fi 2217 2218fi 2219 2220fi 2221 2222if test "x$LEX" != "x:"; then 2223 echo "$as_me:$LINENO: checking lex output file root" >&5 2224echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 2225if test "${ac_cv_prog_lex_root+set}" = set; then 2226 echo $ECHO_N "(cached) $ECHO_C" >&6 2227else 2228 # The minimal lex program is just a single line: %%. But some broken lexes 2229# (Solaris, I think it was) want two %% lines, so accommodate them. 2230cat >conftest.l <<_ACEOF 2231%% 2232%% 2233_ACEOF 2234{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 2235 (eval $LEX conftest.l) 2>&5 2236 ac_status=$? 2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2238 (exit $ac_status); } 2239if test -f lex.yy.c; then 2240 ac_cv_prog_lex_root=lex.yy 2241elif test -f lexyy.c; then 2242 ac_cv_prog_lex_root=lexyy 2243else 2244 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 2245echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 2246 { (exit 1); exit 1; }; } 2247fi 2248fi 2249echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 2250echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 2251rm -f conftest.l 2252LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 2253 2254echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 2255echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 2256if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 2257 echo $ECHO_N "(cached) $ECHO_C" >&6 2258else 2259 # POSIX says lex can declare yytext either as a pointer or an array; the 2260# default is implementation-dependent. Figure out which it is, since 2261# not all implementations provide the %pointer and %array declarations. 2262ac_cv_prog_lex_yytext_pointer=no 2263echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c 2264ac_save_LIBS=$LIBS 2265LIBS="$LIBS $LEXLIB" 2266cat >conftest.$ac_ext <<_ACEOF 2267`cat $LEX_OUTPUT_ROOT.c` 2268_ACEOF 2269rm -f conftest.$ac_objext conftest$ac_exeext 2270if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2271 (eval $ac_link) 2>&5 2272 ac_status=$? 2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2274 (exit $ac_status); } && 2275 { ac_try='test -s conftest$ac_exeext' 2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2277 (eval $ac_try) 2>&5 2278 ac_status=$? 2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2280 (exit $ac_status); }; }; then 2281 ac_cv_prog_lex_yytext_pointer=yes 2282else 2283 echo "$as_me: failed program was:" >&5 2284cat conftest.$ac_ext >&5 2285fi 2286rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2287LIBS=$ac_save_LIBS 2288rm -f "${LEX_OUTPUT_ROOT}.c" 2289 2290fi 2291echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 2292echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 2293if test $ac_cv_prog_lex_yytext_pointer = yes; then 2294 2295cat >>confdefs.h <<\_ACEOF 2296#define YYTEXT_POINTER 1 2297_ACEOF 2298 2299fi 2300 2301fi 2302ac_aux_dir= 2303for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2304 if test -f $ac_dir/install-sh; then 2305 ac_aux_dir=$ac_dir 2306 ac_install_sh="$ac_aux_dir/install-sh -c" 2307 break 2308 elif test -f $ac_dir/install.sh; then 2309 ac_aux_dir=$ac_dir 2310 ac_install_sh="$ac_aux_dir/install.sh -c" 2311 break 2312 elif test -f $ac_dir/shtool; then 2313 ac_aux_dir=$ac_dir 2314 ac_install_sh="$ac_aux_dir/shtool install -c" 2315 break 2316 fi 2317done 2318if test -z "$ac_aux_dir"; then 2319 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2320echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2321 { (exit 1); exit 1; }; } 2322fi 2323ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2324ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2325ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2326 2327# Find a good install program. We prefer a C program (faster), 2328# so one script is as good as another. But avoid the broken or 2329# incompatible versions: 2330# SysV /etc/install, /usr/sbin/install 2331# SunOS /usr/etc/install 2332# IRIX /sbin/install 2333# AIX /bin/install 2334# AmigaOS /C/install, which installs bootblocks on floppy discs 2335# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2336# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2337# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2338# ./install, which can be erroneously created by make from ./install.sh. 2339echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2340echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2341if test -z "$INSTALL"; then 2342if test "${ac_cv_path_install+set}" = set; then 2343 echo $ECHO_N "(cached) $ECHO_C" >&6 2344else 2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2346for as_dir in $PATH 2347do 2348 IFS=$as_save_IFS 2349 test -z "$as_dir" && as_dir=. 2350 # Account for people who put trailing slashes in PATH elements. 2351case $as_dir/ in 2352 ./ | .// | /cC/* | \ 2353 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2354 /usr/ucb/* ) ;; 2355 *) 2356 # OSF1 and SCO ODT 3.0 have their own names for install. 2357 # Don't use installbsd from OSF since it installs stuff as root 2358 # by default. 2359 for ac_prog in ginstall scoinst install; do 2360 for ac_exec_ext in '' $ac_executable_extensions; do 2361 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2362 if test $ac_prog = install && 2363 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2364 # AIX install. It has an incompatible calling convention. 2365 : 2366 elif test $ac_prog = install && 2367 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2368 # program-specific install script used by HP pwplus--don't use. 2369 : 2370 else 2371 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2372 break 3 2373 fi 2374 fi 2375 done 2376 done 2377 ;; 2378esac 2379done 2380 2381 2382fi 2383 if test "${ac_cv_path_install+set}" = set; then 2384 INSTALL=$ac_cv_path_install 2385 else 2386 # As a last resort, use the slow shell script. We don't cache a 2387 # path for INSTALL within a source directory, because that will 2388 # break other packages using the cache if that directory is 2389 # removed, or if the path is relative. 2390 INSTALL=$ac_install_sh 2391 fi 2392fi 2393echo "$as_me:$LINENO: result: $INSTALL" >&5 2394echo "${ECHO_T}$INSTALL" >&6 2395 2396# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2397# It thinks the first close brace ends the variable substitution. 2398test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2399 2400test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2401 2402test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2403 2404LDFLAGS="$LDFLAGS -L/usr/local/lib" 2405CFLAGS="$CFLAGS -I/usr/local/include" 2406CPPFLAGS="$CPPFLAGS -I/usr/local/include" 2407 2408 2409# Check whether --with-expat-lib or --without-expat-lib was given. 2410if test "${with_expat_lib+set}" = set; then 2411 withval="$with_expat_lib" 2412 LDFLAGS="$LDFLAGS -L$withval" 2413fi; 2414 2415# Check whether --with-expat-include or --without-expat-include was given. 2416if test "${with_expat_include+set}" = set; then 2417 withval="$with_expat_include" 2418 CFLAGS="$CFLAGS -I$withval" 2419 CPPFLAGS="$CPPFLAGS -I$withval" 2420 2421fi; 2422 2423echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5 2424echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6 2425if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then 2426 echo $ECHO_N "(cached) $ECHO_C" >&6 2427else 2428 ac_check_lib_save_LIBS=$LIBS 2429LIBS="-lexpat $LIBS" 2430cat >conftest.$ac_ext <<_ACEOF 2431#line $LINENO "configure" 2432#include "confdefs.h" 2433 2434/* Override any gcc2 internal prototype to avoid an error. */ 2435#ifdef __cplusplus 2436extern "C" 2437#endif 2438/* We use char because int might match the return type of a gcc2 2439 builtin and then its argument prototype would still apply. */ 2440char XML_ParserCreate (); 2441#ifdef F77_DUMMY_MAIN 2442# ifdef __cplusplus 2443 extern "C" 2444# endif 2445 int F77_DUMMY_MAIN() { return 1; } 2446#endif 2447int 2448main () 2449{ 2450XML_ParserCreate (); 2451 ; 2452 return 0; 2453} 2454_ACEOF 2455rm -f conftest.$ac_objext conftest$ac_exeext 2456if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2457 (eval $ac_link) 2>&5 2458 ac_status=$? 2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2460 (exit $ac_status); } && 2461 { ac_try='test -s conftest$ac_exeext' 2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2463 (eval $ac_try) 2>&5 2464 ac_status=$? 2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2466 (exit $ac_status); }; }; then 2467 ac_cv_lib_expat_XML_ParserCreate=yes 2468else 2469 echo "$as_me: failed program was:" >&5 2470cat conftest.$ac_ext >&5 2471ac_cv_lib_expat_XML_ParserCreate=no 2472fi 2473rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2474LIBS=$ac_check_lib_save_LIBS 2475fi 2476echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 2477echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6 2478if test $ac_cv_lib_expat_XML_ParserCreate = yes; then 2479 cat >>confdefs.h <<_ACEOF 2480#define HAVE_LIBEXPAT 1 2481_ACEOF 2482 2483 LIBS="-lexpat $LIBS" 2484 2485else 2486 { { echo "$as_me:$LINENO: error: \"Expat library not found. You may need to use the --with-expat-lib\=path\ command line switch to specify which directory the expat libraries are located\"" >&5 2487echo "$as_me: error: \"Expat library not found. You may need to use the --with-expat-lib\=path\ command line switch to specify which directory the expat libraries are located\"" >&2;} 2488 { (exit 1); exit 1; }; } 2489fi 2490 2491ac_ext=c 2492ac_cpp='$CPP $CPPFLAGS' 2493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2495ac_compiler_gnu=$ac_cv_c_compiler_gnu 2496echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2497echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2498# On Suns, sometimes $CPP names a directory. 2499if test -n "$CPP" && test -d "$CPP"; then 2500 CPP= 2501fi 2502if test -z "$CPP"; then 2503 if test "${ac_cv_prog_CPP+set}" = set; then 2504 echo $ECHO_N "(cached) $ECHO_C" >&6 2505else 2506 # Double quotes because CPP needs to be expanded 2507 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2508 do 2509 ac_preproc_ok=false 2510for ac_c_preproc_warn_flag in '' yes 2511do 2512 # Use a header file that comes with gcc, so configuring glibc 2513 # with a fresh cross-compiler works. 2514 # On the NeXT, cc -E runs the code through the compiler's parser, 2515 # not just through cpp. "Syntax error" is here to catch this case. 2516 cat >conftest.$ac_ext <<_ACEOF 2517#line $LINENO "configure" 2518#include "confdefs.h" 2519#include <assert.h> 2520 Syntax error 2521_ACEOF 2522if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2523 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2524 ac_status=$? 2525 egrep -v '^ *\+' conftest.er1 >conftest.err 2526 rm -f conftest.er1 2527 cat conftest.err >&5 2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2529 (exit $ac_status); } >/dev/null; then 2530 if test -s conftest.err; then 2531 ac_cpp_err=$ac_c_preproc_warn_flag 2532 else 2533 ac_cpp_err= 2534 fi 2535else 2536 ac_cpp_err=yes 2537fi 2538if test -z "$ac_cpp_err"; then 2539 : 2540else 2541 echo "$as_me: failed program was:" >&5 2542 cat conftest.$ac_ext >&5 2543 # Broken: fails on valid input. 2544continue 2545fi 2546rm -f conftest.err conftest.$ac_ext 2547 2548 # OK, works on sane cases. Now check whether non-existent headers 2549 # can be detected and how. 2550 cat >conftest.$ac_ext <<_ACEOF 2551#line $LINENO "configure" 2552#include "confdefs.h" 2553#include <ac_nonexistent.h> 2554_ACEOF 2555if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2557 ac_status=$? 2558 egrep -v '^ *\+' conftest.er1 >conftest.err 2559 rm -f conftest.er1 2560 cat conftest.err >&5 2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2562 (exit $ac_status); } >/dev/null; then 2563 if test -s conftest.err; then 2564 ac_cpp_err=$ac_c_preproc_warn_flag 2565 else 2566 ac_cpp_err= 2567 fi 2568else 2569 ac_cpp_err=yes 2570fi 2571if test -z "$ac_cpp_err"; then 2572 # Broken: success on invalid input. 2573continue 2574else 2575 echo "$as_me: failed program was:" >&5 2576 cat conftest.$ac_ext >&5 2577 # Passes both tests. 2578ac_preproc_ok=: 2579break 2580fi 2581rm -f conftest.err conftest.$ac_ext 2582 2583done 2584# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2585rm -f conftest.err conftest.$ac_ext 2586if $ac_preproc_ok; then 2587 break 2588fi 2589 2590 done 2591 ac_cv_prog_CPP=$CPP 2592 2593fi 2594 CPP=$ac_cv_prog_CPP 2595else 2596 ac_cv_prog_CPP=$CPP 2597fi 2598echo "$as_me:$LINENO: result: $CPP" >&5 2599echo "${ECHO_T}$CPP" >&6 2600ac_preproc_ok=false 2601for ac_c_preproc_warn_flag in '' yes 2602do 2603 # Use a header file that comes with gcc, so configuring glibc 2604 # with a fresh cross-compiler works. 2605 # On the NeXT, cc -E runs the code through the compiler's parser, 2606 # not just through cpp. "Syntax error" is here to catch this case. 2607 cat >conftest.$ac_ext <<_ACEOF 2608#line $LINENO "configure" 2609#include "confdefs.h" 2610#include <assert.h> 2611 Syntax error 2612_ACEOF 2613if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2614 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2615 ac_status=$? 2616 egrep -v '^ *\+' conftest.er1 >conftest.err 2617 rm -f conftest.er1 2618 cat conftest.err >&5 2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2620 (exit $ac_status); } >/dev/null; then 2621 if test -s conftest.err; then 2622 ac_cpp_err=$ac_c_preproc_warn_flag 2623 else 2624 ac_cpp_err= 2625 fi 2626else 2627 ac_cpp_err=yes 2628fi 2629if test -z "$ac_cpp_err"; then 2630 : 2631else 2632 echo "$as_me: failed program was:" >&5 2633 cat conftest.$ac_ext >&5 2634 # Broken: fails on valid input. 2635continue 2636fi 2637rm -f conftest.err conftest.$ac_ext 2638 2639 # OK, works on sane cases. Now check whether non-existent headers 2640 # can be detected and how. 2641 cat >conftest.$ac_ext <<_ACEOF 2642#line $LINENO "configure" 2643#include "confdefs.h" 2644#include <ac_nonexistent.h> 2645_ACEOF 2646if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2647 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2648 ac_status=$? 2649 egrep -v '^ *\+' conftest.er1 >conftest.err 2650 rm -f conftest.er1 2651 cat conftest.err >&5 2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2653 (exit $ac_status); } >/dev/null; then 2654 if test -s conftest.err; then 2655 ac_cpp_err=$ac_c_preproc_warn_flag 2656 else 2657 ac_cpp_err= 2658 fi 2659else 2660 ac_cpp_err=yes 2661fi 2662if test -z "$ac_cpp_err"; then 2663 # Broken: success on invalid input. 2664continue 2665else 2666 echo "$as_me: failed program was:" >&5 2667 cat conftest.$ac_ext >&5 2668 # Passes both tests. 2669ac_preproc_ok=: 2670break 2671fi 2672rm -f conftest.err conftest.$ac_ext 2673 2674done 2675# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2676rm -f conftest.err conftest.$ac_ext 2677if $ac_preproc_ok; then 2678 : 2679else 2680 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 2681echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2682 { (exit 1); exit 1; }; } 2683fi 2684 2685ac_ext=c 2686ac_cpp='$CPP $CPPFLAGS' 2687ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2688ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2689ac_compiler_gnu=$ac_cv_c_compiler_gnu 2690 2691 2692echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2693echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2694if test "${ac_cv_header_stdc+set}" = set; then 2695 echo $ECHO_N "(cached) $ECHO_C" >&6 2696else 2697 cat >conftest.$ac_ext <<_ACEOF 2698#line $LINENO "configure" 2699#include "confdefs.h" 2700#include <stdlib.h> 2701#include <stdarg.h> 2702#include <string.h> 2703#include <float.h> 2704 2705_ACEOF 2706if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2707 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2708 ac_status=$? 2709 egrep -v '^ *\+' conftest.er1 >conftest.err 2710 rm -f conftest.er1 2711 cat conftest.err >&5 2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2713 (exit $ac_status); } >/dev/null; then 2714 if test -s conftest.err; then 2715 ac_cpp_err=$ac_c_preproc_warn_flag 2716 else 2717 ac_cpp_err= 2718 fi 2719else 2720 ac_cpp_err=yes 2721fi 2722if test -z "$ac_cpp_err"; then 2723 ac_cv_header_stdc=yes 2724else 2725 echo "$as_me: failed program was:" >&5 2726 cat conftest.$ac_ext >&5 2727 ac_cv_header_stdc=no 2728fi 2729rm -f conftest.err conftest.$ac_ext 2730 2731if test $ac_cv_header_stdc = yes; then 2732 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2733 cat >conftest.$ac_ext <<_ACEOF 2734#line $LINENO "configure" 2735#include "confdefs.h" 2736#include <string.h> 2737 2738_ACEOF 2739if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2740 egrep "memchr" >/dev/null 2>&1; then 2741 : 2742else 2743 ac_cv_header_stdc=no 2744fi 2745rm -f conftest* 2746 2747fi 2748 2749if test $ac_cv_header_stdc = yes; then 2750 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2751 cat >conftest.$ac_ext <<_ACEOF 2752#line $LINENO "configure" 2753#include "confdefs.h" 2754#include <stdlib.h> 2755 2756_ACEOF 2757if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2758 egrep "free" >/dev/null 2>&1; then 2759 : 2760else 2761 ac_cv_header_stdc=no 2762fi 2763rm -f conftest* 2764 2765fi 2766 2767if test $ac_cv_header_stdc = yes; then 2768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2769 if test "$cross_compiling" = yes; then 2770 : 2771else 2772 cat >conftest.$ac_ext <<_ACEOF 2773#line $LINENO "configure" 2774#include "confdefs.h" 2775#include <ctype.h> 2776#if ((' ' & 0x0FF) == 0x020) 2777# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2778# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2779#else 2780# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 2781 || ('j' <= (c) && (c) <= 'r') \ 2782 || ('s' <= (c) && (c) <= 'z')) 2783# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2784#endif 2785 2786#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2787int 2788main () 2789{ 2790 int i; 2791 for (i = 0; i < 256; i++) 2792 if (XOR (islower (i), ISLOWER (i)) 2793 || toupper (i) != TOUPPER (i)) 2794 exit(2); 2795 exit (0); 2796} 2797_ACEOF 2798rm -f conftest$ac_exeext 2799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2800 (eval $ac_link) 2>&5 2801 ac_status=$? 2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2805 (eval $ac_try) 2>&5 2806 ac_status=$? 2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2808 (exit $ac_status); }; }; then 2809 : 2810else 2811 echo "$as_me: program exited with status $ac_status" >&5 2812echo "$as_me: failed program was:" >&5 2813cat conftest.$ac_ext >&5 2814( exit $ac_status ) 2815ac_cv_header_stdc=no 2816fi 2817rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2818fi 2819fi 2820fi 2821echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2822echo "${ECHO_T}$ac_cv_header_stdc" >&6 2823if test $ac_cv_header_stdc = yes; then 2824 2825cat >>confdefs.h <<\_ACEOF 2826#define STDC_HEADERS 1 2827_ACEOF 2828 2829fi 2830 2831# On IRIX 5.3, sys/types and inttypes.h are conflicting. 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 2842 inttypes.h stdint.h unistd.h 2843do 2844as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2845echo "$as_me:$LINENO: checking for $ac_header" >&5 2846echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2847if eval "test \"\${$as_ac_Header+set}\" = set"; then 2848 echo $ECHO_N "(cached) $ECHO_C" >&6 2849else 2850 cat >conftest.$ac_ext <<_ACEOF 2851#line $LINENO "configure" 2852#include "confdefs.h" 2853$ac_includes_default 2854 2855#include <$ac_header> 2856_ACEOF 2857rm -f conftest.$ac_objext 2858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2859 (eval $ac_compile) 2>&5 2860 ac_status=$? 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2862 (exit $ac_status); } && 2863 { ac_try='test -s conftest.$ac_objext' 2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2865 (eval $ac_try) 2>&5 2866 ac_status=$? 2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2868 (exit $ac_status); }; }; then 2869 eval "$as_ac_Header=yes" 2870else 2871 echo "$as_me: failed program was:" >&5 2872cat conftest.$ac_ext >&5 2873eval "$as_ac_Header=no" 2874fi 2875rm -f conftest.$ac_objext conftest.$ac_ext 2876fi 2877echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2878echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2879if test `eval echo '${'$as_ac_Header'}'` = yes; then 2880 cat >>confdefs.h <<_ACEOF 2881#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2882_ACEOF 2883 2884fi 2885 2886done 2887 2888 2889 2890for ac_header in expat.h 2891do 2892as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2893if eval "test \"\${$as_ac_Header+set}\" = set"; then 2894 echo "$as_me:$LINENO: checking for $ac_header" >&5 2895echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2896if eval "test \"\${$as_ac_Header+set}\" = set"; then 2897 echo $ECHO_N "(cached) $ECHO_C" >&6 2898fi 2899echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2900echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2901else 2902 # Is the header compilable? 2903echo "$as_me:$LINENO: checking $ac_header usability" >&5 2904echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 2905cat >conftest.$ac_ext <<_ACEOF 2906#line $LINENO "configure" 2907#include "confdefs.h" 2908$ac_includes_default 2909#include <$ac_header> 2910_ACEOF 2911rm -f conftest.$ac_objext 2912if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2913 (eval $ac_compile) 2>&5 2914 ac_status=$? 2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2916 (exit $ac_status); } && 2917 { ac_try='test -s conftest.$ac_objext' 2918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2919 (eval $ac_try) 2>&5 2920 ac_status=$? 2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2922 (exit $ac_status); }; }; then 2923 ac_header_compiler=yes 2924else 2925 echo "$as_me: failed program was:" >&5 2926cat conftest.$ac_ext >&5 2927ac_header_compiler=no 2928fi 2929rm -f conftest.$ac_objext conftest.$ac_ext 2930echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 2931echo "${ECHO_T}$ac_header_compiler" >&6 2932 2933# Is the header present? 2934echo "$as_me:$LINENO: checking $ac_header presence" >&5 2935echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 2936cat >conftest.$ac_ext <<_ACEOF 2937#line $LINENO "configure" 2938#include "confdefs.h" 2939#include <$ac_header> 2940_ACEOF 2941if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2943 ac_status=$? 2944 egrep -v '^ *\+' conftest.er1 >conftest.err 2945 rm -f conftest.er1 2946 cat conftest.err >&5 2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948 (exit $ac_status); } >/dev/null; then 2949 if test -s conftest.err; then 2950 ac_cpp_err=$ac_c_preproc_warn_flag 2951 else 2952 ac_cpp_err= 2953 fi 2954else 2955 ac_cpp_err=yes 2956fi 2957if test -z "$ac_cpp_err"; then 2958 ac_header_preproc=yes 2959else 2960 echo "$as_me: failed program was:" >&5 2961 cat conftest.$ac_ext >&5 2962 ac_header_preproc=no 2963fi 2964rm -f conftest.err conftest.$ac_ext 2965echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 2966echo "${ECHO_T}$ac_header_preproc" >&6 2967 2968# So? What about this header? 2969case $ac_header_compiler:$ac_header_preproc in 2970 yes:no ) 2971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 2972echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 2973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 2974echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 2975 no:yes ) 2976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 2977echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 2978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 2979echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 2980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 2981echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 2982esac 2983echo "$as_me:$LINENO: checking for $ac_header" >&5 2984echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2985if eval "test \"\${$as_ac_Header+set}\" = set"; then 2986 echo $ECHO_N "(cached) $ECHO_C" >&6 2987else 2988 eval "$as_ac_Header=$ac_header_preproc" 2989fi 2990echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2991echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2992 2993fi 2994if test `eval echo '${'$as_ac_Header'}'` = yes; then 2995 cat >>confdefs.h <<_ACEOF 2996#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2997_ACEOF 2998 expat_h_found="yes" 2999else 3000 expat_h_found="no" 3001fi 3002 3003done 3004 3005 3006for ac_header in xmlparse.h 3007do 3008as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3009if eval "test \"\${$as_ac_Header+set}\" = set"; then 3010 echo "$as_me:$LINENO: checking for $ac_header" >&5 3011echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3012if eval "test \"\${$as_ac_Header+set}\" = set"; then 3013 echo $ECHO_N "(cached) $ECHO_C" >&6 3014fi 3015echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3016echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3017else 3018 # Is the header compilable? 3019echo "$as_me:$LINENO: checking $ac_header usability" >&5 3020echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3021cat >conftest.$ac_ext <<_ACEOF 3022#line $LINENO "configure" 3023#include "confdefs.h" 3024$ac_includes_default 3025#include <$ac_header> 3026_ACEOF 3027rm -f conftest.$ac_objext 3028if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3029 (eval $ac_compile) 2>&5 3030 ac_status=$? 3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 (exit $ac_status); } && 3033 { ac_try='test -s conftest.$ac_objext' 3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3035 (eval $ac_try) 2>&5 3036 ac_status=$? 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3038 (exit $ac_status); }; }; then 3039 ac_header_compiler=yes 3040else 3041 echo "$as_me: failed program was:" >&5 3042cat conftest.$ac_ext >&5 3043ac_header_compiler=no 3044fi 3045rm -f conftest.$ac_objext conftest.$ac_ext 3046echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3047echo "${ECHO_T}$ac_header_compiler" >&6 3048 3049# Is the header present? 3050echo "$as_me:$LINENO: checking $ac_header presence" >&5 3051echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3052cat >conftest.$ac_ext <<_ACEOF 3053#line $LINENO "configure" 3054#include "confdefs.h" 3055#include <$ac_header> 3056_ACEOF 3057if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3059 ac_status=$? 3060 egrep -v '^ *\+' conftest.er1 >conftest.err 3061 rm -f conftest.er1 3062 cat conftest.err >&5 3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3064 (exit $ac_status); } >/dev/null; then 3065 if test -s conftest.err; then 3066 ac_cpp_err=$ac_c_preproc_warn_flag 3067 else 3068 ac_cpp_err= 3069 fi 3070else 3071 ac_cpp_err=yes 3072fi 3073if test -z "$ac_cpp_err"; then 3074 ac_header_preproc=yes 3075else 3076 echo "$as_me: failed program was:" >&5 3077 cat conftest.$ac_ext >&5 3078 ac_header_preproc=no 3079fi 3080rm -f conftest.err conftest.$ac_ext 3081echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3082echo "${ECHO_T}$ac_header_preproc" >&6 3083 3084# So? What about this header? 3085case $ac_header_compiler:$ac_header_preproc in 3086 yes:no ) 3087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3088echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3090echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3091 no:yes ) 3092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3093echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3095echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3097echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3098esac 3099echo "$as_me:$LINENO: checking for $ac_header" >&5 3100echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3101if eval "test \"\${$as_ac_Header+set}\" = set"; then 3102 echo $ECHO_N "(cached) $ECHO_C" >&6 3103else 3104 eval "$as_ac_Header=$ac_header_preproc" 3105fi 3106echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3107echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3108 3109fi 3110if test `eval echo '${'$as_ac_Header'}'` = yes; then 3111 cat >>confdefs.h <<_ACEOF 3112#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3113_ACEOF 3114 xmlparse_h_found="yes" 3115else 3116 xmlparse_h_found="no" 3117fi 3118 3119done 3120 3121 3122 3123if test "$xmlparse_h_found" = "no" && test "$expat_h_found" = "no" 3124then 3125 { { echo "$as_me:$LINENO: error: \"Unable to locate xmlparse.h or expat.h. You may need to use the --with-expat-include\=path\ to specify which directory the expat include files are located\"" >&5 3126echo "$as_me: error: \"Unable to locate xmlparse.h or expat.h. You may need to use the --with-expat-include\=path\ to specify which directory the expat include files are located\"" >&2;} 3127 { (exit 1); exit 1; }; } 3128fi 3129 3130 ac_config_files="$ac_config_files Makefile" 3131cat >confcache <<\_ACEOF 3132# This file is a shell script that caches the results of configure 3133# tests run on this system so they can be shared between configure 3134# scripts and configure runs, see configure's option --config-cache. 3135# It is not useful on other systems. If it contains results you don't 3136# want to keep, you may remove or edit it. 3137# 3138# config.status only pays attention to the cache file if you give it 3139# the --recheck option to rerun configure. 3140# 3141# `ac_cv_env_foo' variables (set or unset) will be overridden when 3142# loading this file, other *unset* `ac_cv_foo' will be assigned the 3143# following values. 3144 3145_ACEOF 3146 3147# The following way of writing the cache mishandles newlines in values, 3148# but we know of no workaround that is simple, portable, and efficient. 3149# So, don't put newlines in cache variables' values. 3150# Ultrix sh set writes to stderr and can't be redirected directly, 3151# and sets the high bit in the cache file unless we assign to the vars. 3152{ 3153 (set) 2>&1 | 3154 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3155 *ac_space=\ *) 3156 # `set' does not quote correctly, so add quotes (double-quote 3157 # substitution turns \\\\ into \\, and sed turns \\ into \). 3158 sed -n \ 3159 "s/'/'\\\\''/g; 3160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3161 ;; 3162 *) 3163 # `set' quotes correctly as required by POSIX, so do not add quotes. 3164 sed -n \ 3165 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3166 ;; 3167 esac; 3168} | 3169 sed ' 3170 t clear 3171 : clear 3172 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3173 t end 3174 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3175 : end' >>confcache 3176if cmp -s $cache_file confcache; then :; else 3177 if test -w $cache_file; then 3178 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3179 cat confcache >$cache_file 3180 else 3181 echo "not updating unwritable cache $cache_file" 3182 fi 3183fi 3184rm -f confcache 3185 3186test "x$prefix" = xNONE && prefix=$ac_default_prefix 3187# Let make expand exec_prefix. 3188test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3189 3190# VPATH may cause trouble with some makes, so we remove $(srcdir), 3191# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3192# trailing colons and then remove the whole line if VPATH becomes empty 3193# (actually we leave an empty line to preserve line numbers). 3194if test "x$srcdir" = x.; then 3195 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3196s/:*\$(srcdir):*/:/; 3197s/:*\${srcdir}:*/:/; 3198s/:*@srcdir@:*/:/; 3199s/^\([^=]*=[ ]*\):*/\1/; 3200s/:*$//; 3201s/^[^=]*=[ ]*$//; 3202}' 3203fi 3204 3205# Transform confdefs.h into DEFS. 3206# Protect against shell expansion while executing Makefile rules. 3207# Protect against Makefile macro expansion. 3208# 3209# If the first sed substitution is executed (which looks for macros that 3210# take arguments), then we branch to the quote section. Otherwise, 3211# look for a macro that doesn't take arguments. 3212cat >confdef2opt.sed <<\_ACEOF 3213t clear 3214: clear 3215s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3216t quote 3217s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3218t quote 3219d 3220: quote 3221s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3222s,\[,\\&,g 3223s,\],\\&,g 3224s,\$,$$,g 3225p 3226_ACEOF 3227# We use echo to avoid assuming a particular line-breaking character. 3228# The extra dot is to prevent the shell from consuming trailing 3229# line-breaks from the sub-command output. A line-break within 3230# single-quotes doesn't work because, if this script is created in a 3231# platform that uses two characters for line-breaks (e.g., DOS), tr 3232# would break. 3233ac_LF_and_DOT=`echo; echo .` 3234DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3235rm -f confdef2opt.sed 3236 3237 3238 3239: ${CONFIG_STATUS=./config.status} 3240ac_clean_files_save=$ac_clean_files 3241ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3242{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3243echo "$as_me: creating $CONFIG_STATUS" >&6;} 3244cat >$CONFIG_STATUS <<_ACEOF 3245#! $SHELL 3246# Generated by $as_me. 3247# Run this file to recreate the current configuration. 3248# Compiler output produced by configure, useful for debugging 3249# configure, is in config.log if it exists. 3250 3251debug=false 3252SHELL=\${CONFIG_SHELL-$SHELL} 3253_ACEOF 3254 3255cat >>$CONFIG_STATUS <<\_ACEOF 3256## --------------------- ## 3257## M4sh Initialization. ## 3258## --------------------- ## 3259 3260# Be Bourne compatible 3261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3262 emulate sh 3263 NULLCMD=: 3264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3265 # is contrary to our usage. Disable this feature. 3266 alias -g '${1+"$@"}'='"$@"' 3267elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3268 set -o posix 3269fi 3270 3271# NLS nuisances. 3272# Support unset when possible. 3273if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 3274 as_unset=unset 3275else 3276 as_unset=false 3277fi 3278 3279(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 3280 { $as_unset LANG || test "${LANG+set}" != set; } || 3281 { LANG=C; export LANG; } 3282(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 3283 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 3284 { LC_ALL=C; export LC_ALL; } 3285(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 3286 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 3287 { LC_TIME=C; export LC_TIME; } 3288(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 3289 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 3290 { LC_CTYPE=C; export LC_CTYPE; } 3291(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 3292 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 3293 { LANGUAGE=C; export LANGUAGE; } 3294(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 3295 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 3296 { LC_COLLATE=C; export LC_COLLATE; } 3297(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 3298 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 3299 { LC_NUMERIC=C; export LC_NUMERIC; } 3300(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 3301 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 3302 { LC_MESSAGES=C; export LC_MESSAGES; } 3303 3304 3305# Required to use basename. 3306if expr a : '\(a\)' >/dev/null 2>&1; then 3307 as_expr=expr 3308else 3309 as_expr=false 3310fi 3311 3312if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 3313 as_basename=basename 3314else 3315 as_basename=false 3316fi 3317 3318 3319# Name of the executable. 3320as_me=`$as_basename "$0" || 3321$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3322 X"$0" : 'X\(//\)$' \| \ 3323 X"$0" : 'X\(/\)$' \| \ 3324 . : '\(.\)' 2>/dev/null || 3325echo X/"$0" | 3326 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3327 /^X\/\(\/\/\)$/{ s//\1/; q; } 3328 /^X\/\(\/\).*/{ s//\1/; q; } 3329 s/.*/./; q'` 3330 3331 3332# PATH needs CR, and LINENO needs CR and PATH. 3333# Avoid depending upon Character Ranges. 3334as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3335as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3336as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3337as_cr_digits='0123456789' 3338as_cr_alnum=$as_cr_Letters$as_cr_digits 3339 3340# The user is always right. 3341if test "${PATH_SEPARATOR+set}" != set; then 3342 echo "#! /bin/sh" >conftest.sh 3343 echo "exit 0" >>conftest.sh 3344 chmod +x conftest.sh 3345 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 3346 PATH_SEPARATOR=';' 3347 else 3348 PATH_SEPARATOR=: 3349 fi 3350 rm -f conftest.sh 3351fi 3352 3353 3354 as_lineno_1=$LINENO 3355 as_lineno_2=$LINENO 3356 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3357 test "x$as_lineno_1" != "x$as_lineno_2" && 3358 test "x$as_lineno_3" = "x$as_lineno_2" || { 3359 # Find who we are. Look in the path if we contain no path at all 3360 # relative or not. 3361 case $0 in 3362 *[\\/]* ) as_myself=$0 ;; 3363 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3364for as_dir in $PATH 3365do 3366 IFS=$as_save_IFS 3367 test -z "$as_dir" && as_dir=. 3368 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3369done 3370 3371 ;; 3372 esac 3373 # We did not find ourselves, most probably we were run as `sh COMMAND' 3374 # in which case we are not to be found in the path. 3375 if test "x$as_myself" = x; then 3376 as_myself=$0 3377 fi 3378 if test ! -f "$as_myself"; then 3379 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3380echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3381 { (exit 1); exit 1; }; } 3382 fi 3383 case $CONFIG_SHELL in 3384 '') 3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3386for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3387do 3388 IFS=$as_save_IFS 3389 test -z "$as_dir" && as_dir=. 3390 for as_base in sh bash ksh sh5; do 3391 case $as_dir in 3392 /*) 3393 if ("$as_dir/$as_base" -c ' 3394 as_lineno_1=$LINENO 3395 as_lineno_2=$LINENO 3396 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3397 test "x$as_lineno_1" != "x$as_lineno_2" && 3398 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3399 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3400 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3401 CONFIG_SHELL=$as_dir/$as_base 3402 export CONFIG_SHELL 3403 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3404 fi;; 3405 esac 3406 done 3407done 3408;; 3409 esac 3410 3411 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3412 # uniformly replaced by the line number. The first 'sed' inserts a 3413 # line-number line before each line; the second 'sed' does the real 3414 # work. The second script uses 'N' to pair each line-number line 3415 # with the numbered line, and appends trailing '-' during 3416 # substitution so that $LINENO is not a special case at line end. 3417 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3418 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3419 sed '=' <$as_myself | 3420 sed ' 3421 N 3422 s,$,-, 3423 : loop 3424 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3425 t loop 3426 s,-$,, 3427 s,^['$as_cr_digits']*\n,, 3428 ' >$as_me.lineno && 3429 chmod +x $as_me.lineno || 3430 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3431echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3432 { (exit 1); exit 1; }; } 3433 3434 # Don't try to exec as it changes $[0], causing all sort of problems 3435 # (the dirname of $[0] is not the place where we might find the 3436 # original and so on. Autoconf is especially sensible to this). 3437 . ./$as_me.lineno 3438 # Exit status is that of the last command. 3439 exit 3440} 3441 3442 3443case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3444 *c*,-n*) ECHO_N= ECHO_C=' 3445' ECHO_T=' ' ;; 3446 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3447 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3448esac 3449 3450if expr a : '\(a\)' >/dev/null 2>&1; then 3451 as_expr=expr 3452else 3453 as_expr=false 3454fi 3455 3456rm -f conf$$ conf$$.exe conf$$.file 3457echo >conf$$.file 3458if ln -s conf$$.file conf$$ 2>/dev/null; then 3459 # We could just check for DJGPP; but this test a) works b) is more generic 3460 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3461 if test -f conf$$.exe; then 3462 # Don't use ln at all; we don't have any links 3463 as_ln_s='cp -p' 3464 else 3465 as_ln_s='ln -s' 3466 fi 3467elif ln conf$$.file conf$$ 2>/dev/null; then 3468 as_ln_s=ln 3469else 3470 as_ln_s='cp -p' 3471fi 3472rm -f conf$$ conf$$.exe conf$$.file 3473 3474if mkdir -p . 2>/dev/null; then 3475 as_mkdir_p=: 3476else 3477 as_mkdir_p=false 3478fi 3479 3480as_executable_p="test -f" 3481 3482# Sed expression to map a string onto a valid CPP name. 3483as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 3484 3485# Sed expression to map a string onto a valid variable name. 3486as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 3487 3488 3489# IFS 3490# We need space, tab and new line, in precisely that order. 3491as_nl=' 3492' 3493IFS=" $as_nl" 3494 3495# CDPATH. 3496$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 3497 3498exec 6>&1 3499 3500# Open the log real soon, to keep \$[0] and so on meaningful, and to 3501# report actual input values of CONFIG_FILES etc. instead of their 3502# values after options handling. Logging --version etc. is OK. 3503exec 5>>config.log 3504{ 3505 echo 3506 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3507## Running $as_me. ## 3508_ASBOX 3509} >&5 3510cat >&5 <<_CSEOF 3511 3512This file was extended by $as_me, which was 3513generated by GNU Autoconf 2.53a. Invocation command line was 3514 3515 CONFIG_FILES = $CONFIG_FILES 3516 CONFIG_HEADERS = $CONFIG_HEADERS 3517 CONFIG_LINKS = $CONFIG_LINKS 3518 CONFIG_COMMANDS = $CONFIG_COMMANDS 3519 $ $0 $@ 3520 3521_CSEOF 3522echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3523echo >&5 3524_ACEOF 3525 3526# Files that config.status was made for. 3527if test -n "$ac_config_files"; then 3528 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3529fi 3530 3531if test -n "$ac_config_headers"; then 3532 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3533fi 3534 3535if test -n "$ac_config_links"; then 3536 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3537fi 3538 3539if test -n "$ac_config_commands"; then 3540 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3541fi 3542 3543cat >>$CONFIG_STATUS <<\_ACEOF 3544 3545ac_cs_usage="\ 3546\`$as_me' instantiates files from templates according to the 3547current configuration. 3548 3549Usage: $0 [OPTIONS] [FILE]... 3550 3551 -h, --help print this help, then exit 3552 -V, --version print version number, then exit 3553 -d, --debug don't remove temporary files 3554 --recheck update $as_me by reconfiguring in the same conditions 3555 --file=FILE[:TEMPLATE] 3556 instantiate the configuration file FILE 3557 3558Configuration files: 3559$config_files 3560 3561Report bugs to <bug-autoconf@gnu.org>." 3562_ACEOF 3563 3564cat >>$CONFIG_STATUS <<_ACEOF 3565ac_cs_version="\\ 3566config.status 3567configured by $0, generated by GNU Autoconf 2.53a, 3568 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3569 3570Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 3571Free Software Foundation, Inc. 3572This config.status script is free software; the Free Software Foundation 3573gives unlimited permission to copy, distribute and modify it." 3574srcdir=$srcdir 3575INSTALL="$INSTALL" 3576_ACEOF 3577 3578cat >>$CONFIG_STATUS <<\_ACEOF 3579# If no file are specified by the user, then we need to provide default 3580# value. By we need to know if files were specified by the user. 3581ac_need_defaults=: 3582while test $# != 0 3583do 3584 case $1 in 3585 --*=*) 3586 ac_option=`expr "x$1" : 'x\([^=]*\)='` 3587 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3588 ac_shift=: 3589 ;; 3590 -*) 3591 ac_option=$1 3592 ac_optarg=$2 3593 ac_shift=shift 3594 ;; 3595 *) # This is not an option, so the user has probably given explicit 3596 # arguments. 3597 ac_option=$1 3598 ac_need_defaults=false;; 3599 esac 3600 3601 case $ac_option in 3602 # Handling of the options. 3603_ACEOF 3604cat >>$CONFIG_STATUS <<_ACEOF 3605 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3606 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 3607 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 3608_ACEOF 3609cat >>$CONFIG_STATUS <<\_ACEOF 3610 --version | --vers* | -V ) 3611 echo "$ac_cs_version"; exit 0 ;; 3612 --he | --h) 3613 # Conflict between --help and --header 3614 { { echo "$as_me:$LINENO: error: ambiguous option: $1 3615Try \`$0 --help' for more information." >&5 3616echo "$as_me: error: ambiguous option: $1 3617Try \`$0 --help' for more information." >&2;} 3618 { (exit 1); exit 1; }; };; 3619 --help | --hel | -h ) 3620 echo "$ac_cs_usage"; exit 0 ;; 3621 --debug | --d* | -d ) 3622 debug=: ;; 3623 --file | --fil | --fi | --f ) 3624 $ac_shift 3625 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3626 ac_need_defaults=false;; 3627 --header | --heade | --head | --hea ) 3628 $ac_shift 3629 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 3630 ac_need_defaults=false;; 3631 3632 # This is an error. 3633 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 3634Try \`$0 --help' for more information." >&5 3635echo "$as_me: error: unrecognized option: $1 3636Try \`$0 --help' for more information." >&2;} 3637 { (exit 1); exit 1; }; } ;; 3638 3639 *) ac_config_targets="$ac_config_targets $1" ;; 3640 3641 esac 3642 shift 3643done 3644 3645_ACEOF 3646 3647 3648 3649 3650 3651cat >>$CONFIG_STATUS <<\_ACEOF 3652for ac_config_target in $ac_config_targets 3653do 3654 case "$ac_config_target" in 3655 # Handling of arguments. 3656 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3657 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3658echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3659 { (exit 1); exit 1; }; };; 3660 esac 3661done 3662 3663# If the user did not use the arguments to specify the items to instantiate, 3664# then the envvar interface is used. Set only those that are not. 3665# We use the long form for the default assignment because of an extremely 3666# bizarre bug on SunOS 4.1.3. 3667if $ac_need_defaults; then 3668 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3669fi 3670 3671# Create a temporary directory, and hook for its removal unless debugging. 3672$debug || 3673{ 3674 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3675 trap '{ (exit 1); exit 1; }' 1 2 13 15 3676} 3677 3678# Create a (secure) tmp directory for tmp files. 3679: ${TMPDIR=/tmp} 3680{ 3681 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 3682 test -n "$tmp" && test -d "$tmp" 3683} || 3684{ 3685 tmp=$TMPDIR/cs$$-$RANDOM 3686 (umask 077 && mkdir $tmp) 3687} || 3688{ 3689 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 3690 { (exit 1); exit 1; } 3691} 3692 3693_ACEOF 3694 3695cat >>$CONFIG_STATUS <<_ACEOF 3696 3697# 3698# CONFIG_FILES section. 3699# 3700 3701# No need to generate the scripts if there are no CONFIG_FILES. 3702# This happens for instance when ./config.status config.h 3703if test -n "\$CONFIG_FILES"; then 3704 # Protect against being on the right side of a sed subst in config.status. 3705 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3706 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3707s,@SHELL@,$SHELL,;t t 3708s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3709s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3710s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3711s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3712s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3713s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3714s,@exec_prefix@,$exec_prefix,;t t 3715s,@prefix@,$prefix,;t t 3716s,@program_transform_name@,$program_transform_name,;t t 3717s,@bindir@,$bindir,;t t 3718s,@sbindir@,$sbindir,;t t 3719s,@libexecdir@,$libexecdir,;t t 3720s,@datadir@,$datadir,;t t 3721s,@sysconfdir@,$sysconfdir,;t t 3722s,@sharedstatedir@,$sharedstatedir,;t t 3723s,@localstatedir@,$localstatedir,;t t 3724s,@libdir@,$libdir,;t t 3725s,@includedir@,$includedir,;t t 3726s,@oldincludedir@,$oldincludedir,;t t 3727s,@infodir@,$infodir,;t t 3728s,@mandir@,$mandir,;t t 3729s,@build_alias@,$build_alias,;t t 3730s,@host_alias@,$host_alias,;t t 3731s,@target_alias@,$target_alias,;t t 3732s,@DEFS@,$DEFS,;t t 3733s,@ECHO_C@,$ECHO_C,;t t 3734s,@ECHO_N@,$ECHO_N,;t t 3735s,@ECHO_T@,$ECHO_T,;t t 3736s,@LIBS@,$LIBS,;t t 3737s,@CC@,$CC,;t t 3738s,@CFLAGS@,$CFLAGS,;t t 3739s,@LDFLAGS@,$LDFLAGS,;t t 3740s,@CPPFLAGS@,$CPPFLAGS,;t t 3741s,@ac_ct_CC@,$ac_ct_CC,;t t 3742s,@EXEEXT@,$EXEEXT,;t t 3743s,@OBJEXT@,$OBJEXT,;t t 3744s,@LEX@,$LEX,;t t 3745s,@LEXLIB@,$LEXLIB,;t t 3746s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t 3747s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 3748s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 3749s,@INSTALL_DATA@,$INSTALL_DATA,;t t 3750s,@CPP@,$CPP,;t t 3751CEOF 3752 3753_ACEOF 3754 3755 cat >>$CONFIG_STATUS <<\_ACEOF 3756 # Split the substitutions into bite-sized pieces for seds with 3757 # small command number limits, like on Digital OSF/1 and HP-UX. 3758 ac_max_sed_lines=48 3759 ac_sed_frag=1 # Number of current file. 3760 ac_beg=1 # First line for current file. 3761 ac_end=$ac_max_sed_lines # Line after last line for current file. 3762 ac_more_lines=: 3763 ac_sed_cmds= 3764 while $ac_more_lines; do 3765 if test $ac_beg -gt 1; then 3766 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3767 else 3768 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3769 fi 3770 if test ! -s $tmp/subs.frag; then 3771 ac_more_lines=false 3772 else 3773 # The purpose of the label and of the branching condition is to 3774 # speed up the sed processing (if there are no `@' at all, there 3775 # is no need to browse any of the substitutions). 3776 # These are the two extra sed commands mentioned above. 3777 (echo ':t 3778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 3779 if test -z "$ac_sed_cmds"; then 3780 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 3781 else 3782 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 3783 fi 3784 ac_sed_frag=`expr $ac_sed_frag + 1` 3785 ac_beg=$ac_end 3786 ac_end=`expr $ac_end + $ac_max_sed_lines` 3787 fi 3788 done 3789 if test -z "$ac_sed_cmds"; then 3790 ac_sed_cmds=cat 3791 fi 3792fi # test -n "$CONFIG_FILES" 3793 3794_ACEOF 3795cat >>$CONFIG_STATUS <<\_ACEOF 3796for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3797 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3798 case $ac_file in 3799 - | *:- | *:-:* ) # input from stdin 3800 cat >$tmp/stdin 3801 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3802 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3803 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3804 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3805 * ) ac_file_in=$ac_file.in ;; 3806 esac 3807 3808 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 3809 ac_dir=`(dirname "$ac_file") 2>/dev/null || 3810$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3811 X"$ac_file" : 'X\(//\)[^/]' \| \ 3812 X"$ac_file" : 'X\(//\)$' \| \ 3813 X"$ac_file" : 'X\(/\)' \| \ 3814 . : '\(.\)' 2>/dev/null || 3815echo X"$ac_file" | 3816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3817 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3818 /^X\(\/\/\)$/{ s//\1/; q; } 3819 /^X\(\/\).*/{ s//\1/; q; } 3820 s/.*/./; q'` 3821 { if $as_mkdir_p; then 3822 mkdir -p "$ac_dir" 3823 else 3824 as_dir="$ac_dir" 3825 as_dirs= 3826 while test ! -d "$as_dir"; do 3827 as_dirs="$as_dir $as_dirs" 3828 as_dir=`(dirname "$as_dir") 2>/dev/null || 3829$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3830 X"$as_dir" : 'X\(//\)[^/]' \| \ 3831 X"$as_dir" : 'X\(//\)$' \| \ 3832 X"$as_dir" : 'X\(/\)' \| \ 3833 . : '\(.\)' 2>/dev/null || 3834echo X"$as_dir" | 3835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3836 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3837 /^X\(\/\/\)$/{ s//\1/; q; } 3838 /^X\(\/\).*/{ s//\1/; q; } 3839 s/.*/./; q'` 3840 done 3841 test ! -n "$as_dirs" || mkdir $as_dirs 3842 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3843echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3844 { (exit 1); exit 1; }; }; } 3845 3846 ac_builddir=. 3847 3848if test "$ac_dir" != .; then 3849 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3850 # A "../" for each directory in $ac_dir_suffix. 3851 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 3852else 3853 ac_dir_suffix= ac_top_builddir= 3854fi 3855 3856case $srcdir in 3857 .) # No --srcdir option. We are building in place. 3858 ac_srcdir=. 3859 if test -z "$ac_top_builddir"; then 3860 ac_top_srcdir=. 3861 else 3862 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 3863 fi ;; 3864 [\\/]* | ?:[\\/]* ) # Absolute path. 3865 ac_srcdir=$srcdir$ac_dir_suffix; 3866 ac_top_srcdir=$srcdir ;; 3867 *) # Relative path. 3868 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 3869 ac_top_srcdir=$ac_top_builddir$srcdir ;; 3870esac 3871# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 3872# absolute. 3873ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 3874ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 3875ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 3876ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 3877 3878 3879 case $INSTALL in 3880 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3881 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 3882 esac 3883 3884 if test x"$ac_file" != x-; then 3885 { echo "$as_me:$LINENO: creating $ac_file" >&5 3886echo "$as_me: creating $ac_file" >&6;} 3887 rm -f "$ac_file" 3888 fi 3889 # Let's still pretend it is `configure' which instantiates (i.e., don't 3890 # use $as_me), people would be surprised to read: 3891 # /* config.h. Generated by config.status. */ 3892 if test x"$ac_file" = x-; then 3893 configure_input= 3894 else 3895 configure_input="$ac_file. " 3896 fi 3897 configure_input=$configure_input"Generated from `echo $ac_file_in | 3898 sed 's,.*/,,'` by configure." 3899 3900 # First look for the input files in the build tree, otherwise in the 3901 # src tree. 3902 ac_file_inputs=`IFS=: 3903 for f in $ac_file_in; do 3904 case $f in 3905 -) echo $tmp/stdin ;; 3906 [\\/$]*) 3907 # Absolute (can't be DOS-style, as IFS=:) 3908 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3909echo "$as_me: error: cannot find input file: $f" >&2;} 3910 { (exit 1); exit 1; }; } 3911 echo $f;; 3912 *) # Relative 3913 if test -f "$f"; then 3914 # Build tree 3915 echo $f 3916 elif test -f "$srcdir/$f"; then 3917 # Source tree 3918 echo $srcdir/$f 3919 else 3920 # /dev/null tree 3921 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3922echo "$as_me: error: cannot find input file: $f" >&2;} 3923 { (exit 1); exit 1; }; } 3924 fi;; 3925 esac 3926 done` || { (exit 1); exit 1; } 3927_ACEOF 3928cat >>$CONFIG_STATUS <<_ACEOF 3929 sed "$ac_vpsub 3930$extrasub 3931_ACEOF 3932cat >>$CONFIG_STATUS <<\_ACEOF 3933:t 3934/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3935s,@configure_input@,$configure_input,;t t 3936s,@srcdir@,$ac_srcdir,;t t 3937s,@abs_srcdir@,$ac_abs_srcdir,;t t 3938s,@top_srcdir@,$ac_top_srcdir,;t t 3939s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 3940s,@builddir@,$ac_builddir,;t t 3941s,@abs_builddir@,$ac_abs_builddir,;t t 3942s,@top_builddir@,$ac_top_builddir,;t t 3943s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 3944s,@INSTALL@,$ac_INSTALL,;t t 3945" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 3946 rm -f $tmp/stdin 3947 if test x"$ac_file" != x-; then 3948 mv $tmp/out $ac_file 3949 else 3950 cat $tmp/out 3951 rm -f $tmp/out 3952 fi 3953 3954done 3955_ACEOF 3956 3957cat >>$CONFIG_STATUS <<\_ACEOF 3958 3959{ (exit 0); exit 0; } 3960_ACEOF 3961chmod +x $CONFIG_STATUS 3962ac_clean_files=$ac_clean_files_save 3963 3964 3965# configure is writing to config.log, and then calls config.status. 3966# config.status does its own redirection, appending to config.log. 3967# Unfortunately, on DOS this fails, as config.log is still kept open 3968# by configure, so config.status won't be able to write to it; its 3969# output is simply discarded. So we exec the FD to /dev/null, 3970# effectively closing config.log, so it can be properly (re)opened and 3971# appended to by config.status. When coming back to configure, we 3972# need to make the FD available again. 3973if test "$no_create" != yes; then 3974 ac_cs_success=: 3975 exec 5>/dev/null 3976 $SHELL $CONFIG_STATUS || ac_cs_success=false 3977 exec 5>>config.log 3978 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3979 # would make configure fail if this is the last instruction. 3980 $ac_cs_success || { (exit 1); exit 1; } 3981fi 3982 3983