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