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