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