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