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