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