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