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