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